@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@300;400;500&family=IBM+Plex+Sans:wght@300;400;500;600&display=swap");

html { scroll-behavior: smooth; }
body.watch-page { min-height: 100vh; height: auto; overflow: auto; background: var(--bg); color: var(--text); }
.watch-shell { min-height: 100vh; }
.watch-header { position: sticky; top: 0; z-index: 30; }
.watch-header .header-left { flex-direction: row; align-items: baseline; gap: 12px; }
.watch-header .header-product-tagline { color: var(--text-muted); }
.watch-header-right, .watch-header-link { font-family: var(--mono); font-size: 10px; color: var(--text-muted); }
.watch-header-link { text-decoration: none; }
.watch-header-link:hover { color: var(--accent); }
.watch-main { max-width: 1060px; margin: 0 auto; padding: 32px 28px 64px; }
.watch-hero { padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.watch-hero h1 { font-family: var(--mono); font-size: 23px; font-weight: 400; letter-spacing: .02em; margin: 0 0 7px; }
.watch-deck { color: var(--text-dim); font-size: 13px; line-height: 1.5; font-weight: 300; margin: 0; }
.watch-controls { display: flex; flex-direction: column; gap: 13px; padding: 17px 0 11px; }
.watch-control-label, .watch-search-wrap label, .watch-date-grid label { display: block; font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-dim); }
.watch-search-wrap label { margin-bottom: 6px; }
.watch-search { width: 100%; box-sizing: border-box; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 4px; padding: 8px 10px; outline: none; font-family: var(--mono); font-size: 11px; }
.watch-search:focus, .watch-date-grid input:focus { border-color: var(--accent-dim); outline: none; }
.watch-search::placeholder { color: var(--text-muted); }
.watch-jurisdictions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.watch-radio { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border: 1px solid var(--border); border-radius: 4px; background: var(--surface); cursor: pointer; font-family: var(--mono); font-size: 10px; color: var(--text-dim); user-select: none; }
.watch-radio:has(input:checked) { border-color: var(--accent-dim); color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, var(--surface)); }
.watch-radio input { margin: 0; accent-color: var(--accent); }
.watch-date-grid input { display: block; box-sizing: border-box; width: 100%; margin-top: 5px; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 3px; padding: 7px 8px; font-family: var(--mono); font-size: 10px; }
.watch-date-row { display: flex; align-items: end; gap: 10px; }
.watch-date-grid { display: grid; grid-template-columns: minmax(0, 180px) minmax(0, 180px); gap: 10px; }
.watch-clear-dates { border: 0; padding: 0 0 8px; background: transparent; color: var(--accent-dim); font-family: var(--mono); font-size: 9px; cursor: pointer; white-space: nowrap; }
.watch-clear-dates:hover { color: var(--accent); }
.watch-results-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 5px 0 10px; font-family: var(--mono); font-size: 10px; color: var(--text-muted); }
.watch-list { border-top: 1px solid var(--border); }
.watch-publication { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 22px; column-gap: 12px; padding: 10px 0 11px; border-bottom: 1px solid var(--border); }
.watch-publication-meta { grid-column: 1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 10px; margin-bottom: 3px; min-width: 0; }
.watch-date, .watch-source { font-family: var(--mono); font-size: 9px; line-height: 1.35; letter-spacing: .055em; text-transform: uppercase; color: var(--text-muted); }
.watch-source { color: var(--accent-dim); white-space: nowrap; }
.watch-title { grid-column: 1; color: var(--text); font-size: 14px; line-height: 1.32; font-weight: 500; text-decoration: none; }
.watch-title:hover { color: var(--accent); }
.watch-external { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--accent-dim); font-family: var(--mono); font-size: 15px; line-height: 1; text-decoration: none; text-align: right; }
.watch-external:hover { color: var(--accent); }
.watch-link { font-family: var(--mono); font-size: 10px; color: var(--accent); text-decoration: none; border: 1px solid var(--accent-dim); border-radius: 3px; padding: 5px 9px; background: rgba(130,106,45,.05); cursor: pointer; }
.watch-link:hover { color: var(--text); background: rgba(130,106,45,.10); }
.watch-load-more { display: block; margin: 16px auto 0; }
.watch-empty { padding: 26px 0; font-family: var(--mono); color: var(--text-muted); font-size: 11px; }
.watch-options { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font: 10px var(--mono); color: var(--text-dim); }
.watch-options label { display: inline-flex; align-items: center; gap: 6px; }
.watch-options input, .watch-options select { background: var(--surface); color: var(--text); border: 1px solid var(--border); padding: 4px; max-width: 100%; }
.watch-options summary { cursor: pointer; }
.watch-future-toggle { display: inline-flex; align-items: center; gap: 6px; width: fit-content; font: 10px var(--mono); color: var(--text-muted); cursor: pointer; }
.watch-future-toggle input { margin: 0; accent-color: var(--accent); }
[hidden] { display: none !important; }

.watch-about { max-width: 760px; }
.watch-about h1 { font-family: var(--mono); font-size: 25px; font-weight: 400; margin: 0 0 28px; }
.watch-about section { border-top: 1px solid var(--border); padding: 22px 0; }
.watch-about h2 { font-family: var(--mono); font-size: 13px; font-weight: 400; color: var(--accent); margin: 0 0 10px; }
.watch-about p { color: var(--text-dim); font-size: 14px; line-height: 1.7; font-weight: 300; margin: 0 0 10px; }
.watch-about a { color: var(--accent); }
.watch-endpoint code { display: inline-block; padding: 7px 9px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-family: var(--mono); font-size: 12px; overflow-wrap: anywhere; }
.watch-examples { margin: 0 0 12px; padding: 2px 0 2px 14px; border-left: 2px solid var(--border); }
.watch-about .watch-examples p { color: var(--text); font-size: 13px; line-height: 1.55; margin: 0; }
.watch-table-wrap { overflow-x: auto; margin-top: 14px; }
.watch-about table { width: 100%; border-collapse: collapse; font-size: 12px; color: var(--text-dim); }
.watch-about th, .watch-about td { padding: 5px 8px 5px 0; text-align: left; vertical-align: top; white-space: nowrap; }
.watch-about th { color: var(--text); font-weight: 400; }
.watch-about td:first-child { white-space: normal; min-width: 230px; }
.watch-about th:last-child, .watch-about td:last-child { padding-right: 0; }
@media (max-width: 560px) { .watch-about table { font-size: 11px; } .watch-about td:first-child { min-width: 180px; } }

@media (max-width: 760px) {
  .watch-main { padding: 24px 18px 48px; }
  .watch-header .header-product-tagline, .watch-header-right { display: none; }
  .watch-date-grid { grid-template-columns: 1fr 1fr; }
  .watch-publication { padding: 11px 0; }
}
@media (max-width: 440px) {
  .watch-date-grid { grid-template-columns: 1fr; }
  .watch-date-row { align-items: flex-start; }
  .watch-clear-dates { padding-top: 3px; }
  .watch-results-meta span:last-child { display: none; }
}
