:root{--header:#1f4d36;--header-dark:#143626;--button:#2f7a4d;--accent:#d9a441;--page:#f7f5ef;--panel:#fff;--chip:#e4f0e8;--border:#cbd2db;--line:#e1e5ea;--text:#1e2430;--muted:#4f5663;--error:#b00020;--error-dark:#8e1b21;--error-bg:#fdecec;--error-border:#e39a9e;--info:#1b3f66;--info-bg:#e8f1f8;--info-border:#a9c7e0}*{box-sizing:border-box}html,body{margin:0}body{background:var(--page);color:var(--text);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;line-height:1.5}a{color:var(--header)}a:hover{color:var(--header-dark)}[hidden]{display:none!important}.topbar{background:var(--header);color:#fff}.topbar-inner{flex-direction:column;gap:10px;max-width:1160px;margin:0 auto;padding:16px 24px;display:flex}.brand{align-items:center;gap:10px;font-size:18px;font-weight:700;display:flex}.mobile-progress{display:none}.mobile-progress .row{justify-content:space-between;font-size:13px;font-weight:500;display:flex}.bar{background:#ffffff4d;border-radius:3px;height:6px}.bar>div{background:var(--accent);border-radius:3px;height:6px}.shell{align-items:flex-start;gap:28px;max-width:1160px;margin:0 auto;padding:32px 24px;display:flex}.steps{flex-direction:column;flex:0 0 240px;gap:4px;display:flex}.steps button{color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:10px;align-items:center;gap:12px;padding:10px 12px;font-size:15px;font-weight:500;display:flex}.steps button[aria-current=step]{background:var(--chip);color:var(--header);font-weight:700}.steps button:disabled{cursor:default}.dot{background:var(--line);color:#3a414c;border-radius:14px;flex:0 0 28px;justify-content:center;align-items:center;height:28px;font-size:13px;font-weight:700;display:flex}.dot.now{background:var(--header);color:#fff}.dot.done{background:var(--button);color:#fff}.card{background:var(--panel);border:1px solid var(--line);border-radius:14px;flex-direction:column;flex:auto;gap:22px;min-width:0;padding:32px;display:flex}.card h1{margin:0;font-size:26px}.card h2{margin:0;font-size:17px}.eyebrow{color:var(--muted);font-size:13px;font-weight:600}.lead{color:var(--muted);margin:0;font-size:14px}.grid2{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px 20px;display:grid}.box{border:1px solid var(--border);border-radius:12px;flex-direction:column;gap:14px;padding:20px;display:flex}.box-title{font-size:16px;font-weight:700}.box-note{color:var(--muted);margin-top:-10px;font-size:13px}.field{flex-direction:column;gap:6px;min-width:0;display:flex}.field>label,.label{font-size:14px;font-weight:600;line-height:1.4}.req{color:var(--error)}.hint{color:var(--muted);font-size:12px}input[type=text],input[type=email],input[type=tel],input[type=date],input[type=search],select,textarea{border:1px solid var(--border);width:100%;min-height:44px;font:inherit;color:var(--text);background:#fff;border-radius:8px;padding:9px 12px;font-size:16px}textarea{resize:vertical;line-height:1.45}input:focus,select:focus,textarea:focus{outline:2px solid var(--header);outline-offset:1px}.invalid input,.invalid select,.invalid textarea,input.invalid{border:2px solid var(--error)}.error{color:var(--error);font-size:13px;line-height:1.4}.error-format{color:var(--error-dark)}.choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-width:420px;display:grid}.choice,.chip{border:1px solid var(--border);min-height:44px;color:var(--text);font:inherit;cursor:pointer;background:#fff;border-radius:8px;padding:0 14px;font-size:15px}.choice[aria-pressed=true],.chip[aria-pressed=true]{border:2px solid var(--header);background:var(--chip);color:var(--header);font-weight:600}.chips{flex-wrap:wrap;gap:8px;display:flex}.chip{border-radius:20px;min-height:40px}.check{cursor:pointer;align-items:flex-start;gap:10px;font-size:14px;line-height:1.45;display:flex}.check input{width:22px;height:22px;accent-color:var(--button);flex:0 0 22px;margin:0}.agree{border:1px solid var(--border);border-radius:10px;padding:12px 14px}.results{border:1px solid var(--border);border-radius:8px;flex-direction:column;display:flex;overflow:hidden}.results button{text-align:left;border:none;border-bottom:1px solid var(--line);font:inherit;color:var(--text);cursor:pointer;background:#fff;justify-content:space-between;align-items:center;gap:10px;padding:12px;display:flex}.results button:last-child{border-bottom:none}.results button[aria-pressed=true]{background:#e3f3ec;font-weight:600}.results .empty{color:var(--muted);padding:12px;font-size:14px}.rows{flex-direction:column;gap:10px;display:flex}.row-card{border:1px solid var(--border);border-radius:10px;gap:8px;padding:12px;display:grid}.row-card.bad{border-color:var(--error-border);background:#fff7f7}.team-row{grid-template-columns:1fr 1fr 1.3fr auto;align-items:start}.line-row{grid-template-columns:2fr 1.5fr 1fr 1fr .9fr auto;align-items:start}.source-row{grid-template-columns:2fr 1.6fr 1fr 1fr .9fr auto;align-items:start}.row-head{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;gap:8px;padding:0 13px;font-size:12px;font-weight:600;display:grid}.total-cell{white-space:nowrap;justify-content:flex-end;align-items:center;min-height:44px;font-weight:700;display:flex}.total-cell.struck{color:var(--error-dark);text-decoration:line-through}.mini-label{color:var(--muted);font-size:12px;font-weight:600;display:none}.remove{border:1px solid var(--border);min-height:44px;color:var(--error-dark);font:inherit;cursor:pointer;background:#fff;border-radius:8px;padding:0 12px;font-size:13px;font-weight:600}.add{border:1px dashed var(--header);min-height:42px;color:var(--header);font:inherit;cursor:pointer;background:#fff;border-radius:8px;align-self:flex-start;padding:0 16px;font-size:14px;font-weight:600}.blocked-note{background:var(--error-bg);color:var(--error-dark);border-radius:6px;grid-column:1/-1;padding:8px 10px;font-size:13px}.totals{border:1px solid var(--border);border-radius:10px;flex-direction:column;gap:6px;padding:14px;display:flex}.totals .line{color:var(--muted);justify-content:space-between;gap:12px;font-size:14px;display:flex}.totals .big{color:var(--text);font-size:18px;font-weight:700}.note{border-radius:10px;padding:12px 14px;font-size:14px;line-height:1.45}.note.info{background:var(--info-bg);border:1px solid var(--info-border);color:var(--info)}.note.problem{background:var(--error-bg);border:1px solid var(--error-border);color:var(--error-dark)}.files{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;display:grid}.file-slot{border:1px dashed var(--border);min-height:52px;color:var(--muted);border-radius:10px;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;font-size:14px;display:flex}.file-slot.filled{color:var(--text);border-style:solid;font-weight:600}.file-slot .name{overflow-wrap:anywhere}.file-slot label,.file-slot button{border:1px solid var(--border);min-height:36px;color:var(--header);font:inherit;cursor:pointer;background:#fff;border-radius:8px;flex:none;align-items:center;padding:0 12px;font-size:13px;font-weight:600;display:inline-flex}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.summary{border:1px solid var(--border);border-radius:12px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));column-gap:32px;padding:4px 20px;display:grid}.summary div{border-bottom:1px solid var(--line);justify-content:space-between;gap:12px;padding:11px 0;font-size:14px;display:flex}.summary span:first-child{color:var(--muted)}.summary span:last-child{text-align:right;font-weight:600}.nav{border-top:1px solid var(--line);justify-content:space-between;gap:10px;padding-top:20px;display:flex}.btn{min-height:48px;font:inherit;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;padding:0 24px;font-size:15px;font-weight:600;display:inline-flex}.btn.primary{background:var(--button);color:#fff;border:none;margin-left:auto}.btn.primary:disabled{opacity:.6;cursor:progress}.btn.secondary{color:var(--text);border:1px solid var(--border);background:#fff}.done{text-align:left}.done .number{color:var(--header);font-size:22px;font-weight:700}@media (max-width:860px){.topbar-inner{gap:12px;padding:20px 20px 16px}.brand{font-size:17px}.mobile-progress{flex-direction:column;gap:12px;display:flex}.steps{display:none}.shell{padding:0}.card{background:0 0;border:none;border-radius:0;padding:20px}.row-head{display:none}.team-row,.line-row,.source-row{background:#fff;grid-template-columns:1fr 1fr}.team-row>:nth-child(3),.line-row>:first-child,.source-row>:first-child{grid-column:1/-1}.mini-label{display:block}.total-cell{justify-content:flex-start}.nav{background:#fff;margin:0 -20px -20px;padding:16px 20px 24px;position:sticky;bottom:0}.btn.primary{flex:1}}
