.gp-page {
  --gp-blue: #087fa8;
  --gp-blue-deep: #09607f;
  --gp-gold: #c68a2d;
  --gp-gold-soft: rgba(198, 138, 45, .12);
  --gp-stroke: var(--border-color, #d9e1ea);
  --gp-text: var(--text-primary, #152335);
  --gp-muted: var(--text-secondary, #66778a);
  max-width: 1360px;
  margin: 0 auto;
  padding: 22px clamp(14px, 3.2vw, 44px) 76px;
  color: var(--gp-text);
}
.gp-page *, .gp-page *::before, .gp-page *::after { box-sizing: border-box; }
.gp-page button, .gp-page a { -webkit-tap-highlight-color: transparent; }
.gp-page a { text-decoration: none; }
.gp-page button:focus-visible, .gp-page a:focus-visible, .gp-page input:focus-visible, .gp-page summary:focus-visible {
  outline: 3px solid #45a7cf;
  outline-offset: 3px;
}
.gp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(250px, .65fr);
  gap: clamp(22px, 3vw, 46px);
  align-items: center;
  min-height: 290px;
  padding: clamp(24px, 4vw, 50px);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(87, 126, 148, .29);
  border-radius: 25px;
  background: linear-gradient(125deg, #0f293d 0%, #10273b 58%, #16374b 100%);
  box-shadow: 0 20px 48px rgba(10, 41, 60, .13);
  color: #f4f9fb;
}
.gp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 90% 22%, rgba(216, 166, 64, .16), transparent 31%),
              radial-gradient(circle at 15% 85%, rgba(70, 169, 193, .11), transparent 36%);
}
.gp-hero-copy, .gp-hero-art { position: relative; z-index: 1; }
.gp-eyebrow { margin: 0 0 13px; display: flex; align-items: center; gap: 10px; color: #c6dde6; font-size: .8rem; font-weight: 750; }
.gp-eyebrow-line { display: inline-block; width: 25px; height: 2px; border-radius: 2px; background: #d8a64c; }
.gp-hero h1 { margin: 0; max-width: 790px; font-size: clamp(1.65rem, 3vw, 2.65rem); font-weight: 900; line-height: 1.52; letter-spacing: -.025em; color: #f4f9fb; }
.gp-hero h1 span { color: #f1be60; }
.gp-hero-lead { max-width: 690px; margin: 18px 0 22px; line-height: 2; color: #cfdee5; font-size: .96rem; }
.gp-hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.gp-hero-links a { display: inline-flex; justify-content: center; align-items: center; gap: 7px; min-height: 39px; padding: 8px 15px; border-radius: 9px; font-size: .78rem; font-weight: 780; transition: transform .18s, background .18s; }
.gp-hero-links a:hover { transform: translateY(-2px); }
.gp-primary-link { background: #e9b451; color: #1e2f3d; }
.gp-primary-link:hover { background: #f8ca74; color: #1e2f3d; }
.gp-secondary-link { border: 1px solid rgba(223, 238, 245, .32); color: #e7f1f5; background: rgba(255,255,255,.055); }
.gp-secondary-link:hover { color: #fff; background: rgba(255,255,255,.13); }
.gp-hero-art { width: min(100%, 270px); height: 242px; justify-self: center; display: flex; justify-content: center; align-items: center; }
.gp-art-orbit { position: absolute; border: 1px solid rgba(226, 182, 88, .28); border-radius: 50%; transform: rotate(-18deg); }
.gp-art-orbit-one { width: 218px; height: 156px; }
.gp-art-orbit-two { width: 270px; height: 216px; border-color: rgba(182, 218, 226, .18); transform: rotate(18deg); }
.gp-art-ingot-img { position:relative; z-index:1; display:block; width:min(100%,270px); height:auto; max-height:210px; object-fit:contain; filter:drop-shadow(0 16px 17px rgba(0,0,0,.3)); }
.gp-art-caption { position: absolute; bottom: 16px; left: 50%; white-space: nowrap; transform: translateX(-50%); color: #d5e5eb; font-size: .75rem; }
.gp-art-caption span { color: #e9b451; padding: 0 4px; }
.gp-art-baseline { position: absolute; top: 10px; right: 3px; display: flex; align-items: flex-end; gap: 4px; height: 34px; opacity: .55; }
.gp-art-baseline span { display: block; width: 5px; border-radius: 6px; background: #b9e1e2; }
.gp-art-baseline span:nth-child(1) { height: 12px; } .gp-art-baseline span:nth-child(2) { height: 18px; } .gp-art-baseline span:nth-child(3) { height: 15px; } .gp-art-baseline span:nth-child(4) { height: 27px; } .gp-art-baseline span:nth-child(5) { height: 22px; } .gp-art-baseline span:nth-child(6) { height: 31px; } .gp-art-baseline span:nth-child(7) { height: 26px; }
.gp-controls, .gp-result, .gp-scenario, .gp-method, .gp-faq { margin-top: 38px; }
.gp-result { scroll-margin-top: 90px; }
.gp-section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 18px; margin-bottom: 17px; }
.gp-section-heading > div { display: flex; align-items: center; gap: 10px; }
.gp-section-heading h2 { margin: 0; color: var(--gp-text); font-size: clamp(1.08rem, 1.7vw, 1.35rem); font-weight: 860; line-height: 1.5; }
.gp-result-permalink { display:inline-flex; align-items:center; gap:5px; padding:5px 8px; border:1px solid var(--gp-stroke); border-radius:7px; color:var(--gp-blue-deep); background:var(--bg-card,#fff); font-size:.68rem; font-weight:750; white-space:nowrap; }
.gp-result-permalink:hover { color:var(--gp-blue); border-color:var(--gp-blue); }
.gp-copy-feedback { color:var(--gp-blue-deep); font-size:.7rem; font-weight:750; }
.gp-copy-feedback[hidden] { display:none; }
.gp-result-heading > div { flex-wrap:wrap; }
.gp-section-heading p { margin: 0; color: var(--gp-muted); font-size: .79rem; line-height: 1.8; }
.gp-section-index { font-size: .78rem; font-weight: 900; color: var(--gp-blue); border: 1px solid rgba(8,127,168,.28); border-radius: 7px; padding: 4px 7px; direction: ltr; }
.gp-source-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin-top: 12px; }
.gp-source-group { border: 1px solid var(--gp-stroke); border-radius: 14px; padding: 16px 18px; background: var(--bg-card, #fff); }
.gp-source-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 7px 12px; font-size: .83rem; font-weight: 800; margin-bottom: 11px; }
.gp-source-title { display: inline-flex; align-items: center; gap: 7px; }
.gp-source-quote { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--gp-stroke); border-radius: 7px; padding: 3px 7px; color: var(--gp-text); background: var(--bg-body, #f5f8fa); font-size: .73rem; font-weight: 750; white-space: nowrap; }
.gp-source-quote bdi { font-variant-numeric: tabular-nums; }
.gp-source-heading i { color: var(--gp-gold); }
.gp-source-group > small { display: block; color: var(--gp-muted); font-size: .73rem; line-height: 1.8; margin-top: 9px; min-height: 21px; }
.gp-segmented { display: inline-flex; flex-wrap: wrap; gap: 3px; border: 1px solid var(--gp-stroke); border-radius: 10px; padding: 3px; background: var(--bg-body, #f5f8fa); }
.gp-source-group .gp-segmented { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
.gp-source-group .gp-segmented button { min-width: 0; min-height: 38px; }
.gp-segmented button, .gp-range-buttons button, .gp-chart-kind button { border: 0; border-radius: 7px; padding: 8px 13px; background: transparent; color: var(--gp-muted); cursor: pointer; font-size: .77rem; font-weight: 750; transition: background .15s, color .15s; }
.gp-segmented button:hover, .gp-range-buttons button:hover, .gp-chart-kind button:hover { color: var(--gp-blue); background: rgba(8,127,168,.09); }
.gp-segmented button.is-active, .gp-range-buttons button.is-active, .gp-chart-kind button.is-active { background: var(--gp-blue); color: #fff; box-shadow: 0 3px 10px rgba(8,127,168,.18); }
.gp-mode-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 4px; padding: 4px; border-radius: 14px; background: var(--bg-card, #fff); }
.gp-mode-switch button { min-height: 52px; padding: 10px 14px; border-radius: 10px; text-align: center; font-size: .84rem; line-height: 1.6; white-space: normal; }
.gp-stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-bottom: 16px; }
.gp-page[data-mode="currency"] .gp-stat-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.gp-stat { position: relative; overflow: hidden; min-width: 0; border: 1px solid var(--gp-stroke); border-radius: 14px; padding: 18px 18px 16px; background: var(--bg-card, #fff); }
.gp-stat::before { content: ""; position: absolute; top: 0; right: 0; width: 4px; height: 100%; background: var(--gp-blue); }
.gp-stat-model::before { background: var(--gp-gold); }
.gp-stat-gap::before { background: #21a37a; }
.gp-stat-gap.is-negative::before { background: #d0535f; }
.gp-stat-label { display: block; font-size: .79rem; color: var(--gp-muted); font-weight: 700; line-height: 1.7; }
.gp-stat strong { display: block; max-width: 100%; margin-top: 10px; font-size: clamp(1.26rem, 2.3vw, 1.85rem); font-weight: 850; color: var(--gp-text); overflow-wrap: anywhere; text-align: right; font-variant-numeric: tabular-nums; }
.gp-stat-model strong { color: var(--gp-gold); }
.gp-stat-gap strong { color: #168b68; }
.gp-stat-gap.is-negative strong { color: #c64854; }
.gp-stat small { display: block; margin-top: 5px; color: var(--gp-muted); font-size: .73rem; }
.gp-stat small bdi { display: inline-block; direction: ltr; unicode-bidi: isolate; font-weight: 850; }
.gp-chart-card { border: 1px solid var(--gp-stroke); border-radius: 17px; background: var(--bg-card, #fff); box-shadow: var(--shadow-card, 0 8px 25px rgba(20,30,50,.06)); overflow: hidden; }
.gp-chart-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding: 19px 20px 10px; }
.gp-chart-top h3 { margin: 0; font-size: 1rem; font-weight: 850; }
.gp-chart-top p { margin: 5px 0 0; color: var(--gp-muted); font-size: .73rem; }
.gp-chart-kind { display: flex; flex-wrap: wrap; gap: 3px; padding: 3px; border: 1px solid var(--gp-stroke); border-radius: 10px; background: var(--bg-body, #f5f8fa); }
.gp-bubble-prompt { padding:0 20px 8px; }
.gp-bubble-ask { display:inline-flex; align-items:center; gap:7px; border:1px solid rgba(198,138,45,.5); border-radius:9px; padding:8px 12px; background:var(--gp-gold-soft); color:var(--gp-text); font-size:.76rem; font-weight:800; cursor:pointer; }
.gp-bubble-ask:hover { border-color:var(--gp-gold); background:rgba(198,138,45,.2); }
.gp-bubble-ask i { color:var(--gp-gold); }
.gp-chart-wrap { position: relative; height: clamp(290px, 31vw, 420px); padding: 8px 15px 12px; }
.gp-bubble-insight { position:absolute; z-index:5; top:16px; right:18px; width:min(355px, calc(100% - 36px)); padding:14px 15px; border:1px solid var(--gp-blue); border-radius:12px; background:var(--bg-card,#fff); box-shadow:0 12px 32px rgba(11,31,48,.2); color:var(--gp-text); }
.gp-bubble-insight[hidden] { display:none; }
.gp-bubble-insight.is-low { border-color:#168b68; }
.gp-bubble-insight.is-high { border-color:#c64854; }
.gp-bubble-insight strong { display:block; font-size:.79rem; line-height:1.6; }
.gp-bubble-insight p { margin:7px 0 0; color:var(--gp-muted); font-size:.74rem; line-height:1.8; }
.gp-bubble-insight bdi { font-weight:900; color:var(--gp-blue-deep); }
.gp-bubble-insight.is-low bdi { color:#168b68; }
.gp-bubble-insight.is-high bdi { color:#c64854; }
.gp-bubble-insight button { margin-top:10px; border:0; border-radius:7px; padding:6px 13px; background:var(--gp-blue); color:#fff; font-size:.72rem; font-weight:800; cursor:pointer; }
.gp-chart-wrap canvas { width: 100% !important; height: 100% !important; }
.gp-chart-wrap canvas[hidden] { display: none !important; }
.gp-empty { display: grid; place-items: center; height: 100%; padding: 30px; text-align: center; color: var(--gp-muted); font-size: .86rem; line-height: 2; }
.gp-empty[hidden] { display: none; }
.gp-chart-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; padding:5px 18px 15px; }
.gp-chart-metrics[hidden], .gp-window-navigator[hidden] { display:none; }
.gp-chart-metrics article { min-width:0; padding:11px 12px; border:1px solid var(--gp-stroke); border-radius:10px; background:var(--bg-body,#f5f8fa); }
.gp-chart-metrics article > span { display:block; color:var(--gp-muted); font-size:.71rem; line-height:1.6; }
.gp-metric-heading { display:flex; align-items:center; flex-wrap:wrap; gap:3px 5px; color:var(--gp-muted); font-size:.71rem; line-height:1.6; }
.gp-chart-metrics strong { display:block; margin-top:5px; color:var(--gp-text); font-size:clamp(.81rem,1.25vw,1rem); font-weight:850; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
.gp-chart-metrics strong.is-negative { color:#c64854; }
.gp-chart-metrics strong.is-positive { color:#168b68; }
.gp-chart-metrics small { color:var(--gp-muted); font-size:.63rem; }
.gp-metric-help { display:inline-block; vertical-align:middle; margin-inline-start:3px; }
.gp-metric-help summary { display:inline-grid; place-items:center; width:23px; height:23px; border-radius:50%; background:rgba(8,127,168,.13); color:var(--gp-blue-deep); font-size:.73rem; font-weight:900; cursor:pointer; list-style:none; }
.gp-metric-help summary::-webkit-details-marker { display:none; }
.gp-metric-help[open] { flex:1 1 100%; }
.gp-metric-help p { margin:7px 0 0; color:var(--gp-text); font-size:.72rem; font-weight:500; line-height:1.8; }
.gp-window-navigator { margin:0 18px 17px; padding:12px; border:1px solid var(--gp-stroke); border-radius:12px; background:var(--bg-body,#f5f8fa); }
.gp-navigator-track { position:relative; height:78px; overflow:hidden; border:1px solid var(--gp-stroke); border-radius:9px; background:var(--bg-card,#fff); touch-action:none; user-select:none; }
.gp-navigator-track canvas { position:absolute; inset:5px 0; width:100%!important; height:68px!important; }
.gp-navigator-mask { position:absolute; z-index:2; top:0; bottom:0; background:rgba(100,116,139,.23); pointer-events:none; }
.gp-navigator-mask-start { left:0; }
.gp-navigator-mask-end { right:0; }
.gp-navigator-selection { position:absolute; z-index:3; top:0; bottom:0; min-width:22px; border-block:1px solid rgba(8,127,168,.7); background:rgba(8,127,168,.09); }
.gp-navigator-handle { position:absolute; z-index:5; top:0; bottom:0; width:13px; padding:0; border:1px solid var(--gp-blue); border-radius:4px; background:#fff; box-shadow:0 1px 7px rgba(15,23,42,.2); cursor:ew-resize; touch-action:none; }
.gp-navigator-handle::after { content:""; position:absolute; top:50%; left:50%; width:3px; height:24px; transform:translate(-50%,-50%); border-inline:1px solid var(--gp-blue); }
.gp-navigator-handle-start { left:-6px; }
.gp-navigator-handle-end { right:-6px; }
.gp-navigator-drag { position:absolute; z-index:4; inset:0 8px; display:grid; place-items:center; color:var(--gp-blue); cursor:grab; touch-action:none; }
.gp-navigator-drag:active { cursor:grabbing; }
.gp-navigator-drag i { padding:3px 9px; border-radius:999px; background:var(--bg-card,#fff); box-shadow:0 1px 4px rgba(15,23,42,.14); }
.gp-navigator-dates { display:grid; grid-template-columns:minmax(145px,1fr) auto minmax(145px,1fr); gap:12px; align-items:end; margin-top:10px; direction:ltr; }
.gp-navigator-dates label { display:grid; gap:4px; margin:0; min-width:0; }
.gp-navigator-dates label span { color:var(--gp-muted); font-size:.68rem; font-weight:750; direction:rtl; }
.gp-navigator-dates input { width:100%; min-height:36px; padding:5px 8px; border:1px solid var(--gp-stroke); border-radius:8px; background:var(--bg-card,#fff); color:var(--gp-text); font-size:.76rem; text-align:center; }
.gp-navigator-dates input:focus { outline:0; border-color:var(--gp-blue); box-shadow:0 0 0 3px rgba(8,127,168,.12); }
.gp-navigator-extent { text-align:center; direction:rtl; }
.gp-navigator-extent span { display:block; color:var(--gp-muted); font-size:.62rem; }
.gp-navigator-extent b { display:block; color:var(--gp-text); font-size:.7rem; white-space:nowrap; }
.gp-window-error { margin:9px 0 0; color:#c64854; font-size:.72rem; }
.gp-window-help { margin:9px 0 0; color:var(--gp-muted); font-size:.69rem; line-height:1.7; text-align:center; }
.gp-chart-footnote { padding: 10px 20px 17px; border-top: 1px solid var(--gp-stroke); color: var(--gp-muted); font-size: .75rem; line-height: 1.9; }
.gp-range { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 13px; padding: 12px 15px; border: 1px solid var(--gp-stroke); border-radius: 12px; background: var(--bg-card, #fff); }
.gp-range > span { font-size: .8rem; font-weight: 800; white-space: nowrap; }
.gp-range > span i { color: var(--gp-blue); margin-left: 5px; }
.gp-range-buttons { display: flex; flex-wrap: wrap; gap: 4px; }
.gp-scenario { scroll-margin-top: 20px; }
.gp-scenario-shell { overflow: hidden; border: 1px solid rgba(8,127,168,.28); border-radius: 17px; background: var(--bg-card, #fff); box-shadow: 0 12px 30px rgba(8, 80, 109, .07); }
.gp-scenario-intro { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; padding: 18px 20px; border-bottom: 1px solid var(--gp-stroke); background: linear-gradient(110deg, rgba(8,127,168,.085), var(--bg-card, #fff) 70%); }
.gp-scenario-badge { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; color: var(--gp-blue-deep); font-size: .81rem; font-weight: 850; }
.gp-scenario-intro p { margin: 0; flex: 1 1 320px; color: var(--gp-muted); font-size: .79rem; line-height: 1.9; }
.gp-scenario-form { padding: 19px 20px 16px; }
.gp-scenario-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gp-scenario-field { display: flex; min-width: 0; flex-direction: column; gap: 7px; margin: 0; }
.gp-scenario-field > span { color: var(--gp-text); font-size: .81rem; font-weight: 800; }
.gp-scenario-field > span small { margin-right: 4px; color: var(--gp-muted); font-size: .7rem; font-weight: 600; }
.gp-scenario-field input { width: 100%; min-width: 0; height: 43px; padding: 8px 12px; border: 1px solid var(--gp-stroke); border-radius: 9px; outline: 0; color: var(--gp-text); background: var(--bg-body, #fff); text-align: left; font-size: .94rem; font-variant-numeric: tabular-nums; }
.gp-scenario-field input::placeholder { color: var(--gp-muted); opacity: .72; }
.gp-scenario-field input:focus { border-color: var(--gp-blue); box-shadow: 0 0 0 3px rgba(8,127,168,.14); }
.gp-scenario-field > small { color: var(--gp-muted); font-size: .72rem; line-height: 1.6; }
.gp-scenario-field > small bdi { font-weight: 800; }
.gp-typed-value { display: block; color: var(--gp-blue-deep); font-size: .75rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.gp-typed-value[hidden] { display: none; }
.gp-scenario-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 17px; }
.gp-scenario-submit { min-height: 41px; padding: 8px 17px; border: 0; border-radius: 9px; background: var(--gp-blue); color: #fff; cursor: pointer; font-size: .8rem; font-weight: 850; box-shadow: 0 5px 14px rgba(8,127,168,.17); }
.gp-scenario-submit:hover { filter: brightness(1.08); }
.gp-scenario-submit i { margin-left: 6px; }
.gp-scenario-actions p { margin: 0; color: var(--gp-muted); font-size: .73rem; line-height: 1.8; }
.gp-scenario-error { display: flex; align-items: flex-start; gap: 8px; margin: 0 20px 18px; padding: 10px 13px; border: 1px solid rgba(208,83,95,.35); border-radius: 9px; background: rgba(208,83,95,.075); color: #b94350; font-size: .79rem; line-height: 1.8; }
.gp-scenario-error i { margin-top: 5px; }
.gp-scenario-output { margin: 0 20px 20px; border: 1px solid rgba(8,127,168,.22); border-radius: 12px; background: rgba(8,127,168,.04); }
.gp-scenario-output-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 10px; padding: 13px 16px 4px; color: var(--gp-blue-deep); font-size: .81rem; }
.gp-scenario-output-heading > span { color: var(--gp-muted); font-size: .72rem; }
.gp-scenario-assumptions { margin: 0; padding: 2px 16px 0; color: var(--gp-muted); font-size: .75rem; line-height: 1.8; }
.gp-scenario-assumptions bdi { display: inline-block; direction: ltr; unicode-bidi: isolate; color: var(--gp-text); font-weight: 800; }
.gp-scenario-output-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; padding: 12px; }
.gp-scenario-output-grid > div { min-width: 0; padding: 13px 14px; border: 1px solid var(--gp-stroke); border-radius: 10px; background: var(--bg-card, #fff); }
.gp-scenario-output-grid span { display: block; color: var(--gp-muted); font-size: .75rem; line-height: 1.7; }
.gp-scenario-output-grid strong { display: block; margin-top: 6px; color: var(--gp-text); text-align: right; font-size: clamp(1.1rem, 2vw, 1.45rem); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.gp-scenario-output-grid small { display: block; margin-top: 4px; color: var(--gp-muted); font-size: .7rem; line-height: 1.6; }
.gp-scenario-output-grid .gp-scenario-gap strong { color: #168b68; }
.gp-scenario-output-grid .gp-scenario-gap.is-negative strong { color: #c64854; }
.gp-scenario-output-grid small bdi { display: inline-block; direction: ltr; unicode-bidi: isolate; font-weight: 800; }
.gp-method-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.gp-method-card { min-width: 0; padding: 18px 20px; border: 1px solid var(--gp-stroke); border-radius: 14px; background: var(--bg-card, #fff); }
.gp-method-number { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 10px; border-radius: 8px; background: var(--gp-gold-soft); color: var(--gp-gold); font-size: .85rem; font-weight: 900; }
.gp-method-card h3 { font-size: .9rem; font-weight: 850; margin: 0 0 8px; }
.gp-method-card p { margin: 0; color: var(--gp-muted); font-size: .79rem; line-height: 2; }
.gp-method-card b { direction: ltr; unicode-bidi: isolate; }
.gp-formula { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin-top: 12px; }
.gp-formula > div { min-width: 0; padding: 17px 19px; border: 1px solid rgba(8,127,168,.24); border-radius: 13px; background: rgba(8,127,168,.06); }
.gp-formula span { display: block; color: var(--gp-text); font-size: .77rem; font-weight: 800; margin-bottom: 9px; }
.gp-formula code { display: block; overflow-wrap: anywhere; color: var(--gp-blue-deep); font-size: .78rem; text-align: left; font-variant-numeric: tabular-nums; }
.gp-caveat { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; padding: 14px 17px; border-radius: 11px; border: 1px solid rgba(198,138,45,.28); background: var(--gp-gold-soft); color: var(--gp-text); font-size: .77rem; line-height: 2; }
.gp-caveat i { margin-top: 7px; flex-shrink: 0; color: var(--gp-gold); }
.gp-method-sources { margin: 9px 2px 0; color: var(--gp-muted); font-size: .72rem; line-height: 1.8; }
.gp-method-sources a { color: var(--gp-blue-deep); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.gp-faq details { border-bottom: 1px solid var(--gp-stroke); padding: 2px 0; }
.gp-faq summary { cursor: pointer; padding: 13px 4px; font-size: .85rem; font-weight: 800; color: var(--gp-text); }
.gp-faq details p { max-width: 910px; margin: 0 0 16px; padding: 0 4px; color: var(--gp-muted); font-size: .8rem; line-height: 2; }
.gp-related { margin-top:34px; padding:20px; border:1px solid var(--gp-stroke); border-radius:14px; background:var(--bg-card,#fff); }
.gp-related h2 { margin:0 0 14px; color:var(--gp-text); font-size:1rem; font-weight:850; }
.gp-related > div { display:flex; flex-wrap:wrap; gap:9px; }
.gp-related a { display:inline-flex; align-items:center; gap:7px; padding:9px 12px; border:1px solid rgba(8,127,168,.24); border-radius:8px; color:var(--gp-blue-deep); background:rgba(8,127,168,.05); font-size:.77rem; font-weight:760; }
.gp-related a:hover { border-color:var(--gp-blue); background:rgba(8,127,168,.1); }
html[data-theme="dark"] .gp-page, html[data-theme="special"] .gp-page { --gp-blue: #51b9d6; --gp-blue-deep: #76c9df; --gp-gold: #efbb64; }
html[data-theme="dark"] .gp-stat-gap strong, html[data-theme="special"] .gp-stat-gap strong { color: #59d4ac; }
html[data-theme="dark"] .gp-stat-gap.is-negative strong, html[data-theme="special"] .gp-stat-gap.is-negative strong { color: #ff909d; }
html[data-theme="dark"] .gp-bubble-insight.is-low bdi, html[data-theme="special"] .gp-bubble-insight.is-low bdi { color: #59d4ac; }
html[data-theme="dark"] .gp-bubble-insight.is-high bdi, html[data-theme="special"] .gp-bubble-insight.is-high bdi { color: #ff909d; }
html[data-theme="dark"] .gp-scenario-output-grid .gp-scenario-gap strong, html[data-theme="special"] .gp-scenario-output-grid .gp-scenario-gap strong { color: #59d4ac; }
html[data-theme="dark"] .gp-scenario-output-grid .gp-scenario-gap.is-negative strong, html[data-theme="special"] .gp-scenario-output-grid .gp-scenario-gap.is-negative strong { color: #ff909d; }
html[data-theme="dark"] .gp-scenario-error, html[data-theme="special"] .gp-scenario-error { color: #ff9ba5; }
html[data-theme="dark"] .gp-scenario-submit, html[data-theme="special"] .gp-scenario-submit { color: #082533; }
html[data-theme="dark"] .gp-segmented button.is-active, html[data-theme="dark"] .gp-range-buttons button.is-active, html[data-theme="dark"] .gp-chart-kind button.is-active,
html[data-theme="special"] .gp-segmented button.is-active, html[data-theme="special"] .gp-range-buttons button.is-active, html[data-theme="special"] .gp-chart-kind button.is-active { color: #082533; }
@media (max-width: 860px) {
  .gp-hero { grid-template-columns: 1fr; min-height: 0; }
  .gp-hero-art { display: none; }
  .gp-method-grid { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .gp-page { padding: 14px 12px 52px; }
  .gp-hero { padding: 22px 18px; border-radius: 17px; }
  .gp-hero-lead { font-size: .82rem; margin: 12px 0 18px; }
  .gp-hero-links a { font-size: .7rem; min-height: 34px; padding: 7px 10px; }
  .gp-controls, .gp-result, .gp-scenario, .gp-method, .gp-faq { margin-top: 26px; }
  .gp-source-grid, .gp-stat-grid, .gp-page[data-mode="currency"] .gp-stat-grid, .gp-formula, .gp-scenario-fields, .gp-scenario-output-grid { grid-template-columns: 1fr; }
  .gp-mode-switch button { min-height: 56px; padding: 8px 6px; font-size: .72rem; }
  .gp-source-group { padding: 12px 14px; }
  .gp-stat { padding: 13px 16px; }
  .gp-stat strong { margin-top: 5px; font-size: 1.55rem; }
  .gp-chart-top { padding: 15px 13px 8px; }
  .gp-bubble-prompt { padding:0 13px 8px; }
  .gp-bubble-ask { width:100%; justify-content:center; }
  .gp-bubble-insight { top:8px; right:8px; width:calc(100% - 16px); padding:10px 12px; }
  .gp-chart-kind { width: 100%; }
  .gp-chart-kind button { flex: 1 1 auto; padding: 8px 9px; font-size: .7rem; }
  .gp-chart-wrap { height: 300px; padding: 3px 7px 8px; }
  .gp-chart-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); padding:5px 10px 12px; }
  .gp-window-navigator { margin:0 10px 13px; padding:8px; }
  .gp-navigator-track { height:68px; }
  .gp-navigator-track canvas { height:58px!important; }
  .gp-navigator-dates { grid-template-columns:1fr 1fr; gap:8px; }
  .gp-navigator-extent { grid-column:1 / -1; grid-row:2; }
  .gp-navigator-dates input { font-size:.68rem; padding-inline:4px; }
  .gp-range { align-items: flex-start; }
  .gp-range-buttons { width: 100%; }
  .gp-range-buttons button { flex: 1 1 auto; padding: 7px 10px; font-size: .7rem; }
  .gp-scenario-intro { padding: 14px 15px; }
  .gp-scenario-form { padding: 15px; }
  .gp-scenario-output { margin: 0 15px 15px; }
  .gp-scenario-error { margin: 0 15px 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .gp-page * { scroll-behavior: auto !important; transition-duration: 0s !important; animation-duration: 0s !important; }
}
