@import"https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&display=swap";:root{--bg: #F5F6F8;--surface: #FFFFFF;--ink: #1C2530;--ink-soft: #5C6B7A;--border: #E3E7EC;--flame: #E8622C;--flame-dark: #C94E1E;--gas-blue: #2B6CA3;--good: #2E8B57;--warn: #C97A00;--bad: #C43D3D;--radius: 10px;--font-display: "Space Grotesk", "Inter", sans-serif;--font-body: "Inter", system-ui, sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font-body)}h1,h2,h3{font-family:var(--font-display);margin:0}button{font-family:var(--font-body);font-weight:600;background:var(--flame);color:#fff;border:none;border-radius:var(--radius);padding:10px 18px;cursor:pointer;font-size:14px}button:hover{background:var(--flame-dark)}button:disabled{opacity:.6;cursor:not-allowed}.btn-ghost{background:transparent;color:var(--ink-soft);border:1px solid var(--border)}.btn-ghost:hover{background:var(--surface);color:var(--ink)}input,select{font-family:var(--font-body);padding:9px 12px;border:1px solid var(--border);border-radius:var(--radius);font-size:14px;background:var(--surface)}.auth-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(160deg,#1C2530 0%,#2B3B4E 55%,var(--flame-dark) 140%)}.auth-card{background:var(--surface);padding:40px 36px;border-radius:16px;width:320px;box-shadow:0 20px 60px #00000059;display:flex;flex-direction:column;gap:14px}.auth-mark{width:44px;height:44px;border-radius:10px;background:var(--flame);color:#fff;font-family:var(--font-display);font-weight:700;display:flex;align-items:center;justify-content:center;margin-bottom:4px}.auth-logo-image{object-fit:contain;background:var(--surface)}.auth-card h1{font-size:22px}.auth-sub{margin:0 0 10px;color:var(--ink-soft);font-size:13px}.auth-card label{display:flex;flex-direction:column;gap:6px;font-size:13px;color:var(--ink-soft)}.auth-password-field{display:flex;flex-direction:column;gap:6px}.auth-password-field label{display:block}.auth-password-input{position:relative}.auth-password-input input{width:100%;padding-right:42px}.auth-password-toggle{position:absolute;top:50%;right:10px;display:flex;align-items:center;padding:4px;transform:translateY(-50%);background:transparent;color:var(--ink-soft)}.auth-password-toggle:hover{background:transparent;color:var(--ink)}.auth-password-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.auth-forgot-button{display:block;padding:8px 12px;background:transparent;color:var(--ink-soft);text-align:center;text-decoration:none}.auth-forgot-button:hover{background:transparent;color:var(--flame-dark);text-decoration:underline}.auth-notice{padding:10px 12px;border-radius:var(--radius);background:#2b6ca31a;color:var(--gas-blue);font-size:13px}.app-shell{display:flex;min-height:100vh}.sidebar{width:220px;background:#1c2530;color:#fff;padding:24px 16px;display:flex;flex-direction:column;gap:24px}.sidebar-brand{display:flex;align-items:center;gap:10px;font-family:var(--font-display);font-weight:700;font-size:18px}.sidebar-mark{width:32px;height:32px;border-radius:8px;background:var(--flame);display:flex;align-items:center;justify-content:center;font-size:13px}.sidebar-logo{width:32px;height:32px;border-radius:8px;object-fit:contain;background:#fff}.company-logo-preview{width:140px;height:100px;display:flex;align-items:center;justify-content:center;margin:8px 0 12px;padding:8px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.company-logo-preview img{max-width:100%;max-height:100%;object-fit:contain}.nav-link{display:block;padding:10px 12px;color:#b9c2cc;text-decoration:none;border-radius:8px;font-size:14px;margin-bottom:4px}.nav-link:hover{background:#ffffff0f;color:#fff}.nav-link.active{background:var(--flame);color:#fff}.app-main{flex:1;display:flex;flex-direction:column}.topbar{height:60px;background:var(--surface);border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:flex-end;gap:16px;padding:0 24px}.topbar-user{display:flex;align-items:center;gap:9px;min-width:0;padding:5px 11px 5px 6px;color:var(--ink);background:#f8f9fb;border:1px solid var(--border);border-radius:999px}.topbar-user-avatar{display:grid;width:30px;height:30px;flex:0 0 auto;place-items:center;color:#fff;background:var(--gas-blue);border-radius:50%;font-size:11px;font-weight:700}.topbar-user-details{display:flex;min-width:0;flex-direction:column;gap:2px;line-height:1.15}.topbar-user-details strong{max-width:180px;overflow:hidden;font-size:12px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.topbar-user-details>span{color:var(--ink-soft);font-size:10px;text-transform:capitalize}.topbar-actions{display:flex;align-items:center;gap:12px}.language-label{color:var(--ink-soft);font-size:13px}.language-select{width:auto;min-width:92px;padding:7px 28px 7px 10px}.page{padding:28px}.page-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.page-title{font-size:22px;margin-bottom:20px}.page-header .page-title{margin-bottom:0}.dashboard-page-header{margin-bottom:24px}.dashboard-page-header .page-title{margin-bottom:6px}.dashboard-page-header p{margin:0;color:var(--ink-soft);font-size:13px}.dashboard-groups{display:flex;flex-direction:column;gap:26px}.dashboard-group-heading{display:flex;align-items:center;gap:10px;margin-bottom:12px}.dashboard-group-heading h3{margin:0;font-size:15px}.dashboard-group-heading span{color:var(--ink-soft);font-size:11px}.stat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px}.stat-card{position:relative;overflow:hidden;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:17px 18px;border-top:2px solid #F3B69B;box-shadow:0 3px 10px #1c253006;transition:transform .15s ease,box-shadow .15s ease}.stat-card:hover{transform:translateY(-2px);box-shadow:0 8px 18px #1c253012}.stat-card-attention{border-top-color:#e5b764}.stat-label{font-size:12px;color:var(--ink-soft);margin-bottom:9px}.stat-value{font-family:var(--font-display);font-size:clamp(22px,2vw,27px);font-weight:700;line-height:1.15;overflow-wrap:anywhere}.inline-form,.search-bar{display:flex;flex-wrap:wrap;gap:10px;background:var(--surface);border:1px solid var(--border);padding:16px;border-radius:var(--radius);margin-bottom:16px}.inline-form input,.inline-form select{flex:1;min-width:160px}.search-bar input{flex:1}.filter-bar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--border);padding:12px 16px;border-radius:var(--radius);margin-bottom:16px}.filter-bar select,.filter-bar input{min-width:200px}.data-table{width:100%;border-collapse:collapse;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}.data-table th{text-align:left;font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:var(--ink-soft);padding:12px 16px;border-bottom:1px solid var(--border)}.data-table td{padding:12px 16px;border-bottom:1px solid var(--border);font-size:14px}.data-table tr:last-child td{border-bottom:none}.product-price-history-cell{padding:14px 16px!important;background:var(--bg)}.product-details-table-scroll{width:100%;overflow-x:auto;border-radius:var(--radius)}.product-details-table{min-width:1040px}.product-details-table th:last-child,.product-details-table td:last-child{white-space:nowrap}.product-row-actions{display:flex;align-items:center;gap:6px;white-space:nowrap}.product-row-actions .btn-small{flex:0 0 auto;margin:0}.product-price-details{padding:16px;border:1px solid var(--border);border-left:3px solid var(--flame);border-radius:var(--radius);background:var(--surface)}.product-price-details .page-header{margin-bottom:12px}.product-price-details h3{margin:0;font-size:16px}.product-price-details .data-table{border-radius:6px}.product-price-history-scroll{max-height:310px;overflow-y:auto}.product-price-history-scroll .data-table thead th{position:sticky;top:0;z-index:1;background:var(--surface)}.product-latest-price-row{background:#fff8f1}.product-latest-price-value{font-weight:700!important;color:var(--flame-dark)}.invoice-rate-field{min-width:0}.invoice-rate-field input{width:100%}.invoice-rate-field label{display:block;margin-bottom:7px;color:var(--ink-soft);font-size:12px;font-weight:600}.invoice-price-effective{display:block;min-height:14px;color:var(--ink-soft);font-size:10px}.invoices-page-header{align-items:flex-start;margin-bottom:18px}.invoices-page-header .page-title{margin-bottom:6px}.invoices-page-header p{margin:0;color:var(--ink-soft);font-size:13px}.invoices-header-actions{display:flex;align-items:center;gap:10px}.invoices-header-actions>button{white-space:nowrap}.invoice-pending-count{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;color:var(--ink-soft);background:#eef1f4;border:1px solid var(--border);border-radius:999px;font-size:12px;white-space:nowrap}.invoice-pending-count strong{color:var(--ink);font-size:14px}.invoice-pending-count.has-pending{color:#8a5700;background:#fff5de;border-color:#f3d9a2}.invoice-pending-count.has-pending strong{color:#8a5700}.invoice-create-card{margin-bottom:18px;padding:24px;background:var(--surface);border:1px solid var(--border);border-radius:14px;box-shadow:0 8px 24px #1c25300a}.invoice-create-heading{margin-bottom:20px}.invoice-create-heading h3{margin:0 0 5px;font-size:17px}.invoice-create-heading p,.invoice-create-section-heading span{margin:0;color:var(--ink-soft);font-size:12px}.invoice-create-section+.invoice-create-section{margin-top:22px;padding-top:20px;border-top:1px solid var(--border)}.invoice-create-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.invoice-create-section-heading h4{margin:0 0 4px;font-size:15px}.invoice-details-fields,.invoice-charge-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.invoice-charge-fields{grid-template-columns:repeat(4,minmax(0,1fr))}.invoice-form-field{display:flex;min-width:0;flex-direction:column;gap:7px}.invoice-form-field label{color:var(--ink-soft);font-size:12px;font-weight:600}.invoice-tax-control{display:flex;align-items:center;gap:8px;min-width:0}.invoice-tax-options{display:flex;flex:0 0 auto;align-items:center;gap:10px}.invoice-tax-options label{display:inline-flex;align-items:center;gap:5px;cursor:pointer}.invoice-tax-options input[type=checkbox]{width:15px;min-height:15px;margin:0;accent-color:var(--flame)}.invoice-tax-amount{flex:1;min-width:0}.invoice-form-field input,.invoice-form-field select,.invoice-rate-field input{width:100%;min-height:42px}.invoice-form-field input:focus,.invoice-form-field select:focus,.invoice-rate-field input:focus{outline:2px solid rgba(232,98,44,.16);border-color:var(--flame)}.invoice-items{display:flex;flex-direction:column;gap:10px}.invoice-item-row{display:grid;grid-template-columns:minmax(180px,2fr) repeat(2,minmax(110px,1fr)) minmax(130px,1fr) auto;align-items:start;gap:12px;padding:14px;background:#fafbfc;border:1px solid var(--border);border-radius:10px}.invoice-item-amount strong{display:flex;align-items:center;min-height:42px;padding:0 12px;color:var(--ink);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);font-size:14px;white-space:nowrap}.invoice-add-item{margin:0}.invoice-remove-item{align-self:center;margin:0}.invoice-grand-total{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px;padding:16px 18px;color:var(--ink);background:#fff8f1;border:1px solid #F5D7C8;border-radius:10px}.invoice-grand-total span{color:var(--ink-soft);font-size:13px}.invoice-grand-total strong{color:var(--flame-dark);font-family:var(--font-display);font-size:22px}.invoice-create-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px;padding-top:18px;border-top:1px solid var(--border)}.invoice-create-actions button{min-width:138px}.invoice-search-bar{display:grid;grid-template-columns:minmax(240px,2fr) repeat(3,minmax(130px,1fr)) auto;align-items:end;gap:12px;margin-bottom:16px;padding:16px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}.invoice-search-input,.invoice-search-field{display:flex;min-width:0;flex-direction:column;gap:7px}.invoice-search-input label,.invoice-search-field label{color:var(--ink-soft);font-size:12px;font-weight:600}.invoice-search-input input,.invoice-search-field input,.invoice-search-field select{width:100%;min-height:42px}.invoice-search-bar>button{min-height:42px;padding:9px 18px}.invoice-table-card{overflow:hidden;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}.invoice-table-summary{display:flex;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid var(--border)}.invoice-table-summary strong{font-size:14px}.invoice-table-summary span{color:var(--ink-soft);font-size:12px}.invoice-table-scroll{overflow-x:auto}.invoice-table{min-width:1040px;border:0;border-radius:0}.invoice-table th{background:#fafbfc}.invoice-table tbody tr{transition:background-color .15s ease}.invoice-table tbody tr:hover{background:#fff9f5}.invoice-table td:last-child{white-space:nowrap}.invoice-detail-modal{display:flex;flex-direction:column;width:min(720px,calc(100vw - 32px));max-width:720px;max-height:min(88vh,820px);padding:0;overflow:hidden;border:1px solid rgba(28,37,48,.08);border-radius:16px}.invoice-modal-header{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid var(--border)}.invoice-modal-eyebrow,.invoice-detail-label{display:block;margin-bottom:5px;color:var(--ink-soft);font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase}.invoice-modal-header h3{margin:0;font-size:20px}.invoice-modal-close{display:grid;width:36px;height:36px;flex:0 0 auto;place-items:center;padding:0;color:var(--ink-soft);background:transparent;border:1px solid var(--border);border-radius:50%;font-size:24px;font-weight:400;line-height:1}.invoice-modal-close:hover{color:var(--ink);background:var(--bg)}.invoice-modal-scroll{min-height:0;overflow-y:auto;padding:20px 24px}.invoice-customer-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;margin-bottom:22px;padding:16px;background:var(--bg);border:1px solid var(--border);border-radius:12px}.invoice-customer-primary{display:flex;min-width:0;flex-direction:column;gap:4px}.invoice-customer-primary strong{margin-bottom:2px;font-size:15px}.invoice-customer-primary>span:not(.invoice-detail-label){overflow-wrap:anywhere;color:var(--ink-soft);font-size:13px}.invoice-date-card{min-width:145px;padding-left:20px;border-left:1px solid var(--border)}.invoice-date-card strong{font-size:14px}.invoice-modal-section{margin-bottom:18px}.invoice-modal-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:8px}.invoice-modal-section-heading h4{margin:0;font-size:15px}.invoice-modal-section-heading>span{color:var(--ink-soft);font-size:12px}.invoice-detail-table-wrap{overflow-x:auto}.invoice-detail-table{width:100%;border-collapse:collapse}.invoice-detail-table th,.invoice-detail-table td{padding:11px 8px;border-bottom:1px solid var(--border);font-size:13px}.invoice-detail-table th{color:var(--ink-soft);background:#fafbfc;font-size:11px;font-weight:600;letter-spacing:.04em;text-align:left;text-transform:uppercase}.invoice-detail-table th:first-child,.invoice-detail-table td:first-child{padding-left:12px}.invoice-detail-table th:last-child,.invoice-detail-table td:last-child{padding-right:12px}.invoice-detail-table tbody tr:last-child td{border-bottom:0}.invoice-detail-qty{width:64px;text-align:center!important}.invoice-detail-number{text-align:right!important;white-space:nowrap}.invoice-totals-card{display:flex;flex-direction:column;gap:10px;margin-left:auto;padding:16px;width:min(100%,360px);background:var(--bg);border:1px solid var(--border);border-radius:12px}.invoice-total-row{display:flex;justify-content:space-between;gap:18px;color:var(--ink-soft);font-size:13px}.invoice-total-row>:last-child{color:var(--ink);text-align:right}.invoice-total-main{margin-top:2px;padding-top:11px;border-top:1px solid var(--border);font-size:14px}.invoice-total-main strong{color:var(--ink)}.invoice-total-outstanding,.invoice-total-outstanding strong{color:var(--bad)}.invoice-payments-section{margin-top:22px}.invoice-modal-actions{display:flex;flex:0 0 auto;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;padding:14px 24px;background:var(--surface);border-top:1px solid var(--border)}.invoice-modal-actions button{min-height:40px;padding:9px 13px;white-space:nowrap}.invoice-modal-actions .invoice-modal-secondary{color:var(--flame-dark);background:#fff4ee}.invoice-modal-actions .invoice-modal-secondary:hover{background:#ffe8dc}.invoice-modal-actions .invoice-modal-dismiss{background:transparent}.payments-page-header{align-items:flex-start;margin-bottom:18px}.payments-page-header .page-title{margin-bottom:6px}.payments-page-header p{margin:0;color:var(--ink-soft);font-size:13px}.payments-header-actions{display:flex;align-items:center;gap:9px}.payments-header-actions>button{white-space:nowrap}.payment-status-count{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;color:var(--ink-soft);background:#eef1f4;border:1px solid var(--border);border-radius:999px;font-size:11px;white-space:nowrap}.payment-status-count strong{color:var(--ink);font-size:13px}.payment-status-count.is-pending{color:#9a3434;background:#fff0ef;border-color:#f1d2d0}.payment-status-count.is-pending strong{color:#9a3434}.payment-status-count.is-partial{color:#8a5700;background:#fff5de;border-color:#f3d9a2}.payment-status-count.is-partial strong{color:#8a5700}.payment-summary-cards{grid-template-columns:repeat(2,minmax(0,1fr));max-width:760px;margin:0 0 18px}.payment-summary-cards .summary-card{text-align:left;padding:18px 20px}.payment-summary-cards .summary-value{font-size:27px}.payment-record-card,.payment-filter-card{margin-bottom:16px;padding:22px 24px;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:0 6px 18px #1c253009}.payment-record-heading{margin-bottom:18px}.payment-record-heading h3{margin:0 0 4px;font-size:16px}.payment-record-heading p,.payment-filter-heading span{margin:0;color:var(--ink-soft);font-size:12px}.payment-record-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.payment-form-field{display:flex;min-width:0;flex-direction:column;gap:7px}.payment-form-field label,.payment-filter-fields label>span{color:var(--ink-soft);font-size:12px;font-weight:600}.payment-form-field input,.payment-form-field select,.payment-filter-fields input,.payment-filter-fields select{width:100%;min-height:42px}.payment-form-field input:focus,.payment-form-field select:focus,.payment-filter-fields input:focus,.payment-filter-fields select:focus{outline:2px solid rgba(232,98,44,.16);border-color:var(--flame)}.payment-invoice-field,.payment-reference-field{grid-column:span 2}.payment-record-actions,.payment-filter-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px;padding-top:16px;border-top:1px solid var(--border)}.payment-record-actions button,.payment-filter-actions button{min-width:138px}.payment-filter-card{padding:18px 20px}.payment-filter-heading,.payment-table-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.payment-filter-heading{margin-bottom:14px}.payment-filter-heading>div{display:flex;flex-direction:column;gap:4px}.payment-filter-heading strong,.payment-table-heading strong{font-size:14px}.payment-record-count,.payment-table-heading span{color:var(--ink-soft);font-size:12px}.payment-filter-fields{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.payment-filter-fields label{display:flex;min-width:0;flex-direction:column;gap:7px}.payment-table-card{overflow:hidden;margin-bottom:18px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}.payment-table-heading{padding:14px 16px;border-bottom:1px solid var(--border)}.payment-table-scroll{overflow-x:auto}.payment-table{min-width:850px;border:0;border-radius:0}.payment-table th{background:#fafbfc}.payment-table tbody tr{transition:background-color .15s ease}.payment-table tbody tr:hover{background:#fff9f5}.payment-outstanding-card{margin-top:22px}.delivery-actions{white-space:nowrap}.empty-row{text-align:center;color:var(--ink-soft);padding:24px}.customers-page-header{align-items:flex-start;margin-bottom:18px}.customers-page-header .page-title{margin-bottom:6px}.customers-page-header p{margin:0;color:var(--ink-soft);font-size:13px}.customer-form{margin-bottom:18px;padding:24px;background:var(--surface);border:1px solid var(--border);border-radius:14px;box-shadow:0 8px 24px #1c25300a}.customer-form-section+.customer-form-section{margin-top:22px;padding-top:20px;border-top:1px solid var(--border)}.customer-form-section-heading{margin-bottom:14px}.customer-form-section-heading h3{margin:0 0 4px;font-size:15px}.customer-form-section-heading p{margin:0;color:var(--ink-soft);font-size:12px}.customer-form-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.customer-form-fields>div{display:flex;min-width:0;flex-direction:column;gap:7px}.customer-form-fields label{color:var(--ink-soft);font-size:12px;font-weight:600}.customer-form-fields input,.customer-form-fields select{width:100%;min-height:42px}.customer-form-fields input:focus,.customer-form-fields select:focus{outline:2px solid rgba(232,98,44,.16);border-color:var(--flame)}.customer-form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px;padding-top:18px;border-top:1px solid var(--border)}.customer-form-actions button{min-width:132px}.customer-search-bar{display:flex;align-items:center;gap:10px;margin-bottom:16px;padding:12px 14px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}.customer-search-input{position:relative;flex:1;min-width:0}.customer-search-input input{width:100%;min-height:42px;padding-right:58px}.customer-search-input input:focus{outline:2px solid rgba(232,98,44,.16);border-color:var(--flame)}.customer-search-bar>button{min-height:42px;padding:9px 20px}.customer-search-clear{position:absolute;top:50%;right:9px;padding:4px 6px;transform:translateY(-50%);background:transparent;color:var(--ink-soft);font-size:12px}.customer-search-clear:hover{background:transparent;color:var(--flame-dark)}.customer-table-card{overflow:hidden;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}.customer-table-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid var(--border)}.customer-table-summary strong{font-size:14px}.customer-table-summary span{color:var(--ink-soft);font-size:12px}.customer-table-scroll{overflow-x:auto}.customer-table{min-width:900px;border:0;border-radius:0}.customer-table th{background:#fafbfc}.customer-table tbody tr{transition:background-color .15s ease}.customer-table tbody tr:hover{background:#fff9f5}.customer-table td:last-child{width:1%}.customer-row-actions{display:flex;align-items:center;gap:5px;white-space:nowrap}.customer-row-actions .btn-small{margin:0}.delivery-staff-page-header{align-items:flex-start;margin-bottom:18px}.delivery-staff-page-header .page-title{margin-bottom:6px}.delivery-staff-page-header p{margin:0;color:var(--ink-soft);font-size:13px}.delivery-staff-form{margin-bottom:18px;padding:22px 24px;background:var(--surface);border:1px solid var(--border);border-radius:14px;box-shadow:0 8px 24px #1c25300a}.delivery-staff-form-heading{margin-bottom:18px}.delivery-staff-form-heading h3{margin:0 0 4px;font-size:16px}.delivery-staff-form-heading p{margin:0;color:var(--ink-soft);font-size:12px}.delivery-staff-form-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.delivery-staff-form-fields>div{display:flex;min-width:0;flex-direction:column;gap:7px}.delivery-staff-form-fields label{color:var(--ink-soft);font-size:12px;font-weight:600}.delivery-staff-form-fields input,.delivery-staff-form-fields select{width:100%;min-height:42px}.delivery-staff-form-fields input:focus,.delivery-staff-form-fields select:focus{outline:2px solid rgba(232,98,44,.16);border-color:var(--flame)}.delivery-staff-form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px;padding-top:16px;border-top:1px solid var(--border)}.delivery-staff-form-actions button{min-width:132px}.delivery-staff-search{display:flex;align-items:center;gap:10px;margin-bottom:16px;padding:12px 14px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}.delivery-staff-search input{flex:1;min-width:0;min-height:42px}.delivery-staff-search input:focus{outline:2px solid rgba(232,98,44,.16);border-color:var(--flame)}.delivery-staff-search button{min-height:42px;padding:9px 18px}.delivery-staff-table-card{overflow:hidden;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}.delivery-staff-table-summary{display:flex;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid var(--border)}.delivery-staff-table-summary strong{font-size:14px}.delivery-staff-table-summary span{color:var(--ink-soft);font-size:12px}.delivery-staff-table-scroll{overflow-x:auto}.delivery-staff-table{min-width:680px;border:0;border-radius:0}.delivery-staff-table th{background:#fafbfc}.delivery-staff-table tbody tr{transition:background-color .15s ease}.delivery-staff-table tbody tr:hover{background:#fff9f5}.delivery-staff-table td:last-child{width:1%}.delivery-staff-row-actions{display:flex;align-items:center;gap:5px;white-space:nowrap}.delivery-staff-row-actions .btn-small{margin:0}.bookings-page-header{align-items:flex-start;margin-bottom:18px}.bookings-page-header .page-title{margin-bottom:6px}.bookings-page-header p{margin:0;color:var(--ink-soft);font-size:13px}.bookings-page-header>button{white-space:nowrap}.booking-entry-card,.booking-filters{margin-bottom:16px;padding:20px 22px;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:0 6px 18px #1c253009}.booking-card-heading{margin-bottom:18px}.booking-card-heading h3{margin:0 0 4px;font-size:16px}.booking-card-heading p{margin:0;color:var(--ink-soft);font-size:12px}.booking-entry-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.booking-field{display:flex;min-width:0;flex-direction:column;gap:7px}.booking-field label,.booking-filter-field label{color:var(--ink-soft);font-size:12px;font-weight:600}.booking-field input,.booking-field select,.booking-filter-field input,.booking-filter-field select{width:100%;min-height:42px}.booking-field input:focus,.booking-field select:focus,.booking-filter-field input:focus,.booking-filter-field select:focus{outline:2px solid rgba(232,98,44,.16);border-color:var(--flame)}.booking-customer-field,.booking-address-field{grid-column:span 2}.booking-entry-actions{display:flex;justify-content:flex-end;margin-top:18px;padding-top:16px;border-top:1px solid var(--border)}.booking-entry-actions button{min-width:150px}.booking-filters{padding:18px 20px}.booking-filter-fields{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.booking-filter-field{display:flex;min-width:0;flex-direction:column;gap:7px}.booking-filter-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px;padding-top:14px;border-top:1px solid var(--border)}.booking-table-card{overflow:hidden;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}.booking-table-summary{display:flex;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid var(--border)}.booking-table-summary strong{font-size:14px}.booking-table-summary span{color:var(--ink-soft);font-size:12px}.booking-table-scroll{overflow-x:auto}.booking-table{min-width:720px;border:0;border-radius:0}.booking-table th{background:#fafbfc}.booking-table tbody tr{transition:background-color .15s ease}.booking-table tbody tr:hover{background:#fff9f5}.booking-table td:last-child{width:1%;white-space:nowrap}.delivery-management-header{align-items:flex-start;margin-bottom:18px}.delivery-management-header .page-title{margin-bottom:6px}.delivery-management-header p{margin:0;color:var(--ink-soft);font-size:13px}.delivery-management-actions{display:flex;align-items:center;gap:12px}.delivery-management-actions>button{white-space:nowrap}.delivery-assignment-count{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;color:var(--ink-soft);background:#eef1f4;border:1px solid var(--border);border-radius:999px;font-size:12px}.delivery-assignment-count strong{color:var(--ink);font-size:14px}.delivery-assignment-count.has-unassigned{color:#8a5700;background:#fff5de;border-color:#f3d9a2}.delivery-assignment-count.has-unassigned strong{color:#8a5700}.delivery-assignment-form,.delivery-filter-card{margin-bottom:16px;padding:20px 22px;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:0 6px 18px #1c253009}.delivery-assignment-heading{margin-bottom:18px}.delivery-assignment-heading h3{margin:0 0 4px;font-size:16px}.delivery-assignment-heading p,.delivery-filter-heading span{margin:0;color:var(--ink-soft);font-size:12px}.delivery-assignment-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.delivery-assignment-fields>div{display:flex;min-width:0;flex-direction:column;gap:7px}.delivery-assignment-fields label,.delivery-filter-fields label>span{color:var(--ink-soft);font-size:12px;font-weight:600}.delivery-assignment-fields input,.delivery-assignment-fields select{width:100%;min-height:42px}.delivery-assignment-fields input:focus,.delivery-assignment-fields select:focus,.delivery-filter-fields input:focus,.delivery-filter-fields select:focus{outline:2px solid rgba(232,98,44,.16);border-color:var(--flame)}.delivery-assignment-form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px;padding-top:16px;border-top:1px solid var(--border)}.delivery-assignment-form-actions button{min-width:140px}.delivery-no-unassigned{display:flex;flex-direction:column;gap:4px;margin-bottom:16px;padding:14px 18px;color:var(--ink);background:#f0f7f2;border:1px solid #CDE5D3;border-radius:var(--radius)}.delivery-no-unassigned strong{color:#286341;font-size:13px}.delivery-no-unassigned span{color:var(--ink-soft);font-size:12px}.delivery-filter-card{padding:16px 18px}.delivery-filter-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:12px}.delivery-filter-heading strong,.delivery-table-summary strong{font-size:14px}.delivery-filter-fields{display:flex;flex-wrap:wrap;gap:12px}.delivery-filter-fields label{display:flex;min-width:190px;flex:1;flex-direction:column;gap:7px}.delivery-filter-fields input,.delivery-filter-fields select{min-height:42px}.delivery-table-card{overflow:hidden;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}.delivery-table-summary{display:flex;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid var(--border)}.delivery-table-summary span{color:var(--ink-soft);font-size:12px}.delivery-table-scroll{overflow-x:auto}.delivery-table{min-width:1060px;border:0;border-radius:0}.delivery-table th{background:#fafbfc}.delivery-table tbody tr{transition:background-color .15s ease}.delivery-table tbody tr:hover{background:#fff9f5}.delivery-row-actions{display:flex;align-items:center;gap:5px;white-space:nowrap}.delivery-row-actions .btn-small{margin:0}.badge{display:inline-block;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:600}.badge-active{background:#2e8b571f;color:var(--good)}.badge-inactive{background:#c43d3d1f;color:var(--bad)}.badge-good{background:#2e8b571f;color:var(--good)}.badge-bad{background:#c43d3d1f;color:var(--bad)}.badge-warn{background:#c97a001f;color:var(--warn)}.badge-info{background:#2b6ca31f;color:var(--gas-blue)}.alert-error{background:#c43d3d1a;color:var(--bad);padding:10px 14px;border-radius:var(--radius);font-size:13px;margin-bottom:14px}.alert-success{background:#2e8b571a;color:var(--good);padding:10px 14px;border-radius:var(--radius);font-size:13px;margin-bottom:14px}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:1000}.camera-modal-overlay{z-index:1100}.modal-content{position:relative;z-index:1;background:var(--surface);border-radius:var(--radius);padding:24px;max-width:600px;max-height:80vh;overflow-y:auto;box-shadow:0 20px 60px #0000004d}.modal-content h3{margin-top:0;margin-bottom:16px}.delivery-complete-modal,.delivery-camera-modal{width:min(560px,calc(100vw - 32px));max-width:560px;max-height:min(90vh,820px);padding:26px}.delivery-complete-heading{margin-bottom:18px}.delivery-complete-heading h3,.delivery-camera-heading h3{margin:0 0 5px;font-size:21px}.delivery-complete-heading p,.delivery-camera-heading p{margin:0;color:var(--ink-soft);font-size:13px}.delivery-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:14px;margin-bottom:20px;border:1px solid var(--border);border-radius:12px;background:var(--surface-muted, #f7f8fa)}.delivery-summary>div{min-width:0;display:flex;flex-direction:column;gap:5px}.delivery-summary span,.delivery-photo-heading span{color:var(--ink-soft);font-size:11px}.delivery-summary strong{overflow-wrap:anywhere;font-size:13px}.delivery-complete-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.delivery-complete-field{display:flex;flex-direction:column;gap:6px}.delivery-complete-field label{color:var(--ink-soft);font-size:12px;font-weight:600}.delivery-complete-field input{min-width:0;width:100%;padding:10px 12px}.delivery-remarks-field,.delivery-photo-field{grid-column:1 / -1}.delivery-photo-field{padding:14px;border:1px solid var(--border);border-radius:12px}.delivery-photo-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.delivery-photo-heading>div{display:flex;flex-direction:column;gap:4px}.delivery-photo-preview{display:block;width:100%;max-height:220px;margin-top:12px;border-radius:9px;object-fit:cover}.delivery-photo-empty{display:grid;min-height:58px;margin-top:12px;place-items:center;border:1px dashed var(--border);border-radius:9px;color:var(--ink-soft);font-size:12px}.delivery-complete-actions,.delivery-camera-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px;padding-top:16px;border-top:1px solid var(--border)}.delivery-camera-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.delivery-camera-switch{flex-shrink:0}.delivery-camera-preview{display:block;width:100%;max-height:60vh;aspect-ratio:4 / 3;border-radius:12px;background:#101419;object-fit:cover}.delivery-camera-modal .alert-error{margin-bottom:12px}.modal-form{display:flex;flex-direction:column;gap:16px}.modal-form label{font-weight:600;color:var(--ink-soft);font-size:12px}.modal-form input{padding:10px 12px}.modal-form>div{display:flex;flex-direction:column;gap:6px}.modal-form button{margin-top:8px}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;background:var(--surface);border:1px solid var(--border);padding:16px;border-radius:var(--radius);margin-bottom:16px}.form-grid>div{display:flex;flex-direction:column;gap:4px}.form-grid label{font-size:12px;color:var(--ink-soft);font-weight:600}.form-grid input,.form-grid select{padding:10px 12px}.form-actions{grid-column:1 / -1;display:flex;gap:10px;margin-top:10px}.form-actions button{flex:0}.product-form-header{align-items:flex-start;margin-bottom:18px}.product-form-header .page-title{margin-bottom:6px}.product-form-header p{margin:0;color:var(--ink-soft);font-size:14px}.product-form-card{max-width:980px;padding:26px 30px 22px;background:var(--surface);border:1px solid var(--border);border-radius:14px;box-shadow:0 8px 24px #1c25300a}.product-form-section+.product-form-section{margin-top:24px;padding-top:22px;border-top:1px solid var(--border)}.product-form-section-heading{margin-bottom:16px}.product-form-section-heading h3{margin:0 0 4px;font-size:15px}.product-form-section-heading p{margin:0;color:var(--ink-soft);font-size:12px}.product-form-fields{display:grid;gap:16px 20px}.product-form-fields-two{grid-template-columns:repeat(2,minmax(0,1fr))}.product-form-fields>div{display:flex;min-width:0;flex-direction:column;gap:7px}.product-form-fields label{color:var(--ink-soft);font-size:12px;font-weight:600}.product-form-fields input,.product-form-fields select{width:100%;min-height:42px}.product-form-fields input:focus,.product-form-fields select:focus{outline:2px solid rgba(232,98,44,.18);border-color:var(--flame)}.product-form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:26px;padding-top:18px;border-top:1px solid var(--border)}.product-form-actions button{min-width:124px}.inventory-page-header{align-items:flex-start;margin-bottom:18px}.inventory-page-header .page-title{margin-bottom:6px}.inventory-page-header p,.inventory-section-header p,.inventory-form-heading p{margin:0;color:var(--ink-soft);font-size:13px}.inventory-summary-cards{margin:0 0 28px}.inventory-summary-cards .summary-card{text-align:left;padding:18px 20px}.inventory-summary-cards .summary-value{font-size:30px}.inventory-section-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 14px}.inventory-section-header h3,.inventory-form-heading h3{margin:0 0 5px;font-size:17px}.inventory-section-header button{white-space:nowrap}.inventory-movement-form{margin-bottom:20px;padding:22px 24px;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:0 6px 18px #1c25300a}.inventory-form-heading{margin-bottom:20px}.inventory-form-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:16px}.inventory-field{display:flex;min-width:0;flex-direction:column;gap:7px}.inventory-field label{color:var(--ink-soft);font-size:12px;font-weight:600}.inventory-field input,.inventory-field select{width:100%;min-height:42px}.inventory-field-hint{min-height:14px;color:var(--ink-soft);font-size:11px}.inventory-remarks-field{grid-column:1 / -1}.inventory-form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px;padding-top:16px;border-top:1px solid var(--border)}.inventory-form-actions button{min-width:136px}.inventory-table-scroll{width:100%;overflow-x:auto;border-radius:var(--radius)}.inventory-table{min-width:720px}.inventory-table tbody tr:hover{background:#fafbfc}.customer-detail-modal{display:flex;flex-direction:column;width:min(680px,calc(100vw - 32px));max-width:680px;max-height:min(88vh,820px);padding:0;overflow:hidden;border:1px solid rgba(28,37,48,.08);border-radius:16px}.customer-detail-header{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:16px;padding:22px 24px;background:linear-gradient(120deg,#fff8f3,#fff 72%);border-bottom:1px solid var(--border)}.customer-detail-eyebrow{display:block;margin-bottom:5px;color:var(--ink-soft);font-size:11px;font-weight:600;letter-spacing:.07em;text-transform:uppercase}.customer-detail-header h3{margin:0;font-size:22px}.customer-detail-header .badge{flex:0 0 auto;text-transform:capitalize}.customer-detail-content{min-height:0;overflow-y:auto;padding:20px 24px}.customer-detail-section+.customer-detail-section{margin-top:20px;padding-top:18px;border-top:1px solid var(--border)}.customer-detail-section h4{margin:0 0 11px;font-size:14px}.customer-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0}.customer-detail-item{min-width:0;padding:11px 12px;background:#f8f9fb;border:1px solid #EDF0F3;border-radius:9px}.customer-detail-item-wide{grid-column:1 / -1}.customer-detail-item dt{margin-bottom:4px;color:var(--ink-soft);font-size:11px;font-weight:600}.customer-detail-item dd{margin:0;color:var(--ink);font-size:13px;line-height:1.45;overflow-wrap:anywhere}.customer-detail-footer{display:flex;flex:0 0 auto;justify-content:flex-end;padding:12px 24px;background:var(--surface);border-top:1px solid var(--border)}.customer-detail-footer button{min-width:84px}.btn-small{padding:6px 10px;font-size:12px;border:none;border-radius:6px;background:var(--flame);color:#fff;cursor:pointer;margin-right:4px}.btn-small:hover{background:var(--flame-dark)}.btn-danger{background:var(--bad)}.btn-danger:hover{background:#b23131}.btn-secondary{background:var(--ink-soft);color:#fff}.btn-secondary:hover{background:var(--ink)}.summary-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0}.summary-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px;text-align:center;border-left:4px solid var(--flame)}.summary-label{font-size:12px;color:var(--ink-soft);margin-bottom:8px}.summary-value{font-family:var(--font-display);font-size:28px;font-weight:700}@media (max-width: 900px){.report-subnav{grid-template-columns:repeat(3,minmax(0,1fr))}.summary-cards,.report-financial-metrics,.report-activity-metrics,.inventory-form-fields,.customer-form-fields,.delivery-staff-form-fields,.booking-entry-fields,.booking-filter-fields,.delivery-assignment-fields,.invoice-details-fields,.invoice-charge-fields,.invoice-search-bar,.payment-record-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.payment-filter-fields{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width: 560px){.customer-detail-modal{width:calc(100vw - 24px);max-height:92vh}.customer-detail-header{padding:18px 16px}.customer-detail-header h3{font-size:19px}.customer-detail-content{padding:16px}.customer-details{grid-template-columns:1fr;gap:7px}.customer-detail-item-wide{grid-column:auto}.customer-detail-section+.customer-detail-section{margin-top:16px;padding-top:15px}.customer-detail-footer{padding:12px 16px}.invoice-detail-modal{width:calc(100vw - 24px);max-height:92vh}.invoice-modal-header,.invoice-modal-scroll{padding:16px}.invoice-customer-card{grid-template-columns:1fr;gap:14px;padding:14px}.invoice-date-card{min-width:0;padding:12px 0 0;border-top:1px solid var(--border);border-left:0}.invoice-totals-card{width:100%}.invoice-modal-actions{display:grid;grid-template-columns:1fr 1fr;padding:12px 16px}.invoice-modal-actions button{width:100%;padding:9px 8px;font-size:12px}.delivery-complete-modal,.delivery-camera-modal{padding:20px 16px}.delivery-summary{grid-template-columns:1fr 1fr}.delivery-summary>div:last-child{grid-column:1 / -1}.delivery-camera-heading{align-items:flex-start}.delivery-camera-switch{padding:8px 10px;white-space:nowrap}.delivery-complete-actions,.delivery-camera-actions{flex-direction:column-reverse}.delivery-complete-actions button,.delivery-camera-actions button{width:100%}.summary-cards{grid-template-columns:1fr}.reports-page-header{align-items:flex-start}.report-date-filter{padding:14px}.report-date-filter-heading{align-items:flex-start}.report-date-fields{align-items:stretch;flex-direction:column}.report-date-fields label{width:100%}.report-subnav{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.report-subnav .btn-submenu{padding:8px 6px;font-size:11px}.report-section{padding:16px}.report-header-row{align-items:flex-start;flex-direction:column}.report-actions{width:100%}.report-actions button{flex:1}.report-financial-metrics,.report-activity-metrics{grid-template-columns:1fr}.report-metric-group-heading{align-items:flex-start;flex-direction:column;gap:3px}.customers-page-header{align-items:flex-start;gap:12px}.customers-page-header>button{padding:9px 12px;white-space:nowrap}.delivery-staff-page-header{align-items:flex-start;gap:12px}.delivery-staff-page-header>button{padding:9px 12px;white-space:nowrap}.delivery-staff-form{padding:18px 16px}.delivery-staff-form-fields{grid-template-columns:1fr}.delivery-staff-form-actions{flex-direction:column-reverse}.delivery-staff-form-actions button{width:100%}.delivery-staff-search{align-items:stretch;flex-direction:column}.delivery-staff-search button{width:100%}.bookings-page-header{align-items:flex-start;gap:12px}.bookings-page-header>button{padding:9px 12px}.booking-entry-card,.booking-filters{padding:18px 16px}.booking-entry-fields,.booking-filter-fields{grid-template-columns:1fr}.booking-customer-field,.booking-address-field{grid-column:auto}.booking-entry-actions,.booking-filter-actions{flex-direction:column-reverse}.booking-entry-actions button,.booking-filter-actions button{width:100%}.delivery-management-header{align-items:flex-start;gap:12px}.delivery-management-actions{align-items:flex-end;flex-direction:column-reverse;gap:8px}.delivery-management-actions>button{padding:9px 12px}.delivery-assignment-form,.delivery-filter-card{padding:18px 16px}.delivery-assignment-fields{grid-template-columns:1fr}.delivery-assignment-form-actions{flex-direction:column-reverse}.delivery-assignment-form-actions button{width:100%}.delivery-filter-heading{align-items:flex-start;flex-direction:column;gap:4px}.delivery-filter-fields{flex-direction:column}.delivery-filter-fields label{min-width:0}.invoices-page-header{align-items:flex-start;gap:12px}.invoices-header-actions{align-items:flex-end;flex-direction:column-reverse;gap:8px}.invoices-header-actions>button{padding:9px 12px}.invoice-create-card{padding:18px 16px}.invoice-details-fields,.invoice-charge-fields,.invoice-search-bar{grid-template-columns:1fr}.invoice-item-row{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-item-product{grid-column:1 / -1}.invoice-remove-item{justify-self:end}.invoice-create-actions{flex-direction:column-reverse}.invoice-create-actions button{width:100%}.invoice-search-bar>button{width:100%}.payments-page-header{align-items:flex-start;gap:12px}.payments-header-actions{align-items:flex-end;flex-direction:column-reverse;gap:7px}.payments-header-actions>button{padding:9px 12px}.payment-summary-cards{grid-template-columns:1fr}.payment-record-card,.payment-filter-card{padding:18px 16px}.payment-record-fields,.payment-filter-fields{grid-template-columns:1fr}.payment-invoice-field,.payment-reference-field{grid-column:auto}.payment-record-actions,.payment-filter-actions{flex-direction:column-reverse}.payment-record-actions button,.payment-filter-actions button{width:100%}.customer-form{padding:18px 16px}.customer-form-fields{grid-template-columns:1fr}.customer-form-actions{flex-direction:column-reverse}.customer-form-actions button{width:100%}.customer-search-bar{align-items:stretch;flex-direction:column}.customer-search-bar>button{width:100%}.inventory-summary-cards{margin-bottom:22px}.inventory-section-header{align-items:flex-start}.inventory-section-header button{padding:9px 12px}.inventory-movement-form{padding:18px 16px}.inventory-form-fields{grid-template-columns:1fr}.inventory-remarks-field{grid-column:auto}.inventory-form-actions{flex-direction:column-reverse}.inventory-form-actions button{width:100%}.product-form-card{padding:20px}.product-form-fields-two{grid-template-columns:1fr}.product-form-actions{flex-direction:column-reverse}.product-form-actions button{width:100%}.topbar{gap:8px;padding:0 12px}.topbar-user,.language-label{display:none}.topbar-actions{gap:8px}.language-select{min-width:82px;padding:6px 22px 6px 8px}}.report-hierarchy{display:flex;flex-direction:column;gap:20px;margin-top:20px}.reports-page-header{align-items:flex-start;margin-bottom:18px}.reports-page-header .page-title{margin-bottom:6px}.reports-page-header p{margin:0;color:var(--ink-soft);font-size:13px}.report-date-filter{margin-bottom:16px;padding:16px 18px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}.report-date-filter-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.report-date-filter-heading>div{display:flex;flex-direction:column;gap:4px}.report-date-filter-heading strong{font-size:14px}.report-date-filter-heading span{color:var(--ink-soft);font-size:12px}.report-date-fields{display:flex;align-items:end;gap:12px}.report-date-fields label{display:flex;width:min(100%,220px);flex-direction:column;gap:7px}.report-date-fields label>span{color:var(--ink-soft);font-size:12px;font-weight:600}.report-date-fields input{width:100%;min-height:42px}.report-date-fields input:focus{outline:2px solid rgba(232,98,44,.16);border-color:var(--flame)}.report-subnav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin-bottom:16px;padding:0 2px}.btn-submenu{min-width:0;background:transparent;color:var(--ink-soft);border:1px solid var(--border);border-radius:999px;padding:8px 7px;font-size:11px;line-height:1.25;text-align:center;overflow-wrap:anywhere;transition:background-color .15s ease,border-color .15s ease,color .15s ease}.btn-submenu:not(.active):hover{background:var(--surface);border-color:#cad2db;color:var(--ink)}.btn-submenu.active{background:var(--flame);border-color:var(--flame);color:#fff;box-shadow:0 3px 8px #e8622c33}.btn-submenu.report-highlight-tab,.btn-submenu.report-highlight-tab.active{background:var(--gas-blue);border-color:var(--gas-blue);color:#fff}.btn-submenu.report-highlight-tab:hover{background:#225985;border-color:#225985}.report-section{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:20px;box-shadow:0 6px 18px #1c25300a}.report-header-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.report-section-title{margin:0;font-size:19px}.report-overview{display:flex;flex-direction:column;gap:22px}.report-metric-group-heading{display:flex;align-items:baseline;gap:10px;margin-bottom:12px}.report-metric-group-heading h4{margin:0;font-size:14px}.report-metric-group-heading span{color:var(--ink-soft);font-size:12px}.report-financial-metrics,.report-activity-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.report-overview .report-metric-card{min-width:0;padding:17px 18px;text-align:left;border-left-width:3px;transition:transform .15s ease,box-shadow .15s ease}.report-overview .report-metric-card:hover{transform:translateY(-2px);box-shadow:0 8px 18px #1c25300f}.report-financial-metrics .report-metric-card{min-height:108px}.report-activity-metrics .report-metric-card{min-height:88px;padding-top:14px;padding-bottom:14px;border-left-color:#c8d3df}.report-overview .summary-label{margin-bottom:8px}.report-overview .summary-value{overflow-wrap:anywhere;font-size:clamp(20px,2vw,27px)}.report-activity-metrics .summary-value{font-size:23px}.report-overview .report-metric-collected{border-left-color:var(--good)}.report-overview .report-metric-outstanding{border-left-color:var(--warn)}.report-panel .data-table{min-width:620px}.report-panel{overflow-x:auto}.report-actions{display:flex;gap:10px;flex-wrap:wrap}.report-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px}.report-grid.single-column{grid-template-columns:1fr}.report-panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:18px;box-shadow:0 4px 12px #1c25300a}.report-panel h3{margin:0 0 14px;font-size:18px}.report-sales-panel,.report-sheet-panel{padding:14px}.report-sales-heading{margin-bottom:12px;padding:4px 0 12px;border-bottom:1px solid var(--border);text-align:center}.report-sales-heading strong{display:block;color:var(--ink);font-family:var(--font-display);font-size:19px;text-transform:uppercase}.report-sales-heading h3{margin:3px 0 0;color:var(--ink);font-size:15px;text-transform:uppercase}.report-sales-warning{margin:10px 0;padding:9px 11px;color:#805400;background:#fff7e5;border:1px solid #F1D9A6;border-radius:7px;font-size:12px}.report-sales-table-wrap{overflow-x:auto}.report-panel .report-sheet-table{width:100%;min-width:760px;border-collapse:collapse;font-variant-numeric:tabular-nums}.report-panel .report-sales-table{min-width:1220px}.report-sheet-table th{padding:9px 7px;border:1px solid #D8DEE6;background:#f4f6f8;color:var(--ink);font-size:10px;line-height:1.35;text-align:center;white-space:normal}.report-sheet-table td{padding:9px 8px;border:1px solid #E3E7EC;color:var(--ink);font-size:12px;text-align:left;vertical-align:middle}.report-sheet-table tbody tr:nth-child(2n){background:#fafbfc}.report-sales-table td{text-align:right;white-space:nowrap}.report-sales-table td:nth-child(1),.report-sales-table td:nth-child(4),.report-sales-table td:nth-child(5){text-align:center}.report-sales-table td:nth-child(2),.report-sales-table td:nth-child(3){text-align:left}.report-sales-table td:nth-child(3){min-width:150px}.report-sheet-table .empty-row{text-align:center}.report-overview-sheet .report-overview{padding:4px 2px 2px}.report-panel.full-width{grid-column:1 / -1}.qty-badge{display:inline-block;padding:4px 8px;border-radius:6px;font-weight:600;font-size:12px}.qty-filled{background:#2e8b571f;color:var(--good)}.qty-empty{background:#c97a001f;color:var(--warn)}.qty-damaged{background:#c43d3d1f;color:var(--bad)}
