:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#1f2a2e;background:#f4f7f6;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0}button:disabled{cursor:wait;opacity:.72}.auth-shell,.app-shell,.loading-screen{place-items:center;min-height:100vh;padding:24px;display:grid}.app-shell{align-items:start;padding-top:48px}.app-shell.compact{align-items:center;padding-top:24px}.login-panel,.panel{background:#fff;border:1px solid #dce5e1;border-radius:8px;width:min(100%,440px);padding:28px;box-shadow:0 18px 45px #23302b1f}.panel{width:min(100%,860px)}.eyebrow{color:#5d756b;text-transform:uppercase;margin:0 0 8px;font-size:13px;font-weight:700}h1,h2{letter-spacing:0;margin:0}h1{font-size:28px;line-height:1.2}h2{font-size:18px}.login-form{gap:16px;margin-top:28px;display:grid}label{color:#344640;gap:8px;font-size:14px;font-weight:700;display:grid}.field-help{color:#60776d;font-size:12px;font-weight:600}.module-section-label{background:#f2f8f6;border:1px solid #d7e2dd;border-radius:8px;align-items:center;gap:10px;margin-top:4px;padding:10px 12px;display:flex}.module-section-label span{color:#1f6d56;background:#dff3ea;border-radius:999px;align-items:center;min-height:24px;padding:0 9px;font-size:12px;font-weight:800;display:inline-flex}.module-section-label strong{color:#24443a;font-size:14px}input,select,textarea{color:#1f2a2e;background:#fbfdfc;border:1px solid #c9d6d1;border-radius:6px;width:100%;padding:12px 13px}input:focus,select:focus,textarea:focus{border-color:#2f7d68;outline:3px solid #2f7d6824}textarea{resize:vertical;min-height:84px}button{transition:background .16s,border-color .16s,color .16s,transform .16s}button:not(:disabled):hover{transform:translateY(-1px)}.login-form button,.secondary{color:#fff;background:#235d4d;border-radius:6px;min-height:42px;padding:0 16px;font-weight:800}.secondary{color:#1f2a2e;background:#e7eeee}.error-box{color:#9d2424;background:#fff3f3;border:1px solid #efb8b8;border-radius:6px;padding:9px 11px;font-size:13px}.panel-header{justify-content:space-between;align-items:center;gap:18px;margin-bottom:26px;display:flex}.summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.summary-item{background:#fbfdfc;border:1px solid #dce5e1;border-radius:8px;padding:16px}.summary-item span{color:#60776d;margin-bottom:8px;font-size:13px;display:block}.summary-item strong{font-size:18px}.module-section{margin-top:28px}.module-list{flex-wrap:wrap;gap:10px;margin-top:14px;display:flex}.module-chip{color:#235d4d;background:#e6f2ee;border-radius:999px;padding:8px 11px;font-size:13px;font-weight:800}.company-list{gap:10px;display:grid}.company-row{color:#1f2a2e;text-align:left;background:#fbfdfc;border:1px solid #dce5e1;border-radius:8px;justify-content:space-between;align-items:center;gap:14px;width:100%;padding:14px 16px;display:flex}.company-row small{color:#60776d;margin-top:3px;display:block}.muted{color:#60776d}.dashboard-layout{background:#edf3f1;grid-template-columns:264px minmax(0,1fr);min-height:100vh;display:grid}.mobile-menu-backdrop{display:none}.dashboard-layout.sidebar-collapsed{grid-template-columns:82px minmax(0,1fr)}.sidebar{background:linear-gradient(#fff 0%,#f8fbfa 100%);border-right:1px solid #d7e2dd;min-height:100vh;padding:20px 14px;transition:padding .18s}.sidebar-collapsed .sidebar{padding:16px 10px}.brand-block{background:#fff;border:1px solid #d7e2dd;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;margin-bottom:22px;padding:14px;display:flex;box-shadow:0 8px 20px #23302b0f}.brand-block strong{color:#173d34;font-size:18px;line-height:1.1}.brand-block span{color:#60776d;margin-top:4px;font-size:13px;display:block}.sidebar-toggle{color:#235d4d;background:#f8fbfa;border:1px solid #d7e2dd;border-radius:6px;flex:0 0 30px;place-items:center;width:30px;min-height:30px;display:inline-grid}.sidebar-toggle svg{width:18px;height:18px}.sidebar-collapsed .brand-block{text-align:center;justify-items:center;padding:8px 6px;display:grid}.sidebar-collapsed .brand-block strong{font-size:14px}.nav-list{gap:6px;display:grid}.nav-item{color:#2f433d;text-align:left;background:0 0;border:1px solid #0000;border-radius:7px;justify-content:space-between;align-items:center;width:100%;min-height:40px;padding:0 11px;font-weight:800;display:flex}.nav-label{align-items:center;gap:10px;min-width:0;display:inline-flex}.nav-icon{color:#235d4d;background:#eef5f2;border-radius:6px;place-items:center;width:22px;height:22px;line-height:1;display:inline-grid}.nav-svg{width:16px;height:16px}.sidebar-collapsed .nav-item{text-align:center;justify-content:center;min-height:42px;padding:0}.sidebar-collapsed .nav-label{justify-content:center}.sidebar-collapsed .nav-icon{width:30px;height:30px}.sidebar-collapsed .nav-svg{width:18px;height:18px}.sidebar-collapsed .nav-item.active{box-shadow:inset 0 -3px #2f7d68}.sidebar-collapsed .nav-item small{display:none}.nav-item.active{color:#235d4d;background:#e4f3ee;border-color:#b6d6cb;box-shadow:inset 3px 0 #2f7d68}.nav-item:disabled{color:#9aacaa;cursor:not-allowed}.nav-item small{color:#71847d;background:#f6f9f8;border:1px solid #dde7e3;border-radius:999px;padding:2px 6px;font-size:10px;font-weight:800}.dashboard-main{min-width:0}.topbar{z-index:5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff0;border-bottom:1px solid #d7e2dd;justify-content:space-between;align-items:center;gap:18px;min-height:64px;padding:0 26px;display:flex;position:sticky;top:0}.topbar-company{align-items:center;gap:12px;min-width:0;display:flex}.topbar-company>div{min-width:0}.topbar-company>div>span{color:#60776d;font-size:12px;display:block}.topbar-company strong{color:#1f2a2e;text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.mobile-menu-button{color:#173d34;background:#f8fbfa;border:1px solid #d7e2dd;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:42px;min-height:42px;display:none}.mobile-menu-button span{background:currentColor;border-radius:999px;width:18px;height:2px;display:block}.topbar>div:first-child>span{color:#60776d;margin-bottom:3px;font-size:12px;display:block}.topbar-actions{align-items:center;gap:12px;display:flex}.user-pill,.user-menu-trigger{background:#fbfdfc;border:1px solid #d7e2dd;border-radius:999px;padding:8px 12px;font-size:14px;font-weight:800}.user-menu{z-index:30;position:relative}.user-menu-trigger{z-index:32;color:#173d34;align-items:center;gap:9px;min-height:44px;display:flex;position:relative}.user-avatar{color:#fff;background:#0f725c;border-radius:999px;place-items:center;width:30px;height:30px;font-size:14px;font-weight:900;display:inline-grid}.user-menu-name{text-overflow:ellipsis;white-space:nowrap;max-width:180px;overflow:hidden}.user-menu-chevron{border-bottom:2px solid #60776d;border-right:2px solid #60776d;width:8px;height:8px;transition:transform .16s;display:inline-block;transform:rotate(45deg)translateY(-2px)}.user-menu-trigger[aria-expanded=true] .user-menu-chevron{transform:rotate(225deg)translateY(-1px)}.user-dropdown{z-index:32;background:#fff;border:1px solid #d7e2dd;border-radius:8px;gap:4px;width:230px;padding:8px;display:grid;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 18px 44px #162d262e}.user-dropdown-header{border-bottom:1px solid #eef3f1;gap:2px;padding:8px 8px 10px;display:grid}.user-dropdown-header strong,.user-dropdown-header span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.user-dropdown-header strong{color:#173d34;font-size:14px}.user-dropdown-header span{color:#60776d;font-size:12px;font-weight:800}.user-dropdown button{color:#1f2a2e;text-align:left;background:0 0;border:0;border-radius:6px;width:100%;min-height:38px;padding:0 10px;font-weight:900}.user-dropdown button:hover{background:#eef8f4;transform:none}.dropdown-message{border-radius:6px;padding:8px 10px;font-size:12px;font-weight:900;line-height:1.35}.dropdown-message.error{color:#a8122a;background:#fde8ec}.dropdown-message.success{color:#006b52;background:#d9f7ea}.user-dropdown .danger-menu-item{color:#a8122a}.content-wrap{padding:18px 24px 32px}.page-section{gap:12px;display:grid}.page-header{gap:3px;display:grid}.page-description{color:#60776d;max-width:720px;margin:0;font-size:14px;line-height:1.4}.toast-viewport{z-index:1200;pointer-events:none;gap:10px;width:min(420px,100vw - 32px);display:grid;position:fixed;top:76px;right:24px}.toast-card{color:#173d34;pointer-events:auto;background:#fffffffa;border:1px solid #cfe1da;border-left:5px solid #2f7d68;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;padding:12px 12px 12px 14px;display:grid;box-shadow:0 16px 34px #23302b24}.toast-card strong{margin-bottom:2px;font-size:13px;font-weight:900;display:block}.toast-card p{color:#344640;margin:0;font-size:13px;line-height:1.35}.toast-card button{color:#235d4d;background:#edf5f2;border-radius:999px;place-items:center;width:28px;height:28px;font-size:18px;font-weight:900;line-height:1;display:inline-grid}.toast-success{border-left-color:#0f725c}.toast-error{border-left-color:#b4233a}.toast-warning{border-left-color:#c49118}.toast-info{border-left-color:#2f6f8f}.stat-grid{grid-template-columns:repeat(4,minmax(160px,1fr));gap:14px;display:grid}.dashboard-quick-actions{grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px;display:grid}.dashboard-action-btn{color:#173d34;text-align:left;cursor:pointer;background:#fff;border:1px solid #d7e2dd;border-radius:8px;gap:4px;min-height:64px;padding:12px 14px;transition:background .15s,border-color .15s,box-shadow .15s;display:grid;box-shadow:0 4px 10px #23302b0a}.dashboard-action-btn strong{color:#173d34;font-size:14px}.dashboard-action-btn span{color:#60776d;font-size:12px;font-weight:800}.dashboard-action-btn:hover{background:#f5f9f7;border-color:#b6d6cb;box-shadow:0 8px 18px #23302b14}.dashboard-panels{grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:16px;margin-top:18px;display:grid}.dashboard-chart-panel{overflow:hidden}.dashboard-line-chart{gap:10px;display:grid}.dashboard-line-chart svg{width:100%;height:150px;overflow:visible}.chart-area{fill:#0080601a;stroke:none}.chart-line{fill:none;stroke:#08795f;stroke-width:4px;stroke-linecap:round;stroke-linejoin:round}.chart-dot{fill:#fff;stroke:#08795f;stroke-width:3px}.chart-labels{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;display:grid}.chart-labels span{text-align:center;background:#fbfdfc;border:1px solid #e3ebe8;border-radius:7px;min-width:0;padding:7px 6px;display:grid}.chart-labels strong{color:#173d34;font-size:14px}.chart-labels small{color:#60776d;text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.dashboard-table{table-layout:fixed;min-width:0}.dashboard-table th,.dashboard-table td{padding:11px 10px}.dashboard-table th:first-child,.dashboard-table td:first-child{width:34%}.dashboard-table th:nth-child(2),.dashboard-table td:nth-child(2){width:30%}.dashboard-table th:nth-child(3),.dashboard-table td:nth-child(3){width:20%}.dashboard-table th:nth-child(4),.dashboard-table td:nth-child(4){width:16%}.dashboard-table.compact th:first-child,.dashboard-table.compact td:first-child{width:58%}.dashboard-table.compact th:nth-child(2),.dashboard-table.compact td:nth-child(2){width:42%}.dashboard-table td,.dashboard-table th{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dashboard-critical{color:#c0392b;font-weight:700}.stat-card,.content-panel{background:#fff;border:1px solid #d7e2dd;border-radius:8px;box-shadow:0 10px 24px #23302b0f}.stat-card{align-content:start;gap:8px;min-height:118px;padding:16px;display:grid;position:relative;overflow:hidden}.stat-card:after{content:"";background:#e7f4ef;border-radius:999px;width:98px;height:98px;position:absolute;bottom:-34px;right:-28px}.stat-card-top{z-index:1;justify-content:space-between;align-items:center;gap:10px;display:flex;position:relative}.stat-card-top i{background:#2f7d68;border-radius:999px;width:10px;height:10px;display:inline-block}.stat-card span,.stat-card small{color:#60776d;font-size:13px}.stat-card strong{z-index:1;overflow-wrap:anywhere;color:#173d34;font-size:30px;line-height:1.15;position:relative}.stat-card small,.stat-card span{z-index:1;position:relative}.stat-card.tone-strong:after{background:#dff3ea}.stat-card.tone-warn:after{background:#fff1c7}.stat-card.tone-warn .stat-card-top i{background:#c49118}.stat-card.tone-danger:after{background:#ffe1e5}.stat-card.tone-danger .stat-card-top i{background:#b4233a}.content-panel{padding:18px}.panel-title-row{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px;display:flex}.panel-title-row.compact{margin-bottom:10px}.panel-subtitle{color:#60776d;margin:5px 0 0;font-size:13px}.products-page{gap:14px}.products-grid{grid-template-columns:minmax(0,1fr) minmax(320px,380px);align-items:start;gap:18px;display:grid}.customers-workspace{grid-template-columns:minmax(0,1fr);gap:12px;display:grid}.customer-toolbar-panel{gap:12px;padding:16px;display:grid}.customer-search-form{grid-template-columns:minmax(280px,1fr) auto;align-items:center;gap:12px;display:grid}.customer-search-input input{min-height:46px}.customer-toolbar-actions{white-space:nowrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.primary-action-button{color:#fff;background:#0f725c;border-radius:6px;min-height:46px;padding:0 18px;font-weight:900;box-shadow:0 8px 18px #0f725c29}.primary-action-button:hover{background:#0b614e}.toolbar-date-input{width:156px;min-height:46px}.customer-filter-strip{border-top:1px solid #e3ebe8;justify-content:space-between;align-items:center;gap:14px;padding-top:12px;display:flex}.customer-filter-group,.customer-list-meta{align-items:center;gap:12px;display:flex}.result-count{color:#60776d;white-space:nowrap;font-size:13px;font-weight:900}.products-list-panel{min-width:0}.product-form-panel{position:sticky;top:88px}.table-toolbar{justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px;display:flex}.table-toolbar-meta{color:#60776d;white-space:nowrap;justify-content:flex-end;align-items:center;gap:12px;font-size:13px;font-weight:800;display:flex}.per-page-control{color:#60776d;grid-template-columns:none;align-items:center;gap:8px;font-size:13px;display:flex}.per-page-control select{width:104px;min-height:36px;padding:7px 9px}.search-form{grid-template-columns:minmax(220px,1fr) minmax(170px,220px) auto auto;gap:10px;width:100%;display:grid}.table-wrap{-webkit-overflow-scrolling:touch;overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:940px;font-size:14px}th,td{text-align:left;vertical-align:middle;border-bottom:1px solid #e3ebe8;padding:11px 10px}th{color:#60776d;text-transform:uppercase;font-size:12px}.sort-button{color:#60776d;text-align:left;text-transform:uppercase;background:0 0;min-height:28px;padding:0;font-size:12px;font-weight:900}.sort-button:hover{color:#235d4d;transform:none}.product-name{color:#1f2a2e}.product-title-cell{gap:3px;min-width:150px;display:grid}.product-title-cell small{color:#60776d;font-size:12px;font-weight:800}.product-thumb{object-fit:cover;color:#0f725c;background:#f7fbfa;border:1px solid #d7e2dd;border-radius:8px;justify-content:center;align-items:center;width:46px;height:46px;font-size:18px;font-weight:900;display:inline-flex}.product-thumb-placeholder{box-shadow:inset 0 0 0 1px #0f725c14}.product-image-dropzone{background:#f7fbfa;border:1px dashed #b8d0c7;border-radius:8px;gap:12px;padding:14px;transition:background .16s,border-color .16s,box-shadow .16s;display:grid}.product-image-dropzone.active{background:#eef8f4;border-color:#0f725c;box-shadow:0 0 0 3px #0f725c1f}.product-image-dropzone>input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.product-image-drop-empty,.product-image-drop-preview{text-align:center;place-items:center;min-height:154px;display:grid}.product-image-drop-empty{color:#60776d;gap:6px}.product-image-drop-empty strong,.product-image-drop-preview strong{color:#173d34;font-size:15px}.product-image-drop-empty span,.product-image-drop-preview span{color:#60776d;font-size:12px;font-weight:800}.upload-icon{color:#0f725c;background:#e6f2ee;border-radius:999px;place-items:center;width:48px;height:48px;font-size:30px;font-weight:900;line-height:1;display:inline-grid}.product-image-drop-preview{text-align:left;grid-template-columns:136px minmax(0,1fr);justify-items:stretch;gap:14px;min-height:136px}.product-image-drop-preview img{object-fit:cover;background:#fff;border-radius:8px;width:136px;height:136px}.product-image-drop-preview div{align-content:center;gap:5px;display:grid}.product-image-drop-actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.badge{color:#235d4d;white-space:nowrap;background:#e6f2ee;border-radius:999px;align-items:center;min-height:24px;padding:0 9px;font-size:12px;font-weight:800;display:inline-flex}.muted-badge{color:#71847d;background:#f0f4f3}.success-badge{color:#1f6d56;background:#dff3ea}.warning-badge{color:#84620b;background:#fff3c9}.danger-badge{color:#9d1732;background:#fde2e2}.row-actions{justify-content:flex-end;gap:8px;min-width:190px;display:flex}.danger{color:#a33131;background:#f8e6e6;border-radius:6px;min-height:36px;padding:0 12px;font-weight:800}.ghost-button{color:#344640;background:#fff;border:1px solid #d7e2dd;border-radius:6px;min-height:42px;padding:0 14px;font-weight:800}.success-box{color:#245d4f;background:#eefaf5;border:1px solid #b9decf;border-radius:6px;padding:9px 11px;font-size:13px}.compact-box{padding:8px 10px;font-size:13px}.product-form{gap:12px;display:grid}.address-builder{background:#f8fbfa;border:1px solid #d7e2dd;border-radius:8px;gap:12px;padding:14px;display:grid}.address-builder h3{color:#173d34;margin:0;font-size:15px}.product-form input,.product-form select,.product-form textarea{padding:10px 11px}.compact-search-form{grid-template-columns:minmax(0,1fr) auto auto}.customers-table{min-width:980px}.balance-chip{color:#60776d;white-space:nowrap;background:#f0f4f3;border-radius:999px;justify-content:flex-end;align-items:center;min-width:112px;min-height:28px;padding:0 10px;font-size:13px;font-weight:900;display:inline-flex}.balance-chip.debit{color:#875b00;background:#fff3d9}.balance-chip.credit{color:#1f6d56;background:#dff3ea}.pagination-bar{color:#60776d;justify-content:flex-end;align-items:center;gap:12px;margin-top:14px;font-size:13px;font-weight:800;display:flex}.ledger-panel{margin-top:18px;scroll-margin-top:88px}.modal-backdrop{z-index:80;background:#0f231e6b;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.modal-panel{background:#fff;border:1px solid #d7e2dd;border-radius:8px;width:min(100%,860px);max-height:calc(100vh - 48px);padding:22px;overflow:auto;box-shadow:0 24px 70px #162d263d}.ledger-modal{width:min(100%,1180px)}.customer-form-modal{width:min(100%,720px)}.order-form-modal{width:min(100%,960px)}.product-form-modal{width:min(100%,720px)}.category-form-modal,.stock-form-modal{width:min(100%,600px)}.company-form-modal{width:min(100%,640px);padding-bottom:16px;overflow:visible}.company-form-modal .product-form{padding-bottom:60px}.user-form-modal{width:min(100%,640px)}.assignee-form-modal{width:min(100%,680px)}.password-form-modal{width:min(100%,520px)}.collapsible-header{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:8px;display:flex}.collapsible-header:hover{opacity:.7}.modal-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.modal-header-actions{align-items:center;gap:10px;display:flex}.modal-close{color:#344640;background:#fff;border:1px solid #d7e2dd;border-radius:6px;place-items:center;width:38px;height:38px;font-size:24px;font-weight:700;line-height:1;display:inline-grid}.modal-ledger-grid{margin-top:0}.ledger-grid{grid-template-columns:minmax(0,1fr) minmax(300px,360px);align-items:start;gap:18px;display:grid}.ledger-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px;display:grid}.compact-stat{min-height:84px;padding:12px}.compact-stat strong{font-size:18px}.ledger-search{margin-bottom:14px}.ledger-table{min-width:860px}.clickable-row{cursor:pointer}.clickable-row:hover td{background:#f5faf8}.compact-actions{min-width:110px}.mini-button{min-height:32px;padding:0 10px;font-size:12px}.ledger-form{background:#fbfdfc;border:1px solid #d7e2dd;border-radius:8px;padding:14px}.ledger-form h3{color:#173d34;margin:0;font-size:16px}.ledger-form-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.ledger-form-header p{color:#60776d;margin:4px 0 0;font-size:12px;font-weight:800}.balance-badge{white-space:nowrap;border-radius:999px;align-items:center;min-height:30px;padding:0 12px;font-size:13px;font-weight:900;display:inline-flex}.balance-badge.debit,.ledger-type.debit{color:#875b00;background:#fff3d9}.balance-badge.credit,.ledger-type.credit{color:#23604e;background:#e2f3ea}.money{white-space:nowrap;font-weight:900}.debit-text{color:#875b00}.credit-text{color:#23604e}.orders-grid{grid-template-columns:minmax(0,1fr) minmax(360px,440px)}.orders-table{border-collapse:separate;border-spacing:0;min-width:1080px}.orders-table tbody tr:nth-child(odd){background:#fff}.orders-table tbody tr:nth-child(2n){background:#f1faf6}.orders-table tbody tr:hover{background:#e3f5ee}.orders-table tbody tr.selected{background:#c9eadc}.orders-table tbody tr.selected:hover{background:#b8e1d0}.orders-table tbody td{border-bottom:1px solid #d7e8e1}.order-date-cell{white-space:nowrap;font-size:13px}.order-number-light{color:#587168;font-size:13px;font-weight:500;line-height:1.25;display:inline-block}.order-customer-name,.order-customer-code{font-weight:800;line-height:1.2;display:block}.order-customer-name{color:#173d34;font-size:13px}.order-customer-code{color:#526a61;margin-top:3px;font-size:12px}.order-status-pending,.delivery-status-assigned,.delivery-status-pending{color:#765800;background:#fff4bf}.order-status-confirmed,.delivery-status-delivered{color:#006d52;background:#d5f5e7}.delivery-status-route{color:#145c91;background:#d9ecff}.order-status-draft{color:#50616c;background:#e9eef2}.order-status-cancelled,.delivery-status-problem{color:#9d1732;background:#fde2e2}.gas-day-end-grid{grid-template-columns:minmax(280px,360px) minmax(0,1fr);align-items:start;gap:16px;display:grid}.gas-day-end-page .orders-table{min-width:760px}.day-total-panel,.day-assignee-breakdown{gap:14px;display:grid}.day-total-cards{grid-template-columns:repeat(5,minmax(150px,1fr));gap:10px;display:grid}.day-total-cards .compact-stat{min-height:98px}.day-method-strip{flex-wrap:wrap;gap:10px;display:flex}.day-method-strip span{color:#60776d;background:#fbfdfc;border:1px solid #d7e2dd;border-radius:999px;align-items:center;gap:8px;min-height:34px;padding:0 12px;font-size:13px;font-weight:800;display:inline-flex}.day-method-strip strong{color:#173d34}.day-assignee-table{min-width:920px}.assignees-grid{grid-template-columns:1fr;align-items:start;gap:16px;display:grid}.assignees-grid>.products-list-panel:only-child{grid-column:1/-1}.assignees-table{min-width:860px}.assignee-form-panel{top:78px}.staff-role-chips{flex-wrap:wrap;gap:6px;display:flex}.staff-role-badge{color:#006b55;background:#e6f5ef}.staff-role-picker{grid-column:1/-1;gap:8px;display:grid}.staff-role-picker .panel-subtitle{margin:0}.staff-role-options{gap:8px;display:grid}.staff-role-option{background:#fbfdfc;border:1px solid #d7e2dd;border-radius:8px;align-items:center;gap:8px;padding:10px 12px;font-weight:800;display:flex}.day-end-assignee-list,.day-end-close-form,.payment-breakdown{gap:10px;display:grid}.day-end-assignee{color:#1f2a2e;text-align:left;background:#fbfdfc;border:1px solid #d7e2dd;border-radius:8px;gap:4px;width:100%;padding:12px;display:grid}.day-end-assignee.active{background:#edf8f4;border-color:#2f7d68;box-shadow:0 0 0 3px #2f7d681f}.day-end-assignee span,.day-end-assignee small{color:#60776d}.dashboard-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.compact-cards .stat-card{min-height:96px}.payment-breakdown{border:1px solid #d7e2dd;border-radius:8px;margin:14px 0;overflow:hidden}.payment-row{border-bottom:1px solid #e3ebe8;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.payment-row:last-child{border-bottom:0}.payment-row span{color:#60776d;font-weight:700}.payment-row strong{color:#173d34}.invoice-meta-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px;display:grid}.warning-note{color:#6c520d;background:#fff8df;border:1px solid #f0db9a;border-radius:8px;padding:10px 12px;font-size:13px;font-weight:700}.warning-note ul{margin:8px 0 0;padding-left:18px}.warning-note li+li{margin-top:4px}.danger-note{color:#9d2424;background:#fff3f3;border-color:#efb8b8}.assignment-inline{grid-template-columns:minmax(120px,1fr) auto;align-items:center;gap:6px;max-width:260px;margin-top:8px;display:grid}.assignment-inline select{min-height:36px;padding:7px 9px;font-size:13px}.assignment-inline .small-button{white-space:nowrap}.order-assignee-toolbar{background:#fbfdfc;border:1px solid #d7e2dd;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.order-assignee-toolbar>div:first-child{gap:2px;min-width:0;display:grid}.order-assignee-toolbar strong{color:#173d34;font-size:14px}.order-assignee-toolbar small{color:#60776d;font-size:12px;font-weight:700}.order-assignee-toolbar>div:last-child{white-space:nowrap;gap:8px;display:flex}.stock-table{min-width:980px}.stock-top-grid{grid-template-columns:minmax(0,1fr) minmax(320px,390px);align-items:start;gap:18px;display:grid}.stock-summary-table{min-width:720px}.invoices-table{min-width:920px}.invoice-preview-modal{width:min(1020px,100vw - 32px);max-height:calc(100vh - 36px)}.invoice-preview-actions{align-items:flex-start}.invoice-paper{color:#1f2a2e;background:#fff;border:1px solid #d7e2dd;border-radius:6px;gap:22px;min-height:720px;padding:34px;display:grid}.invoice-paper-header,.invoice-paper-parties,.invoice-paper-footer{grid-template-columns:minmax(0,1fr) minmax(240px,320px);gap:24px;display:grid}.invoice-paper h2,.invoice-paper p{margin:0}.invoice-paper h2{color:#003f35;font-size:26px}.invoice-paper p,.invoice-paper small{color:#60776d;line-height:1.45}.invoice-paper-label{color:#60776d;letter-spacing:.04em;text-transform:uppercase;margin-bottom:6px;font-size:12px;font-weight:900;display:block}.invoice-paper-number{text-align:right;border-left:1px solid #e3ebe8;align-content:start;justify-items:end;gap:6px;padding-left:20px;display:grid}.invoice-paper-number span{color:#006f58;background:#e5f6ef;border-radius:999px;padding:6px 10px;font-weight:900}.invoice-paper-number strong{color:#1f2a2e;font-size:22px}.invoice-paper-parties{border-top:1px solid #e3ebe8;border-bottom:1px solid #e3ebe8;padding:18px 0}.invoice-paper-parties strong{color:#173d34;margin-bottom:6px;font-size:17px;display:block}.invoice-paper-table-wrap{overflow-x:auto}.invoice-paper-table{border-collapse:collapse;width:100%;min-width:680px}.invoice-paper-table th,.invoice-paper-table td{text-align:right;border-bottom:1px solid #e3ebe8;padding:12px 10px}.invoice-paper-table th:first-child,.invoice-paper-table td:first-child{text-align:left}.invoice-paper-table th{color:#60776d;text-transform:uppercase;font-size:12px}.invoice-paper-totals{justify-self:end;gap:8px;min-width:260px;display:grid}.invoice-paper-totals span{color:#60776d;justify-content:space-between;gap:18px;display:flex}.invoice-paper-totals span:last-child{color:#173d34;border-top:2px solid #173d34;padding-top:10px;font-size:18px;font-weight:900}.admin-tabs{border-bottom:2px solid #e3ebe8;gap:0;margin-bottom:22px;display:flex}.tab{cursor:pointer;color:#60776d;background:0 0;border:none;border-bottom:2px solid #0000;margin-bottom:-2px;padding:12px 24px;font-size:14px;font-weight:700;transition:color .2s,border-color .2s}.tab:hover{color:#235d4d}.tab.active{color:#235d4d;border-bottom-color:#235d4d}.admin-master-detail{grid-template-columns:minmax(320px,1fr) 2fr;align-items:start;gap:18px;display:grid}.data-table{border-collapse:collapse;width:100%;font-size:14px}.data-table th{text-align:left;color:#60776d;text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid #e3ebe8;padding:10px 12px;font-size:12px;font-weight:700}.data-table td{vertical-align:middle;border-bottom:1px solid #e3ebe8;padding:10px 12px}.data-table tr{cursor:pointer;transition:background .15s}.data-table tr:hover{background:#f5f9f7}.data-table tr.selected{background:#eaf6f1}.data-table tr.selected td{border-bottom-color:#b6d6cb}.data-table.compact td,.data-table.compact th{padding:8px 10px}.admin-user-name,.admin-user-email{line-height:1.25;display:block}.admin-user-email{color:#60776d;overflow-wrap:anywhere;margin-top:4px;font-size:12px;font-weight:600}.form-actions{grid-column:1/-1;justify-content:end;gap:8px;display:flex}.form-actions button{min-width:120px}.form-actions.inline-actions{flex-wrap:wrap;grid-column:auto;justify-content:flex-end}.form-actions.inline-actions button{min-width:auto}.admin-form,.admin-inline-form{gap:10px;margin-top:14px;display:grid}.admin-form{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-form .form-actions button,.admin-inline-form button,.admin-action{color:#fff;background:#235d4d;border-radius:6px;min-height:40px;padding:0 14px;font-weight:800}.admin-form .form-actions button.secondary{color:#1f2a2e;background:#e7eeee}.admin-section-header{grid-template-columns:minmax(0,1fr) minmax(220px,340px);align-items:end;gap:16px;display:grid}.admin-section-header h3{margin:0 0 6px}.module-toggle-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px;margin:18px 0;display:grid}.module-toggle-card{cursor:pointer;background:#fff;border:1px solid #cfe0da;border-radius:8px;align-items:flex-start;gap:12px;min-height:92px;padding:16px;display:flex}.module-toggle-card:has(input:checked){background:#eaf8f3;border-color:#007c65}.module-toggle-card.locked{cursor:default;background:#f7faf9;border-color:#d7e2dd}.module-toggle-card input{width:auto;margin-top:4px}.module-toggle-card strong,.module-toggle-card small,.module-toggle-card em{display:block}.module-toggle-card strong{color:#083f36}.module-toggle-card small{color:#60776d;margin-top:4px;font-size:12px;font-weight:700}.module-toggle-card b{color:#007c65;background:#dff6ee;border-radius:999px;width:fit-content;margin-top:8px;padding:4px 8px;font-size:11px;line-height:1;display:inline-flex}.module-toggle-card em{color:#60776d;margin-top:8px;font-size:12px;font-style:normal}.check-list{gap:8px;margin:14px 0;display:grid}.check-row{align-items:center;gap:9px;font-weight:700;display:flex}.check-row input{width:auto}.location-status-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:10px;margin-top:14px;display:grid}.service-city-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px;margin-top:14px;display:grid}.location-card-header{justify-content:space-between;align-items:start;gap:10px;width:100%;display:flex}.location-status-card{background:#fbfdfc;border:1px solid #e3ebe8;border-radius:8px;flex-direction:column;gap:8px;padding:12px;display:flex}.location-status-card strong{font-size:14px;display:block}.location-status-card small{color:#60776d;font-size:12px}.import-btn{color:#235d4d;cursor:pointer;background:0 0;border:1px solid #235d4d;border-radius:6px;width:100%;min-height:34px;font-size:13px;font-weight:700;transition:background .15s,color .15s}.import-btn:hover{color:#fff;background:#235d4d}.location-status-card,.service-city-card{background:#fbfdfc;border:1px solid #e3ebe8;border-radius:8px;gap:10px;padding:12px;display:grid}.location-status-card strong,.service-city-card strong{color:#1f2a2e}.location-status-card small,.service-city-card small{color:#60776d;margin-top:3px;font-size:12px;display:block}.location-status-card code{color:#344640;text-overflow:ellipsis;white-space:nowrap;background:#eef4f2;border-radius:6px;padding:8px;font-size:11px;overflow:hidden}.location-badges{flex-wrap:wrap;gap:6px;display:flex}.service-city-card{cursor:pointer;grid-template-columns:auto minmax(0,1fr);align-items:flex-start}.service-city-card input{width:auto;margin-top:3px}.stock-adjust-panel{position:sticky;top:88px}.table-subtext{color:#60776d;margin-top:3px;font-size:12px;display:block}.order-items{border-top:1px solid #e3ebe8;gap:12px;padding-top:14px;display:grid}.order-items h3,.order-detail h3{color:#1f2a2e;margin:0;font-size:16px}.order-item-row{background:#fbfdfc;border:1px solid #e3ebe8;border-radius:8px;gap:10px;padding:11px;display:grid}.order-address-card{background:#f7fbfa;border:1px solid #d7e2dd;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:13px;display:grid}.customer-picker-panel{background:#fbfdfc;border:1px solid #d7e2dd;border-radius:8px;gap:10px;padding:13px;display:grid}.customer-picker-header{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;display:grid}.customer-picker-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.customer-picker-card,.selected-customer-card{background:#fff;border:1px solid #d7e2dd;border-radius:8px}.customer-picker-card{color:#1f2a2e;text-align:left;gap:3px;min-height:58px;padding:9px 10px;display:grid}.customer-picker-card:hover,.customer-picker-card.selected{background:#eef8f4;border-color:#0f725c;transform:none}.customer-picker-card strong,.customer-picker-card span,.selected-customer-card strong,.selected-customer-card small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.customer-picker-card strong,.selected-customer-card strong{color:#173d34;font-size:13px}.customer-picker-card span,.selected-customer-card small{color:#60776d;font-size:12px;font-weight:800}.selected-customer-card{background:#f3faf7;justify-content:space-between;align-items:center;gap:12px;padding:10px;display:flex}.selected-customer-card div{min-width:0;display:grid}.customer-picker-empty{color:#60776d;text-align:center;border:1px dashed #c8d8d2;border-radius:8px;grid-column:1/-1;padding:10px;font-size:13px;font-weight:800}.order-address-card strong{color:#173d34;font-size:15px;display:block}.order-address-card p{color:#344640;white-space:pre-line;margin:5px 0 0;font-size:13px;line-height:1.45}.order-address-actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.last-order-panel{background:#fbfdfc;border:1px solid #d7e2dd;border-radius:8px;gap:10px;padding:12px;display:grid}.last-order-items{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.last-order-item-card{color:#1f2a2e;text-align:left;background:#fff;border:1px solid #d7e2dd;border-radius:8px;gap:3px;min-height:68px;padding:9px 10px;display:grid}.last-order-item-card:hover{background:#eef8f4;border-color:#0f725c;transform:none}.last-order-item-card:disabled{cursor:not-allowed;opacity:.55}.last-order-item-card strong,.last-order-item-card span,.last-order-item-card small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.last-order-item-card strong{color:#173d34;font-size:13px}.last-order-item-card span{color:#60776d;font-size:12px;font-weight:800}.last-order-item-card small{color:#007b62;font-size:12px;font-weight:900}.inline-info-box{color:#245d4f;background:#eefaf5;border:1px solid #b9decf;border-radius:8px;padding:9px 10px;font-size:13px;font-weight:850}.link-button{border-radius:6px;justify-content:center;align-items:center;min-height:38px;padding:0 13px;font-weight:900;text-decoration:none;display:inline-flex}.order-product-selector{grid-template-columns:minmax(0,1fr) minmax(210px,260px);align-items:end;gap:10px;display:grid}.selected-product-preview{background:#f6fbf9;border:1px solid #d7e2dd;border-radius:8px;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:9px;min-height:58px;padding:7px;display:grid}.selected-product-preview img,.selected-product-preview span{border-radius:7px;width:44px;height:44px}.selected-product-preview img{object-fit:cover;background:#fff}.selected-product-preview span{color:#0f725c;background:#e6f2ee;place-items:center;font-weight:900;display:inline-grid}.selected-product-preview strong,.selected-product-preview small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.selected-product-preview strong{color:#173d34;font-size:13px}.selected-product-preview small{color:#60776d;font-size:12px;font-weight:800}.product-picker-panel{gap:8px;display:grid}.product-picker-panel input{min-height:38px;padding:9px 10px}.product-picker-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.product-picker-card{color:#1f2a2e;text-align:left;background:#fff;border:1px solid #d7e2dd;border-radius:8px;grid-template-rows:auto auto;grid-template-columns:42px minmax(0,1fr);align-items:center;column-gap:8px;min-height:58px;padding:7px;display:grid}.product-picker-card:hover,.product-picker-card.selected{background:#eef8f4;border-color:#0f725c;transform:none}.product-picker-card img,.product-picker-card>span{border-radius:7px;grid-row:1/span 2;width:42px;height:42px}.product-picker-card img{object-fit:cover;background:#f7fbfa}.product-picker-card>span{color:#0f725c;background:#e6f2ee;place-items:center;font-size:17px;font-weight:900;display:inline-grid}.product-picker-card strong,.product-picker-card small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.product-picker-card strong{font-size:12px}.product-picker-card small{color:#60776d;font-size:11px;font-weight:800}.product-picker-empty{color:#60776d;text-align:center;border:1px dashed #c8d8d2;border-radius:8px;padding:10px;font-size:13px;font-weight:800}.form-three-col{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;display:grid}.order-line-footer{color:#60776d;justify-content:space-between;align-items:center;gap:12px;font-size:13px;display:flex}.order-line-footer strong{color:#1f2a2e}.order-line-actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.order-totals{background:#f3faf7;border:1px solid #c9dcd4;border-radius:8px;gap:8px;padding:12px;display:grid}.order-totals span{color:#60776d;justify-content:space-between;gap:12px;font-size:13px;display:flex}.order-totals strong{color:#173d34;font-size:15px}.order-detail{background:#fff;border:1px solid #d7e2dd;border-radius:8px;gap:12px;margin:0 0 16px;padding:14px;display:grid}.compact-warning{color:#74570b;background:#fff8df;border:1px solid #f2dda0;border-radius:8px;padding:10px 12px;font-weight:700}.order-detail-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.order-detail-card{background:#f7fbfa;border:1px solid #d7e2dd;border-radius:8px;align-content:start;gap:5px;min-height:90px;padding:12px;display:grid}.order-detail-card span,.order-detail-card small{color:#60776d;font-size:12px;font-weight:800}.order-detail-card strong{color:#173d34;font-size:18px;line-height:1.2}.order-detail-notes{background:#fbfdfc;border:1px solid #e3ebe8;border-radius:8px;gap:6px;padding:11px 12px;display:grid}.order-detail-notes p{color:#344640;margin:0;font-size:13px;line-height:1.45}.order-detail-lines{gap:8px;display:grid}.order-detail-line{color:#344640;border-bottom:1px solid #eef3f1;justify-content:space-between;gap:12px;padding-bottom:8px;font-size:13px;display:flex}.order-detail-line:last-child{border-bottom:0;padding-bottom:0}.form-two-col{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.checkbox-row{background:#fbfdfc;border:1px solid #d7e2dd;border-radius:8px;align-items:center;gap:8px;padding:10px 12px;font-weight:900;display:flex}.checkbox-row input{width:auto}.return-items-panel{background:#f8fbfa;border:1px solid #d7e2dd;border-radius:8px;gap:8px;max-height:260px;padding:10px;display:grid;overflow-y:auto}.return-item-row{border-bottom:1px solid #e3ebe8;grid-template-columns:minmax(0,1fr) 130px;align-items:center;gap:10px;padding-bottom:8px;display:grid}.return-item-row:last-child{border-bottom:0;padding-bottom:0}.return-item-row span{min-width:0;display:grid}.return-item-row strong,.return-item-row small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.return-item-row small{color:#60776d;font-size:12px}.form-actions{gap:10px;margin-top:2px;display:flex}.form-actions button{color:#fff;background:#235d4d;border-radius:6px;min-height:40px;padding:0 14px;font-weight:800}.form-actions .secondary{color:#1f2a2e;background:#e7eeee}.empty-state{color:#344640;text-align:center;background:#fbfdfc;border:1px dashed #c8d8d2;border-radius:8px;gap:6px;padding:28px 18px;display:grid}.empty-state strong{font-size:16px}.empty-state p{color:#60776d;margin:0;font-size:14px}.category-manager{border-top:1px solid #e3ebe8;gap:12px;margin-top:20px;padding-top:16px;display:grid}.category-manager h3{color:#1f2a2e;margin:0;font-size:16px}.category-form{grid-template-columns:minmax(0,1fr) 92px auto auto;gap:8px;display:grid}.category-form input{min-height:38px;padding:9px 10px}.category-form button,.small-button{border-radius:6px;min-height:36px;padding:0 11px;font-weight:800}.category-form button{color:#fff;background:#235d4d}.category-form .ghost-button{color:#344640;background:#fff}.category-list{gap:8px;max-height:210px;display:grid;overflow:auto}.category-row{background:#fbfdfc;border:1px solid #e3ebe8;border-radius:7px;justify-content:space-between;align-items:center;gap:10px;padding:9px;display:flex}.category-actions{flex-shrink:0;gap:7px;display:flex}.category-row span{min-width:0;display:grid}.category-row strong{color:#1f2a2e;text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.category-row small{color:#60776d;font-size:12px}.category-empty{color:#60776d;text-align:center;background:#fbfdfc;border:1px dashed #c8d8d2;border-radius:7px;padding:13px;font-size:13px}@media (width<=640px){.auth-shell,.app-shell{padding:14px}.login-panel,.panel{padding:20px}.panel-header{flex-direction:column;align-items:stretch}.summary-grid{grid-template-columns:1fr}.admin-section-header{grid-template-columns:1fr;align-items:stretch}.module-toggle-grid{grid-template-columns:1fr}}@media (width<=980px){.dashboard-layout,.dashboard-layout.sidebar-collapsed{grid-template-columns:1fr}.sidebar{z-index:90;border-bottom:0;border-right:1px solid #d7e2dd;width:min(82vw,310px);height:100vh;min-height:100vh;padding:14px;transition:transform .18s;position:fixed;top:0;left:0;overflow-y:auto;transform:translate(-105%);box-shadow:18px 0 48px #0f231e33}.mobile-menu-open .sidebar{transform:translate(0)}.mobile-menu-backdrop{z-index:85;background:#0f231e6b;display:block;position:fixed;inset:0}.brand-block{margin-bottom:14px;padding:12px}.sidebar-collapsed .sidebar{padding:14px}.sidebar-collapsed .brand-block{text-align:left;justify-content:space-between;place-items:center stretch;margin-bottom:14px;display:flex}.sidebar-collapsed .brand-block>div,.brand-block>div{display:block}.sidebar-collapsed .brand-block strong{font-size:18px}.sidebar-collapsed .brand-block span{display:block}.nav-list{grid-template-columns:1fr;gap:7px;padding-bottom:0;display:grid;overflow:visible}.sidebar-collapsed .nav-list{display:grid}.nav-item{justify-content:space-between;width:100%;min-height:44px;padding:0 11px}.sidebar-collapsed .nav-item{text-align:left;justify-content:space-between;min-height:44px;padding:0 11px}.sidebar-collapsed .nav-label{justify-content:flex-start}.sidebar-collapsed .nav-label>span:last-child{display:inline}.sidebar-collapsed .nav-icon{width:22px;height:22px}.mobile-menu-button{display:inline-flex}.stat-grid,.dashboard-quick-actions,.dashboard-panels,.assignees-grid,.gas-day-end-grid,.products-grid,.modal-ledger-grid,.ledger-grid,.ledger-summary-grid{grid-template-columns:1fr}.stat-grid,.dashboard-quick-actions,.gas-day-end-page .dashboard-cards,.day-total-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.product-form-panel{position:static}.topbar{flex-direction:row;align-items:center;height:auto;min-height:58px;padding:10px 14px;position:sticky;top:0}.topbar-company{min-width:0}.topbar h2{text-overflow:ellipsis;white-space:nowrap;max-width:54vw;overflow:hidden}.topbar-actions{justify-content:flex-end;width:auto}.user-menu,.user-menu-trigger{width:auto}.user-menu-trigger{justify-content:space-between}.user-dropdown{width:min(280px,100vw - 28px);left:auto;right:0}}@media (width<=720px){body{overflow-x:hidden}.content-wrap{padding:12px 10px 24px}.toast-viewport{width:auto;top:70px;left:10px;right:10px}h1{font-size:24px}.nav-list{margin:0}.nav-item{min-width:0;min-height:42px;padding:0 10px}.nav-label{gap:7px}.nav-icon{width:22px;height:22px}.stat-grid,.dashboard-quick-actions,.gas-day-end-page .dashboard-cards{grid-template-columns:1fr}.gas-day-end-page .customer-search-form{gap:10px}.gas-day-end-page .panel-title-row.compact{align-items:flex-start;gap:10px}.gas-day-end-page .payment-row{flex-direction:column;align-items:flex-start;gap:2px}.gas-day-end-page .payment-row strong{font-size:15px}.gas-day-end-page .orders-table{min-width:660px}.day-total-cards{grid-template-columns:1fr}.day-method-strip span{justify-content:space-between;width:100%}.day-assignee-table{min-width:760px}.order-assignee-toolbar{flex-direction:column;align-items:stretch}.order-assignee-toolbar>div:last-child{white-space:normal;grid-template-columns:1fr;display:grid}.assignees-table{min-width:720px}.assignee-form-panel{position:static}.stat-card{min-height:96px}.dashboard-action-btn{min-height:58px}.search-form,.customer-search-form,.form-two-col,.form-three-col,.category-form{grid-template-columns:1fr}.customer-toolbar-actions,.customer-filter-strip,.customer-filter-group,.customer-list-meta{white-space:normal;flex-direction:column;align-items:stretch}.customer-toolbar-actions button,.customer-toolbar-actions select,.customer-toolbar-actions .toolbar-date-input,.customer-list-meta,.per-page-control{width:100%}.customer-toolbar-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.customer-toolbar-actions select,.customer-toolbar-actions .per-page-control,.customer-toolbar-actions .customer-list-meta{grid-column:1/-1}.content-panel,.customer-toolbar-panel{padding:12px}.table-wrap{border:1px solid #e3ebe8;border-radius:8px}table{font-size:13px}th,td{padding:9px 8px}.orders-grid,.order-detail-grid,.stock-top-grid{grid-template-columns:1fr}.stock-adjust-panel{position:static}.admin-form,.admin-master-detail,.location-status-grid,.service-city-grid{grid-template-columns:1fr}.modal-backdrop{align-items:stretch;padding:0}.modal-panel{border-radius:0;width:100%;max-height:100vh;padding:16px}.modal-header{flex-direction:column;align-items:stretch}.modal-header-actions{justify-content:space-between}.order-line-footer,.order-detail-line{flex-direction:column;align-items:flex-start}.order-line-actions{justify-content:stretch;width:100%}.order-line-actions button{flex:1}.order-product-selector,.order-address-card,.customer-picker-header,.customer-picker-results,.last-order-items,.product-picker-grid{grid-template-columns:1fr}.order-address-actions{justify-content:stretch}.order-address-actions .link-button{flex:1}.row-actions{justify-content:flex-start}.return-item-row,.invoice-paper-header,.invoice-paper-parties,.invoice-paper-footer{grid-template-columns:1fr}.invoice-paper{min-height:auto;padding:18px}.invoice-paper-number{text-align:left;border-top:1px solid #e3ebe8;border-left:0;justify-items:start;padding-top:12px;padding-left:0}}.ss-select{width:100%;position:relative}.ss-select.ss-disabled{opacity:.5;pointer-events:none}.ss-trigger{cursor:pointer;width:100%;font-size:inherit;color:#111;text-align:left;box-sizing:border-box;background:#fff;border:1px solid #d1d5db;border-radius:4px;justify-content:space-between;align-items:center;padding:10px 11px;font-family:inherit;display:flex}.ss-trigger:hover{border-color:#9ca3af}.ss-value{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.ss-value.ss-placeholder{color:#9ca3af}.ss-arrow{color:#6b7280;flex-shrink:0;margin-left:8px;font-size:10px}.ss-dropdown{z-index:100;background:#fff;border:1px solid #d1d5db;border-radius:4px;margin-top:2px;position:absolute;top:100%;left:0;right:0;box-shadow:0 4px 12px #0000001a}.ss-search-wrap{border-bottom:1px solid #e5e7eb;padding:6px}.ss-search-input{box-sizing:border-box;border:1px solid #d1d5db;border-radius:3px;outline:none;width:100%;padding:7px 9px;font-size:.9em}.ss-search-input:focus{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f626}.ss-options{max-height:200px;margin:0;padding:4px 0;list-style:none;overflow-y:auto}.ss-option{cursor:pointer;padding:8px 12px;font-size:.95em}.ss-option:hover{background:#f3f4f6}.ss-option.ss-selected{color:#2563eb;background:#eff6ff;font-weight:500}.ss-no-result{text-align:center;color:#9ca3af;padding:12px;font-size:.9em}@media print{body *{visibility:hidden}.invoice-preview-backdrop,.invoice-preview-backdrop *{visibility:visible}.invoice-preview-backdrop{background:#fff;padding:0;position:static}.invoice-preview-modal{width:100%;max-height:none;box-shadow:none;border:0;padding:0}.invoice-preview-actions{display:none}.invoice-paper{border:0;min-height:auto;padding:20mm 16mm}}
