/* HarborLine customer services: track, billing, partners. */
:root {
  --navy-900: #071a2e;
  --navy-800: #0e2a47;
  --navy-700: #16395f;
  --teal: #19b3ac;
  --teal-soft: #e3f6f5;
  --ink: #0f1d2c;
  --muted: #5b6b7d;
  --line: #dfe6ee;
  --bg: #f3f6fa;
  --card: #ffffff;
  --ok: #13865f;
  --ok-bg: #e2f5ec;
  --warn: #b45309;
  --warn-bg: #fdf0dc;
  --info: #1d5fa8;
  --info-bg: #e5effa;
  --mutedpill: #64748b;
  --mutedpill-bg: #eef1f5;
  --radius: 14px;
  --mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--sans); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.5; }
a { color: var(--info); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2 { margin: 0; letter-spacing: -0.01em; }
h2 { font-size: 1.15rem; margin-bottom: 0.75rem; }
p { margin: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.big { font-size: 1.2rem; font-weight: 600; }
.right { text-align: right; }

.topbar { background: var(--navy-900); color: #fff; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand:hover { text-decoration: none; }
.logo { width: 36px; height: 36px; }
.brand-name { font-weight: 700; font-size: 1.2rem; letter-spacing: 0.01em; }
.brand-svc { color: var(--teal); font-weight: 600; padding-left: 12px; border-left: 1px solid #2c4a6b; }
.topnav { display: flex; gap: 22px; color: #9fb4ca; font-size: 0.95rem; }
.topnav .on { color: #fff; border-bottom: 2px solid var(--teal); padding-bottom: 4px; }

.hero {
  background: linear-gradient(120deg, var(--navy-800) 0%, var(--navy-700) 55%, #12636b 100%);
  color: #fff; padding: 40px 0 72px;
}
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; color: var(--teal); font-weight: 700; }
.hero h1 { font-size: 2.2rem; margin-top: 6px; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; margin-top: -44px; padding-bottom: 48px; align-items: start; }
.main-col { display: grid; gap: 24px; min-width: 0; }
.card { background: var(--card); border-radius: var(--radius); padding: 22px 24px; box-shadow: 0 1px 2px rgba(7, 26, 46, 0.06), 0 8px 24px rgba(7, 26, 46, 0.06); }

.search label { display: block; font-weight: 600; margin-bottom: 8px; }
.search-row { display: flex; gap: 12px; }
.search input { flex: 1; font: inherit; font-family: var(--mono); padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfe; min-width: 0; }
.search input:focus { outline: 2px solid var(--teal); border-color: transparent; }
.search button { font: inherit; font-weight: 600; background: var(--teal); color: #fff; border: 0; border-radius: 10px; padding: 0 26px; cursor: pointer; }
.search button:hover { background: #128f89; }

.notice.warn { background: var(--warn-bg); color: var(--warn); }
.notice.info { background: var(--info-bg); color: var(--info); }

.ship-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.ship-head h2 { font-size: 1.6rem; margin: 2px 0; }
.route { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; margin: 8px 0 20px; }
.route-bar { width: 100%; height: 8px; display: block; }
.route-track { fill: var(--line); }
.route-fill { fill: var(--teal); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 18px; }
.facts dt { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.facts dd { margin: 2px 0 0; font-weight: 600; }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--teal-soft); }
.timeline li { display: grid; grid-template-columns: 130px 1fr auto; gap: 12px; padding: 8px 0 8px 18px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 15px; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); border: 2px solid #fff; }
.timeline .when { font-family: var(--mono); font-size: 0.85rem; color: var(--muted); }
.timeline .what { font-weight: 600; }

.tbl { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.tbl th { text-align: left; color: var(--muted); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.num { text-align: right; }

.pill { display: inline-block; font-size: 0.78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.pill.ok { color: var(--ok); background: var(--ok-bg); }
.pill.warn { color: var(--warn); background: var(--warn-bg); }
.pill.info { color: var(--info); background: var(--info-bg); }
.pill.muted { color: var(--mutedpill); background: var(--mutedpill-bg); }
.warn-t { color: var(--warn); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat-v { font-size: 1.8rem; font-weight: 700; margin-top: 4px; }

.verb { display: inline-block; min-width: 46px; text-align: center; font-size: 0.72rem; font-weight: 700; border-radius: 6px; padding: 2px 6px; margin-right: 6px; }
.verb-get { background: var(--info-bg); color: var(--info); }
.verb-post { background: var(--ok-bg); color: var(--ok); }
.code { background: var(--navy-900); color: #cfe3f7; border-radius: 10px; padding: 18px; overflow-x: auto; font-family: var(--mono); font-size: 0.88rem; line-height: 1.6; margin: 10px 0 0; }

.conn { position: sticky; top: 24px; border-top: 4px solid var(--teal); }
.conn h2 { margin-bottom: 2px; }
.conn dl { margin: 14px 0 0; }
.conn dt { color: var(--muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 12px; }
.conn dd { margin: 2px 0 0; font-family: var(--mono); font-size: 0.9rem; word-break: break-all; font-weight: 600; }
.conn dd.np { color: var(--muted); font-style: italic; font-weight: 400; font-family: var(--sans); }

.foot { color: var(--muted); font-size: 0.85rem; padding: 0 0 32px; }

@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .conn { position: static; }
  .stats { grid-template-columns: 1fr; }
  .topnav { display: none; }
  .timeline li { grid-template-columns: 1fr; gap: 0; }
  .tbl { display: block; overflow-x: auto; }
}
