:root {
  color-scheme: light;
  --paper: #eff7fc;
  --paper-deep: #e3eff7;
  --forest: #233e55;
  --forest-soft: #40586b;
  --mint: #dceefb;
  --mint-pale: #f0f7fc;
  --lime: #fff0b5;
  --gold: #946022;
  --ink: #243747;
  --muted: #4f6170;
  --line: #d2e0e9;
  --white: #ffffff;
  --danger: #8c3f2b;
  --shadow: 0 18px 50px rgba(34, 56, 46, .10);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 13px;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
/* Shared brand layer: existing fonts and responsive type sizes are retained. */
.home-primary { margin-top: 26px; }
.home-examples { margin-top: 32px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); line-height: 1.7; }
.brand-belief { padding: 20px; border-left: 4px solid #edc8d4; color: var(--forest); line-height: 1.7; }
.result-shortcuts { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 20px 8px; align-items: center; }
.result-shortcuts a, .result-shortcuts button { font-size: 1rem; text-decoration: underline; }
.remaining-steps { margin-top: 18px; line-height: 1.7; }
.first-layer-uncertainty { margin: 14px 0 0; line-height: 1.6; color: var(--ink); }
.how-to p { margin: 0; line-height: 1.6; }
.result-shell .why-section { padding: 16px 0; }
.result-shell .calm-outcome-grid { padding: 18px 0; }
.result-shell .calm-card, .result-shell .outcome-card { background: var(--white); border: 1px solid var(--line); }
.result-shell .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; }
.result-shell .next-action-list { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; }
.detail-block, #result-details { scroll-margin-top: 100px; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #346b98; outline-offset: 4px; }
@media (max-width: 760px) {
  .result-shell .why-grid, .result-shell .next-action-list { grid-template-columns: 1fr; }
}
html { min-width: 360px; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--paper); color: var(--ink); }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 12px 16px; background: var(--forest); color: white; border-radius: 10px; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px clamp(20px, 5vw, 72px); background: rgba(239, 247, 252, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px 14px 18px 18px; background: var(--forest); color: var(--lime); font-weight: 900; }
.brand strong, .brand small { display: block; }
.brand strong { letter-spacing: -.02em; font-size: 1.1rem; }
.brand small { margin-top: 1px; color: var(--muted); font-size: .72rem; }
nav { display: flex; align-items: center; gap: 8px; }
nav a { padding: 10px 13px; border-radius: 999px; text-decoration: none; font-size: .92rem; font-weight: 700; }
nav a:hover, nav a:focus-visible { background: var(--mint-pale); outline: none; }
main { min-height: calc(100vh - 180px); }
.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; padding: 64px 0 80px; }
.home-hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr); align-items: center; gap: clamp(28px, 6vw, 76px); }
.eyebrow { margin: 0 0 14px; color: var(--forest-soft); font-size: .82rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { max-width: 780px; margin: 0; color: var(--forest); font-size: clamp(2.45rem, 6vw, 5.4rem); line-height: .98; letter-spacing: -.055em; }
.home-hero h1 span { display: block; color: var(--gold); }
.lede { max-width: 650px; margin: 24px 0 0; color: var(--muted); font-size: clamp(1.02rem, 1.7vw, 1.24rem); line-height: 1.8; }
.hero-art { position: relative; min-height: 420px; display: grid; place-items: center; border-radius: 48% 52% 39% 61% / 58% 40% 60% 42%; background: var(--mint); overflow: hidden; }
.hero-art::before { content: ""; position: absolute; inset: 10% 8% auto auto; width: 100px; height: 100px; border-radius: 50%; background: var(--lime); }
.hero-art img { position: relative; z-index: 1; width: min(94%, 500px); height: auto; object-fit: contain; filter: drop-shadow(0 24px 28px rgba(36, 58, 48, .18)); }
.product-section { margin-top: 72px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-heading h2 { margin: 0; color: var(--forest); font-size: clamp(1.65rem, 3vw, 2.5rem); letter-spacing: -.035em; }
.section-heading p { max-width: 480px; margin: 0; color: var(--muted); line-height: 1.65; }
.entry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.entry-card { position: relative; min-height: 340px; display: flex; flex-direction: column; padding: clamp(26px, 4vw, 42px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); overflow: hidden; text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
.entry-card:hover, .entry-card:focus-visible { transform: translateY(-4px); border-color: var(--forest-soft); outline: none; }
.entry-card.retirement { background: var(--forest); color: white; border-color: var(--forest); }
.entry-number { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: var(--lime); color: var(--forest); font-weight: 950; }
.entry-card h3 { margin: 42px 0 10px; font-size: clamp(1.75rem, 3vw, 2.45rem); letter-spacing: -.04em; }
.entry-question { margin: 0 0 18px; font-size: 1.03rem; font-weight: 900; line-height: 1.55; }
.entry-description { margin: 0; color: var(--muted); line-height: 1.75; }
.retirement .entry-description { color: #d8e7df; }
.entry-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 26px; font-weight: 900; }
.entry-link::after { content: "→"; font-size: 1.25em; }
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.trust-strip div { padding: 18px 20px; border-radius: var(--radius-sm); background: rgba(255, 253, 248, .72); border: 1px solid var(--line); }
.trust-strip strong { display: block; color: var(--forest); }
.trust-strip span { display: block; margin-top: 5px; color: var(--muted); font-size: .88rem; line-height: 1.5; }
footer { padding: 28px 20px 42px; border-top: 1px solid var(--line); color: var(--muted); text-align: center; font-size: .86rem; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 760px) {
  .site-header { align-items: flex-start; padding: 12px 18px; }
  .brand small { display: none; }
  nav { gap: 2px; }
  nav a { padding: 9px 8px; font-size: .8rem; }
  .shell { width: min(100% - 28px, 1160px); padding: 38px 0 60px; }
  .home-hero { grid-template-columns: 1fr; gap: 26px; }
  .hero-art { min-height: 300px; border-radius: 34px; }
  .hero-art img { width: min(88%, 390px); }
  .product-section { margin-top: 42px; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 10px; }
  .entry-grid, .trust-strip { grid-template-columns: 1fr; }
  .entry-card { min-height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

button, .button, input, select, textarea, summary { min-height: 44px; }
button, .button { cursor: pointer; }
button:disabled, .button[aria-disabled="true"] { cursor: not-allowed; opacity: .48; }
input, select, textarea { width: 100%; border: 1px solid #bcb5a5; border-radius: 13px; background: var(--white); color: var(--ink); padding: 12px 14px; }
textarea { resize: vertical; line-height: 1.6; }
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid rgba(201, 154, 69, .48); outline-offset: 2px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border: 1px solid transparent; border-radius: 999px; font-weight: 900; text-decoration: none; line-height: 1.2; }
.button.primary { background: var(--lime); color: var(--forest); border-color: var(--lime); }
.button.primary:hover { background: #c9e653; }
.button.secondary { background: var(--white); color: var(--forest); border-color: #aab8ad; }
.button.secondary:hover { background: var(--mint-pale); }
.button.compact { min-height: 40px; padding: 9px 14px; font-size: .88rem; }
.text-button { min-height: 40px; padding: 4px 2px; border: 0; background: transparent; color: var(--forest); font-weight: 900; text-decoration: underline; text-underline-offset: 4px; }
.danger-text { color: var(--danger); }
.clipboard-fallback { position: fixed; left: -9999px; top: -9999px; }
.error-message { margin: 0 0 20px; padding: 14px 16px; border-radius: var(--radius-sm); background: #fff0e9; color: var(--danger); font-weight: 800; }
.clear-device-success { margin: 18px 0 0; padding: 14px 17px; border: 1px solid #a8cbb8; border-radius: var(--radius-sm); background: #eef8f1; color: var(--forest); font-weight: 800; }
.danger-button { border: 1px solid #a94f38; background: #fff5f1; color: #7f321f; }
.danger-button:hover { background: #ffe9df; }

.flow-shell { width: min(980px, calc(100% - 40px)); margin: 0 auto; padding: 54px 0 80px; }
.flow-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: end; padding: 34px clamp(26px, 5vw, 52px); border-radius: var(--radius-lg); background: var(--mint); }
.flow-shell.retirement .flow-hero { background: var(--forest); color: white; }
.flow-hero h1 { max-width: 700px; font-size: clamp(2.1rem, 5vw, 4.1rem); }
.retirement .flow-hero h1 { color: white; }
.flow-hero > div > p:last-child { max-width: 680px; margin: 18px 0 0; color: var(--forest-soft); line-height: 1.7; }
.retirement .flow-hero > div > p:last-child, .retirement .flow-hero .eyebrow { color: #d5e7df; }
.flow-badge { display: flex; align-items: baseline; padding: 15px 18px; border-radius: 18px; background: rgba(255,255,255,.7); color: var(--forest); }
.flow-badge strong { font-size: 2.1rem; }
.flow-badge span { color: var(--muted); font-weight: 800; }
.reused-summary { margin: 20px 0 0; padding: 18px 20px; border: 1px solid #aad2bd; border-radius: var(--radius-md); background: var(--mint-pale); }
.reused-summary > strong { color: var(--forest); }
.reused-summary > div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.reused-summary span { padding: 7px 10px; border-radius: 999px; background: white; font-size: .86rem; }
.reused-summary b { margin-right: 4px; color: var(--forest); }
.reused-summary p { margin: 10px 0 0; color: var(--muted); font-size: .88rem; }
.progress-wrap { margin: 28px 0 14px; }
.progress-copy { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 10px; font-size: .9rem; }
.progress-copy strong { color: var(--forest); }
.progress-copy span { color: var(--muted); }
.progress-track { height: 9px; border-radius: 999px; background: var(--paper-deep); overflow: hidden; }
.progress-track span { display: block; height: 100%; border-radius: inherit; background: var(--gold); transition: width .25s ease; }
.flow-card { padding: clamp(24px, 5vw, 50px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.flow-card > header { display: flex; align-items: flex-start; gap: 18px; padding-bottom: 24px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.flow-card h2 { margin: 0; color: var(--forest); font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -.035em; }
.flow-card header p:not(.step-count) { margin: 7px 0 0; color: var(--muted); line-height: 1.6; }
.step-count { display: grid; flex: 0 0 auto; width: 50px; height: 50px; place-items: center; margin: 0; border-radius: 16px; background: var(--lime); color: var(--forest); font-weight: 950; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.field { display: grid; align-content: start; gap: 8px; min-width: 0; }
.field-label { color: var(--forest); font-weight: 900; line-height: 1.45; }
.field-label em { margin-left: 8px; color: var(--danger); font-style: normal; font-size: .75rem; }
.field small { color: var(--muted); line-height: 1.5; }
.input-shell { display: flex; align-items: stretch; min-width: 0; }
.input-shell input { min-width: 0; border-radius: 13px 0 0 13px; }
.input-suffix { display: grid; flex: 0 0 auto; place-items: center; padding: 0 13px; border: 1px solid #bcb5a5; border-left: 0; border-radius: 0 13px 13px 0; background: var(--paper-deep); color: var(--muted); font-size: .9rem; font-weight: 800; }
.range-pair { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 18px; border-radius: var(--radius-md); background: var(--mint-pale); }
.field-note, .official-note, .confirmation-card, .three-use-intro { grid-column: 1 / -1; padding: 18px 20px; border-radius: var(--radius-md); background: var(--paper-deep); }
.field-note strong, .official-note strong, .confirmation-card strong, .three-use-intro strong { color: var(--forest); }
.field-note p, .official-note p, .three-use-intro p { margin: 6px 0 0; color: var(--muted); line-height: 1.6; }
.official-note { background: #fff5cf; border: 1px solid #dec575; }
.official-note summary, .official-record-info summary { color: var(--forest); cursor: pointer; font-weight: 900; line-height: 1.5; }
.official-note a { display: inline-block; margin-top: 8px; color: var(--forest); font-weight: 900; }
.confirmation-card ul { margin: 10px 0 0; padding-left: 20px; line-height: 1.8; }
.flow-actions { display: flex; justify-content: space-between; gap: 16px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.local-note { margin: 18px 0 0; color: var(--muted); text-align: center; font-size: .8rem; }
.actionable-consistency { margin: 10px 0; padding: 10px 12px; border-left: 3px solid var(--gold); background: #fffaf0; color: var(--ink); font-weight: 700; }
.complete-information-state { margin: 18px 0 0; color: var(--muted); }

.investment-input { display: grid; gap: 20px; }
.holdings-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 8px; border-top: 1px solid var(--line); }
.holdings-header strong { color: var(--forest); font-size: 1.1rem; }
.holdings-header p { margin: 5px 0 0; color: var(--muted); font-size: .9rem; }
.holding-card { padding: 20px; border: 1px solid #cfc6b4; border-radius: var(--radius-md); background: #fffdfa; }
.holding-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.holding-card-head > strong { color: var(--forest); }
.search-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.identity-results { display: grid; gap: 6px; margin: 8px 0 16px; }
.identity-results button { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 12px 14px; border: 1px solid #aab8ad; border-radius: 12px; background: var(--mint-pale); color: var(--forest); text-align: left; }
.identity-results button span { color: var(--muted); font-size: .85rem; }
.identity-status { margin: 8px 0 16px; color: var(--forest); font-weight: 800; line-height: 1.55; }
.selected-identity { display: flex; align-items: center; gap: 10px; margin: 12px 0; padding: 14px 16px; border-radius: 14px; background: var(--forest); color: white; }
.selected-identity span { padding: 4px 7px; border-radius: 999px; background: var(--lime); color: var(--forest); font-size: .72rem; font-weight: 950; }
.selected-identity small { margin-left: auto; color: #d2e9de; }
.quantity-grid { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 16px; }
.valuation-button { margin-top: 16px; }
.valuation-fallback { margin-top: 14px; padding: 18px; border: 1px solid #ddbd64; border-radius: var(--radius-md); background: #fff6d8; }
.valuation-fallback > strong { color: var(--forest); }
.valuation-fallback > p { color: var(--muted); line-height: 1.6; }
.valuation-fallback .range-pair { padding: 0; background: transparent; }
.valuation-choices { display: grid; gap: 9px; margin: 14px 0; }
.valuation-choices label { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 1px solid #d9c276; border-radius: 13px; background: #fffdf6; cursor: pointer; }
.valuation-choices input { flex: 0 0 auto; width: 20px; min-height: 20px; margin-top: 2px; accent-color: var(--forest); }
.valuation-choices span, .valuation-choices b, .valuation-choices small { display: block; }
.valuation-choices b { color: var(--forest); line-height: 1.45; }
.valuation-choices small { margin-top: 3px; color: var(--muted); line-height: 1.45; }
.priced-valuation { margin-top: 14px; padding: 18px; border: 1px solid #94c5a9; border-radius: var(--radius-md); background: var(--mint-pale); }
.priced-valuation > strong { color: var(--forest); font-size: 1.2rem; }
.priced-valuation dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 14px 0 0; }
.priced-valuation dl div { padding: 10px; border-radius: 10px; background: white; }
.priced-valuation dt { color: var(--muted); font-size: .76rem; }
.priced-valuation dd { margin: 4px 0 0; color: var(--forest); font-weight: 850; }
.unknown-preserved { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--mint-pale); color: var(--forest); font-weight: 800; }
.unit-explainer, .total-relation { margin: 0; padding: 14px 16px; border-radius: 13px; background: var(--paper-deep); color: var(--muted); }
.unit-explainer strong, .total-relation strong { color: var(--forest); }
.total-relation p { margin: 5px 0 0; }
.total-relation .field { margin-top: 12px; }
.empty-holdings { padding: 22px; border: 1px dashed #aaa08d; border-radius: var(--radius-md); color: var(--muted); text-align: center; }

.loading-screen { width: min(700px, calc(100% - 36px)); margin: 0 auto; padding: 120px 0; text-align: center; }
.cat-loader { display: grid; width: 72px; height: 72px; place-items: center; margin: 0 auto 24px; border-radius: 24px; background: var(--forest); color: var(--lime); font-size: 1.4rem; font-weight: 950; animation: cat-breathe 1.5s ease-in-out infinite; }
.loading-screen h1 { max-width: none; font-size: clamp(2rem, 5vw, 3.4rem); }
.loading-screen p { color: var(--muted); }
@keyframes cat-breathe { 50% { transform: translateY(-5px) rotate(-2deg); } }
.result-shell { width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: 42px 0 88px; }
.result-section { padding: clamp(24px, 4vw, 42px) 0; border-bottom: 1px solid var(--line); }
.result-section > header { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; }
.result-section > header > span { display: grid; flex: 0 0 auto; width: 43px; height: 43px; place-items: center; border-radius: 14px; background: var(--paper-deep); color: var(--forest); font-weight: 950; }
.result-section h2 { margin: 2px 0 0; color: var(--forest); font-size: clamp(1.45rem, 3vw, 2rem); letter-spacing: -.03em; }
.result-section header p { margin: 5px 0 0; color: var(--muted); line-height: 1.5; }
.result-hero { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: center; gap: 32px; padding: clamp(30px, 5vw, 58px); border: 0; border-radius: var(--radius-lg); background: var(--forest); color: white; }
.result-hero h1 { color: white; font-size: clamp(2.25rem, 5vw, 4.3rem); }
.result-hero .eyebrow { color: var(--lime); }
.hero-question { max-width: 620px; margin: 18px 0 0; color: #d7e8df; font-size: 1.05rem; line-height: 1.7; }
.result-cat { position: relative; align-self: stretch; min-height: 250px; display: grid; place-items: center; border-radius: 28px; background: var(--mint); overflow: hidden; }
.result-cat img { width: 90%; height: auto; }
.result-cat span { position: absolute; left: 15px; right: 15px; bottom: 15px; padding: 10px 12px; border-radius: 12px; background: rgba(21,63,53,.92); color: white; text-align: center; font-size: .83rem; font-weight: 900; }
.change-notice { margin: 18px 0 0; padding: 18px 20px; border: 1px solid #9bc7ae; border-radius: var(--radius-md); background: var(--mint-pale); }
.change-notice strong { color: var(--forest); }
.change-notice p { margin: 6px 0 0; line-height: 1.6; }
.fact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fact-grid > div { min-height: 108px; display: flex; flex-direction: column; justify-content: space-between; padding: 17px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.fact-grid span { color: var(--muted); font-size: .84rem; }
.fact-grid strong { margin-top: 14px; color: var(--forest); font-size: 1.13rem; }
.work-years-note { margin: 14px 0 0; padding: 14px 16px; border-left: 4px solid var(--gold); background: #fff7df; line-height: 1.6; }
.holding-summary { margin-top: 16px; padding: 18px; border-radius: var(--radius-md); background: var(--mint-pale); }
.holding-summary > strong { color: var(--forest); }
.holding-summary > p { margin: 5px 0 10px; color: var(--muted); }
.holding-summary ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.holding-summary li { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; border-top: 1px solid #bcd9c8; }
.holding-summary li > div { display: grid; gap: 3px; }
.holding-summary li small { color: var(--muted); line-height: 1.45; }
.holding-summary li span { color: var(--muted); }
.holding-summary li span .button { display: block; margin-top: 8px; }
.visual-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.visual-card { min-width: 0; padding: 23px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.visual-card h3 { margin: 0 0 20px; color: var(--forest); font-size: 1.2rem; }
.visual-note { margin: 18px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.bar-list { display: grid; gap: 17px; }
.bar-row > div { display: flex; justify-content: space-between; gap: 14px; }
.bar-row span { color: var(--muted); font-size: .84rem; }
.bar-row strong { color: var(--forest); }
.bar-track { display: block; height: 10px; margin-top: 8px; border-radius: 999px; background: var(--paper-deep); overflow: hidden; }
.bar-track i { display: block; height: 100%; border-radius: inherit; background: var(--mint); }
.bar-row:nth-child(2) .bar-track i { background: var(--gold); }
.bar-row:nth-child(3) .bar-track i { background: var(--forest-soft); }
.unknown-bar { display: inline-block; margin-top: 7px; }
.timeline-track { position: relative; min-height: 150px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.timeline-line { position: absolute; left: 14%; right: 14%; top: 54px; height: 5px; border-radius: 999px; background: linear-gradient(90deg, var(--mint), var(--lime)); }
.timeline-point { position: relative; z-index: 1; display: grid; justify-items: center; gap: 4px; text-align: center; }
.timeline-point i { width: 24px; height: 24px; margin-bottom: 5px; border: 6px solid var(--white); border-radius: 50%; background: var(--forest); box-shadow: 0 0 0 2px var(--forest); }
.timeline-point b { color: var(--muted); font-size: .78rem; }
.timeline-point strong { color: var(--forest); }
.timeline-years { position: relative; z-index: 2; align-self: start; padding: 9px 13px; border-radius: 999px; background: var(--lime); color: var(--forest); text-align: center; }
.timeline-years strong, .timeline-years span { display: block; }
.timeline-years span { margin-top: 2px; font-size: .68rem; font-weight: 800; }
.timeline-track.undecided .timeline-line { background: repeating-linear-gradient(90deg, #b9b4a7 0 10px, transparent 10px 17px); }
.source-grid { display: grid; gap: 12px; }
.source-item { padding: 17px; border-radius: 16px; background: var(--paper-deep); }
.source-item.personal { background: var(--mint-pale); }
.source-item span, .source-item strong { display: block; }
.source-item span { color: var(--muted); font-size: .82rem; }
.source-item strong { margin-top: 9px; color: var(--forest); line-height: 1.5; }
.conclusion-section { padding-left: clamp(0px, 2vw, 20px); padding-right: clamp(0px, 2vw, 20px); }
.conclusion-copy { padding: clamp(24px, 4vw, 38px); border-radius: var(--radius-lg); background: var(--paper-deep); }
.conclusion-copy p { max-width: 820px; margin: 0; color: var(--forest); font-size: clamp(1.15rem, 2.4vw, 1.6rem); font-weight: 850; line-height: 1.55; }
.conclusion-copy p + p { margin-top: 10px; color: var(--forest-soft); font-size: clamp(1rem, 2vw, 1.28rem); font-weight: 700; }
.today-section { padding: clamp(26px, 4vw, 42px); margin: 28px 0; border: 0; border-radius: var(--radius-lg); background: var(--lime); }
.today-section > header > span { background: var(--forest); color: var(--lime); }
.today-card { display: flex; align-items: flex-start; gap: 18px; }
.today-check { display: grid; flex: 0 0 auto; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: var(--forest); color: var(--lime); font-size: 1.4rem; font-weight: 950; }
.today-card strong { display: block; max-width: 780px; color: var(--forest); font-size: clamp(1.25rem, 2.6vw, 1.8rem); line-height: 1.45; }
.today-card p { margin: 10px 0 0; color: var(--forest-soft); font-weight: 700; }
.today-card small { display: block; margin-top: 12px; color: var(--forest); }
.plan-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: plan; }
.plan-list li { display: grid; grid-template-columns: 45px minmax(0, 1fr); align-items: center; gap: 15px; padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.plan-list li span { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 13px; background: var(--mint-pale); color: var(--forest); font-weight: 950; }
.plan-list p { margin: 0; line-height: 1.55; }
.calm-list, .change-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.calm-list li, .change-list li { position: relative; padding: 13px 15px 13px 43px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); line-height: 1.5; }
.calm-list li::before { content: "先"; position: absolute; left: 13px; top: 12px; color: var(--gold); font-weight: 950; }
.change-list li::before { content: "↻"; position: absolute; left: 15px; color: var(--forest); font-weight: 950; }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tool-grid article { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.tool-grid h3 { margin: 0; color: var(--forest); }
.tool-grid p { color: var(--muted); line-height: 1.55; }
.tool-grid ul { margin: 12px 0 0; padding-left: 20px; line-height: 1.7; }
.advocate-grid { grid-template-columns: 1fr; }
.advocate-grid dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 16px 0 0; }
.advocate-grid dl div { padding: 14px; border-radius: 13px; background: var(--paper-deep); }
.advocate-grid dt { color: var(--forest); font-weight: 900; }
.advocate-grid dd { margin: 7px 0 0; color: var(--muted); line-height: 1.55; }
.no-product-section { padding-left: 24px; padding-right: 24px; border: 1px solid #aad2bd; border-radius: var(--radius-md); background: var(--mint-pale); }
.no-product-section p { margin: 0; color: var(--forest); font-size: 1.08rem; font-weight: 750; line-height: 1.6; }
.gap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gap-card { padding: 20px; border: 1px solid #dec575; border-radius: var(--radius-md); background: #fff8de; }
.gap-class { display: inline-block; padding: 5px 8px; border-radius: 999px; background: var(--gold); color: white; font-size: .72rem; font-weight: 900; }
.gap-card h3 { margin: 13px 0 8px; color: var(--forest); }
.gap-card p { color: var(--muted); line-height: 1.55; }
.official-record-info { margin-top: 14px; padding: 17px 19px; border-radius: var(--radius-md); background: var(--paper-deep); }
.official-record-info strong { color: var(--forest); }
.official-record-info p { margin: 6px 0; color: var(--muted); line-height: 1.55; }
.official-record-info a { color: var(--forest); font-weight: 900; }
.complete-note { padding: 18px 20px; border-radius: var(--radius-md); background: var(--mint-pale); }
.complete-note strong { color: var(--forest); }
.complete-note p { margin: 5px 0 0; color: var(--muted); }
.detail-section { border-bottom: 0; }
.detail-section details { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); overflow: hidden; }
.detail-section summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; cursor: pointer; list-style: none; }
.detail-section summary::-webkit-details-marker { display: none; }
.detail-section summary span { display: flex; align-items: center; gap: 13px; }
.detail-section summary b { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 13px; background: var(--forest); color: var(--lime); }
.detail-section summary strong { color: var(--forest); font-size: 1.2rem; }
.detail-section summary em { color: var(--muted); font-style: normal; font-size: .86rem; }
.detail-section details[open] summary { border-bottom: 1px solid var(--line); }
.detail-section details[open] summary em { font-size: 0; }
.detail-section details[open] summary em::after { content: "收起"; font-size: .86rem; }
.detail-body { padding: clamp(20px, 4vw, 34px); }
.detail-body > p { color: var(--muted); line-height: 1.6; }
.dimension-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.dimension-list div { padding: 12px; border-radius: 13px; background: var(--paper-deep); }
.dimension-list span, .dimension-list strong { display: block; }
.dimension-list span { color: var(--muted); font-size: .78rem; }
.dimension-list strong { margin-top: 6px; color: var(--forest); }
.detail-evidence-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.detail-evidence-list article { padding: 16px; border-radius: 15px; background: var(--paper-deep); }
.detail-evidence-list h4 { margin: 0; color: var(--forest); font-size: 1.05rem; }
.detail-evidence-list p { margin: 10px 0 0; color: var(--muted); line-height: 1.55; }
.detail-evidence-list p b { color: var(--forest); }
.no-product-prompt { margin: 14px 0; padding: 16px; border-radius: 14px; background: var(--mint-pale); }
.no-product-prompt strong { color: var(--forest); }
.no-product-prompt p { margin: 6px 0 0; color: var(--muted); line-height: 1.55; }
.search-evidence-stop { margin: 12px 0 16px; padding: 14px; border-radius: 13px; background: #fff8de; }
.search-evidence-stop strong { color: var(--forest); }
.search-evidence-stop p { margin: 5px 0 0; color: var(--muted); line-height: 1.55; }
.prompt-heading { margin-top: 34px; }
.prompt-heading h3 { margin: 0; color: var(--forest); font-size: 1.7rem; }
.prompt-heading > p:last-child { color: var(--muted); }
.prompt-products { display: grid; gap: 16px; }
.prompt-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fffdf8; }
.prompt-card.private-card { background: var(--mint-pale); }
.prompt-card.full-card { background: var(--forest); color: white; border-color: var(--forest); }
.prompt-tag { display: inline-block; padding: 5px 8px; border-radius: 999px; background: var(--paper-deep); color: var(--forest); font-size: .72rem; font-weight: 900; }
.full-card .prompt-tag { background: var(--lime); }
.prompt-card h4 { margin: 13px 0 6px; color: var(--forest); font-size: 1.25rem; }
.full-card h4 { color: white; }
.prompt-card > p { margin: 0 0 16px; color: var(--muted); line-height: 1.55; }
.full-card > p { color: #d4e4dd; }
.privacy-notice { margin: 15px 0; padding: 16px; border-radius: 15px; background: rgba(255,255,255,.1); }
.privacy-notice strong { color: var(--lime); }
.privacy-notice p { color: #d4e4dd; line-height: 1.55; }
.privacy-notice label { display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.privacy-notice input { flex: 0 0 auto; width: 20px; min-height: 20px; margin-top: 2px; accent-color: var(--lime); }
.prompt-output { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(95,108,101,.25); }
.prompt-output pre { max-height: 430px; margin: 0 0 14px; padding: 16px; overflow: auto; border-radius: 14px; background: #f7f3e8; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-size: .88rem; line-height: 1.65; }
.prompt-ready > p { margin: 0 0 14px; color: var(--muted); line-height: 1.6; }
.full-card .prompt-ready > p { color: #d4e4dd; }
.prompt-provenance { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: -3px 0 14px; color: var(--muted); font-size: .76rem; line-height: 1.5; }
.prompt-provenance strong { color: var(--forest); }
.full-card .prompt-provenance { color: #d4e4dd; }
.full-card .prompt-provenance strong { color: var(--lime); }
.prompt-service-error { margin-bottom: 16px; }
.copy-button { background: var(--gold); color: white; }
.copy-success { margin: 10px 0 0; color: var(--forest); font-weight: 850; }
.full-card .copy-success { color: var(--lime); }
.consent-dialog { max-width: 620px; }
.consent-short-notice { color: var(--forest); font-size: 1.03rem; font-weight: 750; line-height: 1.7; }
.consent-dialog details { margin: 18px 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.consent-dialog summary { cursor: pointer; color: var(--forest); font-weight: 850; }
.consent-dialog ul { padding-left: 20px; color: var(--muted); line-height: 1.7; }
.consent-dialog details p { color: var(--muted); font-size: .86rem; }
.result-footer-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }

.dialog-backdrop { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 18px; background: rgba(8, 28, 22, .7); backdrop-filter: blur(7px); }
.clear-device-dialog { max-width: 620px; }
.clear-device-dialog ul { display: grid; gap: 8px; margin: 12px 0 18px; padding-left: 24px; }
.confirm-clear { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0; padding: 14px; border-radius: var(--radius-sm); background: #fff5f1; font-weight: 750; }
.confirm-clear input { margin-top: 4px; }
.direct-fix-dialog { position: relative; width: min(560px, 100%); max-height: calc(100vh - 36px); overflow: auto; padding: clamp(24px, 5vw, 40px); border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 28px 80px rgba(0,0,0,.28); }
.direct-fix-dialog h2 { margin: 0; color: var(--forest); font-size: 2rem; }
.direct-fix-dialog > p:not(.eyebrow) { color: var(--muted); line-height: 1.6; }
.dialog-close { position: absolute; right: 15px; top: 12px; width: 44px; border: 0; background: transparent; color: var(--forest); font-size: 1.8rem; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }

.trust-page { padding-top: 60px; }
.trust-hero { padding: clamp(30px, 6vw, 64px); border-radius: var(--radius-lg); background: var(--forest); color: white; }
.trust-hero h1 { color: white; }
.trust-hero .eyebrow { color: var(--lime); }
.trust-hero .lede { color: #d4e4dd; }
.trust-content { display: grid; gap: 0; margin: 28px 0; }
.trust-content > section { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.trust-content > section > span { display: grid; width: 45px; height: 45px; place-items: center; border-radius: 14px; background: var(--mint); color: var(--forest); font-weight: 950; }
.trust-content h2 { margin: 3px 0 10px; color: var(--forest); }
.trust-content p { color: var(--muted); line-height: 1.75; }
.guide-box { margin-top: 15px; padding: 18px; border-radius: var(--radius-md); background: var(--paper-deep); }
.guide-box strong { color: var(--forest); }
.guide-box ol { margin-bottom: 0; padding-left: 20px; line-height: 1.75; }

.system-candidate-card, .retirement-system-card, .concentration-callout, .product-decision-card, .seller-checklist {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--mint-pale);
}
.system-candidate-card span, .retirement-system-card span, .concentration-callout > span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .06em;
}
.system-candidate-card strong, .retirement-system-card strong, .concentration-callout strong { color: var(--forest); line-height: 1.5; }
.system-candidate-card p, .retirement-system-card p, .concentration-callout p { margin: 7px 0 0; color: var(--muted); line-height: 1.6; }
.retirement-system-card, .concentration-callout { margin-top: 16px; }
.concentration-callout { border-color: #d6a846; background: #fff8de; }
.retirement-system-card small { display: block; margin-top: 10px; color: var(--forest); font-weight: 850; }
.retirement-ruler-card { background: linear-gradient(145deg, #f4fbf5, #fffdf6); }
.ruler-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.ruler-head span { color: var(--muted); font-size: .75rem; font-weight: 900; letter-spacing: .06em; }
.ruler-head h3 { margin-top: 5px; }
.ruler-head > strong { color: var(--forest); font-size: clamp(1.35rem, 3vw, 2rem); text-align: right; }
.ruler-headline { margin: 8px 0 18px; color: var(--forest); font-weight: 850; }
.ruler-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ruler-grid > div { padding: 14px; border-radius: 14px; background: white; box-shadow: inset 0 0 0 1px var(--line); }
.ruler-grid span, .ruler-grid strong, .ruler-grid small { display: block; }
.ruler-grid span { color: var(--muted); font-size: .76rem; }
.ruler-grid strong { margin-top: 5px; color: var(--forest); line-height: 1.45; }
.ruler-grid small { margin-top: 5px; color: var(--muted); line-height: 1.45; }
.ruler-not-deducted { margin: 14px 0 0; padding-left: 20px; color: #725620; line-height: 1.65; }
.ruler-empty { padding: 18px; border-radius: 14px; background: var(--paper-deep); }
.ruler-empty strong { color: var(--forest); }
.ruler-empty p { margin-bottom: 0; color: var(--muted); }
.product-decision-card { margin-bottom: 18px; background: #fff8de; border-color: #e8cd83; }
.product-decision-card > strong { color: var(--forest); font-size: 1.08rem; }
.product-decision-card dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 0; }
.product-decision-card dl > div { padding: 12px; border-radius: 12px; background: rgba(255,255,255,.7); }
.product-decision-card dt { color: var(--forest); font-weight: 900; }
.product-decision-card dd { margin: 5px 0 0; color: var(--muted); line-height: 1.55; }
.seller-checklist { margin-top: 18px; background: white; }
.seller-checklist h3 { margin-top: 0; color: var(--forest); }
.seller-checklist ol { padding-left: 24px; color: var(--ink); line-height: 1.75; }
.seller-checklist > p { color: var(--muted); font-size: .86rem; line-height: 1.6; }
.no-blocking-gap { padding: 9px 11px; border-radius: 10px; background: var(--mint-pale); color: var(--forest) !important; font-weight: 750; }

.test-only-banner { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 16px; background: #7d1f1f; color: white; font-size: .86rem; }
.test-only-banner strong { padding: 3px 7px; border-radius: 7px; background: white; color: #7d1f1f; letter-spacing: .08em; }
.aha-section { margin-top: 22px; padding: clamp(28px, 5vw, 52px); border-radius: var(--radius-lg); background: linear-gradient(145deg, #eef9f1, #fffdf6); box-shadow: var(--shadow); }
.aha-lead { display: grid; gap: 8px; padding: 22px; border-radius: 18px; background: var(--forest); color: white; }
.aha-lead span, .aha-grid span { font-size: .78rem; font-weight: 900; letter-spacing: .04em; }
.aha-lead span { color: var(--lime); }
.aha-lead strong { font-size: clamp(1.12rem, 2.5vw, 1.55rem); line-height: 1.65; }
.aha-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.aha-grid article { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.86); }
.aha-grid article.priority { border-color: #d8b44c; background: #fff8de; }
.aha-grid span { color: var(--forest); }
.aha-grid p { margin: 7px 0 0; color: var(--ink); line-height: 1.65; }
.first-evidence { padding-bottom: 18px; }
.compact-facts { margin-top: 4px; }
.completion-outcome { margin: 13px 0 0; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.72); line-height: 1.6; }
.today-action-button { margin-top: 16px; }
.action-boundary { display: grid; gap: 4px; margin: 15px 0 0; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.72); }
.action-boundary.external strong { color: #725620; }
.action-boundary.informational strong { color: var(--forest); }
.sequence-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.sequence-list li { padding: 18px; border-radius: 16px; background: var(--paper-deep); }
.sequence-list span { display: inline-block; padding: 4px 9px; border-radius: 99px; background: var(--forest); color: white; font-size: .78rem; font-weight: 900; }
.sequence-list p { margin: 10px 0 0; line-height: 1.65; }
.no-product-compact { padding: 22px; border: 1px solid #d9bd68; border-radius: 18px; background: #fff8de; }
.no-product-compact > strong { color: var(--forest); font-size: 1.15rem; }
.no-product-compact p { margin: 10px 0 0; color: var(--ink); line-height: 1.6; }
.detail-block { padding: 22px 0; border-bottom: 1px solid var(--line); }
.detail-block:last-child { border-bottom: 0; }
.detail-block > h3 { margin-top: 0; color: var(--forest); }
.second-opinion-notice { margin: 14px 0 18px; padding: 14px 16px; border-left: 4px solid #d8b44c; border-radius: 10px; background: #fff8de; color: var(--ink); line-height: 1.6; }
.ruler-grid > .ruler-secondary { background: #f5f3ed; }
.ruler-grid > .ruler-secondary strong { font-size: 1rem; }
.asset-purpose-fix { display: grid; gap: 16px; }
.purpose-known-value, .purpose-retirement-known { display: grid; gap: 5px; padding: 15px; border-radius: 14px; background: var(--mint-pale); }
.purpose-known-value span { color: var(--muted); font-size: .78rem; }
.purpose-known-value strong, .purpose-retirement-known strong { color: var(--forest); }
.purpose-known-value b { font-size: 1.22rem; }
.purpose-retirement-known p { margin: 0; color: var(--muted); }
.purpose-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.purpose-undecided { display: flex; align-items: flex-start; gap: 9px; padding: 13px; border-radius: 12px; background: var(--paper-deep); line-height: 1.55; }
.purpose-undecided input { margin-top: 3px; }
.purpose-reconcile { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.purpose-reconcile > div { padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.purpose-reconcile dt { color: var(--muted); font-size: .75rem; }
.purpose-reconcile dd { margin: 5px 0 0; color: var(--forest); font-weight: 900; line-height: 1.4; }
.institutional-fix { display: grid; gap: 14px; }
.direct-fix-dialog:has(.asset-purpose-fix), .direct-fix-dialog:has(.institutional-fix) { width: min(720px, 100%); }
.direct-fix-dialog:has(.retirement-reconciliation-fix) { width: min(720px, 100%); }
.reconciliation-notice { margin: 0 auto 24px; width: min(1120px, calc(100% - 32px)); padding: clamp(22px, 4vw, 34px); border: 2px solid #b94a32; border-radius: var(--radius-lg); background: #fff6f1; box-shadow: 0 16px 38px rgba(88, 43, 25, .12); }
.reconciliation-notice > span { color: #9a3521; font-size: .78rem; font-weight: 800; letter-spacing: .12em; }
.reconciliation-notice h2 { margin: 8px 0; color: #672719; }
.reconciliation-notice p { max-width: 780px; color: #533b34; line-height: 1.7; }
.reconciliation-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.reconciliation-values > div { display: grid; gap: 5px; padding: 16px; border-radius: var(--radius-md); background: var(--mist); }
.reconciliation-values span { color: var(--muted); font-size: .84rem; }
.reconciliation-values strong { color: var(--forest); font-size: 1.15rem; }
.reconciliation-panel { margin-top: 16px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #f8fbf6; }
.reconciliation-panel[hidden] { display: none; }
@media (max-width: 620px) { .reconciliation-values { grid-template-columns: 1fr; } }

@media (max-width: 760px) {
  body { overflow-x: hidden; }
  .flow-shell, .result-shell { width: min(100% - 24px, 1080px); padding-top: 24px; }
  .flow-hero { grid-template-columns: 1fr; align-items: start; padding: 25px 22px; }
  .flow-badge { justify-self: start; padding: 8px 12px; }
  .flow-badge strong { font-size: 1.35rem; }
  .field-grid, .range-pair { grid-template-columns: 1fr; }
  .range-pair { gap: 14px; }
  .flow-card { padding: 22px 18px; border-radius: 22px; }
  .flow-card > header { gap: 12px; }
  .step-count { width: 44px; height: 44px; }
  .holdings-header { align-items: flex-start; }
  .quantity-grid { grid-template-columns: minmax(0, 1fr) 120px; }
  .result-hero { grid-template-columns: 1fr; padding: 28px 22px; }
  .result-cat { min-height: 230px; }
  .result-cat img { width: min(78%, 320px); }
  .fact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visual-grid, .tool-grid, .gap-grid { grid-template-columns: 1fr; }
  .ruler-grid, .product-decision-card dl { grid-template-columns: 1fr; }
  .aha-grid, .sequence-list, .purpose-reconcile { grid-template-columns: 1fr; }
  .ruler-head { display: grid; }
  .ruler-head > strong { text-align: left; }
  .advocate-grid dl, .priced-valuation dl { grid-template-columns: 1fr; }
  .holding-summary li { display: grid; }
  .dimension-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .today-section { padding: 24px 18px; border-radius: 22px; }
  .today-card { gap: 12px; }
  .today-check { width: 42px; height: 42px; }
  .detail-section summary, .detail-body { padding-left: 17px; padding-right: 17px; }
  .result-footer-actions { align-items: stretch; flex-direction: column; }
}

@media (max-width: 520px) {
  .site-header { align-items: center; gap: 6px; padding: 9px 10px; }
  .brand { gap: 5px; }
  .brand-mark { width: 38px; height: 38px; border-radius: 12px; }
  .brand > span:last-child { display: none; }
  nav { min-width: 0; }
  nav a { padding: 8px 6px; font-size: .73rem; white-space: nowrap; }
  .shell { width: min(100% - 22px, 1160px); }
  h1 { font-size: clamp(2.15rem, 12vw, 3.3rem); }
  .hero-art { min-height: 250px; }
  .entry-card { min-height: 280px; padding: 24px 20px; }
  .entry-card h3 { margin-top: 30px; }
  .progress-copy { display: grid; gap: 3px; }
  .flow-card > header { display: grid; }
  .flow-actions { flex-direction: column-reverse; }
  .flow-actions .button { width: 100%; }
  .search-line { grid-template-columns: 1fr; }
  .search-line .button { width: 100%; }
  .holdings-header { display: grid; }
  .quantity-grid { grid-template-columns: 1fr; }
  .selected-identity { flex-wrap: wrap; }
  .selected-identity small { margin-left: 0; width: 100%; }
  .fact-grid { grid-template-columns: 1fr; }
  .fact-grid > div { min-height: 90px; }
  .result-section { padding-top: 28px; padding-bottom: 28px; }
  .result-section > header { gap: 10px; }
  .result-section > header > span { width: 39px; height: 39px; }
  .result-cat { min-height: 190px; }
  .timeline-track { grid-template-columns: 1fr 1fr; padding-top: 52px; }
  .timeline-years { position: absolute; top: 0; left: 50%; transform: translateX(-50%); min-width: 125px; }
  .timeline-line { top: 84px; }
  .today-card { display: grid; }
  .plan-list li { grid-template-columns: 40px minmax(0, 1fr); gap: 10px; }
  .dimension-list { grid-template-columns: 1fr; }
  .dialog-actions { flex-direction: column-reverse; }
  .dialog-actions .button { width: 100%; }
  .purpose-fields { grid-template-columns: 1fr; }
  .prompt-output .copy-button { width: 100%; }
  .trust-content > section { grid-template-columns: 1fr; }
}

/* Result Humanization V0.1: conclusion and one action lead the public result. */
.result-shell { padding-top: 28px; }
.decision-stage { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 18px; align-items: stretch; }
.human-summary, .primary-action-card { min-width: 0; border-radius: var(--radius-lg); overflow: hidden; }
.human-summary { display: flex; flex-direction: column; padding: clamp(28px, 4vw, 46px); background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.human-summary .eyebrow { margin-bottom: 18px; color: var(--forest-soft); }
.human-summary h1 { max-width: 760px; color: var(--ink); font-size: clamp(2rem, 4vw, 3.65rem); line-height: 1.12; letter-spacing: -.045em; }
.human-summary-note { max-width: 680px; margin: 22px 0 0; color: var(--ink); font-size: clamp(1rem, 1.65vw, 1.18rem); font-weight: 700; line-height: 1.7; }
.calm-cue { align-self: flex-start; margin-top: auto; padding: 8px 12px; border-radius: 999px; background: rgba(216, 242, 107, .14); color: var(--lime); font-size: .82rem; font-weight: 900; }
.change-notice.compact { margin-top: 18px; padding: 14px 16px; border-color: rgba(216, 242, 107, .36); background: rgba(255, 255, 255, .1); color: white; }
.change-notice.compact strong, .change-notice.compact p { color: var(--ink); }

.primary-action-card { padding: clamp(26px, 4vw, 42px); background: var(--lime); color: var(--forest); box-shadow: var(--shadow); }
.action-kicker { display: inline-flex; margin: 0 0 12px; padding: 6px 10px; border-radius: 999px; background: var(--forest); color: var(--lime); font-size: .78rem; font-weight: 950; letter-spacing: .08em; }
.primary-action-card h2 { max-width: 760px; margin: 0; color: var(--forest); font-size: clamp(1.75rem, 3.25vw, 2.8rem); line-height: 1.2; letter-spacing: -.04em; }
.primary-why { margin: 16px 0 0; color: var(--forest-soft); font-size: 1rem; line-height: 1.65; }
.primary-why b { color: var(--forest); }
.how-to { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(21, 63, 53, .22); }
.how-to h3 { margin: 0 0 10px; color: var(--forest); font-size: .88rem; letter-spacing: .08em; }
.how-to ol { display: grid; gap: 8px; margin: 0; padding-left: 24px; }
.how-to li { padding-left: 4px; line-height: 1.55; }
.come-back { margin: 18px 0 0; padding: 13px 15px; border-radius: 14px; background: rgba(255, 255, 255, .72); color: var(--forest-soft); line-height: 1.6; }
.come-back b { color: var(--forest); }
.primary-action-card .button.primary { margin-top: 16px; border: 2px solid var(--forest); background: var(--lime); color: var(--ink); }
.primary-action-card .button.primary:hover { background: #ffe89b; }

.why-section { padding-top: clamp(34px, 5vw, 56px); }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.why-grid article { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.why-grid article:nth-child(2) { background: var(--mint-pale); }
.why-grid article:nth-child(3) { border-color: #d8b44c; background: #fff8de; }
.why-grid span { color: var(--forest-soft); font-size: .78rem; font-weight: 950; letter-spacing: .06em; }
.why-grid p { margin: 9px 0 0; color: var(--ink); font-size: 1rem; line-height: 1.65; }

.calm-outcome-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: clamp(28px, 4vw, 42px) 0; border-bottom: 1px solid var(--line); }
.calm-card, .outcome-card { min-width: 0; padding: clamp(22px, 3vw, 30px); border-radius: 22px; }
.calm-card { border: 1px solid #e5c979; background: #fff8de; }
.outcome-card { border: 1px solid #a9cfb9; background: var(--mint-pale); }
.calm-card > span, .outcome-card > span { color: var(--forest-soft); font-size: .8rem; font-weight: 950; letter-spacing: .07em; }
.calm-card h2, .outcome-card h2 { margin: 10px 0 0; color: var(--forest); font-size: clamp(1.15rem, 2vw, 1.48rem); line-height: 1.55; letter-spacing: -.02em; }

.next-action-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.next-action-list li { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: start; gap: 12px; min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.next-action-list li > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 11px; background: var(--paper-deep); color: var(--forest); font-weight: 950; }
.next-action-list p { margin: 3px 0 0; line-height: 1.6; }

.secondary-boundary { margin-bottom: 22px; padding: 17px 19px; border-left: 4px solid var(--gold); border-radius: 12px; background: #fff8de; }
.secondary-boundary strong { color: var(--forest); }
.secondary-boundary p { margin: 7px 0 0; color: var(--muted); line-height: 1.6; }
.detail-body .reconciliation-notice { width: 100%; margin: 0 0 22px; box-shadow: none; }
.detail-empty { padding: 16px; border-radius: 13px; background: var(--paper-deep); color: var(--muted); line-height: 1.6; }
.detail-actionable { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.detail-actionable > h4 { margin: 0; color: var(--forest); font-size: 1.08rem; }
.detail-actionable > p { color: var(--muted); line-height: 1.6; }

@media (max-width: 900px) {
  .decision-stage { grid-template-columns: 1fr; }
  .next-action-list { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .result-shell { width: min(100% - 20px, 1080px); padding-top: 12px; }
  .decision-stage { gap: 12px; }
  .human-summary { padding: 22px 20px; }
  .human-summary .eyebrow { margin-bottom: 11px; }
  .human-summary h1 { font-size: clamp(1.55rem, 7.4vw, 2.05rem); line-height: 1.25; letter-spacing: -.035em; }
  .human-summary-note { margin-top: 12px; font-size: .94rem; line-height: 1.55; }
  .calm-cue { margin-top: 16px; }
  .primary-action-card { padding: 21px 19px; }
  .primary-action-card h2 { font-size: clamp(1.45rem, 6.6vw, 1.9rem); line-height: 1.25; }
  .primary-why { margin-top: 11px; font-size: .92rem; line-height: 1.55; }
  .how-to { margin-top: 15px; padding-top: 14px; }
  .how-to ol { gap: 6px; font-size: .92rem; }
  .come-back { margin-top: 14px; padding: 11px 12px; font-size: .9rem; }
  .primary-action-card .button.primary { width: 100%; }
  .why-grid, .calm-outcome-grid { grid-template-columns: 1fr; }
  .why-grid { gap: 9px; }
  .why-grid article { padding: 16px; }
  .calm-outcome-grid { gap: 10px; }
  .calm-card, .outcome-card { padding: 20px 18px; }
  .next-action-list li { padding: 15px; }
  .detail-section summary strong { font-size: 1rem; line-height: 1.45; }
}

@media (max-width: 390px) {
  .result-shell { width: calc(100% - 16px); }
  .human-summary, .primary-action-card { border-radius: 21px; }
  .human-summary { padding: 19px 17px; }
  .human-summary h1 { font-size: 1.48rem; }
  .human-summary-note { font-size: .9rem; }
  .calm-cue { font-size: .76rem; }
  .primary-action-card { padding: 19px 17px; }
  .primary-action-card h2 { font-size: 1.42rem; }
  .result-section > header > span { flex-basis: 36px; width: 36px; height: 36px; }
  .result-section h2 { font-size: 1.35rem; }
  .detail-section summary { gap: 10px; }
  .detail-section summary span { min-width: 0; gap: 9px; }
  .detail-section summary b { flex: 0 0 36px; width: 36px; height: 36px; }
}
/* FINCAT_HUMAN_BRAND_ASSEMBLY_V1_R2: a single pastel canvas. */
body { font-size: 16px; }
html { min-width: 0; }
.site-header { position: relative; max-width: 1440px; margin: 0 auto; border: 0; background: transparent; backdrop-filter: none; padding: 24px clamp(24px,5vw,72px); }
.brand-mark { background: var(--lime); color: var(--forest); }
nav a:focus-visible, .entry-card:focus-visible, :is(button,a,summary,input,select,textarea):focus-visible { outline: 3px solid #346b98; outline-offset: 4px; }
.immersive-home { width: min(1200px,calc(100% - 128px)); padding: 40px 0 72px; }
.immersive-home .home-hero { position: relative; min-height: 670px; gap: 30px; grid-template-columns: 1.05fr .95fr; }
.immersive-home .home-hero::before { content: ''; position: absolute; z-index: -1; inset: -60px -40px -30px 27%; background: radial-gradient(ellipse at 73% 46%,rgba(255,238,181,.67),rgba(255,251,237,.55) 38%,transparent 70%); pointer-events: none; }
.immersive-home h1 { font-size: clamp(40px,4.3vw,62px); line-height: 1.3; letter-spacing: -.045em; max-width: 610px; text-wrap: balance; }
.home-body { white-space: pre-line; font-size: 19px; line-height: 1.9; }
.home-trust { margin: 20px 0 0; max-width: 520px; line-height: 1.8; font-size: 16px; color: var(--muted); }
.home-primary { margin-top: 28px; padding: 18px 28px; font-size: 18px; box-shadow: 0 8px 24px rgba(148,96,34,.07); }
.button.primary:hover { background: #ffe89b; }
.immersive-home .hero-art { background: transparent; min-height: 0; border-radius: 0; overflow: visible; }
.immersive-home .hero-art::before { width: 66%; height: 82%; inset: -4% 5% auto auto; border-radius: 46% 46% 20% 20%; background: linear-gradient(140deg,rgba(255,253,248,.72),rgba(255,251,232,.07)); transform: rotate(8deg); }
.immersive-home .hero-art::after { content: ''; position: absolute; bottom: 1%; width: 64%; height: 5%; border-radius: 50%; background: rgba(74,83,61,.1); filter: blur(12px); }
.immersive-home .hero-art img { width: 100%; max-width: 540px; height: auto; filter: none; }
.immersive-home .product-section { margin-top: 88px; }
.home-examples { border: 0; background: transparent; padding: 12px 0 24px; border-bottom: 1px solid var(--line); border-radius: 0; }
.brand-belief { font-size: 28px; padding: 20px 0; border: 0; }
.entry-card, .entry-card.retirement { min-height: 250px; border-radius: 0; padding: 28px 0; box-shadow: none; background: transparent; color: var(--ink); border: 0; border-top: 1px solid var(--line); }
.retirement .entry-description { color: var(--muted); }
.entry-card h3 { margin-top: 20px; }
.entry-number { background: transparent; padding: 0; display: block; height: auto; }
.trust-strip div { border: 0; background: transparent; padding: 18px 0; }
.trust-strip span { font-size: 16px; }
.brand-explanation { margin: 32px 0 12px; font-size: 20px; line-height: 1.7; }
.flow-hero h1 { line-height: 1.35; }
.result-shell { max-width: 1000px; width: calc(100% - 80px); margin: 0 auto; padding-top: 42px; }
.result-shell .decision-stage { display: block; max-width: 870px; margin: 0 auto; }
.result-shell .human-summary { border: 0; border-radius: 0; background: transparent; padding: 8px 0 24px; }
.result-shell .human-summary h1 { font-size: clamp(30px,3.25vw,46px); line-height: 1.38; letter-spacing: -.035em; text-wrap: balance; }
.human-summary .eyebrow { font-size: 18px; letter-spacing: 0; margin-bottom: 18px; font-weight: 700; }
.result-shell .human-summary-note { font-size: 19px; line-height: 1.85; margin-top: 20px; white-space: pre-line; }
.stable-closure { font-size: 18px; line-height: 1.85; margin: 24px 0 0; }
.result-shell .first-layer-uncertainty { font-size: 16px; line-height: 1.75; color: var(--muted); }
.result-shell .primary-action-card { border: 0; background: rgba(255,240,181,.55); padding: 24px 28px; border-radius: 18px; margin-top: 8px; }
.result-shell .primary-action-card h2 { font-size: 22px; line-height: 1.65; margin-bottom: 12px; }
.result-shell .action-kicker { color: var(--forest-soft); font-size: 16px; margin: 0 0 8px; }
.result-shortcuts { max-width: 870px; margin: 0 auto 70px; padding: 26px 0; justify-content: flex-start; gap: 16px 28px; }
.result-shortcuts .continue-link { flex-basis: 100%; font-size: 19px; font-weight: 800; text-decoration: none; margin-bottom: 12px; }
.result-shortcuts .continue-link span { padding-left: 8px; }
.result-shell .why-section { border-top: 1px solid var(--line); padding: 36px 0; scroll-margin-top: 24px; }
.result-shell .why-section h2, .dimension-section h2 { font-size: 26px; line-height: 1.5; margin: 0 0 24px; }
.result-shell .why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.result-shell .why-grid article { background: transparent; padding: 0; border: 0; }
.why-grid h3 { font-size: 18px; line-height: 1.7; margin: 0; }
.why-grid p { line-height: 1.85; font-size: 17px; }
.dimension-section { padding: 32px 0; }
.dimension-row { border: 0; border-top: 1px solid var(--line); padding: 0; }
.dimension-row:last-child { border-bottom: 1px solid var(--line); }
.dimension-row summary { list-style: none; display: grid; grid-template-columns: 70px 1fr 24px; gap: 20px; padding: 26px 6px; align-items: start; cursor: pointer; }
.dimension-row summary::-webkit-details-marker { display: none; }
.dimension-label { color: var(--forest-soft); font-size: 16px; padding-top: 3px; }
.dimension-row summary strong { display: block; font-size: 20px; line-height: 1.6; }
.dimension-preview { display: block; font-size: 16px; font-weight: 400; color: var(--muted); line-height: 1.8; margin-top: 8px; }
.dimension-detail { margin: 0 46px 28px 96px; font-size: 16px; line-height: 1.8; }
.dimension-detail h3 { font-size: 19px; }
.dimension-caveat { padding: 14px 18px; background: rgba(255,253,248,.7); border-left: 3px solid #c6d7e6; }
.result-shell .detail-section { margin-top: 32px; }
.result-shell .detail-section > details > summary { line-height: 1.7; }
.report-failure { padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.report-failure h1 { font-size: 28px; line-height: 1.5; }
.report-failure p { line-height: 1.7; }
.report-failure .button { margin: 12px 12px 0 0; }
.prompt-output pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.prompt-heading h3 { line-height: 1.6; }
@media (max-width: 760px) {
  .site-header { padding: 18px 20px; gap: 10px; align-items: center; }
  .brand-mark { width: 36px; height: 36px; }
  .site-header nav a { padding: 8px 6px; font-size: 13px; }
  .immersive-home { width: calc(100% - 44px); padding-top: 32px; }
  .immersive-home .home-hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; gap: 32px; }
  .immersive-home .home-hero::before { inset: 32% -20px -30px -20px; }
  .immersive-home h1 { font-size: 37px; line-height: 1.35; }
  .home-body { font-size: 17px; line-height: 1.9; margin-top: 22px; }
  .home-trust { margin-top: 16px; }
  .home-primary { margin-top: 24px; padding: 16px 26px; }
  .immersive-home .hero-art { align-self: center; width: min(90%,360px); }
  .immersive-home .product-section { margin-top: 68px; }
  .result-shell { width: calc(100% - 40px); padding-top: 26px; }
  .result-shell .human-summary { padding: 0 0 20px; }
  .human-summary .eyebrow { font-size: 17px; margin-bottom: 14px; }
  .result-shell .human-summary h1 { font-size: 30px; line-height: 1.45; }
  .result-shell .human-summary-note { font-size: 17px; line-height: 1.85; margin-top: 18px; }
  .result-shell .primary-action-card { padding: 20px; margin-top: 0; }
  .result-shell .primary-action-card h2 { font-size: 19px; line-height: 1.75; }
  .result-shell .first-layer-uncertainty { font-size: 16px; line-height: 1.75; }
  .stable-closure { font-size: 17px; margin-top: 20px; }
  .result-shortcuts { margin-bottom: 42px; padding: 24px 0; }
  .result-shell .why-grid { grid-template-columns: 1fr; gap: 20px; }
  .dimension-row summary { grid-template-columns: 40px 1fr 18px; gap: 12px; padding: 24px 0; }
  .dimension-row summary strong { font-size: 18px; }
  .dimension-detail { margin: 0 20px 24px 52px; }
  .result-shell .detail-section > details > summary em { display: none; }
}
@media (max-width: 390px) { .immersive-home h1 { font-size: 35px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.result-shell .action-kicker { display: block; background: transparent; padding: 0; border: 0; border-radius: 0; }
.result-shell .primary-action-card { box-shadow: none; }

/* The top is one summary and one optional sharing entry. Detail retains actions. */
.result-shell .decision-stage { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); max-width: 1040px; gap: 36px; align-items: start; }
.result-shell .human-summary { padding: 0; }
.result-shell .human-summary h1 { font-size: clamp(26px, 2.5vw, 34px); line-height: 1.4; }
.small-conclusion { margin: 18px 0 0; font-size: 18px; line-height: 1.85; overflow-wrap: anywhere; }
.small-conclusion span + span::before { content: ' '; }
.ai-entry-card { min-width: 0; padding: 24px; background: rgba(255,240,181,.55); border-radius: 18px; }
.ai-entry-card .button { width: 100%; min-width: 0; white-space: normal; line-height: 1.6; padding: 13px 16px; }
.ai-entry-card p { margin: 14px 0 0; font-size: 15px; line-height: 1.75; }
.result-shortcuts { margin-bottom: 28px; padding: 24px 0; }
.result-shell .why-section .primary-action-card { margin: 24px 0; }
.analysis-reason { font-size: 20px; line-height: 1.6; margin: 24px 0 16px; }
@media (max-width: 760px) {
  .result-shell .decision-stage { grid-template-columns: 1fr; gap: 22px; }
  .small-conclusion { font-size: 17px; line-height: 1.8; margin-top: 14px; }
  .ai-entry-card { padding: 18px; }
  .result-shortcuts { gap: 12px; margin-bottom: 16px; }
}

.allocation-quickview { scroll-margin-top: 1rem; }
.allocation-quickview > summary { display:flex; justify-content:space-between; gap:1rem; cursor:pointer; }
.allocation-body { padding-top:1rem; overflow-wrap:anywhere; }
.allocation-rows { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); gap:1rem; }
.allocation-rows article, .allocation-body fieldset { padding:1rem; border:1px solid #d6ded8; border-radius:14px; min-width:0; }
.allocation-body fieldset { margin:1rem 0; }
.allocation-body input:not([type=checkbox]), .allocation-body select { width:100%; min-width:0; }
.allocation-confirm { display:block; line-height:1.65; }
.allocation-actions { display:flex; flex-wrap:wrap; gap:.7rem; }
.allocation-model { margin:1.5rem 0; }
.ai-entry-card { display:flex; flex-wrap:wrap; gap:.75rem; align-items:center; }
.ai-entry-card p { flex-basis:100%; }
.prompt-output pre { user-select:text; -webkit-user-select:text; white-space:pre-wrap; overflow-wrap:anywhere; }
.clipboard-fallback { position:fixed; top:0; left:0; width:2px; height:2px; padding:0; opacity:.01; font-size:16px; }
@media(max-width:600px) { .ai-entry-card > button, .allocation-actions > button { width:100%; } }

.allocation-confirm { display:flex; align-items:flex-start; gap:.6rem; }
.allocation-confirm input { width:20px; min-width:20px; height:20px; min-height:20px; flex:0 0 auto; margin:.25rem 0; }

/* OG_AND_TOP_CTA_FINAL_POLISH_V1: visual hierarchy only; action handlers unchanged. */
.result-shell .ai-entry-card { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; padding:0; background:transparent; border:0; border-radius:0; box-shadow:none; }
.result-shell .ai-entry-card .button { width:100%; min-height:52px; margin:0; padding:14px 16px; border-radius:12px; line-height:1.45; }
.result-shell .ai-entry-card [data-open-allocation] { background:#fff0b5; border:1px solid #dbb86e; color:#203442; font-size:18px; font-weight:750; box-shadow:none; }
.result-shell .ai-entry-card [data-open-allocation]:hover { background:#f6e39e; }
.result-shell .ai-entry-card [data-open-ai] { background:#fff; border:1px solid #c9d0d2; color:#304959; font-size:16px; font-weight:550; box-shadow:none; }
.result-shell .ai-entry-card [data-open-ai]:hover { background:#f5f6f3; }
.result-shell .ai-entry-card p { margin:-4px 0 0; color:#536570; font-size:13px; line-height:1.65; }

/* Public ETF disclosure table; keep page width usable on phones. */
.etf-table-wrap { overflow-x: auto; max-width: 100%; }
.etf-table-wrap table { width: 100%; border-collapse: collapse; }
.etf-table-wrap th, .etf-table-wrap td { padding: 10px 8px; border-bottom: 1px solid #d7dddf; text-align: left; }
#etf-result section { margin-block: 24px; }
