:root{color:#14233c;font-synthesis:none;--navy:#0b1730;--blue:#2b6ff0;--green:#1a9a68;--orange:#e58b2d;--red:#d94f5c;--muted:#6d7b90;--line:#e4e9f1;--card:#fff;background:#f5f7fb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:#f5f7fb;min-width:320px;margin:0}button,input,select,textarea{font:inherit}.app{width:100%;max-width:520px;min-height:100vh;padding-bottom:calc(92px + env(safe-area-inset-bottom));background:#f5f7fb;margin:0 auto}.topbar{padding:calc(22px + env(safe-area-inset-top)) 20px 17px;border-bottom:1px solid var(--line);z-index:3;background:#fff;justify-content:space-between;align-items:flex-start;display:flex;position:sticky;top:0}.topbar h1{letter-spacing:-.04em;color:var(--navy);margin:5px 0 0;font-size:23px}.eyebrow{letter-spacing:.12em;color:#7890b0;font-size:10px;font-weight:800}.demo-dot,.chip{color:#2b6ff0;background:#eaf1ff;border-radius:99px;padding:7px 10px;font-size:10px;font-weight:800}.screen{padding:19px 16px 32px}.hero{color:#fff;background:linear-gradient(135deg,#0b1730,#173966);border-radius:24px;padding:21px;box-shadow:0 18px 40px #0b173022}.hero h2{letter-spacing:-.05em;margin:9px 0;font-size:27px;line-height:1.07}.hero p{color:#c2d0e3;margin:0 0 20px;font-size:13px;line-height:1.5}.primary,.secondary,.ghost,.text-button,.file-button{cursor:pointer;border:0;border-radius:13px;min-height:48px;padding:0 16px;font-size:13px;font-weight:800}.primary{background:var(--blue);color:#fff}.hero .primary{color:var(--navy);background:#fff}.secondary{color:#255fcf;background:#eaf1ff}.ghost{color:var(--blue);background:0 0}.full{width:100%;margin-top:10px}.metric-grid{grid-template-columns:1fr 1fr;gap:10px;margin:14px 0;display:grid}.metric{background:var(--card);border:1px solid var(--line);border-radius:17px;flex-direction:column;justify-content:space-between;min-height:82px;padding:13px;display:flex}.metric small{color:var(--muted);font-size:10px;font-weight:700}.metric strong{font-size:17px}.metric.blue strong{color:var(--blue)}.metric.green strong{color:var(--green)}.metric.orange strong{color:var(--orange)}.metric.red strong{color:var(--red)}.focus-card,.sync-card,.trust-hero,.stock-alert,.steps,.form-card{background:var(--card);border:1px solid var(--line);border-radius:18px;margin:12px 0;padding:16px}.focus-card{justify-content:space-between;align-items:center;display:flex}.focus-card h3{margin:4px 0;font-size:27px}.focus-card p,.steps p,.page-title p{color:var(--muted);margin:5px 0;font-size:12px;line-height:1.45}.focus-card button{color:var(--green);background:#e8f7ef;border:0;border-radius:13px;padding:12px;font-weight:800}.quick-actions{grid-template-columns:repeat(3,1fr);gap:9px;margin-top:12px;display:grid}.quick-actions button{border:1px solid var(--line);text-align:left;color:var(--blue);background:#fff;border-radius:16px;padding:13px 8px;font-size:19px}.quick-actions b,.quick-actions small{color:var(--navy);display:block}.quick-actions b{margin-top:7px;font-size:12px}.quick-actions small{color:var(--muted);margin-top:3px;font-size:9px}.bottom-nav{width:min(520px,100%);min-height:78px;padding:9px 12px calc(9px + env(safe-area-inset-bottom));border-top:1px solid var(--line);z-index:4;background:#fff;grid-template-columns:repeat(5,1fr);display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.nav{color:#93a0b2;background:0 0;border:0;flex-direction:column;align-items:center;gap:3px;min-height:54px;font-size:10px;display:flex}.nav b{font-size:21px;font-weight:500}.nav small{font-size:10px}.nav.active{color:var(--blue);font-weight:800}.street-top{letter-spacing:.08em;color:var(--green);justify-content:space-between;align-items:center;font-size:10px;font-weight:800;display:flex}.live,.sync-status,.closed-dot{background:#2ac17d;border-radius:50%;width:9px;height:9px;margin-right:6px;display:inline-block;box-shadow:0 0 0 5px #dff7eb}.closed-dot{background:#9aa6b5;box-shadow:0 0 0 5px #e9edf2}.focus-panel{background:var(--navy);color:#fff;border-radius:21px;justify-content:space-between;align-items:center;margin:15px 0;padding:18px;display:flex}.focus-panel strong{margin:3px 0;font-size:30px;display:block}.focus-panel small{color:#bac8da;font-size:11px;display:block}.focus-panel button{color:#fff;background:#2c77f2;border:0;border-radius:12px;padding:11px;font-weight:800}.street-total{grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:20px;display:grid}.street-total div{border:1px solid var(--line);background:#fff;border-radius:14px;padding:10px}.street-total small{color:var(--muted);font-size:9px;display:block}.street-total strong{margin-top:4px;font-size:14px;display:block}.screen>h3{margin:18px 0 0;font-size:15px}.product-grid{grid-template-columns:1fr 1fr;gap:10px;margin:12px 0;display:grid}.product{text-align:left;border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:17px;min-height:120px;padding:14px;position:relative}.product>span{width:32px;height:32px;color:var(--blue);background:#eaf1ff;border-radius:10px;place-items:center;margin-bottom:11px;font-size:11px;font-weight:900;display:grid}.product b,.product small{display:block}.product b{color:var(--navy);font-size:12px}.product small{color:var(--muted);margin-top:5px;font-size:10px}.product i{color:var(--blue);font-size:20px;font-style:normal;position:absolute;bottom:12px;right:12px}.other-product{border-style:dashed}.street-actions{grid-template-columns:repeat(2,1fr);gap:8px;margin:10px 0;display:grid}.street-actions button{border:1px solid var(--line);color:var(--navy);background:#fff;border-radius:13px;min-height:45px;padding:12px 5px;font-size:10px;font-weight:800}.stock-alert{color:var(--green);background:#effaf5;font-size:11px}.list{flex-direction:column;gap:8px;margin:12px 0;display:flex}.list-row,.account-row{border:1px solid var(--line);background:#fff;border-radius:15px;align-items:center;gap:10px;padding:12px;display:flex}.list-row>div,.account-row>div{flex:1;min-width:0}.list-row b,.list-row small,.account-row b,.account-row small{display:block}.list-row b,.account-row b{font-size:12px}.list-row small,.account-row small{color:var(--muted);margin-top:4px;font-size:10px}.list-row>strong{font-size:12px}.list-icon{width:28px;height:28px;color:var(--green);background:#eaf8f1;border-radius:9px;place-items:center;font-weight:900;display:grid}.list-icon.orange{color:var(--orange);background:#fff2df}.row-action{text-align:right}.row-action button{color:var(--blue);background:#eaf1ff;border:0;border-radius:8px;margin-top:5px;padding:7px 8px;font-size:10px;font-weight:800}.page-title h2{letter-spacing:-.05em;margin:5px 0;font-size:27px}.trust-hero{background:linear-gradient(135deg,#fff8ed,#fff);border-color:#f4ddbb;justify-content:space-between;align-items:center;display:flex}.trust-hero small,.trust-hero strong,.trust-hero span{display:block}.trust-hero strong{color:#b96c14;margin:4px 0;font-size:25px}.trust-hero button{background:var(--orange);color:#fff;border:0;border-radius:12px;padding:12px;font-weight:800}.debt-card{border:1px solid var(--line);background:#fff;border-radius:18px;justify-content:space-between;align-items:center;gap:10px;padding:15px;display:flex}.debt-card h3{margin:4px 0;font-size:16px}.debt-card strong{color:var(--red);font-size:19px;display:block}.debt-card small{color:var(--muted);margin-top:5px;font-size:10px;display:block}.debt-pay input{border:1px solid var(--line);border-radius:9px;width:100px;padding:9px;font-size:11px}.debt-pay button{width:100%;color:var(--blue);background:#eaf1ff;border:0;border-radius:9px;margin-top:5px;padding:8px 6px;font-size:10px;font-weight:800;display:block}.sync-card>div:first-child{color:var(--green);font-size:13px;font-weight:900}.sync-stats{grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px;display:grid}.sync-stats span{text-align:center;color:var(--muted);background:#f5f7fb;border-radius:10px;padding:9px;font-size:9px}.sync-stats b{color:var(--navy);font-size:16px;display:block}.button-stack{margin:14px 0}.file-button{color:var(--blue);cursor:pointer;background:#eef3fb;border:1px dashed #99b5e8;place-items:center;margin-top:10px;display:grid}.file-button input{display:none}.steps h3,.form-card h3{margin:0 0 10px}.steps p{margin:8px 0}.tool-list{flex-direction:column;gap:9px;margin:16px 0;display:flex}.tool-list button{text-align:left;border:1px solid var(--line);background:#fff;border-radius:15px;align-items:center;gap:12px;min-height:66px;padding:14px;display:flex}.tool-list button>b{color:var(--blue);width:25px;font-size:19px}.tool-list span{flex:1}.tool-list strong,.tool-list small{display:block}.tool-list strong{font-size:13px}.tool-list small{color:var(--muted);margin-top:4px;font-size:10px}.tool-list i{color:var(--muted);font-style:normal}.modal-backdrop{z-index:10;background:#071328aa;align-items:flex-end;display:flex;position:fixed;inset:0}.modal{width:min(520px,100%);padding:24px 18px calc(22px + env(safe-area-inset-bottom));background:#fff;border-radius:24px 24px 0 0;max-height:88vh;margin:0 auto;overflow:auto}.modal-handle{background:#d4dce7;border-radius:99px;width:42px;height:4px;margin:-5px auto 16px}.modal-title{justify-content:space-between;align-items:center;display:flex}.modal-title h2{margin:6px 0 15px;font-size:24px}.modal-title button{background:#eef2f7;border:0;border-radius:50%;width:34px;height:34px;font-size:21px}.modal label,.form-card label{color:var(--muted);margin:11px 0;font-size:11px;font-weight:800;display:block}.modal input,.modal select,.form-card input,.form-card select,.paste-area,.account-row input{border:1px solid var(--line);background:#fff;border-radius:10px;width:100%;margin-top:5px;padding:12px;font-size:15px;display:block}.quantity{align-items:center;gap:13px;margin:15px 0;display:flex}.quantity button{width:44px;height:44px;color:var(--blue);background:#eaf1ff;border:0;border-radius:13px;font-size:24px}.quantity input{text-align:center;border:1px solid var(--line);border-radius:13px;flex:1;height:44px;font-size:20px}.quick-quantity{grid-template-columns:repeat(6,1fr);gap:6px;display:grid}.quick-quantity button,.payment-grid button{border:1px solid var(--line);background:#fff;border-radius:10px;padding:10px 3px;font-size:11px;font-weight:800}.quick-quantity button.selected,.payment-grid button.selected{color:var(--blue);background:#eaf1ff;border-color:#8db1ee}.combo-note{text-align:center;color:var(--blue);font-size:12px;font-weight:800}.sale-preview{grid-template-columns:repeat(3,1fr);gap:8px;margin:17px 0;display:grid}.sale-preview span{color:var(--muted);background:#f5f7fb;border-radius:10px;padding:9px;font-size:9px}.sale-preview b{color:var(--navy);margin-top:4px;font-size:12px;display:block}.payment-grid{grid-template-columns:repeat(3,1fr);gap:7px;display:grid}.toast{left:50%;bottom:calc(94px + env(safe-area-inset-bottom));background:var(--navy);color:#fff;z-index:20;border-radius:13px;width:min(460px,100% - 28px);padding:13px 15px;font-size:12px;font-weight:800;position:fixed;transform:translate(-50%);box-shadow:0 10px 30px #0b173044}.empty{text-align:center;color:var(--muted);padding:25px;font-size:12px}.back-button{color:var(--blue);background:0 0;border:0;padding:0 0 12px;font-weight:800}.paste-area{resize:vertical;min-height:150px}.account-row input{text-align:right;width:135px;margin:0}.report-line{border-bottom:1px solid var(--line);justify-content:space-between;padding:10px 0;font-size:12px;display:flex}.settings-product{border-top:1px solid var(--line);margin-top:13px;padding-top:10px}.settings-product label{width:48%;margin-right:2%;display:inline-block}.shift-summary{grid-template-columns:1fr 1fr;gap:8px;display:grid}.shift-summary div{background:#f5f7fb;border-radius:12px;padding:12px}.shift-summary span,.shift-summary b{display:block}.shift-summary span{color:var(--muted);font-size:10px}.shift-summary b{margin-top:5px;font-size:14px}@media (width>=700px){body{padding:24px}.app{border-radius:28px;overflow:hidden;box-shadow:0 18px 60px #10254b18}.topbar{position:relative}.bottom-nav{border-radius:0 0 28px 28px;bottom:24px}}.auth-shell{background:radial-gradient(circle at top,#e8f0ff 0,#f5f7fb 48%,#eef2f8 100%);place-items:center;min-height:100dvh;padding:24px 16px;display:grid}.auth-card{border:1px solid var(--line);background:#fff;border-radius:28px;width:min(430px,100%);padding:28px 22px;box-shadow:0 24px 70px #10254b1f}.auth-logo{background:linear-gradient(135deg,var(--blue),#173966);color:#fff;border-radius:19px;place-items:center;width:58px;height:58px;margin-bottom:20px;font-size:18px;font-weight:900;display:grid;box-shadow:0 12px 28px #2b6ff04a}.auth-card h1{letter-spacing:-.045em;color:var(--navy);margin:8px 0;font-size:29px}.auth-card>p{color:var(--muted);margin:0 0 22px;font-size:13px;line-height:1.55}.auth-card label{color:var(--muted);margin:13px 0;font-size:11px;font-weight:800;display:block}.auth-card input{border:1px solid var(--line);width:100%;color:var(--navy);background:#fff;border-radius:12px;margin-top:6px;padding:14px;font-size:16px;display:block}.auth-card button:disabled{opacity:.65;cursor:wait}.auth-message{color:#255fcf;background:#eef4ff;border-radius:12px;margin-top:14px;padding:12px;font-size:12px;font-weight:700;line-height:1.45}.auth-links{justify-content:space-between;gap:12px;margin-top:18px;display:flex}.auth-links button{color:var(--blue);text-align:left;background:0 0;border:0;padding:8px 0;font-size:11px;font-weight:800}.cloud-loading{text-align:center;min-height:100dvh;color:var(--navy);background:#f5f7fb;flex-direction:column;justify-content:center;align-items:center;padding:24px;display:flex}.cloud-loading .auth-logo{margin:0 0 16px}.cloud-loading h2{margin:0;font-size:24px}.cloud-loading p{color:var(--muted);font-size:12px}.cloud-actions{flex-shrink:0;align-items:center;gap:7px;display:flex}.cloud-actions>button{color:var(--muted);background:#eef2f7;border:0;border-radius:9px;padding:7px 8px;font-size:9px;font-weight:800}.cloud-pill{white-space:nowrap;color:var(--muted);background:#eef2f7;border-radius:99px;padding:7px 9px;font-size:9px;font-weight:900}.cloud-pill.saved{color:var(--green);background:#e8f7ef}.cloud-pill.saving,.cloud-pill.loading{color:#b96c14;background:#fff2df}.cloud-pill.error{color:var(--red);background:#fdecee}.cloud-pill.local{color:var(--blue);background:#eaf1ff}@media (width<=370px){.topbar{padding-left:14px;padding-right:14px}.topbar h1{font-size:20px}.cloud-pill{padding:6px;font-size:8px}.cloud-actions>button{padding:6px}.auth-links{flex-direction:column;gap:2px}}
