:root{--primary-50:#effcf9;--primary-100:#ccfbf1;--primary-500:#0d9488;--primary-600:#0f766e;--primary-700:#115e59;--ink:#16302d;--muted:#5e7470;--surface:#fff;--canvas:#f5f8f7;--border:#dce7e4;--warning:#a85d00;--warning-bg:#fff8e8;--danger:#b42318;--danger-bg:#fff1f0;--success:#067647;--radius-sm:.45rem;--radius-md:.75rem;--radius-lg:1rem;--shadow:0 8px 30px rgba(18,55,49,.08);--sidebar:16.5rem;--header:4.75rem;--space-1:.25rem;--space-2:.5rem;--space-3:.75rem;--space-4:1rem;--space-6:1.5rem;--space-8:2rem;--z-sidebar:20;--z-popover:30;--z-scrim:15;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--ink);background:var(--canvas);font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{min-width:320px}button,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.65}a{color:var(--primary-700)}:focus-visible{outline:3px solid #f2b84b;outline-offset:2px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;left:1rem;top:-5rem;background:#fff;padding:.75rem 1rem;z-index:100}.skip-link:focus{top:1rem}.brand-mark{display:grid;place-items:center;width:3.5rem;height:3.5rem;border-radius:1rem;background:var(--primary-600);color:#fff;font-weight:800;font-size:1.75rem}.brand-mark.small{width:2rem;height:2rem;border-radius:.55rem;font-size:1rem}.login-page{min-height:100vh;display:grid;grid-template-columns:minmax(20rem,1fr) minmax(25rem,1fr);background:#fff}.login-brand{padding:clamp(2rem,7vw,7rem);display:flex;flex-direction:column;justify-content:center;background:linear-gradient(145deg,var(--primary-50),#e9f4f1);position:relative}.login-brand:after{content:"";position:absolute;right:10%;bottom:10%;width:10rem;height:10rem;border:1px solid rgba(15,118,110,.15);border-radius:50%}.login-brand h1{font-size:clamp(2.25rem,5vw,4rem);margin:1.5rem 0 .5rem;letter-spacing:-.04em}.login-brand>p{font-size:1.15rem;color:var(--muted);max-width:29rem}.login-brand .system-status{margin-top:3rem}.login-panel{display:grid;place-items:center;padding:2rem}.login-card,.dialog-card{width:min(100%,28rem);display:flex;flex-direction:column;gap:1.1rem}.login-card header h2,.dialog-card h1{margin:.2rem 0;font-size:2rem}.login-card header p:last-child{color:var(--muted);margin:.5rem 0}.eyebrow{text-transform:uppercase;letter-spacing:.09em;font-size:.76rem;font-weight:750;color:var(--primary-600)}label{display:flex;flex-direction:column;gap:.45rem;font-weight:650;font-size:.92rem}input{width:100%;border:1px solid #b9cbc7;border-radius:var(--radius-sm);padding:.78rem .85rem;background:#fff;color:var(--ink)}input:hover{border-color:#6f948c}input:focus{border-color:var(--primary-600)}.password-control{display:flex;position:relative}.password-control input{padding-right:4rem}.reveal{position:absolute;right:.35rem;top:.35rem;bottom:.35rem;border:0;background:transparent;color:var(--primary-700);font-weight:700}.checkbox{flex-direction:row;align-items:center;font-weight:500}.checkbox input{width:1.15rem;height:1.15rem}.button-primary{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;border:0;border-radius:var(--radius-sm);background:var(--primary-600);color:#fff;font-weight:750;padding:.82rem 1rem}.button-primary:hover{background:var(--primary-700)}.link-button{text-decoration:none}.privacy-note{font-size:.8rem;color:var(--muted);line-height:1.5}.spinner{display:inline-block;width:1rem;height:1rem;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .75s linear infinite}.notice{padding:.8rem 1rem;border-radius:var(--radius-sm);font-size:.9rem;border:1px solid}.notice-error{color:var(--danger);background:var(--danger-bg);border-color:#f7c4c0}.notice-warning{color:#854a00;background:var(--warning-bg);border-color:#f5d998}.notice-info{color:#175cd3;background:#eff8ff;border-color:#b2ddff}.notice-success{color:var(--success);background:#ecfdf3;border-color:#abefc6}.system-status{display:flex;align-items:center;gap:.5rem;font-size:.86rem;font-weight:650;flex-wrap:wrap}.system-status small{width:100%;font-weight:400;color:var(--muted);padding-left:1.1rem}.status-dot{width:.6rem;height:.6rem;border-radius:50%;background:var(--warning)}.is-ready .status-dot{background:var(--success)}.button-link{border:0;background:transparent;text-decoration:underline;color:var(--primary-700);padding:.2rem}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:#103b36;color:#fff;padding:1.25rem 1rem;overflow-y:auto;z-index:var(--z-sidebar)}.sidebar-brand{display:flex;align-items:center;gap:.7rem;font-weight:800;padding:0 .65rem 1.5rem}.sidebar nav section{margin-bottom:1.2rem}.sidebar nav h2{font-size:.69rem;text-transform:uppercase;letter-spacing:.09em;color:#9dc1bb;margin:.75rem .65rem}.sidebar nav a{display:block;color:#d9ebe8;text-decoration:none;padding:.62rem .7rem;border-radius:var(--radius-sm);font-size:.91rem;margin:.1rem 0}.sidebar nav a:hover,.sidebar nav a.active{background:#19514a;color:#fff}.shell-body{margin-left:var(--sidebar);min-height:100vh;display:flex;flex-direction:column}.topbar{height:var(--header);display:flex;align-items:center;gap:1.5rem;padding:0 2rem;background:#fff;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:10}.page-heading{margin-right:auto}.page-heading>span{display:block;font-size:.74rem;color:var(--muted)}.page-heading h1{font-size:1.15rem;margin:.2rem 0}.menu-button{display:none;border:0;background:transparent;font-size:1.4rem}.user-menu{position:relative}.user-menu>button{display:flex;align-items:center;gap:.5rem;border:0;background:transparent;color:var(--ink)}.avatar{display:grid;place-items:center;width:2rem;height:2rem;border-radius:50%;background:var(--primary-100);color:var(--primary-700);font-weight:800}.menu-popover{position:absolute;right:0;top:calc(100% + .7rem);width:14rem;padding:.4rem;background:#fff;border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow);z-index:var(--z-popover)}.menu-popover button{display:block;width:100%;text-align:left;border:0;background:transparent;padding:.7rem;border-radius:.35rem}.menu-popover button:hover{background:var(--canvas)}.content{width:100%;max-width:90rem;margin:0 auto;padding:2rem;flex:1}.shell-footer{font-size:.75rem;text-align:right;color:var(--muted);padding:0 2rem 1rem}.page-intro{display:flex;justify-content:space-between;align-items:flex-start;gap:2rem;margin-bottom:2rem}.page-intro h2{font-size:1.75rem;margin:.25rem 0}.page-intro p:last-child{color:var(--muted)}.status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.status-grid article,.future-modules,.placeholder-page{background:#fff;border:1px solid var(--border);border-radius:var(--radius-md);padding:1.25rem}.status-grid article span{display:block;color:var(--muted);font-size:.8rem;margin-bottom:.8rem}.status-grid article strong{word-break:break-word}.future-modules{margin-top:1rem}.future-modules h2{font-size:1.05rem}.future-modules p,.placeholder-page>p:last-child{color:var(--muted);line-height:1.6}.placeholder-page{min-height:20rem}.placeholder-page h2{font-size:1.7rem}.center-state{min-height:100vh;display:grid;place-items:center;text-align:center;padding:2rem}.center-state>section{max-width:35rem}.dialog-card{text-align:left;background:#fff;border:1px solid var(--border);padding:2rem;border-radius:var(--radius-lg);box-shadow:var(--shadow)}.dialog-card ol{line-height:1.7}.dialog-actions{display:flex;justify-content:flex-end;gap:.75rem}.dialog-actions button:not(.button-primary){border:1px solid var(--border);background:#fff;border-radius:var(--radius-sm);padding:.8rem}.skeleton{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.skeleton span{height:7rem;background:linear-gradient(90deg,#edf2f1,#f8faf9,#edf2f1);background-size:200% 100%;border-radius:var(--radius-md);animation:shimmer 1.4s infinite}.scrim{display:none}@keyframes spin{to{transform:rotate(360deg)}}@keyframes shimmer{to{background-position:-200% 0}}@media(max-width:900px){.login-page{grid-template-columns:1fr}.login-brand{min-height:15rem;padding:2rem}.login-brand h1{font-size:2rem}.login-brand .system-status,.login-brand:after{display:none}.login-panel{padding:2rem 1.2rem}.sidebar{transform:translate(-100%);transition:transform .2s ease}.sidebar.is-open{transform:translate(0)}.scrim{display:block;position:fixed;inset:0;border:0;background:#081e1b8c;z-index:var(--z-scrim)}.shell-body{margin-left:0}.menu-button{display:block}.topbar{padding:0 1rem;gap:.8rem}.topbar>.system-status span:not(.status-dot),.username{display:none}.content{padding:1.25rem}.status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.status-grid{grid-template-columns:1fr}.page-intro{display:block}.page-intro>.system-status{margin-top:1rem}.page-heading>span{display:none}.skeleton{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}:root{--primary-50:#effaf5;--primary-100:#d9f2e6;--primary-500:#16845b;--primary-600:#106b4a;--primary-700:#0c553c;--workspace-bg:#f2f3fa;--workspace-shell:#fbfcff;--surface-bg:#ffffff;--surface-muted:#f7f8fc;--text-primary:#202b2a;--text-muted:#71807d;--accent-primary:#16845b;--accent-soft:#e7f6ee;--accent-warning-soft:#fff3e8;--ink:var(--text-primary);--muted:var(--text-muted);--surface:var(--surface-bg);--surface-subtle:var(--surface-muted);--canvas:var(--workspace-bg);--border:#e9ecef;--border-strong:#dce2e1;--focus-ring:rgba(22,132,91,.16);--radius-sm:.7rem;--radius-md:1rem;--radius-lg:1.375rem;--shadow:0 12px 30px rgba(32,43,42,.1);--shadow-soft:0 6px 18px rgba(32,43,42,.07);--shadow-subtle:0 4px 12px rgba(32,43,42,.05);--sidebar:14.5rem;--sidebar-collapsed:4.5rem;--header:3.75rem;--control-height:2.5rem;--control-height-compact:2.25rem;--space-1:.25rem;--space-2:.5rem;--space-3:.75rem;--space-4:1rem;--space-5:1.25rem;--space-6:1.5rem;--space-8:2rem}select,textarea{font:inherit;width:100%;border:1px solid #b9cbc7;border-radius:var(--radius-sm);padding:.78rem .85rem;background:#fff;color:var(--ink)}textarea{min-height:7rem;resize:vertical}.button-secondary,.danger-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border);border-radius:var(--radius-sm);background:#fff;color:var(--ink);padding:.78rem 1rem;text-decoration:none;font-weight:650}.danger-button{color:var(--danger);border-color:#efb5b0}.entity-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1.5rem;margin-bottom:1.5rem}.entity-header h2{font-size:1.8rem;margin:.25rem 0}.entity-header p{color:var(--muted);margin:.35rem 0}.entity-actions,.lifecycle-actions{display:flex;gap:.65rem;flex-wrap:wrap}.filter-bar{display:flex;align-items:flex-end;gap:.75rem;flex-wrap:wrap;background:#fff;border:1px solid var(--border);border-radius:var(--radius-md);padding:1rem;margin-bottom:1rem}.filter-bar label{min-width:10rem;flex:1}.filter-bar label:first-child{min-width:16rem;flex:2}.table-wrap{overflow-x:auto;background:#fff;border:1px solid var(--border);border-radius:var(--radius-md)}table{width:100%;border-collapse:collapse}caption{text-align:left;font-weight:750;padding:1rem}th,td{text-align:left;padding:.85rem 1rem;border-top:1px solid var(--border);vertical-align:top}th{font-size:.78rem;text-transform:uppercase;color:var(--muted);background:#f8faf9}td small{display:block;color:var(--muted);margin-top:.25rem}.sort-button{border:0;background:transparent;color:inherit;text-transform:inherit;font-weight:inherit;padding:0}.pagination{display:flex;justify-content:flex-end;align-items:center;gap:.7rem;padding:1rem 0;flex-wrap:wrap}.pagination button{min-height:2.75rem;border:1px solid var(--border);background:#fff;border-radius:var(--radius-sm);padding:.55rem .8rem}.pagination label{flex-direction:row;align-items:center}.pagination select{width:auto;padding:.5rem}.list-loading,.empty-state{padding:3rem;text-align:center;background:#fff;border:1px solid var(--border);border-radius:var(--radius-md)}.status-badge{display:inline-flex;border-radius:999px;padding:.25rem .55rem;font-size:.78rem;font-weight:750;background:#edf2f1}.status-active,.status-completed{color:var(--success);background:#ecfdf3}.status-blocked,.status-discontinued,.status-cancelled{color:var(--danger);background:var(--danger-bg)}.status-lead,.status-draft,.status-open{color:#854a00;background:var(--warning-bg)}.entity-form{display:flex;flex-direction:column;gap:1rem}.form-section{border:1px solid var(--border);border-radius:var(--radius-md);padding:1.25rem;background:#fff}.form-section legend{font-size:1.05rem;font-weight:750;padding:0 .4rem}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.field-error{color:var(--danger);font-size:.8rem;font-weight:500}.error-summary{background:var(--danger-bg);color:var(--danger);border:1px solid #f7c4c0;border-radius:var(--radius-sm);padding:1rem}.submit-actions{display:flex;justify-content:flex-end;gap:.75rem;position:sticky;bottom:0;background:#f5f8f7f2;padding:1rem}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1rem 0}.detail-grid article,.detail-note,.lifecycle-actions{background:#fff;border:1px solid var(--border);border-radius:var(--radius-md);padding:1.25rem}.detail-grid h3{margin-top:0}.detail-grid dl{display:grid;grid-template-columns:minmax(8rem,.8fr) 1.2fr;gap:.65rem;margin:0}.detail-grid dt{color:var(--muted)}.detail-grid dd{margin:0;word-break:break-word}.lifecycle-actions{margin-top:1rem;align-items:center}.lifecycle-actions h3{width:100%;margin:0 0 .4rem}.timeline{list-style:none;padding:0;border-left:2px solid var(--primary-100);margin-left:.6rem}.timeline li{position:relative;margin:0 0 1rem 1.25rem;background:#fff;border:1px solid var(--border);border-radius:var(--radius-md);padding:1rem}.timeline li:before{content:"";position:absolute;width:.75rem;height:.75rem;border-radius:50%;background:var(--primary-500);left:-1.7rem;top:1.2rem}.timeline li>div{display:flex;justify-content:space-between;gap:1rem}.timeline time{display:block;color:var(--muted);font-size:.82rem;margin:.35rem 0}.interaction-completed,.interaction-cancelled{opacity:.75}.modal-backdrop{position:fixed;inset:0;background:#081e1b9e;display:grid;place-items:center;padding:1rem;z-index:100}.confirm-dialog{width:min(100%,30rem);background:#fff;border-radius:var(--radius-lg);padding:1.5rem;box-shadow:var(--shadow)}@media(max-width:700px){.entity-header{display:block}.entity-actions{margin-top:1rem}.form-grid,.detail-grid{grid-template-columns:1fr}.filter-bar{display:grid}.table-wrap{border:0;background:transparent;overflow:visible}table,thead,tbody,tr,th,td{display:block}thead{position:absolute;clip:rect(0 0 0 0)}table caption{background:#fff;border-radius:var(--radius-md)}tbody{display:grid;gap:.75rem}tr{background:#fff;border:1px solid var(--border);border-radius:var(--radius-md);padding:.5rem}td{display:grid;grid-template-columns:7.5rem 1fr;border-top:1px solid var(--border);padding:.65rem}td:before{content:attr(data-label);font-size:.75rem;font-weight:750;color:var(--muted);text-transform:uppercase}.pagination{justify-content:center}.submit-actions{margin:0 -1.25rem -1.25rem}.detail-grid dl{grid-template-columns:1fr}.detail-grid dt{font-size:.8rem}.timeline{margin-left:.35rem}}.receipt-lines{display:grid;gap:1rem;margin-bottom:1rem}.receipt-line{display:grid;grid-template-columns:2fr repeat(4,minmax(8rem,1fr)) 1.5fr auto;align-items:end;gap:.75rem;padding:1rem;border:1px solid var(--border);border-radius:var(--radius-sm);background:#f8faf9}.receipt-line .danger-button{min-height:2.8rem}.receipt-totals{display:flex;justify-content:flex-end;gap:2rem;padding:1rem;background:#fff;border:1px solid var(--border);border-radius:var(--radius-md)}.table-actions{display:flex;gap:.65rem;white-space:nowrap}@media(max-width:1100px){.receipt-line{grid-template-columns:repeat(2,minmax(0,1fr))}.receipt-line .danger-button{justify-self:start}}@media(max-width:700px){.receipt-line{grid-template-columns:1fr}.receipt-totals{flex-direction:column;gap:.5rem}}.adjustment-ellipsis{display:block;max-width:22rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.adjustment-lines{display:grid;gap:1rem;margin-bottom:1rem}.adjustment-line{display:grid;grid-template-columns:minmax(16rem,2fr) minmax(10rem,1fr) minmax(12rem,1.5fr) auto;align-items:end;gap:.75rem;padding:1rem;border:1px solid var(--border);border-radius:var(--radius-sm);background:#f8faf9}.adjustment-line small,.combobox-options small{display:block;color:var(--muted);margin-top:.2rem}.inventory-context{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;padding:.7rem .8rem;border-radius:var(--radius-sm);background:#eef8f3;color:var(--text-secondary)}.inventory-context .line-warning{flex-basis:100%;color:var(--danger);font-weight:600}.adjustment-summary{display:flex;justify-content:flex-end;gap:2rem}.form-helper{color:var(--muted);margin-top:-.25rem}@media(max-width:1100px){.adjustment-line{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.adjustment-line{grid-template-columns:1fr}.adjustment-summary{flex-direction:column;gap:.5rem}}.searchable-combobox{position:relative;min-width:14rem}.combobox-input{display:flex;gap:.25rem}.combobox-input input{width:100%}.searchable-combobox-compact .combobox-input input{height:40px;padding:.45rem .65rem;font-size:.9rem}.combobox-list{position:absolute;z-index:30;top:100%;left:0;right:0;max-height:16rem;overflow:auto;background:#fff;border:1px solid var(--border);box-shadow:0 .5rem 1rem #0000001f}.combobox-list button{display:block;width:100%;text-align:left;border:0;background:transparent;padding:.55rem .65rem}.combobox-list button.active,.combobox-list button:hover{background:#eef3f2}.combobox-option-title,.combobox-option-meta,.combobox-option-description{display:block}.combobox-option-title{font-size:.9rem}.combobox-option-meta{margin-top:.12rem;color:var(--muted);font-size:.78rem}.combobox-option-description{margin-top:.08rem;color:var(--muted);font-size:.76rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.combobox-list .combobox-footer-action{position:sticky;bottom:0;border-top:1px solid var(--border);background:#fff;color:var(--primary-700);font-weight:700}.checkbox-label{flex-direction:row;align-items:center}.checkbox-label input{width:auto}.searchable-combobox-picker .combobox-trigger{display:flex;gap:0;height:40px}.searchable-combobox-picker .combobox-trigger input{min-width:0;height:40px;border-radius:var(--radius-sm) 0 0 var(--radius-sm);cursor:pointer}.searchable-combobox-picker .combobox-attached-button{flex:0 0 40px;height:40px;border:1px solid var(--border);border-left:0;border-radius:0 var(--radius-sm) var(--radius-sm) 0;background:#f8faf9;color:var(--muted);font-size:1rem}.searchable-combobox-picker .combobox-trigger:focus-within{border-radius:var(--radius-sm);box-shadow:0 0 0 2px #2370582e}.searchable-combobox-picker .combobox-popup{position:absolute;z-index:40;top:calc(100% + .25rem);left:0;width:100%;max-width:calc(100vw - 2rem);display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--border);border-radius:var(--radius-sm);background:#fff;box-shadow:0 .65rem 1.5rem #00000024}.combobox-search{position:relative;padding:.45rem;border-bottom:1px solid var(--border);background:#f8faf9}.combobox-search input{width:100%;height:36px;padding:.38rem 2rem .38rem .6rem;font-size:.88rem}.combobox-search-icon{position:absolute;right:1.05rem;top:50%;translate:0 -50%;color:var(--muted);pointer-events:none}.combobox-options{overflow-y:auto;overscroll-behavior:contain}.combobox-options>button{display:block;width:100%;min-height:48px;padding:.42rem .65rem;border:0;border-left:3px solid transparent;background:#fff;text-align:left}.combobox-options>button:hover,.combobox-options>button.active{background:#f1f6f4}.combobox-options>button[aria-selected=true]{border-left-color:var(--primary-600);background:#eaf4f0}.combobox-options .combobox-option-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:650}.combobox-options .combobox-state{padding:.8rem;color:var(--muted);font-size:.85rem;text-align:center}.combobox-popup .combobox-footer-action{flex:0 0 auto;width:100%;padding:.62rem .7rem;border:0;border-top:1px solid var(--border);background:#fff;color:var(--primary-700);font-weight:700;text-align:left}.combobox-popup .combobox-footer-action:hover{background:#f1f6f4}.order-info-compact{padding:.85rem 1rem}.order-info-compact .form-grid{gap:.7rem 1rem}.order-info-compact label,.order-info-compact .searchable-combobox,.order-info-compact .order-discount-field{gap:.3rem}.order-info-compact input,.order-info-compact select{min-height:40px;padding:.45rem .65rem}.order-info-compact textarea{min-height:72px;padding:.5rem .65rem}.customer-quick-dialog{width:min(94vw,52rem);max-height:88vh;overflow:auto;background:#fff;border-radius:var(--radius-lg);padding:1.1rem;box-shadow:var(--shadow)}.customer-quick-dialog>header{display:flex;align-items:center;justify-content:space-between}.customer-quick-dialog>header h2{margin:0}.customer-quick-dialog>header small{color:var(--muted)}.customer-quick-dialog>header button{border:0;background:transparent;font-size:1.6rem}.customer-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem 1rem;margin:1rem 0}.customer-quick-grid label{gap:.3rem}.customer-quick-grid input,.customer-quick-grid select{min-height:40px;padding:.45rem .65rem}.customer-quick-address,.customer-quick-notes,.geography-fields{grid-column:1/-1}.customer-quick-notes textarea{min-height:70px}.geography-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;border:1px solid var(--border);border-radius:var(--radius-sm);padding:.7rem}.geography-fields legend{padding:0 .3rem;font-weight:700}.geography-mode{grid-column:1/-1;display:flex}.geography-mode button{border:1px solid var(--border);background:#fff;padding:.45rem .7rem}.geography-mode button:first-child{border-radius:var(--radius-sm) 0 0 var(--radius-sm)}.geography-mode button:last-child{border-radius:0 var(--radius-sm) var(--radius-sm) 0}.geography-mode button.active{background:var(--primary-600);color:#fff}.location-combobox{min-width:0}.order-line,.order-line-header{display:grid;grid-template-columns:minmax(260px,2fr) 110px 90px 150px 130px 170px 120px;gap:.65rem;align-items:center}.order-line{padding:.5rem .65rem;border-top:1px solid var(--border);background:#fff}.order-line-header{padding:.7rem .65rem;background:#f8faf9;color:var(--muted);font-size:.76rem;font-weight:750;text-transform:uppercase;border:1px solid var(--border);border-bottom:0;border-radius:var(--radius-sm) var(--radius-sm) 0 0}.order-line>*{min-width:0}.order-line input{height:2.55rem}.order-line-product .searchable-combobox{min-width:0}.order-line-gift{height:2.55rem;display:grid;place-items:center}.order-line-gift input{width:1.15rem;height:1.15rem}.order-line-total{display:flex;min-height:2.55rem;align-items:center}.order-line-delete{width:120px;white-space:nowrap}.latest-order-action{display:flex;flex-direction:column;justify-content:flex-end;gap:.45rem;color:var(--muted);font-size:.85rem}.latest-order-dialog{width:min(96vw,70rem);max-height:88vh;overflow:auto;background:#fff;border-radius:var(--radius-lg);padding:1.25rem;box-shadow:var(--shadow)}.latest-order-dialog>header{display:flex;align-items:center;justify-content:space-between}.latest-order-dialog>header button{border:0;background:transparent;font-size:1.6rem}.latest-order-content dl{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.75rem;margin:1rem 0}.latest-order-content dt{color:var(--muted);font-size:.78rem}.latest-order-content dd{margin:.25rem 0 0;font-weight:650}.order-discount-field{display:flex;flex-direction:column;gap:.45rem;font-weight:650;font-size:.92rem}.discount-mode{display:grid;grid-template-columns:1fr 1fr}.discount-mode button{border:1px solid var(--border);background:#fff;padding:.45rem}.discount-mode button:first-child{border-radius:var(--radius-sm) 0 0 var(--radius-sm)}.discount-mode button:last-child{border-radius:0 var(--radius-sm) var(--radius-sm) 0}.discount-mode button.active{background:var(--primary-600);color:#fff}.receipt-totals{display:flex;gap:1.25rem;justify-content:flex-end;flex-wrap:wrap}.order-toast{position:fixed;z-index:60;right:1.25rem;bottom:1.25rem;display:flex;align-items:center;gap:1rem;max-width:min(92vw,34rem);padding:.8rem 1rem;border:1px solid #8bc7a7;border-radius:var(--radius-sm);background:#edf9f2;color:#175f38;box-shadow:var(--shadow);font-weight:650}.order-toast button{border:0;background:transparent;color:inherit;font-size:1.2rem}@media(max-width:1000px){.order-line-header{display:none}.order-line{grid-template-columns:repeat(2,minmax(0,1fr))}.order-line-product{grid-column:1/-1}.order-line-delete{width:100%}.latest-order-content dl{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.customer-quick-grid,.geography-fields{grid-template-columns:1fr}.customer-quick-address,.customer-quick-notes,.geography-fields,.geography-mode{grid-column:auto}}.searchable-combobox-picker .combobox-clear-button{flex:0 0 40px;height:40px;border:1px solid var(--border);border-left:0;border-radius:0;background:#f8faf9;color:var(--muted);font-size:1rem}.searchable-combobox-picker .combobox-popup{max-width:min(100%,calc(100vw - 2rem))}.combobox-retry{margin-left:.35rem;border:0;background:transparent;color:var(--primary-700);font-weight:700;text-decoration:underline}@media(max-width:640px){.searchable-combobox-picker .combobox-popup{width:100%;max-width:calc(100vw - 2rem)}.geography-mode{width:100%}.geography-mode button{flex:1}}.crosswalk-suggestion{grid-column:1/-1;padding:.7rem .8rem;border:1px solid #b8d7ca;border-radius:var(--radius-sm);background:#f2f8f5}.crosswalk-suggestion h3{margin:0 0 .35rem;font-size:.92rem}.crosswalk-suggestion p{margin:.3rem 0;color:var(--muted)}.crosswalk-suggestion .searchable-combobox{max-width:32rem;margin:.55rem 0}.crosswalk-suggestion>.button-secondary{margin-top:.4rem}.searchable-combobox-picker .combobox-attached-button,.searchable-combobox-picker .combobox-clear-button{display:grid;place-items:center;padding:0}.searchable-combobox-picker .combobox-attached-button:hover:not(:disabled),.searchable-combobox-picker .combobox-clear-button:hover:not(:disabled){background:#eef3f2;color:var(--text)}.searchable-combobox-picker .combobox-attached-button:focus-visible,.searchable-combobox-picker .combobox-clear-button:focus-visible{position:relative;z-index:1;outline:2px solid var(--primary-600);outline-offset:-2px}.searchable-combobox-picker .combobox-attached-button:disabled,.searchable-combobox-picker .combobox-clear-button:disabled{cursor:not-allowed;opacity:.55}.combobox-search-icon{display:grid;place-items:center}.combobox-popup .combobox-footer-action{display:flex;align-items:center;gap:.45rem}.searchable-combobox-fixed .combobox-popup{max-height:min(18rem,calc(100vh - 2rem))!important}.searchable-combobox-fixed .combobox-options>button{min-height:40px;padding:.5rem .65rem}.ui-button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;width:auto;border:1px solid transparent;border-radius:var(--radius-sm);font-weight:700;line-height:1;text-decoration:none;white-space:nowrap;transition:background-color .15s ease,border-color .15s ease,color .15s ease}.ui-button-default{min-height:40px;padding:.65rem .9rem}.ui-button-compact{min-height:36px;padding:.5rem .7rem;font-size:.88rem}.ui-button-primary{border-color:var(--primary-600);background:var(--primary-600);color:#fff}.ui-button-primary:hover:not(:disabled){border-color:var(--primary-700);background:var(--primary-700)}.ui-button-secondary{border-color:var(--border);background:#fff;color:var(--ink)}.ui-button-secondary:hover:not(:disabled){border-color:#a8c0bb;background:#f8faf9}.ui-button-subtle{border-color:transparent;background:var(--primary-50);color:var(--primary-700)}.ui-button-subtle:hover:not(:disabled){background:var(--primary-100)}.ui-button-danger{border-color:#efb5b0;background:#fff;color:var(--danger)}.ui-button-danger:hover:not(:disabled){background:var(--danger-bg);border-color:#e58c84}.ui-button-icon{width:40px;padding:0;border-color:transparent;background:transparent;color:var(--muted)}.ui-button-icon.ui-button-compact{width:36px}.ui-button-icon:hover:not(:disabled){background:#eef3f2;color:var(--ink)}.ui-button:focus-visible{outline:3px solid #f2b84b;outline-offset:2px}.ui-button:disabled{cursor:not-allowed;opacity:.6}.ui-button svg{flex:none;width:18px;height:18px}.dialog-actions .ui-button{padding:.65rem .9rem}.dialog-actions .ui-button-primary{border-color:var(--primary-600);background:var(--primary-600);color:#fff}.customer-quick-dialog>header .ui-button,.latest-order-dialog>header .ui-button,.order-toast .ui-button{border:1px solid transparent;background:transparent;font-size:inherit}.order-detail-actions{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;margin-top:.8rem}.order-line,.order-line-header{grid-template-columns:minmax(260px,2fr) 110px 90px 150px 130px 170px 96px}.order-line-delete{width:auto;min-width:84px}.submit-actions .ui-button{min-width:7rem}:root{--control-height:40px;--control-radius:var(--radius-sm);--control-border:#b9cbc7;--control-padding-x:.65rem;--button-height:var(--control-height);--icon-size:16px}.searchable-combobox{display:flex;flex-direction:column;gap:.3rem}.searchable-combobox-picker .combobox-trigger,.searchable-combobox-picker .combobox-trigger input,.searchable-combobox-picker .combobox-attached-button,.searchable-combobox-picker .combobox-clear-button{height:var(--control-height);min-height:var(--control-height);max-height:var(--control-height)}.searchable-combobox-picker .combobox-attached-button,.searchable-combobox-picker .combobox-clear-button{flex-basis:var(--control-height)}.searchable-combobox-picker .combobox-trigger input{padding-inline:var(--control-padding-x)}.searchable-combobox-picker .combobox-attached-button svg,.searchable-combobox-picker .combobox-clear-button svg{width:var(--icon-size);height:var(--icon-size)}.ui-button-default{height:var(--button-height);min-height:var(--button-height);max-height:var(--button-height);border-radius:var(--control-radius)}.ui-button-compact{height:36px;min-height:36px;max-height:36px}.ui-button svg{width:var(--icon-size);height:var(--icon-size);stroke-width:2}.ui-button-primary,.ui-button-primary:hover:not(:disabled),.dialog-actions button.ui-button-primary,.dialog-actions button.ui-button-primary:hover:not(:disabled){border-color:var(--primary-600);background:var(--primary-600);color:#fff}.ui-button-primary:hover:not(:disabled),.dialog-actions button.ui-button-primary:hover:not(:disabled){border-color:var(--primary-700);background:var(--primary-700);color:#fff}.ui-button-primary:disabled,.dialog-actions button.ui-button-primary:disabled{border-color:#5f9f95;background:#5f9f95;color:#fff;opacity:.78}.ui-button-secondary,.ui-button-secondary:hover:not(:disabled),.dialog-actions button.ui-button-secondary{color:var(--ink)}.ui-button-secondary:disabled{background:#f5f7f6;color:#5e7470;opacity:.8}.ui-button-danger:disabled{background:#fff7f6;color:#9f3a32;opacity:.75}.ui-button-subtle:disabled{background:#edf6f3;color:#47736b;opacity:.75}.customer-quick-dialog>header .ui-button svg,.latest-order-dialog>header .ui-button svg{width:18px;height:18px}.customer-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;column-gap:1rem;row-gap:.8rem}.customer-quick-grid>label,.customer-quick-grid>.searchable-combobox{align-self:start;min-width:0}.customer-quick-grid input:not([type=checkbox]),.order-info-compact input:not([type=checkbox]),.order-line input:not([type=checkbox]){height:var(--control-height);min-height:var(--control-height);max-height:var(--control-height);padding-inline:var(--control-padding-x);border-radius:var(--control-radius)}.customer-quick-grid textarea,.order-info-compact textarea{height:auto;max-height:none}.geography-fields{align-items:start}.geography-fields-new{grid-template-columns:repeat(2,minmax(0,1fr))}.geography-fields-legacy{grid-template-columns:repeat(3,minmax(0,1fr))}.geography-mode{height:var(--control-height)}.geography-mode button,.discount-mode button{display:flex;align-items:center;justify-content:center;height:var(--control-height);min-height:var(--control-height);padding:.4rem var(--control-padding-x);color:var(--ink)}.geography-mode button.active,.discount-mode button.active{background:var(--primary-600);color:#fff}.discount-mode{height:var(--control-height)}.order-discount-field{gap:.5rem}.order-info-compact .form-grid{align-items:start}.order-line{align-items:center}.order-line input:not([type=checkbox]),.order-line-product .combobox-trigger{height:var(--control-height)}.order-line-gift,.order-line-total{height:var(--control-height);min-height:var(--control-height)}@media(max-width:640px){.customer-quick-grid,.geography-fields-new,.geography-fields-legacy{grid-template-columns:1fr}}.order-write-page,.order-write-page>.entity-form,.order-lines-section,.latest-order-content{min-width:0;max-width:100%}.order-lines-scroll{max-width:100%;overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch}.order-lines-table{min-width:1080px}.order-line,.order-line-header{grid-template-columns:minmax(240px,1fr) 72px 64px 68px 128px 138px 82px 128px 80px;gap:.5rem;min-width:1080px}.order-line{border-right:1px solid transparent;border-left:1px solid transparent}.receipt-totals{justify-content:flex-end;gap:.45rem 1rem;margin-top:.85rem;font-size:.88rem}.receipt-totals span,.order-line-before-tax,.order-line-total{white-space:nowrap}.order-line-header>span{line-height:1.2}.order-line-header>span:not(:first-child),.order-line-quantity,.order-line-gift,.order-line-tax-rate,.order-line-before-tax,.order-line-total,.order-line-delete{text-align:center;justify-content:center}.order-line-before-tax,.order-line-total{font-size:.88rem}.order-line-delete{width:100%;min-width:0}.receipt-totals,.order-detail-actions,.submit-actions{min-width:0;max-width:100%;flex-wrap:wrap}.latest-order-dialog{display:flex;flex-direction:column;width:min(62rem,calc(100vw - 2rem));max-width:calc(100vw - 2rem);max-height:calc(100vh - 2rem);padding:0;overflow:hidden}.latest-order-dialog>header{position:sticky;top:0;z-index:1;flex:0 0 auto;padding:1rem 1.25rem;border-bottom:1px solid var(--border);background:#fff}.latest-order-dialog-body{min-width:0;padding:0 1.25rem 1.25rem;overflow-x:hidden;overflow-y:auto}.latest-order-lines-table{min-width:920px;white-space:nowrap}.latest-order-content{line-height:1.4}.latest-order-content dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem 1rem}.latest-order-content dd{overflow-wrap:anywhere}.latest-order-content dl>div:nth-child(4){grid-column:span 2}.latest-order-lines-scroll{margin-top:.75rem}.order-line-tax-rate,.order-line-before-tax{display:flex;align-items:center;min-height:40px}@media(max-width:1000px){.order-line-header{display:grid}.order-line{grid-template-columns:minmax(240px,1fr) 72px 64px 68px 128px 138px 82px 128px 80px}.order-line-product{grid-column:auto}.order-line-delete{width:auto}}@media(max-width:640px){.latest-order-content dl{grid-template-columns:1fr}.latest-order-content dl>div:nth-child(4){grid-column:auto}}.combobox-options>button{min-height:0;padding:.38rem .6rem}.combobox-option-title{line-height:1.25}.combobox-option-meta{margin-top:.08rem;line-height:1.2}.combobox-option-description{display:-webkit-box;margin-top:.08rem;overflow:hidden;white-space:normal;line-height:1.25;-webkit-box-orient:vertical;-webkit-line-clamp:2}.combobox-popup .combobox-footer-action{padding:.5rem .65rem}.customer-quick-dialog{display:flex;flex-direction:column;width:min(50rem,calc(100vw - 2rem));max-width:calc(100vw - 2rem);max-height:calc(100vh - 2rem);padding:0;overflow-x:hidden;overflow-y:auto}.customer-quick-dialog>header{flex:0 0 auto;padding:1rem 1.1rem .75rem}.customer-quick-dialog form{min-width:0;padding:0 1.1rem}.customer-quick-grid{margin:.65rem 0;row-gap:.65rem}.customer-quick-notes textarea{min-height:56px}.customer-quick-dialog .dialog-actions{position:sticky;bottom:0;z-index:2;margin:.75rem -1.1rem 0;padding:.75rem 1.1rem;border-top:1px solid var(--border);background:#fff}.combobox-popup-portal{position:fixed;z-index:50;visibility:hidden;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--border);border-radius:var(--radius-sm);background:#fff;box-shadow:0 .65rem 1.5rem #00000024}.combobox-popup-portal.is-positioned{visibility:visible}.combobox-option-danger{color:var(--danger);font-weight:700}.combobox-option-warning{color:var(--warning);font-weight:650}.order-stock-warning{display:flex;align-items:flex-start;gap:.35rem;margin-top:.3rem;color:var(--danger);font-size:.78rem;font-weight:700;line-height:1.3}.order-stock-warning svg{flex:none;width:15px;height:15px}.confirm-stock-line{display:grid;grid-template-columns:minmax(7rem,1fr) 1fr 1fr;gap:.35rem .8rem;margin:.55rem 0;padding:.65rem;border:1px solid var(--border);border-radius:var(--control-radius);background:#f8faf9}.confirm-stock-line.stock-shortage{border-color:#efb5b0;background:var(--danger-bg);color:var(--danger)}.confirm-stock-line.stock-shortage strong:last-child{grid-column:1/-1}.status-badge{border:1px solid transparent}.status-draft{color:#7a4b00;background:#fff7df;border-color:#eed394}.status-confirmed{color:#175cd3;background:#eff8ff;border-color:#b2ddff}.status-packing{color:#6941c6;background:#f4f3ff;border-color:#d9d6fe}.status-shipped{color:#0e7090;background:#ecfdff;border-color:#a5f0fc}.status-delivered{color:#067647;background:#ecfdf3;border-color:#abefc6}.status-cancelled{color:#b42318;background:#fff1f0;border-color:#f7c4c0}.status-returned,.status-partially_returned{color:#b54708;background:#fff6ed;border-color:#f9dbaf}@media(max-width:700px){.confirm-stock-line{grid-template-columns:1fr}}.customer-list-page{display:flex;min-width:0;flex-direction:column;gap:.5rem;margin-top:-.25rem}.customer-list-header{display:flex;min-width:0;min-height:40px;align-items:center;justify-content:space-between;gap:.75rem}.customer-list-header h2{margin:0;font-size:clamp(1.45rem,2vw,1.7rem);line-height:1.15;letter-spacing:-.02em}.customer-list-actions{display:flex;align-items:center;justify-content:flex-end;gap:.5rem;flex-wrap:wrap}.customer-filter-bar{margin:0;padding:.65rem;gap:.55rem}.customer-filter-bar label{gap:.3rem;font-size:.84rem}.customer-filter-bar input{height:40px;min-height:40px;padding:.6rem .7rem}.customer-list-page>.pagination{padding:.5rem 0 0}.app-shell,.shell-body,.content{min-width:0}.customer-table-shell{width:100%;max-width:100%;min-width:0;background:#fff;border:1px solid var(--border);border-radius:var(--radius-md);overflow:hidden}.customer-table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:3.4rem;padding:.75rem 1rem;border-bottom:1px solid var(--border)}.customer-table-viewport{width:100%;max-width:100%;min-width:0;max-height:clamp(22rem,calc(100vh - 24rem),34rem);overflow:auto;border:0;border-radius:0;overscroll-behavior:contain;scrollbar-gutter:stable}.customer-table{min-width:100%;table-layout:fixed}.customer-layout-reset{border:0;background:transparent;color:var(--primary-700);font-size:.82rem;font-weight:700;text-decoration:underline;padding:.35rem .25rem;white-space:nowrap}.customer-table th,.customer-table td{padding:.7rem .75rem}.customer-table th{position:sticky;top:0;z-index:1;-webkit-user-select:none;user-select:none}.customer-table th,.customer-table td{height:3.45rem;max-height:3.45rem;white-space:nowrap}.customer-table th{overflow:visible;text-overflow:clip}.customer-table td{overflow:hidden;text-overflow:ellipsis}.customer-table td:not(.customer-action-cell){min-width:0}.customer-table td:not(.customer-action-cell)>*{min-width:0;max-width:100%}.customer-table td>a,.customer-table td>strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-column-header{display:flex;align-items:center;min-width:0;min-height:2rem;padding-right:.45rem;overflow:hidden}.customer-column-header>span,.customer-column-header>.sort-button{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.column-resize-handle{position:absolute;right:-5px;top:0;width:12px;height:100%;border:0;background:transparent;padding:0;cursor:col-resize;z-index:2}.column-resize-handle:after{content:"";position:absolute;right:5px;top:22%;bottom:22%;width:2px;border-radius:2px;background:#c4d4d0;transition:background .15s}.column-resize-handle:hover:after,.column-resize-handle:focus-visible:after{background:var(--primary-600)}.customer-table th.is-dragging{opacity:.5}.customer-table th.is-drag-over:before{content:"";position:absolute;left:-2px;top:.35rem;bottom:.35rem;width:3px;border-radius:3px;background:var(--primary-500)}.customer-cell-ellipsis{display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.customer-address-cell,.customer-nowrap{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.customer-status-cell,.customer-action-cell{overflow:visible;text-overflow:clip}.sidebar-brand{min-height:3rem}.sidebar-brand .sidebar-label,.sidebar nav .sidebar-label{white-space:nowrap;opacity:1;transition:opacity .15s ease}.sidebar-toggle{display:grid;place-items:center;width:36px;height:36px;margin-left:auto;flex:none;border:1px solid rgba(255,255,255,.2);border-radius:var(--radius-sm);background:transparent;color:#d9ebe8}.sidebar-toggle:hover{background:#19514a;color:#fff}.sidebar nav a{display:flex;align-items:center;gap:.75rem;min-height:40px}.nav-icon{width:18px;height:18px;flex:none}.app-shell .sidebar,.app-shell .shell-body{transition:width .18s ease,margin-left .18s ease}.sidebar-collapsed .sidebar{width:4.75rem;padding-inline:.65rem}.sidebar-collapsed .shell-body{margin-left:4.75rem}.sidebar-collapsed .sidebar-brand .brand-mark,.sidebar-collapsed .sidebar .sidebar-label{visibility:hidden;opacity:0;width:0;overflow:hidden}.sidebar-collapsed .sidebar-toggle{margin:0}.sidebar-collapsed .sidebar nav h2{height:1px;margin:1rem .6rem;background:#ffffff2e;overflow:hidden;color:transparent}.sidebar-collapsed .sidebar nav a{justify-content:center;padding:.62rem}.sidebar-collapsed .sidebar nav a.active{box-shadow:inset 3px 0 #5eead4}@media(max-width:900px){.sidebar-collapsed .sidebar{width:var(--sidebar);padding:1.25rem 1rem}.sidebar-collapsed .shell-body{margin-left:0}.sidebar-collapsed .sidebar-brand{justify-content:flex-start;padding:0 .65rem 1.5rem}.sidebar-collapsed .sidebar-brand .brand-mark,.sidebar-collapsed .sidebar .sidebar-label{display:initial}.sidebar-collapsed .sidebar-toggle{display:none}.sidebar-collapsed .sidebar nav h2{height:auto;margin:.75rem .65rem;background:transparent;color:#9dc1bb}.sidebar-collapsed .sidebar nav a{justify-content:flex-start;padding:.62rem .7rem}.sidebar-toggle{display:none}}@media(max-width:1100px){.customer-list-header{align-items:flex-start;flex-wrap:wrap}.customer-list-actions{margin-left:auto}}body{background:var(--canvas);color:var(--ink)}:focus-visible{outline:2px solid var(--primary-500);outline-offset:2px}.app-shell{overflow-x:hidden}.sidebar{padding:var(--space-4) var(--space-3);background:#123d31;scrollbar-color:rgba(255,255,255,.24) transparent;scrollbar-width:thin}.sidebar-brand{min-height:2.75rem;padding:0 var(--space-2) var(--space-4)}.brand-mark.small{width:2rem;height:2rem;border-radius:.6rem;background:#e9f7f0;color:#106b4a}.sidebar nav section{margin-bottom:var(--space-4)}.sidebar nav h2{margin:var(--space-3) var(--space-3) var(--space-2);color:#9fc1b5;font-size:.68rem;font-weight:700}.sidebar nav a{display:flex;align-items:center;gap:var(--space-3);min-height:2.5rem;margin:2px 0;padding:.55rem .75rem;border-radius:.625rem;color:#dcebe6}.sidebar nav a:hover{background:#ffffff12}.sidebar nav a.active{background:#ffffff1f;color:#fff;box-shadow:inset 2px 0 #74d6aa}.nav-icon{width:1.125rem;height:1.125rem;flex:0 0 1.125rem}.sidebar-toggle{width:2.25rem;height:2.25rem;border-color:#ffffff21;border-radius:.625rem}.sidebar-toggle:hover{background:#ffffff14}.sidebar-collapsed .sidebar{width:var(--sidebar-collapsed);padding-inline:.5rem}.sidebar-collapsed .sidebar nav a{padding-inline:.625rem}.sidebar-collapsed .sidebar nav a.active{box-shadow:inset 0 0 0 1px #74d6aa47}.topbar{height:var(--header);gap:var(--space-4);padding:0 clamp(1rem,2vw,1.75rem);border-color:var(--border);box-shadow:var(--shadow-soft)}.topbar-spacer{flex:1}.topbar-module{color:var(--muted);font-size:.82rem;font-weight:650;white-space:nowrap}.user-menu>button{min-height:2.25rem;padding:.25rem .35rem;border-radius:.625rem}.user-menu>button:hover{background:var(--surface-subtle)}.avatar{width:1.875rem;height:1.875rem;font-size:.82rem}.content{max-width:100rem;padding:clamp(1.25rem,2vw,2rem)}.shell-footer{padding-inline:clamp(1.25rem,2vw,2rem)}.page-header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);min-width:0}.page-header-copy{min-width:0}.page-header h1{margin:0;font-size:clamp(1.5rem,2vw,1.75rem);line-height:1.2;letter-spacing:-.025em}.page-header p{margin:.35rem 0 0;color:var(--muted);font-size:.875rem}.page-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:var(--space-2);flex-wrap:wrap}.surface{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-soft)}.surface-padded{padding:var(--space-5)}input,select,textarea{border-color:var(--border-strong);border-radius:var(--radius-sm);color:var(--ink)}input{min-height:var(--control-height)}input::placeholder,textarea::placeholder{color:#899692}input:hover,select:hover,textarea:hover{border-color:#aebdb8}input:focus,select:focus,textarea:focus{border-color:var(--primary-500);outline:3px solid var(--focus-ring);outline-offset:0}.ui-button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:var(--control-height);padding:.625rem .9rem;border:1px solid transparent;border-radius:var(--radius-sm);font-weight:700;line-height:1;box-shadow:none}.ui-button svg{width:1rem;height:1rem}.ui-button-compact{min-height:var(--control-height-compact);padding:.5rem .75rem;font-size:.875rem}.ui-button-primary{background:var(--primary-600);border-color:var(--primary-600);color:#fff}.ui-button-primary:hover{background:var(--primary-700);border-color:var(--primary-700)}.ui-button-secondary{background:#fff;border-color:var(--border-strong);color:var(--ink)}.ui-button-secondary:hover,.ui-button-subtle:hover,.ui-button-icon:hover{background:var(--surface-subtle)}.ui-button-subtle,.ui-button-icon{background:transparent;color:var(--ink)}.ui-button-danger{background:#fff7f6;border-color:#f2c5c1;color:var(--danger)}.filter-bar,.table-wrap,.customer-table-shell{border-color:var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-soft)}th{background:var(--surface-subtle);color:#596964;font-size:.75rem;letter-spacing:.025em}th,td{border-color:var(--border)}tbody tr:hover{background:var(--primary-50)}.status-badge{font-size:.75rem;font-weight:700}.customer-table-viewport{scrollbar-color:#aebdb8 #f4f7f5;scrollbar-width:thin}.customer-table-toolbar{min-height:3rem;padding:.65rem 1rem}.customer-table th,.customer-table td{height:3rem;max-height:3rem;padding:.625rem .75rem}.customer-layout-reset{text-decoration:none}@media(max-width:900px){.sidebar-collapsed .sidebar{width:var(--sidebar);padding:1rem .75rem}.topbar-module{display:none}.content{padding:1.25rem}}@media(max-width:640px){.page-header{align-items:flex-start;flex-direction:column}.page-header-actions{width:100%;justify-content:flex-start}}.surface-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}.surface-heading h2{margin:0}.inline-editor,.assignment-editor{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;align-items:end;padding:1rem;margin-bottom:1rem;background:var(--color-surface-subtle,#f7f8fa);border-radius:var(--radius-md,8px)}.inline-editor-actions{display:flex;gap:.5rem;align-items:center}.assignment-editor .searchable-combobox{min-width:0}.price-list-detail .workspace-table-surface{overflow:hidden}.price-list-detail .table-wrap{overflow:auto}.field-span{grid-column:1/-1}@media(max-width:1024px){.inline-editor,.assignment-editor{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.inline-editor,.assignment-editor{grid-template-columns:1fr}.surface-heading{align-items:flex-start;flex-direction:column}}.workspace-page{display:flex;min-width:0;flex-direction:column;gap:var(--space-3)}.workspace-page>.page-header{min-height:40px;margin-bottom:0}.workspace-section,.workspace-detail-grid>.surface,.workspace-form-section,.order-summary-footer{padding:var(--space-5)}.workspace-section>h2,.workspace-section>h3,.workspace-detail-grid h3,.workspace-form-section>h2,.order-summary-surface>h2,.timeline-surface>h2{margin:0 0 var(--space-4);font-size:1.05rem;line-height:1.3}.workspace-table-surface{min-width:0;overflow:hidden}.workspace-table-surface>.table-wrap{border:0;border-radius:0;box-shadow:none}.workspace-table-surface table{min-width:48rem}.workspace-table-surface caption{padding:.8rem 1rem;border-bottom:1px solid var(--border);font-size:.95rem}.workspace-table-surface th,.workspace-table-surface td{padding:.7rem .8rem;white-space:nowrap}.workspace-table-surface td{max-width:20rem;overflow:hidden;text-overflow:ellipsis}.workspace-table-surface td>*{max-width:100%}.workspace-table-surface .table-actions{display:flex;gap:var(--space-3);white-space:nowrap}.order-list-page>.pagination{padding:.25rem 0 0}.workspace-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-3);margin:0}.workspace-detail-grid>.surface{min-width:0}.workspace-detail-grid dl{grid-template-columns:minmax(7rem,.7fr) 1.3fr}.workspace-detail-grid dt{font-size:.8rem}.workspace-detail-grid dd{font-weight:600}.commission-policy-detail-actions{display:flex;align-items:center;justify-content:flex-end;gap:var(--space-2);flex-wrap:wrap}.commission-policy-detail-actions>.status-badge{display:inline-flex;align-items:center;min-height:var(--control-height-compact)}.commission-policy-detail-page .workspace-detail-grid{align-items:start;gap:var(--space-3)}.commission-policy-detail-page .workspace-detail-grid>.surface{height:auto;min-height:0;padding:var(--space-4)}.commission-policy-detail-page .workspace-detail-grid h2{margin:0 0 var(--space-3);font-size:1.05rem;line-height:1.3}.commission-policy-detail-page .workspace-detail-grid dl{display:grid;grid-template-columns:minmax(7rem,.7fr) minmax(0,1.3fr);gap:var(--space-2) var(--space-3);margin:0}.commission-policy-detail-page .workspace-detail-grid dt{color:var(--muted)}.commission-policy-detail-page .workspace-detail-grid dd{min-width:0;margin:0;overflow-wrap:anywhere}.metric-surface dd{font-variant-numeric:tabular-nums}.customer-detail-page .detail-note,.customer-detail-page .lifecycle-actions{margin:0}.customer-detail-page .detail-note>.table-wrap{margin:0;border-color:var(--border);box-shadow:none}.customer-detail-page .detail-note table{min-width:46rem}.customer-detail-page .detail-note td:nth-child(n+4),.customer-detail-page .detail-note th:nth-child(n+4){white-space:nowrap}.customer-detail-page .lifecycle-actions{align-items:center}.workspace-form-section{margin:0;border:1px solid var(--border)}.workspace-form-section>.form-grid{gap:var(--space-4)}.workspace-form-section label,.workspace-form-section .searchable-combobox{min-width:0}.customer-form-page .geography-mode{grid-column:1/-1}.customer-form-page .crosswalk-suggestion{box-shadow:none}.workspace-page .submit-actions{margin-top:0;padding:.75rem var(--space-4);border-top:1px solid var(--border);background:#f4f7f5f0;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.order-summary-surface{padding:var(--space-5)}.order-summary-surface .detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-3);margin:0}.order-summary-surface .detail-grid>div{min-width:0;padding:0}.order-summary-surface dt{color:var(--muted);font-size:.78rem}.order-summary-surface dd{margin:.3rem 0 0;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.order-summary-surface .metric-wide{grid-column:span 2}.timeline-surface .status-timeline{margin:0;padding-left:1.25rem}.timeline-surface .status-timeline li{padding:.2rem 0}.lifecycle-surface{margin:0;padding:var(--space-4);align-items:center}.order-lines-surface table{min-width:68rem}.order-lines-surface td:nth-child(n+3){white-space:nowrap}.order-write-page .entity-form{gap:var(--space-3)}.order-write-page .order-lines-section{overflow:hidden}.order-write-page .order-lines-scroll{max-width:100%;overflow-x:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.order-write-page .order-lines-table{min-width:76rem}.order-write-page .order-line-header{border:0;border-bottom:1px solid var(--border);border-radius:0}.order-write-page .order-line:last-child{border-bottom:1px solid var(--border)}.order-write-page .order-summary-footer{justify-content:flex-end;gap:var(--space-5);margin:0}.order-write-page .order-summary-footer span{color:var(--muted);font-size:.85rem;white-space:nowrap}.order-write-page .order-summary-footer strong{color:var(--ink)}section:has(>.phase3-product-header){display:flex;flex-direction:column;gap:var(--space-3);min-width:0}section:has(>.phase3-product-header)>.filter-bar{margin:0}section:has(>.phase3-product-header)>.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-3);margin:0}section:has(>.phase3-product-header)>.detail-grid>article{margin:0;padding:var(--space-4);border:1px solid var(--border);border-radius:var(--radius);background:#fff;box-shadow:var(--shadow-sm)}section:has(>.phase3-product-header)>.lifecycle-actions{margin:0;padding:var(--space-4);border:1px solid var(--border);border-radius:var(--radius);background:#fff}.workspace-filter-surface{padding:var(--space-3) var(--space-4)}.workspace-filter-surface .filter-bar{margin:0}.inventory-list-page .workspace-table-surface table{min-width:58rem}.stock-receipt-list-page .workspace-table-surface table{min-width:70rem}.workspace-summary-surface{padding:var(--space-4)}.workspace-summary-surface>.detail-grid{margin:0}.stock-receipt-form-page .entity-form{gap:var(--space-3)}.stock-receipt-lines-surface{overflow:hidden}.stock-receipt-lines-surface .receipt-lines{overflow-x:auto;overscroll-behavior:contain}.stock-receipt-lines-surface .receipt-line{min-width:70rem}.stock-receipt-form-page .receipt-totals{margin:0;justify-content:flex-end;gap:var(--space-5)}.stock-receipt-detail-page .workspace-table-surface table{min-width:72rem}.stock-receipt-detail-page .lifecycle-actions{margin:0;padding:var(--space-4)}.collaborator-list-page .workspace-table-surface table{min-width:76rem}.collaborator-detail-page .workspace-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.collaborator-detail-page .workspace-detail-grid dl{display:grid;grid-template-columns:minmax(8rem,.7fr) minmax(0,1.3fr);gap:.6rem 1rem;margin:0}.collaborator-detail-page .workspace-detail-grid dt{color:var(--muted)}.collaborator-detail-page .workspace-detail-grid dd{margin:0;min-width:0;font-weight:600;overflow-wrap:anywhere}.financial-summary-strip{display:flex;align-items:center;justify-content:flex-end;gap:.4rem;padding:var(--space-3) var(--space-4);font-variant-numeric:tabular-nums}.commission-list-page .workspace-table-surface table{min-width:80rem}section:has(>.phase3-financial-header){display:flex;flex-direction:column;gap:var(--space-3);min-width:0}section:has(>.phase3-financial-header)>.filter-bar,section:has(>.phase3-financial-header)>.detail-grid{margin:0;padding:var(--space-4);border:1px solid var(--border);border-radius:var(--radius);background:#fff;box-shadow:var(--shadow-sm)}section:has(>.phase3-financial-header)>.summary-strip{margin:0;padding:var(--space-3) var(--space-4);border:1px solid var(--border);border-radius:var(--radius);background:#fff;text-align:right}section:has(>.phase3-financial-header)>.workspace-table-surface table{min-width:72rem}section:has(>.phase3-financial-header)>h3{margin:var(--space-2) 0 0}section:has(>.phase3-product-header)>.detail-grid>article,section:has(>.phase3-product-header)>.lifecycle-actions,section:has(>.phase3-financial-header)>.filter-bar,section:has(>.phase3-financial-header)>.detail-grid,section:has(>.phase3-financial-header)>.summary-strip{border:0;box-shadow:var(--shadow-soft)}.dashboard-period{border:0;box-shadow:var(--shadow-subtle)}.dashboard-overview{min-width:0;padding:var(--space-5)}.dashboard-overview-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-5);padding-bottom:var(--space-4);border-bottom:1px solid var(--border)}.dashboard-overview-heading h2{margin:0;font-size:1.05rem}.dashboard-overview-heading p{margin:.35rem 0 0;color:var(--muted);font-size:.85rem}.dashboard-overview-heading .system-status{justify-content:flex-end;max-width:22rem}.dashboard-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0}.dashboard-metrics>div{min-width:0;padding:var(--space-5);border-right:1px solid var(--border)}.dashboard-metrics>div:first-child{padding-left:0}.dashboard-metrics>div:last-child{padding-right:0;border-right:0}.dashboard-metrics dt{color:var(--muted);font-size:.78rem}.dashboard-metrics dd{margin:.45rem 0 0;overflow:hidden;font-size:1rem;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.placeholder-page{min-height:0;padding:0;border:0;background:transparent}.placeholder-surface{min-height:12rem}.placeholder-surface p{max-width:42rem;margin:0;color:var(--muted);line-height:1.6}@media(max-width:1200px){.order-summary-surface .detail-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.order-summary-surface .metric-wide{grid-column:span 2}.dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-metrics>div:nth-child(2){border-right:0}.dashboard-metrics>div:nth-child(n+3){border-top:1px solid var(--border)}.dashboard-metrics>div:nth-child(3){padding-left:0}}@media(max-width:900px){.workspace-detail-grid,.collaborator-detail-page .workspace-detail-grid{grid-template-columns:1fr}section:has(>.phase3-product-header)>.detail-grid{grid-template-columns:1fr}.order-summary-surface .detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.order-summary-surface .metric-wide{grid-column:1/-1}.dashboard-overview-heading{align-items:stretch;flex-direction:column}.dashboard-overview-heading .system-status{justify-content:flex-start;max-width:none}}@media(max-width:1400px){.commission-policy-detail-page .page-header{align-items:flex-start;flex-direction:column}.commission-policy-detail-page .page-header-actions{width:100%;justify-content:flex-start}}@media(max-width:700px){.workspace-table-surface{overflow-x:auto}.workspace-table-surface>.table-wrap{overflow-x:auto;background:#fff}.workspace-table-surface table,.workspace-table-surface thead,.workspace-table-surface tbody,.workspace-table-surface tr,.workspace-table-surface th,.workspace-table-surface td{display:revert}.workspace-table-surface thead{position:static;clip:auto}.workspace-table-surface tbody{display:table-row-group}.workspace-table-surface tr{display:table-row;padding:0;border:0}.workspace-table-surface td{display:table-cell}.workspace-table-surface td:before{content:none}.workspace-form-section>.form-grid{grid-template-columns:1fr}.order-summary-surface .detail-grid{grid-template-columns:1fr}.order-summary-surface .metric-wide{grid-column:auto}}html{background:var(--workspace-bg)}body{background:radial-gradient(circle at 12% 4%,#fafaff 0,transparent 30rem),var(--workspace-bg);color:var(--text-primary)}.app-shell{position:relative;min-height:calc(100vh - 2rem);margin:1rem;overflow:hidden;border-radius:1.75rem;background:var(--workspace-shell);box-shadow:0 24px 70px #454e7821}.sidebar{inset:1rem auto 1rem 1rem;width:var(--sidebar);padding:1rem .75rem;border-radius:1.35rem 0 0 1.35rem;background:var(--workspace-shell);color:var(--text-primary);box-shadow:none;transition:width .18s ease,box-shadow .18s ease}.sidebar-brand{min-height:2.75rem;padding:0 .35rem 1rem;gap:.65rem;color:var(--text-primary)}.brand-mark.small{width:2.25rem;height:2.25rem;border-radius:.8rem;background:linear-gradient(145deg,var(--accent-primary),#38a978);color:#fff;box-shadow:0 8px 18px #16845b33}.sidebar nav section{margin-bottom:.7rem}.sidebar nav h2{margin:.7rem .75rem .35rem;color:#9aa6a3;font-size:.62rem}.sidebar nav a{position:relative;min-height:2.6rem;margin:.15rem 0;padding:.55rem .75rem;border-radius:.85rem;color:#71807d;font-weight:560}.sidebar nav a:hover{background:#f2f4f8;color:var(--text-primary)}.sidebar nav a.active{background:var(--accent-soft);color:var(--accent-primary);box-shadow:none}.sidebar nav a.active:before{content:"";position:absolute;left:-.25rem;top:.7rem;bottom:.7rem;width:3px;border-radius:3px;background:var(--accent-primary)}.nav-icon{width:1.2rem;height:1.2rem;flex-basis:1.2rem}.sidebar-toggle{border-color:transparent;color:var(--text-muted)}.sidebar-toggle:hover{background:#f0f2f6}.sidebar-collapsed .sidebar{width:var(--sidebar-collapsed);padding-inline:.75rem}.sidebar-collapsed .sidebar-brand{justify-content:center;padding-inline:0}.sidebar-collapsed .sidebar nav a{justify-content:center;padding-inline:.65rem}.sidebar-collapsed .sidebar nav a.active{box-shadow:none}.sidebar-collapsed .shell-body{margin-left:calc(var(--sidebar-collapsed) + 1rem)}.shell-body{margin-left:calc(var(--sidebar) + 1rem);min-height:calc(100vh - 2rem);background:var(--workspace-shell);transition:margin-left .18s ease}.topbar{height:var(--header);padding:0 clamp(1rem,2.2vw,2.25rem);border:0;background:#fbfcffe6;box-shadow:none;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.topbar-module{color:var(--text-muted);font-size:.78rem}.topbar>.system-status{padding:.42rem .7rem;border-radius:999px;background:#fff;box-shadow:0 6px 18px #47507512}.user-menu>button{min-height:2.5rem;padding:.3rem .65rem .3rem .35rem;border-radius:999px;background:#fff;box-shadow:0 7px 20px #47507514}.user-menu>button:hover{background:#fff;box-shadow:0 9px 24px #4750751f}.avatar{width:2rem;height:2rem;background:var(--accent-soft);color:var(--accent-primary)}.menu-popover{border:0;border-radius:1rem;box-shadow:var(--shadow)}.content{max-width:105rem;padding:clamp(1.25rem,2.4vw,2.5rem)}.shell-footer{padding-bottom:1.25rem}.workspace-page{gap:1rem}.workspace-page>.page-header{min-height:3.25rem}.page-header h1{font-size:clamp(1.55rem,2vw,1.75rem);letter-spacing:-.035em}.page-header p{color:var(--text-muted)}.surface{border:0;border-radius:var(--radius-lg);background:var(--surface-bg);box-shadow:var(--shadow-soft)}.workspace-section,.workspace-detail-grid>.surface,.workspace-form-section,.order-summary-footer{padding:clamp(1rem,1.6vw,1.5rem)}.workspace-filter-surface{padding:.85rem 1rem;box-shadow:var(--shadow-subtle)}.filter-bar{border:0;background:var(--surface-bg);box-shadow:var(--shadow-subtle)}.workspace-filter-surface .filter-bar{background:transparent;box-shadow:none}.workspace-table-surface{border:0;box-shadow:var(--shadow-soft)}.workspace-table-surface caption{border-color:#edf0f1}.workspace-table-surface th{background:#fafbfe;color:#7a8784}.workspace-table-surface td{border-color:#eff1f2}.workspace-table-surface tbody tr:hover{background:linear-gradient(90deg,var(--accent-soft),#f7f6fd)}.table-wrap,.customer-table-shell{border:0;border-radius:1.2rem;box-shadow:var(--shadow-soft);scrollbar-color:#c8d3d0 transparent;scrollbar-width:thin}.workspace-table-surface>.table-wrap{box-shadow:none}.status-badge{border:0;border-radius:999px;padding:.3rem .6rem}.status-active,.status-ready,.status-confirmed{background:#e7f6ee;color:#13704f}.status-warning,.status-draft,.status-pending{background:var(--accent-warning-soft);color:#9b5b18}.status-inactive,.status-locked,.status-suspended{background:#f5edf1;color:#9b4760}input,select,textarea{min-height:2.5rem;border:1px solid var(--border-strong);border-radius:.75rem;background:#fff;box-shadow:0 1px 2px #2a364605}input:hover,select:hover,textarea:hover{border-color:#bdcac6}input:focus,select:focus,textarea:focus{border-color:var(--accent-primary);outline:3px solid var(--focus-ring)}fieldset{border:0;border-radius:1rem;background:var(--surface-muted)}legend{padding:0 .35rem;color:var(--text-muted);font-size:.82rem;font-weight:750}.ui-button,.button-primary,.button-secondary,.danger-button{border-radius:.75rem}.ui-button-primary,.button-primary{background:var(--accent-primary);box-shadow:0 7px 16px #16845b29}.ui-button-secondary{border-color:#e1e5e6;box-shadow:0 4px 12px #3d485a0b}.ui-button-danger{border-color:#f3d6da;background:#fff5f6;color:#a33d4a}.workspace-page .submit-actions{border-color:#edf0f1;background:#fbfcffeb}.dashboard-page{gap:1.25rem}.dashboard-v2-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.dashboard-v2-metric{position:relative;min-width:0;padding:1.25rem;overflow:hidden}.dashboard-v2-metric:after{content:"";position:absolute;right:-1.5rem;bottom:-2rem;width:6rem;height:6rem;border-radius:50%;background:#f1effb}.dashboard-v2-metric.is-accent:after{background:var(--accent-soft)}.dashboard-v2-metric span,.dashboard-v2-metric small{position:relative;z-index:1;display:block;color:var(--text-muted)}.dashboard-v2-metric span{font-size:.78rem;font-weight:700}.dashboard-v2-metric strong{position:relative;z-index:1;display:block;margin:.65rem 0 .35rem;overflow:hidden;font-size:1.2rem;text-overflow:ellipsis;white-space:nowrap}.dashboard-v2-metric small{font-size:.75rem}.dashboard-v2-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(16rem,.72fr);gap:1rem}.dashboard-v2-health,.dashboard-v2-utility{padding:clamp(1.25rem,2vw,1.75rem)}.dashboard-v2-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1.5rem}.dashboard-v2-card-heading h2,.dashboard-v2-utility h2{margin:.3rem 0 .4rem;font-size:1.2rem}.dashboard-v2-card-heading p{margin:0;color:var(--text-muted);font-size:.85rem}.dashboard-v2-kicker{color:var(--accent-primary);font-size:.7rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.dashboard-v2-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin-top:1.5rem}.dashboard-v2-checks>div{display:flex;align-items:center;gap:.8rem;padding:1rem;border-radius:1rem;background:var(--surface-muted)}.dashboard-v2-checks p{margin:0}.dashboard-v2-checks strong,.dashboard-v2-checks small{display:block}.dashboard-v2-checks small{margin-top:.2rem;color:var(--text-muted)}.health-orb{width:.7rem;height:.7rem;border-radius:50%;background:#e0a15f;box-shadow:0 0 0 5px #fff0df}.health-orb.is-ok{background:var(--accent-primary);box-shadow:0 0 0 5px var(--accent-soft)}.dashboard-v2-utility{background:linear-gradient(150deg,#fff 40%,#f2f0fb)}.dashboard-v2-utility dl{margin:1.25rem 0 0}.dashboard-v2-utility dl>div{padding:.9rem 0;border-top:1px solid #ebeef1}.dashboard-v2-utility dt{color:var(--text-muted);font-size:.75rem}.dashboard-v2-utility dd{margin:.3rem 0 0;font-weight:700;overflow-wrap:anywhere}@media(max-width:1200px){.dashboard-v2-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.app-shell{min-height:100vh;margin:0;border-radius:0}.sidebar{inset:0 auto 0 0;border-radius:0}.shell-body,.sidebar-collapsed .shell-body{min-height:100vh;margin-left:0}.dashboard-v2-layout{grid-template-columns:1fr}.dashboard-v2-card-heading{flex-direction:column}.topbar>.system-status{background:transparent;box-shadow:none}}@media(max-width:640px){.dashboard-v2-metrics,.dashboard-v2-checks{grid-template-columns:1fr}}.dashboard-period,.dashboard-system-compact,.dashboard-section-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem}.dashboard-period{padding:1rem 1.2rem;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface)}.dashboard-period>div:first-child strong,.dashboard-period>div:first-child span{display:block}.dashboard-period>div:first-child span{margin-top:.25rem;color:var(--text-muted);font-size:.78rem}.dashboard-period-options{display:flex;gap:.35rem;flex-wrap:wrap}.dashboard-period-options button{border:1px solid var(--border);border-radius:999px;background:#fff;padding:.5rem .8rem;color:var(--text-muted);cursor:pointer}.dashboard-period-options button.is-active{border-color:var(--accent-primary);background:var(--accent-soft);color:var(--accent-primary);font-weight:700}.dashboard-operational-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-business-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(18rem,.8fr);gap:1rem}.dashboard-status-surface,.dashboard-activity,.dashboard-recent-orders,.dashboard-system-compact,.dashboard-error{padding:1.35rem}.dashboard-section-heading{align-items:flex-start}.dashboard-section-heading h2,.dashboard-system-compact h2{margin:.3rem 0;font-size:1.1rem}.dashboard-section-heading p{margin:.25rem 0 0;color:var(--text-muted);font-size:.8rem}.dashboard-section-heading>a,.dashboard-system-compact>a{color:var(--accent-primary);font-weight:700;font-size:.8rem}.dashboard-status-bars{display:grid;gap:.9rem;margin-top:1.4rem}.dashboard-status-bars>div>div{display:flex;justify-content:space-between;font-size:.82rem}.dashboard-status-track{display:block;height:.45rem;margin-top:.4rem;overflow:hidden;border-radius:999px;background:var(--surface-muted)}.dashboard-status-track i{display:block;height:100%;border-radius:inherit;background:var(--accent-primary)}.dashboard-activity ul{list-style:none;margin:1rem 0 0;padding:0}.dashboard-activity li{display:flex;gap:.7rem;padding:.7rem 0;border-top:1px solid var(--border)}.activity-dot{flex:0 0 auto;width:.5rem;height:.5rem;margin-top:.35rem;border-radius:50%;background:var(--accent-primary)}.dashboard-activity p,.dashboard-activity time{display:block;margin:.15rem 0 0;color:var(--text-muted);font-size:.72rem}.dashboard-table-wrap{overflow-x:auto;margin-top:1rem}.dashboard-table-wrap table{width:100%;border-collapse:collapse;min-width:42rem}.dashboard-table-wrap th,.dashboard-table-wrap td{padding:.75rem;text-align:left;border-top:1px solid var(--border);font-size:.8rem}.dashboard-table-wrap th{color:var(--text-muted)}.dashboard-empty{padding:1.25rem;text-align:center;color:var(--text-muted)}.dashboard-system-compact h2{margin-bottom:0}.dashboard-error{display:flex;align-items:center;justify-content:space-between;gap:1rem}@media(max-width:1200px){.dashboard-operational-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-business-layout{grid-template-columns:1fr}}@media(max-width:700px){.dashboard-period,.dashboard-system-compact,.dashboard-section-heading,.dashboard-error{align-items:flex-start;flex-direction:column}.dashboard-operational-metrics{grid-template-columns:1fr}}html,body,#root{min-height:100%;background:var(--workspace-bg)}body{background:var(--workspace-bg)}.app-shell{min-height:100vh;margin:0;overflow:visible;border-radius:0;background:var(--workspace-bg);box-shadow:none}.shell-body{min-width:0;min-height:100vh;margin-left:var(--sidebar);background:var(--workspace-bg)}.sidebar-collapsed .shell-body{margin-left:var(--sidebar-collapsed)}.topbar{width:100%;background:#f8f9fcf0}.content{max-width:none;margin:0;padding:clamp(1.25rem,2vw,2rem)}@media(min-width:901px){.sidebar,.sidebar-collapsed .sidebar{inset:0 auto 0 0;width:var(--sidebar);padding:1rem 0;overflow-x:hidden;border-radius:0;background:var(--workspace-shell);box-shadow:1px 0 #e2e6ebcc;transition:width .2s cubic-bezier(.22,.61,.36,1),box-shadow .16s ease}.sidebar-collapsed .sidebar{width:var(--sidebar-collapsed)}.sidebar-collapsed.sidebar-expanded .sidebar{width:var(--sidebar);box-shadow:12px 0 28px #3d485a17}.shell-body{transition:margin-left .2s cubic-bezier(.22,.61,.36,1)}.sidebar-collapsed.sidebar-expanded .shell-body{margin-left:var(--sidebar-collapsed)}.sidebar-brand{position:relative;display:grid;grid-template-columns:var(--sidebar-collapsed) minmax(0,1fr);width:var(--sidebar);height:3.25rem;min-height:3.25rem;margin:0;padding:0;gap:0;align-items:center}.sidebar-collapsed .sidebar-brand{grid-template-columns:var(--sidebar-collapsed) minmax(0,1fr);justify-content:start;padding:0;gap:0}.brand-icon-slot{grid-column:1;display:grid;place-items:center;width:var(--sidebar-collapsed);height:100%}.brand-mark.small{opacity:0;pointer-events:none}.brand-label{grid-column:2;padding-right:2.75rem;color:var(--text-primary);font-size:.88rem;font-weight:800}.sidebar-toggle{position:absolute;grid-column:1;justify-self:start;z-index:2;top:.5rem;left:calc((var(--sidebar-collapsed) - 2.125rem)/2);display:grid;place-items:center;width:2.125rem;min-width:2.125rem;height:2.125rem;padding:0;border:1px solid rgba(226,230,235,.75);border-radius:.75rem;background:#fff;color:var(--accent-primary);box-shadow:0 4px 12px #3d485a14;transition:background-color .14s ease,color .14s ease,box-shadow .14s ease}.sidebar-toggle:hover{background:var(--accent-soft);box-shadow:0 5px 14px #3d485a1c}.sidebar-collapsed:not(.sidebar-expanded) .sidebar-toggle{position:absolute;top:.5rem;left:calc((var(--sidebar-collapsed) - 2.125rem)/2);right:auto;bottom:auto;width:2.125rem;height:2.125rem;min-width:2.125rem;border-radius:.75rem}.sidebar-collapsed:not(.sidebar-expanded) .sidebar-toggle svg{width:17px;height:17px}.sidebar nav{width:var(--sidebar)}.sidebar nav section,.sidebar-collapsed .sidebar nav section{margin:0 0 .55rem}.sidebar nav h2,.sidebar-collapsed .sidebar nav h2,.sidebar-collapsed:not(.sidebar-expanded) .sidebar nav h2{position:relative;display:flex;align-items:center;width:var(--sidebar);height:1.5rem;margin:.25rem 0;padding:0 0 0 var(--sidebar-collapsed);font-size:.8125rem;font-weight:675;line-height:1.15;letter-spacing:.03em;overflow:hidden;background:transparent;color:#6b7f79;opacity:1;visibility:visible;transform:none;transition:none}.sidebar nav h2:before{content:"";position:absolute;left:3.25rem;top:50%;width:.625rem;height:2px;border-radius:999px;background:#86a69c;opacity:0;transform:translateY(-50%);transition:opacity .14s ease}.sidebar nav a,.sidebar-collapsed .sidebar nav a,.sidebar-collapsed:not(.sidebar-expanded) .sidebar nav a{isolation:isolate;display:grid;grid-template-columns:var(--sidebar-collapsed) minmax(0,1fr);align-items:center;width:var(--sidebar);min-height:2.5rem;height:2.5rem;margin:2px 0;padding:0;gap:0;border-radius:0}.nav-icon-slot{display:grid;place-items:center;width:var(--sidebar-collapsed);height:2.5rem}.nav-icon{width:19px;height:19px;transition:color .14s ease}.nav-label-slot{min-width:0;padding:0 .75rem 0 .15rem;overflow:hidden;text-overflow:ellipsis}.sidebar nav a:after{content:"";position:absolute;top:3px;right:.75rem;bottom:3px;left:.75rem;z-index:-1;border-radius:.75rem;background:transparent;transition:right .2s cubic-bezier(.22,.61,.36,1),left .2s cubic-bezier(.22,.61,.36,1),background-color .14s ease}.sidebar nav a:hover,.sidebar nav a.active{background:transparent}.sidebar nav a:hover:after{background:#f2f4f8}.sidebar nav a.active:after{background:var(--accent-soft)}.sidebar nav a.active{color:var(--accent-primary);font-weight:620}.sidebar nav a.active:before{display:none}.sidebar-collapsed:not(.sidebar-expanded) .sidebar nav a:after{right:11rem;left:1rem}.app-shell.sidebar-expanded .sidebar .brand-label,.app-shell.sidebar-expanded .sidebar .nav-label-slot{width:calc(var(--sidebar) - var(--sidebar-collapsed));max-width:calc(var(--sidebar) - var(--sidebar-collapsed));overflow:hidden;opacity:1;visibility:visible;transform:translate(0);pointer-events:auto}.app-shell.sidebar-expanded .sidebar nav h2 .sidebar-label{width:auto;max-width:calc(var(--sidebar) - var(--sidebar-collapsed));overflow:hidden;opacity:1;visibility:visible;transform:translate(0)}.app-shell.sidebar-expanded .sidebar nav h2:before{opacity:.72}.sidebar-label,.sidebar nav h2 .sidebar-label{opacity:1;visibility:visible;transform:translate(0);white-space:nowrap;transition:opacity .15s ease 45ms,transform .18s cubic-bezier(.22,.61,.36,1),visibility 0s}.sidebar-collapsed:not(.sidebar-expanded) .sidebar-label{opacity:0;visibility:hidden;transform:translate(-4px);pointer-events:none;transition:opacity 90ms ease,transform .12s ease,visibility 0s linear .12s}}@media(max-width:900px){.app-shell{min-height:100vh;margin:0;border-radius:0}.sidebar{inset:0 auto 0 0;border-radius:0}.shell-body,.sidebar-collapsed .shell-body{margin-left:0}}@media(prefers-reduced-motion:reduce){.sidebar,.shell-body,.sidebar-label,.sidebar-toggle,.nav-icon{transition-duration:.01ms!important}}.audit-page{min-width:0}.audit-page .notice{margin-bottom:1rem}.audit-filters label{min-width:9.5rem}.audit-filters label:first-child{min-width:17rem}.audit-page .table-wrap{max-width:100%;overflow-x:auto}.audit-page table{min-width:70rem}.audit-truncate{display:block;max-width:13rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.audit-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-bottom:1rem}.audit-detail-grid article{min-width:0}.audit-detail-grid h2,.audit-page article>h2{margin-top:0}.audit-detail-grid dl,.audit-page article>dl{display:grid;grid-template-columns:minmax(8rem,.7fr) 1.3fr;gap:.65rem;margin:0}.audit-detail-grid dt,.audit-page article>dl dt{color:var(--muted)}.audit-detail-grid dd,.audit-page article>dl dd{margin:0;min-width:0;overflow-wrap:anywhere}.audit-json-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.audit-json-panel{min-width:0}.audit-json-panel h3{font-size:1rem}.audit-json-panel pre{margin:0;max-width:100%;max-height:32rem;overflow:auto;border:1px solid var(--border);border-radius:var(--radius-sm);background:#f8faf9;padding:1rem;white-space:pre-wrap;overflow-wrap:anywhere;font:.82rem/1.55 ui-monospace,SFMono-Regular,Consolas,monospace}.muted{color:var(--muted)}@media(max-width:700px){.audit-detail-grid,.audit-json-grid{grid-template-columns:1fr}.audit-detail-grid dl,.audit-page article>dl{grid-template-columns:1fr}.audit-page .table-wrap{overflow-x:auto;border:1px solid var(--border)}.audit-page table{display:table;min-width:70rem}.audit-page thead{display:table-header-group;position:static;clip:auto}.audit-page tbody{display:table-row-group}.audit-page tr{display:table-row}.audit-page th,.audit-page td{display:table-cell}.audit-page td:before{display:none}}.system-page{min-width:0;gap:1rem}.system-overview-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(18rem,1fr);align-items:start;gap:1.125rem;margin-bottom:.25rem}.system-overview-grid>.surface{min-width:0;height:auto;padding:1.25rem}.system-page h2,.system-page h3{margin:0}.system-page .surface>h2{margin-bottom:.875rem}.system-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.system-section-heading p{margin:.3rem 0 0;color:var(--muted);font-size:.84rem;line-height:1.45}.health-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.625rem;margin-top:.875rem}.health-checks div{display:flex;align-items:center;justify-content:space-between;gap:.75rem;min-width:0;padding:.65rem .75rem;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-muted);font-size:.86rem}.health-checks strong{white-space:nowrap}.check-ok{color:var(--success)}.check-mismatch,.check-unknown{color:var(--warning)}.check-unavailable{color:var(--danger)}.system-facts{display:grid;grid-template-columns:minmax(7.5rem,.7fr) minmax(0,1.3fr);gap:.55rem .875rem;margin:0;font-size:.88rem}.system-facts dt{color:var(--muted)}.system-facts dd{margin:0;min-width:0;overflow-wrap:anywhere;font-weight:650}.backup-heading{align-items:flex-end;margin:.25rem 0 0}.backup-heading>div:first-child{max-width:52rem}.system-actions{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:flex-end}.backup-table{min-width:0;padding:0;margin-top:-.25rem}.backup-table .table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-gutter:stable}.backup-table table{min-width:76rem}.backup-table caption{padding:.7rem 1rem}.backup-table th,.backup-table td{padding:.625rem .75rem;line-height:1.35}.backup-table th{position:sticky;top:0;z-index:1}.system-ellipsis{display:block;max-width:12rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.verify-result{margin-bottom:0}.verify-result .system-facts{margin-top:1rem}.system-page>.notice{margin-bottom:0}@media(max-width:1100px){.system-overview-grid{grid-template-columns:1fr}.backup-heading{align-items:stretch;flex-direction:column}.system-actions{justify-content:flex-start}}@media(max-width:600px){.health-checks,.system-facts{grid-template-columns:1fr}.backup-table .table-wrap{border:1px solid var(--border)}.backup-table table{display:table}.backup-table thead{display:table-header-group;position:static;clip:auto}.backup-table tbody{display:table-row-group}.backup-table tr{display:table-row}.backup-table th,.backup-table td{display:table-cell}.backup-table td:before{display:none}}.interaction-page,.settlement-page{min-width:0}.interaction-page .page-header,.settlement-page .page-header{align-items:flex-start}.workspace-empty-surface{min-width:0;overflow:hidden}.workspace-empty-surface .empty-state{border:0;border-radius:0;box-shadow:none}.interaction-filters{display:grid;grid-template-columns:repeat(2,minmax(10rem,16rem));justify-content:start}.interaction-timeline-surface{padding:var(--space-4);overflow:hidden}.interaction-timeline{position:relative;display:grid;gap:0;margin:0;padding:0;list-style:none}.interaction-timeline:before{content:"";position:absolute;top:1rem;bottom:1rem;left:.37rem;width:2px;background:var(--primary-100)}.interaction-timeline li{position:relative;display:grid;grid-template-columns:.8rem minmax(0,1fr);gap:var(--space-3);padding:0 0 var(--space-4)}.interaction-timeline li:last-child{padding-bottom:0}.interaction-marker{position:relative;z-index:1;width:.75rem;height:.75rem;margin-top:.3rem;border:2px solid #fff;border-radius:50%;background:var(--accent-primary);box-shadow:0 0 0 2px var(--primary-100)}.interaction-timeline article{min-width:0;padding:0 0 var(--space-4);border-bottom:1px solid var(--border)}.interaction-timeline li:last-child article{padding-bottom:0;border-bottom:0}.interaction-timeline header{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-3)}.interaction-timeline time,.interaction-timeline small{display:block;margin-top:.3rem;color:var(--muted);font-size:.78rem}.interaction-timeline h2{margin:.7rem 0 .35rem;font-size:1rem}.interaction-timeline p{margin:.4rem 0;line-height:1.55;overflow-wrap:anywhere}.interaction-timeline .interaction-completed article,.interaction-timeline .interaction-cancelled article{opacity:.78}.interaction-form{display:grid;gap:var(--space-3)}.interaction-form-surface{display:grid;gap:var(--space-5)}.interaction-form-surface .form-section{margin:0;padding:0;border:0;border-radius:0;background:transparent}.interaction-form-surface .form-section+.form-section{padding-top:var(--space-5);border-top:1px solid var(--border)}.interaction-form-surface .form-section legend{padding:0 0 var(--space-3);font-size:1.05rem}.workspace-action-footer{position:sticky;bottom:0;z-index:2;display:flex;justify-content:flex-end;gap:var(--space-2);padding:var(--space-3);border-top:1px solid var(--border);background:#f2f3faf0;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.settlement-action-surface,.settlement-summary-surface{padding:var(--space-4)}.settlement-action-surface .surface-heading p{margin:.3rem 0 0;color:var(--muted);font-size:.82rem}.settlement-create-form,.settlement-payment-form{display:grid;grid-template-columns:repeat(4,minmax(10rem,1fr));align-items:end;gap:var(--space-3)}.settlement-create-form>.ui-button,.settlement-payment-form>.ui-button{justify-self:start;white-space:nowrap}.settlement-summary-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:var(--space-4);margin:0}.settlement-summary-grid dt{color:var(--muted);font-size:.78rem}.settlement-summary-grid dd{min-width:0;margin:.35rem 0 0;font-weight:700;overflow-wrap:anywhere}.settlement-section-heading h2{margin:var(--space-2) 0 0;font-size:1.05rem}.settlement-page .workspace-table-surface{min-width:0;overflow:hidden}.settlement-page .workspace-table-surface>.table-wrap{max-width:100%;overflow:auto;box-shadow:none}.settlement-page .workspace-table-surface table{min-width:72rem}.settlement-page .workspace-table-surface th{position:sticky;top:0;z-index:1}.settlement-page .workspace-table-surface th,.settlement-page .workspace-table-surface td{height:3rem;white-space:nowrap}@media(max-width:1366px){.settlement-create-form,.settlement-payment-form{grid-template-columns:repeat(3,minmax(10rem,1fr))}.settlement-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1024px){.interaction-page .page-header,.settlement-page .page-header{flex-direction:column}.interaction-page .page-header-actions,.settlement-page .page-header-actions{width:100%;justify-content:flex-start}.settlement-create-form,.settlement-payment-form,.settlement-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.interaction-filters,.settlement-create-form,.settlement-payment-form,.settlement-summary-grid{grid-template-columns:1fr}.interaction-timeline header{flex-direction:column}.interaction-timeline-surface{padding:var(--space-3)}.workspace-action-footer{margin-inline:calc(var(--space-3) * -1)}}.product-page{min-width:0}.product-page .page-header{align-items:flex-start}.product-filters{display:grid;grid-template-columns:minmax(15rem,2fr) repeat(3,minmax(9rem,1fr)) auto}.product-list-page .workspace-table-surface{min-width:0;overflow:hidden}.product-list-page .workspace-table-surface>.table-wrap{max-width:100%;overflow:auto;box-shadow:none}.product-list-page .workspace-table-surface table{min-width:72rem}.product-list-page .workspace-table-surface th{position:sticky;top:0;z-index:1}.product-list-page .workspace-table-surface th,.product-list-page .workspace-table-surface td{height:3rem;white-space:nowrap}.product-name-cell,.collaborator-name-cell{display:block;min-width:0;max-width:18rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-name-cell strong,.product-name-cell small,.collaborator-name-cell strong,.collaborator-name-cell small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-form{display:grid;gap:var(--space-3)}.product-form .workspace-form-section{margin:0}.product-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-3)}.product-detail-grid>.surface{min-width:0;padding:var(--space-4)}.product-detail-grid h2,.product-lifecycle-surface h2{margin:0 0 var(--space-3);font-size:1.05rem}.product-detail-grid dl{display:grid;grid-template-columns:minmax(8rem,.75fr) minmax(0,1.25fr);gap:.6rem 1rem;margin:0}.product-detail-grid dt{color:var(--muted)}.product-detail-grid dd{min-width:0;margin:0;font-weight:600;overflow-wrap:anywhere}.product-lifecycle-surface{padding:var(--space-4)}.product-lifecycle-surface>div{display:flex;gap:var(--space-2);flex-wrap:wrap}section:has(.collaborator-name-cell){min-width:0}section:has(.collaborator-name-cell)>.workspace-table-surface{min-width:0;overflow:hidden}section:has(.collaborator-name-cell)>.workspace-table-surface>.table-wrap{max-width:100%;overflow:auto;box-shadow:none}section:has(.collaborator-name-cell)>.workspace-table-surface table{min-width:76rem}section:has(.collaborator-name-cell)>.workspace-table-surface th{position:sticky;top:0;z-index:1}section:has(.collaborator-name-cell) .table-actions{display:flex;align-items:center;gap:var(--space-3);white-space:nowrap}@media(max-width:1366px){.product-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.product-filters>.ui-button{justify-self:start}}@media(max-width:1024px){.product-page .page-header{flex-direction:column}.product-page .page-header-actions{width:100%;justify-content:flex-start}.product-detail-grid{grid-template-columns:1fr}.product-form .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.product-filters,.product-form .form-grid,.product-detail-grid dl{grid-template-columns:1fr}.product-name-cell,.collaborator-name-cell{max-width:14rem}}.policy-name-cell,.policy-target-cell,.commission-reference-cell{display:block;min-width:0;max-width:18rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}section:has(.policy-name-cell),.commission-list-page{min-width:0}section:has(.policy-name-cell)>.workspace-filter-surface .filter-bar,.commission-list-page>.workspace-filter-surface .filter-bar{display:grid;grid-template-columns:minmax(15rem,2fr) repeat(3,minmax(10rem,1fr));align-items:end}section:has(.policy-name-cell)>.workspace-table-surface,.commission-list-page>.workspace-table-surface{min-width:0;overflow:hidden}section:has(.policy-name-cell)>.workspace-table-surface>.table-wrap,.commission-list-page>.workspace-table-surface>.table-wrap{max-width:100%;overflow:auto;box-shadow:none}section:has(.policy-name-cell)>.workspace-table-surface table{min-width:78rem}section:has(.policy-name-cell)>.workspace-table-surface th,.commission-list-page>.workspace-table-surface th{position:sticky;top:0;z-index:1}section:has(.policy-name-cell)>.workspace-table-surface th,section:has(.policy-name-cell)>.workspace-table-surface td,.commission-list-page>.workspace-table-surface th,.commission-list-page>.workspace-table-surface td{height:3rem;white-space:nowrap}section:has(.policy-name-cell) .table-actions,.commission-list-page .table-actions{display:flex;align-items:center;gap:var(--space-3);white-space:nowrap}section:has(.policy-name-cell)>.workspace-table-surface>.pagination{padding-inline:var(--space-4)}.commission-policy-detail-page{min-width:0}.commission-policy-detail-page .workspace-detail-grid>.surface{border:0;box-shadow:var(--shadow-soft)}.commission-policy-detail-page .workspace-detail-grid dd{font-weight:600}.commission-policy-detail-page .workspace-detail-grid dd,.commission-policy-detail-page .workspace-detail-grid p{overflow-wrap:anywhere}section:has(>form .workspace-form-section input[maxlength="64"]){min-width:0}section:has(>form .workspace-form-section input[maxlength="64"])>form{display:grid;gap:var(--space-3)}section:has(>form .workspace-form-section input[maxlength="64"]) .workspace-form-section{margin:0}section:has(>form .workspace-form-section input[maxlength="64"]) .submit-actions{margin:0;position:sticky;bottom:0;z-index:2;border-top:1px solid var(--border);background:#f2f3faf0;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.commission-list-page>.financial-summary-strip{box-shadow:var(--shadow-subtle)}.commission-list-page>.empty-state{border:0;box-shadow:var(--shadow-soft)}@media(max-width:1366px){section:has(.policy-name-cell)>.workspace-filter-surface .filter-bar,.commission-list-page>.workspace-filter-surface .filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:1024px){section:has(.policy-name-cell)>.page-header,.commission-list-page>.page-header,.commission-policy-detail-page>.page-header,section:has(>form .workspace-form-section input[maxlength="64"])>.page-header{align-items:flex-start;flex-direction:column}section:has(.policy-name-cell)>.page-header .page-header-actions,.commission-list-page>.page-header .page-header-actions,.commission-policy-detail-page>.page-header .page-header-actions{width:100%;justify-content:flex-start}.commission-policy-detail-page .workspace-detail-grid{grid-template-columns:1fr}section:has(>form .workspace-form-section input[maxlength="64"]) .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){section:has(.policy-name-cell)>.workspace-filter-surface .filter-bar,.commission-list-page>.workspace-filter-surface .filter-bar,section:has(>form .workspace-form-section input[maxlength="64"]) .form-grid{grid-template-columns:1fr}.policy-name-cell,.policy-target-cell,.commission-reference-cell{max-width:14rem}}
