.document-workspace-shell{display:grid;gap:24px}.document-workspace-layout{display:grid;grid-template-columns:minmax(320px,380px) minmax(0,1fr);gap:20px;align-items:start}.document-editor-form,.document-filter-form,.document-line-items-wrap,.document-list-table-wrap,.document-record-summary,.document-workspace-layout,.document-workspace-layout>*{min-width:0}.document-workspace-layout--single{grid-template-columns:minmax(0,1fr)}.document-workspace-layout--single .frontend-editor-card,.document-workspace-layout--single .frontend-record-browser{order:initial}.document-workspace-layout--browser-only .frontend-record-browser,.document-workspace-layout--editor-only .frontend-editor-card{position:static;top:auto;max-height:none;overflow:visible}.document-hero{grid-template-columns:minmax(0,1.12fr) minmax(420px,0.88fr);gap:24px 28px;align-items:start;overflow:hidden;background:radial-gradient(circle at top right,rgba(26,99,183,.18),transparent 36%),radial-gradient(circle at left bottom,rgba(86,102,201,.12),transparent 42%),linear-gradient(135deg,#eef5ff 0,#fff 52%,#f3f7ff 100%)}.document-hero__actions,.document-hero__copy{display:grid;align-content:start;min-width:0}.document-hero__copy{gap:12px;max-width:760px}.document-hero__copy h2,.document-hero__copy p,.document-hero__note{margin:0}.document-hero__copy p,.document-hero__note{color:#5d7894;line-height:1.68}.document-hero__actions{gap:14px}.document-stats-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.document-shortcuts{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));width:100%;align-items:stretch;min-width:0}.document-shortcuts .btn{min-width:0;width:100%;min-height:52px;justify-content:center;padding-inline:16px;text-align:center;white-space:normal;line-height:1.35}.document-record-browser{gap:18px}.document-workspace-layout .document-richtext,.document-workspace-layout .document-site-item-picker,.document-workspace-layout .frontend-editor-card,.document-workspace-layout .frontend-field-grid>.frontend-inline-card,.document-workspace-layout .frontend-field-grid>label,.document-workspace-layout .frontend-field-section,.document-workspace-layout .frontend-record-browser{min-width:0}.document-workspace-layout--split .frontend-record-browser{top:12px;max-height:calc(100vh - 140px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.document-workspace-layout .frontend-editor-card{gap:20px}.document-record-summary .frontend-browser-head,.document-workspace-layout .frontend-browser-head{align-items:flex-start;gap:14px 16px}.document-editor-form .frontend-submit-row,.document-record-summary .portal-actions,.document-workspace-layout .frontend-browser-head .portal-actions{display:flex;flex-wrap:wrap;gap:10px;min-width:0}.document-record-summary .portal-actions .btn,.document-workspace-layout .frontend-browser-head .portal-actions .btn{min-width:0}.document-filter-form{display:grid;gap:16px;padding:14px;border:1px solid rgba(105,137,176,.16);border-radius:18px;background:linear-gradient(180deg,rgba(248,251,255,.96),rgba(241,247,253,.96))}.document-filter-form .frontend-field-grid.two{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.document-filter-form label{min-width:0}.document-filter-form input,.document-filter-form select{width:100%}.document-filter-form .portal-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:10px;width:100%}.document-filter-form .portal-actions .btn{width:100%;justify-content:center}.document-filter-summary{margin:0;padding:10px 12px;border:1px solid rgba(105,137,176,.14);border-radius:14px;background:rgba(246,250,255,.9);color:#556f89;font-size:.95rem}.document-field-help{display:block;margin-top:6px;color:#6d8399;font-size:.78rem;line-height:1.5}.document-workspace-shell .btn,.document-workspace-shell button,.document-workspace-shell input,.document-workspace-shell select,.document-workspace-shell textarea{max-width:100%}.document-workspace-shell .btn,.document-workspace-shell button{min-height:44px;touch-action:manipulation;white-space:normal;line-height:1.25}.document-workspace-shell input,.document-workspace-shell select,.document-workspace-shell textarea{min-height:44px}.document-customer-search-field{grid-column:1/-1}.document-customer-search-field input[type=search]{width:100%}.document-workspace-shell .frontend-section-search{margin-bottom:12px;width:100%;min-width:0}.document-workspace-shell .frontend-section-search input[type=search]{width:100%;min-height:46px}.document-customer-list .frontend-record-copy small:empty,.document-customer-list .frontend-record-copy span:empty{display:none}.document-customer-list .frontend-record-copy,.document-customer-list .frontend-record-copy small,.document-customer-list .frontend-record-copy span,.document-customer-list .frontend-record-copy strong,.document-customer-list .frontend-record-item{min-width:0;overflow-wrap:anywhere}.document-branding-note{padding:12px 14px;border:1px solid rgba(88,120,154,.16);border-radius:16px;background:linear-gradient(180deg,rgba(246,250,255,.96),rgba(239,246,253,.94))}.document-list-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;border:1px solid rgba(105,137,176,.18);border-radius:22px;background:#fff}.document-list-table{width:100%;border-collapse:collapse;min-width:980px;table-layout:fixed}.document-list-table td,.document-list-table th{padding:12px 10px;border-bottom:1px solid rgba(105,137,176,.18);text-align:left;vertical-align:top;overflow-wrap:anywhere;word-break:normal}.document-list-table th{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#617b97}.document-list-table tbody tr.is-active{background:rgba(26,99,183,.08)}.document-list-table th:first-child{width:15%}.document-list-table th:nth-child(2){width:13%}.document-list-table th:nth-child(3){width:18%}.document-list-table th:nth-child(4){width:10%}.document-list-table th:nth-child(5){width:12%}.document-list-table th:nth-child(6){width:11%}.document-list-table th:nth-child(7){width:8%}.document-list-table th:nth-child(8){width:13%}.document-type-pill{display:inline-flex;align-items:center;max-width:100%;border-radius:999px;padding:6px 10px;background:#eef4ff;color:#38526f;font-size:12px;font-weight:700;line-height:1.25;white-space:normal;overflow-wrap:anywhere}.document-type-pill.is-quotation{background:rgba(26,99,183,.14);color:#15549f}.document-type-pill.is-invoice,.document-type-pill.is-proforma_invoice{background:rgba(48,126,204,.14);color:#215f9f}.document-type-pill.is-delivery_note,.document-type-pill.is-packing_slip{background:rgba(86,102,201,.14);color:#4555b3}.document-type-pill.is-coa,.document-type-pill.is-cspr,.document-type-pill.is-sds,.document-type-pill.is-tds{background:rgba(44,122,103,.14);color:#226857}.document-type-pill.is-product_label{background:rgba(159,91,37,.16);color:#7c451d}.document-list-actions{display:flex;flex-wrap:wrap;align-items:stretch;gap:8px;min-width:0}.document-list-actions .btn{flex:1 1 68px;min-height:38px;padding:8px 10px;justify-content:center;font-size:.82rem}.document-line-items-wrap{display:grid;gap:14px;overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;padding-bottom:6px}.document-editor-form{gap:18px}.document-editor-form[aria-busy=true]{cursor:progress}.document-editor-form button.is-submitting{opacity:.72;pointer-events:none}.document-editor-form .frontend-field-section{padding:18px;border:1px solid rgba(105,137,176,.14);border-radius:22px;background:linear-gradient(180deg,rgba(253,254,255,.98),rgba(247,250,253,.98))}.document-editor-form .frontend-field-section>.compact-heading{padding-bottom:12px;border-bottom:1px solid rgba(105,137,176,.14)}.document-editor-form .frontend-field-grid{gap:14px;align-items:start}.document-editor-form .frontend-field-grid>.frontend-inline-card,.document-editor-form .frontend-field-grid>label{min-width:0}.document-editor-form input,.document-editor-form select,.document-editor-form textarea,.document-richtext__editor{width:100%;box-sizing:border-box}.document-editor-form input:focus,.document-editor-form select:focus,.document-editor-form textarea:focus,.document-richtext__editor:focus{outline:rgba(26,99,183,.24) solid 2px;outline-offset:2px;border-color:rgba(26,99,183,.46);box-shadow:0 0 0 4px rgba(26,99,183,.08)}.document-editor-form input[readonly],.document-line-items-table input[readonly]{background:#f4f8fc;color:#38526f;font-weight:700}.document-editor-form [data-document-summary-input],.document-editor-form [data-document-summary-output],.document-line-items-table [data-document-calc],.document-line-items-table [data-document-tax-output],.document-line-items-table [data-document-total-output]{text-align:right;font-variant-numeric:tabular-nums}.document-editor-form [data-document-summary-output=grand_total],.document-line-items-table [data-document-total-output]{color:#123f74;font-weight:900}.document-editor-form .frontend-field-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.document-editor-form .frontend-field-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.document-line-items-table{width:100%;min-width:1680px;border-collapse:collapse}.document-line-items-table td,.document-line-items-table th{border-bottom:1px solid rgba(105,137,176,.18);padding:10px 8px;vertical-align:top}.document-line-items-table th{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#617b97}.document-line-items-table input,.document-line-items-table select,.document-line-items-table textarea{width:100%;min-width:90px}.document-line-items-table textarea{min-height:64px}.document-line-item-cell--handle{width:60px}.document-line-item-cell--serial{width:46px}.document-line-item-cell--catalog{min-width:220px}.document-line-item-cell--product{min-width:160px}.document-line-item-cell--description{width:23%;min-width:280px}.document-line-item-cell--unit{width:76px}.document-line-item-cell--discount,.document-line-item-cell--quantity,.document-line-item-cell--rate,.document-line-item-cell--tax,.document-line-item-cell--total,.document-line-item-cell--weight{width:118px}.document-line-item-cell--carton,.document-line-item-cell--tax-rate{width:96px}.document-line-item-cell--remarks{min-width:140px}.document-line-item-cell--actions{min-width:210px}.document-site-item-picker{display:grid;gap:6px;min-width:250px}.document-site-item-picker select{width:100%;min-width:250px}.compliance-coa-panel,.compliance-controls-panel,.compliance-generator-panel,.compliance-identity-panel,.compliance-physical-panel,.compliance-safety-panel,.compliance-sections-panel,.label-brand-panel,.label-copy-panel,.label-generator-panel,.label-safety-panel{display:grid;gap:16px}.compliance-controls-panel,.compliance-identity-panel,.compliance-physical-panel,.compliance-safety-panel,.label-brand-panel,.label-copy-panel,.label-safety-panel{padding:18px;border:1px solid rgba(88,120,154,.18);border-radius:18px;background:linear-gradient(180deg,rgba(248,251,255,.94),rgba(240,246,252,.94));box-shadow:0 10px 28px rgba(13,38,59,.05)}.label-brand-panel,.label-copy-panel,.label-safety-panel{border-color:rgba(159,91,37,.16);background:radial-gradient(circle at top right,rgba(159,91,37,.08),transparent 36%),linear-gradient(180deg,rgba(255,252,248,.98),rgba(247,249,252,.96))}.label-brand-panel .portal-note,.label-generator-panel .portal-note{border-color:rgba(159,91,37,.14);background:linear-gradient(180deg,rgba(255,250,244,.96),rgba(248,251,255,.94))}.label-density-panel,.label-editor-guide{display:grid;gap:12px;padding:14px 16px;border:1px solid rgba(159,91,37,.16);border-radius:18px;background:radial-gradient(circle at top right,rgba(159,91,37,.08),transparent 36%),linear-gradient(180deg,rgba(255,252,248,.98),rgba(247,249,252,.96))}.label-editor-guide__legend{display:flex;flex-wrap:wrap;gap:10px}.label-editor-guide__chip,.label-field-badge{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:max-content;max-width:100%;padding:5px 10px;border-radius:999px;font-size:.72rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;line-height:1.2}.label-editor-guide__chip--core,.label-field-badge--core{background:rgba(26,99,183,.12);color:#12539d}.label-editor-guide__chip--compact,.label-field-badge--compact{background:rgba(159,91,37,.12);color:#91511f}.label-editor-guide__chip--trim,.label-field-badge--trim{background:rgba(204,123,48,.14);color:#a65a16}.label-density-panel__head{display:grid;gap:4px}.label-density-panel__head strong{color:#133456}.label-density-panel__head span{color:#5d7894;line-height:1.55}.label-density-panel__list{display:grid;gap:10px}.label-density-item{display:grid;gap:4px;padding:12px 13px;border:1px solid rgba(105,137,176,.16);border-radius:16px;background:rgba(255,255,255,.92);transition:border-color .18s,background-color .18s,box-shadow .18s}.label-density-item strong{color:#15304b;font-size:.92rem}.label-density-item span{color:#536f8b;line-height:1.55}.label-density-item small{color:#6d8399;font-size:.78rem}.document-editor-form .frontend-field-grid>label.label-field-group{display:grid;gap:10px;padding:14px;border:1px solid rgba(105,137,176,.16);border-radius:18px;background:rgba(255,255,255,.9);transition:border-color .18s,background-color .18s,box-shadow .18s}.document-editor-form .frontend-field-grid>label.label-field-group>span:first-child{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.label-density-item.is-role-core,.label-field-group.is-role-core{border-color:rgba(26,99,183,.18)}.label-density-item.is-role-compact,.label-field-group.is-role-compact{border-color:rgba(159,91,37,.18)}.label-density-item.is-role-trim,.label-field-group.is-role-trim{border-color:rgba(204,123,48,.22)}.label-density-item.is-state-ok,.label-field-group.is-state-ok{box-shadow:0 6px 18px rgba(13,38,59,.03)}.label-density-item.is-state-watch,.label-field-group.is-state-watch{border-color:rgba(159,91,37,.34);background:linear-gradient(180deg,rgba(255,248,239,.98),rgba(255,255,255,.96));box-shadow:0 10px 20px rgba(159,91,37,.07)}.label-density-item.is-state-trim,.label-field-group.is-state-trim{border-color:rgba(204,123,48,.42);background:linear-gradient(180deg,rgba(255,244,232,.98),rgba(255,255,255,.96));box-shadow:0 10px 22px rgba(204,123,48,.08)}.compliance-section-grid{display:grid;gap:14px}.compliance-controls-panel textarea,.compliance-generator-panel textarea,.compliance-identity-panel textarea,.compliance-physical-panel textarea,.compliance-safety-panel textarea,.compliance-section-card textarea,.compliance-table-editor input{width:100%}.compliance-controls-panel textarea,.compliance-generator-panel textarea,.compliance-identity-panel textarea,.compliance-physical-panel textarea,.compliance-safety-panel textarea,.compliance-section-card textarea{min-height:120px;resize:vertical}.compliance-table-editor{width:100%;border-collapse:collapse;min-width:980px}.compliance-table-editor td,.compliance-table-editor th{padding:10px 8px;border-bottom:1px solid rgba(105,137,176,.18);text-align:left;vertical-align:top}.compliance-table-editor th{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#617b97}.document-row-handle{color:#6b7f96;cursor:grab;font-size:12px;white-space:nowrap;-webkit-user-select:none;user-select:none}.document-line-item-cell{min-width:0}.document-line-item-row.is-dragging{opacity:.4}.document-row-actions{display:grid;gap:8px}.document-row-actions .btn{width:100%;justify-content:center}.compliance-generator-panel>.portal-actions,.document-editor-form .frontend-field-section>.portal-actions,.document-line-items-wrap>.portal-actions,.label-generator-panel>.portal-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;width:100%}.compliance-generator-panel>.portal-actions .btn,.document-editor-form .frontend-field-section>.portal-actions .btn,.document-line-items-wrap>.portal-actions .btn,.label-generator-panel>.portal-actions .btn{width:100%;justify-content:center}.document-richtext{display:grid;gap:8px}.document-richtext.is-enhanced textarea[data-document-richtext-source],.document-richtext__editor[hidden],.document-richtext__toolbar[hidden]{display:none}.document-richtext__toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:8px;border:1px solid rgba(105,137,176,.14);border-radius:16px;background:rgba(247,250,253,.92)}.document-richtext__toolbar .btn{min-height:36px;padding:8px 12px;font-size:.74rem;touch-action:manipulation}.document-richtext__color{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:0 10px;border:1px solid rgba(105,137,176,.2);border-radius:12px;background:#fff}.document-richtext__color span{color:#617b97;font-size:.72rem;font-weight:700}.document-richtext__color input[type=color]{width:30px;min-width:30px;min-height:30px;padding:0;border:0;background:0 0;cursor:pointer}.document-richtext__editor{min-height:120px;padding:12px 14px;border:1px solid rgba(105,137,176,.2);border-radius:16px;background:#fff;color:#23384f;line-height:1.6;box-shadow:inset 0 1px 0 rgba(255,255,255,.9);overflow-wrap:anywhere;word-break:break-word;cursor:text;-webkit-user-select:text;user-select:text}.document-richtext__editor:empty::before{content:attr(data-placeholder);color:#91a0ae}.document-richtext__editor p{margin:0 0 8px}.document-richtext__editor p:last-child{margin-bottom:0}.document-richtext--compact .document-richtext__editor{min-height:96px}.document-richtext--line-item .document-richtext__editor{min-width:230px;min-height:88px}.document-terms-builder{display:grid;gap:14px;margin-top:16px}.document-term-list{display:grid;gap:12px}.document-term-card{display:grid;gap:12px;padding:14px;border:1px solid rgba(105,137,176,.18);border-radius:20px;background:linear-gradient(180deg,rgba(251,253,255,.98),rgba(244,248,252,.98))}.document-term-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.document-term-card__head strong{display:block;margin-bottom:4px}.document-term-card__head small{display:block;color:#7288a0;line-height:1.5}.document-term-card__head .btn{width:auto;min-width:42px;min-height:42px;padding:0;font-size:1.1rem}.document-history-list,.document-related-list{display:grid;gap:12px}.document-history-item,.document-related-item{border:1px solid rgba(105,137,176,.18);border-radius:18px;padding:14px 16px;background:rgba(251,253,255,.92)}.document-history-item strong,.document-related-item strong{display:block;margin-bottom:6px}.document-related-item a{color:#1857a4;font-weight:700}.document-history-item small{display:block;color:#7288a0;margin-bottom:6px}.document-history-item span{color:#41566d}.document-record-browser .frontend-record-list{gap:10px}.document-record-browser .frontend-record-item{align-items:flex-start;min-width:0}.document-record-browser .frontend-record-copy,.document-record-browser .frontend-record-copy small,.document-record-browser .frontend-record-copy span,.document-record-browser .frontend-record-copy strong{min-width:0;overflow-wrap:anywhere}.document-record-browser .frontend-browser-head--stacked{padding-bottom:14px;border-bottom:1px solid rgba(105,137,176,.16)}.document-record-browser .frontend-browser-head--stacked .portal-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(148px,1fr));width:100%}.document-record-browser .frontend-browser-head--stacked .portal-actions .btn{width:100%;justify-content:center}.document-record-summary{display:grid;gap:18px}.document-record-summary .frontend-browser-head{padding-bottom:14px;border-bottom:1px solid rgba(105,137,176,.16)}.document-record-summary .compact-heading,.document-record-summary .compact-heading h3{min-width:0;overflow-wrap:anywhere}.document-record-summary__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.document-record-summary__grid article{display:grid;gap:6px;min-width:0;padding:14px 16px;border:1px solid rgba(105,137,176,.18);border-radius:18px;background:rgba(251,253,255,.96);overflow-wrap:anywhere}.document-record-summary__grid span{color:#6c849d;font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.document-record-summary__grid strong{color:#19344b;font-size:1rem;line-height:1.45;overflow-wrap:anywhere;word-break:break-word}.document-editor-form .portal-actions.frontend-submit-row{align-items:stretch;padding:14px;border:1px solid rgba(105,137,176,.16);border-radius:18px;background:linear-gradient(180deg,rgba(248,251,255,.98),rgba(238,246,253,.98))}.document-editor-form .portal-actions.frontend-submit-row .btn{flex:1 1 150px;justify-content:center}.document-verification-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px 24px;align-items:center;padding:20px 22px;border:1px solid rgba(48,126,204,.18);border-radius:24px;background:radial-gradient(circle at top right,rgba(26,99,183,.12),transparent 34%),linear-gradient(180deg,rgba(255,255,255,.98),rgba(243,248,255,.98));page-break-inside:avoid;break-inside:avoid}.document-verification-card__copy{display:grid;gap:12px;min-width:0}.document-verification-card__eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:.72rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#1b6ea8}.document-verification-card__copy h3,.document-verification-card__copy p,.document-verification-card__url{margin:0}.document-verification-card__copy p,.document-verification-card__url{color:#4f6c89;line-height:1.65}.document-verification-card__meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}.document-verification-card__meta div{display:grid;gap:5px;padding:12px 14px;border:1px solid rgba(105,137,176,.18);border-radius:16px;background:rgba(255,255,255,.88)}.document-verification-card__meta strong{color:#19344b;font-size:.98rem;line-height:1.4}.document-verification-card__meta span{color:#6c849d;font-size:.7rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.document-verification-card__url{overflow-wrap:anywhere;word-break:break-word;font-size:.88rem}.document-verification-card__qr{justify-self:end;display:grid;place-items:center;width:132px;min-width:132px;min-height:132px;padding:10px;border:1px solid rgba(105,137,176,.16);border-radius:24px;background:rgba(255,255,255,.96)}.document-verification-card__qr img{display:block;width:100%;height:auto}@media (max-width:1480px){.document-workspace-layout--split{grid-template-columns:minmax(280px,340px) minmax(0,1fr)}.document-workspace-layout--split .document-editor-form .frontend-field-grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:1320px){.document-hero{grid-template-columns:1fr}.document-hero__copy{max-width:none}.document-verification-card{grid-template-columns:1fr}.document-verification-card__qr{justify-self:start}}@media (max-width:1180px){.document-workspace-layout,.document-workspace-layout--split{grid-template-columns:1fr}.document-workspace-layout--split .frontend-record-browser{position:static;top:auto;max-height:none;overflow:visible}.document-workspace-layout--split .document-editor-form .frontend-field-grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:960px){.document-workspace-layout,.document-workspace-layout--split{grid-template-columns:1fr}.document-workspace-layout .frontend-record-browser{position:static;top:auto;max-height:none;overflow:visible}.document-line-items-table{min-width:1320px}.document-list-table{min-width:720px}.document-editor-form .frontend-field-grid.three,.document-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:767px){.document-workspace-shell{gap:16px}.document-workspace-layout{grid-template-columns:1fr;gap:16px}.document-editor-form .frontend-field-section{padding:14px;border-radius:18px;box-shadow:0 16px 32px rgba(13,38,59,.05)}.document-editor-form .frontend-field-section>.compact-heading{gap:6px;padding-bottom:10px}.document-editor-form .frontend-field-section>.compact-heading h3{font-size:1rem;line-height:1.28}.document-editor-form .frontend-field-grid{gap:12px}.document-editor-form .frontend-field-grid>label:not(.label-field-group){display:grid;gap:8px;padding:12px;border:1px solid rgba(105,137,176,.14);border-radius:15px;background:rgba(255,255,255,.96)}.document-editor-form .frontend-field-grid>label>span:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;color:#3d5873;font-size:.78rem;font-weight:800;letter-spacing:.03em;text-transform:uppercase}.document-editor-form input,.document-editor-form select,.document-editor-form textarea,.document-richtext__editor{min-height:48px;font-size:16px}.document-editor-form textarea{min-height:104px}.document-filter-form{padding:12px;border-radius:18px}.document-editor-form .frontend-field-grid.three,.document-editor-form .frontend-field-grid.two,.document-filter-form .frontend-field-grid.two,.document-filter-form .portal-actions{grid-template-columns:1fr}.document-list-table-wrap{overflow:visible;border:0;border-radius:0;background:0 0}.document-line-items-wrap{overflow:visible;padding-bottom:0}.document-line-items-table,.document-line-items-table tbody,.document-line-items-table td,.document-line-items-table tr,.document-list-table,.document-list-table tbody,.document-list-table td,.document-list-table tr{display:block;width:100%}.document-line-items-table,.document-list-table{min-width:0;border-collapse:separate;border-spacing:0}.document-line-items-table thead,.document-list-table thead{display:none}.document-line-items-table tbody,.document-list-table tbody{display:grid;gap:14px}.document-line-items-table tr,.document-list-table tr{display:grid;gap:12px;padding:14px;border:1px solid #e2ecea;border-radius:22px;background:#fff;box-shadow:0 14px 28px rgba(9,27,39,.05)}.document-list-table tr{grid-template-columns:1fr}.document-line-items-table tr{grid-template-columns:repeat(2,minmax(0,1fr))}.document-line-items-table td,.document-list-table td{padding:0;border:0;min-width:0}.document-line-items-table td{display:grid;gap:6px;align-content:start}.document-list-table td{display:grid;grid-template-columns:minmax(92px,34%) minmax(0,1fr);gap:8px;align-items:start}.document-line-items-table td::before,.document-list-table td::before{content:attr(data-label);display:block;margin-bottom:4px;color:#617b97;font-size:.68rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.document-list-table td::before{margin-bottom:0}.document-line-items-table td[data-label=""]::before,.document-list-table td[data-label=""]::before{display:none}.document-list-table td[data-label=""],.document-list-table td[data-label=Actions],.document-list-table td[data-label=Related]{display:block}.document-list-table td[data-label=Actions]::before,.document-list-table td[data-label=Related]::before{margin-bottom:8px}.compliance-table-editor,.compliance-table-editor tbody,.compliance-table-editor td,.compliance-table-editor tr{display:block;width:100%}.compliance-table-editor{min-width:0;border-collapse:separate;border-spacing:0}.compliance-table-editor thead{display:none}.compliance-table-editor tbody{display:grid;gap:14px}.compliance-table-editor tr{display:grid;gap:10px;padding:14px;border:1px solid #e2ecea;border-radius:20px;background:#fff;box-shadow:0 14px 28px rgba(9,27,39,.05)}.compliance-table-editor td{padding:0;border:0}.compliance-table-editor td::before{content:attr(data-label);display:block;margin-bottom:5px;color:#617b97;font-size:.68rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.compliance-table-editor input{min-height:48px;font-size:16px}.document-list-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.document-list-actions .btn{width:100%}.document-shortcuts{width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}.document-editor-form .frontend-submit-row,.document-record-summary .portal-actions,.document-workspace-layout .frontend-browser-head .portal-actions{flex-direction:column;align-items:stretch}.document-editor-form .portal-actions.frontend-submit-row{position:sticky;bottom:8px;z-index:30;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:42vh;overflow-y:auto;padding:12px;border-color:rgba(26,99,183,.2);background:rgba(248,251,255,.98);box-shadow:0 -10px 28px rgba(13,38,59,.12);backdrop-filter:blur(10px)}.document-editor-form .portal-actions.frontend-submit-row .btn{min-height:46px;padding:10px 12px}.document-row-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.document-line-item-cell--handle,.document-line-item-cell--serial{align-self:center}.document-line-item-cell--carton,.document-line-item-cell--code,.document-line-item-cell--discount,.document-line-item-cell--quantity,.document-line-item-cell--rate,.document-line-item-cell--remarks,.document-line-item-cell--tax,.document-line-item-cell--tax-rate,.document-line-item-cell--total,.document-line-item-cell--unit,.document-line-item-cell--weight{padding:10px;border:1px solid rgba(105,137,176,.14);border-radius:14px;background:rgba(248,251,255,.96)}.document-line-item-cell--tax,.document-line-item-cell--total{border-color:rgba(26,99,183,.18);background:rgba(238,246,255,.98)}.document-line-item-cell--actions,.document-line-item-cell--catalog,.document-line-item-cell--description,.document-line-item-cell--product{grid-column:1/-1;padding:10px;border:1px solid rgba(105,137,176,.14);border-radius:14px;background:rgba(255,255,255,.96)}.document-line-item-cell--actions::before{margin-bottom:4px}.document-row-handle{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 12px;border:1px dashed rgba(97,123,151,.35);border-radius:14px;background:rgba(247,250,253,.9);font-weight:700}.document-richtext__toolbar{position:static;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));z-index:2}.document-richtext__toolbar .btn{width:100%;min-height:40px;padding:8px}.document-richtext__color{width:100%;justify-content:space-between}.document-term-card__head{align-items:center}.document-line-items-table input,.document-line-items-table select,.document-line-items-table textarea,.document-site-item-picker,.document-site-item-picker select{min-width:0}.document-line-items-table textarea{min-height:84px}.document-editor-form .pictogram-picker{grid-template-columns:1fr}.document-editor-form .pictogram-picker-item{grid-template-columns:auto minmax(64px,82px) minmax(0,1fr);align-items:center;gap:10px;padding:12px;border-radius:16px}.document-editor-form .pictogram-picker-media{min-height:70px;padding:8px;border-radius:14px}.document-editor-form .pictogram-picker-media img{width:52px;height:52px}.document-verification-card{padding:18px;border-radius:20px}.document-verification-card__meta{grid-template-columns:repeat(2,minmax(0,1fr))}.document-verification-card__qr{width:120px;min-width:120px;min-height:120px}}@media (max-width:640px){.document-editor-form,.document-record-browser,.document-record-summary,.document-workspace-layout,.document-workspace-shell{gap:14px}.document-editor-form .frontend-field-section,.document-history-item,.document-record-summary__grid article,.document-related-item{padding:12px;border-radius:16px}.document-workspace-layout .frontend-editor-card,.document-workspace-layout .frontend-record-browser{padding:14px;border-radius:18px}.document-record-summary .frontend-browser-head,.document-workspace-layout .frontend-browser-head{gap:10px}.document-editor-form .frontend-submit-row .btn,.document-record-summary .portal-actions .btn,.document-shortcuts .btn,.document-workspace-layout .frontend-browser-head .portal-actions .btn{width:100%;min-width:0;justify-content:center}.document-record-summary__grid{grid-template-columns:1fr;gap:10px}.document-list-actions{grid-template-columns:1fr}.document-editor-form .portal-actions.frontend-submit-row{grid-template-columns:1fr;bottom:6px;max-height:50vh;padding:10px;border-radius:16px}.document-line-items-table tr,.document-list-table tr{padding:12px;border-radius:18px}.document-line-items-table tr{grid-template-columns:1fr;gap:10px}.document-line-item-cell--actions,.document-line-item-cell--carton,.document-line-item-cell--catalog,.document-line-item-cell--code,.document-line-item-cell--description,.document-line-item-cell--discount,.document-line-item-cell--handle,.document-line-item-cell--product,.document-line-item-cell--quantity,.document-line-item-cell--rate,.document-line-item-cell--remarks,.document-line-item-cell--serial,.document-line-item-cell--tax,.document-line-item-cell--tax-rate,.document-line-item-cell--total,.document-line-item-cell--unit,.document-line-item-cell--weight{grid-column:1/-1}.document-row-actions{grid-template-columns:1fr}.document-row-actions .btn{min-height:42px}.document-shortcuts,.document-verification-card__meta{grid-template-columns:1fr}.document-row-handle{width:100%}.document-line-items-table input,.document-line-items-table select,.document-line-items-table textarea,.document-site-item-picker select{font-size:16px}.document-richtext__toolbar{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px;border-radius:14px}.document-richtext__toolbar .btn{flex:1 1 calc(50% - 8px);min-height:40px}.document-richtext__color{min-height:40px}.document-richtext--line-item .document-richtext__editor,.document-richtext__editor{min-height:96px;min-width:0;padding:12px}.document-term-card__head{flex-direction:column;align-items:stretch}.document-term-card__head .btn{width:100%}.document-verification-card{padding:16px;gap:14px;border-radius:18px}.document-verification-card__qr{width:112px;min-width:112px;min-height:112px;padding:8px}}@media (max-width:420px){.document-editor-form .frontend-field-section>.portal-actions,.document-filter-form .portal-actions,.document-line-items-wrap>.portal-actions,.document-shortcuts{grid-template-columns:1fr}.document-list-table td{grid-template-columns:1fr;gap:5px}.document-list-table td::before{margin-bottom:0}.document-editor-form .frontend-field-grid>label.label-field-group,.document-editor-form .frontend-field-grid>label:not(.label-field-group),.document-line-item-cell--actions,.document-line-item-cell--carton,.document-line-item-cell--catalog,.document-line-item-cell--code,.document-line-item-cell--description,.document-line-item-cell--discount,.document-line-item-cell--product,.document-line-item-cell--quantity,.document-line-item-cell--rate,.document-line-item-cell--remarks,.document-line-item-cell--tax,.document-line-item-cell--tax-rate,.document-line-item-cell--total,.document-line-item-cell--unit,.document-line-item-cell--weight{padding:10px;border-radius:13px}.document-editor-form .pictogram-picker-item{grid-template-columns:auto minmax(0,1fr)}.document-editor-form .pictogram-picker-media{grid-column:1/-1}.document-richtext__toolbar{grid-template-columns:1fr 1fr}}