:root {
  --bg: #eef7fb;
  --panel: #ffffff;
  --ink: #081827;
  --muted: #587086;
  --line: #d4e3ef;
  --green: #087a60;
  --green-soft: #e8fff6;
  --red: #b42318;
  --blue: #1166d8;
  --gold: #a15c00;
  --gold-soft: #fff7df;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #eaf7ff 0%, var(--bg) 44%, #fff 100%);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
button, input, textarea, select { font: inherit; }
.movers-shell { width: min(1320px, calc(100% - 28px)); margin: 0 auto; padding: 18px 0 46px; }
.movers-hero, .movers-controls, .movers-summary, .movers-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 30px rgba(18, 44, 72, .08);
}
.movers-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
  padding: 24px;
  color: #fff;
  background: linear-gradient(135deg, #092d4b, #087a60);
}
.movers-hero a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin: 0 8px 10px 0;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 999px;
  color: #083047;
  background: #e8fff7;
  font-weight: 900;
  text-decoration: none;
}
.movers-hero span, .section-heading span, label span {
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.movers-hero h1 { margin: 8px 0; font-size: clamp(36px, 6vw, 68px); line-height: .95; }
.movers-hero p { max-width: 760px; margin: 0; color: #e8f9ff; font-size: 18px; line-height: 1.45; }
button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  background: var(--blue);
  cursor: pointer;
  font-weight: 900;
}
button:disabled { opacity: .6; cursor: wait; }
.hero-actions { display: grid; gap: 10px; min-width: 230px; }
.download-button { color: #083047; background: #e8fff7; border: 1px solid rgba(255,255,255,.55); }
.download-button:disabled { color: rgba(8,48,71,.7); }
button:focus-visible, a:focus-visible, textarea:focus, input:focus { outline: 3px solid rgba(17,102,216,.25); outline-offset: 2px; }
.movers-controls { display: grid; grid-template-columns: 180px 1fr 170px 190px; gap: 14px; margin: 14px 0; padding: 16px; }
label { display: grid; gap: 7px; color: #20364d; font-weight: 900; }
input, textarea, select { width: 100%; min-height: 42px; border: 1px solid #c4d4e4; border-radius: 8px; padding: 9px 10px; background: #fbfdff; color: var(--ink); }
textarea { resize: vertical; }
.movers-status { margin: 14px 0; padding: 12px 15px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: #fbfdff; }
.movers-status.live { color: var(--green); }
.movers-status.error { color: var(--red); border-color: #ffb7bd; background: #fff1ef; }
.movers-summary { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; margin-bottom: 14px; }
.movers-summary div { padding: 16px; border-right: 1px solid var(--line); }
.movers-summary div:last-child { border: 0; }
.movers-summary span { display: block; color: var(--muted); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.movers-summary strong { display: block; margin-top: 6px; font-size: 22px; overflow-wrap: anywhere; }
.movers-panel { overflow: hidden; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding: 18px; border-bottom: 1px solid var(--line); }
.section-heading h2 { margin: 4px 0 0; font-size: 28px; }
.section-heading > strong { color: var(--gold); font-size: 12px; }
.movers-table-wrap { overflow: auto; }
table { width: 100%; min-width: 1260px; border-collapse: collapse; }
th, td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
th:nth-child(2), td:nth-child(2), th:nth-child(3), td:nth-child(3) { text-align: left; }
th { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
td:nth-child(2) { color: var(--green); font: 850 12px ui-monospace, Consolas, monospace; }
td small { display: block; margin-top: 4px; color: var(--muted); font: 800 11px Arial, Helvetica, sans-serif; }
.option-links { display: flex; gap: 10px; margin-top: 7px; font: 900 11px Arial, Helvetica, sans-serif; }
.option-links a { text-decoration: underline; text-underline-offset: 2px; }
.big-move { color: var(--green); font-weight: 950; }
.down-move { color: var(--red); font-weight: 950; }
.winner-row td { border-top: 2px solid #aac4d8; }
.mirror-row { background: #fff4f3; }
.mirror-row td { border-bottom-color: #efc4c0; }
.mirror-row td:nth-child(2) { color: var(--red); }
.mirror-label { display: inline-flex; padding: 4px 7px; border-radius: 999px; color: #fff; background: var(--red); font-size: 9px; font-weight: 950; letter-spacing: .06em; text-transform: uppercase; }
.mirror-missing td { color: var(--muted); text-align: left; }
.movers-table-wrap a { color: #1166d8; font-weight: 900; text-decoration: none; }
.movers-note { margin: 18px 4px 0; max-width: 900px; color: var(--muted); font-size: 12px; line-height: 1.5; }
@media (max-width: 840px) {
  .movers-hero, .movers-controls, .movers-summary { grid-template-columns: 1fr; }
  .hero-actions { min-width: 0; }
  .movers-summary div { border-right: 0; border-bottom: 1px solid var(--line); }
}
