:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;

  --navy: #0b1534;
  --navy-soft: #14244a;
  --ink: #101a36;
  --aqua: #25e0d0;
  --aqua-dark: #0eafa5;
  --mint: #e9faf7;
  --paper: #ffffff;
  --soft: #f4f7f8;
  --line: #dce5e7;
  --line-strong: #c8d4d7;
  --muted: #687684;
  --muted-2: #88939e;
  --danger: #ad3b3b;
  --danger-soft: #fff3f3;
  --warning: #856113;
  --warning-soft: #fff9e9;
  --success: #08796f;
  --success-soft: #e9faf7;
  --shadow: 0 12px 38px rgba(13, 27, 57, .07);

  /* Compatibility aliases used by the location tools */
  --bg: var(--soft);
  --surface: var(--paper);
  --surface-subtle: #f9fbfb;
  --surface-muted: #f4f7f7;
  --ink-soft: #34425c;
  --subtle: var(--muted-2);
  --accent: var(--aqua-dark);
  --accent-hover: #0b9890;
  --accent-soft: var(--mint);
  --shadow-sm: 0 1px 5px rgba(20,35,63,.08);
  --shadow-md: var(--shadow);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--soft); scroll-behavior: smooth; }
body { min-height: 100%; margin: 0; background: var(--soft); color: var(--ink); -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: not-allowed; opacity: .4; }
a { color: inherit; }
.hidden { display: none !important; }

.appHeader {
  color: #fff;
  background: linear-gradient(132deg, var(--navy) 0%, #0d1b3b 72%, #102647 100%);
  padding-bottom: 46px;
  position: relative;
  z-index: 0;
}

.headerInner,
.headerHero,
.pageShell,
.productFooter {
  width: min(1320px, calc(100% - 44px));
  margin-inline: auto;
}

.headerInner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.productBrand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
}

.hawkLogo {
  width: 112px;
  height: 34px;
  display: block;
  object-fit: contain;
  object-position: left center;
  flex: 0 0 auto;
}

.brandProduct {
  padding-left: 14px;
  border-left: 1px solid rgba(255,255,255,.18);
  color: #dbe4ec;
  font-size: 12px;
  line-height: 1;
  font-weight: 720;
  letter-spacing: .01em;
  white-space: nowrap;
}

.toolNav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.toolTab {
  padding: 8px 10px;
  border-radius: 8px;
  color: #aebbc9;
  text-decoration: none;
  font-size: 12px;
  font-weight: 740;
  white-space: nowrap;
  transition: color .15s ease, background .15s ease;
}

.toolTab:hover {
  color: #fff;
  background: rgba(255,255,255,.06);
}

.toolTab.active {
  color: #fff;
  background: rgba(255,255,255,.1);
}

.headerHero {
  padding-top: 28px;
}

.headerHero .eyebrow {
  color: var(--aqua);
}

.headerHero h1 {
  max-width: 880px;
  margin: 8px 0 10px;
  color: #fff;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -.048em;
  font-weight: 790;
}

.headerHero p {
  max-width: 720px;
  margin: 0;
  color: #c5cfda;
  font-size: 14px;
  line-height: 1.55;
}

.eyebrow,
.sectionLabel {
  text-transform: uppercase;
  letter-spacing: .15em;
  font-weight: 850;
  font-size: 10px;
  color: var(--aqua-dark);
}

.pageShell {
  margin-top: -24px;
  position: relative;
  z-index: 2;
  padding-bottom: 82px;
}

.surface {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.surfaceAccent {
  border-top: 3px solid var(--aqua);
}

.surfaceHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 17px;
}

.surfaceHeader h2 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  letter-spacing: -.025em;
}

.surfaceHeader p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.sectionLabel {
  margin: 0 0 5px;
  color: var(--aqua-dark);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f6f8f8;
  color: var(--muted);
  font-size: 10px;
  font-weight: 780;
  white-space: nowrap;
}

.badge.muted { background: #f6f8f8; color: var(--muted); }
.badge.running { background: #eef9f8; border-color: #cde8e5; color: var(--aqua-dark); }
.badge.success { background: var(--success-soft); border-color: #cce6e2; color: var(--success); }
.badge.warning { background: var(--warning-soft); border-color: #ecd79c; color: var(--warning); }
.badge.error { background: var(--danger-soft); border-color: #efbebe; color: var(--danger); }

.field {
  display: grid;
  align-content: start;
  gap: 6px;
  color: #586675;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.field > span,
.fieldLabel {
  color: #586675;
  font-size: 10px;
  font-weight: 800;
}

.fieldHint {
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 560;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.4;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

input,
select {
  min-height: 42px;
  padding: 9px 11px;
}

textarea {
  padding: 12px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--aqua-dark);
  box-shadow: 0 0 0 3px rgba(37,224,208,.12);
}

.primaryButton,
.secondaryButton,
.ghostButton {
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 760;
  transition: border-color .15s ease, background .15s ease, opacity .15s ease;
}

.primaryButton {
  border: 1px solid var(--aqua);
  background: var(--aqua);
  color: var(--navy);
}

.primaryButton:hover:not(:disabled) {
  background: #50e9dd;
  border-color: #50e9dd;
}

.secondaryButton {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--navy);
}

.secondaryButton:hover:not(:disabled) {
  border-color: #9ebabc;
  background: #f8fbfb;
}

.ghostButton {
  border: 0;
  background: transparent;
  color: var(--muted);
}

.emptyState {
  display: grid;
  justify-items: center;
  text-align: center;
  color: var(--muted);
}

.emptyIcon {
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--navy);
  background: var(--aqua);
}

.statusText {
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.4;
}

.statusText.ok { color: var(--success); }
.statusText.error { color: var(--danger); }

.productFooter {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 26px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.4;
}

@media (max-width: 700px) {
  .appHeader { padding-bottom: 36px; }
  .headerInner,
  .headerHero,
  .pageShell,
  .productFooter {
    width: min(100% - 26px, 1320px);
  }
  .headerInner { height: 64px; }
  .hawkLogo { width: 96px; height: 30px; }
  .brandProduct { display: none; }
  .toolTab { padding: 7px 8px; font-size: 10px; }
  .headerHero { padding-top: 22px; }
  .headerHero h1 { font-size: clamp(30px, 10vw, 42px); }
  .headerHero p { font-size: 13px; }
  .pageShell { margin-top: -18px; padding-bottom: 58px; }
  .surface { border-radius: 13px; }
  .productFooter { display: block; }
  .productFooter span { display: block; margin-top: 3px; }
}

@media (max-width: 460px) {
  .headerInner,
  .headerHero,
  .pageShell,
  .productFooter {
    width: min(100% - 18px, 1320px);
  }
  .toolNav { gap: 1px; }
  .toolTab { padding-inline: 6px; }
}
