/* Provisional, app-local demo styling; not a shared corporate token set. */
:root {
  --surface: #f6f7f8;
  --card: #fff;
  --ink: #202b35;
  --muted: #53616e;
  --line: #d8dee3;
  --action: #264e68;
  --nav: #172833;
  --focus: #a44c00;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--surface);
  font-size: 16px;
  line-height: 1.6;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--action);
}
button,
input {
  font: inherit;
}
button,
a,
input {
  touch-action: manipulation;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
.skip {
  position: absolute;
  top: -80px;
  padding: 12px;
  background: white;
  z-index: 5;
}
.skip:focus {
  top: 8px;
}
.layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
}
aside {
  background: var(--nav);
  color: white;
  padding: 38px 24px;
  display: flex;
  flex-direction: column;
}
.wordmark {
  font-size: 26px;
  font-weight: 750;
  text-decoration: none;
  color: white;
  letter-spacing: -1px;
}
.wordmark span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1px;
  color: #c4d1da;
}
nav {
  display: grid;
  gap: 8px;
  margin-top: 62px;
}
nav a {
  color: #d6e0e7;
  text-decoration: none;
  padding: 12px;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
nav a[aria-current] {
  background: #314651;
  color: white;
}
nav a span {
  font-size: 12px;
}
.aside-note {
  margin-top: auto;
  padding-top: 100px;
  font-size: 20px;
  line-height: 1.5;
}
.aside-note p {
  font-size: 11px;
  color: #c4d1da;
  margin-top: 24px;
}
.workspace {
  min-width: 0;
}
header {
  height: 85px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  font-size: 13px;
  color: var(--muted);
}
.badge {
  border: 1px solid #b8c4cd;
  border-radius: 20px;
  padding: 4px 12px;
  color: var(--ink);
  font-size: 12px;
}
main {
  max-width: 1400px;
  padding: 48px;
  min-height: calc(100vh - 160px);
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--muted);
  text-transform: uppercase;
  margin: 0 0 12px;
}
h1 {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.12;
  letter-spacing: -2px;
  font-weight: 600;
  margin: 0 0 20px;
}
h2 {
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 16px;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 19px;
  line-height: 1.3;
  margin: 16px 0 24px;
}
.intro {
  color: var(--muted);
  max-width: 660px;
  margin: 0 0 32px;
  font-size: 15px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  margin: 36px 0 46px;
}
.metrics article {
  padding: 24px;
  border-right: 1px solid var(--line);
}
.metrics article:last-child {
  border: 0;
}
.metrics span,
.metrics small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.metrics strong {
  display: block;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.6;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.section-title a {
  font-size: 13px;
}
.site-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.site-card {
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.site-card .eyebrow {
  font-size: 9px;
  letter-spacing: 1px;
}
.status {
  font-size: 12px;
  font-weight: 600;
}
.muted {
  font-size: 12px;
  color: var(--muted);
}
button {
  cursor: pointer;
  background: transparent;
  border: 0;
  color: var(--action);
  font-size: 13px;
  padding: 12px 0;
  min-height: 44px;
  text-align: left;
}
button:hover,
a:hover {
  text-decoration: underline;
}
.notice {
  padding: 24px 28px;
  border-left: 3px solid #8d9fab;
  background: #edf1f4;
  margin: 32px 0 0;
}
.notice p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 0;
}
.notice h2:not(:first-child) {
  margin-top: 28px;
}
footer {
  margin: 0 48px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
}
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
input {
  width: 100%;
  max-width: 460px;
  padding: 12px;
  border: 1px solid #7b8a96;
  border-radius: 5px;
  background: white;
}
#result-count {
  font-size: 13px;
  color: var(--muted);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 32px;
  max-width: 540px;
  width: calc(100% - 32px);
  color: var(--ink);
}
dialog::backdrop {
  background: #17283399;
}
.close {
  display: block;
  margin-left: auto;
}
dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  font-size: 14px;
}
dt {
  color: var(--muted);
}
dd {
  margin: 0;
}
[hidden] {
  display: none !important;
}
@media (max-width: 1100px) {
  .site-grid {
    grid-template-columns: 1fr;
  }
  .layout {
    grid-template-columns: 210px 1fr;
  }
  main {
    padding: 32px;
  }
  header {
    padding: 0 32px;
  }
  .metrics article {
    padding: 16px;
  }
}
@media (max-width: 700px) {
  .layout {
    display: block;
  }
  aside {
    padding: 20px;
  }
  .wordmark {
    font-size: 22px;
  }
  .wordmark span,
  .aside-note {
    display: none;
  }
  nav {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }
  nav a {
    padding: 10px;
  }
  nav a span {
    display: none;
  }
  header {
    padding: 0 20px;
    height: 65px;
  }
  main {
    padding: 28px 20px;
  }
  h1 {
    letter-spacing: -1px;
  }
  .metrics {
    grid-template-columns: 1fr;
    margin: 24px 0 32px;
  }
  .metrics article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .metrics strong {
    font-size: 32px;
  }
  .section-title {
    align-items: start;
    flex-direction: column;
    gap: 0;
    margin-bottom: 16px;
  }
  footer {
    margin: 0 20px;
    gap: 16px;
    flex-wrap: wrap;
  }
  dialog {
    padding: 20px;
  }
}
