/* Warm paper surfaces, walnut text and amber accents. */
@media screen {
  :root {
    color-scheme: light;
    --bg: #f7f2e9;
    --panel: #fffdf8;
    --panel-hover: #f5ead9;
    --line: #e0d3c0;
    --text: #3e3026;
    --muted: #725e4b;
    --accent: #965025;
    --accent-dark: #eedcc1;
  }
  ::selection { background: #e9c897; color: #422b19; }
  .sidebar { background: #f0e7d8; }
  .brand { color: #57391f; }
  .brand-mark { background: #b7763b; color: #fff4db; box-shadow: inset 0 0 0 4px #b7763b, inset 0 0 0 5px #f3d4a3; }
  .nav-item, .sidebar-bottom>a { color: #69513d; }
  .nav-item:hover { background: #e9dbc6; color: #75431f; }
  .nav-item.active { background: #e6cfaa; color: #673b1e; }
  .nav-item small, .nav-group-label, .sidebar-label { color: #73583e; }
  .topbar { background: #fbf7ef; }
  .breadcrumbs, .edition, .header-search { color: #77614b; }
  .breadcrumbs strong { color: #543f2d; }
  .breadcrumbs>span { color: #ac967b; }
  .header-search kbd { background: #fffdf8; border-color: #d9c5aa; }
  .footer { color: #725e4b; }
  .section-kicker, .text-link, .back-link { color: #8c572e; }
  .portal-hero {
    background: linear-gradient(100deg,#57391ef5,#78552bdc),url(hero.jpg) center/cover;
    border-color: #977449;
    color: #fff7e6;
    box-shadow: 0 6px 20px #633d1610;
  }
  .portal-hero .section-kicker { color: #eacb99; }
  .portal-hero p { color: #efddbf; }
  .hero-search { background: #fffdf7; color: #8a6542; box-shadow: 0 3px 14px #633d1610; }
  .hero-search input { color: #493421; }
  .hero-search input::placeholder { color: #806e5b; }
  .hero-search button { background: #9b572b; color: #fffaf0; }
  .hero-search button:hover { background: #7d401d; }
  .library-search { border: 1px solid #dac5a6; }
  .quick-panel, .directory-card, .result-card, .aside-box { box-shadow: 0 2px 10px #633d1605; }
  .quick-links a { color: #81502d; }
  .quick-links a:hover { color: #a14b22; }
  .quick-links span { color: #9b7a56; }
  .schedule-panel { background: #f0e2cb; }
  .schedule-panel small { color: #7f6549; }
  .schedule-panel a:hover { background: #e8d3b3; }
  .category-jumps { background: #efe3d1; }
  .category-jumps a { color: #725133; }
  .category-jumps a:hover { background: #e0c59e; color: #543217; }
  .portal-group>h2 { color: #82532e; }
  .directory-card { background: #fffdf8; border-color: #dccbb1; }
  .directory-card>header { background: #efe0c7; border-color: #dccbb1; }
  .directory-card>header>[data-icon] { color: #986330; }
  .directory-count, .directory-links small { color: #73583e; }
  .directory-entry { color: #87512a; }
  .directory-links>a { color: #674c35; border-color: #eee2d1; }
  .directory-links>a:hover { color: #a14b22; }
  .filter-panel { background: #fffaf1; border-color: #dccbb1; }
  .filter-panel h2 { color: #755438; }
  .filter-chip, .filter-panel .filter-chip { background: #f6ecdd; color: #715137; border-color: #dfccb0; }
  .filter-chip:hover, .filter-panel .filter-chip:hover { background: #ead6b9; color: #633d21; }
  .filter-chip[aria-pressed=true], .filter-panel .filter-chip[aria-pressed=true] { background: #965025; border-color: #965025; color: #fffaf0; }
  #topic-panel, .kind-panel { border-color: #e0d3c0; }
  .topic-chip { background: #fffdf8; border-color: #dfccb0; color: #725036; }
  .topic-chip small, .kind-chip small { color: #705438; }
  .topic-chip:hover, .topic-chip[aria-pressed=true] { background: #eddbbd; border-color: #bd915d; color: #583518; }
  .kind-chip { border-color: #dfccb0; color: #745235; }
  .kind-chip:hover, .kind-chip[aria-pressed=true] { background: #eddbbd; border-color: #bd915d; color: #583518; }
  .topic-shortcuts { background: #f0e1c9; border-color: #b47d43; }
  .topic-shortcuts strong { color: #775b3e; }
  .topic-shortcuts a, .search-scope button { color: #8a4b24; }
  .tag { background: #f0dfc4; color: #81502a; }
  .result-tags>span:last-child, .search-scope { color: #725e4b; }
  .result-card:hover { background: #fff8eb; border-color: #bc9466; }
  .result-card p { color: #725e4b; }
  .result-meta { color: #90592e; }
  .empty-state { border-color: #cbb18c; }
  .article-content { color: #483a2e; }
  .article-content a { color: #995127; }
  .article-content a:hover { color: #713515; }
  .article-content h1, .article-content h2, .article-content h3, .article-content strong { color: #49311f; }
  .article-content img { background: #efe4d3; }
  .table-wrap, .article-content td, .article-content th { border-color: #dbcbb4; }
  .article-content table { background: #fffdf8; color: #483a2e; }
  .article-content th { background: #edddc4; color: #5f3e23; }
  .article-content tr:nth-child(even) td { background: #faf3e7; }
  .aside-box a { color: #775235; }
  .content-notice { background: #eee0c8; color: #694c30; }
  .about-copy p { color: #725b45; }
  #question-search { background: #fffdf8; border-color: #c3a27a; color: #493421; }
  #question-status { color: #725e4b; }
  #question-list li { background: #fffaf1; border-color: #dfccb0; }
  .search-dialog { background: #fffaf1; border-color: #c6a679; box-shadow: 0 24px 80px #39220d40; }
  .search-dialog::backdrop { background: #36261599; }
  .search-dialog .hero-search { border: 1px solid #dfccb0; }
  .lightbox { background: #faf2e5; border-color: #c6a679; }
  .lightbox::backdrop { background: #302215df; }
  .lightbox .close { color: #593b23; }
}
