:root{--paper:#f5f3eb;--white:#fffefa;--ink:#183126;--muted:#667164;--line:#dbe0d2;--green:#244b37;--lime:#deecaa;--soft:#ebf0df;--danger:#984b3b;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Noto Sans SC",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}button,input,select{font:inherit;min-width:0}button{cursor:pointer;color:var(--ink)}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid #8da650;outline-offset:3px}h1,h2,h3,p{margin:0}button{touch-action:manipulation}.topbar{max-width:1060px;margin:auto;padding:18px 28px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);gap:16px}.brand{text-decoration:none;color:var(--ink);font-size:23px;font-weight:800;letter-spacing:.5px}.brand span{font-size:13px;font-weight:650;margin-left:9px;letter-spacing:0}.topbar>span{font-size:12px;color:var(--muted)}main{max-width:1060px;margin:auto;padding:24px 28px 20px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:19px}h1{font-size:30px;line-height:1.4;letter-spacing:-.5px;font-weight:750}.page-heading p{font-size:13px;line-height:1.8;color:var(--muted);margin-top:5px}.text-button{border:0;padding:4px 0;background:none;color:var(--green);text-decoration:underline;text-underline-offset:4px;font-size:12px;line-height:1.6}.inputs-panel{background:var(--white);border:1px solid var(--line);border-radius:10px;padding:18px 22px}.input-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:17px}.mode-tabs{display:flex;gap:4px;background:#edf0e5;border-radius:6px;padding:3px}.mode-tabs button{border:0;background:none;font-size:13px;line-height:1.5;padding:8px 19px;border-radius:4px}.mode-tabs button[aria-pressed=true]{background:var(--green);color:white}.input-heading>span{font-size:11px;color:var(--muted)}.main-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.field{display:flex;flex-direction:column;gap:8px;font-size:12px;line-height:1.6;font-weight:550;min-width:0}.input-unit{display:flex;align-items:center;background:white;border:1px solid #bac8b2;border-radius:5px;min-width:0;overflow:hidden}.input-unit:focus-within{border-color:var(--green);box-shadow:0 0 0 2px #e4ead8}.input-unit input{width:100%;min-width:0;background:none;border:0;outline:0;padding:10px 12px;font-size:23px;color:var(--ink);font-weight:550;font-variant-numeric:tabular-nums}.input-unit input:focus-visible{outline:0}.input-unit>span{font-size:11px;color:var(--muted);padding:0 12px 0 4px;font-weight:400;white-space:nowrap}input::placeholder{font-size:16px;font-weight:400;color:#929b8c}.form-note{font-size:11px;line-height:1.8;color:var(--muted);margin-top:12px}.stock-actions{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:17px}.check-label{display:flex;align-items:center;gap:7px;font-size:12px;line-height:1.7}.check-label input{accent-color:var(--green);width:17px;height:17px;margin:0;flex-shrink:0}.extra-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:17px}.extra-fields .input-unit input{font-size:18px}.extra-fields small{font-size:11px;color:var(--muted);font-weight:400}.wide{grid-column:span 2}select{width:100%;border:1px solid #bac8b2;border-radius:5px;background:white;color:var(--ink);padding:10px;min-height:44px;font-size:13px}.error{border-left:3px solid var(--danger);background:#fff0e8;color:var(--danger);font-size:13px;line-height:1.8;margin-top:14px;padding:10px 14px}.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:23px 0 12px}.section-heading h2{font-size:17px;font-weight:650;line-height:1.5}.section-heading>span{font-size:11px;color:var(--muted)}.comparison-wrap{border:1px solid var(--line);border-radius:9px;overflow:hidden;background:var(--white)}table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums;table-layout:fixed}#comparison-table th:first-child{width:28%;text-align:left}th,td{padding:12px 20px;text-align:right;border-bottom:1px solid var(--line);line-height:1.6;overflow-wrap:anywhere}thead th{background:#e8eddd;font-size:14px;color:var(--green);font-weight:650}thead th.winning{background:#dce8c7}tbody th{font-size:12px;font-weight:500;color:var(--muted)}tbody td{font-size:16px;font-weight:550}tbody tr:last-child th,tbody tr:last-child td{border-bottom:0}.cost-row{background:#f0f4e6}.cost-row td{font-size:25px;font-weight:750;line-height:1.3}.cost-row th{color:var(--ink);font-weight:650}.negative{color:var(--danger)}.scope-note{font-size:10px;line-height:1.8;color:var(--muted);margin:9px 0 16px}.partial-offer{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #9eb279;border-left:4px solid #7f9d49;border-radius:7px;background:#ecf1df;padding:17px 20px;margin-bottom:12px}.small-label{display:block;font-size:11px;line-height:1.6;margin-bottom:5px}.partial-offer h3{font-size:18px;line-height:1.5}.partial-offer p{font-size:12px;line-height:1.8;color:var(--muted);margin-top:4px}.partial-offer>div:last-child{flex-shrink:0;text-align:right}.partial-offer strong{font-size:27px;line-height:1.3;font-variant-numeric:tabular-nums}.partial-offer>div:last-child>span{display:block;font-size:10px;color:var(--muted);margin-top:3px}.recommendation{background:var(--green);color:white;border-radius:10px;padding:21px 24px}.recommendation-main{display:flex;justify-content:space-between;align-items:center;gap:24px}.recommendation .small-label{color:#cfddbf}.recommendation h2{font-size:24px;line-height:1.5;font-weight:700;letter-spacing:-.3px}.recommendation-main p{font-size:12px;line-height:1.8;color:#e0e9d7;margin-top:6px;max-width:650px}.saving{flex-shrink:0;text-align:right;color:var(--lime);font-variant-numeric:tabular-nums}.saving span:first-child{display:block;font-size:12px;color:#e0e9d7;margin-bottom:2px}.saving strong{font-size:39px;line-height:1.3;letter-spacing:-.5px}.saving span:last-child{font-size:12px;margin-left:4px}#key-condition{border-top:1px solid #52705c;margin-top:14px;padding-top:11px;font-size:11px;line-height:1.8;color:#d5e0ca}.operating-note{font-size:12px;line-height:1.8;color:var(--muted);padding:12px 2px 0}.details-panel{border-bottom:1px solid var(--line);padding:15px 0}.details-panel summary{font-size:12px;color:var(--green);line-height:1.8;cursor:pointer;font-weight:550;list-style-position:inside}.details-panel[open]>summary{margin-bottom:16px}.table-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:6px}.table-scroll table{background:var(--white)}.table-scroll th,.table-scroll td{padding:10px 13px;font-size:12px}.table-scroll th:first-child{text-align:left}.table-scroll tbody tr:last-child{background:var(--soft);font-weight:650}.allocation-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:13px}.allocation-heading strong{font-size:22px;margin:0 4px}input[type=range]{width:100%;height:24px;accent-color:var(--green);margin:13px 0}.manual-result{background:var(--soft);border-radius:6px;padding:13px 16px;font-size:12px;line-height:1.8}.manual-result strong{font-size:21px;margin:0 4px}.manual-result p{color:var(--muted);margin-top:4px}.reference-line{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-top:17px}.reference-line p{font-size:10px;line-height:1.9;color:var(--muted)}.reference-line button{flex-shrink:0;font-size:11px}.settings{padding-top:10px}.settings[open]{margin-top:14px;background:var(--white);border:1px solid var(--line);border-radius:8px;padding:18px 20px}.service-note{margin-top:24px;padding:0 2px}.service-note strong{font-size:13px;font-weight:650}.service-note p{font-size:11px;line-height:1.9;color:var(--muted);margin-top:5px;max-width:850px}footer{border-top:1px solid var(--line);margin-top:23px;padding-top:16px;display:flex;justify-content:space-between;align-items:baseline;gap:18px;font-size:10px;color:var(--muted);line-height:1.8}footer>span{font-weight:650;color:var(--green);white-space:nowrap}
@media(max-width:760px){.topbar{padding:17px 20px}main{padding:22px 20px}.main-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.extra-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.page-heading{align-items:flex-start}h1{font-size:27px}.page-heading>.text-button{font-size:11px}.recommendation h2{font-size:22px}.saving strong{font-size:34px}.stock-actions{align-items:flex-start;flex-direction:column;gap:8px}}
@media(max-width:480px){.topbar{padding:15px 16px}.brand{font-size:20px}.brand span{font-size:11px;margin-left:6px}.topbar>span{font-size:10px}main{padding:19px 16px}.page-heading{gap:10px;margin-bottom:15px}h1{font-size:25px}.page-heading p{font-size:12px}.page-heading>.text-button{max-width:65px;text-align:right;font-size:10px;flex-shrink:0}.inputs-panel{padding:15px}.input-heading{gap:10px;align-items:flex-start;margin-bottom:15px}.mode-tabs button{padding:7px 11px;font-size:12px}.input-heading>span{font-size:10px;line-height:1.7;max-width:80px;text-align:right}.main-fields{gap:13px 12px}.field{font-size:11px;gap:6px}.input-unit input{padding:9px 10px;font-size:21px}.input-unit>span{font-size:10px;padding-right:9px}.form-note{font-size:10px;line-height:1.8}.section-heading{margin-top:21px;gap:10px}.section-heading h2{font-size:15px}.section-heading>span{font-size:9px}#comparison-table th:first-child{width:30%}th,td{padding:11px 9px}thead th{font-size:13px}tbody th{font-size:11px}tbody td{font-size:15px}.cost-row td{font-size:22px}.scope-note{font-size:9px;margin:8px 0 13px}.recommendation{padding:18px}.recommendation-main{display:block}.recommendation h2{font-size:22px}.recommendation-main p{font-size:12px}.saving{margin-top:13px;text-align:left}.saving span:first-child{display:inline-block;margin:0 9px 0 0;font-size:11px}.saving strong{font-size:34px}.saving span:last-child{font-size:11px}.recommendation .small-label{font-size:10px}#key-condition{font-size:10px;line-height:1.8;margin-top:13px;padding-top:10px}.partial-offer{padding:14px;gap:12px;align-items:flex-start}.partial-offer h3{font-size:16px}.partial-offer p{font-size:10px}.partial-offer strong{font-size:24px}.partial-offer .small-label{font-size:10px}.partial-offer>div:last-child{align-self:center}.partial-offer>div:last-child>span{font-size:9px}.reference-line{flex-direction:column;gap:5px}.table-scroll th,.table-scroll td{padding:9px 7px;font-size:10px}.table-scroll table{table-layout:auto}.extra-fields{gap:16px 12px}.settings[open]{padding:15px}.settings select{font-size:12px;padding:10px 7px}.extra-fields .input-unit input{font-size:17px}.check-label{font-size:11px}.operating-note{font-size:11px}.service-note{margin-top:19px}footer{flex-direction:column;gap:5px;font-size:9px}}
@media(max-width:360px){.topbar>span{max-width:80px;text-align:right}.page-heading h1{font-size:23px}.inputs-panel{padding:13px}.input-heading>span{max-width:60px}.mode-tabs button{padding:7px 9px}.cost-row td{font-size:20px}thead th{font-size:12px}tbody td{font-size:14px}th,td{padding:10px 8px}.partial-offer{flex-direction:column;gap:7px}.partial-offer>div:last-child{align-self:flex-start;text-align:left}.partial-offer>div:last-child>span{display:inline;margin-left:8px}.saving strong{font-size:32px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}@media print{.text-button,#allocation-panel,#settings,.service-note,footer{display:none!important}body{background:white}main{padding:0}.topbar{padding:10px 0}.recommendation{background:white;color:black;border:1px solid black}.recommendation .small-label,.recommendation-main p,.saving,.saving span:first-child,#key-condition{color:black}.recommendation,.comparison-wrap{break-inside:avoid}}
