:root{--purple-50:#f6f4fe;--purple-100:#ece7fd;--purple-200:#d9cffb;--purple-500:#8b5cf6;--purple-600:#7c3aed;--purple-700:#6d28d9;--ink:#1d1d1f;--muted:#68686d;--border:#e5e5ea;--toggle-off:#d1d1d6;--bg:#f5f5f7;--surface:#fff;--on-accent:#fff;--on-accent-soft:#ffffffeb;--on-accent-quiet:#ffffffb8;--on-accent-line:#ffffff80;--on-accent-scrim:#0000004d;--accent-text:#6d28d9;--scrim:#0006;--elevated:#fff;--chip-bg:#ece7fd;--chip-bg-hover:#d9cffb;--avatar-bg:#e5e5ea;--avatar-text:#48484a;--field-fill:#7676801f;--bubble-in:#e9e9eb;--hairline:#3c3c4329;--chevron:#8e8e93;--swatch-edge:#0000001f;--danger:#dc2626;--danger-dark:#b91c1c;--gain:#16a34a;--loss:var(--danger);--ok-bg:#dcfce7;--ok-ink:#15803d;--warn-bg:#fef3c7;--warn-ink:#b45309;--danger-bg:#fef2f2;--danger-edge:#fecaca;--focus-ring:#8b5cf62e;--chart-1:#30b589;--chart-2:#e88630;--chart-3:#2fa1da;--chart-4:#da4e7d;--chart-5:#d6b81f;--chart-muted:#c7c7cc;--chart-grid:#3c3c431f;--shadow-raised:0 1px 2px #00000040;--shadow-float:0 4px 14px #00000024;--shadow-pop:0 10px 30px #0000002e;--shadow-modal:0 20px 60px #00000040;--shadow-card:0 1px 2px #0000000a, 0 8px 24px #0000000d;--shadow-bar:0 -4px 20px #00000012;--shadow-group:0 0 0 .5px #0000000d, 0 1px 3px #0000000d;--radius-card:16px;--group-edge:#0000000d;--shadow-slice:-.5px 0 0 var(--group-edge), .5px 0 0 var(--group-edge), var(--edge-top), var(--edge-bottom);--material-bar:#f9f9fbdb;--material-float:#ffffffd1;--material-edge:#3c3c4338;--material-ring:#00000014;--rail:252px;--text-2xs:.72rem;--text-xs:.8rem;--text-sm:.85rem;--text-md:.92rem;--text-base:1rem;--text-lg:1.15rem;--text-xl:1.4rem;--text-2xl:1.55rem;--text-3xl:2rem;--text-4xl:2.75rem;--appbar-h:3.4rem;--toolbar-h:3.7rem;--content-pad:2.5rem;--content-pad-y:2.25rem;--content-max:100rem;--split-gap:1.5rem;--col-inset:calc(var(--content-pad) - min(100% - var(--rail), var(--content-max)) / 2);--list-pane-left:calc(50% + var(--rail) / 2 + var(--col-inset));--list-pane-right:calc(50% - var(--rail) / 2 + var(--split-gap) / 2);--detail-pane-left:calc(50% + var(--rail) / 2 + var(--split-gap) / 2);--detail-pane-right:calc(50% - var(--rail) / 2 + var(--col-inset));color-scheme:light}:root[data-theme=dark]{--purple-50:#241f36;--purple-100:#322a4a;--purple-200:#4a3f6b;--ink:#f5f5f7;--muted:#98989d;--border:#38383a;--toggle-off:#48484a;--bg:#000;--surface:#1c1c1e;--accent-text:#c4b5fd;--scrim:#0009;--elevated:#2c2c2e;--chip-bg:#443a66;--chip-bg-hover:#574a80;--avatar-bg:#3a3a3c;--avatar-text:#d1d1d6;--field-fill:#76768033;--bubble-in:#2c2c2e;--hairline:#545458a6;--chevron:#7c7c80;--swatch-edge:#8e8e93;--gain:#4ade80;--loss:#f87171;--ok-bg:#14352a;--ok-ink:#4ade80;--warn-bg:#3a2c12;--warn-ink:#fbbf24;--danger-bg:#3a1d1d;--danger-edge:#7f2a2a;--focus-ring:#a78bfa52;--chart-1:#4acfa2;--chart-2:#ec9951;--chart-3:#52b1e0;--chart-4:#e17096;--chart-5:#e3c73b;--chart-muted:#48484a;--chart-grid:#ebebf524;--shadow-group:none;--group-edge:transparent;--material-bar:#1c1c1edb;--material-float:#2c2c2ed1;--material-edge:#545458a6;--material-ring:#ffffff1f;color-scheme:dark}*{box-sizing:border-box}[hidden]{display:none!important}html{scrollbar-gutter:stable;-webkit-text-size-adjust:100%;text-size-adjust:100%}@media (width<=767.98px){html{font-size:106.25%}}body{font-variant-numeric:tabular-nums;color:var(--ink);background:var(--bg);min-height:100vh;margin:0;font-family:system-ui,-apple-system,Segoe UI,sans-serif;line-height:1.5}:root[data-theme=dark] .toggle-track:before{background:var(--ink)}h1{font-size:var(--text-3xl);letter-spacing:-.022em;color:var(--ink);margin:0 0 1rem;font-weight:700;line-height:1.1}h2{font-size:var(--text-lg);letter-spacing:-.01em;color:var(--ink);margin:0 0 .9rem;font-weight:700}h3.subhead{font-size:var(--text-2xs);text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:1.6rem 0 .6rem}label{font-size:var(--text-sm);color:var(--muted);margin:.75rem 0 .25rem;display:block}.money-field{position:relative}.money-field .money-cur{pointer-events:none;position:absolute;top:50%;left:.6rem;transform:translateY(-50%)}.money-field .money-cur:empty{display:none}.money-field:has(.money-cur:not(:empty)) input{padding-left:3.6rem}input[type=text],input[type=password],input[type=number],input[type=email],input[type=search],input[type=date],textarea{width:100%;font:inherit;font-variant-numeric:tabular-nums;font-size:var(--text-base);border:1px solid var(--border);background:var(--surface);color:var(--ink);border-radius:9px;padding:.6rem .75rem}textarea{resize:vertical;min-height:4.5rem}input:focus,textarea:focus{border-color:var(--purple-500);box-shadow:0 0 0 3px var(--focus-ring);outline:none}.btn{font:inherit;cursor:pointer;border:1px solid #0000;border-radius:999px;padding:.6rem 1.1rem;font-weight:600}.btn-primary{background:var(--purple-600);color:#fff;box-shadow:var(--shadow-raised);margin-top:1rem}.btn-primary:hover{background:var(--purple-700);box-shadow:var(--shadow-float)}.btn-link{color:var(--accent-text);cursor:pointer;font:inherit;font-weight:600;font-size:var(--text-sm);background:0 0;border:none;padding:0}.btn-link:hover{text-decoration:underline}.btn-ghost{background:var(--surface);border-color:var(--border);color:var(--accent-text)}.btn-ghost:hover{background:var(--purple-50);border-color:var(--purple-200)}.row-actions{flex:none;align-items:center;gap:.4rem;display:flex}.row-actions .btn{font-size:var(--text-xs);white-space:nowrap;margin:0;padding:.3rem .7rem}.row-actions .btn:disabled{opacity:.45;cursor:default;box-shadow:none}.load-more{margin:.85rem auto 0;display:block}.card{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-card);border-radius:14px;margin-bottom:1.25rem;padding:1.5rem}@media (width<=1023.98px){.split-detail .card.one-thing{box-shadow:none;background:0 0;border:none;border-radius:0;padding:0}}.panel{margin-bottom:1.25rem}.badge{font-size:var(--text-2xs);background:var(--chip-bg);color:var(--accent-text);border-radius:999px;padding:.1rem .55rem;font-weight:600;display:inline-block}.chip-kind{background:var(--field-fill);height:24px;color:var(--muted);font-size:var(--text-sm);letter-spacing:.01em;white-space:nowrap;border-radius:999px;align-items:center;padding:0 10px;font-weight:600;display:inline-flex}.badge-ok{background:var(--ok-bg);color:var(--ok-ink)}.badge-warn{background:var(--warn-bg);color:var(--warn-ink)}.badge-muted{background:var(--chip-bg);color:var(--muted)}.admin-user-idline{flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:-.5rem;display:flex}.row-marks{align-items:center;gap:.4rem;display:inline-flex}.unconfirmed-icon{color:var(--accent-text);display:inline-flex}.unconfirmed-icon svg{stroke:currentColor;width:1.15rem;height:1.15rem}.user-actions{flex-direction:column;align-items:stretch;gap:.5rem;display:flex}.muted{color:var(--muted);font-size:var(--text-md)}pre{background:var(--purple-50);border:1px solid var(--border);white-space:pre-wrap;word-break:break-word;font-size:var(--text-xs);border-radius:11px;margin:0;padding:1rem}.toast{left:50%;bottom:calc(5.5rem + env(safe-area-inset-bottom,0px));z-index:60;max-width:calc(100% - 2rem);font-size:var(--text-md);color:#fff;box-shadow:var(--shadow-pop);border-radius:10px;padding:.7rem 1.1rem;font-weight:600;position:fixed;transform:translate(-50%)}.toast-action{color:inherit;font:inherit;cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #ffffffbf;border-radius:999px;margin-left:.8rem;padding:.25rem .7rem}.toast-ok{background:var(--purple-600)}.toast-error{background:var(--danger)}@media (width>=768px){.toast{bottom:1.5rem}}.brand{font-weight:700;font-size:var(--text-base);align-items:center;gap:.55rem;display:flex}.logo{width:1.7rem;height:1.7rem;color:var(--purple-600);flex:none}.brand-text{flex-direction:column;min-width:0;line-height:1.25;display:none}.brand-name{min-width:0;font-size:var(--text-md);color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-weight:700;overflow:hidden}.brand-role{font-size:var(--text-xs);color:var(--muted);font-weight:400}@media (width>=768px){.brand{gap:.65rem;padding:0 .375rem}.brand .logo{width:2rem;height:2rem}.brand-text{display:flex}}button[aria-busy=true]{pointer-events:none;opacity:.85}button[aria-busy=true]:before{content:"";vertical-align:-.1em;border:2px solid;border-right-color:#0000;border-radius:50%;width:.85em;height:.85em;margin-right:.5em;animation:.7s linear infinite btn-busy-spin;display:inline-block}@keyframes btn-busy-spin{to{transform:rotate(360deg)}}.hint{margin:-.25rem 0 1rem}.form-msg{margin-top:.5rem}.form-msg-wide{margin-top:.75rem}.form-msg-tight{margin-top:.25rem}.flush-top{margin-top:0}.fine-print{font-size:var(--text-xs);margin:.25rem 0 0}.brand-centered{justify-content:center;margin-bottom:1rem}.brand-centered-login{margin-bottom:1.25rem}#login-screen,#set-password-screen{background:linear-gradient(180deg, var(--purple-100), var(--purple-50));justify-content:center;align-items:center;min-height:100vh;padding:1rem;display:flex}.login-stack{flex-direction:column;align-items:center;width:100%;max-width:22rem;display:flex;position:relative}.login-logo{--logo-lift:3rem;width:10rem;height:10rem;color:var(--purple-600);z-index:0;transform:translateY(calc(-1 * var(--logo-lift)));animation:1.5s cubic-bezier(.22,1,.36,1) .15s both login-logo-rise;position:relative}@keyframes login-logo-rise{0%{opacity:0;transform:translateY(90%)}to{transform:translateY(calc(-1 * var(--logo-lift)));opacity:1}}@media (prefers-reduced-motion:reduce){.login-logo{animation:none}}.login-card{z-index:1;width:100%;margin-top:-3.75rem;position:relative}#login-btn{width:fit-content;margin-inline:auto;display:block}.appbar{z-index:20;padding:calc(.7rem + env(safe-area-inset-top,0px)) calc(1rem + env(safe-area-inset-right,0px)) .7rem calc(1rem + env(safe-area-inset-left,0px));background:var(--surface);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:1rem;display:flex;position:fixed;top:0;left:0;right:0}.profile-btn{font:inherit;color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;padding:.3rem;line-height:1;display:inline-flex}.profile-btn svg{width:22px;height:22px;stroke:var(--accent-text)}.profile-btn>svg:first-of-type{display:none}.profile-btn:hover svg{opacity:.8}.profile-avatar{background:var(--field-fill);width:36px;height:36px;color:var(--ink);font-size:var(--text-md);border-radius:50%;flex:none;justify-content:center;align-items:center;font-weight:600;display:inline-flex}.profile-gear{display:none}.profile-id{font-size:var(--text-base);align-items:center;gap:.5rem;margin-bottom:1rem;display:flex}.profile-id #who{color:var(--muted);font-weight:600}.pref-row{justify-content:space-between;align-items:center;gap:1rem;padding:.5rem 0;display:flex}.pref-row+.pref-row{border-top:1px solid var(--border)}.btn-center{width:fit-content;margin-left:auto;margin-right:auto;display:block}#change-password-btn{margin-top:1rem}.content{width:100%;padding:calc(4.25rem + env(safe-area-inset-top,0px)) calc(1.1rem + env(safe-area-inset-right,0px)) calc(5.75rem + env(safe-area-inset-bottom,0px)) calc(1.1rem + env(safe-area-inset-left,0px));max-width:52rem;margin:0 auto}.home-hero{margin-bottom:22px}.home-hero h1{margin-bottom:5px}@media (width<=767.98px){.home-hero{margin-bottom:16px}.home-hero h1{font-size:var(--text-2xl);letter-spacing:-.02em;margin:0 4px 4px;line-height:1.15}.home-hero .muted{margin:0 4px}}.home-hero .muted{font-size:var(--text-md);margin:0}.home-figures{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:22px;display:grid}.home-figures[hidden]{display:none}@media (width>=1024px){.home-figures{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}}@media (width<=767.98px){.figure-tile:nth-child(n+3){display:none}}.figure-tile{border-radius:var(--radius-card);min-width:0;box-shadow:var(--shadow-group);background:var(--surface);border:none;flex-direction:column;padding:14px 14px 12px;display:flex;container-type:inline-size}.figure-label{font-size:var(--text-sm);color:var(--muted);font-weight:600}.figure-value{font-size:min(var(--text-2xl), 14cqi);letter-spacing:-.02em;font-variant-numeric:tabular-nums;white-space:nowrap;margin-top:4px;font-weight:700}.figure-line{font-size:var(--text-xs);color:var(--muted);flex-wrap:wrap;display:flex}@media (width>=768px){.figure-tile{padding:16px 18px}.figure-label{font-size:var(--text-md)}.figure-value{font-size:min(var(--text-3xl), 14cqi);margin:6px 0 2px}.figure-line{font-size:var(--text-sm)}}.income-card{border-radius:var(--radius-card);box-shadow:var(--shadow-group);background:var(--surface);border:none;margin-bottom:0;padding:18px 18px 16px}.income-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.income-title{font-size:var(--text-base);letter-spacing:0;margin:0;font-weight:600}.income-caja{background:var(--field-fill);height:28px;color:var(--muted);font-size:var(--text-sm);white-space:nowrap;border-radius:999px;align-items:center;padding:0 12px;font-weight:500;display:inline-flex}.income-total{font-size:var(--text-3xl);letter-spacing:-.025em;font-variant-numeric:tabular-nums;margin:10px 0 4px;font-weight:700;line-height:1.05}.income-sign{color:var(--muted);margin-right:4px;font-size:.55em;font-weight:600}.income-delta{font-size:var(--text-md);margin:0 0 14px}.income-delta-pct{font-weight:600}.income-delta-rest{color:var(--muted)}.income-chart{touch-action:pan-y;outline:none}.income-chart:focus-visible{outline:2px solid var(--purple-500);outline-offset:3px;border-radius:8px}.income-plot{width:100%;height:auto;display:block;overflow:visible}.income-grid{stroke:var(--chart-grid)}.income-xtick{fill:var(--muted);text-anchor:middle;font-size:13px}.income-area{fill:var(--purple-600);fill-opacity:.12;stroke:none}.income-line-previous{fill:none;stroke:var(--muted);stroke-opacity:.5;stroke-width:2px}.income-line-current{fill:none;stroke:var(--purple-600);stroke-width:2.5px}.income-today-dot{fill:var(--surface);stroke:var(--purple-600);stroke-width:2.5px}.income-today-guide{stroke:var(--muted);stroke-opacity:.45;stroke-width:1px;stroke-dasharray:3 3}.income-cursor-line{stroke:var(--muted);stroke-width:1px}.income-cursor-dot{stroke:var(--surface);stroke-width:2px}.income-cursor-current{fill:var(--purple-600)}.income-cursor-previous{fill:var(--muted)}.income-legend{font-size:var(--text-sm);color:var(--ink);gap:18px;margin-top:10px;display:flex}.income-legend-item{white-space:nowrap;align-items:center;gap:7px;display:flex}.income-legend-dot{border-radius:50%;width:8px;height:8px}.income-legend-current .income-legend-dot{background:var(--purple-600)}.income-legend-previous .income-legend-dot{background:var(--muted);opacity:.5}@media (width>=768px){.income-card{padding:22px 26px 20px}.income-title{font-size:var(--text-lg)}.income-total{font-size:var(--text-4xl);margin:12px 0 6px}.income-delta{font-size:var(--text-base);margin-bottom:18px}}.home-top{flex-direction:column;gap:22px;margin-bottom:28px;display:flex}.waiting-card{flex-direction:column;order:-1;min-width:0;display:flex}.waiting-card[hidden]{display:none}@media (width>=1024px){.home-top{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);align-items:stretch;gap:20px;display:grid}.home-top>.income-card{grid-area:1/1;min-width:0}.waiting-card{order:0;grid-area:1/2}.home-top>.waiting-card:only-child,.home-top>.income-card[hidden]+.waiting-card{grid-column:1/-1}}.waiting-title{font-size:var(--text-lg);margin:0 4px 10px}@media (width>=768px){.waiting-title{font-size:var(--text-lg);margin:0 0 12px}}.waiting-list{border-radius:var(--radius-card);box-shadow:var(--shadow-group);background:var(--surface);flex:auto;overflow:hidden}.waiting-row{background-color:#0000;background-image:linear-gradient(var(--hairline), var(--hairline));width:100%;color:var(--ink);font:inherit;text-align:start;cursor:pointer;background-position:100% 0;background-repeat:no-repeat;background-size:calc(100% - 60px) 1px;border:none;align-items:center;gap:14px;padding:11px 14px;transition:background-color .15s;display:flex}.waiting-row:first-child{background-image:none}.waiting-row:hover{background-color:var(--purple-50)}@media (width>=768px){.waiting-row{background-size:calc(100% - 62px) 1px;padding:12px 16px}}.waiting-icon{background:var(--field-fill);border-radius:9px;flex:none;justify-content:center;align-items:center;width:32px;height:32px;display:inline-flex}.waiting-icon .nav-icon{width:18px;height:18px;stroke:var(--ink);display:block}.waiting-words{flex-direction:column;flex:auto;min-width:0;line-height:1.3;display:flex}.waiting-name{font-size:var(--text-base);font-weight:600}.waiting-line{font-size:var(--text-sm);color:var(--muted);margin-top:1px}.waiting-count{font-size:var(--text-base);font-variant-numeric:tabular-nums;font-weight:600}.waiting-chev{color:var(--chevron);font-size:var(--text-lg);flex:none;line-height:1}.today-card{margin-bottom:28px}.today-head{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:12px;display:flex}.today-title{font-size:var(--text-lg);margin:0}@media (width>=768px){.today-title{font-size:var(--text-lg)}}.today-all{font:inherit;font-size:var(--text-md);color:var(--accent-text);cursor:pointer;white-space:nowrap;background:0 0;border:none;padding:0;font-weight:500}.today-list{border-radius:var(--radius-card);box-shadow:var(--shadow-group);background:var(--surface);margin:0;padding:0;list-style:none;overflow:hidden}.today-row{background-image:linear-gradient(var(--hairline), var(--hairline));background-position:100% 0;background-repeat:no-repeat;background-size:calc(100% - 72px) 1px;align-items:center;gap:14px;padding:10px 16px;display:flex}.today-row:first-child{background-image:none}.today-hour{width:42px;font-size:var(--text-md);color:var(--muted);font-variant-numeric:tabular-nums;flex:none}.today-words{flex-direction:column;flex:auto;min-width:0;line-height:1.3;display:flex}.today-words .facts-line,.today-label{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}@media (width<=767.98px){.today-hour{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.today-row{background-size:calc(100% - 16px) 1px}.today-words .facts-line[data-hour]:before{content:attr(data-hour) " · "}}.today-label{font-size:var(--text-base);font-weight:600}.today-amount{flex:none}.today-money{font-size:var(--text-base);font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:600}.today-money.today-void{color:var(--muted);text-decoration:line-through}@media (width>=768px){.today-row{background-size:calc(100% - 74px) 1px;gap:16px}.today-hour{width:44px}}.home-launch{grid-template-columns:repeat(auto-fill,minmax(9rem,1fr));gap:.7rem;display:grid}.launch-card{border-radius:var(--radius-card);box-shadow:var(--shadow-group);background:var(--surface);color:var(--ink);font:inherit;cursor:pointer;border:none;flex-direction:column;justify-content:center;align-items:center;gap:.5rem;padding:1.4rem .8rem;display:flex}.launch-card:hover{background:var(--purple-50);box-shadow:0 0 0 1px var(--purple-200)}.launch-card .nav-icon{width:22px;height:22px;stroke:var(--accent-text)}.launch-label{font-size:var(--text-md);font-weight:600}@media (width<=767.98px){.home-launch{grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem}.launch-card{padding:1rem .4rem}.launch-label{font-size:var(--text-sm);text-align:center}}@media (width>=1024px){#home-launch-label,#home-launch{display:none}}.modnav{z-index:20;padding:.6rem calc(.75rem + env(safe-area-inset-right,0px)) calc(.6rem + env(safe-area-inset-bottom,0px)) calc(.75rem + env(safe-area-inset-left,0px));background:var(--surface);border-top:1px solid var(--border);box-shadow:var(--shadow-bar);justify-content:space-around;align-items:center;gap:.25rem;display:flex;position:fixed;bottom:0;left:0;right:0}@media (width<=767.98px){@supports (backdrop-filter:blur(1px)){.modnav{background:var(--material-bar);backdrop-filter:blur(20px)saturate(180%);border-top:.5px solid var(--material-edge);box-shadow:none}}}.nav-item{min-width:0;color:var(--muted);font:inherit;font-weight:500;font-size:var(--text-2xs);white-space:nowrap;cursor:pointer;background:0 0;border:none;border-radius:.75rem;flex-direction:column;flex:1 1 0;align-items:center;gap:.15rem;padding:.25rem 0;line-height:1.2;display:flex}.nav-item:hover{color:var(--ink)}.nav-item.active{color:var(--accent-text);font-weight:600}.nav-icon{stroke:currentColor;flex:none;width:25px;height:25px}.nav-badge{background:var(--purple-600);color:#fff;min-width:1.15rem;font-size:var(--text-2xs);text-align:center;border-radius:999px;flex:none;padding:.05rem .35rem;font-weight:700;line-height:1.4}.nav-item{position:relative}.nav-pip{background:var(--purple-500);width:.6rem;height:.6rem;box-shadow:0 0 0 2px var(--surface);pointer-events:none;border-radius:50%;position:absolute;top:.15rem;right:.15rem}.nav-item .nav-pip{left:calc(50% + .5rem);right:auto}.nav-item .nav-badge{position:absolute;top:0;left:calc(50% + .35rem)}.nav-label{display:none}.nav-item .nav-label{text-overflow:ellipsis;min-width:0;max-width:100%;display:block;overflow:hidden}.nav-plus{background:var(--purple-600);width:53px;height:53px;box-shadow:var(--shadow-float);border-radius:50%;flex:none;justify-content:center;padding:0;top:-1.5rem}.nav-plus:hover{background:var(--purple-600)}.nav-plus .nav-icon{stroke:#fff;width:26px;height:26px;transition:transform .18s}.nav-plus[aria-expanded=true] .nav-icon{transform:rotate(45deg)}.plus-dial{left:50%;bottom:calc(5.6rem + env(safe-area-inset-bottom,0px));transform-origin:bottom;z-index:21;background:var(--elevated);border:1px solid var(--border);box-shadow:var(--shadow-pop);border-radius:1.4rem;flex-direction:column;gap:.4rem;padding:.6rem;animation:.18s dial-pop;display:flex;position:fixed;transform:translate(-50%)}@keyframes dial-pop{0%{opacity:0;transform:translate(-50%)translateY(10px)scale(.85)}}.plus-action{color:var(--ink);font:inherit;cursor:pointer;background:0 0;border:none;border-radius:999px;align-items:center;gap:.65rem;padding:.2rem .5rem;font-weight:600;display:flex}.plus-action-disc{background:var(--purple-50);border-radius:50%;flex:none;justify-content:center;align-items:center;width:40px;height:40px;transition:background .15s;display:inline-flex}.plus-action:hover .plus-action-disc{background:var(--purple-100)}.plus-action-icon{width:20px;height:20px;stroke:var(--accent-text);flex:none}.plus-action-label{white-space:nowrap}.plus-editor{gap:.5rem;width:min(100vw - 1.5rem,24rem);padding:.75rem}.plus-editor-hint,.plus-editor-empty{font-size:var(--text-sm);color:var(--muted);text-align:center;margin:0}.plus-zone{border-radius:1rem;flex-wrap:wrap;gap:.25rem;min-height:4.6rem;padding:.25rem;transition:background .15s;display:flex}.plus-zone-chosen{background:var(--purple-50)}.plus-zone.drop-here{background:var(--purple-100)}.plus-editor-divider{background:var(--border);height:1px}.plus-tile{width:4.6rem;color:var(--ink);font:inherit;font-size:var(--text-xs);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;background:0 0;border:none;border-radius:.8rem;flex-direction:column;align-items:center;gap:.2rem;padding:.3rem 0;font-weight:600;display:flex}.plus-tile-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;overflow:hidden}.plus-tile.lifting{opacity:.35}.plus-tile-ghost{pointer-events:none;z-index:22;background:var(--elevated);box-shadow:var(--shadow-pop);position:fixed;transform:translate(-50%,-50%)scale(1.1)}@media (width>=768px){#app{grid-template-columns:var(--rail) minmax(0, 1fr);grid-template-rows:auto 1fr;grid-template-areas:"appbar content""nav content";min-height:100vh;display:grid}.appbar{border-bottom:none;border-right:1px solid var(--border);flex-direction:column;grid-area:appbar;align-items:stretch;gap:.9rem;padding:1.25rem;position:static}.modnav{border-top:none;border-right:1px solid var(--border);box-shadow:none;flex-direction:column;grid-area:nav;place-content:start flex-start;gap:.25rem;padding:1rem 1rem 0;position:static}.content{padding:var(--content-pad-y) var(--content-pad);grid-area:content;min-width:0}.profile-btn{background:var(--surface);border-top:1px solid var(--border);width:100%;color:var(--ink);font:inherit;font-weight:400;font-size:var(--text-md);border-radius:9px;justify-content:flex-start;gap:.65rem;margin-top:auto;padding:.435rem .75rem;position:sticky;bottom:0}.profile-btn:hover{background:var(--purple-50);color:var(--ink)}.profile-btn svg{display:none}.profile-btn .profile-gear{width:18px;height:18px;stroke:var(--muted);flex:none;margin-left:auto;display:block}.profile-avatar{background:var(--avatar-bg);width:30px;height:30px;color:var(--avatar-text);font-size:var(--text-2xs);letter-spacing:.02em;border-radius:50%;flex:none;justify-content:center;align-items:center;font-weight:600;display:inline-flex}.nav-item{width:100%;color:var(--ink);font-weight:400;font-size:var(--text-md);line-height:inherit;background:0 0;border-radius:9px;flex-direction:row;flex:none;gap:.4rem;padding:.435rem .75rem}.nav-item:hover{background:var(--purple-50)}.nav-item.active{background:var(--purple-100);color:var(--ink);font-weight:600}.nav-icon{width:20px;height:20px;stroke:var(--purple-600)}.nav-item.active .nav-icon{stroke:var(--accent-text)}.nav-item .nav-pip{width:8px;height:8px;box-shadow:none;flex:none;position:static}.nav-item .nav-badge{position:static}.nav-item .nav-label{text-align:start;flex:auto}.nav-label{display:inline}.nav-group{flex-direction:column;gap:.25rem;width:100%;display:flex}.nav-group-label{font-size:var(--text-xs);color:var(--muted);padding:.75rem .75rem .15rem;font-weight:600}}@media (width>=1280px){.content{max-width:64rem}}@media (width>=1024px){.content:has(>.split-view:not([hidden])){max-width:var(--content-max)}}.max-hero{border-radius:var(--radius-card);width:100%;min-height:52px;box-shadow:var(--shadow-group);background:var(--surface);cursor:pointer;text-align:left;font-size:var(--text-base);border:none;align-items:center;gap:.6rem;margin:0 0 20px;padding:.75rem 1rem;display:flex}.max-hero:hover{background:var(--purple-50);box-shadow:0 0 0 1px var(--purple-200)}.max-hero-icon{flex:none;width:1.25rem;height:1.25rem;display:inline-flex}.max-hero-icon svg{width:100%;height:100%;stroke:var(--accent-text)}.max-hero-label{color:var(--muted)}.max-card{flex-direction:column;width:min(92vw,34rem);height:min(80vh,40rem);display:flex}.max-thread{overscroll-behavior:contain;flex-direction:column;flex:auto;gap:.5rem;min-height:0;padding:.25rem;display:flex;overflow-y:auto}.max-msg{border:1px solid var(--border);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:.6rem;align-self:stretch;padding:.6rem .85rem}.max-user{background:var(--surface)}.max-assistant{background:var(--chip-bg);border-color:var(--purple-200)}.max-thinking{color:var(--muted);align-items:center;gap:.5rem;display:flex}.max-thinking:before{content:"";border:2px solid var(--border);border-top-color:var(--purple-500);border-radius:50%;flex:none;width:.9em;height:.9em;animation:.8s linear infinite max-think-spin}@keyframes max-think-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.max-thinking:before{animation-duration:2.4s}}.max-greeting{text-align:center;flex-direction:column;flex:auto;justify-content:center;align-items:center;gap:.5rem;min-height:0;padding:1rem;display:flex}.max-mascot{width:clamp(4.5rem,22vw,7rem);height:auto;color:var(--purple-600)}.max-greeting-name{font-size:var(--text-lg);margin:0;font-weight:600}.max-greeting-line{color:var(--muted);margin:0}.max-msg.md>:first-child{margin-top:0}.max-msg.md>:last-child{margin-bottom:0}.max-msg.md p{margin:.5rem 0}.max-msg.md ul,.max-msg.md ol{margin:.5rem 0;padding-left:1.25rem}.max-msg.md li{margin:.15rem 0}.max-msg.md h3,.max-msg.md h4,.max-msg.md h5,.max-msg.md h6{font-size:var(--text-md);margin:.6rem 0 .3rem}.max-msg.md code{background:var(--bg);border-radius:.3rem;padding:.05rem .3rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.9em}.md-table-wrap{margin:.5rem 0;overflow-x:auto}.max-msg.md .md-table{border-collapse:collapse;width:100%;font-size:var(--text-sm)}.max-msg.md .md-table th,.max-msg.md .md-table td{text-align:left;border-bottom:1px solid var(--border);white-space:nowrap;padding:.35rem .6rem}.max-msg.md .md-table th{color:var(--muted);font-weight:600;font-size:var(--text-2xs);text-transform:uppercase;letter-spacing:.02em}.max-msg.md .md-table tbody tr:last-child td{border-bottom:none}.max-msg.md .md-product{border:1px solid var(--border);background:var(--surface);max-width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;border-radius:.7rem;align-items:baseline;gap:.4rem;margin:.15rem 0;padding:.35rem .6rem;display:inline-flex}.max-msg.md .md-product:hover{border-color:var(--purple-600);background:var(--chip-bg)}.max-msg.md .md-product-name{font-weight:600}.max-msg.md .md-product-sku{font-size:var(--text-2xs);color:var(--muted)}.max-msg.md .md-product:after{content:"→";color:var(--accent-text);margin-left:.2rem}@media (width<=1023.98px){.modal-page .max-card{width:100%;height:100%}}.scan-btn{border:1px solid var(--border);background:var(--surface);width:2.4rem;height:2.4rem;color:var(--accent-text);cursor:pointer;border-radius:50%;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.scan-btn:hover{background:var(--chip-bg)}.scan-btn svg{width:1.2rem;height:1.2rem;stroke:var(--accent-text)}.scan-accent .search-action-icon{stroke:var(--accent-text)}.serial-row{align-items:center;gap:.5rem;display:flex}.serial-row input{flex:auto;min-width:0}.scan-page{z-index:100;background:#000;position:fixed;inset:0;overflow:hidden}.scan-page video{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.scan-overlay{flex-direction:column;display:flex;position:absolute;inset:0}.scan-dim{background:#0000008c;flex:1}.scan-band{border-top:2px solid #ffffffbf;border-bottom:2px solid #ffffffbf;flex:none;height:25vh}.scan-close{top:calc(.75rem + env(safe-area-inset-top,0px));right:calc(.75rem + env(safe-area-inset-right,0px));color:#fff;width:2.6rem;height:2.6rem;font-size:var(--text-2xl);cursor:pointer;background:#00000080;border:none;border-radius:50%;justify-content:center;align-items:center;line-height:1;display:inline-flex;position:absolute}.scan-zoom{right:calc(.75rem + env(safe-area-inset-right,0px));bottom:calc(1.25rem + env(safe-area-inset-bottom,0px));color:#fff;min-width:2.6rem;height:2.6rem;font-size:var(--text-md);font-variant-numeric:tabular-nums;cursor:pointer;background:#00000080;border:none;border-radius:999px;justify-content:center;align-items:center;padding:0 .6rem;font-weight:600;display:inline-flex;position:absolute}.scan-hint{left:0;right:0;bottom:calc(1.5rem + env(safe-area-inset-bottom,0px));text-align:center;color:#fff;text-shadow:0 1px 3px #000c;margin:0;position:absolute}.pane-off,.split-view .detail-empty{display:none}.pane-title{margin:0 0 .6rem;display:none}.split-view:not(:has(>.split-list.pane-off)) .pane-title{display:block}#orders-list .tenant.active,#transport-list .tenant.active{background:var(--surface)}@media (width>=1024px){.split-view{gap:var(--split-gap);grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;display:grid}.split-view>.split-list,.split-view>.split-detail{max-height:calc(100dvh - var(--content-pad-y) * 2);overscroll-behavior:contain;scrollbar-gutter:stable both-edges;padding-inline:.5rem;overflow-y:auto}.split-view .pane-off{display:block}.split-view:not(.has-detail) .split-detail>:not(.detail-empty){display:none}.split-view:not(.has-detail) .detail-empty{display:block}.split-view:has(>.split-list[hidden]){grid-template-columns:minmax(0,1fr)}.split-view>.module-toolbar{grid-column:1/-1;margin-bottom:0;padding-inline:.5rem}.split-view:has(>.module-toolbar){row-gap:.25rem}.split-view:has(>.module-toolbar)>.split-list,.split-view:has(>.module-toolbar)>.split-detail{max-height:calc(100dvh - var(--content-pad-y) * 2 - var(--toolbar-h) - .25rem)}.split-view>.contacts-bar{grid-column:1/-1;padding-inline:.5rem}.split-view>.contacts-bar,.split-view>.contacts-bar .module-toolbar{margin-bottom:0}.scope-bar.contacts-scope{display:none}.split-view .pane-title{display:block}.split-list .tenant.active,#orders-list .tenant.active,#transport-list .tenant.active{background:var(--purple-100)}}@media (width<=1023.98px){.split-view.has-detail>.module-toolbar{display:none}#app{view-transition-name:screen}.modnav{view-transition-name:modnav}}::view-transition-old(root),::view-transition-new(root),::view-transition-group(screen),::view-transition-group(modnav),::view-transition-old(modnav),::view-transition-new(modnav){animation:none}::view-transition-image-pair(screen){overflow:clip}html[data-pane-dir]::view-transition-old(screen),html[data-pane-dir]::view-transition-new(screen){background:var(--bg);height:auto;animation-duration:.25s;animation-timing-function:ease-out;animation-fill-mode:both}html[data-pane-dir=push]::view-transition-old(screen){animation-name:pane-out-left}html[data-pane-dir=push]::view-transition-new(screen){animation-name:pane-in-right}html[data-pane-dir=back]::view-transition-old(screen){animation-name:pane-out-right}html[data-pane-dir=back]::view-transition-new(screen){animation-name:pane-in-left}@keyframes pane-in-right{0%{transform:translate(100%)}}@keyframes pane-out-left{to{transform:translate(-100%)}}@keyframes pane-in-left{0%{transform:translate(-100%)}}@keyframes pane-out-right{to{transform:translate(100%)}}ul{flex-direction:column;gap:.4rem;margin:0;padding:0;list-style:none;display:flex}.tenant{text-align:left;background:var(--surface);border:1px solid var(--border);width:100%;color:var(--ink);font:inherit;cursor:pointer;border-radius:10px;justify-content:space-between;align-items:center;padding:.7rem .9rem;font-weight:500;display:flex}.tenant:hover{background:var(--purple-50);border-color:var(--purple-200)}.tenant.active{background:var(--purple-100);border-color:var(--purple-500)}.pill{font-size:var(--text-2xs);color:var(--muted);background:var(--purple-50);border-radius:999px;padding:.1rem .55rem}ul.grouped{--group-radius:14px;--row-pad:.825rem;--row-inset:var(--row-pad);gap:0}@media (width>=768px){ul.grouped{--row-pad:1rem}}ul.grouped>li:not(.list-section,.empty){background:var(--surface);--edge-top:0 0 transparent;--edge-bottom:0 0 transparent;box-shadow:var(--shadow-slice);border-radius:0;position:relative;overflow:clip}ul.grouped>li:not(.list-section,.empty,.add-li)+li:not(.list-section,.empty):before,ul.grouped>.add-li+.add-li:before{content:"";top:0;left:var(--row-inset);background:var(--hairline);pointer-events:none;height:1px;position:absolute;right:0}ul.grouped>li:first-child,ul.grouped>.list-section+li,ul.grouped>.add-li+li:not(.add-li){border-top-left-radius:var(--group-radius);border-top-right-radius:var(--group-radius);--edge-top:0 -.5px 0 var(--group-edge)}ul.grouped>li:last-child,ul.grouped>li:has(+.list-section),ul.grouped>.add-li:has(+li:not(.add-li)){border-bottom-left-radius:var(--group-radius);border-bottom-right-radius:var(--group-radius);--edge-bottom:0 .5px 0 var(--group-edge), 0 1px 3px var(--group-edge)}ul.grouped>.add-li+li:not(.add-li,.empty){margin-top:.9rem}:where(ul.grouped)>li.row,:where(ul.grouped)>li>.row,:where(ul.grouped)>li.user-role-row,:where(ul.grouped)>li.skeleton-row,:where(ul.grouped) .tenant{padding:.7rem var(--row-pad);border:0 solid #0000}:where(ul.grouped)>li>.row,:where(ul.grouped) .tenant{background:0 0;border-radius:0}:where(ul.grouped)>li.row:has(>.tenant){padding-left:0}ul.grouped .tenant:active{background:var(--purple-100);transform:none}ul.grouped .tenant.active :is(.chip,.badge:not(.badge-ok,.badge-warn,.chip-kind),.pill){background:var(--surface)}ul.grouped .tenant:focus-visible{outline-offset:-2px}.list-section{top:calc(var(--appbar-h) + env(safe-area-inset-top,0px) - 1px + var(--toolbar-h));z-index:1;background:var(--bg);color:var(--muted);font-size:var(--text-sm);padding:1rem .25rem .5rem;font-weight:600;position:sticky}@media (width>=768px){.list-section{top:var(--toolbar-h)}}.drag-ghost{z-index:1000;pointer-events:none;opacity:.6;background:var(--surface);box-shadow:var(--shadow-pop);border-radius:10px;list-style:none;position:fixed;top:0;left:0}.empty{text-align:center;min-height:4rem;color:var(--muted);font-size:var(--text-md);grid-column:1/-1;justify-content:center;align-items:center;margin:0;padding:1.25rem 1.1rem;display:flex}.skeleton-row{border:1px solid var(--border);background:var(--surface);border-radius:10px;flex-direction:column;gap:.45rem;padding:.85rem .9rem;display:flex}.skeleton-bar{background:linear-gradient(90deg, var(--border) 25%, var(--bg) 50%, var(--border) 75%);background-size:200% 100%;border-radius:999px;width:55%;height:.7rem;animation:1.4s ease-in-out infinite skeleton-sheen}.skeleton-bar-sub{width:32%;height:.55rem}@keyframes skeleton-sheen{0%{background-position:200% 0}to{background-position:-200% 0}}@media (prefers-reduced-motion:reduce){.skeleton-bar{background:var(--border);animation:none}}.facts{flex-wrap:wrap;align-items:baseline;gap:.1rem .7rem;min-width:0;display:flex}.facts>:first-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.facts-line{min-width:0;color:var(--muted);font-size:var(--text-sm);text-overflow:ellipsis;white-space:nowrap;margin-top:2px;display:block;overflow:hidden}.row.money-row,.tenant.money-row{padding-left:calc(var(--row-pad,.9rem) + 10px);border-left-width:0;position:relative}.row.money-row:after,.tenant.money-row:after{content:"";pointer-events:none;background:0 0;border-radius:2px;width:4px;position:absolute;top:8px;bottom:8px;left:6px}ul.grouped:has(>li .money-row){--row-inset:calc(var(--row-pad) + 10px)}.money-row.money-in{border-left-color:var(--gain)}.row.money-in:after,.tenant.money-in:after{background:var(--gain)}.money-row.money-out{border-left-color:var(--loss)}.row.money-out:after,.tenant.money-out:after{background:var(--loss)}.money-row.money-void{border-left-color:var(--purple-500)}.row.money-void:after,.tenant.money-void:after{background:var(--purple-500)}.picker-btn{width:100%;font:inherit;font-size:var(--text-base);text-align:left;border:1px solid var(--border);background:var(--surface);color:var(--ink);cursor:pointer;border-radius:9px;justify-content:space-between;align-items:center;gap:.5rem;padding:.6rem .75rem;display:flex}.picker-btn:hover:not(:disabled){border-color:var(--purple-200)}.picker-btn:focus-visible{border-color:var(--purple-500);box-shadow:0 0 0 3px var(--focus-ring);outline:none}.picker-btn:disabled{cursor:default;color:var(--muted);background:var(--bg)}.picker-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.picker-btn[data-value=""] .picker-label{color:var(--muted)}.picker-caret{color:var(--muted);flex:none}.back-btn{border:1px solid var(--border);background:var(--surface);width:40px;height:40px;color:var(--accent-text);cursor:pointer;border-radius:50%;flex:none;justify-content:center;align-items:center;margin-bottom:.75rem;padding:0;transition:background .15s;display:inline-flex}.back-btn:hover{background:var(--chip-bg)}.back-btn>[aria-hidden]{font-size:var(--text-2xl);line-height:1;transform:translate(-1px,-2px)}.back-label{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.appbar-back{border:1px solid var(--border);background:var(--surface);width:40px;height:40px;color:var(--accent-text);cursor:pointer;border-radius:50%;flex:none;justify-content:center;align-items:center;padding:0;display:none}.appbar-back>span[aria-hidden]{font-size:var(--text-2xl);line-height:1;transform:translate(-1px,-2px)}.appbar-action-icon{stroke:currentColor;width:20px;height:20px}.gsearch{border:1px solid var(--border);background:var(--surface);min-width:0;color:var(--muted);font:inherit;cursor:pointer;border-radius:999px;flex:1;align-items:center;gap:.5rem;padding:.45rem .8rem;display:flex}.gsearch-icon{stroke:currentColor;flex:none;width:16px;height:16px}.gsearch-ph{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.gsearch-kbd{font:inherit;font-size:var(--text-2xs);color:var(--muted);border:1px solid var(--border);border-radius:6px;margin-left:auto;padding:.05rem .35rem}#appbar-title{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:700;overflow:hidden}#global-search-modal input{width:100%}@media (width>=1024px){#appbar-title{display:none}}.appbar:not([data-appbar=search]) .gsearch{display:none}@media (width>=768px){#app .appbar .gsearch{background:var(--field-fill);font-size:var(--text-md);border:none;border-radius:.625rem;padding:.3rem .625rem;display:flex}.gsearch-kbd{background:var(--surface);font-weight:600}}.gsearch-results{overscroll-behavior:contain;max-height:min(60vh,28rem);margin:.75rem 0 0;padding:0;list-style:none;overflow-y:auto}.gsearch-empty{padding:.75rem .25rem;display:block}.gsearch-hit{width:100%;color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:10px;align-items:center;gap:.6rem;padding:.5rem .6rem;display:flex}.gsearch-hit:hover{background:var(--chip-bg)}.gsearch-hit-icon{width:20px;height:20px;stroke:var(--accent-text);flex:none}.gsearch-hit-text{flex-direction:column;min-width:0;display:flex}.gsearch-hit-label{white-space:nowrap;text-overflow:ellipsis;min-width:0;font-weight:600;overflow:hidden}.gsearch-hit-sub{font-size:var(--text-2xs)}.appbar:not([data-appbar=deep]) .appbar-action,#appbar-avatar{display:none}@media (width<=1023.98px){#app[data-appbar=surface]{--appbar-h:0px}#app[data-appbar=surface] .appbar{display:none}#app[data-appbar=surface] .content{padding-top:calc(.85rem + env(safe-area-inset-top,0px))}.appbar[data-appbar=search] #appbar-title{display:none}.appbar[data-appbar=search]{background:var(--bg);border-bottom:none}.appbar[data-appbar=deep] .brand,.appbar[data-appbar=deep] .gsearch,.appbar[data-appbar=deep] .profile-btn{display:none}.appbar[data-appbar=deep] .appbar-back{display:inline-flex}.appbar[data-appbar=deep] #appbar-title{margin-right:auto}.appbar[data-appbar=deep]{background:var(--bg);border-bottom:none;justify-content:flex-start;gap:.75rem}#app[data-appbar=deep] .pane-name{display:none}#app[data-appbar=deep] #product-view .pane-name{display:block}#app[data-appbar=deep]:not([data-scrolled]):has(#stock-detail-page:not(.pane-off)) #appbar-title{visibility:hidden}#app[data-appbar=deep] .chat-head{display:none}.appbar[data-appbar=deep] #appbar-avatar:not([hidden]){display:inline-flex}.gsearch-kbd{display:none}}.compose{align-items:flex-end;gap:.5rem;margin-top:.75rem;display:flex}.compose textarea{resize:none;overscroll-behavior:contain;min-width:0;min-height:0;max-height:140px;font:inherit;border:1px solid var(--border);background:var(--surface);color:var(--ink);border-radius:.9rem;flex:auto;padding:.45rem .7rem;line-height:1.4;overflow-y:auto}.compose-send{background:var(--purple-600);color:#fff;cursor:pointer;border:none;border-radius:50%;flex:none;justify-content:center;align-items:center;width:2.4rem;height:2.4rem;padding:0;display:inline-flex}.compose-send:hover{background:var(--purple-700)}.compose-send:disabled{opacity:.5;cursor:default}.compose-send svg{stroke:currentColor;width:1.15rem;height:1.15rem}.compose-mic{background:var(--toggle-off);color:var(--ink)}.compose-mic:hover{background:var(--border)}.compose-mic.recording{background:var(--purple-600);color:#fff;animation:1.2s ease-in-out infinite compose-pulse}@keyframes compose-pulse{50%{box-shadow:0 0 0 6px #7c3aed40}}.compose-cancel{margin-right:auto}.compose-timer{font-variant-numeric:tabular-nums;font-size:var(--text-sm);color:var(--muted);align-self:center}.chev{color:var(--chevron);font-size:var(--text-xl);font-weight:600;line-height:1}.fin-expandable{cursor:pointer}.fin-open{border-bottom-right-radius:0;border-bottom-left-radius:0}.fin-lines{border-left:2px solid var(--border);gap:0;margin:.45rem 0 .4rem .75rem;padding-left:.75rem}.fin-line{font-size:var(--text-sm);background:0 0;border:none;gap:.75rem;padding:.4rem .5rem}.fin-line>span:first-child{min-width:0}.done-detail>ul{margin:0;padding:0;list-style:none}.done-detail .facts{padding:.35rem .5rem}.done-actions{margin:.2rem 0 .4rem;padding-left:.5rem}.row-menu{color:var(--muted);font:inherit;font-size:var(--text-lg);cursor:pointer;background:0 0;border:none;border-radius:6px;padding:0 .35rem;line-height:1}.row-menu:hover{background:var(--purple-50);color:var(--accent-text)}.mod-main{align-items:center;gap:.65rem;min-width:0;display:flex}.mod-icon{width:20px;height:20px;stroke:var(--accent-text);flex:none}.mod-icon-off{stroke:var(--muted);opacity:.7}.mod-name{flex-direction:column;gap:.1rem;min-width:0;display:flex}.mod-note{font-size:var(--text-xs);color:var(--muted)}.mod-note-blocked{color:var(--danger-dark)}#admin-keys-list li.row{align-items:center;gap:.5rem;display:flex}#admin-keys-list .key-pick{flex:1;min-width:0}@media (width<=1023.98px){#view-admin .back-btn{display:none}}.cal-head{justify-content:space-between;align-items:center;gap:.5rem;margin:.25rem 0 .75rem;display:flex}.cal-month{text-transform:capitalize;font-weight:700}.cal-nav{border:1px solid var(--border);background:var(--surface);width:34px;height:34px;color:var(--accent-text);font:inherit;font-size:var(--text-lg);cursor:pointer;border-radius:9px;line-height:1}.cal-nav:hover{background:var(--purple-50);border-color:var(--purple-200)}.cal-grid{grid-template-columns:repeat(7,1fr);gap:2px;display:grid}.cal-weekdays{margin-bottom:.25rem}.cal-weekday{text-align:center;font-size:var(--text-2xs);text-transform:uppercase;letter-spacing:.04em;color:var(--muted);padding:.25rem 0;font-weight:600}.cal-day{aspect-ratio:1;color:var(--ink);font:inherit;font-size:var(--text-md);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;display:flex}.cal-day:hover{background:var(--purple-50)}.cal-day.cal-outside{color:var(--muted);opacity:.55}.cal-day.cal-today{border-color:var(--purple-200);font-weight:700}.cal-day.cal-selected{background:var(--purple-600);border-color:var(--purple-600);color:#fff;font-weight:700}.cal-day:disabled,.cal-day:disabled:hover{color:var(--muted);opacity:.4;cursor:default;background:0 0;border-color:#0000}.picker-icon{width:1.05rem;height:1.05rem;stroke:var(--muted);flex:none}.line-qty{flex:none;align-items:center;gap:.5rem;display:flex}.qty-btn{border:1px solid var(--border);background:var(--surface);width:32px;height:32px;color:var(--accent-text);font:inherit;cursor:pointer;border-radius:50%;font-weight:600;line-height:1}.qty-btn:hover{background:var(--purple-50);border-color:var(--purple-200)}.qty-value{text-align:center;min-width:2.25rem;font-weight:600}.line-open{min-width:0;font:inherit;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:column;flex:1;align-items:flex-start;margin:0;padding:0;display:flex}.line-open:focus-visible{outline:2px solid var(--purple-500);outline-offset:1px}.order-head{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.order-head h3{margin:0}.order-total{text-align:right;margin:0 0 1rem;font-weight:700}.order-actions{flex-direction:column;gap:.5rem;display:flex}.qty-edit{border:1px solid var(--border);background:var(--surface);min-width:3rem;height:32px;color:inherit;font:inherit;cursor:pointer;border-radius:8px;padding:0 .6rem;font-weight:600;line-height:1;transition:background .15s,border-color .15s}.qty-edit:hover{background:var(--purple-50);border-color:var(--purple-200)}.qty-edit:focus-visible{outline:2px solid var(--purple-500);outline-offset:1px}.picked .tenant{border-color:var(--purple-200);background:var(--purple-50)}.add-row{color:var(--accent-text);justify-content:flex-start;font-weight:600}.scan-row{justify-content:center;padding:.5rem 0;display:flex}.pass-options{flex-direction:column;gap:.4rem;margin-bottom:.6rem;display:flex}.pass-option{border:1px solid var(--border);background:var(--surface);color:var(--ink);font:inherit;text-align:left;cursor:pointer;border-radius:10px;justify-content:space-between;align-items:center;gap:.75rem;padding:.55rem .8rem;display:flex}.pass-option[aria-checked=true]{border-color:var(--purple-500);box-shadow:inset 0 0 0 1px var(--purple-500);background:var(--chip-bg)}.pass-option-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:600;overflow:hidden}.pass-option-gain{white-space:nowrap;color:var(--gain);flex-shrink:0;font-weight:700}.pass-option-rate{white-space:nowrap;color:var(--muted);flex-shrink:0}.pass-option-name .chip{margin-right:.15rem}.pass-rows{flex-direction:column;margin-bottom:.4rem;display:flex}.pass-row{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:.75rem;min-height:2.75rem;padding:.2rem 0;display:flex}.pass-row:last-child{border-bottom:none}.pass-row-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:600;overflow:hidden}.pass-row-side{flex-shrink:0;align-items:center;gap:.6rem;display:inline-flex}.pass-row-balance{white-space:nowrap;color:var(--gain);font-weight:700}.pass-row-open{font:inherit;cursor:pointer;background:0 0;border:none;padding:0;font-weight:700}.pass-row-open:hover{text-decoration:underline}.pass-create{margin:0;padding:.3rem .8rem}.pass-qr-link,.pass-qr-make,.pass-edit{border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:50%;flex:none;justify-content:center;align-items:center;width:2.25rem;height:2.25rem;min-height:0;margin:0;padding:0;display:inline-flex}.pass-qr-icon{width:20px;height:20px;stroke:var(--accent-text)}.pass-qr-make .pass-qr-icon{stroke:var(--muted)}.pass-edit .pass-qr-icon{stroke:var(--accent-text)}.contact-orders{margin:0 0 .4rem;padding:0;list-style:none}.contact-order{flex-wrap:wrap;flex:1;align-items:center;gap:.15rem .6rem;min-width:0;display:flex}.contact-order-head{flex:auto;align-items:center;gap:.5rem;min-width:0;display:inline-flex}.contact-order-title{font-weight:600}.contact-order-status,.contact-order-sub{font-size:var(--text-xs)}.contact-order-sub{flex:100%}.contact-order-amount{font-variant-numeric:tabular-nums;flex:none;font-weight:600}.pass-spinner{border:2px solid var(--border);border-top-color:var(--purple-500);border-radius:50%;width:1.4rem;height:1.4rem;margin:0 .425rem;animation:.8s linear infinite pass-spin}@keyframes pass-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.pass-spinner{animation-duration:2.4s}}.pass-colors{gap:.6rem;margin:.25rem 0 .75rem;display:flex}.pass-color{cursor:pointer;border:2px solid #0000;border-radius:50%;width:2rem;height:2rem;padding:0}.pass-color[aria-checked=true]{border-color:var(--purple-500);box-shadow:0 0 0 2px var(--surface) inset}.pass-color-own{background:conic-gradient(#ef4444,#f59e0b,#22c55e,#06b6d4,#6366f1,#d946ef,#ef4444);position:relative;overflow:hidden}.pass-color-own.is-on{border-color:var(--purple-500);box-shadow:0 0 0 2px var(--surface) inset}.pass-color-own input{opacity:0;cursor:pointer;border:0;width:100%;height:100%;padding:0;position:absolute;inset:0}.pass-back,.pass-places{flex-direction:column;gap:.4rem;margin:.25rem 0 .5rem;display:flex}.pass-back:empty,.pass-places:empty{display:none}.pass-back-label{font-weight:600}.pass-message-open{margin-top:.5rem}.pass-message-chosen{margin-top:.6rem}.pass-logo-row{align-items:center;gap:.6rem;margin:.25rem 0 .5rem;display:flex}.pass-logo-thumb img{object-fit:contain}.order-row{text-align:left;gap:.75rem}.order-row .prod-name{flex-wrap:wrap;align-items:center;gap:.15rem .95rem;font-weight:600;display:flex}.order-row .prod-name .order-dir{margin-left:0}.order-row .prod-name>:first-child{text-overflow:ellipsis;min-width:0;max-width:100%;overflow:hidden}.order-row .prod-name .badge{flex:none}.order-side{font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right;flex:none;margin-left:auto;font-weight:600}@media (width>=1024px){.order-row .chev{display:none}}.add-row{align-items:center;gap:.6rem;padding-block:.6rem}.add-glyph{flex:none;width:1.1rem;height:1.1rem}.facts-form>.order-tradein-link{text-align:left;grid-column:1/-1;padding:.7rem 1rem}#order-direction-field>*{border-top:0}.order-section{font-size:var(--text-sm);color:var(--muted);margin:1.4rem .25rem .5rem;font-weight:600}#order-lines{margin-bottom:0}#order-lines .line-total{font-variant-numeric:tabular-nums;white-space:nowrap;flex:none;font-weight:600}#order-lines .prod-name{font-weight:500}#orders-detail-page .order-total{background:var(--surface);border-radius:0 0 var(--radius-card) var(--radius-card);box-shadow:var(--shadow-group);justify-content:space-between;align-items:baseline;margin:0;padding:.85rem 1rem;display:flex;position:relative}#orders-detail-page .order-total:before{content:"";background:var(--hairline);height:1px;position:absolute;top:0;left:1rem;right:0}#order-lines:has(+.order-total:not(:empty))>li:last-child{--edge-bottom:0 0 transparent;border-bottom-right-radius:0;border-bottom-left-radius:0}#orders-detail-page .order-total:empty{display:none}#orders-detail-page .order-total-word{font-weight:600}#orders-detail-page .order-total-sum{font-size:var(--text-xl);font-variant-numeric:tabular-nums;font-weight:700}ul.grouped>.add-li+.list-section{padding-top:.6rem}:is(.detail-page,.item-page)>.order-head{gap:.6rem;margin:0 0 .35rem}.detail-page>.order-head{justify-content:flex-start}:is(.detail-page,.item-page)>.order-head h3{font-size:var(--text-2xl);letter-spacing:-.02em;font-weight:700;line-height:1.15}:is(.detail-page,.item-page)>.order-head .badge{font-size:var(--text-xs);padding:.15rem .6rem}.detail-page .facts-form{background:var(--surface);border-radius:var(--radius-card);box-shadow:var(--shadow-group);border:none;grid-template-columns:max-content minmax(0,1fr);margin:1rem 0 0;padding:0;display:grid;overflow:hidden}.detail-page .facts-form>div:not([hidden]){display:contents}.detail-page .facts-form label{min-height:2.9rem;font-size:var(--text-base);color:var(--muted);border-top:1px solid var(--hairline);align-items:center;margin:0 0 0 1rem;padding:0 1.25rem 0 0;display:flex}.detail-page .facts-form .picker-btn,.detail-page .facts-form input[type=text],.detail-page .facts-form .order-received{border:0;border-top:1px solid var(--hairline);min-width:0;min-height:2.9rem;box-shadow:none;color:var(--ink);font-size:var(--text-base);text-align:right;background:0 0;border-radius:0;margin:0;padding:0 1rem 0 0;font-weight:500}.detail-page .facts-form .picker-btn{justify-content:flex-end}.detail-page .facts-form .picker-btn:disabled,.detail-page .facts-form input[type=text]:disabled{color:var(--ink);opacity:1;-webkit-text-fill-color:currentColor}.detail-page .facts-form .picker-btn:disabled[data-value=""] .picker-label{color:var(--ink)}.detail-page .facts-form .picker-btn:disabled .picker-caret,.detail-page .facts-form .picker-btn:disabled .picker-icon{display:none}.detail-page .facts-form .order-received{justify-content:flex-end;align-items:center;display:flex}.detail-page .facts-form input[type=text]:focus{box-shadow:none;background:var(--purple-50)}.detail-page .order-actions{flex-flow:wrap;justify-content:center;gap:.6rem;margin-top:1.25rem}.detail-page .order-actions .btn{min-height:2.75rem;box-shadow:var(--shadow-group);border:0;margin:0;padding:0 1.1rem}.detail-page .order-actions .btn-ghost{background:var(--surface);color:var(--ink)}.detail-page .order-actions .btn-primary{box-shadow:none}.order-head :is(.mode-btn,.more-btn){background:var(--surface);width:34px;height:34px;box-shadow:var(--shadow-group);color:var(--ink);border:0;border-radius:50%;position:relative}.order-head :is(.mode-btn,.more-btn):hover{background:var(--purple-50)}.order-head :is(.mode-btn,.more-btn) svg{width:18px;height:18px;stroke:var(--ink)}.order-head .kebab-wrap{margin-left:auto}.scope-bar{align-items:center;margin-bottom:.75rem;display:flex}.scope-btn{border:1px solid var(--border);background:var(--surface);max-width:100%;color:var(--ink);font:inherit;font-size:var(--text-sm);cursor:pointer;border-radius:999px;align-items:center;gap:.35rem;padding:.3rem .7rem;font-weight:600;transition:background .15s,border-color .15s;display:inline-flex}.scope-btn:hover{background:var(--purple-50);border-color:var(--purple-200)}.scope-icon{width:14px;height:14px;stroke:var(--accent-text);flex:none}.scope-btn span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.scope-label{font-size:var(--text-sm);color:var(--muted);font-weight:600}.subnav{left:0;right:0;bottom:calc(5.1rem + env(safe-area-inset-bottom,0px));z-index:19;box-sizing:border-box;border:1px solid var(--border);background:var(--surface);width:max-content;max-width:calc(100% - 1.5rem);height:3rem;box-shadow:var(--shadow-float);border-radius:999px;align-items:stretch;gap:.25rem;margin:0 auto;padding:.3rem;transition:transform .18s,opacity .18s;display:flex;position:fixed}@supports (backdrop-filter:blur(1px)){.subnav{background:var(--material-float);backdrop-filter:blur(20px)saturate(180%);border:.5px solid var(--material-ring)}}.subnav.subnav-away{opacity:0;transform:translateY(150%)}.subnav-chip{min-width:2rem;color:var(--muted);font:inherit;font-size:var(--text-sm);cursor:pointer;background:0 0;border:none;border-radius:999px;flex:0 10000 2.4rem;justify-content:center;align-items:center;gap:.35rem;padding:0;font-weight:600;transition:background .15s;display:inline-flex;position:relative}.subnav-icon{stroke:currentColor;flex:none;width:1.25rem;height:1.25rem}.subnav-label{display:none}.subnav-chip:hover{background:var(--purple-50)}.subnav-chip.active{background:var(--purple-600);color:#fff;flex:0 auto;min-width:0;padding:0 .8rem 0 .65rem}.subnav-chip.active .subnav-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}@media (width<=1023.98px){.subnav{view-transition-name:subnav}}::view-transition-group(subnav),::view-transition-old(subnav),::view-transition-new(subnav){animation:none}#app[data-appbar=deep] .subnav{display:none}@media (width<=767.98px){#app:not([data-appbar=deep]) #subnav:not([hidden])~.content{padding-bottom:calc(8.85rem + env(safe-area-inset-bottom,0px))}}@media (width>=768px){.subnav{display:none}}.module-toolbar{top:calc(var(--appbar-h) + env(safe-area-inset-top,0px) - 1px);z-index:2;background:var(--bg);justify-content:flex-end;align-items:center;gap:.5rem;margin-bottom:.4rem;padding:.6rem 0;display:flex;position:sticky}@media (width>=768px){.module-toolbar{top:0}}.module-toolbar>h1{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;min-width:0;margin:0 auto 0 0;overflow:hidden}.module-toolbar:has(>h1){flex-wrap:wrap}.module-toolbar:has(>h1)>.scope-bar{min-width:6rem}@media (width>=768px){.module-toolbar>.scope-bar{justify-content:flex-end}}@media (width<=767.98px){.module-toolbar>h1{padding-bottom:3px}.module-toolbar:has(>h1)>.scope-bar{flex:0 auto;min-width:0}}.mode-btn{margin-left:auto}@media (width<=1023.98px){.settings-btn.mode-btn{display:none}}.view-toggle{flex:none;gap:.25rem;display:inline-flex}@media (width<=767.98px){.view-toggle{display:none}}.vt-btn{border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:9px;justify-content:center;align-items:center;width:40px;height:40px;padding:0;transition:background .15s,border-color .15s;display:inline-flex}.vt-btn:hover{background:var(--purple-50)}.vt-one .vt-ico{display:none}.vt-one[data-view=list] .vt-ico-list,.vt-one[data-view=tiles] .vt-ico-tiles{display:block}.module-toolbar .scope-bar{flex:1;min-width:0;margin-bottom:0}.search-toggle,.settings-btn,.access-btn{border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:50%;flex:none;justify-content:center;align-items:center;width:40px;height:40px;padding:0;transition:background .15s,border-color .15s;display:inline-flex}.search-toggle:disabled{opacity:.4;cursor:default}.search-toggle:hover,.settings-btn:hover,.access-btn:hover{background:var(--purple-50);border-color:var(--purple-200)}.search-toggle svg,.settings-btn svg,.access-btn svg{width:20px;height:20px;stroke:var(--accent-text)}.module-toolbar .search-toggle,.module-toolbar .settings-btn:not(.chat-capsule),.module-toolbar .access-btn,.module-toolbar .vt-btn,.module-toolbar .scope-btn{background:var(--surface);height:34px;box-shadow:var(--shadow-group);border:0;position:relative}.module-toolbar .search-toggle,.module-toolbar .settings-btn:not(.chat-capsule),.module-toolbar .access-btn,.module-toolbar .vt-btn{width:34px;color:var(--ink);border-radius:50%}.module-toolbar .search-toggle:hover,.module-toolbar .settings-btn:not(.chat-capsule):hover,.module-toolbar .access-btn:hover,.module-toolbar .vt-btn:hover,.module-toolbar .scope-btn:hover{background:var(--purple-50)}.module-toolbar .search-toggle svg,.module-toolbar .settings-btn:not(.chat-capsule) svg,.module-toolbar .access-btn svg,.module-toolbar .vt-btn svg{width:18px;height:18px;stroke:var(--ink)}.module-toolbar .scope-btn{font-size:var(--text-md);padding:0 12px 0 10px;font-weight:500}.module-toolbar .scope-btn:after{content:"";border:solid var(--muted);border-width:0 1.6px 1.6px 0;flex:none;width:6px;height:6px;margin:-3px 0 0 2px;transform:rotate(45deg)}.module-sub{color:var(--muted);font-size:var(--text-base);flex:1 0 100%;order:9;margin:-.35rem 0 0}@media (width<=767.98px){.module-sub{display:none}}.kebab-wrap{display:inline-flex;position:relative}.kebab-menu{z-index:40;background:var(--elevated);border:1px solid var(--border);min-width:12rem;box-shadow:var(--shadow-pop);border-radius:12px;flex-direction:column;gap:.1rem;padding:.35rem;display:flex;position:absolute;top:calc(100% + .35rem);right:0}.module-toolbar:has(.kebab-menu:not([hidden])){z-index:41}.kebab-item{color:var(--ink);font:inherit;text-align:left;white-space:nowrap;cursor:pointer;background:0 0;border:none;border-radius:8px;align-items:center;gap:.6rem;padding:.5rem .65rem;font-weight:500;display:flex}.kebab-item-danger,.kebab-item-danger .kebab-item-icon{color:var(--loss);stroke:var(--loss)}.kebab-item:hover{background:var(--chip-bg)}.kebab-item[aria-checked=true]{color:var(--accent-text);font-weight:700}.anchored-menu{z-index:60;position:fixed;top:auto;right:auto}.kebab-item-icon{width:18px;height:18px;stroke:var(--accent-text);flex:none}#filter-body{flex-direction:column;gap:1rem;min-width:0;display:flex}#filter-modal.modal-page #filter-body{width:calc(100vw - 2rem);max-width:100%}#filter-body .filter-props-scroll{overscroll-behavior-x:contain;scrollbar-width:none;max-width:100%;overflow-x:auto}#filter-body .filter-props-scroll::-webkit-scrollbar{display:none}#filter-body .segmented{width:max-content;min-width:100%;display:flex}#filter-body .seg{flex:1 0 auto}.filter-section{flex-direction:column;gap:.3rem;display:flex}.filter-label{font-size:var(--text-xs);color:var(--muted);font-weight:600}.filter-chips{flex-wrap:wrap;gap:.35rem;display:flex}.filter-chip{border:1px solid var(--border);background:var(--surface);color:var(--ink);font:inherit;font-size:var(--text-sm);cursor:pointer;border-radius:999px;padding:.25rem .6rem}.filter-chip.on{background:var(--purple-600);border-color:var(--purple-600);color:#fff}.filter-price-wrap{flex-direction:column;gap:.7rem;display:flex}.filter-slider{height:1.5rem;padding:0 .55rem;position:relative}.slider-track{background:var(--border);border-radius:999px;height:4px;position:absolute;top:50%;left:.55rem;right:.55rem;transform:translateY(-50%)}.slider-fill{background:var(--purple-600);border-radius:999px;position:absolute;top:0;bottom:0}.slider-thumb{pointer-events:none;-webkit-appearance:none;appearance:none;background:0 0;width:100%;height:1.5rem;margin:0;position:absolute;top:0;left:0;right:0}.slider-thumb::-webkit-slider-runnable-track{background:0 0;border:none}.slider-thumb::-moz-range-track{background:0 0;border:none}.slider-thumb::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;pointer-events:auto;background:var(--purple-600);border:2px solid var(--elevated);width:1.1rem;height:1.1rem;box-shadow:var(--shadow-raised);cursor:pointer;border-radius:50%}.slider-thumb::-moz-range-thumb{pointer-events:auto;background:var(--purple-600);border:2px solid var(--elevated);width:1.1rem;height:1.1rem;box-shadow:var(--shadow-raised);cursor:pointer;border-radius:50%}.filter-price{gap:.5rem;display:flex}.filter-num{border:1px solid var(--border);background:var(--surface);width:100%;min-width:0;color:var(--ink);font:inherit;font-size:var(--text-sm);border-radius:8px;padding:.35rem .5rem}#filter-modal .modal-actions{justify-content:center}.filter-clear{margin-top:.15rem}.filter-btn{position:relative}.filter-btn.on:after{content:"";background:var(--purple-600);border-radius:50%;width:.5rem;height:.5rem;position:absolute;top:.15rem;right:.15rem}.search-field{align-items:center;gap:.5rem;margin:0 0 .75rem;display:flex}.search-box{background:var(--field-fill);min-width:0;height:40px;color:var(--muted);border-radius:999px;flex:1;align-items:center;gap:.6rem;margin:0;padding:0 .95rem;display:flex}.search-box svg{width:17px;height:17px;stroke:var(--muted);flex:none}.search-box input{min-width:0;height:100%;box-shadow:none;color:var(--ink);font-size:var(--text-base);background:0 0;border:0;outline:none;flex:1;padding:0}.search-box input::placeholder{color:var(--muted)}.search-box:focus-within{box-shadow:0 0 0 2px var(--purple-500)}@media (width>=768px){.search-field{margin-bottom:.875rem}.search-box{background:var(--surface);height:38px;box-shadow:var(--shadow-group)}.search-box input{font-size:var(--text-md)}}.search-actions{display:contents}.search-action-icon{width:20px;height:20px;stroke:var(--accent-text)}.search-field .search-action{flex:none;width:40px;min-width:0;height:40px;min-height:0;position:relative}.search-field .search-action:before{content:"";position:absolute;inset:-2px}@media (width>=768px){.search-field .search-action{width:38px;height:38px}}.vt-btn svg{width:18px;height:18px;stroke:var(--muted)}.vt-btn.active{background:var(--purple-100);border-color:var(--purple-500)}.vt-btn.active svg{stroke:var(--accent-text)}ul.tiles{--tile-gap:.7rem;gap:var(--tile-gap);grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:14rem;display:grid}@media (width>=600px){ul.tiles{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width>=1024px){ul.tiles{grid-template-columns:repeat(4,minmax(0,1fr))}}.tile{text-align:left;border:1px solid var(--border);background:var(--surface);width:100%;height:100%;color:var(--ink);font:inherit;border-radius:12px;flex-direction:column;gap:.3rem;padding:.6rem;display:flex;overflow:hidden}button.tile{cursor:pointer;transition:background .15s,border-color .15s}button.tile:hover{background:var(--purple-50);border-color:var(--purple-200)}.tile-photo{background:var(--purple-50);border-radius:9px;flex:1;min-height:0;overflow:hidden}.tile-photo img{object-fit:cover;width:100%;height:100%;display:block}.tile-photo-empty{background:repeating-linear-gradient(45deg, var(--purple-50), var(--purple-50) 8px, var(--surface) 8px, var(--surface) 16px)}.tile-name{white-space:nowrap;text-overflow:ellipsis;min-width:0;max-width:100%;font-weight:600;overflow:hidden}.tile-meta{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;display:flex}.tile-meta .money{align-items:last baseline;margin-left:auto}.tile-meta .money-figure{white-space:normal;text-align:right}.tile-meta .money-end{white-space:nowrap}.add-tile{text-align:center;color:var(--accent-text);justify-content:center;align-items:center;font-weight:600}.prod-main{flex-direction:column;flex:1;gap:.15rem;min-width:0;display:flex}.prod-name{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.prod-name .prod-variant{color:var(--muted);font-weight:400}.prod-sku,.tile-sku{min-width:0;max-width:100%;font-size:var(--text-xs);color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-weight:400;overflow:hidden}.sku-input{text-transform:uppercase}.prod-right{flex:none;align-items:center;gap:.8rem;display:flex}.price-buy{color:var(--loss)}.price-sell{color:var(--gain)}.prod-qty{color:var(--muted);font-size:var(--text-sm);white-space:nowrap;align-items:center;gap:.3rem;display:inline-flex}.prod-qty span,.prod-sku.prod-variants,.tile-sku.prod-variants{color:var(--accent-text)}.img-row{flex-wrap:wrap;gap:.4rem;display:flex}.img-strip{display:contents}.add-thumb{text-align:center;border:1px dashed var(--accent-text);color:var(--accent-text);font-size:var(--text-xs);cursor:pointer;justify-content:center;align-items:center;margin:0;padding:.3rem;font-weight:600;line-height:1.2;display:flex}.add-thumb:hover{background:var(--chip-bg)}.carousel:empty{display:none}.carousel{margin-bottom:1rem}.carousel-frame{aspect-ratio:4/3;border:1px solid var(--border);background:var(--purple-50);border-radius:12px;width:100%;position:relative;overflow:hidden}.carousel-img{object-fit:contain;width:100%;height:100%;display:block}.carousel-nav{color:#fff;width:2rem;height:2rem;font-size:var(--text-xl);cursor:pointer;background:#0000008c;border:none;border-radius:50%;justify-content:center;align-items:center;line-height:1;display:flex;position:absolute;top:50%;transform:translateY(-50%)}.carousel-nav:hover{background:#000000bf}.carousel-nav.prev{left:.5rem}.carousel-nav.next{right:.5rem}.carousel-count{text-align:center;font-size:var(--text-xs);color:var(--muted);margin-top:.4rem}.img-thumb{border:1px solid var(--border);background:var(--surface);border-radius:10px;width:4.5rem;height:4.5rem;position:relative;overflow:hidden}.img-thumb img{object-fit:cover;width:100%;height:100%;display:block}.img-del{z-index:1;-webkit-appearance:none;appearance:none;color:#fff;cursor:pointer;background:#000000a6;border:none;border-radius:50%;justify-content:center;align-items:center;width:1.6rem;height:1.6rem;margin:0;padding:0;display:flex;position:absolute;top:4px;right:4px}.img-del svg{stroke:currentColor;width:1rem;height:1rem}.img-del:hover{background:var(--danger)}.img-del[aria-busy=true]:before{display:none}.img-manage{margin-top:1rem}.img-manage+.picker-btn{margin-top:.75rem}.img-manage-label,.prod-description-label{font-size:var(--text-xs);color:var(--muted);margin-bottom:.4rem;display:block}.img-add-btn{cursor:pointer;margin-top:.5rem;display:inline-flex}.img-manage>.img-add-btn{width:fit-content;margin-inline:auto;display:flex}.kv{grid-template-columns:auto 1fr;gap:.3rem 1rem;margin:.5rem 0 0;display:grid}.kv dt{color:var(--muted);font-size:var(--text-sm)}.kv dd{margin:0;font-weight:600}.sel-row{position:relative}.sel-qty{background:var(--elevated);box-shadow:var(--shadow-float);border-radius:999px;padding:.2rem .35rem;position:absolute;top:50%;right:.6rem;transform:translateY(-50%)}.tiles .sel-qty{inset:auto auto .6rem 50%;transform:translate(-50%)}.tenant.selected,button.tile.selected{border-color:var(--purple-500);box-shadow:inset 0 0 0 2px var(--purple-500)}.tag-pills{flex-wrap:wrap;gap:.4rem;margin:.4rem 0 .8rem;display:flex}button.tag-pill{border:1px solid var(--border);cursor:pointer;font:inherit;font-size:var(--text-2xs)}button.tag-pill.active{background:var(--purple-600);color:#fff;border-color:var(--purple-600)}.tag-pill .tag-del{color:inherit;cursor:pointer;font-size:inherit;background:0 0;border:none;margin-left:.3rem;padding:0}.prod-tags{flex-wrap:wrap;gap:.25rem;margin-top:.15rem;display:flex}.prod-tags .tag-pill{font-size:var(--text-2xs);padding:0 .45rem}#view-stock{padding-bottom:3.25rem}#actions-description-block{margin-top:1rem}.prod-description{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;line-height:1.5}select{border:1px solid var(--border);background:var(--surface);color:var(--ink);font:inherit;font-size:var(--text-md);cursor:pointer;border-radius:9px;padding:.4rem .6rem}.pipe-in,.pipe-out{font-size:var(--text-2xs);white-space:nowrap;color:var(--muted);font-weight:600}.pipe-stack{flex-direction:column;line-height:1.15;display:inline-flex}.line-props{flex-direction:column;gap:.5rem;display:flex}.line-props:not(:empty){margin-bottom:.5rem}.prop-row{border:1px solid var(--border);border-radius:10px;align-items:center;gap:.25rem;padding:.25rem .25rem .25rem .85rem;display:flex}.prop-row-open{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:none;flex:1;padding:.4rem 0;overflow:hidden}.vp-held li{justify-content:space-between;align-items:center;gap:.5rem;padding:.4rem .6rem;display:flex}.line-card{position:relative}.pipe-away{font-size:var(--text-2xs);color:var(--accent-text);white-space:nowrap}.kebab-item.stock-menu-tags{display:none}@media (width<=767.98px){#stock-tags-btn{display:none}.kebab-item.stock-menu-tags{display:flex}}.product-row{text-align:left;gap:.75rem}ul.grouped#products-list{--row-inset:calc(var(--row-pad) + 42px + .75rem)}.prod-thumb{background:var(--thumb-bg,var(--field-fill));border-radius:10px;flex:none;justify-content:center;align-items:center;width:42px;height:42px;display:flex;overflow:hidden}.prod-thumb img{object-fit:contain;width:100%;height:100%}.prod-thumb-glyph{width:20px;height:20px;color:var(--muted);stroke:var(--muted)}.product-row .prod-name{font-weight:600;line-height:1.3}.product-row .prod-sku{font-size:var(--text-sm)}.prod-code{font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:.93em}.prod-none{color:var(--loss);font-weight:600}.product-row .prod-right{gap:0}.product-row .price-sell{color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:600}@media (width>=1024px){.product-row .chev{display:none}}@media (width<=767.98px){.product-row .prod-code,.product-row .prod-code+.prod-dot{display:none}.product-row .prod-name{-webkit-line-clamp:2;white-space:normal;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.prod-thumb{width:44px;height:44px}.product-row .money-figure[data-from] .money-dash,.product-row .money-figure[data-from] .money-end+.money-end{display:none}.product-row .money-figure[data-from]{white-space:nowrap;flex-direction:column;align-items:flex-end;display:flex}.product-row .money-figure[data-from]:before{content:attr(data-from);font-size:var(--text-sm);color:var(--muted);font-weight:400;line-height:1.2}ul.grouped#products-list{--row-inset:calc(var(--row-pad) + 44px + .75rem)}}@media (width<=399.98px){.product-row .prod-main{flex:6rem;min-width:6rem}.product-row .prod-right{flex:none;max-width:5.6rem}.product-row .chev{display:none}.prod-thumb{width:38px;height:38px}ul.grouped#products-list{--row-inset:calc(var(--row-pad) + 38px + .75rem)}.product-row .price-sell{white-space:normal;text-align:right;flex-wrap:wrap;justify-content:flex-end;gap:.1rem .35rem;display:inline-flex}}#actions-prices{margin-top:1.25rem}#prices-sheet .grid-scroll{overscroll-behavior:auto;touch-action:pan-x pan-y;flex:none;padding-bottom:0;overflow:auto hidden}#prices-modal:has(.grid-bar:not([hidden])) .modal-actions{margin-bottom:6rem}.item-page.card.one-thing{box-shadow:none;background:0 0;border:none;border-radius:0;margin:0;padding:0}.item-page>.order-head{justify-content:space-between}#unit-view #unit-page-images{background:var(--surface);border-radius:var(--radius-card);box-shadow:var(--shadow-group);margin:1rem 0 .9rem;padding:1.1rem}#product-view .order-head h3{-webkit-line-clamp:2;white-space:normal;overflow-wrap:anywhere;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}#product-view .head-text{flex:auto;min-width:0}#product-view .head-sub{font-size:var(--text-md);color:var(--muted);margin:.25rem 0 0}#product-view .head-sub-code{font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:var(--text-sm)}#product-view .photo-card{background:var(--surface);border-radius:var(--radius-card);box-shadow:var(--shadow-group);margin:1rem 0 .9rem;padding:18px 18px 16px;position:relative}#product-view .photo-card:not(:has(.carousel-frame)):has(#actions-variant[hidden]){display:none}#product-view .photo-card .carousel{margin:0}#product-view .photo-card .chart-step{display:none}#unit-view #unit-page-images:not(:has(.carousel-frame)){box-shadow:none;background:0 0;margin:.6rem 0 0;padding:0}#unit-view #unit-page-images:not(:has(.carousel-frame)) .add-thumb{width:auto;height:auto;font-size:var(--text-base);background:0 0;border:0;justify-content:flex-start;padding:.4rem 0;font-weight:600}#product-view .photo-card .carousel-img{box-sizing:border-box;padding:10px 0}#product-view .photo-card .carousel-frame{aspect-ratio:auto;background:var(--thumb-bg,var(--field-fill));border:none;border-radius:12px;height:200px}.variant-swatches{flex-direction:column;gap:.75rem;display:flex}:is(#product-create-modal,#product-edit) .variant-swatches{margin:.25rem 0 .75rem}#product-view .carousel:not(:empty)+.variant-swatches{margin-top:.9rem}.swatch-host .swatch-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.swatch-host .swatch-label{font-size:var(--text-base);color:var(--muted);flex:none}.swatch-host .swatch-label b{color:var(--ink);font-weight:600}.swatch-host .swatch-set{flex-wrap:wrap;flex:0 auto;justify-content:flex-end;gap:12px;min-width:0;margin-left:auto;display:flex}.swatch-host .swatch{cursor:pointer;border:none;border-radius:50%;width:30px;height:30px;padding:0;position:relative;overflow:hidden}.swatch-host .swatch:after{content:"";box-shadow:inset 0 0 0 1px var(--swatch-edge);pointer-events:none;border-radius:50%;position:absolute;inset:0}.swatch-host .swatch img{object-fit:cover;width:100%;height:100%;display:block}.swatch-host .swatch[aria-pressed=true]{box-shadow:0 0 0 2px var(--surface), 0 0 0 4px var(--purple-600);overflow:visible}.swatch-host .swatch[aria-pressed=true] img{border-radius:50%}.swatch-host .swatch-pill{background:var(--field-fill);min-height:30px;color:var(--ink);font:inherit;font-size:var(--text-md);cursor:pointer;border:none;border-radius:999px;padding:0 .8rem}.swatch-host .swatch-pill[aria-pressed=true]{background:var(--chip-bg);color:var(--accent-text);font-weight:600}#product-view #actions-detail.kv,#unit-view #unit-page-facts.kv{background:var(--surface);border-radius:var(--radius-card);box-shadow:var(--shadow-group);grid-template-columns:max-content minmax(0,1fr);gap:0;margin:1rem 0 0;display:grid;overflow:hidden}#product-view #actions-detail.kv dt,#unit-view #unit-page-facts.kv dt,#product-view #actions-detail.kv dd,#unit-view #unit-page-facts.kv dd{border:0;border-top:1px solid var(--hairline);min-height:2.9rem;box-shadow:none;font-size:var(--text-base);background:0 0;border-radius:0;align-items:center;margin:0;display:flex}#product-view #actions-detail.kv dt,#unit-view #unit-page-facts.kv dt{color:var(--muted);margin-left:1rem;padding:0 1.25rem 0 0;font-weight:400}#product-view #actions-detail.kv dd,#unit-view #unit-page-facts.kv dd{min-width:0;color:var(--ink);text-align:right;font-variant-numeric:tabular-nums;justify-content:flex-end;padding:0 1rem 0 0;font-weight:500}#product-view #actions-detail.kv dt:first-of-type,#unit-view #unit-page-facts.kv dt:first-of-type,#product-view #actions-detail.kv dd:first-of-type{border-top:0}#product-view #actions-detail.kv dd.state{color:var(--muted);font-weight:400}#product-view #actions-detail.kv dd.price-sell,#unit-view #unit-page-facts.kv dd.price-sell,#product-view #actions-detail.kv dd.price-buy,#unit-view #unit-page-facts.kv dd.price-buy{color:var(--ink)}#product-view #actions-detail.kv dd.price-sell,#unit-view #unit-page-facts.kv dd.price-sell{font-weight:600}#product-view #actions-detail.kv dd .price-sell,#unit-view #unit-page-facts.kv dd .price-sell,#product-view #actions-detail.kv dd .price-buy,#unit-view #unit-page-facts.kv dd .price-buy{color:var(--ink)}#product-view #actions-detail.kv dd.sku-value{font-family:ui-monospace,SF Mono,Menlo,monospace}#filter-modal .filter-swatches{justify-content:flex-start;margin-left:0}#actions-detail.kv,#unit-page-facts.kv{margin:0;display:block}#actions-detail.kv dt,#unit-page-facts.kv dt{margin:.75rem 0 .25rem;display:block}#actions-detail.kv dd,#unit-page-facts.kv dd{border:1px solid var(--border);background:var(--surface);font-variant-numeric:tabular-nums;border-radius:9px;padding:.6rem .75rem;font-weight:500}#view-stock .order-actions,#unit-actions,#unit-page-actions{margin-top:.75rem}.unit-cash-in{color:var(--gain);font-weight:600}.unit-cash-out{color:var(--loss);font-weight:600}.unit-sub{font-size:var(--text-sm)}.line-units-row{justify-content:flex-end;display:flex}.line-units-short{color:var(--danger);border-color:var(--danger)}#units-modal .modal-actions{justify-content:center}#unit-move-modal .segmented{margin-top:.6rem}.unit-totals{text-align:center;grid-template-columns:repeat(3,1fr);gap:.5rem;margin:.75rem 0 .5rem;display:grid}.unit-moves{margin-top:1rem}.unit-moves .order-actions{margin-bottom:.75rem}.unit-moves-title{font-size:var(--text-md);margin:0 0 .5rem}.unit-total{flex-direction:column;gap:.1rem;display:flex}li.unit-move{flex-direction:column;align-items:stretch;gap:.15rem;display:flex}.unit-move-head{justify-content:space-between;align-items:baseline;gap:.5rem;display:flex}.unit-move-note{text-overflow:ellipsis;min-width:0;overflow:hidden}#units-page-list>.list-section{color:var(--ink);font-size:var(--text-md);font-weight:700}#units-page-list{--unit-lead-w:3.4rem;--unit-row-gap:.75rem}#units-page-list>li.unit-led{--row-inset:calc(var(--row-pad) + var(--unit-lead-w) + var(--unit-row-gap))}.unit-row{gap:var(--unit-row-gap);align-items:flex-start}.unit-lead{flex:0 0 var(--unit-lead-w);font-size:var(--text-lg);font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:700;line-height:1.25}.unit-lead-unit{color:var(--muted);font-size:var(--text-xs);margin-left:.1em;font-weight:600}.unit-row .conv-main{flex:1}.unit-row .unit-sub{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;overflow:hidden}.unit-row .prod-tags{margin-top:.25rem}.unit-money{font-variant-numeric:tabular-nums;white-space:nowrap;flex-direction:column;flex-shrink:0;align-items:flex-end;gap:.1rem;display:flex}.unit-money .price-sell{color:var(--ink);font-weight:600}.unit-cost{color:var(--muted);font-size:var(--text-xs)}.fin-row{align-items:center;gap:.75rem}.fin-stat{align-items:baseline;gap:.35rem;display:inline-flex}.fin-stat-label{font-size:var(--text-2xs);color:var(--muted);font-weight:600}.fin-filter{align-items:center;gap:.5rem;margin-bottom:1rem;display:flex}.fin-filter label{font-size:var(--text-sm);color:var(--muted);font-weight:600}.row{border:1px solid var(--border);background:var(--surface);border-radius:10px;justify-content:space-between;align-items:center;padding:.55rem .8rem;display:flex}.roi-chart{margin:0 -1.1rem;position:relative;overflow:hidden}@media (width>=768px){.roi-chart{margin:0 calc(var(--content-pad) * -1)}}.roi-view{-webkit-overflow-scrolling:touch;scroll-snap-type:x mandatory;scrollbar-width:none;position:absolute;inset:0;overflow:auto hidden}.roi-view::-webkit-scrollbar{display:none}.roi-track{height:100%;position:relative}.roi-plot{display:block}.roi-snap{pointer-events:none;scroll-snap-align:center;scroll-snap-stop:always;width:1px;position:absolute;top:0;bottom:0}.roi-axis-svg{pointer-events:none;position:absolute;top:0;left:0}.roi-playhead{border-left:1px dashed var(--border);pointer-events:none;width:0;position:absolute;top:0;bottom:0;left:50%}.roi-readout{pointer-events:none;text-align:center;flex-direction:column;align-items:center;display:flex;position:absolute;top:.5rem;left:50%;transform:translate(-50%)}.roi-readout-val{font-size:var(--text-2xl);font-weight:700}.roi-readout-month{font-size:var(--text-base);font-weight:600}.roi-readout-year{font-size:var(--text-xs);color:var(--muted)}.roi-grid{fill:none;stroke-width:1px;stroke-dasharray:3 3}.roi-grid-zero{stroke:var(--muted);stroke-dasharray:none}.roi-grid-pos{stroke:var(--gain);opacity:.5}.roi-grid-neg{stroke:var(--loss);opacity:.5}.roi-line{fill:none;stroke:var(--purple-500);stroke-width:2.5px;stroke-linejoin:round;stroke-linecap:round}.roi-dot{fill:var(--purple-500)}.line-s0{--line:var(--purple-500)}.line-s1{--line:var(--chart-1)}.line-s2{--line:var(--chart-2)}.line-s3{--line:var(--chart-3)}.line-s4{--line:var(--chart-4)}.line-s5{--line:var(--chart-5)}.roi-line[class*=line-s]{stroke:var(--line)}.roi-dot[class*=line-s]{fill:var(--line)}.check-swatch{background:var(--line,var(--muted));border-radius:50%;flex:none;width:.7rem;height:.7rem}.check-item[aria-checked=false] .check-swatch{box-shadow:inset 0 0 0 2px var(--line,var(--muted));background:0 0}.roi-legend{font-size:var(--text-xs);flex-direction:column;gap:.15rem;margin:.35rem 0 0;padding:0;list-style:none;display:flex}.roi-legend li{align-items:center;gap:.4rem;display:flex}.roi-legend-val{margin-left:auto;padding-left:.75rem;font-weight:700}.roi-chart>.roi-legend{pointer-events:none;position:absolute;top:.5rem;left:4.25rem}.graph-head{align-items:center;gap:.5rem;display:flex}.graph-head .pane-name{flex:1;min-width:0}@media (width<=1023.98px){.graph-brands{display:none}}.roi-axis-y{fill:var(--muted);text-anchor:middle;font-size:12px}@media (width>=768px){.content:has(>#view-finance .fin-chart:not([hidden])){max-width:var(--content-max)}}.cmp-fig-svg{text-anchor:middle;fill:currentColor;font-size:11px}.cmp-fig-earned{color:var(--gain)}.cmp-fig-spent{color:var(--loss)}.cmp-fig-move,.cmp-month{color:var(--muted)}.cmp-fig{font-size:var(--text-base);white-space:nowrap;font-weight:700}.chart-step{display:none}@media (width>=768px){.chart-step{z-index:3;border:1px solid var(--border);background:var(--surface);width:40px;height:40px;color:var(--accent-text);font-size:var(--text-2xl);cursor:pointer;box-shadow:var(--shadow-float);border-radius:50%;justify-content:center;align-items:center;padding:0 0 2px;line-height:1;transition:background .15s,border-color .15s;display:inline-flex;position:absolute;top:50%;transform:translateY(-50%)}.chart-step:hover:not(:disabled){background:var(--purple-50);border-color:var(--purple-200)}.chart-step:disabled{opacity:.35;cursor:default}.chart-step-prev{left:8px}.chart-step-next{right:8px}.roi-view{scroll-behavior:smooth}}.cmp-grid{stroke:var(--border)}.cmp-axis{z-index:0}.cmp-view{z-index:1}.cmp-playhead{z-index:2}.cmp-readout{z-index:2;gap:.1rem}.cmp-bar-earned{fill:var(--gain)}.cmp-bar-spent{fill:var(--loss)}.cmp-axis-y{text-anchor:end}.cmp-head{align-items:baseline;gap:.35rem;margin-bottom:.15rem;display:flex}.fin-cap{font-size:var(--text-2xs);color:var(--muted);font-weight:500}.bal-value{white-space:nowrap;flex:none;font-weight:700}.bal-pos{color:var(--gain)}.bal-neg{color:var(--loss)}.bal-zero{color:var(--muted)}.bal-sub{font-size:var(--text-xs);color:var(--muted)}.bal-main{min-width:0}#finance-module-products .tenant{gap:.6rem}#finance-module-products .tenant .bal-main{flex:1}.pie-card .subhead{text-align:center;margin-top:0}.pie-wrap{flex-wrap:wrap;justify-content:center;align-items:center;gap:1.75rem;display:flex}.pie-disc{border-radius:50%;flex:none;width:min(15rem,68vw);height:min(15rem,68vw)}.pie-legend{flex-direction:column;flex:1;gap:.5rem;min-width:12rem;margin:0;padding:0;list-style:none;display:flex}.pie-legend li{font-size:var(--text-md);align-items:center;gap:.6rem;display:flex}.pie-dot{border-radius:3px;flex:none;width:1rem;height:1rem}.pie-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.pie-pct{color:var(--muted)}.fin-label{font-weight:600}.fin-right{flex:none;align-items:center;gap:.7rem;display:flex}.fin-amount{white-space:nowrap;flex-shrink:0;font-weight:700}.fin-amount.money-in{color:var(--gain)}.fin-amount.money-out{color:var(--loss)}.fin-amount.money-void{color:var(--accent-text)}.fin-tag{font-size:var(--text-2xs);color:var(--accent-text);background:var(--purple-100);border-radius:999px;padding:.1rem .55rem;font-weight:600}.caja-open{align-items:center;gap:.45rem;display:flex}.caja-open .chip{flex-shrink:0}.caja-open .conv-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.lock{font-size:var(--text-2xs);color:var(--muted);margin-left:.4rem}@media (width<=1023.98px){.fin-back{display:none}}.fin-sub{display:none}@media (width>=768px){.fin-sub{font-size:var(--text-md);color:var(--muted);margin:.2rem 0 1.4rem;display:block}#view-finance .module-toolbar{margin-bottom:0}}.scope-cur{display:none}@media (width>=768px){.scope-cur{display:inline}}.fin-figures{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 20px;padding:0;list-style:none;display:grid}.fin-figures>li{min-width:0;display:flex}.fin-figure{border-radius:var(--radius-card);background:var(--surface);width:100%;min-width:0;box-shadow:var(--shadow-group);color:var(--ink);font:inherit;text-align:left;cursor:pointer;border:0;flex-direction:column;padding:14px 14px 12px;transition:transform .12s;display:flex;container-type:inline-size}.fin-figure:active{transform:scale(.985)}.fin-figure-head{font-size:var(--text-md);justify-content:space-between;align-items:center;gap:6px;display:flex}.fin-figure-title{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.fin-figure-name{font-weight:600}.fin-figure-sub{color:var(--muted);display:none}.fin-chev{color:var(--chevron);font-size:var(--text-lg);flex:none;line-height:1}.fin-figure-value{font-size:min(var(--text-xl), 14cqi);letter-spacing:-.02em;font-variant-numeric:tabular-nums;white-space:nowrap;margin:6px 0;font-weight:700}.fin-figure-foot{justify-content:space-between;align-items:flex-end;gap:8px;margin-top:auto;display:flex}.fin-figure-foot .fin-cap{font-size:var(--text-xs)}.fin-curve{flex:none;width:70px;height:26px;overflow:visible}.fin-curve-line{fill:none;stroke:var(--purple-600);stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}@media (width>=768px){.fin-figure{padding:18px 18px 16px}.fin-figure-head{font-size:var(--text-base)}.fin-figure-sub{display:inline}.fin-figure-value{font-size:min(var(--text-3xl), 14cqi);margin:8px 0 10px}.fin-curve{width:110px;height:32px}}@media (width>=1180px){.fin-figures{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}}.fin-row2{grid-template-columns:minmax(0,1fr);align-items:start;gap:22px;margin-bottom:22px;display:grid}@media (width>=1024px){.fin-row2{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:20px}}.fin-card{border-radius:var(--radius-card);background:var(--surface);box-shadow:var(--shadow-group);padding:16px 16px 12px}.fin-card[hidden]{display:none}@media (width>=768px){.fin-card{padding:20px 22px}}.fin-month-head{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.fin-month-head h2{font-size:var(--text-base);letter-spacing:0;margin:0;font-weight:600}.fin-legend{font-size:var(--text-xs);color:var(--ink);gap:12px;display:flex}.fin-key{align-items:center;gap:6px;display:inline-flex}.fin-dot{border-radius:50%;width:8px;height:8px}.fin-dot-earned{background:var(--purple-600)}.fin-dot-spent{background:var(--chart-muted)}.fin-month-lead{font-size:var(--text-sm);color:var(--muted);margin:4px 0 10px}.fin-month-lead:empty{display:none}.fin-month-lead b{color:var(--ink);font-weight:600}@media (width>=768px){.fin-month-head h2{font-size:var(--text-lg)}.fin-legend{font-size:var(--text-sm);gap:18px}.fin-month-lead{font-size:var(--text-md);margin:6px 0 14px}}.fin-bars{position:relative}.fin-bars-svg{max-width:100%;display:block}.fin-grid{stroke:var(--chart-grid);stroke-width:1px}.fin-axis-t{fill:var(--muted);font-size:12px}.fin-axis-y{text-anchor:end}.fin-axis-x{text-anchor:middle}.fin-axis-now{fill:var(--ink);font-weight:700}.fin-bar-earned{fill:var(--purple-600);opacity:.85}.fin-bar-earned.fin-bar-now{opacity:1}.fin-bar-spent{fill:var(--chart-muted)}.fin-hit{fill:#0000;outline:none}.fin-hit:focus-visible{fill:var(--field-fill)}.fin-tip{z-index:2;background:var(--surface);box-shadow:var(--shadow-float);font-size:var(--text-xs);white-space:nowrap;pointer-events:none;border-radius:9px;flex-direction:column;gap:1px;padding:6px 9px;display:flex;position:absolute}.fin-tip[hidden]{display:none}.fin-tip-month{text-transform:capitalize;font-weight:600}.fin-tip-row{color:var(--muted);font-variant-numeric:tabular-nums}.fin-h2{font-size:var(--text-lg);letter-spacing:-.01em;margin:0 0 12px;font-weight:700}@media (width>=768px){.fin-h2{font-size:var(--text-lg)}}.fin-modules[hidden]{display:none}.fin-mod{width:100%;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;align-items:center;gap:12px;padding:12px 16px;display:flex}.fin-mod-icon{background:var(--purple-100);width:34px;height:34px;color:var(--purple-600);border-radius:9px;flex:none;justify-content:center;align-items:center;display:inline-flex}.fin-mod-glyph{stroke:currentColor;width:18px;height:18px}.fin-mod-main{flex-direction:column;flex:1;min-width:0;display:flex}.fin-mod-name{font-size:var(--text-base);font-weight:600}.fin-mod-sub{min-width:0;font-size:var(--text-sm);color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.fin-roi{font-weight:600}.fin-gain{color:var(--gain)}.fin-loss{color:var(--loss)}.fin-mod-value{font-size:var(--text-base);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none;font-weight:600}.fin-movements-head{justify-content:space-between;align-items:baseline;gap:12px;margin:0 0 12px;display:flex}.fin-movements-head .fin-h2{margin:0}.fin-link{white-space:nowrap;color:var(--accent-text);font:inherit;font-size:var(--text-md);cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:3px;padding:0;font-weight:500;display:inline-flex}.fin-movements{border-radius:var(--radius-card);background:var(--surface);box-shadow:var(--shadow-group);margin:0 0 1.5rem;padding:0;list-style:none;overflow:hidden}.fin-movements>li+li{border-top:.5px solid var(--hairline)}.mv-row{background:0 0;grid-template-columns:auto auto 1fr auto;grid-template-areas:"label label label amount""when kind rev rev";align-items:center;gap:4px 8px;padding:12px 16px;display:grid}.mv-labelbox{display:contents}.mv-label{min-width:0;font-size:var(--text-base);text-overflow:ellipsis;white-space:nowrap;grid-area:label;font-weight:600;overflow:hidden}.mv-amount{font-size:var(--text-base);font-variant-numeric:tabular-nums;white-space:nowrap;grid-area:amount;font-weight:600}.mv-amount.mv-void{color:var(--muted);text-decoration:line-through}.mv-when{font-size:var(--text-sm);color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;grid-area:when}.mv-kind{grid-area:kind}.mv-revoked{grid-area:rev;justify-self:start}.mv-kind,.mv-revoked{height:22px;font-size:var(--text-xs)}@media (width>=768px){.mv-row{font-size:var(--text-base);grid-template-columns:130px 110px minmax(0,1fr) auto;grid-template-areas:"when kind label amount";column-gap:12px;padding:12px 18px}.mv-labelbox{grid-area:label;align-items:center;gap:8px;min-width:0;display:flex}.mv-label{font-size:var(--text-base);grid-area:auto;font-weight:400}.mv-revoked{flex:none;grid-area:auto}.mv-when{font-size:var(--text-base)}.mv-amount{font-weight:600}.mv-kind{height:24px;font-size:var(--text-sm);justify-self:start}}.segmented{border:1px solid var(--border);background:var(--bg);border-radius:10px;gap:2px;width:100%;padding:2px;display:inline-flex}.seg{min-width:0;color:var(--muted);font:inherit;font-size:var(--text-sm);cursor:pointer;white-space:nowrap;text-overflow:ellipsis;background:0 0;border:none;border-radius:8px;flex:1 1 0;padding:.4rem .5rem;font-weight:600;line-height:1.2;overflow:hidden}.seg:hover{color:var(--ink)}.seg[aria-checked=true]{background:var(--chip-bg);color:var(--accent-text);box-shadow:var(--shadow-raised)}:is(.segmented-pills,[data-ui=round] .segmented){background:0 0;border:none;border-radius:0;gap:.5rem;padding:0}:is(.segmented-pills,[data-ui=round] .segmented) .seg{border:1px solid var(--border);background:var(--bg);border-radius:999px;flex:none;padding:.35rem .9rem}:is(.segmented-pills,[data-ui=round] .segmented) .seg[aria-checked=true]{border-color:var(--chip-bg);background:var(--chip-bg);color:var(--accent-text);box-shadow:none}.modal-card :is(.segmented-pills,[data-ui=round] .segmented){justify-content:center;margin-bottom:.75rem}.toggle{flex:none;width:42px;height:24px;margin:0;display:inline-block;position:relative}.toggle input{opacity:0;width:0;height:0}.toggle-track{background:var(--toggle-off);cursor:pointer;border-radius:999px;transition:background .2s;position:absolute;inset:0}.toggle-track:before{content:"";background:var(--surface);width:18px;height:18px;box-shadow:var(--shadow-raised);border-radius:50%;transition:transform .2s;position:absolute;top:3px;left:3px}.toggle input:checked+.toggle-track{background:var(--purple-600)}.toggle input:checked+.toggle-track:before{transform:translate(18px)}.toggle input:disabled+.toggle-track{opacity:.5;cursor:not-allowed}.toggle-small{vertical-align:middle;width:30px;height:18px}.toggle-small .toggle-track:before{width:12px;height:12px}.toggle-small input:checked+.toggle-track:before{transform:translate(12px)}.toggle-field{font-size:var(--text-md);align-items:center;gap:.6rem;margin-top:1rem;display:flex}.theme-btn{border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:50%;justify-content:center;align-items:center;width:44px;height:44px;padding:0;transition:background .15s,border-color .15s;display:inline-flex}.theme-btn:hover{background:var(--purple-50);border-color:var(--purple-200)}.theme-btn svg{width:22px;height:22px;stroke:var(--accent-text)}.theme-btn .ic-moon,:root[data-theme=dark] .theme-btn .ic-sun{display:none}:root[data-theme=dark] .theme-btn .ic-moon{display:block}.toggle-row{justify-content:space-between;align-items:center;gap:.75rem;margin:.75rem 0;display:flex}.toggle-row label{margin:0}[data-ui=round] .picker-btn,[data-ui=round] .scope-btn{border-radius:999px}[data-ui=round] .tenant,[data-ui=round] .row,[data-ui=round] .pass-option,[data-ui=round] .tile{border-radius:1.375rem}[data-ui=round] ul.grouped .tenant,[data-ui=round] ul.grouped>li>.row{border-radius:0}[data-ui=round] .prop-row{border-radius:999px}[data-ui=round] .btn{min-height:2.75rem}[data-ui=round] .icon-danger{border-radius:50%;min-width:2.75rem;min-height:2.75rem;padding:0}[data-ui=round] input[type=text],[data-ui=round] input[type=password],[data-ui=round] input[type=number],[data-ui=round] input[type=email],[data-ui=round] input[type=search],[data-ui=round] input[type=date]{border-radius:999px}[data-ui=round] textarea{border-radius:16px}[data-ui=round] #actions-detail.kv dd,[data-ui=round] #unit-page-facts.kv dd{border-radius:999px}body{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}input,textarea,.selectable{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}button{-webkit-tap-highlight-color:transparent}html{touch-action:pan-x pan-y}@media (pointer:coarse){.nav-item,.vt-btn,.access-btn,.settings-btn,.search-toggle,.icon-btn,.scope-btn,.row-actions .btn,.today-all,.load-more,.seg{min-height:44px}.vt-btn,.access-btn,.settings-btn,.search-toggle,.icon-btn{min-width:44px}.module-toolbar .search-toggle,.module-toolbar .settings-btn:not(.chat-capsule),.module-toolbar .access-btn,.module-toolbar .vt-btn,.module-toolbar .scope-btn,.order-head :is(.mode-btn,.more-btn){min-width:0;min-height:0}.module-toolbar .search-toggle:before,.module-toolbar .settings-btn:not(.chat-capsule):before,.module-toolbar .access-btn:before,.module-toolbar .vt-btn:before,.module-toolbar .scope-btn:before,.order-head :is(.mode-btn,.more-btn):before{content:"";position:absolute;inset:-5px}.nav-item,.row-actions .btn,.icon-btn{justify-content:center;align-items:center;display:inline-flex}.chip-x,.row-menu{position:relative}.chip-x:after,.img-del:after,.row-menu:after{content:"";width:44px;height:44px;position:absolute;inset:50%;transform:translate(-50%,-50%)}.img-del{width:2rem;height:2rem}.img-del svg{width:1.2rem;height:1.2rem}}:root{--motion:.22s;--motion-fast:.15s;--ease-out:cubic-bezier(.32, .72, 0, 1)}.modal{transition:opacity var(--motion-fast) linear, display var(--motion-fast) allow-discrete}.modal[hidden]{opacity:0}@starting-style{.modal:not([hidden]){opacity:0}}.modal-card{transition:transform var(--motion) var(--ease-out)}.modal[hidden]>.modal-card{transform:translateY(.75rem)scale(.98)}@starting-style{.modal:not([hidden])>.modal-card{transform:translateY(.75rem)scale(.98)}}.toast{transition:opacity var(--motion-fast) linear, transform var(--motion) var(--ease-out), display var(--motion) allow-discrete}.toast[hidden]{opacity:0;transform:translate(-50%)translateY(.5rem)}@starting-style{.toast:not([hidden]){opacity:0;transform:translate(-50%)translateY(.5rem)}}.btn:active,.seg:active,.nav-item:active,.tenant:active,.launch-card:active{transform:scale(.97)}.btn{transition:transform var(--motion-fast) var(--ease-out), background .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease}.seg,.nav-item{transition:transform var(--motion-fast) var(--ease-out), background .15s ease, color .15s ease}.tenant{transition:transform var(--motion-fast) var(--ease-out), background .15s ease, border-color .15s ease}.launch-card{transition:transform var(--motion-fast) var(--ease-out), background .15s ease, box-shadow .15s ease}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}.btn:active,.seg:active,.nav-item:active,.tenant:active,.launch-card:active{transform:none}}.user-role-row{border:1px solid var(--border);border-radius:10px;flex-direction:column;gap:.5rem;padding:.7rem .8rem;display:flex}.user-role-head{align-items:center;gap:.5rem;font-weight:600;display:flex}.chips{flex-wrap:wrap;align-items:center;gap:.35rem;display:flex}.add-role{background:var(--chip-bg);width:1.6rem;height:1.6rem;color:var(--accent-text);font-size:var(--text-lg);cursor:pointer;border:none;border-radius:999px;flex:none;justify-content:center;align-items:center;line-height:1;transition:background .15s;display:inline-flex}.add-role:hover{background:var(--chip-bg-hover)}.role-picker{flex-wrap:wrap;gap:.35rem;display:flex}.role-option{border:1px dashed var(--purple-200);color:var(--accent-text);font:inherit;font-size:var(--text-xs);cursor:pointer;background:0 0;border-radius:999px;padding:.2rem .75rem;font-weight:600;transition:background .15s,border-color .15s}.role-option:hover{background:var(--chip-bg);border-color:var(--purple-500)}.chip{font-size:var(--text-xs);background:var(--chip-bg);color:var(--accent-text);border-radius:999px;align-items:center;gap:.25rem;padding:.15rem .25rem .15rem .6rem;font-weight:600;display:inline-flex}.chip-x{color:var(--accent-text);cursor:pointer;font-size:var(--text-base);background:0 0;border:none;border-radius:999px;padding:0 .25rem;line-height:1}.chip-x:hover{background:var(--chip-bg-hover)}.chip-plain{padding-right:.6rem}.money{white-space:nowrap;align-items:baseline;gap:.3rem;display:inline-flex}.chip-cur{padding:.05rem .45rem;font-size:.65em;line-height:1.4}.perm-label{flex-direction:column;gap:.1rem;display:flex}.perm-label .muted{font-weight:400}.mod-limit{margin-left:.5rem}.mod-voice{align-items:center;gap:.25rem;display:inline-flex}.mod-limit .qty-edit{font-size:var(--text-sm);padding:.1rem .5rem}.modal{z-index:50;padding:calc(1rem + env(safe-area-inset-top,0px)) calc(1rem + env(safe-area-inset-right,0px)) calc(1rem + env(safe-area-inset-bottom,0px)) calc(1rem + env(safe-area-inset-left,0px));justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal-backdrop{background:var(--scrim);position:absolute;inset:0}.modal-nested{z-index:53}.modal-raised{z-index:54}.modal-top{z-index:55}body:has(.modal-top:not([hidden])) .modal:not(.modal-top)>.modal-backdrop,body:has(.modal-raised:not([hidden])) .modal:not(.modal-raised):not(.modal-top)>.modal-backdrop,body:has(.modal-nested:not([hidden])) .modal:not(.modal-nested):not(.modal-raised):not(.modal-top)>.modal-backdrop{background:0 0}@media (width<=1023.98px){.modal-in-detail:not(.modal-top):not(.modal-nested):not(.modal-raised){align-items:stretch;padding:0}.modal-in-detail:not(.modal-top):not(.modal-nested):not(.modal-raised)>.modal-backdrop{background:var(--bg)}.modal-in-detail:not(.modal-top):not(.modal-nested):not(.modal-raised)>.modal-card{background:var(--bg);max-width:none;max-height:none;box-shadow:none;padding:.85rem 1rem calc(1.25rem + env(safe-area-inset-bottom,0px)) calc(1rem + env(safe-area-inset-left,0px));border:none;border-radius:0}}@media (width>=1024px){.modal-in-list,.modal-in-detail{top:var(--content-pad-y);bottom:var(--content-pad-y)}.modal-in-list>.modal-backdrop,.modal-in-detail>.modal-backdrop{border-radius:14px;inset:.4rem}.modal-in-list{left:var(--list-pane-left);right:var(--list-pane-right)}.modal-in-detail{left:var(--detail-pane-left);right:var(--detail-pane-right)}}.freq-row{align-items:center;gap:.5rem;margin-bottom:.5rem;display:flex}.freq-row label{white-space:nowrap;margin:0}.freq-row input{flex:none;width:5rem;margin:0}.freq-row .picker-btn{flex:1;min-width:0;margin:0}.modal-card{background:var(--elevated);border:1px solid var(--border);width:100%;max-width:24rem;box-shadow:var(--shadow-modal);overscroll-behavior:contain;border-radius:14px;max-height:calc(100dvh - 2rem);padding:1.5rem;position:relative;overflow-y:auto}#scope-search{margin:.25rem 0 .6rem}.modal-list{overscroll-behavior:contain;max-height:min(50dvh,20rem);padding:2px;overflow-y:auto}@media (width<=1023.98px){.modal-list{max-height:min(72dvh,34rem)}}.modal-head{justify-content:space-between;align-items:center;margin-bottom:.25rem;display:flex}.modal-head h3{font-size:var(--text-base);margin:0}.modal-head h3,.order-head h3{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.order-head .badge,.modal-head .icon-btn{flex:none}.icon-btn{color:var(--muted);font-size:var(--text-xl);cursor:pointer;background:0 0;border:none;padding:0 .25rem;line-height:1}.modal-actions{justify-content:space-between;align-items:center;margin-top:1.25rem;display:flex}.modal-actions:not(.modal-actions-end)>:only-child{margin-inline:auto}.modal-actions .btn{margin-top:0}.modal-actions-end{justify-content:flex-end;gap:.5rem}.modal-actions-gap{gap:.5rem}.modal-actions .btn,.modal-actions .icon-danger{min-height:2.75rem}.btn-revoke{background:var(--purple-600);color:#fff;border-color:#0000}.btn-revoke:hover{background:var(--purple-700)}.btn-danger{background:var(--danger);color:#fff;border-color:#0000}.btn-danger:hover{background:var(--danger-dark)}.modal-caution{background:var(--chip-bg);border:1px solid var(--chip-bg-hover);color:var(--ink);font-size:var(--text-sm);border-radius:9px;margin:.75rem 0 0;padding:.6rem .75rem}.modal-warn{background:var(--danger);color:#fff;font-weight:600;font-size:var(--text-sm);border-radius:9px;margin:.75rem 0 0;padding:.6rem .75rem}#revoke-summary{margin-top:.25rem}.icon-danger{background:var(--surface);border:1px solid var(--border);cursor:pointer;border-radius:999px;justify-content:center;align-items:center;padding:.5rem .7rem;display:inline-flex}.icon-danger svg{width:18px;height:18px;stroke:var(--danger)}.icon-danger:hover{background:var(--danger-bg);border-color:var(--danger-edge)}.modal-card.has-scroll-fades{flex-direction:column;padding:0;display:flex;overflow:hidden}.modal-scroll{overscroll-behavior:contain;--fade-top:0px;--fade-bottom:0px;min-height:0;-webkit-mask-image:linear-gradient(to bottom, transparent 0, black var(--fade-top), black calc(100% - var(--fade-bottom)), transparent 100%);mask-image:linear-gradient(to bottom, transparent 0, black var(--fade-top), black calc(100% - var(--fade-bottom)), transparent 100%);padding:1.5rem;overflow-y:auto}@media (width<=1023.98px){.modal-page:not(.modal-top):not(.modal-nested):not(.modal-raised){top:calc(var(--appbar-h) + env(safe-area-inset-top,0px));align-items:stretch;padding:0}.modal-page:not(.modal-top):not(.modal-nested):not(.modal-raised)>.modal-backdrop{display:none}.modal-page:not(.modal-top):not(.modal-nested):not(.modal-raised)>.modal-card{background:var(--bg);max-width:none;max-height:none;box-shadow:none;padding:.85rem 1rem calc(1.25rem + env(safe-area-inset-bottom,0px)) calc(1rem + env(safe-area-inset-left,0px));border:none;border-radius:0}.modal-page:not(.modal-top):not(.modal-nested):not(.modal-raised)>.modal-card.has-scroll-fades{padding:0}.modal-page:not(.modal-top):not(.modal-nested):not(.modal-raised) .modal-head{display:none}}.voucher-sheet{--voucher-page-height:297mm;color:#000;background:#fff;font-size:11pt;line-height:1.4;display:none}.voucher-head{border-bottom:2px solid #000;align-items:flex-start;gap:1rem;padding-bottom:.75rem;display:flex}.voucher-logo{object-fit:contain;max-width:45mm;max-height:22mm}.voucher-issuer{flex:1}.voucher-issuer-name{font-size:14pt;font-weight:700}.voucher-doc{text-align:right;flex:none}.voucher-word{letter-spacing:.08em;font-size:16pt;font-weight:700}.voucher-number{font-size:13pt;font-weight:600}.voucher-party{gap:.5rem;margin:.9rem 0;display:flex}.voucher-table{border-collapse:collapse;width:100%}.voucher-table th,.voucher-table td{text-align:left;border-bottom:1px solid #999;padding:.35rem .4rem}.voucher-table th{text-transform:uppercase;letter-spacing:.04em;border-bottom:1.5px solid #000;font-size:9pt}.voucher-num{text-align:right}.voucher-total{text-align:right;margin:.6rem 0;font-weight:700}.voucher-sub{text-align:right;margin:.2rem 0}.voucher-note{margin:.6rem 0}.voucher-sign{border-top:1px solid #000;width:60mm;margin-top:18mm;padding-top:.25rem;font-size:9pt}.voucher-foot{color:#444;justify-content:space-between;align-items:center;gap:1rem;margin-top:1.2rem;font-size:8pt;display:flex}.voucher-brand{color:var(--purple-600);flex:none;align-items:center;gap:.35rem;font-weight:600;display:inline-flex}.voucher-brand-mark{flex:none;width:5mm;height:5mm}.voucher-sheet.voucher-no-money .voucher-money{display:none}@media print{body>:not(.voucher-sheet){display:none!important}html,body{background:#fff;height:auto;min-height:0;margin:0}.voucher-sheet{display:block!important}@page{size:A4;margin:0}.voucher-copy{padding:16mm}.voucher-half .voucher-copy{box-sizing:border-box;padding:10mm 16mm;font-size:9.5pt}.voucher-half .voucher-copy:first-child{min-height:calc(var(--voucher-page-height) / 2);border-bottom:1px dashed #000}.voucher-half .voucher-sign{margin-top:7mm}.voucher-half .voucher-foot{margin-top:.6rem}.voucher-two .voucher-copy{break-after:page}.voucher-two .voucher-copy:last-child{break-after:auto}.voucher-table tr{break-inside:avoid}.voucher-head{break-after:avoid}}.layout-list{gap:.5rem;margin-top:.75rem;display:grid}.layout-choice{border:1px solid var(--border);background:var(--surface);width:100%;color:var(--ink);font:inherit;text-align:left;cursor:pointer;border-radius:10px;align-items:center;gap:.9rem;padding:.75rem .9rem;transition:background .15s,border-color .15s;display:flex}.layout-choice:hover{background:var(--purple-50);border-color:var(--purple-200)}.layout-icon{width:30px;height:30px;stroke:var(--accent-text);flex:none}.layout-words{flex-direction:column;gap:.1rem;min-width:0;display:flex}.layout-name{font-weight:600}.layout-hint{font-size:var(--text-xs);color:var(--muted)}.route{gap:.1rem;margin:.15rem 0 0;display:grid}.prod-name .order-dir{vertical-align:middle;margin-left:.45rem}.doc-tile{text-align:left;align-items:flex-start;gap:.3rem}.doc-tile .order-dir{margin-left:0}.doc-tile .route{width:100%}.prod-sku-split{align-items:baseline;gap:.6rem;min-width:0;display:flex}.prod-sku-split>:first-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.prod-sku-value{flex:none}.order-facts{gap:.15rem;min-width:0;margin-top:.15rem;display:grid}.order-fact{min-width:0;color:var(--muted);font-size:var(--text-sm);align-items:center;gap:.4rem;display:flex}.order-fact span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.fact-icon{width:.95rem;height:.95rem;stroke:var(--muted);flex:none}.qty-default{font-size:var(--text-sm);align-items:baseline;gap:.5rem;margin:-.5rem 0 .75rem;display:flex}.qty-total{margin:0 0 .75rem;font-weight:600}.fact-due .fact-icon{stroke:var(--purple-600)}.fact-note span{-webkit-line-clamp:var(--note-lines,2);line-clamp:var(--note-lines,2);white-space:normal;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.fact-note{align-items:flex-start}.fact-note .fact-icon{margin-top:.15rem}.order-amount{margin-top:.15rem;font-weight:600}.route-stop{align-items:center;gap:.4rem;min-width:0;display:flex}.route-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.route-icon{width:.95rem;height:.95rem;stroke:var(--muted);flex:none}.route-leg{align-items:stretch;gap:.45rem;min-height:.75rem;display:flex}.route-link{border-left:2px solid var(--border);width:0;margin-left:calc(.475rem - 1px)}.route-units{color:var(--muted);flex:none;align-items:center;gap:.25rem;display:inline-flex}.route-units .route-icon{stroke:var(--muted)}.route--draft .route-from .route-icon,.route--received .route-to .route-icon{stroke:var(--purple-600)}.route--in_transit .route-link{border-color:var(--purple-600)}.route--cancelled{color:var(--muted)}.route--cancelled .route-icon{stroke:var(--border)}.route--cancelled .route-link{border-color:var(--border)}#transport-from-row>*{border-top:0}#transfer-lines .prod-name{font-weight:500}.conv-main{flex-direction:column;align-items:flex-start;gap:.1rem;min-width:0;margin-right:auto;display:flex}.conv-name{font-weight:600}.conv-preview{color:var(--muted);font-size:var(--text-xs);white-space:nowrap;text-overflow:ellipsis;min-width:0;max-width:100%;overflow:hidden}.fu-day{align-items:center;gap:.5rem;margin-bottom:.35rem;display:flex}.fu-day .fu-day-name{width:2.6rem;margin:0}.fu-day .picker-btn{flex:1;min-width:0;margin:0}.chat-head{border-bottom:1px solid var(--hairline);background:0 0;gap:12px;margin-bottom:0;padding:14px 18px;top:0}.chat-assign{background:var(--field-fill);height:34px;color:var(--ink);font:inherit;font-size:var(--text-md);cursor:pointer;border:0;border-radius:999px;flex:none;padding:0 18px;font-weight:600}.chat-assign:hover{background:var(--chip-bg)}.chat-head .back-btn{flex-shrink:0;margin:0}.chat-who{flex:1;min-width:0}.chat-head h3{font-size:var(--text-base);white-space:nowrap;text-overflow:ellipsis;min-width:0;margin:0;font-weight:600;overflow:hidden}.chat-head .muted{font-size:var(--text-sm);white-space:nowrap;text-overflow:ellipsis;min-width:0;margin:1px 0 0;overflow:hidden}#chatbot-detail-page:not(.pane-off){height:calc(100dvh - (4.25rem + env(safe-area-inset-top,0px)) - (5.75rem + env(safe-area-inset-bottom,0px)));flex-direction:column;display:flex;overflow-y:hidden}#chatbot-thread-card{flex-direction:column;flex:1;min-height:0;display:flex}.chat-scroll{overscroll-behavior:contain;scrollbar-gutter:stable;flex-direction:column;flex:1;min-height:0;padding:12px 18px;display:flex;overflow-y:auto}@media (width>=768px){#chatbot-detail-page:not(.pane-off){height:calc(100dvh - var(--content-pad-y) * 2)}#chatbot-thread-card{background:var(--surface);border-radius:var(--radius-card);box-shadow:var(--shadow-group);overflow:hidden}}@media (width>=1024px){#chatbot-detail-page:not(.pane-off){height:calc(100dvh - var(--content-pad-y) * 2 - var(--toolbar-h) - .25rem);padding-top:.7rem}#view-chatbot.split-view{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr)}}.chat-day{color:var(--muted);font-size:var(--text-xs);align-self:center;margin:6px 0 2px;font-weight:600}.chat-thread{flex-direction:column;gap:.5rem;margin:0;padding:0;list-style:none;display:flex}.msg{max-width:min(72%,34rem);font-size:var(--text-base);border:0;border-radius:18px;padding:9px 14px 7px;line-height:1.38}.msg-in{background:var(--bubble-in);color:var(--ink);border-bottom-left-radius:6px;align-self:flex-start}.msg-out{background:var(--purple-600);color:var(--on-accent);border-bottom-right-radius:6px;align-self:flex-end}@media (width<=767.98px){.msg-in{background:var(--surface);box-shadow:var(--shadow-group)}}.msg-img{border-radius:.6rem;max-width:min(100%,16rem);margin-bottom:.35rem;display:block}.msg-story{border-left:2px solid var(--border);font-size:var(--text-xs);color:var(--muted);overflow-wrap:anywhere;margin-bottom:.25rem;padding-left:.5rem;display:block}.msg-body{white-space:pre-wrap;overflow-wrap:anywhere}.msg-meta{font-size:var(--text-xs);color:var(--muted);justify-content:flex-end;align-items:center;gap:.25rem;margin-top:2px;display:flex}.msg-out .msg-meta{color:var(--on-accent-soft)}.msg-out .msg-story{color:var(--on-accent-soft);border-left-color:var(--on-accent-line)}.msg-tick{color:var(--muted);flex:none;display:inline-flex}.msg-tick.read{color:var(--purple-600)}.msg-out .msg-tick{color:var(--on-accent-quiet);align-items:center;gap:4px}.msg-out .msg-tick.read{color:var(--on-accent)}.msg-out .msg-tick:after{content:attr(aria-label);font-weight:600}.msg-tick-svg{stroke:currentColor;width:15px;height:15px}.msg-failed{color:var(--danger);font-weight:600}.msg-out .msg-failed{background:var(--on-accent-scrim);color:var(--on-accent);border-radius:999px;padding:0 8px}.chat-request{background:var(--purple-100);border:0;border-radius:14px;margin:10px 18px 0;padding:14px 16px}#chatbot-handoff{grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"icon title action""icon reason action";align-items:center;column-gap:14px;display:grid}#chatbot-handoff .chat-note-icon{width:22px;height:22px;stroke:var(--accent-text);grid-area:icon}#chatbot-handoff h4{font-size:var(--text-base);grid-area:title;margin:0;font-weight:600}#chatbot-handoff #chatbot-handoff-reason{font-size:var(--text-md);grid-area:reason;margin:0}#chatbot-handoff .modal-actions{grid-area:action;margin:0}#chatbot-handoff .btn{background:var(--surface);height:34px;color:var(--ink);font-size:var(--text-md);border:0;margin:0;padding:0 18px}@media (width<=479.98px){#chatbot-handoff{grid-template-columns:auto minmax(0,1fr);grid-template-areas:"icon title""icon reason"".action";row-gap:4px}#chatbot-handoff .modal-actions{justify-self:start;margin-top:6px}}.request-pending{color:var(--accent-text);font-size:var(--text-sm);margin-left:.5rem;font-weight:600}.chat-request h4{margin:0 0 .4rem}.chat-request ul{margin:0 0 .5rem;padding:0;list-style:none}@keyframes chat-mode-flip{0%{transform:perspective(240px)rotateY(-180deg)}to{transform:perspective(240px)rotateY(0)}}.search-action.flip .search-action-icon{animation:.35s chat-mode-flip}#chatbot-list{--row-pad:14px;--row-inset:calc(var(--row-pad) + 2.625rem + .75rem)}.conv-avatar,.chat-avatar{background:var(--avatar-bg);color:var(--avatar-text);text-transform:uppercase;user-select:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-weight:600;display:inline-flex;position:relative;overflow:hidden}.conv-avatar{width:2.625rem;height:2.625rem;font-size:var(--text-base);letter-spacing:0;margin-right:.75rem}.chat-avatar{width:40px;height:40px;font-size:var(--text-md)}@media (width<=767.98px){#chatbot-list{--row-inset:calc(var(--row-pad) + 2.75rem + .75rem)}.conv-avatar{width:2.75rem;height:2.75rem}}.avatar-img{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.conv-side{flex-direction:column;flex-shrink:0;align-items:flex-end;gap:.2rem;display:flex}.conv-when{font-size:var(--text-xs);color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}.conv-tags{align-items:center;gap:.35rem;display:inline-flex}.conv-mode{align-items:center;gap:.25rem;display:inline-flex}.conv-mode-icon{width:15px;height:15px;stroke:var(--muted)}.conv-mode-word{font-size:var(--text-xs);color:var(--muted);font-weight:600}.conv-assigned{font-size:var(--text-2xs);color:var(--accent-text)}#chatbot-advanced{border-top:1px solid var(--border);margin-top:1rem;padding-top:.75rem}#chatbot-advanced summary{cursor:pointer;color:var(--accent-text);text-align:center;font-weight:600;list-style:none}#chatbot-advanced summary::-webkit-details-marker{display:none}#chatbot-advanced[open] summary{display:none}#chatbot-rule-new{margin:0 auto;display:block}#chatbot-rules-list li.row{align-items:center;gap:.5rem;display:flex}#chatbot-rules-list .conv-main{flex:1;min-width:0}#chatbot-channels-list li.row{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.5rem;display:flex}#chatbot-channels-list .chan-pick{flex:12rem;min-width:0}#chatbot-channels-list :is(.chan-brand,.chan-toggle,.chan-delete){flex:none}.conv-order{display:inline-flex}.conv-order-icon{width:20px;height:20px;stroke:var(--accent-text)}.conv-pinned{display:inline-flex}.conv-pinned-icon{width:18px;height:18px;stroke:var(--muted)}.rule-clause{margin-top:.25rem}.rule-ops .seg{font-variant-numeric:tabular-nums;min-width:2.4rem;padding-left:.4rem;padding-right:.4rem}#chatbot-rules-list li.row{cursor:grab}#chatbot-rules-list li.row.dragging{opacity:.5}#chatbot-rules-list li.row.drop-target{outline:2px solid var(--accent-text);outline-offset:-2px}#chatbot-rules-list .rule-open{text-align:left;min-width:0;font:inherit;color:inherit;cursor:pointer;background:0 0;border:none;flex:1;padding:0}#chatbot-filter-bar{scrollbar-width:none;min-width:0;margin:0 0 .75rem;overflow-x:auto}#chatbot-filter-bar::-webkit-scrollbar{display:none}#chatbot-list .conv-unread .conv-name{font-weight:700}#chatbot-list .conv-name{font-size:var(--text-base);white-space:nowrap;text-overflow:ellipsis;min-width:0;max-width:100%;overflow:hidden}#chatbot-list .conv-preview{font-size:var(--text-md)}#chatbot-list .conv-unread .conv-preview{color:var(--ink)}#chatbot-list .conv-unread .conv-when{color:var(--accent-text);font-weight:600}.conv-unread-dot{background:var(--accent-text);border-radius:50%;flex:none;width:9px;height:9px}#chatbot-faq-list li.row{align-items:center;display:flex}#chatbot-faq-list .faq-open{text-align:left;min-width:0;font:inherit;color:inherit;cursor:pointer;background:0 0;border:none;flex:1;padding:0}#chatbot-faq-list .faq-main{flex-direction:column;gap:.15rem;min-width:0;display:flex}#chatbot-faq-list .faq-q,#chatbot-faq-list .faq-a{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}#chatbot-faq-list .faq-a{color:var(--muted-text);font-size:var(--text-xs)}#chatbot-faq-new.faq-new{width:100%;margin-bottom:.75rem;display:block}.adv-heading{font-size:var(--text-md);margin:1rem 0 .35rem}#chatbot-followup-modal .modal-actions,#chatbot-settings-modal .modal-actions,#chatbot-faq-modal .modal-actions{justify-content:center}#chatbot-followup-add{margin:.75rem auto;display:block}.settings-btn.chat-capsule{background:var(--field-fill);width:auto;height:34px;color:var(--ink);font-size:var(--text-md);border:0;border-radius:999px;padding:0 18px;font-weight:600}.settings-btn.chat-capsule:hover{background:var(--chip-bg)}.chat-capsule .access-icon{display:none}@media (width<=767.98px){.settings-btn.chat-capsule{display:none}}@media (width>=768px){#chatbot-menu-faq,#chatbot-menu-followup{display:none}}.chat-capsule-label{white-space:nowrap}#chatbot-reply{align-items:center;gap:10px;margin:0;padding:12px 18px}#chatbot-reply textarea{border:1px solid var(--hairline);min-height:40px;font-size:var(--text-base);border-radius:20px;padding:9px 18px;line-height:1.4}#chatbot-reply .compose-send{width:40px;height:40px}#chatbot-reply .compose-send svg{stroke-width:2.2px;width:20px;height:20px}@media (width<=767.98px){.chat-scroll{padding-inline:0}.chat-request,#chatbot-reply{margin-inline:0;padding-inline:0}.chat-request{padding-inline:16px}.msg{max-width:84%}}.documents-list .doc-row{text-align:left;align-items:center;gap:.75rem;width:100%;display:flex}ul.grouped.documents-list{--row-inset:calc(var(--row-pad) + 2.25rem + .75rem)}.doc-kind{background:var(--purple-50);border-radius:50%;flex:none;justify-content:center;align-items:center;width:2.25rem;height:2.25rem;display:inline-flex}.doc-kind-icon{width:22px;height:22px;fill:var(--accent-text)}.kind-icon{vertical-align:-.25em;fill:currentColor;flex:none;width:18px;height:18px}.seg-kind{justify-content:center;align-items:center;display:inline-flex}.document-meta .kind-icon{fill:var(--accent-text);margin-right:.35rem}.doc-main{flex-direction:column;flex:1;gap:.1rem;min-width:0;display:flex}.doc-title{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:600;overflow:hidden}.doc-sub{font-size:var(--text-xs);color:var(--muted)}.document-page{background:var(--surface);flex-direction:column;flex:auto;min-height:0;display:flex}.document-card{max-width:none;height:100%}.document-card,.modal-page:not(.modal-top):not(.modal-nested):not(.modal-raised)>.modal-card.document-card{background:var(--surface);padding:0}.document-card>.modal-scroll{flex-direction:column;flex:auto;padding:.75rem 1rem 0;display:flex;overflow:hidden}.document-head{align-items:center;gap:.5rem;margin-bottom:.25rem;display:flex}.document-head .icon-btn{flex:none}@media (width<=1023.98px){.document-head{display:none}}@media (width>=1024px){#documents-detail-page .document-page{border:1px solid var(--border);min-height:calc(100dvh - var(--content-pad-y) * 2 - 2px);border-radius:14px;padding:1.25rem 1.5rem;display:block}#documents-detail-page .document-body,#documents-detail-page .document-body>div:not([hidden]){padding-bottom:0;display:block}#documents-detail-page .document-preview,#documents-detail-page .document-raw{min-height:20rem;padding-bottom:.25rem;overflow:visible}#documents-detail-page .grid-scroll{max-height:70vh;padding-bottom:0}#documents-detail-page .document-pdf-frame{height:75vh}#documents-detail-page .md-bar,#documents-detail-page .grid-bar{border-radius:0 0 14px 14px;margin:.75rem -1.5rem 0;padding-bottom:.5rem;position:sticky;left:auto;right:auto}#documents-detail-page .doc-fabs{justify-content:flex-end;margin-top:.75rem;position:sticky;bottom:1rem;right:auto}}.document-back>span[aria-hidden]{font-size:var(--text-2xl);line-height:1;transform:translate(-1px,-2px)}.document-title{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--ink);font:inherit;font-size:var(--text-base);text-align:left;cursor:pointer;background:0 0;border:none;border-radius:8px;flex:1;margin:0;padding:.25rem .35rem;font-weight:700;overflow:hidden}.document-title:hover:not(:disabled){background:var(--chip-bg)}.document-title:disabled{color:var(--ink);opacity:1;cursor:default}.document-meta{font-size:var(--text-xs);margin:-.25rem 0 .75rem}.document-body{min-height:0;padding-bottom:var(--doc-foot,0px);flex-direction:column;flex:auto;display:flex}.document-body>div:not([hidden]){flex-direction:column;flex:auto;min-height:0;display:flex}.md-bar{z-index:3;padding:.5rem calc(.75rem + env(safe-area-inset-right,0px)) calc(.5rem + env(safe-area-inset-bottom,0px)) calc(.75rem + env(safe-area-inset-left,0px));background:var(--surface);border-top:1px solid var(--border);grid-template-columns:repeat(5,minmax(0,1fr));gap:.3rem;display:grid;position:fixed;bottom:0;left:0;right:0}.md-bar-btn{border:1px solid var(--border);background:var(--surface);min-width:0;height:2.25rem;color:var(--accent-text);font:inherit;font-size:var(--text-sm);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;padding:0 .5rem;font-weight:600;display:inline-flex}.md-bar-btn:hover{background:var(--purple-50)}.md-bar-btn[aria-pressed=true]{background:var(--purple-500);color:#fff}.md-bar-bold{font-weight:800}.md-bar-italic{font-style:italic}.md-bar-icon{stroke:currentColor;width:18px;height:18px}.document-raw,[data-ui=round] .document-raw{resize:none;min-height:12rem;box-shadow:none;font-family:var(--font-mono,ui-monospace, SFMono-Regular, Menlo, monospace);font-size:var(--text-sm);background:0 0;border:none;border-radius:0;flex:auto;padding:.25rem 0 5rem;line-height:1.6}.doc-fabs{right:calc(1rem + env(safe-area-inset-right,0px));bottom:calc(1rem + var(--doc-foot,0px) + env(safe-area-inset-bottom,0px));z-index:2;gap:.6rem;display:flex;position:fixed}.doc-fab{background:var(--purple-600);color:#fff;width:3.25rem;height:3.25rem;box-shadow:var(--shadow-pop);cursor:pointer;border:none;border-radius:50%;justify-content:center;align-items:center;display:inline-flex}.doc-fab-ghost{background:var(--surface);color:var(--accent-text);border:1px solid var(--border)}.doc-fab-icon{stroke:currentColor;width:24px;height:24px}.document-preview li:has(>input[type=checkbox]){margin-left:-1.25rem;list-style:none}.document-preview li>input[type=checkbox]{-webkit-appearance:none;appearance:none;border:2px solid var(--purple-500);background:var(--surface);vertical-align:baseline;cursor:pointer;border-radius:50%;width:1.15rem;height:1.15rem;margin:0 .35rem -.2rem 0;position:relative}.document-preview li>input[type=checkbox]:checked{background:var(--purple-600);border-color:var(--purple-600)}.document-preview li>input[type=checkbox]:checked:after{content:"";border:2px solid #fff;border-width:0 2px 2px 0;width:.3rem;height:.55rem;position:absolute;top:.1rem;left:.3rem;transform:rotate(45deg)}.document-preview li>input[type=checkbox]:disabled{cursor:default;opacity:.85}.document-preview{overscroll-behavior:contain;overflow-wrap:anywhere;outline:none;flex:auto;min-height:12rem;padding:.25rem 0 5rem;line-height:1.6;overflow-y:auto}.document-preview h3{font-size:var(--text-xl);margin:1rem 0 .35rem}.document-preview h4{font-size:var(--text-lg);margin:.85rem 0 .3rem}.document-preview h5,.document-preview h6{font-size:var(--text-base);margin:.75rem 0 .25rem}.document-preview .md-table{border-collapse:collapse;margin:.5rem 0}.document-preview .md-table th,.document-preview .md-table td{border:1px solid var(--border);text-align:left;min-width:3rem;padding:.3rem .5rem}.document-preview .md-table th{background:var(--purple-50)}.document-preview>:first-child{margin-top:0}.document-preview p,.document-preview ul,.document-preview ol{margin:.5rem 0}.document-preview ul,.document-preview ol{padding-left:1.25rem}.document-pdf-frame{background:var(--surface);border:none;flex:auto;width:100%;min-height:12rem}.document-grid{flex-direction:column;min-height:0;display:flex}.grid-scroll{overscroll-behavior:contain;flex:auto;min-height:0;padding-bottom:5rem;overflow:auto}.grid-table{border-collapse:separate;border-spacing:0;border-top:1px solid var(--border);border-left:1px solid var(--border);min-width:100%}.grid-table .grid-cell,.grid-table .grid-num{border-right:1px solid var(--border);border-bottom:1px solid var(--border);background:var(--surface);text-align:left;font-size:var(--text-sm);padding:.4rem .5rem;font-weight:400}.grid-table .grid-cell{cursor:cell;min-width:7rem}.grid-table .grid-num{z-index:2;text-align:right;min-width:2rem;color:var(--muted);background:var(--purple-50);font-variant-numeric:tabular-nums;position:sticky;left:0}.grid-text{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:16rem;display:block;overflow:hidden}.grid-text:empty:before{content:" "}.grid-head .grid-cell,.grid-head .grid-num{z-index:1;background:var(--purple-50);font-weight:700;position:sticky;top:0}.grid-head .grid-num{z-index:3}.grid-cell:focus{outline:none}.grid-table .grid-selected{box-shadow:inset 0 0 0 2px var(--purple-500);background:var(--purple-50)}.grid-bar{z-index:3;padding:.5rem calc(1rem + env(safe-area-inset-right,0px)) calc(.5rem + env(safe-area-inset-bottom,0px)) calc(1rem + env(safe-area-inset-left,0px));background:var(--surface);border-top:1px solid var(--border);flex-direction:column;gap:.4rem;display:flex;position:fixed;bottom:0;left:0;right:0}.grid-bar-line{align-items:center;gap:.5rem;display:flex}.grid-where{font-size:var(--text-xs);color:var(--muted);white-space:nowrap;flex:none}.grid-field{flex:auto;min-width:0}.grid-bar-btns{gap:.4rem;display:flex}.grid-btn{min-width:0;min-height:0;font-size:var(--text-sm);white-space:nowrap;text-overflow:ellipsis;flex:1 1 0;padding:.35rem .4rem;overflow:hidden}.chip.chip-ai{background:var(--purple-600);color:#fff}.chip.chip-ai .chip-x{color:#fff}.role-option.chip-ai{border-color:var(--purple-600);border-style:solid}.chip.chip-role,.role-option.chip-role{color:var(--accent-text)}#document-access-modal .user-role-row{margin-bottom:.6rem}.access-row{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.tradein-net-row{justify-content:space-between;align-items:baseline;margin:1rem 0 .25rem;display:flex}.tradein-net{font-size:var(--text-2xl);font-weight:700}#order-tradein-lines .row{gap:.5rem}#order-tradein-lines .prod-name{white-space:normal;text-overflow:clip;overflow:visible}.line-remove{border:1px solid var(--border);background:var(--surface);width:2rem;height:2rem;color:var(--accent-text);font:inherit;font-size:var(--text-lg);cursor:pointer;border-radius:50%;flex:none;justify-content:center;align-items:center;padding:0;line-height:1;display:inline-flex}.line-remove:hover{background:var(--purple-50)}.order-tradein-link{text-align:left;margin:-.5rem 0 .75rem;display:block}.appt-day-head{justify-content:center;align-items:center;gap:.5rem;margin-bottom:.75rem;display:flex}.appt-day-btn{justify-content:center;min-width:11rem}.appt-row{align-items:baseline;gap:.75rem;display:flex}.appt-time{font-variant-numeric:tabular-nums;min-width:3.2rem;font-weight:600}.appt-name{flex:1}.appt-purpose{color:var(--muted);font-size:var(--text-sm)}.appt-cancelled .appt-time,.appt-cancelled .appt-name{color:var(--muted);text-decoration:line-through}.appt-bot{font-size:var(--text-xs);color:var(--purple-500)}.appt-slots{flex-wrap:wrap;gap:.4rem;margin:.25rem 0 .75rem;display:flex}.appt-slot{border:1px solid var(--border);background:var(--surface);font-variant-numeric:tabular-nums;border-radius:999px;padding:.35rem .7rem}.appt-slot.picked{background:var(--purple-600);border-color:var(--purple-600);color:#fff}.appt-hours-numbers{grid-template-columns:1fr auto;align-items:center;gap:.5rem 1rem;margin:.75rem 0;display:grid}.appt-hours-numbers input{width:6rem}
