@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/assets/nunito-cyrillic-ext-wght-normal-D4X5GqEv.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:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/assets/nunito-cyrillic-wght-normal-CY6AOgYE.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/assets/nunito-vietnamese-wght-normal-U01xdrZh.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:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/assets/nunito-latin-ext-wght-normal-CXYtwYOx.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:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/assets/nunito-latin-wght-normal-BzFMHfZw.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}@font-face{font-family:DM Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/dm-mono-latin-ext-400-normal-C2zvOubV.woff2)format("woff2"),url(/assets/dm-mono-latin-ext-400-normal-1aZr6b2b.woff)format("woff");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:DM Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/dm-mono-latin-400-normal-4GdczIuU.woff2)format("woff2"),url(/assets/dm-mono-latin-400-normal--0xN8mdc.woff)format("woff");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}@font-face{font-family:DM Mono;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/dm-mono-latin-ext-500-normal-BtRyHRi6.woff2)format("woff2"),url(/assets/dm-mono-latin-ext-500-normal-Dw3M13d8.woff)format("woff");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:DM Mono;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/dm-mono-latin-500-normal-DRMDZjhP.woff2)format("woff2"),url(/assets/dm-mono-latin-500-normal-CN8Miw6E.woff)format("woff");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{--canvas:#0b0b0f;--panel:#1a1b22;--raised:#252733;--raised-2:#2d2f3d;--text:#f4f1e8;--muted:#b8bbc7;--orange:#ff7a45;--teal:#00d1c1;--purple:#a78bfa;--yellow:#ffc857;--lime:#a3e635;--pink:#ff6b8b;--line:#f4f1e81a;--elevation-raised:0 0 0 1px #ffffff17;--elevation-raised-hover:0 0 0 1px #ffffff26;--elevation-overlay:0 0 0 1px #ffffff24;--border-hairline:1px;color:var(--text);background:var(--canvas);font-synthesis:none;font-family:Nunito Variable,sans-serif}@media (-webkit-device-pixel-ratio>=2),(resolution>=192dpi){:root{--border-hairline:.5px}}*{box-sizing:border-box}body{background:var(--canvas);min-width:320px;min-height:100vh;margin:0}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--teal);outline-offset:2px}button:disabled{cursor:wait;opacity:.65}.app-shell{min-height:100vh}.sidebar{border-right:1px solid var(--line);z-index:20;background:#121218;flex-direction:column;width:246px;padding:28px 20px 22px;display:flex;position:fixed;inset:0 auto 0 0}.brand{align-items:center;gap:10px;min-height:52px;display:flex}.tanuki-placeholder{background:#ff7a4512;border:1px dashed #ff7a458c;border-radius:14px;flex:none;place-items:center;width:44px;height:44px;display:grid}.tanuki-initials{color:var(--orange);letter-spacing:-.4px;font-family:Nunito Variable,sans-serif;font-size:14px;font-weight:900}.brand--compact .tanuki-placeholder{border-radius:18px;width:58px;height:58px}.brand--compact .tanuki-initials{font-size:18px}.wordmark{color:var(--text);letter-spacing:-1.2px;font-size:24px;font-weight:900}.sidebar nav{flex-direction:column;gap:7px;margin:54px 0 20px;display:flex}.sidebar nav button{color:var(--muted);text-align:left;background:0 0;border:0;border-radius:13px;align-items:center;gap:13px;min-height:48px;padding:0 14px;font-weight:800;transition:all .2s;display:flex}@media (hover:hover) and (pointer:fine){.sidebar nav button:hover{background:var(--panel);color:var(--text)}}.sidebar nav button.active{color:var(--text);background:var(--raised);box-shadow:inset 3px 0 var(--orange)}.sidebar nav button i{background:var(--orange);color:#19100d;border-radius:20px;margin-left:auto;padding:2px 7px;font-size:11px;font-style:normal}.add-main{background:var(--teal);color:#061c1a;border:0;border-radius:13px;justify-content:center;align-items:center;gap:8px;min-height:48px;font-weight:900;transition:transform .2s,background .2s;display:flex}@media (hover:hover) and (pointer:fine){.add-main:not(:disabled):hover,.action-btn:not(.action-btn--secondary):not(:disabled):hover{background:#22e3d3;transform:translateY(-1px)}}.side-footer{border-top:1px solid var(--line);align-items:center;gap:10px;margin-top:auto;padding-top:20px;display:flex}.avatar{background:var(--orange);color:#27130b;border:0;border-radius:12px;place-items:center;width:36px;height:36px;font-weight:900;display:grid}.side-footer div:nth-child(2){flex-direction:column;min-width:0;display:flex}.side-footer strong{font-size:14px}.side-footer small{color:var(--muted);font-size:12px}.side-footer button{color:var(--muted);background:0 0;border:0;margin-left:auto}main{min-height:100vh;margin-left:246px}.content{width:min(1180px,100% - 80px);margin:0 auto;padding:62px 0 80px}.page-stack{flex-direction:column;gap:44px;display:flex}.eyebrow{color:var(--orange);letter-spacing:1.6px;font-size:11px;font-weight:900;display:block}h1,h2,h3,p{margin-top:0}h1,h2,h3,strong,b,.money,.wordmark,.sale-row>b,.sale-row>span:not(.status){color:var(--text)}h1{letter-spacing:-2px;margin-bottom:14px;font-size:clamp(34px,4vw,52px);font-weight:900;line-height:1.03}h2{letter-spacing:-.5px;margin:5px 0 0;font-size:24px;line-height:1.15}h3{margin:0;font-size:17px;line-height:1.25}p{color:var(--muted)}.welcome{background:var(--panel);border:1px solid var(--line);border-radius:28px;align-items:center;min-height:214px;padding:38px 40px;display:flex;position:relative;overflow:hidden}.welcome:after{content:"";background:radial-gradient(circle,#ff7a4538,#ff7a4500 65%);border-radius:50%;width:340px;height:340px;position:absolute;top:-170px;right:-90px}.welcome>div:first-child{z-index:1;max-width:690px;position:relative}.welcome h1{margin:8px 0 10px;font-size:clamp(34px,4vw,48px)}.welcome p{margin:0}.welcome-mascot{z-index:1;text-align:center;width:126px;margin-left:auto;position:relative}.welcome-mascot .brand{justify-content:center}.welcome-mascot .tanuki-placeholder{filter:drop-shadow(0 9px 14px #0000004d);border-radius:26px;width:90px;height:90px}.welcome-mascot .tanuki-initials{font-size:26px}.welcome-mascot>span{background:var(--text);color:#252016;border-radius:30px;padding:4px 10px;font-size:12px;font-weight:900;display:inline-block;transform:rotate(-4deg)}.section-heading{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:18px;display:flex}.section-heading p{margin:5px 0 0;font-size:14px}.text-button{color:var(--teal);white-space:nowrap;background:0 0;border:0;align-items:center;gap:2px;font-weight:800;display:flex}.quick-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;display:grid}.quick-card{border:1px solid var(--line);background:var(--panel);min-height:94px;color:var(--text);text-align:left;border-radius:18px;align-items:center;gap:13px;padding:15px 16px;transition:transform .2s,border-color .2s;display:flex}@media (hover:hover) and (pointer:fine){.quick-card:hover{border-color:#f4f1e83d;transform:translateY(-3px)}}.quick-card>svg{color:var(--muted);margin-left:auto}.quick-card div{flex-direction:column;display:flex}.quick-card strong{font-size:15px}.quick-card small{color:var(--muted);font-size:12px}.quick-icon{color:#17171d;border-radius:14px;place-items:center;width:45px;height:45px;display:grid}.quick-card--orange .quick-icon{background:var(--orange)}.quick-card--teal .quick-icon{background:var(--teal)}.quick-card--purple .quick-icon{background:var(--purple)}.quick-card--lime .quick-icon{background:var(--lime)}.stats-grid{grid-template-columns:repeat(3,1fr);gap:14px;display:grid}.stat-card{background:var(--panel);border:1px solid var(--line);border-radius:18px;flex-direction:column;min-height:154px;padding:22px;display:flex}.stat-top{color:var(--muted);justify-content:space-between;font-size:13px;font-weight:800;display:flex}.stat-dot{border-radius:50%;width:9px;height:9px}.stat-dot.teal{background:var(--teal);box-shadow:0 0 0 5px #00d1c11f}.stat-dot.lime{background:var(--lime);box-shadow:0 0 0 5px #a3e6351f}.stat-dot.purple{background:var(--purple);box-shadow:0 0 0 5px #a78bfa1f}.stat-card>strong{margin:18px 0 3px;font-size:28px}.stat-card small{color:var(--muted)}.money{letter-spacing:-.7px;font-family:DM Mono,monospace}.activity-card,.ledger-card{background:var(--panel);border:1px solid var(--line);border-radius:22px;padding:25px}.activity-list{flex-direction:column;display:flex}.activity{border-top:1px solid var(--line);grid-template-columns:42px 1fr auto;align-items:center;gap:13px;padding:15px 0;display:grid}.activity-icon{border-radius:12px;place-items:center;width:38px;height:38px;display:grid;color:#15151b!important}.activity-icon.teal{background:var(--teal)}.activity-icon.orange{background:var(--orange)}.activity-icon.purple{background:var(--purple)}.activity div{flex-direction:column;display:flex}.activity small{color:var(--muted)}.activity b{font-size:14px}.page-title{justify-content:space-between;align-items:flex-end;gap:24px;display:flex}.page-title h1{margin:7px 0}.page-title p{margin:0}.action-btn{background:var(--teal);color:#061c1a;white-space:nowrap;border:0;border-radius:12px;justify-content:center;align-items:center;gap:7px;min-height:43px;padding:0 17px;font-weight:900;transition:all .2s;display:inline-flex}.action-btn--secondary{background:var(--raised);color:var(--text);border:1px solid var(--line)}@media (hover:hover) and (pointer:fine){.action-btn--secondary:hover{background:var(--raised-2)}}.toolbar{grid-template-columns:1fr 170px auto;gap:12px;margin-bottom:-27px;display:grid}.search-field{border:1px solid var(--line);background:var(--panel);height:46px;color:var(--muted);border-radius:13px;align-items:center;gap:10px;padding:0 14px;display:flex}.search-field:focus-within{border-color:var(--teal)}input,select{border:1px solid var(--line);background:var(--raised);color:var(--text);border-radius:11px;min-width:0;height:44px;padding:0 12px}input[type=checkbox],input[type=radio]{padding:0}input::placeholder{color:#7f8290}.search-field input{background:0 0;border:0;outline:0;flex:1;height:100%;padding:0}select{appearance:none;background-image:linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);background-position:calc(100% - 15px) 18px,calc(100% - 10px) 18px;background-repeat:no-repeat;background-size:5px 5px,5px 5px;padding-right:30px}.view-toggle{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:3px;display:flex}.view-toggle button{width:38px;color:var(--muted);background:0 0;border:0;border-radius:9px;place-items:center;display:grid}.view-toggle button.active{background:var(--raised);color:var(--text)}.chip-row{scrollbar-width:none;gap:8px;display:flex;overflow-x:auto}.chip{border:1px solid var(--line);background:var(--panel);color:var(--muted);white-space:nowrap;border-radius:30px;padding:8px 15px;font-size:13px;font-weight:800}.chip.active{background:var(--text);color:var(--canvas);border-color:var(--text)}.inventory-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.inventory-card{background:var(--panel);border:1px solid var(--line);border-radius:19px;min-width:0;transition:transform .2s,border-color .2s;overflow:hidden}@media (hover:hover) and (pointer:fine){.inventory-card:hover{border-color:#f4f1e838;transform:translateY(-3px)}}.card-art{color:#0b0b0fbf;justify-content:center;align-items:center;height:156px;display:flex;position:relative;overflow:hidden}.card-art:before{content:"";opacity:.35;border:2px solid;border-radius:11px;position:absolute;inset:18px 28%;transform:rotate(7deg)}.card-art>span:first-child{border:1px solid #0b0b0f59;border-radius:20px;padding:2px 7px;font-size:10px;font-weight:900;position:absolute;top:12px;left:13px;color:#0b0b0f!important}.card-art>b{background:var(--canvas);color:var(--text);letter-spacing:1px;border-radius:20px;padding:5px 11px;font-size:11px;position:absolute;transform:rotate(-7deg)}.card-art.pink{background:linear-gradient(135deg,#ff8aaa,#ffc0d0)}.card-art.red{background:linear-gradient(135deg,#ff7a45,#ff6b8b)}.card-art.blue{background:linear-gradient(135deg,#72d6ff,#a78bfa)}.card-art.purple{background:linear-gradient(135deg,#a78bfa,#ff6b8b)}.card-art.yellow{background:linear-gradient(135deg,#ffc857,#a3e635)}.card-art.orange{background:linear-gradient(135deg,#ff7a45,#ffc857)}.inventory-info{padding:17px}.item-tags{gap:6px;margin-bottom:8px;display:flex}.item-tags span{color:var(--muted);text-transform:uppercase;letter-spacing:.6px;font-size:10px}.item-tags span+span:before{content:"·";margin-right:6px}.inventory-info h3{min-height:43px}.item-prices{border-top:1px solid var(--line);grid-template-columns:1fr 1fr;margin-top:16px;padding-top:14px;display:grid}.item-prices div{flex-direction:column;display:flex}.item-prices small,.item-meta{color:var(--muted);font-size:11px}.item-prices strong{font-size:14px}.item-prices div+div{text-align:right}.item-meta{align-items:center;gap:9px;margin-top:14px;display:flex}.item-meta span:last-child{margin-left:auto}.sold{opacity:.62}.inventory-list{flex-direction:column;gap:8px;display:flex}.inventory-list .inventory-card{grid-template-columns:120px 1fr;display:grid}.inventory-list .card-art{height:auto;min-height:130px}.inventory-list .inventory-info{grid-template-columns:1fr 250px;align-items:center;display:grid}.inventory-list .item-tags,.inventory-list h3{grid-column:1}.inventory-list .item-prices{border:0;grid-area:1/2/3;margin:0;padding:0}.empty-state{background:var(--panel);text-align:center;border:1px dashed #f4f1e838;border-radius:22px;flex-direction:column;justify-content:center;align-items:center;min-height:330px;display:flex}.empty-state h2{margin-top:10px}.empty-state p{margin:7px 0 18px}.sale-status-cell{flex-direction:column;align-items:flex-start;gap:5px;display:flex}.row-action{color:var(--teal);cursor:pointer;white-space:nowrap;text-underline-offset:2px;background:0 0;border:0;padding:0;font-size:10px;font-weight:900;text-decoration:underline}@media (hover:hover) and (pointer:fine){.row-action:hover{color:#22e3d3}}.sales-workspace{flex-direction:column;gap:32px;min-width:0;display:flex}.sales-workspace>.page-heading{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:24px;display:flex}.sales-workspace>.page-heading h1,.sales-workspace>p,.sales-workspace>.receipt-line{margin-block:0}.sales-workspace .action-btn{white-space:normal;max-width:100%;min-height:44px}.sales-workspace summary{cursor:pointer;min-height:44px;padding-block:10px}.sales-workspace summary:focus-visible{outline:2px solid var(--teal);outline-offset:2px}.sales-agreements>.receipt-line{margin-block:16px 0}.sales-review-pages{flex-direction:column;align-items:flex-start;gap:12px;min-width:0;display:flex}.sales-review-pages>p{margin-block:0}@media (width<=600px){.sales-workspace{gap:24px}.sales-workspace>.page-heading{align-items:flex-start;gap:16px}.sales-workspace .receipt-actions{gap:12px}}.sales-record{flex-direction:column;gap:16px;display:flex}.sales-record>h2,.sales-record>p{margin-block:0}.sales-line,.sales-line>section,.sales-review-item{flex-direction:column;gap:12px;min-width:0;display:flex}.sales-line>p,.sales-line>section>p,.sales-review-item>p{margin-block:0}.sales-review-item{align-items:flex-start}.sales-workspace>.info-note{border-left:0;border-inline-start:3px solid var(--orange)}.sales-summary{background:var(--panel);border:1px solid var(--line);border-radius:18px;grid-template-columns:repeat(4,1fr);margin-bottom:-24px;display:grid}.sales-summary div{flex-direction:column;gap:5px;padding:21px 24px;display:flex}.sales-summary div+div{border-left:1px solid var(--line)}.sales-summary small{color:var(--muted)}.sales-summary strong{font-size:23px}.sales-table{background:var(--panel);border:1px solid var(--line);border-radius:18px;overflow:hidden}.table-head,.sale-row{grid-template-columns:minmax(240px,1.7fr) .7fr .65fr .8fr .6fr .65fr;align-items:center;column-gap:14px;display:grid}.table-head{min-height:43px;color:var(--muted);text-transform:uppercase;letter-spacing:.6px;border-bottom:1px solid var(--line);padding:0 18px;font-size:11px}.sale-row{border-bottom:1px solid var(--line);min-height:78px;padding:10px 18px;font-size:13px}.sale-row:last-child{border:0}.sale-row>div:first-child{align-items:center;gap:12px;display:flex}.sale-row>div:first-child>div{flex-direction:column;display:flex}.sale-row small{color:var(--muted)}.mini-card{background:var(--raised);width:38px;height:44px;color:var(--purple);border-radius:8px;flex:none;place-items:center;display:grid}.status{border-radius:20px;padding:4px 9px;font-size:11px;font-style:normal;font-weight:900;display:inline-flex}.status.paid{background:#a3e6351a;color:var(--lime)!important}.status.pending{background:#ffc8571a;color:var(--yellow)!important}.profit{color:var(--lime)!important}.money-overview{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px;display:grid}.money-card{background:var(--panel);border:1px solid var(--line);border-radius:19px;gap:14px;min-height:158px;padding:20px;display:flex}.money-card-icon{color:#15151b;border-radius:12px;place-items:center;width:40px;height:40px;display:grid}.money-card.purple .money-card-icon{background:var(--purple)}.money-card.orange .money-card-icon{background:var(--orange)}.money-card.lime .money-card-icon{background:var(--lime)}.money-card.gray .money-card-icon{background:var(--muted)}.money-card.gray{border-color:#b8bbc733}.money-card>div{flex-direction:column;display:flex}.money-card small{color:var(--muted);font-weight:800}.money-card strong{margin:12px 0 3px;font-size:25px}.money-card p{margin:0;font-size:12px}.demo-callout{background:linear-gradient(110deg,#ff7a4526,#ffc85712);border:1px solid #ff7a4547;border-radius:20px;grid-template-columns:46px 1.3fr 1fr;align-items:center;gap:16px;padding:23px;display:grid}.demo-icon{background:var(--orange);color:#25130d;border-radius:13px;place-items:center;width:44px;height:44px;display:grid}.demo-callout h3{margin:4px 0;font-size:20px}.demo-callout p{margin:0;font-size:13px;line-height:1.5}.split-bar{background:var(--yellow);color:#20180a;border-radius:12px;height:46px;font-size:11px;font-weight:900;display:flex;overflow:hidden}.split-bar span,.split-bar b{color:#20180a;justify-content:center;align-items:center;display:flex}.split-bar span:first-child{background:var(--orange)}.split-bar .parent-split{width:75%}.money-tabs{border-bottom:1px solid var(--line);gap:20px;margin-bottom:-25px;display:flex}.money-tabs button{color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;padding:0 3px 12px;font-weight:900}.money-tabs button.active{color:var(--text);border-color:var(--teal)}.ledger-row{border-top:1px solid var(--line);grid-template-columns:1fr auto 100px;align-items:center;gap:18px;min-height:76px;display:grid}.ledger-row>div:first-child{flex-direction:column;display:flex}.ledger-row small{color:var(--muted)}.ledger-row>div:nth-child(2){flex-direction:column;align-items:flex-end;display:flex}.not-loan{color:var(--orange);letter-spacing:1px;font-size:9px;font-weight:900}.ledger-row.featured{background:#00d1c10f;border:1px solid #00d1c133;border-radius:14px;margin-bottom:2px;padding:14px 16px}.ledger-empty{border-top:1px solid var(--line);min-height:92px;color:var(--text);align-items:center;gap:13px;display:flex}.ledger-empty .tanuki-placeholder{border-radius:12px;width:42px;height:42px}.ledger-empty>div{flex-direction:column;display:flex}.ledger-empty small{color:var(--muted)}.toast{z-index:80;background:var(--teal);color:#061c1a;border-radius:13px;align-items:center;gap:8px;padding:12px 17px;font-weight:900;display:flex;position:fixed;top:24px;right:28px;box-shadow:0 15px 40px #00000059}.modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#040407c7;place-items:center;padding:22px;display:grid;position:fixed;inset:0}.modal{background:var(--panel);width:min(680px,100%);max-height:calc(100vh - 44px);box-shadow:var(--elevation-overlay);border:0;border-radius:24px;padding:25px;overflow-y:auto}.modal-head{justify-content:space-between;gap:20px;margin-bottom:23px;display:flex}.modal-head h2{margin:0 0 5px;font-size:28px}.modal-head p{margin:0;font-size:14px}.icon-button{background:var(--raised);width:38px;height:38px;color:var(--muted);border:0;border-radius:11px;place-items:center;display:grid}.field{flex-direction:column;gap:7px;min-width:0;display:flex}.field>span,.funding legend{color:var(--muted);font-size:12px;font-weight:900}.field>input,.field>select,.field>div{width:100%}.field>small{color:#858995;margin-top:-3px;font-size:10px}.money-input{border:1px solid var(--line);background:var(--raised);height:44px;color:var(--muted);border-radius:11px;align-items:center;padding-left:12px;display:flex}.money-input input{background:0 0;border:0;outline:0;width:100%;height:100%;padding-left:5px}.funding{border:0;margin:22px 0 0;padding:0}.funding legend{margin-bottom:8px}.funding{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.funding legend{grid-column:1/-1}.funding label{border:1px solid var(--line);cursor:pointer;border-radius:12px;gap:8px;min-height:76px;padding:12px;display:flex}.funding label.selected{border-color:var(--teal);background:#00d1c10f}.funding input{width:16px;height:16px;accent-color:var(--teal);margin:2px 0}.funding label>span{flex-direction:column;display:flex}.funding b{font-size:12px}.funding small{color:var(--muted);margin-top:4px;font-size:10px;line-height:1.3}.bulk-toggle{cursor:pointer;grid-template-columns:20px 1fr;align-items:center;column-gap:8px;margin-top:18px;display:grid}.bulk-toggle input{width:18px;height:18px;accent-color:var(--teal);grid-row:1/3}.bulk-toggle span{font-size:13px;font-weight:900}.bulk-toggle small{color:var(--muted);font-size:10px}.bulk-row{color:var(--muted);background:#a78bfa14;border-radius:10px;justify-content:space-between;margin-top:10px;padding:10px 12px;font-size:11px;display:flex}.bulk-row button{color:var(--purple);background:0 0;border:0;font-weight:900}.purchase-meta{margin-bottom:20px}.bulk-editor{flex-direction:column;gap:8px;padding-bottom:3px;display:flex;overflow-x:auto}.bulk-head,.bulk-edit-row{grid-template-columns:1.7fr 1fr .9fr 70px .8fr .8fr 36px;align-items:center;gap:7px;min-width:890px;display:grid}.bulk-head{color:var(--muted);text-transform:uppercase;letter-spacing:.5px;padding:0 3px;font-size:10px}.bulk-edit-row input,.bulk-edit-row select{width:100%}.row-remove{background:var(--raised);width:34px;height:34px;color:var(--muted);border:0;border-radius:9px;place-items:center;display:grid}.row-remove:disabled{opacity:.25;cursor:not-allowed}.add-row{color:var(--teal);background:0 0;border:0;align-items:center;gap:5px;margin-top:11px;padding:5px 0;font-size:12px;font-weight:900;display:flex}.modal-actions{border-top:var(--border-hairline) solid var(--line);justify-content:flex-end;gap:9px;margin-top:22px;padding-top:19px;display:flex}.form-error{color:#ff9bb0;background:#ff6b8b1a;border:1px solid #ff6b8b40;border-radius:10px;margin-top:14px;padding:10px 12px;font-size:12px}.profit-preview{background:var(--raised);border-radius:14px;justify-content:space-between;align-items:center;margin-top:20px;padding:17px;display:flex}.profit-preview>div:first-child{flex-direction:column;display:flex}.profit-preview>div:first-child>strong{margin-top:4px;font-size:25px}.profit-preview small{color:var(--muted);font-size:10px}.split-details{gap:22px;display:flex}.split-details span{text-align:right;flex-direction:column;display:flex}.info-note{border-left:3px solid var(--orange);background:#ff7a450f;margin:11px 0 16px;padding:10px 12px;font-size:12px;line-height:1.5}.page-stack>.info-note{margin-block:0}.loss{color:var(--pink)!important}.loss-confirm{cursor:pointer;background:#ff6b8b12;border:1px solid #ff6b8b47;border-radius:11px;gap:9px;margin-top:13px;padding:12px;display:flex}.loss-confirm input{width:17px;height:17px;accent-color:var(--pink);margin:1px 0}.loss-confirm span{flex-direction:column;display:flex}.loss-confirm b{font-size:12px}.loss-confirm small{color:var(--muted);font-size:10px}.scanner{background:#101117;border:1px dashed #f4f1e842;border-radius:16px;place-items:center;height:230px;margin-bottom:13px;display:grid;position:relative;overflow:hidden}.scan-corners{width:160px;height:190px;color:var(--teal);border:2px solid #00d1c180;border-radius:13px;flex-direction:column;justify-content:center;align-items:center;gap:12px;display:flex}.scan-corners span{color:var(--muted);font-size:11px}.scanner>i{background:var(--teal);height:2px;box-shadow:0 0 18px var(--teal);animation:1.4s ease-in-out infinite scanning;position:absolute;left:15%;right:15%}@keyframes scanning{0%,to{top:18%}50%{top:80%}}.scanner+.action-btn{width:100%}.or-divider{height:44px;color:var(--muted);justify-content:center;align-items:center;font-size:10px;display:flex}.or-divider:before,.or-divider:after{content:"";background:var(--line);flex:1;height:1px}.or-divider span{padding:0 10px}.lookup-result{border:1px solid var(--line);background:var(--raised);width:100%;color:var(--text);text-align:left;border-radius:12px;align-items:center;gap:11px;margin-top:8px;padding:10px;display:flex}.lookup-result div{flex-direction:column;display:flex}.lookup-result small{color:var(--muted)}.lookup-result>svg{margin-left:auto}.found-card{background:var(--raised);border:1px solid #a78bfa40;border-radius:14px;grid-template-columns:70px 1fr auto;align-items:center;gap:13px;margin-top:13px;padding:12px;display:grid}.found-card .card-art{border-radius:9px;width:70px;height:82px}.found-card h3{margin:3px 0}.found-card p{margin:0;font-size:11px}.mobile-nav,.mobile-header{display:none}@media (width<=980px){.content{width:min(100% - 40px,800px)}.inventory-grid{grid-template-columns:repeat(2,1fr)}.table-head{display:none}.sale-row{grid-template-columns:minmax(170px,1.5fr) .65fr .65fr .6fr}.sale-row>span:nth-child(2),.sale-row>span:nth-child(4){display:none}.money-overview{grid-template-columns:1fr}.money-card{min-height:115px}.demo-callout{grid-template-columns:46px 1fr}.split-bar{grid-column:2}}@media (width<=700px){.sidebar{display:none}main{margin-left:0}.mobile-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:70px;padding:12px 18px;display:flex}.mobile-header .tanuki-placeholder{border-radius:11px;width:37px;height:37px}.mobile-header .wordmark{font-size:20px}.content{width:auto;margin:0;padding:24px 16px 116px}.page-stack{gap:31px}.mobile-nav{z-index:50;height:76px;padding:8px 8px max(8px, env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-top:1px solid var(--line);background:#121218f5;grid-template-columns:repeat(5,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.mobile-nav button{color:#858995;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:9px;font-weight:900;display:flex}.mobile-nav button.active{color:var(--teal)}.mobile-nav .mobile-add{color:var(--text)}.mobile-add>span{color:#061c1a;background:var(--teal);border-radius:14px;place-items:center;width:39px;height:39px;margin-top:-26px;display:grid;box-shadow:0 0 0 5px #121218}h1{letter-spacing:-1.4px;font-size:37px}.welcome{align-items:flex-start;min-height:284px;padding:27px 24px}.welcome h1{font-size:34px}.welcome-mascot{width:90px;position:absolute;bottom:16px;right:15px}.welcome-mascot .tanuki-placeholder{border-radius:19px;width:66px;height:66px}.welcome-mascot .tanuki-initials{font-size:20px}.quick-grid{grid-template-columns:1fr;gap:9px}.quick-card{min-height:76px}.stats-grid{grid-template-columns:1fr 1fr;gap:9px}.stat-card{min-height:137px;padding:16px}.stat-card:first-child{grid-column:1/-1;min-height:118px}.stat-card>strong{font-size:22px}.activity-card{padding:18px}.activity{grid-template-columns:38px 1fr}.activity>b{grid-column:2;margin-top:-7px}.page-title{align-items:flex-start}.page-title .action-btn{width:43px;padding:0;font-size:0}.toolbar{grid-template-columns:1fr auto;row-gap:8px;margin-bottom:-18px}.toolbar>select{grid-area:2/1;width:100%}.toolbar>.view-toggle{grid-row:1;align-self:center}.inventory-grid{grid-template-columns:1fr 1fr;gap:9px}.card-art{height:122px}.inventory-info{padding:12px}.inventory-info h3{min-height:52px;font-size:14px}.item-meta{flex-wrap:wrap;gap:6px}.item-meta span:last-child{margin-left:0}.inventory-list .inventory-card{grid-template-columns:90px 1fr}.inventory-list .inventory-info{display:block}.inventory-list .item-prices{border-top:1px solid var(--line);margin-top:12px;padding-top:10px;display:grid}.sales-summary{grid-template-columns:1fr 1fr}.sales-summary div{padding:16px}.sales-summary div:nth-child(n+3){border-left:0;border-top:1px solid var(--line)}.sales-summary div:nth-child(odd):nth-child(n+3){border-left:0}.sales-summary div:nth-child(2n):nth-child(n+3){border-left:1px solid var(--line)}.sales-summary strong{font-size:19px}.sale-row{grid-template-columns:1fr auto auto;row-gap:6px;min-height:98px}.sale-row>div:first-child{grid-column:1/-1}.sale-row>span:nth-child(2),.sale-row>span:nth-child(4){display:none}.sale-row>span:nth-child(3),.sale-row>.sale-price,.sale-row>b:last-child{display:block}.money-card{min-height:110px;padding:17px}.demo-callout{grid-template-columns:38px 1fr;gap:11px;padding:17px}.demo-icon{width:38px;height:38px}.split-bar{grid-column:1/-1}.money-tabs{gap:12px;overflow-x:auto}.money-tabs button{white-space:nowrap;font-size:12px}.ledger-card{padding:17px}.ledger-row{grid-template-columns:1fr auto;padding:12px 0}.ledger-row .action-btn{grid-column:1/-1}.modal-backdrop{align-items:end;padding:0}.modal{max-height:92vh;padding:20px 17px calc(20px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0}.modal-head h2{font-size:25px}.form-grid{grid-template-columns:1fr 1fr;gap:12px 9px}.bulk-head{display:none}.bulk-editor{overflow:visible}.bulk-edit-row{border:1px solid var(--line);border-radius:13px;grid-template-columns:1fr 1fr 38px;gap:8px;min-width:0;padding:10px}.bulk-edit-row input:first-child{grid-column:1/3}.bulk-edit-row .row-remove{grid-area:1/3}.bulk-edit-row select:first-of-type{grid-column:1}.bulk-edit-row select:nth-of-type(2){grid-column:2}.funding{grid-template-columns:1fr}.funding label{min-height:60px}.profit-preview{align-items:flex-start;gap:15px}.split-details{flex-direction:column;gap:5px}.found-card{grid-template-columns:58px 1fr}.found-card .card-art{width:58px;height:70px}.found-card .action-btn{grid-column:1/-1}.toast{justify-content:center;top:12px;left:12px;right:12px}}@media (width<=390px){.inventory-grid{gap:8px}.card-art{height:112px}.inventory-info{padding:11px}.form-grid{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}fieldset{border:0;min-width:0;margin:20px 0 0;padding:0}button:disabled{cursor:not-allowed}button,a,input,select{touch-action:manipulation}.text-button,.row-action{white-space:normal;text-align:left;min-height:44px}.row-action{font-size:12px}.icon-button{background:var(--raised);min-width:44px;height:44px;color:var(--text);border:0;border-radius:12px;place-items:center;display:grid}dialog.modal{color:var(--text);margin:auto}dialog::backdrop{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#040407cc}.field{flex-direction:column;gap:6px;display:flex}.field>small{color:var(--muted)}.form-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.form-grid input,.form-grid select{width:100%}.auth-card{border:1px solid var(--line);background:var(--panel);border-radius:28px;max-width:640px;margin:30px auto;padding:32px}.auth-card form{gap:18px;display:grid}.auth-card>.text-button{margin-top:24px}.workspace-toolbar{flex-wrap:wrap;align-items:center;gap:14px;margin-bottom:24px;display:flex}.workspace-toolbar>.field{margin-right:auto}.workspace-toolbar select{max-width:min(100%,280px)}.loan-actions{flex-wrap:wrap;gap:18px;display:flex}.ledger-row,.inventory-info,.stat-card,.money-card{overflow-wrap:anywhere;min-width:0}.money-card>div,.ledger-row>div{min-width:0}.money{overflow-wrap:anywhere}.empty-state{padding:30px}.empty-state p{max-width:580px}.skip-link{z-index:200;color:var(--canvas);background:var(--teal);padding:12px;position:fixed;top:-100px;left:10px}.skip-link:focus{top:10px}:focus-visible{outline:2px solid var(--teal);outline-offset:3px}.welcome>div:first-child{max-width:75%}.side-footer button{text-align:left;min-height:44px;margin:0}@media (width>=701px) and (width<=1100px){.quick-grid,.stats-grid{grid-template-columns:1fr}.welcome{padding:28px}.welcome-mascot{display:none}.welcome>div:first-child{max-width:100%}.ledger-row{grid-template-columns:1fr auto}.ledger-row .action-btn{grid-column:1/-1}.inventory-list .inventory-info{display:block}}@media (width<=700px){.welcome>div:first-child{max-width:100%}.welcome{padding-bottom:115px}.mobile-nav{height:calc(76px + env(safe-area-inset-bottom))}dialog.modal{width:100%;max-width:100%;max-height:92dvh;margin:auto 0 0}.auth-card{margin:10px 0;padding:24px}.page-title .action-btn{white-space:normal;width:auto;padding:0 10px;font-size:12px}.page-title .action-btn svg{flex-shrink:0}.form-grid{grid-template-columns:1fr}.item-prices{gap:7px}.item-prices strong{font-size:12px}}.toolbar{grid-template-columns:minmax(0,1fr) 170px auto}.search-field{min-width:0}.search-field input{width:100%}@media (width>=701px) and (width<=980px){.toolbar{grid-template-columns:minmax(0,1fr) auto}.toolbar>select{grid-area:2/1}.toolbar .view-toggle{grid-area:1/2}}@media (width<=700px){.toolbar{grid-template-columns:minmax(0,1fr) auto}}.brand-icon{outline-offset:-1px;border-radius:14px;outline:1px solid #ffffff1a;flex:none;width:44px;height:44px}.brand-mascot{object-fit:contain;width:126px;height:134px}@media (width<=700px){.mobile-header .brand-icon{border-radius:11px;width:37px;height:37px}.brand-mascot{width:90px;height:94px}}.illustration{object-fit:contain;max-width:100%;height:auto}.quick-artwork{flex:0 0 64px;width:64px}.collection-empty{text-align:center;border:1px solid var(--line);background:var(--panel);border-radius:22px;flex-direction:column;align-items:center;gap:14px;padding:28px;display:flex}.collection-empty>.illustration{width:180px;max-height:180px}.collection-empty h2,.collection-empty p{margin:0}.collection-empty p{max-width:480px}.brand-lockup{background:var(--text);border-radius:18px;margin-bottom:24px;padding:16px}.brand-lockup img{object-fit:contain;width:100%;height:auto;display:block}@media (width<=700px){.collection-empty{padding:24px 16px}.collection-empty>.illustration{width:150px;max-height:150px}}.receipt-grid{gap:24px;margin-block:24px;display:grid}.receipt-history{flex-direction:column;gap:16px;min-width:0;display:flex}.receipt-history>p{margin-block:0}.receipt-history>.action-btn{align-self:flex-start}.receipt-history .action-btn,.receipt-history .text-button{white-space:normal;overflow-wrap:anywhere;max-width:100%;min-height:44px}.receipt-history .text-button{text-align:start}.receipt-history .icon-button{min-width:44px;min-height:44px}.receipt-line,.receipt-portion{border:1px solid var(--line);border-radius:12px;min-width:0;margin-block:16px;padding:16px}.receipt-funding{padding-block:12px}.receipt-actions{flex-wrap:wrap;gap:16px;display:flex}.receipt-line legend,.receipt-portion legend{padding-inline:6px;font-weight:700}.auth-shell{place-items:center;min-height:100dvh;padding:clamp(16px,4vw,48px);display:grid}.auth-shell main{width:min(100%,640px);min-height:0;margin:0}.auth-shell .auth-card{margin:0}.refund-terms .action-btn{white-space:normal;min-height:44px}.refund-term-history summary{cursor:pointer;min-height:44px;padding-block:12px}.refund-term-history summary:focus-visible{outline:2px solid var(--text);outline-offset:4px}.refund-term-history ol{flex-direction:column;gap:16px;padding-inline-start:24px;display:flex}.refund-term-history li{overflow-wrap:anywhere}.refund-term-history li p{margin-block:4px}.party-setup{overflow-wrap:anywhere;flex-direction:column;gap:16px;min-width:0;display:flex}.party-setup>p{margin-block:0}.party-setup-form,.party-setup-form>fieldset{flex-direction:column;gap:16px;min-width:0;display:flex}.party-setup-form>fieldset{margin:0}.party-setup-form .loss-confirm{align-items:flex-start;margin:0}.party-setup-form .loss-confirm input{flex-shrink:0}.party-setup-form .loss-confirm span{overflow-wrap:anywhere;min-width:0}.party-setup-form .action-btn{align-self:flex-start;max-width:100%}.party-setup-form>.form-error{margin:0}.party-setup .receipt-line{margin-block:0}.family-help{margin-block:1rem}.family-help>summary{cursor:pointer;align-items:center;min-height:44px;font-weight:700;display:flex}.family-help>summary:focus-visible{outline:2px solid var(--teal);outline-offset:4px}.family-stock-guide{gap:1rem;margin-block:1rem;display:grid}.family-stock-guide article{border:1px solid var(--line);border-radius:12px;padding:1rem}.family-stock-guide h3{margin-block:0 .5rem}.family-stock-guide p{margin-block:0}.setup-error{gap:1rem;margin-block:1rem;display:grid}.setup-error .form-error{margin:0}.setup-error .action-btn{justify-self:start}.party-setup-form .loss-confirm{background:var(--panel);border:1px solid var(--line)}.receipt-scanner{min-width:0;margin-block:0 24px}.receipt-scanner>summary{cursor:pointer;min-height:44px;padding-block:12px;font-weight:700}.receipt-scanner>summary:focus-visible{outline:2px solid var(--teal);outline-offset:4px}.receipt-scan-review,.receipt-scan-review>fieldset{flex-direction:column;gap:16px;min-width:0;display:flex}.receipt-scan-review>fieldset,.receipt-scan-review h3,.receipt-scan-review p{margin:0}.receipt-scan-row{border:1px solid var(--line);border-radius:12px;gap:12px;min-width:0;padding:16px;display:grid}.receipt-scan-check{cursor:pointer;overflow-wrap:anywhere;align-items:flex-start;gap:12px;min-height:44px;display:flex}.receipt-scan-check input{width:18px;height:18px;accent-color:var(--teal);flex-shrink:0;margin-block-start:3px}.receipt-scan-review .action-btn{white-space:normal;align-self:flex-start;max-width:100%}.barcode-input{flex-direction:column;gap:16px;min-width:0;display:flex}.barcode-input video{object-fit:contain;background:var(--canvas);border-radius:12px;width:100%;max-height:260px}.barcode-input video[hidden]{display:none}.barcode-input>p{margin:0}.barcode-input .action-btn{white-space:normal;align-self:flex-start;max-width:100%}.offline-settings{flex-direction:column;gap:16px;min-width:0;margin-block:16px 24px;display:flex}.offline-settings>p,.offline-settings>h2,.offline-settings .loss-confirm{margin:0}.offline-settings .action-btn{white-space:normal;align-self:flex-start;max-width:100%}.offline-settings .loss-confirm input{flex-shrink:0}.refund-payment-form,.refund-payment-form>fieldset{flex-direction:column;gap:16px;min-width:0;display:flex}.refund-payment-form>fieldset{margin:0}.refund-payment-form .loss-confirm{background:var(--panel);border:1px solid var(--line);align-items:flex-start;margin:0}.refund-payment-form .loss-confirm input{flex-shrink:0}.refund-payment-form .loss-confirm span{overflow-wrap:anywhere;min-width:0}.borrowed-money{gap:20px;display:grid}.borrowed-money .loan-record{gap:16px;display:grid}.borrowed-money .ledger-row{grid-template-columns:minmax(0,1fr) auto}.borrowed-money summary{cursor:pointer;min-height:44px;padding-block:10px}.borrowed-money details p{margin-block:8px 12px}.borrowed-money .loan-actions{gap:12px}.borrowed-money summary:focus-visible{outline:2px solid var(--teal);outline-offset:2px}.home-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.home-overview>.stat-card{grid-column:auto}@media (width<=480px){.home-overview{grid-template-columns:1fr}}.borrowed-money .action-btn,.profit-split-form .action-btn,.money-tabs button{min-height:44px}.profit-split-form,.profit-split-form>fieldset{gap:16px;display:grid}.profit-split-form>fieldset,.profit-split-form .loss-confirm{margin-top:0}.starting-balance-form,.starting-balance-form>fieldset{gap:18px;min-width:0;display:grid}.starting-balance-form>fieldset,.starting-balance-form .loss-confirm{margin-top:0}.starting-balance-form .action-btn{min-height:44px}.starting-balance-form summary{cursor:pointer;min-height:44px;padding-block:10px}.starting-balance-form summary:focus-visible{outline:2px solid var(--teal);outline-offset:2px}.starting-balance-review strong{font-variant-numeric:tabular-nums}.payment-month{align-self:flex-end;margin-top:6px}.payment-attention{gap:12px;display:grid}.attention-row{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding-top:12px;display:flex}.section-heading+.attention-row{border-top:0;padding-top:0}.attention-row p{margin:0}.attention-row .action-btn{min-height:44px}@media (width<=640px){.attention-row{flex-direction:column;align-items:stretch}.attention-row .action-btn{width:100%}}.stock-entry-flow,.simple-purchase-form,.simple-purchase-form>fieldset,.purchase-review{gap:18px;min-width:0;display:grid}.simple-purchase-form>fieldset,.simple-purchase-form .loss-confirm{margin-top:0}.stock-entry-flow .action-btn{min-height:44px}.simple-purchase-form summary{cursor:pointer;min-height:44px;padding-block:10px}.simple-purchase-form details .field{margin-block:12px}.simple-purchase-form summary:focus-visible{outline:2px solid var(--teal);outline-offset:2px}.action-btn:disabled{background:var(--raised);color:var(--muted);border:1px solid var(--line);opacity:1;cursor:not-allowed;transform:none}.read-only-note{color:var(--muted);border-left:3px solid var(--line);padding-left:10px}.add-main:disabled{background:var(--raised);color:var(--muted);border:1px solid var(--line);opacity:1;cursor:not-allowed;transform:none}.tracker-shell{width:min(640px,100% - 32px);padding:calc(16px + env(safe-area-inset-top)) 0 calc(32px + env(safe-area-inset-bottom));flex-direction:column;gap:20px;min-height:100vh;margin:0 auto;display:flex}.tracker-shell main{flex-direction:column;flex:1;gap:18px;display:flex}.tracker-shell footer{flex-wrap:wrap;justify-content:center;column-gap:20px;display:flex}.tracker-top{justify-content:space-between;align-items:center;gap:12px;display:flex}.tracker-top select{max-width:50%;min-height:44px}.tracker-hero{background:var(--panel);box-shadow:var(--elevation-raised);border-radius:24px;flex-direction:column;gap:4px;padding:26px 24px;display:flex}.tracker-hero span{color:var(--muted);font-size:16px;font-weight:800}.tracker-hero strong{font-variant-numeric:tabular-nums;font-size:clamp(44px,13vw,64px);font-weight:900;line-height:1.05}.tracker-hero small{color:var(--yellow);font-size:15px;font-weight:800}.tracker-tabs{background:var(--panel);border-radius:16px;grid-template-columns:1fr 1fr;gap:4px;padding:4px;display:grid}.tracker-tabs button{min-height:44px;color:var(--muted);background:0 0;border:0;border-radius:12px;font-weight:800}.tracker-tabs button[aria-current=page]{background:var(--raised-2);color:var(--text)}.tracker-actions{grid-auto-columns:1fr;grid-auto-flow:column;gap:10px;display:grid}.tracker-actions .action-btn{justify-content:center;min-height:52px;font-size:17px}.tracker-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.tracker-row,.tracker-item{background:var(--panel);width:100%;box-shadow:var(--elevation-raised);color:var(--text);text-align:left;border:0;border-radius:16px;flex-direction:column;gap:4px;padding:14px 16px;display:flex}button.tracker-row{transition:box-shadow .15s ease-out}@media (hover:hover) and (pointer:fine){button.tracker-row:hover{background:var(--raised);box-shadow:var(--elevation-raised-hover)}}.tracker-row-main{font-variant-numeric:tabular-nums;justify-content:space-between;gap:12px;font-size:16px;display:flex}.tracker-row small,.tracker-item small{color:var(--muted);font-size:13px}.tracker-up{color:var(--orange);font-weight:800}.tracker-down{color:var(--teal);font-weight:800}.tracker-item .tracker-due{color:var(--yellow);font-weight:800}.tracker-item-actions{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.tracker-item-actions .action-btn{min-height:44px}.tracker-subhead{color:var(--muted);margin:8px 0 0;font-size:16px}.tracker-empty,.tracker-loading{color:var(--muted);text-align:center;margin:0;padding:24px 8px}.tracker-card{background:var(--panel);box-shadow:var(--elevation-raised);border-radius:24px;padding:26px 24px}.tracker-card h1{margin:0 0 6px;font-size:28px}.tracker-card p{color:var(--muted);margin:0 0 18px}.tracker-form{gap:14px;display:grid}.tracker-form fieldset{border:0;gap:14px;min-width:0;margin:0;padding:0;display:grid}.tracker-form input{min-height:48px;font-size:16px}.tracker-error{color:var(--orange);margin:0;font-weight:700}.field>.field-error{color:var(--orange);margin-top:0;font-size:13px;font-weight:700}.field>input[aria-invalid=true]{border-color:var(--orange)}.action-btn:not(:disabled):active,.action-btn:not(.action-btn--secondary):not(:disabled):active,.add-main:not(:disabled):active{transform:scale(.97)}.tracker-danger{color:var(--pink)}.tracker-scan{gap:10px;min-width:0;display:grid}.tracker-scan video{object-fit:cover;background:var(--canvas);border-radius:14px;width:100%;max-height:240px}.tracker-scan video[hidden]{display:none}.tracker-scan-actions{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.tracker-scan-code{justify-content:space-between;align-items:center;gap:12px;margin:0;display:flex}.tracker-scan-digits{font-variant-numeric:tabular-nums;letter-spacing:.02em}.tracker-scan-type{grid-template-columns:1fr auto;align-items:start;gap:10px;display:grid}.tracker-scan-type>.action-btn{min-height:48px;margin-top:22px}.tracker-scan-status:empty{display:none}.tracker-scan-status,.tracker-scan-note{color:var(--muted);margin:0;font-size:14px}.tracker-confirm{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.tracker-preview{background:var(--raised);border-radius:14px;gap:8px;margin:0;padding:14px 16px;display:grid}.tracker-preview div{justify-content:space-between;gap:12px;display:flex}.tracker-preview dt{color:var(--muted)}.tracker-preview dd{font-variant-numeric:tabular-nums;margin:0;font-weight:800}
