:root {
  color-scheme: dark;
  --gp-bg: #08090a;
  --gp-panel: #101114;
  --gp-card: rgba(255, 255, 255, 0.045);
  --gp-card-strong: rgba(255, 255, 255, 0.075);
  --gp-line: rgba(255, 255, 255, 0.11);
  --gp-line-strong: rgba(216, 182, 107, 0.42);
  --gp-text: #f3f0e9;
  --gp-muted: #9b9da3;
  --gp-dim: #71747a;
  --gp-gold: #d8b66b;
  --gp-gold-soft: #f1d896;
  --gp-green: #75b69b;
  --gp-blue: #74a8d8;
  --gp-danger: #df907f;
  --gp-radius: 18px;
  --gp-shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--gp-bg);
  color: var(--gp-text);
}

button,
input {
  font: inherit;
}

.gp-app button {
  appearance: none;
  -webkit-appearance: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #f1d896 !important;
  outline-offset: 3px !important;
}

.gp-app button:focus-visible {
  box-shadow: 0 0 0 3px var(--gp-bg), 0 0 0 6px #f1d896 !important;
  transition: none;
}

.gp-skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 2px solid var(--gp-gold-soft);
  border-radius: 10px;
  background: #101114;
  color: var(--gp-text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
}

.gp-skip-link:focus {
  transform: translateY(0);
}

.gp-app {
  min-height: 100%;
  background:
    radial-gradient(circle at 15% 15%, rgba(116, 168, 216, 0.09), transparent 27%),
    var(--gp-bg);
}

.gp-pilot-bar {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 7px 18px;
  border-bottom: 1px solid rgba(117, 182, 155, 0.22);
  background: linear-gradient(90deg, rgba(117, 182, 155, 0.09), rgba(10, 10, 11, 0.98));
}

.gp-pilot-bar[hidden] {
  display: none;
}

.gp-pilot-copy,
.gp-pilot-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.gp-pilot-copy > i {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gp-green);
  box-shadow: 0 0 12px rgba(117, 182, 155, 0.65);
}

.gp-pilot-copy b,
.gp-pilot-copy small {
  display: block;
}

.gp-pilot-copy b {
  color: #c3e4d6;
  font-size: 9px;
}

.gp-pilot-copy small {
  margin-top: 2px;
  color: var(--gp-muted);
  font-size: 8px;
}

.gp-pilot-actions button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--gp-line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--gp-muted);
  font-size: 8px;
  cursor: pointer;
}

.gp-pilot-actions button:hover:not(:disabled) {
  border-color: rgba(216, 182, 107, 0.42);
  color: var(--gp-gold-soft);
}

.gp-pilot-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.gp-pilot-actions #gpPilotDelete:not(:disabled) {
  border-color: rgba(223, 144, 127, 0.25);
  color: #e6ab9f;
}

.gp-pilot-receipt {
  margin-top: 12px;
  padding: 12px 13px;
  border: 1px solid rgba(117, 182, 155, 0.25);
  border-radius: 12px;
  background: rgba(117, 182, 155, 0.055);
}

.gp-pilot-receipt b,
.gp-pilot-receipt small {
  display: block;
}

.gp-pilot-receipt b {
  color: #c3e4d6;
  font-size: 9px;
}

.gp-pilot-receipt small {
  margin-top: 5px;
  color: var(--gp-muted);
  font-size: 8px;
  line-height: 1.5;
}

.gp-pilot-bar.is-error .gp-pilot-copy > i {
  background: var(--gp-danger);
  box-shadow: 0 0 12px rgba(223, 144, 127, 0.45);
}

.gp-pilot-bar.is-error .gp-pilot-copy b {
  color: #e6ab9f;
}

.gp-topbar {
  position: relative;
  z-index: 30;
  height: 76px;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  border-bottom: 1px solid var(--gp-line);
  background: rgba(8, 9, 10, 0.9);
  backdrop-filter: blur(18px);
}

.gp-brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.gp-brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gp-line-strong);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(216, 182, 107, 0.2), rgba(216, 182, 107, 0.04));
  color: var(--gp-gold-soft);
  font-family: Fraunces, Georgia, serif;
  font-size: 22px;
}

.gp-brand b,
.gp-brand small {
  display: block;
}

.gp-brand b {
  font-size: 12px;
  letter-spacing: 0.18em;
}

.gp-brand small {
  margin-top: 3px;
  color: var(--gp-muted);
  font-size: 10px;
}

.gp-topbar-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.gp-live-pill,
.gp-truth-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--gp-line);
  border-radius: 999px;
  color: var(--gp-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.gp-live-pill {
  border-color: rgba(117, 182, 155, 0.3);
  color: #b5dacb;
  background: rgba(117, 182, 155, 0.08);
}

.gp-live-pill i,
.gp-state-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gp-green);
  box-shadow: 0 0 12px rgba(117, 182, 155, 0.75);
}

.gp-topbar-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}

.gp-progress-copy {
  text-align: right;
}

.gp-progress-copy b,
.gp-progress-copy span {
  display: block;
}

.gp-progress-copy b {
  color: var(--gp-gold-soft);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.gp-progress-copy span {
  margin-top: 3px;
  color: var(--gp-muted);
  font-size: 10px;
}

.gp-icon-button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--gp-line);
  border-radius: 12px;
  background: var(--gp-card);
  color: var(--gp-muted);
  cursor: pointer;
  transition: 160ms ease;
}

.gp-icon-button:hover {
  border-color: var(--gp-line-strong);
  color: var(--gp-text);
  transform: translateY(-1px);
}

.gp-icon-button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gp-progress-bar {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.035);
}

.gp-progress-bar span {
  display: block;
  width: 12.5%;
  height: 100%;
  background: linear-gradient(90deg, var(--gp-gold), var(--gp-gold-soft));
  transition: width 360ms ease;
}

.gp-shell {
  height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 34vw);
}

.gp-map-stage {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #091117;
}

.gp-map,
.gp-map-fallback {
  position: absolute;
  inset: 0;
}

.gp-map {
  z-index: 2;
  opacity: 0;
  transition: opacity 400ms ease;
}

.gp-map.is-ready {
  opacity: 1;
}

.gp-map-fallback {
  z-index: 1;
  background: #071319;
  transition: opacity 300ms ease;
}

.gp-map-fallback.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.gp-map-fallback svg {
  width: 100%;
  height: 100%;
}

.gp-fallback-grid path {
  fill: none;
  stroke: #78838c;
  stroke-width: 2;
  stroke-dasharray: 4 9;
}

.gp-fallback-node circle {
  fill: #15171b;
  stroke-width: 3;
  transition: 220ms ease;
}

.gp-fallback-node text {
  fill: #f7f3e9;
  text-anchor: middle;
  font: 700 17px Inter, sans-serif;
}

.gp-fallback-node .gp-node-label {
  fill: #c7c8ca;
  text-anchor: start;
  font-size: 14px;
  font-weight: 600;
  paint-order: stroke;
  stroke: #0b1013;
  stroke-width: 6px;
}

.gp-anchor-node circle {
  fill: rgba(216, 182, 107, 0.12);
  stroke: var(--gp-gold);
}

.gp-business-node circle {
  stroke: var(--gp-gold);
}

.gp-hills-node circle {
  stroke: var(--gp-green);
}

.gp-jlt-node circle {
  stroke: var(--gp-blue);
}

.gp-fallback-node.is-active circle {
  fill: rgba(255, 255, 255, 0.13);
  filter: url(#gpGlow);
  transform: scale(1.12);
}

.gp-route {
  display: none;
  fill: none;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 10 10;
  opacity: 0.92;
}

.gp-route.is-active {
  display: block;
  animation: gpRoute 900ms linear infinite;
}

.gp-route-business {
  stroke: var(--gp-gold);
}

.gp-route-hills {
  stroke: var(--gp-green);
}

.gp-route-jlt {
  stroke: var(--gp-blue);
}

@keyframes gpRoute {
  to { stroke-dashoffset: -20; }
}

.gp-fallback-label {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 7px 9px;
  border: 1px solid rgba(116, 168, 216, 0.28);
  border-radius: 8px;
  background: rgba(4, 12, 17, 0.76);
  color: #a7c9e8;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.gp-map-heading {
  position: absolute;
  z-index: 8;
  top: 32px;
  left: 34px;
  max-width: min(540px, 64%);
  pointer-events: none;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.85);
}

.gp-map-heading small,
.gp-step-kicker {
  color: var(--gp-gold-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.gp-map-heading h1 {
  margin: 9px 0 6px;
  font: 500 clamp(30px, 3.4vw, 54px)/1.02 Fraunces, Georgia, serif;
  letter-spacing: -0.035em;
}

.gp-map-heading p {
  max-width: 470px;
  margin: 0;
  color: #c6c7c9;
  font-size: 13px;
  line-height: 1.55;
}

.gp-map-state {
  position: absolute;
  z-index: 8;
  right: 18px;
  top: 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--gp-line);
  border-radius: 12px;
  background: rgba(8, 9, 10, 0.76);
  backdrop-filter: blur(14px);
  box-shadow: var(--gp-shadow);
}

.gp-map-state .gp-state-dot {
  align-self: center;
  grid-row: 1 / span 2;
}

.gp-map-state b {
  font-size: 10px;
}

.gp-map-state small {
  margin-top: 2px;
  color: var(--gp-muted);
  font-size: 8px;
}

.gp-area-rail {
  position: absolute;
  z-index: 8;
  left: 24px;
  bottom: 62px;
  display: flex;
  gap: 8px;
  max-width: calc(100% - 48px);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: 220ms ease;
}

.gp-area-rail.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.gp-rail-card {
  min-width: 150px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 10px 11px;
  border: 1px solid var(--gp-line);
  border-radius: 12px;
  background: rgba(9, 10, 12, 0.82);
  color: var(--gp-text);
  text-align: left;
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition: 160ms ease;
}

.gp-rail-card:hover,
.gp-rail-card.is-active {
  border-color: var(--area-color, var(--gp-gold));
  background: rgba(20, 21, 24, 0.94);
  transform: translateY(-2px);
}

.gp-rail-rank {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid var(--area-color, var(--gp-gold));
  border-radius: 50%;
  color: var(--area-color, var(--gp-gold));
  font-size: 10px;
  font-weight: 700;
}

.gp-rail-copy b,
.gp-rail-copy small {
  display: block;
}

.gp-rail-copy b {
  font-size: 10px;
}

.gp-rail-copy small {
  margin-top: 3px;
  color: var(--gp-muted);
  font-size: 9px;
}

.gp-rail-score {
  color: var(--gp-gold-soft);
  font-size: 11px;
  font-weight: 700;
}

.gp-map-disclosure {
  position: absolute;
  z-index: 8;
  right: 18px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  max-width: calc(100% - 36px);
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  background: rgba(7, 8, 9, 0.78);
  color: var(--gp-muted);
  backdrop-filter: blur(12px);
}

.gp-map-disclosure span {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--gp-line);
  border-radius: 50%;
  font: 700 9px Georgia, serif;
}

.gp-map-disclosure p {
  flex: 1 1 auto;
  margin: 0;
  font-size: 10px;
  line-height: 1.35;
}

.gp-map-disclosure button {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 5px 10px;
  border: 1px solid rgba(216, 182, 107, 0.3);
  border-radius: 7px;
  background: rgba(216, 182, 107, 0.08);
  color: var(--gp-gold-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.gp-panel {
  position: relative;
  z-index: 15;
  min-width: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border-left: 1px solid var(--gp-line);
  background: linear-gradient(180deg, #121316, #0d0e10);
  box-shadow: -22px 0 60px rgba(0, 0, 0, 0.28);
}

.gp-step-nav {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
  padding: 14px 18px 12px;
  border-bottom: 1px solid var(--gp-line);
}

.gp-step-tab {
  min-width: 0;
  padding: 6px 2px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--gp-dim);
  cursor: pointer;
}

.gp-step-tab span,
.gp-step-tab small {
  display: block;
}

.gp-step-tab span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  border: 1px solid var(--gp-line);
  border-radius: 50%;
  font-size: 8px;
  font-weight: 700;
}

.gp-step-tab small {
  max-width: 54px;
  margin: 5px auto 0;
  overflow: hidden;
  font-size: 8px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gp-step-tab.is-reached {
  color: var(--gp-muted);
}

.gp-step-tab.is-reached span {
  border-color: rgba(216, 182, 107, 0.35);
}

.gp-step-tab.is-current {
  color: var(--gp-gold-soft);
  background: rgba(216, 182, 107, 0.07);
}

.gp-step-tab.is-current span {
  border-color: var(--gp-gold);
  background: rgba(216, 182, 107, 0.14);
}

.gp-step-tab:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.gp-step-content {
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 30px 28px 34px;
  scrollbar-width: thin;
  scrollbar-color: rgba(216, 182, 107, 0.34) transparent;
}

.gp-step-content::after {
  content: "";
  display: block;
  height: 6px;
}

.gp-step-title {
  margin: 10px 0 10px;
  font: 500 clamp(27px, 2.2vw, 38px)/1.08 Fraunces, Georgia, serif;
  letter-spacing: -0.025em;
}

.gp-step-lede {
  margin: 0 0 23px;
  color: var(--gp-muted);
  font-size: 12px;
  line-height: 1.65;
}

.gp-card,
.gp-transcript,
.gp-truth-note,
.gp-warning,
.gp-explain-card {
  border: 1px solid var(--gp-line);
  border-radius: var(--gp-radius);
  background: var(--gp-card);
}

.gp-transcript {
  position: relative;
  padding: 20px 20px 18px 55px;
  background:
    linear-gradient(135deg, rgba(216, 182, 107, 0.1), transparent 56%),
    var(--gp-card);
}

.gp-avatar {
  position: absolute;
  top: 19px;
  left: 18px;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gp-line-strong);
  border-radius: 50%;
  color: var(--gp-gold-soft);
  font: 600 13px Fraunces, Georgia, serif;
}

.gp-transcript small {
  display: block;
  margin-bottom: 8px;
  color: var(--gp-gold-soft);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.gp-transcript blockquote {
  margin: 0;
  color: #e4e1da;
  font: 500 15px/1.55 Fraunces, Georgia, serif;
}

.gp-brief-grid,
.gp-anchor-grid,
.gp-share-grid,
.gp-rank-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.gp-brief-item,
.gp-anchor-card,
.gp-share-card,
.gp-rank-column {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--gp-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.028);
}

.gp-brief-item small,
.gp-anchor-card small,
.gp-share-card > small,
.gp-rank-column > small,
.gp-label {
  display: block;
  color: var(--gp-muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gp-brief-item b,
.gp-anchor-card b {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.4;
}

.gp-brief-item input,
.gp-brief-item select {
  width: 100%;
  min-height: 36px;
  margin-top: 5px;
  padding: 0 9px;
  border: 1px solid var(--gp-line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--gp-text);
  font: inherit;
}

.gp-anchor-card p,
.gp-share-card p {
  margin: 7px 0 0;
  color: var(--gp-muted);
  font-size: 9px;
  line-height: 1.5;
}

.gp-anchor-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border: 1px solid var(--gp-line-strong);
  border-radius: 9px;
  color: var(--gp-gold-soft);
  font-weight: 700;
}

.gp-section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 0 10px;
}

.gp-section-label b {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gp-section-label small {
  color: var(--gp-muted);
  font-size: 8px;
}

.gp-priority-list {
  display: grid;
  gap: 9px;
}

.gp-priority-row {
  display: grid;
  grid-template-columns: 94px 1fr 35px;
  align-items: center;
  gap: 10px;
}

.gp-priority-row span,
.gp-priority-row b {
  font-size: 9px;
}

.gp-priority-row b {
  color: var(--gp-gold-soft);
  text-align: right;
}

.gp-priority-track {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
}

.gp-priority-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #9f844d, var(--gp-gold-soft));
}

.gp-chip-row,
.gp-inline-list,
.gp-area-strengths,
.gp-match-list,
.gp-delta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gp-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  border: 1px solid var(--gp-line);
  border-radius: 999px;
  color: #c7c8ca;
  background: rgba(255, 255, 255, 0.03);
  font-size: 8px;
}

.gp-chip.is-private {
  border-color: rgba(116, 168, 216, 0.25);
  color: #acd0ef;
}

.gp-chip.is-positive {
  border-color: rgba(117, 182, 155, 0.25);
  color: #b4d9ca;
}

.gp-chip.is-change {
  border-color: rgba(216, 182, 107, 0.26);
  color: var(--gp-gold-soft);
}

.gp-area-stack,
.gp-response-stack {
  display: grid;
  gap: 10px;
}

.gp-area-card,
.gp-response-card {
  width: 100%;
  display: block;
  padding: 15px;
  border: 1px solid var(--gp-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.032);
  color: var(--gp-text);
  text-align: left;
  cursor: pointer;
  transition: 160ms ease;
}

.gp-area-card:hover,
.gp-area-card.is-active,
.gp-response-card:hover,
.gp-response-card.is-selected {
  border-color: var(--area-color, var(--gp-gold));
  background: rgba(255, 255, 255, 0.062);
  transform: translateY(-1px);
}

.gp-area-head,
.gp-response-head,
.gp-summary-row,
.gp-rank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gp-area-title {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.gp-rank-badge {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--area-color, var(--gp-gold));
  border-radius: 50%;
  color: var(--area-color, var(--gp-gold));
  font-size: 10px;
  font-weight: 700;
}

.gp-area-title b,
.gp-response-head b {
  display: block;
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gp-area-title small,
.gp-response-head small {
  display: block;
  margin-top: 4px;
  color: var(--gp-muted);
  font-size: 8px;
}

.gp-score {
  color: var(--gp-gold-soft);
  font-size: 18px;
  font-weight: 600;
}

.gp-score small {
  display: block;
  color: var(--gp-muted);
  font-size: 7px;
  font-weight: 500;
  text-align: right;
}

.gp-area-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 13px;
}

.gp-metric {
  padding: 8px;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.16);
}

.gp-metric small,
.gp-metric b {
  display: block;
}

.gp-metric small {
  color: var(--gp-muted);
  font-size: 7px;
}

.gp-metric b {
  margin-top: 4px;
  font-size: 9px;
}

.gp-area-strengths {
  margin-top: 11px;
}

.gp-area-tradeoff,
.gp-selected-route,
.gp-viewing-preview {
  margin-top: 11px;
  padding-top: 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  color: var(--gp-muted);
  font-size: 9px;
  line-height: 1.55;
}

.gp-truth-note,
.gp-warning,
.gp-explain-card {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 14px;
  padding: 12px 13px;
  color: var(--gp-muted);
  font-size: 9px;
  line-height: 1.5;
}

.gp-truth-note > span,
.gp-warning > span,
.gp-explain-card > span {
  color: var(--gp-gold-soft);
  font-weight: 700;
}

.gp-warning {
  border-color: rgba(223, 144, 127, 0.25);
  background: rgba(223, 144, 127, 0.055);
}

.gp-warning > span {
  color: var(--gp-danger);
}

.gp-segmented {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  margin-bottom: 11px;
  padding: 4px;
  border: 1px solid var(--gp-line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.15);
}

.gp-segmented button,
.gp-area-pills button {
  padding: 9px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--gp-muted);
  font-size: 9px;
  cursor: pointer;
}

.gp-segmented button.is-active,
.gp-area-pills button.is-active {
  background: rgba(216, 182, 107, 0.12);
  color: var(--gp-gold-soft);
  box-shadow: inset 0 0 0 1px rgba(216, 182, 107, 0.23);
}

.gp-area-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-bottom: 11px;
}

.gp-area-pills button {
  border: 1px solid var(--gp-line);
}

.gp-route-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 7px;
}

.gp-route-table th {
  padding: 0 8px 3px;
  color: var(--gp-muted);
  font-size: 7px;
  font-weight: 600;
  text-align: left;
  text-transform: uppercase;
}

.gp-route-table td {
  padding: 0;
}

.gp-route-table td:first-child {
  padding-left: 8px;
  font-size: 9px;
}

.gp-route-button {
  width: 100%;
  padding: 10px 8px;
  border: 1px solid var(--gp-line);
  background: rgba(255, 255, 255, 0.025);
  color: var(--gp-text);
  font-size: 9px;
  cursor: pointer;
}

.gp-route-button.is-active {
  border-color: var(--gp-gold);
  background: rgba(216, 182, 107, 0.1);
  color: var(--gp-gold-soft);
}

.gp-rank-column.is-after {
  border-color: rgba(216, 182, 107, 0.28);
  background: rgba(216, 182, 107, 0.045);
}

.gp-rank-list {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.gp-rank-row {
  padding: 9px;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.16);
  font-size: 9px;
}

.gp-rank-row span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gp-rank-row b {
  color: var(--gp-gold-soft);
}

.gp-rank-move {
  color: var(--gp-muted);
  font-size: 8px;
}

.gp-rank-move.is-up {
  color: var(--gp-green);
}

.gp-rank-move.is-down {
  color: var(--gp-danger);
}

.gp-shortlist-card {
  position: relative;
  padding-left: 51px;
}

.gp-shortlist-check {
  position: absolute;
  top: 16px;
  left: 15px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gp-green);
  border-radius: 8px;
  color: #c3e4d6;
  background: rgba(117, 182, 155, 0.11);
  font-size: 11px;
  font-weight: 700;
}

.gp-shortlist-card.is-excluded .gp-shortlist-check {
  border-color: var(--gp-line);
  color: var(--gp-dim);
  background: transparent;
}

.gp-shortlist-card.is-excluded {
  opacity: 0.72;
}

.gp-ad-preview {
  overflow: hidden;
  border: 1px solid rgba(216, 182, 107, 0.27);
  border-radius: 17px;
  background: linear-gradient(140deg, rgba(216, 182, 107, 0.09), rgba(255, 255, 255, 0.025));
}

.gp-ad-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--gp-line);
}

.gp-ad-header small {
  color: var(--gp-gold-soft);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.gp-ad-header span {
  color: var(--gp-muted);
  font-size: 8px;
}

.gp-ad-body {
  padding: 16px;
}

.gp-ad-body h3 {
  margin: 0;
  font: 500 20px/1.2 Fraunces, Georgia, serif;
}

.gp-ad-body p {
  margin: 10px 0 0;
  color: #c4c5c7;
  font-size: 10px;
  line-height: 1.65;
}

.gp-share-card ul {
  display: grid;
  gap: 7px;
  margin: 11px 0 0;
  padding: 0;
  list-style: none;
}

.gp-share-card li {
  position: relative;
  padding-left: 15px;
  color: #c5c6c8;
  font-size: 8px;
  line-height: 1.45;
}

.gp-share-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gp-green);
}

.gp-share-card.is-excluded li::before {
  content: "—";
  color: var(--gp-blue);
}

.gp-consent {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(117, 182, 155, 0.25);
  border-radius: 14px;
  background: rgba(117, 182, 155, 0.055);
  cursor: pointer;
}

.gp-consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--gp-green);
}

.gp-consent b,
.gp-consent small {
  display: block;
}

.gp-consent b {
  font-size: 10px;
}

.gp-consent small {
  margin-top: 5px;
  color: var(--gp-muted);
  font-size: 8px;
  line-height: 1.45;
}

.gp-response-card {
  --area-color: var(--gp-green);
}

.gp-response-status {
  flex: 0 0 auto;
  padding: 5px 7px;
  border: 1px solid rgba(223, 144, 127, 0.25);
  border-radius: 999px;
  color: #e6ab9f;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.gp-response-price {
  margin-top: 13px;
  color: var(--gp-gold-soft);
  font: 500 16px Fraunces, Georgia, serif;
}

.gp-response-meta {
  margin-top: 5px;
  color: var(--gp-muted);
  font-size: 8px;
}

.gp-viewing-preview {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(116, 168, 216, 0.25);
  border-radius: 14px;
  background: rgba(116, 168, 216, 0.055);
}

.gp-viewing-preview b,
.gp-viewing-preview small {
  display: block;
}

.gp-viewing-preview b {
  color: #c0ddf5;
  font-size: 10px;
}

.gp-viewing-preview small {
  margin-top: 6px;
  color: var(--gp-muted);
  font-size: 8px;
  line-height: 1.5;
}

.gp-panel-footer {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-top: 1px solid var(--gp-line);
  background: rgba(12, 13, 15, 0.95);
}

.gp-button {
  min-height: 43px;
  padding: 0 15px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: 160ms ease;
}

.gp-button-secondary {
  border: 1px solid var(--gp-line);
  background: transparent;
  color: var(--gp-muted);
}

.gp-button-primary {
  border: 1px solid var(--gp-gold);
  background: linear-gradient(135deg, #e5c77f, #bd9651);
  color: #17140e;
  box-shadow: 0 10px 30px rgba(216, 182, 107, 0.16);
}

.gp-button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.gp-button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.gp-button-secondary:disabled {
  visibility: hidden;
}

.gp-footer-note {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--gp-muted);
  text-align: center;
}

.gp-footer-note span {
  color: var(--gp-gold);
}

.gp-footer-note small {
  overflow: hidden;
  font-size: 9px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gp-toast {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: 22px;
  max-width: min(420px, calc(100% - 32px));
  padding: 11px 14px;
  border: 1px solid var(--gp-line-strong);
  border-radius: 12px;
  background: #171719;
  color: var(--gp-text);
  box-shadow: var(--gp-shadow);
  font-size: 9px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: 180ms ease;
}

.gp-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.gp-evidence-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(2, 3, 4, 0.62);
  backdrop-filter: blur(4px);
}

.gp-evidence-drawer {
  position: fixed;
  z-index: 91;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(480px, 100%);
  overflow: hidden;
  border-left: 1px solid var(--gp-line-strong);
  background: #101114;
  box-shadow: -28px 0 80px rgba(0, 0, 0, 0.48);
}

.gp-evidence-backdrop[hidden],
.gp-evidence-drawer[hidden] {
  display: none;
}

.gp-evidence-header {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--gp-line);
}

.gp-evidence-header small {
  color: var(--gp-gold-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.gp-evidence-header h2 {
  margin: 5px 0 0;
  font: 500 25px/1.1 Fraunces, Georgia, serif;
}

.gp-evidence-body {
  height: calc(100% - 80px);
  overflow-y: auto;
  padding: 20px;
}

.gp-evidence-body:focus-visible {
  outline-offset: -5px;
}

.gp-evidence-status {
  display: inline-flex;
  padding: 6px 8px;
  border: 1px solid rgba(216, 182, 107, 0.3);
  border-radius: 999px;
  background: rgba(216, 182, 107, 0.07);
  color: var(--gp-gold-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.gp-evidence-summary {
  margin: 13px 0 18px;
  color: #d1d0cc;
  font: 500 16px/1.45 Fraunces, Georgia, serif;
}

.gp-evidence-grid {
  display: grid;
  gap: 8px;
}

.gp-evidence-row {
  padding: 12px;
  border: 1px solid var(--gp-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.028);
}

.gp-evidence-row small,
.gp-evidence-row b {
  display: block;
}

.gp-evidence-row small {
  color: var(--gp-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gp-evidence-row b {
  margin-top: 6px;
  color: #deddda;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.55;
}

.gp-evidence-rule {
  margin-top: 16px;
  padding: 13px;
  border: 1px solid rgba(117, 182, 155, 0.24);
  border-radius: 12px;
  background: rgba(117, 182, 155, 0.05);
  color: #b9d9cd;
  font-size: 11px;
  line-height: 1.55;
}

body.gp-dialog-open {
  overflow: hidden;
}

.gp-noscript {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 30px;
  background: #101114;
  color: white;
  text-align: center;
}

.gp-map-marker {
  min-width: 40px;
  height: 40px;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 8px;
  padding: 0 10px 0 6px;
  border: 1px solid var(--marker-color, var(--gp-gold));
  border-radius: 999px;
  background: rgba(13, 14, 16, 0.91);
  color: white;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: 160ms ease;
}

.gp-map-marker span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--marker-color, var(--gp-gold));
  color: #111;
  font-size: 9px;
  font-weight: 800;
}

.gp-map-marker b {
  font-size: 9px;
  white-space: nowrap;
}

.gp-map-marker.is-active {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--marker-color) 18%, transparent), 0 14px 30px rgba(0, 0, 0, 0.42);
}

.gp-map-marker.is-anchor {
  --marker-color: var(--gp-gold-soft);
  grid-template-columns: auto;
  width: 34px;
  min-width: 34px;
  height: 34px;
  padding: 3px;
}

.gp-map-marker.is-anchor span {
  width: 26px;
  height: 26px;
}

.mapboxgl-ctrl-logo,
.mapboxgl-ctrl-attrib {
  opacity: 0.55;
}

@media (max-width: 1100px) {
  .gp-shell {
    grid-template-columns: minmax(0, 1fr) minmax(410px, 43vw);
  }

  .gp-map-state {
    display: none;
  }

  .gp-area-rail {
    flex-direction: column;
    max-width: 190px;
  }
}

@media (max-width: 780px) {
  html,
  body {
    overflow: auto;
  }

  .gp-app {
    min-height: 100vh;
  }

  .gp-topbar {
    position: sticky;
    top: 0;
    height: 66px;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 0 14px;
  }

  .gp-pilot-bar {
    align-items: flex-start;
    flex-direction: column;
    padding: 10px 14px;
  }

  .gp-pilot-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gp-pilot-actions button {
    min-height: 44px;
    padding: 0 6px;
  }

  .gp-topbar-status,
  .gp-progress-copy {
    display: none;
  }

  .gp-brand small {
    display: none;
  }

  .gp-shell {
    height: auto;
    min-height: calc(100vh - 66px);
    display: block;
  }

  .gp-map-stage {
    height: 38vh;
    min-height: 280px;
  }

  .gp-map-heading {
    top: 19px;
    left: 18px;
    max-width: calc(100% - 36px);
  }

  .gp-map-heading h1 {
    margin-top: 6px;
    font-size: 30px;
  }

  .gp-map-heading p {
    display: none;
  }

  .gp-area-rail {
    right: 12px;
    bottom: 42px;
    left: 12px;
    max-width: none;
    flex-flow: row nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .gp-rail-card {
    min-width: 135px;
  }

  .gp-map-disclosure {
    right: 10px;
    bottom: 8px;
    left: 10px;
  }

  .gp-map-disclosure p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .gp-map-disclosure button {
    min-height: 25px;
  }

  .gp-fallback-label {
    display: none;
  }

  .gp-panel {
    min-height: 62vh;
    display: block;
    border-top: 1px solid var(--gp-line);
    border-left: 0;
  }

  .gp-step-nav {
    position: sticky;
    top: 66px;
    z-index: 20;
    padding: 9px 10px;
    background: rgba(16, 17, 20, 0.96);
    backdrop-filter: blur(14px);
  }

  .gp-step-tab small {
    display: none;
  }

  .gp-step-content {
    min-height: 520px;
    overflow: visible;
    padding: 25px 20px 110px;
  }

  .gp-panel-footer {
    position: sticky;
    z-index: 20;
    bottom: 0;
  }

  .gp-footer-note {
    display: none;
  }

  .gp-panel-footer {
    grid-template-columns: auto 1fr;
  }

  .gp-button-primary {
    justify-self: stretch;
  }
}

@media (max-width: 460px) {
  .gp-brand-mark {
    width: 34px;
    height: 34px;
  }

  .gp-truth-pill {
    display: none;
  }

  .gp-map-stage {
    min-height: 250px;
  }

  .gp-map-heading h1 {
    font-size: 26px;
  }

  .gp-brief-grid,
  .gp-anchor-grid,
  .gp-share-grid,
  .gp-rank-columns {
    grid-template-columns: 1fr;
  }

  .gp-step-content {
    padding-right: 16px;
    padding-left: 16px;
  }

  .gp-panel-footer {
    padding-right: 12px;
    padding-left: 12px;
  }

  .gp-button {
    padding: 0 13px;
  }
}

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