:root{--ink:#172126;--paper:#fff;--line:#dbe2e4;--muted:#68777c;--yellow:#ffd326;--yellow-deep:#e2b900;--green:#19735a;--red:#a9433e;--bg:#eef2f1;--input:#c5d0d3}*{box-sizing:border-box}html{background:var(--bg);color:var(--ink);font-family:Arial,Helvetica,sans-serif}body{margin:0;background:linear-gradient(#f4f6f5,#eef2f1);font-size:14px}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}.hero{background:#11191d;color:#fff;border-bottom:4px solid var(--yellow)}.hero-inner{max-width:1580px;margin:auto;padding:34px 30px;display:grid;grid-template-columns:165px 1fr 250px;gap:32px;align-items:center}.brand{font-size:26px;font-weight:900;letter-spacing:-.06em;color:var(--yellow)}.brand span{color:#fff}.hero-copy{border-left:1px solid #334045;padding-left:30px}.eyebrow{margin:0 0 8px;color:#c2cbce;font-size:10px;font-weight:900;letter-spacing:.13em}.eyebrow i{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--yellow);margin-right:7px}.hero h1{font-size:44px;letter-spacing:-.05em;margin:0}.hero mark{background:none;color:var(--yellow)}.hero-copy>p:last-child{max-width:780px;margin:9px 0 0;color:#b4c0c4;line-height:1.5}.hero-badge{display:flex;gap:13px;align-items:center;padding:16px;border:1px solid #344248;border-radius:11px}.hero-badge>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--yellow);color:#111;font-weight:900}.hero-badge b,.hero-badge small{display:block}.hero-badge small{color:#9eaaae;margin-top:3px}.app-shell{max-width:1580px;margin:auto;padding:23px 30px 70px}.card{background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:0 8px 28px #1e2c320b}.project-bar{display:flex;align-items:end;justify-content:space-between;gap:25px;padding:18px 20px;margin-bottom:13px}.project-name{flex:1;max-width:800px}.project-name>span,.field>span{display:block;margin-bottom:7px;color:#4d5a5f;font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.project-name input,.field input,.field select,.filterbar input,.filterbar select,.cost-row input,.cost-row select,.notes textarea{width:100%;min-width:0;background:#fff;border:1px solid var(--input);border-radius:8px;outline:none}.project-name input,.field input,.field select,.filterbar input,.filterbar select,.cost-row input,.cost-row select{height:44px;padding:9px 11px}.project-name input:focus,.field input:focus,.field select:focus,.filterbar input:focus,.filterbar select:focus,.cost-row input:focus,.cost-row select:focus,.notes textarea:focus{border-color:var(--yellow-deep);box-shadow:0 0 0 3px #e5b80024}.input-suffix{position:relative}.input-suffix input{padding-right:42px!important}.input-suffix em{position:absolute;right:11px;top:50%;transform:translateY(-50%);font-size:9px;font-style:normal;font-weight:800;color:#718086;pointer-events:none}.project-actions{display:flex;align-items:center;gap:8px}.autosave{color:var(--green);font-size:11px;font-weight:800}.button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 16px;border:1px solid transparent;border-radius:8px;background:#fff;font-size:12px;font-weight:800}.button.ghost{border-color:var(--line)}.button.dark{background:var(--ink);color:#fff}.button.yellow{background:var(--yellow);border-color:var(--yellow-deep)}.instructions{margin-bottom:20px;overflow:hidden}.instructions summary{display:flex;align-items:center;gap:11px;padding:14px 18px;list-style:none;cursor:pointer}.instructions summary>span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#eef2f1;font-weight:900}.instructions summary em{margin-left:auto;color:#738087;font-size:10px;font-style:normal}.instruction-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;padding:18px 24px;border-top:1px solid #edf0f1}.instruction-grid>div{display:grid;grid-template-columns:32px 1fr;gap:11px}.instruction-grid strong{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--yellow)}.instruction-grid p{margin:0}.instruction-grid b,.instruction-grid span{display:block}.instruction-grid span{color:var(--muted);font-size:12px;line-height:1.45;margin-top:4px}.app-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:20px;align-items:start}.workspace{display:grid;gap:16px;min-width:0}.section-title{padding:20px 22px 16px}.section-title.row{display:flex;align-items:center;justify-content:space-between;gap:20px}.section-title>span,.section-title>div>span,.notes>div>span,.report-head>div>span{color:#9a7800;font-size:9px;font-weight:900;letter-spacing:.15em}.section-title h2,.notes h2,.report-head h2{margin:3px 0;font-size:22px;letter-spacing:-.04em}.section-title p,.notes p,.report-head p{margin:0;color:var(--muted);font-size:12px;line-height:1.45}.setup{overflow:hidden}.setup-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:17px 22px 22px;background:#fafbfb;border-top:1px solid #edf0f1}.scope{overflow:hidden}.scope-count{display:flex;align-items:center;gap:8px;background:#f5f7f6;border-radius:7px;padding:8px 12px}.scope-count b{font-size:22px}.scope-count span{color:#6b797e;font-size:9px;text-transform:uppercase;font-weight:800}.bundle-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;padding:0 22px 22px}.bundle{text-align:left;min-height:126px;padding:13px;border:1px solid #dbe1e2;border-radius:8px;background:#f7f9f8}.bundle:hover{border-color:#d7b437;background:#fffdf3}.bundle.added{border-color:#98c9b8;background:#edf7f3}.bundle-mark{display:grid;place-items:center;width:26px;height:26px;margin-bottom:9px;border-radius:5px;background:var(--yellow);font-size:17px;font-weight:900}.bundle b,.bundle small,.bundle em{display:block}.bundle small{min-height:32px;margin-top:4px;color:#69777c;font-size:10px;line-height:1.35}.bundle em{margin-top:8px;color:#816b11;font-size:9px;font-style:normal;font-weight:800}.costs{overflow:hidden}.costs-head{border-bottom:1px solid #edf0f1}.add-cost{margin:18px 20px;border:1px solid #dbe1e2;border-radius:9px;overflow:hidden}.add-cost-title{display:flex;align-items:center;gap:9px;padding:11px 13px;background:#f3f6f5;border-bottom:1px solid #dbe1e2}.add-cost-title>span{display:grid;place-items:center;width:25px;height:25px;border-radius:4px;background:var(--yellow);font-size:17px;font-weight:900}.add-cost-title b,.add-cost-title small{display:block}.add-cost-title small{color:#718085;font-size:9px}.add-form{display:grid;grid-template-columns:.9fr .9fr 1.5fr .9fr .55fr .55fr .75fr auto;gap:9px;align-items:end;padding:14px}.add-form .field>span{font-size:8px}.add-button{height:44px}.filterbar{display:grid;grid-template-columns:minmax(240px,1fr) 220px auto;gap:9px;align-items:center;padding:11px 18px;background:#fafbfb;border-top:1px solid #edf0f1;border-bottom:1px solid #edf0f1}.search{position:relative}.search>span{position:absolute;left:12px;top:50%;transform:translateY(-50%);font-size:18px;color:#6c7b80}.search input{padding-left:36px}.filter-result{font-size:10px;font-weight:800;color:#6c797e;white-space:nowrap}.cost-table-scroll{width:100%;overflow-x:auto}.cost-table{min-width:940px}.row-head,.cost-row{display:grid;grid-template-columns:minmax(190px,1.45fr) 95px 66px 64px 92px 98px 100px 102px 62px;gap:8px;align-items:center}.row-head{padding:9px 13px;background:#fafbfb;border-bottom:1px solid #e3e8e9;color:#66747a;font-size:8px;font-weight:850;text-transform:uppercase;letter-spacing:.04em}.cost-group{border-bottom:10px solid #eef2f1}.cost-group header{display:flex;align-items:center;gap:10px;padding:11px 14px;border-left:4px solid var(--category);background:#f4f7f6}.category-number{display:grid;place-items:center;width:29px;height:29px;border-radius:5px;background:var(--category);color:#fff;font-size:10px;font-weight:900}.cost-group header b,.cost-group header small{display:block}.cost-group header small{margin-top:2px;color:#728086;font-size:9px}.cost-group header strong{margin-left:auto}.cost-row{position:relative;min-height:92px;padding:10px 13px;border-bottom:1px solid #edf0f1}.cost-row>*{min-width:0}.row-identity{display:grid;gap:6px}.row-identity input:first-child{font-size:11px;font-weight:700}.row-identity input:last-child{height:34px;color:#65747a;font-size:9px}.cell-field{display:block;min-width:0}.cell-field>span{display:none}.cost-row input,.cost-row select{height:42px;padding:8px 9px;font-size:10px}.boxed-number{position:relative}.boxed-number input{padding-right:34px}.boxed-number em{position:absolute;right:9px;top:50%;transform:translateY(-50%);font-size:8px;font-style:normal;color:#718086;pointer-events:none}.plan-box{display:flex;flex-direction:column;justify-content:center;height:42px;padding:6px 9px;border:1px solid var(--input);border-left:4px solid var(--yellow);border-radius:8px;background:#f5f7f6}.plan-box b{font-size:11px;white-space:nowrap}.plan-box small{margin-top:1px;color:#9a6a2f;font-size:8px}.status{font-weight:750}.row-actions{display:grid;grid-template-columns:1fr 1fr;gap:5px}.row-actions button{width:30px;height:34px;padding:0;border:1px solid #dbe2e4;border-radius:7px;background:#fff}.row-actions .remove{color:var(--red)}.row-difference{position:absolute;right:83px;bottom:3px;font-size:8px}.row-difference.over{color:var(--red)}.row-difference.under{color:var(--green)}.empty-state{text-align:center;padding:40px 20px;color:var(--muted)}.empty-state>span{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#edf1f0;font-size:23px}.empty-state h3{margin:11px 0 5px;color:var(--ink)}.empty-state p{margin:0}.notes{display:grid;grid-template-columns:255px 1fr;gap:20px;padding:20px 22px}.notes textarea{min-height:95px;padding:11px;resize:vertical}.dashboard{position:sticky;top:15px;overflow:hidden}.dashboard-title{display:flex;align-items:center;gap:11px;padding:19px;background:#202b30;color:#fff}.dashboard-title>span{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:var(--yellow);color:#172126;font-weight:900}.dashboard-title small{color:#9aa6aa;font-size:8px;font-weight:800;letter-spacing:.12em}.dashboard-title h2{margin:2px 0 0}.dashboard-project{padding:13px 17px;border-bottom:1px solid var(--line)}.dashboard-project span,.dashboard-project b,.dashboard-project small{display:block}.dashboard-project span{color:#758288;font-size:8px;font-weight:800}.dashboard-project b{margin-top:3px}.dashboard-project small{margin-top:2px;color:#718086;font-size:9px}.main-total{margin:13px 16px 8px;padding:14px;border-radius:7px;background:#202b30;color:#fff}.main-total span,.main-total strong,.main-total small{display:block}.main-total span{color:#a9b3b6;font-size:8px;font-weight:800}.main-total strong{margin:5px 0 2px;color:var(--yellow);font-size:26px}.main-total small{color:#8f9b9f;font-size:9px}.summary-list{padding:2px 17px 8px}.summary-list>div{display:flex;justify-content:space-between;gap:8px;padding:8px 0;border-bottom:1px solid #edf0f1;font-size:10px}.summary-list span{color:#647278}.reserve-box{margin:8px 16px 12px;padding:11px;border-radius:7px;background:#f5f7f6}.reserve-box>b{display:block;margin-bottom:8px;font-size:10px}.stepper{display:grid;grid-template-columns:38px 1fr 38px;gap:5px}.stepper button,.stepper>div{height:40px;border:1px solid #ccd5d7;border-radius:6px;background:#fff}.stepper button{font-size:20px}.stepper>div{display:flex;align-items:center}.stepper input{width:100%;min-width:0;border:0;background:transparent;text-align:right;font-weight:800;outline:0}.stepper span{padding:0 8px 0 3px;font-size:10px}.budget-check{margin:0 16px 12px;padding:11px 12px;border-left:4px solid #98a6aa;border-radius:5px;background:#f4f6f5}.budget-check.ok{border-color:var(--green);background:#eaf6f2}.budget-check.over{border-color:var(--red);background:#fff0ef}.budget-check span,.budget-check strong,.budget-check small{display:block}.budget-check span{font-size:8px;font-weight:800}.budget-check strong{margin:3px 0}.budget-check small{color:#718086;font-size:8px}.completion{padding:2px 17px 14px}.completion>div{display:flex;justify-content:space-between;margin-bottom:6px;color:#66747a;font-size:9px}.completion progress{width:100%;height:7px}.print-button{width:calc(100% - 32px);margin:0 16px 16px;background:var(--yellow);border-color:var(--yellow-deep)}.report{margin-top:20px;overflow:hidden}.report-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 22px;border-bottom:1px solid var(--line)}.report-table-wrap{overflow-x:auto}.report table{width:100%;min-width:1100px;border-collapse:collapse}.report th{padding:9px 10px;background:#f3f6f5;border-bottom:1px solid var(--line);text-align:left;white-space:nowrap;color:#667379;font-size:8px;text-transform:uppercase}.report td{padding:10px;border-bottom:1px solid #e8eced;font-size:9px;vertical-align:top}.report td:nth-child(2){min-width:190px}.report-totals{display:grid;grid-template-columns:repeat(5,1fr);margin:18px;border:1px solid var(--line);border-radius:7px;overflow:hidden}.report-totals>div{padding:12px;border-left:1px solid var(--line)}.report-totals>div:first-child{border-left:0}.report-totals span,.report-totals b{display:block}.report-totals span{font-size:8px;color:#6c797e;text-transform:uppercase}.report-totals b{margin-top:5px}.report-totals .safe{background:#202b30;color:#fff}.report-totals .safe b{color:var(--yellow)}.report-notes{white-space:pre-wrap;margin:18px;padding:12px;background:#f4f6f5;color:#4f5d62}.planner-cta{display:flex;align-items:center;justify-content:space-between;gap:35px;margin-top:20px;padding:28px 31px;border-bottom:4px solid var(--yellow);border-radius:12px;background:#172126;color:#fff}.planner-cta>div>span{color:var(--yellow);font-size:9px;font-weight:900;letter-spacing:.15em}.planner-cta h2{margin:4px 0 5px}.planner-cta p{max-width:760px;margin:0;color:#b7c0c3}.planner-cta a{flex:none;padding:12px 16px;border-radius:7px;background:var(--yellow);color:#172126;font-weight:800;text-decoration:none}@media(max-width:1180px){.app-grid{grid-template-columns:1fr}.dashboard{position:static;display:grid;grid-template-columns:repeat(4,1fr)}.dashboard-title{grid-column:1/-1}.dashboard-project,.main-total,.reserve-box,.budget-check{margin:0;border-radius:0}.summary-list{grid-column:span 2}.completion{align-self:center}.print-button{align-self:center}.bundle-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:1050px){.hero-inner{grid-template-columns:150px 1fr}.hero-badge{display:none}.setup-grid{grid-template-columns:repeat(2,1fr)}.add-form{grid-template-columns:repeat(4,1fr)}.add-form .name-field{grid-column:span 2}.dashboard{grid-template-columns:1fr 1fr}.dashboard-title{grid-column:1/-1}.summary-list{grid-column:auto}.report-totals{grid-template-columns:repeat(3,1fr)}}@media(max-width:700px){body{font-size:14px}.hero-inner{grid-template-columns:1fr;padding:24px 18px}.hero-copy{border:0;padding:0}.hero h1{font-size:36px}.app-shell{padding:13px 10px 45px}.project-bar{align-items:stretch;flex-direction:column}.project-actions{display:grid;grid-template-columns:1fr 1fr}.autosave{grid-column:1/-1}.instruction-grid{grid-template-columns:1fr}.setup-grid,.bundle-grid,.add-form,.filterbar,.dashboard,.report-totals{grid-template-columns:1fr}.section-title.row{align-items:stretch;flex-direction:column}.add-form .name-field{grid-column:auto}.cost-table{min-width:940px}.notes{grid-template-columns:1fr}.planner-cta{align-items:stretch;flex-direction:column}.planner-cta a{text-align:center}}@media print{@page{size:A4 landscape;margin:8mm}body{background:#fff}body>*{visibility:hidden!important}#printReport,#printReport *{visibility:visible!important}#printReport{position:absolute;inset:0;width:100%;margin:0;border:0;box-shadow:none}.report-head button{display:none}.report table{min-width:0}.report td,.report th{padding:5px 6px;font-size:7px}.report-totals{margin:10px 0}.report-notes{margin:10px 0}}