
:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#203044;background:#f2f4f6;font-synthesis:none;--ink:#132638;--orange:#d8602d;--border:#e4e8ec}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button,summary{cursor:pointer}button{border:0}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #e79c56;outline-offset:4px}a{color:inherit}.topbar{height:88px;max-width:1200px;margin:auto;padding:0 40px;display:flex;align-items:center;justify-content:space-between}.brand{text-decoration:none;display:flex;align-items:center;gap:12px;font-size:17px;font-weight:750;letter-spacing:1px}.brand small{display:block;font-size:8px;letter-spacing:2.4px;margin-top:5px;color:#7e8995}.brand-icon{background:var(--ink);color:#fff;border-radius:12px 3px 12px 3px;width:40px;height:40px;display:grid;place-items:center;font-family:serif;font-size:24px}.local-badge{font-size:12px;color:#687580;display:flex;align-items:center;gap:7px}.local-badge i{background:#6b9a85;width:6px;height:6px;border-radius:100%}main{max-width:1200px;margin:auto;padding:0 40px 20px}.hero{background:var(--ink);color:white;border-radius:24px;padding:44px 48px 48px;display:flex;justify-content:space-between;position:relative;overflow:hidden}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;margin:0;color:#a8b8c5}.hero .eyebrow{font-size:12px;letter-spacing:2.5px;color:#e9ad80}h1{font-size:44px;line-height:1.32;font-weight:750;letter-spacing:1px;margin:17px 0}.intro{font-size:14px;line-height:1.85;color:#afbfcc;margin:0}.hero:after{content:"";position:absolute;right:-90px;top:-180px;width:560px;height:560px;border:1px solid #ffffff0b;border-radius:50%;box-shadow:0 0 0 55px #ffffff03,0 0 0 110px #ffffff03}.hero-seal{align-self:center;z-index:1;transform:rotate(-9deg);margin-right:55px;width:170px;height:170px;border:1px solid #cf885750;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 0 0 17px #cf88570b,0 0 0 18px #cf885727}.hero-seal span{font-size:88px;font-family:serif;font-weight:900;color:#d69968;line-height:1}.hero-seal i{font-style:normal;font-size:10px;letter-spacing:5px;color:#d69968;margin-top:12px}.tabs{display:flex;gap:12px;margin:24px 0}.tab{width:50%;text-align:left;border-radius:14px;padding:20px 24px;display:flex;align-items:center;gap:15px;color:#64717e;background:#e8ecf0;border:1px solid transparent;transition:.18s}.tab.active{background:white;border-color:#e3a178;box-shadow:0 4px 16px #242d3805;color:var(--ink)}.tab-symbol{font-size:25px;color:#94a0ac}.tab.active .tab-symbol{color:var(--orange)}.tab span:not(.tab-symbol){font-size:16px;font-weight:700}.tab small{display:block;font-size:11px;font-weight:400;margin-top:5px;color:#84909d}.tab b{font-size:12px;margin-left:auto;color:#a7b0b8;font-weight:500}.workspace{display:grid;grid-template-columns:1.4fr 1fr;gap:22px;align-items:start}.card{background:white;border:1px solid var(--border);border-radius:20px;padding:28px}.section-heading{display:flex;gap:12px;align-items:center;margin-bottom:22px}.step{color:var(--orange);background:#fcf1e9;font-size:12px;font-weight:750;border-radius:9px;min-width:34px;height:34px;display:grid;place-items:center}h2{font-size:18px;margin:0;line-height:1.5}.section-heading p{font-size:12px;color:#84909a;margin:5px 0 0}.notice{font-size:11px;color:#8c6848;background:#fcf7ef;border:1px solid #f2e7d6;border-radius:10px;padding:12px 14px;line-height:1.8;margin:0 0 22px}.grid{display:grid;gap:14px}.three{grid-template-columns:repeat(3,minmax(0,1fr))}.two{grid-template-columns:repeat(2,minmax(0,1fr))}label{font-size:12px;font-weight:600;color:#546270;display:block}input,select{display:block;width:100%;border:1px solid #dde3e9;border-radius:9px;background:#fbfcfd;padding:12px 11px;min-height:46px;font-size:16px;font-weight:500;line-height:1.3;color:#24394d;margin-top:9px;outline:0;transition:border .15s}input:focus,select:focus{border-color:#ce8152;box-shadow:0 0 0 3px #e7a77c17}input::placeholder{font-size:11px;font-weight:400;color:#a3acb5}input[aria-invalid=true]{border-color:#c54536}select{font-size:13px}.settings{border-top:1px solid var(--border);margin-top:24px;padding-top:18px}.settings summary{font-size:13px;font-weight:650;color:#405364;list-style:none;display:flex;align-items:center;gap:8px}.settings summary:before{content:'＋';color:#9b775a;font-size:17px}.settings[open] summary:before{content:'−'}.settings summary span{font-size:10px;color:#97a1aa;margin-left:auto;font-weight:400}.settings>label{margin-top:17px}.hint{font-size:11px;color:#8b96a0;line-height:1.8;margin:12px 0 15px}.version-label{margin-top:24px;font-weight:400;color:#84909b}.divider{height:1px;background:var(--border);margin:24px 0}.two+.notice{margin-top:18px}.primary{display:flex;align-items:center;justify-content:space-between;background:var(--orange);color:white;border-radius:10px;padding:15px 18px;width:100%;font-size:14px;font-weight:650;min-height:50px;box-shadow:0 5px 12px #d8602d1a}.primary:hover{background:#c45223}.primary span{font-size:21px;font-weight:400}.error{font-size:12px;line-height:1.7;color:#bf4939;margin:16px 0}.error:empty{margin-top:24px}.secondary{background:#f3f5f7;color:#657688;padding:12px;width:100%;border-radius:8px;font-size:12px;margin-top:12px}.tier{display:grid;grid-template-columns:1fr 1fr 36px;gap:10px;align-items:end;margin-top:13px}.remove-tier{width:36px;height:46px;background:#f8eeea;color:#bc7154;border-radius:8px;font-size:18px}.result-card{background:#fbfcfd;position:sticky;top:22px;min-height:410px}.result-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.result-top .eyebrow{color:#92a1ae;font-size:9px;letter-spacing:1.8px}.pill{font-size:10px;border:1px solid #dce3e9;color:#8393a0;border-radius:20px;padding:4px 10px}.result-card h2{font-size:13px;font-weight:500;color:#6f8191}.big-number{font-size:48px;color:var(--orange);font-weight:750;letter-spacing:-2px;line-height:1.2;margin:16px 0 24px;overflow-wrap:anywhere}.big-number small{display:block;font-size:11px;letter-spacing:0;color:#92a1ac;font-weight:400;margin-top:12px;line-height:1.6}.muted{color:#b5c1cc}.empty-art{width:64px;height:64px;border:1px dashed #d2dce4;border-radius:50%;display:grid;place-items:center;font-size:24px;color:#ccd6de;margin:28px auto 17px}.result-hint{text-align:center;font-size:12px;line-height:1.8;color:#96a3af}.metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}.metric{background:#edf1f5;border-radius:10px;padding:14px}.metric small{font-size:10px;color:#8493a0;display:block}.metric strong{font-size:20px;display:block;margin-top:7px;color:#3a5369}.calculation{border-top:1px solid #e1e7ed;padding-top:18px;margin-top:18px}.calculation h3{font-size:12px;margin:0 0 14px;color:#566e81}.calc-row{font-size:11px;display:flex;justify-content:space-between;gap:12px;color:#7b8c9a;line-height:1.8;margin:8px 0}.calc-row b{color:#536c80;font-weight:600;text-align:right}.result-note{font-size:11px;color:#8b98a4;line-height:1.8;margin:16px 0 0}.success-note{font-size:12px;color:#3f8971;background:#eaf4ef;border-radius:8px;padding:12px;line-height:1.7}.source-card{margin-top:24px;border:1px solid #dfe5ea;border-radius:13px;padding:18px 22px;color:#768593}.source-card summary{display:flex;align-items:center;gap:10px;font-size:12px;list-style:none}.source-status{margin-left:auto;font-size:10px;color:#9a8a74}.source-card p{font-size:11px;line-height:1.9;margin:14px 0 0}.source-card a{color:#a26b45;text-underline-offset:3px}footer{display:flex;align-items:center;gap:18px;padding:23px 3px 10px;font-size:10px;color:#9da7af}footer p{margin-right:auto}footer button{background:none;color:#8796a3;padding:8px;font-size:10px}footer span{font-size:9px}[hidden]{display:none!important}@media(max-width:900px){.workspace{grid-template-columns:1fr 0.9fr}.card{padding:22px}.hero-seal{margin-right:10px}.hero{padding:36px}.three{gap:10px}.topbar,main{padding-left:24px;padding-right:24px}footer{flex-wrap:wrap}}@media(max-width:680px){.topbar{height:74px;padding:0 20px}.brand{font-size:15px}.brand-icon{width:34px;height:34px;font-size:21px}.local-badge{font-size:0}.local-badge:after{content:'本机保存';font-size:10px}main{padding:0 16px 18px}.hero{border-radius:18px;padding:28px 24px 30px;min-height:255px}.hero .eyebrow{font-size:10px;letter-spacing:1px}h1{font-size:32px;line-height:1.4;margin:15px 0}.intro{font-size:11px;line-height:1.9}.hero-seal{position:absolute;right:0;top:62px;width:105px;height:105px;opacity:.55;transform:rotate(-10deg) translateX(25px);box-shadow:0 0 0 12px #cf88570b,0 0 0 13px #cf885727}.hero-seal span{font-size:61px}.hero-seal i{font-size:7px;letter-spacing:3px}.hero:after{right:-220px;top:-180px}.tabs{gap:10px;margin:16px 0}.tab{padding:15px 14px;gap:9px;border-radius:12px}.tab span:not(.tab-symbol){font-size:14px}.tab small{font-size:9px;margin-top:6px}.tab-symbol{font-size:21px}.tab b{display:none}.workspace{grid-template-columns:1fr;gap:16px}.card{padding:22px 20px;border-radius:16px}.section-heading{margin-bottom:18px;gap:10px}h2{font-size:16px}.section-heading p{font-size:11px}.notice{font-size:10px;padding:11px 12px;margin-bottom:20px}.grid{gap:12px}.three{gap:9px}label{font-size:11px}input{padding:12px 9px}input::placeholder{font-size:10px}.settings summary{font-size:12px}.settings summary span{font-size:9px}.result-card{position:static;min-height:340px}.big-number{font-size:46px}.source-card{padding:16px;margin-top:16px}.source-card summary{font-size:11px}.source-status{font-size:9px}footer{gap:3px;padding:15px 0}footer p{flex-basis:100%;text-align:center;margin:5px 0}footer button{margin-left:auto}footer span{margin-right:auto}.desktop{display:none}}

.collection{margin-top:18px}.metric small.inline{display:inline;font-size:10px;font-weight:400}.result-card{scroll-margin-top:16px}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}/* Calculator suite: original visual system, no upstream assets. */
.tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.tab{width:auto;padding:16px}.tab b{display:none}.suite-form{max-width:100%;margin-bottom:20px}.module-group{border:1px solid var(--border);border-radius:11px;padding:16px;margin:14px 0;background:#fff}.module-group>summary{font-size:14px;font-weight:650;color:#42596a;cursor:pointer}.module-group h4{font-size:12px;color:#637686;margin:18px 0 10px}.module-group[open]>summary{margin-bottom:14px}.suite-form h4{font-size:12px}.element-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.suite-output{margin:20px 0}.suite-output h3{font-size:16px;margin:22px 0 14px}.suite-output:empty{display:none}.suite-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:15px 0}.suite-metrics .metric strong{font-size:23px;overflow-wrap:anywhere}.table-scroll{width:100%;max-width:100%;overflow-x:auto;margin:15px 0;-webkit-overflow-scrolling:touch}.table-scroll table{border-collapse:collapse;width:100%;font-size:12px;line-height:1.7;text-align:right}.table-scroll th,.table-scroll td{padding:10px 12px;border-bottom:1px solid #e7ebef;white-space:nowrap}.table-scroll thead th{background:#edf2f6;color:#617688;font-weight:600}.table-scroll th:first-child{text-align:left}.table-scroll tbody th{font-weight:500}.table-scroll tbody tr:hover{background:#f7f9fb}.piece-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}.piece{border:1px solid var(--border);border-radius:12px;padding:18px;min-width:0}.piece legend{font-size:13px;font-weight:650;color:#587085;padding:0 6px}.formula-lines{font-size:12px;line-height:2;color:#567084;overflow-wrap:anywhere}.license-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:10px;line-height:1.7;color:#778b98}.suite-actions{display:flex;gap:10px}.suite-output{scroll-margin-top:16px}.suite-form .primary{margin-top:20px}.suite-form input:disabled{opacity:.5}
@media(max-width:680px){.tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.tab{padding:14px 10px}.tab span:not(.tab-symbol){font-size:13px}.tab small{font-size:9px}.suite-form .three{grid-template-columns:repeat(2,minmax(0,1fr))}.element-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.piece-grid{grid-template-columns:1fr}.module-group{padding:13px;margin:12px 0}.module-group .module-group{padding:10px}.suite-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.suite-metrics .metric strong{font-size:20px}.table-scroll th,.table-scroll td{padding:9px}.suite-output{padding:18px 14px}.suite-output .module-group{max-width:100%;min-width:0}.suite-form .notice{font-size:11px}.piece{padding:14px}}