:root {
  color-scheme: light;
  --ink: #16363a;
  --muted: #506861;
  --paper: #fffefa;
  --line: #d8e2d9;
  --green: #166659;
  --bg: #f4f6ef;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.shell { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.top { background: #12353b; color: #f6faf7; }
.top-inner, .top-actions, .controls, .landing, .actions {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.top-inner { min-height: 68px; }
.brand { color: inherit; text-decoration: none; font-size: 29px; letter-spacing: -.07em; font-weight: 760; }
.brand span { margin-left: 12px; color: #b5dec8; font-size: 14px; font-weight: 620; letter-spacing: 0; }
.top-actions { font-size: 13px; }
.region { color: #b9d4cb; }
.top button { color: inherit; border-color: #597974; }
.hero { display: grid; grid-template-columns: 1.45fr 1fr; align-items: end; gap: 46px; padding: 60px 0 36px; }
.eyebrow { margin: 0 0 12px; color: var(--green); font-size: 12px; font-weight: 760; letter-spacing: .13em; }
h1 { margin: 0; font: 500 clamp(44px, 7vw, 86px)/.95 Georgia, serif; letter-spacing: -.059em; }
h2 { margin: 0; font-size: 21px; letter-spacing: -.023em; }
p { margin: 6px 0 0; color: var(--muted); }
.sub { font-size: 17px; margin-top: 16px; }
.flow { padding: 9px 22px; background: #e6eee5; border: 1px solid #d4e1d4; border-radius: 9px; }
.flow > div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 11px 0; }
.flow > div + div { border-top: 1px solid #ccdacd; }
.flow span { font-size: 12px; color: var(--muted); }
.flow strong { font-size: 13px; text-align: right; }
.panel, .metric { background: var(--paper); border: 1px solid var(--line); border-radius: 9px; }
.panel { padding: 22px; }
.landing { min-height: 108px; }
.controls { border-top: 1px solid var(--line); padding: 21px 0; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.metric { padding: 15px 18px; }
.metric span { display: block; color: var(--muted); font-size: 13px; }
.metric strong { display: block; margin-top: 3px; font: 500 32px Georgia, serif; }
button { padding: 9px 13px; border: 1px solid #9db4a6; border-radius: 6px; background: transparent; color: var(--ink); line-height: 1.35; font-family: inherit; font-size: 14px; font-weight: 630; cursor: pointer; }
button:enabled:hover { background: #e5eee6; }
button.primary { background: var(--green); color: #fff; border-color: var(--green); }
button.primary:enabled:hover { background: #114f45; }
.top button:enabled:hover { background: #244b51; }
button:disabled { opacity: .53; cursor: default; }
button:focus-visible, a:focus-visible, pre:focus-visible { outline: 3px solid #ac630d; outline-offset: 3px; }
.table-panel { padding: 0; overflow: hidden; }
.section-header { padding: 20px 22px 15px; }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 14px; text-align: left; white-space: nowrap; }
th, td { border-top: 1px solid var(--line); padding: 10px 16px; }
th:first-child, td:first-child { padding-left: 22px; }
th { background: #eaf1e9; color: #37564e; font-size: 12px; }
td { font-variant-numeric: tabular-nums; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0; }
.activity { margin: 10px 0 0; padding: 0; list-style: none; font-size: 14px; }
.activity li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.activity li:last-child { border-bottom: 0; }
.activity small { display: block; color: var(--muted); }
.destination { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; }
.actions { flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.notice { margin: 0 0 15px; padding: 10px 14px; border-radius: 6px; color: #214f43; background: #e4eee5; }
.notice.error { color: #703117; background: #f8eae0; }
pre { margin: 0; grid-column: 1 / -1; overflow: auto; max-height: 305px; padding: 14px; color: #eaf4ed; background: #173b40; border-radius: 6px; }
.footer { margin-block: 37px 25px; font-size: 12px; color: var(--muted); }
@media (max-width: 720px) {
  .shell { width: calc(100% - 32px); }
  .hero { display: block; padding: 33px 0 23px; }
  .flow { margin-top: 19px; }
  .metrics { gap: 7px; }
  .metric { padding: 10px; }
  .metric strong { font-size: 23px; }
  .metric span { font-size: 11px; }
  .split, .destination { grid-template-columns: 1fr; }
  .actions { justify-content: flex-start; }
  .panel { padding: 16px; }
  .table-panel { padding: 0; }
  .section-header { padding: 14px 16px 12px; }
  .controls > button, .landing > button { flex-shrink: 0; }
}
