:root {
  color-scheme: light;
  --paper: #f7f8fa;
  --paper-deep: #edf0f4;
  --surface: #ffffff;
  --ink: #20252e;
  --muted: #68717e;
  --signal: #b44925;
  --acid: #f9e9e1;
  --soft-blue: #e9eef6;
  --line: #dce1e8;
  --panel: #f0f3f7;
  --input: #ffffff;
  --radius: 18px;
  --ease: cubic-bezier(.22,.8,.22,1);
  --mono: 'SFMono-Regular', Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --paper: #15181e;
  --paper-deep: #212630;
  --surface: #1d222b;
  --ink: #edf0f5;
  --muted: #a2acbb;
  --signal: #f4aa84;
  --acid: #3d2b24;
  --soft-blue: #252f42;
  --line: #3a4351;
  --panel: #252b36;
  --input: #191e26;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.75 var(--sans); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; cursor: pointer; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button:disabled { cursor: wait; opacity: .55; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }
::selection { background: var(--acid); color: var(--ink); }
h1,h2,h3,p { margin-top: 0; }
h1,h2,h3 { line-height: 1.35; letter-spacing: -.035em; }
h1,h2 { font-weight: 730; }
h1 em,h2 em { font-style: normal; }
.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-link { position: fixed; z-index: 100; top: 10px; left: 15px; transform: translateY(-180%); background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 16px; z-index: 20; width: min(1320px,calc(100% - 64px)); margin: 16px auto 0; min-height: 76px; padding: 12px 26px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; background: var(--surface); border-radius: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; white-space: nowrap; }
.brand-symbol { width: 34px; height: 34px; display: grid; place-items: center; color: var(--signal); }
.brand-symbol svg { width: 32px; height: 32px; }
.brand-mark { font-size: 23px; font-weight: 760; letter-spacing: -.045em; }
.brand-note { display: none; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a { display: inline-flex; justify-content: center; align-items: center; min-width: 65px; min-height: 42px; padding: 7px 15px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--muted); transition: color .18s,background-color .18s; }
.site-nav a:hover { color: var(--ink); background: var(--paper); }
.site-nav .is-current { color: var(--signal); background: var(--acid); }
.header-tools { display: flex; align-items: center; gap: 20px; justify-self: end; }
.header-contact { font-size: 14px; color: var(--muted); }
.header-contact:hover { color: var(--signal); }
.theme-toggle { border: 0; border-radius: 10px; background: var(--paper); min-width: 48px; min-height: 40px; padding: 6px 12px; font-size: 13px; }
.theme-toggle:hover { background: var(--acid); }
.header-link { justify-self: end; grid-column: 3; font-size: 14px; color: var(--signal); }
.section-pad { width: min(1240px,calc(100% - 96px)); margin: 0 auto; padding: 60px 0; }
.content-meta { display: block; margin: 0 0 12px; color: var(--muted); font: 14px/1.6 var(--sans); }
.button { display: inline-flex; min-height: 46px; padding: 10px 22px; align-items: center; justify-content: center; gap: 22px; border: 0; border-radius: 11px; font-size: 14px; font-weight: 600; white-space: nowrap; transition: transform .18s var(--ease),background-color .18s; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button--dark { background: var(--ink); color: var(--surface); }
.button--dark:hover { background: var(--signal); }
.button--ghost { background: var(--paper-deep); color: var(--ink); }
.button--ghost:hover { background: var(--acid); }
.button--light { background: var(--surface); color: var(--ink); }
.button span { font-size: 18px; line-height: 1; }
.text-link { font-size: 14px; color: var(--signal); }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.home-opening { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.2fr); gap: 52px; align-items: start; padding-top: 46px; padding-bottom: 65px; }
.ai-timeline-section { grid-column: 1; grid-row: 1; min-width: 0; padding-top: 10px; }
@media(min-width:901px) {
 /* 左栏按自身内容高度排布，整页往下滚动查看更早的动态。
    早期版本这里用 stretch + contain:size 做内层滚动，右侧面板一矮就会把
    列表压成只有 padding 的高度（实测 9px），动态看着像空的。 */
 .home-opening { align-items: start; }
 .ai-timeline-section { display: flex; flex-direction: column; }
 .ai-timeline-section > .section-heading,.ai-timeline-section > .timeline-sync { flex-shrink: 0; }
 .news-scroll { overflow: visible; padding: 3px 16px 6px 3px; }
 .news-scroll:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; border-radius: 4px; }
}
/* 热榜：热度=独立报道方数量 × 时间衰减 */
.hot-board { flex-shrink: 0; margin: 0 0 14px; padding: 12px 14px 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.hot-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.hot-head h3 { font-size: 15px; letter-spacing: .08em; margin: 0; }
.hot-meta { font-size: 12px; color: var(--muted); font-family: var(--mono); }
.hot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.hot-item + .hot-item { border-top: 1px solid var(--line); }
.hot-link { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 7px 2px; color: inherit; text-decoration: none; }
.hot-link:hover .hot-title, .hot-link:focus-visible .hot-title { color: var(--signal); }
.hot-rank { font-family: var(--mono); font-size: 13px; color: var(--muted); text-align: right; }
.hot-rank.is-top { color: var(--signal); font-weight: 700; }
.hot-body { display: grid; gap: 2px; min-width: 0; }
.hot-title { font-size: 14px; font-weight: 600; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hot-sub { display: flex; gap: 8px; align-items: center; font-size: 11.5px; color: var(--muted); }
.hot-trend { font-family: var(--mono); }
.hot-trend.is-up { color: var(--signal); }
.hot-heat { display: grid; justify-items: end; line-height: 1; }
.hot-heat strong { font-family: var(--mono); font-size: 17px; }
.hot-heat small { font-size: 10px; color: var(--muted); }
.hot-note { margin: 8px 0 0; font-size: 11px; color: var(--muted); }
@media(max-width:900px) { .hot-board { margin-bottom: 16px; } }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-heading h2 { font-size: 28px; margin-bottom: 8px; letter-spacing: -.04em; }
.section-heading p { color: var(--muted); font-size: 16px; margin-bottom: 0; }
.refresh-news { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; padding: 7px; min-height: 40px; font-size: 14px; color: var(--muted); white-space: nowrap; }
.refresh-news:hover { color: var(--signal); }
.refresh-news span { font-size: 22px; }
.refresh-news[aria-busy='true'] span { animation: spin .8s linear infinite; }
.timeline-sync { font-size: 13px; color: var(--muted); margin: -4px 0 27px; }
.timeline-day { margin-bottom: 12px; }
.timeline-date { margin: 0 0 15px 32px; font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: 0; }
.timeline-entries { list-style: none; position: relative; margin: 0; padding: 0 0 0 32px; }
/* A continuous time axis connects dated entries; it encodes chronology. */
.timeline-entries::before { content: ''; position: absolute; left: 5px; top: 6px; bottom: 0; width: 2px; background: var(--line); }
.timeline-entry { position: relative; padding-bottom: 25px; }
.timeline-entry::before { content: ''; position: absolute; left: -31px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--signal); }
.timeline-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.timeline-entry h4 { font-size: 17px; font-weight: 600; line-height: 1.65; margin: 0; overflow-wrap: anywhere; }
.timeline-entry h4 a:hover { color: var(--signal); text-decoration: underline; text-underline-offset: 4px; }
.timeline-summary { font-size: 15px; line-height: 1.85; color: var(--muted); margin: 10px 0 0; }
.timeline-read { display: inline-block; font-size: 14px; color: var(--signal); margin-top: 12px; }
.timeline-more { display: inline-flex; align-items: center; gap: 20px; min-height: 42px; margin-left: 32px; border: 0; border-radius: 10px; padding: 8px 17px; background: var(--paper-deep); color: var(--ink); font-size: 14px; }
.timeline-more:hover { background: var(--acid); }
.timeline-notice { font-size: 14px; color: var(--muted); margin: 16px 0 0; }
.timeline-notice:empty { margin: 0; }
.feed-state { padding: 24px; border-radius: var(--radius); background: var(--surface); color: var(--muted); font-size: 16px; }
.cocreate-panel { grid-column: 2; grid-row: 1; position: sticky; top: 112px; padding: 38px 42px 30px; background: var(--surface); border-radius: 24px; min-width: 0; }
.cocreate-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 13px; color: var(--muted); margin-bottom: 36px; }
.cocreate-intro a:hover { color: var(--signal); }
.cocreate-identity { display: flex; align-items: center; gap: 8px; }
.cocreate-identity::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
.cocreate-panel h1 { margin-bottom: 24px; font-size: clamp(42px,4.6vw,66px); line-height: 1.3; letter-spacing: -.055em; font-weight: 770; }
.cocreate-panel h1 > span { display: block; white-space: nowrap; }
.cocreate-lede { font-size: 18px; line-height: 1.9; color: var(--muted); margin-bottom: 22px; }
.cocreate-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.cocreate-topics span { font-size: 13px; padding: 5px 11px; border-radius: 7px; background: var(--paper); color: var(--muted); }
.cocreate-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.cocreate-actions .button { background: var(--signal); color: var(--surface); min-height: 50px; padding: 12px 22px; font-size: 16px; }
:root[data-theme='dark'] .cocreate-actions .button { color: var(--paper); }
.cocreate-actions .text-link { color: var(--ink); }
.cocreate-bottom { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; padding-top: 32px; }
.cocreate-bottom p { font-size: 14px; line-height: 1.8; color: var(--muted); margin: 0; }
.cocreate-bottom > a { font-size: 13px; color: var(--muted); }
.cocreate-bottom > a:hover { color: var(--signal); }
.home-picks { padding-top: 15px; padding-bottom: 70px; }
.pick-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.card-cover { display: block; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; flex: none; background: var(--paper-deep); }
.card-cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.card-cover:hover img { transform: scale(1.035); }
.pick-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: var(--radius); background: var(--surface); transition: transform .2s var(--ease); }
.pick-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.pick-card:hover { transform: translateY(-4px); }
.pick-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.pick-card__type { color: var(--signal); }
.pick-card h3 { font-size: 21px; margin-bottom: 12px; line-height: 1.45; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pick-card h3 a:hover { color: var(--signal); }
.pick-card__body > p { font-size: 15px; color: var(--muted); margin-bottom: 22px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pick-card__link { color: var(--signal); font-size: 14px; margin-top: auto; }
.pick-state { color: var(--muted); font-size: 16px; }
.pick-state a { display: block; margin-top: 10px; color: var(--signal); }
.home-progress { display: grid; grid-template-columns: minmax(200px,.65fr) minmax(0,1.35fr); gap: 80px; padding-top: 20px; padding-bottom: 75px; }
.progress-intro h2 { font-size: 36px; margin-bottom: 20px; }
.progress-intro p { color: var(--muted); font-size: 16px; line-height: 1.9; margin-bottom: 25px; }
.development-timeline .timeline-entry h4 { font-size: 20px; }
.development-timeline .timeline-summary { font-size: 16px; }
@media(max-width:1150px) {
 .home-opening { gap: 30px; }
 .cocreate-panel { padding: 32px; }
 .cocreate-panel h1 { font-size: 48px; }
 .cocreate-intro { margin-bottom: 30px; }
 .cocreate-lede { font-size: 16px; }
 .pick-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .home-progress { gap: 45px; }
}
@media(max-width:900px) {
 .home-opening { display: flex; flex-direction: column; padding-top: 28px; gap: 38px; }
 .cocreate-panel { order: -1; position: static; width: 100%; padding: 38px; }
 .cocreate-panel h1 { font-size: 54px; }
 .ai-timeline-section { width: 100%; }
 .home-progress { grid-template-columns: 1fr; gap: 30px; }
 .progress-intro h2 { font-size: 30px; }
 .progress-intro p { margin-bottom: 15px; }
}
@media(max-width:560px) {
 .home-opening { padding-top: 24px; padding-bottom: 45px; gap: 28px; }
 .cocreate-panel { padding: 26px 24px; border-radius: 18px; }
 .cocreate-intro { font-size: 13px; margin-bottom: 27px; gap: 10px; }
 .cocreate-panel h1 { font-size: clamp(29px,8.6vw,40px); line-height: 1.4; margin-bottom: 20px; }
 .cocreate-lede { font-size: 16px; margin-bottom: 18px; }
 .cocreate-topics { margin-bottom: 24px; }
 .cocreate-actions { gap: 18px; }
 .cocreate-actions .button { width: 100%; justify-content: space-between; }
 .cocreate-bottom { padding-top: 24px; }
 .section-heading { gap: 16px; align-items: start; }
 .section-heading h2 { font-size: 26px; }
 .section-heading p { font-size: 15px; }
 .section-heading > .text-link { max-width: 105px; flex: none; text-align: right; font-size: 14px; }
 .timeline-entry h4 { font-size: 17px; }
 .home-picks { padding-top: 5px; padding-bottom: 45px; }
 .pick-grid { grid-template-columns: 1fr; gap: 15px; }
 .pick-card__body { padding: 24px; }
 .home-progress { padding-top: 10px; padding-bottom: 45px; }
 .development-timeline .timeline-entry h4 { font-size: 19px; }
}
.site-footer { width: min(1240px,calc(100% - 96px)); margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 22px 0 30px; }
.footer-brand { font-size: 20px; font-weight: 700; letter-spacing: -.04em; }
.site-footer p { font-size: 14px; margin: 7px 0 0; color: var(--muted); }
.footer-links { display: flex; gap: 28px; font-size: 14px; align-items: start; padding-top: 6px; }
.footer-legal { grid-column: 1/-1; display: flex; flex-wrap: wrap; gap: 10px 25px; font-size: 13px; color: var(--muted); }
.site-footer a:hover { color: var(--signal); }
.page-intro { text-align: center; padding-top: 66px; padding-bottom: 48px; }
.page-intro h1,.resource-hero h1,.about-intro h1 { font-size: clamp(34px,4vw,52px); line-height: 1.3; margin-bottom: 20px; text-wrap: balance; }
.page-lede,.hero-lede { max-width: 650px; margin: 0 auto; color: var(--muted); font-size: 16px; }
.page-intro .text-link { display: inline-block; margin-top: 20px; }
.project-directory { padding-top: 0; padding-bottom: 55px; }
.directory-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 25px; }
.directory-heading h2,.tools-heading h2 { margin: 0; font-size: 26px; }
.directory-heading > span { color: var(--muted); font-size: 14px; }
.project-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.project-card { display: flex; flex-direction: column; min-width: 0; background: var(--surface); border-radius: var(--radius); overflow: hidden; transition: transform .25s var(--ease); }
.project-card:hover { transform: translateY(-4px); }
.project-card__body { padding: 24px; min-height: 228px; flex: 1; display: flex; flex-direction: column; }
.project-card__status { font-size: 13px; color: var(--signal); }
.project-card h3 { font-size: 22px; line-height: 1.45; margin: 14px 0 12px; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.project-card h3 a:hover { color: var(--signal); }
.project-card p { font-size: 16px; color: var(--muted); margin-bottom: 24px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.project-card__links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: auto; font-size: 14px; color: var(--signal); }
.project-notes { display: grid; grid-template-columns: 240px minmax(0,1fr); gap: 45px; padding-top: 32px; padding-bottom: 70px; }
.notes-intro h2 { font-size: 28px; margin-bottom: 12px; }
.notes-intro p { color: var(--muted); font-size: 14px; }
.notes-list { display: grid; gap: 20px; }
.note-item { padding: 28px; border-radius: var(--radius); background: var(--surface); }
.note-item time { color: var(--muted); font-size: 13px; }
.note-item h3 { margin: 12px 0; font-size: 23px; }
.note-item p { color: var(--muted); font-size: 16px; }
.note-item > a { font-size: 14px; color: var(--signal); }
.about-main { min-height: 68vh; }
.about-intro { padding-top: 78px; max-width: 900px; }
.about-lede { font-size: 22px; margin: 24px 0; }
.about-description { color: var(--muted); max-width: 690px; font-size: 17px; line-height: 2; }
.about-topics { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.about-topics span { padding: 7px 15px; border-radius: 8px; background: var(--surface); color: var(--signal); font-size: 14px; }
.about-reserved { max-width: 900px; display: grid; grid-template-columns: 1fr 1fr; gap: 35px; padding-top: 10px; padding-bottom: 80px; }
.about-reserved h2 { font-size: 26px; margin-bottom: 12px; }
.about-reserved p { color: var(--muted); font-size: 16px; }
.about-contact > span { display: block; color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.about-contact a { font-size: 22px; color: var(--signal); word-break: break-word; }
/* Functional UI fields retain boundaries for input clarity. */
label { display: grid; gap: 9px; color: var(--muted); font-size: 14px; }
textarea,select,#cost-price { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: var(--input); color: var(--ink); padding: 14px; resize: vertical; font: 14px/1.7 var(--sans); }
input::placeholder,textarea::placeholder { color: var(--muted); opacity: 1; }
.tool-dock { margin-top: 24px; padding: 28px; background: var(--paper-deep); border-radius: var(--radius); scroll-margin-top: 115px; }
.tool-dock__head { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.tool-dock h3 { margin: 0; font-size: 26px; }
.dock-close { border: 0; background: var(--surface); border-radius: 8px; font-size: 14px; min-height: 40px; padding: 7px 14px; }
.dock-close span { margin-left: 10px; }
.prompt-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; margin: 18px 0; font-size: 14px; color: var(--muted); }
.tool-output,.json-output { padding: 20px; border-radius: 10px; min-height: 100px; background: var(--input); color: var(--ink); font: 14px/1.8 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.json-output { overflow-x: auto; }
.output-empty { color: var(--muted); }
.diff-added { background: #e1f2e8; color: #205e3b; }
.diff-removed { background: #f9e1df; color: #8d332a; text-decoration: line-through; }
:root[data-theme='dark'] .diff-added { background: #243f31; color: #a2d5b7; }
:root[data-theme='dark'] .diff-removed { background: #4a2925; color: #ffb4ac; }
.cost-controls { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 20px; margin-top: 20px; }
.cost-result { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; padding: 16px; border-radius: 10px; background: var(--input); }
.cost-result strong { font: 600 23px/1.5 var(--sans); }
.cost-result span,.tool-hint { font-size: 14px; color: var(--muted); }
.tool-hint { margin: 18px 0 0; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes enter { from { opacity: .3; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: no-preference) {
 .cocreate-intro,.cocreate-panel h1,.cocreate-lede,.cocreate-topics,.cocreate-actions,.cocreate-bottom { animation: enter .55s var(--ease) both; }
 .cocreate-panel h1 { animation-delay: 50ms; }
 .cocreate-lede { animation-delay: 100ms; }
 .cocreate-actions { animation-delay: 150ms; }
 .timeline-entry,.pick-card { animation: enter .45s var(--ease) both; }
}
@media (max-width: 1150px) {
 .site-header { gap: 15px; padding: 12px 20px; }
 .header-contact { display: none; }
 .article-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
 .section-pad,.site-footer { width: calc(100% - 64px); }
 .brand-mark { font-size: 21px; }
 .project-card__body { padding: 22px; }
}
@media (max-width: 800px) {
 .site-header { width: calc(100% - 32px); top: 12px; margin-top: 12px; min-height: 70px; padding: 10px 16px; gap: 10px; }
 .site-nav { gap: 0; }
 .site-nav a { min-width: 52px; padding: 7px 10px; font-size: 14px; }
 .brand-symbol { width: 28px; }
 .brand-mark { font-size: 20px; }
 .header-tools { gap: 0; }
 .section-pad,.site-footer { width: calc(100% - 48px); }
 .article-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
 .project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .project-notes { grid-template-columns: 1fr; gap: 20px; }
 .about-reserved { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
 html { scroll-padding-top: 145px; }
 .site-header { grid-template-columns: 1fr auto; gap: 6px 10px; padding: 12px 16px 8px; border-radius: 18px; }
 .brand { gap: 7px; }
 .brand-symbol { height: 30px; }
 .brand-mark { font-size: 21px; }
 .header-tools { grid-column: 2; grid-row: 1; }
 .theme-toggle { min-height: 36px; min-width: 44px; }
 .site-nav { grid-row: 2; grid-column: 1/-1; display: grid; grid-template-columns: repeat(4,1fr); gap: 4px; }
 .site-nav a { min-height: 40px; padding: 6px 8px; font-size: 14px; }
 .section-pad,.site-footer { width: calc(100% - 40px); }
 .refresh-news { padding-left: 4px; min-height: 30px; }
 .article-grid { grid-template-columns: 1fr; gap: 22px; }
 .site-footer { gap: 20px; padding-top: 24px; }
 .footer-links { gap: 16px; flex-wrap: wrap; }
 .site-footer p { max-width: 200px; }
 .footer-legal { gap: 8px 16px; font-size: 13px; }
 .page-intro { padding-top: 40px; padding-bottom: 35px; }
 .page-intro h1,.resource-hero h1,.about-intro h1 { font-size: 32px; }
 .directory-heading h2,.tools-heading h2 { font-size: 24px; }
 .project-grid { grid-template-columns: 1fr; }
 .about-intro { padding-top: 45px; padding-bottom: 35px; }
 .about-lede { font-size: 20px; }
 .about-description { font-size: 16px; }
 .about-reserved { padding-bottom: 45px; }
 .prompt-inputs,.cost-controls { grid-template-columns: 1fr; }
 .tool-dock { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { animation: none !important; transition: none !important; } }
