@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-wght-normal-CkhJZR-_.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-wght-normal-Dx4kXJAl.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--bg:#f5f6fb;--surface:#fff;--ink:#1f2330;--ink-2:#3b4053;--muted:#7d8296;--line:#eceef5;--line-2:#e2e5ef;--accent:#6c63ff;--accent-600:#5a51ef;--accent-soft:#efeeff;--mint:#23a072;--mint-soft:#e5f6ee;--rose:#e0637a;--rose-600:#cf4f67;--rose-soft:#fdecef;--lavender:#7a6cf0;--lavender-soft:#f0edff;--sky:#3a8be0;--sky-soft:#e6f0fc;--amber:#c98a0c;--amber-soft:#fdf2dc;--r-sm:12px;--r:16px;--r-lg:22px;--shadow:0 1px 2px #161a300a, 0 6px 20px #161a300d;--shadow-lg:0 10px 40px #161a3024;--tabbar-h:72px;--safe-b:env(safe-area-inset-bottom,0px)}*{box-sizing:border-box}html,body{margin:0}body{background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;font-family:Inter Variable,Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:16px;line-height:1.5}h1,h2,h3{letter-spacing:-.02em;margin:0;line-height:1.2}h1{font-size:1.75rem;font-weight:700}h2{font-size:1.15rem;font-weight:650}p{margin:0}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}input,textarea,select{font:inherit;color:inherit}.muted{color:var(--muted)}.small{font-size:.85rem}.center{text-align:center}.pad{padding:24px 8px}.pad-b{padding-bottom:12px}.grow{flex:1}.capitalize{text-transform:capitalize}.eyebrow{letter-spacing:.08em;text-transform:uppercase;color:var(--accent);font-size:.78rem;font-weight:600}.link{color:var(--accent);font-size:.92rem;font-weight:600}.shell{min-height:100dvh}.sidebar{display:none}.topbar{z-index:20;padding:12px 16px;padding-top:calc(12px + env(safe-area-inset-top,0px));-webkit-backdrop-filter:saturate(1.4)blur(14px);background:#f5f6fbd9;justify-content:space-between;align-items:center;display:flex;position:sticky;top:0}.topbar-actions{flex-shrink:0;align-items:center;gap:2px;display:flex}.topbar .brand{gap:10px;min-width:0}.topbar .brand span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.topbar .brand-mark{flex-shrink:0}.topbar .lang-switch button{padding:6px 8px}@media (width<=380px){.topbar .brand span{display:none}}.brand{align-items:center;gap:12px;font-size:1.05rem;font-weight:700;display:flex}.brand-mark{background:linear-gradient(135deg, #8a83ff, var(--accent));color:#fff;border-radius:12px;place-items:center;width:40px;height:40px;display:grid;box-shadow:0 6px 16px #6c63ff4d}.brand-mark.sm{border-radius:10px;width:34px;height:34px}.brand-mark.lg{border-radius:20px;width:64px;height:64px;margin-bottom:8px;font-size:1.8rem}.content{padding:8px 16px calc(var(--tabbar-h) + var(--safe-b) + 32px);max-width:1180px;margin:0 auto}.tabbar{z-index:30;height:calc(var(--tabbar-h) + var(--safe-b));padding-bottom:var(--safe-b);-webkit-backdrop-filter:blur(16px);border-top:1px solid var(--line);background:#ffffffeb;grid-template-columns:repeat(4,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.tab{color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:.72rem;font-weight:600;transition:color .15s;display:flex}.tab.active{color:var(--accent)}.tab.active svg{transform:translateY(-1px)}@media (width>=900px){.shell{grid-template-columns:264px 1fr;display:grid}.topbar,.tabbar,.fab{display:none!important}.sidebar{background:var(--surface);border-right:1px solid var(--line);flex-direction:column;gap:28px;height:100dvh;padding:28px 18px;display:flex;position:sticky;top:0}.sidebar nav{flex-direction:column;gap:4px;display:flex}.side-link{border-radius:var(--r-sm);color:var(--ink-2);text-align:left;background:0 0;border:0;align-items:center;gap:14px;width:100%;padding:13px 16px;font-weight:600;transition:background .15s,color .15s;display:flex}.side-link:hover{background:var(--bg)}.side-link.active{background:var(--accent-soft);color:var(--accent)}.sidebar-foot{flex-direction:column;gap:12px;margin-top:auto;display:flex}.user-chip{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;padding:0 6px;font-size:.82rem;overflow:hidden}.side-link.logout{color:var(--muted)}.content{width:100%;padding:40px 48px 64px}.hide-mobile{display:inline-flex}h1{font-size:2rem}}@media (width<=899px){.hide-mobile{display:none!important}}@media (width<=420px){.hide-xs{display:none}}.page{flex-direction:column;gap:20px;animation:.25s fade;display:flex}.page.narrow{width:100%;max-width:640px;margin:0 auto}@keyframes fade{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.page-header{justify-content:space-between;align-items:center;gap:12px;padding-top:8px;display:flex}.page-header p{margin-top:4px}.hello{padding-top:8px}.hello p{margin-top:6px;font-size:1.05rem}.card{background:var(--surface);border-radius:var(--r-lg);box-shadow:var(--shadow);padding:20px}.card-head{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.actions-grid{gap:12px;display:grid}@media (width>=700px){.actions-grid{grid-template-columns:repeat(3,1fr);gap:16px}}.action-card{border-radius:var(--r-lg);background:var(--surface);min-height:92px;box-shadow:var(--shadow);align-items:center;gap:16px;padding:20px;transition:transform .15s,box-shadow .15s;display:flex;position:relative}.action-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}.action-card:active{transform:scale(.98)}.action-card strong{font-size:1.08rem;display:block}.action-card span{color:var(--muted);font-size:.9rem}.action-icon{border-radius:16px;flex-shrink:0;place-items:center;width:56px;height:56px;display:grid}.action-arrow{color:var(--muted);margin-left:auto}.action-card.mint .action-icon{background:var(--mint-soft);color:var(--mint)}.action-card.rose .action-icon{background:var(--rose-soft);color:var(--rose)}.action-card.lavender .action-icon{background:var(--lavender-soft);color:var(--lavender)}.stats{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}@media (width>=900px){.stats{grid-template-columns:repeat(3,1fr);gap:16px}}.stat{background:var(--surface);border-radius:var(--r-lg);box-shadow:var(--shadow);flex-direction:column;gap:4px;min-width:0;padding:18px;display:flex}.stat-icon{border-radius:12px;place-items:center;width:38px;height:38px;margin-bottom:8px;display:grid}.stat-label{color:var(--muted);font-size:.82rem;font-weight:500}.stat-value{letter-spacing:-.02em;text-overflow:ellipsis;white-space:nowrap;font-size:1.3rem;font-weight:700;overflow:hidden}.stat.lavender .stat-icon{background:var(--lavender-soft);color:var(--lavender)}.stat.sky .stat-icon{background:var(--sky-soft);color:var(--sky)}.stat.mint .stat-icon{background:var(--mint-soft);color:var(--mint)}.stat.rose .stat-icon{background:var(--rose-soft);color:var(--rose)}.stat.accent .stat-icon{background:var(--accent-soft);color:var(--accent)}.stat.amber .stat-icon{background:var(--amber-soft);color:var(--amber)}@media (width<=420px){.stat-value{font-size:1.08rem}}.simple-list{margin:0;padding:0;list-style:none}.simple-list li{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:14px 0;display:flex}.simple-list li:first-child{border-top:0}.simple-list li>div{flex-direction:column;min-width:0;display:flex}.list{flex-direction:column;gap:10px;display:flex}.row-card{background:var(--surface);border-radius:var(--r);width:100%;min-height:72px;box-shadow:var(--shadow);text-align:left;cursor:pointer;border:0;align-items:center;gap:14px;padding:14px 16px;transition:transform .12s,box-shadow .12s;display:flex}.row-card:hover{box-shadow:var(--shadow-lg)}.row-card:active{transform:scale(.99)}.row-main{flex-direction:column;flex:1;min-width:0;display:flex}.row-main strong,.row-main span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.row-avatar{border-radius:14px;flex-shrink:0;place-items:center;width:44px;height:44px;display:grid}.row-avatar.lavender{background:var(--lavender-soft);color:var(--lavender)}.row-avatar.mint{background:var(--mint-soft);color:var(--mint)}.row-avatar.rose{background:var(--rose-soft);color:var(--rose)}.row-price{white-space:nowrap;font-weight:600}.row-price.strong{font-size:1.05rem;font-weight:700}.row-chevron{color:var(--muted);flex-shrink:0}@media (width<=599px){.row-card .row-price:not(.strong),.row-card .row-chevron{display:none}}.badge{white-space:nowrap;border-radius:999px;align-items:center;gap:4px;padding:5px 10px;font-size:.78rem;font-weight:600;display:inline-flex}.badge.ok{background:var(--mint-soft);color:var(--mint)}.badge.warn{background:var(--amber-soft);color:var(--amber)}.badge.danger{background:var(--rose-soft);color:var(--rose)}.badge.accent{background:var(--accent);color:#fff}.btn{border-radius:var(--r-sm);white-space:nowrap;border:0;justify-content:center;align-items:center;gap:8px;min-height:46px;padding:11px 18px;font-weight:600;transition:background .15s,transform .1s,box-shadow .15s,opacity .15s;display:inline-flex}.btn:active:not(:disabled){transform:scale(.98)}.btn:disabled{opacity:.55;cursor:not-allowed}.btn.sm{border-radius:10px;min-height:38px;padding:8px 12px;font-size:.88rem}.btn.lg{min-height:52px;padding:13px 22px;font-size:1rem}.btn.xl{border-radius:var(--r);min-height:60px;font-size:1.08rem}.btn.block{width:100%}.btn.primary{background:var(--accent);color:#fff;box-shadow:0 6px 18px #6c63ff47}.btn.primary:hover:not(:disabled){background:var(--accent-600)}.btn.rose{background:var(--rose);color:#fff;box-shadow:0 6px 18px #e0637a47}.btn.rose:hover:not(:disabled){background:var(--rose-600)}.btn.soft{background:var(--accent-soft);color:var(--accent)}.btn.soft:hover:not(:disabled){background:#e4e2ff}.btn.danger-soft{background:var(--rose-soft);color:var(--rose);min-height:52px}.icon-btn{width:44px;height:44px;color:var(--ink-2);background:0 0;border:0;border-radius:12px;flex-shrink:0;place-items:center;display:grid}.icon-btn:hover{background:var(--line)}.icon-btn.danger{color:var(--rose)}.icon-btn.danger:hover{background:var(--rose-soft)}.fab{z-index:25;right:18px;bottom:calc(var(--tabbar-h) + var(--safe-b) + 18px);background:var(--accent);color:#fff;border:0;border-radius:20px;place-items:center;width:62px;height:62px;display:grid;position:fixed;box-shadow:0 10px 26px #6c63ff6b}.fab.rose{background:var(--rose);box-shadow:0 10px 26px #e0637a6b}.fab:active{transform:scale(.95)}.lang-switch{background:var(--line);border-radius:12px;padding:3px;display:inline-flex}.lang-switch button{color:var(--muted);background:0 0;border:0;border-radius:9px;padding:7px 11px;font-size:.82rem;font-weight:700}.lang-switch button.active{background:var(--surface);color:var(--ink);box-shadow:0 1px 4px #00000014}.sidebar .lang-switch{align-self:flex-start}.form{flex-direction:column;gap:18px;display:flex}.field{flex-direction:column;gap:8px;min-width:0;display:flex}.field>span{color:var(--ink-2);font-size:.88rem;font-weight:600}.field-row{grid-template-columns:1fr 1fr;gap:14px;display:grid}@media (width<=420px){.field-row{grid-template-columns:1fr}}.field input,.field textarea,.input-icon input{border:1.5px solid var(--line-2);border-radius:var(--r-sm);background:var(--surface);outline:none;width:100%;min-height:52px;padding:13px 16px;font-size:16px;transition:border-color .15s,box-shadow .15s}.field textarea{resize:vertical;min-height:64px}.field input:focus,.field textarea:focus,.input-icon input:focus{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-soft)}.input-icon{position:relative}.input-icon svg{color:var(--muted);pointer-events:none;position:absolute;top:50%;left:16px;transform:translateY(-50%)}.input-icon input{padding-left:46px}.form-actions{gap:10px;margin-top:4px;display:flex}.alert{border-radius:var(--r-sm);padding:13px 16px;font-size:.92rem;font-weight:500}.alert.error{background:var(--rose-soft);color:var(--rose-600)}.search{background:var(--surface);border-radius:var(--r);box-shadow:var(--shadow);border:1.5px solid #0000;align-items:center;transition:border-color .15s,box-shadow .15s;display:flex;position:relative}.search:focus-within{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-soft)}.search>svg{color:var(--muted);pointer-events:none;position:absolute;left:18px}.search input{background:0 0;border:0;outline:none;width:100%;min-height:56px;padding:0 48px 0 52px;font-size:16px}.search input::-webkit-search-cancel-button{display:none}.search-clear{background:var(--line);width:32px;height:32px;color:var(--muted);border:0;border-radius:999px;place-items:center;display:grid;position:absolute;right:10px}.stepper{background:var(--bg);border-radius:var(--r-sm);align-items:center;gap:2px;padding:4px;display:inline-flex}.stepper button{background:var(--surface);width:40px;height:40px;color:var(--ink);border:0;border-radius:10px;place-items:center;display:grid;box-shadow:0 1px 3px #0000000f}.stepper button:disabled{opacity:.35;cursor:not-allowed}.stepper input{text-align:center;appearance:textfield;background:0 0;border:0;outline:none;width:52px;height:40px;min-height:0;padding:0;font-size:16px;font-weight:700;box-shadow:none!important}.stepper input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.stepper.lg{justify-content:space-between;width:100%;padding:5px}.stepper.lg button{width:48px;height:44px}.stepper.lg input{flex:1;font-size:1.15rem}.stepper.alert{background:var(--amber-soft)}.stepper.alert input{color:var(--amber)}.label-alert{align-items:center;gap:6px;display:inline-flex}.label-alert svg{color:var(--amber)}.hint{color:var(--muted);margin-top:-8px;font-size:.85rem}.chips{flex-wrap:wrap;gap:8px;margin:4px 0 -4px;display:flex}.chip{border:1.5px solid var(--line-2);background:var(--surface);color:var(--ink-2);border-radius:999px;padding:10px 16px;font-size:.9rem;font-weight:600}.chip.active{background:var(--rose-soft);border-color:var(--rose);color:var(--rose-600)}.picker{flex-direction:column;gap:12px;display:flex}.picker .search{box-shadow:none;background:var(--bg)}.picker-list{flex-direction:column;gap:6px;max-height:46vh;margin:0 -6px;padding:0 6px;display:flex;overflow-y:auto}.pick-item{border-radius:var(--r-sm);text-align:left;background:0 0;border:0;align-items:center;gap:12px;width:100%;min-height:64px;padding:12px;transition:background .12s;display:flex}.pick-item:hover:not(:disabled){background:var(--bg)}.pick-item:active:not(:disabled){background:var(--accent-soft)}.pick-item:disabled{opacity:.45;cursor:not-allowed}.pick-avatar{background:var(--lavender-soft);width:40px;height:40px;color:var(--lavender);border-radius:12px;flex-shrink:0;place-items:center;display:grid}.pick-main{flex-direction:column;flex:1;min-width:0;display:flex}.pick-main strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.pick-side{flex-shrink:0}.pick-price{flex-direction:column;align-items:flex-end;font-size:.95rem;font-weight:700;display:flex}.pick-price small{font-size:.75rem;font-weight:500}.split{align-items:start;gap:16px;display:grid}@media (width>=900px){.split{grid-template-columns:1.2fr 1fr;gap:24px}.split .cart{position:sticky;top:24px}.picker-list{max-height:calc(100dvh - 300px)}}.cart{flex-direction:column;gap:18px;display:flex}.cart-title{align-items:center;gap:10px;display:flex}.cart-lines{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.cart-lines li{border-top:1px solid var(--line);flex-direction:column;gap:10px;padding:14px 0;display:flex}.cart-lines li:first-child{border-top:0;padding-top:0}.cart-line-main{flex-direction:column;display:flex}.cart-line-actions{justify-content:space-between;align-items:center;display:flex}.checkout{border-top:1.5px dashed var(--line-2);flex-direction:column;gap:14px;padding-top:16px;display:flex}.checkout-total{justify-content:space-between;align-items:baseline;display:flex}.checkout-total span{color:var(--muted);font-weight:600}.checkout-total strong{letter-spacing:-.02em;font-size:1.6rem}@media (width<=899px){.invoice-new{padding-bottom:150px}.invoice-new .checkout{z-index:26;left:12px;right:12px;bottom:calc(var(--tabbar-h) + var(--safe-b) + 10px);background:var(--surface);border-radius:var(--r-lg);box-shadow:var(--shadow-lg);border:0;flex-direction:row;align-items:center;gap:14px;padding:14px;position:fixed}.invoice-new .checkout-total{flex-direction:column;gap:0}.invoice-new .checkout-total span{font-size:.8rem}.invoice-new .checkout-total strong{font-size:1.3rem}.invoice-new .checkout .btn{flex:1;min-height:56px}}.invoice-sheet{flex-direction:column;gap:22px;padding:28px;display:flex}.invoice-top{justify-content:space-between;gap:16px;display:flex}.invoice-top h2{margin-top:4px;font-size:1.6rem}.invoice-top .right{text-align:right}.invoice-customer{background:var(--bg);border-radius:var(--r-sm);flex-direction:column;padding:14px 16px;display:flex}.invoice-lines{margin:0;padding:0;list-style:none}.invoice-lines li{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:14px 0;display:flex}.invoice-lines li>div{flex-direction:column;min-width:0;display:flex}.invoice-total{border-radius:var(--r);background:linear-gradient(135deg, #8a83ff, var(--accent));color:#fff;justify-content:space-between;align-items:center;padding:18px 20px;display:flex}.invoice-total strong{font-size:1.5rem}.stack-actions{flex-direction:column;gap:10px;display:flex}.step{align-items:center;gap:10px;margin-bottom:16px;display:flex}.step>span{background:var(--rose-soft);width:28px;height:28px;color:var(--rose);border-radius:999px;place-items:center;font-size:.85rem;font-weight:700;display:grid}.req{color:var(--rose);font-style:normal}.card .field-row+.chips,.chips+.field{margin-top:18px}.selected-product{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.photo-buttons{grid-template-columns:1.4fr 1fr;gap:12px;display:grid}.photo-btn{border-radius:var(--r);border:2px dashed var(--line-2);background:var(--bg);min-height:140px;color:var(--ink-2);flex-direction:column;justify-content:center;align-items:center;gap:10px;font-weight:600;transition:border-color .15s,background .15s;display:flex}.photo-btn:hover{border-color:var(--rose)}.photo-btn.primary{background:var(--rose-soft);color:var(--rose-600);border-color:#f3b9c4}.photo-preview{border-radius:var(--r);background:var(--bg);position:relative;overflow:hidden}.photo-preview img{object-fit:contain;width:100%;max-height:360px;display:block}.photo-retake{color:var(--ink);box-shadow:var(--shadow);background:#fffffff2;position:absolute;bottom:12px;right:12px}.loss-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px;display:grid}@media (width<=520px){.loss-grid{grid-template-columns:1fr 1fr;gap:10px}}.loss-card{background:var(--surface);border-radius:var(--r-lg);box-shadow:var(--shadow);flex-direction:column;display:flex;overflow:hidden}.loss-photo{aspect-ratio:4/3;background:var(--bg);border:0;width:100%;padding:0;display:block;position:relative}.loss-photo img{object-fit:cover;width:100%;height:100%;transition:transform .3s;display:block}.loss-photo:hover img{transform:scale(1.03)}.photo-placeholder{width:100%;height:100%;color:var(--muted);place-items:center;display:grid}.loss-qty{background:var(--rose);color:#fff;border-radius:999px;padding:4px 10px;font-size:.85rem;font-weight:700;position:absolute;top:10px;left:10px}.loss-body{flex-direction:column;gap:2px;min-width:0;padding:14px 16px 16px;display:flex}.loss-body strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.loss-reason{color:var(--ink-2);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:6px;font-size:.9rem;display:-webkit-box;overflow:hidden}.loss-meta{color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-top:10px;font-size:.8rem;display:flex}.loss-meta span{align-items:center;gap:5px;display:inline-flex}.loss-value{color:var(--rose);font-weight:700}@media (width<=520px){.loss-body{padding:10px 12px 12px}.loss-body strong{font-size:.92rem}}.zoom{flex-direction:column;gap:14px;display:flex}.zoom img{object-fit:contain;border-radius:var(--r);background:var(--bg);width:100%;max-height:70vh}.modal-backdrop{z-index:50;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#181b2c61;justify-content:center;align-items:flex-end;animation:.18s fadeIn;display:flex;position:fixed;inset:0}.modal{background:var(--surface);width:100%;max-height:92dvh;padding:8px 20px calc(20px + var(--safe-b));border-radius:26px 26px 0 0;animation:.25s cubic-bezier(.2,.8,.2,1) sheetUp;overflow-y:auto}.modal:before{content:"";background:var(--line-2);border-radius:9px;width:42px;height:5px;margin:4px auto 10px;display:block}.modal-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.modal-head h2{font-size:1.3rem}@media (width>=640px){.modal-backdrop{align-items:center;padding:24px}.modal{border-radius:var(--r-lg);max-width:520px;padding:24px 28px 28px;animation:.2s pop}.modal.wide{max-width:860px}.modal:before{display:none}}@keyframes fadeIn{0%{opacity:0}}@keyframes sheetUp{0%{opacity:.4;transform:translateY(40px)}}@keyframes pop{0%{opacity:0;transform:scale(.96)}}.toasts{z-index:60;left:50%;top:calc(14px + env(safe-area-inset-top,0px));flex-direction:column;gap:8px;width:min(92vw,420px);display:flex;position:fixed;transform:translate(-50%)}.toast{border-radius:var(--r);background:var(--ink);color:#fff;box-shadow:var(--shadow-lg);align-items:center;gap:10px;padding:13px 16px;font-size:.93rem;font-weight:500;animation:.25s toastIn;display:flex}.toast-icon{background:var(--mint);border-radius:999px;flex-shrink:0;place-items:center;width:24px;height:24px;display:grid}.toast.error .toast-icon{background:var(--rose)}@keyframes toastIn{0%{opacity:0;transform:translateY(-12px)}}.bell{width:44px;height:44px;color:var(--ink-2);background:0 0;border:0;border-radius:12px;flex-shrink:0;place-items:center;display:grid;position:relative}.bell:hover{background:var(--line)}.bell.has-alerts{color:var(--amber)}.bell.has-alerts svg{transform-origin:50% 10%;animation:2.4s ease-in-out infinite ring}.bell-count{background:var(--rose);color:#fff;border:2px solid var(--bg);border-radius:999px;place-items:center;min-width:19px;height:19px;padding:0 5px;font-size:.68rem;font-weight:700;display:grid;position:absolute;top:4px;right:3px}.bell.side{border-radius:var(--r-sm);text-align:left;align-items:center;gap:14px;width:100%;height:auto;padding:13px 16px;font-weight:600;display:flex}.bell.side .bell-count{border:0;min-width:22px;height:22px;margin-left:auto;font-size:.75rem;position:static}.bell.side.has-alerts{background:var(--amber-soft)}@keyframes ring{0%,70%,to{transform:rotate(0)}74%{transform:rotate(14deg)}80%{transform:rotate(-12deg)}86%{transform:rotate(8deg)}92%{transform:rotate(-4deg)}}.alerts-panel{flex-direction:column;gap:14px;display:flex}.notif-card{border-radius:var(--r);background:var(--accent-soft);color:var(--accent);align-items:flex-start;gap:14px;padding:16px;display:flex}.notif-card p{color:var(--ink-2);margin-bottom:10px;font-size:.92rem}.notif-status{color:var(--muted);border-radius:var(--r-sm);background:var(--bg);align-items:center;gap:8px;padding:10px 14px;font-size:.86rem;display:flex}.notif-status svg{flex-shrink:0}.notif-status.ok{color:var(--mint);background:var(--mint-soft)}.alert-actions{flex-shrink:0;align-items:center;gap:8px;display:flex}.chips.filters{margin:-6px 0 0}.chip{align-items:center;gap:6px;display:inline-flex}.chip.active.neutral{background:var(--ink);border-color:var(--ink);color:#fff}.chip.active.amber{background:var(--amber-soft);border-color:var(--amber);color:var(--amber)}.chip-count{opacity:.75;font-size:.78rem}.toast.warn .toast-icon{background:var(--amber)}.toast{cursor:pointer}.tabbar.five{grid-template-columns:repeat(5,1fr)}.shop-pill{border-radius:var(--r-sm);background:var(--accent-soft);color:var(--accent);align-items:center;gap:8px;min-width:0;padding:10px 14px;font-size:.92rem;font-weight:650;display:flex;position:relative}.shop-pill svg{flex-shrink:0}.shop-pill span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.shop-pill select{appearance:none;color:inherit;font:inherit;cursor:pointer;text-overflow:ellipsis;background:0 0;border:0;outline:none;width:100%;min-width:0;padding-right:18px;font-weight:650}.shop-pill.select:after{content:"";pointer-events:none;border-bottom:2px solid;border-right:2px solid;width:7px;height:7px;margin-top:-5px;position:absolute;top:50%;right:13px;transform:rotate(45deg)}.shop-pill.compact{padding:7px 12px;font-size:.9rem}.shop-pill.compact.select:after{right:11px}.role-tag{background:var(--accent-soft);color:var(--accent);vertical-align:middle;border-radius:999px;align-items:center;gap:4px;margin-right:6px;padding:2px 8px;font-size:.7rem;font-weight:700;display:inline-flex}.brand-mark.warn{background:linear-gradient(135deg, #f3b25b, var(--amber));box-shadow:0 6px 16px #c98a0c4d}.admin-grid{align-items:start;gap:20px;display:grid}@media (width>=1100px){.admin-grid{grid-template-columns:1fr 1.3fr}}.with-icon{align-items:center;gap:10px;display:flex}.with-icon svg{color:var(--accent)}.badge.neutral{background:var(--bg);color:var(--ink-2)}.badge.accent-soft{background:var(--accent-soft);color:var(--accent)}.nowrap{white-space:nowrap}.admin-list{margin:4px 0 0;padding:0;list-style:none}.admin-list li{border-top:1px solid var(--line);align-items:center;gap:10px;min-height:68px;padding:12px 0;display:flex}.admin-list li:first-child{border-top:0}.admin-list .row-avatar{border-radius:12px;width:40px;height:40px}.icon-btn.ok{color:var(--mint)}.icon-btn.ok:hover{background:var(--mint-soft)}.inline-edit{align-items:center;gap:6px;width:100%;display:flex}.inline-edit input,.add-row input{border:1.5px solid var(--line-2);border-radius:var(--r-sm);outline:none;flex:1;min-width:0;min-height:46px;padding:10px 14px;font-size:16px}.inline-edit input:focus,.add-row input:focus{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-soft)}.add-row{border-top:1.5px dashed var(--line-2);gap:8px;margin-top:14px;padding-top:16px;display:flex}.avatar{background:var(--mint-soft);width:40px;height:40px;color:var(--mint);border-radius:999px;flex-shrink:0;place-items:center;font-weight:700;display:grid}.avatar.admin{background:var(--accent-soft);color:var(--accent)}.user-actions{flex-shrink:0;align-items:center;gap:2px;display:flex}.mini-select{border:1.5px solid var(--line-2);background:var(--surface);border-radius:10px;max-width:150px;min-height:38px;margin-right:4px;padding:6px 10px;font-size:.85rem}@media (width<=560px){.user-row{flex-wrap:wrap}.user-row .user-actions{justify-content:flex-end;width:100%;padding-left:50px}.user-row .mini-select{flex:1;max-width:none}}.field select{border:1.5px solid var(--line-2);border-radius:var(--r-sm);background:var(--surface);outline:none;width:100%;min-height:52px;padding:13px 16px;font-size:16px}.field select:focus{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-soft)}.field .hint{margin-top:0}.segmented{grid-template-columns:1fr 1fr;gap:10px;display:grid}.segmented button{text-align:left;border-radius:var(--r-sm);border:1.5px solid var(--line-2);background:var(--surface);flex-direction:column;align-items:flex-start;gap:2px;padding:12px 14px;display:flex}.segmented button small{color:var(--muted);font-size:.78rem;line-height:1.35}.segmented button.active{border-color:var(--accent);background:var(--accent-soft)}.segmented button.active strong{color:var(--accent)}.empty{text-align:center;color:var(--muted);flex-direction:column;align-items:center;gap:14px;padding:56px 16px;display:flex}.empty-icon{background:var(--surface);width:80px;height:80px;box-shadow:var(--shadow);color:var(--accent);border-radius:26px;place-items:center;display:grid}.loading{color:var(--muted);justify-content:center;align-items:center;gap:12px;padding:48px;display:flex}.splash{place-items:center;min-height:100dvh;display:grid}.spinner{border:3px solid var(--accent-soft);border-top-color:var(--accent);border-radius:999px;width:28px;height:28px;animation:.8s linear infinite spin}.spinner.sm{border-width:2.5px;width:20px;height:20px}.spinner.light{border-color:#fff #ffffff59 #ffffff59}@keyframes spin{to{transform:rotate(360deg)}}.auth-screen{background:radial-gradient(circle at 15% 10%, #e9e7ff 0, transparent 45%), radial-gradient(circle at 85% 90%, #fde6ec 0, transparent 45%), radial-gradient(circle at 90% 15%, #e2f5ec 0, transparent 40%), var(--bg);place-items:center;min-height:100dvh;padding:24px;display:grid}.auth-lang{top:calc(16px + env(safe-area-inset-top,0px));position:fixed;right:16px}.auth-card{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);width:100%;max-width:420px;box-shadow:var(--shadow-lg);background:#ffffffe6;border-radius:28px;flex-direction:column;gap:18px;padding:36px 28px;display:flex}.auth-card h1{font-size:1.8rem}.auth-card>.muted{margin-top:-10px}
