@charset "UTF-8";

.gps-page { background: #f7f9fd; }
.gps-page .wrap { width: min(1200px, calc(100% - 80px)); }
.gps-page [hidden] { display: none !important; }
.gps-header { background: var(--white); }
.gps-banner-inner { min-height: 58px; }
.gps-header-main { min-height: 112px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.gps-nav { display: flex; flex-wrap: wrap; gap: 12px 25px; align-items: center; }
.gps-nav a { display: flex; align-items: center; min-height: 44px; color: var(--blue-dark); font-size: 13px; font-weight: 650; }
.gps-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.gps-main { padding-bottom: 64px; }
.gps-hero { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 65px; padding: 48px 0 40px; }
.gps-kicker { color: var(--blue); font-size: 11px; font-weight: 750; line-height: 1.5; letter-spacing: .12em; margin-bottom: 14px; }
.gps-hero h1 { color: var(--navy); max-width: 650px; margin-bottom: 20px; font-size: clamp(44px, 5.3vw, 72px); font-weight: 760; letter-spacing: -.055em; line-height: 1.05; white-space: pre-line; }
.gps-intro { max-width: 540px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.gps-hero-note { display: flex; align-items: start; gap: 17px; padding: 25px 26px; border-radius: 17px 17px 17px 4px; border: 1px solid #cfddf8; background: #edf3ff; }
.gps-lock-mark { flex: 0 0 44px; display: grid; place-items: center; width: 44px; height: 44px; background: var(--blue); color: white; border-radius: 12px; }
.gps-lock-mark svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gps-hero-note strong { display: block; color: var(--blue-dark); font-size: 16px; margin: 0 0 7px; }
.gps-hero-note p { margin: 0; color: #526682; font-size: 14px; line-height: 1.7; }
.gps-card { min-width: 0; background: white; border: 1px solid var(--line); border-radius: 20px; padding: 28px 30px; }
.gps-card h2, .gps-panel-heading h2 { font-size: 28px; font-weight: 720; letter-spacing: -.035em; line-height: 1.2; margin: 0 0 15px; }
.gps-card h3 { color: var(--navy); font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: -.025em; margin: 0; }
.gps-muted { color: var(--muted); font-size: 15px; line-height: 1.7; }
.gps-small { color: var(--muted); font-size: 13px; line-height: 1.65; margin-bottom: 0; }
.gps-announcement { color: var(--blue-dark); font-size: 14px; line-height: 1.65; margin: 0; }
.gps-announcement:not(:empty) { margin-bottom: 24px; padding: 16px 20px; border: 1px solid #c5d5f6; border-radius: 12px; background: #eef4ff; }
.gps-announcement[data-tone="error"]:not(:empty) { color: #8a2e22; border-color: #e8c9c2; background: #fff5f2; }
.gps-login { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 80px; padding: 34px 38px; }
.gps-login .gps-muted { max-width: 420px; margin-bottom: 20px; }
.gps-connection { margin: 0; color: var(--blue-dark); font-weight: 600; font-size: 13px; }
.gps-login-form label { display: block; font-size: 14px; font-weight: 650; margin-bottom: 10px; }
.gps-login-form input { width: 100%; min-width: 0; min-height: 50px; border: 1px solid #a9b9d3; border-radius: 9px; padding: 11px 13px; background: #fbfcff; font-size: 16px; }
.gps-login-form input[aria-invalid="true"] { border-color: #a84030; }
.gps-login-form .gps-small { margin: 9px 0 0; }
.gps-field-error { color: #9b3327; font-size: 13px; line-height: 1.5; margin: 8px 0 0; }
.gps-field-error:empty { display: none; }
.gps-login-form .gps-button { margin-top: 18px; width: 100%; }
.gps-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; border: 1px solid transparent; border-radius: 9px; padding: 12px 18px; font-size: 14px; font-weight: 650; text-align: center; line-height: 1.4; }
.gps-button:disabled { cursor: not-allowed; opacity: .5; }
.gps-primary { color: white; background: var(--blue); }
.gps-primary:hover:not(:disabled) { background: var(--blue-dark); }
.gps-secondary { color: var(--blue-dark); border-color: #bdcce8; background: white; }
.gps-secondary:hover:not(:disabled) { background: var(--sky); }
.gps-stop { color: #912e21; border-color: #e0c4bd; background: #fffaf8; }
.gps-stop:hover:not(:disabled) { background: #ffede7; border-color: #c99c91; }
.gps-text-button { color: var(--blue-dark); background: transparent; border-color: #c5d2e9; }
.gps-text-button:hover:not(:disabled) { background: var(--sky); }
.gps-recovery { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; }
.gps-recovery p { margin: 0; max-width: 780px; }
.gps-recovery button { flex-shrink: 0; }
.gps-panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 0 0 24px; }
.gps-panel-heading .gps-kicker { margin-bottom: 8px; }
.gps-panel-heading h2 { margin: 0; }
.gps-dashboard-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.2fr); gap: 24px; align-items: stretch; }
.gps-card-top { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.gps-country, .gps-live-tag { flex-shrink: 0; color: var(--blue-dark); background: #edf3ff; border: 1px solid #d4e0f6; border-radius: 5px; padding: 4px 7px; font-size: 10px; font-weight: 750; letter-spacing: .06em; }
.gps-reference { color: var(--muted); font-size: 12px; letter-spacing: .05em; margin: 8px 0 24px; }
.gps-state-block { display: flex; align-items: start; gap: 13px; padding: 20px; border: 1px solid #d6e2f5; border-radius: 12px; background: #f4f7fd; }
.gps-state-dot { width: 9px; height: 9px; margin-top: 7px; border-radius: 50%; background: #65758d; flex-shrink: 0; }
.gps-state-block strong { color: var(--navy); font-size: 18px; line-height: 1.35; display: block; margin-bottom: 7px; }
.gps-state-block p { color: var(--muted); margin: 0; font-size: 13px; line-height: 1.7; }
.gps-state-block[data-state="live"] { border-color: #b2d4ca; background: #f0faf6; }
.gps-state-block[data-state="live"] .gps-state-dot { background: #17724f; }
.gps-state-block[data-state="waiting"] .gps-state-dot { background: var(--blue); }
.gps-state-block[data-state="stale"] { border-color: #e0ceac; background: #fff9ef; }
.gps-state-block[data-state="stale"] .gps-state-dot { background: #9a661c; }
.gps-window-details { display: grid; gap: 13px; margin: 23px 0; }
.gps-window-details > div { display: grid; grid-template-columns: 105px minmax(0, 1fr); gap: 14px; }
.gps-window-details dt, .gps-fix-details dt { color: var(--muted); font-size: 12px; line-height: 1.5; }
.gps-window-details dd { margin: 0; color: var(--navy); font-size: 13px; font-weight: 600; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.gps-actions { display: grid; gap: 10px; }
.gps-pairing-note { margin-top: 18px; padding: 16px 18px; border: 1px solid #d6e2f5; border-radius: 10px; background: #f4f7fd; }
.gps-pairing-note strong { display: block; color: var(--blue-dark); font-size: 13px; line-height: 1.5; margin-bottom: 7px; }
.gps-pairing-note p { color: var(--muted); font-size: 13px; line-height: 1.7; margin: 0; }
.gps-control-note { margin-top: 17px; }
.gps-primary-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 30px 0 27px; padding-bottom: 25px; border-bottom: 1px solid #e4eaf3; }
.gps-primary-metrics p { color: var(--muted); font-size: 12px; line-height: 1.5; margin-bottom: 10px; }
.gps-primary-metrics strong { display: block; color: var(--blue-dark); font-size: clamp(25px, 2.7vw, 36px); font-weight: 730; line-height: 1.2; letter-spacing: -.04em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.gps-fix-details { display: grid; grid-template-columns: 1fr 1fr; gap: 23px; margin: 0 0 22px; }
.gps-fix-details dd { color: var(--navy); font-size: 15px; line-height: 1.5; font-weight: 600; margin: 5px 0 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.gps-fix-details time { font-size: 13px; font-weight: 500; }
.gps-trail-card { grid-column: 1 / -1; }
.gps-trail-heading { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 22px; }
.gps-trail-heading .gps-kicker { margin-bottom: 7px; }
.gps-not-map { color: #526582; background: #f3f6fc; border: 1px solid #d5dfef; border-radius: 5px; padding: 6px 9px; font-size: 10px; font-weight: 700; letter-spacing: .05em; }
.gps-trail-canvas { display: grid; position: relative; min-height: 270px; border: 1px solid #dbe4f3; border-radius: 12px; overflow: hidden; background: #f6f9ff; }
#gpsTrail { display: block; width: 100%; height: 300px; align-self: center; }
.gps-chart-grid path { fill: none; stroke: #e4ebf7; stroke-width: 1; }
.gps-route { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.gps-route-start { fill: white; stroke: var(--blue); stroke-width: 2.5; }
.gps-route-current { fill: var(--blue); stroke: white; stroke-width: 3; }
.gps-trail-empty { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 25px; }
.gps-trail-empty svg { width: 36px; height: 36px; fill: none; stroke: var(--blue); stroke-width: 1.5; margin-bottom: 13px; }
.gps-trail-empty strong { color: var(--blue-dark); font-size: 16px; margin-bottom: 7px; }
.gps-trail-empty p { color: var(--muted); max-width: 460px; margin: 0; font-size: 13px; line-height: 1.7; }
.gps-trail-footer { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; margin: 15px 0 10px; color: var(--muted); font-size: 12px; }
.gps-trail-footer p { margin: 0; }
.gps-trail-footer p:first-child { color: var(--blue-dark); font-weight: 650; }
.gps-refresh-note { color: var(--muted); max-width: 800px; font-size: 13px; line-height: 1.75; margin: 23px 0 0; }
.gps-no-script { padding: 20px; border: 1px solid #e0ceac; border-radius: 12px; background: #fff9ef; }
.gps-footer { padding: 27px 0; background: white; border-top: 1px solid var(--line); }
.gps-footer .wrap { display: flex; align-items: center; gap: 24px; }
.gps-footer strong { color: var(--navy); font-size: 16px; font-weight: 800; letter-spacing: .1em; }
.gps-footer strong span { color: var(--blue); }
.gps-footer p { color: var(--muted); font-size: 12px; margin: 0; }
.gps-footer .wrap > span { color: var(--muted); font-size: 11px; margin-left: auto; text-align: right; }
@media (max-width: 900px) {
  .gps-page .wrap { width: calc(100% - 48px); }
  .gps-hero { gap: 32px; grid-template-columns: 1.1fr 1fr; }
  .gps-hero-note { padding: 22px; gap: 12px; }
  .gps-login { gap: 40px; padding: 30px; }
  .gps-dashboard-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
  .gps-card { padding: 25px; }
  .gps-card-top { align-items: start; }
  .gps-window-details > div { grid-template-columns: 85px minmax(0, 1fr); }
  .gps-primary-metrics, .gps-fix-details { gap: 20px 15px; }
}
@media (max-width: 680px) {
  .gps-page .wrap { width: calc(100% - 36px); }
  .gps-banner-inner { gap: 14px; min-height: 64px; padding: 10px 0; }
  .gps-banner-inner > span { max-width: 220px; font-size: 10px; line-height: 1.6; }
  .gps-header-main { min-height: 120px; align-items: start; padding: 23px 0 17px; gap: 15px; }
  .gps-header-main .logo { font-size: 20px; }
  .gps-header-main .brand-mark { width: 35px; height: 35px; font-size: 27px; }
  .gps-header-main .logo small { font-size: 6px; letter-spacing: .12em; }
  .gps-nav { display: grid; gap: 0; justify-items: end; }
  .gps-nav a { min-height: 44px; font-size: 11px; text-align: right; }
  .gps-hero { grid-template-columns: 1fr; gap: 25px; padding: 31px 0; }
  .gps-hero h1 { font-size: clamp(42px, 12vw, 60px); margin-bottom: 18px; }
  .gps-kicker { font-size: 10px; }
  .gps-intro { font-size: 15px; }
  .gps-hero-note { padding: 21px; }
  .gps-hero-note p { font-size: 13px; }
  .gps-hero-note strong { font-size: 15px; }
  .gps-login { grid-template-columns: 1fr; gap: 25px; }
  .gps-card { padding: 24px 22px; border-radius: 16px; }
  .gps-login h2, .gps-panel-heading h2 { font-size: 25px; }
  .gps-card h3 { font-size: 19px; }
  .gps-muted { font-size: 14px; }
  .gps-login .gps-muted { margin-bottom: 14px; }
  .gps-recovery { align-items: stretch; flex-direction: column; gap: 13px; }
  .gps-panel-heading { align-items: start; gap: 12px; padding-bottom: 20px; }
  .gps-panel-heading .gps-text-button { font-size: 12px; padding: 10px 12px; min-height: 44px; }
  .gps-dashboard-grid { grid-template-columns: 1fr; gap: 18px; }
  .gps-state-block { padding: 18px; }
  .gps-primary-metrics { margin-top: 26px; }
  .gps-primary-metrics strong { font-size: 29px; }
  .gps-fix-details dd { font-size: 14px; }
  .gps-window-details > div { grid-template-columns: 106px minmax(0, 1fr); }
  .gps-trail-heading { align-items: start; flex-direction: column; gap: 12px; }
  .gps-trail-canvas { min-height: 260px; }
  #gpsTrail { height: 260px; }
  .gps-trail-empty { padding: 22px; }
  .gps-trail-footer { font-size: 11px; }
  .gps-footer .wrap { flex-wrap: wrap; gap: 13px 20px; }
  .gps-footer p { width: calc(100% - 110px); }
  .gps-footer .wrap > span { margin: 0; text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .gps-page { scroll-behavior: auto; } html:has(.gps-page) { scroll-behavior: auto; } }
@media print { .gps-page main, .gps-page header, .gps-page .skip { display: none !important; } .gps-footer { border: 0; } }
