:root{--bg:#f6f5f0;--paper:#fff;--ink:#1b302a;--muted:#7b8580;--green:#153f35;--green2:#245b4b;--mint:#eef5ef;--line:#e6e9e3;--gold:#c89b45;--amber:#a46a18;--red:#b64242;--shadow:0 10px 30px #213a2f06;font-family:Tahoma,Arial,sans-serif;color:var(--ink);font-size:14px;line-height:1.7;background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button{border:0}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible{outline:3px solid #d2a34d;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:2px solid #8caf9f;outline-offset:1px}a{color:inherit}svg{width:21px;height:21px;flex-shrink:0;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}h1,h2,h3,p{margin:0}h1{font-size:24px;letter-spacing:-.7px;line-height:1.5}h2{font-size:18px;letter-spacing:-.4px}h3{font-size:16px}.muted{color:var(--muted)}.tiny{font-size:11px}.small{font-size:12px}.num{font-family:Arial,sans-serif;font-variant-numeric:tabular-nums;direction:ltr;display:inline-block;letter-spacing:-.3px}.money{white-space:nowrap}.currency{font-size:.43em;font-weight:400;margin-inline-start:6px;letter-spacing:0}.negative{color:var(--red)!important}.positive{color:var(--green2)}.flex{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.gap6{gap:6px}.grow{flex:1}.space-top{margin-top:22px}.section-heading{margin:28px 0 15px;display:flex;align-items:center;justify-content:space-between;gap:12px}.section-heading p{color:var(--muted);font-size:12px}.eyebrow{font-size:11px;color:var(--muted);letter-spacing:.5px}.pill{display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border-radius:6px;background:var(--mint);color:var(--green2);font-size:11px;white-space:nowrap}.pill.amber{background:#fff3df;color:var(--amber)}.pill.gray{background:#f2f3ef;color:#758078}.pill.red{background:#fcecec;color:var(--red)}.pill .dot{width:5px;height:5px;border-radius:50%;background:currentColor}.sidebar{width:223px;position:fixed;inset:0 0 0 auto;background:var(--green);color:#fff;display:flex;flex-direction:column;padding:32px 20px 22px;z-index:20}.brand{display:flex;align-items:center;gap:12px;padding:0 10px 35px}.brand-mark{background:#faf6e8;color:var(--green);font-family:Arial,sans-serif;font-weight:800;font-size:28px;width:47px;height:47px;display:grid;place-items:center;letter-spacing:-2px;border-radius:12px;position:relative}.brand-mark:after{content:'';position:absolute;left:6px;top:5px;background:var(--gold);width:5px;height:5px;border-radius:50%}.brand-text{font-weight:700;font-size:17px}.brand-text small{display:block;font-size:10px;color:#abc1b7;font-weight:400;letter-spacing:.4px}.side-label{font-size:10px;color:#9cb6a9;padding:0 14px 9px}.side-nav{display:grid;gap:7px}.nav-item{display:flex;align-items:center;gap:12px;background:none;color:#b9cdc3;padding:13px 15px;border-radius:9px;text-align:right}.nav-item.active{background:#ffffff16;color:#fff}.nav-item.active:after{content:'';width:5px;height:5px;background:var(--gold);border-radius:50%;margin-inline-start:auto}.nav-item:hover{background:#ffffff0c;color:white}.nav-item.active svg{color:#d5b06b}.side-bottom{margin-top:auto}.side-tip{border:1px solid #ffffff18;border-radius:10px;padding:14px 12px;margin-bottom:15px}.side-tip p{font-size:11px;color:#b6cbc0;margin-top:6px}.side-tip svg{color:#d9b36e;width:19px;height:19px}.side-bottom .nav-item{width:100%;padding-block:10px}.sidebar-rule{height:1px;background:#ffffff16;margin:13px 0}.app-shell{margin-inline-start:223px;min-height:100vh}.topbar{height:94px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px;background:#fbfbf8}.topbar h1{font-size:20px}.topbar .date{font-size:11px;color:var(--muted);margin-top:2px}.top-actions{display:flex;align-items:center;gap:17px}.save-state{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:6px}.save-state:before{content:'';width:6px;height:6px;border-radius:50%;background:#5a9b6e}.icon-button{display:inline-grid;place-items:center;width:37px;height:37px;background:#fff;border:1px solid var(--line);border-radius:10px}.icon-button svg{width:18px;height:18px}.mobile-brand{display:none}main{max-width:1320px;padding:31px 42px 25px;margin:auto;min-height:calc(100vh - 153px)}.desktop-footer{display:flex;justify-content:space-between;margin:0 42px;padding:16px 0;border-top:1px solid var(--line);color:#9aa29b;font-size:10px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--green);color:#fff;padding:10px 17px;border-radius:9px;font-weight:600;min-height:43px;text-decoration:none;line-height:1.5}.button:hover{background:var(--green2)}.button.secondary{background:var(--paper);color:var(--ink);border:1px solid var(--line)}.button.secondary:hover{background:#f5f7f2}.button.soft{background:var(--mint);color:var(--green)}.button.danger{background:#fff0ef;color:var(--red)}.button.small{min-height:35px;font-size:11px;padding:7px 11px}.button.full{width:100%}.button svg{width:17px;height:17px}.link-button{background:none;padding:0;color:var(--green2);font-size:12px;display:inline-flex;align-items:center;gap:5px}.link-button svg{width:16px;height:16px}.intro{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:23px}.intro h2{font-size:22px}.intro p{font-size:12px;color:var(--muted);margin-top:3px}.summary-grid{display:grid;grid-template-columns:1.22fr 1fr 1fr;gap:17px}.summary-card{background:white;border:1px solid var(--line);border-radius:13px;padding:21px 23px;box-shadow:var(--shadow);position:relative;overflow:hidden;min-height:135px}.summary-card.featured{background:var(--green);border-color:var(--green);color:white}.summary-card.featured:after{content:'';position:absolute;width:120px;height:120px;border:1px solid #ffffff10;border-radius:50%;left:-45px;top:-35px;box-shadow:0 0 0 23px #ffffff04,0 0 0 46px #ffffff03;pointer-events:none}.summary-top{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#7f8981}.summary-card.featured .summary-top{color:#c0d4c9}.summary-top svg{width:18px;height:18px;color:#91a398}.summary-card.featured .summary-top svg{color:#d8bc7a}.summary-value{font-size:34px;font-weight:700;line-height:1.4;margin:8px 0 2px;letter-spacing:-1px}.summary-card small{font-size:10px;color:var(--muted)}.summary-card.featured small{color:#a8c2b4}.mode-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:27px 0 18px}.mode-switch{display:flex;gap:4px;background:#e9ece5;border-radius:10px;padding:4px}.mode-switch button{display:flex;align-items:center;gap:7px;background:none;padding:8px 21px;border-radius:7px;color:var(--muted);font-size:12px;min-height:38px}.mode-switch button.active{background:white;color:var(--green);box-shadow:0 2px 6px #18392c09;font-weight:700}.mode-switch button.active.credit{background:#fff1d7;color:#966516}.mode-switch svg{width:16px;height:16px}.mode-hint{font-size:11px;color:var(--muted)}.mode-hint svg{width:14px;height:14px}.credit-context{padding:13px 16px;background:#fff5e6;border:1px solid #ecd6af;border-radius:10px;margin-bottom:17px;display:flex;justify-content:space-between;align-items:center;gap:10px}.credit-context p{font-size:12px}.products-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.product-card{background:var(--paper);border:1px solid var(--line);border-radius:13px;padding:20px;box-shadow:var(--shadow);transition:transform .15s,border-color .15s}.product-heading{display:flex;align-items:center;gap:11px;margin-bottom:18px}.product-heading h3{font-size:17px}.product-heading .en-name{font-family:Arial,sans-serif;font-size:9px;color:#8c948e;letter-spacing:1.8px;margin-top:0}.product-swatch{height:43px;width:43px;border-radius:11px;background:#f2e8d2;color:#ab8337;display:grid;place-items:center}.product-swatch.blue{background:#e8edf5;color:#59748e}.product-swatch.sand{background:#f2eadd;color:#a58c63}.product-swatch.green{background:#e9f0e7;color:#7c9573}.product-swatch svg{width:24px;height:24px}.stock-line{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted);margin-bottom:15px;padding-bottom:14px;border-bottom:1px dashed var(--line)}.stock-line strong{color:var(--ink);font-weight:500;font-size:12px}.stock-line .out{color:var(--amber)}.prices{display:grid;grid-template-columns:1fr 1fr;gap:9px}.price-button{background:#f5f7f2;border:1px solid #e7ebe1;border-radius:9px;padding:10px 5px;text-align:center;position:relative;min-height:76px;transition:transform .1s,background .1s}.price-button:hover{background:#e9f1e7;border-color:#c4d6c1}.price-button:active{transform:scale(.95)}.price-button .price-label{display:block;font-size:10px;color:#84907e;margin-bottom:2px}.price-button .price{font-size:25px;font-weight:700;line-height:1.3;color:var(--green)}.price-button .price-unit{font-size:10px;color:#82917c;font-weight:400}.price-button.single{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;min-height:50px;padding:9px 14px;background:white;border-color:var(--line)}.price-button.single .price-label{font-size:11px;color:var(--muted);margin:0}.price-button.single .price{font-size:21px}.card-footer{display:flex;justify-content:space-between;align-items:center;margin-top:15px;font-size:10px;color:#9ba198}.card-footer button{background:none;color:#7b8a80;padding:2px}.card-footer svg{width:15px;height:15px}.one-tap-note{display:flex;align-items:center;justify-content:center;gap:7px;color:#8f978e;font-size:10px;margin-top:15px}.one-tap-note svg{width:14px;height:14px}.panel{background:white;border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow);overflow:hidden}.panel-pad{padding:22px}.empty{padding:35px 22px;text-align:center}.empty-icon{display:grid;place-items:center;border-radius:50%;background:#f1f4ed;color:#8c9c85;width:48px;height:48px;margin:0 auto 12px}.empty-icon svg{width:23px;height:23px}.empty h3{font-size:14px;margin-bottom:4px}.empty p{color:var(--muted);font-size:11px;max-width:380px;margin:auto}.empty .button{margin-top:16px}.setup-banner{margin:19px 0 0;display:flex;align-items:center;justify-content:space-between;gap:15px;background:#fbf6e9;border:1px solid #eadeba;padding:15px 19px;border-radius:11px}.setup-banner h3{font-size:13px}.setup-banner p{font-size:11px;color:#9b8760;margin-top:2px}.setup-banner svg{color:#a78d4a}.setup-banner .button{background:#a7833c;white-space:nowrap}.entry-row{display:flex;align-items:center;gap:12px;padding:14px 20px;border-bottom:1px solid #f0f1ec;cursor:pointer;min-height:76px}.entry-row:last-child{border-bottom:0}.entry-row:hover{background:#fafbf8}.entry-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:9px;background:#eff5ed;color:#74906d;flex-shrink:0}.entry-icon.purchase{background:#eaf0f7;color:#5e7b94}.entry-icon.payment{background:#fff4df;color:#ad873d}.entry-icon.expense{background:#f9eeee;color:#b77b74}.entry-icon svg{width:17px;height:17px}.entry-info{flex:1;min-width:0}.entry-info strong{font-size:12px;font-weight:600}.entry-info p{font-size:10px;color:var(--muted);margin-top:1px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.entry-money{font-size:16px;font-weight:600;text-align:left;white-space:nowrap}.entry-money small{display:block;font-size:9px;font-weight:400;color:var(--muted)}.row-chevron{width:14px;height:14px;color:#b7beb5}.mobile-nav{display:none}.toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:21px;flex-wrap:wrap}.search-wrap{position:relative;min-width:200px;flex:1;max-width:360px}.search-wrap input{padding-inline-start:39px;background:white}.search-wrap svg{position:absolute;top:13px;right:12px;width:17px;height:17px;color:#9ba59b}.field{display:grid;gap:6px;margin-bottom:16px}.field label{font-size:12px;font-weight:600}.field small{font-size:10px;color:var(--muted)}input,select,textarea{width:100%;border:1px solid #dfe4db;border-radius:8px;padding:11px 12px;background:#fdfefb;color:var(--ink);min-height:45px}input[type=number],input[type=datetime-local],input[type=date],input[type=tel]{direction:ltr;text-align:right;font-family:Arial,sans-serif}textarea{resize:vertical;min-height:75px}.fields-row{display:grid;grid-template-columns:1fr 1fr;gap:13px}.field input[readonly]{background:#f0f3eb;color:#6f7e6c}.hint-box{background:#f2f6ef;padding:12px 14px;border-radius:9px;font-size:11px;color:#6c7e66;margin-bottom:17px}.hint-box.amber{background:#fff7e8;color:#9c7d40}.form-error{background:#fff0ef;color:#b54040;font-size:12px;border-radius:8px;margin-bottom:12px;padding:10px 12px}.form-error:empty{display:none}.modal-actions{display:flex;gap:10px;justify-content:flex-start;padding-top:9px}.modal-actions .button{min-width:110px}.modal-actions .danger{margin-inline-start:auto}.checkbox-row{display:flex;align-items:center;gap:8px;font-size:12px;margin:2px 0 17px}.checkbox-row input{width:17px;height:17px;min-height:0;accent-color:var(--green)}dialog{border:0;border-radius:17px;max-width:505px;width:calc(100% - 32px);padding:0;max-height:90dvh;color:var(--ink);box-shadow:0 30px 90px #0c261f33;background:white}dialog::backdrop{background:#152b246b;backdrop-filter:blur(3px)}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:21px 23px 16px;border-bottom:1px solid var(--line)}.modal-header h2{font-size:17px}.modal-header p{font-size:10px;color:var(--muted);margin-top:2px}.modal-body{padding:21px 23px 24px;overflow-y:auto;max-height:calc(90dvh - 90px)}.modal-header .icon-button{border:0;background:#f3f5f0;width:30px;height:30px}.toast{position:fixed;bottom:27px;left:50%;transform:translate(-50%,20px);background:#193d31;color:#fff;padding:13px 19px;border-radius:11px;box-shadow:0 7px 30px #18382a33;z-index:100;display:flex;align-items:center;gap:20px;opacity:0;pointer-events:none;transition:.2s;max-width:min(90vw,550px);font-size:12px}.toast.visible{opacity:1;transform:translate(-50%,0);pointer-events:auto}.toast.error{background:#823f37}.toast button{background:#ffffff19;color:#f8deb0;border-radius:6px;padding:4px 9px;white-space:nowrap;font-size:11px}.stock-stats{display:flex;justify-content:space-between;padding:13px 0 0;margin-top:15px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.stock-stats strong{display:block;font-size:15px;color:var(--ink);font-weight:600}.product-card.stock-card .stock-line{border:0;padding:0;margin:0}.stock-card .stock-count{font-size:23px;font-weight:700;margin:4px 0 14px}.stock-card .stock-count span{font-size:12px;font-weight:400;color:var(--muted)}.stock-actions{display:flex;gap:8px;margin-top:17px}.stock-actions .button:first-child{flex:1}.segmented{display:flex;gap:3px;padding:4px;background:#e9ece5;border-radius:8px}.segmented button{background:transparent;padding:6px 13px;border-radius:6px;font-size:11px;color:#8b9489}.segmented button.active{background:white;color:var(--green);box-shadow:0 1px 5px #173b2e0a}.report-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:17px}.metric{padding:19px;background:white;border:1px solid var(--line);border-radius:11px}.metric-label{font-size:11px;color:var(--muted)}.metric-value{font-size:25px;font-weight:700;margin-top:5px}.metric .small{font-size:10px;margin-top:4px}.report-hero{background:var(--green);color:#fff;border-radius:14px;padding:25px 29px;display:flex;align-items:center;justify-content:space-between;gap:20px}.report-hero .eyebrow{color:#b6cdbf}.report-hero .summary-value{font-size:46px;margin:6px 0}.report-hero p{font-size:11px;color:#adc7b7}.report-hero .hero-icon{background:#ffffff0c;border:1px solid #ffffff10;border-radius:50%;width:71px;height:71px;display:grid;place-items:center;color:#d7b575}.report-hero .hero-icon svg{width:31px;height:31px}.info-note{display:flex;align-items:flex-start;gap:8px;color:#82907c;font-size:11px;padding:15px 0}.info-note svg{width:16px;height:16px;margin-top:2px}.profit-table{width:100%;border-collapse:collapse;text-align:right;font-size:12px}.profit-table th{font-weight:400;color:#8b9487;font-size:10px;border-bottom:1px solid var(--line);padding:13px 21px;background:#fcfcf9}.profit-table td{padding:17px 21px;border-bottom:1px solid #f1f2ed}.profit-table tbody tr:last-child td{border:0}.table-scroll{overflow-x:auto}.customer-card{display:flex;align-items:center;gap:14px;padding:20px;border-bottom:1px solid var(--line)}.customer-card:last-child{border:0}.avatar{background:#f0f3e9;color:#6c8264;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;font-size:18px;flex-shrink:0}.customer-card h3{font-size:13px}.customer-card p{font-size:10px;color:var(--muted)}.customer-balance{font-size:21px;font-weight:700}.customer-actions{display:flex;gap:7px}.customer-picker{width:100%;display:flex;align-items:center;gap:12px;padding:12px 10px;border-bottom:1px solid var(--line);background:white;text-align:right}.customer-picker:hover{background:var(--mint)}.customer-picker .avatar{width:34px;height:34px;font-size:14px}.customer-picker p{font-size:10px;color:var(--muted)}.settings-section{padding:21px;border-bottom:1px solid var(--line)}.settings-section:last-child{border:0}.settings-section h3{font-size:14px;margin-bottom:5px}.settings-section p{color:var(--muted);font-size:11px;line-height:1.9}.settings-section .flex{margin-top:13px}.legend-row{display:flex;justify-content:space-between;font-size:11px;padding:10px 0;border-bottom:1px solid #f0f2ea}.legend-row:last-child{border:0}.total-box{display:flex;justify-content:space-between;align-items:center;background:#f0f5ec;padding:13px;border-radius:9px;margin-bottom:16px}.total-box .num{font-size:23px;font-weight:700}.detail-list{display:grid;gap:0}.detail-line{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding:11px 0;font-size:12px}.detail-line span:first-child{color:var(--muted)}.range-dates{display:flex;gap:10px;align-items:center;margin-top:14px}.range-dates input{min-width:0;max-width:180px;min-height:36px;font-size:12px}.filters{display:flex;gap:6px;overflow-x:auto;margin-bottom:18px;padding-bottom:2px}.filter-button{border-radius:7px;background:white;border:1px solid var(--line);padding:7px 14px;font-size:11px;white-space:nowrap}.filter-button.active{background:var(--green);color:white;border-color:var(--green)}.pagination{display:flex;justify-content:center;align-items:center;gap:13px;padding:16px;font-size:11px}.no-wrap{white-space:nowrap}.notice-inline{font-size:11px;color:var(--muted);padding:10px 0}.danger-zone{color:var(--red)}
@media(min-width:1550px){.sidebar{width:250px;padding-inline:28px}.app-shell{margin-inline-start:250px}}
@media(max-width:1150px){.sidebar{width:192px;padding-inline:13px}.app-shell{margin-inline-start:192px}.topbar{padding-inline:27px}main{padding-inline:27px}.desktop-footer{margin-inline:27px}.products-grid{gap:12px}.product-card{padding:16px}.summary-grid{gap:12px}.summary-card{padding:19px}.summary-value{font-size:29px}.report-grid{grid-template-columns:repeat(2,1fr)}.topbar h1{font-size:19px}}
@media(max-width:850px){.sidebar{display:none}.app-shell{margin:0}.topbar{height:79px;padding:0 23px}.mobile-brand{display:flex;align-items:center;gap:11px}.mobile-brand .brand-mark{width:39px;height:39px;font-size:23px;border-radius:10px;background:var(--green);color:#fff}.topbar h1{font-size:17px}.topbar .date{font-size:9px}.save-state{display:none}main{padding:24px 23px 100px;min-height:calc(100vh - 80px)}.desktop-footer{display:none}.mobile-nav{display:flex;position:fixed;bottom:0;inset-inline:0;height:calc(65px + env(safe-area-inset-bottom));padding:4px 7px calc(4px + env(safe-area-inset-bottom));background:#fffffff5;border-top:1px solid var(--line);backdrop-filter:blur(12px);justify-content:space-around;z-index:30}.mobile-nav button{background:none;color:#98a192;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:9px;position:relative;border-radius:9px}.mobile-nav button svg{width:20px;height:20px}.mobile-nav button.active{color:var(--green);font-weight:700}.mobile-nav button.active:before{content:'';height:2px;width:23px;position:absolute;top:0;background:var(--green);border-radius:2px}.toast{bottom:calc(81px + env(safe-area-inset-bottom))}.intro h2{font-size:21px}.intro{margin-bottom:20px}.customer-card{flex-wrap:wrap}.customer-actions{margin-inline-start:auto}.mode-bar{margin-top:23px}}
@media(max-width:600px){:root{font-size:13px}.topbar{padding-inline:18px}.top-actions{gap:10px}.topbar .desktop-title{display:none}main{padding:21px 16px 103px}.intro h2{font-size:19px}.intro p{font-size:10px}.intro .button{padding:8px 11px;font-size:10px;min-height:37px}.intro .button svg{width:15px;height:15px}.summary-grid{grid-template-columns:1fr 1fr;gap:10px}.summary-card.featured{grid-column:1/-1;min-height:112px;display:grid;grid-template-columns:1fr auto;align-items:center;padding:18px 21px}.summary-card.featured .summary-top{grid-column:1/-1;align-self:start}.summary-card.featured .summary-value{margin:3px 0 0;font-size:34px}.summary-card.featured small{align-self:end;margin-bottom:5px}.summary-card{padding:15px 16px;min-height:108px;border-radius:11px}.summary-top{font-size:10px}.summary-top svg{width:16px;height:16px}.summary-value{font-size:27px;margin:6px 0 0}.summary-card small{font-size:9px}.mode-switch button{padding:6px 17px;font-size:11px;min-height:35px}.mode-bar{gap:9px;margin-bottom:14px}.mode-hint{font-size:9px}.mode-hint svg{display:none}.products-grid{grid-template-columns:1fr;gap:13px}.product-card{padding:17px 18px;display:grid;grid-template-columns:1fr;gap:0}.product-heading{margin-bottom:10px}.product-heading h3{font-size:16px}.product-swatch{width:36px;height:36px;border-radius:9px}.product-swatch svg{width:21px;height:21px}.product-heading .en-name{font-size:8px}.stock-line{margin-bottom:12px;padding-bottom:11px;font-size:10px}.stock-line strong{font-size:11px}.prices{display:grid;grid-template-columns:1fr 1fr 1fr;gap:9px}.price-button{min-height:77px;padding:8px 4px}.price-button .price{font-size:27px}.price-button .price-label{font-size:10px}.price-button.single{grid-column:auto;display:block;min-height:77px;padding:8px 4px;background:#fcfcf8}.price-button.single .price-label{font-size:10px;margin-bottom:2px}.price-button.single .price{font-size:27px}.price-button.single .price-unit{display:block;font-size:9px}.price-button .price-unit{display:block;font-size:9px}.card-footer{margin-top:10px;font-size:9px}.product-heading .grow{display:flex;align-items:center;justify-content:space-between;gap:10px}.product-heading .en-name{margin-top:1px}.one-tap-note{font-size:9px;margin-top:12px}.setup-banner{padding:12px;gap:10px;align-items:flex-start}.setup-banner>.flex{gap:8px}.setup-banner>.flex>svg{display:none}.setup-banner h3{font-size:11px}.setup-banner p{font-size:10px}.setup-banner .button{font-size:10px;padding:7px 10px;min-height:35px}.section-heading{margin:24px 0 12px}.section-heading h2{font-size:15px}.section-heading p{font-size:10px}.entry-row{padding:12px 14px;gap:10px;min-height:71px}.entry-money{font-size:15px}.entry-info strong{font-size:11px}.entry-info p{font-size:9px}.entry-icon{width:31px;height:31px}.row-chevron{width:12px;height:12px}.empty{padding:27px 18px}.credit-context{padding:11px 12px}.credit-context p{font-size:11px}.credit-context .button{font-size:10px}.stock-card .product-heading .grow{display:block}.stock-card .en-name{display:none}.stock-card .stock-count{font-size:25px}.stock-stats{margin-top:3px}.toolbar{gap:10px}.toolbar .search-wrap{max-width:none;min-width:0}.toolbar>.button{font-size:10px;padding-inline:12px}.report-hero{padding:22px}.report-hero .summary-value{font-size:39px}.report-hero p{font-size:10px}.report-hero .hero-icon{width:56px;height:56px}.report-hero .hero-icon svg{width:25px;height:25px}.report-grid{gap:10px;margin-top:12px}.metric{padding:15px}.metric-label{font-size:10px}.metric-value{font-size:24px}.metric .small{font-size:9px}.info-note{font-size:10px}.profit-table th{padding:12px;font-size:9px;white-space:nowrap}.profit-table td{padding:14px 12px;font-size:11px}.profit-table .product-swatch{display:none}.profit-table .flex{gap:0}.customer-card{padding:16px 14px;gap:10px}.customer-balance{font-size:18px}.customer-actions{width:100%;justify-content:flex-end;padding-inline-start:51px}.customer-actions .button{flex:1}.segmented button{padding-inline:11px}.modal-body{padding:19px}.modal-header{padding:18px 19px 14px}dialog{border-radius:14px;max-height:92dvh}.modal-body{max-height:calc(92dvh - 85px)}.toast{font-size:11px;width:max-content;max-width:calc(100vw - 25px);gap:12px;padding:12px 15px}.legend-row{font-size:10px}.panel-pad{padding:16px}.settings-section{padding:18px}.filters{margin-bottom:14px}.filter-button{padding:6px 11px;font-size:10px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.auth-screen .sidebar,.auth-screen .topbar,.auth-screen .mobile-nav,.auth-screen .desktop-footer{display:none}.auth-screen .app-shell{margin:0}.auth-screen main{min-height:100dvh;padding:35px 20px;display:grid;place-items:center}.auth-card{width:100%;max-width:410px;background:white;border:1px solid var(--line);border-radius:20px;padding:31px;box-shadow:0 20px 60px #183e2c0c}.auth-brand{text-align:center;margin-bottom:25px}.auth-brand .brand-mark{background:var(--green);color:white;width:60px;height:60px;font-size:34px;margin:0 auto 15px}.auth-brand h1{font-size:24px}.auth-brand p{font-size:12px;color:var(--muted);margin-top:5px}.auth-note{font-size:10px;color:var(--muted);text-align:center;margin-top:23px}.auth-install{margin:17px auto 0;display:flex;justify-content:center}.opening-welcome{padding:45px 25px;text-align:center}.opening-welcome p{color:var(--muted);font-size:12px;margin:12px auto;max-width:460px}.opening-welcome .button{margin:15px 0}.opening-product{margin:15px 0;padding:14px;border:1px solid var(--line);border-radius:10px}.opening-product>strong{display:block;margin-bottom:12px}.opening-product .field:last-child{margin:0}.fields-row.thirds{grid-template-columns:repeat(3,minmax(0,1fr))}.cash-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.cash-actions .button{font-size:11px}.member-row{display:flex;align-items:center;gap:9px;padding:14px 0;border-bottom:1px solid var(--line)}.member-row>div{flex:1}.member-row p{font-size:10px}.member-row strong{font-size:12px}.sync-banner{padding:11px 15px;border:1px solid #e5cfa3;background:#fff5e4;color:#92712d;font-size:12px;border-radius:10px;margin-bottom:17px}
@media(max-width:600px){.auth-card{padding:25px}.cash-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.cash-actions .button{font-size:10px;padding:9px 10px}.opening-welcome{padding:30px 18px}.member-row{flex-wrap:wrap}.member-row>.button{font-size:10px}.sync-banner{font-size:10px}}

/* Keep every primary sale action ahead of reports on phone screens. */
.quick-intro{margin-bottom:10px}.quick-intro h2{font-size:20px}.quick-intro p{font-size:11px}.quick-sales .mode-bar{margin:10px 0 12px}.quick-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.quick-product{min-width:0;background:white;border:1px solid var(--line);border-radius:12px;padding:13px}.quick-product-heading{display:flex;align-items:center;gap:8px;margin-bottom:9px;min-width:0}.quick-product-heading h3{font-size:16px;white-space:nowrap;min-width:0;overflow:hidden;text-overflow:ellipsis}.quick-product-heading>.product-swatch{width:30px;height:30px;border-radius:8px;flex:none}.quick-product-heading>.product-swatch svg{width:19px;height:19px}.quick-product-heading>span{margin-inline-start:auto;font-size:10px;text-align:end}.quick-prices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.quick-price{background:#f0f5ed;border:1px solid #dfe8d9;border-radius:9px;padding:8px 4px;min-height:73px;touch-action:manipulation;color:var(--green);display:grid;grid-template-columns:1fr;place-items:center;gap:0;line-height:1.2}.quick-price>span{font-size:10px;color:#687b67}.quick-price>strong{font-size:28px;line-height:1.15}.quick-price>small{font-size:9px;color:#6d7e68}.quick-price.single{background:#fff8eb;border-color:#ede0c1}.quick-price:active{background:#d9e9d4;transform:scale(.97)}.quick-price:disabled{opacity:.42;cursor:not-allowed}.sales-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:21px;padding:13px 10px;background:#ecf0e7;border-radius:10px}.sales-totals>div{min-width:0;display:flex;flex-direction:column;gap:4px}.sales-totals span{font-size:10px;color:var(--muted)}.sales-totals strong{font-size:17px}.sales-totals .currency{font-size:9px}.sales-screen .sync-banner{padding:7px 10px;margin-bottom:9px;font-size:10px}.date-time-field{min-width:0;margin:20px 0;border:0;padding:0}.date-time-field legend{font-size:12px;font-weight:600;margin-bottom:9px}.date-time-parts{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:18px}.date-parts{display:grid;grid-template-columns:1fr 1fr 1.45fr;gap:7px;min-width:0}.time-parts{display:grid;grid-template-columns:1fr auto 1fr;align-items:end;gap:5px;min-width:0}.date-time-field label{min-width:0;display:block;text-align:center}.date-time-field label>span{display:block;font-size:10px;color:var(--muted);margin-bottom:5px;direction:rtl}.date-time-field input{width:100%;min-width:0;text-align:center!important;direction:ltr;padding:10px 3px;font-family:Arial,sans-serif;font-size:16px;appearance:textfield;-moz-appearance:textfield}.date-time-field input::-webkit-inner-spin-button{appearance:none}.time-parts>span{padding-bottom:12px}.date-time-field>small{display:block;font-size:10px;color:var(--muted);margin-top:8px}.entry-info p{unicode-bidi:plaintext}.passkey-button{margin-top:12px}.passkey-row{display:flex;justify-content:space-between;align-items:center;gap:8px;border-top:1px solid var(--line);padding-top:12px;margin-top:12px}.passkey-row strong{font-size:12px}
@media(max-width:850px){.sales-screen .topbar{height:64px}.sales-screen main{padding-top:12px}.quick-products{grid-template-columns:1fr;gap:9px}.quick-product{padding:10px 12px}.quick-product-heading{margin-bottom:6px}.quick-product-heading>.product-swatch{width:25px;height:25px}.quick-product-heading h3{font-size:15px}.quick-price{min-height:66px;padding:6px 3px}.quick-price>strong{font-size:27px}.quick-product-heading>span{font-size:10px}.quick-intro h2{font-size:18px}.quick-sales .mode-switch button{padding:5px 18px;min-height:34px}.quick-sales .credit-context{margin-bottom:10px;padding:9px 11px;font-size:11px}.quick-sales .one-tap-note{margin-top:9px;font-size:9px}.sales-totals strong{font-size:15px}.date-time-parts{grid-template-columns:1fr;gap:12px}.time-parts{max-width:180px;justify-self:start}.date-time-field input{min-height:46px}.sales-screen .section-heading{margin-top:20px}}

input[data-number-entry]{direction:ltr;text-align:left;font-family:Arial,sans-serif;font-variant-numeric:tabular-nums;unicode-bidi:isolate;font-size:16px}input[data-number-entry]::placeholder{color:#a9b1a6;opacity:1}

.quick-pack-prices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-bottom:7px}.quick-pack-prices .quick-price{display:flex;justify-content:center;align-items:center;gap:7px;min-height:45px;padding:6px}.quick-pack-prices .quick-price>span{font-size:11px}.quick-pack-prices .quick-price>strong{font-size:25px}.loose-prices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.loose-prices .quick-price{min-width:0;min-height:56px;padding:5px 1px;border-radius:8px}.loose-prices .quick-price>span{font-size:10px;white-space:nowrap}.loose-prices .quick-price>strong{font-size:22px}.loose-prices .quick-price>small{font-size:8px}
@media(min-width:360px) and (max-width:850px){.loose-prices{grid-template-columns:repeat(6,minmax(0,1fr))}.loose-prices .quick-price>strong{font-size:20px}.loose-prices .quick-price>span{font-size:9px}}
