:root{--bg:#0f1117;--surface:#181b24;--surface-2:#20242f;--border:#2c313d;--text:#e7e9ee;--muted:#9aa1b1;--accent:#5b8cff;--accent-ink:#fff;--warn:#ffb454;--error:#ff6b6b;--radius:10px}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;line-height:1.5}.topbar{border-bottom:1px solid var(--border);align-items:baseline;gap:.75rem;padding:1rem 1.5rem;display:flex}.brand{color:var(--accent);font-size:1.2rem;font-weight:700}.tagline{color:var(--muted);font-size:.9rem}main{max-width:1100px;margin:0 auto;padding:1.5rem}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem 1.5rem}.layout{grid-template-columns:minmax(280px,360px) 1fr;align-items:start;gap:1.5rem;display:grid}@media (max-width:760px){.layout{grid-template-columns:1fr}}.login{max-width:380px;margin:3rem auto}h1,h2{margin:0 0 1rem}h2{font-size:1.05rem}.form-card h2:not(:first-child){margin-top:1.75rem}form{flex-direction:column;gap:.75rem;display:flex}label{color:var(--muted);flex-direction:column;gap:.3rem;font-size:.85rem;display:flex}input{border:1px solid var(--border);background:var(--surface-2);color:var(--text);border-radius:8px;padding:.55rem .7rem;font-size:.95rem}input:focus{outline:2px solid var(--accent);outline-offset:-1px}button{background:var(--accent);color:var(--accent-ink);cursor:pointer;border:none;border-radius:8px;padding:.55rem 1rem;font-size:.9rem;font-weight:600}button:hover{filter:brightness(1.08)}button.ghost{border:1px solid var(--border);color:var(--text);background:0 0}.actions{align-items:center;gap:.75rem;display:flex}.status,.muted{color:var(--muted);font-size:.85rem}.error{color:var(--error);min-height:1.2em;font-size:.85rem}.warning{color:var(--warn);background:#ffb4541a;border:1px solid #ffb4544d;border-radius:8px;padding:.6rem .8rem;font-size:.85rem}.saved{flex-direction:column;gap:.4rem;margin:.5rem 0 0;padding:0;list-style:none;display:flex}.saved-item{text-align:left;background:var(--surface-2);width:100%;color:var(--text);border:1px solid var(--border);font-weight:500}.saved-item:hover{border-color:var(--accent)}.totals{background:var(--surface-2);border-radius:8px;grid-template-columns:auto auto;gap:.3rem 1.5rem;width:fit-content;margin:0 0 1.25rem;padding:.9rem 1.1rem;display:grid}.totals dt{color:var(--muted);font-size:.85rem}.totals dd{font-variant-numeric:tabular-nums;text-align:right;margin:0;font-weight:600}.table-scroll{border:1px solid var(--border);border-radius:8px;max-height:460px;overflow:auto}table{border-collapse:collapse;width:100%;font-size:.85rem}th,td{border-bottom:1px solid var(--border);text-align:left;padding:.4rem .7rem}th{background:var(--surface-2);color:var(--muted);font-weight:600;position:sticky;top:0}td.num,th.num{text-align:right;font-variant-numeric:tabular-nums}tbody tr:last-child td{border-bottom:none}button.small{padding:.35rem .7rem;font-size:.8rem}.additionals{border-top:1px solid var(--border);margin-top:.25rem;padding-top:.75rem}.additionals-head{justify-content:space-between;align-items:center;display:flex}.additionals-head span{color:var(--muted);font-size:.85rem}.additionals-list{flex-direction:column;gap:.4rem;margin:.5rem 0 0;padding:0;list-style:none;display:flex}.additional-row{grid-template-columns:1fr 1fr auto;align-items:center;gap:.4rem;display:grid}.additional-row input{font-size:.85rem}.remove-add{padding:.3rem .6rem;line-height:1}.saved-head{justify-content:space-between;align-items:center;gap:.75rem;margin-top:1.75rem;display:flex}.saved-head h2{margin:0}.plan-panel{background:var(--surface-2);border:1px solid var(--border);border-radius:8px;margin-top:.75rem;padding:.9rem 1rem}.plan-inputs{flex-direction:column;gap:.6rem;margin:.6rem 0;display:flex}.plan-results{flex-direction:column;gap:.5rem;display:flex}.plan-card{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:.6rem .8rem}.plan-card-detail{color:var(--text);margin:.3rem 0 .5rem;font-size:.85rem}.plan-highlight{color:var(--accent);font-weight:600}.use-here{padding:.4rem .8rem;font-size:.8rem}#schedule-table .extra{display:none}#schedule-table.show-extras .extra{display:table-cell}.view-tabs{gap:.5rem;margin-bottom:1.25rem;display:flex}.tab{background:var(--surface);border:1px solid var(--border);color:var(--muted);font-weight:600}.tab.active{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.overview-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:1rem;display:flex}.overview-head h2{margin:0}.overview-row{cursor:pointer}.overview-row:hover td{background:var(--surface-2)}.overview-total-row td{color:var(--text);border-top:2px solid var(--border);border-bottom:none;font-weight:600}[hidden]{display:none}