﻿:root {
  --leaf: #1f6b4e;
  --leaf-deep: #0f3f34;
  --tea: #d9e9cd;
  --clay: #d06f45;
  --sky: #7db6b5;
  --paper: #fbfaf4;
  --ink: #1c241f;
  --muted: #66756b;
  --line: rgba(31, 107, 78, 0.18);
  --shadow: 0 22px 70px rgba(27, 54, 44, 0.14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: "STSong", "SimSun", "Songti SC", "Microsoft YaHei", serif; background: radial-gradient(circle at 15% 8%, rgba(208,111,69,.16), transparent 25%), linear-gradient(135deg, rgba(217,233,205,.8), rgba(251,250,244,.96) 48%, rgba(125,182,181,.25)), var(--paper); }
input, select, button { font: inherit; }
.app-shell { width: min(980px, calc(100% - 16px)); margin: 0 auto; padding: 12px 0 36px; }
.card { border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.84); box-shadow: var(--shadow); backdrop-filter: blur(14px); }
.top-card { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px; margin-bottom: 12px; }
.flow-card, .control-card, .form-card, .result-card, .module-card, .timeline-card, .action-card, .report-card, .need-card, .basis-card { padding: 16px; margin-bottom: 12px; }
.eyebrow { margin: 0 0 8px; color: var(--clay); font-size: .78rem; font-weight: 700; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 10px; color: var(--leaf-deep); font-size: clamp(2.25rem, 6vw, 4.8rem); line-height: .96; font-weight: 900; }
h2 { margin-bottom: 0; color: var(--leaf-deep); font-size: clamp(1.25rem, 2.3vw, 1.85rem); line-height: 1.14; }
h3 { margin-bottom: 10px; color: var(--leaf-deep); font-size: 1rem; }
.hero-text { max-width: 760px; color: #3f5147; font-size: 1.02rem; line-height: 1.78; }
.cycle-chip, .pill { padding: 8px 12px; border-radius: 999px; color: var(--leaf-deep); background: rgba(31,107,78,.1); font-weight: 800; white-space: nowrap; }
.section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.control-grid, .form-grid, .mini-grid, .flow-grid, .module-grid, .breakdown-grid, .chip-grid, .basis-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.flow-grid article, .module-box, .need-card, .basis-grid article { padding: 14px; border: 1px solid rgba(31,107,78,.14); border-radius: 8px; background: rgba(255,255,255,.72); }
.flow-grid strong, .module-top strong, .basis-grid strong { display: block; margin-bottom: 8px; color: var(--leaf-deep); font-size: 1rem; }
.flow-grid p, .module-summary, .basis-grid p { margin-bottom: 0; color: #405148; line-height: 1.7; }
.module-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.module-top span { color: var(--clay); font-weight: 800; white-space: nowrap; }
.metric-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 12px 0; }
.metric-grid article, .breakdown-grid article { padding: 10px; border: 1px solid rgba(31,107,78,.14); border-radius: 8px; background: rgba(255,255,255,.66); }
.metric-grid span, .breakdown-grid span { display: block; margin-bottom: 6px; color: var(--muted); font-size: .84rem; }
.metric-grid strong, .breakdown-grid strong { color: var(--leaf-deep); font-size: 1rem; }
.breakdown-grid small { display: block; margin-top: 6px; color: var(--muted); line-height: 1.55; }
label { display: grid; gap: 8px; color: #405148; font-weight: 800; }
input, select { width: 100%; min-height: 44px; border: 1px solid rgba(31,107,78,.18); border-radius: 8px; padding: 0 12px; color: var(--leaf-deep); background: rgba(255,255,255,.92); outline: none; }
input:focus, select:focus { border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(31,107,78,.12); }
.subline { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; color: var(--muted); font-weight: 800; }
.cycle-note { margin: 12px 0 0; color: var(--muted); font-size: .92rem; line-height: 1.6; }
.score-badge { display: grid; place-items: center; min-width: 84px; min-height: 84px; border-radius: 50%; color: #fff; background: var(--leaf); box-shadow: 0 16px 34px rgba(31,107,78,.22); }
.score-badge span { font-size: 1.9rem; font-weight: 900; line-height: 1; }
.score-badge small { font-size: .74rem; }
.summary { color: #3e5147; line-height: 1.8; font-size: .98rem; }
.mini-grid article { padding: 12px; border: 1px solid rgba(31,107,78,.14); border-radius: 8px; background: rgba(255,255,255,.66); }
.mini-grid span { display: block; margin-bottom: 8px; color: var(--muted); font-size: .84rem; }
.mini-grid strong { color: var(--leaf-deep); font-size: 1.08rem; }
.year-list { display: grid; gap: 10px; }
.year-card { padding: 14px; border: 1px solid rgba(31,107,78,.12); border-radius: 8px; background: rgba(255,255,255,.8); }
.year-card.is-core { border-left: 5px solid #1f6b4e; }
.year-card.is-reserve { border-left: 5px solid #d06f45; }
.year-card.is-caution { border-left: 5px solid #8c5a27; }
.year-top { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.year-top strong { color: var(--leaf-deep); font-size: 1.02rem; }
.year-top span { color: var(--clay); font-weight: 800; }
.year-score { display: flex; align-items: baseline; gap: 6px; font-size: 1.8rem; font-weight: 900; color: var(--leaf-deep); }
.year-score small { color: var(--muted); font-size: .78rem; font-weight: 800; }
.year-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; color: var(--muted); }
.year-meta span { padding: 8px 10px; border-radius: 8px; background: rgba(31,107,78,.07); color: #405148; font-weight: 800; }
.bullet-list { display: grid; gap: 10px; margin: 0; padding-left: 20px; color: #3f5147; line-height: 1.65; }
.report-text { color: #3f5147; line-height: 1.75; margin-bottom: 14px; }
.primary-btn, .secondary-btn { width: 100%; min-height: 48px; border: 0; border-radius: 8px; font-weight: 900; box-shadow: 0 12px 26px rgba(31,107,78,.24); }
.primary-btn { color: #fff; background: var(--leaf); }
.secondary-btn { color: var(--leaf-deep); background: rgba(31,107,78,.12); }
.chip-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.chip-grid span { padding: 10px 12px; border-radius: 8px; background: rgba(31,107,78,.08); color: var(--leaf-deep); font-weight: 800; text-align: center; }
.breakdown-head { margin: 14px 0 10px; color: var(--clay); font-weight: 900; }
.stacked { display: grid; }
@media (max-width: 860px) { .top-card, .section-head, .subline, .module-top { flex-direction: column; align-items: flex-start; } .control-grid, .form-grid, .mini-grid, .flow-grid, .module-grid, .metric-grid, .breakdown-grid, .chip-grid, .basis-grid, .year-meta { grid-template-columns: 1fr; } .app-shell { width: min(100% - 12px, 980px); } }
