/* ==========================================================================
   Let's talk finance – Guide (Finanzpix-Design, Liquid Glass)
   Portiert aus der eigenständigen Vorlage; Klassen sind eindeutig benannt (g*-Präfix bei Kollisionen).
   ========================================================================== */
.guide {
  --teal: #2a8f5b;
  --teal-deep: #1e6f47;
  --teal-soft: rgba(52, 165, 111, 0.13);
  --clay: #a8563c;
  --clay-soft: rgba(233, 120, 90, 0.14);
  --coral: #e07a5f;
  --gold: #c9a227;
  --gold-text: #7d6215;
  --gold-soft: rgba(232, 189, 79, 0.2);
  --card: rgba(255, 255, 255, 0.8);
  --paper: rgba(255, 255, 255, 0.55);
  --paper-deep: rgba(16, 56, 42, 0.08);
  --ink-soft: var(--ink-2);
  --ink-faint: var(--ink-3);
  --line: rgba(16, 56, 42, 0.12);
}
.guide h1, .guide h2, .guide h3, .guide h4 { font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.guide p { margin: 0 0 1em; }
.guide .lede { font-size: 1.1rem; color: var(--ink-2); line-height: 1.5; text-wrap: pretty; }
.guide .num { font-variant-numeric: tabular-nums; }
.guide-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 150; background: linear-gradient(90deg, var(--g-400), var(--teal), var(--sun)); }
.guide__noscript { max-width: 760px; margin: 120px auto 24px; padding: 20px 24px; border-radius: 20px; background: var(--clay-soft); color: var(--clay); }

/* Sticky Kapitel-Navigation */
.guide-nav { position: sticky; top: 82px; z-index: 60; padding-inline: var(--gutter); margin-top: calc(var(--header-h) + 6px); pointer-events: none; }
.gsteps { --r: 999px; pointer-events: auto; display: flex; gap: 4px; max-width: 940px; margin-inline: auto; padding: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.gsteps::-webkit-scrollbar { display: none; }
.gsteps a { flex: 0 0 auto; padding: 0.65em 1.05em; border-radius: 999px; font-size: 0.85rem; font-weight: 600; color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: background 0.3s, color 0.3s; }
.gsteps a:hover { background: rgba(52, 165, 111, 0.12); color: var(--g-800); }
.gsteps a.active { background: linear-gradient(180deg, #43bd84, #1f7a4d); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 6px 14px -6px rgba(30, 111, 71, 0.6); }

.guide__main { max-width: calc(900px + var(--gutter) * 2); margin-inline: auto; padding: 0 var(--gutter) var(--section); }

/* Hero */
.ghero { position: relative; padding: clamp(40px, 8vw, 90px) 0 clamp(36px, 5vw, 60px); }
.ghero .spark { position: absolute; left: -20%; right: -20%; bottom: -10px; width: 140%; height: 220px; opacity: 0.55; pointer-events: none; z-index: -1; }
.ghero .spark path { fill: none; stroke: var(--g-400); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: gdraw 3s var(--ease) 0.3s forwards; }
@keyframes gdraw { to { stroke-dashoffset: 0; } }
.ghero .content { position: relative; }
.ghero .eyebrow { margin-bottom: 18px; }
.ghero h1 { font-size: clamp(2.5rem, 7vw, 5rem); line-height: 1; letter-spacing: -0.045em; max-width: 12ch; margin-bottom: 22px; }
.ghero .lede { max-width: 38em; font-size: clamp(1.1rem, 1.7vw, 1.3rem); }
.btn-scroll { display: inline-flex; align-items: center; gap: 0.6em; margin-top: 8px; padding: 0.9em 1.5em; border-radius: 999px; font-weight: 600; text-decoration: none; color: #fff; background: linear-gradient(180deg, #43bd84, #1f7a4d); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.5), 0 14px 28px -10px rgba(30, 111, 71, 0.65); transition: transform 0.35s var(--ease-spring); }
.btn-scroll:hover { color: #fff; transform: translateY(-2px); }
.at-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; background: var(--gold-soft); color: var(--gold-text); border-radius: 999px; padding: 4px 10px; white-space: nowrap; vertical-align: middle; }
.at-callout { display: flex; gap: 12px; align-items: flex-start; background: var(--gold-soft); border: 1px solid rgba(232, 189, 79, 0.4); border-radius: 18px; padding: 14px 18px; margin: 24px 0; font-size: 0.9rem; color: var(--ink-2); line-height: 1.5; max-width: 40em; }
.at-callout .flag { font-size: 1.2rem; line-height: 1.3; }
.at-callout b { color: var(--ink); }

/* Kapitel-Panels (Glas) */
.gsec { --r: var(--r-xl); padding: clamp(24px, 4.4vw, 56px); margin-bottom: clamp(16px, 2.4vw, 28px); scroll-margin-top: 150px; }
.gsec > .eyebrow { margin-bottom: 14px; }
.gsec h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.08; margin-bottom: 16px; text-wrap: balance; }
.gsec h2 .at-badge { font-size: 0.65rem; }
.js .gsec[data-reveal] { transform: translateY(40px); }
.js .gsec[data-reveal].is-in { transform: none; }

/* Bausteine / Schichten */
.gstack { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
.glayer { --tone: var(--g-500); padding: 20px 22px 8px; border-radius: 22px; background: var(--card); border: 1px solid rgba(255, 255, 255, 0.9); border-left: 6px solid var(--tone); box-shadow: inset 0 1px 0 #fff, 0 12px 26px -18px rgba(16, 56, 42, 0.45); display: flex; flex-direction: column; }
.glayer[data-tone="foundation"] { --tone: var(--ink); }
.glayer[data-tone="growth"] { --tone: var(--g-500); }
.glayer[data-tone="bonus"] { --tone: var(--gold); }
.glayer[data-tone="satellite"] { --tone: var(--coral); }
.glayer .tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.glayer h3 { font-size: 1.2rem; margin-bottom: 6px; }
.glayer .short { color: var(--ink-2); font-size: 0.95rem; margin-bottom: 2px; flex: 1; }
.explore-hint { font-size: 0.82rem; color: var(--ink-3); margin-top: 16px; font-style: italic; }
.explore-btn { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin: 12px 0 14px; padding: 0 1.25em; min-height: 44px; border-radius: 999px; font-size: 0.9rem; font-weight: 600; color: #fff; background: var(--g-900); transition: transform 0.3s var(--ease-spring), background 0.3s; }
.explore-btn:hover { background: var(--g-700); }
.explore-btn span { transition: transform 0.2s; }
.explore-btn:hover span { transform: translateX(3px); }
.gstack:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }

/* Rechner & Karten */
.gcalc { background: var(--card); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 26px; padding: clamp(18px, 3vw, 30px); margin-top: 24px; box-shadow: inset 0 1px 0 #fff, 0 14px 30px -20px rgba(16, 56, 42, 0.45); }
.calc-row { margin-bottom: 20px; }
.calc-row label { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9rem; font-weight: 600; color: var(--ink-2); margin-bottom: 12px; }
.calc-row label .val { color: var(--teal-deep); font-weight: 700; }
.calc-results { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.result-card { background: rgba(255, 255, 255, 0.7); border-radius: 18px; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, 0.9); }
.result-card.etf { border-top: 4px solid var(--g-500); }
.result-card.bank { border-top: 4px solid var(--coral); }
.rc-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); }
.rc-value { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 750; letter-spacing: -0.04em; margin-top: 4px; }
.rc-sub { font-size: 0.78rem; color: var(--ink-3); margin-top: 2px; }
.delta-line { margin-top: 14px; padding: 14px 18px; background: var(--teal-soft); border-radius: 16px; color: var(--teal-deep); font-size: 0.95rem; }
.faustregel { margin-top: 16px; font-size: 0.9rem; color: var(--ink-2); border-top: 1px dashed var(--line); padding-top: 14px; }
.fineprint { font-size: 0.78rem; color: var(--ink-3); margin-top: 12px; line-height: 1.5; }
.fineprint a { color: var(--g-700); }

.allocation { margin-top: 24px; }
.alloc-row { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; font-size: 0.9rem; }
.alloc-label { flex: 0 0 160px; color: var(--ink-2); }
.alloc-bar-wrap { flex: 1; background: var(--paper-deep); border-radius: 999px; height: 12px; overflow: hidden; }
.alloc-bar { height: 100%; border-radius: 999px; }
.alloc-pct { flex: 0 0 48px; text-align: right; font-weight: 700; }

/* Chart */
.chart-wrap { background: var(--card); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 26px; padding: clamp(16px, 2.6vw, 26px) clamp(14px, 2.6vw, 26px) 10px; margin-top: 24px; box-shadow: inset 0 1px 0 #fff, 0 14px 30px -20px rgba(16, 56, 42, 0.45); }
.chart-stats { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 10px; }
.gstat b { display: block; font-size: 1.4rem; letter-spacing: -0.04em; font-weight: 750; }
.gstat span { font-size: 0.72rem; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.05em; }
#msci-chart { width: 100%; height: auto; display: block; touch-action: manipulation; }
#msci-chart .price-path { fill: none; stroke: var(--g-600); stroke-width: 3; stroke-linejoin: round; }
#msci-chart .price-area { fill: url(#areaGrad); stroke: none; }
#msci-chart .event-dot { fill: #fff; stroke: var(--coral); stroke-width: 3; cursor: pointer; transition: r 0.15s; }
#msci-chart .event-dot:hover, #msci-chart .event-dot:focus-visible { r: 8; outline: none; }
#msci-chart .event-dot.active { fill: var(--coral); r: 8; }
#msci-chart .axis-label { font-size: 12px; fill: var(--ink-3); }
.event-detail { background: var(--clay-soft); border-radius: 16px; padding: 16px 18px; margin: 14px 0 6px; font-size: 0.92rem; min-height: 72px; }
.ed-date { font-size: 0.74rem; font-weight: 700; color: var(--clay); margin-bottom: 4px; display: block; letter-spacing: 0.03em; }
.ed-title { font-weight: 700; margin-bottom: 4px; display: block; }
.live-note { font-size: 0.8rem; color: var(--ink-2); margin: 10px 0 8px; }
.live-note .num { color: var(--gold-text); font-weight: 700; }
.timeline { margin-top: 26px; }
.timeline details { border-left: 2px solid var(--line); padding-left: 18px; margin-bottom: 2px; position: relative; }
.timeline details::before { content: ""; position: absolute; left: -6px; top: 17px; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid var(--coral); }
.timeline summary { cursor: pointer; padding: 6px 0; list-style: none; }
.timeline summary::-webkit-details-marker { display: none; }
.timeline .ed-date-inline { font-weight: 700; color: var(--clay); font-size: 0.86rem; }
.timeline .content { padding: 6px 0 14px; color: var(--ink-2); font-size: 0.95rem; }
.lesson-box { margin-top: 26px; background: linear-gradient(150deg, var(--g-700), var(--g-900)); color: #e9f7ef; border-radius: 24px; padding: 24px 26px; box-shadow: 0 24px 44px -24px rgba(16, 56, 42, 0.7); }
.ll-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sun); margin-bottom: 10px; display: block; }

/* Simulator */
.scenario-btns { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.scenario-btns button, .market-btns button { padding: 0 1.2em; min-height: 46px; border-radius: 999px; font-size: 0.9rem; font-weight: 600; color: var(--ink-2); background: rgba(255, 255, 255, 0.75); border: 1px solid rgba(255, 255, 255, 0.95); box-shadow: inset 0 1px 0 #fff, 0 6px 14px -10px rgba(16, 56, 42, 0.4); transition: all 0.3s var(--ease-spring); }
.scenario-btns button:hover, .market-btns button:hover { transform: translateY(-2px); }
.scenario-btns button.active, .market-btns button.active { color: #fff; background: linear-gradient(180deg, #43bd84, #1f7a4d); border-color: rgba(255, 255, 255, 0.3); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.5), 0 10px 20px -10px rgba(30, 111, 71, 0.7); }
.sim-result { margin-top: 20px; background: var(--card); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 26px; padding: clamp(18px, 3vw, 28px); box-shadow: inset 0 1px 0 #fff, 0 14px 30px -20px rgba(16, 56, 42, 0.45); }
.sim-bars { display: flex; align-items: flex-end; gap: 18px; height: 160px; margin: 6px auto 16px; max-width: 420px; }
.sim-bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.sim-bar { width: 100%; max-width: 80px; background: var(--paper-deep); border-radius: 10px 10px 0 0; transition: height 0.8s var(--ease); }
.sim-bar.invested { background: linear-gradient(180deg, #9aaba1, #7c8f84); }
.sim-bar.final { background: linear-gradient(180deg, var(--g-300), var(--g-600)); }
.sim-bar-label { font-size: 0.72rem; font-weight: 600; color: var(--ink-3); margin-top: 8px; text-align: center; line-height: 1.3; }
.sim-headline { font-size: clamp(1.8rem, 4.4vw, 2.6rem); font-weight: 780; letter-spacing: -0.05em; margin-bottom: 4px; }
.sim-sub { font-size: 0.92rem; color: var(--ink-2); margin-bottom: 14px; }
.sim-takeaway { font-size: 0.95rem; background: var(--teal-soft); color: var(--teal-deep); padding: 14px 18px; border-radius: 16px; }
.sim-instrument-note { margin-top: 12px; font-size: 0.86rem; color: var(--ink-2); background: var(--paper-deep); border-radius: 14px; padding: 12px 16px; }

/* Praxis */
.praxis-list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 16px; }
.praxis-list li { display: flex; gap: 16px; align-items: flex-start; }
.praxis-list .pi { flex: 0 0 36px; height: 36px; border-radius: 12px; background: linear-gradient(160deg, var(--g-400), var(--g-700)); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 0.9rem; box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.45), 0 8px 16px -8px rgba(30, 111, 71, 0.7); }
.praxis-list .pt b { display: block; margin-bottom: 2px; font-size: 1.02rem; }
.praxis-list .pt span { color: var(--ink-2); font-size: 0.95rem; }

/* Pro/Contra */
.pro-con { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 10px; font-size: 0.9rem; }
.pc { padding: 14px 18px; border-radius: 16px; line-height: 1.45; }
.pc.pro { background: var(--teal-soft); color: var(--g-800); }
.pc.con { background: var(--clay-soft); color: #7c3a26; }
.pc b { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; opacity: 0.85; }

/* Vergleich */
.criteria-grid { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.criteria-card { background: var(--card); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 20px; overflow: hidden; box-shadow: inset 0 1px 0 #fff, 0 8px 18px -14px rgba(16, 56, 42, 0.4); }
.criteria-card summary { list-style: none; cursor: pointer; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; font-weight: 650; gap: 12px; user-select: none; }
.criteria-card summary::-webkit-details-marker { display: none; }
.cc-icon { color: var(--g-600); margin-right: 12px; font-weight: 700; }
.criteria-card summary::after { content: "+"; font-size: 1.3rem; color: var(--ink-3); transition: transform 0.3s var(--ease-spring); }
.criteria-card[open] summary::after { content: "–"; }
.cc-body { padding: 0 20px 18px; font-size: 0.92rem; color: var(--ink-2); }
.criteria-compare { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.cco { background: var(--paper-deep); border-radius: 12px; padding: 10px 14px; font-size: 0.88rem; }
.cco b { color: var(--ink); display: block; font-size: 0.8rem; margin-bottom: 2px; }
.market-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.market-detail { margin-top: 20px; }
.market-role { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--g-700); margin-bottom: 12px !important; }
.holding-card { border-radius: 22px; padding: 20px 22px; margin-bottom: 12px; }
.holding-card.mine { background: linear-gradient(150deg, rgba(120, 214, 168, 0.3), rgba(255, 255, 255, 0.7)); border: 1.5px solid var(--g-400); }
.holding-card.alt { background: var(--card); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: inset 0 1px 0 #fff; }
.hc-badge { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 11px; border-radius: 999px; display: inline-block; margin-bottom: 10px; }
.holding-card.mine .hc-badge { background: var(--g-600); color: #fff; }
.holding-card.alt .hc-badge { background: var(--paper-deep); color: var(--ink-2); }
.holding-card h4 { font-size: 1.1rem; margin: 0 0 12px; }
.holding-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; font-size: 0.86rem; }
.holding-grid div span { display: block; color: var(--ink-3); font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.holding-grid div b { font-weight: 650; font-variant-numeric: tabular-nums; }
.justetf-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 600; font-size: 0.9rem; color: var(--g-700); }

/* Quellen */
.sources { list-style: none; padding: 0; margin: 18px 0; display: flex; flex-direction: column; gap: 10px; }
.sources li { font-size: 0.9rem; border-bottom: 1px dotted var(--line); padding-bottom: 10px; color: var(--ink-2); }
.disclaimer { font-size: 0.8rem; color: var(--ink-3); margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); line-height: 1.55; }

/* Detail-Overlay */
.explore-overlay { position: fixed; inset: 0; z-index: 250; background: rgba(15, 36, 25, 0.38); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: flex; align-items: flex-end; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.explore-overlay.open { opacity: 1; pointer-events: auto; }
.explore-panel { --r: 30px; width: 100%; max-height: 94vh; max-height: 94dvh; overflow-y: auto; border-radius: 30px 30px 0 0; transform: translateY(40px); transition: transform 0.55s var(--ease-spring); -webkit-overflow-scrolling: touch; background: linear-gradient(150deg, rgba(255, 255, 255, 0.95), rgba(246, 252, 249, 0.9)); overscroll-behavior: contain; }
.explore-overlay.open .explore-panel { transform: none; }
.explore-topbar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; background: rgba(255, 255, 255, 0.85); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); border-radius: 30px 30px 0 0; }
.explore-dots { display: flex; gap: 2px; }
.explore-dots button { width: 28px; height: 28px; padding: 0; display: grid; place-items: center; border-radius: 50%; }
.explore-dots button::after { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--line); transition: all 0.4s var(--ease-spring); }
.explore-dots button.active::after { background: var(--g-500); width: 20px; }
.explore-dots button.active { width: 40px; }
.explore-close { width: 44px; height: 44px; border-radius: 50%; background: rgba(16, 56, 42, 0.07); font-size: 1rem; flex: none; }
.explore-close:hover { background: rgba(16, 56, 42, 0.13); }
.explore-body { padding: 24px clamp(18px, 4vw, 34px) 40px; }
.op-eyebrow { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--g-700); margin-bottom: 8px; }
.op-title { font-size: clamp(1.6rem, 3.6vw, 2.2rem); font-weight: 750; letter-spacing: -0.04em; margin-bottom: 10px; line-height: 1.1; }
.op-intro { color: var(--ink-2); font-size: 1rem; margin-bottom: 24px; }
.op-section { margin-bottom: 28px; }
.op-section h4 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-3); margin-bottom: 12px; font-weight: 700; }
.op-section p { font-size: 0.95rem; color: var(--ink-2); }
.viz-box { background: var(--card); border: 1px solid rgba(255, 255, 255, 0.95); border-radius: 22px; padding: 18px; box-shadow: inset 0 1px 0 #fff, 0 10px 22px -16px rgba(16, 56, 42, 0.4); }
.viz-flex { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.donut-wrap { flex: 0 0 auto; width: 156px; height: 156px; position: relative; }
.donut-wrap svg { width: 100%; height: 100%; cursor: pointer; }
.donut-center { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; pointer-events: none; }
.donut-center b { font-size: 1.2rem; letter-spacing: -0.04em; }
.donut-center span { font-size: 0.62rem; color: var(--ink-3); text-transform: uppercase; max-width: 80px; }
.donut-legend { flex: 1; min-width: 160px; display: flex; flex-direction: column; gap: 6px; }
.donut-legend button { display: flex; align-items: center; gap: 8px; padding: 6px 8px; font-size: 0.86rem; color: var(--ink); text-align: left; border-radius: 10px; transition: background 0.15s; min-height: 38px; }
.donut-legend button:hover, .donut-legend button.active { background: var(--teal-soft); }
.donut-legend .dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.donut-legend .lg-val { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; }
.viz-caption { margin-top: 14px; font-size: 0.86rem; color: var(--ink-2); background: var(--paper-deep); border-radius: 12px; padding: 11px 14px; min-height: 22px; }
.mini-line-svg { width: 100%; height: auto; display: block; }
.mini-line-svg .ml-path { fill: none; stroke: var(--g-600); stroke-width: 2.6; stroke-linejoin: round; }
.mini-line-svg .ml-dot { fill: #fff; stroke: var(--coral); stroke-width: 2.4; cursor: pointer; }
.mini-line-svg .ml-dot.active { fill: var(--coral); r: 7; }
.mini-line-svg .ml-axis { font-size: 10px; fill: var(--ink-3); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.gchip { display: inline-block; padding: 8px 15px; border-radius: 999px; font-size: 0.86rem; color: var(--ink); background: rgba(255, 255, 255, 0.8); border: 1px solid rgba(255, 255, 255, 0.95); box-shadow: inset 0 1px 0 #fff, 0 4px 10px -8px rgba(16, 56, 42, 0.5); text-decoration: none; transition: all 0.2s; }
a.gchip:hover { background: var(--teal-soft); color: var(--g-800); }
.gchip b { color: var(--g-700); margin-right: 5px; }
.bars-compare { display: flex; align-items: flex-end; gap: 16px; height: 170px; margin-bottom: 12px; }
.bc-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.bc-bar { width: 100%; max-width: 70px; border-radius: 10px 10px 0 0; transition: height 0.8s var(--ease); }
.bc-label { font-size: 0.72rem; font-weight: 600; color: var(--ink-3); margin-top: 8px; text-align: center; line-height: 1.3; }
.bc-val { font-size: 0.82rem; font-weight: 750; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.cost-stack { display: flex; height: 34px; border-radius: 10px; overflow: hidden; margin-bottom: 12px; }
.cost-stack div { display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 600; color: #fff; }
.cost-legend { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 0.8rem; color: var(--ink-2); }
.cost-legend span { display: flex; align-items: center; gap: 6px; }
.cost-legend .dot { width: 9px; height: 9px; border-radius: 3px; }
.op-nav-footer { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.op-nav-footer button { font-size: 0.86rem; font-weight: 600; border: 1px solid var(--line); border-radius: 999px; padding: 0 1em; min-height: 46px; color: var(--ink-2); flex: 1; background: rgba(255, 255, 255, 0.7); transition: all 0.25s; }
.op-nav-footer button:hover { background: #fff; color: var(--g-800); transform: translateY(-1px); }

@media (min-width: 760px) {
  .pro-con { grid-template-columns: 1fr 1fr; }
  .criteria-compare { flex-direction: row; }
  .criteria-compare .cco { flex: 1; }
  .explore-overlay { align-items: center; padding: 28px; }
  .explore-panel { max-width: 720px; border-radius: 32px; max-height: 90vh; max-height: 90dvh; transform: translateY(18px) scale(0.98); }
  .explore-overlay.open .explore-panel { transform: none; }
  .explore-topbar { border-radius: 32px 32px 0 0; }
}
@media (max-width: 760px) {
  .gstack, .gstack:has(> :nth-child(3):last-child) { grid-template-columns: 1fr; }
  .calc-results { grid-template-columns: 1fr; }
  .alloc-label { flex-basis: 110px; font-size: 0.82rem; }
  .guide-nav { top: 78px; }
  .holding-grid { grid-template-columns: 1fr 1fr; }
}
