:root {
  font: 16px/1.5 system-ui, sans-serif;
  color: #172631;
  background: #edf2f5;
  --navy: #101f2c;
  --teal: #006a62;
  --muted: #486171;
  --line: #cddae2;
}
* { box-sizing: border-box; }
body { margin: 0; }
header { background: var(--navy); color: #f7fbff; }
.brand { max-width: 65rem; margin: auto; padding: .85rem 1.25rem; display: flex; align-items: center; gap: .65rem; font-weight: 750; }
.symbol { display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: .45rem; background: #8ce7d4; color: #123834; font-size: 1.3rem; line-height: 1; }
.brand-role { font-size: .82rem; color: #c1d1dc; padding-left: .65rem; border-left: 1px solid #596d7c; }
main { max-width: 65rem; margin: auto; padding: 1.25rem; }
h1, h2 { margin: 0; line-height: 1.15; }
h1 { font-size: clamp(1.75rem, 5vw, 2.75rem); letter-spacing: -.035em; }
h2 { font-size: 1.16rem; }
p { color: var(--muted); }
section { background: #fff; border: 1px solid var(--line); border-radius: .95rem; padding: 1.25rem; }
.access { max-width: 32rem; margin: min(12vh, 6rem) auto 2rem; padding: clamp(1.25rem, 5vw, 2rem); }
.access form { margin-top: 1.5rem; display: grid; gap: .6rem; }
label { font-weight: 650; }
input { display: block; min-height: 3rem; width: 100%; border: 1px solid #8399a8; border-radius: .45rem; padding: .5rem .7rem; background: #fbfdff; color: #13242d; font: inherit; }
.lookup input { text-transform: uppercase; font-variant-numeric: tabular-nums; }
button { border: 1px solid transparent; min-height: 2.8rem; border-radius: .45rem; padding: .55rem .9rem; font: inherit; font-weight: 700; background: var(--teal); color: #fff; cursor: pointer; }
.access button { margin-top: .35rem; }
button:hover { background: #035950; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid #bd6804; outline-offset: 3px; }
.warning { padding: .65rem .8rem; border-radius: .4rem; color: #742b08; background: #fff0de; }
.signout { display: flex; justify-content: flex-end; margin-bottom: 1.1rem; }
.signout button { background: #fff; color: var(--navy); border-color: var(--line); font-size: .87rem; }
.signout button:hover { background: #dce8ee; }
.back { color: #145168; font-weight: 650; text-decoration: underline; text-underline-offset: .18em; }
.case-head { margin: 1rem 0 1.3rem; }
.case-head h1 { margin-top: .55rem; }
.reference, .test { display: inline-block; border-radius: .35rem; padding: .2rem .55rem; color: #07535a; background: #c7edec; font-weight: 720; font-size: .85rem; }
.test { margin-left: .45rem; color: #723908; background: #ffead0; }
.case-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1rem; }
.trajectory { grid-column: 1 / -1; }
dl { margin: .9rem 0 0; }
dt { color: var(--muted); font-size: .85rem; margin-top: .7rem; }
dd { margin: .08rem 0 0; font-size: 1.06rem; font-weight: 640; overflow-wrap: anywhere; }
.coordinate { font-variant-numeric: tabular-nums; letter-spacing: .015em; }
.route { display: block; width: 100%; max-height: 19rem; margin-top: .85rem; background: #e7f0f2; border: 1px solid #cfdee4; border-radius: .45rem; }
.route polyline { fill: none; stroke: #006e67; stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; }
.route .start { fill: #f8fcfe; stroke: #006e67; stroke-width: 2; }
.route .end { fill: #a44317; stroke: #fff; stroke-width: 2; }
.route text { fill: #23424b; font-weight: 800; }
.legend { margin-bottom: 0; font-size: .86rem; }
@media (max-width: 40rem) {
  .case-grid { grid-template-columns: 1fr; }
  .trajectory { grid-column: auto; }
}
