@font-face {
  font-family: "Oswald";
  src: url("assets/oswald.ttf") format("truetype");
  font-weight: 200 700;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.ttf") format("truetype");
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/ibm-plex-mono.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

:root {
  --deep: #0e2925;
  --deep-soft: #173b34;
  --ink: #17231e;
  --muted: #5d6a62;
  --page: #dce6e1;
  --mist: #e9efe7;
  --paper: #f5f0e0;
  --paper-bright: #fbf7e9;
  --line: #bdb9a6;
  --chartreuse: #c9e265;
  --signal: #d04a27;
  --steel: #3f6b78;
  --progress: #7d9820;
  --done: #76857b;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --display: "Oswald", "Arial Narrow", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background-color: var(--page);
  background-image:
    linear-gradient(rgba(14, 41, 37, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 41, 37, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.has-dialog {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

button,
select {
  cursor: pointer;
}

button,
select {
  touch-action: manipulation;
}

svg {
  display: block;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--chartreuse);
  color: var(--deep);
}

:focus-visible {
  outline: 3px solid #176b56;
  outline-offset: 2px;
}

.tower :focus-visible,
.detail__chrome :focus-visible {
  outline-color: var(--chartreuse);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--chartreuse);
  color: var(--deep);
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
}

.skip-link:focus {
  top: 16px;
}

/* ---------- Tower header ---------- */

.tower {
  position: relative;
  overflow: hidden;
  padding: clamp(16px, 2vw, 26px) clamp(18px, 3.6vw, 52px) clamp(52px, 6vw, 76px);
  color: var(--mist);
  background:
    radial-gradient(120% 150% at 88% -20%, #1d4c43 0%, #12332d 48%, #0b221e 100%);
}

.tower::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(233, 239, 231, 0.045) 0 1px,
    transparent 1px 112px
  );
}

.tower::after {
  content: "";
  position: absolute;
  right: -150px;
  top: -230px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  border: 1px solid rgba(201, 226, 101, 0.16);
  box-shadow:
    0 0 0 80px rgba(201, 226, 101, 0.035),
    0 0 0 160px rgba(201, 226, 101, 0.025),
    inset 0 0 90px rgba(201, 226, 101, 0.06);
  pointer-events: none;
}

.tower__bar,
.tower__intro {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin-inline: auto;
}

.tower__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.radar {
  width: 42px;
  height: 42px;
  color: var(--chartreuse);
  flex: none;
}

.radar__sweep {
  transform-origin: 24px 24px;
  animation: radar-sweep 9s linear infinite;
}

@keyframes radar-sweep {
  to {
    transform: rotate(360deg);
  }
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand__name {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.brand__tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #a9c0b7;
}

.live {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.live__readout {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--chartreuse);
}

.live__clock {
  margin: 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: #9fb7ae;
}

.tower__intro {
  margin-top: clamp(18px, 2.4vw, 28px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(20px, 5vw, 64px);
}

.tower__intro h1 {
  max-width: 18ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(34px, 3.7vw, 52px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.005em;
}

.tower__lede {
  max-width: 39ch;
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.55;
  color: #b8cbc3;
}

/* ---------- Console ---------- */

.console {
  position: relative;
  z-index: 3;
  max-width: 1240px;
  margin: calc(-1 * clamp(30px, 4vw, 42px)) auto 0;
  padding: 15px 18px 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 216px minmax(150px, auto);
  gap: 16px 18px;
  align-items: end;
  background: var(--paper);
  border: 1px solid #c4c0ad;
  border-radius: 3px;
  box-shadow:
    0 18px 34px -22px rgba(6, 24, 20, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.console__field {
  min-width: 0;
}

.console__field > label,
.route-field > label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #55635a;
}

.input-shell,
.select-shell {
  position: relative;
  height: 44px;
  display: flex;
  align-items: center;
  background: var(--paper-bright);
  border: 1px solid #a9a691;
  border-radius: 2px;
}

.input-shell {
  gap: 9px;
  padding: 0 12px;
}

.input-shell:focus-within,
.select-shell:focus-within {
  border-color: #1c6b57;
  box-shadow: inset 0 0 0 1px #1c6b57;
}

.input-shell__icon {
  width: 17px;
  height: 17px;
  flex: none;
  color: #5e6b62;
}

.input-shell input {
  width: 100%;
  height: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 15px;
  outline: none;
}

.input-shell input::placeholder {
  color: #7c857b;
}

input[type="search"]::-webkit-search-cancel-button,
select {
  cursor: pointer;
}

button,
select {
  touch-action: manipulation;
}

.select-shell {
  padding: 0;
}

.select-shell select {
  width: 100%;
  height: 100%;
  padding: 0 36px 0 12px;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  outline: none;
  cursor: pointer;
}

.select-shell__chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  width: 11px;
  height: 8px;
  transform: translateY(-50%);
  pointer-events: none;
  color: #4e5c53;
}

.console__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  padding-bottom: 3px;
}

.console__summary {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: #5d6a62;
  text-align: right;
  line-height: 1.4;
}

.text-button {
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.03em;
  color: #1c5c4c;
}

.text-button:hover {
  color: #0e2925;
}

/* ---------- Board ---------- */

.board-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(26px, 3.4vw, 40px) clamp(16px, 3.6vw, 52px) 56px;
}

.board-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(14, 41, 37, 0.22);
}

.board-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: 0.025em;
}

.board-head__legend {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-align: right;
}

.bays {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
  align-items: start;
}

.bay {
  --bay-color: var(--steel);
  min-width: 0;
}

.bay--todo {
  --bay-color: var(--steel);
}

.bay--todo .bay__code {
  color: #eef3ea;
}

.bay--in-progress {
  --bay-color: var(--progress);
}

.bay--blocked {
  --bay-color: var(--signal);
}

.bay--done {
  --bay-color: var(--done);
}

.bay__head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 8px 11px;
  border-top: 3px solid var(--bay-color);
  background: var(--deep);
  color: var(--mist);
}

.bay__code {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: none;
  background: var(--bay-color);
  color: #0e211d;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  border-radius: 1px;
}

.bay__name {
  margin: 0;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.015em;
}

.bay__count {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: #a4bab1;
}

.bay__body {
  position: relative;
  padding: 14px 0 6px 22px;
}

.bay__body::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(#c3c3af, #8d9384);
  box-shadow: 1px 0 0 rgba(255, 255, 255, 0.45);
}

.bay__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bay__ghost {
  margin: 0;
  padding: 20px 12px;
  border: 1px dashed rgba(14, 41, 37, 0.34);
  background: rgba(255, 255, 255, 0.16);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.03em;
  color: #66746b;
  text-align: center;
}

/* ---------- Paper strips ---------- */

.strip {
  position: relative;
  cursor: pointer;
  padding: 9px 11px 8px;
  background: var(--paper);
  border: 1px solid #c7c3b0;
  border-left: 4px solid var(--bay-color);
  border-radius: 1px;
  box-shadow:
    0 1px 0 #b6b3a2,
    0 7px 16px -12px rgba(8, 29, 24, 0.7);
  transform: rotate(var(--tilt, 0deg));
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 200ms ease;
}

.strip::before {
  content: "";
  position: absolute;
  left: -19px;
  top: 15px;
  width: 17px;
  height: 8px;
  background: linear-gradient(#6b7169, #303934);
  border: 1px solid #1e2723;
  border-radius: 2px;
}

.strip::after {
  content: "";
  position: absolute;
  left: -14px;
  top: 17.5px;
  width: 4px;
  height: 3px;
  border-radius: 50%;
  background: #0c1714;
}

.strip:hover {
  transform: translateY(-2px) rotate(0deg);
  box-shadow:
    0 2px 0 #b6b3a2,
    0 16px 24px -16px rgba(8, 29, 24, 0.8);
}

.strip:focus-within {
  outline: 2px solid #176b56;
  outline-offset: 2px;
}

.strip__top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.02em;
  color: #5b675e;
}

.strip__id {
  font-weight: 600;
  color: #26332c;
  letter-spacing: 0.06em;
}

.strip__status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #45534a;
  white-space: nowrap;
}

.strip__status::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--bay-color);
  border-radius: 50%;
}

.strip__priority {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #5a665d;
}

.strip__priority::before {
  content: "";
  width: 5px;
  height: 5px;
  background: #8c988e;
  border-radius: 50%;
}

.strip__priority--high {
  color: #a83a1c;
}

.strip__priority--high::before {
  background: var(--signal);
}

.strip__priority--medium::before {
  background: #7f8c83;
}

.strip__priority--low::before {
  background: #b9bfb6;
}

.strip__due {
  margin-left: auto;
  white-space: nowrap;
  color: #5b675e;
}

.strip__title {
  margin: 6px 0 7px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.005em;
  overflow-wrap: break-word;
  color: #16211c;
}

.strip__meta {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  margin-bottom: 8px;
  font-size: 11px;
  color: #4f5c53;
}

.avatar {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: none;
  border: 1px solid #aeb6a9;
  background: #e3e7da;
  color: #2c3a32;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.strip__owner {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.strip__project {
  margin-left: auto;
  padding-left: 6px;
  max-width: 46%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.01em;
  color: #5e6a61;
  text-align: right;
}

.strip__foot {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 7px;
  border-top: 1px dashed #cbc6b3;
}

.strip__tags {
  display: flex;
  gap: 4px;
  min-width: 0;
  overflow: hidden;
}

.tag {
  display: inline-block;
  padding: 2px 5px;
  border: 1px solid #bfbaa7;
  background: #ece6d3;
  color: #4e5a51;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.3;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.strip__open {
  margin-left: auto;
  flex: none;
  padding: 6px 10px 7px;
  border: 1px solid var(--deep);
  border-radius: 1px;
  background: var(--deep);
  color: var(--mist);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.03em;
}

.strip__open:hover {
  background: var(--bay-color);
  border-color: var(--bay-color);
  color: #0e211d;
}

.strip--moved {
  animation: strip-land 900ms ease-out;
}

@keyframes strip-land {
  0% {
    background: #fffce8;
    box-shadow:
      0 0 0 3px var(--bay-color),
      0 12px 22px -12px rgba(8, 29, 24, 0.75);
  }
  100% {
    background: var(--paper);
  }
}

/* ---------- Empty state ---------- */

.empty {
  max-width: 540px;
  margin: 10px auto 24px;
  padding: 36px 28px 34px;
  border: 1px solid #c3bfac;
  background: var(--paper);
  box-shadow:
    0 1px 0 #b5b2a1,
    0 20px 40px -28px rgba(8, 29, 24, 0.65);
  text-align: center;
}

.empty__radar {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  color: #4f7568;
}

.empty__kicker {
  margin: 0 0 4px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: #6b776e;
}

.empty h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
}

.empty__copy {
  max-width: 38ch;
  margin: 0 auto 20px;
  font-size: 14px;
  line-height: 1.55;
  color: #556259;
}

.solid-button {
  padding: 11px 18px;
  border: 1px solid var(--deep);
  border-radius: 2px;
  background: var(--deep);
  color: var(--mist);
  font-size: 13px;
  font-weight: 600;
}

.solid-button:hover {
  background: #1b4a40;
}

/* ---------- Detail drawer ---------- */

.detail {
  --bay-color: var(--steel);
  position: fixed;
  inset: 0 0 0 auto;
  width: min(760px, 100%);
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: -30px 0 70px -20px rgba(5, 20, 16, 0.55);
  overflow: hidden;
}

.detail[open] {
  display: flex;
  flex-direction: column;
  animation: drawer-in 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.detail::backdrop {
  background: rgba(6, 22, 18, 0.55);
  backdrop-filter: blur(2px);
}

@keyframes drawer-in {
  from {
    transform: translateX(28px);
    opacity: 0.4;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.detail__chrome {
  position: relative;
  z-index: 2;
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px clamp(16px, 3vw, 24px);
  border-bottom: 3px solid var(--bay-color);
  background: var(--deep);
  color: var(--mist);
}

.detail__id {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--chartreuse);
}

.detail__bay {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.03em;
  color: #a8bfb6;
}

.detail__close {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(233, 239, 231, 0.45);
  border-radius: 1px;
  background: transparent;
  color: var(--mist);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.03em;
}

.detail__close svg {
  width: 10px;
  height: 10px;
}

.detail__close:hover {
  background: var(--chartreuse);
  border-color: var(--chartreuse);
  color: var(--deep);
}

.detail__scroller {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(20px, 3.6vw, 36px) clamp(18px, 4vw, 40px) 46px;
}

.detail__project {
  margin: 0 0 7px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: #5d6a61;
}

.detail__title {
  max-width: 22ch;
  margin: 0 0 20px;
  font-family: var(--display);
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: 0.002em;
  overflow-wrap: break-word;
  color: #14201a;
}

.detail__route {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px 18px;
  margin-bottom: 26px;
  padding: 14px 16px;
  border: 1px dashed #b8b3a0;
  background: #ece6d4;
}

.route-field {
  flex: none;
}

.select-shell--route {
  width: 210px;
  height: 42px;
  background: var(--paper-bright);
}

.route-feedback {
  flex: 1;
  min-width: 170px;
  min-height: 18px;
  margin: 0 0 11px;
  font-size: 13px;
  line-height: 1.4;
  color: #245a44;
}

.route-feedback:not(:empty)::before {
  content: "✓";
  margin-right: 6px;
  font-weight: 700;
}

.detail__content {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(180px, 0.8fr);
  gap: 30px;
  align-items: start;
}

.detail__body {
  max-width: 60ch;
  white-space: pre-line;
  font-size: 16px;
  line-height: 1.66;
  color: #28332d;
}

.manifest {
  padding-left: 20px;
  border-left: 1px solid #c8c3b0;
}

.manifest dl {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 0;
}

.manifest dt {
  margin-bottom: 2px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: #58645b;
}

.manifest dd {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: #1b2721;
}

.manifest__tags {
  margin-top: 22px;
}

.manifest__tags h3 {
  margin: 0 0 6px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #58645b;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.manifest__note {
  margin: 24px 0 0;
  padding-top: 14px;
  border-top: 1px dashed #c8c3b0;
  font-size: 11px;
  line-height: 1.5;
  color: #58645b;
}

.noscript {
  max-width: 620px;
  margin: 24px auto;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  text-align: center;
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .bays {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .console {
    grid-template-columns: minmax(0, 1fr) 210px;
  }

  .console__meta {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0;
  }

  .console__summary {
    text-align: left;
  }
}

@media (max-width: 820px) {
  .tower__intro {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .tower__intro h1 {
    max-width: 16ch;
  }

  .tower__lede {
    max-width: 46ch;
  }

  .console {
    margin-inline: clamp(14px, 3vw, 24px);
  }
}

@media (max-width: 680px) {
  .tower {
    padding-bottom: 58px;
  }

  .tower__bar {
    align-items: flex-start;
  }

  .radar {
    width: 34px;
    height: 34px;
  }

  .brand__name {
    font-size: 23px;
  }

  .brand__tag {
    font-size: 9px;
  }

  .live {
    gap: 4px;
    padding-top: 2px;
  }

  .live__readout {
    max-width: 150px;
    font-size: 10px;
    line-height: 1.35;
  }

  .live__clock {
    font-size: 10px;
  }

  .tower__intro h1 {
    font-size: clamp(32px, 9vw, 40px);
  }

  .tower__lede {
    font-size: 13px;
  }

  .console {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
    margin-top: -32px;
  }

  .console__meta {
    grid-column: auto;
  }

  .board-wrap {
    padding-top: 24px;
    padding-bottom: 40px;
  }

  .board-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .board-head__legend {
    text-align: left;
  }

  .bays {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .bay--empty {
    display: none;
  }

  .strip {
    transform: none;
  }

  .strip:hover {
    transform: translateY(-1px);
  }

  .strip__title {
    font-size: 16px;
  }

  .empty {
    padding: 30px 20px 28px;
  }

  .detail {
    width: 100vw;
  }

  .detail__title {
    max-width: none;
    font-size: clamp(30px, 9vw, 38px);
  }

  .detail__content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .manifest {
    padding-left: 0;
    padding-top: 18px;
    border-left: 0;
    border-top: 1px solid #c8c3b0;
  }

  .detail__scroller {
    padding-bottom: 40px;
  }
}

@media (max-width: 400px) {
  .live__readout {
    max-width: 118px;
  }

  .strip__due {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .radar__sweep {
    transform: rotate(35deg);
  }
}
