:root{--bg:#f6f7f9;--card:#fff;--text:#14171c;--muted:#6b7280;--line:#e8eaee;--accent:#3b5bfd;--accent-soft:#e9edff;--on-accent:#fff;--danger:#d1344b;--radius:20px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#0f1115;--card:#181b21;--text:#f2f4f8;--muted:#9aa3b2;--line:#262a33;--accent:#7b92ff;--accent-soft:#232a4a;--on-accent:#0f1115;--danger:#ff6b81}}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);-webkit-text-size-adjust:100%;margin:0}.app{max-width:640px;margin:0 auto;padding:16px 16px 64px}header{justify-content:space-between;align-items:center;gap:12px;padding:8px 0 16px;display:flex}.brand{text-overflow:ellipsis;white-space:nowrap;font-size:1.05rem;font-weight:600;overflow:hidden}main{flex-direction:column;gap:20px;display:flex}h2{margin:8px 0 4px;font-size:1.15rem}h3{color:var(--muted);margin:20px 0 8px;font-size:.95rem;font-weight:600}p{margin:0}.muted{color:var(--muted);font-size:.92rem}.label{color:var(--muted);font-size:.9rem}.hero{flex-direction:column;gap:6px;padding:24px 4px 8px;display:flex}.total{letter-spacing:-.03em;font-variant-numeric:tabular-nums;font-size:clamp(2.6rem,14vw,4.2rem);font-weight:700;line-height:1.05}.big{letter-spacing:-.02em;margin:4px 0;font-size:2.2rem;font-weight:700}.mid{font-variant-numeric:tabular-nums;font-size:1.4rem;display:block}.card{background:var(--card);border-radius:var(--radius);flex-direction:column;gap:12px;padding:18px;display:flex}.live{align-items:flex-start}.timer{font-variant-numeric:tabular-nums;letter-spacing:-.02em;font-size:3rem;font-weight:700}.pill{background:var(--accent-soft);color:var(--accent);border-radius:99px;padding:4px 10px;font-size:.8rem;font-weight:600}.pill:before{content:"";background:var(--accent);border-radius:50%;width:8px;height:8px;margin-right:6px;animation:1.4s ease-in-out infinite pulse;display:inline-block}@keyframes pulse{50%{opacity:.25}}button,input,select{font:inherit;color:inherit}button{cursor:pointer}:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.btn{border:0;border-radius:16px;min-height:52px;padding:0 20px;font-weight:600;transition:transform .12s,opacity .12s}.btn:active{transform:scale(.98)}.btn:disabled{opacity:.45;cursor:not-allowed}.btn.primary{background:var(--accent);color:var(--on-accent)}.btn.ghost{background:var(--card);border:1px solid var(--line)}.btn.danger{color:var(--danger);border:1px solid var(--line);background:0 0}.btn.wide{width:100%}.link{color:var(--accent);background:0 0;border:0;min-height:44px;padding:0 4px;font-weight:600}.row{flex-wrap:wrap;justify-content:flex-end;gap:10px;width:100%;margin-top:8px;display:flex}.row .btn{flex:120px}.stack{flex-direction:column;gap:10px;margin-top:12px;display:flex}.segment{background:var(--line);border-radius:14px;align-self:flex-start;padding:3px;display:inline-flex}.segment button{min-height:40px;color:var(--muted);background:0 0;border:0;border-radius:11px;padding:0 16px;font-weight:600}.segment button.on{background:var(--card);color:var(--text);box-shadow:0 1px 3px #0000001a}.filters{grid-template-columns:1fr 1.5fr 1fr;gap:8px;display:grid}.filters select{padding:0 6px}.filters label,.field{flex-direction:column;gap:6px;display:flex}.filters small,.field>span{color:var(--muted);font-size:.8rem;font-weight:600}select,input:not([type=checkbox]),.input{border:1px solid var(--line);background:var(--bg);border-radius:14px;width:100%;min-height:48px;padding:0 12px}select:disabled{opacity:.5}.calc-toggle{align-self:flex-start;padding:0}.calc{background:var(--bg);border-radius:16px;flex-direction:column;gap:12px;padding:14px;display:flex}.calc input:not([type=checkbox]),.calc select{background:var(--card)}.check{align-items:center;gap:10px;min-height:44px;display:flex}.check input{width:22px;height:22px;accent-color:var(--accent);flex:none}.line{justify-content:space-between;align-items:center;gap:12px;display:flex}.line>div{flex-direction:column;display:flex}.result{border-top:1px solid var(--line);padding-top:12px}.plain{margin:0;padding:0;list-style:none}.list{flex-direction:column;gap:10px;display:flex}.row-item{text-align:left;background:var(--card);border-radius:var(--radius);border:0;align-items:center;gap:12px;width:100%;min-height:64px;padding:16px 18px;display:flex}.row-item .grow{flex-direction:column;gap:3px;display:flex}.grow{flex:1;min-width:0}.cost{font-variant-numeric:tabular-nums;white-space:nowrap}.bar{background:var(--line);border-radius:99px;height:6px;margin-top:8px;display:block;overflow:hidden}.bar i{background:var(--accent);border-radius:99px;height:100%;transition:width .4s;display:block}.score{background:var(--card);border-radius:var(--radius);align-items:flex-start;gap:14px;padding:16px 18px;display:flex}.score .grow{flex-direction:column;gap:2px;display:flex}.rank{background:var(--accent-soft);width:28px;height:28px;color:var(--accent);border-radius:50%;flex:none;place-items:center;font-size:.85rem;font-weight:700;display:grid}.empty{text-align:center;padding:24px 0}small{font-size:.82rem}.error{color:var(--danger);font-size:.9rem}.company{max-width:100%}.chips{flex-wrap:wrap;gap:8px;display:flex}.chip{border:1px solid var(--line);background:var(--bg);border-radius:99px;min-height:44px;padding:0 16px;font-weight:500}.chip.on{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.dur{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.dur label{flex-direction:column;align-items:center;gap:4px;display:flex}.dur small{color:var(--muted)}.overlay{z-index:10;background:#0a0c1273;justify-content:center;align-items:flex-end;animation:.18s fade;display:flex;position:fixed;inset:0}.sheet{background:var(--card);width:100%;max-width:560px;max-height:92dvh;padding:24px 20px calc(24px + env(safe-area-inset-bottom));border-radius:28px 28px 0 0;flex-direction:column;gap:14px;animation:.22s up;display:flex;overflow-y:auto}.sheet h2{margin:0;font-size:1.3rem}.sheet .line strong+small,.sheet .line small{display:block}@media (width>=640px){.overlay{align-items:center}.sheet{border-radius:28px}}@keyframes fade{0%{opacity:0}}@keyframes up{0%{opacity:0;transform:translateY(24px)}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}
