/* Identidad Gestor Público · carbón y dorado */
:root {
  --bg: #0b0b0d;
  --gold: #f5b71a;
  --gold-2: #ffd15c;
  --ink: #fafafb;
  --ink-2: #f2f2f4;
  --ink-3: #d4d4d8;
  --muted: #a1a1aa;
  --muted-2: #9a9aa3;
  --muted-3: #8f8f98;
  --muted-4: #71717a;
  --line: #1e1e22;
  --line-2: #26262b;
  --line-3: #2b2b31;
  --line-4: #35353d;
  --s1: #16161a;
  --s2: #141417;
  --s3: #131316;
  --s4: #111114;
  --s5: #101013;
  --s6: #0f0f12;
  --input: #0d0d10;
  --footer: #08080a;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 460px at 50% -10%, rgba(245, 183, 26, .08) 0%, rgba(11, 11, 13, 0) 70%),
    var(--bg);
  color: var(--ink-2);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-2); }
::selection { background: rgba(245, 183, 26, .3); }
input, select, button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }

.gpSrOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gpSkip {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  color: #0b0b0d;
  background: var(--gold);
  font-weight: 700;
  transform: translateY(-160%);
}
.gpSkip:focus { color: #0b0b0d; transform: none; }

@keyframes gpSwapSpin { to { transform: rotate(360deg); } }
@keyframes gpToastIn { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* Cabecera */
.gpTop {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 11, 13, .9);
  backdrop-filter: blur(12px);
}
.gpTopInner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
  padding: 12px clamp(16px, 4vw, 32px);
}
.gpBrand { display: flex; align-items: center; gap: 12px; }
.gpLogo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.gpBrandCopy { display: flex; flex-direction: column; gap: 2px; }
.gpBrandCopy span { color: #f7f7f8; font-size: 14.5px; font-weight: 700; letter-spacing: -.015em; line-height: 1; }
.gpBrandCopy small { color: var(--muted-3); font-size: 11.5px; font-weight: 500; line-height: 1; }

.gpChip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(245, 183, 26, .42);
  border-radius: 999px;
  background: rgba(245, 183, 26, .07);
}
.gpChip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px 1px rgba(245, 183, 26, .75);
}
.gpChip span {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Estructura */
.gpMain {
  display: flex;
  flex-direction: column;
  gap: clamp(38px, 5vw, 60px);
  max-width: 1140px;
  margin: 0 auto;
  padding: clamp(20px, 3.5vw, 34px) clamp(16px, 4vw, 32px) 60px;
}

.gpSection { display: flex; flex-direction: column; gap: 14px; }
.gpKicker {
  margin: 0;
  color: var(--muted-3);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.gpSectionHead {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}
.gpSectionHead h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
  letter-spacing: -.025em;
}
.gpSectionHead p { margin: 6px 0 0; color: var(--muted-2); font-size: 14px; }
.gpBadge {
  flex: 0 0 auto;
  padding: 6px 12px;
  border: 1px solid var(--line-3);
  border-radius: 999px;
  color: var(--ink-3);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

/* Portada */
.gpHero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
}
.gpHeroCopy { display: flex; flex-direction: column; gap: 15px; min-width: 0; }
.gpEyebrow {
  align-self: flex-start;
  padding: 6px 13px;
  border: 1px solid rgba(245, 183, 26, .35);
  border-radius: 999px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.gpHeroCopy h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 5.4vw, 46px);
  font-weight: 800;
  letter-spacing: -.032em;
  line-height: 1.04;
  text-wrap: balance;
}
.gpLead { margin: 0; color: var(--ink-3); font-size: clamp(16px, 2.3vw, 19px); line-height: 1.5; text-wrap: pretty; }
.gpSub { margin: 0; color: var(--muted-2); font-size: 14.5px; line-height: 1.6; text-wrap: pretty; }

/* Calculadora */
.gpCalc {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line-3);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--s1) 0%, var(--s5) 100%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
}
.gpCalc::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
}
.gpCalcBody {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(18px, 3.2vw, 28px);
}

.gpField { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.gpField label {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.gpHelp { color: var(--muted-3); font-size: 11.5px; }

.gpAmount {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid var(--line-4);
  border-radius: 10px;
  color: var(--ink);
  background: var(--input);
  font-size: clamp(24px, 6vw, 30px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.025em;
  outline: none;
}
.gpAmount:focus { border-color: var(--gold); }

.gpPair { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.gpPair .gpField { flex: 1 1 130px; }

.gpSelect {
  width: 100%;
  min-height: 52px;
  padding: 0 38px 0 16px;
  border: 1px solid var(--line-4);
  border-radius: 10px;
  color: var(--gold);
  background-color: #141418;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23f5b71a' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 7px;
  appearance: none;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  outline: none;
  transition: background-color 140ms ease, border-color 140ms ease;
}
.gpSelect:hover { background-color: #1a1a1f; }
.gpSelect:focus { border-color: var(--gold); }
.gpSelect option { color: var(--ink-2); background: var(--s1); }
.gpSelect option:disabled { color: var(--muted-4); }

.gpSwap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(245, 183, 26, .5);
  border-radius: 10px;
  color: var(--gold);
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease;
}
.gpSwap:hover { border-color: var(--gold); background: rgba(245, 183, 26, .14); }
.gpSwap:active { background: rgba(245, 183, 26, .26); }
.gpSwap span { display: block; width: 18px; height: 18px; line-height: 18px; text-align: center; }
.gpSwap:hover span, .gpSwap:focus-visible span { animation: gpSwapSpin 1.4s linear infinite; }

.gpResult {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 20px;
  border: 1px solid rgba(245, 183, 26, .3);
  border-radius: 12px;
  background:
    radial-gradient(420px 200px at 12% 0%, rgba(245, 183, 26, .13) 0%, rgba(15, 15, 18, 0) 72%),
    var(--s6);
}
.gpEcho { color: var(--muted); font-size: 13.5px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.gpResult strong {
  color: var(--gold);
  font-size: clamp(30px, 7vw, 42px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.035em;
  line-height: 1.03;
  overflow-wrap: anywhere;
}
.gpResultDate { color: var(--muted-3); font-size: 12.5px; }

.gpActions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.gpCopy {
  flex: 1 1 180px;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  color: #0b0b0d;
  background: var(--gold);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: background 140ms ease;
}
.gpCopy:hover { background: var(--gold-2); }
.gpCopyHint { flex: 1 1 160px; min-width: 0; color: var(--muted-3); font-size: 11.5px; line-height: 1.5; }

.gpStatus {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
}
.gpStatusHead { display: flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 12.5px; font-weight: 600; }
.gpDot { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.gpStatus[data-state="checking"] .gpDot { background: var(--muted-3); }
.gpStatus[data-state="saved"] .gpDot,
.gpStatus[data-state="setup"] .gpDot { background: #e0763a; }
.gpStatusLine { color: var(--muted-3); font-size: 12px; line-height: 1.5; font-variant-numeric: tabular-nums; }

/* Valores vigentes */
.gpRates {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
  gap: 12px;
}
.gpRate {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 16px 18px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--s2);
}
.gpRateHead { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.gpRateCode { color: var(--gold); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .13em; }
.gpRateHead time { color: #8a8a94; font-size: 10.5px; font-variant-numeric: tabular-nums; }
.gpRate strong {
  color: var(--ink);
  font-size: 25px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.032em;
  line-height: 1;
  overflow-wrap: anywhere;
}
.gpRateName { color: var(--muted); font-size: 12.5px; }

/* Gráfico */
.gpChartControls { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.gpChips { display: flex; flex-wrap: wrap; gap: 9px; }
.gpChipBtn {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-3);
  border-radius: 999px;
  color: var(--ink-3);
  background: var(--s3);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}
.gpChipBtn:hover { border-color: var(--gold); color: var(--gold-2); background: rgba(245, 183, 26, .08); }
.gpChipBtn.is-active { border-color: var(--gold); color: #0b0b0d; background: var(--gold); }
.gpChipBtn:disabled { opacity: .45; cursor: not-allowed; }

.gpChartFigure { margin: 0; }
.gpChartFrame {
  position: relative;
  min-height: 250px;
  padding: 6px 0;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--s3);
  touch-action: pan-y;
}
.gpChartSvg { display: block; width: 100%; height: auto; overflow: visible; }

.gpChartGrid { stroke: rgba(255, 255, 255, .07); stroke-width: 1; }
.gpChartZero { stroke: rgba(255, 255, 255, .2); stroke-width: 1.5; }
.gpChartAxis {
  fill: var(--muted-3);
  font: 500 10px Inter, system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
}
.gpChartLine { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gpChartArea { fill: url(#gpChartArea); stroke: none; }
.gpChartAreaTop { stop-color: #f5b71a; stop-opacity: .22; }
.gpChartAreaBottom { stop-color: #f5b71a; stop-opacity: 0; }
.gpChartBar { fill: var(--gold); fill-opacity: .78; transition: fill-opacity 150ms ease; }
.gpChartBar.is-hovered { fill-opacity: 1; }
.gpChartCursor[hidden], .gpChartDot[hidden] { display: none; }
.gpChartCursorLine { stroke: var(--gold); stroke-width: 1; stroke-dasharray: 3 4; opacity: .55; }
.gpChartDot { fill: var(--s3); stroke: var(--gold); stroke-width: 2.5; }

.gpChartTooltip {
  position: absolute;
  z-index: 3;
  padding: 9px 13px;
  border: 1px solid rgba(245, 183, 26, .45);
  border-radius: 10px;
  color: var(--ink-2);
  background: var(--s1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .6);
  pointer-events: none;
  white-space: nowrap;
  transform: translate(-50%, calc(-100% - 14px));
}
.gpChartTooltip[hidden] { display: none; }
.gpChartTooltip strong { display: block; color: var(--gold); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.gpChartTooltip small { display: block; margin-top: 2px; color: var(--muted-3); font-size: 10.5px; }

.gpChartEmpty {
  display: grid;
  place-items: center;
  min-height: 250px;
  margin: 0;
  padding: 22px;
  color: var(--muted-3);
  font-size: 13px;
  text-align: center;
}

.gpChartSummary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 12px;
}
.gpChartSummary > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 17px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--s2);
}
.gpChartSummary span {
  color: var(--muted-3);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.gpChartSummary strong {
  color: var(--ink);
  font-size: 21px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.03em;
  line-height: 1;
}
.gpChartSummary small { color: var(--muted); font-size: 12px; line-height: 1.45; }

.gpChartTable { padding-top: 4px; }
.gpChartTable summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink-3);
  font-size: 13.5px;
  font-weight: 600;
}
.gpChartTable summary::after { content: "+"; color: var(--gold); font-size: 15px; font-weight: 700; }
.gpChartTable[open] summary::after { content: "−"; }
.gpChartTableHost {
  max-height: 265px;
  margin-top: 4px;
  overflow: auto;
  border: 1px solid var(--line-2);
  border-radius: 12px;
}
.gpChartTable table { width: 100%; border-collapse: collapse; font-size: 13px; }
.gpChartTable th, .gpChartTable td { padding: 9px 14px; border-bottom: 1px solid var(--line-2); text-align: left; }
.gpChartTable thead th {
  position: sticky;
  top: 0;
  color: var(--muted-3);
  background: var(--s3);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.gpChartTable td { color: var(--ink-3); }
.gpChartTable td:last-child { font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; }
.gpChartTable tbody tr:last-child td { border-bottom: 0; }

/* Conversiones frecuentes */
.gpQuickGroup { display: flex; flex-direction: column; gap: 9px; }
.gpQuickTitle {
  color: var(--muted-3);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.gpQuickRow { display: flex; flex-wrap: wrap; gap: 9px; }

/* Mercado Público */
.gpMp {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(20px, 3.4vw, 32px);
  border: 1px solid var(--line-3);
  border-radius: 16px;
  background: var(--s4);
}
.gpMpCopy { display: flex; flex-direction: column; gap: 8px; max-width: 680px; }
.gpMpCopy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(21px, 3.2vw, 28px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.15;
  text-wrap: balance;
}
.gpMpCopy p { margin: 0; color: var(--muted-2); font-size: 14.5px; line-height: 1.6; text-wrap: pretty; }
.gpMpGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 12px;
}
.gpMpCard {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 44px;
  padding: 16px 17px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  color: var(--ink-2);
  background: var(--s1);
  text-align: left;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease;
}
.gpMpCard:hover { border-color: var(--gold); background: #1b1b1f; }
.gpMpCard b { color: var(--ink); font-size: 14.5px; font-weight: 700; letter-spacing: -.015em; }
.gpMpCard span { color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.gpMpCard em {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 10.5px;
  font-style: normal;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.gpCta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: clamp(24px, 4vw, 38px) clamp(20px, 3.5vw, 38px);
  border: 1px solid rgba(245, 183, 26, .3);
  border-radius: 16px;
  background:
    radial-gradient(600px 260px at 8% 0%, rgba(245, 183, 26, .12) 0%, rgba(13, 13, 16, 0) 72%),
    var(--s5);
}
.gpCtaCopy { display: flex; flex-direction: column; gap: 9px; min-width: 0; max-width: 560px; }
.gpCtaCopy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(21px, 3.2vw, 28px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.15;
  text-wrap: balance;
}
.gpCtaCopy p { margin: 0; color: var(--muted-2); font-size: 14.5px; line-height: 1.6; text-wrap: pretty; }
.gpCtaActions { display: flex; flex-wrap: wrap; gap: 10px; }
.gpCtaLink,
.gpCtaGhost {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -.01em;
  text-decoration: none;
  transition: background 140ms ease, border-color 140ms ease;
}
.gpCtaLink { color: #0b0b0d; background: var(--gold); }
.gpCtaLink:hover { background: var(--gold-2); }
.gpCtaGhost { color: #f7f7f8; border: 1px solid var(--line-2); background: var(--s3); }
.gpCtaGhost:hover { border-color: var(--line-3); background: var(--s4); }

.gpNotice {
  margin: 0;
  padding: 14px 16px;
  border-left: 2px solid var(--gold);
  background: rgba(245, 183, 26, .06);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
  text-wrap: pretty;
}

/* Texto informativo */
.gpProse { display: flex; flex-direction: column; gap: clamp(26px, 3.5vw, 36px); max-width: 760px; }
.gpProse > div { display: flex; flex-direction: column; gap: 10px; }
.gpProse h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
  letter-spacing: -.025em;
}
.gpProse p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.7; text-wrap: pretty; }

/* Preguntas frecuentes */
.gpFaq { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.gpFaq h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
  letter-spacing: -.025em;
}
.gpFaqList { display: flex; flex-direction: column; gap: 8px; }
.gpFaqList details { border: 1px solid var(--line-2); border-radius: 12px; background: var(--s3); }
.gpFaqList summary {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  min-height: 44px;
  padding: 14px 17px;
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 600;
}
.gpFaqList summary::after { content: "+"; flex: 0 0 auto; color: var(--gold); font-size: 15px; font-weight: 700; }
.gpFaqList details[open] summary::after { content: "−"; }
.gpFaqList p { margin: 0; padding: 0 17px 16px; color: var(--muted); font-size: 13.5px; line-height: 1.7; text-wrap: pretty; }

/* Pie */
.gpFooter { border-top: 1px solid var(--line); background: var(--footer); }
.gpFooterInner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
  padding: 26px clamp(16px, 4vw, 32px);
}
.gpFooterBrand { display: flex; align-items: center; gap: 11px; color: var(--ink-2); font-size: 13.5px; font-weight: 700; }
.gpFooterBrand img { width: 30px; height: 30px; object-fit: contain; }
.gpFooterInner p { margin: 0; color: var(--muted-3); font-size: 12.5px; }
.gpFooterInner > span { color: var(--muted-4); font-size: 12px; }

/* Aviso flotante */
.gpToast {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: 24px;
  padding: 12px 20px;
  border: 1px solid rgba(245, 183, 26, .45);
  border-radius: 999px;
  color: var(--ink-2);
  background: var(--s1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .6);
  font-size: 13.5px;
  font-weight: 600;
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
}
.gpToast.is-visible { opacity: 1; transform: translate(-50%, 0); animation: gpToastIn 180ms ease; }

@media (max-width: 620px) {
  /* En columna el flex-basis mide el alto: sin esto los campos se estiran y
     abren huecos alrededor del botón de invertir. */
  .gpPair { flex-direction: column; align-items: stretch; }
  .gpPair .gpField { flex: 0 0 auto; }
  .gpSwap { align-self: center; transform: rotate(90deg); }
  .gpChartControls { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}


/* --- Navegación hacia el resto del sitio (agregado al publicar la página) --- */
.gpBrand{text-decoration:none;color:inherit}
.gpNav{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.gpNav a{color:#C7C3BA;text-decoration:none;font-size:14.5px;font-weight:500}
.gpNav a:hover{color:#EFB700}
.gpFootNav{display:flex;flex-wrap:wrap;gap:16px;justify-content:center;margin-bottom:12px}
.gpFootNav a{color:#C7C3BA;text-decoration:none;font-size:14px}
.gpFootNav a:hover{color:#EFB700}
@media(max-width:640px){.gpNav{gap:12px}.gpNav a{font-size:13.5px}}


/* --- Botones de compartir (agregados al publicar en gestorpublico.cl) --- */
.gpShare {
  border: 1px solid var(--line-2, rgba(255,255,255,.16));
  background: transparent;
  color: inherit;
  border-radius: 9px;
  padding: 9px 14px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
.gpShare:hover { border-color: var(--gold, #EFB700); color: var(--gold, #EFB700); }

/* La pista de ayuda se iba entre los botones y los partia en dos lineas:
   pasa al final, en su propio renglon, y el grupo queda junto. */
.gpCopyHint { order: 9; flex: 1 1 100%; }
/* La pista ocupaba la mitad de la fila y contenia el ancho del boton dorado.
   Al bajarla, el boton se estiraba solo: se le quita el crecimiento, salvo en
   el telefono, donde conviene que ocupe todo el ancho. */
.gpActions .gpCopy { flex: 0 1 auto; }
@media (max-width: 560px) { .gpActions .gpCopy { flex: 1 1 100%; } }
