.legacy{color-scheme:light;--ink:#17201b;--muted:#5b655f;--softer:#8a938d;--line:#e3e6e1;--line-soft:#eef0ec;--page:#f4f5f2;--paper:#f4f5f2;--card:#ffffff;--head-row:#fafaf8;--accent:#2b6e8f;--accent-dark:#1d4f68;--accent-wash:#e4eff5;--mine-wash:#eaf3f8;--mine-line:#cfe2ec}.legacy *{box-sizing:border-box}.legacy{margin:0;padding:0;background:var(--paper);color:var(--ink);font-family:ui-sans-serif,system-ui,sans-serif;font-size:16px;font-weight:400;line-height:1.45}.legacy main{margin:0;padding:1rem 24px 3rem}.legacy h1{font-size:1.35rem;line-height:1.25;margin:0 0 .6rem}.legacy h2{font-size:1.05rem;font-weight:600}.legacy p{margin:0 0 1rem}.legacy .muted{color:var(--muted)}.legacy .token{display:block;width:100%;margin:0 0 1rem;padding:.9rem 1rem;border:1px solid var(--line);border-radius:.5rem;background:white;color:var(--ink);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.95rem;line-height:1.4;overflow-wrap:anywhere;white-space:pre-wrap}.legacy button{appearance:none;border:0;border-radius:.4rem;background:var(--accent);color:white;font:inherit;font-weight:500;padding:.4rem .75rem;cursor:pointer}.legacy button:focus-visible{outline:3px solid #93c5fd;outline-offset:2px}.legacy a{color:var(--accent)}.legacy .bar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.75rem 1rem;align-items:flex-end;padding:.7rem 24px .55rem;background:white;position:sticky;top:0;z-index:5}.legacy .menus{display:grid;gap:.35rem;flex:1 1 16rem}.legacy .bar form,.legacy .subnav,.legacy .topnav{display:flex;flex-wrap:wrap;gap:.35rem .15rem;align-items:center}.legacy .menu-panel a,.legacy .subnav a,.legacy .topnav a{color:var(--ink);font-weight:500;text-decoration:none;padding:.35rem .55rem;border-radius:.35rem}.legacy .subnav a.active,.legacy .topnav a.active{color:var(--accent);box-shadow:inset 0 -3px 0 var(--accent)}.legacy .subnav a{font-weight:600;font-size:.95rem}.legacy main{width:100%;max-width:none}.legacy .narrow{max-width:28rem}.legacy .cards,.legacy .stack{display:grid;gap:.75rem}.legacy .cards article,.legacy .panel{background:white;border:1px solid var(--line);border-radius:.75rem;padding:.9rem 1rem}.legacy .product-search{position:relative}.legacy .product-menu{position:absolute;z-index:30;left:0;right:0;top:calc(100% + .25rem);max-height:18rem;overflow:auto;background:white;border:1px solid var(--line);border-radius:.5rem;box-shadow:0 10px 30px rgba(28,25,23,.12)}.legacy .product-menu button{display:block;width:100%;text-align:left;background:white;color:var(--ink);border:0;border-radius:0;font-weight:500;padding:.65rem .75rem}.legacy .product-menu button[aria-selected=true]{background:#dbeafe}.legacy .product-menu .quiet{padding:.65rem .75rem;color:var(--muted)}.legacy .bad-line{border-color:#b91c1c;box-shadow:inset 4px 0 0 #b91c1c}.legacy .cards h2,.legacy .panel h2{margin:0 0 .35rem;font-size:1.05rem}.legacy .total{font-size:1.25rem;font-weight:600;margin:0 0 .25rem}.legacy .ok{color:#166534;font-weight:700}.legacy .warn{color:#9a3412;font-weight:700}.legacy .table-wrap{overflow:visible;max-height:none;margin:0 0 1rem}.legacy table{font-variant-numeric:tabular-nums}.legacy thead th{position:sticky;top:2.7rem;background:white;z-index:1;cursor:pointer;font-weight:600}.legacy td.num,.legacy th.num{text-align:right;font-variant-numeric:tabular-nums}.legacy table{width:100%;border-collapse:collapse;font-size:.95rem}.legacy td,.legacy th{text-align:left;padding:.55rem .6rem;border-bottom:1px solid var(--line);vertical-align:top;background:white}.legacy th{position:sticky;top:2.7rem;z-index:2;font-size:.8rem;color:var(--muted);font-weight:600;cursor:pointer}.legacy td:first-child,.legacy th:first-child{position:sticky;left:0;z-index:1;box-shadow:1px 0 0 var(--line)}.legacy thead th:first-child{z-index:3}.legacy .num{text-align:right;font-variant-numeric:tabular-nums lining-nums;font-feature-settings:"tnum" 1;white-space:nowrap}.legacy label{display:grid;gap:.3rem;font-weight:600}.legacy .choice{display:flex;gap:.75rem;align-items:flex-start;font-weight:500;padding:.85rem .9rem;background:white;border:1px solid var(--line);border-radius:.75rem}.legacy .choice input{width:1.35rem;height:1.35rem;margin-top:.2rem;flex:none}.legacy button,.legacy input{font:inherit}.legacy input[type=date],.legacy input[type=email],.legacy input[type=password],.legacy input[type=search],.legacy input[type=text],.legacy select{width:100%;padding:.7rem .75rem;border:1px solid var(--line);border-radius:.5rem;background:white;color:var(--ink);font:inherit}.legacy button{width:100%}.legacy .bar button,.legacy button.ghost{width:auto;background:transparent;color:var(--ink);border:1px solid var(--line)}.legacy h2{font-size:1.2rem;margin:1.25rem 0 .5rem}.legacy .actions button,.legacy button.small{width:auto;padding:.45rem .85rem}.legacy .actions{display:flex;flex-wrap:wrap;gap:.5rem}.legacy .narrow,.legacy main.wide{max-width:none}.legacy .stats{display:grid;grid-template-columns:1fr;gap:.75rem;margin:0 0 1rem}.legacy .stat{display:block;background:white;border:1px solid var(--line);border-radius:.75rem;padding:1rem;color:inherit;text-decoration:none;min-height:8.5rem}.legacy .stat h2{margin:0 0 .35rem;font-size:1rem}.legacy .figure{font-size:1.35rem;margin:.25rem 0}.legacy .figure,.legacy .mark{font-weight:600;line-height:1.2}.legacy .mark{font-size:1.15rem;margin:.2rem 0}.legacy .mark.good{color:#166534}.legacy .mark.bad{color:#b91c1c}.legacy .good-box{border-color:#86efac}.legacy .bad-box{border-color:#fca5a5}.legacy .problems{margin:0;padding-left:1.1rem;color:#9a3412;font-weight:700}.legacy .check{display:flex;gap:.6rem;align-items:center}.legacy .check input{width:1.3rem;height:1.3rem}.legacy input[type=file]{font:inherit}.legacy details.group{background:white;border:1px solid var(--line);border-radius:.75rem;margin:0 0 .6rem}.legacy details.group summary{display:grid;grid-template-columns:auto 1fr auto;grid-template-areas:"no name value" "meta meta meta";gap:.15rem .8rem;align-items:baseline;cursor:pointer;padding:.85rem 1rem;font-weight:700}.legacy details.group summary::-webkit-details-marker{display:none}.legacy .gno{grid-area:no;color:var(--accent)}.legacy .gname{grid-area:name}.legacy .gmeta{grid-area:meta;color:var(--muted);font-weight:500;font-size:.9rem}.legacy .gval{grid-area:value;font-variant-numeric:tabular-nums;white-space:nowrap}.legacy .tag{display:inline-block;margin-left:.45rem;padding:.05rem .4rem;border-radius:.35rem;background:#ffedd5;color:#9a3412;font-size:.8rem;font-weight:700}.legacy .table-wrap.plain{margin:0;border:0;border-radius:0;border-top:1px solid var(--line)}.legacy .banner{background:#fff7ed;border:1px solid #fdba74;border-radius:.75rem;padding:.8rem 1rem;margin:0 0 1rem}.legacy .zero-toggle{margin:0;padding:.75rem 1rem 1rem}.legacy .group-line{display:grid;gap:.35rem;padding:.75rem 0;border-bottom:1px solid var(--line)}.legacy .yesno{display:flex;flex-wrap:wrap;gap:1rem}.legacy .yesno label{display:flex;gap:.4rem;align-items:center;font-weight:650}.legacy .yesno input{width:1.25rem;height:1.25rem}.legacy a.button-link{background:var(--accent);color:white;padding:.7rem 1.1rem;border-radius:.5rem}.legacy a.button-link,.legacy a.change-link{display:inline-block;font-weight:700;text-decoration:none}.legacy a.change-link{margin-top:.35rem;padding:.35rem .65rem;border:1px solid var(--line);border-radius:.4rem;background:white;font-size:.95rem}.legacy .photo-link{display:inline-flex;align-items:center;gap:.3rem;font-weight:700}.legacy .photo-link svg{width:1.1rem;height:1.1rem;fill:currentColor}.legacy .history-note{color:var(--muted);font-size:.9rem}.legacy tr.struck td{text-decoration:line-through;color:var(--muted)}.legacy .row-form{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin:0 0 .5rem}.legacy .row-form input{flex:1 1 10rem}.legacy .panel button.ghost,.legacy .row-form button{width:auto}.legacy .count-list{display:grid;gap:.5rem}.legacy .count-row{display:grid;gap:.45rem;background:white;border:1px solid var(--line);border-radius:.75rem;padding:.75rem .9rem}.legacy .count-row input{max-width:none}.legacy .check-title{margin:0}.legacy .check-meta{margin:.15rem 0 0;color:var(--muted);font-size:.95rem}.legacy .check-do{display:grid;grid-template-columns:5.2rem minmax(0,1fr) minmax(0,1fr);gap:.4rem;margin-top:.45rem}.legacy .check-do input{min-height:2.8rem;text-align:center;font-weight:800;font-size:1.15rem}.legacy .check-do button{min-height:2.8rem;padding:.35rem .25rem}.legacy button.ok-mark{background:#166534}.legacy .check-note{margin-top:.4rem}.legacy .progress{height:.5rem;background:#e7e5e4;border-radius:999px;overflow:hidden;margin:.25rem 0 .15rem}.legacy .progress>span{display:block;height:100%;background:#166534}.legacy button.reset-check,.legacy button.toggle-line{background:white;color:var(--ink);border:1px solid var(--line)}.legacy button.reset-check{color:#9a3412;border-color:#fdba74}@media (min-width:700px){.legacy .count-row{grid-template-columns:1fr;align-items:stretch}.legacy details.group summary{grid-template-columns:4.5rem minmax(8rem,1fr) auto auto;grid-template-areas:"no name meta value"}.legacy .stats{grid-template-columns:1fr 1fr}}@media (min-width:1100px){.legacy .stats{grid-template-columns:repeat(4,1fr)}}.legacy .check-grid{display:grid;gap:1.25rem;align-items:start}.legacy .invoice-sheet{order:-1}.legacy .invoice-sheet iframe{width:100%;height:75vh;border:1px solid var(--line);border-radius:.75rem;background:white}.legacy .raw-text{white-space:pre-wrap;max-height:16rem;overflow:auto;font-size:.85rem;background:white;border:1px solid var(--line);border-radius:.5rem;padding:.75rem}@media (min-width:960px){.legacy .check-grid{grid-template-columns:minmax(0,1.15fr) minmax(22rem,.85fr)}.legacy .invoice-sheet{order:0;position:sticky;top:4.5rem}}.legacy .bar-right{flex-wrap:wrap;gap:.45rem .75rem}.legacy a.update-link{padding:.28rem .6rem;border:1px solid var(--line);border-radius:.45rem;background:white;color:var(--ink);font-size:.82rem;font-weight:500;line-height:1.2;text-decoration:none;white-space:nowrap}.legacy .race-card{background:white;border:1px solid var(--line);border-radius:.75rem;padding:.75rem .9rem .55rem;margin:0 0 .65rem}.legacy .race-card p{margin:0}.legacy .race-title{margin:0 0 .55rem;font-size:1rem;line-height:1.2;font-weight:700}.legacy .race-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.4rem}.legacy .race-grid article{min-width:0;padding:.35rem .5rem .4rem;background:white;border:1px solid var(--line);border-radius:.5rem}.legacy .race-grid article.bad{background:#fef2f2;border-color:#fecaca}.legacy .race-grid article.good{background:#f0fdf4;border-color:#bbf7d0}.legacy .race-grid em,.legacy .race-grid span{display:block;color:#78716c;font-size:13px;font-style:normal;font-weight:500;line-height:1.25}.legacy .race-grid em{font-size:12px;font-weight:400}.legacy .race-grid article.bad span{color:#b91c1c}.legacy .race-grid article.good span{color:#166534}.legacy .race-grid strong{display:block;margin:.05rem 0 .08rem;color:var(--ink);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:22px;font-weight:500;line-height:1.15;letter-spacing:-.03em;font-variant-numeric:tabular-nums}.legacy .race-grid article.bad strong{color:#b91c1c}.legacy .race-grid article.good strong{color:#166534}.legacy .race-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.2rem .85rem;margin:.5rem 0 .15rem;color:#57534e;font-size:12.5px;line-height:1.35}.legacy .race-meta form{display:inline-flex;margin:0}.legacy .race-meta b.late{color:#b91c1c;font-weight:700}.legacy .race-meta b.done{color:#166534;font-weight:700}.legacy .race-meta button.race-link{width:auto;min-height:0;margin:0;padding:0;background:transparent;color:#78716c;border:0;border-radius:0;font-size:12.5px;font-weight:500;line-height:1.35;text-decoration:underline;text-underline-offset:2px}.legacy .race-chart{display:block;width:100%;height:auto;margin:.1rem 0 .15rem}.legacy .race-chart text{font-family:ui-sans-serif,system-ui,sans-serif}.legacy .race-legend{display:flex;flex-wrap:wrap;gap:.15rem .7rem;margin:0 0 .15rem;color:#78716c;font-size:11px;font-weight:500;line-height:1.3}.legacy .swatch:before{content:"";display:inline-block;width:.9rem;height:.18rem;margin:0 .28rem .12rem 0;vertical-align:middle;border-radius:99px}.legacy .swatch.before:before{background:#44403c}.legacy .swatch.green:before{background:#166534}.legacy .swatch.red:before{background:#b91c1c}.legacy .swatch.plan:before{background:repeating-linear-gradient(90deg,#a8a29e 0 4px,transparent 4px 7px)}.legacy .swatch.dot:before{width:.42rem;height:.42rem;margin:0 .32rem .06rem 0;background:#292524}.legacy .race-foot,.legacy .race-soft,.legacy .race-updating{color:#a8a29e;font-size:12px;line-height:1.35}.legacy .race-soft{margin-top:.15rem}.legacy .race-explain{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;margin:0 0 .85rem}.legacy .race-explain article{background:white;border:1px solid var(--line);border-radius:.65rem;padding:.55rem .7rem .6rem}.legacy .race-explain h3{margin:0 0 .25rem;font-size:.92rem;line-height:1.25}.legacy .race-explain p{margin:0;color:#57534e;font-size:13px;line-height:1.35}@media (max-width:860px){.legacy .race-explain,.legacy .race-grid{grid-template-columns:1fr 1fr}}@media (max-width:640px){.legacy .race-explain,.legacy .race-grid{grid-template-columns:1fr}}.legacy .dividend-fields{display:flex;flex-wrap:wrap;gap:.75rem}.legacy .dividend-fields label{flex:1 1 10rem;display:grid;gap:.3rem;font-weight:700}.legacy .holiday-list{list-style:none;margin:0 0 .8rem;padding:0;display:grid;gap:.35rem}.legacy .holiday-list form{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin:0;padding:.4rem .6rem;background:white;border:1px solid var(--line);border-radius:.55rem}.legacy main.wide:has(.race-card){padding-top:1.15rem}.legacy a.quick-sale{display:flex;align-items:center;justify-content:center;max-width:28rem;min-height:3.6rem;margin:0 0 1rem;padding:.7rem 1rem;border-radius:.85rem;background:#1d4ed8;color:white;font-size:1.25rem;font-weight:800;line-height:1.15;text-align:center;text-decoration:none}.legacy .goal-box{max-width:36rem;margin:0 0 1rem;padding:.85rem .9rem .7rem;background:white;border:1px solid var(--line);border-radius:.85rem;overflow:hidden}.legacy .goal-box h2{margin:0 0 .55rem;font-size:1.15rem}.legacy .goal-grid{display:grid;grid-template-columns:1fr 1fr;gap:.45rem .75rem}.legacy .goal-grid p{display:flex;flex-direction:column;gap:.1rem;margin:0;min-width:0;color:var(--muted);font-size:.82rem;font-weight:600}.legacy .goal-grid strong{color:var(--ink);font-size:1rem;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.legacy .goal-chart{display:block;width:100%;height:auto;margin:.7rem 0 .35rem}.legacy .goal-accounts{margin:.2rem 0 0;font-size:.82rem;overflow-wrap:anywhere}.legacy .reason-list{display:grid;gap:.35rem}.legacy .reason-list label{display:flex;gap:.55rem;align-items:flex-start;margin:0;padding:.55rem .65rem;border:1px solid var(--line);border-radius:.6rem;background:white;font-weight:600}.legacy .reason-list input{width:auto;margin-top:.2rem}.legacy details.empty-groups>summary{display:block}.legacy details.empty-groups .group{margin:0 .55rem .55rem}.legacy details.group summary:not(:has(.gno)){grid-template-columns:1fr auto;grid-template-areas:"name value" "meta meta"}.legacy main.sale{max-width:32rem;padding-top:.75rem;padding-bottom:2rem}.legacy main.sale h1{font-size:1.4rem;margin-bottom:.45rem}.legacy main.sale h2{margin-top:1.1rem}.legacy .sale-form{gap:.55rem}.legacy .sale-line{display:grid;gap:.35rem}.legacy .qty-label{margin:0;font-weight:600}.legacy .qty-row{display:grid;grid-template-columns:3.4rem minmax(0,1fr) 3.4rem;gap:.45rem}.legacy .qty-row button{min-height:3.4rem;padding:0;font-size:1.8rem;line-height:1}.legacy .qty-row button:disabled{opacity:.35}.legacy .qty-figure{display:flex;align-items:center;justify-content:center;min-height:3.4rem;border:1px solid var(--line);border-radius:.5rem;background:white;font-size:1.7rem;font-weight:800;font-variant-numeric:tabular-nums}.legacy .sale-shelf{margin:0;font-size:.95rem}.legacy .pay-field{border:0;margin:0;padding:0;min-width:0}.legacy .pay-field legend{font-weight:600;padding:0;margin:0 0 .25rem}.legacy .pay-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.4rem}.legacy .pay-row button{min-height:2.9rem;padding:.35rem .25rem;background:white;color:var(--ink);border:1px solid var(--line);font-size:.95rem}.legacy .pay-row button[aria-pressed=true]{background:#1d4ed8;color:white;border-color:#1d4ed8}.legacy button.sale-save,.legacy button.warn-save{min-height:3.4rem;font-size:1.2rem}.legacy button.warn-save{background:#9a3412}.legacy .sale-hint{margin:0;font-size:.9rem}.legacy button.add-line,.legacy button.quiet{background:white;color:var(--accent);border:1px dashed #cbd5e1}.legacy button.quiet{width:auto;justify-self:start;border:0;background:transparent;color:var(--muted);padding:0;min-height:0;font-size:.95rem}.legacy .sale-history{display:grid;gap:.55rem}.legacy .sale-past p{margin:0 0 .15rem}.legacy .sale-past form{margin:.45rem 0 0}.legacy tr.order-fine td,.legacy tr.order-now td,.legacy tr.order-soon td{background:white}.legacy tr.order-now .status{color:#b91c1c;font-weight:800}.legacy tr.order-soon .status{color:#9a3412;font-weight:800}.legacy tr.order-fine .status{color:#166534;font-weight:800}.legacy .sales-grid{display:grid;grid-template-columns:1fr 1fr;gap:.65rem 1rem;margin:0 0 .8rem}.legacy .sales-grid p{margin:0;color:var(--muted);font-size:.9rem;font-weight:600}.legacy .sales-grid strong{display:block;color:var(--ink);font-size:1.05rem;font-weight:600}.legacy .sales-note{color:#a8a29e;font-size:.9rem}.legacy .version-stamp{position:fixed;top:.28rem;right:.7rem;color:#a8a29e;font-size:.72rem;font-weight:400;text-decoration:none;z-index:40}.legacy .who{color:var(--ink);font-size:.82rem}.legacy .text-button{background:transparent;color:var(--muted);font-weight:400;font-size:.82rem;padding:.15rem .2rem}.legacy .nav-toggle{position:absolute;opacity:0;pointer-events:none}.legacy .nav-button{display:none}.legacy .topnav{gap:.15rem}.legacy .menu-panel{top:100%;left:0;min-width:12rem;border-radius:.4rem;padding:.25rem;z-index:20}.legacy .menu-drop:focus-within .menu-panel,.legacy .menu-drop:hover .menu-panel{display:grid}.legacy .menu-drop>a.active,.legacy .menu-panel a.active,.legacy .topnav>a.active{box-shadow:inset 0 -2px 0 var(--accent)}.legacy .status-pill{padding:.05rem .4rem;font-size:.75rem;background:#f5f5f4;color:#44403c}.legacy .status-pill.red{background:#fee2e2;color:#991b1b}.legacy .status-pill.yellow{background:#fef3c7;color:#92400e}.legacy .status-pill.green{background:#dcfce7;color:#166534}.legacy .status-pill.rare{background:#f5f5f4;color:#57534e}.legacy tr.order-fine,.legacy tr.order-now,.legacy tr.order-soon{background:transparent}@media (max-width:800px){.legacy .nav-button{display:inline-block;font-size:.9rem;padding:.25rem .4rem}.legacy .topnav{display:none;flex-direction:column;align-items:stretch}.legacy .nav-toggle:checked~.topnav{display:flex}.legacy .menu-panel{position:static;display:grid;border:0;padding:0 0 .4rem .6rem}.legacy th,.legacy thead th{position:static}.legacy .table-wrap{overflow-x:auto}}.legacy .bars{display:flex;align-items:flex-end;gap:2px;height:7rem;margin:0 0 1rem}.legacy .bars.labeled{height:9rem;align-items:stretch}.legacy .month-bar{flex:1 1 0;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;min-width:0}.legacy .inline-form{display:flex;flex-wrap:wrap;gap:.35rem;align-items:center;margin-top:.35rem}.legacy .inline-form select{width:auto;margin:0;padding:.2rem .35rem;font-size:.82rem}.legacy .inline-form button{padding:.2rem .45rem;font-size:.82rem}.legacy .rare-group,.legacy .rare-group h2{color:#78716c}.legacy .bar-fill{display:block;width:100%;background:#1d4ed8;min-height:0}.legacy .bar-label,.legacy .bar-num{font-size:.62rem;color:var(--muted);line-height:1.1}.legacy .runout{width:100%;max-width:36rem;height:auto;margin:0 0 1rem;background:white;border:1px solid var(--line);border-radius:.5rem}.legacy select{display:block;width:100%;margin-top:.25rem;font:inherit;padding:.45rem .6rem}.legacy .nowrap{white-space:nowrap}.legacy .fact-grid{display:grid;gap:.8rem;margin:.6rem 0 1rem}.legacy .fact-grid article,.legacy .fact-wide,.legacy .settings-box,.legacy .today-box{border:1px solid var(--line);border-radius:.6rem;padding:.8rem 1rem;background:white;margin:0 0 .8rem}.legacy .product-head{font-size:1.05rem}.legacy .switch{display:inline-flex;align-items:center;gap:.45rem;color:#78716c;font-weight:700}.legacy .switch.on{color:#166534}.legacy .switch input[type=checkbox]{width:1.15rem;height:1.15rem}.legacy .progress.met>span{background:#166534}.legacy .progress:not(.met)>span{background:#b45309}.legacy .tab-row{display:flex;flex-wrap:wrap;gap:.35rem;margin:.4rem 0 .8rem}.legacy .tab-row a{padding:.3rem .55rem;border:1px solid var(--line);border-radius:999px;text-decoration:none;font-size:.85rem}.legacy .tab-row a.active{background:#166534;color:white;border-color:#166534}.legacy .year-bars{width:100%}.legacy .machine-line{display:grid;grid-template-columns:8rem repeat(10,minmax(4.5rem,1fr));gap:.3rem;align-items:center}.legacy .machine-line input,.legacy .machine-line select{margin:0;padding:.25rem;font-size:.8rem;width:100%}.legacy .race-toggle{display:flex;flex-wrap:wrap;gap:.4rem}.legacy .race-toggle a{padding:.25rem .65rem;border:1px solid var(--line);border-radius:999px;text-decoration:none}.legacy .race-toggle a.on{background:#166534;color:white;border-color:#166534}@media (min-width:800px){.legacy .fact-grid{grid-template-columns:1fr 1fr}}.legacy .table-wrap table,.legacy table.data{table-layout:fixed}.legacy .table-wrap td,.legacy .table-wrap th,.legacy td.num,.legacy th.num{white-space:nowrap}.legacy .table-wrap thead th{top:3.4rem;background:#fff}.legacy .product-cell,.legacy .product-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.legacy .supplier-line{font-size:.78rem}.legacy .menu-section-title{display:block;padding:.35rem .55rem .1rem;font-size:.72rem;letter-spacing:.04em}.legacy .menu-panel a.planned,.legacy .planned-tag{color:#a8a29e}.legacy .menu-panel a em{margin-left:.35rem;color:#a8a29e;font-style:normal;font-size:.72rem}.legacy .today-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;margin:.6rem 0 .8rem}.legacy .bar-right{display:flex;align-items:center;gap:.45rem;margin-left:auto;color:#78716c;font-size:.85rem}.legacy .bar-right .text-button,.legacy .bar-right .version-link,.legacy .bar-right .who{color:#78716c;font-size:.85rem;font-weight:400}.legacy:has(.bar)>.version-stamp{display:none}.legacy .race-toggle button{padding:.25rem .65rem;border:1px solid var(--line);border-radius:999px;background:white;color:var(--ink);cursor:pointer}.legacy .race-toggle button.on{background:#166534;color:white;border-color:#166534}.legacy .tick{min-width:1.8rem;padding:.15rem .35rem;border:1px solid var(--line);background:white;cursor:pointer}.legacy .table-wrap input,.legacy .table-wrap select{width:100%;margin:0;padding:.2rem .3rem}.legacy .sale-save{position:sticky;bottom:.5rem}.legacy .table-wrap td:first-child,.legacy .table-wrap th:first-child{width:34%}.legacy .keep-tick{display:flex;gap:.3rem;align-items:center;white-space:nowrap}.legacy .sheet img,.legacy main img{max-width:100%;height:auto}@media (max-width:900px){.legacy .today-row{grid-template-columns:1fr}}.legacy{scroll-behavior:smooth}.legacy h1{font-size:22px;font-weight:600;letter-spacing:-.02em}.legacy h1.lg{font-size:26px;margin:0 0 4px}.legacy .kicker{margin:0 0 2px;color:var(--muted);font-size:12.5px}.legacy .bar{padding:0;align-items:stretch;background:var(--card);border-bottom:1px solid var(--line);z-index:20}.legacy .bar-in{gap:28px;width:100%;padding:10px 24px;flex-wrap:nowrap}.legacy .bar-in,.legacy .brand{display:flex;align-items:center}.legacy .brand{gap:10px;color:var(--ink);text-decoration:none;flex:0 0 auto}.legacy .brand .mark,.legacy .brand img{height:40px;width:auto;display:block}.legacy .brand .mark{width:40px;border-radius:10px;background:var(--accent);color:white;font-weight:700;display:grid;place-items:center}.legacy .brand strong{display:block;font-size:15px;font-weight:600;line-height:1.15}.legacy .brand em{display:block;font-style:normal;font-size:12px;color:var(--muted);font-weight:400}.legacy .menus{flex:1 1 auto;min-width:0;display:block}.legacy .topnav{display:flex;flex-wrap:nowrap;gap:2px;align-items:center}.legacy .menu-drop>a,.legacy .topnav>a{padding:8px 12px;border-radius:8px;font-size:15px;font-weight:500;color:#3e4943;white-space:nowrap;text-decoration:none;box-shadow:none}.legacy .menu-drop>a:hover,.legacy .topnav>a:hover{background:#f0f2ee}.legacy .menu-drop.open>a,.legacy .menu-drop>a.active,.legacy .topnav>a.active{background:var(--accent-wash);color:var(--accent);box-shadow:none}.legacy .who{margin-left:auto;display:flex;align-items:center;gap:12px;font-size:13px;color:var(--muted);white-space:nowrap;flex:0 0 auto}.legacy .avatar{width:30px;height:30px;border-radius:999px;background:var(--accent-wash);color:var(--accent);font-size:12px;font-weight:600;display:grid;place-items:center}.legacy .version-link{color:var(--muted);font-size:13px;text-decoration:none}.legacy .who .text-button{color:var(--accent);font-size:13px;padding:0;background:transparent}.legacy .menu-drop{position:relative}.legacy .menu-panel{display:none;position:absolute;top:calc(100% + 8px);left:50%;transform:translateX(-50%);background:white;border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 32px rgba(23,32,27,.12);padding:20px;z-index:30;width:max-content;max-width:calc(100vw - 48px)}.legacy .menu-drop.open .menu-panel,.legacy .menu-drop:hover .menu-panel{display:flex;gap:28px}.legacy .menu-section{display:flex;flex-direction:column;gap:2px;min-width:220px}.legacy .menu-section-title{font-size:11.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);padding:0 10px 6px}.legacy .menu-panel a{white-space:nowrap;padding:8px 10px;border-radius:8px;color:var(--ink);font-weight:600;font-size:14px;box-shadow:none}.legacy .menu-panel a em,.legacy .menu-panel a span{display:block;margin-top:1px;margin-left:0;font-size:12.5px;font-weight:400;color:var(--muted);white-space:nowrap;font-style:normal}.legacy .menu-panel a:hover{background:#f4f5f2}.legacy .menu-panel a.active{background:var(--accent-wash);color:var(--ink)}.legacy .panel{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:14px 16px}.legacy .panel.mine{background:var(--mine-wash);border-color:var(--mine-line)}.legacy .head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px}.legacy .head b{font-size:14px;font-weight:600}.legacy .goal-line{display:grid;grid-template-columns:minmax(0,1fr) 96px 44px;gap:10px;align-items:center;padding:7px 0;border-top:1px solid #d9e8f0}.legacy .goal-line:first-of-type{border-top:0}.legacy .goal-line .label{font-size:12.5px;color:var(--accent-dark)}.legacy .goal-line strong{font-size:15px;font-weight:600}.legacy .goal-line.today strong{font-size:17px}.legacy .goal-line .of{color:var(--muted);font-weight:400;font-size:13px}.legacy .goal-line .pct{text-align:right;font-weight:600}.legacy .pct.low{color:#76440a}.legacy .pct.met{color:#1e5b3a}.legacy .status-pill{display:inline-block;padding:1px 8px;border-radius:999px;font-size:11.5px;font-weight:600;white-space:nowrap;background:#eef0ec;color:#4d5751}.legacy .pill-red{background:#fbe7e4;color:#8f2419}.legacy .pill-amber{background:#fbf0dd;color:#76440a}.legacy .pill-green{background:#e2f1e7;color:#1e5b3a}.legacy .pill-grey{background:#eef0ec;color:#4d5751}.legacy .btn,.legacy button{background:var(--accent);color:white;border:0;border-radius:9px;padding:9px 14px;font-size:14px;font-weight:600}.legacy .btn.quiet,.legacy a.quiet,.legacy button.ghost,.legacy button.quiet,.legacy button.small{background:white;color:var(--ink);border:1px solid #d5d9d3}.legacy button:disabled{opacity:.55;cursor:not-allowed}.legacy label{font-size:13px;font-weight:500;color:#3e4943}.legacy input,.legacy select,.legacy textarea{font:inherit;font-size:15px;border:1px solid #d5d9d3;border-radius:9px;padding:9px 12px;background:white;color:var(--ink);width:100%}.legacy input[type=checkbox],.legacy input[type=file],.legacy input[type=radio]{width:auto}.legacy .field-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px 14px}.legacy .field-grid label,.legacy .logo-card label{display:flex;flex-direction:column;gap:4px}.legacy .logo-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-bottom:14px}.legacy .logo-card{border:1px dashed #d5d9d3;border-radius:12px;padding:12px;background:#fafaf8}.legacy .connect-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.legacy .connect-card{border:1px solid var(--line);border-radius:12px;padding:12px;background:white}.legacy .settings-layout{display:flex;flex-wrap:wrap;gap:24px;align-items:flex-start}.legacy .settings-nav{flex:1 1 200px;max-width:230px;position:sticky;top:84px;align-self:flex-start;display:flex;flex-direction:column;gap:2px}.legacy .settings-nav a{padding:9px 12px;border-radius:8px;font-weight:500;color:var(--ink);text-decoration:none}.legacy .settings-nav a.active{background:white;color:var(--accent);box-shadow:0 0 0 1px var(--line)}.legacy .settings-content{flex:999 1 640px;min-width:0;display:flex;flex-direction:column;gap:16px;max-height:calc(100vh - 108px)}.legacy .settings-scroll{overflow:auto;min-height:0;flex:1 1 auto;padding-right:4px}.legacy .settings-scroll,.legacy .settings-sections{display:flex;flex-direction:column;gap:16px}.legacy .settings-content .panel{padding:22px 24px;scroll-margin-top:84px}.legacy .save-bar{position:sticky;bottom:12px;display:flex;justify-content:flex-end;gap:8px;padding:10px 12px;background:rgba(244,245,242,.94);border:1px solid var(--line);border-radius:12px;z-index:4}.legacy .holiday-pills{display:flex;flex-wrap:wrap;gap:8px}.legacy .holiday-pills form,.legacy .pill-chip{display:inline-flex;align-items:center;gap:6px;margin:0;padding:4px 10px;border-radius:999px;background:#eef0ec;color:#4d5751;font-size:13px}.legacy a.panel,.legacy a.todo-line{color:inherit;text-decoration:none;display:block}.legacy a.panel:hover{border-color:#c5d5df}.legacy .bank-compact .seg{margin:0 0 8px}.legacy .menu-section{align-items:stretch}.legacy .menu-panel a{display:block;text-align:left}.legacy .table-wrap{background:white;border:1px solid var(--line);border-radius:12px;overflow-x:auto}.legacy .table-wrap table,.legacy table.data{width:100%;border-collapse:separate;border-spacing:0;font-size:14px}.legacy .table-wrap.sheet table,.legacy .table-wrap.sheet td:first-child,.legacy .table-wrap.sheet th:first-child{width:auto}.legacy .table-wrap thead th{position:sticky;top:0;background:var(--head-row);color:var(--muted);font-size:12.5px;font-weight:600;padding:12px 14px;border-bottom:1px solid var(--line);white-space:nowrap;z-index:2}.legacy .table-wrap td{padding:12px 14px;border-bottom:1px solid var(--line-soft);font-variant-numeric:tabular-nums;vertical-align:top}.legacy .table-wrap td.product-cell,.legacy .table-wrap td.product-cell .product-line{white-space:normal}.legacy .supplier-line{color:var(--muted);font-size:12.5px;font-weight:400}.legacy tr.group-row td{background:#f7f8f5;font-size:12.5px;font-weight:600;padding:8px 14px}.legacy .filter-row{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:0 0 14px}.legacy .filter-row label{display:flex;flex-direction:column;gap:4px;min-width:180px}.legacy .filter-row label.grow{flex:1 1 280px}.legacy .count-pills{display:flex;gap:8px;align-items:center;margin-left:auto}.legacy .count-pills a{text-decoration:none;padding:4px 10px;border-radius:999px;font-size:13px;font-weight:600}.legacy .count-pills a.red{background:#fbe7e4;color:#8f2419}.legacy .count-pills a.amber{background:#fbf0dd;color:#76440a}.legacy .count-pills a.green{background:#e2f1e7;color:#1e5b3a}.legacy .count-pills a.on{box-shadow:inset 0 0 0 1.5px currentColor}.legacy .pace{display:block}.legacy .pace small{display:block;color:var(--muted);font-size:12px;font-weight:400}.legacy .lead-default{color:var(--muted)}@media (max-width:1440px){.legacy .bar-in{gap:16px}.legacy .menu-drop>a,.legacy .topnav>a{padding:7px 9px;font-size:14px}.legacy .who-name{display:none}}@media (max-width:800px){.legacy .settings-content{max-height:none}.legacy .settings-nav{position:static;max-width:none;flex-direction:row;flex-wrap:wrap}.legacy .brand em{display:none}}a.version-stamp{position:fixed;bottom:.45rem;left:.7rem;z-index:40;color:#8a938d;font-size:11px;font-weight:500;text-decoration:none}