:root{--ink:#17233b;--muted:#71809a;--line:#e7ecf4;--blue:#356dff;--blue-dark:#2456da;--soft:#f5f8ff;--mint:#e9fbf4;--mint-ink:#138a63;--orange:#fff4e8;--orange-ink:#c77722;--shadow:0 18px 50px rgba(42,67,112,.09)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fbfcff;color:var(--ink);font-family:Inter,"Noto Sans SC",system-ui,sans-serif;overflow-x:hidden}button,input,select{font:inherit}button{cursor:pointer;border:0}*[hidden]{display:none!important}
.app-shell{max-width:1180px;margin:auto;padding:0 32px}.topbar{height:78px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf0f6}.brand{display:flex;gap:11px;align-items:center;color:var(--ink);font-weight:700;text-decoration:none;letter-spacing:-.02em}.brand-mark{display:grid;place-items:center;width:31px;height:31px;border-radius:10px;background:var(--blue);color:white;box-shadow:0 6px 14px #356dff45}.brand-mark svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.history-link{background:transparent;color:var(--muted);font-size:14px;display:flex;gap:8px;align-items:center}.history-link:hover{color:var(--blue)}.history-icon{font-size:20px}.history-count{display:grid;place-items:center;min-width:21px;height:21px;border-radius:8px;background:#eaf0ff;color:var(--blue);font-size:11px;font-weight:700}
.hero{display:flex;align-items:center;justify-content:space-between;padding:64px 36px 53px;overflow:hidden;position:relative}.eyebrow,.section-kicker{margin:0 0 13px;color:var(--blue);font-size:11px;font-weight:700;letter-spacing:.16em}.hero h1{font-size:44px;line-height:1.2;letter-spacing:-.055em;margin:0 0 16px}.hero h1 span{color:var(--blue)}.hero-copy{max-width:470px;margin:0;color:var(--muted);line-height:1.8;font-size:15px}.hero-orb{width:185px;height:185px;flex:0 0 auto;border-radius:58% 42% 66% 34%/42% 57% 43% 58%;background:linear-gradient(145deg,#e9f0ff,#d6e2ff);display:grid;place-items:center;margin-right:60px;transform:rotate(-14deg);box-shadow:inset 10px 12px 30px #fff,0 20px 50px #d5e0fa}.hero-orb span{font-size:79px;color:#5280f8;transform:rotate(14deg);font-weight:600;opacity:.85}
.panel{background:white;border:1px solid #edf0f6;border-radius:20px;box-shadow:var(--shadow)}.input-panel{padding:30px 32px 26px}.panel-heading,.results-heading,.schedule-heading,.drawer-head{display:flex;justify-content:space-between;align-items:flex-start}.panel-heading h2,.results-heading h2,.drawer-head h2{margin:0;font-size:23px;letter-spacing:-.03em}.input-tip{color:#a4afc1;font-size:12px;padding-top:5px}.loan-form{display:grid;grid-template-columns:1fr 1fr 1fr 175px;gap:18px;margin-top:25px;align-items:start}.field{display:flex;flex-direction:column;gap:9px;color:#485773;font-size:13px;font-weight:600;min-width:0}.input-wrap{height:50px;border:1px solid #dfe5ef;border-radius:11px;display:flex;align-items:center;padding:0 14px;transition:.2s;background:#fff;min-width:0}.input-wrap:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px #356dff15}.input-wrap input{width:100%;min-width:0;border:0;outline:0;font-size:17px;font-weight:600;color:var(--ink);background:transparent}.input-wrap b{font-size:13px;color:#9aa6b8;font-weight:500}.field-error{height:13px;color:#e05d5d;font-size:11px;font-weight:400}.primary-btn{height:50px;border-radius:11px;padding:0 18px;background:var(--blue);color:#fff;font-weight:600;display:flex;align-items:center;justify-content:center;gap:13px;box-shadow:0 7px 15px #356dff30;transition:.2s}.primary-btn:hover{background:var(--blue-dark);transform:translateY(-1px)}.arrow{font-size:20px;line-height:0}
.results-section{padding:56px 0 15px}.results-heading{align-items:center;margin:0 3px 22px}.save-btn{border:1px solid #dbe4fb;background:#f6f8ff;color:var(--blue);padding:10px 15px;border-radius:10px;font-size:13px;font-weight:600}.save-btn:hover{background:#edf2ff}.comparison-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.scheme-card{background:white;border:1px solid var(--line);border-radius:17px;padding:22px 22px 18px;position:relative;overflow:hidden}.scheme-card.recommended{border:2px solid #7fa0ff;box-shadow:0 9px 28px #356dff13}.scheme-card.recommended:before{content:'推荐';position:absolute;right:0;top:0;background:var(--blue);color:white;padding:5px 12px;border-radius:0 0 0 10px;font-size:11px}.scheme-name{font-size:15px;font-weight:700;margin-bottom:16px}.scheme-desc{color:var(--muted);font-size:12px;margin:0 0 20px}.metric-main{display:flex;align-items:baseline;gap:5px;margin-bottom:18px}.metric-main strong{font-size:28px;letter-spacing:-.04em}.metric-main span{font-size:12px;color:var(--muted)}.metric-row{display:flex;justify-content:space-between;padding:11px 0;border-top:1px solid #f0f2f6;font-size:12px;gap:8px}.metric-row span{color:var(--muted)}.metric-row b{font-size:13px;white-space:nowrap}.interest-pill{display:inline-flex;margin-top:13px;padding:5px 9px;border-radius:6px;font-size:11px;background:var(--mint);color:var(--mint-ink)}
.schedule-panel{margin-top:19px;padding:27px 28px 18px}.schedule-heading{align-items:center;margin-bottom:20px}.schedule-heading h3{margin:0 0 6px;font-size:17px}.schedule-heading p{margin:0;color:var(--muted);font-size:12px}.select-wrap{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px}.select-wrap select{border:1px solid #dfe5ef;border-radius:8px;padding:8px 12px;color:var(--ink);background:white;outline:none}.table-scroll{overflow:auto;-webkit-overflow-scrolling:touch}table{border-collapse:collapse;width:100%;font-size:12px;min-width:640px}th{color:#8a97ab;text-align:right;font-weight:500;background:#f8faff;padding:12px 13px;white-space:nowrap}th:first-child,td:first-child{text-align:left}td{padding:13px;border-bottom:1px solid #f0f2f6;text-align:right;color:#4f5d75;white-space:nowrap}td:first-child{color:var(--ink);font-weight:600}td:last-child{font-weight:600;color:var(--ink)}.table-note{color:#a6b0c0;font-size:11px;margin:14px 0 0}.empty-state{text-align:center;padding:75px 20px 100px;color:var(--muted)}.empty-icon{width:64px;height:64px;border-radius:20px;background:#f0f4ff;color:#7d9cf5;display:grid;place-items:center;font-size:33px;margin:0 auto 18px}.empty-state h2{font-size:16px;color:#596983;margin:0 0 10px}.empty-state p{font-size:13px;margin:0}footer{display:flex;justify-content:space-between;color:#a5afc0;border-top:1px solid #edf0f6;padding:26px 3px 30px;font-size:11px}
.modal-backdrop,.drawer-backdrop{position:fixed;inset:0;background:#1c2d4a50;backdrop-filter:blur(4px);z-index:10;display:grid;place-items:center;padding:20px}.modal{width:min(420px,100%);background:white;border-radius:18px;padding:29px;box-shadow:0 20px 70px #17233b35;position:relative}.modal h2{margin:0 0 9px;font-size:23px}.modal-copy{margin:0 0 24px;color:var(--muted);font-size:13px;line-height:1.6}.modal-close{position:absolute;right:18px;top:14px;background:transparent;color:#a1adbe;font-size:25px;line-height:1}.modal-field{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600;color:#495873}.modal-field input{height:46px;border:1px solid #dfe5ef;border-radius:10px;padding:0 13px;outline:none}.modal-field input:focus{border-color:var(--blue);box-shadow:0 0 0 3px #356dff15}.modal-error{height:17px;color:#d55a5a;font-size:12px;margin:7px 0 0}.full{width:100%;margin-top:4px}.drawer-backdrop{display:flex;justify-content:flex-end;padding:0}.drawer{height:100%;width:min(430px,100%);background:#fff;padding:30px;box-shadow:-20px 0 70px #17233b25;overflow:auto}.history-list{margin-top:25px;display:flex;flex-direction:column;gap:11px}.history-item{border:1px solid var(--line);border-radius:12px;padding:15px 15px 13px;display:flex;justify-content:space-between;gap:12px}.history-item h3{font-size:14px;margin:0 0 7px}.history-item p{margin:0;color:var(--muted);font-size:11px}.history-item-actions{display:flex;flex-direction:column;align-items:flex-end;gap:6px}.history-item-actions button{background:transparent;color:var(--blue);font-size:11px}.history-item-actions .delete{color:#d47474}.history-empty{padding:42px 10px;text-align:center;color:var(--muted);font-size:13px;background:#fafbfe;border-radius:12px}
@media(max-width:850px){.app-shell{padding:0 18px}.hero{padding:45px 10px 38px}.hero h1{font-size:36px}.hero-orb{width:130px;height:130px;margin-right:10px}.hero-orb span{font-size:56px}.loan-form{grid-template-columns:1fr 1fr}.loan-form .primary-btn{grid-column:1/-1}.comparison-grid{grid-template-columns:1fr}.results-section{padding-top:40px}}
@media(max-width:560px){.app-shell{padding:0 14px}.topbar{height:65px}.brand{font-size:14px}.brand-mark{width:28px;height:28px;font-size:18px}.history-link{font-size:12px;gap:5px}.history-icon{font-size:17px}.hero{padding:34px 3px 30px;gap:12px;align-items:flex-start}.hero h1{font-size:32px;margin-bottom:13px}.hero-copy{font-size:13px;line-height:1.7}.hero-orb{width:82px;height:82px;margin:12px 0 0;}.hero-orb span{font-size:37px}.input-panel{padding:23px 17px}.panel-heading h2,.results-heading h2,.drawer-head h2{font-size:20px}.input-tip{font-size:11px}.loan-form{grid-template-columns:1fr;gap:4px;margin-top:21px}.loan-form .primary-btn{grid-column:auto;width:100%;margin-top:9px}.results-section{padding-top:35px}.results-heading{align-items:flex-start;gap:13px;flex-direction:column;margin-left:0;margin-right:0}.save-btn{width:100%;height:44px}.scheme-card{padding:20px 18px 16px}.metric-main strong{font-size:25px}.schedule-panel{padding:21px 14px 16px}.schedule-heading{align-items:stretch;gap:15px;flex-direction:column}.select-wrap{justify-content:space-between}.select-wrap select{flex:1;max-width:220px}.table-scroll{margin:0 -4px;padding:0 4px}.table-note{line-height:1.6}.modal-backdrop{padding:14px}.modal{padding:25px 20px;width:100%;border-radius:16px}.modal h2{font-size:21px}.drawer{width:100%;padding:24px 17px}.drawer-head{padding-right:2px}.history-item{padding:14px 12px}.history-item-actions button{padding:4px}.empty-state{padding:58px 12px 78px}footer{padding:22px 2px 27px;font-size:10px}}
.brand-mark svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.unit-select{border:0;border-left:1px solid #edf0f6;padding:6px 0 6px 9px;color:#65748d;background:#fff;outline:0;font-size:12px;min-width:54px;cursor:pointer}.unit-select:focus{color:var(--blue)}
