:root{--bg:#f6f4ef;--surface:#fff;--text:#1d1b18;--muted:#6b665d;--line:#ddd8cc;--accent:#0078bf;--accent-text:#fff;--chip-on:#e3eff8;--warning:#9a5b00;--danger:#b3261e;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--text);background:var(--bg);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;line-height:1.4}@media (prefers-color-scheme:dark){:root{--bg:#171614;--surface:#23211e;--text:#ece8e1;--muted:#a29c91;--line:#3a3732;--accent:#4aa8e8;--accent-text:#0b1620;--chip-on:#1b3346;--warning:#f0b45a;--danger:#f2877f;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}*{box-sizing:border-box}body{background:var(--bg);margin:0}h1,h2,h3{margin:0;line-height:1.2}button,input{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.4}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.app-head{justify-content:space-between;align-items:center;max-width:44rem;margin:0 auto;padding:1rem 1rem 0;display:flex}.app-head h1{font-size:1.4rem}main{max-width:44rem;margin:0 auto;padding:0 1rem 6rem}.intro,.hint{color:var(--muted)}.hint{margin:.25rem 0 0;font-size:.9rem}.card{background:var(--surface);border:1px solid var(--line);border-radius:12px;margin-bottom:1rem;padding:1rem}.job-head{align-items:center;gap:.75rem;margin-bottom:.75rem;display:flex}.job-name{background:0 0;border:1px solid #0000;border-radius:6px;flex:1;min-width:0;margin-left:-.5rem;padding:.35rem .5rem;font-size:1.15rem;font-weight:600}.job-name:hover,.job-name:focus{border-color:var(--line)}.fields{flex-wrap:wrap;gap:.75rem 1.5rem;display:flex}.field{flex-direction:column;gap:.3rem;margin-bottom:.75rem;display:flex}.field>span{color:var(--muted);font-size:.85rem;font-weight:600}input[type=number]{border:1px solid var(--line);background:var(--bg);border-radius:6px;width:6rem;padding:.4rem .5rem}.stepper{display:flex}.stepper input{text-align:center;appearance:textfield;border-radius:0;width:3.5rem}.stepper input::-webkit-inner-spin-button{appearance:none}.stepper button,.segmented button{border:1px solid var(--line);background:var(--surface);min-width:2.5rem;padding:.4rem .75rem}.stepper button:first-child,.segmented button:first-child{border-radius:6px 0 0 6px}.stepper button:last-child,.segmented button:last-child{border-radius:0 6px 6px 0}.stepper button:first-child{border-right:0}.stepper button:last-child{border-left:0}.segmented{display:flex}.segmented button+button{border-left:0}.segmented button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:var(--accent-text)}.chips{flex-wrap:wrap;gap:.4rem;display:flex}.chip{border:1px solid var(--line);background:var(--surface);opacity:.7;border-radius:999px;align-items:center;gap:.4rem;padding:.3rem .7rem .3rem .45rem;display:inline-flex}.chip[aria-pressed=true]{border-color:var(--accent);background:var(--chip-on);opacity:1;font-weight:600}.swatch{border:1px solid #7f7f7f80;border-radius:50%;width:.9rem;height:.9rem}.batches{margin:.5rem 0 .75rem;padding:0;list-style:none}.batch{border-top:1px solid var(--line);padding:.75rem 0 0}.batch-head{align-items:center;gap:.75rem;margin-bottom:.5rem;display:flex}.batch-head h3{flex:1;font-size:1rem}.money{font-variant-numeric:tabular-nums;font-weight:600}.back{flex-wrap:wrap;align-items:center;gap:.5rem 1rem;display:flex}.link{color:var(--accent);background:0 0;border:0;align-self:flex-start;padding:.25rem 0}.link.danger{color:var(--danger)}.icon{width:2rem;height:2rem;color:var(--muted);background:0 0;border:0;border-radius:50%;font-size:1.3rem;line-height:1}.icon:hover{background:var(--bg)}.secondary{border:1px dashed var(--muted);background:0 0;border-radius:8px;padding:.5rem 1rem}.add-job{width:100%;margin-bottom:1rem}.warning{color:var(--warning);margin:.5rem 0 0;font-size:.9rem}.warning:before{content:"⚠ "}.subtotal{border-top:1px solid var(--line);flex-wrap:wrap;gap:.5rem 1.5rem;margin:1rem 0 0;padding-top:.75rem;display:flex}.subtotal div{flex-direction:column;display:flex}.subtotal dt{color:var(--muted);font-size:.8rem}.subtotal dd{font-variant-numeric:tabular-nums;margin:0}.subtotal .total{text-align:right;margin-left:auto}.subtotal .total dd{font-size:1.15rem;font-weight:700}.summary h2{margin-bottom:.75rem;font-size:1.15rem}.table-wrap{overflow-x:auto}table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}th,td{border-bottom:1px solid var(--line);text-align:right;white-space:nowrap;padding:.4rem .5rem}th:first-child{text-align:left;white-space:normal;padding-left:0}td:last-child,th:last-child{padding-right:0}thead th{color:var(--muted);font-size:.8rem;font-weight:600}tbody th{font-weight:400}tfoot th,tfoot td{border-bottom:0;font-weight:700}.total-bar{max-width:44rem;padding:.75rem 1rem calc(.75rem + env(safe-area-inset-bottom));background:var(--accent);color:var(--accent-text);justify-content:space-between;align-items:baseline;margin:0 auto;display:flex;position:fixed;inset:auto 0 0}@media (width>=44rem){.total-bar{border-radius:12px 12px 0 0}}.total-bar strong{font-variant-numeric:tabular-nums;font-size:1.4rem}
