:root {
  --bg: #fbfcfd;
  --paper: #ffffff;
  --ink: #11151b;
  --muted: #667085;
  --line: #dde3ea;
  --line-soft: #edf1f5;
  --theatrical: #c90f1f;
  --broadcast: #4f3294;
  --streaming: #0b8793;
  --shadow: 0 20px 50px rgba(19, 28, 42, 0.08);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Courier New", Courier, ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0; }
a { color: inherit; }
.app-shell { width: min(1500px, calc(100vw - 48px)); margin: 0 auto; padding: 28px 0 44px; }
.topbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
h1 { max-width: 1100px; margin: 0; font-family: "Courier New", Courier, ui-monospace, SFMono-Regular, Menlo, monospace; font-size: clamp(26px, 3vw, 38px); line-height: 1.08; font-weight: 700; }
.topbar p { margin: 10px 0 0; color: var(--muted); font-size: 16px; }
.date-lock { min-width: 178px; display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; align-items: center; font-size: 14px; padding-top: 5px; }
.date-lock small { grid-column: 2; color: var(--muted); margin-top: 2px; }
.calendar-icon { grid-row: span 2; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: linear-gradient(var(--ink), var(--ink)) 10px 11px / 14px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) 10px 17px / 14px 2px no-repeat, linear-gradient(var(--paper), var(--paper)); }
.command-row { display: grid; grid-template-columns: minmax(300px, 520px) 1fr; gap: 18px 22px; align-items: start; margin-bottom: 24px; }
.search-box { height: 52px; display: flex; align-items: center; gap: 12px; padding: 0 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 25px rgba(19, 28, 42, 0.03); }
.search-box span { color: var(--muted); font-size: 24px; line-height: 1; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 15px; }
.filter-strip { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-button { min-height: 40px; min-width: 0; border: 1px solid var(--line); border-radius: 8px; padding: 8px 13px; background: var(--paper); color: #202733; font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease; }
.filter-button:hover { transform: translateY(-1px); }
.filter-button.is-active { background: #121922; border-color: #121922; color: #fff; box-shadow: var(--shadow); }
.horizon-panel { min-height: 66px; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 16px 20px; margin-bottom: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
.horizon-panel strong { display: block; font-size: 18px; }
.horizon-panel span { display: block; color: var(--muted); margin-top: 3px; font-size: 13px; }
.coverage-pills { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.coverage-pill { display: inline-flex; align-items: center; gap: 8px; color: #2b3340; font-size: 13px; white-space: nowrap; }
.coverage-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.coverage-pill strong { padding: 3px 8px; border: 1px solid var(--line); border-radius: 999px; background: #f8fafc; color: var(--ink); font: inherit; }
.coverage-pill small { color: var(--muted); font-size: 12px; }
.coverage-pill[data-type="Theatrical"] { color: var(--theatrical); }
.coverage-pill[data-type="TV"] { color: var(--broadcast); }
.coverage-pill[data-type="Streaming"], .coverage-pill[data-type="Netflix"] { color: var(--streaming); }
.release-board { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 14px 40px rgba(19, 28, 42, 0.045); }
.board-header, .release-row { display: grid; grid-template-columns: 132px minmax(260px, 1.65fr) 140px 140px 122px minmax(150px, 0.9fr) 92px 128px; gap: 14px; align-items: center; }
.board-header { min-height: 42px; padding: 0 20px; background: #f7f9fb; color: #4f5b6b; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.release-row { min-height: 74px; padding: 11px 20px; border-bottom: 1px solid var(--line-soft); }
.release-row:last-child { border-bottom: 0; }
.date-cell strong, .date-cell span, .title-cell small, .subtle { display: block; }
.date-cell strong { font-size: 15px; font-weight: 650; }
.date-cell span, .title-cell small, .subtle { color: var(--muted); font-size: 12px; line-height: 1.35; }
.title-cell strong { display: block; font-size: 18px; line-height: 1.24; font-weight: 800; }
.metric { font-size: 14px; color: #17202b; }
.route { display: inline-flex; width: max-content; align-items: center; min-height: 26px; padding: 4px 10px; border-radius: 8px; font-size: 12px; font-weight: 750; }
.route[data-type="Theatrical"] { color: #7c1017; background: #fde8ea; border: 1px solid #f6c8cd; }
.route[data-type="Broadcast"] { color: #39216f; background: #eee9ff; border: 1px solid #d8cef8; }
.route[data-type="Streaming"] { color: #075f68; background: #dff5f7; border: 1px solid #b7e5e9; }
.source-link { color: #59657a; font-size: 14px; text-decoration: none; }
.source-link:hover { color: var(--ink); text-decoration: underline; }
.status { display: inline-flex; width: max-content; min-height: 26px; align-items: center; padding: 4px 10px; border-radius: 8px; border: 1px solid #cfe8e9; color: #087079; background: #f1fbfb; font-size: 12px; font-weight: 750; }
.status.is-window { border-color: #ead9a9; color: #875f09; background: #fff8e5; }
.empty-state { padding: 42px 20px; text-align: center; color: var(--muted); }
@media (max-width: 1100px) {
  .app-shell { width: min(100% - 28px, 920px); }
  .command-row { grid-template-columns: 1fr; }
  .horizon-panel { align-items: flex-start; flex-direction: column; }
  .coverage-pills { justify-content: flex-start; }
  .release-board { background: transparent; border: 0; box-shadow: none; border-radius: 0; }
  .board-header { display: none; }
  .release-rows { display: grid; gap: 12px; }
  .release-row { grid-template-columns: 1fr; gap: 8px; min-height: 0; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
  .date-cell { display: flex; align-items: baseline; gap: 8px; }
}
@media (max-width: 640px) {
  .app-shell { width: calc(100% - 24px); padding-top: 20px; }
  .topbar { display: block; }
  h1 { font-size: 25px; }
  .date-lock { margin-top: 18px; }
  .filter-strip { gap: 7px; }
  .filter-button { flex: 1 1 31%; padding-inline: 8px; font-size: 12px; }
  .title-cell strong { font-size: 17px; }
}
