:root{--ink:#203c36;--green:#245c4c;--green-dark:#173f38;--muted:#79857c;--line:#e4e7de;--paper:#fff;--bg:#f5f5ef;--gold:#ad8b4c;--warm:#f6f0e4;--radius:16px;font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait}a{color:inherit;text-decoration:none}button{border:0}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}[hidden]{display:none!important}:focus-visible{outline:3px solid #b8cfc1;outline-offset:3px}.site-header{height:80px;background:#ffffffd9;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(28px,calc((100vw - 1240px)/2));gap:25px}.wordmark{font-weight:800;letter-spacing:-.8px;font-size:26px}.wordmark span{color:#a98b50}.site-header nav{display:flex;align-items:center;gap:30px;font-size:14px;color:#52695d}.site-header nav a:last-child{border:1px solid #d9e1d8;border-radius:8px;padding:10px 16px}main{max-width:1240px;margin:auto;padding:0 28px}.hero{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:45px 0 36px}.eyebrow,.step-label{font-size:11px;letter-spacing:1.6px;color:var(--gold);font-weight:600}.hero h1{font-size:38px;line-height:1.45;letter-spacing:1px;margin:12px 0 11px;font-weight:700}.hero-copy{font-size:16px;color:#778374;margin:0}.hero-tags{display:flex;flex-wrap:wrap;gap:12px 20px;margin-top:24px;font-size:12px;color:#728172}.hero-tags span{display:flex;align-items:center;gap:7px}.hero-tags i{width:6px;height:6px;background:#527b54;border-radius:50%}.hero-art{width:410px;height:160px;position:relative;flex-shrink:0;border-bottom:1px solid #dce3d7;overflow:hidden}.hero-art p{position:absolute;bottom:5px;right:12px;color:#92a18b;font-size:12px;letter-spacing:1px}.hero-art p b{margin:0 20px;color:#acbc9f}.art-node{position:absolute;z-index:2;display:flex;align-items:center;justify-content:center;font-size:11px;border-radius:8px;color:#5e7a62;background:linear-gradient(130deg,#fafff7,#e6ecdc);border:1px solid #dbe4cf;box-shadow:0 8px 12px #53684c08;width:74px;height:53px}.n1{left:10px;top:73px}.n2{left:113px;top:43px;width:84px;height:66px}.n3{left:228px;top:20px;height:80px;background:linear-gradient(130deg,#edf3e4,#cfdcbd);color:#4e6e50}.n4{right:0;top:0;height:88px;background:linear-gradient(130deg,#6c8860,#345c42);color:white;border-color:#5d7954}.art-line{height:1px;background:#b9c7a8;position:absolute;transform:rotate(-15deg);width:40px}.l1{left:79px;top:87px}.l2{left:191px;top:68px}.l3{left:296px;top:42px}.tool-layout{display:grid;grid-template-columns:minmax(0,1fr) 355px;align-items:start;gap:27px}.input-area{min-width:0}.section-title{display:flex;justify-content:space-between;align-items:center;margin:0 0 10px}.section-title h2{margin:9px 0 0;font-size:24px}.quiet-actions{display:flex;gap:16px}.quiet-actions button,.text-button{background:transparent;font-size:13px;color:#66806d;padding:7px 0}.quiet-actions button:hover,.text-button:hover{color:var(--green-dark)}.input-note{font-size:12px;color:#889182;margin:13px 0 19px;line-height:1.7}.input-panel{padding:24px;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);margin:0 0 17px;box-shadow:0 3px 8px #2f513304}.panel-title{display:flex;gap:10px;align-items:center;margin-bottom:23px}.section-number{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:#eff4e9;color:#7d9566;font-size:12px}.panel-title h3{font-size:16px;margin:0;font-weight:600}.panel-title>span:last-child{margin-left:auto;font-size:11px;color:#99a18f}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px 22px}label{display:block;min-width:0;font-size:13px;color:#546554;line-height:1.7}label>small{font-size:11px;color:#9b9f90;font-weight:400;margin-left:8px}label>span{float:right;font-size:11px;color:#9ea58f}input,select,textarea{border:1px solid #e1e5da;border-radius:7px;color:#304d3a;background:#fcfdf9;width:100%;padding:12px 13px;line-height:1.4;outline:none;min-height:46px;margin-top:8px;font-variant-numeric:tabular-nums}input:focus,select:focus,textarea:focus{border-color:#7d9a7f;box-shadow:0 0 0 3px #7a9e7010}input[aria-invalid=true]{border-color:#b36f56;background:#fffaf6}input::placeholder,textarea::placeholder{color:#b0b6a7}textarea{resize:vertical}.hint{font-size:11px;color:#98a08f;line-height:1.8;margin:18px 0 0}.balance-heading,.balance-row{display:grid;grid-template-columns:minmax(80px,1fr) 1.2fr 1.2fr;align-items:center;gap:17px}.balance-heading{font-size:11px;color:#a1aa96;padding:0 0 9px;border-bottom:1px solid #edf0e7}.balance-heading span:not(:first-child){text-align:right}.balance-row{padding:10px 0;border-bottom:1px solid #f1f2eb}.balance-row:last-child{border:0;padding-bottom:0}.balance-row>span{font-size:13px;color:#5a6b59}.balance-row input{margin-top:0;text-align:right;min-width:0}.balance-row label{min-width:0}.primary{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:48px;background:var(--green-dark);border:1px solid var(--green-dark);border-radius:8px;color:#fff;padding:12px 25px;font-size:14px;font-weight:500;text-align:center;box-shadow:0 4px 8px #234d3610}.primary:hover{background:#285d47}.calculate{width:100%;justify-content:space-between;padding-left:22px;font-size:15px;margin:3px 0 0}.result-area{position:sticky;top:20px}.result-card{border:1px solid #dfe5d8;border-radius:16px;background:linear-gradient(145deg,#fff,#fafcf6);padding:24px;box-shadow:0 12px 30px #3c593608;overflow:hidden}.result-head{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:600}.result-symbol{background:#eef3e7;color:#66824f;border-radius:8px;width:31px;height:31px;display:grid;place-items:center;font-size:20px}.unit{margin-left:auto;color:#9aa58a;font-size:11px;font-weight:400}.empty-result{text-align:center;padding:38px 8px 30px}.empty-result h2{font-size:19px;margin:22px 0 13px;font-weight:500}.empty-result p{font-size:13px;line-height:1.9;color:#91a087;margin:0}.empty-chart{height:83px;display:flex;align-items:flex-end;justify-content:center;gap:10px;padding:0 25px;border-bottom:1px solid #e6ecd9;max-width:200px;margin:auto}.empty-chart i{width:27px;border-radius:5px 5px 0 0;background:linear-gradient(#d9e6c9,#eef5e5);height:35%}.empty-chart i:nth-child(2){height:55%}.empty-chart i:nth-child(3){height:74%;background:linear-gradient(#b5c99c,#e1eccf)}.empty-chart i:nth-child(4){height:100%;background:linear-gradient(#72945b,#c7d9ad)}.reference-note{padding:17px 0 0;border-top:1px solid #e8ecdf;color:#9aa48f;font-size:11px;line-height:1.9;margin:10px 0 0}.advanced-entry{margin:16px 0 0;border:1px solid #e5dfd0;border-radius:12px;background:linear-gradient(120deg,#fffdf8,#f5f0e4);display:flex;align-items:center;gap:12px;width:100%;padding:20px;color:#716245;text-align:left}.advanced-icon{height:35px;width:35px;font-size:31px;line-height:1;color:#a78c53}.advanced-entry b{font-size:14px;display:block;font-weight:600}.advanced-entry small{font-size:11px;display:block;margin-top:5px;color:#b0a488}.member-tag{margin-left:auto;border:1px solid #e2d9c2;border-radius:4px;padding:2px 7px;font-size:10px;color:#a58c56}.method-note{padding:22px 5px}.method-note h3{font-size:12px;color:#85917a;font-weight:500;margin:0 0 12px}.method-note p,.method-note a{font-size:11px;color:#9ba58f;line-height:1.9}.method-note a{display:block;margin-top:10px;color:#7b9072}.quota-label{color:#7f9274;font-size:12px;margin:28px 0 12px}.quota-number{font-size:40px;line-height:1.3;font-weight:650;letter-spacing:-1.8px;color:#285332;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.quota-number small{font-size:13px;letter-spacing:0;margin-left:9px;color:#97a285;font-weight:400}.result-state{display:inline-block;font-size:11px;border-radius:5px;background:#edf4e6;color:#6f8e53;padding:5px 8px;margin:13px 0 16px}.result-state.caution{background:#f6efdf;color:#ad8a45}.result-details{margin-top:8px}.result-details>div{display:flex;align-items:baseline;justify-content:space-between;gap:10px;font-size:12px;color:#849279;padding:10px 0;border-bottom:1px solid #edf0e6}.result-details b{color:#506847;font-weight:500;font-variant-numeric:tabular-nums}.result-notes{font-size:11px;color:#9c947e;line-height:1.9;margin:15px 0}.copy-button{display:flex;justify-content:center;gap:7px;width:100%;min-height:43px;border:1px solid #d9e1cd;border-radius:7px;background:#f8fbf3;color:#587444;font-size:13px;margin-top:18px;align-items:center}.calculation-process{margin-top:16px}.calculation-process summary{font-size:12px;color:#7f9270;cursor:pointer;padding:5px 0}.calculation-process pre{font:11px/1.9 "Microsoft YaHei",sans-serif;white-space:pre-wrap;overflow-wrap:anywhere;max-height:300px;overflow:auto;padding:12px;background:#f5f8ef;border-radius:6px;color:#7e8c71}.stale-note{padding:12px;background:#faf3e5;border:1px solid #eadfc9;border-radius:8px;color:#9d814d;font-size:12px;line-height:1.8;margin:18px 0}.error-box{background:#fff7f0;border:1px solid #ebd8c7;color:#aa6f48;border-radius:8px;padding:13px 16px;font-size:13px;line-height:1.8}.advanced-section{margin-top:33px;border:1px solid #dce3d5;border-radius:18px;padding:30px;background:#fff}.advanced-heading{display:flex;justify-content:space-between;gap:25px;align-items:flex-start;margin-bottom:25px}.advanced-heading h2{font-size:24px;line-height:1.5;margin:10px 0}.advanced-heading p{font-size:13px;color:#89937c;line-height:1.8;margin:0}.advanced-heading .text-button{white-space:nowrap;margin-top:22px}.context-grid{display:grid;grid-template-columns:1.1fr 1fr 1fr 1fr;gap:18px;align-items:end}.seasonal-label{display:flex;align-items:center;gap:9px;min-height:46px;font-size:12px}.seasonal-label input{width:16px;min-height:16px;margin:0;accent-color:#356444;flex-shrink:0}.checks{margin:17px 0 22px;padding:13px 16px;background:#f6f8f1;border-radius:8px;font-size:12px;color:#879574}.checks summary{cursor:pointer;color:#6f845f}.checks li{line-height:1.9;margin:8px 0}.checks ul{padding:0 0 0 18px;margin:13px 0 0}.mode-tabs{display:flex;gap:8px;padding:5px;background:#f3f5ee;border-radius:8px;width:fit-content;max-width:100%;margin-bottom:16px}.mode-tabs button{min-height:40px;padding:9px 19px;color:#97a087;background:transparent;border-radius:5px;font-size:13px}.mode-tabs button[aria-selected=true]{color:#456939;background:white;box-shadow:0 2px 8px #4e6c3510}.compact-help{font-size:12px;line-height:1.8;color:#9ba48c;margin:14px 0 18px}.scenario-day-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.scenario-day-grid label>small{display:block;margin:7px 0 0;font-size:10px}.advanced-extra{display:flex;gap:20px;margin-top:17px}.advanced-extra label{width:220px}.period-field{display:flex;gap:14px;align-items:center;margin-top:15px}.period-field input{width:220px;margin:0}.evidence-row{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:24px;margin-top:25px;padding-top:23px;border-top:1px solid #eef0e6}.target-field p{font-size:11px;color:#9ea78e;line-height:1.9;margin:14px 0 0}.advanced-actions{display:flex;justify-content:space-between;align-items:center;margin-top:22px}.advanced-actions>span{font-size:12px;color:#a2aa94}.advanced-comparison{margin-top:25px;padding-top:26px;border-top:1px solid #e7ebde}.comparison-top{display:flex;justify-content:space-between;gap:24px;align-items:center}.comparison-numbers{display:flex;gap:40px;align-items:center}.comparison-numbers div>span{font-size:12px;color:#8a967b;display:block;margin-bottom:9px}.comparison-numbers strong{font-size:28px;font-weight:600;font-variant-numeric:tabular-nums;color:#567548}.comparison-numbers div:first-child strong{color:#a1aa96;font-size:22px}.comparison-numbers>span{font-size:24px;color:#b8c2a9}.comparison-top .copy-button{width:auto;margin:0;padding:10px 19px}.adjustment-table{width:100%;border-collapse:collapse;margin-top:22px;font-size:12px}.adjustment-table th{background:#f5f7ef;color:#8d9b7a;font-weight:400;text-align:left;padding:12px}.adjustment-table td{border-bottom:1px solid #edf0e6;padding:12px;color:#768969}.adjustment-table th:not(:first-child),.adjustment-table td:not(:first-child){text-align:right}.advanced-conclusion{font-size:13px;line-height:1.9;color:#7f8f70;padding:15px 0 0;margin:0}.member-gate{text-align:center;padding:25px 15px 33px;background:#faf9f3;border:1px solid #eae4d3;border-radius:12px}.gate-icon{font-size:35px;color:#a68c56}.member-gate h3{font-size:19px;margin:14px 0}.member-gate p{font-size:13px;color:#9a9c88;line-height:1.9}.member-gate .primary{margin-top:9px}.tool-footer{display:flex;align-items:center;gap:20px;justify-content:space-between;padding:40px 0 30px;font-size:11px;color:#a6ad9b}.tool-footer>a:first-child{color:#708569;font-size:13px;font-weight:700}.tool-footer span{margin-right:auto}.mobile-bar{display:none}.toast{position:fixed;left:50%;bottom:30px;transform:translateX(-50%);padding:13px 24px;color:#fff;background:#234b3e;border-radius:9px;font-size:13px;z-index:30;box-shadow:0 6px 25px #224b3620;white-space:nowrap}dialog{border:1px solid #e0e5d6;border-radius:17px;padding:35px;max-width:480px;width:calc(100% - 36px);color:var(--ink);box-shadow:0 25px 90px #1e3c3b35}dialog::backdrop{background:#203a3c70;backdrop-filter:blur(3px)}dialog h2{font-size:23px;line-height:1.5;margin:15px 0}dialog p{font-size:14px;line-height:1.9;color:#7c8d73}.prompt-mark{font-size:38px;color:#a48a50}.prompt-note{padding:14px;background:#f6f7f0;border-radius:8px;font-size:12px!important;margin:18px 0 23px}dialog .primary{width:100%}dialog>.text-button{display:block;margin:13px auto 0}.close-dialog{position:absolute;right:18px;top:13px;width:35px;height:35px;color:#a4b09a;background:transparent;font-size:25px}#copy-dialog{max-width:720px}#copy-text{font-size:12px;line-height:1.8;background:white}
@media(min-width:1600px){main{max-width:1300px}.tool-layout{grid-template-columns:minmax(0,1fr) 380px}.hero h1{font-size:42px}.input-panel{padding:27px}}
@media(max-width:1080px){.hero-art{width:330px;transform:scale(.9);transform-origin:right center}.tool-layout{grid-template-columns:minmax(0,1fr) 305px;gap:20px}.input-panel{padding:20px}.field-grid{gap:17px}.result-card{padding:20px}.quota-number{font-size:34px}.context-grid{grid-template-columns:1fr 1fr}.scenario-day-grid{gap:12px}.hero h1{font-size:33px}}
@media(max-width:760px){.site-header{height:65px;padding:0 18px;gap:15px}.wordmark{font-size:21px}.site-header nav{gap:16px;font-size:12px}.site-header nav a:nth-child(2){display:none}.site-header nav a:last-child{padding:8px 10px}main{padding:0 17px}.hero{padding:28px 0 26px;gap:0;position:relative}.hero h1{font-size:28px;letter-spacing:0;margin:10px 0}.hero-copy{font-size:13px;line-height:1.9}.hero-tags{gap:10px 15px;font-size:10px;margin-top:17px}.hero-art{display:none}.eyebrow,.step-label{font-size:10px;letter-spacing:1px}.tool-layout{grid-template-columns:1fr;gap:24px}.section-title h2{font-size:21px}.quiet-actions{gap:17px}.quiet-actions button{font-size:12px;min-height:42px}.input-note{font-size:11px;margin:10px 0 16px}.input-panel{padding:20px 17px;border-radius:13px;margin-bottom:14px}.panel-title{margin-bottom:21px;gap:8px}.panel-title h3{font-size:15px}.panel-title>span:last-child{font-size:10px}.field-grid{gap:17px 14px}label{font-size:12px}label>small{font-size:10px}input,select,textarea{font-size:16px;min-height:48px;padding:11px 10px;margin-top:8px;border-radius:7px}.balance-heading,.balance-row{grid-template-columns:minmax(64px,.8fr) 1.15fr 1.15fr;gap:10px}.balance-heading{font-size:10px}.balance-row>span{font-size:12px}.balance-row input{font-size:15px;padding:11px 8px}.hint{font-size:10px;line-height:1.9}.result-area{position:static}.result-card{padding:22px}.quota-number{font-size:42px}.empty-result{padding:23px 20px}.empty-chart{height:65px}.advanced-entry{margin-top:13px;min-height:88px}.method-note{padding:20px 3px 5px}.advanced-section{padding:22px 17px;border-radius:14px;margin-top:22px}.advanced-heading{margin-bottom:20px;gap:12px}.advanced-heading h2{font-size:21px}.advanced-heading p{font-size:12px}.advanced-heading .text-button{font-size:12px;margin-top:18px}.context-grid{gap:15px 12px;grid-template-columns:1fr 1fr}.seasonal-label{font-size:11px;line-height:1.7}.checks{font-size:11px;line-height:1.8;padding:12px}.mode-tabs{width:100%;gap:2px;padding:4px}.mode-tabs button{font-size:12px;padding:9px 10px;flex:1;min-height:44px}.compact-help{font-size:11px;line-height:1.9}.scenario-day-grid{grid-template-columns:1fr 1fr;gap:17px 14px}.scenario-day-grid label>small{font-size:10px}.advanced-extra{margin-top:18px}.advanced-extra label{width:100%}.period-field{display:block;font-size:12px}.period-field input{width:100%;margin-top:9px}.evidence-row{grid-template-columns:1fr;gap:18px;margin-top:21px;padding-top:19px}.target-field p{margin-top:8px}.target-field input{max-width:none}.evidence-row label>small{display:block;margin-left:0}.advanced-actions{gap:14px}.advanced-actions .primary{padding:12px 19px;gap:12px;min-height:48px}.comparison-top{display:block}.comparison-numbers{gap:20px;justify-content:space-between}.comparison-numbers strong{font-size:26px}.comparison-numbers div:first-child strong{font-size:19px}.comparison-top .copy-button{margin:20px 0 0;width:100%}.adjustment-table{font-size:11px}.adjustment-table td,.adjustment-table th{padding:11px 6px}.advanced-conclusion{font-size:12px}.tool-footer{padding:30px 0 calc(100px + env(safe-area-inset-bottom));gap:14px;flex-wrap:wrap;font-size:10px}.tool-footer span{width:100%;order:3}.tool-footer>a:last-child{margin-left:auto}.mobile-bar{position:fixed;z-index:20;left:0;right:0;bottom:0;display:flex;justify-content:space-between;align-items:center;gap:12px;background:#fffffff2;border-top:1px solid #dde5d4;padding:11px 17px calc(11px + env(safe-area-inset-bottom));box-shadow:0 -5px 25px #304d2e07;backdrop-filter:blur(10px)}.mobile-bar>span{font-size:12px;color:#6e8560;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-bar button{min-height:44px;min-width:123px;background:#244d3d;color:#fff;border-radius:7px;font-size:13px;padding:10px 16px}.toast{bottom:calc(85px + env(safe-area-inset-bottom));max-width:calc(100vw - 25px);font-size:12px;padding:13px 18px}dialog{padding:28px 24px;max-height:calc(100dvh - 40px);overflow:auto}dialog h2{font-size:22px}dialog p{font-size:13px}#copy-text{font-size:14px}.calculation-process pre{font-size:12px}.calculate{min-height:50px}.input-panel:last-of-type .field-grid label:last-child{grid-column:1 / -1}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}@media print{.site-header,.hero-art,.quiet-actions,.calculate,.mobile-bar,.advanced-entry,.advanced-actions,.copy-button,.method-note,.tool-footer{display:none!important}body{background:white}.tool-layout{grid-template-columns:1.4fr 1fr}.result-area{position:static}.input-panel,.result-card,.advanced-section{break-inside:avoid;box-shadow:none}.hero{padding:15px 0}.hero h1{font-size:26px}}
.hero-copy,.input-note{color:#67765f}.hint,.compact-help,.method-note p,.reference-note{color:#6e7d62}.result-notes{color:#827048}.result-details{font-size:13px}.result-details>div{font-size:13px;color:#65765b}.panel-title>span:last-child,.unit,label>span{color:#748267}.advanced-heading p,.advanced-conclusion{color:#65765c}.comparison-numbers div>span{color:#65775c}.comparison-numbers div:first-child strong{color:#76866b}.adjustment-table td{color:#5e7353}.adjustment-table th{color:#657957}.method-note a{color:#526c48}.hint{font-size:12px}.advanced-entry small{color:#88764f}.input-note{font-size:13px}.calculation-process pre{color:#546a48}@media(max-width:760px){label{font-size:13px}.hint{font-size:11px}.input-note,.compact-help{font-size:12px}.advanced-conclusion{font-size:13px}.balance-row>span{font-size:12px}}
.comparison-numbers>div{min-width:0;flex:1}.comparison-numbers strong{display:block;overflow-wrap:anywhere}.advanced-actions .primary{white-space:nowrap}.toast{white-space:normal;text-align:center}@media(max-width:400px){.advanced-actions{flex-direction:column;align-items:stretch;gap:10px}.advanced-actions .primary{width:100%}.comparison-numbers{gap:12px}.comparison-numbers>span{flex-shrink:0;font-size:20px}}
@media(min-width:761px) and (max-width:1080px){.hero-art{width:410px;transform:scale(.8);margin-left:-82px}}
.result-area{position:static}@media(min-width:1081px) and (min-height:1100px){.result-area{position:sticky}}
@media(max-width:400px){.comparison-numbers{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}.comparison-numbers>span{display:none}.comparison-numbers>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);align-items:center;gap:12px}.comparison-numbers div>span{font-size:11px;margin:0;line-height:1.8}.comparison-numbers strong{font-size:24px;text-align:right;line-height:1.3}.comparison-numbers div:first-child strong{font-size:18px}}
