*,*:before,*:after{box-sizing:border-box}input[type=number]{-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield}input[type=number]::-webkit-outer-spin-button,input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}:root{color-scheme:light;--brand-navy: #092243;--brand-navy-light: #0f3158;--brand-gold: #b09667;--brand-gold-dark: #967a52;--brand-white: #ffffff;--brand-rgb: 9, 34, 67;--sidebar-bg: #092243;--sidebar-text: #ffffff;--sidebar-text-muted: #b8c4d9;--sidebar-active-bg: #b09667;--sidebar-active-text: #ffffff;--sidebar-border: rgba(255, 255, 255, .12);--ui-page-bg: #f4f6f8;--ui-surface: #ffffff;--ui-surface-muted: #f8f9fb;--ui-heading: #092243;--ui-primary: #092243;--ui-on-primary: #ffffff;--ui-accent: #b09667;--ui-link: #092243;--ui-text: #1a2332;--ui-text-muted: #666666;--ui-text-secondary: #555555;--ui-border: #cccccc;--ui-border-strong: #d0d7e2;--ui-table-header: #eef1f6;--ui-hover: #eef2f7;--ui-input-bg: #ffffff;--ui-input-disabled: #f5f5f5;--ui-success: #2d6a4f;--ui-error: #b00020;--ui-warning: #b45309;--ui-danger-bg: #fff5f5;--ui-danger-border: #f5c2c7;--ui-success-bg: #f0faf4;--ui-warning-bg: #fff8f0;--ui-accent-border: #d4c4a8;--ui-focus-ring: rgba(9, 34, 67, .08);--shadow-sm: rgba(9, 34, 67, .06);--shadow-md: rgba(9, 34, 67, .1);--shadow-lg: rgba(9, 34, 67, .12);--shadow-modal: rgba(9, 34, 67, .18);--shadow-accent: rgba(176, 150, 103, .15);--overlay-bg: rgba(9, 34, 67, .45);--status-draft-bg: #fff3cd;--status-draft-fg: #856404;--status-finalized-bg: #d1e7dd;--status-finalized-fg: #0f5132;--status-docs-bg: #cfe2ff;--status-docs-fg: #084298;--status-shipped-bg: #e2d9f3;--status-shipped-fg: #432874;--status-ready-brc-bg: #ddebf7;--status-ready-brc-fg: #1a5276;--status-brc-pending-bg: #ffe5d0;--status-brc-pending-fg: #984c0c;--status-ready-ebrc-bg: #e8deff;--status-ready-ebrc-fg: #5b3d8f;--status-brc-done-bg: #d3f9d8;--status-brc-done-fg: #2b8a3e;--status-cancelled-bg: #f8d7da;--status-cancelled-fg: #842029;--status-warning-border: #e9c46a;--status-danger-border: #e76f51;--status-reject-bg: #ffe3e3;--status-reject-fg: #c92a2a;--status-info-bg: #cfe2ff;--status-info-fg: #084298;--status-neutral-bg: #eef1f6;--status-neutral-fg: #495057;--proforma-internal-bg: #e6f0f5;--proforma-internal-header-bg: #d2e4ee;--proforma-internal-text: #0f3a52;--proforma-internal-header-text: #1a5670;--proforma-internal-border: #6a9bb3;--proforma-internal-input-bg: #f7fbfd;--proforma-internal-underline: #3d7f9e;--proforma-grand-bg: #f3ebce;--proforma-grand-border: #b8953d;--proforma-grand-text: #6b5420;--proforma-shipping-bg: #eef4f7;--proforma-carton-separator: var(--ui-primary);--stock-demand-bg: #e8f3fa;--stock-demand-header-bg: #d4e9f5;--stock-demand-border: #7eb3d4;--stock-demand-header-text: #0f4a6e;--stock-sourcing-bg: #faf4e8;--stock-sourcing-header-bg: #f0e4cc;--stock-sourcing-border: #c9a86a;--stock-sourcing-header-text: #6b5420;--daybook-grid-border: #1a1a1a;--invoice-line-alt-bg: #e8eef8;--invoice-line-alt-border: #9db4d4;--invoice-line-alt-accent: #3d6ea8}html[data-theme=dark]{color-scheme:dark;--sidebar-bg: #060b14;--sidebar-text: #e8eef7;--sidebar-text-muted: #8fa3bf;--sidebar-active-bg: #b09667;--sidebar-active-text: #ffffff;--sidebar-border: rgba(255, 255, 255, .1);--ui-page-bg: #0b101a;--ui-surface: #151c2a;--ui-surface-muted: #1a2333;--ui-heading: #e8eef7;--ui-primary: #3d6ea8;--ui-on-primary: #ffffff;--ui-accent: #c4a97a;--ui-link: #9bc4f0;--ui-text: #d5dde9;--ui-text-muted: #9aa8bc;--ui-text-secondary: #a8b4c6;--ui-border: #2a3548;--ui-border-strong: #3a4860;--ui-table-header: #1c2536;--ui-hover: #1e2a3d;--ui-input-bg: #121925;--ui-input-disabled: #1a2333;--ui-success: #6bcf8e;--ui-error: #f07178;--ui-warning: #e0a45c;--ui-danger-bg: #2a1518;--ui-danger-border: #5c2a32;--ui-success-bg: #14241c;--ui-warning-bg: #2a2114;--ui-accent-border: #6b5a3d;--ui-focus-ring: rgba(126, 176, 232, .15);--shadow-sm: rgba(0, 0, 0, .35);--shadow-md: rgba(0, 0, 0, .45);--shadow-lg: rgba(0, 0, 0, .5);--shadow-modal: rgba(0, 0, 0, .6);--shadow-accent: rgba(176, 150, 103, .25);--overlay-bg: rgba(0, 0, 0, .65);--status-draft-bg: #3d3214;--status-draft-fg: #f0d78c;--status-finalized-bg: #1a3d2e;--status-finalized-fg: #8fd4b0;--status-docs-bg: #1a2f4d;--status-docs-fg: #8cb8f0;--status-shipped-bg: #2a2240;--status-shipped-fg: #c4b0e8;--status-ready-brc-bg: #1a2f40;--status-ready-brc-fg: #7eb8d8;--status-brc-pending-bg: #3d2a14;--status-brc-pending-fg: #f0b878;--status-ready-ebrc-bg: #2a1f3d;--status-ready-ebrc-fg: #c4a8f0;--status-brc-done-bg: #1a3d24;--status-brc-done-fg: #8fd99f;--status-cancelled-bg: #3d1a20;--status-cancelled-fg: #f0a0a8;--status-warning-border: #c4a04a;--status-danger-border: #d07050;--status-reject-bg: #3d1a1a;--status-reject-fg: #f08080;--status-info-bg: #1a2f4d;--status-info-fg: #8cb8f0;--status-neutral-bg: #1c2536;--status-neutral-fg: #a8b4c6;--proforma-internal-bg: color-mix(in srgb, #1a6b8c 32%, var(--ui-surface));--proforma-internal-header-bg: color-mix(in srgb, #1a6b8c 55%, var(--ui-table-header));--proforma-internal-text: #d7eef8;--proforma-internal-header-text: #9fd4f0;--proforma-internal-border: #4a9ec9;--proforma-internal-input-bg: color-mix(in srgb, #1a6b8c 28%, var(--ui-input-bg));--proforma-internal-underline: #4a9ec9;--proforma-grand-bg: color-mix(in srgb, #c9a227 18%, var(--ui-surface));--proforma-grand-border: color-mix(in srgb, #c9a227 65%, var(--ui-border));--proforma-grand-text: color-mix(in srgb, #e8c547 75%, var(--ui-heading));--proforma-shipping-bg: color-mix(in srgb, #3d6b8c 8%, var(--ui-surface));--proforma-carton-separator: var(--ui-link);--stock-demand-bg: color-mix(in srgb, #1a6b8c 22%, var(--ui-surface));--stock-demand-header-bg: color-mix(in srgb, #1a6b8c 38%, var(--ui-table-header));--stock-demand-border: #4a9ec9;--stock-demand-header-text: #9fd4f0;--stock-sourcing-bg: color-mix(in srgb, #c9a227 14%, var(--ui-surface));--stock-sourcing-header-bg: color-mix(in srgb, #c9a227 28%, var(--ui-table-header));--stock-sourcing-border: #a88b45;--stock-sourcing-header-text: #e8c547;--daybook-grid-border: #5a6d88;--invoice-line-alt-bg: #1e2f4a;--invoice-line-alt-border: #4a6f9e;--invoice-line-alt-accent: #6ea8e0}html,body,#root{height:100%;max-width:100%;overflow:hidden;background:var(--ui-page-bg);color:var(--ui-text)}.app-shell{display:flex;height:100%;min-height:0}.app-sidebar{width:220px;flex-shrink:0;overflow-y:auto}.app-main{flex:1;min-width:0;min-height:0;overflow:auto;padding:24px}.app-main:has(.invoice-detail-page),.app-main:has(.proforma-detail-page),.app-main:has(.firc-detail-page){padding-top:0;padding-left:0;padding-right:0}.app-main:has(.daybook-page){display:flex;flex-direction:column;overflow:hidden}.invoice-detail-page,.proforma-detail-page{padding:0 24px 24px}.app-mobile-header{display:none;align-items:center;gap:12px;margin-bottom:16px}.login-theme-toggle{position:fixed;top:16px;right:16px;z-index:20}.app-nav-toggle{display:none;align-items:center;justify-content:center;padding:8px 12px;border-radius:8px;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-heading);cursor:pointer}.app-sidebar-backdrop{display:none}.table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%}.list-table-scroll{max-height:min(70vh,calc(100dvh - 260px));-webkit-overflow-scrolling:touch;max-width:100%}.list-table-scroll>table{border-collapse:separate;border-spacing:0}.list-table-scroll thead th{position:sticky;top:0;z-index:3;background:var(--ui-table-header)}.page-header{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:12px}.page-header-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.invoice-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.invoice-toolbar.is-sticky{position:sticky;top:0;z-index:40;margin:0 -24px 16px;width:calc(100% + 48px);padding:12px 24px!important;border-radius:0!important;border-left:none!important;border-right:none!important;border-top:none!important;box-shadow:0 2px 8px var(--shadow-sm);background:var(--ui-surface)}.invoice-back-link{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 12px;border-radius:8px;border:1px solid var(--ui-border-strong);background:var(--ui-hover);color:var(--ui-heading);text-decoration:none;font-size:13px;font-weight:600;flex-shrink:0;white-space:nowrap}.invoice-back-link:hover{background:var(--ui-hover)!important;border-color:var(--ui-border-strong)!important}.invoice-toolbar__actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin-left:auto}.filter-form{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.companies-layout{display:flex;gap:20px;align-items:flex-start}.companies-sidebar{width:280px;flex-shrink:0}.profile-info-row{display:grid;grid-template-columns:140px 1fr;gap:12px;align-items:baseline}.login-page{padding:16px}.login-card{width:100%;max-width:360px}.modal-overlay{padding:16px}.customer-detail-header{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.address-card{display:flex;justify-content:space-between;gap:12px}.address-card-actions{display:flex;gap:6px;flex-shrink:0}.sticky-save-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.users-mobile-list,.mobile-card-list{display:none;flex-direction:column;gap:12px}.users-mobile-card,.mobile-card{padding:16px;display:flex;flex-direction:column;gap:4px}.users-mobile-actions,.mobile-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.modal-actions{display:flex;gap:8px;flex-wrap:wrap}.users-stats-grid,.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin-bottom:20px}.stat-tile{background:var(--ui-surface);border-radius:12px;box-shadow:0 2px 8px var(--shadow-sm);padding:16px 18px}.stat-tile__label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--ui-text-muted)}.stat-tile__value{font-size:28px;font-weight:700;color:var(--ui-heading);margin-top:4px;line-height:1.1}.users-page__title{margin:0;color:var(--ui-heading);font-size:26px}.users-page__subtitle{margin:6px 0 0;font-size:13px;color:var(--ui-text-muted);line-height:1.45}.users-page__header{margin-bottom:20px}.users-page__alert{margin:0 0 16px;padding:10px 14px;border-radius:8px;font-size:14px}.users-page__empty{background:var(--ui-surface);border-radius:12px;box-shadow:0 2px 8px var(--shadow-sm);padding:32px 20px;text-align:center;color:var(--ui-text-muted);font-size:14px}.user-mobile-card{background:var(--ui-surface);border-radius:14px;box-shadow:0 2px 10px var(--shadow-sm);padding:16px;border:1px solid var(--ui-table-header)}.user-mobile-card.is-self{border-color:var(--ui-accent-border);box-shadow:0 2px 12px var(--shadow-accent)}.user-mobile-card__header{display:flex;align-items:flex-start;gap:14px}.user-mobile-card__avatar{width:48px;height:48px;border-radius:50%;background:var(--ui-table-header);color:var(--ui-heading);display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;flex-shrink:0}.user-mobile-card__avatar.is-self{background:var(--ui-primary);color:var(--ui-on-primary)}.user-mobile-card__identity{flex:1;min-width:0}.user-mobile-card__name{font-weight:600;color:var(--ui-heading);font-size:16px;line-height:1.3;display:flex;flex-wrap:wrap;align-items:center;gap:8px}.user-mobile-card__you{display:inline-block;padding:2px 8px;border-radius:999px;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;background:var(--ui-accent);color:var(--ui-on-primary)}.user-mobile-card__email{display:block;margin-top:4px;font-size:13px;color:var(--ui-text-muted);text-decoration:none;overflow-wrap:anywhere;line-height:1.4}.user-mobile-card__badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.user-mobile-card__joined{margin-top:12px;padding-top:12px;border-top:1px solid var(--ui-table-header);font-size:12px;color:var(--ui-text-muted)}.user-mobile-card__actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}.user-mobile-card__btn{min-height:44px;padding:10px 14px;border-radius:10px;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-heading);font-size:14px;font-weight:600;cursor:pointer}.user-mobile-card__btn--danger{color:var(--ui-error);border-color:var(--ui-danger-border);background:var(--ui-danger-bg)}.user-mobile-card__actions .user-mobile-card__btn:only-child{grid-column:1 / -1}.modal-panel{width:min(480px,100%)}.users-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:220;display:flex;align-items:center;justify-content:center;padding:20px;background:var(--overlay-bg);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.users-form{display:flex;flex-direction:column;width:min(440px,100%);max-height:min(88vh,680px);padding:0;border-radius:14px;background:var(--ui-surface);box-shadow:0 20px 48px var(--shadow-modal);overflow:hidden;isolation:isolate}.users-form__header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 24px 16px;border-bottom:1px solid var(--ui-table-header);background:var(--ui-surface-muted)}.users-form__title{margin:0;font-size:18px;font-weight:700;color:var(--ui-heading);line-height:1.3}.users-form__subtitle{margin:4px 0 0;font-size:13px;color:var(--ui-text-muted);line-height:1.45}.users-form__close{flex-shrink:0;width:36px;height:36px;border:none;border-radius:8px;background:transparent;color:var(--ui-text-muted);font-size:24px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center}.users-form__close:hover{background:var(--ui-table-header);color:var(--ui-heading)}.users-form__body{flex:1;overflow-y:auto;display:grid;gap:16px;padding:20px 24px;background:var(--ui-surface)}.users-form__field{display:flex;flex-direction:column;gap:6px;min-width:0}.users-form__field--check{flex-direction:row;align-items:center;gap:10px;cursor:pointer;font-size:13px;font-weight:500;color:var(--ui-text-secondary)}.users-form__field--check input{width:16px;height:16px;accent-color:var(--ui-primary)}.users-form__label{font-size:12px;font-weight:600;color:var(--ui-text-secondary);letter-spacing:.02em}.users-form__required{color:var(--ui-error)}.users-form__input{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid var(--ui-border-strong);border-radius:8px;font:inherit;font-size:14px;color:var(--ui-heading);background:var(--ui-input-bg);transition:border-color .15s,box-shadow .15s;color-scheme:inherit}.users-form__input:focus{outline:none;border-color:var(--ui-primary);box-shadow:0 0 0 3px var(--ui-focus-ring)}.users-form__input:disabled{background:var(--ui-input-disabled);color:var(--ui-text-muted);cursor:not-allowed}.users-form__input:-webkit-autofill,.users-form__input:-webkit-autofill:hover,.users-form__input:-webkit-autofill:focus{-webkit-text-fill-color:var(--ui-heading);caret-color:var(--ui-heading);box-shadow:0 0 0 1000px var(--ui-input-bg) inset;transition:background-color 99999s ease-in-out 0s}.users-form__hint{margin:0;font-size:12px;color:var(--ui-text-muted);line-height:1.45}.users-form__role-cards{display:grid;grid-template-columns:1fr 1fr;gap:8px}.users-form__role-cards--three{grid-template-columns:1fr 1fr 1fr}.users-form__role{display:flex;flex-direction:column;gap:2px;padding:12px;border:1px solid var(--ui-border-strong);border-radius:10px;background:var(--ui-input-bg);cursor:pointer;text-align:left;font:inherit;color:var(--ui-heading);transition:border-color .15s,background .15s,box-shadow .15s}.users-form__role:hover:not(:disabled){border-color:var(--ui-primary);background:var(--ui-hover)}.users-form__role.is-selected{border-color:var(--ui-primary);background:var(--ui-hover);box-shadow:0 0 0 3px var(--ui-focus-ring)}.users-form__role:disabled{opacity:.55;cursor:not-allowed}.users-form__role-name{font-size:13px;font-weight:700;color:var(--ui-heading)}.users-form__role-desc{font-size:11px;color:var(--ui-text-muted);line-height:1.35}.users-form__footer{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding:16px 24px 20px;border-top:1px solid var(--ui-table-header);background:var(--ui-surface-muted)}.users-form__btn{min-height:40px;padding:0 18px;border-radius:8px;border:1px solid var(--ui-border-strong);background:var(--ui-surface);color:var(--ui-heading);font-size:14px;font-weight:600;cursor:pointer}.users-form__btn:hover:not(:disabled){background:var(--ui-page-bg)}.users-form__btn:disabled{opacity:.6;cursor:not-allowed}.users-form__btn--primary{border:none;background:var(--ui-primary);color:var(--ui-on-primary)}.users-form__btn--primary:hover:not(:disabled){background:var(--brand-navy-light)}html[data-theme=dark] .users-form__btn--primary:hover:not(:disabled){background:#4a7eb8}.approvals-page__title{margin:0;color:var(--ui-heading);font-size:26px}.approvals-page__subtitle{margin:6px 0 0;font-size:13px;color:var(--ui-text-muted);line-height:1.45}.approvals-page__header{margin-bottom:20px}.approvals-page__toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.approvals-page__filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:0}.approvals-page__bulk-actions{display:flex;gap:8px;flex-wrap:wrap}.approvals-page__bulk-btn{padding:8px 14px;border-radius:8px;cursor:pointer;font-size:13px;font-weight:600;border:1px solid var(--ui-border);background:var(--ui-surface)}.approvals-page__bulk-btn:disabled{opacity:.65;cursor:not-allowed}.approvals-page__bulk-btn--approve{background:var(--ui-primary);color:var(--brand-white);border-color:var(--ui-primary)}.approvals-page__bulk-btn--reject{color:var(--ui-error);border-color:var(--ui-danger-border)}.filter-pill{padding:8px 14px;background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:8px;cursor:pointer;font-size:13px;font-weight:500;color:var(--ui-heading)}.filter-pill.is-active{background:var(--ui-primary);color:var(--ui-on-primary);border-color:var(--ui-primary);font-weight:600}.invoice-header-section{padding:14px 16px!important;background:var(--invoice-line-alt-bg)!important;border-color:var(--invoice-line-alt-border)!important;box-shadow:0 1px 2px var(--shadow-sm),inset 4px 0 0 var(--invoice-line-alt-accent)!important}.invoice-header-section__head{margin-bottom:10px!important}.invoice-header-section__body{display:flex;flex-direction:column;gap:8px}.invoice-header-track{display:flex;flex-wrap:wrap;align-items:flex-end;gap:6px 8px;padding:8px 10px;border-radius:8px;background:var(--ui-surface);border:1px solid var(--invoice-line-alt-border)}.invoice-header-track__field{display:flex;flex-direction:column;gap:3px;min-width:0}.invoice-header-track__field--company{flex:1.4 1 0;min-width:140px}.invoice-header-track__field--shipment{flex:0 1 168px}.invoice-header-track__field--invoice-no{flex:0 0 72px;width:72px}.invoice-header-track__field--date{flex:1 1 132px}.invoice-header-track__field--fy{flex:0 0 76px;width:76px}.invoice-header-track__field--currency{flex:1.4 1 0;min-width:0}.invoice-header-track__field--pricing{flex:.8 1 0;min-width:100px}.invoice-header-track__field--rate{flex:0 1 108px;width:108px}.invoice-header-section .invoice-header-segment{min-height:32px;padding:3px}.invoice-header-section .invoice-header-segment__btn{padding:5px 8px;font-size:12px;line-height:1.25}.invoice-header-section .invoice-header-segment--company .invoice-header-segment__btn{flex:1 1 0;padding:6px 10px;font-size:11px;line-height:1.3;white-space:normal;text-align:center}.invoice-header-section .invoice-header-segment--compact .invoice-header-segment__btn{flex:1 1 0;min-width:0;padding:5px 6px;font-size:11px}.invoice-header-section .invoice-line-input{min-height:32px;padding:5px 8px;font-size:12px}.invoice-header-section .invoice-line-input:read-only{background:var(--ui-surface);color:var(--ui-text-secondary)}@media(min-width:768px){.invoice-header-track{flex-wrap:nowrap}}.invoice-export-docs{padding:14px 16px!important}.invoice-export-docs__head{margin-bottom:8px}.invoice-export-docs__alerts{display:flex;flex-direction:column;gap:4px;margin-bottom:8px}.invoice-export-docs__alert{margin:0;font-size:11px;line-height:1.35;color:var(--ui-text-muted)}.invoice-export-docs__alert--warn{color:var(--ui-warning)}.invoice-export-docs__track{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:8px 10px;border-radius:8px;background:var(--ui-table-header);border:1px solid var(--ui-table-header)}.invoice-export-docs__track+.invoice-export-docs__track{margin-top:8px}.invoice-export-docs__pill{font-size:11px;padding:4px 8px;border-radius:999px;background:var(--ui-surface);color:var(--ui-heading);font-weight:500;border:1px solid var(--ui-border);line-height:1.25}.invoice-export-docs__btn{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:5px 10px;font-size:12px;font-weight:600;border-radius:7px;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-heading);cursor:pointer;text-decoration:none;white-space:nowrap;box-sizing:border-box}.invoice-export-docs__btn:hover:not(:disabled){filter:brightness(1.05)}.invoice-export-docs__btn:disabled{opacity:.5;cursor:not-allowed}.invoice-export-docs__btn--primary{background:var(--ui-primary);border-color:var(--ui-primary);color:var(--ui-on-primary)}.invoice-export-docs__btn--link{color:var(--ui-heading)}.invoice-export-docs__track--actions .process-zip-buttons,.invoice-export-docs__track--actions .process-zip-buttons__row{display:contents}.invoice-export-docs__track--actions .process-zip-buttons__btn{min-height:32px;padding:5px 10px;font-size:12px;font-weight:600;border-radius:7px}.invoice-export-docs__track--actions .process-zip-buttons__error{flex:1 1 100%;margin:4px 0 0;font-size:11px}.invoice-export-docs__hint{margin:6px 0 0;padding:0 2px;font-size:11px;line-height:1.35;color:var(--ui-text-muted)}.invoice-export-docs__hint a{color:var(--ui-primary);text-decoration:none;font-weight:600}.invoice-record-details-section{padding:14px 16px!important;background:var(--invoice-line-alt-bg)!important;border-color:var(--invoice-line-alt-border)!important;box-shadow:0 1px 2px var(--shadow-sm),inset 4px 0 0 var(--invoice-line-alt-accent)!important}.record-details-embedded__head{margin-bottom:8px}.record-details-form--embedded{gap:8px}.record-details-page__alert--embedded{margin-bottom:8px;padding:8px 10px;font-size:12px}.record-details-track{display:flex;flex-wrap:wrap;align-items:flex-end;gap:6px 8px;padding:8px 10px;border-radius:8px;background:var(--ui-surface);border:1px solid var(--invoice-line-alt-border)}.record-details-track--uploads{align-items:stretch}.record-details-track--uploads .uploaded-doc-slot--inline{flex:1 1 160px;min-width:0;padding:6px 8px}.record-details-track--uploads .uploaded-doc-slot--inline .uploaded-doc-slot__label{font-size:10px}.record-details-track--uploads .uploaded-doc-slot--inline .uploaded-doc-slot__view,.record-details-track--uploads .uploaded-doc-slot--inline .uploaded-doc-slot__upload{padding:4px 8px;font-size:11px}.record-details-track--uploads .process-zip-buttons,.record-details-track--uploads .process-zip-buttons__row{display:contents}.record-details-track--uploads .process-zip-buttons__btn{min-height:32px;padding:5px 10px;font-size:12px;font-weight:600;border-radius:7px}.record-details-track--fields{flex-wrap:nowrap}.record-details-track__title{flex:0 0 auto;align-self:center;padding-right:4px;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--ui-text-muted);white-space:nowrap}.record-details-fields{display:flex;flex:1 1 0;flex-wrap:wrap;align-items:flex-end;gap:6px 8px;min-width:0}.record-details-field{display:flex;flex-direction:column;gap:3px;flex:1 1 120px;min-width:0}.record-details-actions--embedded{margin-top:2px}.record-details-save-btn{min-height:32px;padding:6px 12px;font-size:12px;font-weight:600;border:none;border-radius:7px;background:var(--ui-primary);color:var(--ui-on-primary);cursor:pointer}.record-details-save-btn:disabled{opacity:.6;cursor:not-allowed}@media(min-width:768px){.record-details-track--fields,.record-details-fields{flex-wrap:nowrap}}@media(max-width:767px){.record-details-track--fields{flex-direction:column;align-items:stretch}.record-details-track__title{align-self:flex-start;padding-right:0;margin-bottom:2px}.record-details-field{flex:1 1 calc(50% - 4px)}}.invoice-header-field{display:flex;flex-direction:column;gap:8px;min-width:0}.invoice-header-field__label{font-size:11px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--ui-text-muted)}.invoice-header-field__input{width:100%;min-height:40px;padding:9px 12px;border-radius:8px;border:1px solid var(--ui-border);box-sizing:border-box;font-size:14px;background:var(--ui-surface);color:var(--ui-heading)}.invoice-header-field__input:read-only{background:var(--ui-table-header);color:var(--ui-text-secondary)}.invoice-header-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px 20px;align-items:end}.invoice-header-field--company{padding-bottom:18px;border-bottom:1px solid var(--ui-table-header)}.invoice-header-field--shipment{grid-column:span 4}.invoice-header-field--invoice-no{grid-column:span 2}.invoice-header-field--date,.invoice-header-field--fy{grid-column:span 3}.invoice-header-field--currency{grid-column:span 4}.invoice-header-field--pricing{grid-column:span 5}.invoice-header-field--rate{grid-column:span 3}.invoice-header-segment{display:flex;gap:4px;padding:4px;min-height:40px;align-items:stretch;background:var(--ui-table-header);border:1px solid var(--ui-border);border-radius:8px}.invoice-header-segment__btn{flex:1 1 0;min-width:0;padding:8px 10px;border:none;border-radius:6px;background:transparent;color:var(--ui-text-secondary);font-size:13px;font-weight:600;line-height:1.25;cursor:pointer;white-space:nowrap;transition:background .15s ease,color .15s ease,box-shadow .15s ease}.invoice-header-segment__btn:hover:not(:disabled):not(.is-active){color:var(--ui-heading);background:color-mix(in srgb,var(--ui-surface) 55%,transparent)}.invoice-header-segment__btn.is-active{background:var(--ui-surface);color:var(--ui-heading);box-shadow:0 1px 3px var(--shadow-sm)}.invoice-header-segment__btn:disabled{opacity:.6;cursor:not-allowed}.invoice-header-segment--company .invoice-header-segment__btn{flex:1 1 160px;white-space:normal;text-align:center;padding:10px 14px}.invoice-header-segment--compact .invoice-header-segment__btn{font-size:12px;padding:8px 6px}.invoice-header-segment--multiline{flex-wrap:wrap;height:auto;align-items:stretch}.invoice-header-segment--multiline .invoice-header-segment__btn{flex:1 1 200px;white-space:normal;text-align:left;line-height:1.35;padding:10px 12px}.invoice-shipping-section{padding:14px 16px!important;background:var(--invoice-line-alt-bg)!important;border-color:var(--invoice-line-alt-border)!important;box-shadow:0 1px 2px var(--shadow-sm),inset 4px 0 0 var(--invoice-line-alt-accent)!important}.invoice-shipping-section__head{margin-bottom:10px!important}.invoice-shipping-section__body{display:flex;flex-direction:column;gap:8px}.invoice-shipping-track{display:flex;flex-wrap:wrap;align-items:flex-end;gap:6px 8px;padding:8px 10px;border-radius:8px;background:var(--ui-surface);border:1px solid var(--invoice-line-alt-border)}.invoice-shipping-field{display:flex;flex-direction:column;gap:3px;min-width:0}.invoice-shipping-field--pol{flex:1 1 160px}.invoice-shipping-field--precarriage{flex:0 1 120px}.invoice-shipping-field--pod,.invoice-shipping-field--final,.invoice-shipping-field--country,.invoice-shipping-field--payment{flex:1 1 140px}.invoice-shipping-field--ref-no{flex:2 1 200px}.invoice-shipping-field--ref-date{flex:1 1 140px}.invoice-shipping-track--lookups .invoice-shipping-field--pol{flex:1.1 1 0;min-width:0}.invoice-shipping-track--lookups .invoice-shipping-field--precarriage{flex:.75 1 0;min-width:100px}.invoice-shipping-track--lookups .invoice-shipping-field--terms{flex:1.6 1 0;min-width:0}.invoice-shipping-track--lookups .invoice-shipping-field--product{flex:1.1 1 0;min-width:0}.invoice-shipping-field--tracking-full{flex:1 1 100%}.invoice-shipping-field--tracking{flex:1 1 200px}.invoice-shipping-track .invoice-header-segment{min-height:32px;padding:3px}.invoice-shipping-track .invoice-header-segment__btn{padding:5px 8px;font-size:11px;line-height:1.25;white-space:normal;text-align:center}.invoice-shipping-track .invoice-header-segment--compact .invoice-header-segment__btn{flex:1 1 72px}.invoice-shipping-field select,.invoice-shipping-track--lookups select{width:100%;box-sizing:border-box;min-height:32px;padding:5px 8px;border-radius:7px;border:1px solid var(--ui-border);font-size:12px;background:var(--ui-surface);color:var(--ui-heading)}.invoice-shipping-hint{margin:0;padding:0 2px;font-size:11px;color:var(--ui-text-muted);line-height:1.35}.invoice-linked-firc{margin-top:0;padding:10px 12px;border-radius:8px;border:1px solid var(--ui-border);background:var(--ui-surface)}.invoice-linked-firc--compact{padding:8px 10px}.invoice-linked-firc__loading{font-size:12px;color:var(--ui-text-muted)}.invoice-linked-firc__head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;flex-wrap:wrap}.invoice-linked-firc__title{margin:0;font-size:13px;font-weight:600;color:var(--ui-heading)}.invoice-linked-firc__summary{margin:2px 0 0;font-size:11px;color:var(--ui-text-muted);line-height:1.35}.invoice-linked-firc__alert{margin-top:8px;padding:8px 10px;border-radius:6px;border:1px solid color-mix(in srgb,var(--ui-error) 45%,var(--ui-border));background:color-mix(in srgb,var(--ui-error) 10%,var(--ui-surface))}.invoice-linked-firc__alert-title{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--ui-error)}.invoice-linked-firc__alert-text{margin:4px 0 0;font-size:12px;line-height:1.45;color:var(--ui-text)}.invoice-linked-firc__alert-text strong{color:var(--ui-error);font-weight:700}.invoice-linked-firc__alert-hint{margin:6px 0 0;font-size:11px;line-height:1.4;color:var(--ui-text-muted)}.invoice-linked-firc__alert-hint a{color:var(--ui-primary);font-weight:600;text-decoration:none}.invoice-linked-firc__ok{margin-top:8px;padding:6px 10px;border-radius:6px;border:1px solid color-mix(in srgb,var(--ui-success) 40%,var(--ui-border));background:color-mix(in srgb,var(--ui-success) 8%,var(--ui-surface));font-size:11px;color:var(--ui-success);line-height:1.4}.invoice-linked-firc__msg{margin-top:6px;font-size:11px}.invoice-linked-firc__msg--error{color:var(--ui-error)}.invoice-linked-firc__msg--ok{color:var(--ui-success)}.invoice-linked-firc__table-wrap{overflow-x:auto;margin-top:8px}.invoice-linked-firc__table{width:100%;border-collapse:collapse;min-width:480px}.invoice-linked-firc__table th{padding:5px 8px;text-align:left;font-size:10px;font-weight:600;text-transform:uppercase;color:var(--ui-text-muted);border-bottom:1px solid var(--ui-table-header)}.invoice-linked-firc__table td{padding:5px 8px;font-size:12px;border-bottom:1px solid var(--ui-table-header)}.invoice-linked-firc__link{color:var(--ui-primary);text-decoration:none;font-weight:600}.invoice-linked-firc__btn{padding:4px 8px;border-radius:6px;border:1px solid var(--ui-border);background:var(--ui-surface);cursor:pointer;font-size:11px;white-space:nowrap}.invoice-linked-firc__btn--primary{border:none;background:var(--ui-primary);color:var(--ui-on-primary);font-weight:600;padding:5px 10px;font-size:12px}.invoice-linked-firc__btn--primary:disabled{opacity:.6;cursor:not-allowed}.invoice-linked-firc__pending{font-size:10px;font-weight:600;color:var(--ui-warning)}.invoice-linked-firc__actions{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap;align-items:center}.invoice-linked-firc__select{flex:1 1 200px;min-width:0;padding:5px 8px;border-radius:7px;border:1px solid var(--ui-border);background:var(--ui-surface);font-size:12px}.invoice-linked-firc__empty{margin:8px 0 0;font-size:11px;color:var(--ui-text-muted)}.invoice-linked-firc__empty a,.invoice-linked-firc__inline-btn{color:var(--ui-primary);font-weight:600;background:none;border:none;padding:0;font:inherit;cursor:pointer;text-decoration:underline}.invoice-linked-firc__inline-btn:hover{opacity:.85}.firc-modal--upload{max-width:640px;max-height:min(92vh,900px);overflow:auto}.invoice-prev-import-modal{max-height:min(92vh,900px)}.invoice-prev-import__dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:28px 16px;border:1px dashed var(--ui-border);border-radius:12px;background:var(--ui-surface-muted, color-mix(in srgb, var(--ui-border) 20%, var(--ui-surface)));font-size:13px;color:var(--ui-text-muted);margin-bottom:12px}.invoice-prev-import__file-list{list-style:none;margin:0 0 12px;padding:0;max-height:160px;overflow:auto;border:1px solid var(--ui-border);border-radius:10px}.invoice-prev-import__file-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;border-bottom:1px solid var(--ui-table-header, var(--ui-border));font-size:13px}.invoice-prev-import__file-list li:last-child{border-bottom:none}.invoice-prev-import__file-list button{border:none;background:transparent;color:var(--ui-primary);cursor:pointer;font-size:12px}.invoice-prev-import__summary{margin-bottom:10px;font-size:13px;color:var(--ui-text-muted)}.invoice-prev-import__table-wrap{border:1px solid var(--ui-border);border-radius:10px;margin-bottom:12px}.invoice-prev-import__table{width:auto;min-width:100%;table-layout:fixed;border-collapse:collapse;font-size:12px}.invoice-prev-import__table .invoice-prev-import__col-checkbox{width:36px}.invoice-prev-import__table .invoice-prev-import__col-invoice{width:104px}.invoice-prev-import__table .invoice-prev-import__col-company{width:72px}.invoice-prev-import__table .invoice-prev-import__col-count{width:44px}.invoice-prev-import__table .invoice-prev-import__col-total{width:88px}.invoice-prev-import__table .invoice-prev-import__col-source{width:180px}.invoice-prev-import__table .invoice-prev-import__col-action{width:72px}.invoice-prev-import__table th,.invoice-prev-import__table td{padding:8px 10px;border-bottom:1px solid var(--ui-table-header, var(--ui-border));text-align:left;vertical-align:top}.invoice-prev-import__table th.invoice-prev-import__col-checkbox,.invoice-prev-import__table td.invoice-prev-import__col-checkbox{padding-left:10px;padding-right:4px;text-align:center}.invoice-prev-import__table th.invoice-prev-import__col-count,.invoice-prev-import__table td.invoice-prev-import__col-count{text-align:center;padding-left:4px;padding-right:4px}.invoice-prev-import__table th.invoice-prev-import__col-total,.invoice-prev-import__table td.invoice-prev-import__col-total{text-align:right;white-space:nowrap}.invoice-prev-import__table th.invoice-prev-import__col-action,.invoice-prev-import__table td.invoice-prev-import__col-action{text-align:center;padding-left:6px;padding-right:6px}.invoice-prev-import__table th.invoice-prev-import__col-source,.invoice-prev-import__table td.invoice-prev-import__col-source{min-width:0}.invoice-prev-import__table th{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--ui-text-muted);background:var(--ui-surface-muted, color-mix(in srgb, var(--ui-border) 15%, var(--ui-surface)));white-space:nowrap}.invoice-prev-import__table th.invoice-prev-import__col-source{white-space:normal}.invoice-prev-import__invoice-key{font-weight:600;color:var(--ui-heading)}.invoice-prev-import__meta,.invoice-prev-import__source,.invoice-prev-import__result-meta{font-size:11px;color:var(--ui-text-muted)}.invoice-prev-import__source{word-break:break-word}.invoice-prev-import__warnings{font-size:11px;color:#b45309;margin-top:2px}.invoice-prev-import__pill{display:inline-block;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:600;white-space:nowrap}.invoice-prev-import__pill--new{background:color-mix(in srgb,var(--ui-primary) 12%,white);color:var(--ui-primary)}.invoice-prev-import__pill--update{background:#fef3c7;color:#92400e}.invoice-prev-import__pill--error{background:#fee2e2;color:#b91c1c}.invoice-prev-import__row--error{background:color-mix(in srgb,#fee2e2 35%,transparent)}.invoice-prev-import__skipped{margin-bottom:12px;font-size:12px;color:var(--ui-text-muted)}.invoice-prev-import__skipped ul{margin:8px 0 0;padding-left:18px}.invoice-prev-import__results{display:flex;flex-direction:column;gap:10px;margin-bottom:12px}.invoice-prev-import__result-row{padding:10px 12px;border:1px solid var(--ui-border);border-radius:10px;font-size:13px}.invoice-prev-import__result-row--error{border-color:#fecaca;background:#fef2f2}.invoice-prev-import__error{margin:0 0 12px;font-size:13px;color:#b91c1c}.invoices-page__import-btn,.invoices-page__new-btn{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:36px;padding:0 14px;border-radius:8px;font-size:13px;line-height:1;white-space:nowrap;cursor:pointer}.invoices-page__import-btn{border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-text)}.invoices-page__new-btn{border:none;background:var(--ui-primary);color:var(--ui-on-primary);font-weight:600;text-decoration:none}.firc-upload-card__locked-value{padding:8px 10px;border-radius:8px;border:1px solid var(--ui-border);background:var(--ui-surface-muted, color-mix(in srgb, var(--ui-border) 30%, var(--ui-surface)));font-size:13px;font-weight:600;color:var(--ui-heading)}.invoice-firc-upload-form .firc-form-grid--compact{margin-top:12px}.invoice-firc-upload-form__body{position:relative}.invoice-firc-upload-form__body.is-saving .firc-upload-card__selects,.invoice-firc-upload-form__body.is-saving .firc-upload-card__file,.invoice-firc-upload-form__body.is-saving .firc-form-grid{opacity:.55;pointer-events:none}.firc-modal-saving{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;padding:24px 16px;text-align:center;background:color-mix(in srgb,var(--ui-surface) 82%,transparent);border-radius:10px}.firc-modal-saving__text{margin:0;font-size:14px;font-weight:600;color:var(--ui-heading);line-height:1.45}@media(min-width:768px){.invoice-shipping-track,.invoice-shipping-track--lookups{flex-wrap:nowrap}.invoice-shipping-track--tracking{flex-wrap:wrap}}.invoice-line-card{border:1px solid var(--ui-border);border-radius:10px;padding:10px;margin-top:10px;background:var(--ui-surface);box-shadow:0 1px 2px var(--shadow-sm);scroll-margin-top:88px}.invoice-line-card--alt{background:var(--invoice-line-alt-bg);border-color:var(--invoice-line-alt-border);box-shadow:0 1px 2px var(--shadow-sm),inset 4px 0 0 var(--invoice-line-alt-accent)}.invoice-line-card--dragging{opacity:.55;background:var(--ui-hover)}.invoice-line-card--drop-target{border-color:var(--ui-primary);box-shadow:inset 0 0 0 1px var(--ui-primary)}.invoice-line-card__remove{flex-shrink:0;padding:5px 8px;font-size:12px;color:var(--ui-error);align-self:end;margin-bottom:1px}.invoice-line-card__drag{align-self:end;margin-bottom:1px;width:24px;height:32px;font-size:12px}.invoice-line-commerce{display:flex;flex-wrap:wrap;align-items:flex-end;gap:6px 8px;padding:8px 10px;border-radius:8px;background:var(--ui-table-header);border:1px solid var(--ui-table-header)}.invoice-line-commerce>.invoice-line-field--catalog{flex:1 1 160px;min-width:0}.invoice-line-commerce>.invoice-line-field--qty{flex:0 0 76px;width:76px}.invoice-line-commerce>.invoice-line-field--rate{flex:0 0 96px;width:96px}.invoice-line-commerce>.invoice-line-field--amount{flex:0 0 108px;width:108px}@media(min-width:768px){.invoice-line-commerce{flex-wrap:nowrap}.invoice-line-commerce>.invoice-line-field--catalog{flex:1 1 auto}}.invoice-line-details{display:grid;grid-template-columns:minmax(0,.95fr) 104px minmax(88px,.55fr) minmax(0,1.6fr) auto;gap:6px 8px;align-items:stretch;margin-top:8px}.invoice-line-field{display:flex;flex-direction:column;gap:3px;min-width:0}.invoice-line-label{font-size:10px;font-weight:600;letter-spacing:.03em;color:var(--ui-text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.invoice-line-input{width:100%;box-sizing:border-box;min-height:32px;padding:5px 8px;font-size:13px;line-height:1.35;border-radius:6px;border:1px solid var(--ui-border);background:var(--ui-surface);color:inherit;font-family:inherit}.invoice-line-commerce .invoice-line-input{background:var(--ui-surface)}.invoice-line-input:disabled{opacity:1;background:var(--ui-input-disabled, var(--ui-page-bg))}.invoice-line-field--composition{min-width:0;min-height:0}.invoice-line-field--composition .invoice-line-input--composition{flex:1 1 auto}.invoice-line-field--pack{max-width:9.5rem}.invoice-line-input--composition{min-height:96px;max-height:200px;resize:vertical;line-height:1.4}.invoice-line-input--qty,.invoice-line-input--rate{font-variant-numeric:tabular-nums;text-align:right}.invoice-line-input--amount{font-weight:700;font-variant-numeric:tabular-nums;text-align:right;color:var(--ui-heading);border-color:var(--ui-accent);background:var(--ui-surface)}.invoice-line-catalog-actions{display:flex;flex-direction:column;justify-content:flex-end;gap:6px;align-self:end;min-width:7.75rem;max-width:9.5rem;margin-top:0;padding:0;border:none;background:transparent}.invoice-line-catalog-actions__hint{font-size:10px;font-weight:600;letter-spacing:.02em;color:var(--ui-text-muted);line-height:1.3;white-space:nowrap}.invoice-line-catalog-actions__buttons{display:grid;grid-template-columns:1fr;gap:6px}.invoice-line-catalog-actions__buttons .invoice-line-btn{width:100%;justify-content:center;text-align:center}.invoice-line-btn{padding:5px 10px;font-size:12px;font-weight:500;border-radius:7px;border:1px solid var(--ui-border);background:var(--ui-surface);cursor:pointer;white-space:nowrap}.invoice-line-btn:disabled{opacity:.6;cursor:not-allowed}.invoice-line-btn--success{background:var(--ui-success);border-color:var(--ui-success);color:var(--ui-on-primary)}.invoice-line-btn--danger{background:var(--ui-error);border-color:var(--ui-error);color:var(--ui-on-primary)}.invoice-line-batches{margin-top:6px;padding:6px 8px;border-radius:8px;border:1px dashed var(--ui-border);background:var(--ui-surface-muted)}.invoice-line-batches--mismatch{border-color:var(--ui-error);background:var(--ui-danger-bg)}.invoice-line-batches__head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:0}.invoice-line-batches__head:has(+.invoice-line-batches__grid),.invoice-line-batches__head:has(+.invoice-line-batches__error){margin-bottom:6px}.invoice-line-batches__title{display:flex;align-items:baseline;gap:6px;min-width:0}.invoice-line-batches__label{font-size:12px;font-weight:600;color:var(--ui-heading)}.invoice-line-batches__meta{font-size:11px;color:var(--ui-text-muted)}.invoice-line-batches__add{padding:3px 8px;font-size:11px;min-height:28px}.invoice-line-batches__error{margin:0 0 6px;font-size:11px;color:var(--ui-error);line-height:1.35}.invoice-line-batches__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.invoice-line-batch{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr) minmax(0,1fr) 68px 28px;gap:4px;align-items:stretch;min-width:0;padding:4px 5px;border-radius:7px;border:1px solid var(--ui-border);background:var(--ui-surface)}.invoice-line-batch .invoice-line-input{width:100%;min-width:0;height:28px;min-height:28px;max-height:28px;padding:4px 5px;font-size:12px;line-height:1.2;box-sizing:border-box}.invoice-line-batch__qty{font-variant-numeric:tabular-nums;text-align:right}.invoice-line-batch__remove{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;color:var(--ui-error);padding:0;width:28px;min-width:28px;max-width:28px;height:28px;min-height:28px;max-height:28px;font-size:14px;line-height:1;border-radius:6px}.invoice-line-batch__remove-spacer{width:28px;min-width:28px;height:28px}.invoice-line-card__index{flex-shrink:0;width:22px;height:32px;border-radius:6px;background:var(--ui-surface);color:var(--ui-heading);font-size:11px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;align-self:end;margin-bottom:1px;border:1px solid var(--ui-border)}@media(max-width:767px){.invoice-line-commerce>.invoice-line-field--catalog{flex:1 1 100%;order:1}.invoice-line-commerce>.invoice-line-field--qty,.invoice-line-commerce>.invoice-line-field--rate,.invoice-line-commerce>.invoice-line-field--amount{flex:1 1 0;width:auto;min-width:0;order:2}.invoice-line-commerce__drag,.invoice-line-commerce__index,.invoice-line-commerce__remove{order:0}.invoice-line-details{grid-template-columns:1fr 1fr}.invoice-line-field--name{grid-column:1 / -1}.invoice-line-field--pack{max-width:none}.invoice-line-field--composition{grid-column:1}.invoice-line-catalog-actions{grid-column:2;max-width:none;align-self:stretch;justify-content:flex-start;padding-top:16px}}@media(min-width:768px)and (max-width:1099px){.invoice-line-details{grid-template-columns:minmax(0,.9fr) 96px minmax(88px,.6fr) minmax(0,1.3fr) auto}.invoice-line-field--pack{max-width:8.5rem}}.invoice-carton-card{margin-top:8px;padding:10px;border-radius:10px;border:1px solid var(--ui-border);background:var(--ui-surface);box-shadow:0 1px 2px var(--shadow-sm)}.invoice-carton-card--dragging{opacity:.55;background:var(--ui-hover)}.invoice-carton-card--drop-target{border-color:var(--ui-primary);box-shadow:inset 0 0 0 1px var(--ui-primary)}.invoice-carton-commerce{padding:4px 8px;margin-bottom:8px;border-radius:8px;background:var(--ui-table-header);border:1px solid var(--ui-border)}.invoice-carton-commerce__track{display:flex;align-items:center;gap:6px;min-height:32px}.invoice-carton-card__index,.invoice-carton-card__drag,.invoice-carton-card__remove,.invoice-carton-commerce .carton-type-picker__btn,.invoice-carton-inline-input{box-sizing:border-box;height:32px;min-height:32px;max-height:32px;margin:0;flex-shrink:0}.invoice-carton-card__index{width:24px;border-radius:6px;background:var(--ui-surface);color:var(--ui-heading);font-size:11px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ui-border)}.invoice-carton-card__drag{width:24px;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;border:1px solid var(--ui-border);background:var(--ui-table-header);color:var(--ui-text-muted);cursor:grab;font-size:12px;letter-spacing:1px;-webkit-user-select:none;user-select:none;line-height:1}.invoice-carton-card__remove{width:32px;padding:0;font-size:16px;line-height:1;color:var(--ui-error);display:inline-flex;align-items:center;justify-content:center;margin-left:auto}.invoice-carton-types{flex:1 1 0;min-width:0;display:flex;align-items:center;gap:3px;overflow-x:auto;scrollbar-width:thin;padding-right:4px;border-right:1px solid var(--ui-border);margin-right:2px}.invoice-carton-commerce .carton-type-picker__btn{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;padding:0 8px;border:none;border-radius:6px;background:transparent;color:var(--ui-heading);font:inherit;font-size:11px;font-weight:600;white-space:nowrap;cursor:pointer;line-height:1}.invoice-carton-commerce .carton-type-picker__btn:hover:not(:disabled):not(.is-selected){background:color-mix(in srgb,var(--ui-surface) 55%,transparent)}.invoice-carton-commerce .carton-type-picker__btn.is-selected{background:var(--ui-surface);box-shadow:0 1px 3px var(--shadow-sm)}.invoice-carton-commerce .carton-type-picker__btn:disabled{opacity:.55;cursor:not-allowed}.invoice-carton-custom-dims,.invoice-carton-weights{display:inline-flex;align-items:center;gap:4px;flex-shrink:0;padding-left:6px;border-left:1px solid var(--ui-border)}.invoice-carton-inline-label{font-size:10px;font-weight:600;color:var(--ui-text-secondary);white-space:nowrap;line-height:1;flex-shrink:0}.invoice-carton-inline-input{width:64px;padding:0 6px;border-radius:6px;border:1px solid var(--ui-border);background:var(--ui-surface);color:inherit;font-family:inherit;font-size:13px;text-align:right;font-variant-numeric:tabular-nums;line-height:1}.invoice-carton-inline-input--dim{width:48px}.invoice-carton-inline-input--weight{width:64px}.carton-type-picker--compact{margin-bottom:8px}.carton-type-picker--compact>.invoice-line-label{margin-bottom:4px}.carton-type-picker--compact .carton-type-picker__buttons{display:flex;flex-wrap:wrap;gap:4px;padding:3px;border-radius:8px;background:var(--ui-table-header);border:1px solid var(--ui-border)}.carton-type-picker--compact .carton-type-picker__btn{flex:1 1 0;min-width:88px;min-height:30px;padding:4px 8px;flex-direction:row;align-items:center;flex-wrap:wrap;gap:4px;border:none;border-radius:6px;background:transparent;box-shadow:none}.carton-type-picker--compact .carton-type-picker__btn:hover:not(:disabled):not(.is-selected){background:color-mix(in srgb,var(--ui-surface) 55%,transparent)}.carton-type-picker--compact .carton-type-picker__btn.is-selected{background:var(--ui-surface);box-shadow:0 1px 3px var(--shadow-sm)}.carton-type-picker--compact .carton-type-picker__name{font-size:11px;font-weight:600}.carton-type-picker--compact .carton-type-picker__dims{font-size:10px}.carton-type-picker--compact .carton-type-picker__dims:before{content:"·";margin-right:4px;opacity:.55}.invoice-carton-lines{padding:8px 10px;border-radius:8px;background:var(--ui-surface-muted);border:1px dashed var(--ui-border)}.invoice-carton-lines__head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.invoice-carton-lines__title{font-size:12px;font-weight:600;color:var(--ui-heading)}.invoice-carton-lines__add{background:var(--ui-primary);border-color:var(--ui-primary);color:var(--ui-on-primary);font-weight:600}.invoice-carton-lines__add:hover:not(:disabled){filter:brightness(1.08)}.invoice-carton-line{display:grid;grid-template-columns:minmax(0,1fr) 76px 52px 32px;gap:6px 8px;align-items:center;margin-bottom:6px}.invoice-carton-line--draggable{grid-template-columns:24px minmax(0,1fr) 76px 52px 32px}.invoice-carton-line--drop-target{outline:2px solid var(--ui-primary);border-radius:6px}.invoice-carton-line__drag{width:24px;height:28px;font-size:11px;padding:0}.invoice-carton-line__remove{padding:4px 6px;min-width:32px;color:var(--ui-error)}.invoice-carton-line-head{display:grid;grid-template-columns:minmax(0,1fr) 76px 52px 32px;gap:6px 8px;margin-bottom:4px}.invoice-carton-line-head--draggable{grid-template-columns:24px minmax(0,1fr) 76px 52px 32px}.invoice-carton-line-head .invoice-line-label{margin-bottom:0}.invoice-carton-lines__empty{margin:0;font-size:11px;color:var(--ui-text-muted)}.invoice-packing-table-wrap{margin-top:14px}.invoice-packing-table .proforma-packing-table__col-item{width:16rem}.invoice-packing-table .proforma-packing-table__item{width:16rem;max-width:16rem}.invoice-packing-table__proforma-group td{padding:0!important;border-bottom:none!important;vertical-align:middle;background:transparent}.invoice-packing-table__proforma-group-inner{display:flex;align-items:center;justify-content:flex-start;gap:10px;padding:9px 14px 9px 16px;background:var(--invoice-line-alt-bg);box-shadow:inset 4px 0 0 var(--invoice-line-alt-accent);border-bottom:1px solid var(--invoice-line-alt-border)}.invoice-packing-table__proforma-group-name{font-weight:700;font-size:12.5px;letter-spacing:.01em;color:var(--ui-heading);min-width:0}.invoice-packing-table__proforma-group-range{flex-shrink:0;margin-left:0;padding:2px 9px;border-radius:999px;font-size:11px;font-weight:700;letter-spacing:.02em;color:var(--invoice-line-alt-accent);background:color-mix(in srgb,var(--ui-surface) 55%,var(--invoice-line-alt-bg));border:1px solid var(--invoice-line-alt-border)}.invoice-packing-table .proforma-packing-table__carton+.invoice-packing-table__proforma-group .invoice-packing-table__proforma-group-inner{border-top:3px solid var(--proforma-carton-separator)}.invoice-packing-table__proforma-group+.proforma-packing-table__carton>tr:first-child>td{border-top:none}.invoice-packing-bar{display:flex;justify-content:flex-end;margin-top:14px;padding-top:12px;border-top:1px solid var(--ui-border)}@media(max-width:767px){.invoice-carton-commerce__track{flex-wrap:wrap;align-items:center;row-gap:8px}.invoice-carton-types{flex:1 1 100%;order:2;border-right:none;margin-right:0;padding-right:0;border-top:1px solid var(--ui-border);padding-top:8px}.invoice-carton-custom-dims,.invoice-carton-weights{flex:1 1 auto;order:3;border-left:none;padding-left:0;border-top:1px solid var(--ui-border);padding-top:8px}.invoice-carton-card__remove{order:1;margin-left:auto}.invoice-carton-inline-input,.invoice-carton-inline-input--dim,.invoice-carton-inline-input--weight{flex:1 1 56px;width:auto;min-width:0}.invoice-carton-commerce .carton-type-picker__btn{flex:1 1 calc(50% - 3px);min-width:0}.invoice-packing-table__proforma-group td{display:block;width:100%}}.approvals-page__alert{margin:0 0 16px;padding:10px 14px;border-radius:8px;font-size:14px}.approvals-page__empty{background:var(--ui-surface);border-radius:12px;box-shadow:0 2px 8px var(--shadow-sm);padding:40px 20px;text-align:center;color:var(--ui-text-muted);font-size:14px;line-height:1.5}.approvals-page__pagination{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:14px;padding:10px 4px;font-size:13px;color:var(--ui-text-muted)}.approvals-page__pagination-rows{display:flex;align-items:center;gap:6px;margin:0}.approvals-page__pagination-select{width:72px;min-width:72px;padding:6px 8px;border-radius:8px;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-heading);font-size:13px}.approvals-page__pagination-range{color:var(--ui-heading);font-weight:600}.approvals-page__pagination-nav{display:flex;align-items:center;gap:6px;margin-left:auto}.approvals-page__pagination-page{min-width:72px;text-align:center;color:var(--ui-text)}.approvals-page__pagination-btn{padding:8px 14px;border-radius:8px;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-heading);font-size:13px;font-weight:500;cursor:pointer}.approvals-page__pagination-btn:disabled{opacity:.5;cursor:not-allowed}.approval-mobile-card{background:var(--ui-surface);border-radius:14px;box-shadow:0 2px 10px var(--shadow-sm);padding:16px;border:1px solid var(--ui-table-header);border-left-width:4px}.approval-mobile-card.is-edit{border-left-color:var(--status-warning-border)}.approval-mobile-card.is-delete{border-left-color:var(--status-danger-border)}.approval-mobile-card.is-pending{box-shadow:0 2px 12px var(--shadow-md)}.approval-mobile-card__badges{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.approval-mobile-card__title{margin:0 0 6px;font-size:16px;font-weight:600;color:var(--ui-heading);line-height:1.3}.approval-mobile-card__description{margin:0 0 14px;font-size:13px;color:var(--ui-text-muted);line-height:1.45}.approval-mobile-card__entity{padding:12px;border-radius:10px;background:var(--ui-surface-muted);margin-bottom:12px}.approval-mobile-card__entity-label{display:block;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--ui-text-muted);margin-bottom:4px}.approval-mobile-card__entity-link,.approval-mobile-card__entity-name{display:block;font-size:14px;font-weight:600;color:var(--ui-heading);overflow-wrap:anywhere;line-height:1.4;text-decoration:none}.approval-mobile-card__entity-link{color:var(--ui-heading)}.approval-mobile-card__meta{display:grid;gap:10px;padding-top:12px;border-top:1px solid var(--ui-table-header)}.approval-mobile-card__meta-label{display:block;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--ui-text-muted);margin-bottom:2px}.approval-mobile-card__meta-value{display:block;font-size:13px;color:var(--ui-heading);line-height:1.4}.approval-mobile-card__actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}.approval-mobile-card__btn{min-height:44px;padding:10px 14px;border-radius:10px;font-size:14px;font-weight:600;cursor:pointer;border:1px solid transparent}.approval-mobile-card__btn:disabled{opacity:.7;cursor:wait}.approval-mobile-card__btn--approve{background:var(--ui-primary);color:var(--ui-on-primary)}.approval-mobile-card__btn--reject{background:var(--ui-danger-bg);color:var(--ui-error);border-color:var(--ui-danger-border)}.register-page__title{margin:0;color:var(--ui-heading);font-size:26px}.register-page__subtitle{margin:6px 0 0;font-size:13px;color:var(--ui-text-muted);line-height:1.45}.register-page__header,.register-page__filters{margin-bottom:16px}.register-page__alert{margin:0 0 12px;padding:10px 14px;border-radius:8px;font-size:14px;background:var(--ui-surface-muted)}.register-sort-btn{display:inline-flex;align-items:center;gap:4px;padding:0;border:none;background:transparent;font:inherit;font-size:inherit;font-weight:inherit;text-transform:inherit;letter-spacing:inherit;color:inherit;cursor:pointer}.register-sort-btn:hover{color:var(--ui-heading)}.register-sort-btn__indicator{flex:0 0 auto;font-size:12px;font-weight:800;line-height:1;color:var(--ui-accent)}.register-page__readonly{margin:0 0 12px;font-size:13px;color:var(--ui-text-muted);line-height:1.45}.register-page__empty{background:var(--ui-surface);border-radius:12px;box-shadow:0 2px 8px var(--shadow-sm);padding:32px 20px;text-align:center;color:var(--ui-text-muted);font-size:14px;line-height:1.5}.register-page__pagination{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:14px;padding:10px 4px;font-size:13px;color:var(--ui-text-muted)}.register-page__pagination-rows{display:flex;align-items:center;gap:6px;margin:0}.register-page__pagination-select{width:72px;min-width:72px;padding:6px 8px;border-radius:8px;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-heading);font-size:13px}.register-page__pagination-range{color:var(--ui-heading);font-weight:600}.register-page__pagination-nav{display:flex;align-items:center;gap:6px;margin-left:auto}.register-page__pagination-page{min-width:72px;text-align:center;color:var(--ui-text)}.register-mobile-card{background:var(--ui-surface);border-radius:14px;box-shadow:0 2px 10px var(--shadow-sm);padding:16px;border:1px solid var(--ui-table-header)}.register-mobile-card__header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:8px}.register-mobile-card__heading{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}.register-mobile-card__serial{display:inline-flex;align-items:center;justify-content:center;min-width:32px;padding:4px 8px;border-radius:8px;background:var(--ui-table-header);color:var(--ui-heading);font-size:12px;font-weight:700}.register-mobile-card__invoice{font-size:16px;font-weight:700;color:var(--ui-heading);text-decoration:none;overflow-wrap:anywhere;line-height:1.3}.register-mobile-card__edit{flex-shrink:0;min-height:36px;padding:6px 14px;border-radius:8px;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-heading);font-size:13px;font-weight:600;cursor:pointer}.register-mobile-card__grid,.register-mobile-card__section{display:grid;grid-template-columns:1fr 1fr;gap:12px}.register-mobile-card__section{margin-top:14px;padding-top:14px;border-top:1px solid var(--ui-table-header)}.register-mobile-card__field{min-width:0}.register-mobile-card__field--full{grid-column:1 / -1}.register-mobile-card__label{display:block;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--ui-text-muted);margin-bottom:3px}.register-mobile-card__value{display:block;font-size:13px;color:var(--ui-heading);line-height:1.4;overflow-wrap:anywhere}.invoices-page__title{margin:0;color:var(--ui-heading);font-size:26px}.invoices-page__subtitle{margin:6px 0 0;font-size:13px;color:var(--ui-text-muted);line-height:1.45}.invoices-page__header{margin-bottom:16px}.invoices-page__filters{margin-bottom:12px}.invoices-page__search{flex:1;min-width:200px;box-sizing:border-box}.invoices-page__apply-btn{flex-shrink:0}.invoices-page__toolbar{display:flex;gap:8px;margin-bottom:16px;flex-wrap:wrap}.invoices-mobile-toolbar{display:none}.invoices-page__alert{margin:0 0 12px;padding:10px 14px;border-radius:8px;font-size:14px;background:var(--ui-surface-muted)}.invoices-sort-btn{display:inline-flex;align-items:center;gap:4px;padding:0;border:none;background:transparent;font:inherit;font-size:inherit;font-weight:inherit;text-transform:inherit;letter-spacing:inherit;color:inherit;cursor:pointer}.invoices-sort-btn:hover{color:var(--ui-heading)}.invoices-sort-btn__indicator{flex:0 0 auto;font-size:12px;font-weight:800;line-height:1;color:var(--ui-accent)}.invoices-page__empty{background:var(--ui-surface);border-radius:12px;box-shadow:0 2px 8px var(--shadow-sm);padding:32px 20px;text-align:center;color:var(--ui-text-muted);font-size:14px;line-height:1.5}.invoices-mobile-select-all{display:flex;align-items:center;gap:10px;padding:12px 14px;background:var(--ui-surface);border:1px solid var(--ui-table-header);border-radius:12px;font-size:14px;font-weight:600;color:var(--ui-heading);cursor:pointer}.invoices-mobile-select-all input{width:18px;height:18px;flex-shrink:0}.invoice-mobile-card{background:var(--ui-surface);border-radius:14px;box-shadow:0 2px 10px var(--shadow-sm);padding:14px;border:1px solid var(--ui-table-header)}.invoice-mobile-card.is-selected{border-color:var(--ui-accent);box-shadow:0 2px 12px var(--shadow-accent)}.invoice-mobile-card__top{display:flex;gap:12px;align-items:flex-start}.invoice-mobile-card__check{display:flex;align-items:center;padding-top:4px;cursor:pointer}.invoice-mobile-card__check input{width:18px;height:18px}.invoice-mobile-card__main{flex:1;min-width:0}.invoice-mobile-card__header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.invoice-mobile-card__number{font-size:16px;font-weight:700;color:var(--ui-heading);text-decoration:none;line-height:1.3;overflow-wrap:anywhere}.invoice-row-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.invoice-row-actions__btn{display:inline-flex;align-items:center;justify-content:center;padding:6px 12px;border-radius:8px;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-heading);font-size:12px;font-weight:600;line-height:1.2;text-decoration:none;white-space:nowrap;cursor:pointer}.invoice-row-actions__btn:hover{border-color:var(--ui-primary);color:var(--ui-primary)}.invoice-row-actions__btn--primary{background:var(--ui-primary);border-color:var(--ui-primary);color:var(--ui-on-primary)}.invoice-row-actions__btn--primary:hover{filter:brightness(1.08);color:var(--ui-on-primary)}.invoice-row-actions--mobile{flex-direction:column;align-items:stretch;flex-shrink:0}.invoice-row-actions--mobile .invoice-row-actions__btn{min-height:32px}.invoice-mobile-card__company{margin-top:6px;font-size:12px;font-weight:600;color:var(--ui-text-muted);overflow-wrap:anywhere;line-height:1.4}.invoice-mobile-card__consignee{margin:4px 0 0;font-size:14px;font-weight:600;color:var(--ui-heading);overflow-wrap:anywhere;line-height:1.35}.invoice-mobile-card__badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.invoice-mobile-card__type{display:inline-block;padding:4px 10px;border-radius:999px;font-size:11px;font-weight:700;background:var(--ui-table-header);color:var(--ui-heading)}.invoice-mobile-card__meta{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px;padding-top:14px;border-top:1px solid var(--ui-table-header)}.invoice-mobile-card__label{display:block;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--ui-text-muted);margin-bottom:3px}.invoice-mobile-card__value{display:block;font-size:13px;color:var(--ui-heading);line-height:1.4}.invoice-mobile-card__amount{font-weight:600}.products-page__title{margin:0;color:var(--ui-heading);font-size:26px}.products-page__subtitle{margin:6px 0 0;font-size:13px;color:var(--ui-text-muted);line-height:1.45}.products-page__header{margin-bottom:16px}.products-page__actions{display:flex;gap:8px;flex-wrap:wrap}.products-page__alert{margin:0 0 12px;padding:10px 14px;border-radius:8px;font-size:14px;background:var(--ui-surface-muted)}.products-page__search{display:block;width:100%;max-width:420px;margin-bottom:16px;box-sizing:border-box;padding:10px 14px;border-radius:10px;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-heading);font-size:14px}.products-page__search:focus{outline:none;border-color:var(--ui-primary);box-shadow:0 0 0 3px var(--shadow-md)}.products-page__empty{background:var(--ui-surface);border-radius:12px;box-shadow:0 2px 8px var(--shadow-sm);padding:40px 20px;text-align:center;color:var(--ui-text-muted);font-size:14px;line-height:1.5;display:flex;flex-direction:column;align-items:center;gap:16px}.products-page__pagination{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:14px;padding:10px 4px;font-size:13px;color:var(--ui-text-muted)}.products-page__pagination-rows{display:flex;align-items:center;gap:6px;margin:0}.products-page__pagination-select{width:72px;min-width:72px;padding:6px 8px;border-radius:8px;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-heading);font-size:13px}.products-page__pagination-range{color:var(--ui-heading);font-weight:600}.products-page__pagination-nav{display:flex;align-items:center;gap:6px;margin-left:auto}.products-page__pagination-page{min-width:72px;text-align:center;color:var(--ui-text)}.products-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:8px 16px;border-radius:10px;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-heading);font-size:13px;font-weight:600;line-height:1.2;text-decoration:none;white-space:nowrap;cursor:pointer;box-sizing:border-box;transition:border-color .15s ease,background .15s ease,color .15s ease,filter .15s ease}.products-btn:hover{border-color:var(--ui-primary);color:var(--ui-primary)}.products-btn--primary{background:var(--ui-primary);border-color:var(--ui-primary);color:var(--ui-on-primary)}.products-btn--primary:hover{filter:brightness(1.08);color:var(--ui-on-primary);border-color:var(--ui-primary)}.products-btn--secondary{background:var(--ui-surface);border-color:var(--ui-border-strong);color:var(--ui-heading)}.products-btn--secondary:hover{border-color:var(--ui-primary);color:var(--ui-primary);background:color-mix(in srgb,var(--ui-primary) 8%,var(--ui-surface))}.products-btn--danger{background:var(--ui-danger-bg);border-color:var(--ui-danger-border);color:var(--ui-error)}.products-btn--danger:hover{filter:brightness(1.05);color:var(--ui-error);border-color:var(--ui-error)}.products-btn--sm{min-height:32px;padding:5px 12px;border-radius:8px;font-size:12px}.products-link-btn{display:inline;margin-top:4px;padding:0;border:none;background:none;color:var(--ui-primary);font-size:12px;font-weight:600;cursor:pointer;line-height:1.3}.products-link-btn:hover{text-decoration:underline}.products-row-actions{display:inline-flex;align-items:center;gap:8px}.products-desktop-table{background:var(--ui-surface);border-radius:12px;box-shadow:0 2px 8px var(--shadow-sm);overflow:hidden}.products-table{width:100%;border-collapse:collapse;font-size:14px;min-width:980px}.products-table thead tr{background:var(--ui-table-header)}.products-table th{padding:12px 14px;text-align:left;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--ui-text-muted);white-space:nowrap;border-bottom:1px solid var(--ui-border)}.products-table th:nth-child(6),.products-table th:nth-child(7),.products-table td.products-table__cost,.products-table td.products-table__actions{text-align:right}.products-table td{padding:12px 14px;vertical-align:top;border-bottom:1px solid var(--ui-table-header);color:var(--ui-heading);line-height:1.4}.products-table__row{transition:background .12s ease}.products-table__row:hover{background:var(--ui-hover)}.products-table__row.is-expanded{background:color-mix(in srgb,var(--ui-primary) 6%,transparent)}.products-table__row--editing{background:color-mix(in srgb,var(--status-docs-bg) 45%,var(--ui-surface));vertical-align:top}.products-table__row--editing:hover{background:color-mix(in srgb,var(--status-docs-bg) 55%,var(--ui-surface))}.products-inline-input,.products-inline-textarea{width:100%;min-width:0;box-sizing:border-box;font:inherit;font-size:13px;color:var(--ui-text);background:var(--ui-input-bg);border:1px solid var(--ui-border-strong);border-radius:8px;padding:6px 8px}.products-inline-input:focus,.products-inline-textarea:focus{outline:none;border-color:var(--ui-accent);box-shadow:0 0 0 3px var(--ui-focus-ring)}.products-inline-input--cost{max-width:110px;font-variant-numeric:tabular-nums}.products-inline-textarea{resize:vertical;min-height:52px;line-height:1.4}.products-inline-textarea--pack{min-height:44px}.products-table__name{font-weight:600;max-width:200px;overflow-wrap:anywhere}.products-table__muted{color:var(--ui-text-muted);max-width:140px;overflow-wrap:anywhere}.products-table__composition{max-width:280px}.products-table__hsn{font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--ui-text-secondary)}.products-table__pack{max-width:140px;white-space:pre-line;color:var(--ui-text-secondary);font-size:13px}.products-table__cost{font-variant-numeric:tabular-nums;font-weight:600;white-space:nowrap}.products-table__actions{white-space:nowrap}.products-table__clamp{margin:0;font-size:13px;color:var(--ui-text-secondary);line-height:1.45;white-space:pre-line;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.products-table__clamp.is-expanded{display:block;-webkit-line-clamp:unset;overflow:visible}.products-table__clamp--pack{-webkit-line-clamp:2}.product-mobile-card{background:var(--ui-surface);border-radius:14px;box-shadow:0 2px 10px var(--shadow-sm);padding:16px;border:1px solid var(--ui-table-header)}.product-mobile-card--editing{border-color:color-mix(in srgb,var(--status-docs-fg) 35%,var(--ui-border));background:color-mix(in srgb,var(--status-docs-bg) 40%,var(--ui-surface))}.product-mobile-card--editing .products-inline-input,.product-mobile-card--editing .products-inline-textarea{margin-top:4px}.product-mobile-card__name{margin:0;font-size:16px;font-weight:700;color:var(--ui-heading);line-height:1.35;overflow-wrap:anywhere}.product-mobile-card__grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.product-mobile-card__field{min-width:0}.product-mobile-card__field--full{grid-column:1 / -1}.product-mobile-card__label{display:block;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--ui-text-muted);margin-bottom:3px}.product-mobile-card__value{display:block;font-size:13px;color:var(--ui-heading);line-height:1.4;overflow-wrap:anywhere}.product-mobile-card__value.is-clamped{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:pre-line}.product-mobile-card__composition{margin-top:14px;padding-top:14px;border-top:1px solid var(--ui-table-header)}.product-mobile-card__composition-text{margin:4px 0 0;font-size:13px;color:var(--ui-text-secondary);line-height:1.5;white-space:pre-line;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.product-mobile-card__composition-text.is-expanded{display:block;-webkit-line-clamp:unset;overflow:visible}.product-mobile-card__actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px;padding-top:14px;border-top:1px solid var(--ui-table-header)}.product-mobile-card__btn{min-height:44px;padding:10px 14px;border-radius:10px;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-heading);font-size:14px;font-weight:600;cursor:pointer}.product-mobile-card__btn--danger{color:var(--ui-error);border-color:var(--ui-danger-border);background:var(--ui-danger-bg)}.products-modal-overlay{padding:20px;background:var(--overlay-bg);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.products-form{display:flex;flex-direction:column;width:min(560px,100%);max-height:min(88vh,720px);padding:0;border-radius:14px;background:var(--ui-surface);box-shadow:0 20px 48px var(--shadow-modal);overflow:hidden}.products-form__header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 24px 16px;border-bottom:1px solid var(--ui-table-header);background:var(--ui-surface-muted)}.products-form__title{margin:0;font-size:18px;font-weight:700;color:var(--ui-heading);line-height:1.3}.products-form__subtitle{margin:4px 0 0;font-size:13px;color:var(--ui-text-muted);line-height:1.4;overflow-wrap:anywhere}.products-form__close{flex-shrink:0;width:36px;height:36px;border:none;border-radius:8px;background:transparent;color:var(--ui-text-muted);font-size:24px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center}.products-form__close:hover{background:var(--ui-table-header);color:var(--ui-heading)}.products-form__body{flex:1;overflow-y:auto;padding:20px 24px}.products-form__grid{display:grid;grid-template-columns:1fr 180px;gap:16px 20px}.products-form__field{display:flex;flex-direction:column;gap:6px;min-width:0}.products-form__field--full{grid-column:1 / -1}.products-form__label{font-size:12px;font-weight:600;color:var(--ui-text-secondary);letter-spacing:.02em}.products-form__required{color:var(--ui-error)}.products-form__input,.products-form__textarea{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid var(--ui-border-strong);border-radius:8px;font:inherit;font-size:14px;color:var(--ui-heading);background:var(--ui-surface);transition:border-color .15s,box-shadow .15s}.products-form__input:focus,.products-form__textarea:focus{outline:none;border-color:var(--ui-primary);box-shadow:0 0 0 3px var(--shadow-md)}.products-form__textarea{resize:vertical;min-height:88px;line-height:1.5;white-space:pre-wrap}.products-form__textarea--pack{min-height:64px;max-height:120px}.products-form__hint{margin:0;font-size:12px;color:var(--ui-text-muted);line-height:1.45}.products-form__footer{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding:16px 24px 20px;border-top:1px solid var(--ui-table-header);background:var(--ui-surface-muted)}.products-form__btn{min-height:40px;padding:0 18px;border-radius:8px;border:1px solid var(--ui-border-strong);background:var(--ui-surface);color:var(--ui-heading);font-size:14px;font-weight:600;cursor:pointer}.products-form__btn:hover{background:var(--ui-page-bg)}.products-form__btn--primary{border:none;background:var(--ui-primary);color:var(--ui-on-primary)}.products-form__btn--primary:hover{background:var(--brand-navy-light)}.clients-page__title{margin:0;color:var(--ui-heading);font-size:26px}.clients-page__subtitle{margin:6px 0 0;font-size:13px;color:var(--ui-text-muted);line-height:1.45}.clients-page__header{margin-bottom:16px}.clients-page__actions{display:flex;gap:8px;flex-wrap:wrap}.clients-page__alert{margin:0 0 12px;padding:10px 14px;border-radius:8px;font-size:14px;background:var(--ui-surface-muted)}.clients-page__search{display:block;width:100%;max-width:420px;margin-bottom:16px;box-sizing:border-box;padding:10px 14px;border-radius:10px;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-heading);font-size:14px}.clients-page__search:focus{outline:none;border-color:var(--ui-primary);box-shadow:0 0 0 3px var(--shadow-md)}.clients-page__pagination{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:14px;padding:10px 4px;font-size:13px;color:var(--ui-text-muted)}.clients-page__pagination-rows{display:flex;align-items:center;gap:6px;margin:0}.clients-page__pagination-select{width:72px;min-width:72px;padding:6px 8px;border-radius:8px;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-heading);font-size:13px}.clients-page__pagination-range{color:var(--ui-heading);font-weight:600}.clients-page__pagination-nav{display:flex;align-items:center;gap:6px;margin-left:auto}.clients-page__pagination-page{min-width:72px;text-align:center;color:var(--ui-text)}.clients-page__empty{background:var(--ui-surface);border-radius:12px;box-shadow:0 2px 8px var(--shadow-sm);padding:40px 20px;text-align:center;color:var(--ui-text-muted);font-size:14px;line-height:1.5;display:flex;flex-direction:column;align-items:center;gap:16px}.clients-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:8px 16px;border-radius:10px;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-heading);font-size:13px;font-weight:600;line-height:1.2;text-decoration:none;white-space:nowrap;cursor:pointer;box-sizing:border-box;transition:border-color .15s ease,background .15s ease,color .15s ease,filter .15s ease}.clients-btn:hover{border-color:var(--ui-primary);color:var(--ui-primary)}.clients-btn--primary{background:var(--ui-primary);border-color:var(--ui-primary);color:var(--ui-on-primary)}.clients-btn--primary:hover{filter:brightness(1.08);color:var(--ui-on-primary);border-color:var(--ui-primary)}.clients-btn--secondary{background:var(--ui-surface);border-color:var(--ui-border-strong);color:var(--ui-heading)}.clients-btn--secondary:hover{border-color:var(--ui-primary);color:var(--ui-primary);background:color-mix(in srgb,var(--ui-primary) 8%,var(--ui-surface))}.clients-btn--danger{background:var(--ui-danger-bg);border-color:var(--ui-danger-border);color:var(--ui-error)}.clients-btn--danger:hover{filter:brightness(1.05);color:var(--ui-error);border-color:var(--ui-error)}.clients-btn--sm{min-height:32px;padding:5px 12px;border-radius:8px;font-size:12px}.clients-btn--block{width:100%}.clients-row-actions{display:inline-flex;align-items:center;gap:8px}.clients-desktop-table{background:var(--ui-surface);border-radius:12px;box-shadow:0 2px 8px var(--shadow-sm);overflow:hidden}.clients-table{width:100%;border-collapse:collapse;font-size:14px;min-width:860px}.clients-table thead tr{background:var(--ui-table-header)}.clients-table__row{cursor:pointer;transition:background .12s ease}.clients-table__row:hover{background:var(--ui-hover)}.clients-table__row.is-expanded{background:color-mix(in srgb,var(--ui-primary) 6%,transparent)}.clients-table__code{display:inline-block;padding:3px 9px;border-radius:6px;background:var(--ui-surface-muted);font-size:12px;font-weight:700;letter-spacing:.04em;color:var(--ui-heading)}.clients-table__detail-row>td{padding:0;border-bottom:1px solid var(--ui-table-header);background:var(--ui-page-bg)}.client-detail-panel{padding:16px 20px 20px}.client-detail-panel__meta{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:18px}.client-detail-panel__label{display:block;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--ui-text-muted);margin-bottom:4px}.client-detail-panel__text{margin:0;font-size:13px;color:var(--ui-text);line-height:1.5;overflow-wrap:anywhere}.client-detail-panel__orders-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;flex-wrap:wrap}.client-detail-panel__orders-title{font-size:14px;color:var(--ui-heading)}.client-detail-panel__empty{margin:0;font-size:13px;color:var(--ui-text-muted)}.client-orders-mobile{display:none;flex-direction:column;gap:8px}.client-orders-desktop{background:var(--ui-surface);border-radius:10px;overflow:hidden;border:1px solid var(--ui-table-header)}.client-orders-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px}.client-orders-table__col--code{width:14%}.client-orders-table__col--no{width:22%}.client-orders-table__col--date{width:12%}.client-orders-table__col--currency{width:8%}.client-orders-table__col--total{width:14%}.client-orders-table__col--status{width:12%}.client-orders-table__col--actions{width:18%}.client-orders-table thead tr{background:var(--ui-table-header)}.client-orders-table tbody tr{border-top:1px solid var(--ui-table-header)}.client-orders-table th,.client-orders-table td{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.client-orders-table__no{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.client-orders-table__num{text-align:right;font-variant-numeric:tabular-nums}.client-orders-table__actions{text-align:right}.client-accounts{margin-top:22px;padding-top:18px;border-top:1px solid var(--ui-table-header)}.client-accounts__header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;flex-wrap:wrap}.client-accounts__title{font-size:14px;color:var(--ui-heading)}.client-accounts__error{margin:0 0 12px;font-size:13px;color:var(--ui-error)}.client-accounts__notice{margin:0 0 12px;font-size:13px;color:var(--ui-success, #16a34a)}.client-accounts__empty{margin:0;font-size:13px;color:var(--ui-text-muted)}.client-accounts__list{display:flex;flex-direction:column;gap:14px}.client-account-card{background:var(--ui-surface);border:1px solid var(--ui-table-header);border-radius:12px;padding:14px 16px}.client-account-card__head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}.client-account-card__title{display:flex;align-items:baseline;gap:8px;font-size:15px;color:var(--ui-heading)}.client-account-card__ccy{font-size:11px;font-weight:700;letter-spacing:.04em;color:var(--ui-text-muted);background:var(--ui-surface-muted);padding:2px 8px;border-radius:999px}.client-account-card__head-actions{display:flex;gap:8px}.client-account-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:12px;background:var(--ui-surface-muted);border-radius:10px;margin-bottom:14px}.client-account-summary__item{display:flex;flex-direction:column;gap:4px}.client-account-summary__label{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--ui-text-muted)}.client-account-summary__item strong{font-size:15px;font-variant-numeric:tabular-nums;color:var(--ui-heading)}.client-account-balance--due{color:var(--ui-error)}.client-account-balance--extra{color:var(--ui-warning)}.client-account-balance--settled{color:var(--ui-success)}.client-account-section{margin-top:12px}.client-account-section__label{display:block;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--ui-text-muted);margin-bottom:6px}.client-account-section__empty{margin:0 0 6px;font-size:13px;color:var(--ui-text-muted)}.client-account-proformas,.client-account-payments{list-style:none;margin:0 0 8px;padding:0;display:flex;flex-direction:column;gap:4px}.client-account-proformas__row,.client-account-payments__row{display:flex;align-items:center;gap:10px;padding:6px 10px;background:var(--ui-surface-muted);border-radius:8px;font-size:13px}.client-account-proformas__no{font-weight:600;color:var(--ui-heading)}.client-account-proformas__code{font-size:11px;color:var(--ui-text-muted);background:var(--ui-surface);border:1px solid var(--ui-table-header);padding:1px 6px;border-radius:6px}.client-account-proformas__amount,.client-account-payments__amount{margin-left:auto;font-variant-numeric:tabular-nums;font-weight:600;color:var(--ui-heading)}.client-account-payments__date{color:var(--ui-text-muted);min-width:92px}.client-account-payments__notes{color:var(--ui-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1 1 auto;max-width:40%}.client-account-payments__amount{margin-left:0}.client-account-payments__row{justify-content:flex-start}.client-account-linkbtn{border:none;background:transparent;color:var(--ui-error);font-size:16px;line-height:1;cursor:pointer;padding:0 4px;border-radius:6px}.client-account-linkbtn:hover:not(:disabled){background:var(--ui-danger-bg)}.client-account-linkbtn:disabled{opacity:.4;cursor:default}.client-account-linkbtn--edit{color:var(--ui-link);font-size:13px}.client-account-linkbtn--edit:hover:not(:disabled){background:var(--ui-hover)}.client-account-payments__actions{display:inline-flex;gap:2px;margin-left:auto}.client-account-payments__row--editing{background:transparent;padding:0}.client-account-payments__row--editing .client-account-addpay{margin-top:0;width:100%}.client-account-attach{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.client-account-attach select{flex:1 1 220px;min-width:180px;padding:7px 10px;border:1px solid var(--ui-border);border-radius:8px;background:var(--ui-input-bg);color:var(--ui-text);font-size:13px}.client-account-addpay{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:4px}.client-account-addpay input{padding:7px 10px;border:1px solid var(--ui-border);border-radius:8px;background:var(--ui-input-bg);color:var(--ui-text);font-size:13px}.client-account-addpay__amount{width:150px;font-variant-numeric:tabular-nums}.client-account-addpay__date{width:150px}.client-account-addpay__notes{flex:1 1 160px;min-width:140px}.client-account-addpay__type{padding:7px 10px;border:1px solid var(--ui-border);border-radius:8px;background:var(--ui-input-bg);color:var(--ui-text);font-size:13px;width:160px}.client-account-typetoggle{display:inline-flex;border:1px solid var(--ui-border);border-radius:8px;overflow:hidden}.client-account-typetoggle__btn{border:none;background:var(--ui-input-bg);color:var(--ui-text-muted, #64748b);font-size:13px;padding:7px 12px;cursor:pointer;white-space:nowrap;transition:background .15s ease,color .15s ease}.client-account-typetoggle__btn+.client-account-typetoggle__btn{border-left:1px solid var(--ui-border)}.client-account-typetoggle__btn:hover:not(:disabled){color:var(--ui-text)}.client-account-typetoggle__btn:disabled{cursor:not-allowed;opacity:.6}.client-account-typetoggle__btn--due{background:#b91c1c;color:#fff;font-weight:600}.client-account-typetoggle__btn--advance{background:#047857;color:#fff;font-weight:600}.client-account-typetoggle__btn--due:hover:not(:disabled){color:#fff}.client-account-typetoggle__btn--advance:hover:not(:disabled){color:#fff}.client-account-tag{display:inline-block;padding:1px 8px;border-radius:999px;font-size:11px;font-weight:600;line-height:1.6;white-space:nowrap}.client-account-tag--due{background:#dc26261f;color:#b91c1c}.client-account-tag--advance{background:#10b98124;color:#047857}.client-account-newform{background:var(--ui-surface-muted);border:1px solid var(--ui-table-header);border-radius:10px;padding:12px;margin-bottom:14px}.client-account-newform__fields{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:10px}.client-account-field{display:flex;flex-direction:column;gap:4px;flex:1 1 160px}.client-account-field--sm{flex:0 0 90px}.client-account-field--grow{flex:2 1 240px}.client-account-field span{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--ui-text-muted)}.client-account-field input{padding:7px 10px;border:1px solid var(--ui-border);border-radius:8px;background:var(--ui-input-bg);color:var(--ui-text);font-size:13px}.client-account-newform__actions{display:flex;justify-content:flex-end;gap:8px}.client-account-card__notes{margin:12px 0 0;font-size:12px;color:var(--ui-text-muted);font-style:italic}@media(max-width:640px){.client-account-summary{grid-template-columns:1fr;gap:8px}.client-account-payments__notes{max-width:100%}}.client-order-card{background:var(--ui-surface);border:1px solid var(--ui-table-header);border-radius:10px;padding:12px}.client-order-card__row{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px}.client-order-card__month{font-weight:700;color:var(--ui-heading);font-size:14px}.client-order-card__meta{display:flex;flex-wrap:wrap;align-items:center;gap:12px;font-size:12px;color:var(--ui-text-muted);margin-bottom:10px}.client-order-code{display:inline-flex;align-items:center;gap:6px;min-width:0}.client-order-code__chip{display:inline-flex;align-items:center;padding:2px 6px;border-radius:5px;background:var(--ui-surface-muted);font-size:11px;font-weight:700;letter-spacing:.04em;color:var(--ui-text-muted);white-space:nowrap}.client-order-code__tape{flex-shrink:0}.client-mobile-card{background:var(--ui-surface);border-radius:14px;box-shadow:0 2px 10px var(--shadow-sm);border:1px solid var(--ui-table-header);overflow:hidden}.client-mobile-card.is-expanded{border-color:color-mix(in srgb,var(--ui-primary) 35%,var(--ui-table-header));box-shadow:0 4px 16px var(--shadow-sm)}.client-mobile-card__main{display:block;width:100%;text-align:left;padding:16px;border:none;background:transparent;cursor:pointer;color:inherit;font:inherit}.client-mobile-card__heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.client-mobile-card__name{margin:0;font-size:16px;font-weight:700;color:var(--ui-heading);line-height:1.35;overflow-wrap:anywhere}.client-mobile-card__code{flex-shrink:0;padding:3px 9px;border-radius:6px;background:var(--ui-surface-muted);font-size:12px;font-weight:700;letter-spacing:.04em;color:var(--ui-heading)}.client-mobile-card__company{margin:6px 0 0;font-size:13px;color:var(--ui-text-secondary);overflow-wrap:anywhere}.client-mobile-card__grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.client-mobile-card__field{min-width:0}.client-mobile-card__field--full{grid-column:1 / -1}.client-mobile-card__label{display:block;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--ui-text-muted);margin-bottom:3px}.client-mobile-card__value{display:block;font-size:13px;color:var(--ui-heading);line-height:1.4;overflow-wrap:anywhere}.client-mobile-card__expand-hint{display:block;margin-top:14px;font-size:12px;font-weight:600;color:var(--ui-link)}.client-mobile-card__detail{padding:0 12px 12px;border-top:1px solid var(--ui-table-header);background:var(--ui-page-bg)}.client-mobile-card__detail .client-detail-panel{padding:14px 4px 8px}.client-mobile-card__actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:4px}.client-mobile-card__actions .clients-btn{min-height:44px}.clients-modal-overlay{padding:20px;background:var(--overlay-bg);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.clients-form{display:flex;flex-direction:column;width:min(600px,100%);max-height:min(88vh,780px);padding:0;border-radius:14px;background:var(--ui-surface);box-shadow:0 20px 48px var(--shadow-modal);overflow:hidden}.clients-form__header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 24px 16px;border-bottom:1px solid var(--ui-table-header);background:var(--ui-surface-muted)}.clients-form__title{margin:0;font-size:18px;font-weight:700;color:var(--ui-heading);line-height:1.3}.clients-form__subtitle{margin:4px 0 0;font-size:13px;color:var(--ui-text-muted);line-height:1.4}.clients-form__close{flex-shrink:0;width:36px;height:36px;border:none;border-radius:8px;background:transparent;color:var(--ui-text-muted);font-size:24px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center}.clients-form__close:hover{background:var(--ui-table-header);color:var(--ui-heading)}.clients-form__body{flex:1;overflow-y:auto;padding:20px 24px}.clients-form__grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px}.clients-form__field{display:flex;flex-direction:column;gap:6px;min-width:0}.clients-form__field--full{grid-column:1 / -1}.clients-form__label{font-size:12px;font-weight:600;color:var(--ui-text-secondary);letter-spacing:.02em}.clients-form__required{color:var(--ui-error)}.clients-form__input,.clients-form__textarea{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid var(--ui-border-strong);border-radius:8px;font:inherit;font-size:14px;color:var(--ui-heading);background:var(--ui-surface);transition:border-color .15s,box-shadow .15s}.clients-form__input:focus,.clients-form__textarea:focus{outline:none;border-color:var(--ui-primary);box-shadow:0 0 0 3px var(--shadow-md)}.clients-form__textarea{resize:vertical;min-height:64px;line-height:1.5}.clients-form__footer{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding:16px 24px 20px;border-top:1px solid var(--ui-table-header);background:var(--ui-surface-muted)}.clients-form__footer .clients-form__btn,.clients-form__btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 18px;border-radius:10px;border:1px solid var(--ui-border-strong);background:var(--ui-surface);color:var(--ui-heading);font-size:14px;font-weight:600;cursor:pointer}.clients-form__btn:hover{background:var(--ui-page-bg)}.clients-form__btn--primary{border:none;background:var(--ui-primary);color:var(--ui-on-primary)}.clients-form__btn--primary:hover{filter:brightness(1.08);background:var(--ui-primary)}.proforma-detail-page{max-width:1280px;margin:0 auto}.proforma-detail-page--loading{color:var(--ui-text-muted);padding:24px}.proforma-detail-page__header{position:sticky;top:0;z-index:40;display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin:0 -24px 16px;width:calc(100% + 48px);padding:14px 24px;background:var(--ui-surface);border-bottom:1px solid var(--ui-table-header);box-shadow:0 2px 8px var(--shadow-sm)}.proforma-detail-page__back{display:inline-block;font-size:13px;color:var(--ui-link);text-decoration:none;font-weight:600;margin-bottom:6px}.proforma-detail-page__title-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.proforma-detail-page__title{margin:0;font-size:22px;color:var(--ui-heading);line-height:1.25}.proforma-detail-page__subtitle{margin:4px 0 0;font-size:13px;color:var(--ui-text-muted)}.proforma-detail-page__actions{display:flex;gap:8px;flex-wrap:wrap;flex-shrink:0;margin-left:auto}.proforma-order-share-capture-host{position:fixed;left:0;top:0;width:100vw;max-width:100%;height:100vh;overflow:hidden;opacity:0;pointer-events:none;z-index:-1}.proforma-order-share-card{width:900px;box-sizing:border-box;padding:28px 32px 32px;background:#fff;color:#1a2332;font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.4;letter-spacing:.01px;word-spacing:.15em;border:1px solid #d8dee8;border-radius:12px}.proforma-order-share-card__header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:18px;border-bottom:3px solid #c9a227;margin-bottom:18px}.proforma-order-share-card__brand{display:flex;align-items:center;gap:14px;min-width:0}.proforma-order-share-card__logo-wrap{width:56px;height:56px;flex-shrink:0;overflow:hidden;display:flex;align-items:center;justify-content:center}.proforma-order-share-card__logo{width:56px;height:56px;max-width:56px;max-height:56px;object-fit:contain;flex-shrink:0;display:block}.proforma-order-share-card__company{font-size:17px;font-weight:700;color:#0f2744;line-height:1.25}.proforma-order-share-card__heading{text-align:right;flex-shrink:0}.proforma-order-share-card__title{font-size:22px;font-weight:800;letter-spacing:.02em;color:#0f2744;text-transform:uppercase}.proforma-order-share-card__draft{display:inline-block;margin-top:6px;padding:3px 10px;border-radius:6px;font-size:11px;font-weight:700;letter-spacing:.06em;color:#7a5d00;background:#fff4cc;border:1px solid #e6c84a}.proforma-order-share-card__meta{display:grid;grid-template-columns:1fr 1fr;gap:10px 24px;margin-bottom:20px;padding:14px 16px;background:#f4f7fb;border-radius:10px;border:1px solid #e2e8f0}.proforma-order-share-card__meta-row{display:flex;flex-direction:column;gap:2px}.proforma-order-share-card__meta-label{font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#64748b}.proforma-order-share-card__meta-value{font-size:14px;font-weight:600;color:#0f2744}.proforma-order-share-card__table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:13px}.proforma-order-share-card__col-num{width:32px}.proforma-order-share-card__col-product{width:34%}.proforma-order-share-card__col-mfr{width:136px}.proforma-order-share-card__col-expiry{width:62px}.proforma-order-share-card__col-qty{width:64px}.proforma-order-share-card__col-price{width:72px}.proforma-order-share-card__col-total{width:88px}.proforma-order-share-card__table th,.proforma-order-share-card__table td{padding:9px 8px;border:1px solid #d8dee8;text-align:left;vertical-align:middle;overflow:hidden}.proforma-order-share-card__table thead th{background:#0f2744;color:#fff;font-size:10px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;white-space:nowrap;padding:10px 8px;overflow:visible}.proforma-order-share-card__th-mfr{padding:10px 12px!important;letter-spacing:.02em;font-size:9.5px}.proforma-order-share-card__table thead th:nth-child(1),.proforma-order-share-card__table thead th:nth-child(5),.proforma-order-share-card__table thead th:nth-child(6),.proforma-order-share-card__table thead th:nth-child(7){text-align:center}.proforma-order-share-card__table tbody td:nth-child(1),.proforma-order-share-card__table tbody td:nth-child(5),.proforma-order-share-card__table tbody td:nth-child(6),.proforma-order-share-card__table tbody td:nth-child(7),.proforma-order-share-card__table tfoot td:last-child{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;padding-left:4px;padding-right:8px}.proforma-order-share-card__table tbody td:nth-child(3){text-align:left;line-height:1.35;word-wrap:break-word;overflow-wrap:break-word;padding:9px 12px;font-size:12px}.proforma-order-share-card__table tbody td:nth-child(4){text-align:center;white-space:nowrap;padding-left:4px;padding-right:4px;font-size:12px}.proforma-order-share-card__table thead th:nth-child(3){text-align:left}.proforma-order-share-card__table tbody td:nth-child(2){font-weight:600;line-height:1.35;word-wrap:break-word;overflow-wrap:break-word}.proforma-order-share-card__product-name{display:block}.proforma-order-share-card__remark{display:block;margin-top:2px;font-weight:400;font-size:11px;color:#475569;line-height:1.3}.proforma-order-share-card__table tbody tr:nth-child(2n){background:#fafbfd}.proforma-order-share-card__shipping-label{font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#334155;text-align:right!important;padding-right:10px!important}.proforma-order-share-card__grand-label{font-weight:800;letter-spacing:.05em;text-transform:uppercase;text-align:right!important;background:#f8fafc;color:#0f2744}.proforma-order-share-card__grand-value{font-weight:800;font-size:16px;background:#fff9e6;color:#0f2744;border-top:2px solid #c9a227!important}.proforma-order-share-card__order-remarks{margin-top:16px;padding:12px 14px;border:1px solid #d8dee8;border-radius:8px;background:#f8fafc;text-align:left}.proforma-order-share-card__order-remarks-label{font-size:10px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#0f2744;margin-bottom:6px}.proforma-order-share-card__order-remarks-text{font-size:13px;font-weight:500;line-height:1.45;white-space:pre-wrap;word-wrap:break-word;color:#1e293b}.proforma-order-share-card__meta--packing{grid-template-columns:1fr 1fr 1fr}.account-share-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-bottom:22px;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden}.account-share-summary__item{display:flex;flex-direction:column;gap:4px;padding:14px 16px;background:#f4f7fb;border-right:1px solid #e2e8f0}.account-share-summary__item:last-child{border-right:none}.account-share-summary__label{font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#64748b}.account-share-summary__value{font-size:17px;font-weight:800;color:#0f2744;font-variant-numeric:tabular-nums;white-space:nowrap}.account-share-summary__value--due{color:#b91c1c}.account-share-summary__value--extra{color:#b45309}.account-share-summary__value--settled{color:#15803d}.account-share-section-title{font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#0f2744;margin:4px 0 12px;padding-bottom:6px;border-bottom:2px solid #c9a227}.account-share-proforma{margin-bottom:20px}.account-share-proforma__head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:6px}.account-share-proforma__ref{font-size:14px;font-weight:700;color:#0f2744}.account-share-proforma__total{font-size:13px;font-weight:700;color:#334155;font-variant-numeric:tabular-nums;white-space:nowrap}.account-share-paytable{width:100%;table-layout:fixed;border-collapse:collapse;font-size:13px;margin-bottom:14px}.account-share-paytable__col-date{width:120px}.account-share-paytable__col-type{width:130px}.account-share-paytable__col-amount{width:150px}.account-share-paytable th,.account-share-paytable td{padding:9px 10px;border:1px solid #d8dee8;text-align:left;vertical-align:middle;overflow:hidden;overflow-wrap:break-word}.account-share-paytable thead th{background:#0f2744;color:#fff;font-size:10px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;white-space:nowrap}.account-share-paytable thead th:last-child,.account-share-paytable tbody td:last-child,.account-share-paytable tfoot td:last-child{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.account-share-paytable tbody tr:nth-child(2n){background:#fafbfd}.account-share-paytable tbody tr.account-share-paytable__opening-row,.account-share-paytable tbody tr.account-share-paytable__opening-row:nth-child(2n){background:#f3f6fb}.account-share-paytable__total-label{font-weight:800;letter-spacing:.05em;text-transform:uppercase;text-align:right!important;background:#f8fafc;color:#0f2744}.account-share-paytable__total-value{font-weight:800;background:#fff9e6;color:#0f2744;border-top:2px solid #c9a227!important}.account-share-empty{margin:0 0 14px;font-size:13px;color:#64748b}.account-share-notes{margin:6px 0 0;font-size:12px;color:#475569;font-style:italic}.proforma-packing-share-card{width:900px;box-sizing:border-box;padding:28px 32px 32px;background:#fff;color:#1a2332;font-family:Arial,Helvetica,sans-serif;line-height:1.4;letter-spacing:.01px;word-spacing:.15em}.proforma-packing-share-card__table{width:100%;table-layout:fixed;border-collapse:collapse;margin-top:20px;font-size:13px}.proforma-packing-share-card__col-crtn{width:88px}.proforma-packing-share-card__col-item{width:auto}.proforma-packing-share-card__col-qty{width:96px}.proforma-packing-share-card__col-weight{width:104px}.proforma-packing-share-card__col-dims{width:148px}.proforma-packing-share-card__table th,.proforma-packing-share-card__table td{padding:9px 10px;border:1px solid #d8dee8;text-align:left;vertical-align:middle}.proforma-packing-share-card__table thead th{background:#0f2744;color:#fff;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.proforma-packing-share-card__table thead th:nth-child(3){text-align:center}.proforma-packing-share-card__crtn{font-weight:700;text-align:center;vertical-align:middle;white-space:nowrap}.proforma-packing-share-card__item{font-weight:600;line-height:1.35;word-wrap:break-word}.proforma-packing-share-card__qty,.proforma-packing-share-card__weight,.proforma-packing-share-card__dims{text-align:center;font-variant-numeric:tabular-nums;white-space:nowrap}.proforma-packing-share-card__carton+.proforma-packing-share-card__carton tr:first-child td,.proforma-packing-share-card__carton+.proforma-packing-share-card__carton tr:first-child th{border-top:2px solid #2563eb}.proforma-packing-share-card__row--continued td{border-top-style:dashed;border-top-color:#e2e8f0}.proforma-packing-share-card__total td{font-weight:800;background:#f8fafc;border-top:2px solid #0f2744}.proforma-packing-share-card__grand-label{letter-spacing:.05em;text-transform:uppercase}.proforma-detail-page__alert{margin:0 0 14px;padding:10px 14px;border-radius:8px;font-size:14px;background:var(--ui-surface-muted)}.proforma-detail-page__alert.is-error{background:color-mix(in srgb,var(--ui-error) 14%,var(--ui-surface));border:1px solid color-mix(in srgb,var(--ui-error) 45%,transparent);color:var(--ui-error)}.proforma-detail-page__alert.is-warning{background:color-mix(in srgb,var(--ui-warning, #c9971a) 14%,var(--ui-surface));border:1px solid color-mix(in srgb,var(--ui-warning, #c9971a) 45%,transparent);color:var(--ui-heading)}.proforma-status-badge{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;font-size:11px;font-weight:700;letter-spacing:.03em}.proforma-status-badge.is-draft{background:var(--status-draft-bg);color:var(--status-draft-fg)}.proforma-status-badge.is-finalized{background:var(--status-finalized-bg);color:var(--status-finalized-fg)}.proforma-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:8px 16px;border-radius:10px;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-heading);font-size:13px;font-weight:600;line-height:1.2;text-decoration:none;white-space:nowrap;cursor:pointer;box-sizing:border-box;transition:border-color .15s ease,background .15s ease,color .15s ease,filter .15s ease}.proforma-btn:disabled{opacity:.6;cursor:not-allowed}.proforma-btn:hover:not(:disabled){border-color:var(--ui-primary);color:var(--ui-primary)}.proforma-btn--primary{background:var(--ui-primary);border-color:var(--ui-primary);color:var(--ui-on-primary)}.proforma-btn--primary:hover:not(:disabled){filter:brightness(1.08);color:var(--ui-on-primary);border-color:var(--ui-primary)}.proforma-btn--secondary{background:var(--ui-surface);border-color:var(--ui-border-strong);color:var(--ui-heading)}.proforma-btn--secondary:hover:not(:disabled){border-color:var(--ui-primary);color:var(--ui-primary);background:color-mix(in srgb,var(--ui-primary) 8%,var(--ui-surface))}.proforma-btn--danger{background:var(--ui-danger-bg);border-color:var(--ui-danger-border);color:var(--ui-error)}.proforma-btn--danger:hover:not(:disabled){filter:brightness(1.05);color:var(--ui-error);border-color:var(--ui-error)}.proforma-btn--sm{min-height:32px;padding:5px 12px;border-radius:8px;font-size:12px}.proforma-steps{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:16px;padding:6px;background:var(--ui-surface);border-radius:12px;border:1px solid var(--ui-table-header)}.proforma-steps__btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 14px;border:none;border-radius:10px;background:transparent;color:var(--ui-text-muted);font-size:13px;font-weight:600;cursor:pointer}.proforma-steps__btn.is-active{background:var(--ui-primary);color:var(--ui-on-primary)}.proforma-steps__num{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:999px;font-size:12px;font-weight:700;background:color-mix(in srgb,currentColor 18%,transparent)}.proforma-segment{display:flex;flex-wrap:wrap;gap:4px;width:fit-content;max-width:100%;padding:4px;background:var(--ui-page-bg);border:1px solid var(--ui-table-header);border-radius:10px}.proforma-segment__btn{flex:0 0 auto;min-height:36px;padding:7px 12px;border:none;border-radius:8px;background:transparent;color:var(--ui-text-muted);font:inherit;font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap;transition:background .15s ease,color .15s ease}.proforma-segment__btn:hover:not(.is-active){color:var(--ui-heading);background:color-mix(in srgb,var(--ui-primary) 8%,transparent)}.proforma-segment__btn.is-active{background:var(--ui-primary);color:var(--ui-on-primary)}.proforma-segment--wrap .proforma-segment__btn{white-space:normal;text-align:left;line-height:1.25;max-width:280px}.proforma-segment--compact{width:100%;padding:3px;gap:3px;border-radius:8px}.proforma-segment--compact .proforma-segment__btn{flex:1 1 0;min-height:30px;padding:4px 8px;font-size:12px;border-radius:6px}.proforma-section--compact{padding:12px 14px;margin-bottom:12px}.proforma-order-grid{display:grid;grid-template-columns:minmax(0,1.6fr) 72px minmax(0,1fr) minmax(0,1.1fr);gap:8px 10px;align-items:end}.proforma-order-grid__client{grid-column:1}.proforma-order-grid__code{grid-column:2}.proforma-order-grid__tape{grid-column:3}.proforma-order-grid__number{grid-column:4}.proforma-order-grid__company{grid-column:1}.proforma-order-grid__date{grid-column:2}.proforma-order-grid__currency{grid-column:3 / span 2}.proforma-order-grid__rate{grid-column:1}.proforma-order-grid__status{grid-column:2}.proforma-order-grid__product-type{grid-column:3}.proforma-order-grid__terms{grid-column:4}.proforma-order-grid .proforma-field{gap:4px}.proforma-order-grid .proforma-label{font-size:10px;letter-spacing:.03em}.proforma-input--compact{min-height:34px;padding:6px 10px;font-size:13px;border-radius:7px}.proforma-number-split{display:flex;align-items:center;gap:4px;min-width:0}.proforma-number-split__no{flex:1 1 0;min-width:0;text-align:right;font-variant-numeric:tabular-nums}.proforma-number-split__sep{flex-shrink:0;color:var(--ui-text-muted);font-weight:600;font-size:13px}.proforma-number-split__fy{flex:1.4 1 0;min-width:0;text-align:left;font-variant-numeric:tabular-nums;background:var(--ui-page-bg);border-style:dashed;pointer-events:none}.tape-color-select--compact .tape-color-select__swatch,.tape-color-select--compact>span:first-child{flex-shrink:0}@media(min-width:1100px){.proforma-order-grid{grid-template-columns:minmax(0,2fr) 80px minmax(0,1.1fr) 148px minmax(0,1fr) minmax(0,1fr) 96px}.proforma-order-grid__client{grid-column:1}.proforma-order-grid__code{grid-column:2}.proforma-order-grid__tape{grid-column:3}.proforma-order-grid__number{grid-column:4}.proforma-order-grid__company{grid-column:1}.proforma-order-grid__date{grid-column:2}.proforma-order-grid__currency{grid-column:3 / span 2}.proforma-order-grid__rate{grid-column:5}.proforma-order-grid__status{grid-column:6}.proforma-order-grid__product-type{grid-column:1 / span 3}.proforma-order-grid__terms{grid-column:4 / -1}}.proforma-section{background:var(--ui-surface);border-radius:14px;padding:20px;margin-bottom:16px;box-shadow:0 2px 8px var(--shadow-sm);border:1px solid var(--ui-table-header)}.proforma-section__header{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}.proforma-section__title{margin:0 0 14px;font-size:15px;font-weight:700;color:var(--ui-heading)}.proforma-section__header .proforma-section__title{margin:0}.proforma-section__header-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.proforma-form-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:14px}.proforma-field{display:flex;flex-direction:column;gap:6px;min-width:0}.proforma-field--full{grid-column:1 / -1}.proforma-label{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--ui-text-muted)}.proforma-label__link{font-size:11px;font-weight:600;text-transform:none;letter-spacing:0;color:var(--ui-link);text-decoration:none}.proforma-input,.proforma-textarea{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid var(--ui-border-strong);border-radius:8px;font:inherit;font-size:14px;color:var(--ui-heading);background:var(--ui-input-bg, var(--ui-surface));min-height:40px}.proforma-input[type=number]{-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield}.proforma-input[type=number]::-webkit-outer-spin-button,.proforma-input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.proforma-input:focus,.proforma-textarea:focus{outline:none;border-color:var(--ui-primary);box-shadow:0 0 0 3px var(--shadow-md)}.proforma-input--sm{min-height:32px;padding:4px 6px;font-size:12px}.proforma-input--narrow{width:100%;max-width:100%;padding-left:4px;padding-right:4px;text-align:right;font-variant-numeric:tabular-nums}.proforma-input--readonly{display:flex;align-items:center;border-style:dashed;color:var(--ui-heading);font-variant-numeric:tabular-nums;background:var(--ui-page-bg);pointer-events:none}.proforma-input--qty{width:100%;max-width:100%;text-align:right;font-variant-numeric:tabular-nums;padding-left:4px;padding-right:4px}.proforma-input--expiry{width:100%;min-width:0;max-width:100%;font-variant-numeric:tabular-nums;padding-left:4px;padding-right:4px}.proforma-btn--icon{width:36px;min-width:36px;min-height:36px;padding:0;display:inline-flex;align-items:center;justify-content:center;font-size:18px;line-height:1}.proforma-textarea{min-height:64px;resize:vertical;line-height:1.45}.proforma-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}.proforma-section--info{margin-bottom:0}.proforma-section--private{background:color-mix(in srgb,var(--ui-error) 10%,var(--ui-surface));border-color:color-mix(in srgb,var(--ui-error) 45%,var(--ui-border))}.proforma-section--private .proforma-section__title{color:var(--ui-error)}.proforma-section--private .proforma-textarea{background:color-mix(in srgb,var(--ui-error) 8%,var(--ui-input-bg));border-color:color-mix(in srgb,var(--ui-error) 55%,var(--ui-border));color:var(--ui-error)}.proforma-section--private .proforma-textarea::placeholder{color:color-mix(in srgb,var(--ui-error) 55%,var(--ui-text-muted))}.proforma-section--private .proforma-textarea:focus{border-color:var(--ui-error);box-shadow:0 0 0 3px color-mix(in srgb,var(--ui-error) 22%,transparent)}.proforma-info-block{font-size:13px;color:var(--ui-text);line-height:1.6}.proforma-info-block__k{display:inline-block;min-width:88px;color:var(--ui-text-muted);font-weight:600;font-size:11px;text-transform:uppercase;letter-spacing:.03em;margin-right:6px}.proforma-empty{display:flex;flex-direction:column;align-items:center;gap:12px;padding:28px 16px;text-align:center;color:var(--ui-text-muted);font-size:14px;background:var(--ui-page-bg);border-radius:12px;border:1px dashed var(--ui-border)}.proforma-empty p{margin:0}.proforma-line-cards{display:none;flex-direction:column;gap:12px}.proforma-line-card{background:var(--ui-page-bg);border:1px solid var(--ui-table-header);border-radius:12px;padding:14px}.proforma-line-card__top{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;gap:8px}.proforma-line-card__top-left{display:inline-flex;align-items:center;gap:4px;min-width:0}.proforma-line-card__drag{display:inline-flex;align-items:center;justify-content:center;width:16px;min-width:16px;height:24px;border-radius:6px;color:var(--ui-text-muted);font-size:14px;line-height:1;letter-spacing:-.08em;cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none}.proforma-line-card__drag:active{cursor:grabbing}.proforma-line-card.is-dragging{opacity:.45}.proforma-line-card.is-drop-target{box-shadow:inset 0 3px 0 0 var(--ui-primary)}.proforma-line-card__num{font-size:12px;font-weight:700;color:var(--ui-text-muted)}.proforma-line-card__grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.proforma-line-card__metrics{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0;font-size:13px;color:var(--ui-text)}.proforma-lines-table-wrap{border-radius:0;border:none;overflow:auto;background:transparent}.proforma-lines-table{width:100%;border-collapse:separate;border-spacing:0;font-size:12px;min-width:0;table-layout:fixed}.proforma-lines-table th{padding:6px 3px;text-align:left;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.02em;color:var(--ui-text-muted);background:var(--ui-table-header);white-space:nowrap;border-top:1px solid var(--ui-border-strong, var(--ui-table-header))}.proforma-lines-table td{padding:3px 2px;vertical-align:middle;border-top:1px solid var(--ui-table-header);background:var(--ui-surface)}.proforma-lines-table__gap{width:12px;min-width:12px;max-width:12px;padding:0!important;border:none!important;background:transparent!important;box-shadow:none!important}.proforma-lines-table__edge-l{border-left:1px solid var(--ui-border-strong, var(--ui-table-header))}.proforma-lines-table__edge-r-public{border-right:1px solid var(--ui-border-strong, var(--ui-table-header))}.proforma-lines-table__edge-l-internal{border-left:1px solid var(--proforma-internal-border)}.proforma-lines-table__edge-r{border-right:1px solid var(--proforma-internal-border)}.proforma-lines-table thead .proforma-lines-table__edge-l{border-top-left-radius:10px}.proforma-lines-table thead .proforma-lines-table__edge-r-public{border-top-right-radius:10px}.proforma-lines-table thead .proforma-lines-table__edge-l-internal{border-top-left-radius:10px}.proforma-lines-table thead .proforma-lines-table__edge-r{border-top-right-radius:10px}.proforma-lines-table tbody tr:last-child td:not(.proforma-lines-table__gap){border-bottom:1px solid var(--ui-border-strong, var(--ui-table-header))}.proforma-lines-table tbody tr:last-child .proforma-lines-table__edge-l{border-bottom-left-radius:10px}.proforma-lines-table tbody tr:last-child .proforma-lines-table__edge-r-public{border-bottom-right-radius:10px}.proforma-lines-table tbody tr:last-child .proforma-lines-table__edge-l-internal{border-bottom-left-radius:10px;border-bottom-color:var(--proforma-internal-border)}.proforma-lines-table tbody tr:last-child .proforma-lines-table__edge-r{border-bottom-right-radius:10px;border-bottom-color:var(--proforma-internal-border)}.proforma-lines-table tbody tr:last-child td.proforma-lines-table__internal{border-bottom-color:var(--proforma-internal-border)}.proforma-lines-table__sl{width:34px;text-align:center;white-space:nowrap}.proforma-lines-table__sl-inner{position:relative;display:inline-flex;align-items:center;justify-content:center;width:100%}.proforma-lines-table__sl-inner:has(.proforma-lines-table__drag){padding-left:16px}.proforma-lines-table__drag{position:absolute;left:0;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;width:16px;min-width:16px;height:24px;border-radius:6px;color:var(--ui-text-muted);font-size:14px;line-height:1;letter-spacing:-.08em;cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none}.proforma-lines-table__drag:active{cursor:grabbing}.proforma-lines-table tbody tr.is-dragging{opacity:.45}.proforma-lines-table tbody tr.is-drop-target td{box-shadow:inset 0 3px 0 0 var(--ui-primary)}.proforma-section__hint{font-size:12px;font-weight:500;color:var(--ui-text-muted);letter-spacing:normal;text-transform:none}.proforma-lines-table__product{width:auto}.proforma-lines-table__product .proforma-product-search,.proforma-lines-table__product .proforma-input{width:100%;min-width:0}.proforma-lines-table__remarks{width:168px}.proforma-lines-table__remarks .proforma-input{width:100%;min-width:0}.proforma-lines-table__manufacturer{width:96px}.proforma-lines-table__manufacturer .proforma-input{width:100%;min-width:0}.proforma-lines-table__expiry{width:72px}.proforma-lines-table__expiry .proforma-input{width:100%;min-width:0}.proforma-lines-table__qty{width:52px}.proforma-lines-table__qty .proforma-input{width:100%;min-width:0}.proforma-lines-table__money{width:72px}.proforma-lines-table th.proforma-lines-table__money{white-space:normal;line-height:1.15;text-align:right}.proforma-lines-table__money .proforma-input{width:100%;min-width:0}.proforma-lines-table__profit-pct{width:62px;text-align:right}.proforma-lines-table th.proforma-lines-table__profit-pct{white-space:normal;line-height:1.15}.proforma-lines-table__actions{width:88px}.proforma-lines-table th.proforma-lines-table__actions{background:var(--proforma-internal-header-bg);color:var(--proforma-internal-header-text);box-shadow:inset 0 -2px 0 var(--proforma-internal-underline)}.proforma-lines-table td.proforma-lines-table__actions{background:var(--proforma-internal-bg)}.proforma-lines-table__num{font-weight:600;white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums;padding-top:6px!important;padding-right:4px!important}.proforma-lines-table th.proforma-lines-table__internal{background:var(--proforma-internal-header-bg);color:var(--proforma-internal-header-text);box-shadow:inset 0 -2px 0 var(--proforma-internal-underline)}.proforma-lines-table td.proforma-lines-table__internal{background:var(--proforma-internal-bg);color:var(--proforma-internal-text)}.proforma-lines-table__internal .proforma-input{background:var(--proforma-internal-input-bg);border-color:var(--proforma-internal-border);color:var(--proforma-internal-text)}.proforma-field--internal .proforma-label{color:var(--proforma-internal-header-text)}.proforma-field--internal .proforma-input{background:var(--proforma-internal-input-bg);border-color:var(--proforma-internal-border);color:var(--proforma-internal-text)}.proforma-line-card__metrics--internal{padding:8px 10px;border-radius:8px;background:var(--proforma-internal-bg);border:1px solid var(--proforma-internal-border)}.proforma-row-actions{display:inline-flex;gap:4px;align-items:center;justify-content:flex-end;width:100%}.proforma-row-actions .proforma-btn--sm{min-height:28px;padding:2px 6px;font-size:10px}.proforma-product-search{position:relative}.proforma-product-search__dropdown{position:absolute;z-index:40;left:0;right:0;top:calc(100% + 4px);max-height:220px;overflow-y:auto;background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:10px;box-shadow:0 8px 24px var(--shadow-sm)}.proforma-product-search__dropdown--portal{position:fixed;right:auto;z-index:1200}.proforma-product-search__option{display:flex;flex-direction:column;gap:2px;width:100%;text-align:left;padding:10px 12px;border:none;border-bottom:1px solid var(--ui-table-header);background:transparent;cursor:pointer;color:inherit;font:inherit}.proforma-product-search__option:hover{background:var(--ui-hover)}.proforma-product-search__name{font-size:13px;font-weight:600;color:var(--ui-heading)}.proforma-product-search__meta{font-size:11px;color:var(--ui-text-muted)}.proforma-product-search__empty{padding:12px;font-size:13px;color:var(--ui-text-muted)}.proforma-shipping-label{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.02em;color:var(--ui-heading);white-space:nowrap}.proforma-lines-table__shipping-label-cell{text-align:right;vertical-align:middle}.proforma-lines-table__shipping-label-cell .proforma-shipping-label{padding:0 4px 0 0}.proforma-lines-table__shipping td{border-top:1px solid var(--proforma-internal-border);background:var(--proforma-shipping-bg)}.proforma-lines-table__shipping td.proforma-lines-table__internal,.proforma-lines-table__shipping td.proforma-lines-table__actions{background:color-mix(in srgb,var(--proforma-internal-bg) 85%,var(--proforma-internal-header-bg))}.proforma-line-card--shipping{border-color:var(--proforma-internal-border);background:var(--proforma-shipping-bg)}.proforma-line-card--grand-total{border-color:var(--proforma-grand-border);background:var(--proforma-grand-bg);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--proforma-grand-border) 40%,transparent)}.proforma-line-card--grand-total .proforma-line-card__num{color:var(--proforma-grand-text);font-weight:800;letter-spacing:.04em}.proforma-lines-table__grand-total td{border-top:2px solid var(--proforma-grand-border);background:var(--proforma-grand-bg);font-weight:800;color:var(--ui-heading)}.proforma-lines-table__grand-total td.proforma-lines-table__internal,.proforma-lines-table__grand-total td.proforma-lines-table__actions{background:color-mix(in srgb,var(--proforma-grand-bg) 70%,var(--proforma-internal-bg))}.proforma-lines-table__grand-total .proforma-shipping-label{color:var(--proforma-grand-text);font-weight:800;letter-spacing:.04em}.proforma-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;margin:0 0 16px;padding:0 0 14px;border-bottom:1px solid var(--ui-table-header)}.proforma-summary--inline{margin-top:0;padding-top:0;border-top:none;flex:1 1 280px;min-width:0}.proforma-packing-bar{position:sticky;bottom:0;z-index:25;display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:8px;padding:12px 0 4px;background:linear-gradient(to top,var(--ui-surface) 72%,color-mix(in srgb,var(--ui-surface) 80%,transparent));border-top:1px solid var(--ui-table-header)}.proforma-packing-bar__actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.proforma-packing-table-wrap{overflow-x:auto;margin-top:4px;border:1px solid var(--ui-border);border-radius:12px;background:var(--ui-surface)}.proforma-packing-table{width:100%;min-width:0;border-collapse:collapse;font-size:13px;table-layout:fixed}.proforma-packing-table__col-sno{width:70px}.proforma-packing-table__col-item{width:19rem}.proforma-packing-table__col-qty{width:68px}.proforma-packing-table__col-weight{width:92px}.proforma-packing-table__col-dims{width:9.5rem}.proforma-packing-table__col-remarks{width:auto}.proforma-packing-table__col-actions{width:84px}.proforma-packing-table th,.proforma-packing-table td{padding:8px;border-bottom:1px solid var(--ui-table-header);vertical-align:top;text-align:left}.proforma-packing-table thead th{background:var(--ui-page-bg);font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--ui-text-muted);white-space:nowrap}.proforma-packing-table__carton:last-of-type>tr:last-child>td{border-bottom:none}.proforma-packing-table__carton:not(:last-of-type)>tr:last-child>td{border-bottom:none}.proforma-packing-table__carton+.proforma-packing-table__carton>tr:first-child>td{border-top:3px solid var(--proforma-carton-separator)}.proforma-packing-table__row--continued td{border-top:none}.proforma-packing-table__sno{width:70px;min-width:70px;padding-left:6px;padding-right:6px;background:color-mix(in srgb,var(--ui-page-bg) 55%,transparent);text-align:center;vertical-align:middle}.proforma-packing-table__sno-inner{position:relative;display:flex;align-items:center;justify-content:center;min-height:100%;width:100%}.proforma-packing-table__sno-inner:has(.proforma-packing-table__drag){padding-left:16px}.proforma-packing-table__drag{position:absolute;left:0;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;width:16px;min-width:16px;height:24px;border-radius:6px;color:var(--ui-text-muted);font-size:14px;line-height:1;letter-spacing:-.08em;cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none}.proforma-packing-table__drag:active{cursor:grabbing}.proforma-packing-table__sno-label{font-size:12px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:var(--ui-text-muted);line-height:1.2;text-align:center}.proforma-packing-table__actions{width:84px;min-width:84px;max-width:84px;padding-left:4px;padding-right:6px;vertical-align:middle;overflow:visible}.proforma-packing-table__actions-row{display:flex;align-items:center;justify-content:flex-end;gap:4px;flex-wrap:nowrap}.proforma-packing-table__actions-row .proforma-btn--icon{width:32px;min-width:32px;min-height:32px;font-size:16px}.proforma-packing-table__carton.is-dragging{opacity:.45}.proforma-packing-table__carton.is-drop-target>tr:first-child>td{box-shadow:inset 0 3px 0 0 var(--ui-primary)}.proforma-packing-table .proforma-input{width:100%;min-width:0}.proforma-packing-table .proforma-input--qty{max-width:none}.proforma-packing-table__qty{width:68px;max-width:68px;white-space:nowrap}.proforma-packing-table__weight{width:92px;max-width:92px;white-space:nowrap}.proforma-packing-table__item{width:19rem;max-width:19rem;vertical-align:middle;padding-left:6px;padding-right:6px;overflow:hidden}.proforma-packing-table__item-field{position:relative;display:block;width:100%;min-width:0;min-height:34px}.proforma-packing-table__item-select{width:100%;max-width:100%;min-width:0;min-height:34px;padding-left:8px;padding-right:28px;box-sizing:border-box}.proforma-packing-table__item-select--filled,select.proforma-packing-table__item-select--filled:disabled{color:transparent;-webkit-text-fill-color:transparent}.proforma-packing-table__item-select--filled option{color:var(--ui-text);-webkit-text-fill-color:var(--ui-text)}.proforma-packing-table__item-display{position:absolute;top:0;bottom:0;left:0;right:24px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;padding:5px 8px;pointer-events:none;white-space:normal;overflow-wrap:anywhere;line-height:1.25;font-size:13px;color:var(--ui-text)}.proforma-packing-table .proforma-input--qty,.proforma-packing-table__weight .proforma-input{font-variant-numeric:tabular-nums;padding-left:6px;padding-right:6px}.proforma-packing-table__dims{white-space:nowrap;vertical-align:middle;padding:8px;min-width:9rem}.proforma-packing-table__dims-select{width:100%;max-width:100%;min-width:0;padding-left:8px;padding-right:28px;box-sizing:border-box}.proforma-packing-table__dims--custom{min-width:12.5rem;width:12.5rem;max-width:none}.proforma-packing-table__dims--custom .proforma-packing-table__dims-select{width:100%;max-width:100%;min-width:0}.proforma-packing-table__dims-custom{display:flex;align-items:center;gap:6px;margin-top:4px;width:100%;flex-wrap:nowrap}.proforma-packing-table__dims-custom-inputs{display:flex;align-items:center;gap:3px;flex:1 1 auto;min-width:0}.proforma-packing-table__dims-custom .proforma-input{flex:1 1 0;width:0;min-width:2.25rem;max-width:2.75rem;padding-left:2px;padding-right:2px;text-align:center}.proforma-packing-table__dims-custom-inputs>span{color:var(--ui-text-muted);font-size:11px;flex:0 0 auto;line-height:1}.proforma-packing-table__dims-custom .proforma-btn--icon{flex:0 0 30px;width:30px;min-width:30px;min-height:30px;font-size:16px}.proforma-packing-table__dims-display{display:flex;align-items:center;gap:4px;min-width:0}.proforma-packing-table__dims-value{font-size:13px;font-weight:600;color:var(--ui-heading);white-space:nowrap}.proforma-packing-table__dims-display .proforma-btn--icon{flex-shrink:0}.proforma-packing-table__remarks{vertical-align:middle;overflow:hidden;width:auto}.proforma-packing-table__remarks .proforma-input{width:100%;min-width:0}.proforma-packing-table__total td{background:var(--ui-page-bg);font-weight:700;border-top:2px solid var(--ui-border);border-bottom:none;vertical-align:middle}.proforma-packing-table__total .proforma-packing-table__sno{text-align:center;color:var(--ui-heading);font-size:12px;letter-spacing:.03em}.proforma-packing-table__grand-total-label{letter-spacing:.04em;text-transform:uppercase;color:var(--ui-heading);white-space:nowrap}.proforma-packing-table__grand-total-cartons{font-variant-numeric:tabular-nums}.proforma-summary__item{display:flex;flex-direction:column;gap:4px;padding:10px 12px;background:var(--ui-page-bg);border-radius:10px}.proforma-summary__item--internal{background:var(--proforma-internal-bg);border:1px solid var(--proforma-internal-border)}.proforma-summary__item--internal .proforma-summary__label{color:var(--proforma-internal-header-text)}.proforma-summary__label{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--ui-text-muted)}.proforma-carton{border:1px solid var(--ui-table-header);border-radius:12px;padding:16px;margin-bottom:14px;background:color-mix(in srgb,var(--ui-surface) 70%,var(--ui-page-bg));scroll-margin-top:88px}.proforma-carton__header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid var(--ui-table-header)}.proforma-carton__heading{display:flex;align-items:center;gap:10px;min-width:0}.proforma-carton__badge{flex:0 0 auto;width:28px;height:28px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;color:var(--ui-on-primary);background:var(--ui-primary)}.proforma-carton__title{font-size:15px;color:var(--ui-heading);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.proforma-carton__specs{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 12px;margin-bottom:14px}.proforma-carton__no{flex:0 0 auto;width:56px}.proforma-carton__weight{flex:0 0 auto;width:92px}.proforma-carton__type{flex:0 1 auto;margin-bottom:0;min-width:0}.proforma-carton__type .proforma-segment{width:fit-content;max-width:100%}.proforma-carton__type .proforma-segment__btn{padding:7px 10px;font-size:12px}.proforma-carton__dims{display:flex;flex-direction:column;gap:6px;flex:0 0 auto}.proforma-carton__dims-row{display:flex;align-items:center;gap:4px}.proforma-carton__dim{flex:0 0 auto;width:56px;display:flex;flex-direction:column;gap:4px}.proforma-carton__dim .proforma-input{width:56px;padding-left:6px;padding-right:6px;text-align:center;font-variant-numeric:tabular-nums}.proforma-carton__dim>span{font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--ui-text-muted);text-align:center}.proforma-carton__dim-sep{flex:0 0 auto;color:var(--ui-text-muted);font-size:12px;padding-top:16px;line-height:1}.proforma-carton__items{border:1px solid var(--ui-table-header);border-radius:10px;background:var(--ui-page-bg);padding:12px}.proforma-carton__items-head{display:grid;grid-template-columns:minmax(0,1fr) 88px 132px;gap:8px;align-items:center;padding:0 0 8px;margin-bottom:4px;border-bottom:1px solid var(--ui-table-header);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--ui-text-muted)}.proforma-carton__items-actions-label{text-align:right}.proforma-carton__items-empty{margin:12px 0;font-size:13px;color:var(--ui-text-muted)}.proforma-carton__add-item{margin-top:10px}.proforma-carton-line{padding:10px 0;border-bottom:1px solid color-mix(in srgb,var(--ui-table-header) 70%,transparent)}.proforma-carton-line:last-of-type{border-bottom:none;padding-bottom:0}.proforma-carton-line__row{display:grid;grid-template-columns:minmax(0,1fr) 88px 132px;gap:8px;align-items:center}.proforma-carton-line__actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.proforma-batches{margin-top:10px;margin-left:12px;padding:10px 10px 10px 12px;border-left:2px solid color-mix(in srgb,var(--ui-primary) 55%,transparent);border-radius:0 8px 8px 0;background:color-mix(in srgb,var(--ui-surface) 55%,transparent);display:flex;flex-direction:column;gap:6px}.proforma-batches__head{display:grid;grid-template-columns:minmax(0,1fr) 88px 36px;gap:8px;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--ui-text-muted)}.proforma-batches__row{display:grid;grid-template-columns:minmax(0,1fr) 88px 36px;gap:8px;align-items:center}.proforma-batches__row .proforma-btn--icon{justify-self:end}.proforma-page{max-width:1200px;margin:0 auto;overflow-x:hidden}.proforma-page__title{margin:0;color:var(--ui-heading);font-size:26px}.proforma-page__subtitle{margin:6px 0 0;font-size:13px;color:var(--ui-text-muted);line-height:1.45}.proforma-page__header{margin-bottom:16px}.proforma-page__actions{display:flex;gap:8px;flex-wrap:wrap}.proforma-page__alert{margin:0 0 12px;padding:10px 14px;border-radius:8px;font-size:14px;background:var(--ui-surface-muted)}.proforma-sort-btn{display:inline-flex;align-items:center;gap:4px;max-width:100%;min-width:0;padding:0;border:none;background:transparent;font:inherit;font-size:inherit;font-weight:inherit;text-transform:inherit;letter-spacing:inherit;color:inherit;cursor:pointer}.proforma-sort-btn:hover{color:var(--ui-heading)}.proforma-sort-btn__label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.proforma-sort-btn__indicator{flex:0 0 auto;font-size:10px;font-weight:800;line-height:1;color:var(--ui-text-muted);opacity:.75}.proforma-sort-btn__indicator.is-active{color:var(--ui-accent);opacity:1}.proforma-list-table__no-head,.proforma-list-table__date-head{overflow:visible;text-overflow:unset}.proforma-page__filters{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:16px;align-items:center}.proforma-page__search{flex:1 1 220px;min-width:180px;max-width:420px;min-height:40px;padding:8px 12px;border-radius:10px;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-heading);font:inherit;font-size:13px;box-sizing:border-box}.proforma-page__search:focus{outline:none;border-color:var(--ui-primary);box-shadow:0 0 0 3px var(--shadow-md)}.proforma-page__pagination{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:14px;padding:10px 4px;font-size:13px;color:var(--ui-text-muted)}.proforma-page__pagination-rows{display:flex;align-items:center;gap:6px;margin:0}.proforma-page__pagination-rows .proforma-page__filter{width:72px;min-width:72px;padding:6px 8px}.proforma-page__pagination-range{color:var(--ui-heading);font-weight:600}.proforma-page__pagination-nav{display:flex;align-items:center;gap:6px;margin-left:auto}.proforma-page__pagination-page{min-width:72px;text-align:center;color:var(--ui-text)}.proforma-page__filter{min-height:40px;padding:8px 12px;border-radius:10px;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-heading);font:inherit;font-size:13px;box-sizing:border-box}.proforma-page__filter:focus{outline:none;border-color:var(--ui-primary);box-shadow:0 0 0 3px var(--shadow-md)}.proforma-page__empty{background:var(--ui-surface);border-radius:12px;box-shadow:0 2px 8px var(--shadow-sm);padding:40px 20px;text-align:center;color:var(--ui-text-muted);font-size:14px;line-height:1.5;display:flex;flex-direction:column;align-items:center;gap:16px}.proforma-page__empty p{margin:0}.proforma-desktop-table{background:var(--ui-surface);border-radius:12px;box-shadow:0 2px 8px var(--shadow-sm)}.proforma-list-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px}.proforma-list-table__col--drag,.proforma-list-table__col--sno{width:2%}.proforma-list-table__col--no{width:16%}.proforma-list-table__sno-head,.proforma-list-table__sno{text-align:center;font-variant-numeric:tabular-nums;color:var(--ui-text-muted);font-weight:600}.proforma-list-table__drag-cell{text-align:center;padding-left:2px!important;padding-right:0!important}.proforma-list-table__sno-head,.proforma-list-table__sno{padding-left:2px!important;padding-right:2px!important}.proforma-list-table__drag-handle{cursor:grab;border:none;background:transparent;padding:2px;font-size:12px;color:var(--ui-text-muted);line-height:1}.proforma-list-table__drag-handle:active{cursor:grabbing}.proforma-list-table__drag-placeholder{display:inline-block;width:1rem}.proforma-list-table__row.is-dragging{opacity:.55}.proforma-list-table__row.is-drag-over td{box-shadow:inset 0 3px 0 var(--ui-primary)}.proforma-page__reorder-hint{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;margin:0 0 10px;padding:8px 12px;border-radius:8px;background:var(--ui-surface-muted);border:1px solid var(--ui-table-header);font-size:13px;color:var(--ui-text-secondary)}.proforma-page__reorder-hint.is-sorted{background:color-mix(in srgb,var(--ui-primary) 12%,var(--ui-surface));border-color:color-mix(in srgb,var(--ui-primary) 35%,var(--ui-table-header));color:var(--ui-heading)}.proforma-page__reorder-hint-text{margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:8px;line-height:1.35}.proforma-page__reorder-hint-text strong{color:var(--ui-heading);font-weight:700}.proforma-page__sort-badge{display:inline-flex;align-items:center;padding:3px 9px;border-radius:999px;background:color-mix(in srgb,var(--ui-primary) 22%,transparent);color:var(--ui-heading);font-size:12px;font-weight:700;letter-spacing:.02em}.proforma-page__reorder-hint-note{color:var(--ui-text-secondary);font-size:12px}.proforma-manual-order-btn{display:inline-flex;align-items:center;justify-content:center;margin:0;padding:6px 12px;border:1px solid var(--ui-primary);border-radius:8px;background:var(--ui-primary);color:var(--ui-on-primary, #fff);font-size:12px;font-weight:700;line-height:1.2;cursor:pointer;text-decoration:none;white-space:nowrap}.proforma-manual-order-btn:hover{filter:brightness(1.08)}.proforma-mobile-card__sno{margin-right:6px;color:var(--ui-text-muted);font-weight:700}.proforma-list-table__col--client{width:19%}.proforma-list-table__col--code{width:9%}.proforma-list-table__col--date{width:10%}.proforma-list-table__col--currency{width:5%}.proforma-list-table__col--total{width:9%}.proforma-list-table__col--status{width:10%}.proforma-list-table__col--actions{width:18%}.proforma-list-table thead tr{background:var(--ui-table-header)}.proforma-list-table th{padding:8px 6px;text-align:left;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--ui-text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.proforma-list-table th.proforma-list-table__num,.proforma-list-table td.proforma-list-table__num{text-align:right;font-variant-numeric:tabular-nums}.proforma-list-table th.proforma-list-table__actions-head,.proforma-list-table td.proforma-list-table__actions-cell{text-align:left;padding-left:6px;padding-right:6px;white-space:nowrap}.proforma-list-table td{padding:7px 6px;border-bottom:1px solid var(--ui-table-header);vertical-align:middle;color:var(--ui-text);overflow:hidden}.proforma-list-table__client{min-width:0;max-width:0}.proforma-list-table__client-name{display:block;min-width:0;font-weight:600;color:var(--ui-heading);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.proforma-list-table__code-cell{min-width:0;max-width:0}.proforma-list-table__code-row{display:inline-flex;align-items:center;gap:4px;max-width:100%;flex-wrap:nowrap}.proforma-list-table__client-code{display:inline-flex;align-items:center;flex-shrink:0;padding:2px 6px;border-radius:5px;background:var(--ui-surface-muted);font-size:11px;font-weight:700;letter-spacing:.04em;color:var(--ui-text-muted);white-space:nowrap}.proforma-list-table__client-code.is-empty{background:transparent;padding:0;font-weight:500}.proforma-list-table__client-tape{display:inline-flex;flex-shrink:0;max-width:none}.proforma-list-table__code{display:inline-block;max-width:100%;padding:3px 8px;border-radius:6px;background:var(--ui-surface-muted);font-size:12px;font-weight:700;letter-spacing:.03em;color:var(--ui-heading);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.proforma-list-table__date,.proforma-list-table__currency{white-space:nowrap;color:var(--ui-text-secondary)}.proforma-list-table__actions{display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:3px;white-space:nowrap}.proforma-list-table__actions .proforma-btn--sm{min-height:26px;padding:0 6px;font-size:11px;flex-shrink:0}.proforma-list-table td.proforma-list-table__actions-cell{overflow:hidden}.proforma-list-table td.proforma-list-table__status-cell{overflow:visible}.proforma-list-table .proforma-status-badge{display:inline-flex;box-sizing:border-box;white-space:nowrap;line-height:1.2;padding:3px 8px}.proforma-list-table__client-tape.tape-color-swatch{flex-shrink:0}.proforma-mobile-list{gap:12px}.proforma-mobile-card{background:var(--ui-surface);border-radius:12px;box-shadow:0 2px 8px var(--shadow-sm);border:1px solid var(--ui-table-header);padding:14px}.proforma-mobile-card__top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.proforma-mobile-card__title{margin:6px 0 0;font-size:16px;font-weight:700;color:var(--ui-heading);line-height:1.3;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.proforma-mobile-card__code-row{margin:6px 0 0;display:inline-flex;align-items:center;gap:4px;flex-wrap:wrap}.proforma-mobile-card__client-code,.proforma-mobile-card__tape-color{flex-shrink:0;display:inline-flex;align-items:center}.proforma-mobile-card__client-code{display:inline-block;padding:2px 7px;border-radius:5px;background:var(--ui-surface-muted);font-size:11px;font-weight:700;letter-spacing:.04em;color:var(--ui-text-muted)}.proforma-mobile-card__meta{margin:0;display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:13px;color:var(--ui-text-muted)}.proforma-mobile-card__code{display:inline-block;padding:2px 8px;border-radius:6px;background:var(--ui-surface-muted);font-size:12px;font-weight:700;letter-spacing:.04em;color:var(--ui-heading)}.proforma-mobile-card__grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}.proforma-mobile-card__field{display:flex;flex-direction:column;gap:4px;min-width:0}.proforma-mobile-card__label{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--ui-text-muted)}.proforma-mobile-card__value{font-size:14px;font-weight:600;color:var(--ui-heading);word-break:break-word}.proforma-mobile-card__actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.proforma-mobile-card__actions .proforma-btn{width:100%;min-height:40px}.customers-page__title{margin:0;color:var(--ui-heading);font-size:26px}.customers-page__subtitle{margin:6px 0 0;font-size:14px;color:var(--ui-text-muted);line-height:1.45}.customers-page__header{margin-bottom:16px}.customers-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:220;display:flex;align-items:center;justify-content:center;padding:20px;background:var(--overlay-bg);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.customers-new-form{display:flex;flex-direction:column;width:min(480px,100%);max-height:min(88vh,640px);padding:0;border-radius:14px;background:var(--ui-surface);box-shadow:0 20px 48px var(--shadow-modal);overflow:hidden;isolation:isolate}.customers-new-form__header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 24px 16px;border-bottom:1px solid var(--ui-table-header);background:var(--ui-surface-muted)}.customers-new-form__title{margin:0;font-size:18px;font-weight:700;color:var(--ui-heading);line-height:1.3}.customers-new-form__subtitle{margin:4px 0 0;font-size:13px;color:var(--ui-text-muted);line-height:1.45}.customers-new-form__close{flex-shrink:0;width:36px;height:36px;border:none;border-radius:8px;background:transparent;color:var(--ui-text-muted);font-size:24px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center}.customers-new-form__close:hover{background:var(--ui-table-header);color:var(--ui-heading)}.customers-new-form__body{flex:1;overflow-y:auto;display:grid;gap:16px;padding:20px 24px;background:var(--ui-surface)}.customers-new-form__field{display:flex;flex-direction:column;gap:6px;min-width:0}.customers-new-form__label{font-size:12px;font-weight:600;color:var(--ui-text-secondary);letter-spacing:.02em}.customers-new-form__required{color:var(--ui-error)}.customers-new-form__input{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid var(--ui-border-strong);border-radius:8px;font:inherit;font-size:14px;color:var(--ui-heading);background:var(--ui-surface);transition:border-color .15s,box-shadow .15s}.customers-new-form__input:focus{outline:none;border-color:var(--ui-primary);box-shadow:0 0 0 3px var(--shadow-md)}.customers-new-form__footer{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding:16px 24px 20px;border-top:1px solid var(--ui-table-header);background:var(--ui-surface-muted)}.customers-new-form__btn{min-height:40px;padding:0 18px;border-radius:8px;border:1px solid var(--ui-border-strong);background:var(--ui-surface);color:var(--ui-heading);font-size:14px;font-weight:600;cursor:pointer}.customers-new-form__btn:hover:not(:disabled){background:var(--ui-page-bg)}.customers-new-form__btn:disabled{opacity:.6;cursor:not-allowed}.customers-new-form__btn--primary{border:none;background:var(--ui-primary);color:var(--ui-on-primary)}.customers-new-form__btn--primary:hover:not(:disabled){background:var(--brand-navy-light)}.customers-page__alert{margin:0 0 16px;padding:12px 16px;border-radius:8px;font-size:14px}.customers-page__search{width:100%;max-width:420px;margin-bottom:16px}.customers-page__empty{background:var(--ui-surface);border-radius:12px;box-shadow:0 2px 8px var(--shadow-sm);padding:32px 20px;text-align:center;color:var(--ui-text-muted);font-size:14px;line-height:1.5}.customers-page__pagination{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:14px;padding:10px 4px;font-size:13px;color:var(--ui-text-muted)}.customers-page__pagination-rows{display:flex;align-items:center;gap:6px;margin:0}.customers-page__pagination-select{width:72px;min-width:72px;padding:6px 8px;border-radius:8px;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-heading);font-size:13px}.customers-page__pagination-range{color:var(--ui-heading);font-weight:600}.customers-page__pagination-nav{display:flex;align-items:center;gap:6px;margin-left:auto}.customers-page__pagination-page{min-width:72px;text-align:center;color:var(--ui-text)}.customers-desktop-table{background:var(--ui-surface);border-radius:12px;box-shadow:0 2px 8px var(--shadow-sm);overflow:hidden;margin-bottom:0}.customers-list-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:14px;min-width:820px}.customers-list-table__col--customer{width:24%}.customers-list-table__col--contact,.customers-list-table__col--countries{width:22%}.customers-list-table__col--addr,.customers-list-table__col--invoices{width:8%}.customers-list-table__col--actions{width:16%}.customers-list-table thead tr{background:var(--ui-table-header)}.customers-list-table th{padding:10px 12px;text-align:left;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--ui-text-muted);white-space:nowrap;border-bottom:1px solid var(--ui-border)}.customers-list-table th.customers-list-table__num,.customers-list-table td.customers-list-table__num{text-align:center;font-variant-numeric:tabular-nums}.customers-list-table th.customers-list-table__actions-head,.customers-list-table td.customers-list-table__actions{text-align:right}.customers-list-table td{padding:10px 12px;border-bottom:1px solid var(--ui-table-header);vertical-align:middle;color:var(--ui-text)}.customers-list-table__row{cursor:pointer;transition:background .12s ease;border-left:3px solid transparent}.customers-list-table__row:hover{background:var(--ui-hover)}.customers-list-table__row.is-active{background:color-mix(in srgb,var(--ui-primary) 6%,transparent);border-left-color:var(--ui-accent)}.customers-list-table__name{font-weight:600;color:var(--ui-heading);line-height:1.35;overflow-wrap:anywhere}.customers-list-table__person{margin-top:2px;font-size:12px;color:var(--ui-text-muted)}.customers-list-table__email{font-size:13px;color:var(--ui-heading);overflow-wrap:anywhere}.customers-list-table__phone{margin-top:2px;font-size:12px;color:var(--ui-text-muted)}.customers-list-table__muted{color:var(--ui-text-muted)}.customers-list-table__countries{display:flex;flex-wrap:wrap;gap:4px;max-height:3.2em;overflow:hidden}.customers-list-table__country{display:inline-block;font-size:11px;padding:2px 8px;border-radius:999px;background:var(--ui-table-header);color:var(--ui-heading);font-weight:500;white-space:nowrap}.customers-list-table__count{font-weight:600;color:var(--ui-heading)}.customers-list-table__count.is-linked{color:var(--ui-primary)}.customers-list-table__actions{white-space:nowrap}.customers-list-table__actions .invoice-row-actions{justify-content:flex-end}.customer-mobile-card{background:var(--ui-surface);border-radius:14px;box-shadow:0 2px 10px var(--shadow-sm);padding:16px;border:1px solid var(--ui-table-header);cursor:pointer}.customer-mobile-card.is-active{border-color:var(--ui-primary);box-shadow:0 2px 12px var(--shadow-lg)}.customer-mobile-card__header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.customer-mobile-card__heading{min-width:0;flex:1}.customer-mobile-card__name{margin:0;font-size:16px;font-weight:700;color:var(--ui-heading);line-height:1.35;overflow-wrap:anywhere}.customer-mobile-card__person{margin:4px 0 0;font-size:12px;color:var(--ui-text-muted)}.customer-mobile-card__view-btn{flex-shrink:0;min-height:36px;padding:8px 14px;border-radius:8px;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-heading);font-size:13px;font-weight:600;cursor:pointer}.customer-mobile-card__actions{display:flex;flex-shrink:0;gap:8px}.customer-mobile-card__view-btn--primary{background:var(--ui-primary);border-color:var(--ui-primary);color:#fff}.customer-mobile-card__delete-btn{color:var(--ui-error)}.customer-mobile-card__company{margin:10px 0 0;font-size:13px;color:var(--ui-text-secondary);overflow-wrap:anywhere}.customer-mobile-card__grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.customer-mobile-card__field{min-width:0}.customer-mobile-card__label{display:block;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--ui-text-muted);margin-bottom:3px}.customer-mobile-card__value{display:block;font-size:13px;color:var(--ui-heading);line-height:1.4;overflow-wrap:anywhere}.customer-mobile-card__value--highlight{font-weight:700;color:var(--ui-heading)}.customer-mobile-card__countries{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px;padding-top:14px;border-top:1px solid var(--ui-table-header)}.customer-mobile-card__country-pill{font-size:11px;padding:4px 10px;border-radius:999px;background:var(--ui-table-header);color:var(--ui-heading);font-weight:500}.customers-detail-panel{margin-top:20px;scroll-margin-top:16px}.customers-detail-panel__back{display:none}.customers-detail-panel__header{padding:16px 20px;border-bottom:1px solid var(--ui-table-header)}.customers-detail-panel__title{margin:0;font-size:18px;color:var(--ui-heading)}.customers-detail-panel__subtitle{margin:4px 0 0;font-size:13px;color:var(--ui-text-muted)}.customers-detail-tabs{display:flex;gap:4px;background:var(--ui-table-header);padding:4px;border-radius:8px;margin-bottom:0;margin-top:12px}.customers-detail-tab.filter-pill{border:none;background:transparent;border-radius:6px;font-weight:600;color:var(--ui-text-muted);flex:1;text-align:center}.customers-detail-tab.filter-pill.is-active{background:var(--ui-surface);color:var(--ui-heading);border-color:transparent;box-shadow:0 1px 3px var(--shadow-sm)}.customers-detail-panel__body{padding:20px}.customers-profile-form{max-width:520px;display:grid;gap:14px}.customers-profile-form__label{font-size:13px;font-weight:500;color:var(--ui-text-secondary)}.customers-profile-form__input{margin-top:6px}.customers-profile-form__actions{margin-top:8px}.customers-addresses-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;flex-wrap:wrap}.customers-addresses-header__note{margin:0;font-size:13px;color:var(--ui-text-muted);flex:1;min-width:0}.customers-addresses-list{display:grid;gap:12px;margin-bottom:20px}.customers-addresses-empty{color:var(--ui-text-muted);font-size:13px;margin:0}.customers-address-form{padding:16px;background:var(--ui-table-header);border-radius:10px;display:grid;gap:10px;max-width:480px}.customers-address-form__title{margin:0;font-size:14px;color:var(--ui-heading)}.customers-address-card__btn{min-height:36px}.customers-invoices-loading{color:var(--ui-text-muted);font-size:14px;margin:0}.customers-invoices-footnote{margin:12px 0 0;font-size:12px;color:var(--ui-text-muted)}.customer-invoice-mobile-card{background:var(--ui-surface);border-radius:14px;box-shadow:0 2px 10px var(--shadow-sm);padding:16px;border:1px solid var(--ui-table-header)}.customer-invoice-mobile-card__header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.customer-invoice-mobile-card__number{font-size:16px;font-weight:700;color:var(--ui-heading);text-decoration:none;overflow-wrap:anywhere}.customer-invoice-mobile-card__meta{display:grid;grid-template-columns:1fr 1fr;gap:12px}.customer-invoice-mobile-card__field{min-width:0}.customer-invoice-mobile-card__field--full{grid-column:1 / -1}.customer-invoice-mobile-card__label{display:block;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--ui-text-muted);margin-bottom:3px}.customer-invoice-mobile-card__value{display:block;font-size:13px;color:var(--ui-heading)}.customer-invoice-mobile-card__amount{font-size:14px;font-weight:600;color:var(--ui-heading)}.invoice-settings-page{max-width:1200px}.invoice-settings-page__header{margin-bottom:20px}.invoice-settings-page__title{margin:0;color:var(--ui-heading);font-size:26px}.invoice-settings-page__subtitle{margin:6px 0 0;font-size:14px;color:var(--ui-text-muted);line-height:1.5;max-width:640px}.invoice-settings-page__banner{margin:0 0 16px;padding:12px 16px;border-radius:10px;border-left:4px solid var(--ui-accent);background:var(--ui-surface-muted);color:var(--ui-text-muted);font-size:13px;line-height:1.45}.invoice-settings-page__alert{margin:0 0 16px;padding:10px 14px;border-radius:8px;font-size:14px;background:var(--ui-danger-bg);color:var(--ui-error)}.invoice-settings-defaults{background:var(--ui-surface);border:1px solid var(--ui-table-header);border-radius:14px;padding:18px 20px;margin-bottom:28px;box-shadow:0 2px 8px var(--shadow-sm)}.invoice-settings-defaults__intro{margin-bottom:14px}.invoice-settings-defaults__title{margin:0;font-size:15px;font-weight:700;color:var(--ui-heading)}.invoice-settings-defaults__hint{margin:4px 0 0;font-size:12px;color:var(--ui-text-muted);line-height:1.4}.invoice-settings-defaults__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.invoice-settings-defaults__item{min-width:0;padding:12px 14px;border-radius:10px;background:var(--ui-surface-muted);border:1px solid var(--ui-table-header)}.invoice-settings-defaults__label{display:block;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--ui-text-muted);margin-bottom:6px}.invoice-settings-defaults__value{display:block;font-size:14px;font-weight:600;color:var(--ui-heading);line-height:1.35;overflow-wrap:anywhere}.invoice-settings-group{margin-bottom:28px}.invoice-settings-group__header{margin-bottom:12px}.invoice-settings-group__title{margin:0;font-size:18px;font-weight:700;color:var(--ui-heading)}.invoice-settings-group__subtitle{margin:4px 0 0;font-size:13px;color:var(--ui-text-muted);line-height:1.45;max-width:640px}.invoice-settings-group__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch}.invoice-settings-card{min-width:0;display:flex;flex-direction:column}.invoice-settings-card>.managed-options,.invoice-settings-card>.managed-end-use-codes{flex:1;min-height:100%}.invoice-settings-card--full{grid-column:1 / -1}.managed-options{background:var(--ui-surface);border:1px solid var(--ui-table-header);border-radius:14px;padding:20px;box-shadow:0 2px 10px var(--shadow-sm);min-width:0}.managed-options__header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px}.managed-options__header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.managed-options__sort-btn{padding:8px 14px;border-radius:8px;border:1px solid var(--ui-border);background:var(--ui-table-header);color:var(--ui-heading);cursor:pointer;font-size:13px;font-weight:600;white-space:nowrap}.managed-options__sort-btn:hover:not(:disabled){background:var(--ui-hover)}.managed-options__sort-btn:disabled{opacity:.6;cursor:not-allowed}.destination-countries-card__header{display:flex;flex-direction:column;gap:16px;margin-bottom:16px}.destination-countries-card__intro{min-width:0}.destination-countries-card__hint{margin:8px 0 0;font-size:12px;color:var(--ui-text-muted);line-height:1.5;max-width:72ch}.destination-countries-card__toolbar{display:flex;flex-wrap:wrap;gap:12px 20px;padding:14px 16px;border:1px solid var(--ui-border);border-radius:12px;background:var(--ui-page-bg, var(--ui-table-header))}.destination-countries-card__toolbar-group{display:flex;flex-direction:column;gap:8px;min-width:0}.destination-countries-card__toolbar-label{font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--ui-text-muted)}.destination-countries-card__toolbar-actions{display:flex;flex-wrap:wrap;gap:8px}.destination-countries-card__btn{padding:8px 14px;border-radius:8px;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-heading);cursor:pointer;font-size:13px;font-weight:600;white-space:nowrap}.destination-countries-card__btn:hover:not(:disabled){background:var(--ui-hover)}.destination-countries-card__btn:disabled{opacity:.55;cursor:not-allowed}.destination-countries-card__btn--primary{border-color:color-mix(in srgb,var(--ui-primary) 35%,var(--ui-border));background:color-mix(in srgb,var(--ui-primary) 12%,var(--ui-surface));color:var(--ui-primary)}.destination-countries-card__btn--accent{border-color:color-mix(in srgb,var(--ui-primary) 45%,var(--ui-border));background:var(--ui-primary);color:var(--ui-on-primary)}.destination-countries-card__btn--accent:hover:not(:disabled){filter:brightness(1.05)}.destination-countries-card__feedback{margin:0 0 14px;padding:10px 14px;border-radius:10px;font-size:13px;line-height:1.45}.destination-countries-card__feedback--ok{background:color-mix(in srgb,#1d7a46 12%,var(--ui-surface));border:1px solid color-mix(in srgb,#1d7a46 28%,var(--ui-border));color:#1d7a46}.destination-countries-card__feedback--error{background:color-mix(in srgb,var(--ui-error) 10%,var(--ui-surface));border:1px solid color-mix(in srgb,var(--ui-error) 25%,var(--ui-border));color:var(--ui-error)}.destination-countries-card__add-panel{margin-bottom:14px;padding:14px 16px;border:1px dashed var(--ui-border);border-radius:12px;background:var(--ui-page-bg, var(--ui-table-header))}.destination-countries-card__add-title{margin-bottom:10px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--ui-text-muted)}.destination-countries-card__add-fields{display:grid;grid-template-columns:minmax(0,1fr) 120px auto;gap:12px;align-items:end}.destination-countries-card__field{display:flex;flex-direction:column;gap:6px;min-width:0}.destination-countries-card__field-label{font-size:11px;font-weight:600;color:var(--ui-text-muted);text-transform:uppercase;letter-spacing:.04em}.destination-countries-card__code-input{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;text-transform:uppercase;letter-spacing:.04em}.destination-countries-card__add-actions{display:flex;gap:8px;align-items:center}.destination-countries-card__table-wrap{border:1px solid var(--ui-border);border-radius:12px;overflow:hidden;background:var(--ui-surface)}.destination-countries-card__table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid var(--ui-border);background:var(--ui-page-bg, var(--ui-table-header))}.destination-countries-card__search{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.destination-countries-card__search-label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--ui-text-muted);white-space:nowrap}.destination-countries-card__search-input{flex:1;min-width:0;max-width:320px}.destination-countries-card__table-meta{font-size:12px;color:var(--ui-text-muted);white-space:nowrap}.destination-countries-card__table-scroll{max-height:min(420px,55vh);overflow:auto}.destination-countries-table{width:100%;border-collapse:collapse;font-size:14px}.destination-countries-table thead th{position:sticky;top:0;z-index:1;padding:10px 14px;text-align:left;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--ui-text-muted);background:var(--ui-table-header);border-bottom:1px solid var(--ui-border)}.destination-countries-table tbody td{padding:10px 14px;border-bottom:1px solid var(--ui-table-header);vertical-align:middle}.destination-countries-table tbody tr:last-child td{border-bottom:none}.destination-countries-table tbody tr:hover td{background:color-mix(in srgb,var(--ui-hover) 65%,transparent)}.destination-countries-table tbody tr.is-editing td{background:color-mix(in srgb,var(--ui-primary) 6%,var(--ui-surface))}.destination-countries-table__country{font-weight:500;color:var(--ui-heading);text-transform:uppercase}.destination-countries-table__code-col{width:96px}.destination-countries-table__code{display:inline-flex;min-width:2.5rem;padding:2px 8px;border-radius:6px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px;font-weight:700;letter-spacing:.05em;color:var(--ui-heading);background:var(--ui-table-header)}.destination-countries-table__actions-col{width:1%;white-space:nowrap}.destination-countries-table__actions{display:flex;gap:6px;justify-content:flex-end}.destination-countries-card__empty-filter{margin:0;padding:24px 14px;text-align:center;font-size:13px;color:var(--ui-text-muted)}@media(max-width:900px){.destination-countries-card__add-fields{grid-template-columns:1fr}.destination-countries-card__add-actions{justify-content:flex-start}.destination-countries-card__table-toolbar{flex-direction:column;align-items:stretch}.destination-countries-card__search-input{max-width:none}}@media(max-width:640px){.destination-countries-card__toolbar{flex-direction:column}.destination-countries-table__actions{flex-direction:column;align-items:stretch}}.managed-options__list--countries{display:flex;flex-direction:column;gap:0}.managed-options__item--countries-head,.managed-options__item--country{display:grid;grid-template-columns:minmax(0,1fr) 88px auto;gap:12px;align-items:center}.managed-options__item--countries-head{padding:0 12px 8px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--ui-text-muted);border-bottom:1px solid var(--ui-border)}.managed-options__country-code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:13px;font-weight:600;color:var(--ui-heading)}.managed-options__add-row--countries{display:grid;grid-template-columns:minmax(0,1fr) 88px auto auto;gap:8px;align-items:center}@media(max-width:720px){.managed-options__item--countries-head{display:none}.managed-options__item--country{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name actions" "code actions"}.managed-options__country-col--name{grid-area:name}.managed-options__country-col--code{grid-area:code}.managed-options__country-col--actions{grid-area:actions}.managed-options__add-row--countries{grid-template-columns:1fr 1fr}}.managed-options__intro{min-width:0;flex:1}.managed-options__title-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:4px}.managed-options__title{margin:0;font-size:16px;font-weight:700;color:var(--ui-heading);line-height:1.3}.managed-options__count{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:600;color:var(--ui-text-muted);background:var(--ui-table-header)}.managed-options__description{margin:0;font-size:13px;color:var(--ui-text-muted);line-height:1.45}.managed-options__hint{margin:8px 0 0;font-size:12px;color:var(--ui-text-muted);line-height:1.4}.managed-options__add-btn,.managed-options__cancel-btn{padding:8px 14px;border-radius:8px;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-heading);cursor:pointer;font-size:13px;font-weight:600;white-space:nowrap;flex-shrink:0}.managed-options__add-btn:hover,.managed-options__cancel-btn:hover{background:var(--ui-hover)}.managed-options__save-btn{padding:8px 14px;border-radius:8px;border:none;background:var(--ui-primary);color:var(--ui-on-primary);cursor:pointer;font-size:13px;font-weight:600;white-space:nowrap}.managed-options__save-btn:disabled{opacity:.55;cursor:not-allowed}.managed-options__list{margin:0;padding:0;list-style:none;display:grid;gap:8px}.managed-options__item{padding:10px 12px;border-radius:10px;border:1px solid var(--ui-border);background:var(--ui-surface-muted);font-size:13px;line-height:1.4;display:flex;align-items:center;gap:10px;color:var(--ui-text);transition:border-color .15s ease,background .15s ease,opacity .15s ease}.managed-options__item.is-default{border-color:var(--ui-accent-border);background:var(--ui-warning-bg)}.managed-options__item.is-dragging{opacity:.55;background:var(--ui-hover)}.managed-options__item.is-over{border-color:var(--ui-primary);box-shadow:inset 0 0 0 1px var(--ui-primary)}.managed-options__item[draggable=true]{cursor:grab}.managed-options__item[draggable=true]:active{cursor:grabbing}.managed-options__handle{color:var(--ui-text-muted);letter-spacing:1px;-webkit-user-select:none;user-select:none;font-size:14px;line-height:1;flex-shrink:0}.managed-options__label{flex:1;min-width:0;overflow-wrap:anywhere;font-weight:500;color:var(--ui-heading)}.managed-options__label-input{flex:1;min-width:0;font-weight:500}.managed-options__actions{display:flex;align-items:center;gap:6px;flex-shrink:0;margin-left:auto}.managed-options__edit-btn,.managed-options__delete-btn{padding:6px 10px;border-radius:8px;border:1px solid var(--ui-border);background:var(--ui-surface);font-size:12px;font-weight:600;cursor:pointer;white-space:nowrap}.managed-options__edit-btn{color:var(--ui-heading)}.managed-options__edit-btn:hover:not(:disabled){background:var(--ui-hover);border-color:var(--ui-primary)}.managed-options__edit-btn:disabled{opacity:.45;cursor:not-allowed}.managed-options__delete-btn{color:var(--ui-error)}.managed-options__delete-btn:hover:not(:disabled){background:var(--ui-error-bg, #fef2f2);border-color:var(--ui-error)}.managed-options__delete-btn:disabled{opacity:.45;cursor:not-allowed}.managed-options__actions .managed-options__action-btn{padding:6px 10px;font-size:12px;min-height:auto}.managed-options__item.is-editing{border-color:var(--ui-primary);background:var(--ui-surface)}.managed-options__badge{font-size:11px;font-weight:700;color:var(--ui-accent);background:var(--ui-table-header);border-radius:999px;padding:2px 8px;white-space:nowrap;flex-shrink:0}.managed-options__empty{margin:0;font-size:13px;color:var(--ui-text-muted);padding:12px;border-radius:10px;background:var(--ui-surface-muted);text-align:center}.managed-options__add-row{margin-top:14px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.managed-options__input{flex:1;min-width:160px;padding:10px 12px;border-radius:8px;border:1px solid var(--ui-border);font-size:14px;box-sizing:border-box;background:var(--ui-input-bg);color:var(--ui-text)}.managed-options__input--uppercase{text-transform:uppercase}.managed-options__error{margin:8px 0 0;font-size:12px;color:var(--ui-error)}.managed-options__status{margin:8px 0 0;font-size:12px;color:#1d7a46}.dashboard-page__header{margin-bottom:24px;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}.dashboard-page__filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px}.dashboard-page__filter{display:flex;flex-direction:column;gap:4px;margin:0}.dashboard-page__filter-label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--ui-text-muted)}.dashboard-page__title{margin:0;color:var(--ui-heading);font-size:26px}.dashboard-page__subtitle{margin:6px 0 0;font-size:14px;color:var(--ui-text-muted)}.dashboard-page__alert{margin:0 0 16px;padding:10px 14px;border-radius:8px;background:var(--ui-danger-bg);color:var(--ui-error);font-size:14px}.dashboard-page__loading{color:var(--ui-text-muted);font-size:14px}.dashboard-create-invoice{display:flex;align-items:center;justify-content:center;width:100%;min-height:76px;margin:0;padding:22px 28px;border-radius:14px;background:var(--ui-primary);color:#fff;font-size:22px;font-weight:700;letter-spacing:.01em;text-decoration:none;box-shadow:0 4px 16px var(--shadow-sm);transition:transform .15s ease,box-shadow .15s ease}.dashboard-employee-actions{margin:0 0 24px}.dashboard-employee-actions__secondary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.dashboard-employee-action-btn{display:flex;align-items:center;justify-content:center;min-height:60px;padding:16px 20px;border-radius:12px;border:2px solid var(--ui-primary);background:var(--ui-surface);color:var(--ui-primary);font-size:17px;font-weight:700;text-decoration:none;text-align:center;transition:background .15s ease,color .15s ease}.dashboard-employee-action-btn:hover{background:var(--ui-primary);color:#fff}.dashboard-admin-mobile-nav{display:none}.dashboard-admin-mobile-nav__btn{display:flex;align-items:center;justify-content:center;min-height:76px;padding:18px 14px;border-radius:14px;border:2px solid var(--ui-primary);background:var(--ui-surface);color:var(--ui-heading);font-size:17px;font-weight:800;letter-spacing:.01em;text-align:center;text-decoration:none;line-height:1.2;box-shadow:0 2px 8px var(--shadow-sm);transition:background .15s ease,color .15s ease,border-color .15s ease}.dashboard-admin-mobile-nav__btn:hover,.dashboard-admin-mobile-nav__btn:active{background:var(--ui-primary);border-color:var(--ui-primary);color:var(--ui-on-primary)}.dashboard-create-invoice:hover{color:#fff;transform:translateY(-1px);box-shadow:0 8px 22px var(--shadow-sm)}.dashboard-create-invoice:active{transform:translateY(0)}.dashboard-stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:24px}.dashboard-stat-tile{background:var(--ui-surface);border-radius:12px;box-shadow:0 2px 8px var(--shadow-sm);padding:16px 18px;text-decoration:none;color:inherit;display:flex;flex-direction:column;gap:8px;min-width:0;min-height:108px}.dashboard-stat-tile--accent{border:1px solid var(--ui-accent)}.dashboard-stat-tile--money .dashboard-stat-tile__value{flex-direction:column;align-items:flex-start;gap:2px}.dashboard-stat-tile--money .dashboard-stat-tile__currency{font-size:12px}.dashboard-stat-tile--money .dashboard-stat-tile__amount{font-size:clamp(1.35rem,.95rem + 1.2vw,1.85rem);width:100%}.dashboard-stat-tile__label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--ui-text-muted);line-height:1.2}.dashboard-stat-tile__label--warning{color:var(--ui-warning)}.dashboard-stat-tile__value{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 8px;margin-top:auto;min-width:0;color:var(--ui-heading);line-height:1.15}.dashboard-stat-tile__currency{flex:0 0 auto;font-size:13px;font-weight:700;letter-spacing:.04em;color:var(--ui-text-muted);line-height:1.2}.dashboard-stat-tile__amount{flex:1 1 auto;min-width:0;font-size:clamp(1.25rem,.85rem + 1.1vw,1.75rem);font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-.02em;overflow-wrap:anywhere;word-break:break-word}.dashboard-stat-tile__value--accent,.dashboard-stat-tile__value--accent .dashboard-stat-tile__amount{color:var(--ui-accent)}.dashboard-stat-tile__sub{font-size:12px;color:var(--ui-text-muted);line-height:1.3}.dashboard-company-section,.dashboard-status-section{background:var(--ui-surface);border-radius:12px;box-shadow:0 2px 8px var(--shadow-sm);overflow:hidden;margin-bottom:24px}.dashboard-company-section__intro{padding:20px 20px 0}.dashboard-company-section__title{margin:0;color:var(--ui-heading);font-size:18px}.dashboard-company-section__hint{margin:6px 0 0;font-size:13px;color:var(--ui-text-muted);line-height:1.45}.dashboard-company-avatar{width:36px;height:36px;border-radius:8px;background:var(--ui-table-header);color:var(--ui-heading);display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;flex-shrink:0}.dashboard-company-mobile-list{padding:16px}.dashboard-company-mobile-empty{margin:0;padding:24px 12px;text-align:center;color:var(--ui-text-muted);font-size:14px}.dashboard-company-card{background:var(--ui-surface-muted);border:1px solid var(--ui-table-header);border-radius:14px;padding:14px}.dashboard-company-card--totals{background:var(--ui-table-header)}.dashboard-company-card__header{display:flex;align-items:flex-start;gap:12px}.dashboard-company-card__identity{flex:1;min-width:0}.dashboard-company-card__name{font-weight:700;color:var(--ui-heading);font-size:15px;line-height:1.3;overflow-wrap:anywhere}.dashboard-company-card__meta{margin-top:2px;font-size:12px;color:var(--ui-text-muted)}.dashboard-company-card__open{flex-shrink:0;padding:6px 12px;border-radius:8px;background:var(--ui-primary);color:var(--ui-on-primary);font-size:12px;font-weight:600;text-decoration:none}.dashboard-company-card__value{margin-top:12px;padding-top:12px;border-top:1px solid var(--ui-table-header);display:grid;gap:2px}.dashboard-company-card__value-label{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--ui-text-muted)}.dashboard-company-card__value-amount{font-size:15px;font-weight:700;color:var(--ui-heading)}.dashboard-company-card__value-inr{font-size:12px;color:var(--ui-text-muted)}.dashboard-company-card__statuses{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.dashboard-company-card__status{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;font-size:11px;font-weight:600;text-decoration:none;min-height:32px}.dashboard-company-card__no-status{font-size:12px;color:var(--ui-text-muted)}.dashboard-company-card__totals-row{display:flex;justify-content:space-between;gap:12px;margin-top:8px;font-size:13px;font-weight:600;color:var(--ui-heading)}.dashboard-status-section{padding:20px}.dashboard-status-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin-top:14px}.dashboard-status-tile{padding:14px 16px;text-decoration:none;color:inherit;border:1px solid var(--ui-table-header);border-radius:12px;background:var(--ui-surface);display:block}.dashboard-status-tile__count{font-size:24px;font-weight:700;color:var(--ui-heading);margin-top:10px}.dashboard-quick-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.dashboard-quick-link{background:var(--ui-surface);border-radius:12px;box-shadow:0 2px 8px var(--shadow-sm);padding:18px 20px;text-decoration:none;color:inherit;display:block;border:1px solid var(--ui-table-header);border-left:4px solid var(--ui-accent)}.dashboard-quick-link__title-row{display:flex;align-items:center;gap:8px;margin-bottom:6px}.dashboard-quick-link__title{margin:0 0 6px;color:var(--ui-heading);font-size:16px}.dashboard-quick-link__title-row .dashboard-quick-link__title{margin:0}.dashboard-quick-link__desc{margin:0;color:var(--ui-text-muted);font-size:13px;line-height:1.45}.dashboard-quick-link__badge{min-width:22px;height:22px;padding:0 7px;border-radius:999px;background:var(--ui-accent);color:var(--ui-on-primary);font-size:12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}.profile-page{max-width:720px}.profile-page__header{margin-bottom:24px}.profile-page__title{margin:0 0 4px;color:var(--ui-heading);font-size:26px}.profile-page__subtitle{margin:0;color:var(--ui-text-muted);font-size:14px}.profile-page__hero{margin-bottom:20px;display:flex;gap:20px;align-items:center}.profile-page__avatar{width:72px;height:72px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:700;flex-shrink:0}.profile-page__hero-text{flex:1;min-width:0}.profile-page__name-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:6px}.profile-page__name{margin:0;font-size:22px;color:var(--ui-heading)}.profile-page__role{padding:3px 10px;border-radius:999px;font-size:12px;font-weight:600;background:var(--ui-table-header);color:var(--ui-primary);text-transform:capitalize}.profile-page__email{margin:0;color:var(--ui-text-muted);font-size:14px;overflow-wrap:anywhere}.print-documents-page__toolbar{padding:12px;background:var(--ui-table-header);display:flex;gap:8px;align-items:center;flex-wrap:wrap}.print-documents-page__print-btn{padding:8px 16px;border-radius:8px;border:none;background:var(--ui-primary);color:var(--ui-on-primary);cursor:pointer;font-weight:600;min-height:40px}.print-documents-page__count{font-size:14px;color:var(--ui-text-secondary)}.print-documents-page__frame{width:100%;min-height:90vh;border:none;background:#fff}.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:8px 12px;border-radius:8px;border:1px solid var(--sidebar-border);background:transparent;color:var(--sidebar-text-muted);cursor:pointer;font-size:13px;font-weight:500;width:100%;text-align:left}.theme-toggle:hover{background:#ffffff0f;color:var(--sidebar-text)}.theme-toggle--header{width:auto;border-color:var(--ui-border);background:var(--ui-surface);color:var(--ui-heading);flex-shrink:0}.theme-toggle--header:hover{background:var(--ui-hover);color:var(--ui-heading)}.app-sidebar__footer{margin-top:auto;padding-top:12px;border-top:1px solid var(--sidebar-border);display:flex;flex-direction:column;gap:8px}@media(max-width:768px){.app-mobile-header{display:flex}.app-nav-toggle{display:inline-flex}.invoice-settings-page__title{font-size:22px}.invoice-settings-page__subtitle{font-size:13px}.invoice-settings-defaults{padding:14px}.invoice-settings-defaults__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-settings-group__grid{grid-template-columns:1fr}.managed-options{padding:16px}.managed-options__add-row{flex-direction:column;align-items:stretch}.managed-options__add-row .managed-options__save-btn,.managed-options__add-row .managed-options__cancel-btn{min-height:44px;width:100%}.managed-options__add-btn{min-height:40px}.app-sidebar{position:fixed;top:0;left:0;bottom:0;z-index:1000;width:min(280px,88vw);transform:translate(-100%);transition:transform .2s ease;overflow-y:auto}.app-sidebar.is-open{transform:translate(0)}.app-sidebar-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:999;background:var(--overlay-bg)}.app-sidebar-backdrop.is-open{display:block}.app-main{width:100%;padding:16px 12px}.app-main:has(.invoice-detail-page),.app-main:has(.proforma-detail-page),.app-main:has(.firc-detail-page){padding-top:0;padding-left:0;padding-right:0}.invoice-detail-page{padding:0 12px 16px}.invoice-toolbar.is-sticky{margin:0 -12px 16px;width:calc(100% + 24px);padding:10px 12px!important}.grid-2-col,.grid-3-col{grid-template-columns:1fr!important}.invoice-header-track{flex-wrap:wrap}.invoice-header-track__field--company,.invoice-header-track__field--shipment,.invoice-header-track__field--invoice-no,.invoice-header-track__field--date,.invoice-header-track__field--fy,.invoice-header-track__field--currency,.invoice-header-track__field--pricing,.invoice-header-track__field--rate{flex:1 1 calc(50% - 4px)}.invoice-shipping-track{flex-wrap:wrap}.invoice-shipping-field--pol,.invoice-shipping-field--precarriage,.invoice-shipping-field--pod,.invoice-shipping-field--final,.invoice-shipping-field--country,.invoice-shipping-field--payment,.invoice-shipping-field--ref-no,.invoice-shipping-field--ref-date,.invoice-shipping-field--terms,.invoice-shipping-field--product,.invoice-shipping-field--tracking{flex:1 1 calc(50% - 4px)}.invoice-shipping-field--tracking-full{flex:1 1 100%}.invoice-party-grid{grid-template-columns:1fr!important}.invoice-carton-line-head{display:none!important}.grid-6-col,.grid-5-col{grid-template-columns:1fr 1fr!important}.carton-type-picker__buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}.carton-type-picker__btn{min-width:0}.grid-line-header{grid-template-columns:1fr!important}.grid-line-fields{grid-template-columns:1fr 1fr!important}.invoice-line-commerce,.invoice-line-details{display:block!important}.invoice-line-commerce>.invoice-line-field,.invoice-line-details>.invoice-line-field,.invoice-line-details>.invoice-line-catalog-actions{width:100%;max-width:none;margin-bottom:8px}.invoice-line-details>.invoice-line-catalog-actions{padding-top:0}.invoice-line-commerce>.invoice-line-field--qty,.invoice-line-commerce>.invoice-line-field--rate,.invoice-line-commerce>.invoice-line-field--amount{width:100%}.invoice-line-batches__grid{grid-template-columns:1fr}.invoice-line-batch{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr) minmax(0,1fr) 72px 28px}.grid-carton-row{grid-template-columns:1fr 1fr!important}.grid-carton-line{grid-template-columns:1fr!important}.companies-layout{flex-direction:column}.companies-sidebar{width:100%!important}.filter-form{flex-direction:column;align-items:stretch!important}.filter-form>*{width:100%!important;flex:none!important;min-width:0!important}.sticky-save-bar{flex-direction:column;align-items:stretch!important}.customer-detail-header{flex-direction:column;align-items:flex-start!important}.address-card{flex-direction:column!important}.address-card-actions{width:100%;justify-content:flex-start!important;flex-wrap:wrap}.users-stats-grid,.stats-grid{grid-template-columns:1fr 1fr!important;gap:10px;margin-bottom:16px}.stat-tile{padding:14px}.stat-tile__value{font-size:24px}.users-page__title{font-size:22px}.users-page__subtitle{font-size:12px}.approvals-page__title{font-size:22px}.approvals-page__subtitle{font-size:12px}.register-page__title{font-size:22px}.register-page__subtitle{font-size:12px}.register-page__export-btn,.register-page__apply-btn{width:100%;min-height:44px}.register-page__select,.register-page__search{width:100%!important;min-width:0!important;min-height:44px}.register-mobile-list{gap:10px}.invoices-page__title{font-size:22px}.invoices-page__subtitle{font-size:12px}.invoices-page__header{flex-direction:row;align-items:flex-start;gap:10px}.invoices-page__header>div:first-child{flex:1;min-width:0}.invoices-page__new-btn,.invoices-page__import-btn{width:auto!important;height:44px;padding:0 14px!important;flex-shrink:0;white-space:nowrap;font-size:13px}.invoices-page__select,.invoices-page__search{width:100%!important;min-width:0!important;min-height:44px}.invoices-page__apply-btn{width:100%;min-height:44px}.invoices-page__toolbar-btn{min-height:44px;text-align:center;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}.invoices-page__toolbar{display:none!important}.invoices-mobile-toolbar{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}.invoices-mobile-toolbar>.invoices-page__toolbar-btn:nth-child(3){grid-column:1 / -1}.invoices-mobile-toolbar>button,.invoices-mobile-toolbar>a{width:100%;min-height:44px;text-align:center;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;font-size:13px;padding:10px 12px}.invoices-mobile-select-all{min-height:44px;margin-bottom:0}.invoices-mobile-list{gap:10px}.products-page__title{font-size:22px}.products-page__subtitle{font-size:12px}.products-page__actions{width:100%;display:grid;grid-template-columns:1fr;gap:8px}.products-page__actions .products-btn{width:100%;min-height:44px}.products-page__search{max-width:none;min-height:44px}.products-mobile-list{gap:10px}.products-form{width:100%!important;max-height:92vh!important;border-radius:16px 16px 0 0!important;padding:0!important}.products-form__header,.products-form__body,.products-form__footer{padding-left:16px;padding-right:16px}.clients-page__title{font-size:22px}.clients-page__subtitle{font-size:12px}.clients-page__actions{width:100%}.clients-page__actions .clients-btn{width:100%;min-height:44px}.clients-page__search{max-width:none;min-height:44px}.proforma-page__header.page-header{flex-wrap:nowrap;align-items:center;gap:8px;margin-bottom:8px}.proforma-page__header>div:first-child{min-width:0;flex:1 1 auto}.proforma-page__title{font-size:18px;line-height:1.2}.proforma-page__subtitle{display:none}.proforma-page__actions{width:auto;flex:0 0 auto}.proforma-page__actions .proforma-btn{width:auto;min-height:34px;padding:6px 10px;font-size:12px;white-space:nowrap}.proforma-page__filters{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;margin-bottom:10px;align-items:stretch}.proforma-page__search,.proforma-page__filter{width:auto;max-width:none;min-width:0;min-height:34px;padding:6px 10px;font-size:13px}.proforma-page__filter{min-width:96px;max-width:118px;padding-right:28px}.proforma-page__filters .proforma-btn{grid-column:1 / -1;width:100%;min-height:34px;padding:6px 10px;font-size:12px}.proforma-page__alert{margin-bottom:8px;padding:8px 10px;font-size:13px}.proforma-mobile-list{gap:8px}.proforma-detail-page{padding:0 10px 12px}.proforma-detail-page__header{flex-direction:column;align-items:stretch;gap:8px;margin:0 -10px 8px;width:calc(100% + 20px);padding:8px 10px;top:0}.proforma-detail-page__back{font-size:12px;margin-bottom:2px}.proforma-detail-page__title-row{gap:6px;align-items:center}.proforma-detail-page__title{font-size:16px;line-height:1.25}.proforma-detail-page__subtitle{display:none}.proforma-detail-page__actions{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:6px}.proforma-detail-page__actions .proforma-btn{width:100%;min-height:34px;padding:6px 8px;font-size:11px;line-height:1.2;white-space:normal;text-align:center}.proforma-detail-page__actions .proforma-btn:only-child{grid-column:1 / -1}.proforma-steps{gap:4px;padding:3px;margin-bottom:8px}.proforma-steps__btn{min-height:38px;font-size:11px;padding:6px 8px;flex-direction:row;gap:6px;align-items:center;justify-content:center}.proforma-segment{gap:4px}.proforma-segment__btn{min-height:40px;font-size:12px;padding:8px 10px}.proforma-section{padding:12px;border-radius:10px}.proforma-section--packing{padding:10px}.proforma-section__header{flex-direction:column;align-items:stretch}.proforma-section__header .proforma-btn{width:100%;min-height:40px}.proforma-order-grid{grid-template-columns:1fr;gap:10px}.proforma-order-grid__client,.proforma-order-grid__code,.proforma-order-grid__tape,.proforma-order-grid__number,.proforma-order-grid__company,.proforma-order-grid__date,.proforma-order-grid__currency,.proforma-order-grid__rate,.proforma-order-grid__status,.proforma-order-grid__product-type,.proforma-order-grid__terms{grid-column:1 / -1}.proforma-form-grid,.proforma-info-grid{grid-template-columns:1fr;gap:12px}.proforma-line-cards{display:flex}.proforma-lines-table-wrap.desktop-table{display:none}.proforma-line-card__grid{grid-template-columns:1fr}.proforma-summary{grid-template-columns:1fr 1fr}.proforma-packing-bar{flex-direction:column;align-items:stretch}.proforma-packing-bar__actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.proforma-packing-bar__actions>.proforma-btn,.proforma-section__header-actions .proforma-btn{width:100%;min-height:44px}.app-main:has(.proforma-detail-page),.app-main:has(.proforma-page){overflow-x:hidden}.proforma-detail-page,.proforma-page{overflow-x:hidden;max-width:100%;box-sizing:border-box}.proforma-segment{width:100%;max-width:100%;box-sizing:border-box}.proforma-segment__btn{flex:1 1 auto;min-width:0;white-space:normal;text-align:center}.proforma-section--packing{overflow-x:hidden;max-width:100%}.proforma-detail-page .proforma-packing-table-wrap{overflow:visible;border:none;border-radius:0;background:transparent;margin-top:6px;max-width:100%}.proforma-detail-page .proforma-packing-table,.proforma-detail-page .proforma-packing-table>colgroup,.proforma-detail-page .proforma-packing-table>thead,.proforma-detail-page .proforma-packing-table>tbody,.proforma-detail-page .proforma-packing-table>tfoot,.proforma-detail-page .proforma-packing-table tr,.proforma-detail-page .proforma-packing-table th,.proforma-detail-page .proforma-packing-table td{display:block;width:100%;max-width:100%;min-width:0;box-sizing:border-box}.proforma-detail-page .proforma-packing-table>colgroup,.proforma-detail-page .proforma-packing-table>thead{display:none}.proforma-detail-page .proforma-packing-table__carton{display:block;margin-bottom:10px;border:1px solid var(--ui-border);border-radius:10px;background:var(--ui-surface);overflow:hidden}.proforma-detail-page .proforma-packing-table__carton+.proforma-packing-table__carton>tr:first-child>td{border-top:none}.proforma-detail-page .proforma-packing-table__carton>tr:not(.proforma-packing-table__row--continued){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.2fr) auto;grid-template-areas:"sno sno sno actions" "item item item item" "qty weight dims dims" "remarks remarks remarks remarks";gap:6px 8px;padding:8px 10px;border-bottom:1px solid var(--ui-border);align-items:start}.proforma-detail-page .proforma-packing-table__carton>tr.proforma-packing-table__row--continued{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr) auto;grid-template-areas:"item item actions" "qty remarks remarks";gap:6px 8px;padding:8px 10px;border-bottom:1px solid color-mix(in srgb,var(--ui-border) 70%,transparent);align-items:start;background:color-mix(in srgb,var(--ui-page-bg) 45%,transparent)}.proforma-detail-page .proforma-packing-table__carton tr:last-child{border-bottom:none}.proforma-detail-page .proforma-packing-table__carton td{border:none!important;padding:0!important;background:transparent!important;width:auto!important;max-width:none!important;min-width:0!important;overflow:visible}.proforma-detail-page .proforma-packing-table__carton td[data-label]:before{content:attr(data-label);display:block;margin-bottom:2px;font-size:9px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--ui-text-muted);line-height:1.2}.proforma-detail-page .proforma-packing-table__sno{grid-area:sno;text-align:left;align-self:center}.proforma-detail-page .proforma-packing-table__weight[data-label]:before{content:"Wt"}.proforma-detail-page .proforma-packing-table__dims[data-label]:before{content:"Dims"}.proforma-detail-page .proforma-packing-table__sno-inner{justify-content:flex-start;gap:6px;min-height:32px}.proforma-detail-page .proforma-packing-table__sno-label{font-size:13px;font-weight:700;color:var(--ui-heading);letter-spacing:.02em}.proforma-detail-page .proforma-packing-table__sno-label:before{content:"CRTN ";font-size:10px;font-weight:700;letter-spacing:.04em;color:var(--ui-text-muted)}.proforma-detail-page .proforma-packing-table__item{grid-area:item}.proforma-detail-page .proforma-packing-table__qty{grid-area:qty}.proforma-detail-page .proforma-packing-table__weight{grid-area:weight}.proforma-detail-page .proforma-packing-table__dims{grid-area:dims}.proforma-detail-page .proforma-packing-table__remarks{grid-area:remarks}.proforma-detail-page .proforma-packing-table__actions{grid-area:actions;align-self:center}.proforma-detail-page .proforma-packing-table__actions-row{justify-content:flex-end;gap:4px}.proforma-detail-page .proforma-packing-table__actions-row .proforma-btn--icon{min-width:32px;min-height:32px;width:32px;padding:0}.proforma-detail-page .proforma-packing-table__item-field{min-height:34px}.proforma-detail-page .proforma-packing-table .proforma-input,.proforma-detail-page .proforma-packing-table .proforma-input--qty,.proforma-detail-page .proforma-packing-table__weight .proforma-input,.proforma-detail-page .proforma-packing-table__dims-select{width:100%;max-width:100%;min-width:0;min-height:34px;padding:5px 8px;font-size:13px}.proforma-detail-page .proforma-packing-table__dims-display{min-height:34px;align-items:center;gap:4px}.proforma-detail-page .proforma-packing-table__dims-value{font-size:12px;white-space:nowrap}.proforma-detail-page .proforma-packing-table__dims-display .proforma-btn--icon,.proforma-detail-page .proforma-packing-table__dims-custom .proforma-btn--icon{min-width:30px;min-height:30px;width:30px;flex:0 0 30px}.proforma-detail-page .proforma-packing-table__dims--custom{grid-column:1 / -1;grid-area:auto}.proforma-detail-page .proforma-packing-table__carton>tr:not(.proforma-packing-table__row--continued):has(.proforma-packing-table__dims--custom){grid-template-areas:"sno sno sno actions" "item item item item" "qty weight weight weight" "dims dims dims dims" "remarks remarks remarks remarks"}.proforma-detail-page .proforma-packing-table__dims-custom-inputs{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);gap:4px;align-items:center;width:100%}.proforma-detail-page .proforma-packing-table__dims-custom{width:100%;gap:6px}.proforma-detail-page .proforma-packing-table__item-display{padding:4px 8px;font-size:12px;-webkit-line-clamp:2;line-clamp:2}.proforma-detail-page .proforma-packing-table tfoot{display:block;margin-top:8px;border:1px solid var(--ui-border);border-radius:10px;background:var(--ui-page-bg);overflow:hidden}.proforma-detail-page .proforma-packing-table__total{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-areas:"label label label" "cartons qty weight";gap:8px 8px;align-items:stretch;padding:10px}.proforma-detail-page .proforma-packing-table__total td{display:flex!important;flex-direction:column;justify-content:center;border:none!important;padding:0!important;background:transparent!important;width:auto!important;max-width:none!important;min-width:0!important;font-size:14px;font-weight:700;color:var(--ui-heading);font-variant-numeric:tabular-nums;line-height:1.2}.proforma-detail-page .proforma-packing-table__total td[colspan]{display:none!important}.proforma-detail-page .proforma-packing-table__total .proforma-packing-table__grand-total-label{grid-area:label!important;font-size:11px;letter-spacing:.05em;white-space:nowrap;color:var(--ui-text-muted);padding-bottom:2px!important}.proforma-detail-page .proforma-packing-table__total .proforma-packing-table__grand-total-cartons{grid-area:cartons!important}.proforma-detail-page .proforma-packing-table__total .proforma-packing-table__qty{grid-area:qty!important}.proforma-detail-page .proforma-packing-table__total .proforma-packing-table__weight{grid-area:weight!important}.proforma-detail-page .proforma-packing-table__total .proforma-packing-table__grand-total-cartons,.proforma-detail-page .proforma-packing-table__total .proforma-packing-table__qty,.proforma-detail-page .proforma-packing-table__total .proforma-packing-table__weight{padding:8px!important;border-radius:8px!important;background:color-mix(in srgb,var(--ui-surface) 80%,var(--ui-border))!important;border:1px solid var(--ui-border)!important;text-align:left;gap:2px}.proforma-detail-page .proforma-packing-table__total td[data-label]:before{content:attr(data-label);display:block;margin:0;font-size:9px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--ui-text-muted);line-height:1.2}.proforma-section--packing .proforma-section__header{margin-bottom:8px}.proforma-section--packing .proforma-section__title{font-size:15px}.proforma-section--packing .proforma-detail-page__alert{margin-bottom:8px!important;padding:8px 10px;font-size:12px}.proforma-section--packing .proforma-detail-page__alert ul{margin:4px 0 0!important;padding-left:16px!important}.proforma-section--packing .proforma-packing-bar{margin-top:8px;flex-direction:column;align-items:stretch;gap:0}.proforma-section--packing .proforma-packing-bar__actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}.proforma-section--packing .proforma-packing-bar__actions>.proforma-btn{width:100%;min-height:36px;font-size:12px;padding:6px 8px;white-space:nowrap}.proforma-carton__specs{gap:10px}.proforma-carton__type{flex:1 1 100%}.proforma-carton__header{flex-direction:column;align-items:stretch}.proforma-carton__items-head,.proforma-carton-line__row{grid-template-columns:minmax(0,1fr) 72px auto}.proforma-batches{margin-left:0}.proforma-batches__head,.proforma-batches__row{grid-template-columns:minmax(0,1fr) 72px 36px}.proforma-carton-line__actions{flex-wrap:wrap;justify-content:flex-end}.proforma-input--qty{width:72px}.proforma-carton__header .proforma-btn{width:100%;min-height:40px}.clients-mobile-list{gap:10px}.client-detail-panel__meta{grid-template-columns:1fr;gap:12px}.client-detail-panel__orders-header{flex-direction:column;align-items:stretch}.client-detail-panel__orders-header .clients-btn{width:100%;min-height:40px}.client-orders-mobile{display:flex!important}.client-orders-desktop{display:none!important}.clients-form{width:100%!important;max-height:92vh!important;border-radius:16px 16px 0 0!important;padding:0!important}.clients-form__header,.clients-form__body,.clients-form__footer{padding-left:16px;padding-right:16px}.clients-form__grid{grid-template-columns:1fr}.clients-form__footer{flex-direction:column-reverse;gap:8px;padding-bottom:calc(20px + env(safe-area-inset-bottom,0px))}.clients-form__btn{width:100%;min-height:44px}.products-form__grid{grid-template-columns:1fr}.products-form__footer{flex-direction:column-reverse;align-items:stretch;padding-bottom:calc(20px + env(safe-area-inset-bottom,0px))}.products-form__footer .products-form__btn{width:100%;min-height:44px}.customers-modal-overlay{align-items:flex-end;padding:0}.customers-new-form{width:100%!important;max-height:92vh!important;border-radius:16px 16px 0 0!important}.customers-new-form__header,.customers-new-form__body,.customers-new-form__footer{padding-left:16px;padding-right:16px}.customers-new-form__footer{flex-direction:column-reverse;align-items:stretch;padding-bottom:calc(20px + env(safe-area-inset-bottom,0px))}.users-modal-overlay{align-items:flex-end;padding:0}.users-form{width:100%!important;max-height:92vh!important;border-radius:16px 16px 0 0!important}.users-form__header,.users-form__body,.users-form__footer{padding-left:16px;padding-right:16px}.users-form__footer{flex-direction:column-reverse;align-items:stretch;padding-bottom:calc(20px + env(safe-area-inset-bottom,0px))}.users-form__footer .users-form__btn{width:100%;min-height:44px}.users-form__role-cards,.users-form__role-cards--three{grid-template-columns:1fr}.customers-new-form__footer .customers-new-form__btn{width:100%;min-height:44px}.customers-page__title{font-size:22px}.customers-page__subtitle{font-size:12px}.customers-page__new-btn{width:100%;min-height:44px}.customers-page__search{max-width:none;min-height:44px}.customers-mobile-list{gap:10px}.customers-page.has-detail .customers-page__list-section{display:none}.customers-detail-panel{position:fixed;top:0;right:0;bottom:0;left:0;z-index:150;margin-top:0!important;border-radius:0!important;overflow-y:auto;-webkit-overflow-scrolling:touch;padding-bottom:env(safe-area-inset-bottom,0px)}.customers-detail-panel__back{display:inline-flex;align-items:center;min-height:44px;padding:0;margin-bottom:10px;border:none;background:none;color:var(--ui-heading);font-size:15px;font-weight:600;cursor:pointer}.customers-detail-panel__header{padding:12px 16px 16px;position:sticky;top:0;z-index:2;background:var(--ui-surface)}.customers-detail-panel__body{padding:16px}.customers-detail-panel__alert{margin:0 16px 12px!important}.customers-detail-tabs{width:100%;display:grid!important;grid-template-columns:1fr 1fr 1fr;gap:6px;margin-top:14px;padding:0;background:transparent}.customers-detail-tab.filter-pill{min-height:44px;border:1px solid var(--ui-border);background:var(--ui-surface);border-radius:10px;font-size:13px}.customers-detail-tab.filter-pill.is-active{background:var(--ui-primary);color:var(--ui-on-primary);border-color:var(--ui-primary);box-shadow:none}.customers-profile-form{max-width:none}.customers-profile-form__btn{min-height:44px}.customers-addresses-header{flex-direction:column;align-items:stretch}.customers-addresses-header__add{width:100%;min-height:44px}.customers-address-card__btn{flex:1;min-height:44px}.customers-address-card__actions{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px}.customers-address-form{max-width:none}.customers-address-form__btn{min-height:44px}.customers-invoices-mobile-list{gap:10px}.customers-invoices-desktop-table{display:none!important}.register-edit-modal{width:100%!important;max-height:92vh!important;border-radius:16px 16px 0 0!important;padding:20px 16px calc(20px + env(safe-area-inset-bottom,0px))!important}.users-page__add-btn{width:100%;min-height:44px}.users-mobile-list,.mobile-card-list{display:flex!important;gap:10px}.modal-overlay{align-items:flex-end!important;padding:0!important}.modal-panel{width:100%!important;max-height:92vh!important;border-radius:16px 16px 0 0!important;padding:20px 16px calc(20px + env(safe-area-inset-bottom,0px))!important}.users-desktop-table,.desktop-table{display:none!important}.filter-pills{display:grid!important;grid-template-columns:1fr 1fr;gap:8px}.filter-pills>button,.filter-pill{width:100%;min-height:44px}.approvals-page__toolbar{flex-direction:column;align-items:stretch;margin-bottom:14px}.approvals-page__filters{margin-bottom:0}.approvals-page__bulk-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.approvals-page__bulk-btn{width:100%;min-height:44px}.approvals-mobile-list{gap:10px}.page-header>button,.page-header-actions{width:100%}.page-header-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.page-header-actions>button,.page-header-actions>a,.companies-page__action-btn{width:100%;min-height:44px}.dashboard-page__header{flex-direction:column;align-items:stretch;gap:12px}.dashboard-page__title{font-size:22px}.dashboard-admin-mobile-nav{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 20px}.dashboard-page__filters{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:10px}.dashboard-page__fy-select,.dashboard-page__month-select{width:100%;min-height:44px}.dashboard-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dashboard-stat-tile{padding:14px;min-height:96px}.dashboard-stat-tile__amount{font-size:clamp(1.15rem,4.5vw,1.45rem)}.dashboard-company-section__intro,.dashboard-status-section{padding:16px}.dashboard-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-quick-links{grid-template-columns:1fr}.invoice-toolbar__actions{width:100%;margin-left:0;display:grid;grid-template-columns:1fr 1fr;gap:8px}.invoice-toolbar__btn{width:100%;min-height:44px!important;padding:10px 12px!important;font-size:13px!important;justify-content:center}.invoice-toolbar__btn--primary{grid-column:1 / -1}.profile-page__title{font-size:22px}.profile-page__hero{flex-direction:column;align-items:flex-start;gap:14px;padding:18px!important}.profile-info-row{grid-template-columns:1fr!important;gap:4px!important}.login-page{padding:64px 12px 12px}.login-card{padding:24px 18px!important}.login-theme-toggle{top:12px;right:12px}.print-documents-page__toolbar{padding:12px;gap:10px}.print-documents-page__print-btn{width:100%;min-height:44px}.user-mobile-card__actions{grid-template-columns:1fr}.modal-actions{flex-direction:column;align-items:stretch!important}.modal-actions>button{width:100%;min-height:44px}}@media(max-width:480px){.grid-6-col,.grid-5-col,.grid-line-fields,.invoice-line-commerce,.invoice-line-details,.invoice-line-batches__grid,.grid-carton-row{grid-template-columns:1fr!important}.invoice-header-track{flex-direction:column;align-items:stretch}.invoice-header-track__field--company,.invoice-header-track__field--shipment,.invoice-header-track__field--invoice-no,.invoice-header-track__field--date,.invoice-header-track__field--fy,.invoice-header-track__field--currency,.invoice-header-track__field--pricing,.invoice-header-track__field--rate{flex:1 1 auto;width:100%}.carton-type-picker__buttons{grid-template-columns:1fr}.invoice-header-segment{flex-wrap:wrap;height:auto}.invoice-header-segment__btn{flex:1 1 calc(50% - 4px)}.invoice-header-segment--company .invoice-header-segment__btn{flex:1 1 100%}.invoice-shipping-track{flex-direction:column;align-items:stretch}.invoice-shipping-field--pol,.invoice-shipping-field--precarriage,.invoice-shipping-field--pod,.invoice-shipping-field--final,.invoice-shipping-field--country,.invoice-shipping-field--payment,.invoice-shipping-field--ref-no,.invoice-shipping-field--ref-date,.invoice-shipping-field--terms,.invoice-shipping-field--product,.invoice-shipping-field--tracking,.invoice-shipping-field--tracking-full{flex:1 1 auto;width:100%}.profile-info-row{grid-template-columns:1fr!important}.users-stats-grid,.stats-grid,.dashboard-stats-grid,.dashboard-status-grid{grid-template-columns:1fr 1fr!important}.invoice-settings-defaults__grid{grid-template-columns:1fr}.managed-options__header{flex-direction:column;align-items:stretch}.managed-options__add-btn{width:100%}.register-mobile-card__grid,.product-mobile-card__grid,.customer-mobile-card__grid,.client-mobile-card__grid,.invoice-mobile-card__meta,.customer-invoice-mobile-card__meta{grid-template-columns:1fr!important}.page-header-actions,.invoice-toolbar__actions{grid-template-columns:1fr}.invoice-toolbar__btn--primary{grid-column:auto}}@media print{.no-print{display:none!important}:root,html[data-theme=dark]{color-scheme:light;--ui-page-bg: #ffffff;--ui-surface: #ffffff;--ui-surface-muted: #f8f9fb;--ui-heading: #092243;--ui-primary: #092243;--ui-on-primary: #ffffff;--ui-text: #1a2332;--ui-text-muted: #666666;--ui-text-secondary: #555555;--ui-border: #cccccc;--ui-table-header: #eef1f6;--ui-hover: #eef2f7;--ui-input-bg: #ffffff;--shadow-sm: rgba(9, 34, 67, .06)}html,body,#root{background:#fff!important;color:#000!important;overflow:visible!important;height:auto!important}}input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea{background-color:var(--ui-input-bg);color:var(--ui-text);border-color:var(--ui-border);color-scheme:inherit}input:disabled,select:disabled,textarea:disabled{background-color:var(--ui-input-disabled);color:var(--ui-text-muted)}.backup-page{min-width:0;width:100%;max-width:min(1360px,100%);box-sizing:border-box;padding:8px 4px 32px}.backup-header{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1.25rem}.backup-header-text{min-width:0}.backup-title{font-size:1.75rem;font-weight:700;letter-spacing:-.02em;color:var(--ui-heading);margin:0 0 .25rem}.backup-subtitle{font-size:.9375rem;color:var(--ui-text-secondary);margin:0;line-height:1.5;max-width:40rem}.backup-header-actions{display:flex;flex-wrap:wrap;gap:.625rem;flex-shrink:0;justify-content:flex-end}.backup-overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-bottom:1.25rem}.backup-overview-card{display:flex;flex-direction:column;gap:.35rem;min-width:0;padding:1rem 1.1rem;border-radius:12px;border:1px solid var(--ui-border);background:var(--ui-surface)}.backup-overview-label{font-size:.75rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--ui-text-muted)}.backup-overview-value{font-size:1rem;font-weight:700;line-height:1.35;color:var(--ui-heading)}.backup-overview-note{font-size:.8125rem;line-height:1.5;color:var(--ui-text-secondary)}.backup-btn{display:inline-flex;align-items:center;gap:.4rem;padding:.5rem 1rem;border-radius:8px;font-size:.875rem;font-weight:500;cursor:pointer;border:none;transition:opacity .15s;white-space:nowrap}.backup-btn:disabled{opacity:.55;cursor:not-allowed}.backup-btn-primary{background:var(--ui-primary);color:var(--ui-on-primary)}.backup-btn-accent{background:#16a34a;color:#fff}.backup-btn-warning{background:#b45309;color:#fff}.backup-btn-secondary{background:var(--ui-surface-muted);color:var(--ui-text);border:1px solid var(--ui-border)}.backup-btn-danger-outline{background:transparent;color:var(--ui-error);border:1px solid var(--ui-error)}.backup-btn-danger-outline:hover{background:var(--ui-danger-bg)}.backup-status-connected,.backup-status-disconnected{display:inline-flex;align-items:center;gap:.3rem;font-size:.8125rem;font-weight:500;padding:.2rem .6rem;border-radius:6px}.backup-status-connected{background:var(--ui-success-bg);color:var(--ui-success)}.backup-status-disconnected{background:var(--ui-danger-bg);color:var(--ui-error)}.backup-drive-body{display:flex;flex-direction:column;gap:1rem}.backup-info-banner{display:flex;align-items:flex-start;gap:.625rem;padding:.75rem 1rem;margin-bottom:1.25rem;border-radius:8px;font-size:.875rem;line-height:1.5;background:color-mix(in srgb,var(--ui-primary) 10%,transparent);border:1px solid color-mix(in srgb,var(--ui-primary) 25%,transparent);color:var(--ui-text)}.backup-info-banner svg{flex-shrink:0;margin-top:2px}.backup-page-message{margin-bottom:1.25rem;padding:.75rem 1rem;border-radius:8px;font-size:.875rem}.backup-page-message.is-success{background:var(--ui-success-bg);color:var(--ui-success);border:1px solid color-mix(in srgb,var(--ui-success) 30%,transparent)}.backup-page-message.is-error{background:var(--ui-danger-bg);color:var(--ui-error);border:1px solid var(--ui-danger-border)}.backup-grid{display:grid;grid-template-columns:minmax(340px,420px) minmax(0,1fr);gap:1.25rem;margin-bottom:1.25rem;align-items:start}.backup-bottom-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}.backup-card{background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:10px;padding:1.5rem;min-width:0}.backup-section-card{margin-bottom:0}.backup-card-title{font-size:1.125rem;font-weight:600;color:var(--ui-heading);margin:0 0 1rem}.backup-card-header-row{display:flex;justify-content:space-between;align-items:flex-start;gap:.875rem;margin-bottom:1rem}.backup-card-header-stack{display:flex;flex-direction:column;gap:.35rem;min-width:0}.backup-card-header-row .backup-card-title{margin-bottom:0}.backup-card-desc{font-size:.875rem;color:var(--ui-text-secondary);line-height:1.6;margin:0}.backup-card-desc code{font-size:.8125rem;padding:.1rem .35rem;background:var(--ui-surface-muted);border-radius:4px;color:var(--ui-text)}.backup-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border-radius:6px;border:1px solid var(--ui-border);background:var(--ui-surface-muted);color:var(--ui-text);cursor:pointer}.backup-icon-btn:hover{opacity:.85}.backup-icon-btn:disabled{opacity:.4;cursor:not-allowed}.backup-loading-text,.backup-empty-text{font-size:.875rem;color:var(--ui-text-muted);padding:1rem 0}.backup-empty-text{text-align:center;padding:2rem 1rem}.backup-settings-body{display:flex;flex-direction:column;gap:1.125rem}.backup-settings-highlight{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.9rem 1rem;border:1px solid var(--ui-border);border-radius:10px;background:var(--ui-surface-muted)}.backup-inline-state{display:inline-flex;align-items:center;justify-content:center;padding:.35rem .6rem;border-radius:999px;background:color-mix(in srgb,var(--ui-text-muted) 18%,transparent);color:var(--ui-text-secondary);font-size:.75rem;font-weight:600;white-space:nowrap}.backup-inline-state.is-active{background:color-mix(in srgb,#22c55e 18%,transparent);color:#16a34a}.backup-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.backup-field-span-2{grid-column:1 / -1}.backup-toggle-label{display:flex;align-items:center;gap:.75rem;cursor:pointer;font-size:.9375rem;color:var(--ui-text);-webkit-user-select:none;user-select:none}.backup-toggle-track{position:relative;display:inline-block;width:42px;height:24px;border-radius:12px;background:var(--ui-border-strong);transition:background .2s;flex-shrink:0}.backup-toggle-track.active{background:#16a34a}.backup-toggle-thumb{position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:#fff;transition:transform .2s;box-shadow:0 1px 3px #0003}.backup-toggle-track.active .backup-toggle-thumb{transform:translate(18px)}.backup-field{display:flex;flex-direction:column;gap:.3rem}.backup-field-label{font-size:.8125rem;font-weight:500;color:var(--ui-text-secondary)}.backup-input{padding:.5rem .75rem;border-radius:6px;border:1px solid var(--ui-border);background:var(--ui-input-bg);color:var(--ui-text);font-size:.875rem;width:100%;box-sizing:border-box}.backup-input:focus{outline:none;border-color:var(--ui-primary);box-shadow:0 0 0 2px var(--ui-focus-ring)}.backup-input-narrow{max-width:10rem}.backup-field-hint{font-size:.75rem;color:var(--ui-text-muted);line-height:1.4}.backup-history-toolbar{display:inline-flex;align-items:center;gap:.5rem;flex-shrink:0}.backup-history-count{display:inline-flex;align-items:center;padding:.35rem .65rem;border-radius:999px;background:var(--ui-surface-muted);border:1px solid var(--ui-border);color:var(--ui-text-secondary);font-size:.75rem;font-weight:600}.backup-last-run{padding:.75rem 1rem;border-radius:8px;background:var(--ui-surface-muted);border:1px solid var(--ui-border);display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.backup-last-run-label{font-size:.8125rem;color:var(--ui-text-secondary)}.backup-last-run-error{width:100%;font-size:.8125rem;color:var(--ui-error);margin:.25rem 0 0}.backup-badge-success,.backup-badge-error{display:inline-flex;align-items:center;font-size:.75rem;font-weight:600;padding:.15rem .45rem;border-radius:999px}.backup-badge-success{background:var(--ui-success-bg);color:var(--ui-success)}.backup-badge-error{background:var(--ui-danger-bg);color:var(--ui-error)}.backup-restore-body{display:flex;flex-direction:column;gap:1rem}.backup-restore-warning{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;border-radius:8px;font-size:.875rem;background:var(--ui-warning-bg);color:var(--ui-warning)}.backup-restore-warning svg{flex-shrink:0}.backup-restore-fields{display:flex;flex-wrap:wrap;align-items:flex-end;gap:1rem}.backup-restore-fields .backup-field{min-width:200px}.backup-drive-retention-row{display:flex;align-items:center;gap:.75rem}.backup-history-wrap{overflow-x:auto}.backup-history-table{width:100%;border-collapse:collapse;font-size:.8125rem}.backup-history-table th{text-align:left;font-size:.75rem;text-transform:uppercase;letter-spacing:.04em;color:var(--ui-text-muted);font-weight:600;padding:.5rem .6rem;border-bottom:1px solid var(--ui-border);background:var(--ui-table-header)}.backup-history-table td{padding:.55rem .6rem;border-bottom:1px solid var(--ui-border);color:var(--ui-text);vertical-align:middle}.backup-history-row-actions{display:flex;gap:.35rem}@media(max-width:900px){.backup-overview-grid,.backup-bottom-grid,.backup-grid,.backup-settings-grid{grid-template-columns:1fr}.backup-field-span-2{grid-column:auto}}.record-details-page{max-width:960px}.record-details-page__header{margin-bottom:20px;padding:18px 20px;background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:12px}.record-details-page__nav{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:6px}.record-details-page__title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}.record-details-page__heading{min-width:0;flex:1}.record-details-page__title{margin:0;color:var(--ui-heading);font-size:24px;line-height:1.2;letter-spacing:-.02em}.record-details-page__invoice-ref{margin:0;font-size:14px;color:var(--ui-text-secondary);line-height:1.4}.record-details-page__chips{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.record-details-chip{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;font-size:11px;font-weight:600;letter-spacing:.02em;white-space:nowrap}.record-details-chip--type{background:var(--ui-surface-muted);color:var(--ui-heading);border:1px solid var(--ui-border)}.record-details-meta{display:flex;flex-wrap:wrap;gap:8px 28px;margin:16px 0 0;padding:14px 0 0;border-top:1px solid var(--ui-border)}.record-details-meta__item{min-width:0}.record-details-meta__item dt{margin:0 0 3px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--ui-text-muted)}.record-details-meta__item dd{margin:0;font-size:14px;font-weight:500;color:var(--ui-heading);word-break:break-word}.record-details-page__alert{margin:0 0 16px;padding:12px 16px;border-radius:10px;background:var(--ui-surface);color:var(--ui-text);font-size:13px;line-height:1.45;box-shadow:0 1px 3px var(--shadow-sm)}.record-details-form{display:flex;flex-direction:column;gap:12px}.record-details-section__title{margin:0 0 6px;font-size:17px;font-weight:700;color:var(--ui-heading)}.record-details-section__head{margin-bottom:18px}.record-details-section__head .record-details-section__hint{margin-bottom:0}.record-details-section__hint{margin:0 0 14px;font-size:13px;color:var(--ui-text-muted);line-height:1.45}.record-details-section__subtitle{margin:18px 0 12px;font-size:13px;font-weight:600;color:var(--ui-text-muted);text-transform:uppercase;letter-spacing:.04em}.record-details-combined{display:flex;flex-direction:column;gap:4px;margin:14px 0 0;padding:10px 12px;border-radius:8px;background:var(--ui-surface-muted);border:1px solid var(--ui-border)}.record-details-combined__label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--ui-text-muted)}.record-details-combined__value{font-size:13px;color:var(--ui-heading);word-break:break-word;line-height:1.4}.record-details-section{padding:16px 18px!important}.record-ops-block--bordered{margin-top:12px;padding-top:12px;border-top:1px solid var(--ui-border)}.record-ops-toolbar{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center}.record-ops-toolbar__zip{display:flex;flex:1 1 220px;align-items:center;min-width:0}.record-ops-toolbar__zip .process-zip-buttons{width:100%}.record-ops-toolbar__zip .process-zip-buttons__row{gap:8px}.record-ops-toolbar__zip .process-zip-buttons__btn{padding:7px 12px;font-size:12px}.record-ops-toolbar__zip .process-zip-buttons__hint{margin-top:6px;font-size:11px}.uploaded-doc-slot--inline{flex:1 1 260px;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border:1px solid var(--ui-border);border-radius:8px;background:var(--ui-table-header)}.uploaded-doc-slot--inline .uploaded-doc-slot__label{flex:1;min-width:0;font-size:11px;font-weight:600;letter-spacing:.03em;text-transform:uppercase;color:var(--ui-text-muted);line-height:1.3}.uploaded-doc-slot--inline .uploaded-doc-slot__actions{flex-shrink:0;gap:6px}.uploaded-doc-slot--inline .uploaded-doc-slot__view,.uploaded-doc-slot--inline .uploaded-doc-slot__upload{padding:6px 10px;font-size:12px}.record-ops-tracking-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}.record-ops-field{display:flex;flex-direction:column;gap:5px;min-width:0}.record-ops-field--single{max-width:360px}.record-ops-field__label{font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--ui-text-muted)}.record-ops-field__input{width:100%;min-height:34px;padding:7px 10px;border:1px solid var(--ui-border);border-radius:8px;box-sizing:border-box;font-size:13px;background:var(--ui-surface);color:var(--ui-heading)}.record-ops-preview{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline;margin:8px 0 0;font-size:12px}.record-ops-preview__label{font-weight:600;color:var(--ui-text-muted);text-transform:uppercase;letter-spacing:.03em;font-size:10px}.record-ops-preview__value{color:var(--ui-heading);word-break:break-word}.record-docs-panel__body{display:flex;flex-direction:column;gap:0}.record-docs-upload-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}.record-docs-upload-grid.uploaded-doc-slots{flex-direction:unset}.record-docs-upload-grid .uploaded-doc-slot{gap:12px;padding:14px 16px;border:1px solid var(--ui-border);border-radius:10px;background:var(--ui-table-header)}.record-docs-upload-grid .uploaded-doc-slot__label{font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--ui-text-muted)}.record-docs-upload-grid .uploaded-doc-slot__actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.record-docs-upload-grid .uploaded-doc-slot__view,.record-docs-upload-grid .uploaded-doc-slot__upload{justify-content:center;padding:9px 12px;font-size:13px;text-align:center}.record-docs-zip-panel{margin-top:20px;padding-top:20px;border-top:1px solid var(--ui-border)}.record-docs-zip-panel__label{display:block;margin-bottom:6px;font-size:11px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--ui-text-muted)}.record-docs-zip-panel__hint{margin:0 0 12px;font-size:12px;line-height:1.45;color:var(--ui-text-muted)}.process-zip-buttons__row{display:flex;flex-wrap:wrap;gap:10px}.process-zip-buttons__btn{padding:10px 16px;border:1px solid var(--ui-border);border-radius:8px;background:var(--ui-surface);color:var(--ui-heading);font-size:13px;font-weight:600;cursor:pointer;transition:background .15s ease,border-color .15s ease,opacity .15s ease}.process-zip-buttons__btn--primary{background:var(--ui-primary);color:var(--ui-on-primary);border-color:var(--ui-primary)}.process-zip-buttons__btn:hover:not(:disabled){filter:brightness(1.05)}.process-zip-buttons__btn:disabled{opacity:.5;cursor:not-allowed}.process-zip-buttons__hint{margin:10px 0 0;font-size:12px;line-height:1.45;color:var(--ui-text-muted)}.process-zip-buttons__error{margin:8px 0 0;font-size:12px;color:var(--ui-error)}.process-zip-buttons__empty{color:var(--ui-text-muted)}.process-zip-buttons--compact .process-zip-buttons__row{gap:4px}.process-zip-buttons--compact .process-zip-buttons__btn{padding:4px 8px;font-size:11px;border-radius:6px}.record-details-tracking-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px 20px;align-items:end}.record-details-tracking-field{grid-column:span 6}.record-details-tracking-field--single{grid-column:span 7;max-width:420px}.record-shipment-panel .record-details-combined{margin-top:18px}.record-details-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}.record-details-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding-bottom:24px}@media(max-width:768px){.record-details-page__header{padding:14px 16px}.record-details-page__title{font-size:20px}.record-details-page__title-row{flex-direction:column;gap:10px}.record-details-meta{flex-direction:column;gap:12px}.record-details-grid,.record-ops-tracking-grid{grid-template-columns:1fr}.record-ops-toolbar{flex-direction:column;align-items:stretch}.record-ops-toolbar__zip .process-zip-buttons__row{flex-direction:column}.uploaded-doc-slot--inline{flex-direction:column;align-items:stretch}.uploaded-doc-slot--inline .uploaded-doc-slot__actions{display:grid;grid-template-columns:1fr 1fr}.record-details-tracking-grid{grid-template-columns:1fr}.record-details-tracking-field,.record-details-tracking-field--single{grid-column:span 1;max-width:none}.record-docs-upload-grid .uploaded-doc-slot__actions{grid-template-columns:1fr}.record-details-actions{flex-direction:column;align-items:stretch}.record-details-actions>*{width:100%;text-align:center;box-sizing:border-box}}.annex-a-record-group{margin-bottom:18px}.annex-a-record-label{font-size:13px;font-weight:600;color:#1a2e1a;margin-bottom:8px}.annex-a-record-options{display:flex;flex-wrap:wrap;gap:10px 18px}.annex-a-record-option{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:#4a5a4a;cursor:pointer}.annex-a-record-option input{width:16px;height:16px;margin:0;accent-color:#1b5e20}.end-use-code-select{display:flex;flex-direction:column;gap:8px}.end-use-code-select__description{margin:0;font-size:12px;line-height:1.45;color:var(--ui-text-secondary, #5f6b7a)}.end-use-code-select__add-btn{align-self:flex-start;padding:8px 12px;border:1px dashed var(--ui-border, #d0d5dd);border-radius:8px;background:transparent;font-size:13px;cursor:pointer}.end-use-code-select__add-form{display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid var(--ui-border, #d0d5dd);border-radius:10px;background:var(--ui-surface-muted, #f8fafc)}.end-use-code-select__field{display:flex;flex-direction:column;gap:6px;font-size:13px}.end-use-code-select__add-actions{display:flex;gap:8px;flex-wrap:wrap}.managed-end-use-codes__list .managed-options__item{align-items:flex-start}.managed-end-use-codes__text{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}.managed-end-use-codes__code-input{font-weight:700;font-size:13px;letter-spacing:.02em}.managed-end-use-codes__desc-input{min-height:56px;resize:vertical;font-size:12px;line-height:1.45}.managed-end-use-codes__code{font-weight:700;font-size:13px;letter-spacing:.02em}.managed-end-use-codes__desc{font-size:12px;line-height:1.45;color:var(--ui-text-secondary, #5f6b7a)}.managed-end-use-codes__add-form{display:flex;flex-direction:column;gap:10px;margin-top:12px}.managed-end-use-codes__textarea{min-height:72px;resize:vertical}.managed-end-use-codes__add-actions{display:flex;gap:8px;flex-wrap:wrap}.managed-invoice-currencies__list .managed-options__item{align-items:center}.managed-invoice-currencies__text{display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px;align-items:center;flex:1;min-width:0}.managed-invoice-currencies__code-input{font-weight:700;font-size:13px;letter-spacing:.02em;min-width:0}.managed-invoice-currencies__code{font-weight:700;font-size:13px;letter-spacing:.02em}.managed-invoice-currencies__symbol,.managed-invoice-currencies__symbol-read{font-size:13px}.managed-invoice-currencies__symbol-read{color:var(--ui-text-secondary, #5f6b7a)}.managed-invoice-currencies__add-form{display:flex;flex-direction:column;gap:10px;margin-top:12px}.managed-invoice-currencies__field{display:flex;flex-direction:column;gap:4px;font-size:12px}.managed-invoice-currencies__add-actions{display:flex;gap:8px;flex-wrap:wrap}.managed-carton-types__list .managed-options__item{align-items:center}.managed-carton-types__text{display:grid;grid-template-columns:minmax(100px,1.2fr) minmax(0,1.4fr);gap:10px;align-items:center;flex:1;min-width:0}.managed-carton-types__item.is-editing .managed-carton-types__text{grid-template-columns:minmax(110px,1.4fr) repeat(3,minmax(56px,72px))}.managed-carton-types__name{font-weight:700;font-size:13px}.managed-carton-types__dims{font-size:13px;color:var(--ui-text-secondary)}.managed-carton-types__name-input,.managed-carton-types__dim-input{min-width:0}.managed-carton-types__add-form{display:flex;flex-direction:column;gap:10px;margin-top:12px}.managed-carton-types__dims-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.managed-carton-types__field{display:flex;flex-direction:column;gap:4px;font-size:12px}.managed-carton-types__add-actions{display:flex;gap:8px;flex-wrap:wrap}.managed-tape-colors__list .managed-options__item{align-items:center;gap:10px}.managed-tape-colors__name-input{flex:1;min-width:120px}.managed-tape-colors__picker{width:40px;height:32px;padding:0;border:1px solid var(--ui-border-strong);border-radius:6px;background:transparent;cursor:pointer;flex-shrink:0}.managed-tape-colors__add-form{align-items:center}.tape-color-swatch{display:inline-block;border-radius:4px;border:1px solid rgba(0,0,0,.15);box-shadow:inset 0 0 0 1px #fff3;flex-shrink:0}.tape-color-swatch--sm{width:14px;height:14px}.tape-color-swatch--md{width:18px;height:18px}.tape-color-label{display:inline-flex;align-items:center;gap:5px;padding:2px 7px 2px 4px;border-radius:5px;background:var(--ui-surface-muted);font-size:11px;font-weight:600;color:var(--ui-text-muted);white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}.tape-color-select{display:flex;align-items:center;gap:8px}.tape-color-select__input{flex:1;min-width:0}.carton-type-picker{margin-bottom:12px}.carton-type-picker__buttons{display:flex;flex-wrap:wrap;gap:8px}.carton-type-picker__btn{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:120px;padding:10px 12px;border:1px solid var(--ui-border-strong);border-radius:10px;background:var(--ui-input-bg);color:var(--ui-heading);font:inherit;cursor:pointer;text-align:left;transition:border-color .15s,background .15s,box-shadow .15s}.carton-type-picker__btn:hover:not(:disabled):not(.is-selected){border-color:var(--ui-primary);background:var(--ui-hover)}.carton-type-picker__btn.is-selected{border-color:var(--ui-primary);background:var(--ui-hover);box-shadow:0 0 0 3px var(--ui-focus-ring)}.carton-type-picker__btn:disabled{opacity:.55;cursor:not-allowed}.carton-type-picker__name{font-size:13px;font-weight:700;color:var(--ui-heading);line-height:1.25}.carton-type-picker__dims{font-size:11px;font-weight:500;color:var(--ui-text-muted);line-height:1.3}.carton-type-picker__empty{margin:0;font-size:12px;color:var(--ui-text-muted);line-height:1.45}.sli-doc-checklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px}@media(min-width:900px){.sli-doc-checklist{grid-template-columns:repeat(3,minmax(0,1fr))}}.integrations-page{max-width:960px}.integrations-page__header{margin-bottom:20px}.integrations-page__title{margin:0 0 6px;font-size:24px;color:var(--ui-heading)}.integrations-page__subtitle{margin:0;font-size:14px;color:var(--ui-text-muted)}.integrations-page__banner{margin-bottom:16px;padding:12px 16px;border-radius:8px;font-size:14px}.integrations-page__banner--success{background:var(--ui-success-bg);color:var(--ui-success);border-left:4px solid var(--ui-success)}.integrations-page__banner--error{background:var(--ui-error-bg);color:var(--ui-error);border-left:4px solid var(--ui-error)}.integrations-drive-card__title{color:var(--ui-primary)}.integrations-drive-card__disconnect{border-color:var(--ui-warning)!important;color:var(--ui-warning)!important}.uploaded-doc-slots{display:flex;flex-direction:column;gap:12px}.uploaded-doc-slot{display:flex;flex-direction:column;gap:8px}.uploaded-doc-slot--compact{gap:4px}.uploaded-doc-slot__label{font-size:13px;color:var(--ui-text-secondary);font-weight:500}.uploaded-doc-slot__actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.uploaded-doc-slot__file-input{display:none}.uploaded-doc-slot__view,.uploaded-doc-slot__upload{padding:6px 12px;border-radius:8px;font-size:12px;font-weight:600;cursor:pointer;text-decoration:none;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-text-muted)}.uploaded-doc-slot__view--ready{background:var(--ui-success-bg);color:var(--ui-success);border-color:var(--ui-success)}.uploaded-doc-slot__view:disabled{opacity:.55;cursor:not-allowed}.uploaded-doc-slot__upload{background:var(--ui-surface);color:var(--ui-heading)}.uploaded-doc-slot__upload:disabled{opacity:.6;cursor:wait}.register-upload-cell .uploaded-doc-slot--inline{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:4px;padding:0}.register-upload-cell .uploaded-doc-slot__label{display:none}.register-upload-cell .uploaded-doc-slot__actions{flex-wrap:nowrap;gap:4px}.register-upload-cell .uploaded-doc-slot__view,.register-upload-cell .uploaded-doc-slot__upload{padding:4px 7px;font-size:11px;border-radius:6px;white-space:nowrap}.register-table-zip-col{vertical-align:middle;white-space:nowrap;min-width:88px}.register-table-zip-col .process-zip-buttons--compact .process-zip-buttons__row{flex-wrap:nowrap}.list-table-scroll,.register-table-scroll{overflow:auto;max-height:min(70vh,calc(100dvh - 260px));-webkit-overflow-scrolling:touch}.proforma-desktop-table.list-table-scroll{overflow-x:hidden;overflow-y:auto}.register-table-scroll{max-width:100%}.register-desktop-table{border-collapse:separate;border-spacing:0;min-width:max-content;width:100%}.register-table-scroll thead th{position:sticky;top:0;z-index:3;background:var(--ui-table-header)}.register-table-scroll .register-sticky-col{position:sticky;z-index:1;background:var(--ui-surface)}.register-table-scroll thead .register-sticky-col{z-index:4;background:var(--ui-table-header)}.register-sticky-col--select{left:0;min-width:36px;width:36px}.register-sticky-col--serialNumber{left:36px;min-width:52px}.register-sticky-col--shipmentType{left:88px;min-width:56px}.register-sticky-col--invoiceNumber{left:144px;min-width:96px}.register-sticky-col--invoiceDate{left:240px;min-width:92px}.register-sticky-col--invoiceAmount{left:332px;min-width:128px;box-shadow:4px 0 8px -4px #0000002e}.register-table-scroll tbody tr:hover>.register-sticky-col,.register-table-scroll tbody tr.register-row--inline-edit:hover>.register-sticky-col{background:color-mix(in srgb,var(--ui-primary) 4%,var(--ui-surface))}.register-page__toolbar{align-items:center}.register-row-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.register-table-actions-col{white-space:nowrap;vertical-align:middle;min-width:132px}.register-table-actions-col .register-row-actions--table{flex-wrap:nowrap;gap:4px}.register-row-actions__btn{min-height:32px;padding:4px 10px;border-radius:8px;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-heading);font-size:12px;font-weight:600;cursor:pointer;white-space:nowrap}.register-table-actions-col .register-row-actions__btn{min-height:0;padding:4px 8px;font-size:11px;border-radius:6px;line-height:1.3}.register-row-actions__btn:disabled{opacity:.45;cursor:default}.register-row-actions__btn--primary{border:none;background:var(--ui-primary);color:var(--ui-on-primary, #fff)}.register-mobile-card__header .register-row-actions{flex-shrink:0;flex-wrap:nowrap;gap:6px}.register-row--inline-edit:hover{background:color-mix(in srgb,var(--ui-primary) 4%,transparent)}.register-cell--editable{cursor:pointer;box-shadow:inset 0 -1px color-mix(in srgb,var(--ui-primary) 22%,var(--ui-border))}.register-table-scroll tbody td.register-cell--editable:hover{background:color-mix(in srgb,var(--ui-primary) 8%,var(--ui-surface))}.register-cell--editing{background:color-mix(in srgb,var(--ui-primary) 6%,var(--ui-surface))}.register-cell--saving{opacity:.65}.register-inline-input{display:block}.register-inline-input:focus{outline:none;border-color:var(--ui-primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--ui-primary) 20%,transparent)}.register-mobile-card__value .register-inline-input{width:100%;max-width:none}.register-mobile-card__editable{display:inline-block;min-width:2ch;min-height:1.35em;cursor:pointer;border-radius:4px;padding:2px 4px;margin:-2px -4px;box-shadow:inset 0 -1px color-mix(in srgb,var(--ui-primary) 22%,var(--ui-border))}.register-mobile-card__editable:hover,.register-mobile-card__editable:focus{background:color-mix(in srgb,var(--ui-primary) 8%,transparent);outline:none}.register-mobile-select-all{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--ui-text-muted);padding:0 4px 8px}.register-mobile-card.is-selected{outline:2px solid var(--ui-primary);outline-offset:0}.register-mobile-card__select input{margin:0}.doc-config-page{max-width:1100px}.doc-config-page__header{margin-bottom:20px;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}.doc-config-page__title{margin:0;color:var(--ui-heading);font-size:26px}.doc-config-page__subtitle{margin:6px 0 0;font-size:14px;color:var(--ui-text-muted);line-height:1.5;max-width:640px}.doc-config-page__banner{margin:0 0 16px;padding:12px 16px;border-radius:10px;border-left:4px solid var(--ui-accent);background:var(--ui-surface-muted);color:var(--ui-text-muted);font-size:13px;line-height:1.45}.doc-config-page__alert{margin:0 0 16px;padding:10px 14px;border-radius:8px;font-size:14px;background:var(--ui-danger-bg);color:var(--ui-error)}.doc-config-page__alert--success{background:var(--ui-success-bg, #d4edda);color:var(--ui-success, #155724)}.doc-config-save-btn{padding:8px 20px;border-radius:8px;border:none;background:var(--ui-primary);color:#fff;font-size:14px;font-weight:600;cursor:pointer;white-space:nowrap;flex-shrink:0}.doc-config-save-btn:disabled{opacity:.5;cursor:default}.doc-config-courier{background:var(--ui-surface);border:1px solid var(--ui-table-header);border-radius:14px;padding:20px 22px;margin-bottom:24px;box-shadow:0 2px 8px var(--shadow-sm)}.doc-config-courier__title{margin:0 0 16px;font-size:18px;color:var(--ui-heading)}.doc-config-section{margin-bottom:20px}.doc-config-section:last-child{margin-bottom:0}.doc-config-section__title{margin:0 0 4px;font-size:14px;font-weight:600;color:var(--ui-heading)}.doc-config-section__hint{margin:0 0 10px;font-size:13px;color:var(--ui-text-muted);line-height:1.4}.doc-config-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}.doc-config-table{width:100%;border-collapse:collapse;font-size:14px;table-layout:fixed}.doc-config-col-document{width:auto}.doc-config-col-flag{width:90px}.doc-config-col-actions{width:44px}.doc-config-table th{text-align:left;padding:8px 10px;font-size:12px;font-weight:600;color:var(--ui-text-muted);border-bottom:1px solid var(--ui-table-header);white-space:nowrap}.doc-config-th-center{text-align:center!important;width:90px}.doc-config-th-actions{width:44px;padding-left:4px;padding-right:4px}.doc-config-td-actions{width:44px}.doc-config-actions-spacer{display:inline-block;width:28px;height:1px}.doc-config-table td{padding:8px 10px;border-bottom:1px solid var(--ui-border-subtle, var(--ui-table-header));color:var(--ui-text)}.doc-config-td-center{text-align:center}.doc-config-label{font-weight:500;word-break:break-word}.doc-config-empty{text-align:center;color:var(--ui-text-muted);font-size:13px;padding:16px 10px!important}.doc-config-remove-btn{background:none;border:none;color:var(--ui-text-muted);font-size:18px;cursor:pointer;padding:2px 6px;border-radius:4px;line-height:1}.doc-config-remove-btn:hover{color:var(--ui-error);background:var(--ui-danger-bg)}.doc-config-add-row{display:flex;align-items:center;gap:8px;margin-top:10px}.doc-config-add-select{flex:1;max-width:320px;padding:6px 10px;border-radius:6px;border:1px solid var(--ui-table-header);background:var(--ui-surface);color:var(--ui-text);font-size:13px}.doc-config-add-btn{padding:6px 14px;border-radius:6px;border:1px solid var(--ui-primary);background:transparent;color:var(--ui-primary);font-size:13px;font-weight:600;cursor:pointer}.doc-config-add-btn:disabled{opacity:.4;cursor:default}.doc-config-add-btn:hover:not(:disabled){background:var(--ui-primary);color:#fff}@media(max-width:600px){.doc-config-page__title{font-size:22px}.doc-config-courier{padding:14px 12px}.doc-config-th-center,.doc-config-col-flag{width:60px}}.app-main:has(.firc-detail-page),.app-main:has(.firc-list-page){background:var(--ui-page-bg)}.firc-detail-page{max-width:1280px;margin:0 auto;padding:0 24px 40px}.firc-detail-page--loading{padding:32px 24px;color:var(--ui-text-muted)}.firc-detail-page__header{position:sticky;top:0;z-index:50;isolation:isolate;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 -24px 20px;width:calc(100% + 48px);padding:14px 24px;background-color:var(--ui-surface);border-bottom:1px solid var(--ui-table-header);box-shadow:0 2px 8px var(--shadow-sm)}.firc-detail-page__header:before{content:"";position:absolute;z-index:-1;top:0;bottom:-1px;left:50%;transform:translate(-50%);width:100vw;background-color:var(--ui-surface);border-bottom:1px solid var(--ui-table-header);box-shadow:0 2px 8px var(--shadow-sm);pointer-events:none}.firc-detail-page__header-left{display:flex;align-items:center;gap:14px;min-width:0;flex:1}.firc-detail-page__back{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;height:34px;padding:0 12px;border-radius:8px;border:1px solid var(--ui-border-strong);background:var(--ui-hover);color:var(--ui-heading);text-decoration:none;font-size:13px;font-weight:600;white-space:nowrap}.firc-detail-page__back:hover{background:var(--ui-surface-muted)}.firc-detail-page__header-text{min-width:0}.firc-detail-page__title-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.firc-detail-page__title{margin:0;font-size:20px;line-height:1.25;color:var(--ui-heading);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;word-break:break-all}.firc-detail-page__subtitle{margin:3px 0 0;font-size:13px;color:var(--ui-text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.firc-detail-page__actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;flex-shrink:0}.firc-detail-page__alert{margin-bottom:16px;padding:12px 14px;border-radius:10px;font-size:13px;line-height:1.45}.firc-detail-page__alert.is-error{background:var(--ui-danger-bg);color:var(--ui-error);border:1px solid var(--ui-danger-border)}.firc-detail-page__alert.is-success{background:var(--ui-success-bg);color:var(--ui-success);border:1px solid color-mix(in srgb,var(--ui-success) 35%,transparent)}.firc-status-badge{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;font-size:11px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;flex-shrink:0}.firc-status-badge--pending{background:var(--ui-warning-bg);color:var(--ui-warning)}.firc-status-badge--partial{background:color-mix(in srgb,var(--ui-primary) 14%,transparent);color:var(--ui-primary)}.firc-status-badge--fully_used{background:var(--ui-success-bg);color:var(--ui-success)}.firc-hero{display:grid;grid-template-columns:1.4fr repeat(3,minmax(0,1fr));gap:1px;margin-bottom:20px;border-radius:14px;overflow:hidden;border:1px solid var(--ui-border);background:var(--ui-border);box-shadow:0 2px 12px var(--shadow-sm)}.firc-hero__cell{padding:18px 20px;background:var(--ui-surface)}.firc-hero__cell--primary{background:linear-gradient(135deg,color-mix(in srgb,var(--ui-primary) 12%,var(--ui-surface)) 0%,var(--ui-surface) 100%)}.firc-hero__label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--ui-text-muted)}.firc-hero__label-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.firc-hero__currency-swap{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:999px;border:1px solid var(--ui-border);background:var(--ui-surface-muted);color:var(--ui-text-muted);font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;cursor:pointer;line-height:1.2;flex-shrink:0}.firc-hero__currency-swap:hover{color:var(--ui-primary);border-color:color-mix(in srgb,var(--ui-primary) 40%,var(--ui-border));background:color-mix(in srgb,var(--ui-primary) 8%,var(--ui-surface-muted))}.firc-hero__currency-swap-icon{font-size:11px;opacity:.85}.firc-hero__value{margin-top:6px;font-size:26px;font-weight:800;color:var(--ui-heading);line-height:1.15;letter-spacing:-.02em}.firc-hero__cell--primary .firc-hero__value{color:var(--ui-primary)}.firc-hero__sub{margin-top:4px;font-size:12px;color:var(--ui-text-muted)}.firc-hero__progress{grid-column:1 / -1;padding:10px 20px 12px;background:var(--ui-surface)}.firc-progress__labels{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:var(--ui-text-muted);margin-bottom:6px}.firc-progress__bar{height:8px;border-radius:999px;background:var(--ui-surface-muted);border:1px solid var(--ui-border);overflow:hidden}.firc-progress__fill{height:100%;border-radius:999px;background:linear-gradient(90deg,var(--ui-primary),color-mix(in srgb,var(--ui-success) 70%,var(--ui-primary)));transition:width .3s ease}.firc-detail-stack{display:flex;flex-direction:column;gap:12px}.firc-detail-stack>.firc-hero{margin-bottom:0}.firc-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,280px);gap:16px;align-items:stretch}.firc-detail-layout>.firc-card{min-height:100%}.firc-detail-layout--single{grid-template-columns:1fr;max-width:800px}.firc-card{background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:14px;padding:20px 22px;box-shadow:0 1px 3px var(--shadow-sm)}.firc-card__title{margin:0 0 16px;font-size:14px;font-weight:700;color:var(--ui-heading);letter-spacing:-.01em;text-transform:uppercase;letter-spacing:.04em;font-size:11px;color:var(--ui-text-muted)}.firc-card__title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.firc-card__title-row .firc-card__title{margin:0}.firc-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px}.firc-detail-grid--amounts{grid-template-columns:repeat(3,minmax(0,1fr));padding:14px 16px;border-radius:12px;background:var(--ui-surface-muted);border:1px solid var(--ui-border);margin-bottom:16px}.firc-remittance-view{display:flex;flex-direction:column;gap:14px}.firc-remittance-fields{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr) minmax(0,1fr);border-radius:12px;border:1px solid var(--ui-border);overflow:hidden;background:var(--ui-surface-muted)}.firc-remittance-fields__row{grid-column:1 / -1;display:grid;grid-template-columns:subgrid;gap:14px 20px;padding:16px 18px;align-items:start}.firc-remittance-fields__row--amounts{background:linear-gradient(135deg,color-mix(in srgb,var(--ui-primary) 7%,var(--ui-surface-muted)),var(--ui-surface-muted));border-bottom:1px solid var(--ui-border)}.firc-remittance-fields__row--meta{background:var(--ui-table-header)}.firc-detail-item{min-width:0}.firc-detail-item--align-center .firc-detail-item__value{text-align:center}.firc-detail-item--align-end .firc-detail-item__value{text-align:right}.firc-remittance-notes{padding:12px 14px;border-radius:10px;background:var(--ui-surface-muted);border:1px dashed var(--ui-border)}.firc-detail-item__value.is-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:13px;font-weight:600;letter-spacing:.02em;word-break:break-all}.firc-detail-item__label{display:block;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--ui-text-muted);margin-bottom:4px}.firc-detail-item__value{font-size:14px;font-weight:600;color:var(--ui-heading);word-break:break-word}.firc-detail-item__value.is-muted{font-weight:500;color:var(--ui-text-secondary)}.firc-detail-item__value.is-large{font-size:17px;font-weight:700}.firc-remitter-card{padding:14px 16px;border-radius:10px;background:color-mix(in srgb,var(--ui-accent) 6%,var(--ui-surface));border:1px solid color-mix(in srgb,var(--ui-accent) 18%,var(--ui-border))}.firc-remitter-card__title{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--ui-text-muted);margin-bottom:8px}.firc-remitter-card__body{font-size:13px;font-weight:500;color:var(--ui-heading);line-height:1.55;white-space:pre-line;overflow-wrap:anywhere}.firc-remitter-card__name{font-size:17px;font-weight:700;color:var(--ui-heading)}.firc-remitter-card__meta{margin-top:6px;font-size:13px;color:var(--ui-text-secondary);line-height:1.5}.firc-doc-card{display:flex;flex-direction:column;align-items:center;text-align:center;padding:20px 16px;border-radius:12px;background:var(--ui-surface-muted);border:1px solid var(--ui-border)}.firc-doc-card--empty{padding:28px 16px;font-size:13px;color:var(--ui-text-muted)}.firc-doc-card__btn{width:100%;max-width:220px;justify-content:center}.firc-doc-panel{padding:14px 16px;display:flex;flex-direction:column;gap:10px;height:100%}.firc-doc-panel>.firc-card__title{margin-bottom:0}.firc-doc-compact{flex:1;min-height:0;display:flex;flex-direction:column;gap:12px;padding:12px;border-radius:10px;background:var(--ui-surface-muted);border:1px solid var(--ui-border)}.firc-doc-compact--empty{align-items:center;justify-content:center;font-size:13px;color:var(--ui-text-muted);text-align:center}.firc-doc-compact__preview{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:16px 12px;border-radius:8px;background:color-mix(in srgb,var(--ui-primary) 4%,var(--ui-surface));border:1px dashed color-mix(in srgb,var(--ui-border) 80%,transparent);text-align:center}.firc-doc-compact__text{min-width:0;width:100%}.firc-doc-compact__title{font-size:14px;font-weight:700;color:var(--ui-heading);line-height:1.3}.firc-doc-compact__meta{margin-top:4px;font-size:11px;color:var(--ui-text-muted);word-break:break-all;line-height:1.4}.firc-doc-compact__btn{width:100%;justify-content:center;flex-shrink:0}.firc-doc-card__icon{width:52px;height:52px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:24px;background:color-mix(in srgb,var(--ui-error) 12%,var(--ui-surface));border:1px solid color-mix(in srgb,var(--ui-error) 25%,var(--ui-border));margin-bottom:12px;flex-shrink:0}.firc-doc-card__icon--sm{width:38px;height:38px;border-radius:9px;font-size:11px;font-weight:800;margin-bottom:0}.firc-doc-card__icon--lg{width:64px;height:64px;border-radius:14px;font-size:13px;font-weight:800;margin-bottom:0}.firc-doc-card__title{font-size:14px;font-weight:700;color:var(--ui-heading);margin-bottom:4px}.firc-doc-card__meta{font-size:12px;color:var(--ui-text-muted);margin-bottom:14px;word-break:break-all}.firc-edit-toggle{margin-left:auto;padding:4px 10px;border-radius:6px;border:1px solid var(--ui-border);background:transparent;color:var(--ui-link);font-size:12px;font-weight:600;cursor:pointer}.firc-edit-toggle:hover{background:var(--ui-hover)}.firc-form-hint{margin:0 0 12px;padding:8px 10px;border-radius:8px;font-size:12px;line-height:1.4;color:var(--ui-text-muted);background:var(--ui-surface-muted);border:1px solid var(--ui-border)}.firc-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}.firc-form-field{display:block}.firc-form-field--full{grid-column:1 / -1}.firc-form-field__label{display:block;font-size:12px;font-weight:600;color:var(--ui-text-muted);margin-bottom:6px}.firc-form-field__input,.firc-form-field select,.firc-form-field textarea{width:100%;box-sizing:border-box;padding:9px 12px;border-radius:8px;border:1px solid var(--ui-border);background:var(--ui-input-bg);color:var(--ui-text);font-size:13px;font-family:inherit}.firc-form-field__input:disabled,.firc-form-field select:disabled,.firc-form-field textarea:disabled{background:var(--ui-input-disabled);color:var(--ui-text-muted);cursor:not-allowed}.firc-form-field textarea{min-height:80px;resize:vertical}.firc-upload-card{padding:14px 16px}.firc-upload-card .firc-card__title{margin-bottom:10px}.firc-upload-card__selects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px}.firc-upload-card__selects .firc-form-field__label{margin-bottom:4px;font-size:11px}.firc-upload-card__selects .firc-form-field__input,.firc-upload-card__selects select{padding:8px 10px;font-size:13px}.firc-upload-card__company-segment{min-height:36px}.firc-upload-card__company-segment .proforma-segment__btn{flex:1 1 0;min-width:0;padding:7px 10px;font-size:12px;letter-spacing:.02em}.firc-upload-card__file{margin-top:10px;padding:10px 12px;border-radius:10px;border:1px dashed var(--ui-border-strong);background:var(--ui-surface-muted)}.firc-upload-card__file.is-disabled{opacity:.7}.firc-upload-card__file-main{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.firc-upload-card__file-text{display:flex;flex-direction:column;gap:1px;min-width:120px;flex:1 1 140px}.firc-upload-card__file-label{font-size:12px;font-weight:600;color:var(--ui-heading);line-height:1.3}.firc-upload-card__file-meta{font-size:11px;color:var(--ui-text-muted);line-height:1.3}.firc-upload-card__file-input{position:absolute;width:0;height:0;opacity:0;pointer-events:none}.firc-upload-card__file-btn{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;height:32px;padding:0 12px;border-radius:8px;border:1px solid var(--ui-border-strong);background:var(--ui-hover);color:var(--ui-heading);font-size:12px;font-weight:600;cursor:pointer;white-space:nowrap}.firc-upload-card__file-btn:hover:not(.is-disabled){background:var(--ui-surface)}.firc-upload-card__file-btn.is-disabled{opacity:.55;cursor:not-allowed}.firc-upload-card__file-name{flex:1 1 160px;min-width:0;font-size:12px;color:var(--ui-text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.firc-upload-card__file-name.has-file{color:var(--ui-heading);font-weight:500}.firc-upload-card__hint{margin:8px 0 0;font-size:11px;line-height:1.4;color:var(--ui-text-muted)}.firc-upload-zone{padding:16px;border-radius:12px;border:1px dashed var(--ui-border-strong);background:var(--ui-surface-muted)}.firc-upload-zone.is-disabled{opacity:.65}.firc-upload-zone__hint{margin:8px 0 0;font-size:12px;line-height:1.5;color:var(--ui-text-muted)}.firc-table-wrap{overflow-x:auto;border:1px solid var(--ui-border);border-radius:12px}.firc-table{width:100%;border-collapse:collapse;min-width:640px}.firc-table th{padding:11px 14px;text-align:left;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--ui-text-muted);background:var(--ui-surface-muted);border-bottom:1px solid var(--ui-table-header);white-space:nowrap}.firc-table td{padding:13px 14px;font-size:13px;color:var(--ui-text);border-bottom:1px solid var(--ui-table-header);vertical-align:middle}.firc-table tbody tr:last-child td{border-bottom:none}.firc-table tbody tr:hover td{background:color-mix(in srgb,var(--ui-hover) 50%,transparent)}.firc-table__link{color:var(--ui-primary);font-weight:600;text-decoration:none}.firc-table__link:hover{text-decoration:underline}.firc-table__amount{font-weight:600;font-variant-numeric:tabular-nums}.firc-empty-state{padding:36px 20px;text-align:center;color:var(--ui-text-muted);font-size:13px;line-height:1.55;border:1px dashed var(--ui-border);border-radius:12px;background:var(--ui-surface-muted)}.firc-empty-state__action{margin-top:12px}.firc-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:9px 14px;border-radius:8px;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-text);font-size:13px;font-weight:600;cursor:pointer;text-decoration:none;white-space:nowrap;line-height:1.2}.firc-btn:hover:not(:disabled){background:var(--ui-hover)}.firc-btn:disabled{opacity:.55;cursor:not-allowed}.firc-btn--primary{background:var(--ui-primary);border-color:var(--ui-primary);color:var(--ui-on-primary)}.firc-btn--primary:hover:not(:disabled){filter:brightness(1.06);background:var(--ui-primary)}.firc-btn--danger{color:var(--ui-error);border-color:var(--ui-danger-border);background:var(--ui-danger-bg)}.firc-btn--ghost{background:transparent}.firc-btn--sm{padding:6px 10px;font-size:12px}.firc-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:16px;background:#00000073}.firc-modal{width:100%;max-width:520px;background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:14px;padding:22px;box-shadow:0 12px 40px var(--shadow-md)}.firc-modal.invoice-prev-import-modal{width:fit-content;min-width:min(560px,94vw);max-width:min(720px,94vw);max-height:min(92vh,900px);overflow-x:hidden;overflow-y:auto}.firc-modal__title{margin:0 0 6px;font-size:18px;color:var(--ui-heading)}.firc-modal__subtitle{margin:0 0 16px;font-size:13px;color:var(--ui-text-muted);line-height:1.45}.firc-modal__actions{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:8px;margin-top:16px}.firc-modal__validation-hint{flex:1 1 100%;margin:0;font-size:12px;color:var(--ui-text-muted);line-height:1.4}@media(min-width:520px){.firc-modal__validation-hint{flex:1 1 auto;margin-right:auto}}.firc-mismatch-tag{display:inline-block;margin-left:6px;padding:2px 6px;border-radius:6px;font-size:10px;font-weight:700;text-transform:uppercase;background:var(--ui-warning-bg);color:var(--ui-warning)}.firc-list-page{max-width:1280px;margin:0 auto;padding:0 24px 40px}.firc-list-page__header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 -24px 20px;width:calc(100% + 48px);padding:16px 24px;background:var(--ui-surface);border-bottom:1px solid var(--ui-table-header);box-shadow:0 2px 8px var(--shadow-sm)}.firc-list-page__title{margin:0;font-size:24px;line-height:1.2;color:var(--ui-heading)}.firc-list-page__subtitle{margin:6px 0 0;font-size:14px;color:var(--ui-text-muted)}.firc-list-page__filters{margin-bottom:16px}.firc-list-page__filter-row{display:grid;gap:14px}.firc-list-page__filter-row--main{grid-template-columns:auto minmax(110px,.45fr) minmax(150px,.75fr) minmax(220px,1.35fr);align-items:end;margin-bottom:14px}.firc-list-page__company-segment{min-height:36px;width:max-content;max-width:100%}.firc-list-page__company-segment .proforma-segment__btn{flex:0 1 auto;min-width:72px;padding:7px 14px;font-size:12px;letter-spacing:.02em}.firc-form-field--company,.firc-list-page__search-field{margin:0}.firc-list-page__search{display:flex;gap:8px;align-items:center}.firc-list-page__search .firc-form-field__input{flex:1;min-width:0}.firc-list-page__status-pills{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.firc-list-page__pill{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:999px;border:1px solid var(--ui-border-strong);background:var(--ui-hover);color:var(--ui-heading);font-size:13px;font-weight:600;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease}.firc-list-page__pill:hover{background:var(--ui-surface-muted)}.firc-list-page__pill.is-active{border-color:var(--ui-primary);background:color-mix(in srgb,var(--ui-primary) 14%,transparent);color:var(--ui-primary)}.firc-list-page__pill-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--ui-surface);font-size:11px;font-weight:700}.firc-list-page__table-card{padding-bottom:0}.firc-list-page__range{font-size:13px;color:var(--ui-text-muted)}.firc-list-page__inward{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:13px;font-weight:600}.firc-list-page__remitter{max-width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.firc-list-page__invoices,.firc-list-page__invoice-links{white-space:normal;line-height:1.45}.firc-list-page__mobile-invoices .firc-table__link{font-size:inherit}.firc-list-page__invoice-sep{color:var(--ui-text-muted)}.firc-table__amount.is-pending{color:var(--ui-warning);font-weight:600}.firc-list-page__usage{min-width:110px}.firc-list-page__usage-label{margin-bottom:4px;font-size:11px;font-weight:600;color:var(--ui-text-muted)}.firc-list-page__usage-bar{height:6px}.firc-hero--list{margin-bottom:16px}.firc-list-page__pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 0 18px;border-top:1px solid var(--ui-table-header);margin-top:4px}.firc-list-page__pagination-rows{display:flex;align-items:center;gap:8px}.firc-list-page__pagination-rows .firc-form-field__input{width:auto;min-width:110px}.firc-list-page__pagination-nav{display:flex;align-items:center;gap:8px}.firc-list-page__page-num{min-width:72px;text-align:center;font-size:13px;color:var(--ui-text-muted)}.firc-list-page__mobile-list{display:none;flex-direction:column;gap:10px;padding-bottom:8px}.firc-list-page__mobile-card{display:block;padding:14px;border:1px solid var(--ui-border-strong);border-radius:12px;background:var(--ui-hover);text-decoration:none;color:inherit;transition:background .15s ease,border-color .15s ease}.firc-list-page__mobile-card:hover{background:var(--ui-surface-muted);border-color:var(--ui-primary)}.firc-list-page__mobile-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:8px}.firc-list-page__mobile-meta{margin-top:4px;font-size:12px;color:var(--ui-text-muted)}.firc-list-page__mobile-remitter{margin-bottom:10px;font-size:14px;font-weight:600;color:var(--ui-heading)}.firc-list-page__mobile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:10px}.firc-list-page__mobile-grid .firc-detail-item__label{display:block;margin-bottom:2px}.firc-list-page__mobile-grid .firc-detail-item__value{font-size:13px}@media(max-width:960px){.firc-list-page__filter-row--main{grid-template-columns:1fr 1fr}.firc-form-field--company,.firc-list-page__search-field{grid-column:1 / -1}.firc-list-page__desktop-table{display:none}.firc-list-page__mobile-list{display:flex}.firc-hero{grid-template-columns:1fr 1fr}.firc-hero__cell--primary{grid-column:1 / -1}.firc-detail-layout,.firc-remittance-fields,.firc-remittance-fields__row{grid-template-columns:1fr}.firc-detail-item--align-center .firc-detail-item__value,.firc-detail-item--align-end .firc-detail-item__value{text-align:left}.firc-detail-grid--amounts,.firc-detail-grid,.firc-form-grid,.firc-upload-card__selects{grid-template-columns:1fr}.firc-upload-card__file-main{flex-direction:column;align-items:stretch}.firc-upload-card__file-btn{width:100%}}@media(max-width:600px){.firc-list-page{padding:0 16px 28px}.firc-list-page__header{margin:0 -16px 16px;width:calc(100% + 32px);padding:12px 16px}.firc-list-page__filter-row--main{grid-template-columns:1fr}.firc-list-page__pagination{flex-direction:column;align-items:stretch}.firc-list-page__pagination-nav{justify-content:space-between}.firc-detail-page__header{margin:0 -12px 16px;width:calc(100% + 24px);padding:12px}.firc-detail-page{padding:0 12px 28px}.firc-detail-page__header-left{flex-direction:column;align-items:flex-start;gap:8px}.firc-detail-page__actions{width:100%}.firc-detail-page__actions .firc-btn{flex:1;min-width:0}.firc-hero{grid-template-columns:1fr}.firc-hero__value{font-size:22px}}.daybook-page{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden;padding:12px 16px 24px}.daybook-page__header{display:flex;flex-direction:column;gap:12px;margin-bottom:16px;flex-shrink:0}.daybook-page__header-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}.daybook-page__heading{min-width:0}.daybook-page__title{margin:0;font-size:24px;font-weight:700;color:var(--ui-heading, var(--ui-text));line-height:1.2}.daybook-page__subtitle{margin:6px 0 0;color:var(--ui-text-muted);font-size:14px;line-height:1.4}.daybook-presence-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px;font-size:12px;color:var(--ui-text-muted)}.daybook-presence-bar--note{margin:10px 0 0}.daybook-presence-dot{width:8px;height:8px;border-radius:50%;background:#94a3b8;flex-shrink:0}.daybook-presence-dot.is-live{background:#16a34a;box-shadow:0 0 0 3px color-mix(in srgb,#16a34a 25%,transparent)}.daybook-presence-chip{color:#fff;border-radius:999px;padding:2px 8px;font-size:11px;font-weight:600}.daybook-presence-cell{position:relative;min-width:0;display:block}.daybook-presence-cell.is-occupied{border-radius:4px}.daybook-presence-tag{position:absolute;top:-8px;right:0;z-index:2;color:#fff;font-size:9px;font-weight:700;line-height:1.2;padding:1px 5px;border-radius:3px;pointer-events:none;white-space:nowrap}.daybook-page__toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.daybook-filters__toggle{display:inline-flex;align-items:center;gap:6px;margin:0;padding:0;border:none;background:transparent;color:inherit;font:inherit;cursor:default;pointer-events:none}.daybook-filters__chevron{display:none;font-size:11px;line-height:1;color:var(--ui-text-muted)}.daybook-filters__active-dot{display:inline-block;width:6px;height:6px;margin-left:6px;border-radius:50%;background:var(--ui-primary);vertical-align:middle}.daybook-page__date-label{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:500;color:var(--ui-text)}.daybook-page__date-input{min-width:168px;min-height:44px;padding:10px 14px;border-radius:8px;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-text);font-size:15px;font-weight:500;box-sizing:border-box;cursor:pointer}.daybook-page__date-input:focus{outline:none;border-color:var(--ui-primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--ui-primary) 20%,transparent)}.daybook-page__add-row{min-height:44px;padding:10px 20px;border-radius:8px;border:none;background:var(--ui-primary);color:var(--ui-on-primary);font-size:15px;font-weight:600;cursor:pointer;white-space:nowrap}.daybook-page__add-row:hover:not(:disabled){filter:brightness(1.05)}.daybook-page__add-row:disabled{opacity:.55;cursor:not-allowed}.daybook-date-pills{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.daybook-date-pill{padding:5px 12px;border-radius:999px;font-size:12px;font-weight:500;line-height:1.2;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-text);cursor:pointer}.daybook-date-pill:hover{background:var(--ui-hover)}.daybook-date-pill.is-today:not(.is-selected){border-color:var(--ui-primary);color:var(--ui-primary)}.daybook-date-pill.is-selected{background:var(--ui-primary);color:var(--ui-on-primary);border-color:var(--ui-primary)}.daybook-date-pill.is-selected:hover{background:var(--ui-primary)}.daybook-filters{display:flex;flex-direction:column;gap:6px;padding:8px 10px;border-radius:10px;border:1px solid var(--ui-border);background:color-mix(in srgb,var(--ui-primary) 4%,var(--ui-surface))}.daybook-table-panel{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden;border-radius:12px;border:1px solid var(--ui-table-header);background:var(--ui-surface);box-shadow:0 2px 8px color-mix(in srgb,var(--ui-primary) 5%,transparent)}.daybook-filters--table{flex-shrink:0;margin:0;border:none;border-radius:12px 12px 0 0;border-bottom:1px solid var(--ui-border);background:var(--ui-surface)}.daybook-filters__title-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:22px}.daybook-filters__title{display:inline-flex;align-items:center;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--ui-text-muted)}.daybook-filters__total{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:700;color:var(--ui-primary);background:color-mix(in srgb,var(--ui-primary) 14%,var(--ui-surface));border:1px solid color-mix(in srgb,var(--ui-primary) 28%,var(--ui-border));white-space:nowrap}.daybook-filters__grid,.daybook-filters__row{display:flex;flex-wrap:wrap;align-items:flex-end;gap:6px 8px}.daybook-filters__field{display:flex;flex-direction:column;gap:2px}.daybook-filters__label{font-size:9px;font-weight:600;text-transform:uppercase;letter-spacing:.03em;color:var(--ui-text-muted);line-height:1}.daybook-filters__divider{align-self:stretch;width:1px;min-height:28px;margin:0 2px;background:var(--ui-border)}.daybook-filters__actions{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}.daybook-filters__apply,.daybook-filters__clear{padding:5px 10px;border-radius:6px;border:1px solid var(--ui-border);background:var(--ui-surface);font-size:11px;font-weight:600;cursor:pointer;white-space:nowrap;line-height:1.2}.daybook-filters__apply{background:var(--ui-primary);color:var(--brand-white, #fff);border-color:transparent}.daybook-filters__apply:disabled{opacity:.55;cursor:not-allowed}.daybook-filters__clear{color:var(--ui-text-muted)}.daybook-filters__summary{margin:0;font-size:11px;color:var(--ui-text-muted)}.daybook-filters__summary strong{color:var(--ui-heading, var(--ui-text));font-weight:700}.daybook-bulk-actions{display:flex;flex-wrap:nowrap;align-items:flex-end;gap:8px 10px;margin-top:10px;padding-top:10px;border-top:1px solid var(--ui-border);overflow-x:auto}.daybook-bulk-actions__divider{width:1px;align-self:stretch;min-height:28px;margin:0 2px;background:var(--ui-border);flex-shrink:0}.daybook-bulk-actions__count{font-size:12px;font-weight:600;color:var(--ui-text-muted);align-self:center;white-space:nowrap;flex-shrink:0}.daybook-bulk-actions__status{display:flex;flex-direction:column;gap:4px;min-width:0;flex-shrink:0}.daybook-bulk-actions__status--export{min-width:120px}.daybook-bulk-actions__status--date{min-width:0}.daybook-bulk-actions__clear{margin-left:auto;flex-shrink:0;white-space:nowrap}.daybook-bulk-actions .daybook-filters__apply{flex-shrink:0;white-space:nowrap}.daybook-filters__select,.daybook-filters__search,.daybook-filters__date{height:28px;padding:0 8px;border-radius:6px;border:1px solid var(--ui-border);background:var(--ui-surface);font-size:11px;color:var(--ui-text);box-sizing:border-box}.daybook-filters__select{min-width:88px;max-width:130px}.daybook-filters__field--search{flex:1 1 160px;min-width:140px}.daybook-filters__search{width:100%;min-width:0}.daybook-filters__field--date{flex:0 0 auto}.daybook-filters__date{width:128px;min-width:128px}.daybook-filters__search::placeholder{color:var(--ui-text-muted)}.daybook-filter-segment{display:inline-flex;height:28px;border-radius:6px;border:1px solid var(--ui-border);overflow:hidden;background:var(--ui-surface)}.daybook-filter-segment__btn{padding:0 8px;border:none;border-right:1px solid var(--ui-border);background:transparent;font-size:11px;font-weight:600;color:var(--ui-text-muted);cursor:pointer;white-space:nowrap;line-height:1}.daybook-filter-segment__btn:last-child{border-right:none}.daybook-filter-segment__btn.is-selected{background:color-mix(in srgb,var(--ui-primary) 14%,var(--ui-surface));color:var(--ui-primary)}.daybook-filter-swatch-group{display:inline-flex;align-items:center;gap:5px;height:28px}.daybook-filter-swatch-all{height:28px;padding:0 8px;border-radius:6px;border:1px solid var(--ui-border);background:var(--ui-surface);font-size:11px;font-weight:600;color:var(--ui-text-muted);cursor:pointer;line-height:1}.daybook-filter-swatch-all.is-selected{border-color:color-mix(in srgb,var(--ui-primary) 40%,var(--ui-border));color:var(--ui-primary);background:color-mix(in srgb,var(--ui-primary) 10%,var(--ui-surface))}.daybook-swatch--filter{width:18px;height:18px}@media(max-width:720px){.daybook-filters__divider{display:none}.daybook-filters__field--search{flex-basis:100%}.daybook-filters__field--date{flex:1 1 calc(50% - 4px);min-width:0}.daybook-filters__date{width:100%;min-width:0}.daybook-filters__actions{flex:1 1 100%}.daybook-bulk-actions{flex-wrap:wrap;overflow-x:visible;gap:8px}.daybook-bulk-actions__clear{margin-left:0}.daybook-bulk-actions__divider{display:none}.daybook-bulk-actions__count{flex:1 1 100%;padding-bottom:0}.daybook-bulk-actions__status--export,.daybook-bulk-actions__status,.daybook-bulk-actions__status--date{flex:1 1 calc(50% - 4px);min-width:0}.daybook-bulk-actions .daybook-filters__select,.daybook-bulk-actions .daybook-filters__date{width:100%;max-width:none;min-width:0}.daybook-bulk-actions .daybook-filters__apply,.daybook-bulk-actions .daybook-filters__clear{flex:1 1 calc(50% - 4px);min-height:36px;text-align:center;justify-content:center}}.daybook-col--entry-date{width:5.5%}.daybook-cell--entry-date{font-size:10px;font-weight:600;white-space:nowrap;color:var(--ui-text-muted)}.daybook-table-wrap{flex:1;min-height:0;overflow:auto;-webkit-overflow-scrolling:touch;width:100%;border-radius:0 0 12px 12px}.daybook-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%}.daybook-col--select{width:2%}.daybook-col--drag{width:1.5%}.daybook-col--sno{width:2%}.daybook-col--client{width:8.5%}.daybook-col--order{width:12%}.daybook-col--amount{width:5.5%}.daybook-col--name{width:8%}.daybook-col--address{width:11%}.daybook-col--country{width:6%}.daybook-col--ship-by{width:5%}.daybook-col--tracking{width:11.5%}.daybook-col--status{width:8.5%}.daybook-col--invoice{width:4%}.daybook-cell--tracking{min-width:0}.daybook-table th,.daybook-table td{border:1px solid var(--daybook-grid-border)}.daybook-table thead th{position:sticky;top:0;z-index:3;background:var(--ui-table-header);box-shadow:0 1px 0 var(--daybook-grid-border)}.daybook-table thead th .invoices-sort-btn{width:100%;justify-content:flex-start}.daybook-table thead th .invoices-sort-btn__indicator{font-size:10px}.daybook-table tbody td:first-child{position:sticky;left:0;z-index:2;background:var(--ui-surface)}.daybook-table tbody tr.daybook-row--editing>td:first-child{background:color-mix(in srgb,var(--ui-primary) 5%,var(--ui-surface))}.daybook-cell{padding:4px 5px;font-size:11px;line-height:1.3;vertical-align:top;text-transform:uppercase;word-break:break-word;overflow-wrap:anywhere}.daybook-field-input{max-width:100%}.daybook-cell--drag{text-transform:none}.daybook-cell--select{text-transform:none;text-align:center;vertical-align:middle}.daybook-cell--select input[type=checkbox]{width:14px;height:14px;margin:0;cursor:pointer;accent-color:var(--ui-primary)}.daybook-row.is-selected>td{background:color-mix(in srgb,var(--ui-primary) 6%,var(--ui-surface))}.daybook-client-stack{display:flex;flex-direction:column;gap:6px;min-width:0}.daybook-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px;text-transform:none}.daybook-action-grid button{width:100%;min-width:0;padding:3px 4px;font-size:9px}.daybook-cell--order,.daybook-cell--address,.daybook-cell--amount{min-width:0}.daybook-cell--amount.daybook-cell--swatch-white{background:color-mix(in srgb,var(--ui-border) 18%,var(--ui-surface))}.daybook-cell--amount.daybook-cell--swatch-green{background:color-mix(in srgb,#22c55e 18%,var(--ui-surface))}.daybook-cell--amount.daybook-cell--swatch-orange{background:color-mix(in srgb,#f97316 18%,var(--ui-surface))}.daybook-row--editing>td.daybook-cell--amount.daybook-cell--swatch-white{background:color-mix(in srgb,var(--ui-border) 24%,var(--ui-surface))}.daybook-row--editing>td.daybook-cell--amount.daybook-cell--swatch-green{background:color-mix(in srgb,#22c55e 24%,var(--ui-surface))}.daybook-row--editing>td.daybook-cell--amount.daybook-cell--swatch-orange{background:color-mix(in srgb,#f97316 24%,var(--ui-surface))}.daybook-amount-cell{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.daybook-amount-cell--editing{align-items:stretch;gap:6px}.daybook-amount-cell__value{flex:1;min-width:0}.daybook-amount-cell--editing .daybook-amount-cell__value{flex:none;width:100%}.daybook-amount-cell--editing .daybook-amount-cell__value input{width:100%}.daybook-cell--amount .daybook-swatch-group{flex-shrink:0;display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:6px;justify-content:flex-start}.daybook-amount-cell--editing .daybook-swatch-group{justify-content:flex-start;width:100%}.daybook-cell--name{min-width:0}.daybook-cell--client.is-new-client{background:color-mix(in srgb,#22c55e 16%,var(--ui-surface))}.daybook-row--editing>td.daybook-cell--client.is-new-client{background:color-mix(in srgb,#22c55e 22%,var(--ui-surface))}.daybook-cell--client.is-new-client .daybook-client-field:not(input){font-weight:700}.daybook-client-cell{display:flex;align-items:center;gap:4px;min-width:0}.daybook-client-cell .daybook-client-field{flex:1;min-width:0}.daybook-client-new-check{flex-shrink:0;display:flex;align-items:center;cursor:pointer;text-transform:none}.daybook-client-new-check input{width:16px;height:16px;margin:0;accent-color:#22c55e;cursor:pointer}.daybook-cell--address{min-width:0}.daybook-address-disclosure{display:contents}.daybook-address-disclosure__summary{display:none;list-style:none}.daybook-address-disclosure__summary::-webkit-details-marker{display:none}.daybook-address-disclosure__body{min-width:0}.daybook-cell-address-sub{display:flex;flex-direction:column;gap:6px;margin-top:6px}.daybook-cell-address-sub>span{display:block;line-height:1.35}.daybook-drag-handle{cursor:grab;border:none;background:transparent;padding:4px 6px;font-size:14px;color:var(--ui-text-muted);line-height:1}.daybook-row.is-dragging{opacity:.55}.daybook-row.is-drag-over td{box-shadow:inset 0 3px 0 var(--ui-primary)}.daybook-carrier-divider>td{padding:0!important;border:none!important;background:transparent;line-height:0}.daybook-carrier-divider__bar{display:block;width:100%;height:5px;margin:0}.daybook-swatch-group{display:flex;gap:6px;align-items:center}.daybook-swatch{width:16px;height:16px;border-radius:50%;border:2px solid var(--ui-border);padding:0;cursor:pointer}.daybook-swatch--white{box-shadow:inset 0 0 0 1px #0000001f}.daybook-swatch.is-selected{border-color:var(--ui-primary);box-shadow:0 0 0 2px #2563eb40}.daybook-swatch:disabled{cursor:default;opacity:.85}.daybook-swatch-group .daybook-swatch:not(button){cursor:default}.daybook-cell-textarea{min-height:48px;line-height:1.3;font-family:inherit;resize:vertical}.daybook-cell-textarea--order{min-height:52px}.daybook-cell-textarea--address{min-height:56px}.daybook-cell-multiline{display:block;white-space:pre-wrap;word-break:break-word;line-height:1.3;max-width:100%}.daybook-th-stack{display:flex;flex-direction:column;gap:2px;line-height:1.2;white-space:normal}.daybook-cell-location{display:flex;flex-direction:column;gap:6px;min-width:120px}.daybook-cell-location>span{display:block;line-height:1.35}.daybook-page--editing .daybook-table-panel{outline:2px solid color-mix(in srgb,var(--ui-primary) 30%,transparent);outline-offset:0}.daybook-row--editing>td{background:color-mix(in srgb,var(--ui-primary) 5%,transparent)}.daybook-cell--compact-preview{color:var(--ui-text-muted);font-size:10px}.daybook-row-expand>td{padding:0;border-top:none;background:color-mix(in srgb,var(--ui-primary) 4%,var(--ui-surface))}.daybook-edit-strip{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,.55fr) minmax(0,.55fr) minmax(0,.75fr) minmax(0,1.05fr);gap:6px 8px;padding:8px 10px;align-items:end}.daybook-edit-strip__field{display:flex;flex-direction:column;gap:4px;min-width:0}.daybook-edit-strip__label{font-size:9px;font-weight:600;text-transform:uppercase;letter-spacing:.03em;color:var(--ui-text-muted);line-height:1.2}.daybook-edit-strip__input{min-width:0;width:100%}@media(max-width:900px){.daybook-row-expand>td{overflow-x:visible}.daybook-edit-strip{min-width:0;grid-template-columns:1fr 1fr}.daybook-edit-strip--carton{grid-template-columns:1fr}}.daybook-row--carton>td{background:color-mix(in srgb,var(--ui-text-muted) 4%,transparent)}.daybook-carton-badge{display:inline-flex;align-items:center;padding:4px 8px;border-radius:6px;font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--ui-primary);background:color-mix(in srgb,var(--ui-primary) 12%,transparent)}.daybook-edit-strip--carton{grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr) minmax(0,1.8fr)}.daybook-track-stack{display:flex;flex-direction:column;gap:4px;min-width:0;text-transform:none}.daybook-track-stack__item{display:flex;flex-direction:column;gap:1px;min-width:0}.daybook-track-stack__label{font-size:8px;font-weight:600;text-transform:uppercase;letter-spacing:.03em;color:var(--ui-text-muted);line-height:1.2}.daybook-track-stack__value{font-size:11px;line-height:1.3;word-break:break-word;overflow-wrap:anywhere}.daybook-track-stack--editing{gap:6px}.daybook-track-stack__field,.daybook-track-stack__field--dims{display:flex;flex-direction:column;gap:4px;min-width:0}.daybook-track-stack__input{min-width:0;width:100%}.daybook-track-stack__field--dims{min-width:0;gap:4px}.daybook-track-stack__dims-custom{margin-top:0;width:100%;min-width:0}.daybook-track-stack__dims-custom-inputs{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:4px;min-width:0;width:100%}.daybook-track-stack__dims-custom-inputs .daybook-field-input{width:100%;min-width:0;max-width:none;height:28px;padding:2px 4px;text-align:center;font-size:11px;box-sizing:border-box}.daybook-track-stack__dims-custom-inputs>span{color:var(--ui-text-muted);font-size:11px;line-height:1;-webkit-user-select:none;user-select:none}.daybook-edit-strip__field--dims{min-width:0}.daybook-edit-strip__dims-custom{margin-top:4px;width:100%}.daybook-edit-strip__dims-custom-inputs{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:4px;min-width:0;width:100%}.daybook-edit-strip__dims-custom-inputs .daybook-field-input{width:100%;min-width:0;max-width:none;height:28px;padding:2px 4px;text-align:center;font-size:11px;box-sizing:border-box}.daybook-edit-strip__dims-custom-inputs>span{color:var(--ui-text-muted);font-size:11px;flex:0 0 auto;line-height:1}.daybook-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1200;display:flex;align-items:center;justify-content:center;padding:20px;background:#00000073}.daybook-modal{width:min(100%,420px);padding:20px;border-radius:12px;border:1px solid var(--ui-border);background:var(--ui-surface);box-shadow:0 16px 40px #0003}.daybook-mobile-select-all{display:none}@media(max-width:768px){.app-main:has(.daybook-page){overflow-x:hidden;overflow-y:auto;padding-left:10px;padding-right:10px}.daybook-page{overflow-x:hidden;overflow-y:visible;min-height:auto;padding:4px 0 16px;max-width:100%;box-sizing:border-box}.daybook-page__header{margin-bottom:8px;gap:6px}.daybook-page__header-top{flex-direction:column;align-items:stretch;gap:6px}.daybook-page__heading{min-width:0}.daybook-page__title{font-size:18px}.daybook-page__subtitle{display:none}.daybook-page__toolbar{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:center}.daybook-page__date-label{display:block;min-width:0;font-size:0;line-height:0}.daybook-page__date-input{width:100%;min-width:0;min-height:34px;padding:6px 8px;font-size:13px}.daybook-page__add-row{width:auto;min-height:34px;padding:6px 10px;font-size:12px;white-space:nowrap}.daybook-date-pills{flex-wrap:wrap;overflow-x:visible;gap:6px;max-width:100%}.daybook-date-pill{flex:0 1 auto;padding:4px 10px;font-size:11px;white-space:nowrap}.daybook-table-panel{flex:none;min-height:0;overflow:visible;max-width:100%}.daybook-filters--table{padding:8px 10px}.daybook-filters__title-row{min-height:28px;gap:8px}.daybook-filters__toggle{pointer-events:auto;cursor:pointer;min-height:28px;padding:2px 0;-webkit-tap-highlight-color:transparent}.daybook-filters__chevron{display:inline}.daybook-filters:not(.is-expanded) .daybook-filters__grid{display:none}.daybook-filters.is-expanded .daybook-filters__grid{margin-top:8px;padding-top:8px;border-top:1px solid var(--ui-border)}.daybook-filters__grid{gap:6px 8px}.daybook-filters__field--search{flex:1 1 100%}.daybook-filters__field:not(.daybook-filters__field--search):not(.daybook-filters__field--date){flex:1 1 calc(50% - 4px);min-width:0}.daybook-filters__field--date{flex:1 1 calc(50% - 4px);min-width:0}.daybook-filters__label{font-size:8px}.daybook-filters__select,.daybook-filters__search,.daybook-filters__date{height:30px;min-width:0;max-width:none;width:100%;font-size:12px}.daybook-filters__actions{flex:1 1 100%;gap:6px}.daybook-filters__apply,.daybook-filters__clear{flex:1 1 0;min-height:30px;padding:5px 8px;text-align:center}.daybook-filter-segment{width:100%;height:30px}.daybook-filter-segment__btn{flex:1 1 0;min-width:0;padding:0 4px;font-size:11px;text-align:center}.daybook-filter-swatch-group{height:30px;width:100%}.daybook-mobile-select-all{display:flex;align-items:center;gap:8px;margin:0;padding:8px 10px;border-top:1px solid var(--ui-border);background:var(--ui-surface);font-size:12px;font-weight:600;color:var(--ui-heading, var(--ui-text));cursor:pointer}.daybook-mobile-select-all input{width:16px;height:16px;flex-shrink:0;accent-color:var(--ui-primary)}.daybook-table-wrap{flex:none;overflow:visible;min-height:0;-webkit-overflow-scrolling:auto;border-radius:0 0 12px 12px}.daybook-table,.daybook-table colgroup,.daybook-table thead,.daybook-table tbody,.daybook-table tr,.daybook-table th,.daybook-table td{display:block;width:100%!important;max-width:100%}.daybook-table colgroup,.daybook-table thead{display:none}.daybook-table{table-layout:auto;border-collapse:separate;border-spacing:0}.daybook-table tbody{display:flex;flex-direction:column;gap:10px;padding:10px 12px 12px;box-sizing:border-box}.daybook-table tbody tr:not(.daybook-row):not(.daybook-carrier-divider){border:1px dashed var(--ui-border);border-radius:12px;background:var(--ui-surface);padding:20px 12px;text-align:center}.daybook-table tbody tr:not(.daybook-row):not(.daybook-carrier-divider) td{border:none!important;padding:0;text-align:center;color:var(--ui-text-muted)}.daybook-carrier-divider{padding:0!important;margin:2px 0;background:transparent!important;border:none!important}.daybook-carrier-divider>td{border:none!important;padding:0!important}.daybook-carrier-divider__bar{border-radius:999px;height:4px}.daybook-table tbody tr.daybook-row{display:flex;flex-wrap:wrap;align-items:flex-start;border:1px solid var(--ui-border);border-radius:10px;background:var(--ui-surface);padding:8px 10px 10px;box-sizing:border-box;box-shadow:0 1px 4px color-mix(in srgb,var(--ui-primary) 6%,transparent);overflow:hidden;width:100%!important;gap:0 8px}.daybook-row.is-selected{border-color:color-mix(in srgb,var(--ui-primary) 45%,var(--ui-border));box-shadow:0 0 0 1px color-mix(in srgb,var(--ui-primary) 25%,transparent)}.daybook-row--editing{outline:2px solid color-mix(in srgb,var(--ui-primary) 35%,transparent);outline-offset:0}.daybook-row--carton{background:color-mix(in srgb,var(--ui-text-muted) 5%,var(--ui-surface));border-style:dashed}.daybook-row>td{border:none!important;border-bottom:1px solid color-mix(in srgb,var(--ui-border) 70%,transparent)!important;padding:6px 0!important;background:transparent!important;position:static!important;left:auto!important;z-index:auto!important;display:grid;grid-template-columns:56px minmax(0,1fr);gap:4px 8px;align-items:start;box-sizing:border-box;min-width:0;overflow:hidden;text-transform:none;flex:1 1 100%;order:1;font-size:12px}.daybook-row>td:last-child{border-bottom:none!important;padding-bottom:0!important}.daybook-row>td:before{content:attr(data-label);font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--ui-text-muted);line-height:1.3;padding-top:2px}.daybook-row>td:not([data-label]):before,.daybook-row>td[data-label=""]:before{content:none}.daybook-row>td>*{min-width:0;max-width:100%}.daybook-row>td.daybook-cell--drag{display:none!important}.daybook-row>td.daybook-cell--select{display:flex!important;align-items:center;justify-content:center;width:auto!important;flex:0 0 auto!important;order:-2;padding:0 8px 10px 0!important;border-bottom:1px solid var(--ui-border)!important;align-self:stretch;grid-template-columns:none}.daybook-row>td.daybook-cell--select:before{content:none!important}.daybook-row>td.daybook-cell--select input[type=checkbox]{width:18px;height:18px}.daybook-row>td.daybook-cell--sno{display:flex!important;align-items:center;gap:6px;width:auto!important;flex:1 1 auto!important;order:-1;padding-top:0!important;padding-bottom:10px!important;border-bottom:1px solid var(--ui-border)!important;font-size:12px;font-weight:700;color:var(--ui-text-muted);grid-template-columns:none}.daybook-row>td.daybook-cell--sno:before{content:"#"!important;display:inline;padding-top:0}.daybook-row>td.daybook-cell--client{flex:1 1 100%;display:block!important;order:0;padding-top:10px!important;background:transparent!important;grid-template-columns:none}.daybook-row>td.daybook-cell--client:before{content:none!important}.daybook-row>td.daybook-cell--status-packed:before,.daybook-row>td.daybook-cell--tracking:before{content:none!important}.daybook-row>td.daybook-cell--status-packed,.daybook-row>td.daybook-cell--tracking{grid-template-columns:minmax(0,1fr)}.daybook-row>td.daybook-cell--country,.daybook-row>td.daybook-cell--amount,.daybook-row>td.daybook-cell--invoice,.daybook-row>td.daybook-cell--ship-by{flex:1 1 calc(50% - 4px)!important;width:auto!important;grid-template-columns:1fr;gap:2px;border-bottom:none!important;padding-bottom:4px!important}.daybook-row>td.daybook-cell--country:before,.daybook-row>td.daybook-cell--amount:before,.daybook-row>td.daybook-cell--invoice:before,.daybook-row>td.daybook-cell--ship-by:before{font-size:9px}.daybook-row>td.daybook-cell--status-packed{border-top:1px solid color-mix(in srgb,var(--ui-border) 70%,transparent)!important;padding-top:8px!important}.daybook-cell--status-packed>.daybook-track-stack{display:grid;grid-template-columns:1fr 1fr;gap:8px}.daybook-cell--tracking>.daybook-track-stack:not(.daybook-track-stack--editing){display:grid;grid-template-columns:1.4fr .8fr .8fr;gap:6px}.daybook-cell--client.is-new-client{background:transparent!important}.daybook-client-stack{gap:6px}.daybook-client-field:not(input){font-size:14px;font-weight:700;color:var(--ui-heading, var(--ui-text));text-transform:uppercase}.daybook-action-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.daybook-action-grid button{min-height:30px;font-size:10px;padding:4px 2px}.daybook-cell--amount.daybook-cell--swatch-white,.daybook-cell--amount.daybook-cell--swatch-green,.daybook-cell--amount.daybook-cell--swatch-orange,.daybook-row--editing>td.daybook-cell--amount.daybook-cell--swatch-white,.daybook-row--editing>td.daybook-cell--amount.daybook-cell--swatch-green,.daybook-row--editing>td.daybook-cell--amount.daybook-cell--swatch-orange{background:transparent!important;border-radius:0}.daybook-cell--amount .daybook-amount-cell__value{font-weight:700;font-size:13px}.daybook-cell--order,.daybook-cell--address,.daybook-cell--name,.daybook-cell--tracking{text-transform:uppercase}.daybook-row>td.daybook-cell--address{grid-template-columns:minmax(0,1fr);gap:0}.daybook-row>td.daybook-cell--address:before{content:none!important}.daybook-address-disclosure{display:block;width:100%;min-width:0}.daybook-address-disclosure__summary{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:6px 8px;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;padding:2px 0;min-width:0}.daybook-address-disclosure__chevron{width:0;height:0;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:7px solid var(--ui-text-muted);transition:transform .15s ease}.daybook-address-disclosure[open]>.daybook-address-disclosure__summary .daybook-address-disclosure__chevron{transform:rotate(90deg)}.daybook-address-disclosure__label{font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--ui-text-muted);line-height:1.3}.daybook-address-disclosure__preview{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:var(--ui-text);text-transform:uppercase}.daybook-address-disclosure[open]>.daybook-address-disclosure__summary .daybook-address-disclosure__preview{display:none}.daybook-address-disclosure__body{margin-top:8px;min-width:0}.daybook-cell-textarea,.daybook-cell-textarea--order,.daybook-cell-textarea--address{min-height:64px;width:100%}.daybook-cell--tracking>.daybook-track-stack--editing{display:flex;flex-direction:column;gap:8px}.daybook-track-stack__field--dims{display:grid;grid-template-columns:1fr;gap:4px}.daybook-track-stack__dims-custom{margin-top:0}.daybook-track-stack__dims-custom-inputs{width:100%;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);gap:6px}.daybook-track-stack__dims-custom-inputs .daybook-field-input{max-width:none;min-width:0;width:100%;height:32px;font-size:13px}.daybook-cell-location{min-width:0}.daybook-cell-address-sub{width:100%}.daybook-row>td.daybook-cell--entry-date{flex:1 1 100%!important}.daybook-modal-overlay{align-items:flex-end;padding:0}.daybook-modal{width:100%;max-width:none;border-radius:16px 16px 0 0;padding:20px 16px calc(20px + env(safe-area-inset-bottom,0px))}}.stock-page{max-width:100%;margin:0 auto;padding:20px 24px 24px;box-sizing:border-box;--stock-group-row-height: 28px}.stock-page__toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}.stock-page__toolbar-start{display:flex;align-items:baseline;gap:10px;min-width:0;flex:1 1 auto}.stock-page__toolbar-end{display:flex;align-items:center;gap:8px;flex:0 1 auto;margin-left:auto}.stock-page__title{margin:0;color:var(--ui-heading);font-size:20px;line-height:1.2;white-space:nowrap}.stock-page__meta{font-size:12px;color:var(--ui-text-muted);line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stock-page__meta:before{content:"·";margin-right:10px;color:var(--ui-border-strong)}.stock-page__alert{margin:0 0 10px;padding:8px 12px;border-radius:8px;font-size:13px;background:var(--ui-danger-bg)}.stock-page__search{width:min(220px,36vw);min-width:140px;min-height:32px;padding:6px 10px;border-radius:8px;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-heading);font:inherit;font-size:13px;box-sizing:border-box}.stock-page__search:focus{outline:none;border-color:var(--ui-primary);box-shadow:0 0 0 2px var(--ui-focus-ring)}.stock-page__clear-btn{min-height:32px;padding:0 10px;border-radius:8px;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-text-muted);font:inherit;font-size:12px;font-weight:600;cursor:pointer}.stock-page__clear-btn:hover{color:var(--ui-heading);border-color:var(--ui-border-strong);background:var(--ui-hover)}.stock-page__refresh-btn{min-height:32px;padding:0 12px;font-size:12px}.stock-page__empty{padding:40px 24px;border-radius:12px;border:1px dashed var(--ui-border);background:var(--ui-surface);color:var(--ui-text-muted);text-align:center;font-size:14px}.stock-page__empty p{margin:0 0 8px}.stock-page__empty-hint{font-size:13px;opacity:.85}.stock-page__table-panel{border:1px solid var(--ui-border);border-radius:12px;background:var(--ui-surface);overflow:hidden;box-shadow:0 1px 3px var(--shadow-sm)}.stock-table-scroll{overflow:auto;max-height:min(72vh,calc(100dvh - 200px));-webkit-overflow-scrolling:touch}.stock-table-scroll thead th{position:sticky;z-index:3}.stock-page__group-row th{top:0;height:var(--stock-group-row-height);box-sizing:border-box;padding:0 12px;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--ui-text-muted);border-bottom:none;background:var(--ui-surface-muted);text-align:center;vertical-align:middle}.stock-page__col-row th{top:var(--stock-group-row-height);padding:10px 12px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid var(--ui-border);white-space:nowrap;vertical-align:bottom}.stock-page__group-row .stock-page__group-head--proforma{background:var(--stock-demand-header-bg);color:var(--stock-demand-header-text);border-left:3px solid var(--stock-demand-border)}.stock-page__group-row .stock-page__group-head--summary{background:var(--stock-sourcing-header-bg);color:var(--stock-sourcing-header-text);border-left:3px solid var(--stock-sourcing-border)}.stock-page__table{width:100%;border-collapse:separate;border-spacing:0;min-width:max-content}.stock-page__col-row th.stock-page__proforma-col{background:var(--stock-demand-header-bg);color:var(--stock-demand-header-text);border-bottom-color:var(--stock-demand-border)}.stock-page__col-row th.stock-page__summary-col{background:var(--stock-sourcing-header-bg);color:var(--stock-sourcing-header-text);border-bottom-color:var(--stock-sourcing-border)}.stock-page__sticky{position:sticky;z-index:2;background:var(--ui-surface)}.stock-page__sticky--product{left:0;min-width:200px;max-width:280px;box-shadow:4px 0 8px -4px #0000001f}.stock-page__table thead .stock-page__sticky--product{top:0;z-index:5;background:var(--ui-table-header)}.stock-page__table tbody .stock-page__sticky--product{z-index:2}.stock-page__product-cell{padding:12px 14px;font-size:13px;font-weight:600;color:var(--ui-heading);border-bottom:1px solid var(--ui-table-header);line-height:1.35;white-space:normal;max-width:280px}.stock-page__proforma-col{min-width:108px;max-width:140px;padding:10px 12px;text-align:center;border-bottom:1px solid var(--ui-table-header);background:var(--stock-demand-bg);border-left:1px solid color-mix(in srgb,var(--stock-demand-border) 35%,var(--ui-border))}.stock-page__proforma-link{display:flex;flex-direction:column;gap:2px;text-decoration:none;color:inherit}.stock-page__proforma-link:hover .stock-page__proforma-client{color:var(--ui-link)}.stock-page__proforma-client{font-size:11px;font-weight:700;color:var(--ui-heading);text-transform:none;letter-spacing:normal;line-height:1.25}.stock-page__proforma-no{font-size:10px;font-weight:500;color:var(--ui-text-muted);font-variant-numeric:tabular-nums}.stock-page__summary-col{padding:10px 12px;text-align:right;border-bottom:1px solid var(--ui-border);border-left:1px solid color-mix(in srgb,var(--stock-sourcing-border) 35%,var(--ui-border));background:var(--stock-sourcing-bg);white-space:nowrap;min-width:88px}.stock-page__summary-col--highlight{color:var(--ui-heading)}.stock-page__num{font-variant-numeric:tabular-nums;font-size:13px;color:var(--ui-text)}.stock-page__num--strong{font-weight:700;color:var(--ui-heading)}.stock-page__num--muted{color:var(--ui-text-muted)}.stock-page__demand-qty{display:inline-block;min-width:2ch;font-weight:600;color:var(--ui-heading)}.stock-page__dash{color:var(--ui-text-muted);opacity:.5}.stock-page__row:hover .stock-page__proforma-col{background:color-mix(in srgb,var(--stock-demand-border) 18%,var(--stock-demand-bg))}.stock-page__row:hover .stock-page__summary-col{background:color-mix(in srgb,var(--stock-sourcing-border) 18%,var(--stock-sourcing-bg))}.stock-page__row:hover .stock-page__sticky--product{background:var(--ui-hover)}.stock-page__total-row td{border-top:2px solid var(--ui-border-strong);font-weight:700}.stock-page__total-label{padding:12px 14px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--ui-heading);background:var(--ui-surface-muted);border-bottom:none}.stock-page__total-filtered{font-size:10px;font-weight:600;text-transform:none;letter-spacing:normal;color:var(--ui-text-muted)}.stock-page__total-row .stock-page__proforma-col{background:color-mix(in srgb,var(--stock-demand-border) 12%,var(--stock-demand-bg))}.stock-page__total-row .stock-page__summary-col{background:color-mix(in srgb,var(--stock-sourcing-border) 12%,var(--stock-sourcing-bg))}.stock-page__ledger-btn{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px;min-width:52px;padding:5px 10px;border-radius:8px;border:1px solid var(--ui-border);background:var(--ui-surface-muted);color:var(--ui-link);font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;cursor:pointer;transition:background .15s,border-color .15s}.stock-page__ledger-btn.has-value{border-color:color-mix(in srgb,var(--ui-link) 30%,var(--ui-border));background:color-mix(in srgb,var(--ui-link) 6%,var(--ui-surface))}.stock-page__ledger-btn:hover{background:var(--ui-hover);border-color:var(--ui-border-strong)}.stock-page__ledger-btn-icon{font-size:11px;opacity:.65;line-height:1}.stock-page__to-order{display:inline-block;min-width:2.5ch;padding:4px 8px;border-radius:6px;font-weight:700;font-variant-numeric:tabular-nums;color:var(--ui-text-muted)}.stock-page__to-order--active{color:var(--ui-warning);background:var(--ui-warning-bg)}.stock-ledger-modal{width:min(100%,640px)}.stock-ledger-modal__table-wrap{overflow-x:auto;margin:16px 0;border:1px solid var(--ui-border);border-radius:8px}.stock-ledger-modal__table{width:100%;border-collapse:collapse;font-size:13px}.stock-ledger-modal__table th,.stock-ledger-modal__table td{padding:8px 10px;border-bottom:1px solid var(--ui-table-header);text-align:left}.stock-ledger-modal__table th{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--ui-text-muted);background:var(--ui-table-header)}.stock-ledger-modal__empty{color:var(--ui-text-muted);font-style:italic;text-align:center}.stock-ledger-modal__qty{font-weight:700;font-variant-numeric:tabular-nums}.stock-ledger-modal__actions{display:flex;gap:6px;white-space:nowrap}.stock-ledger-modal__actions-head{text-align:right}.stock-ledger-modal__edit-form,.stock-ledger-modal__add-fields{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-end}.stock-ledger-modal__input{min-height:36px;padding:6px 10px;border-radius:8px;border:1px solid var(--ui-border);background:var(--ui-input-bg);color:var(--ui-heading);font:inherit;font-size:13px;box-sizing:border-box}.stock-ledger-modal__input--wide{flex:1;min-width:120px}.stock-ledger-modal__add-form{margin-top:16px;padding-top:16px;border-top:1px solid var(--ui-border)}.stock-ledger-modal__add-title{margin:0 0 10px;font-size:14px;font-weight:600;color:var(--ui-heading)}.stock-ledger-modal__field{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--ui-text-muted)}.stock-ledger-modal__field--grow{flex:1;min-width:140px}.stock-ledger-modal__error{margin:8px 0 0;color:var(--ui-error);font-size:13px}@media(max-width:640px){.stock-page{padding:16px}.stock-page__toolbar{gap:8px}.stock-page__toolbar-start{flex:1 1 100%}.stock-page__toolbar-end{flex:1 1 100%;margin-left:0}.stock-page__search{flex:1 1 auto;width:auto;min-width:0}.stock-page__title{font-size:18px}.stock-page__meta{font-size:11px}.stock-page__sticky--product{min-width:160px;max-width:200px}.stock-page__group-row{display:none}.stock-page__col-row th{top:0}.stock-page__col-row th,.stock-page__col-row td{font-size:10px}}
