:root {
  --harbor: #14373f;
  --harbor-2: #214b53;
  --jade: #147567;
  --jade-dark: #0d5d53;
  --mint: #eaf5f1;
  --mint-soft: #f4f9f7;
  --sand: #f4e7cf;
  --paper: #ffffff;
  --canvas: #e7eeeb;
  --mist: #f2f6f5;
  --line: #d4e0dd;
  --muted: #64777c;
  --danger: #b84b54;
  --shadow: 0 20px 56px rgba(28, 70, 75, .10);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  color: var(--harbor);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--mist); -webkit-font-smoothing: antialiased; }
body.drawer-open { overflow: hidden; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button, select, input { outline: none; }

.page-head { padding: 42px max(5vw, 28px) 30px; background: var(--paper); }
.head-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; width: min(1296px, 100%); margin: 0 auto; }
.eyebrow, .section-label { display: block; margin: 0 0 7px; color: var(--jade); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.page-head h1 { margin: 0 0 10px; font-size: clamp(34px, 4vw, 48px); line-height: 1.12; letter-spacing: -.035em; }
.download-center-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-width: 96px; height: 43px; margin-top: 4px; padding: 0 17px; border: 1px solid rgba(20,117,103,.24); border-radius: 12px; color: var(--paper); background: var(--jade); box-shadow: 0 10px 26px rgba(20,117,103,.18); font-size: 12px; font-weight: 850; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.download-center-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.download-center-button:hover { background: var(--jade-dark); box-shadow: 0 13px 30px rgba(20,117,103,.24); transform: translateY(-1px); }
.download-center-button:focus-visible { outline: 3px solid rgba(20,117,103,.22); outline-offset: 3px; }
.workspace-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; width: min(1296px, 100%); margin: 25px auto 0; padding: 5px; border: 1px solid var(--line); border-radius: 15px; background: var(--mist); }
.workspace-tabs button { position: relative; width: 100%; min-height: 46px; border: 0; border-radius: 11px; color: var(--muted); background: transparent; font-size: 13px; font-weight: 800; transition: color .18s ease, background .18s ease, box-shadow .18s ease; }
.workspace-tabs button:hover { color: var(--harbor); background: rgba(255,255,255,.58); }
.workspace-tabs button.active { color: var(--jade-dark); background: var(--paper); box-shadow: 0 7px 18px rgba(20,55,63,.08); }
.workspace-tabs button.active::after { position: absolute; right: 30%; bottom: 5px; left: 30%; height: 2px; border-radius: 99px; background: var(--jade); content: ""; }
.head-note { max-width: 900px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.step-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; width: min(1296px, 100%); margin: 28px auto 0; padding: 15px 18px; border-radius: 16px; background: var(--mint); }
.flow-step { display: flex; align-items: center; gap: 12px; min-height: 48px; }
.flow-step b { display: grid; place-items: center; flex: 0 0 36px; height: 36px; border-radius: 50%; color: var(--jade); background: var(--paper); font-size: 12px; }
.flow-step.active b { color: var(--paper); background: var(--jade); }
.flow-step span, .flow-step strong, .flow-step small { display: block; }
.flow-step strong { font-size: 14px; }
.flow-step small { margin-top: 2px; color: var(--muted); font-size: 11px; }

.page-shell { width: min(1296px, 90%); margin: 28px auto 58px; }
.future-view, .discounts-view { min-height: 580px; }
.future-card { min-height: 430px; padding: clamp(34px, 7vw, 88px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow); }
.future-card h2 { margin: 0 0 14px; font-size: clamp(30px, 4vw, 46px); letter-spacing: -.035em; }
.future-card p { max-width: 680px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.cases-view { min-height: 580px; }
.case-selector { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 0 14px; }
.case-selector button { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; gap: 2px 12px; min-height: 70px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 14px; color: var(--muted); background: rgba(255,255,255,.76); text-align: left; transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease; }
.case-selector button:hover { color: var(--harbor); transform: translateY(-1px); }
.case-selector button > span { display: grid; grid-row: 1 / 3; place-items: center; width: 34px; height: 34px; margin-top: 2px; border-radius: 10px; color: var(--jade); background: var(--mint); font-size: 9px; font-weight: 900; }
.case-selector button strong { align-self: end; color: var(--harbor); font-size: 12px; font-weight: 900; }
.case-selector button small { align-self: start; font-size: 8px; font-weight: 650; }
.case-selector button.active { color: var(--muted); border-color: rgba(20,117,103,.34); background: var(--paper); box-shadow: 0 10px 26px rgba(20,55,63,.08); }
.case-selector button.active > span { color: var(--paper); background: var(--jade); }
.case-selector button:focus-visible { outline: 2px solid rgba(20,117,103,.55); outline-offset: 2px; }
.case-story { --case-accent: #bd5b55; display: grid; grid-template-columns: minmax(280px, .63fr) minmax(0, 1.37fr); min-height: 600px; overflow: hidden; border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow); }
.case-story[hidden] { display: none; }
.case-retirement { --case-accent: #147567; }
.case-legacy { --case-accent: #b67a19; }
.case-key-person { --case-accent: #2f6e69; }
.case-story-media { position: relative; min-height: 600px; overflow: hidden; background: var(--mint); }
.case-story-media::after { position: absolute; inset: auto 0 0; height: 42%; background: linear-gradient(to top, rgba(14,45,52,.48), transparent); content: ""; }
.case-story-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 44%; }
.case-education .case-story-media img { object-position: 68% 44%; }
.case-story-media > span { position: absolute; z-index: 1; top: 22px; left: 22px; padding: 8px 12px; border-radius: 999px; color: var(--paper); background: color-mix(in srgb, var(--case-accent) 88%, transparent); box-shadow: 0 8px 24px rgba(12,43,49,.16); font-size: 9px; font-weight: 900; letter-spacing: .08em; }
.case-story-content { display: flex; min-width: 0; padding: 36px 34px 30px; flex-direction: column; }
.case-profile { display: flex; align-items: center; gap: 9px; color: var(--case-accent); font-size: 10px; font-weight: 850; }
.case-profile i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.case-profile em { margin-left: auto; padding: 7px 11px; border: 1px solid color-mix(in srgb, var(--case-accent) 16%, transparent); border-radius: 8px; color: var(--case-accent); background: color-mix(in srgb, var(--case-accent) 9%, var(--paper)); font-size: 9px; font-style: normal; font-weight: 900; letter-spacing: .04em; }
.case-story h3 { max-width: none; margin: 14px 0 9px; color: var(--harbor); font-size: clamp(28px, 2.5vw, 34px); line-height: 1.16; letter-spacing: -.045em; white-space: nowrap; }
.case-lead { max-width: 720px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.72; }
.case-number-hero { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: #fbfcfc; }
.case-number-hero > div { min-width: 0; padding: 13px 14px; border-right: 1px solid var(--line); }
.case-number-hero > div:last-child { border-right: 0; }
.case-number-hero small, .case-number-hero strong { display: block; }
.case-number-hero small { margin-bottom: 6px; color: var(--muted); font-size: 8px; font-weight: 750; }
.case-number-hero strong { color: var(--harbor); font-size: 15px; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1.25; }
.case-number-hero > div:first-child strong { color: var(--case-accent); }
.case-journey { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-top: 22px; padding-top: 18px; }
.case-journey::before { position: absolute; top: 4px; right: 5%; left: 5%; height: 2px; border-radius: 99px; background: color-mix(in srgb, var(--case-accent) 25%, var(--line)); content: ""; }
.case-journey > div { position: relative; min-width: 0; min-height: 116px; padding: 14px 12px 12px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); }
.case-journey > div::before { position: absolute; top: -19px; left: 12px; width: 9px; height: 9px; border: 3px solid var(--paper); border-radius: 50%; background: var(--case-accent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--case-accent) 38%, transparent); content: ""; }
.case-journey > div.featured { border-color: color-mix(in srgb, var(--case-accent) 35%, var(--line)); background: color-mix(in srgb, var(--case-accent) 7%, var(--paper)); box-shadow: 0 7px 18px color-mix(in srgb, var(--case-accent) 10%, transparent); }
.case-journey b, .case-journey span, .case-journey strong, .case-journey small { display: block; }
.case-journey b { color: var(--case-accent); font-size: 9px; font-weight: 900; }
.case-journey span { min-height: 29px; margin-top: 5px; color: var(--muted); font-size: 8px; font-weight: 750; line-height: 1.4; }
.case-journey strong { margin-top: 4px; color: #c44742; font-size: 16px; font-weight: 950; font-variant-numeric: tabular-nums; line-height: 1.2; letter-spacing: -.025em; }
.case-journey small { margin-top: 6px; color: var(--muted); font-size: 8px; line-height: 1.4; }
.case-multiple { margin-left: 3px; color: #c44742; font-size: 13px; font-style: normal; font-weight: 950; white-space: nowrap; }
.case-source-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 18px; }
.case-source-row > span { max-width: 330px; color: var(--muted); font-size: 7px; line-height: 1.5; }
.case-compliance-note { display: grid; gap: 4px; margin-top: 15px; padding: 11px 13px; border-left: 3px solid var(--case-accent); border-radius: 0 10px 10px 0; color: var(--muted); background: color-mix(in srgb, var(--case-accent) 7%, var(--paper)); font-size: 8px; line-height: 1.55; }
.case-compliance-note strong { color: var(--harbor); font-size: 9px; }
.case-plan { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 24px 0 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-plan > div { min-width: 0; padding: 0 13px; border-right: 1px solid var(--line); }
.case-plan > div:first-child { padding-left: 0; }
.case-plan > div:last-child { padding-right: 0; border-right: 0; }
.case-plan dt { margin-bottom: 6px; color: var(--muted); font-size: 7px; font-weight: 800; }
.case-plan dd { margin: 0; color: var(--harbor); font-size: 10px; font-weight: 850; line-height: 1.45; }
.case-timeline { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 26px; padding-top: 17px; }
.case-timeline::before { position: absolute; top: 4px; right: 7%; left: 7%; height: 1px; background: var(--line); content: ""; }
.case-timeline > div { position: relative; min-width: 0; padding-right: 6px; }
.case-timeline > div::before { position: absolute; top: -17px; left: 0; width: 8px; height: 8px; border: 2px solid var(--paper); border-radius: 50%; background: var(--case-accent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--case-accent) 42%, transparent); content: ""; }
.case-timeline b, .case-timeline strong, .case-timeline small { display: block; }
.case-timeline b { color: var(--case-accent); font-size: 8px; font-weight: 900; }
.case-timeline strong { margin-top: 5px; color: var(--harbor); font-size: 10px; font-weight: 900; line-height: 1.45; }
.case-timeline small { margin-top: 4px; color: var(--muted); font-size: 8px; line-height: 1.5; }
.case-calculate-action { align-self: flex-start; min-height: 42px; margin-top: auto; padding: 0 17px; border: 0; border-radius: 10px; color: var(--paper); background: var(--case-accent); font-size: 10px; font-weight: 900; transition: transform .18s ease, filter .18s ease; }
.case-calculate-action span, .case-calculate-action b { display: inline-block; margin-left: 8px; font-weight: inherit; transition: transform .18s ease; }
.case-calculate-action:hover { filter: brightness(.94); transform: translateY(-1px); }
.case-calculate-action:hover span, .case-calculate-action:hover b { transform: translateX(3px); }
.case-disclaimer { margin: 12px 4px 0; color: var(--muted); font-size: 8px; line-height: 1.65; }
.embedded-view-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 14px; padding: 0; }
.embedded-view-heading h2 { margin: 0; font-size: 25px; letter-spacing: -.02em; }
.month-chip { flex: 0 0 auto; padding: 7px 11px; border-radius: 999px; color: var(--jade-dark); background: var(--mint); font-size: 11px; font-weight: 800; }
.discounts-native-shell { padding: 22px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow); }
insurance-discounts-page { display: block; width: 100%; }

.download-center-layer { position: fixed; z-index: 120; inset: 0; display: grid; place-items: center; padding: 24px; visibility: hidden; opacity: 0; transition: opacity .2s ease, visibility .2s ease; }
.download-center-layer.open { visibility: visible; opacity: 1; }
.download-center-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(11,36,42,.58); backdrop-filter: blur(8px); }
.download-center-dialog { position: relative; z-index: 1; width: min(880px, 100%); max-height: min(900px, calc(100svh - 40px)); overflow-y: auto; padding: 30px; border: 1px solid rgba(255,255,255,.48); border-radius: 24px; background: #f7faf9; box-shadow: 0 36px 100px rgba(8,38,44,.28); transform: translateY(12px) scale(.985); transition: transform .22s ease; }
.download-center-layer.open .download-center-dialog { transform: translateY(0) scale(1); }
.download-center-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.download-center-head span { color: var(--jade); font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.download-center-head h2 { margin: 5px 0 5px; font-size: 29px; letter-spacing: -.035em; }
.download-center-head p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.download-center-grid { display: grid; gap: 11px; margin-top: 18px; }
.download-option-card { display: grid; grid-template-columns: 45px minmax(0, 1fr) auto; align-items: center; gap: 15px; min-height: 100px; padding: 17px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); box-shadow: 0 8px 24px rgba(20,55,63,.045); }
.download-option-icon { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 13px; color: var(--jade-dark); background: var(--mint); font-size: 10px; font-weight: 950; letter-spacing: .06em; }
.download-option-copy h3 { margin: 0 0 5px; color: var(--harbor); font-size: 14px; }
.download-option-copy p { max-width: 470px; margin: 0; color: var(--muted); font-size: 9px; line-height: 1.55; }
.download-option-actions { display: flex; gap: 7px; }
.download-option-actions.single-action { min-width: 118px; justify-content: flex-end; }
.download-secondary, .download-primary { min-height: 37px; padding: 0 14px; border-radius: 10px; font-size: 10px; font-weight: 850; white-space: nowrap; transition: color .16s ease, background .16s ease, border-color .16s ease, transform .16s ease; }
.download-secondary { border: 1px solid var(--line); color: var(--harbor); background: var(--paper); }
.download-secondary:hover { color: var(--jade-dark); border-color: rgba(20,117,103,.42); background: var(--mint-soft); }
.download-primary { border: 1px solid var(--jade); color: var(--paper); background: var(--jade); }
.download-primary:hover { background: var(--jade-dark); transform: translateY(-1px); }
.download-primary.compact { min-height: 34px; }
.download-option-card button:disabled { cursor: wait; opacity: .55; transform: none; }
.poster-option-card { grid-template-columns: 45px minmax(130px, .45fr) minmax(390px, 1.25fr) auto; }
.poster-case-picker { min-width: 0; margin: 0; padding: 0; border: 0; }
.poster-case-picker legend { margin-bottom: 7px; padding: 0; color: var(--harbor); font-size: 9px; font-weight: 850; }
.poster-case-picker legend span { margin-left: 5px; color: var(--muted); font-size: 8px; font-weight: 650; }
.poster-case-picker > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.poster-case-picker label { position: relative; display: grid; place-items: center; min-height: 34px; padding: 0 8px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); background: #fbfcfc; cursor: pointer; font-size: 8px; font-weight: 800; text-align: center; transition: color .15s ease, border-color .15s ease, background .15s ease; }
.poster-case-picker input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.poster-case-picker label:has(input:checked) { color: var(--paper); border-color: var(--jade); background: var(--jade); }
.poster-case-picker label:has(input:focus-visible) { outline: 2px solid rgba(20,117,103,.28); outline-offset: 2px; }
.poster-preview-panel { margin-top: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.poster-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 13px; }
.poster-preview-head > div { display: flex; align-items: center; gap: 8px; }
.poster-preview-head strong, .poster-preview-head small { display: block; }
.poster-preview-head strong { color: var(--harbor); font-size: 12px; }
.poster-preview-head small { color: var(--muted); font-size: 8px; }
.poster-preview-frame { display: grid; place-items: center; max-height: 390px; overflow: auto; border: 1px solid var(--line); border-radius: 12px; background: #e7eeeb; }
.poster-preview-frame img { display: block; width: min(430px, 100%); height: auto; box-shadow: 0 12px 32px rgba(20,55,63,.16); }
.download-status { min-height: 18px; margin: 12px 2px 0; color: var(--jade-dark); font-size: 9px; font-weight: 750; text-align: center; }
.download-status.is-error { color: var(--danger); }
.export-stage { position: fixed; z-index: -100; top: 0; left: -20000px; width: 1400px; pointer-events: none; }

.export-detail-sheet { display: flex; width: 1400px; height: 990px; padding: 22px 40px 20px; color: #14373f; background: #fff; flex-direction: column; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; }
.export-detail-sheet header { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 3px solid #147567; }
.export-detail-sheet h1 { margin: 0 0 4px; font-size: 29px; line-height: 1.16; }
.export-detail-sheet header p { margin: 0; color: #64777c; font-size: 12px; }
.export-detail-sheet header strong { color: #147567; font-size: 15px; }
.export-detail-sheet.is-continuation header { min-height: 52px; }
.export-detail-sheet.is-continuation h1 { font-size: 22px; }
.export-detail-sheet table { width: 100%; border-spacing: 0; border-collapse: collapse; table-layout: fixed; }
.export-detail-sheet th, .export-detail-sheet td { height: 38px; padding: 6px 7px; border: 1px solid #d4e0dd; font-size: 12px; line-height: 1.25; text-align: right; }
.export-detail-sheet th { height: 43px; }
.export-detail-sheet th { color: #fff; background: #14373f; font-weight: 800; text-align: center; }
.export-detail-sheet td:first-child, .export-detail-sheet td:nth-child(2) { text-align: center; }
.export-detail-sheet tbody tr:nth-child(even) td { background: #f4f9f7; }
.export-detail-sheet footer { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; margin-top: auto; padding-top: 9px; color: #64777c; font-size: 9px; line-height: 1.45; }
.export-detail-sheet footer small { grid-column: 1 / -1; font-size: 8px; }

.client-poster { --poster-accent: #147567; width: 900px; min-height: 1100px; overflow: hidden; color: #14373f; background: #f3f7f6; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; }
.client-poster * { box-sizing: border-box; }
.client-poster-head { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; min-height: 168px; padding: 34px 44px 32px 50px; overflow: hidden; color: var(--poster-on-accent); background: radial-gradient(circle at 90% 18%, rgba(255,255,255,.18) 0, transparent 34%), linear-gradient(125deg, var(--poster-accent-dark), var(--poster-accent)); }
.client-poster-head::before { position: absolute; top: 29px; bottom: 29px; left: 24px; width: 5px; border-radius: 99px; background: rgba(255,255,255,.78); content: ""; }
.client-poster-head::after { position: absolute; right: -74px; bottom: -116px; width: 270px; height: 270px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; box-shadow: 0 0 0 28px rgba(255,255,255,.035); content: ""; }
.client-poster-head-copy { position: relative; z-index: 1; }
.client-poster-head-copy > span { color: var(--poster-on-accent); font-size: 11px; font-weight: 850; letter-spacing: .04em; opacity: .76; }
.client-poster-head h1 { margin: 11px 0 9px; color: var(--poster-on-accent); font-size: 34px; line-height: 1.12; letter-spacing: -.04em; }
.client-poster-head p { margin: 0; color: var(--poster-on-accent); font-size: 14px; font-weight: 700; opacity: .78; }
.client-poster-logo { position: relative; z-index: 1; display: grid; place-items: center; width: 154px; min-height: 76px; padding: 8px 10px; background: transparent; }
.client-poster-logo img { max-width: 138px; max-height: 58px; object-fit: contain; }
.client-poster-logo:not(.insurer-fwd):not(.insurer-sunlife) img { filter: brightness(0) invert(1); }
.client-poster-logo-name { display: none; }
.client-poster-logo-wordmark { display: grid; place-items: center; gap: 3px; color: var(--poster-on-accent); text-align: center; }
.client-poster-logo-wordmark strong { font-size: 26px; line-height: 1; letter-spacing: -.04em; }
.client-poster-logo-wordmark small { color: inherit; font-size: 10px; line-height: 1; opacity: .78; }
.client-poster-logo-wordmark.insurer-fwd strong { position: relative; padding-right: 12px; color: #173c3b; }
.client-poster-logo-wordmark.insurer-fwd strong::after { position: absolute; right: 0; top: 7px; width: 0; height: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 10px solid #f36b21; content: ""; }
.client-poster-logo-wordmark.insurer-sunlife strong { color: #d49a00; }
.client-poster-logo-wordmark.insurer-axa strong, .client-poster-logo-wordmark.insurer-yflife strong { color: #07529a; }
.client-poster-body { padding: 28px 34px 26px; }
.client-poster-section-title { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.client-poster-section-title h2 { margin: 0; color: #14373f; font-size: 18px; line-height: 1; }
.client-poster-section-title span { flex: 1; height: 1px; background: #d4e0dd; }
.client-poster-cases { margin-top: 20px; }
.client-poster-plan { display: grid; grid-template-columns: 1.05fr .95fr; gap: 12px; }
.client-poster-plan-main, .client-poster-discount { min-height: 130px; padding: 21px 23px; border: 1px solid #d4e0dd; border-radius: 17px; background: #fff; }
.client-poster-plan-main small, .client-poster-discount small { display: block; margin-bottom: 7px; color: #64777c; font-size: 12px; font-weight: 750; }
.client-poster-plan-main strong { display: block; color: #0d5d53; font-size: 29px; letter-spacing: -.03em; }
.client-poster-plan-main p { margin: 9px 0 0; color: #64777c; font-size: 12px; }
.client-poster-discount { border-color: #ead4aa; background: linear-gradient(135deg, #fffaf0, #f8ead0); }
.client-poster-discount > div { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10px; align-items: end; }
.client-poster-discount span, .client-poster-discount i, .client-poster-discount strong, .client-poster-discount b { display: block; }
.client-poster-discount i { margin-bottom: 4px; color: #856f4a; font-size: 9px; font-style: normal; font-weight: 750; }
.client-poster-discount strong { color: #9b6205; font-size: 25px; }
.client-poster-discount .discount-saving { padding-left: 12px; border-left: 1px solid rgba(155,98,5,.18); }
.client-poster-discount b { color: #c44842; font-size: 28px; line-height: 1.1; letter-spacing: -.03em; }
.client-poster-metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; margin-top: 12px; }
.client-poster-metric { min-height: 92px; padding: 15px 13px; border: 1px solid #d4e0dd; border-radius: 14px; background: #fff; }
.client-poster-metric.featured { color: #0d5d53; border-color: rgba(20,117,103,.18); background: #eaf5f1; }
.client-poster-metric span, .client-poster-metric strong { display: block; }
.client-poster-metric span { color: #64777c; font-size: 11px; font-weight: 750; }
.client-poster-metric strong { margin-top: 9px; color: inherit; font-size: 20px; line-height: 1.2; letter-spacing: -.025em; }
.client-poster-metric:last-child strong { font-size: 16px; }
.client-poster-chart-card { margin-top: 12px; padding: 20px 22px 14px; border: 1px solid #d4e0dd; border-radius: 17px; background: #fff; }
.client-poster-chart-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-bottom: 4px; }
.client-poster-chart-head h2 { margin: 0; font-size: 18px; }
.client-poster-chart-head > div { display: flex; grid-column: 2; gap: 14px; justify-self: center; }
.poster-legend { display: inline-flex; align-items: center; gap: 5px; color: #64777c; font-size: 9px; font-weight: 700; }
.poster-legend i { display: block; width: 21px; height: 2px; border-radius: 99px; background: var(--poster-accent); }
.poster-legend.deposit i { height: 1px; background: #a48a63; }
.client-poster-chart-card svg { display: block; width: 100%; height: 270px; }
.client-poster-milestones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; margin-top: 8px; }
.client-poster-milestones > div { min-height: 72px; padding: 10px 11px; border: 1px solid #dbe5e2; border-radius: 10px; background: #f7faf9; }
.client-poster-milestones span, .client-poster-milestones strong, .client-poster-milestones small { display: block; }
.client-poster-milestones span { color: var(--poster-accent); font-size: 8px; font-weight: 900; }
.client-poster-milestones strong { margin-top: 4px; color: #14373f; font-size: 11px; line-height: 1.25; }
.client-poster-milestones small { margin-top: 4px; color: #64777c; font-size: 7px; line-height: 1.3; }
.client-poster-case-panel { --case-poster-accent: #bd5b55; display: grid; grid-template-columns: 225px 1fr; min-height: 318px; margin-top: 13px; overflow: hidden; border: 1px solid #d4e0dd; border-radius: 18px; background: #fff; }
.client-poster-case-panel.no-media { grid-template-columns: 1fr; min-height: 0; border-top: 4px solid var(--case-poster-accent); }
.client-poster-case-panel.no-media .client-poster-case-content { padding: 22px 24px 20px; }
.client-poster-case-panel.case-retirement { --case-poster-accent: #147567; }
.client-poster-case-panel.case-legacy { --case-poster-accent: #b67a19; }
.client-poster-case-panel.case-key-person { --case-poster-accent: #2f6e69; }
.client-poster-case-media { position: relative; min-height: 318px; overflow: hidden; background: #eef4f2; }
.client-poster-case-media img { width: 100%; height: 100%; object-fit: cover; }
.client-poster-case-media > span { position: absolute; top: 16px; left: 16px; padding: 7px 10px; border-radius: 99px; color: #fff; background: var(--case-poster-accent); font-size: 8px; font-weight: 850; }
.client-poster-case-media-fallback { display: grid; place-content: center; width: 100%; height: 100%; padding: 22px; color: var(--case-poster-accent); background: radial-gradient(circle at 25% 25%, #fff 0, transparent 42%), #eef4f2; text-align: center; }
.client-poster-case-media-fallback strong { font-size: 13px; }
.client-poster-case-media-fallback span { margin-top: 8px; font-size: 20px; font-weight: 900; line-height: 1.25; }
.client-poster-case-content { padding: 20px 20px 17px; }
.client-poster-case-profile { color: var(--case-poster-accent); font-size: 9px; font-weight: 850; }
.client-poster-case-content h3 { margin: 7px 0 4px; font-size: 21px; line-height: 1.15; letter-spacing: -.035em; }
.client-poster-case-content > p { margin: 0; color: #64777c; font-size: 9px; line-height: 1.5; }
.client-poster-case-plan { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 11px; overflow: hidden; border: 1px solid #dbe5e2; border-radius: 10px; }
.client-poster-case-plan > div { padding: 8px 10px; border-right: 1px solid #dbe5e2; }
.client-poster-case-plan > div:last-child { border-right: 0; }
.client-poster-case-plan small, .client-poster-case-plan strong { display: block; }
.client-poster-case-plan small { color: #74868a; font-size: 7px; }
.client-poster-case-plan strong { margin-top: 3px; color: #14373f; font-size: 11px; }
.client-poster-case-plan > div:first-child strong { color: var(--case-poster-accent); }
.client-poster-case-journey { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 15px; padding-top: 12px; }
.client-poster-case-journey::before { position: absolute; top: 3px; right: 5%; left: 5%; height: 1px; background: rgba(20,117,103,.24); content: ""; }
.client-poster-case-journey > div { position: relative; min-width: 0; min-height: 92px; padding: 10px 8px 8px; border: 1px solid #dbe5e2; border-radius: 9px; background: #fff; }
.client-poster-case-journey > div::before { position: absolute; top: -13px; left: 9px; width: 7px; height: 7px; border: 2px solid #fff; border-radius: 50%; background: var(--case-poster-accent); content: ""; }
.client-poster-case-journey > div.featured { border-color: rgba(20,117,103,.28); background: #f3f9f7; }
.client-poster-case-journey b, .client-poster-case-journey span, .client-poster-case-journey strong, .client-poster-case-journey small { display: block; }
.client-poster-case-journey b { color: var(--case-poster-accent); font-size: 7px; }
.client-poster-case-journey span { min-height: 24px; margin-top: 3px; color: #64777c; font-size: 7px; line-height: 1.35; }
.client-poster-case-journey strong { margin-top: 3px; color: #c44742; font-size: 11px; line-height: 1.2; }
.client-poster-case-journey small { margin-top: 4px; color: #718487; font-size: 6.5px; line-height: 1.3; }
.client-poster-case-journey em { color: #c44742; font-size: 9px; font-style: normal; font-weight: 950; }
.client-poster-foot { margin-top: 16px; padding-top: 12px; border-top: 1px solid #d4e0dd; color: #52696d; font-size: 10px; font-weight: 800; text-align: right; }

.discount-export-document { width: 1600px; padding: 54px 56px; color: #14373f; background: #f2f6f5; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; }
.discount-export-document > header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; padding: 34px 40px; border-radius: 24px; color: #fff; background: linear-gradient(135deg, #14373f, #147567); }
.discount-export-document > header h1 { margin: 0; font-size: 45px; }
.discount-export-document > header p { margin: 8px 0 0; color: rgba(255,255,255,.72); font-size: 18px; }
.discount-export-document > header strong { color: #f4e7cf; font-size: 24px; }
.discount-export-document .native-offers section:first-child .section-title { margin-top: 0; }
.compare-view { min-height: 580px; }
.compare-section { margin-top: 16px; padding: 28px; border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow); }
.compare-section:first-of-type { margin-top: 0; }
.compare-heading { align-items: center; margin-bottom: 18px; }
.compare-subtitle { margin: 6px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.compare-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.compare-table { width: 100%; min-width: 960px; table-layout: fixed; }
.compare-table thead { position: static; }
.compare-table th,
.compare-table td { height: 54px; padding: 11px 13px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.compare-table tr:last-child th,
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table th:last-child,
.compare-table td:last-child { border-right: 0; }
.compare-table thead th { color: var(--paper); background: var(--harbor); }
.compare-table thead tr:first-child > th:first-child { width: 168px; color: var(--paper); background: var(--jade-dark); }
.compare-table thead tr:first-child > th.compare-insurer-column { color: var(--compare-insurer-ink, var(--paper)); background: var(--compare-insurer-color); }
.compare-table tbody th { width: 168px; color: var(--harbor); background: var(--mint-soft); font-size: 11px; font-weight: 800; }
.compare-table tbody td { color: var(--harbor); background: var(--paper); font-size: 12px; font-variant-numeric: tabular-nums; }
.compare-table tbody tr:nth-child(even) td { background: #fafcfb; }
.compare-product-head { display: flex; align-items: flex-start; gap: 9px; }
.compare-series-dot { flex: 0 0 9px; width: 9px; height: 9px; margin-top: 4px; border: 2px solid rgba(255,255,255,.65); border-radius: 50%; background: var(--series-color); }
.compare-product-head strong,
.compare-product-head small { display: block; }
.compare-product-head strong { font-size: 12px; }
.compare-product-head small { margin-top: 3px; color: inherit; font-size: 9px; font-weight: 600; line-height: 1.35; opacity: .76; }
.compare-cell-primary { display: block; color: var(--jade-dark); font-size: 14px; font-weight: 850; }
.compare-cell-primary.compare-best-value { color: var(--danger); font-weight: 950; }
.compare-cell-note { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; line-height: 1.4; }
.compare-plan-badge { display: flex; align-items: baseline; gap: 9px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 11px; color: var(--harbor); background: var(--mist); font-variant-numeric: tabular-nums; }
.compare-plan-badge small { color: var(--muted); font-size: 9px; font-weight: 700; }
.compare-plan-badge strong { color: var(--jade-dark); font-size: 12px; font-weight: 850; }
.compare-chart-section { overflow: hidden; }
.compare-trend-chart { width: 100%; height: 540px; margin-top: 8px; }
.compare-series-panel { margin-top: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--mist); }
.compare-series-list, .compare-series-item, .deposit-benchmark-option { display: flex; align-items: center; }
.compare-series-list { flex-wrap: wrap; gap: 7px; }
.compare-product-legend { display: contents; }
.compare-series-item, .deposit-benchmark-option { gap: 7px; min-height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); background: var(--paper); font-size: 10px; font-weight: 750; }
.compare-series-item i { display: block; width: 21px; height: 0; border-top: 2px solid var(--series-color); }
.compare-series-option, .deposit-benchmark-option { cursor: pointer; }
.compare-series-option input, .deposit-benchmark-option input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.deposit-check { display: grid; place-items: center; width: 17px; height: 17px; border: 1px solid var(--line); border-radius: 5px; color: transparent; background: var(--paper); font-size: 10px; }
.compare-series-option.active, .deposit-benchmark-option.active { color: var(--harbor); border-color: rgba(20,117,103,.28); }
.compare-series-option.active .deposit-check, .deposit-benchmark-option.active .deposit-check { color: var(--paper); border-color: var(--jade); background: var(--jade); }
.deposit-line { display: block; width: 21px; height: 0; border-top: 2px solid #7A8586; }
.deposit-line.compound { border-top-color: #9A6A2F; }
.compare-benchmark-insight { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; padding-top: 9px; border-top: 1px solid rgba(203,216,213,.72); color: var(--muted); font-size: 10px; line-height: 1.45; }
.compare-benchmark-insight span { color: var(--muted); }
.compare-benchmark-insight strong { color: var(--jade-dark); font-size: 11px; }
.feature-compare-table { min-width: 1040px; }
.feature-compare-table tbody th { width: 154px; }
.feature-compare-table tbody tr:not(.feature-group-row) th,
.feature-compare-table tbody tr:not(.feature-group-row) td { height: 64px; }
.feature-compare-table tbody tr:not(.feature-group-row) td { line-height: 1.45; }
.feature-compare-table tbody .feature-group-row th { height: 36px; padding: 7px 13px 7px 16px; color: var(--feature-group-ink, var(--jade-dark)); border-right: 0; border-left: 4px solid var(--feature-group-accent, var(--jade)); background: var(--feature-group-bg, #dfefea); font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.feature-group-currency { --feature-group-bg: #dcefeb; --feature-group-ink: #0d5d53; --feature-group-accent: #147567; }
.feature-group-policy { --feature-group-bg: #e7eef3; --feature-group-ink: #315666; --feature-group-accent: #5c7f8c; }
.feature-group-cashflow { --feature-group-bg: #f5ead7; --feature-group-ink: #79571f; --feature-group-accent: #c89434; }
.feature-group-special { --feature-group-bg: #f3e6e8; --feature-group-ink: #8a3f48; --feature-group-accent: #b84b54; }
.feature-row-label { display: block; max-width: 126px; line-height: 1.4; }
.feature-value { display: flex; align-items: flex-start; gap: 7px; }
.feature-value-yes { display: block; }
.feature-copy { min-width: 0; }
.feature-primary-line { display: flex; align-items: center; gap: 5px; }
.feature-primary-line strong,
.feature-copy small { display: block; }
.feature-primary-line strong { color: var(--harbor); font-size: 10px; font-weight: 850; line-height: 1.45; }
.feature-copy small { margin-top: 2px; color: var(--muted); font-size: 8.5px; line-height: 1.4; }
.feature-help { flex-basis: 15px; width: 15px; height: 15px; font-size: 8px; }
.feature-help::after { display: none; }
.feature-tooltip-popup { position: fixed; z-index: 2200; width: max-content; min-width: 104px; max-width: 230px; padding: 10px 12px; border-radius: 10px; color: var(--paper); background: var(--harbor); box-shadow: 0 12px 32px rgba(20,55,63,.24); font-size: 10px; font-weight: 550; line-height: 1.65; text-align: left; white-space: pre-line; pointer-events: none; }
.feature-tooltip-popup[hidden] { display: none; }
.feature-empty { display: block; color: #9aabaa; font-size: 14px; text-align: center; }
.compare-summary-icon { font-size: 16px; }
.compare-condition-drawer { width: min(620px, calc(100% - 32px)); }
.compare-limit { margin-left: auto; color: var(--jade); font-size: 10px; font-weight: 800; }
.compare-product-picker { position: relative; }
.compare-product-select-button { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; min-height: 58px; padding: 10px 13px; color: var(--harbor); border: 1px solid var(--line); border-radius: 12px; background: var(--paper); text-align: left; cursor: pointer; transition: border-color .16s ease, box-shadow .16s ease; }
.compare-product-select-button:hover,
.compare-product-select-button[aria-expanded="true"] { border-color: rgba(20,117,103,.48); box-shadow: 0 0 0 3px rgba(20,117,103,.08); }
.compare-product-select-button > span { min-width: 0; }
.compare-product-select-button b,
.compare-product-select-button small { display: block; }
.compare-product-select-button b { margin-bottom: 3px; font-size: 11px; }
.compare-product-select-button small { overflow: hidden; color: var(--muted); font-size: 10px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.compare-product-select-button > i { flex: 0 0 auto; color: var(--jade); font-size: 18px; font-style: normal; transition: transform .16s ease; }
.compare-product-select-button[aria-expanded="true"] > i { transform: rotate(180deg); }
.compare-product-menu { position: absolute; z-index: 12; top: calc(100% + 7px); left: 0; right: 0; max-height: 280px; padding: 6px; overflow-y: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); box-shadow: 0 18px 42px rgba(17,59,66,.16); }
.compare-product-menu[hidden] { display: none; }
.compare-product-picker .compare-product-option { position: relative; display: flex; align-items: center; gap: 9px; min-height: 42px; margin: 0 !important; padding: 7px 9px; border-radius: 8px; background: var(--paper); cursor: pointer; }
.compare-product-picker .compare-product-option:hover { background: var(--mist); }
.compare-product-picker .compare-product-option.selected { background: var(--mint); }
.compare-product-picker .compare-product-option.disabled { opacity: .5; cursor: not-allowed; }
.compare-product-picker .compare-product-option input { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.compare-product-check { display: grid; place-items: center; flex: 0 0 19px; height: 19px; border: 1px solid var(--line); border-radius: 5px; color: transparent; background: var(--paper); font-size: 10px; font-weight: 900; }
.compare-product-option.selected .compare-product-check { color: var(--paper); border-color: var(--jade); background: var(--jade); }
.compare-product-copy { display: flex; align-items: center; min-width: 0; }
.compare-product-copy i { flex: 0 0 7px; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--insurer-color); }
.compare-product-copy b { overflow: hidden; color: var(--harbor); font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.compare-product-copy em { color: var(--muted); font-style: normal; font-weight: 500; }
.condition-summary { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 16px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.78); }
.condition-summary-copy { display: flex; align-items: center; gap: 14px; min-width: 0; }
.condition-summary-copy > div { min-width: 0; }
.summary-check { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border-radius: 10px; color: var(--jade); background: var(--mint); font-size: 14px; font-weight: 900; }
.condition-summary-copy strong, .condition-summary-copy small { display: block; }
.condition-summary-copy strong { margin-bottom: 3px; font-size: 14px; }
.condition-summary-copy small { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.secondary-action, .primary-action, .icon-button { border: 0; }
.secondary-action { flex: 0 0 auto; min-height: 40px; padding: 0 17px; border-radius: 10px; color: var(--paper); background: var(--jade); font-size: 12px; font-weight: 800; }
.secondary-action:hover, .primary-action:hover { background: var(--jade-dark); }

.policy-overview, .trend-panel, .table-section { border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow); }
.policy-overview { margin-bottom: 16px; padding: 28px; }
.overview-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.overview-heading h2 { margin: 0; font-size: 23px; }
.overview-badge { padding: 7px 11px; border-radius: 999px; color: var(--muted); background: var(--mist); font-size: 10px; font-weight: 700; }
.overview-content { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(430px, 1fr); gap: 14px; }
.payment-summary-card { padding: 20px; border: 1px solid var(--line); border-radius: 17px; background: var(--mint-soft); }
.payment-summary-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; }
.payment-plan-formula { display: block; color: var(--jade-dark); font-size: 32px; font-variant-numeric: tabular-nums; letter-spacing: -.035em; line-height: 1.1; }
.payment-net-total { display: block; margin-top: 8px; color: var(--muted); font-size: 10px; }
.payment-net-total b { margin-left: 4px; color: var(--harbor); font-size: 12px; font-variant-numeric: tabular-nums; }
.payment-saving { min-width: 238px; padding: 13px 15px 12px; border: 1px solid rgba(20,117,103,.18); border-radius: 13px; background: rgba(255,255,255,.8); }
.discount-rate-line { display: flex; align-items: flex-end; gap: 10px; }
.discount-rate-line > div { min-width: 72px; }
.discount-rate-line small, .discount-rate-line b { display: block; }
.discount-rate-line small { margin-bottom: 2px; color: var(--muted); font-size: 8px; }
.discount-rate-line b { color: var(--jade); font-size: 14px; font-variant-numeric: tabular-nums; font-weight: 850; line-height: 1.1; }
.discount-rate-line i { padding-bottom: 1px; color: var(--jade); font-size: 15px; font-style: normal; font-weight: 800; }
.payment-saving p { margin: 9px 0 0; padding-top: 8px; border-top: 1px solid rgba(20,117,103,.12); color: var(--muted); font-size: 8px; }
.payment-saving p strong { margin-left: 4px; color: var(--harbor); font-size: 11px; font-variant-numeric: tabular-nums; }
.payment-schedule { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 8px; margin-top: 15px; }
.payment-year { padding: 10px 11px; border-radius: 11px; background: var(--paper); }
.payment-year span, .payment-year strong, .payment-year small { display: block; }
.payment-year span { color: var(--muted); font-size: 9px; }
.payment-year strong { margin-top: 4px; font-size: 14px; font-variant-numeric: tabular-nums; }
.payment-year small { width: fit-content; margin-top: 6px; font-size: 9px; }
.payment-year .has-discount { padding: 3px 7px; border-radius: 999px; color: var(--jade-dark); background: var(--mint); font-weight: 700; }
.payment-year .has-discount b { font-size: 11px; }
.payment-year .no-discount { color: var(--muted); }
.overview-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.overview-metrics article { min-width: 0; min-height: 112px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; }
.overview-metrics span, .overview-metrics strong, .overview-metrics small { display: block; }
.overview-metrics span { margin-bottom: 9px; color: var(--muted); font-size: 10px; }
.overview-metrics strong { overflow-wrap: anywhere; font-size: 19px; font-variant-numeric: tabular-nums; }
.overview-metrics small { margin-top: 7px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.overview-metrics .overview-highlight { border-color: transparent; background: var(--mint); }
.overview-metrics .overview-highlight strong { color: var(--jade-dark); }
.overview-metrics .metric-card-title { display: flex; align-items: center; gap: 6px; margin-bottom: 13px; }
.overview-metrics .metric-card-title > span { margin-bottom: 0; color: var(--harbor); font-size: 12px; font-weight: 800; }
.overview-metrics .metric-card-title .help-tip { display: inline-grid; color: var(--jade); font-size: 10px; }
.metric-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.metric-pair > div { min-width: 0; padding-right: 11px; }
.metric-pair > div + div { padding-right: 0; padding-left: 11px; border-left: 1px solid var(--line); }
.overview-highlight .metric-pair > div + div { border-left-color: rgba(20,117,103,.18); }
.overview-metrics .metric-pair span { margin-bottom: 5px; font-size: 9px; line-height: 1.35; }
.overview-metrics .metric-pair strong { font-size: 16px; line-height: 1.2; }
.overview-metrics .metric-feature strong { color: var(--jade-dark); font-size: 21px; }
.overview-metrics .metric-secondary strong { color: var(--muted); font-size: 14px; font-weight: 700; }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.section-heading h2 { margin: 0; font-size: 23px; line-height: 1.3; }

.trend-panel { position: relative; margin-top: 16px; padding: 28px; overflow: hidden; }
.trend-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.trend-heading h2 { margin: 0; font-size: 23px; line-height: 1.3; }
.chart-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; min-width: 196px; padding: 4px; border-radius: 12px; background: var(--mist); }
.chart-switch button { min-height: 36px; padding: 0 14px; border: 0; border-radius: 9px; color: var(--muted); background: transparent; font-size: 12px; font-weight: 800; }
.chart-switch button.active { color: var(--paper); background: var(--jade); }
.axis-switch { min-width: 218px; }
.trend-chart-wrap { margin-top: 14px; }
.trend-chart { width: 100%; height: 450px; }

.single-feature-section { margin-top: 24px; padding: 28px; border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow); }
.single-feature-heading { align-items: center; margin-bottom: 18px; }
.single-feature-product { max-width: 58%; padding: 7px 11px; border: 1px solid rgba(20,117,103,.16); border-radius: 999px; color: var(--jade-dark); background: var(--mint); font-size: 10px; font-weight: 800; line-height: 1.35; text-align: right; }
.single-feature-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.single-highlight { position: relative; min-width: 0; min-height: 112px; padding: 15px 16px 14px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fbfcfc; }
.single-highlight::before { position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--highlight-accent, var(--jade)); content: ""; }
.single-highlight-currency { --highlight-accent: #147567; background: #f2f8f6; }
.single-highlight-policy { --highlight-accent: #5c7f8c; background: #f3f6f8; }
.single-highlight-special { --highlight-accent: #b84b54; background: #fbf5f6; }
.single-highlight span,
.single-highlight strong,
.single-highlight p { display: block; }
.single-highlight span { margin-bottom: 8px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .06em; }
.single-highlight strong { color: var(--harbor); font-size: 14px; font-weight: 850; line-height: 1.4; }
.single-highlight p { margin: 6px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.single-feature-toggle { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; margin: 13px 0 0 auto; padding: 0 12px; border: 0; border-radius: 9px; color: var(--jade-dark); background: var(--mint); font-size: 10px; font-weight: 800; }
.single-feature-toggle:hover { background: #dceee9; }
.single-feature-toggle i { font-size: 14px; font-style: normal; line-height: 1; transition: transform .18s ease; }
.single-feature-section.expanded .single-feature-toggle i { transform: rotate(180deg); }
.single-feature-details { margin-top: 14px; }
.single-feature-details[hidden] { display: none; }
.single-feature-table-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; }
.single-feature-table { width: 100%; min-width: 0; table-layout: fixed; border-collapse: collapse; }
.single-feature-table thead { position: static; }
.single-feature-table th,
.single-feature-table td { height: auto; padding: 14px 17px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.single-feature-table tr:last-child th,
.single-feature-table tr:last-child td { border-bottom: 0; }
.single-feature-table th:last-child,
.single-feature-table td:last-child { border-right: 0; }
.single-feature-table thead th { color: var(--paper); background: var(--harbor); font-size: 10px; font-weight: 850; letter-spacing: .04em; }
.single-feature-table thead th:first-child { width: 185px; color: var(--paper); background: var(--jade-dark); }
.single-feature-table tbody > tr:not(.single-feature-group) > th { color: var(--harbor); background: #f4f8f7; font-size: 11px; font-weight: 850; line-height: 1.45; }
.single-feature-table tbody > tr:not(.single-feature-group) > td { color: var(--harbor); background: var(--paper); font-size: 11px; line-height: 1.6; }
.single-feature-table tbody > tr:not(.single-feature-group):nth-child(odd) > td { background: #fbfcfc; }
.single-feature-table td strong { display: block; margin-bottom: 4px; color: var(--jade-dark); font-size: 12px; font-weight: 850; line-height: 1.45; }
.single-feature-table td p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.single-feature-table .single-feature-group th { padding: 8px 15px; color: var(--single-group-ink, var(--jade-dark)); border-right: 0; border-left: 4px solid var(--single-group-accent, var(--jade)); background: var(--single-group-bg, var(--mint)); font-size: 9px; font-weight: 900; letter-spacing: .09em; }
.single-feature-group-currency { --single-group-bg: #dcefeb; --single-group-ink: #0d5d53; --single-group-accent: #147567; }
.single-feature-group-policy { --single-group-bg: #e7eef3; --single-group-ink: #315666; --single-group-accent: #5c7f8c; }
.single-feature-group-cashflow { --single-group-bg: #f5ead7; --single-group-ink: #79571f; --single-group-accent: #c89434; }
.single-feature-group-special { --single-group-bg: #f3e6e8; --single-group-ink: #8a3f48; --single-group-accent: #b84b54; }
.single-feature-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.single-feature-chips span { padding: 4px 7px; border: 1px solid rgba(20,117,103,.14); border-radius: 999px; color: var(--jade-dark); background: var(--mint); font-size: 9px; font-weight: 750; line-height: 1.2; }
.single-feature-muted td strong { color: var(--muted); font-weight: 700; }
.single-feature-muted td p { color: #91a09f; }

.table-section { margin-top: 24px; padding: 28px; }
.table-wrap { overflow: auto; max-height: 620px; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; min-width: 1120px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
thead { position: sticky; top: 0; z-index: 2; }
th { padding: 9px 12px; border-right: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.18); color: var(--paper); background: var(--harbor); text-align: center; vertical-align: middle; font-size: 11px; line-height: 1.35; }
th:last-child { border-right: 0; }
th small { display: block; margin-top: 4px; color: rgba(255,255,255,.72); font-size: 10px; font-weight: 600; }
thead tr:first-child > th:first-child { text-align: left; }
thead tr:first-child th { background: #173f46; }
thead tr:nth-child(2) th { background: #245b5a; }
thead tr:nth-child(3) th { background: #30726c; }
thead tr:first-child > th:last-child { background: #0f675d; }
.table-group-heading { color: #d8eee8; letter-spacing: .08em; }
td { padding: 13px; border-bottom: 1px solid #e3e9e7; text-align: right; font-size: 12px; }
td:first-child { text-align: left; font-weight: 750; }
.table-section td:nth-child(2) { text-align: center; color: var(--muted); }
.table-section tbody tr:nth-child(even) td { background: #fafcfb; }
.table-section tbody td:nth-child(7) { color: var(--jade-dark); background: #edf7f4; font-weight: 800; }
.table-section tbody tr:nth-child(even) td:nth-child(7) { background: #e8f3f0; }
.table-section tbody td:last-child { font-weight: 800; }
.table-section tbody td.break-even-cell { color: var(--danger); font-weight: 900; }
.break-even-value { white-space: nowrap; }
.break-even-tag { display: inline-block; margin-left: 7px; padding: 2px 6px; border-radius: 999px; color: var(--danger); background: rgba(184,75,84,.10); font-size: 8px; font-weight: 850; line-height: 1.35; vertical-align: 2px; white-space: nowrap; }
.negative { color: var(--danger); }
.positive { color: var(--jade-dark); font-weight: 700; }

.condition-layer { position: fixed; inset: 0; z-index: 1000; display: flex; visibility: hidden; pointer-events: none; }
.condition-layer.open { visibility: visible; pointer-events: auto; }
.layer-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(20,55,63,.34); opacity: 0; transition: opacity .22s ease; }
.condition-layer.open .layer-backdrop { opacity: 1; }
.condition-drawer { position: relative; z-index: 1; width: min(470px, calc(100% - 32px)); height: 100%; padding: 28px; overflow-y: auto; border-radius: 0 24px 24px 0; background: var(--paper); box-shadow: 24px 0 70px rgba(20,55,63,.20); transform: translateX(-105%); transition: transform .24s ease; }
.condition-layer.open .condition-drawer { transform: translateX(0); }
.drawer-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.drawer-heading h2 { margin: 0; font-size: 23px; }
.drawer-heading p { margin: 0; color: var(--muted); font-size: 11px; }
.icon-button { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border-radius: 10px; color: var(--harbor); background: var(--mist); font-size: 20px; }

.field-group { margin-bottom: 18px; }
.field-group.no-margin { margin-bottom: 0; }
.field-group label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 12px; font-weight: 700; }
.field-label-row { display: flex; align-items: center; gap: 6px; margin-bottom: 7px; }
.field-label-row label { margin-bottom: 0; }
.help-tip { position: relative; display: inline-grid; place-items: center; flex: 0 0 17px; width: 17px; height: 17px; border: 1px solid rgba(20,117,103,.3); border-radius: 50%; color: var(--jade); background: var(--paper); font-size: 10px; font-weight: 900; line-height: 1; cursor: help; }
.help-tip::after { position: absolute; bottom: calc(100% + 8px); left: 50%; z-index: 20; width: max-content; max-width: 230px; padding: 8px 10px; border-radius: 8px; color: var(--paper); background: var(--harbor); box-shadow: var(--shadow-soft); content: attr(data-tip); font-size: 10px; font-weight: 500; line-height: 1.5; text-align: left; white-space: pre-line; opacity: 0; pointer-events: none; transform: translate(-50%, 4px); transition: opacity .15s ease, transform .15s ease; }
.help-tip:hover::after, .help-tip:focus-visible::after, .discount-toggle:focus-visible .help-tip::after { opacity: 1; transform: translate(-50%, 0); }
.field-group small { display: block; margin-top: 6px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
select, input { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--harbor); background: var(--paper); transition: border-color .18s ease, box-shadow .18s ease; }
select { padding: 0 36px 0 13px; }
input { padding: 0 13px; }
select:focus, input:focus, button:focus-visible { border-color: var(--jade); box-shadow: 0 0 0 4px rgba(20,117,103,.12); }
.segmented { display: grid; grid-template-columns: repeat(2, 1fr); gap: 5px; padding: 4px; border-radius: 12px; background: var(--mist); }
.segmented button { min-height: 38px; border: 0; border-radius: 9px; color: var(--muted); background: transparent; font-size: 13px; font-weight: 700; }
.segmented button.active { color: var(--paper); background: var(--jade); }
.money-input, .percent-input, .age-input { position: relative; }
.money-input span, .percent-input span, .age-input span { position: absolute; top: 50%; z-index: 1; color: var(--jade); font-size: 12px; font-weight: 800; transform: translateY(-50%); }
.money-input span { left: 14px; }
.money-input input { padding-left: 56px; font-size: 19px; font-weight: 750; }
.percent-input span, .age-input span { right: 14px; }
.percent-input input, .age-input input { padding-right: 42px; font-size: 19px; font-weight: 750; }
.quick-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 8px; }
.quick-values button { min-height: 30px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--paper); font-size: 11px; font-weight: 700; }
.quick-values button.active { color: var(--jade); border-color: var(--jade); background: var(--mint); }
.discount-toggle { display: flex; align-items: center; gap: 11px; width: 100%; margin-bottom: 9px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-md); color: var(--muted); background: var(--paper); text-align: left; }
.discount-toggle .toggle-check { display: grid; place-items: center; flex: 0 0 24px; height: 24px; border: 1px solid var(--line); border-radius: 7px; color: transparent; background: var(--paper); font-size: 14px; font-weight: 900; }
.discount-toggle .toggle-label { display: flex; align-items: center; gap: 6px; }
.discount-toggle strong { display: block; }
.discount-toggle strong { color: var(--harbor); font-size: 13px; }
.discount-toggle.active { border-color: rgba(20,117,103,.35); background: var(--mint); }
.discount-toggle.active .toggle-check { color: var(--paper); border-color: var(--jade); background: var(--jade); }
.discount-card { margin-bottom: 18px; padding: 17px 18px; border-radius: var(--radius-md); background: var(--sand); }
.discount-card.ignored { opacity: .62; }
.discount-top { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 13px; }
.discount-top span, .discount-top strong { display: block; }
.discount-top span { margin-bottom: 3px; color: var(--muted); font-size: 11px; }
.discount-top strong { color: var(--jade); font-size: 26px; }
.discount-amount { text-align: right; }
.discount-amount strong { color: var(--harbor); font-size: 19px; }
.discount-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 12px; padding-top: 10px; border-top: 1px solid rgba(95,78,38,.14); }
.discount-meta p { margin: 0; }
.discount-meta p:last-child { grid-column: 1 / -1; }
.discount-meta span, .discount-meta b { display: block; }
.discount-meta span { margin-bottom: 2px; color: var(--muted); font-size: 10px; }
.discount-meta b { font-size: 11px; }
.adjustment-card { margin: 4px 0 18px; padding: 17px 18px; border-radius: var(--radius-md); background: var(--mint); }
.adjustment-head { margin-bottom: 14px; }
.adjustment-head span, .adjustment-head b { display: block; }
.adjustment-head span { font-size: 16px; font-weight: 800; }
.adjustment-head b { margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 500; }
.dividend-quick { grid-template-columns: repeat(3, 1fr); }
.form-error { min-height: 18px; margin: -2px 0 8px; color: var(--danger); font-size: 12px; }
.primary-action { width: 100%; min-height: 54px; border-radius: 12px; color: var(--paper); background: var(--jade); font-size: 15px; font-weight: 800; }

.library-view { min-height: 580px; }
.library-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 30px; padding: 34px 38px; border-radius: var(--radius-lg); color: var(--paper); background: linear-gradient(135deg, var(--harbor) 0%, var(--jade-dark) 100%); box-shadow: var(--shadow); }
.library-hero .section-label { color: #8dd9c8; }
.library-hero h2 { margin: 0 0 9px; font-size: clamp(30px, 4vw, 44px); letter-spacing: -.04em; }
.library-hero p { max-width: 660px; margin: 0; color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.7; }
.library-stats { display: grid; grid-template-columns: repeat(3, 92px); overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 15px; background: rgba(255,255,255,.08); }
.library-stats div { min-height: 78px; padding: 14px 12px; border-right: 1px solid rgba(255,255,255,.13); }
.library-stats div:last-child { border-right: 0; }
.library-stats strong, .library-stats span { display: block; }
.library-stats strong { font-size: 19px; font-weight: 900; }
.library-stats span { margin-top: 3px; color: rgba(255,255,255,.62); font-size: 9px; }
.library-index { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; margin: 14px 0; padding: 6px; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); box-shadow: 0 12px 35px rgba(20,55,63,.06); }
.library-index a { position: relative; min-width: 0; padding: 11px 8px 10px 13px; overflow: hidden; border-radius: 10px; color: var(--harbor); text-decoration: none; background: var(--mist); }
.library-index a::before { position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--insurer-color); content: ""; }
.library-index span, .library-index small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.library-index span { font-size: 11px; font-weight: 850; }
.library-index small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.library-section { margin-top: 16px; padding: 30px; border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow); }
.library-section-head, .fulfillment-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.library-section h2 { margin: 0; font-size: 25px; letter-spacing: -.025em; }
.library-update { padding: 7px 11px; border-radius: 999px; color: var(--jade-dark); background: var(--mint); font-size: 9px; font-weight: 800; }
.insurer-library-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.insurer-library-card { min-width: 0; overflow: hidden; scroll-margin-top: 16px; border: 1px solid var(--line); border-radius: 17px; background: var(--paper); }
.insurer-library-card > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; min-height: 100px; padding: 20px 22px; color: var(--insurer-text); background: var(--insurer-color); }
.insurer-library-card header span, .insurer-library-card header h3, .insurer-facts b, .insurer-facts small { display: block; }
.insurer-library-card header span { margin-bottom: 6px; font-size: 8px; font-weight: 850; letter-spacing: .09em; opacity: .72; }
.insurer-library-card header h3 { margin: 0; font-size: 25px; letter-spacing: -.03em; }
.insurer-facts { max-width: 190px; text-align: right; }
.insurer-facts b { font-size: 11px; }
.insurer-facts small { margin-top: 3px; font-size: 8px; line-height: 1.45; opacity: .72; }
.insurer-library-body { padding: 20px 22px 22px; }
.insurer-intro { min-height: 42px; margin: 0 0 12px; color: var(--muted); font-size: 10px; line-height: 1.65; }
.insurer-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.insurer-tags span { padding: 5px 8px; border-radius: 999px; color: var(--jade-dark); background: var(--mint); font-size: 8px; font-weight: 750; }
.library-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-bottom: 18px; }
.library-actions a, .library-actions button { min-width: 0; min-height: 38px; padding: 0 9px; border: 1px solid var(--line); border-radius: 9px; color: var(--harbor); background: var(--paper); font-size: 9px; font-weight: 800; text-align: center; text-decoration: none; }
.library-actions a { display: flex; align-items: center; justify-content: center; gap: 5px; }
.library-actions a:hover, .library-actions button:hover { color: var(--jade-dark); border-color: rgba(20,117,103,.35); background: var(--mint-soft); }
.brochure-list { padding-top: 15px; border-top: 1px solid var(--line); }
.brochure-list h4 { margin: 0 0 7px; color: var(--muted); font-size: 9px; }
.brochure-list a { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 36px; padding: 7px 9px; border-radius: 8px; color: var(--harbor); font-size: 9px; font-weight: 700; line-height: 1.4; text-decoration: none; }
.brochure-list a:nth-of-type(odd) { background: var(--mint-soft); }
.brochure-list a:hover { color: var(--jade-dark); background: var(--mint); }
.brochure-list b { flex: 0 0 auto; color: var(--jade); font-size: 8px; }
.fulfillment-heading { align-items: flex-start; }
.fulfillment-heading p { max-width: 650px; margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.fulfillment-scale { display: flex; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
.fulfillment-scale span { min-width: 92px; padding: 10px 12px; border-right: 1px solid var(--line); color: var(--muted); background: var(--mist); font-size: 8px; }
.fulfillment-scale span:last-child { border-right: 0; }
.fulfillment-scale b { display: block; margin-bottom: 2px; color: var(--harbor); font-size: 11px; }
.fulfillment-note { display: flex; gap: 10px; margin-bottom: 14px; padding: 11px 13px; border-radius: 10px; color: var(--muted); background: var(--mint-soft); font-size: 9px; line-height: 1.5; }
.fulfillment-note strong { flex: 0 0 auto; color: var(--jade-dark); }
.library-ratio-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.library-ratio-table { width: 100%; min-width: 820px; border-collapse: collapse; table-layout: fixed; }
.library-ratio-table th, .library-ratio-table td { padding: 12px 13px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 9px; line-height: 1.45; text-align: left; }
.library-ratio-table tr:last-child th, .library-ratio-table tr:last-child td { border-bottom: 0; }
.library-ratio-table th:last-child, .library-ratio-table td:last-child { border-right: 0; }
.library-ratio-table thead th { color: var(--paper); background: var(--harbor); font-weight: 850; }
.library-ratio-table thead th:nth-child(1) { width: 110px; }
.library-ratio-table thead th:nth-child(2) { width: 120px; }
.library-ratio-table thead th:nth-child(4) { width: 130px; }
.library-ratio-table thead th:nth-child(5) { width: 132px; }
.library-ratio-table tbody th { background: var(--mint-soft); }
.library-ratio-table tbody td { color: var(--muted); }
.library-ratio-table tbody td strong { color: var(--harbor); }
.library-ratio-table a { color: var(--jade-dark); font-weight: 800; text-decoration: none; }
.ratio-insurer-dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--insurer-color); }
.library-disclaimer { margin: 12px 0 0; color: var(--muted); font-size: 8px; line-height: 1.5; }
.library-hub { padding: 30px; border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow); }
.library-insurer-tabs { margin-bottom: 20px; }
.library-content-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; }
.library-content-head h3 { margin: 0; color: var(--harbor); font-size: 16px; letter-spacing: -.015em; }
.library-title-row { display: flex; align-items: center; gap: 7px; }
.library-profile { margin-bottom: 24px; }
.library-insurer-profile { display: grid; grid-template-columns: 184px minmax(0, 1fr); overflow: hidden; min-height: 224px; border: 1px solid var(--line); border-radius: 16px; background: #fbfcfc; }
.insurer-profile-brand { position: relative; display: grid; place-items: center; padding: 24px 18px; color: var(--insurer-text); background: linear-gradient(180deg, #fff 0%, color-mix(in srgb, var(--insurer-color) 7%, #fff 93%) 100%); box-shadow: inset -1px 0 var(--line); }
.insurer-profile-brand::after { position: absolute; right: 30px; bottom: 22px; left: 30px; height: 3px; border-radius: 999px; background: var(--insurer-color); content: ""; opacity: .82; }
.insurer-wordmark { width: 100%; text-align: center; }
.insurer-wordmark strong, .insurer-wordmark span { display: block; }
.insurer-wordmark img { display: block; width: min(142px, 88%); height: 76px; margin: 0 auto; object-fit: contain; }
.insurer-wordmark img[src$="prudential.png"] { width: 120px; height: 76px; object-fit: cover; clip-path: inset(0 0 0 2px); mix-blend-mode: multiply; }
.insurer-wordmark strong { font-size: clamp(25px, 3vw, 40px); font-weight: 950; line-height: .96; letter-spacing: -.055em; }
.insurer-wordmark span { margin-top: 9px; font-size: 9px; font-weight: 850; letter-spacing: .08em; opacity: .86; }
.insurer-profile-content { padding: 21px 24px 19px; }
.insurer-profile-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.insurer-profile-heading span { color: var(--muted); font-size: 8px; font-weight: 750; }
.insurer-profile-heading h2 { margin: 4px 0 0; color: var(--harbor); font-size: 24px; letter-spacing: -.03em; }
.insurer-profile-heading a { flex: 0 0 auto; padding: 5px 8px; border: 1px solid var(--line); border-radius: 7px; color: var(--jade-dark); background: var(--paper); font-size: 7px; font-weight: 850; text-decoration: none; }
.insurer-profile-content > p { max-width: 860px; margin: 9px 0 14px; color: #526b70; font-size: 9px; line-height: 1.65; }
.insurer-profile-facts { display: grid; grid-template-columns: 1.08fr .72fr 1fr 1.12fr; width: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.insurer-profile-facts > div { min-width: 0; padding: 10px 12px; border-right: 1px solid var(--line); }
.insurer-profile-facts > div:last-child { border-right: 0; }
.insurer-fact-label { display: flex; align-items: center; gap: 4px; min-height: 11px; }
.insurer-profile-facts small, .insurer-profile-facts strong, .insurer-profile-facts span { display: block; }
.insurer-profile-facts small { color: var(--muted); font-size: 7px; font-weight: 800; }
.insurer-profile-facts .insurer-fact-tip { display: inline-grid; flex: 0 0 11px; width: 11px; height: 11px; border-color: rgba(20,117,103,.24); font-size: 7px; }
.insurer-profile-facts strong { margin-top: 3px; color: var(--harbor); font-size: 11px; font-weight: 900; line-height: 1.35; }
.insurer-profile-facts span { margin-top: 2px; color: var(--muted); font-size: 7px; line-height: 1.35; }
.insurer-profile-foot { display: flex; align-items: center; justify-content: flex-start; gap: 18px; margin-top: 12px; }
.insurer-ratings { display: flex; flex-wrap: wrap; gap: 6px; }
.insurer-ratings > div { min-width: 92px; padding: 7px 9px; border-radius: 8px; background: var(--mint-soft); }
.insurer-ratings small, .insurer-ratings strong, .insurer-ratings span { display: block; }
.insurer-ratings small { color: var(--muted); font-size: 6px; font-weight: 850; }
.insurer-ratings strong { margin-top: 1px; color: var(--jade-dark); font-size: 14px; font-weight: 950; }
.insurer-ratings span { color: var(--muted); font-size: 6px; line-height: 1.25; }
.library-materials { padding-top: 24px; border-top: 1px solid var(--line); }
.library-fulfillment { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.library-directory-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.library-directory-head h2 { margin: 0; font-size: 25px; letter-spacing: -.025em; }
.library-directory-head p { margin: 0; color: var(--muted); font-size: 10px; }
.library-table-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; }
.library-table { width: 100%; min-width: 0; border-collapse: collapse; table-layout: fixed; }
.library-table thead th { padding: 13px 16px; color: var(--paper); background: var(--harbor); font-size: 10px; font-weight: 850; text-align: left; }
.library-table thead th:last-child { width: 180px; text-align: center; }
.library-table td { height: 55px; padding: 10px 16px; border-top: 1px solid var(--line); color: var(--harbor); background: var(--paper); font-size: 10px; }
.library-table td:last-child { border-left: 1px solid var(--line); text-align: center; }
.library-table td strong, .library-table td small { display: block; }
.library-table td strong { font-size: 11px; line-height: 1.4; }
.library-table td small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.library-table td a { display: inline-flex; align-items: center; justify-content: center; min-width: 92px; min-height: 32px; padding: 0 11px; border: 1px solid var(--line); border-radius: 8px; color: var(--jade-dark); background: var(--paper); font-size: 9px; font-weight: 850; text-decoration: none; }
.library-table td a:hover { border-color: rgba(20,117,103,.38); background: var(--mint); }
.library-table .library-offer-row td { background: #fffaf0; }
.library-table .library-offer-row td:first-child > span { display: inline-flex; margin-left: 8px; padding: 2px 6px; border-radius: 999px; color: #8b5d0b; background: #f8e8bd; font-size: 7px; font-weight: 850; vertical-align: 2px; }
.library-table .library-offer-row a { border-color: #ead6a1; color: #81590e; background: #fffdf8; }
.library-table .library-offer-row a:hover { border-color: #d7b96b; background: #fff4d9; }
.library-table .library-insurer-row th { color: var(--insurer-text); background: color-mix(in srgb, var(--insurer-color) 92%, #14373f 8%); font-size: 12px; font-weight: 900; }
.library-table .library-insurer-row th:first-child { position: relative; padding: 11px 16px 11px 21px; text-align: left; }
.library-table .library-insurer-row th:first-child::before { position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--insurer-color); content: ""; }
.library-table .library-insurer-row th:last-child { width: 180px; padding: 6px 16px; border-left: 1px solid color-mix(in srgb, var(--insurer-text) 22%, transparent); text-align: center; }
.library-table .library-insurer-row a { display: inline-flex; align-items: center; justify-content: center; min-width: 92px; min-height: 32px; padding: 0 11px; border: 1px solid color-mix(in srgb, var(--insurer-text) 34%, transparent); border-radius: 8px; color: var(--insurer-text); background: color-mix(in srgb, var(--insurer-text) 9%, transparent); font-size: 9px; font-weight: 850; text-decoration: none; }
.library-table .library-insurer-row a:hover { background: color-mix(in srgb, var(--insurer-text) 18%, transparent); }
.fulfillment-summary { margin-top: 16px; padding: 30px; border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow); }
.fulfillment-summary-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.fulfillment-summary-head h2 { margin: 0; font-size: 25px; letter-spacing: -.025em; }
.fulfillment-year { padding: 7px 11px; border-radius: 999px; color: var(--jade-dark); background: var(--mint); font-size: 9px; font-weight: 850; }
.fulfillment-summary-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; }
.fulfillment-summary-table { width: 100%; min-width: 0; border-collapse: collapse; table-layout: fixed; }
.fulfillment-summary-table th, .fulfillment-summary-table td { height: 48px; padding: 10px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; }
.fulfillment-summary-table th:last-child, .fulfillment-summary-table td:last-child { border-right: 0; }
.fulfillment-summary-table tbody tr:last-child th, .fulfillment-summary-table tbody tr:last-child td { border-bottom: 0; }
.fulfillment-summary-table thead th { height: 42px; color: var(--paper); background: var(--harbor); font-size: 10px; font-weight: 850; }
.fulfillment-summary-table thead th:not(:first-child) { width: 168px; text-align: center; }
.fulfillment-summary-table thead th:last-child { width: 150px; background: var(--jade-dark); }
.fulfillment-summary-table tbody th { color: var(--harbor); background: var(--mint-soft); font-size: 11px; }
.fulfillment-summary-table tbody td { color: var(--harbor); background: var(--paper); font-size: 11px; text-align: center; font-variant-numeric: tabular-nums; }
.fulfillment-summary-table tbody tr:nth-child(even) td { background: #fbfcfc; }
.fulfillment-summary-table tbody td strong { color: var(--jade-dark); font-size: 14px; font-weight: 900; }
.fulfillment-summary-table tbody td.fulfillment-best { background: #fff4f3; }
.fulfillment-summary-table tbody td.fulfillment-best strong { color: var(--danger); }
.fulfillment-best-badge { display: inline-flex; align-items: center; min-height: 18px; margin-left: 8px; padding: 0 6px; border-radius: 999px; color: var(--danger); background: #ffe7e4; font-size: 7px; font-weight: 900; vertical-align: 2px; }
.fulfillment-insurer-dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--insurer-color); }
.fulfillment-detail-link { display: inline-flex; align-items: center; justify-content: center; min-width: 96px; min-height: 30px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--jade-dark); background: var(--paper); font-size: 8px; font-weight: 850; text-decoration: none; }
.fulfillment-detail-link:hover { border-color: rgba(20,117,103,.38); background: var(--mint); }
.fulfillment-summary-note { margin: 11px 0 0; color: var(--muted); font-size: 8px; line-height: 1.6; }
.fulfillment-summary-note span { display: block; }
.representative-fulfillment { margin-top: 16px; padding: 30px; border: 1px solid rgba(20,117,103,.16); border-radius: var(--radius-lg); background: linear-gradient(145deg, #f8fbfa 0%, #eef7f3 100%); box-shadow: var(--shadow); }
.representative-fulfillment-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.representative-fulfillment-head h2 { margin: 0; font-size: 25px; letter-spacing: -.025em; }
.representative-fulfillment-head p { margin: 7px 0 0; color: var(--muted); font-size: 9px; }
.representative-table-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.representative-table { width: 100%; min-width: 0; border-collapse: collapse; table-layout: fixed; }
.representative-table th, .representative-table td { height: 54px; padding: 10px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.representative-table th:last-child, .representative-table td:last-child { border-right: 0; }
.representative-table tbody tr:last-child th, .representative-table tbody tr:last-child td { border-bottom: 0; }
.representative-table thead th { height: 42px; color: var(--paper); background: var(--harbor); font-size: 9px; font-weight: 850; text-align: left; }
.representative-table thead th:first-child { width: 100px; }
.representative-table thead th:nth-child(3) { width: 150px; text-align: center; }
.representative-table thead th:nth-child(4) { width: 120px; text-align: center; }
.representative-table thead th:last-child { width: 150px; background: var(--jade-dark); text-align: center; }
.representative-table tbody th { position: relative; padding-left: 21px; color: var(--harbor); background: var(--mint-soft); font-size: 10px; text-align: left; }
.representative-table tbody th::before { position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--insurer-color); content: ""; }
.representative-table tbody td { color: var(--harbor); background: rgba(255,255,255,.92); font-size: 10px; }
.representative-table tbody tr:nth-child(even) td { background: #fbfcfc; }
.representative-product strong, .representative-product small, .representative-sample strong, .representative-sample small { display: block; }
.representative-product strong { font-size: 10px; font-weight: 850; }
.representative-product small, .representative-sample small { margin-top: 3px; color: var(--muted); font-size: 7px; }
.representative-average, .representative-sample, .representative-link-cell { text-align: center; font-variant-numeric: tabular-nums; }
.representative-average strong { color: var(--jade-dark); font-size: 14px; font-weight: 900; }
.representative-average.representative-best { background: #fff4f3; }
.representative-average.representative-best strong { color: var(--danger); }
.representative-sample strong { font-size: 12px; font-weight: 900; }
.representative-note { margin: 11px 0 0; color: var(--muted); font-size: 8px; line-height: 1.6; }
.representative-note span { display: block; }
.product-fulfillment-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.product-fulfillment-head h2, .product-fulfillment-head h3 { margin: 0; color: var(--harbor); font-size: 16px; letter-spacing: -.015em; }
.fulfillment-head-summary { display: flex; align-items: center; gap: 7px; }
.fulfillment-average-summary { display: flex; align-items: baseline; gap: 7px; min-height: 32px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); }
.fulfillment-average-summary small { color: var(--muted); font-size: 7px; font-weight: 800; }
.fulfillment-average-summary strong { font-size: 14px; font-weight: 950; font-variant-numeric: tabular-nums; }
.fulfillment-average-summary strong.is-high { color: #17623f; }
.fulfillment-average-summary strong.is-mid { color: #8a5a00; }
.fulfillment-average-summary strong.is-low { color: #af3d35; }
.fulfillment-average-summary strong.is-empty { color: #9ca9aa; }
.product-fulfillment-legend { display: flex; flex-wrap: wrap; gap: 12px 18px; margin: 17px 0 11px; color: var(--muted); font-size: 8px; }
.product-fulfillment-legend span { display: inline-flex; align-items: center; gap: 6px; }
.product-fulfillment-legend i { width: 11px; height: 11px; border: 1px solid var(--line); border-radius: 3px; }
.legend-high { border-color: #b9d8c2 !important; background: #e6f3e9; }
.legend-mid { border-color: #ead59c !important; background: #fff3d3; }
.legend-low { border-color: #ebc3bf !important; background: #fbe7e5; }
.legend-empty { background: #f1f3f3; }
.product-fulfillment-tabs { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 5px; margin: 0 0 11px; padding: 5px; border: 1px solid var(--line); border-radius: 13px; background: var(--mist); }
.product-fulfillment-tabs button { min-width: 0; min-height: 36px; padding: 0 8px; border: 1px solid transparent; border-radius: 9px; color: var(--muted); background: transparent; font: inherit; font-size: 8px; font-weight: 850; cursor: pointer; transition: color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease; }
.product-fulfillment-tabs button:hover { color: var(--harbor); background: rgba(255,255,255,.72); }
.product-fulfillment-tabs button.active { color: var(--insurer-text); background: var(--insurer-color); box-shadow: 0 5px 12px color-mix(in srgb, var(--insurer-color) 20%, transparent); }
.product-fulfillment-tabs button:focus-visible { outline: 2px solid color-mix(in srgb, var(--insurer-color) 65%, #fff); outline-offset: 2px; }
.product-fulfillment-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); scrollbar-color: rgba(20,117,103,.35) transparent; scrollbar-width: thin; }
.product-fulfillment-table { width: 100%; min-width: 1080px; border-spacing: 0; border-collapse: separate; table-layout: fixed; }
.product-fulfillment-table th, .product-fulfillment-table td { height: 38px; padding: 8px 7px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.product-fulfillment-table tr > :last-child { border-right: 0; }
.product-fulfillment-table tbody tr:last-child > * { border-bottom: 0; }
.product-fulfillment-table thead th { position: sticky; top: 0; z-index: 4; color: var(--paper); background: var(--harbor); font-size: 8px; font-weight: 900; text-align: center; }
.product-fulfillment-table thead th:first-child { width: 184px; text-align: left; }
.product-fulfillment-table thead th:nth-child(2) { width: 98px; text-align: left; }
.product-fulfillment-insurer th { padding: 9px 13px; color: var(--insurer-text); background: color-mix(in srgb, var(--insurer-color) 94%, #14373f 6%); text-align: left; }
.product-fulfillment-insurer span { font-size: 12px; font-weight: 900; }
.product-fulfillment-insurer small { margin-left: 9px; color: color-mix(in srgb, var(--insurer-text) 78%, transparent); font-size: 8px; font-weight: 750; }
.product-fulfillment-insurer a { float: right; padding: 3px 8px; border: 1px solid color-mix(in srgb, var(--insurer-text) 36%, transparent); border-radius: 6px; color: var(--insurer-text); background: color-mix(in srgb, var(--insurer-text) 9%, transparent); font-size: 7px; font-weight: 850; text-decoration: none; }
.product-fulfillment-insurer a:hover { background: color-mix(in srgb, var(--insurer-text) 18%, transparent); }
.product-fulfillment-product { color: var(--harbor); background: var(--mint-soft); font-size: 9px; font-weight: 900; line-height: 1.35; text-align: left; vertical-align: middle; }
.product-name-line { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.product-current-badge { display: inline-flex; align-items: center; min-height: 17px; padding: 0 6px; border-radius: 999px; color: #a43b32; background: #fde8e5; font-size: 6px; font-weight: 900; }
.product-fulfillment-type { color: var(--muted); background: #f8faf9; font-size: 8px; font-weight: 800; text-align: left; }
.product-fulfillment-value { font-size: 9px; font-weight: 900; text-align: center; }
.product-fulfillment-value.is-high { color: #17623f; background: #e6f3e9; }
.product-fulfillment-value.is-mid { color: #8a5a00; background: #fff3d3; }
.product-fulfillment-value.is-low { color: #af3d35; background: #fbe7e5; }
.product-fulfillment-value:hover { position: relative; z-index: 1; box-shadow: inset 0 0 0 1px currentColor; }
.product-fulfillment-empty { color: #b4bdbe; background: #f2f4f4; font-size: 9px; font-weight: 700; text-align: center; }
.product-fulfillment-note { margin: 11px 0 0; color: var(--muted); font-size: 8px; line-height: 1.6; }
.product-fulfillment-note span { display: block; }

@media (max-width: 860px) {
  .overview-content { grid-template-columns: 1fr; }
  .compare-insurer-products { grid-template-columns: 1fr; }
  .library-index { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .insurer-library-grid { grid-template-columns: 1fr; }
  .case-story { grid-template-columns: 1fr; }
  .case-story-media { min-height: 390px; max-height: 470px; }
}

@media (max-width: 680px) {
  .page-head { padding: 29px 20px 22px; }
  .head-row { display: flex; align-items: flex-start; gap: 12px; }
  .head-row > div:first-child { min-width: 0; }
  .page-head h1 { font-size: 30px; }
  .download-center-button { min-width: 43px; width: 43px; height: 43px; padding: 0; }
  .download-center-button span { display: none; }
  .workspace-tabs { display: flex; gap: 4px; margin-top: 20px; overflow-x: auto; scrollbar-width: none; }
  .workspace-tabs::-webkit-scrollbar { display: none; }
  .workspace-tabs button { flex: 0 0 auto; min-width: 96px; min-height: 42px; }
  .head-note { font-size: 12px; }
  .step-rail { gap: 6px; margin-top: 18px; padding: 0; background: transparent; }
  .flow-step { display: block; min-height: auto; }
  .flow-step b { width: 100%; height: 4px; border-radius: 99px; color: transparent; background: var(--line); }
  .flow-step.active b { color: transparent; background: var(--jade); }
  .flow-step span { display: none; }
  .page-shell { width: calc(100% - 24px); margin: 14px auto 40px; }
  .future-view, .discounts-view { min-height: 480px; }
  .future-card { min-height: 380px; padding: 30px 22px; }
  .case-selector { display: flex; overflow-x: auto; scrollbar-width: none; }
  .case-selector::-webkit-scrollbar { display: none; }
  .case-selector button { flex: 0 0 220px; min-height: 64px; padding: 11px 13px; }
  .case-story-media { min-height: 300px; }
  .case-story-content { padding: 25px 20px 23px; }
  .case-story h3 { font-size: 27px; white-space: normal; }
  .case-profile { flex-wrap: wrap; }
  .case-profile em { margin-left: 0; }
  .case-number-hero { grid-template-columns: 1fr; }
  .case-number-hero > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .case-number-hero > div:last-child { border-bottom: 0; }
  .case-journey { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 25px; }
  .case-journey::before { display: none; }
  .case-journey > div::before { display: none; }
  .case-source-row { display: block; margin-top: 4px; }
  .case-source-row > span { display: block; }
  .case-plan { grid-template-columns: 1fr; gap: 11px; }
  .case-plan > div, .case-plan > div:first-child, .case-plan > div:last-child { padding: 0; border-right: 0; }
  .case-timeline { gap: 8px; }
  .case-calculate-action { width: 100%; margin-top: 18px; }
  .library-hero { display: block; padding: 26px 22px; }
  .library-stats { margin-top: 22px; grid-template-columns: repeat(3, minmax(82px, 1fr)); overflow-x: auto; }
  .library-index { grid-template-columns: repeat(4, minmax(70px, 1fr)); overflow-x: auto; }
  .library-section { padding: 20px 16px; border-radius: 17px; }
  .library-hub { padding: 20px 16px; border-radius: 17px; }
  .library-insurer-profile { grid-template-columns: 1fr; }
  .insurer-profile-brand { min-height: 104px; padding: 18px; }
  .insurer-wordmark strong { font-size: 34px; }
  .insurer-profile-content { padding: 18px 15px 16px; }
  .insurer-profile-heading h2 { font-size: 21px; }
  .insurer-profile-facts { grid-template-columns: 1fr; }
  .insurer-profile-facts > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .insurer-profile-facts > div:last-child { border-bottom: 0; }
  .insurer-profile-foot { display: block; }
  .library-fulfillment { margin-top: 20px; padding-top: 20px; }
  .fulfillment-summary { padding: 20px 16px; border-radius: 17px; }
  .fulfillment-summary-head { align-items: flex-start; }
  .fulfillment-summary-table th, .fulfillment-summary-table td { padding: 9px 5px; }
  .fulfillment-summary-table thead th:not(:first-child) { width: 70px; }
  .fulfillment-summary-table thead th:nth-child(3) { width: 82px; }
  .fulfillment-summary-table thead th:last-child { width: 88px; }
  .fulfillment-summary-table tbody th { font-size: 10px; }
  .fulfillment-summary-table tbody td strong { font-size: 11px; }
  .fulfillment-best-badge { display: block; width: max-content; margin: 3px auto 0; }
  .fulfillment-detail-link { min-width: 0; min-height: 28px; padding: 0 6px; font-size: 7px; }
  .representative-fulfillment { padding: 20px 16px; border-radius: 17px; }
  .representative-fulfillment-head { align-items: flex-start; }
  .representative-fulfillment-head p { max-width: 220px; line-height: 1.5; }
  .representative-table-wrap { overflow: visible; border: 0; background: transparent; }
  .representative-table, .representative-table tbody { display: block; }
  .representative-table thead { display: none; }
  .representative-table tbody tr { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; margin-bottom: 10px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
  .representative-table tbody tr:last-child { margin-bottom: 0; }
  .representative-table tbody th, .representative-table tbody td { height: auto; padding: 0; border: 0; background: transparent; }
  .representative-table tbody tr:nth-child(even) td { background: transparent; }
  .representative-table tbody th { grid-column: 1; padding-left: 12px; font-size: 11px; }
  .representative-table tbody th::before { width: 4px; border-radius: 99px; }
  .representative-product { grid-column: 1 / -1; padding: 8px 0 3px !important; border-top: 1px solid var(--line) !important; }
  .representative-product strong { font-size: 11px; }
  .representative-average { grid-column: 1; text-align: left; }
  .representative-average::before { display: block; margin-bottom: 3px; color: var(--muted); font-size: 7px; content: "同类历史平均"; }
  .representative-average.representative-best { background: transparent; }
  .representative-average .fulfillment-best-badge { display: inline-flex; margin: 0 0 0 6px; vertical-align: 2px; }
  .representative-sample { grid-column: 2; text-align: right; }
  .representative-link-cell { grid-column: 1 / -1; }
  .representative-link-cell .fulfillment-detail-link { width: 100%; min-height: 32px; }
  .product-fulfillment-head { display: block; }
  .fulfillment-head-summary { justify-content: space-between; margin-top: 11px; }
  .product-fulfillment-head p { max-width: 270px; line-height: 1.5; }
  .product-fulfillment-head .fulfillment-year { display: inline-flex; }
  .product-fulfillment-legend { gap: 8px 12px; margin-top: 14px; }
  .product-fulfillment-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
  .product-fulfillment-tabs::-webkit-scrollbar { display: none; }
  .product-fulfillment-tabs button { flex: 0 0 82px; min-height: 34px; }
  .product-fulfillment-wrap { margin-right: -3px; border-radius: 11px; }
  .product-fulfillment-table { min-width: 1080px; }
  .product-fulfillment-table th, .product-fulfillment-table td { height: 36px; padding: 7px 6px; }
  .product-fulfillment-table thead th:first-child { width: 154px; }
  .product-fulfillment-table thead th:nth-child(2) { width: 90px; }
  .product-fulfillment-product { font-size: 8px; }
  .product-fulfillment-insurer a { float: none; margin-left: 9px; }
  .library-directory-head { align-items: flex-start; }
  .library-table thead th:last-child { width: 116px; }
  .library-table .library-insurer-row th:last-child { width: 116px; padding: 6px 11px; }
  .library-table td { padding: 10px 11px; }
  .library-table td a { min-width: 86px; padding: 0 8px; }
  .library-section-head, .fulfillment-heading { align-items: flex-start; }
  .fulfillment-scale { display: none; }
  .insurer-library-card > header { padding: 18px; }
  .insurer-library-body { padding: 18px; }
  .library-actions { grid-template-columns: 1fr; }
  .embedded-view-heading { align-items: center; }
  .discounts-native-shell { padding: 18px 14px; border-radius: 17px; }
  .download-center-layer { align-items: end; padding: 0; }
  .download-center-dialog { width: 100%; max-height: 94svh; padding: 22px 15px 28px; border-radius: 24px 24px 0 0; transform: translateY(100%); }
  .download-center-head { padding: 0 3px 17px; }
  .download-center-head h2 { font-size: 25px; }
  .download-option-card, .poster-option-card { grid-template-columns: 40px 1fr; gap: 12px; padding: 15px; }
  .download-option-icon { width: 40px; height: 40px; }
  .download-option-actions, .poster-case-picker, .poster-option-card > .download-primary { grid-column: 2; }
  .poster-case-picker { width: 100%; }
  .poster-case-picker > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .poster-option-card > .download-primary { width: 100%; }
  .download-option-actions.single-action { min-width: 0; }
  .poster-preview-head { align-items: flex-start; flex-direction: column; }
  .poster-preview-head > div:last-child { width: 100%; }
  .poster-preview-head button { flex: 1; }
  .condition-summary { display: block; padding: 14px; }
  .condition-summary-copy { margin-bottom: 12px; }
  .secondary-action { width: 100%; }
  .policy-overview, .trend-panel, .single-feature-section, .table-section, .compare-section { padding: 19px 17px; border-radius: 17px; }
  .single-feature-heading { align-items: flex-start; }
  .single-feature-product { max-width: 66%; }
  .single-feature-highlights { grid-template-columns: 1fr; }
  .single-highlight { min-height: 0; padding: 13px 15px; }
  .single-feature-toggle { width: 100%; }
  .single-feature-table th,
  .single-feature-table td { padding: 12px 11px; }
  .single-feature-table thead th:first-child { width: 112px; }
  .overview-badge { max-width: 48%; text-align: center; }
  .payment-summary-head { grid-template-columns: 1fr; gap: 14px; }
  .payment-plan-formula { font-size: 28px; }
  .payment-saving { min-width: 0; }
  .payment-summary-card { padding: 16px; }
  .trend-heading { display: block; }
  .chart-switch, .axis-switch { width: 100%; min-width: 0; margin-top: 16px; }
  .trend-chart { height: 410px; }
  .compare-trend-chart { height: 430px; }
  .compare-series-item { flex: 1 1 calc(50% - 7px); min-width: 0; }
  .deposit-benchmark-option { flex: 1; justify-content: center; }
  .compare-benchmark-insight { align-items: flex-start; flex-direction: column; gap: 2px; }
  .condition-layer { align-items: flex-end; }
  .condition-drawer { width: 100%; height: auto; max-height: 92svh; padding: 20px 16px 26px; border-radius: 24px 24px 0 0; transform: translateY(105%); }
  .condition-layer.open .condition-drawer { transform: translateY(0); }
  .drawer-heading { position: sticky; top: -20px; z-index: 2; margin: -20px -16px 20px; padding: 20px 16px 12px; background: var(--paper); }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
