:root{--color-page:#f6f7f9;--color-surface:#fff;--color-text:#111827;--color-muted:#6b7280;--color-border:#e5e7eb;--color-control-border:#6b7280;--color-accent:#637b6e;--color-accent-hover:#52695c;--color-accent-active:#43584c;--color-accent-soft:#edf1eb;--color-accent-hover-surface:#f3f6f0;--color-accent-light:#c2d0bf;--color-accent-muted:#7f9386;--color-link:#52695c;--color-focus:#637b6e2e;--color-error:#b42318;--radius:8px;--space-1:.25rem;--space-2:.5rem;--space-3:.75rem;--space-4:1rem;--space-5:1.5rem;--space-6:2rem;--form-padding:clamp(1rem, 3vw, 2rem);--font-ui:Inter, system-ui, -apple-system, sans-serif;--text-page-title:24px;--text-section-title:16px;--text-body:13px;--text-caption:12px;--text-table-label:11px;--text-metric:28px;font-family:var(--font-ui);color:var(--color-text);background:var(--color-page);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;letter-spacing:0;line-height:1.5}*{box-sizing:border-box}body{min-width:320px;font-size:var(--text-body);margin:0}a{color:var(--color-link)}:focus-visible{outline:3px solid var(--color-accent);outline-offset:4px}button,input,select,textarea{font:inherit}input[type=checkbox],input[type=radio]{accent-color:var(--color-accent)}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.65}.app-shell{grid-template-columns:224px minmax(0,1fr);min-height:100svh;display:grid}.app-sidebar{border-right:1px solid var(--color-border);background:#fff;flex-direction:column;gap:12px;height:100svh;padding:20px 12px;display:flex;position:sticky;top:0;overflow-y:auto}.app-sidebar>.brand{padding-left:.75rem}.sidebar-navigation{flex-direction:column;gap:0;display:flex}.sidebar-label{color:var(--color-muted);text-transform:uppercase;font-size:var(--text-table-label);letter-spacing:.04em;margin:0;padding:12px 12px 4px;font-weight:700}.sidebar-navigation a{min-height:40px;color:var(--color-muted);font-size:var(--text-body);border-radius:10px;align-items:center;gap:.75rem;padding:8px 12px;font-weight:550;text-decoration:none;display:flex}.sidebar-navigation a:hover{color:var(--color-accent-hover);background:#f3f4f6}.sidebar-navigation a.active{background:var(--color-accent-soft);color:var(--color-link);font-weight:700}.sidebar-footer{font-size:var(--text-caption);color:var(--color-muted);margin:auto 0 0;padding:.75rem}.app-main{flex-direction:column;min-width:0;display:flex}.app-header{border-bottom:1px solid var(--color-border);background:#fff;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;padding:1.25rem 2rem;display:flex}.brand{font-size:var(--text-section-title);color:var(--color-text);letter-spacing:0;font-weight:750;text-decoration:none}.brand-dot{color:var(--color-accent)}.company-logo{aspect-ratio:1;object-fit:contain;border-radius:var(--radius);width:8rem;max-width:100%;height:auto;display:block}.app-sidebar>.company-brand{justify-content:flex-start;align-items:center;gap:10px;padding:0 12px 8px;display:flex}.app-sidebar .company-brand .company-logo{width:32px;height:32px}.company-logo--drawer{width:5.5rem}.company-logo--receipt{width:7rem;margin:0 auto 1rem}main{max-width:64rem;margin:0 auto;padding:clamp(1rem,5vw,4rem)}.app-main>main{flex:1;width:100%;max-width:1600px;padding:24px 32px}.header-context{align-items:center;gap:.75rem;min-width:0;display:flex}.breadcrumb{font-size:var(--text-body);color:var(--color-muted);flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.breadcrumb a{color:var(--color-muted);text-decoration:none}.breadcrumb a:hover{text-decoration:underline}.breadcrumb [aria-current]{color:var(--color-text);font-weight:600}.header-actions{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1.5rem;min-width:0;max-width:100%;margin-left:auto;display:grid}.workspace-footer{color:var(--color-muted);font-size:var(--text-caption);justify-content:space-between;gap:1rem;margin-top:auto;padding:1rem 2rem;display:flex}.placeholder-page{border:1px solid var(--color-border);border-radius:var(--radius);background:#fff;padding:clamp(1.5rem,5vw,3rem)}.eyebrow{color:var(--color-muted);font-size:var(--text-table-label);letter-spacing:.04em;text-transform:uppercase;margin:0;font-weight:600}h1{font-size:var(--text-page-title);letter-spacing:-.5px;margin:.5rem 0 1rem;font-weight:700;line-height:1.3}h2,h3{font-size:var(--text-section-title);letter-spacing:0;font-weight:600;line-height:1.45}p{color:var(--color-muted);font-size:var(--text-caption);line-height:1.55}.skip-link{background:#fff;padding:.75rem;position:absolute;top:-5rem;left:1rem}.skip-link:focus{top:.5rem}.skip-link{z-index:10}.icon{flex-shrink:0;width:1.2rem;height:1.2rem}.icon-button{border:1px solid var(--color-border);color:var(--color-text);background:#fff;border-radius:.5rem;justify-content:center;align-items:center;padding:.7rem;display:inline-flex}.icon-button:hover{background:#f3f4f6}.mobile-navigation-trigger{display:none}.mobile-navigation{width:min(20rem,100% - 2rem);height:100svh;max-height:none;color:var(--color-text);background:#fff;border:0;margin:0;padding:0}.mobile-navigation::backdrop{background:#101e1873}.mobile-navigation-content{min-height:100%;padding:1.5rem}.drawer-header{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:2.5rem;display:flex}.user-menu{min-width:0;position:relative}.user-menu-trigger{color:var(--color-text);font-size:var(--text-body);background:0 0;border:1px solid #0000;border-radius:.6rem;align-items:center;gap:.65rem;padding:.3rem;font-weight:600;display:flex}.user-menu-trigger:hover,.user-menu-trigger[aria-expanded=true]{background:#f3f4f6}.user-menu-name{text-overflow:ellipsis;white-space:nowrap;max-width:10rem;overflow:hidden}.avatar{background:var(--color-accent-soft);width:2.25rem;height:2.25rem;color:var(--color-accent);font-size:var(--text-caption);border-radius:50%;flex-shrink:0;place-items:center;display:grid}.user-menu-panel{z-index:5;border:1px solid var(--color-border);border-radius:var(--radius);overflow-wrap:anywhere;background:#fff;width:min(20rem,100vw - 2rem);padding:1.25rem;position:absolute;top:calc(100% + .75rem);right:0;box-shadow:0 12px 36px #1720331f}.user-menu-panel h2{font-size:var(--text-body);color:var(--color-muted);margin:0 0 1rem;font-weight:600}.profile-name{color:var(--color-text);margin:0;font-weight:700}.profile-details{font-size:var(--text-body);gap:.65rem;margin:1rem 0;display:grid}.profile-details dt{color:var(--color-muted);font-size:var(--text-caption)}.profile-details dd{margin:0}.sign-out-button{color:#8b2020;border:0;border-top:1px solid var(--color-border);text-align:left;width:100%;font-size:var(--text-body);background:#fff;align-items:center;gap:.75rem;padding:.8rem .5rem;font-weight:600;display:flex}.sign-out-button:hover{background:#fff0f0}.branch-picker{gap:.25rem;min-width:0;display:grid}.branch-picker label{color:var(--color-muted);font-size:.7rem;font-weight:600}.branch-picker select{width:100%;max-width:15rem;font-size:var(--text-body);padding:.4rem .6rem}.branch-error{min-width:0;max-width:18rem;font-size:var(--text-body);flex-wrap:wrap;align-items:center;gap:1rem;display:flex}.header-actions>p{max-width:18rem;font-size:var(--text-body);margin:0}.text-link{margin-top:.75rem;font-weight:600;display:inline-block}.offline-notice{text-align:center;color:#614400;background:#fff0cb;padding:.75rem 1rem}.notice,.error-notice{border-radius:.5rem;margin:1rem 0;padding:.85rem 1rem}.notice{background:#f3f4f6}.error-notice{color:#8b2020;overflow-wrap:anywhere;background:#fff0f0;border:1px solid #edbebe}.error-notice p{color:inherit;margin:0}.field-error{font-size:var(--text-body);color:#a02828}.error-page{padding-top:10vh}.route-progress{background:var(--color-accent-soft);color:var(--color-accent);font-size:var(--text-body);margin:0;padding:.5rem 2rem}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.catalog-page{min-width:0}.metric-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:1rem;margin:1.5rem 0;display:grid}.metric-card,.report-catalog article{border:1px solid var(--color-border);border-radius:var(--radius);background:#fff;padding:1.25rem}.metric-card dt{color:var(--color-muted);font-size:var(--text-caption);font-weight:400}.metric-card dd{font-size:clamp(21px, 1.8vw, var(--text-metric));letter-spacing:-.5px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:6px 0 0;font-weight:700;line-height:1.3}.report-catalog{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:1rem;display:grid}.report-catalog h2{margin-top:0}.report-page>h2,.report-page>section{margin-top:2rem}.expense-report .table-scroll table{min-width:48rem}.expense-report .table-scroll th,.expense-report .table-scroll td{overflow-wrap:break-word;min-width:8rem}.sales-summary-report .table-scroll table{min-width:94rem}.sales-summary-report .table-scroll th,.sales-summary-report .table-scroll td{overflow-wrap:break-word;min-width:7rem}.sales-summary-report .table-scroll th:nth-child(4),.sales-summary-report .table-scroll td:nth-child(4){min-width:16rem}.return-line{border-bottom:1px solid var(--border,#e2e8e5);gap:.75rem;padding-block:1rem;display:grid}.return-line p{margin:0}.return-exchange{grid-template-columns:minmax(0,1fr);gap:1.25rem;width:100%;max-width:64rem;display:grid}.return-exchange>*{min-width:0}.return-exchange .operation-form{grid-template-columns:minmax(0,1fr)}.return-exchange .operation-form>*{min-width:0}.return-exchange .table-scroll table{min-width:40rem}.return-exchange .action-row{align-items:end}.phone-condition{border:1px solid var(--color-border);font-size:var(--text-caption);white-space:nowrap;color:var(--color-muted);background:var(--color-page);border-radius:6px;align-items:center;padding:.2rem .6rem;font-weight:600;line-height:1.5;display:inline-flex}.phone-condition--new{color:#285d46;background:#edf6ef;border-color:#cfdfd2}.phone-condition--pre-owned{color:#66532e;background:#faf5e9;border-color:#e7dcc1}.report-filters{margin:1.5rem 0}.dashboard-alerts{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:1rem;padding:0;list-style:none;display:grid}.dashboard-alerts li{overflow-wrap:anywhere;background:#fff;border-left:4px solid #8e6720;border-radius:.5rem;padding:1.25rem}.care-page{grid-template-columns:minmax(0,1fr);gap:1.5rem;display:grid}.care-check{align-items:flex-start;gap:.75rem;margin:1rem 0;display:flex}.care-check input{flex-shrink:0;width:auto}.care-action{border-top:1px solid var(--color-border);margin-top:2rem;padding-top:1.5rem}.stock-options{border:1px solid var(--color-border);border-radius:var(--radius);background:#fff;gap:1rem;min-width:0;margin:1.5rem 0;padding:1.5rem;display:grid}.stock-options legend{font-weight:650}.stock-action-list{gap:1rem;max-width:38rem;display:grid}.stock-page>section>.action-row{margin-top:1.5rem}.stock-page .checkbox-field{align-items:flex-start;gap:.75rem;margin:1rem 0;display:flex}.stock-page .checkbox-field input{width:auto}.operations-page{min-width:0}.device-history{min-width:0;margin-top:2.5rem}.device-history .page-heading h2{margin-top:0}.device-timeline{border-left:2px solid var(--color-accent-light);margin:1.5rem 0 0 .4rem;padding:0 0 0 1.25rem;list-style:none}.device-timeline-event{border:1px solid var(--color-border);border-radius:var(--radius);overflow-wrap:anywhere;background:#fff;margin-bottom:1rem;padding:1.25rem;position:relative}.device-timeline-event:before{content:"";background:var(--color-accent);border:2px solid #f5f7f9;border-radius:50%;width:.7rem;height:.7rem;position:absolute;top:1.5rem;left:-1.65rem}.device-event-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.5rem 1.5rem;display:flex}.device-event-heading h3{margin:0;font-size:1rem}.device-event-date{font-size:var(--text-body);color:var(--color-muted)}.device-event-meta{flex-wrap:wrap;gap:.75rem 2rem;margin:1rem 0 0;display:flex}.device-event-meta>div{min-width:0}.device-event-meta dt{font-size:var(--text-body);color:var(--color-muted);margin-bottom:.25rem}.device-event-meta dd{margin:0}.device-event-description{white-space:pre-wrap;margin-bottom:0}.operations-page .table-scroll table{min-width:44rem}.operations-page .table-scroll th,.operations-page .table-scroll td{white-space:nowrap}.record-lifecycle form select{width:auto;max-width:100%}.customer-section{margin:1.5rem 0}.customer-details{margin-top:1rem}.customer-results{padding:0;list-style:none}.customer-results li{border-bottom:1px solid var(--color-border);overflow-wrap:anywhere;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 0;display:flex}.customer-results li>div{flex:15rem;min-width:0}.customer-modal{border:1px solid var(--color-border);border-radius:var(--radius);width:min(36rem,100% - 2rem);max-height:calc(100dvh - 2rem);padding:1.5rem;overflow-y:auto}.customer-modal::backdrop{background:#0f172a8c}.identifier{overflow-wrap:anywhere;color:var(--color-muted)}.align-start{justify-self:start}.device-lookup{border:1px solid var(--color-border);border-radius:var(--radius);background:#fff;margin:1.5rem 0 2rem;padding:1.5rem}.device-lookup small{color:var(--color-muted)}.checkout-summary{border:1px solid var(--color-accent-light);border-radius:var(--radius);background:var(--color-accent-soft);padding:1.5rem}.checkout-summary dl,.receipt-totals{gap:.75rem;display:grid}.checkout-summary dl>div,.receipt-totals>div{justify-content:space-between;gap:1rem;display:flex}.checkout-summary dd,.receipt-totals dd{white-space:nowrap;margin:0;font-weight:650}.receipt-controls{margin-bottom:2rem}.printable-receipt{border:1px solid var(--color-border);border-radius:var(--radius);overflow-wrap:anywhere;background:#fff;width:100%;max-width:36rem;margin:0 auto;padding:2rem}.printable-receipt header{text-align:center}.printable-receipt h1{font-size:1.75rem}.printable-receipt h2{font-size:1rem}.receipt-number,.receipt-status{color:var(--color-text);font-weight:750}.receipt-items{padding:0;list-style:none}.receipt-items li{break-inside:avoid;border-top:1px dashed #b9c5d1;gap:.3rem;padding:1rem 0;display:grid}.receipt-notes{white-space:pre-wrap}.receipt-totals{border-top:1px solid #b9c5d1;border-bottom:1px solid #b9c5d1;padding:1rem 0}@media print{.company-logo--receipt{break-inside:avoid;width:28mm}body:has(.printable-receipt){color:#000;background:#fff}:is(body:has(.printable-receipt) .app-sidebar,body:has(.printable-receipt) .app-header,body:has(.printable-receipt) .workspace-footer,body:has(.printable-receipt) .skip-link,body:has(.printable-receipt) .receipt-controls,body:has(.printable-receipt) .offline-notice){display:none!important}body:has(.printable-receipt) .app-shell{min-height:0;display:block}body:has(.printable-receipt) .app-main>main{max-width:none;padding:0}.printable-receipt{border:0;border-radius:0;max-width:76mm;padding:0;font-size:10pt}.printable-receipt p{color:#000;font-size:inherit}.receipt-totals{break-inside:avoid}}.notification-indicator{color:var(--color-accent);border:1px solid var(--color-border);border-radius:.5rem;flex-shrink:0;align-items:center;gap:.25rem;padding:.5rem;text-decoration:none;display:inline-flex}.release-id{overflow-wrap:anywhere}.header-actions:has(.notification-indicator){grid-template-columns:minmax(0,1fr) auto auto}.activity-list{gap:1rem;padding:0;list-style:none;display:grid}.activity-card{border:1px solid var(--color-border);border-radius:var(--radius);overflow-wrap:anywhere;background:#fff;padding:1.25rem}.activity-card.is-unread{border-left:4px solid var(--color-accent)}.activity-card h2{font-size:var(--text-section-title);margin-top:1rem}.activity-text,.audit-details dd{white-space:pre-wrap;overflow-wrap:anywhere}.audit-filters{grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:1rem;margin-bottom:1.5rem;display:grid}.audit-filters .action-row,.audit-filters .error-notice{grid-column:1/-1}.audit-details{min-width:15rem}.audit-details dt{margin-top:.75rem;font-weight:600}.audit-details dd{margin-left:0}.activity-page summary{cursor:pointer}.activity-page table{min-width:60rem}.activity-page .table-scroll{position:relative}.activity-page th,.activity-page td{vertical-align:top}.check-field{align-items:start;gap:.75rem;display:flex}.check-field input{flex-shrink:0;width:1.1rem;height:1.1rem;margin-top:.2rem}.assignment-list{margin:0 0 1.5rem;padding:0;list-style:none}.assignment-list li{border-bottom:1px solid var(--color-border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 0;display:flex}.assignment-list li>span{overflow-wrap:anywhere}.page-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1.5rem;margin:1.5rem 0 2rem;display:flex}.page-heading h1{font-size:var(--text-page-title);overflow-wrap:anywhere}.page-heading p{margin-block:4px 0}a.button-primary,a.button-secondary{text-align:center;text-decoration:none;display:inline-block}.action-row{flex-wrap:wrap;align-items:center;gap:1rem;display:flex}.catalog-toolbar{flex-wrap:wrap;align-items:end;gap:1rem;margin-bottom:1.5rem;display:flex}.catalog-toolbar .form-field:first-child{flex:1;min-width:min(100%,15rem)}.catalog-toolbar .form-field:nth-child(2){min-width:10rem}.table-scroll{border:1px solid var(--color-border);border-radius:var(--radius);background:#fff;overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:var(--text-caption);text-align:left;line-height:1.5}thead{background:#f3f4f6}th,td{overflow-wrap:anywhere;border-bottom:1px solid #e5eaf0;max-width:25rem;padding:1rem 1.25rem}thead th{font-size:var(--text-table-label);color:var(--color-muted);font-weight:500}tbody th{font-weight:500}td{font-variant-numeric:tabular-nums}tbody tr:last-child>*{border-bottom:0}.record-status{color:var(--color-muted);font-size:var(--text-caption);white-space:nowrap;background:#f3f4f6;border-radius:1rem;padding:.2rem .6rem;font-weight:600;display:inline-block}.record-status.is-active{background:var(--color-accent-soft);color:var(--color-link)}.catalog-pagination{font-size:var(--text-body);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-top:1rem;display:flex}.empty-state{border-radius:var(--radius);text-align:center;background:#fff;border:1px dashed #bcc9d4;padding:3rem 1.5rem}.empty-state h2{font-size:var(--text-section-title)}.record-details{border:1px solid var(--color-border);border-radius:var(--radius);background:#fff;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem;margin:0;padding:2rem;display:grid}.record-details dt{font-size:var(--text-body);color:var(--color-muted);margin-bottom:.35rem}.record-details dd{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.record-lifecycle{border-top:1px solid var(--color-border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-top:1.5rem;padding:1.5rem 0;display:flex}.record-lifecycle h2{margin-bottom:.4rem;font-size:1rem}.record-lifecycle p{font-size:var(--text-body);margin-top:0}.error-notice button{margin-top:.75rem}@media (width<=960px){.app-shell{grid-template-columns:minmax(0,1fr)}.app-sidebar{display:none}.mobile-navigation-trigger{display:inline-flex}.app-header{padding:1rem}}@media (width<=720px){.record-details{grid-template-columns:minmax(0,1fr)}.header-actions{gap:1rem;width:100%}.user-menu-name{max-width:7rem}.branch-picker{max-width:100%}.workspace-footer{padding:1rem 1.25rem}}@media (width<=420px){.user-menu-name{display:none}}@media (width<=1250px){.app-main>main{padding:24px}}@media (width<=600px){.app-main>main{padding:20px 16px}h1,.page-heading h1,.metric-card dd{font-size:23px}}.app-main>main:has(.form-page){align-content:center;display:grid}.form-page{width:min(100%,56rem);min-width:0;margin-inline:auto}.form-page--compact{max-width:42rem}.form-page>a:first-child{font-size:var(--text-caption)}.form-page>.page-heading{margin-block:var(--space-5) var(--space-6)}.form-page>h1{margin-top:var(--space-5)}.login-shell{width:100%;max-width:none;min-height:100svh;padding:var(--space-6) var(--space-4);background:var(--color-page);place-items:center;margin:0;display:grid}.login-panel{width:min(100%,28rem);min-width:0}.login-card{border:1px solid var(--color-border);border-radius:var(--radius);background:var(--color-surface);padding:clamp(1.5rem,4vw,2.5rem);box-shadow:0 4px 20px #1e293b08}.login-heading{gap:var(--space-2);margin-bottom:var(--space-6);display:grid}.login-heading .company-logo--login{width:9rem;margin-bottom:var(--space-4);justify-self:center}.login-heading h1{font-size:var(--text-page-title);margin:0}.login-heading p{margin:0}.login-card form{gap:var(--space-5);display:grid}.login-card form>button{width:100%}.login-help{margin:var(--space-5) 0 0;font-size:var(--text-caption)}.form-field{align-content:start;gap:var(--space-2);grid-template-columns:minmax(0,1fr);min-width:0;display:grid}.email-settings{max-width:58rem}.giftbox-add-accessory{align-items:end;gap:var(--space-3);margin-block:var(--space-4);flex-wrap:wrap;display:flex}.giftbox-add-accessory .form-field{flex:18rem}.giftbox-item{align-items:end;gap:var(--space-4);padding-block:var(--space-4);border-bottom:1px solid var(--color-border);flex-wrap:wrap;display:flex}.giftbox-item>div:first-child{overflow-wrap:anywhere;flex:13rem;min-width:0}.giftbox-item small{color:var(--color-muted);display:block}.giftbox-item .form-field{flex:10rem}.giftbox-offer{padding:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius)}.giftbox-offer h2{margin-top:0}.giftbox-fulfillment,.giftbox-collection{margin-block:var(--space-5)}.giftbox-sku{color:var(--color-muted);font-weight:400;display:block}.giftbox-fulfillment li{overflow-wrap:anywhere}.sales-page .giftbox-fulfillment .table-scroll table{table-layout:fixed;min-width:0}.sales-page .giftbox-fulfillment .table-scroll th,.sales-page .giftbox-fulfillment .table-scroll td{white-space:normal;padding:.75rem .5rem}.giftbox-fulfillment th:first-child{width:44%}@media (width<=40rem){.giftbox-fulfillment table{font-size:.75rem}.giftbox-fulfillment th:first-child{width:40%}}.email-delivery-status{padding:var(--space-5);margin-bottom:var(--space-5);border:1px solid var(--color-border);border-radius:var(--radius);background:var(--color-surface)}.email-delivery-status h2{margin-top:0;font-size:1rem}.email-delivery-counts{gap:var(--space-4);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.email-delivery-counts dt{font-size:var(--text-caption);color:var(--color-muted)}.email-delivery-counts dd{font-weight:600;font-size:var(--text-section-title);margin:.25rem 0 0}.email-add-recipient{align-items:end;gap:var(--space-3);margin-block:var(--space-4);flex-wrap:wrap;display:flex}.email-add-recipient .form-field{flex:18rem}.email-recipient{margin-top:var(--space-5);min-width:0;padding:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius)}.email-recipient-heading{justify-content:space-between;align-items:start;gap:var(--space-3);margin-bottom:var(--space-4);flex-wrap:wrap;display:flex}.email-recipient-heading>div{flex:12rem;min-width:0}.email-address{overflow-wrap:anywhere;margin:0}.email-check,.email-process{align-items:start;gap:var(--space-3);display:flex}.email-check input,.email-process input{margin-top:.2rem}.email-processes{gap:var(--space-4);margin-top:var(--space-5);display:grid}.email-process span{min-width:0}.email-process strong{font-size:var(--text-caption);display:block}.email-process small{color:var(--color-muted);line-height:1.6;display:block}@media (width<=30rem){.email-delivery-counts{grid-template-columns:1fr}.email-add-recipient>button{width:100%}}.form-field label{font-size:var(--text-caption);font-weight:500;line-height:1.5}.operation-form>fieldset>label:not(:has(input[type=checkbox])){font-size:var(--text-caption);font-weight:500;line-height:1.5}input:not([type=checkbox],[type=radio],[type=hidden]),select,textarea{width:100%;min-width:0;min-height:3.125rem;padding:var(--space-3) var(--space-4);border:1px solid var(--color-control-border);border-radius:var(--radius);background:var(--color-surface);color:var(--color-text);font-size:var(--text-body);line-height:1.5;transition:border-color .14s,box-shadow .14s}select{padding-right:var(--space-6)}textarea{resize:vertical;min-height:7rem}input::placeholder,textarea::placeholder{color:var(--color-muted);opacity:1}input[readonly],textarea[readonly],select:disabled{background:#f3f4f6}input:not([type=checkbox],[type=radio],[type=hidden]):focus,select:focus,textarea:focus{border-color:var(--color-accent);box-shadow:0 0 0 3px var(--color-focus);outline:none}:is(input,select,textarea)[aria-invalid=true]{border-color:var(--color-error)}:is(input,select,textarea)[aria-invalid=true]:focus{border-color:var(--color-error);box-shadow:0 0 0 3px #b4231826}.field-error{color:var(--color-error);font-size:var(--text-caption);line-height:1.5}.validation-summary{scroll-margin-block:1.5rem}.validation-summary a{color:inherit;text-underline-offset:.2em}.device-next-step h2{margin-block:0 .5rem;font-size:1rem}[id=receiving-inspection]{scroll-margin-top:1.5rem}.inspection-selection{overflow-wrap:anywhere;scroll-margin-block:1.5rem}.inspection-selection>small{color:var(--color-muted)}.receipt-inspection-table .inspection-row-action{white-space:normal;background:var(--color-surface);border-left:1px solid var(--color-border);min-width:11rem;position:sticky;right:0}.receipt-inspection-table thead .inspection-row-action{background:#f3f4f6}.inspection-row-action>.record-status{margin-bottom:.35rem}.inspection-row-action button{align-items:center;gap:.5rem;display:flex}.inspection-date{color:var(--color-muted);margin-top:.3rem;font-size:.75rem;display:block}.record-status.inspection-failed{color:#8b341a;background:#fff1e6}.form-field>:is(small,p){font-size:var(--text-caption);margin:0;line-height:1.5}input:is([type=checkbox],[type=radio]){width:1.125rem;height:1.125rem;min-height:0;accent-color:var(--color-accent);flex-shrink:0;padding:0}.catalog-form{align-items:start;gap:var(--space-5);width:100%;padding:var(--form-padding);border:1px solid var(--color-border);border-radius:var(--radius);background:var(--color-surface);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.catalog-form .full-width{grid-column:1/-1}.catalog-form small{color:var(--color-muted)}.operation-form{gap:var(--space-5);min-width:0;display:grid}.operation-form fieldset,.stock-options{gap:var(--space-5);min-width:0;padding:var(--form-padding);border:1px solid var(--color-border);border-radius:var(--radius);background:var(--color-surface);margin:0;display:grid}.operation-form legend,.stock-options legend{font-size:var(--text-caption);padding:0;font-weight:650}.operation-form fieldset>button{justify-self:start}.operation-grid{align-items:start;gap:var(--space-5);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.operation-form>.action-row{padding-inline:var(--form-padding)}.operation-form>.align-start{margin-inline-start:var(--form-padding)}.operation-form>:is(h2,p){margin:0 var(--form-padding)}.purchase-order-lines{min-width:0}.purchase-order-lines h2{margin:0 0 var(--space-2);font-size:var(--text-section-title)}.purchase-order-lines>p{margin:0 0 var(--space-4);color:var(--color-muted)}.purchase-order-lines .table-scroll table{min-width:44rem}.purchase-order-lines .table-scroll th,.purchase-order-lines .table-scroll td{white-space:normal;padding:.875rem .75rem}.purchase-order-lines .table-scroll th{overflow-wrap:normal}.purchase-order-lines .order-line-actions{background:var(--color-surface);border-left:1px solid var(--color-border);min-width:7.5rem;position:sticky;right:0}.purchase-order-lines thead .order-line-actions{background:#f3f4f6}.purchase-order-lines .order-line-actions .action-row{gap:var(--space-2);flex-wrap:nowrap}.purchase-order-lines .order-line-actions button{white-space:nowrap;flex-shrink:0}.purchase-order-lines .order-line-actions .icon-button{width:2.75rem;min-height:2.75rem;padding:.625rem}.purchase-order-lines .order-line-remove{color:var(--color-error)}.purchase-order-lines .is-editing>*{background-color:var(--color-accent-soft)}.entry-table{min-width:0}.entry-table h2{margin:0 0 var(--space-2);font-size:var(--text-section-title)}.entry-table>p{margin:0 0 var(--space-4);color:var(--color-muted)}.receipt-entry-table .table-scroll table{min-width:56rem}.entry-table .table-scroll th,.entry-table .table-scroll td{white-space:normal;padding:.875rem .75rem}.entry-table .table-scroll th{overflow-wrap:normal}.receipt-entry-table .table-scroll .receipt-identifier{white-space:nowrap;overflow-wrap:normal}.entry-table .entry-table-actions{background:var(--color-surface);border-left:1px solid var(--color-border);min-width:7.5rem;position:sticky;right:0}.entry-table thead .entry-table-actions{background:#f3f4f6}.entry-table-actions .action-row{gap:var(--space-2);flex-wrap:nowrap}.entry-table-actions .icon-button{flex-shrink:0;width:2.75rem;min-height:2.75rem;padding:.625rem}.entry-table .entry-table-remove{color:var(--color-error)}.entry-table .is-editing>*{background-color:var(--color-accent-soft)}.record-lifecycle:has(form){grid-template-columns:minmax(0,1fr);display:grid}.record-lifecycle form select{width:100%}.stock-options{margin-block:var(--space-5)}.settings-form{max-width:42rem}.settings-form>.align-start{margin-inline:0}.main-repair-settings{margin-top:var(--space-6)}.button-primary,.button-secondary,button:not([class]){min-height:3.125rem;padding:var(--space-3) var(--space-4);border-radius:var(--radius);border:1px solid #0000;font-weight:600;line-height:1.5;transition:background-color .14s,border-color .14s,box-shadow .14s}.button-primary{color:#fff;background:var(--color-accent)}.button-primary:hover:not(:disabled){background:var(--color-accent-hover)}.button-primary:active:not(:disabled){background:var(--color-accent-active);box-shadow:inset 0 2px 4px #0000001f}.button-secondary,button:not([class]){color:var(--color-text);background:var(--color-surface);border-color:var(--color-control-border);font-weight:500}.button-secondary:hover:not(:disabled),button:not([class]):hover:not(:disabled){background:var(--color-accent-hover-surface);border-color:var(--color-accent)}.button-secondary:active:not(:disabled),button:not([class]):active:not(:disabled){background:var(--color-accent-soft)}a.button-primary,a.button-secondary{justify-content:center;align-items:center;display:inline-flex}:is(button,a):focus-visible{outline:2px solid var(--color-accent);outline-offset:4px}.action-row,.catalog-toolbar{gap:var(--space-4)}.branch-picker select{min-height:2.5rem}@media (width<=720px){.catalog-form,.operation-grid{grid-template-columns:minmax(0,1fr)}.catalog-toolbar{align-items:stretch}.catalog-toolbar>.form-field{flex-basis:100%}.catalog-toolbar>button{flex:auto}}@media (width<=480px){.login-shell{padding:var(--space-5) var(--space-4)}.catalog-form>.action-row,.operation-form>.action-row,.operation-form fieldset>.action-row{grid-template-columns:minmax(0,1fr);display:grid}.operation-form>.align-start{margin-inline:var(--form-padding);justify-self:stretch}.settings-form>.align-start{margin-inline:0}}@media (prefers-reduced-motion:reduce){input,select,textarea,.button-primary,.button-secondary,button:not([class]){transition:none}}@media (forced-colors:active){input:focus,select:focus,textarea:focus,button:focus-visible{outline-offset:3px;outline:2px solid highlight}}.navigation-group{gap:0;margin-bottom:6px;display:grid}.navigation-group .sidebar-label{font-size:var(--text-table-label);margin:0}.workspace-home{gap:2rem;display:grid}.workspace-actions{grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr));gap:1rem;display:grid}.workspace-action,.workspace-queue a{color:var(--color-text);border:1px solid var(--color-border);background:#fff;border-radius:8px;gap:.5rem;padding:1.25rem;text-decoration:none;display:grid}.workspace-action:hover,.workspace-queue a:hover{border-color:var(--color-accent);background:var(--color-accent-hover-surface)}.workspace-action strong{font-size:var(--text-section-title);color:var(--color-link)}.workspace-action span,.workspace-queue span{color:var(--color-muted);font-size:var(--text-caption)}.workspace-queue{grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));gap:1rem;display:grid}.workspace-queue strong{font-size:1.75rem}.receipt-progress{grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin:1.5rem 0;display:grid}.receipt-progress>div{border:1px solid var(--color-border);background:#fff;border-radius:8px;padding:.9rem 1rem}.receipt-progress dt{color:var(--color-muted);font-size:var(--text-caption)}.receipt-progress dd{margin:.25rem 0 0;font-size:1.4rem;font-weight:700}.optional-fields summary{color:var(--color-accent);cursor:pointer;padding:.5rem 0}.optional-fields[open] .operation-grid{margin-top:.75rem}.record-admin-details{margin-block:1rem}.record-admin-details .record-details{margin-top:.75rem}.workflow-steps{grid-template-columns:repeat(5,minmax(0,1fr));gap:.75rem;margin:1.5rem 0;padding:0;list-style:none;display:grid}.workflow-steps li{font-size:var(--text-caption);color:var(--color-muted);border-top:3px solid var(--color-border);align-content:start;gap:.5rem;padding-top:.75rem;display:grid}.workflow-steps li span{background:#f3f4f6;border-radius:50%;place-items:center;width:1.75rem;height:1.75rem;font-weight:700;display:grid}.workflow-steps li[aria-current=step]{color:var(--color-accent);border-color:var(--color-accent);font-weight:700}.workflow-steps .is-complete{color:var(--color-accent)}.inventory-cards{display:none}.inventory-card{border:1px solid var(--color-border);background:#fff;border-radius:8px;gap:1rem;min-width:0;padding:1.25rem;display:grid}.inventory-card h2{font-size:var(--text-section-title);margin:0}.inventory-card p{margin:.25rem 0 0}.inventory-card dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:0;display:grid}.inventory-card dt{color:var(--color-muted);font-size:var(--text-caption)}.inventory-card dd{margin:.25rem 0 0}.pos-page.form-page{overflow-wrap:anywhere;grid-template-columns:minmax(0,1fr) 21rem;align-items:start;gap:1.5rem;width:min(100%,76rem);display:grid}.pos-page>*{grid-column:1;min-width:0}.pos-page>.page-heading{grid-column:1/-1;margin:0}.checkout-workflow,.checkout-entry{gap:1.5rem;min-width:0;display:grid}.checkout-entry>:is(h2,p){margin-block:0}.pos-page>.checkout-panel{grid-area:2/2;gap:1rem;display:grid;position:sticky;top:1rem}.checkout-panel .checkout-summary{margin:0}.checkout-panel .action-row{text-align:center;grid-template-columns:minmax(0,1fr);display:grid}.report-presets{flex-wrap:wrap;gap:.5rem;margin-block:1rem;display:flex}@media (width<=1100px){.pos-page.form-page{grid-template-columns:minmax(0,1fr) 18rem}}@media (width<=720px){.workflow-steps{grid-template-columns:minmax(0,1fr);gap:.5rem}.workflow-steps li{border-top:0;border-left:3px solid var(--color-border);align-items:center;padding:.4rem .75rem;display:flex}.receipt-progress{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.inventory-table{display:none}.inventory-cards{gap:1rem;display:grid}.pos-page.form-page{grid-template-columns:minmax(0,1fr);padding-bottom:11rem;display:grid}.pos-page>.checkout-panel{z-index:15;padding:.75rem 1rem max(.75rem, env(safe-area-inset-bottom));border-top:1px solid var(--color-control-border);background:#fff;grid-area:auto;grid-template-columns:minmax(0,1fr) auto;gap:1rem;display:grid;position:fixed;inset:auto 0 0;box-shadow:0 -4px 16px #1e293b0f}.checkout-panel .checkout-summary{background:0 0;border:0;padding:0}.checkout-panel .checkout-summary :is(h2,p){display:none}.checkout-panel .checkout-summary dl{grid-template-columns:minmax(0,1fr);gap:.35rem;margin:0;display:grid}.checkout-panel .checkout-summary dl>div{justify-content:space-between;align-items:baseline;gap:.5rem;display:flex}.checkout-panel .checkout-summary dl>div:nth-child(2){display:none}.checkout-panel .checkout-summary dt{font-size:.75rem}.checkout-panel .checkout-summary dd{margin:0;font-size:1rem}.checkout-panel .action-row{align-content:center;margin:0}.checkout-panel .action-row>a{display:none}html:has(.pos-page){scroll-padding-bottom:11rem}}@media (height<=500px){.pos-page>.checkout-panel{position:static}}.accessory-picker .table-scroll table{min-width:36rem}.stock-device-heading,.transfer-device-modal-heading,.transfer-device-selection,.transfer-device-modal-footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.stock-device-heading{margin-block:1.5rem 1rem}.stock-device-heading h2,.transfer-device-modal-heading h2{margin:0}.transfer-device-modal{border:1px solid var(--color-border);border-radius:var(--radius);width:min(52rem,100% - 2rem);max-height:calc(100dvh - 2rem);color:var(--color-text);background:var(--color-surface);padding:1.5rem;overflow-y:auto}.transfer-device-modal::backdrop{background:#0f172a8c}.transfer-device-selection{margin-block:1rem}.transfer-device-selection .action-row{margin:0}.transfer-device-list{max-height:45dvh;overflow-y:auto}.stock-page .transfer-device-list table{min-width:0}.stock-page .transfer-device-list :is(th,td){white-space:normal;padding:.875rem .75rem}.transfer-device-list thead{z-index:1;position:sticky;top:0}.transfer-device-list input[type=checkbox]{vertical-align:middle;width:1.1rem;height:1.1rem}.transfer-device-list small{color:var(--color-muted);display:block}.transfer-device-list tr[data-disabled=false]{cursor:pointer}.transfer-device-list tbody tr:hover{background:var(--color-accent-hover-surface)}.transfer-device-list tr[data-selected=true]{background:var(--color-accent-soft)}.transfer-device-modal-footer{border-top:1px solid var(--color-border);background:var(--color-surface);margin-top:1rem;padding-block:1rem;position:sticky;bottom:-1.5rem}@media (width<=640px){.transfer-device-modal{padding:1rem}.transfer-device-modal-footer{bottom:-1rem}}.inventory-page,.inventory-overview{min-width:0}.po-assist-notice{background:var(--color-surface);border:1px solid var(--color-border)}.po-assist-breakdown>summary{color:var(--color-link)}.po-assist-breakdown table{min-width:42rem}.inventory-section{border:1px solid var(--color-border);background:var(--color-surface);border-radius:10px;min-width:0;margin-block:1rem}.inventory-section>summary{cursor:pointer;color:var(--color-text);padding:1rem 1.25rem}.inventory-section>summary::marker{color:var(--color-accent)}.inventory-section>summary:hover{background:var(--color-page);border-radius:10px}.inventory-section>summary:focus-visible{outline:2px solid var(--color-accent);outline-offset:3px;border-radius:10px}.inventory-section>summary :is(h2,h3){font-size:var(--text-section-title);margin:0;font-weight:600;line-height:1.45;display:inline}.inventory-section-description{font-size:var(--text-caption);color:var(--color-muted);margin:.25rem 0 0 1.15rem;display:block}.inventory-section[open]>summary{border-bottom:1px solid var(--color-border)}.inventory-section-content{min-width:0;padding:1.25rem}.inventory-section .inventory-section{margin-bottom:0}.overview-filters{grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr));align-items:end;gap:1rem;display:grid}.overview-filters .action-row{grid-column:1/-1}.overview-low{align-self:center;margin:0}.inventory-overview table{min-width:45rem}.inventory-overview [aria-label="Stock by branch and variant"] table{min-width:65rem}@media (width<=640px){.inventory-section>summary,.inventory-section-content{padding:1rem}.inventory-section .inventory-section-content{padding:.75rem}}.stock-alert{color:#285d46;font-size:var(--text-caption);background:#edf6ef;border-radius:6px;padding:.25rem .55rem;font-weight:600;display:inline-block}.stock-alert--low{color:#8b341a;background:#fff1e6}.stock-variant{color:var(--color-muted);display:block}.device-tags{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.product-photo{object-fit:contain;border:1px solid var(--color-border);background:#fff;border-radius:8px;width:min(100%,24rem);max-height:24rem;margin-block:1rem;display:block}.product-photo--thumbnail{width:6rem;height:6rem;margin-block:.5rem}.photo-upload{gap:.75rem;min-width:0;display:grid}.photo-upload input[type=file]{max-width:100%}.accessory-picker{min-width:0}.product-photo-dialog{border:1px solid var(--color-border);border-radius:10px;width:min(90vw,42rem);max-height:90vh;padding:1.5rem;overflow:auto}.product-photo-dialog::backdrop{background:#0f172a8c}.product-photo-dialog .product-photo{width:100%;max-height:65vh}.product-photo-dialog h2{font-size:var(--text-section-title);overflow-wrap:anywhere}.back-job-shipment-queue{min-width:0;margin-top:1.5rem}.back-job-shipment-queue table{min-width:44rem}.back-job-shipment-queue input[type=checkbox]{width:1.15rem;height:1.15rem;accent-color:var(--color-accent)}.shipment-selection{gap:.5rem;padding:0;list-style:none;display:grid}.shipment-selection li{overflow-wrap:anywhere;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;display:flex}.rent-to-own-summary{margin-block:1.5rem}.rent-to-own-monitoring .record-details{grid-template-columns:repeat(3,minmax(0,1fr))}@media (width<=640px){.rent-to-own-monitoring .record-details{grid-template-columns:minmax(0,1fr)}}.rent-to-own-summary .table-scroll table{min-width:38rem}@media print{.rent-to-own-summary .record-details{border:0;padding:0;display:block}.rent-to-own-summary .record-details>div{justify-content:space-between;gap:.5rem;margin-block:.25rem;display:flex}.rent-to-own-summary .table-scroll table{min-width:0;font-size:9px}.rent-to-own-summary th,.rent-to-own-summary td{overflow-wrap:anywhere;padding:.2rem}}.device-repair-badge{border:1px solid var(--color-accent-light);color:var(--color-link);background:var(--color-accent-soft);font-size:var(--text-caption);white-space:nowrap;border-radius:6px;align-items:center;padding:.2rem .6rem;font-weight:650;line-height:1.5;display:inline-flex}@media (width<=360px){.pos-page.form-page{padding-bottom:0}.pos-page>.checkout-panel{grid-template-columns:minmax(0,1fr);position:static}.checkout-panel .checkout-summary dl>div{gap:.2rem;display:grid}.checkout-panel .checkout-summary dd{white-space:normal;overflow-wrap:anywhere}.pos-page :is(button,legend){overflow-wrap:anywhere;max-width:100%}}
