:root {
  --paper: #f7f7f2;
  --surface: #ffffff;
  --ink: #173d38;
  --text: #304d46;
  --muted: #657670;
  --subtle: #657670;
  --teal: #087f82;
  --teal-dark: #08676a;
  --mint: #edf5f1;
  --mint-deep: #e1eee8;
  --line: #dce3dd;
  --line-soft: #edf0e9;
  --amber: #9d702c;
  --amber-bg: #f8f0e1;
  --radius: 16px;
  font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  color: var(--text);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); font-size: 14px; line-height: 1.7; }
body:has(.detail-drawer[open]), body:has(.reminder-dialog[open]) { overflow: hidden; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; color: inherit; }
button:disabled { opacity: .42; cursor: default; }
button, input, select { outline: none; }
button { border: 0; background: none; }
a { color: inherit; text-decoration: none; }
button, a, input, select, summary { outline-offset: 4px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--teal); outline-offset: 4px;
}
button, a { transition: color .16s, background-color .16s, border-color .16s, box-shadow .16s; }
svg { display: inline-block; flex: none; vertical-align: middle; }
button svg { pointer-events: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: #cfe8df; color: var(--ink); }
.reminder-card { background: var(--mint); }
.reminder-bell { color: var(--teal); font-size: 22px; line-height: 1; }
.reminder-summary { color: var(--muted); font-size: 12px; margin: 12px 0 14px; overflow-wrap: anywhere; }
.reminder-summary.is-on { color: var(--teal-dark); }
.reminder-dialog { width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); box-shadow: 0 24px 80px #173d3826; overflow: auto; }
.reminder-dialog::backdrop { background: #173d385e; backdrop-filter: blur(3px); }
.reminder-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.reminder-dialog-head h2 { color: var(--ink); font-size: 24px; letter-spacing: -.025em; }
.reminder-dialog-head .icon-button { font-size: 26px; }
.reminder-intro { color: var(--muted); margin-top: 14px; }
.reminder-tools { margin: 22px 0 16px; padding: 0; border: 0; }
.reminder-tools legend { color: var(--ink); font-weight: 600; font-size: 13px; margin-bottom: 10px; }
#reminder-tool-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.reminder-tool { display: flex; align-items: center; gap: 9px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.reminder-tool:has(input:checked) { background: var(--mint); border-color: #9ec7b9; }
.reminder-tool input { accent-color: var(--teal); width: 16px; height: 16px; flex: none; margin: 0; }
.reminder-help { color: var(--muted); font-size: 12px; margin-top: 10px; }
.reminder-status { padding: 12px; background: var(--mint); border-radius: 8px; font-size: 13px; margin: 18px 0; overflow-wrap: anywhere; }
.reminder-status.is-error { background: var(--amber-bg); color: var(--amber); }
.reminder-actions { display: flex; flex-wrap: wrap; gap: 9px 12px; align-items: center; }
.reminder-privacy { border-top: 1px solid var(--line-soft); padding-top: 16px; margin-top: 20px; color: var(--muted); font-size: 11px; }
@media (max-width: 600px) {
  .heading-actions { flex-wrap: wrap; }
  .reminder-dialog { padding: 20px; }
  .reminder-actions .btn { flex: 1 0 auto; white-space: normal; }
}
h1, h2, h3, p { margin: 0; }
.shell { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip, .skip-link { position: absolute; left: 20px; top: -90px; z-index: 60; padding: 10px 15px; background: white; border: 1px solid var(--line); border-radius: 8px; }
.skip:focus, .skip-link:focus { top: 12px; }

/* The masthead follows the product site's quiet, paper-colored chrome. */
.site-header { background: rgba(247,247,242,.96); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; min-height: 78px; gap: 40px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 164px; height: auto; }
.site-nav { display: flex; align-items: stretch; align-self: stretch; gap: 29px; }
.site-nav a { display: inline-flex; align-items: center; position: relative; color: var(--muted); font-size: 13px; white-space: nowrap; }
.site-nav a:hover { color: var(--teal); }
.site-nav a.is-current { color: var(--ink); font-weight: 650; }
.site-nav a.is-current::after { content: ""; position: absolute; height: 2px; left: 0; right: 0; bottom: -1px; border-radius: 2px; background: var(--teal); }
.header-actions { display: flex; align-items: center; gap: 21px; margin-left: auto; }
.updates-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 7px 12px; min-height: 36px; color: var(--muted); font-size: 12px; border: 1px solid var(--line); border-radius: 7px; white-space: nowrap; }
.updates-button svg { width: 14px; height: 14px; }
.updates-button b { display: inline-flex; align-items: center; justify-content: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 5px; font-size: 12px; font-weight: 650; background: var(--mint-deep); color: var(--text); font-variant-numeric: tabular-nums; }
.updates-button:hover { background: var(--mint); border-color: #bdcebf; }
.updates-button[aria-pressed="true"] { background: var(--mint-deep); border-color: #a8c3ae; color: var(--text); }
.language { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 36px; padding: 7px 0; color: var(--muted); font-size: 12px; font-weight: 650; }
.language:hover { color: var(--teal); }

/* Compact introduction: reading begins in the first viewport. */
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding: 38px 0 27px; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; font-weight: 650; letter-spacing: .15em; line-height: 1.5; margin-bottom: 11px; }
.eyebrow svg { width: 13px; height: 13px; }
.eyebrow > span:empty { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px #e6eddf; }
.heading-copy h1 { margin: 0 0 11px -1px; color: var(--ink); font-size: 42px; font-weight: 620; letter-spacing: -.045em; line-height: 1.25; }
.heading-copy h1 .title-dot { color: var(--teal); margin-left: 1px; }
.heading-copy > p { color: var(--muted); font-size: 14px; line-height: 1.8; letter-spacing: .005em; }
.heading-actions { display: flex; gap: 10px; flex: none; padding-bottom: 4px; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 39px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 8px; font-size: 12px; font-weight: 550; line-height: 1.5; white-space: nowrap; }
.btn svg { width: 15px; height: 15px; }
.btn-secondary { background: #fcfdfa; color: var(--teal-dark); }
.btn-secondary:hover { background: var(--mint); border-color: var(--line); }
.btn-primary { background: var(--teal); color: white; border-color: #1b7a69; }
.btn-primary:hover { background: var(--teal-dark); border-color: #176557; }
.btn-subtle { background: transparent; color: var(--muted); border-color: transparent; }
.btn-subtle:hover { background: var(--mint); border-color: var(--line); }
.text-button { display: inline-flex; min-height: 36px; align-items: center; gap: 6px; color: var(--teal-dark); padding: 0; font-size: 12px; line-height: 1.6; white-space: nowrap; }
.text-button:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.text-button svg { width: 13px; height: 13px; }
.demo-notice { display: flex; align-items: center; gap: 10px; padding: 10px 0 16px; margin-bottom: 7px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.7; }
.demo-pill { display: inline-flex; align-items: center; justify-content: center; flex: none; padding: 2px 6px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); font-size: 12px; font-weight: 500; line-height: 1.5; }
.notice-copy { flex: 1; min-width: 0; }
.demo-notice .text-button { font-size: 12px; flex: none; }

.workspace { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 32px; align-items: start; margin-top: 19px; }
.feed-column { min-width: 0; scroll-margin-top: 20px; }
.category-tabs { display: flex; align-items: stretch; gap: 27px; border-bottom: 1px solid var(--line); min-height: 49px; }
.category-tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; position: relative; min-height: 48px; padding: 0 0 13px; white-space: nowrap; font-size: 14px; font-weight: 500; color: var(--muted); }
.category-tabs button > svg { width: 16px; height: 16px; }
.category-tabs button .count { color: var(--muted); background: var(--mint); border-radius: 4px; font-size: 10px; font-weight: 550; line-height: 17px; min-width: 18px; padding: 0 4px; text-align: center; font-variant-numeric: tabular-nums; }
.category-tabs button[aria-pressed="true"], .category-tabs button[aria-selected="true"], .category-tabs button.active { color: var(--ink); font-weight: 650; }
.category-tabs button[aria-pressed="true"]::after, .category-tabs button[aria-selected="true"]::after, .category-tabs button.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--teal); border-radius: 2px; }
.category-tabs button[aria-pressed="true"] .count, .category-tabs button[aria-selected="true"] .count, .category-tabs button.active .count { background: var(--mint-deep); color: var(--muted); }
.category-tabs button:hover { color: var(--text); }
.filterbar { display: flex; align-items: center; gap: 10px; padding-top: 18px; }
.search-field { display: flex; align-items: center; gap: 9px; flex: 1; min-width: 150px; padding: 0 12px; height: 38px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--muted); }
.search-field:focus-within { border-color: #81b394; box-shadow: 0 0 0 3px #5b9b7910; }
.search-field > svg { width: 15px; height: 15px; }
.search-field input { width: 100%; min-width: 0; padding: 0; border: 0; outline: none; height: 100%; background: transparent; color: var(--ink); font-size: 12px; }
.search-field input::placeholder { color: var(--muted); }
.filterbar select { border: 1px solid var(--line); border-radius: 8px; height: 38px; padding: 0 29px 0 11px; background: #fcfdfa; color: var(--muted); font-size: 12px; width: 128px; max-width: 190px; }
.filterbar select#sort { width: 151px; }
.feed-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 47px; padding: 12px 1px 11px; color: var(--muted); font-size: 12px; }
.feed-status > #result-count { margin-right: auto; font-variant-numeric: tabular-nums; }
.feed-status-actions { display: flex; align-items: center; justify-content: flex-end; gap: 13px; flex-wrap: wrap; }
.following-filter { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 12px; white-space: nowrap; cursor: pointer; }
.following-filter input { accent-color: #357c57; height: 13px; width: 13px; margin: 0 3px 0 0; cursor: pointer; }
.feed-status button { min-height: 36px; padding: 0; color: var(--muted); font-size: 12px; white-space: nowrap; }
.feed-status button:hover { color: var(--text); }
.feed-status button:disabled { color: var(--muted); cursor: default; }
.feed-status button#clear { color: var(--text); }
.feed-list { display: grid; gap: 15px; }

/* The article hierarchy carries the design; no decorative imagery is needed. */
.news-card { position: relative; min-width: 0; padding: 22px 24px 17px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .18s, box-shadow .18s; overflow: hidden; }
.news-card:hover { border-color: var(--line); box-shadow: 0 4px 15px -7px #143c2b12; }
.news-card.is-featured { border-color: #b7cfbd; background: linear-gradient(105deg,#fcfefb 0%,#fff 64%); }
.news-card.is-featured::before { content: ""; position: absolute; width: 3px; top: 24px; bottom: 24px; left: 0; background: var(--teal); border-radius: 0 3px 3px 0; }
.card-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; min-width: 0; font-size: 12px; color: var(--muted); }
.provider-group { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.provider-mark { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex: none; border-radius: 8px; background: var(--mint); color: var(--text); font-family: "Segoe UI",sans-serif; font-size: 12px; font-weight: 650; line-height: 1; letter-spacing: -.04em; }
.provider-mark svg { width: 17px; height: 17px; }
.provider-mark.codex, .provider-mark.provider-codex, .provider-mark.tool-Codex, .provider-mark[data-provider="Codex"] { background: #e8eeea; color: var(--ink); }
.provider-mark.claude, .provider-mark.provider-claude, .provider-mark.tool-Claude, .provider-mark[data-provider="Claude"] { background: #f4eae1; color: #a77555; }
.provider-mark.trae, .provider-mark.provider-trae, .provider-mark.tool-TRAE, .provider-mark[data-provider="TRAE"] { background: #e3f1e5; color: var(--text); }
.provider-mark.workbuddy, .provider-mark.provider-workbuddy, .provider-mark.tool-WorkBuddy, .provider-mark[data-provider="WorkBuddy"] { background: #eceef5; color: #6c78a1; }
.provider-mark.platform, .provider-mark.tokendaily, .provider-mark.provider-tokendaily, .provider-mark.tool-TokenDaily { background: var(--mint-deep); color: var(--text); }
.provider-name { color: var(--text); font-size: 12px; font-weight: 600; }
.type-label { border-left: 1px solid var(--line); margin-left: 2px; padding-left: 10px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.demo-label { display: inline-block; padding: 1px 4px; border: 1px solid var(--line); border-radius: 3px; color: var(--muted); font-size: 12px; line-height: 1.4; white-space: nowrap; }
.card-meta time { margin-left: auto; color: var(--muted); font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.unread-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--teal); flex: none; }
.card-layout { display: flex; align-items: center; gap: 26px; }
.card-copy { flex: 1; min-width: 0; }
.card-title { color: var(--ink); font-size: 20px; font-weight: 600; letter-spacing: -.025em; line-height: 1.55; margin: 0 0 8px; }
.card-title button { display: block; padding: 0; width: 100%; text-align: left; font: inherit; line-height: inherit; letter-spacing: inherit; color: inherit; }
button.card-title { padding: 0; text-align: left; width: 100%; }
.card-title button:hover, button.card-title:hover { color: var(--text); }
.card-summary { color: #53695f; font-size: 14px; line-height: 1.8; }
.reset-time { display: flex; flex-direction: column; justify-content: center; flex: 0 0 118px; align-self: stretch; padding: 6px 0 7px 20px; border-left: 1px solid var(--line); min-width: 0; }
.time-label { color: var(--muted); font-size: 12px; margin-bottom: 5px; white-space: nowrap; }
.time-date { font-family: "Segoe UI",sans-serif; font-size: 28px; line-height: 1.15; letter-spacing: -.045em; font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }
.time-clock { font-family: "Segoe UI",sans-serif; font-size: 16px; line-height: 1.5; color: var(--muted); margin-top: 3px; font-variant-numeric: tabular-nums; }
.time-zone { color: var(--muted); font-size: 12px; margin-top: 4px; }
.offer-strip { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 11px 13px; margin-top: 14px; background: var(--mint); border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.offer-strip > svg { width: 15px; height: 15px; color: var(--muted); }
.offer-strip strong { color: var(--muted); font-size: 12px; font-weight: 600; }
.offer-strip > span { color: var(--muted); }
.offer-strip > span::before { content: "·"; display: inline-block; margin-right: 8px; color: var(--muted); }
.card-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 16px; color: var(--muted); }
.fact { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; line-height: 1.5; }
.fact > span { color: var(--muted); }
.fact > strong { font-weight: 500; color: var(--muted); }
.fact.status-upcoming > strong, .fact .is-upcoming { color: var(--amber); }
.fact.status-ended > strong, .fact .is-ended { color: var(--muted); }
.review-summary { margin-top: 15px; padding: 14px 15px 13px; border: 1px solid var(--line); background: #f3f7f4; border-radius: 9px; }
.review-kicker { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .03em; line-height: 1.5; }
.review-summary p.verdict { color: var(--ink); font-size: 13px; font-weight: 550; line-height: 1.8; margin-top: 5px; }
.review-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 14px; margin-top: 16px; border-top: 1px solid var(--line); }
.source-line { display: flex; align-items: center; gap: 6px; min-width: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.source-line svg { width: 13px; height: 13px; color: var(--muted); }
.card-open { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; gap: 7px; padding: 0; font-size: 12px; color: var(--teal-dark); flex: none; white-space: nowrap; }
.card-open svg { width: 14px; height: 14px; transition: transform .16s; }
.card-open:hover { color: var(--text); }
.card-open:hover svg { transform: translateX(2px); }
.news-card.is-ended { background: #fcfdfa; border-color: var(--line); }
.news-card.is-ended .card-title { color: var(--muted); }
.news-card.is-ended .offer-strip { background: #f1f4f0; border-color: var(--line); }
.news-card.is-ended .offer-strip strong { color: var(--muted); }
#feed-end { text-align: center; padding: 25px 12px; color: var(--muted); font-size: 12px; }

/* Personalization stays compact and secondary to the feed. */
.sidebar { display: grid; gap: 17px; padding-top: 3px; min-width: 0; }
.side-card { border: 1px solid var(--line); border-radius: 13px; background: #fcfdfa; padding: 19px 20px 12px; }
.side-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.side-card-head h2 { color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.6; }
.side-card-head > span, .side-card-head #following-count { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.side-card-head svg { width: 15px; height: 15px; color: var(--muted); }
.side-card > p, .side-card .aside-description { margin: 7px 0 10px; font-size: 12px; line-height: 1.8; color: var(--muted); }
.follow-row { display: flex; align-items: center; gap: 9px; padding: 12px 0; }
.follow-row + .follow-row { border-top: 1px solid var(--line); }
.follow-row .provider-mark { width: 26px; height: 26px; border-radius: 7px; font-size: 12px; }
.follow-row > strong { font-size: 12px; font-weight: 550; color: var(--muted); margin-right: auto; }
.follow-row .follow-button { display: inline-flex; justify-content: center; align-items: center; gap: 5px; min-width: 62px; min-height: 36px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 5px; font-size: 12px; color: var(--text); background: #fff; white-space: nowrap; line-height: 1.5; }
.follow-button:hover { border-color: #aec6a1; background: var(--mint); }
.follow-button[aria-pressed="true"] { background: var(--mint); border-color: var(--line); color: var(--muted); }
.up-next { padding-bottom: 10px; }
.side-card .aside-footnote { margin: 5px 0 5px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.upcoming-item { display: flex; align-items: flex-start; width: 100%; gap: 11px; text-align: left; padding: 15px 0; }
.upcoming-item + .upcoming-item { border-top: 1px solid var(--line); }
.date-block { flex: 0 0 38px; height: 46px; display: flex; flex-direction: column; justify-content: center; align-items: center; border: 1px solid var(--line); border-radius: 7px; background: var(--mint); color: var(--muted); font-variant-numeric: tabular-nums; }
.date-block .month { font-size: 12px; letter-spacing: .07em; font-weight: 550; line-height: 1.4; }
.date-block .day { font-family: "Segoe UI",sans-serif; font-size: 21px; line-height: 1.2; font-weight: 500; }
.upcoming-copy { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.upcoming-provider { color: var(--muted); font-size: 12px; line-height: 1.5; margin: 0 0 4px; }
.upcoming-copy strong { color: var(--muted); font-size: 12px; font-weight: 550; line-height: 1.65; }
.upcoming-copy small { color: var(--amber); font-size: 12px; line-height: 1.6; margin-top: 5px; }
.upcoming-item > svg { margin-top: 17px; width: 12px; height: 12px; color: var(--muted); }
.upcoming-item:hover .upcoming-copy strong { color: var(--text); }
.editorial-note { padding: 7px 16px 0; }
.editorial-note > svg, .editorial-note > .editor-icon { width: 21px; height: 21px; color: var(--muted); margin-bottom: 8px; }
.editorial-note h3 { color: var(--muted); font-size: 12px; font-weight: 600; line-height: 1.7; margin-bottom: 7px; }
.editorial-note p { font-size: 12px; color: var(--muted); line-height: 1.9; }
.editorial-note .text-button { margin-top: 10px; color: var(--muted); font-size: 12px; }
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 285px; padding: 38px 25px; border: 1px dashed var(--line); border-radius: 14px; text-align: center; background: #fcfdfa; }
.empty-state > svg { width: 29px; height: 29px; color: var(--muted); margin-bottom: 18px; }
.empty-state h3 { color: var(--ink); font-size: 17px; font-weight: 550; margin-bottom: 8px; line-height: 1.6; }
.empty-state p { color: var(--muted); font-size: 13px; line-height: 1.8; max-width: 380px; }
.empty-state .btn { margin-top: 20px; }

/* A readable detail drawer, also reused by following management. */
.detail-drawer { position: fixed; inset: 0 0 0 auto; margin: 0; width: 590px; max-width: min(590px,100%); height: 100dvh; max-height: 100dvh; overflow: auto; padding: 0; background: #fcfdfa; color: var(--text); border: 0; border-left: 1px solid var(--line); box-shadow: -12px 0 48px #163b3420; }
.detail-drawer::backdrop { background: #213e344d; backdrop-filter: blur(3px); }
.drawer-header { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 29px; background: #fcfdfaf5; border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.drawer-label { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 500; }
.drawer-label svg { width: 14px; height: 14px; }
.icon-button { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border-radius: 7px; color: var(--muted); font-size: 24px; line-height: 1; }
.icon-button svg { width: 17px; height: 17px; }
.icon-button:hover { background: var(--mint); color: var(--text); }
.drawer-content { padding: 28px 31px 42px; }
.detail-demo { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; margin-bottom: 23px; border: 1px solid var(--line); border-radius: 7px; background: var(--mint); color: var(--muted); font-size: 12px; line-height: 1.75; }
.detail-demo > svg { margin-top: 3px; }
.detail-provider { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; font-weight: 550; }
.detail-provider .provider-mark { width: 31px; height: 31px; }
.detail-provider > .type-label { font-weight: 400; }
.detail-title { color: var(--ink); font-size: 27px; font-weight: 600; line-height: 1.5; letter-spacing: -.035em; margin: 18px 0 13px; }
.detail-lead { color: #53695f; font-size: 14px; line-height: 1.9; }
.detail-facts { margin: 24px 0; padding: 3px 17px; border: 1px solid var(--line); border-radius: 10px; background: var(--mint); }
.detail-facts > div { display: grid; grid-template-columns: 91px minmax(0,1fr); gap: 13px; padding: 13px 0; font-size: 12px; line-height: 1.8; }
.detail-facts > div + div { border-top: 1px solid var(--line); }
.detail-facts dt { color: var(--muted); }
.detail-facts dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.detail-section { margin: 25px 0; }
.detail-section h3 { color: var(--text); font-size: 14px; font-weight: 600; margin: 0 0 11px; }
.detail-section p, .detail-section li { color: var(--text); font-size: 14px; line-height: 1.95; }
.detail-section p + p { margin-top: 10px; }
.detail-section ol, .detail-section ul { padding-left: 21px; margin: 10px 0; }
.detail-section li + li { margin-top: 7px; }
.detail-section a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.event-timeline { display: grid; gap: 0; margin: 18px 0; padding-left: 4px; }
.event-step { position: relative; display: flex; align-items: flex-start; gap: 13px; padding: 0 0 23px; }
.event-step:not(:last-child)::before { content: ""; position: absolute; left: 4px; top: 10px; bottom: 0; width: 1px; background: var(--line); }
.event-step:last-child { padding-bottom: 0; }
.step-dot { position: relative; z-index: 1; width: 9px; height: 9px; flex: none; margin-top: 6px; border: 1px solid var(--line); border-radius: 50%; background: #fcfdfa; }
.event-step.done .step-dot, .event-step.is-done .step-dot { background: var(--teal); border-color: #54934e; }
.event-step.current .step-dot, .event-step.is-current .step-dot, .event-step.is-next .step-dot { background: #fcfdfa; border: 2px solid #5d9a52; }
.step-copy { display: flex; flex-direction: column; }
.step-copy strong { color: var(--muted); font-size: 12px; font-weight: 550; line-height: 1.8; }
.step-copy small { color: var(--muted); font-size: 12px; line-height: 1.8; margin-top: 3px; }
.method-list { margin: 15px 0; border: 1px solid var(--line); border-radius: 9px; background: #f6f8f5; padding: 0 14px; }
.method-item { display: flex; align-items: flex-start; gap: 15px; padding: 13px 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.method-item + .method-item { border-top: 1px solid var(--line); }
.method-item > strong { font-weight: 550; min-width: 82px; color: var(--muted); }
.method-item > span { flex: 1; min-width: 0; }
.method-item > .method-number { flex: 0 0 23px; margin-top: 1px; color: var(--muted); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.method-item > div { flex: 1; min-width: 0; }
.method-item h4 { margin: 0 0 3px; color: var(--text); font-size: 13px; font-weight: 600; }
.pending-results { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0; padding: 16px 17px; border: 1px dashed var(--line); border-radius: 9px; background: #f3f7f4; color: var(--muted); font-size: 12px; line-height: 1.85; }
.pending-results > svg { margin-top: 2px; }
.pending-results p { color: var(--muted); }
.pending-results strong { display: block; color: var(--muted); margin-bottom: 5px; font-weight: 600; }
.detail-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; padding-top: 4px; margin-top: 26px; }
.detail-actions .btn { min-height: 41px; }
.detail-source-note { color: var(--muted); font-size: 12px; line-height: 1.85; margin-top: 14px; }
.drawer-content .follow-row { padding-block: 17px; }
.drawer-content .follow-row .provider-mark { width: 33px; height: 33px; font-size: 14px; }
.drawer-content .follow-row > strong { font-size: 14px; }
.drawer-content .follow-button { min-width: 79px; min-height: 40px; font-size: 12px; }
.drawer-follow-list { margin-top: 21px; }
.type-review > .review-meta { margin-top: 14px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.aside-empty { padding: 16px 0; color: var(--muted); font-size: 12px; line-height: 1.8; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-block: 24px 29px; margin-top: 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand > strong { color: var(--muted); font-size: 12px; font-weight: 600; }
.footer-brand > span { color: var(--muted); font-size: 12px; }
.site-footer nav, .footer-links { display: flex; align-items: center; gap: 18px; }
.site-footer a:hover { color: var(--text); }
.toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); max-width: min(580px,calc(100% - 32px)); z-index: 100; padding: 12px 18px; border: 1px solid var(--line); border-radius: 9px; background: var(--ink); box-shadow: 0 9px 25px #25422126; color: #ffffff; font-size: 12px; line-height: 1.8; }
.detail-drawer .toast { left: auto; right: 20px; bottom: 20px; transform: none; max-width: min(550px,calc(100vw - 40px)); }
.highlight-card { animation: emphasis 1.1s ease-out; }
@keyframes emphasis { 0%,30% { box-shadow: 0 0 0 4px #75a36b24; } 100% { box-shadow: none; } }

@media(min-width:1450px) {
  .page-heading { padding-top: 45px; }
}
@media(max-width:1120px) {
  .shell { width: calc(100% - 48px); }
  .workspace { grid-template-columns: minmax(0,1fr) 252px; gap: 23px; }
  .header-inner { gap: 30px; }
  .site-nav { gap: 22px; }
  .heading-copy h1 { font-size: 39px; }

  .category-tabs { gap: 23px; }
  .category-tabs button { font-size: 13px; gap: 6px; }
  .category-tabs button > svg { width: 14px; height: 14px; }
  .filterbar { gap: 8px; }
  .filterbar select { width: 109px; padding-inline: 9px 24px; }
  .filterbar select#sort { width: 130px; }
  .side-card { padding-inline: 16px; }
  .card-title { font-size: 18px; }
  .news-card { padding-inline: 21px; }
  .card-layout { gap: 20px; }
  .reset-time { flex-basis: 100px; padding-left: 16px; }
  .time-date { font-size: 26px; }
  .feed-status { gap: 9px; }
  .card-facts { gap: 7px 15px; }
}
@media(max-width:900px) {
  .shell { width: calc(100% - 40px); }
  .workspace { grid-template-columns: minmax(0,1fr) 228px; gap: 20px; }
  .header-inner { gap: 24px; }
  .brand img { width: 145px; }
  .site-nav { gap: 19px; }
  .header-actions { gap: 14px; }
  .page-heading { gap: 20px; padding-top: 32px; }
  .heading-copy h1 { font-size: 37px; }
  .heading-copy > p { max-width: 450px; }
  .heading-actions .btn { padding-inline: 12px; }
  .category-tabs { gap: 19px; }
  .category-tabs button .count { display: none; }
  .filterbar { flex-wrap: wrap; }
  .search-field { flex-basis: 100%; }
  .filterbar select { width: auto; flex: 1; max-width: none; }
  .filterbar select#sort { width: auto; }
  .card-layout { gap: 15px; }
  .reset-time { flex-basis: 83px; padding-left: 14px; }
  .time-date { font-size: 23px; }
  .time-clock { font-size: 14px; }
  .card-title { font-size: 18px; }
  .card-meta { gap: 6px; }
  .card-meta .type-label { padding-left: 7px; }
  .news-card { padding: 19px 18px 16px; }
  .feed-status { flex-wrap: wrap; min-height: 52px; gap: 7px 12px; }
  .feed-status > #result-count { min-width: 47%; }
  .side-card { padding-inline: 14px; }
  .side-card-head h2 { font-size: 13px; }
  .follow-row { gap: 7px; }
  .follow-row .follow-button { min-width: 57px; padding-inline: 5px; }
  .upcoming-item { gap: 9px; }
  .upcoming-item > svg { display: none; }
  .editorial-note { padding-inline: 11px; }
}
@media(max-width:740px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 70px; gap: 21px; flex-wrap: wrap; padding-top: 15px; }
  .brand img { width: 145px; }
  .header-actions { margin-left: auto; }
  .updates-button, .language, .text-button, .card-open, .follow-row .follow-button, .feed-status button { min-height: 40px; }
  .icon-button { width: 40px; height: 40px; }
  .site-nav { flex-basis: 100%; order: 3; gap: 12px 24px; min-height: 38px; margin-top: -5px; flex-wrap: wrap; }
  .page-heading { align-items: flex-start; padding-top: 27px; padding-bottom: 21px; gap: 15px; }
  .heading-copy h1 { font-size: 32px; margin-bottom: 9px; }
  .eyebrow { letter-spacing: .12em; margin-bottom: 10px; }
  .heading-copy > p { max-width: 470px; line-height: 1.85; }
  .heading-actions { padding-top: 28px; }
  .heading-actions .btn { min-height: 40px; padding: 7px 9px; gap: 5px; }
  .heading-actions .btn svg { width: 13px; height: 13px; }
  .demo-notice { align-items: flex-start; padding-top: 0; padding-bottom: 14px; gap: 7px; }
  .demo-pill { margin-top: 1px; }
  .demo-notice .text-button { display: none; }
  .workspace { display: block; margin-top: 14px; }
  .category-tabs { gap: 27px; overflow-x: auto; scrollbar-width: none; min-height: 45px; }
  .category-tabs::-webkit-scrollbar { display: none; }
  .category-tabs button { min-height: 44px; font-size: 14px; padding-bottom: 12px; gap: 6px; flex: none; }
  .category-tabs button > svg { width: 15px; height: 15px; }
  .category-tabs button .count { display: inline-block; }
  .filterbar { padding-top: 16px; gap: 9px; }
  .search-field { height: 40px; flex-basis: 100%; }
  .search-field input { font-size: 16px; }
  .filterbar select { height: 40px; }
  .feed-status { padding-top: 13px; padding-bottom: 12px; gap: 8px 12px; }

  .feed-list { gap: 13px; }
  .news-card { padding: 20px 20px 16px; border-radius: 13px; }
  .card-meta { margin-bottom: 13px; gap: 7px; }
  .card-meta .type-label { padding-left: 9px; }
  .card-title { font-size: 19px; line-height: 1.55; margin-bottom: 9px; }
  .card-layout { display: block; }
  .reset-time { flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 8px; padding: 12px 0 0; margin-top: 14px; border-left: 0; border-top: 1px solid var(--line); }
  .time-label { margin: 0 5px 0 0; }
  .time-date { font-size: 21px; }
  .time-clock { font-size: 16px; margin-top: 0; }
  .time-zone { margin-top: 0; }
  .offer-strip { margin-top: 14px; padding: 11px 12px; }
  .card-facts { margin-top: 14px; gap: 8px 17px; }
  .review-summary { padding: 13px 14px; }
  .review-summary p.verdict { line-height: 1.85; }
  .review-meta { gap: 6px 11px; }
  .card-footer { gap: 12px; padding-top: 12px; margin-top: 15px; }

  .sidebar { display: grid; grid-template-columns: 1fr; margin-top: 15px; padding-top: 0; gap: 17px; }
  .sidebar .follow-card { display: none; }
  .side-card { padding: 18px 20px 10px; }
  .side-card-head h2 { font-size: 14px; }
  .upcoming-item { gap: 13px; }
  .upcoming-item > svg { display: inline-block; margin-top: 17px; }

  .editorial-note { padding: 7px 4px 3px; }
  .editorial-note p { max-width: 570px; }
  .detail-drawer { width: 100%; max-width: 100%; border-left: 0; box-shadow: none; }
  .drawer-header { padding: 16px 20px; }
  .drawer-content { padding: 24px 22px 36px; }
  .detail-title { font-size: 25px; }
  .detail-facts { padding-inline: 14px; }
  .detail-facts > div { grid-template-columns: 83px minmax(0,1fr); gap: 12px; }
  .detail-actions .btn { min-height: 43px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 11px; padding-block: 22px 25px; margin-top: 26px; }
  .footer-brand { flex-wrap: wrap; gap: 5px 12px; }
  .site-footer nav, .footer-links { gap: 18px; flex-wrap: wrap; }
}
@media(max-width:430px) {
  .shell { width: calc(100% - 32px); }
  .brand img { width: 136px; }
  .header-actions { gap: 12px; }
  .updates-button { padding: 6px 9px; gap: 6px; }
  .page-heading { gap: 10px; }
  .heading-copy h1 { font-size: 31px; }
  .heading-actions .btn { border-color: transparent; background: transparent; padding-inline: 0; }
  .heading-actions .btn svg { display: none; }
  .category-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
  .category-tabs button { justify-content: flex-start; min-height: 42px; padding-bottom: 0; font-size: 13px; gap: 5px; }
  .category-tabs button > svg { display: none; }
  .category-tabs button .count { font-size: 10px; min-width: 16px; padding-inline: 3px; }
  .news-card { padding: 18px 16px 15px; }
  .card-title { font-size: 18px; }
  .card-meta { gap: 5px; flex-wrap: wrap; }
  .provider-group { gap: 7px; }
  .provider-mark { width: 26px; height: 26px; }
  .card-meta .type-label { padding-left: 7px; margin-left: 0; }

  .card-facts { gap: 8px 13px; }
  .fact { gap: 5px; }
  .card-footer { align-items: flex-start; gap: 8px; }
  .source-line { gap: 4px; }
  .source-line svg { width: 11px; height: 11px; }
  .card-open { gap: 4px; padding-top: 1px; }
  .offer-strip { gap: 6px; }
  .offer-strip > span { flex-basis: 100%; padding-left: 21px; }
  .offer-strip > span::before { content: none; }
  .detail-title { font-size: 23px; }
  .drawer-content { padding-inline: 20px; }
  .detail-actions { flex-direction: column; align-items: stretch; }
  .detail-actions .btn { width: 100%; }
  .detail-facts > div { grid-template-columns: 72px minmax(0,1fr); gap: 10px; }
  .method-item { gap: 12px; }
  .method-item > strong { display: block; margin-bottom: 3px; }
}
.intro-note { margin: 0; padding: 0 0 18px; color: var(--muted); border-bottom: 1px solid var(--line); font-size: 12px; }
@media (max-width: 740px) {
  .page-heading { flex-wrap: wrap; }
  .heading-copy { flex: 1 1 100%; min-width: 0; }
  .heading-actions { padding-top: 0; flex: 1 1 auto; min-width: 0; }
  .heading-actions .btn { white-space: normal; }
  .heading-actions .btn-primary { background: var(--teal); color: white; border-color: var(--teal); padding-inline: 12px; }
}
.important-event { margin-top: 22px; padding: 23px 26px; border: 1px solid #b8d4c7; border-radius: 13px; background: #edf5ee; }
.important-event h2 { color: var(--ink); font-size: 22px; margin: 8px 0; }
.important-event p { margin-bottom: 8px; color: var(--muted); }
.event-status { display: inline-block; color: var(--teal-dark); background: var(--mint); border-radius: 5px; padding: 3px 7px; font-size: 11px; font-weight: 550; line-height: 1.6; }
.news-card > .event-status { margin-top: 12px; }
.news-card > .card-title { margin-top: 10px; }
.status-delayed { background: var(--amber-bg); color: var(--amber); }
.status-cancelled, .status-withdrawn { background: #f2f2ed; color: var(--muted); }
.connection-note { padding: 12px 15px; margin-bottom: 15px; border: 1px solid #e3d9c3; border-radius: 8px; color: #7c653d; background: #fbf6ea; font-size: 12px; }
.date-filter { margin-bottom: 12px; font-size: 12px; color: var(--teal); }
.date-filter button { margin-left: 12px; text-decoration: underline; text-underline-offset: 3px; min-height: 36px; }
.health-row { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.health-row:last-child { border-bottom: 0; }
.health-row > div { display: flex; flex-wrap: wrap; gap: 6px 10px; justify-content: space-between; align-items: baseline; }
.health-row strong { font-size: 11px; font-weight: 550; }
.health-row span, .health-row small { font-size: 10px; color: var(--muted); }
.health-row .health-ok { color: var(--teal); }
.health-row .health-error { color: #99703d; }
.calendar-nav { display: flex; align-items: center; justify-content: space-between; margin: 8px 0 12px; }
.calendar-nav strong { font-size: 12px; }
.calendar-nav button { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 6px; font-size: 20px; }
.reset-calendar { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 3px; text-align: center; }
.calendar-weekday { font-size: 10px; color: var(--muted); padding-bottom: 6px; }
.reset-calendar button { position: relative; min-width: 0; aspect-ratio: 1; border-radius: 5px; padding: 0; font-size: 11px; background: var(--mint); color: var(--teal-dark); }
.reset-calendar button:disabled { opacity: 1; color: #89968d; background: transparent; }
.reset-calendar button[aria-pressed="true"] { color: white; background: var(--teal); }
.reset-calendar i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: currentColor; bottom: 3px; left: calc(50% - 1.5px); }
.timezone-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; font-size: 11px; color: var(--muted); }
.timezone-row select { max-width: 190px; border: 1px solid var(--line); border-radius: 7px; padding: 7px; background: var(--surface); color: var(--text); }
.event-facts { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding: 20px 0; margin: 20px 0; border-block: 1px solid var(--line); font-size: 12px; }
.event-facts dt { color: var(--muted); }
.event-facts dd { margin: 0; }
.source-timeline { list-style: none; margin: 0; padding: 0; }
.source-timeline li { margin: 0 0 20px; padding: 0 0 20px 15px; border-left: 2px solid var(--line); border-bottom: 1px solid var(--line-soft); }
.source-timeline li > span { color: var(--muted); font-size: 11px; }
.source-timeline blockquote { margin: 12px 0; font-size: 13px; overflow-wrap: anywhere; }
.source-timeline a { color: var(--teal-dark); font-size: 12px; }
.detail-note { margin-top: 15px; font-size: 11px; color: var(--muted); }
@media(max-width:740px) { .important-event { padding: 19px; } .important-event h2 { font-size: 19px; } .reset-calendar button { max-height: 40px; } }
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.provider-mark.provider-grok { background: #e8ebeb; color: #33484a; }
