:root{--preferences-surface:var(--card);--preferences-text:var(--ink);--preferences-muted:var(--muted);--preferences-border:var(--line);--sidebar-width:238px}.preferences-trigger.icon-button,.topbar-actions>.preferences-trigger.icon-button{min-width:44px;min-height:44px;flex:0 0 44px}.preferences-trigger svg{width:21px;height:21px}.login-preferences{position:absolute;inset-block-start:max(20px,env(safe-area-inset-top));inset-inline-end:24px;z-index:3}.login-preferences .preferences-trigger{background:var(--card);border:1px solid var(--line);color:var(--ink)}.preferences-dialog{width:min(360px,calc(100% - 32px));max-height:calc(100dvh - 48px);margin:auto;padding:22px 24px 24px;border:1px solid var(--preferences-border);border-radius:14px;background:var(--preferences-surface);color:var(--preferences-text);box-shadow:0 24px 80px #10170d33;overflow:auto;text-align:start;overscroll-behavior:contain}.preferences-dialog::backdrop{background:#0c120bc4}.preferences-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-block-end:26px}.preferences-heading h2{font-size:19px;line-height:1.4;letter-spacing:-.025em}.preferences-heading .icon-button{min-width:44px;min-height:44px;flex:0 0 44px;color:var(--preferences-muted)}.preferences-dialog .field{font-size:13px;margin-block-end:22px}.preferences-dialog .field>select{min-height:48px;font-size:16px}.preferences-hint{margin-block-start:3px;color:var(--preferences-muted);font-size:12px;line-height:1.7}.preferences-dialog button:focus-visible,.preferences-dialog select:focus-visible,.preferences-trigger:focus-visible{outline:3px solid #ae8326;outline-offset:3px}html[data-theme=dark]{color-scheme:dark;--ink:#f3f5ee;--ink-soft:#d4dbcb;--muted:#b8c1b0;--paper:#141713;--card:#1e231d;--line:#44503e;--gold:#eac466;--gold-light:#362f1d;--green:#b0d1a8;--green-light:#233425;--red:#ffb4a8;--red-light:#3d2420;--surface-raised:#282f26;--surface-input:#181d17;--shell:#171d15;--on-gold:#292516;--shadow:0 4px 20px #0000001a}html[data-theme=dark] .login-page,html[data-theme=dark] .main-wrap,html[data-theme=dark] .workspace,html[data-theme=dark] body{background:var(--paper);color:var(--ink)}html[data-theme=dark] :is(.sidebar,.login-story,.sales-hero,.loading-page){background:var(--shell);color:var(--ink)}html[data-theme=dark] .topbar{background:var(--card);color:var(--ink);border-color:var(--line)}html[data-theme=dark] :is(.metric-card,.quick-card,.panel,.modal,.preferences-dialog){background:var(--card);color:var(--ink);border-color:var(--line)}html[data-theme=dark] :is(.button.secondary,.date-pill,.count-tag,.receipt-icon,.draft-tag,.product-visual,.search-input,.list-toolbar>.search-input,.stock-summary,.stock-table-heading,.selected-customer,.product-line,.payment-breakdown,.receipt-payment){background:var(--surface-raised);color:var(--ink);border-color:var(--line)}html[data-theme=dark] :is(.field>input,.field>select,.login-box .field>input,.login-box .field>select,.percent-input){background-color:var(--surface-input);color:var(--ink);border-color:var(--line)}html[data-theme=dark] :is(input,select):disabled{color:var(--muted);background-color:var(--surface-raised)}html[data-theme=dark] .search-input input::placeholder,html[data-theme=dark] input::placeholder{color:#a9b39f;opacity:1}html[data-theme=dark] :is(.search-input input,.percent-input input){color:var(--ink);background:transparent}html[data-theme=dark] .field>select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bdc8b3' stroke-width='1.6'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E")}html[data-theme=dark] .button.primary{background:var(--gold);color:var(--on-gold);box-shadow:none}html[data-theme=dark] .button.primary:hover:not(:disabled){background:#f1d28b;color:var(--on-gold);box-shadow:none}html[data-theme=dark] .receipt-row:hover,html[data-theme=dark] :is(.button.secondary,.quick-card):hover:not(:disabled){background:#30392c;border-color:#75866b}html[data-theme=dark] :is(.icon-button,.button.text){color:var(--muted)}html[data-theme=dark] .icon-button:hover:not(:disabled){color:var(--ink);background:#ffffff0f}html[data-theme=dark] .search-input:focus-within,html[data-theme=dark] :is(button,a,select,input):focus-visible{outline-color:var(--gold)}html[data-theme=dark] :is(.text-button,.section-title>.text-button,.greeting-dot,.icon-tile.gold,.transfer-flow,.transfer-flow svg){color:var(--gold)}html[data-theme=dark] .icon-tile.dark{color:var(--gold);background:#323c2d}html[data-theme=dark] .icon-tile.sand{background:#383223;color:#e0c99b}html[data-theme=dark] .icon-tile.mist{background:#2c3528;color:#c5d3ba}html[data-theme=dark] :is(.avatar,.top-avatar){background:#514526;color:#f3d58e}html[data-theme=dark] :is(.avatar.pale,.profile>.avatar){background:#35402e;color:#d4e0c8}html[data-theme=dark] :is(.muted,.eyebrow,.page-heading .eyebrow,.page-heading p,.metric-label,.metric-card>small,.metric-kicker,.section-heading p,.quick-card small,.receipt-who>small,.incoming-mini small,.handoff-note,.all-clear p,.empty p,.section-title p,.section-number,.selected-customer small,.pricelist-tag,.stock-hint,.product-line-heading>span,.summary-customer>span,.summary-customer small,.summary-lines small,.summary-lines strong>span,.summary-footnote,.summary-placeholder p,.summary-placeholder>div,.tip-card p,.tip-card>span,.payment-plans small,.split-payment p,.customer-meta,.customer-card-foot,.list-toolbar>span,.stock-product small,.stock-quantity small,.stock-bottom-note,.stock-summary small,.stock-summary strong>span,.stock-location,.transfer-card-bottom,.transfer-card-bottom strong,.transfer-people small,.transfer-products small,.receipt-detail>.muted,.detail-items small,.odoo-reference small,.receipt-payment>div,.login-help,.login-form-side>footer,.login-box>.eyebrow,.breadcrumb,.breadcrumb span,.sidebar-section,.profile small,.location-card small,.workspace-footer,.stock-table-heading,.stock-quantity.zero strong,.draft-tag,.summary-title>svg,.retry-note,.transfer-message,.summary-totals>div,.payment-breakdown>div,.payment-breakdown small,.tabs button,.transfer-reference,.percent-input span){color:var(--muted)}html[data-theme=dark] :is(.breadcrumb strong,.profile strong,.location-card strong,.summary-placeholder h3,.summary-totals strong,.receipt-payment strong,.odoo-reference){color:var(--ink)}html[data-theme=dark] :is(.hero-top,.hero-top>svg,.hero-value>span,.hero-bottom>span,.story-copy>.eyebrow,.story-copy>p,.story-footer,.story-footer span,.story-pills>span,.loading-page>.busy,.brand strong span){color:#c1cbb7}html[data-theme=dark] .story-watermark{color:#253020}html[data-theme=dark] :is(.nav-item,.profile .icon-button,.location-card>svg,.topbar-actions .icon-button){color:#c5cfbc}html[data-theme=dark] .nav-item.active,html[data-theme=dark] .nav-item.active .nav-count{background:var(--gold);color:var(--on-gold)}html[data-theme=dark] .nav-item:not(.active):hover{color:var(--ink);background:#ffffff0d}html[data-theme=dark] :is(.environment-label,.topbar-actions .environment-label,.demo-note,.split-payment,.transfer-explainer,.offline-banner,.notice){background:var(--gold-light);border-color:#756239;color:#e8d39f}html[data-theme=dark] :is(.demo-note>span:last-child,.transfer-explainer p){color:#d8c69c}html[data-theme=dark] .notice.error{background:var(--red-light);border-color:#a66356;color:var(--red)}html[data-theme=dark] .notice.success{background:var(--green-light);border-color:#608159;color:var(--green)}html[data-theme=dark] :is(.count-circle,.status,.status.pending){background:var(--gold-light);color:#e8d39f}html[data-theme=dark] :is(.status.completed,.status.accepted){background:var(--green-light);color:var(--green)}html[data-theme=dark] .status.needs_review{background:#412d20;color:#f2c39e}html[data-theme=dark] .status.processing{background:#263246;color:#c2d5f4}html[data-theme=dark] :is(.payment-methods>label,.payment-plans>label){border-color:var(--line);background:var(--card)}html[data-theme=dark] :is(.payment-methods>label.selected,.payment-plans>label.selected){border-color:var(--gold);background:#322f21}html[data-theme=dark] .radio-circle{background:var(--surface-input);border-color:#9da893}html[data-theme=dark] .selected>.radio-circle{border-color:var(--gold)}html[data-theme=dark] .selected>.radio-circle:after{background:var(--gold)}html[data-theme=dark] .payment-symbol{background:#303e28;color:#d4e5bf}html[data-theme=dark] .payment-symbol.vodafone_cash{background:#46262a;color:#ffc0c3}html[data-theme=dark] .payment-symbol.instapay{background:#392d48;color:#dfc8fa}html[data-theme=dark] .add-line{background:var(--surface-input);color:var(--muted);border-color:#7a8c6d}html[data-theme=dark] .add-line:hover{background:var(--surface-raised);color:var(--ink)}html[data-theme=dark] :is(.step-bar,.step-bar .done,.step-bar .current){color:var(--muted)}html[data-theme=dark] .step-bar .done>b,html[data-theme=dark] .step-bar b{color:var(--ink);background:var(--surface-raised);border-color:var(--line)}html[data-theme=dark] .step-bar>i{background:var(--line)}html[data-theme=dark] :is(.stock-hint.low,.transfer-message,.retry-note){color:#e2c88c}html[data-theme=dark] :is(.pricelist-tag,.oversize-badge,.tabs button>span,.tabs button.active>span){background:var(--surface-raised);color:var(--muted);border-color:var(--line)}html[data-theme=dark] .tabs button.active{color:var(--gold)}html[data-theme=dark] .tabs button.active:after{background:var(--gold)}html[data-theme=dark] :is(.receipt-row,.incoming-mini,.handoff-note,.handoff-panel>.section-heading,.summary-title,.summary-customer,.summary-footnote,.summary-totals,.summary-totals>.grand-total,.payment-breakdown>div+div,.transfer-people,.transfer-card-bottom,.customer-card-foot,.stock-row,.modal-head,.detail-items,.workspace-footer,.tabs,.section-number,.profile){border-color:var(--line)}html[data-theme=dark] :is(.all-clear>span,.transfer-arrow){color:#cedbbf;border-color:var(--line)}html[data-theme=dark] .success-seal{background:var(--green-light);color:var(--green);box-shadow:0 0 0 8px #23342566}html[data-theme=dark] .success-seal.pending{background:var(--gold-light);color:var(--gold);box-shadow:0 0 0 8px #362f1d66}html[data-theme=dark] .toast{color:var(--ink);background:#2b3527;border-color:#7a8d6b}html[data-theme=dark] .modal::backdrop{background:#060a05c9}html[data-theme=dark] .bottom-nav{background:#1e231df5;border-color:var(--line);box-shadow:0 -3px 18px #00000024}html[data-theme=dark] .bottom-nav>button{color:var(--muted)}html[data-theme=dark] .bottom-nav>button.active{color:var(--gold)}html[data-theme=dark] .bottom-nav>button.active:before{background:var(--gold)}html[data-theme=dark] .bottom-nav i,html[data-theme=dark] .bottom-nav>button.new-sale-nav.active>span,html[data-theme=dark] .bottom-nav>button.new-sale-nav>span{color:var(--on-gold);background:var(--gold)}html[data-theme=dark] .bottom-nav i{border-color:var(--card)}html[dir=rtl]{--font-body:var(--font-arabic),Tahoma,Arial,sans-serif}html[dir=rtl] :is(h1,h2,h3,.eyebrow,.brand strong,.brand strong span,.sidebar-section,.metric-kicker,.workspace-footer,.stock-table-heading,.draft-tag,.login-form-side>footer){letter-spacing:0}html[dir=rtl] :is(.nav-item,.quick-card,.receipt-row,.detail-items>div,.receipt-payment>div,.receipt-detail>.notice,.preferences-dialog){text-align:start}html[dir=rtl] .sidebar{left:auto;right:0}html[dir=rtl] .main-wrap{margin-left:0;margin-right:var(--sidebar-width)}html[dir=rtl] .brand>div{border-left:0;border-right:1px solid #ffffff35;padding-left:0;padding-right:15px}html[dir=rtl] .brand.small>div{padding-right:10px}html[dir=rtl] .sidebar .brand>div{padding-right:11px}html[dir=rtl] .gold-line{margin-right:0;margin-left:10px}html[dir=rtl] :is(.demo-note>span:last-child,.nav-count,.profile .icon-button,.quick-card>svg,.receipt-amount,.incoming-mini>svg,.section-title>.text-button,.payment-methods .radio-circle,.draft-tag,.stock-location){margin-left:0;margin-right:auto}html[dir=rtl] .topbar-actions .top-avatar{margin-left:0;margin-right:8px}html[dir=rtl] .section-number{padding-right:0;padding-left:11px;border-right:0;border-left:1px solid var(--line)}html[dir=rtl] .field>select{padding-left:32px;padding-right:13px;background-position:left 10px center}html[dir=rtl] .product-inputs .field>select{padding-left:27px;padding-right:10px;background-position:left 5px center}html[dir=rtl] :is(.product-inputs .field:nth-child(-n+2)>select,.hero-value,.metric-card>strong,.receipt-amount>strong,.summary-lines>div>strong,.summary-totals strong,.payment-breakdown strong,.detail-total strong,.receipt-payment strong,.stock-quantity strong,.transfer-products>div>strong,.receipt-reference,.transfer-reference,.stock-product>strong,.oversize-badge,.location-card strong){direction:ltr;unicode-bidi:isolate}html[dir=rtl] :is(input[type=tel],input[type=number],input[inputmode=numeric]){direction:ltr;unicode-bidi:isolate;text-align:start}html[dir=rtl] .stock-table-heading{padding-left:25px;padding-right:85px}html[dir=rtl] .stock-table-heading>span:last-child{text-align:end}html[dir=rtl] .modal-head{padding-left:20px;padding-right:26px}html[dir=rtl] .stock-summary strong>span{margin-left:0;margin-right:5px}html[dir=rtl] .workspace-footer>span:last-child{text-align:end}html[dir=rtl] svg:has(path[d^="M5 12h14"]),html[dir=rtl] svg:has(path[d^="M9 4H4"]),html[dir=rtl] svg:has(path[d^="m9 5"]){transform:scaleX(-1)}@media (max-width:1250px){:root{--sidebar-width:205px}html[dir=rtl] .sidebar .brand>div{padding-right:9px}}@media (max-width:1000px){:root{--sidebar-width:185px}html[dir=rtl] .stock-table-heading{padding-left:18px;padding-right:77px}}@media (max-width:760px){:root{--sidebar-width:0px}.topbar{gap:8px}.topbar-actions{gap:2px}.topbar-actions>.icon-button{min-height:44px;min-width:44px}.topbar>.mobile-brand{flex-shrink:0}.topbar-actions{min-width:0}.login-preferences{inset-block-start:calc(17px + env(safe-area-inset-top));inset-inline-end:20px}.login-preferences .preferences-trigger{color:#e6e9de;border-color:#ffffff33;background:#ffffff0b}.preferences-dialog{padding:19px 21px 22px}html[data-theme=dark] .login-form-side>.mobile-brand,html[data-theme=dark] .topbar{background:var(--shell)}html[dir=rtl] .main-wrap{margin-right:0}html[dir=rtl] .metric-top{right:auto;left:13px}html[dir=rtl] .metric-label{padding-right:0;padding-left:20px}html[dir=rtl] .product-inputs .field>select{padding-right:8px}html[dir=rtl] .stock-table-heading{padding-left:16px;padding-right:65px}html[dir=rtl] .bottom-nav i{right:auto;left:-8px}html[dir=rtl] .modal-head{padding-left:13px;padding-right:21px}html[dir=rtl] .page-heading,html[dir=rtl] .page-heading>div{min-width:0}html[dir=rtl] .page-heading h1{line-height:1.5}html[dir=rtl] :is(.receipt-who>strong,.profile strong){white-space:normal;overflow-wrap:anywhere}html[dir=rtl] .tabs{gap:15px}html[dir=rtl] .tabs button{min-width:0;gap:5px}html[dir=rtl] .bottom-nav>button{min-width:0;flex:1 1}html[dir=rtl] .bottom-nav>button>small{font-size:10px;line-height:1.5}html[dir=rtl] .brand strong{font-size:11px}html[dir=rtl] .brand strong span{font-size:8px}}@media (max-width:420px){.topbar:has(.environment-label){position:relative;height:calc(92px + env(safe-area-inset-top));padding-block-end:25px}.topbar-actions .environment-label{display:inline-flex;position:absolute;inset-block-end:7px;inset-inline-end:17px;max-width:calc(100% - 34px);margin:0;padding:3px 7px;font-size:9px!important;line-height:1.4;white-space:normal}html[dir=rtl] .page-heading{align-items:flex-start}html[dir=rtl] .page-heading h1{font-size:26px}html[dir=rtl] .date-pill{max-width:105px;flex-shrink:0}html[dir=rtl] .stock-location{margin-right:54px;margin-left:0}html[dir=rtl] .stock-table-heading{padding-left:16px;padding-right:57px}html[dir=rtl] .product-inputs{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 62px}html[dir=rtl] .product-inputs .field{min-width:0}html[dir=rtl] .product-inputs .field>select{font-size:14px;padding-right:6px}html[dir=rtl] .split-payment{grid-template-columns:minmax(95px,.9fr) minmax(0,1.1fr);gap:10px}html[dir=rtl] .payment-plans strong{font-size:12px}html[dir=rtl] .payment-plans small{font-size:10px}}@media print{.login-preferences,.preferences-dialog,.preferences-trigger{display:none!important}html[data-theme=dark]{--ink:#242822;--muted:#657060;--paper:#fff;--card:#fff;--line:#dfe3d9}html[data-theme=dark] .modal,html[data-theme=dark] .receipt-payment{background:#fff;color:#242822}}