:root{--bg:#f4f2ea;--surface:#fff;--surface-2:#faf9f4;--ink:#17251f;--muted:#63716b;--brand:#146356;--brand-strong:#0d4a40;--brand-soft:#e4efeb;--gold:#e7b23f;--gold-soft:#fdf3d9;--danger:#a8231c;--danger-soft:#fdecea;--warning:#8a5a00;--warning-soft:#fff3d6;--success:#1b6e45;--success-soft:#e5f4ec;--line:#e3e1d6;--line-strong:#cfccc0;--shadow:0 10px 30px #17251f14;--radius:16px;--radius-sm:10px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{background:radial-gradient(circle at 100% -10%, #e7b23f29, transparent 42%), radial-gradient(circle at -10% 10%, #14635617, transparent 38%), var(--bg);color:var(--ink);min-height:100dvh;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:16px;line-height:1.45}h1,h2,h3,p,ul,ol,dl,dd{margin:0}ul,ol{padding:0;list-style:none}h1{letter-spacing:-.02em;font-size:1.6rem;line-height:1.2}h2{letter-spacing:-.01em;font-size:1.06rem;line-height:1.3}a{color:var(--brand);text-decoration:none}a:hover{text-decoration:none}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}:focus-visible{outline:2px solid var(--brand);outline-offset:2px;border-radius:4px}::selection{background:var(--brand-soft)}img{max-width:100%}.app-shell{flex-direction:column;min-height:100dvh;display:flex}.app-header{z-index:30;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--line);background:#f4f2eaeb;justify-content:space-between;align-items:center;gap:12px;padding:10px 16px;display:flex;position:sticky;top:0}.app-header-main{align-items:center;gap:8px;min-width:0;display:flex}.page-back-row{margin-bottom:12px;display:flex}.page-back{border:1px solid var(--line-strong);background:var(--surface);color:var(--ink);border-radius:999px;align-items:center;gap:6px;padding:6px 12px 6px 9px;font-size:.82rem;font-weight:600;transition:border-color .15s,color .15s,background .15s;display:inline-flex;box-shadow:0 1px 2px #17251f0d}.page-back:hover{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-strong)}.brand{color:var(--ink);align-items:center;gap:10px;min-width:0;display:flex}.brand-mark{background:var(--brand);color:#fff;border-radius:12px;flex:none;place-items:center;width:38px;height:38px;display:grid;box-shadow:0 4px 12px #1463563d}.brand-text{flex-direction:column;min-width:0;display:flex}.brand-text strong{letter-spacing:-.02em;font-size:1rem}.brand-text small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;max-width:46vw;font-size:.76rem;overflow:hidden}.app-main{flex:1;width:100%;max-width:1120px;margin:0 auto;padding:16px 16px 120px}.platform-shell{background:var(--bg);flex-direction:column;min-height:100dvh;display:flex}.platform-header{z-index:30;color:#f7f5ee;background:#103f38;border-bottom:1px solid #ffffff1f;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 16px;padding:10px 16px;display:flex;position:sticky;top:0}.platform-header .brand-text strong{color:#fff}.platform-header .brand-text small{color:#f7f5eeb8}.platform-header .brand-mark{box-shadow:none;background:#ffffff24}.platform-header-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.platform-header .btn-ghost{color:#f7f5ee;border-color:#ffffff47}.platform-header .btn-ghost:hover{background:#ffffff1a}.platform-main{flex:1;width:100%;max-width:1120px;margin:0 auto;padding:16px 16px 64px}@media (max-width:640px){.platform-user{display:none}}.page{flex-direction:column;gap:16px;animation:.22s ease-out page-in;display:flex}@keyframes page-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}.page-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.page-subtitle{color:var(--muted);margin-top:2px;font-size:.88rem}.page-header-action{flex:none}.page-footnote{color:var(--muted);padding:0 4px 8px;font-size:.76rem}.bottom-nav{z-index:50;max-width:720px;padding:6px 6px calc(6px + env(safe-area-inset-bottom));border-top:1px solid var(--line);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff7;border-radius:20px 20px 0 0;justify-content:space-around;align-items:flex-end;gap:2px;margin:0 auto;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -8px 30px #17251f1a}@media (min-width:720px){.bottom-nav{border:1px solid var(--line);border-radius:22px;padding:6px 12px;bottom:14px}}.nav-item{color:var(--muted);letter-spacing:.01em;border-radius:12px;flex-direction:column;flex:1;align-items:center;gap:2px;padding:6px 4px;font-size:.68rem;font-weight:600;display:flex}.nav-item:hover{background:var(--surface-2)}.nav-item-active{color:var(--brand)}.nav-icon{place-items:center;width:30px;height:30px;display:grid}.nav-item-primary .nav-icon{background:var(--brand);color:#fff;border:3px solid var(--bg);border-radius:50%;width:46px;height:46px;margin-top:-18px;margin-bottom:1px;box-shadow:0 6px 18px #14635652}.nav-item-primary.nav-item-active .nav-icon{background:var(--brand-strong)}.nav-label{line-height:1.1}.sync-pill{white-space:nowrap;border:1px solid #0000;border-radius:999px;align-items:center;gap:5px;padding:6px 10px;font-size:.73rem;font-weight:700;display:inline-flex}.sync-pill-ok{background:var(--success-soft);color:var(--success);border-color:#1b6e4533}.sync-pill-pending{background:var(--warning-soft);color:var(--warning);border-color:#8a5a0033}.sync-pill-danger{background:var(--danger-soft);color:var(--danger);border-color:#a8231c33}.sync-pill-offline{color:var(--muted);border-color:var(--line-strong);background:#efeee8}.offline-banner,.notice-banner{background:var(--warning-soft);color:var(--warning);border-bottom:1px solid #8a5a002e;align-items:center;gap:8px;padding:8px 16px;font-size:.8rem;display:flex}.notice-banner{background:var(--brand-soft);color:var(--brand-strong);border-bottom-color:#14635629}.notice-banner span{flex:1}.icon-button{width:30px;height:30px;color:inherit;background:0 0;border:0;border-radius:8px;place-items:center;display:inline-grid}.icon-button:hover{background:#0000000f}.btn{text-align:center;border:1px solid #0000;border-radius:12px;justify-content:center;align-items:center;gap:7px;min-height:44px;padding:10px 16px;font-size:.92rem;font-weight:650;line-height:1.1;transition:background .15s,border-color .15s,transform 50ms;display:inline-flex}.btn:active:not(:disabled){transform:translateY(1px)}.btn:disabled{opacity:.52;cursor:not-allowed}.btn-primary{background:var(--brand);color:#fff;box-shadow:0 4px 14px #1463563d}.btn-primary:hover:not(:disabled){background:var(--brand-strong)}.btn-ghost{background:var(--surface);color:var(--ink);border-color:var(--line-strong)}.btn-ghost:hover:not(:disabled){background:var(--surface-2)}.btn-danger{background:var(--danger);color:#fff}.btn-danger:hover:not(:disabled){background:#8d1c16}.btn-compact{border-radius:10px;min-height:38px;padding:8px 12px;font-size:.83rem}.btn-small{min-height:34px;padding:6px 10px;font-size:.8rem}.btn-large{min-height:52px;font-size:1rem}.btn-block{width:100%}.button-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.link-inline{color:var(--brand);align-items:center;gap:2px;font-size:.8rem;font-weight:650;display:inline-flex}.link-button{color:var(--brand);text-underline-offset:2px;background:0 0;border:0;padding:0;font-size:.85rem;font-weight:650;text-decoration:underline}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);flex-direction:column;gap:12px;padding:16px;display:flex;box-shadow:0 1px 2px #17251f0a}.card-header{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.section-heading{justify-content:space-between;align-items:baseline;gap:8px;padding:4px 2px;display:flex}.muted{color:var(--muted)}.small{font-size:.78rem}.text-danger{color:var(--danger)}.text-success{color:var(--success)}.notice{border:1px solid var(--line);background:var(--surface);border-radius:12px;gap:10px;padding:12px 14px;font-size:.86rem;line-height:1.4;display:flex}.notice svg{flex:none;margin-top:1px}.notice>div{flex-direction:column;gap:3px;display:flex}.notice strong{font-size:.86rem}.notice a{text-underline-offset:2px;font-weight:650;text-decoration:underline}.notice button.link-button{align-self:flex-start;margin-top:2px}.notice-info{background:var(--brand-soft);color:var(--brand-strong);border-color:#1463562e}.notice-warning{background:var(--warning-soft);color:#6d4700;border-color:#8a5a0038}.notice-danger{background:var(--danger-soft);color:#7d1a14;border-color:#a8231c33}.notice-success{background:var(--success-soft);color:#145234;border-color:#1b6e4533}.badge{white-space:nowrap;border:1px solid #0000;border-radius:999px;align-items:center;gap:4px;padding:3px 8px;font-size:.7rem;font-weight:700;display:inline-flex}.badge-neutral{color:#566159;border-color:var(--line-strong);background:#efeee8}.badge-success{background:var(--success-soft);color:var(--success)}.badge-warning{background:var(--warning-soft);color:var(--warning)}.badge-danger{background:var(--danger-soft);color:var(--danger)}.badge-brand{background:var(--brand-soft);color:var(--brand)}.empty-state{text-align:center;background:var(--surface);border:1px dashed var(--line-strong);border-radius:var(--radius);flex-direction:column;align-items:center;gap:8px;padding:32px 18px;display:flex}.empty-icon{background:var(--brand-soft);width:56px;height:56px;color:var(--brand);border-radius:50%;place-items:center;display:grid}.empty-state p{color:var(--muted);max-width:380px;font-size:.88rem}.empty-action{margin-top:6px}.spinner-wrap{color:var(--muted);align-items:center;gap:8px;font-size:.85rem;display:inline-flex}.spinner{border:2px solid #14635633;border-top-color:var(--brand);border-radius:50%;width:18px;height:18px;animation:.7s linear infinite spin;display:inline-block}.spinner-small{border-width:2px;width:13px;height:13px}@keyframes spin{to{transform:rotate(360deg)}}.fullscreen-loader{place-items:center;min-height:100dvh;display:grid}.form-stack{flex-direction:column;gap:12px;display:flex}.field{flex-direction:column;gap:5px;min-width:0;font-size:.84rem;font-weight:600;display:flex}.field>span{color:#39473f}.field input,.field select,.field textarea{border:1px solid var(--line-strong);background-color:var(--surface);border-radius:10px;width:100%;min-height:44px;padding:10px 12px;font-size:1rem;font-weight:400;transition:border-color .15s}select{appearance:none;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2363716b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;background-size:16px;height:44px;padding:0 36px 0 12px;line-height:1.2}.field select{padding:0 36px 0 12px}select:hover{border-color:var(--brand)}select:disabled{cursor:not-allowed;opacity:.6}.field textarea{resize:vertical;min-height:68px}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--brand);outline:none;box-shadow:0 0 0 3px #1463561f}.field-hint{color:var(--muted);font-size:.76rem;font-weight:400}.field-row{grid-template-columns:1fr 1fr;gap:10px;display:grid}@media (max-width:520px){.field-row{grid-template-columns:1fr}}.checkbox-field{align-items:flex-start;gap:10px;padding:4px 0;font-size:.9rem;font-weight:500;display:flex}.checkbox-field input{width:20px;height:20px;accent-color:var(--brand);flex:none;margin:1px 0 0}.location-picker{flex-wrap:wrap;gap:2px 20px;display:flex}.form-error{color:var(--danger);font-size:.78rem;font-weight:500}.input-with-action{align-items:stretch;gap:6px;display:flex}.input-with-action input{flex:1}.search-field{background:var(--surface);border:1px solid var(--line-strong);border-radius:12px;align-items:center;gap:8px;padding:0 12px;display:flex}.search-field svg{color:var(--muted);flex:none}.search-field input{background:0 0;border:0;outline:none;flex:1;min-height:46px;padding:8px 0;font-size:1rem}.toolbar{align-items:center;gap:8px;display:flex}.toolbar .search-field{flex:1}.filter-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);flex-direction:column;gap:10px;padding:14px;display:flex}.filter-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.chip-row{flex-wrap:wrap;gap:6px;display:flex}.chip{border:1px solid var(--line-strong);background:var(--surface-2);color:var(--muted);border-radius:999px;padding:6px 11px;font-size:.76rem;font-weight:650}.chip:hover{border-color:var(--brand);color:var(--brand)}.pagination{justify-content:space-between;align-items:center;gap:8px;font-size:.8rem;display:flex}.kpi-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}@media (min-width:860px){.kpi-grid{grid-template-columns:repeat(4,1fr)}}.kpi-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);flex-direction:column;gap:3px;padding:14px;display:flex;box-shadow:0 1px 2px #17251f0a}.kpi-label{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-size:.73rem;font-weight:700}.kpi-value{letter-spacing:-.02em;font-size:1.28rem;line-height:1.25}.kpi-hint{color:var(--muted);font-size:.72rem}.kpi-negative .kpi-value{color:var(--danger)}.kpi-positive .kpi-value{color:var(--success)}.dashboard-columns{gap:12px;display:grid}@media (min-width:860px){.dashboard-columns{grid-template-columns:1fr 1fr}}.dashboard-header-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.kpi-warning .kpi-value{color:var(--warning)}@media (min-width:860px){.dashboard-columns>.analytics-card-wide{grid-column:1/-1}}.analytics-chart{flex-direction:column;gap:10px;display:flex}.analytics-legend{color:var(--muted);flex-wrap:wrap;gap:14px;font-size:.78rem;display:flex}.analytics-legend-item{align-items:center;gap:7px;font-weight:600;display:inline-flex}.analytics-legend-item:before{content:"";background:var(--brand);border-radius:3px;width:10px;height:10px}.analytics-legend-expenses:before{background:var(--gold)}.analytics-svg{width:100%;height:190px;overflow:visible}.analytics-grid-line{stroke:var(--line);stroke-width:1px;stroke-dasharray:4 5}.analytics-sales-area{fill:#1463561a;stroke:none}.analytics-sales-line{fill:none;stroke:var(--brand);stroke-width:2.2px;stroke-linejoin:round;stroke-linecap:round}.analytics-expenses-line{fill:none;stroke:var(--gold);stroke-width:2px;stroke-dasharray:5 4;stroke-linejoin:round;stroke-linecap:round}.analytics-sales-dot{fill:var(--surface);stroke:var(--brand);stroke-width:1.6px}.analytics-axis-label{fill:var(--muted);font-size:9px;font-weight:600}.analytics-breakdown{flex-direction:column;gap:12px;display:flex}.analytics-breakdown li{flex-direction:column;gap:4px;display:flex}.analytics-breakdown-head{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.analytics-breakdown-label{text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;font-weight:600;overflow:hidden}.analytics-breakdown-head strong{white-space:nowrap;font-size:.86rem}.analytics-breakdown-track{background:var(--surface-2);border:1px solid var(--line);border-radius:999px;height:8px;overflow:hidden}.analytics-breakdown-fill{border-radius:999px;height:100%;transition:width .35s;display:block}.analytics-tone-brand{background:var(--brand)}.analytics-tone-gold{background:var(--gold)}.analytics-tone-danger{background:var(--danger)}.hourly-chart{align-items:flex-end;gap:2px;height:140px;padding:6px 2px 0;display:flex}.hourly-column{flex:1;justify-content:center;align-items:flex-end;height:100%;display:flex;position:relative}.hourly-bar{background:var(--brand-soft);border:1px solid #1463562e;border-radius:4px 4px 2px 2px;width:100%;max-width:16px;min-height:2px;transition:height .35s}.hourly-bar-peak{background:var(--brand);border-color:var(--brand-strong)}.hourly-label{color:var(--muted);white-space:nowrap;font-size:.62rem;font-weight:600;position:absolute;bottom:-18px}.hourly-chart+.muted{margin-top:18px}.compact-list{flex-direction:column;display:flex}.compact-list li{border-top:1px solid var(--line)}.compact-list li:first-child{border-top:0}.compact-list li>div,.compact-list li>a{justify-content:space-between;align-items:center;gap:10px;padding:10px 0;display:flex}.compact-list li>div>div,.compact-list li>a>div{flex-direction:column;gap:1px;min-width:0;display:flex}.compact-list .muted{font-size:.76rem}.compact-link{color:inherit}.compact-link:hover strong{color:var(--brand)}.compact-right{text-align:right;align-items:flex-end!important}.sync-card{flex-flow:wrap;justify-content:space-between;align-items:center;gap:12px}.sync-card-main{align-items:center;gap:10px;display:flex}.sync-card-main h2{font-size:.98rem}.sync-card-main .muted{font-size:.76rem}.sync-dot{background:var(--muted);border-radius:50%;flex:none;width:10px;height:10px;box-shadow:0 0 0 4px #63716b1f}.sync-dot-on{background:var(--success);box-shadow:0 0 0 4px #1b6e4524}.sync-dot-off{background:var(--warning);box-shadow:0 0 0 4px #8a5a0029}.quick-actions h2{margin-bottom:2px}.action-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}@media (min-width:620px){.action-grid{grid-template-columns:repeat(4,1fr)}}.action-tile{background:var(--surface-2);border:1px solid var(--line);color:var(--ink);border-radius:12px;flex-direction:column;align-items:flex-start;gap:7px;padding:12px;font-size:.8rem;font-weight:650;display:flex}.action-tile svg{color:var(--brand)}.action-tile:hover{border-color:var(--brand);background:var(--brand-soft)}.setup-card{color:#f4fbf8;background:linear-gradient(135deg,#146356,#0d4a40);border:0}.setup-card p{color:#f4fbf8d1;font-size:.88rem}.setup-card .btn-primary{color:#3a2a05;box-shadow:none;background:#f2c14e}.setup-card .btn-ghost{color:#f4fbf8;background:0 0;border-color:#f4fbf86b}.stock-summary{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);grid-template-columns:1fr 1fr;gap:10px;padding:14px;display:grid}.stock-summary>div{flex-direction:column;gap:2px;display:flex}.stock-summary .muted{font-size:.73rem}.product-list{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);flex-direction:column;display:flex;overflow:hidden}.product-list li+li{border-top:1px solid var(--line)}.product-row{color:inherit;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;display:flex}.product-row:hover{background:var(--surface-2)}.product-row-main{flex-direction:column;gap:1px;min-width:0;display:flex}.product-row-main strong{text-overflow:ellipsis;font-size:.95rem;overflow:hidden}.product-row-main .muted{font-size:.76rem}.product-row-side{color:var(--muted);flex:none;align-items:center;gap:8px;display:flex}.inactive-section{flex-direction:column;gap:8px;display:flex}.inactive-section h2{color:var(--muted);padding-left:2px;font-size:.9rem}.product-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}@media (min-width:700px){.product-grid{grid-template-columns:repeat(3,1fr)}}@media (min-width:1000px){.product-grid{grid-template-columns:repeat(4,1fr)}}.product-tile{border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:12px;flex-direction:column;align-items:flex-start;gap:4px;min-height:108px;padding:12px;transition:border-color .15s,background .15s;display:flex}.product-tile:hover:not(:disabled){border-color:var(--brand);background:var(--brand-soft)}.product-tile:disabled{opacity:.55;cursor:not-allowed}.product-tile-name{font-size:.9rem;font-weight:650;line-height:1.25}.product-tile-price{color:var(--brand);font-weight:700}.product-tile-stock{color:var(--muted);margin-top:auto;font-size:.7rem;font-weight:600}.product-tile-stock.is-out{color:var(--danger)}.pos-layout{gap:14px;display:grid}@media (min-width:980px){.pos-layout{grid-template-columns:minmax(0,1fr) 390px;align-items:start}.pos-cart{max-height:calc(100dvh - 110px);position:sticky;top:76px;overflow:auto}}.pos-catalog{flex-direction:column;gap:10px;min-width:0;display:flex}.pos-cart{scroll-margin-top:72px}.cart-list{flex-direction:column;display:flex}.cart-line{border-top:1px solid var(--line);flex-direction:column;gap:8px;padding:10px 0;display:flex}.cart-line:first-child{border-top:0;padding-top:0}.cart-line-head{justify-content:space-between;align-items:flex-start;gap:8px;font-size:.9rem;display:flex}.cart-line-controls{justify-content:space-between;align-items:center;gap:8px;display:flex}.stepper{align-items:center;gap:4px;display:flex}.stepper button{border:1px solid var(--line-strong);background:var(--surface);width:32px;height:32px;color:var(--brand);border-radius:8px;place-items:center;display:grid}.stepper input{text-align:center;border:1px solid var(--line-strong);background:var(--surface);border-radius:8px;width:58px;min-height:32px;padding:4px 6px;font-size:.9rem}.stepper .muted{margin-left:2px;font-size:.72rem}.pos-context{border:1px solid var(--line-strong);background:var(--surface-muted,#00000005);border-radius:12px;flex-direction:column;gap:10px;padding:12px;display:flex}.pos-context-header{justify-content:space-between;align-items:center;gap:8px;display:flex}.pos-context-badge{background:var(--accent-soft,#0000000f);letter-spacing:.02em;text-transform:uppercase;border-radius:999px;align-items:center;padding:2px 8px;font-size:.72rem;font-weight:600;display:inline-flex}.cart-totals{border-top:2px solid var(--line);flex-direction:column;gap:6px;padding:12px 0;display:flex}.totals-row{justify-content:space-between;align-items:center;gap:8px;font-size:.9rem;display:flex}.totals-input input{text-align:right;border:1px solid var(--line-strong);border-radius:8px;width:110px;min-height:36px;padding:6px 8px;font-size:.95rem}.totals-strong{border-top:1px solid var(--line);padding-top:4px;font-size:1.06rem}.totals-strong strong{color:var(--brand);font-size:1.2rem}.pos-cart .btn-large{margin-top:2px}.pos-cart .muted.small{line-height:1.35}.pos-sticky-bar{z-index:45;left:12px;right:12px;bottom:calc(76px + env(safe-area-inset-bottom));background:var(--brand-strong);color:#fff;border-radius:14px;justify-content:space-between;align-items:center;gap:10px;max-width:696px;margin:0 auto;padding:10px 12px;display:flex;position:fixed;box-shadow:0 10px 26px #0d4a4057}.pos-sticky-bar>div{flex-direction:column;line-height:1.2;display:flex}.pos-sticky-bar .muted{color:#ffffffb8;font-size:.7rem}.pos-sticky-bar strong{font-size:1.02rem}.pos-sticky-bar .btn{background:var(--gold);color:#352603;box-shadow:none;min-height:38px;padding:8px 12px;font-size:.83rem}@media (min-width:980px){.pos-sticky-bar{display:none}}.sale-list,.expense-list,.queue-list,.movement-list,.stock-list{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);flex-direction:column;display:flex;overflow:hidden}.sale-list li+li,.expense-list li+li,.queue-list li+li,.movement-list li+li,.stock-list li+li{border-top:1px solid var(--line)}.sale-row,.expense-row,.queue-row,.movement-list li,.stock-list li{justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;display:flex}.sale-row{color:inherit}.sale-row:hover{background:var(--surface-2)}.sale-row-main,.expense-row>div:first-child,.queue-main,.movement-list li>div,.stock-list li>div{flex-direction:column;gap:1px;min-width:0;display:flex}.sale-row-main .muted,.expense-row .muted,.queue-main .muted,.movement-list .muted,.stock-list .muted{font-size:.75rem}.sale-row-side,.expense-row-side{text-align:right;flex-direction:column;flex:none;align-items:flex-end;gap:3px;display:flex}.receipt{border:1px solid var(--line);border-radius:var(--radius);width:100%;max-width:680px;box-shadow:var(--shadow);background:#fff;margin:0 auto;padding:22px;font-size:.88rem}.receipt.receipt-thermal_80{max-width:80mm;padding:10px;font-size:.72rem}.receipt.receipt-thermal_58{max-width:58mm;padding:8px;font-size:.66rem}.receipt.receipt-thermal_80 .receipt-header,.receipt.receipt-thermal_58 .receipt-header{flex-direction:column;gap:6px}.receipt-footer-custom{white-space:pre-line;font-weight:600}.segmented-control{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-items:center;gap:4px;padding:3px;display:inline-flex}.receipt-header{border-bottom:2px solid var(--ink);justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:14px;display:flex}.receipt-header h2{font-size:1.18rem}.receipt-heading{text-align:right;flex-direction:column;align-items:flex-end;gap:2px;display:flex}.receipt-heading strong{letter-spacing:.06em;font-size:.82rem}.receipt-heading span{color:var(--danger);font-size:.7rem;font-weight:650}.receipt-muted{color:var(--muted);font-size:.76rem}.receipt-meta{border-bottom:1px dashed var(--line-strong);grid-template-columns:1fr 1fr;gap:8px 16px;padding:14px 0;display:grid}.receipt-meta>div{flex-direction:column;gap:1px;display:flex}.receipt-meta span{text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-size:.7rem;font-weight:700}.receipt-table{border-collapse:collapse;width:100%;margin:6px 0}.receipt-table th{text-align:left;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);border-bottom:1px solid var(--line);padding:8px 4px;font-size:.68rem}.receipt-table td{border-bottom:1px solid var(--line);vertical-align:top;padding:9px 4px}.receipt-table td:first-child{flex-direction:column;gap:1px;display:flex}.receipt-table th:not(:first-child),.receipt-table td:not(:first-child){text-align:right;white-space:nowrap}.receipt-totals{border-top:1px dashed var(--line-strong);flex-direction:column;gap:4px;padding:14px 0;display:flex}.receipt-totals>div{justify-content:space-between;gap:12px;display:flex}.receipt-total{border-bottom:1px solid var(--line);margin-bottom:2px;padding-bottom:4px;font-size:1.06rem}.receipt-total strong{color:var(--brand);font-size:1.2rem}.receipt-footer{border-top:2px solid var(--ink);flex-direction:column;gap:4px;padding-top:12px;display:flex}.receipt-footer p{font-size:.74rem;line-height:1.4}.receipt-actions{justify-content:center}.expense-summary{grid-template-columns:1fr 1fr;gap:10px;display:grid}.expense-summary>div{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);flex-direction:column;gap:2px;padding:14px;display:flex}.expense-summary strong{font-size:1.16rem}.expense-summary .muted{font-size:.72rem}.stock-list .badge{flex:none}.movement-list li>strong{white-space:nowrap}.table-scroll{border:1px solid var(--line);border-radius:12px;overflow-x:auto}.data-table{border-collapse:collapse;width:100%;min-width:520px;font-size:.8rem}.data-table th,.data-table td{text-align:left;border-bottom:1px solid var(--line);vertical-align:top;padding:8px 10px}.data-table th{background:var(--surface-2);text-transform:uppercase;letter-spacing:.04em;color:var(--muted);font-size:.7rem}.data-table tr:last-child td{border-bottom:0}.import-summary{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.import-summary>div{background:var(--surface-2);text-align:center;border-radius:10px;flex-direction:column;gap:1px;padding:10px;display:flex}.import-summary .muted{font-size:.68rem}.import-summary strong{font-size:1.1rem}.mapping-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}@media (max-width:620px){.mapping-grid{grid-template-columns:1fr}.import-summary{grid-template-columns:1fr 1fr}}.file-drop{border:1.5px dashed var(--line-strong);background:var(--surface-2);text-align:center;cursor:pointer;color:var(--brand);border-radius:12px;flex-direction:column;align-items:center;gap:4px;padding:22px 14px;display:flex}.file-drop:hover{border-color:var(--brand);background:var(--brand-soft)}.file-drop input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.file-drop strong{color:var(--ink)}.file-drop .muted{font-size:.76rem}.sync-status-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;padding:14px;display:flex}.sync-status-card>div:first-child{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.sync-status-card .muted{font-size:.78rem}.sync-counts{gap:18px;display:flex}.sync-counts>div{flex-direction:column;align-items:flex-end;gap:1px;display:flex}.sync-counts .muted{font-size:.7rem}.sync-counts strong{font-size:1.2rem}.progress-track{background:var(--surface-2);border-radius:999px;width:100%;height:8px;margin:10px 0;overflow:hidden}.progress-bar{background:var(--brand);border-radius:999px;height:100%;transition:width .2s;display:block}.input-compact{border:1px solid var(--line-strong);background:var(--surface);border-radius:8px;width:100%;min-width:80px;min-height:36px;padding:6px 8px;font-size:.86rem}.input-compact:focus{border-color:var(--brand);outline:none;box-shadow:0 0 0 3px #1463561f}.queue-row{align-items:flex-start}.queue-main{flex:1;gap:3px}.queue-title{align-items:center;gap:7px;margin-bottom:2px;display:flex}.queue-title .muted{font-size:.72rem}.queue-title .badge{padding:2px 7px}.queue-side{flex-direction:column;flex:none;align-items:flex-end;gap:6px;display:flex}.plain-list{color:#39473f;flex-direction:column;gap:6px;font-size:.85rem;display:flex}.plain-list li{padding-left:16px;position:relative}.plain-list li:before{content:"";background:var(--gold);border-radius:50%;width:6px;height:6px;position:absolute;top:.55em;left:2px}.export-grid{flex-wrap:wrap;gap:8px;display:flex}.detail-list{flex-direction:column;gap:6px;font-size:.86rem;display:flex}.detail-list>div{border-top:1px solid var(--line);justify-content:space-between;gap:12px;padding-top:6px;display:flex}.detail-list>div:first-child{border-top:0;padding-top:0}.detail-list dt{color:var(--muted)}.detail-list dd{text-align:right;overflow-wrap:anywhere;font-weight:600}.auth-page{min-height:100dvh;padding:28px 16px calc(28px + env(safe-area-inset-bottom));flex-direction:column;justify-content:center;align-items:center;gap:18px;max-width:460px;margin:0 auto;display:flex}.auth-brand{width:100%;color:var(--ink);align-items:center;gap:12px;display:flex}.auth-logo{background:var(--brand);color:#fff;border-radius:16px;flex:none;place-items:center;width:52px;height:52px;display:grid;box-shadow:0 8px 20px #14635640}.auth-brand strong{letter-spacing:-.02em;font-size:1.2rem}.auth-brand p{color:var(--muted);font-size:.82rem}.auth-card{background:var(--surface);border:1px solid var(--line);width:100%;box-shadow:var(--shadow);border-radius:20px;flex-direction:column;gap:14px;padding:22px 20px;display:flex}.auth-card h1{font-size:1.4rem}.auth-subtitle{color:var(--muted);margin-top:-8px;font-size:.88rem}.auth-footer{border-top:1px solid var(--line);text-align:center;color:var(--muted);padding-top:12px;font-size:.85rem}.auth-footer a{font-weight:700}.auth-legal{text-align:center;color:var(--muted);max-width:340px;font-size:.7rem;line-height:1.4}.modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0e1b1675;justify-content:center;align-items:flex-end;padding:16px;display:flex;position:fixed;inset:0}@media (min-width:600px){.modal-backdrop{align-items:center}}.modal{background:var(--surface);border-radius:18px;flex-direction:column;gap:12px;width:100%;max-width:420px;padding:20px;animation:.18s ease-out modal-in;display:flex;box-shadow:0 20px 50px #0000003d}@keyframes modal-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}.modal-body{color:#39473f;flex-direction:column;gap:10px;font-size:.9rem;display:flex}.modal-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.toast{z-index:120;left:50%;bottom:calc(92px + env(safe-area-inset-bottom));color:#fff;background:#1f2d27;border-radius:12px;align-items:center;gap:8px;max-width:min(92vw,460px);padding:10px 14px;font-size:.84rem;animation:.2s ease-out toast-in;display:flex;position:fixed;transform:translate(-50%);box-shadow:0 10px 30px #0000003d}.toast svg{flex:none}.toast-success svg{color:#7fe0b1}.toast-error{background:#5f1713}.toast-error svg{color:#ffb4ae}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%)}}@media (min-width:720px){.toast{bottom:96px}}.location-bar{background:var(--brand-soft);border-bottom:1px solid #14635624;justify-content:flex-end;padding:6px 16px;display:flex}.location-bar label{color:var(--brand-strong);align-items:center;gap:6px;font-size:.78rem;font-weight:650;display:flex}.location-bar select{background-color:var(--surface);background-position:right 8px center;background-size:14px;border:1px solid #14635642;border-radius:8px;max-width:52vw;height:32px;min-height:0;padding:4px 28px 4px 8px;font-size:.8rem}.menu-grid{gap:10px;display:grid}.menu-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);color:inherit;align-items:center;gap:12px;padding:14px;display:flex;box-shadow:0 1px 2px #17251f0a}.menu-card:hover{background:var(--surface-2)}.menu-card>span:nth-child(2){flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.menu-card strong{font-size:.94rem}.menu-card small{color:var(--muted);font-size:.76rem;line-height:1.3}.menu-card>svg{color:var(--muted);flex:none}.menu-icon{background:var(--brand-soft);width:42px;height:42px;color:var(--brand);border-radius:12px;flex:none;place-items:center;display:grid}@media (min-width:720px){.menu-grid{grid-template-columns:1fr 1fr}}.customer-card{flex-direction:column;gap:8px;padding:14px;display:flex}.customer-head{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.customer-head>div:first-child{flex-direction:column;gap:2px;min-width:0;display:flex}.customer-head .muted{overflow-wrap:anywhere;font-size:.78rem}.customer-side{flex-direction:column;flex:none;align-items:flex-end;gap:4px;display:flex}.customer-card .button-row{border-top:1px dashed var(--line);padding-top:8px}.sale-row-side{flex-direction:column;flex:none;align-items:flex-end;gap:4px;display:flex}.sale-row-side strong{white-space:nowrap}.purchase-line{border:1px solid var(--line);background:var(--surface-2);border-radius:12px;grid-template-columns:minmax(0,1.6fr) minmax(0,.7fr) minmax(0,.9fr) auto;align-items:end;gap:8px;padding:10px;display:grid}.purchase-line .field{min-width:0}.purchase-line .icon-button{margin-bottom:4px}@media (max-width:560px){.purchase-line{grid-template-columns:1fr 1fr}.purchase-line .field:first-child{grid-column:1/-1}}.expense-row-link{color:inherit;flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.expense-row-link:hover strong{color:var(--brand)}.expense-row-side{flex-direction:column;flex:none;align-items:flex-end;gap:4px;display:flex}.expense-row-side strong{white-space:nowrap}.receipt-section{border-top:1px dashed var(--line-strong);flex-direction:column;gap:6px;padding-top:10px;display:flex}.receipt-section h3{font-size:.9rem}.receipt-list{flex-direction:column;gap:4px;display:flex}.receipt-list li{justify-content:space-between;gap:8px;font-size:.82rem;display:flex}.receipt-list li span{color:var(--muted)}.stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;display:grid}.stat-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);flex-direction:column;gap:4px;padding:14px;display:flex}.stat-card strong{letter-spacing:-.01em;font-size:1.25rem}.support-row{border-radius:var(--radius-sm);width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;justify-content:space-between;align-items:center;gap:10px;padding:10px;display:flex}.support-row>div{flex-direction:column;gap:3px;min-width:0;display:flex}.support-row:hover:not(:disabled){background:var(--surface-2)}.support-row.is-active{background:var(--brand-soft);border-color:#1463564d}.support-row:disabled{opacity:.65;cursor:not-allowed}.code-callout{border-radius:var(--radius-sm);background:var(--brand-soft);border:1px solid #14635647;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.code-callout>div{flex-direction:column;gap:2px;min-width:0;display:flex}.code-value{letter-spacing:.06em;color:var(--brand-strong);overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.95rem;font-weight:700}.code-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;display:flex}.code-row>div:first-child{flex-direction:column;gap:2px;min-width:0;display:flex}.support-messages{flex-direction:column;gap:10px;margin-top:8px;display:flex}.support-message{border:1px solid var(--line);background:var(--surface-2);border-radius:12px;padding:10px 12px}.support-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:4px}.support-message-platform{background:var(--brand-soft);border-color:#14635640}.support-detail{border-top:1px solid var(--line);margin-top:12px;padding-top:12px}.import-mapping{flex-direction:column;gap:10px;display:flex}.import-mapping summary{cursor:pointer;font-weight:600}.receive-line{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.receive-line>div:first-child{flex-direction:column;gap:2px;min-width:0;display:flex}.field.field-inline{flex-direction:row;align-items:center;gap:8px}.field.field-inline>span{flex:none}.field.field-inline input{width:auto;min-width:130px}.conflict-box{background:var(--danger-soft);border:1px solid #a8231c59;border-radius:12px;flex-direction:column;gap:8px;margin-top:8px;padding:12px;display:flex}.conflict-box>strong{color:var(--danger);align-items:center;gap:6px;display:flex}.danger-zone{border-color:#a8231c59}@media print{body{background:#fff}@page{size:A4;margin:12mm}@page receipt80{size:80mm auto;margin:2mm}@page receipt58{size:58mm auto;margin:1.5mm}.receipt.receipt-thermal_80{page:receipt80}.receipt.receipt-thermal_58{page:receipt58}.receipt.receipt-thermal_80,.receipt.receipt-thermal_58{font-size:10px;line-height:1.35}.receipt.receipt-thermal_80 .receipt-header,.receipt.receipt-thermal_58 .receipt-header{border-bottom-width:1px;flex-direction:column;gap:6px}.receipt.receipt-thermal_80 .receipt-table td,.receipt.receipt-thermal_80 .receipt-table th,.receipt.receipt-thermal_58 .receipt-table td,.receipt.receipt-thermal_58 .receipt-table th{padding:2px 1px}.app-header,.location-bar,.bottom-nav,.offline-banner,.notice-banner,.toast,.assistant,.pos-sticky-bar,.no-print{display:none!important}.app-main{max-width:none;padding:0}.page,.sale-detail-page{gap:0}.receipt{box-shadow:none;border:0;border-radius:0;max-width:none;padding:0;font-size:12px}.receipt-table td,.receipt-table th{padding:6px 3px}a{color:inherit}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.assistant{z-index:115;right:max(12px,50vw - 348px);bottom:calc(86px + env(safe-area-inset-bottom));flex-direction:column;align-items:flex-end;gap:10px;display:flex;position:fixed}@media (min-width:720px){.assistant{bottom:98px}}.assistant-launcher{background:var(--brand);color:#fff;cursor:pointer;border:0;border-radius:999px;align-items:center;gap:8px;padding:12px 16px;font-size:.9rem;font-weight:700;display:inline-flex;box-shadow:0 12px 28px #0d4a4052}.assistant-launcher:hover{background:var(--brand-strong)}.assistant-open .assistant-launcher{background:var(--surface);color:var(--ink);border:1px solid var(--line);box-shadow:var(--shadow)}.assistant-panel{background:var(--surface);border:1px solid var(--line);border-radius:20px;flex-direction:column;width:min(92vw,380px);max-height:min(70dvh,560px);display:flex;overflow:hidden;box-shadow:0 24px 60px #17251f3d}.assistant-header{background:linear-gradient(135deg, var(--brand), var(--brand-strong));color:#fff;align-items:center;gap:10px;padding:12px 14px;display:flex}.assistant-avatar{background:#ffffff29;border-radius:12px;place-items:center;width:36px;height:36px;display:grid}.assistant-title{flex-direction:column;flex:1;min-width:0;display:flex}.assistant-title strong{font-size:.95rem}.assistant-title small{opacity:.82;white-space:nowrap;text-overflow:ellipsis;font-size:.72rem;overflow:hidden}.assistant-header .icon-button{color:#fff}.assistant-header .icon-button:hover{background:#ffffff29}.assistant-messages{background:var(--surface-2);flex-direction:column;flex:1;gap:8px;padding:14px;display:flex;overflow-y:auto}.assistant-bubble{white-space:pre-wrap;overflow-wrap:anywhere;border-radius:14px;max-width:88%;padding:9px 12px;font-size:.87rem;line-height:1.45}.assistant-bubble-bot{background:var(--surface);border:1px solid var(--line);border-bottom-left-radius:4px;align-self:flex-start}.assistant-bubble-user{background:var(--brand);color:#fff;border-bottom-right-radius:4px;align-self:flex-end}.assistant-typing{color:var(--muted);align-items:center;gap:8px;display:inline-flex}.assistant-suggestions{flex-wrap:wrap;gap:6px;padding-top:2px;display:flex}.assistant-chip{border:1px solid var(--line-strong);background:var(--surface);color:var(--brand-strong);cursor:pointer;border-radius:999px;padding:6px 11px;font-size:.76rem;font-weight:600}.assistant-chip:hover{background:var(--brand-soft);border-color:var(--brand)}.assistant-form{border-top:1px solid var(--line);background:var(--surface);align-items:flex-end;gap:8px;padding:10px 12px;display:flex}.assistant-form textarea{border:1px solid var(--line-strong);background:var(--surface-2);min-height:40px;max-height:96px;color:var(--ink);font:inherit;resize:vertical;border-radius:12px;flex:1;padding:10px 12px;font-size:.87rem}.assistant-form textarea:focus-visible{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft);outline:none}.assistant-send{flex:none;justify-content:center;width:42px;height:42px;padding:0}.assistant-note{background:var(--surface);color:var(--muted);padding:0 14px 10px;font-size:.7rem}.assistant-note a{color:var(--brand);text-underline-offset:2px;text-decoration:underline}@media (max-width:420px){.assistant-launcher-label{display:none}.assistant-launcher{padding:13px}}.button-row-inline{flex-wrap:nowrap}.audit-report-hero{grid-template-columns:1fr;gap:18px;display:grid}@media (min-width:780px){.audit-report-hero{grid-template-columns:minmax(0,1fr) 230px;align-items:start}}.audit-report-hero-main h2{margin:4px 0 6px;font-size:1.2rem}.audit-report-hero-main p{color:var(--muted);margin:0 0 12px;line-height:1.55}.audit-report-kicker{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-size:.7rem;font-weight:700;display:block}.audit-report-meta{margin-top:6px}.audit-report-score{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-2,var(--surface));flex-direction:column;gap:8px;padding:14px;display:flex}.audit-score{align-items:baseline;gap:6px;display:flex}.audit-score strong{letter-spacing:-.04em;font-size:2.1rem;line-height:1}.audit-score span{color:var(--muted);font-size:.8rem}.audit-score-track{background:var(--line);border-radius:999px;height:8px;overflow:hidden}.audit-score-track span{border-radius:inherit;background:var(--brand);min-width:0;height:100%;display:block}.audit-risk-grid{grid-template-columns:1fr;gap:10px;margin:12px 0 0;padding:0;list-style:none;display:grid}@media (min-width:700px){.audit-risk-grid{grid-template-columns:repeat(3,1fr)}}.audit-risk{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);border-left-width:4px;flex-direction:column;gap:3px;padding:12px;display:flex}.audit-risk>span{text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-size:.72rem;font-weight:700}.audit-risk strong{letter-spacing:-.02em;font-size:1.15rem}.audit-risk small{color:var(--muted);font-size:.72rem;line-height:1.4}.audit-risk-ok{border-left-color:var(--success)}.audit-risk-warning{border-left-color:var(--warning)}.audit-risk-danger{border-left-color:var(--danger)}.audit-note-list{gap:10px;margin:12px 0 0;padding:0;list-style:none;display:grid}.audit-note-list li{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);padding:11px 12px}.audit-note-list p{color:var(--muted);margin:6px 0 0;font-size:.82rem;line-height:1.5}.audit-note-head{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.audit-report-list{gap:10px;margin:12px 0 0;padding:0;list-style:none;display:grid}.audit-report-item{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);color:inherit;flex-direction:column;gap:9px;padding:13px 14px;transition:border-color .15s,box-shadow .15s;display:flex}.audit-report-item:hover{border-color:var(--brand);box-shadow:0 2px 10px #17251f0f}.audit-report-item-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.audit-report-item-head strong{font-size:.98rem;display:block}.audit-report-item-head small{color:var(--muted);margin-top:2px;font-size:.75rem;display:block}.audit-report-item-meta{color:var(--muted);flex-wrap:wrap;gap:6px 14px;font-size:.75rem;display:flex}.audit-report-item-meta>span{align-items:center;gap:4px;display:inline-flex}.audit-report-item-link{color:var(--brand);align-items:center;gap:2px;font-size:.78rem;font-weight:650;display:inline-flex}.audit-form-section{border-top:1px dashed var(--line);gap:10px;padding-top:14px;display:grid}.audit-form-row{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);gap:8px;padding:12px;display:grid}.audit-form-row .btn{justify-self:start}@media (max-width:640px){.field-compact{flex:0 0 120px}.button-row-inline{flex-wrap:wrap}}@media print{.app-header,.bottom-nav,.assistant-launcher,.page-back,.page-header-action,.toast{display:none!important}.audit-report .card{break-inside:avoid;box-shadow:none}}.platform-nav{scrollbar-width:thin;background:#103f38;border-bottom:1px solid #ffffff1f;gap:4px;padding:10px 16px 0;display:flex;overflow-x:auto}.platform-nav-item{color:#f7f5eec2;white-space:nowrap;border-bottom:2px solid #0000;border-radius:10px 10px 0 0;align-items:center;gap:6px;padding:8px 12px;font-size:.82rem;font-weight:600;text-decoration:none;display:inline-flex}.platform-nav-item:hover{color:#fff;background:#ffffff14}.platform-nav-item-active{color:#103f38;background:var(--bg);border-bottom-color:var(--brand)}.platform-tabs{border-bottom:1px solid var(--line);gap:6px;padding-bottom:4px;display:flex;overflow-x:auto}.platform-tab{color:var(--muted);font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;padding:8px 12px;font-size:.82rem;font-weight:600}.platform-tab:hover{color:var(--text)}.platform-tab-active{color:var(--brand);border-bottom-color:var(--brand)}.platform-detail-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.platform-alerts{flex-wrap:wrap;gap:6px;display:flex}.platform-counts{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;display:grid}.platform-count{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-2);overflow-wrap:anywhere;flex-direction:column;gap:2px;padding:10px;display:flex}.assistance-banner{color:#7c4a03;background:#fef3c7;border-bottom:1px solid #f5d78e;flex-wrap:wrap;align-items:center;gap:10px;padding:8px 16px;font-size:.82rem;display:flex}.assistance-banner>span{flex:1;min-width:200px}.stat-card-link{color:inherit;text-decoration:none;transition:border-color .15s,transform .15s}.stat-card-link:hover{border-color:var(--brand);transform:translateY(-1px)}.timeline{margin:0;padding:4px 16px;list-style:none}.timeline>li{border-left:2px solid var(--line);flex-direction:column;gap:3px;padding:12px 0 12px 20px;display:flex;position:relative}.timeline>li:before{content:"";background:var(--brand);border-radius:50%;width:10px;height:10px;position:absolute;top:18px;left:-6px}.timeline>li:last-child{border-left-color:#0000}.timeline-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:10px;display:flex}.toggle-row{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-2);cursor:pointer;align-items:flex-start;gap:10px;padding:10px;display:flex}.toggle-row>span{flex-direction:column;gap:2px;display:flex}.support-message-internal{background:#fdf6e3;border-style:dashed;border-color:#e6c76a}.recovery-codes{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:6px;margin-top:6px;display:grid}.recovery-codes code{background:var(--surface);border:1px solid var(--line);text-align:center;border-radius:6px;padding:4px 8px;font-size:.82rem}.field-grow{flex:1;min-width:160px}.code-inline{background:var(--surface-2);border:1px solid var(--line);font-family:var(--mono,ui-monospace, SFMono-Regular, Menlo, monospace);overflow-wrap:anywhere;border-radius:6px;padding:2px 6px;font-size:.8rem;display:inline-block}.break-all{overflow-wrap:anywhere}.table-wrap{width:100%;overflow-x:auto}.table-wrap table{border-collapse:collapse;width:100%}.table-wrap th,.table-wrap td{text-align:left;border-bottom:1px solid var(--line);vertical-align:top;padding:8px 10px;font-size:.84rem}.table-wrap th{text-transform:uppercase;letter-spacing:.04em;color:var(--muted);font-size:.72rem;font-weight:700}.table-wrap tbody tr:hover{background:var(--surface-2)}
