/* Modern digital archive: the user's approved paper/collage reference. */
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; font-size: 16px; background: var(--paper); -webkit-font-smoothing: antialiased; }
body { min-width: 320px; margin: 0; background: url('/images/archive/page-paper-grain-26ee9a8c4f3d784b25867788ec991643642f427030c3ec4247b58fc248a36264.svg') repeat, linear-gradient(rgb(255 255 255 / 12%), rgb(255 255 255 / 12%)) no-repeat, var(--paper) url('/images/archive/page-paper-26ee9a8c4f3d784b25867788ec991643642f427030c3ec4247b58fc248a36264.webp') repeat; background-size: 256px 256px, 100% 100%, 640px 640px; color: var(--ink); font: 400 .9375rem/1.75 var(--font-ui); }
[hidden] { display: none !important; }
img { max-width: 100%; }
a { text-underline-offset: 3px; }
h1, h2, h3 { overflow-wrap: anywhere; }
button, input, select, textarea { font: inherit; }
input::placeholder, textarea::placeholder { color: var(--ink-faint); opacity: 1; }
button, .button { border-radius: var(--radius-sm); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: -2px; }
/* Full-width rails follow the available page width, including classic scrollbar layouts. */
.page-shell, .narrow-shell { width: 100%; margin-inline: 0; padding: 0; }
.page-shell > main, .page-shell > .announcement-strip, .page-shell > .tool-topbar,
.masthead-topbar-inner, .masthead-core, .navigation-frame { width: min(calc(100% - 2 * var(--page-gutter)), var(--container-max)); margin-inline: auto; }
.sr-only, .masthead-search > label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
/* The dark utility rail and footer are framing; all reading content stays on paper. */
.masthead { margin: 0; border: 0; background: transparent; text-align: left; }
.masthead-topbar { width: 100%; background: #272725 url('/images/archive/chalkboard-26ee9a8c4f3d784b25867788ec991643642f427030c3ec4247b58fc248a36264.webp') center / 640px repeat; color: #f9f1e3; }
.masthead-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 30px; font-size: .75rem; line-height: 1.5; }
.masthead-scope { letter-spacing: .14em; }
.masthead-utilities { display: flex; align-items: center; gap: 22px; white-space: nowrap; }
.masthead-support-link { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 0; border: 0; background: none; color: #f9f1e3; text-decoration: none; font-size: .75rem; }
.masthead-support-link > .fa-heart { color: #df6656; }
.masthead-date { display: inline-flex; align-items: center; gap: 7px; padding-inline: 20px; border-inline: 1px solid #7a7060; font-variant-numeric: tabular-nums; }
.language-selector { display: flex; align-items: center; gap: 18px; padding: 0; border: 0; font-size: .75rem; }
.language-option { display: inline-flex; align-items: center; justify-content: center; min-height: 30px; padding: 2px 5px; border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: transparent; color: #f9f1e3; text-decoration: none; font-size: .75rem; }
.language-option::after { content: none; }
.language-option.current { border-bottom-color: #be583c; font-weight: 500; }
.masthead-core { position: relative; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 36px; min-height: 96px; padding: 16px 0; }
.masthead-identity { position: relative; z-index: 1; display: flex; align-items: center; gap: 26px; min-width: 0; }
.brand { flex: 0 1 auto; color: #27251f; font: italic 700 clamp(2.625rem, 4.7vw, 4.5rem)/1 var(--font-brand); letter-spacing: -.035em; text-decoration: none; }
.brand-wordmark { display: block; padding-inline: .08em .18em; margin-left: -.08em; background: #272725 url('/images/archive/chalkboard-26ee9a8c4f3d784b25867788ec991643642f427030c3ec4247b58fc248a36264.webp') center / 640px repeat; -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (forced-colors: active) { .brand-wordmark { background: none; color: LinkText; } }
.brand-tagline { display: grid; flex-shrink: 0; gap: 2px; padding-left: 24px; border-left: 1px solid #b7a78f; color: #312b23; font: 500 1.25rem/1.5 var(--font-editorial); letter-spacing: .12em; }
.brand-tagline small { font: 400 .75rem/1.6 var(--font-brand); letter-spacing: .3em; }
.masthead-mountain { position: absolute; bottom: 0; left: 40%; width: 340px; height: 108px; background: url('/images/archive/mountain-engraving-26ee9a8c4f3d784b25867788ec991643642f427030c3ec4247b58fc248a36264.webp') center bottom / contain no-repeat; opacity: .68; pointer-events: none; }
.masthead-search { z-index: 1; flex: 0 1 395px; min-width: 260px; margin: 0; }
.masthead-search > div { position: relative; display: flex; gap: 0; min-height: 36px; border: 1px solid #beaa8d; border-radius: 11px; background: linear-gradient(#fdf8ee, #f4ecdf); box-shadow: inset 0 1px 2px rgb(104 79 46 / 9%), inset 0 -1px 0 #fffaf0, 0 2px 5px rgb(69 44 20 / 12%); overflow: hidden; }
.masthead-search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #433a2f; font-size: .875rem; }
.masthead-search input { min-width: 0; width: 100%; min-height: 34px; height: auto; padding: 7px 12px 7px 40px; line-height: 1.4; border: 0; border-radius: 0; background: transparent; color: var(--ink); font-size: .8125rem; }
.masthead-search button { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; white-space: nowrap; min-width: 66px; min-height: 34px; height: auto; line-height: 1.4; margin: 0; padding: 5px 15px; border: 0; border-left: 1px solid #7c2d21; border-radius: 0; background: var(--material-red); color: #fff7e9; box-shadow: var(--shadow-control); text-shadow: 0 1px 1px #70271d; font-size: .8125rem; font-weight: 500; }
.navigation-frame { position: relative; padding: 0; border: 0; background: transparent; }
.main-nav { display: grid; grid-template-columns: minmax(0, .92fr) repeat(7, minmax(0, 1fr)); gap: 0; padding: 2px 0; border: 0; border-top: 1px solid #c7b598; border-bottom: 1px solid #8d765a; background: transparent; overflow: visible; }
.main-nav a { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 36px; min-width: 0; gap: 12px; padding: 6px 10px; border: 0; border-radius: 4px; background: transparent; color: #302a22; font: 600 .9375rem/1.5 var(--font-ui); text-decoration: none; transition: none; }
.main-nav a + a::before { position: absolute; left: 0; top: 25%; height: 50%; content: ''; border-left: 1px solid #d2bfa3; }
.main-nav a .nav-icon { width: 22px; height: 22px; color: inherit; font-size: 1.125rem; }
.main-nav a .nav-label { min-width: 0; max-width: 100%; overflow-wrap: anywhere; font: inherit; color: inherit; }
.main-nav a[aria-current='page'] { color: #fff8e8; border: 1px solid #803322; border-radius: 5px; background: var(--material-nav); box-shadow: inset 0 1px 0 #ca926b, inset 0 0 0 2px rgb(255 221 172 / 16%), inset 0 -2px 0 rgb(81 26 15 / 18%), 0 1px 2px rgb(70 37 19 / 22%); text-shadow: 0 1px 1px #74271c; }
.main-nav a[data-nav-exact][aria-current='page'] .nav-icon > path:first-child { fill: currentColor; stroke-width: 1; }
.main-nav a[aria-current='page']::before, .main-nav a[aria-current='page']::after { content: none; }
.main-nav a:focus-visible { outline-offset: -3px; }
.main-nav a[aria-current='page']:focus-visible { outline-color: #fff; }
.nav-toggle { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid #b49a7b; border-radius: 3px; background: #f6ead5; color: var(--ink); font-size: .875rem; }
.nav-toggle-current { color: var(--accent); font-weight: 600; }
.nav-toggle-action { display: inline-flex; align-items: center; gap: 8px; color: inherit; }
.announcement-strip { margin-top: 12px; border-block-width: 1px; }
/* Directory sheets retain the full SSR content and native GET filters. */
.breadcrumbs { min-height: 0; margin: 0; padding: 16px 0 0; font-size: .75rem; }
.archive-heading, .product-page-heading { display: block; min-height: 0; margin: 0; padding: 18px 0 20px; border: 0; }
.archive-heading > .section-kicker { display: none; }
.archive-heading h1, .product-page-heading h1 { color: #514334; text-shadow: 0 1px 0 #fff; margin: 0; padding: 0; border: 0; font: 500 1.5rem/1.45 var(--font-ui); letter-spacing: normal; }
.archive-heading > p:last-child { max-width: 760px; margin: 6px 0 0; padding: 0; border: 0; color: var(--ink-soft); font: 400 .875rem/1.7 var(--font-ui); }
.section-kicker { font-size: .75rem; letter-spacing: normal; }
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font-size: .8125rem; font-weight: 400; }
.archive-quick-filters { margin: 0 0 16px; border: 1px solid #c7b598; border-radius: 4px; background: #fff; box-shadow: var(--shadow-group); overflow: hidden; }
.archive-quick-filters > header { min-height: 36px; padding: 0 14px; border-bottom: 1px solid #c7b598; background: #eee2cd; text-shadow: 0 1px 0 #fff; }
.archive-quick-filters h2, .archive-quick-filters h2 span { color: var(--ink-soft); font: 400 .75rem/1.5 var(--font-ui); letter-spacing: normal; }
.archive-quick-filters h2 span { display: inline; margin: 0; }
.archive-quick-filters h2 > .fa-solid { display: none; }
.archive-quick-filters > header > a { min-height: 34px; padding: 4px 0; font-size: .75rem; }
.archive-quick-filters dl { padding-inline: 14px; }
.archive-quick-filters dl > div { grid-template-columns: 88px minmax(0, 1fr); padding-block: 8px; }
.archive-quick-filters dl > div + div { border-top: 1px solid var(--rule-light); }
.archive-quick-filters dt { min-height: 30px; padding: 4px 8px 4px 0; font-size: .8125rem; letter-spacing: normal; color: var(--ink-soft); }
.archive-quick-filters dd { gap: 6px; padding: 0; }
.archive-filter-option { min-width: 0; min-height: 30px; padding: 3px 10px; border: 1px solid #d2bea1; border-radius: 4px; background: var(--material-label); box-shadow: inset 0 1px 0 #fffaf2, 0 1px 0 rgb(255 255 255 / 45%); color: var(--ink-soft); font-size: .75rem; font-weight: 400; overflow-wrap: anywhere; }
.archive-filter-option small { color: inherit; font-size: inherit; }
.archive-filter-option:hover { border-color: var(--rule-light); background: var(--color-surface-hover); color: var(--accent); }
.archive-filter-option.is-active { border-color: #8d3929; background: var(--material-red); color: #fff7e9; box-shadow: var(--shadow-control); text-shadow: 0 1px 0 #70291f; font-weight: 500; }
.archive-filter-more { flex-basis: 100%; }
.archive-filter-more summary { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 0; color: var(--accent); font-size: .75rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.archive-filter-more summary::after { content: '＋'; margin-left: 8px; }
.archive-filter-more[open] summary::after { content: '−'; }
.archive-filter-more > div { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 8px; }
.list-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; min-height: 36px; gap: 8px; padding: 6px 0; border: 0; background: transparent; color: var(--ink-soft); font: 400 .75rem/1.6 var(--font-ui); letter-spacing: normal; }
.list-toolbar .fa-solid { display: none; }
.empty-archive { display: flex; align-items: center; gap: 12px; min-height: 64px; margin: 0; padding: 16px 0; border: 0; background: transparent; font-size: .875rem; }
.empty-archive > span:first-child { display: none; }
.pagination { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; margin: 20px 0 0; padding: 0; border: 0; font-size: .8125rem; }
.pagination > a, .pagination > span { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; padding: 6px 12px; border: 1px solid var(--rule-light); border-radius: var(--radius-sm); background: var(--material-button); box-shadow: inset 0 1px 0 #fff; text-decoration: none; }
.pagination > span { color: var(--accent); border-color: var(--color-border-strong); background: var(--color-accent-soft); }
.pagination > a:hover { background: var(--color-surface-hover); }
.card, .archive-panel { min-width: 0; padding: 18px; border: 1px solid var(--rule-light); border-radius: 5px; background: var(--material-paper); box-shadow: var(--shadow-paper-edge); }
.archive-panel h2 { margin: 0 0 10px; font: 500 1rem/1.5 var(--font-ui); }
.archive-panel h2 .fa-solid { display: none; }
.archive-panel p { color: var(--ink-soft); font-size: .8125rem; }
.panel-links { display: grid; gap: 0; }
.panel-links > a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; border: 0; color: var(--ink-soft); text-decoration: none; font-size: .8125rem; }
.panel-links > a:hover { color: var(--accent); }
.panel-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.panel-chips > a { padding: 2px 8px; border: 1px solid var(--rule-light); border-radius: 3px; color: var(--ink-soft); text-decoration: none; font-size: .75rem; }
.panel-chips > a:hover, .panel-chips > a[aria-current] { color: var(--accent); background: var(--color-accent-soft); }
.archive-image-fallback { display: grid; place-items: center; background: var(--color-surface-muted); color: var(--ink-faint); font-size: 24px; }
/* Reading lists: use proximity and a separator, rather than a card per paragraph. */
.content-with-sidebar { display: grid; grid-template-columns: minmax(0, 3fr) minmax(240px, 1fr); gap: 36px; }
.content-with-sidebar > *, .archive-sidebar { min-width: 0; }
.archive-sidebar { display: grid; align-content: start; gap: 16px; padding-top: 36px; }
.article-index, .resource-index, .device-index { padding-bottom: 0; }
.article-index .article-list { border: 0; }
.article-index .article-list > article { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 20px; margin: 0 0 12px; padding: 18px; border: 1px solid var(--rule-light); border-radius: 5px; background: var(--material-paper); box-shadow: var(--shadow-paper-edge); }
.article-index .article-list > article::before { content: none; }
.article-index .article-list > article:not(:has(.entry-image-link)) { grid-template-columns: minmax(0, 1fr); }
.article-index .article-list .entry-image-link { width: 160px; height: 108px; padding: 0; border: 0; border-radius: 3px; overflow: hidden; background: var(--color-surface-muted); }
.article-index .article-list .entry-image-link img { width: 100%; height: 100%; border: 0; object-fit: cover; filter: none; }
.article-index .article-list h2 { margin: 0 0 6px; font: 500 1.0625rem/1.6 var(--font-ui); }
.article-index .article-list h2 a { color: var(--ink); text-decoration: none; }
.article-index .article-list h2 a:hover { color: var(--accent); text-decoration: underline; }
.article-index .article-list .article-summary { margin: 0 0 8px; color: var(--ink-soft); font: 400 .875rem/1.8 var(--font-ui); }
.article-index .article-basic-meta { gap: 4px 12px; font-size: .75rem; line-height: 1.7; }
.article-index .article-meta-links a { padding: 0; }
.article-index .article-meta-label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); }
.article-hero h1, .article-detail h1, .device-hero h1, .resource-hero h1 { font: 500 1.625rem/1.5 var(--font-ui); letter-spacing: normal; }
.article-detail .markdown-content { max-width: var(--reading-width); margin-inline: auto; font-size: 1rem; line-height: 1.9; }
:is(.article-detail, .resource-detail, .device-detail) .markdown-content :is(h2, h3) { font-family: var(--font-ui); font-weight: 500; line-height: 1.6; }
:is(.article-detail, .resource-detail, .device-detail) .markdown-content h2 { font-size: 1.25rem; }
:is(.article-detail, .resource-detail, .device-detail) .markdown-content h3 { font-size: 1.0625rem; }
:is(.article-detail, .resource-detail, .device-detail) .markdown-content img { max-width: min(100%, 640px); }
:is(.article-detail, .resource-detail) .markdown-content .prose-image-gallery:not(.is-expanded) .image-gallery-item img { max-width: 100%; }
/* Keep the Markdown author's structure, while removing the old print palette. */
.markdown-content { --markdown-paper-dark: var(--color-surface-muted); --markdown-ink: var(--ink); --markdown-ink-soft: var(--ink-soft); --markdown-rule: var(--rule); --markdown-rule-light: var(--rule-light); --markdown-accent: var(--accent); }
.markdown-content h2 { border-top: 0; border-bottom: 1px solid var(--rule-light); color: var(--ink); }
.markdown-content h3::before { content: none; }
.markdown-content strong { color: var(--ink); }
.download-panel, .resource-metadata, .copyright-panel, .device-specifications { border: 1px solid var(--rule-light); border-radius: 4px; background: #f5eddf; box-shadow: inset 0 1px 0 #fff; }
.download-panel h2, .resource-metadata h2, .copyright-panel h2, .comment-section > header h2 { font: 500 1rem/1.6 var(--font-ui); }
.comment-section { border-top: 1px solid var(--rule-light); }
.image-preview-media { max-width: none; }
.resource-index .resource-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 245px), 1fr)); gap: 14px; border: 0; }
.resource-index .resource-list > .list-toolbar, .resource-index .resource-list > .empty-archive { grid-column: 1 / -1; }
.resource-index .resource-list > .resource-card { display: grid; grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: minmax(68px, 1fr) auto; align-items: center; justify-items: start; align-content: start; gap: 14px 12px; min-width: 0; padding: 34px 14px 14px; border: 1px solid var(--rule-light); border-radius: 5px; background: var(--material-paper); box-shadow: var(--shadow-paper-edge); }
.resource-index .resource-list > .resource-card::before { content: none; }
.resource-index .resource-list .entry-image-link, .resource-index .resource-entry-icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 0; padding: 0; border: 0; background: transparent; }
.resource-index .resource-list .entry-image-link img { width: 100%; height: 100%; border: 0; object-fit: contain; filter: none; }
.resource-index .resource-entry-main { min-height: 0; text-align: left; }
.resource-index .resource-list h2 { margin: 0; font: 500 .9375rem/1.6 var(--font-ui); overflow-wrap: anywhere; }
.resource-index .resource-list h2 a { color: var(--ink); text-decoration: none; }
.resource-entry-facts { grid-column: 1 / -1; grid-template-rows: auto auto; align-self: end; gap: 6px 12px; font: 400 .75rem/1.6 var(--font-ui); }
.resource-entry-facts > .resource-entry-type { top: 10px; left: 14px; padding: 0; border-radius: 0; background: transparent; color: var(--ink-faint); font-size: .75rem; font-weight: 400; }
.resource-entry-facts > .resource-entry-platforms, .resource-entry-facts > .resource-entry-version { grid-column: 1 / -1; }
.resource-entry-facts > .resource-entry-downloads, .resource-entry-facts > .resource-entry-comments { padding-top: 6px; border-top: 1px solid var(--rule-light); }
.resource-entry-facts dt { color: var(--ink-soft); }
.device-index .device-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; border: 0; }
.device-index .device-list > .list-toolbar, .device-index .device-list > .empty-archive { grid-column: 1 / -1; }
.device-index .device-list > article { display: grid; grid-template-columns: 80px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 106px; padding: 12px; border: 1px solid var(--rule-light); border-radius: 5px; background: var(--material-paper); box-shadow: var(--shadow-paper-edge); }
.device-index .device-list > article::before { content: none; }
.device-index .device-card-image { width: 80px; height: 80px; margin: 0; padding: 0; border: 0; background: transparent; }
.device-index .device-card-image img { width: 100%; height: 100%; object-fit: contain; border: 0; filter: none; }
.device-index .device-list h2 { margin: 0; font: 500 1rem/1.5 var(--font-ui); }
.device-index .device-list h2 a { color: var(--ink); text-decoration: none; }
.device-entry-facts { margin-top: 8px; gap: 4px; }
.device-entry-facts > div { padding: 1px 4px; border-radius: 2px; font-size: .75rem; background: var(--color-surface-muted); }
.device-select-filters { display: none; }
/* Product names and descriptions replace the previous promotional introduction. */
.product-index .product-directory { margin-top: 0; }
.product-index .product-catalog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; border: 0; }
.product-index .home-product { border: 0; }
.product-index .home-product-link { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 16px; align-content: start; min-height: 0; height: 100%; padding: 24px; border: 1px solid var(--rule-light); border-radius: 4px; background: var(--material-paper); box-shadow: var(--shadow-paper-edge); text-decoration: none; }
.product-index .home-product-category span { color: inherit; font-weight: 400; }
.product-index .home-product-category { grid-column: 2; grid-row: 2; display: block; margin: 0; color: var(--ink-faint); font-size: .75rem; }
.product-index .home-product-identity { display: contents; }
.product-index .home-product-identity img { grid-column: 1; grid-row: 1 / 4; width: 56px; height: 56px; border-radius: 10px; filter: drop-shadow(0 2px 2px rgb(35 47 66 / 22%)); }
.product-index .home-product-identity h2 { grid-column: 2; grid-row: 1; margin: 0; color: var(--ink); font: 500 1.125rem/1.5 var(--font-ui); letter-spacing: normal; }
.product-index .home-product-description { grid-column: 2; display: block; margin: 6px 0 0; color: var(--ink-soft); font-size: .875rem; line-height: 1.8; overflow: visible; }
.product-index .home-product-link:hover h2 { color: var(--accent); text-decoration: underline; }
/* Footer follows the supplied dark paper frame, with only valid site destinations. */
.site-footer { width: 100%; margin: 28px 0 0; padding: 22px max(var(--page-gutter), calc((100% - var(--container-max)) / 2)) 14px; border: 0; background: #272725 url('/images/archive/chalkboard-26ee9a8c4f3d784b25867788ec991643642f427030c3ec4247b58fc248a36264.webp') center / 640px repeat; color: #e7ddcd; font: 400 .75rem/1.7 var(--font-ui); }
.site-footer-main { display: grid; grid-template-columns: 260px minmax(0, 1fr) 255px; align-items: start; gap: 36px; }
.footer-identity { padding-right: 24px; border-right: 1px solid #706654; }
.footer-brand { display: inline-block; color: #f5eada; font: 700 2.75rem/1.15 var(--font-brand); letter-spacing: -.035em; text-decoration: none; }
.site-footer p { margin: 4px 0 0; font-size: inherit; white-space: normal; overflow-wrap: anywhere; }
.site-footer a { color: #e7ddcd; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.footer-links > div { display: grid; justify-items: start; align-content: start; }
.footer-links h2 { margin: 0 0 5px; color: #fff2d9; font: 500 .875rem/1.6 var(--font-editorial); }
.footer-links .fa-solid { color: inherit; }
.footer-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 20px; }
.footer-signature { align-self: center; padding: 0 0 12px 28px; border-left: 1px solid #8e816b; color: #e3cfad; font: italic 1.125rem/1.8 var(--font-editorial) !important; letter-spacing: .1em; transform: rotate(-3deg); }
.footer-signature::after { content: ''; display: block; width: 90%; margin: 7px 0 0; border-top: 1px solid #b9a586; transform: rotate(-3deg); }
.site-footer-bottom { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; margin-top: 16px; padding-top: 9px; border-top: 1px solid #8e816b; }
.site-footer-note { margin-left: auto !important; }
.site-registration a { text-decoration: underline; }
@media (max-width: 1199px) {
    .brand-tagline { padding-left: 20px; font-size: 1rem; }
    .masthead-identity { gap: 22px; }
    .masthead-core { gap: 20px; }
    .masthead-search { flex-basis: 340px; }
    .main-nav a { gap: 8px; padding-inline: 6px; font-size: .875rem; }
    .main-nav a .nav-icon { width: 18px; font-size: 1rem; }
    .device-index .device-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-footer-main { grid-template-columns: 220px minmax(0, 1fr); }
    .footer-signature { display: none; }
}
@media (max-width: 991px) {
    .brand-tagline { display: none; }
    .masthead-mountain { left: 27%; width: 290px; }
    .masthead-scope { letter-spacing: .04em; }
    .masthead-utilities { gap: 12px; }
    .masthead-date { display: inline-flex; align-items: center; gap: 7px; padding-inline: 12px; }
    .main-nav a { flex-direction: column; gap: 5px; font-size: .75rem; }
    .content-with-sidebar { grid-template-columns: minmax(0, 1fr); }
    .archive-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 0; }
}
@media (max-width: 767px) {
    .masthead-topbar-inner { width: calc(100% - 2 * var(--page-gutter)); min-height: 34px; }
    .masthead-scope { display: none; }
    .masthead-utilities { justify-content: space-between; flex-wrap: wrap; width: 100%; gap: 4px 8px; }
    .masthead-date { display: inline-flex; align-items: center; gap: 7px; padding-inline: 10px; border: 0; }
    .masthead-support-link, .language-option { min-height: 34px; }
    .language-selector { gap: 10px; }
    .masthead-core { flex-wrap: wrap; gap: 14px; min-height: 0; padding: 16px 0 14px; }
    .brand { font-size: clamp(2rem, 10vw, 2.75rem); }
    .brand-tagline { display: grid; gap: 0; padding-left: 16px; font-size: .8125rem; letter-spacing: .06em; }
    .brand-tagline small { font-size: .625rem; }
    .masthead-identity { flex-wrap: wrap; gap: 12px; width: 100%; }
    .brand-tagline { min-width: 0; max-width: 100%; flex-shrink: 1; grid-template-columns: minmax(0, 1fr); }
    .masthead-mountain { width: 180px; height: 70px; left: auto; right: 0; bottom: 50px; opacity: .3; }
    .masthead-search { flex-basis: 100%; min-width: 0; }
    .masthead-search input { font-size: 1rem; min-height: 44px; }
    .masthead-search button { min-height: 44px; min-width: 64px; }
    .navigation-frame { padding: 0; }
    .nav-toggle:not([hidden]) { display: flex; align-items: center; justify-content: space-between; }
    .main-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 6px; padding: 3px; border: 1px solid #b49a7b; border-radius: 3px; }
    .main-nav a { flex-direction: row; justify-content: flex-start; min-height: 44px; gap: 12px; padding: 8px 10px; font-size: .875rem; }
    .main-nav a + a::before { content: none; }
    .main-nav a:nth-child(n+3) { border-top: 1px solid #d2bfa3; }
    .archive-heading h1, .product-page-heading h1 { font-size: 1.25rem; }
    .archive-quick-filters dl { padding-inline: 12px; }
    .archive-quick-filters dl > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
    .archive-quick-filters dt { min-height: 28px; font-size: .8125rem; }
    .archive-filter-option { min-height: 44px; padding: 8px 12px; }
    .archive-quick-filters > header > a { min-height: 44px; }
    .device-filter-panel.has-compact-filters .archive-quick-filters dl { display: none; }
    .device-filter-panel.has-compact-filters .device-select-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0 12px 12px; border: 1px solid var(--rule-light); border-top: 0; border-radius: 0 0 4px 4px; background: var(--paper); }
    .device-filter-panel.has-compact-filters .archive-quick-filters { border-bottom: 0; border-radius: 4px 4px 0 0; margin: 0; }
    .device-select-filters label { min-width: 0; font-size: .8125rem; }
    .device-select-filters label:last-child { grid-column: 1 / -1; }
    .device-select-filters select { width: 100%; min-width: 0; min-height: 44px; border: 1px solid var(--rule); border-radius: 4px; background-color: var(--paper); font-size: 1rem; }
    .article-index .article-list > article { grid-template-columns: 92px minmax(0, 1fr); gap: 8px 12px; padding: 14px; }
    .article-index .article-list .entry-image-link { grid-column: 1; grid-row: 1; width: 92px; height: 72px; }
    .article-index .article-entry-copy { display: contents; }
    .article-index .article-list h2 { grid-column: 2; grid-row: 1; margin: 0; font-size: 1rem; }
    .article-index .article-list > article:not(:has(.entry-image-link)) h2 { grid-column: 1 / -1; }
    .article-index .article-summary, .article-index .article-basic-meta { grid-column: 1 / -1; }
    .article-index .article-meta-links a { display: inline-flex; align-items: center; min-height: 44px; }
    .article-hero h1, .article-detail h1, .device-hero h1, .resource-hero h1 { font-size: 1.375rem; }
    .archive-sidebar { grid-template-columns: minmax(0, 1fr); }
    .device-index .device-list { grid-template-columns: minmax(0, 1fr); }
    .product-index .product-catalog-grid { grid-template-columns: minmax(0, 1fr); }
    .product-index .home-product-link { padding: 20px; }
    .pagination { justify-content: center; }
    .pagination > a, .pagination > span { min-height: 44px; }
    .panel-chips > a { display: inline-flex; min-height: 44px; align-items: center; }
    .site-footer { padding-block: 24px 16px; }
    .site-footer-main { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .footer-identity { padding: 0 0 16px; border: 0; border-bottom: 1px solid #706654; }
    .footer-brand { font-size: 2.125rem; }
    .footer-links { grid-template-columns: repeat(auto-fit, minmax(min(100%, 5rem), 1fr)); gap: 16px; }
    .footer-links a, .site-registration a { min-height: 36px; }
    .site-footer-bottom { gap: 5px 16px; margin-top: 16px; }
    .site-footer-note { margin-left: 0 !important; width: 100%; }
}
/* Banner decorations stay fixed; title, summary, photograph and destination are live article data. */
.collection-home { margin-top: 16px; }
.archive-banner { position: relative; isolation: isolate; min-width: 0; min-height: 320px; border-radius: 5px; overflow: hidden; background: #c6a273 url('/images/archive/banner-collage-26ee9a8c4f3d784b25867788ec991643642f427030c3ec4247b58fc248a36264.webp') center / 100% 100% no-repeat; }
.archive-banner::before { content: ''; position: absolute; z-index: 0; top: 56%; right: 3.2%; width: 26%; aspect-ratio: 3 / 2; border: clamp(5px, .65vw, 10px) solid #fff4de; background: #ced9cd url('/images/archive/coastal-postcard-26ee9a8c4f3d784b25867788ec991643642f427030c3ec4247b58fc248a36264.webp') center / cover no-repeat; box-shadow: 1px 4px 5px rgb(67 44 21 / 30%), inset 0 0 0 1px rgb(108 89 62 / 15%); transform: translateY(-50%) rotate(12deg); pointer-events: none; }
.banner-article { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 49.5fr) minmax(0, 50.5fr); align-items: center; min-height: 320px; padding-block: 14px; }
.feature-copy { position: relative; min-width: 0; padding: 20px 44px 22px 14%; }
.banner-recommendation { position: relative; display: inline-block; padding: 3px 9px; border: 2px solid #8f3022; background: linear-gradient(165deg, #9d3a29, #8d3023); color: #fff0d4; font: 700 1.0625rem/1.3 var(--font-editorial); letter-spacing: .07em; transform: rotate(-6deg); -webkit-mask: url('/images/archive/ink-wear-26ee9a8c4f3d784b25867788ec991643642f427030c3ec4247b58fc248a36264.svg') center / 100% 100% no-repeat; mask: url('/images/archive/ink-wear-26ee9a8c4f3d784b25867788ec991643642f427030c3ec4247b58fc248a36264.svg') center / 100% 100% no-repeat; }
.banner-recommendation::before { position: absolute; inset: 1px; content: ''; border: 1px solid rgb(255 230 190 / 78%); pointer-events: none; }
.feature-copy .banner-title { margin: 12px 0 12px; font: 600 1.875rem/1.38 var(--font-editorial); letter-spacing: -.02em; }
.feature-copy .banner-title a { color: #25231d; text-decoration: none; }
.feature-copy .banner-title .is-quoted { display: block; font: italic 700 clamp(1.625rem, 3.1vw, 2.75rem)/1.1 var(--font-brand); letter-spacing: -.04em; padding-right: .14em; }
.feature-subtitle { display: block; margin-top: 6px; font: 700 clamp(1.25rem, 2.25vw, 1.875rem)/1.35 var(--font-editorial); }
.feature-copy > p { margin: 0; color: #3f372d; font-size: .875rem; line-height: 1.75; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.feature-read { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 34px; margin-top: 16px; padding: 4px 15px; border: 1px solid #803120; border-radius: 5px; background: var(--material-red); color: #fff4df; box-shadow: var(--shadow-control); text-shadow: 0 1px 1px #70271d; font: 500 .9375rem/1.5 var(--font-ui); text-decoration: none; }
.feature-read i { font-size: .875rem; }
.feature-read::after { content: none; }
.feature-image { position: relative; z-index: 1; display: block; width: 86%; margin: 0 0 0 -1%; transform: rotate(5deg) scale(.94); }
.feature-photo-shell { display: block; filter: drop-shadow(1px 4px 3px rgb(56 38 22 / 36%)); }
.feature-photo-mat { display: grid; padding: 15px; background: linear-gradient(130deg, rgb(255 255 255 / 45%), rgb(249 239 214 / 20%)), #fff9ec url('/images/archive/ivory-paper-26ee9a8c4f3d784b25867788ec991643642f427030c3ec4247b58fc248a36264.webp') center / 600px; -webkit-mask: url('/images/archive/photo-paper-mask-26ee9a8c4f3d784b25867788ec991643642f427030c3ec4247b58fc248a36264.svg') center / 100% 100% no-repeat; mask: url('/images/archive/photo-paper-mask-26ee9a8c4f3d784b25867788ec991643642f427030c3ec4247b58fc248a36264.svg') center / 100% 100% no-repeat; }
.feature-photo-mat img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border: 0; outline: 1px solid rgb(111 94 69 / 17%); outline-offset: -1px; }
.banner-postmark { position: absolute; z-index: 2; top: -30px; right: -70px; width: 218px; aspect-ratio: 26 / 15; background: url('/images/archive/vkefun-postmark-26ee9a8c4f3d784b25867788ec991643642f427030c3ec4247b58fc248a36264.svg') center / contain no-repeat; opacity: .77; mix-blend-mode: multiply; transform: rotate(-8deg); pointer-events: none; }
.feature-photo-mat > i { display: grid; place-items: center; aspect-ratio: 16 / 9; color: #8d7354; background: #e5d3b5; font-size: 64px; }
.feature-photo-mat.archive-image-fallback { padding: 12px; }
.banner-empty { min-height: 220px; padding: 45px 8%; }
.banner-empty h2 { font: 600 1.75rem/1.5 var(--font-editorial); }
.banner-controls { position: absolute; z-index: 2; bottom: 3px; left: 50%; display: flex; align-items: center; gap: 0; transform: translateX(-50%); }
.banner-controls button { display: grid; place-items: center; width: 24px; height: 24px; min-height: 24px; padding: 5px; border: 0; border-radius: 0; background: transparent; cursor: pointer; }
.banner-controls button::before { display: block; width: 10px; height: 10px; border: 1px solid #ede0c9; border-radius: 50%; background: #ad987b; content: ''; box-shadow: 0 1px 1px rgb(85 57 30 / 15%); }
.banner-controls button[aria-pressed='true']::before { background: #a03a29; }
.daily-check-in-button:disabled { border-color: #c7b598; background: #eee2ce; color: #665847; text-shadow: none; box-shadow: inset 0 1px 0 #fff7e6; opacity: 1; }
/* Four practical portals, then the same three-column rhythm as the supplied reference. */
.archive-portals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.archive-portals > a { position: relative; display: flex; align-items: center; gap: 14px; min-width: 0; min-height: 74px; padding: 11px 20px; border: 1px solid #cdbb9e; border-radius: 5px; background: linear-gradient(rgb(255 251 239 / 66%), rgb(255 251 239 / 58%)), #f1e5cf url('/images/archive/topic-paper-strip-26ee9a8c4f3d784b25867788ec991643642f427030c3ec4247b58fc248a36264.webp') center / 1000px 120px no-repeat; color: #342b21; text-decoration: none; box-shadow: inset 0 1px 0 #fffcf4, inset 0 -1px 0 rgb(171 141 99 / 12%), 0 1px 1px rgb(98 68 32 / 7%); }
.archive-portals > a::after { position: absolute; inset: 3px; border: 1px solid rgb(167 139 99 / 18%); border-image: url('/images/archive/paper-edge-26ee9a8c4f3d784b25867788ec991643642f427030c3ec4247b58fc248a36264.svg') 6 / 3px / 0 stretch; border-radius: 2px; content: ""; pointer-events: none; }
.portal-icon { height: 44px; flex: 0 0 44px; width: 44px; color: #705333; filter: drop-shadow(0 1px 0 rgb(255 248 228 / 85%)); text-align: center; }
.archive-portals > a > span { min-width: 0; flex: 1; }
.archive-portals strong { display: block; color: #2f291f; font: 700 1.25rem/1.3 var(--font-editorial); overflow-wrap: anywhere; }
.archive-portals small { display: block; margin-top: 3px; font-size: .75rem; line-height: 1.5; white-space: normal; }
.portal-arrow { flex-shrink: 0; color: #755b3e; font-size: 1.125rem; }
.archive-home-columns { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, .9fr); gap: 42px; margin-top: 22px; }
.archive-home-columns > section { position: relative; min-width: 0; }
.archive-home-columns > section + section::before { position: absolute; inset: 4px auto 0 -21px; content: ''; border-left: 1px dashed #cdb897; }
.home-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 0 0 10px; border-bottom: 1px solid #9f8261; }
.home-section-heading h2 { display: inline-flex; align-items: center; gap: 10px; margin: 0; color: #29241b; font: 700 1.5rem/1.4 var(--font-editorial); }
.home-section-heading h2 > i { color: #943b29; font-size: 1.375rem; }
.home-section-heading > a { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; flex-shrink: 0; color: #8c3323; font-size: .75rem; font-weight: 600; text-decoration: none; }
.journal-entry { display: grid; grid-template-columns: 94px minmax(0, 1fr) 34px; align-items: center; gap: 12px; min-height: 70px; padding: 8px 0; border-bottom: 1px dashed #d3bea0; }
.journal-entry:last-child { border-bottom: 0; }
.journal-image { display: grid; place-items: center; width: 94px; height: 54px; overflow: hidden; border: 1px solid #c9b69a; border-radius: 5px; background: var(--material-paper); box-shadow: inset 0 1px 0 #fff6e4, 0 1px 2px rgb(86 57 28 / 9%); color: #8b7453; font-size: 26px; }
.journal-image img { width: 100%; height: 100%; object-fit: cover; }
.journal-copy { min-width: 0; }
.journal-entry h3 { margin: 0; font: 600 .875rem/1.55 var(--font-ui); }
.journal-entry h3 a { display: block; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; color: #2e281f; text-decoration: none; }
.journal-entry p { margin: 4px 0 0; color: #5c5143; font-size: .75rem; line-height: 1.65; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.journal-entry > time { align-self: start; margin-top: 3px; color: #5c5143; font: 400 .6875rem/1.6 var(--font-ui); font-variant-numeric: tabular-nums; text-align: right; }
.cabinet-list { display: grid; }
.cabinet-item { display: flex; align-items: center; gap: 14px; min-width: 0; min-height: 84px; padding: 8px 0; border-bottom: 1px dashed #d3bea0; color: #30281e; text-decoration: none; }
.cabinet-item:last-child { border-bottom: 0; }
.cabinet-icon { display: grid; place-items: center; flex: 0 0 64px; width: 64px; height: 64px; padding: 5px; border: 1px solid #d0bda0; border-radius: 6px; background: var(--material-paper); box-shadow: var(--shadow-paper-edge); color: #8e6b3d; font-size: 28px; }
.cabinet-icon img { display: block; width: 52px; height: 52px; object-fit: contain; border-radius: 4px; filter: drop-shadow(0 1px 1px rgb(77 51 27 / 13%)); }
.cabinet-copy { min-width: 0; flex: 1; }
.cabinet-copy > strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font: 600 .875rem/1.4 var(--font-ui); }
.cabinet-copy > small { display: block; overflow: hidden; margin-top: 2px; color: #5c5143; font-size: .75rem; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.archive-row-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 4px; }
.archive-row-tags > span { max-width: 100%; padding: 1px 6px; border: 1px solid #c3b195; border-radius: 3px; background: var(--material-label); box-shadow: inset 0 1px 0 #fffcf5, 0 1px 0 rgb(255 255 255 / 45%); color: #514636; font-size: .75rem; line-height: 1.4; overflow-wrap: anywhere; }
.archive-row-tags > span:first-child { border-color: #c49b7d; background: linear-gradient(#fff4e3, #f1e1ca); color: #8a3c28; font-weight: 500; }
.device-exhibition { display: grid; }
.collection-device { display: flex; align-items: center; gap: 14px; min-width: 0; min-height: 86px; padding: 10px 0; border-bottom: 1px dashed #d3bea0; color: #30281e; text-decoration: none; }
.collection-device:last-child { border-bottom: 0; }
.device-object { display: grid; place-items: center; flex: 0 0 72px; width: 72px; height: 64px; padding: 5px; border: 1px solid #d0bda0; border-radius: 5px; background: var(--material-paper); box-shadow: var(--shadow-paper-edge); color: #8e6b3d; font-size: 30px; }
.device-object img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.device-caption { min-width: 0; }
.device-caption > strong { display: block; font: 600 .9375rem/1.45 var(--font-ui); overflow-wrap: anywhere; }
.home-empty { margin: 20px 0; color: var(--ink-faint); font-size: .875rem; }
/* The torn index strip is fixed decoration around functional category links. */
.archive-topics { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; min-height: clamp(130px, 12vw, 164px); margin-top: 25px; padding: 28px 150px 28px 52px; border: 0; background: url('/images/archive/topic-paper-strip-26ee9a8c4f3d784b25867788ec991643642f427030c3ec4247b58fc248a36264.webp') center / 100% 100% no-repeat; }
.archive-topics > a { display: flex; align-items: flex-start; gap: 13px; min-width: 0; padding: 9px 24px; color: #30271d; text-decoration: none; }
.archive-topics > a + a { border-left: 1px dashed #a85439; }
.archive-topics > a > i { flex: 0 0 1.75rem; width: 1.75rem; margin-top: 4px; color: #9a3d2a; font-size: 1.75rem; text-align: center; }
.archive-topics > a > span { min-width: 0; }
.archive-topics strong { display: block; overflow-wrap: anywhere; font: 700 1.1875rem/1.5 var(--font-editorial); }
.archive-topics small { display: block; overflow-wrap: anywhere; text-wrap: balance; margin-top: 5px; color: #504333; font-size: .75rem; line-height: 1.7; }
/* Comments and the sign-in wall remain real, naturally sized parts of the homepage. */
.collection-community { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px; margin-top: 26px; }
.recent-comments, .daily-check-in { min-width: 0; padding: 0; border: 0; background: transparent; }
.recent-comments-heading, .daily-check-in-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; min-height: 44px; margin: 0; padding: 0 0 8px; border: 0; border-bottom: 1px solid #9f8261; }
.recent-comments-heading > div, .daily-check-in-heading > div:first-child { display: flex; align-items: center; min-height: 34px; text-align: left; width: auto; }
.recent-comments-heading h2, .daily-check-in-heading h2 { display: inline-flex; justify-content: flex-start; width: auto; align-items: center; gap: 9px; margin: 0; color: #29241b; font: 700 1.25rem/1.5 var(--font-editorial); }
.recent-comments-heading h2 i, .daily-check-in-heading h2 i { color: #943b29; font-size: 1.125rem; }
.recent-comments-list, .recent-comments-list.has-columns { display: block; height: auto; max-height: 260px; overflow-y: auto; margin: 0; padding: 0; border: 0; }
.recent-comment-entry { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 12px; min-height: 0; padding: 11px 0; border-bottom: 1px dashed #d3bea0; }
.recent-comments-list.has-columns .recent-comment-entry:nth-child(odd) { border-right: 0; }
.recent-comment-folio { display: none; }
.recent-comment-meta { margin: 0; font-size: .75rem; }
.recent-comment-meta strong { font-size: inherit; font-weight: 600; }
.recent-comment-excerpt { margin: 5px 0 0; color: var(--ink-soft); font-size: .8125rem; }
.recent-comment-entry time { padding-top: 3px; font-size: .6875rem; }
.community-empty { margin: 0; padding: 18px 0 12px; color: var(--ink-faint); font-size: .8125rem; }
.daily-check-in-summary { display: flex; flex-wrap: wrap; align-items: center; flex-direction: row; gap: 12px; font-size: .75rem; }
.daily-check-in-button { min-height: 34px; padding: 4px 12px; border: 1px solid #853321; border-radius: 4px; background: var(--material-red); box-shadow: var(--shadow-control); color: #fff4df; text-shadow: 0 1px 1px #70271d; font-size: .75rem; font-weight: 500; }
.daily-check-in-roster { min-height: 0; height: auto; max-height: 220px; margin: 12px 0 0; border: 0; }
.daily-check-in-roster ol { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; }
.daily-check-in-roster li { display: grid; grid-template-columns: auto auto; gap: 0 10px; min-height: 42px; padding: 7px 10px; border: 1px solid #d0b99a; border-radius: 4px; background: var(--material-paper); box-shadow: var(--shadow-paper-edge); font-size: .8125rem; }
.daily-check-in-roster li strong { font-weight: 500; }
.daily-check-in-folio { display: none; }
.daily-check-in-roster time { color: var(--ink-faint); font-size: .75rem; }
.check-in-login-dialog { border: 1px solid var(--rule); border-radius: 5px; background: var(--paper); }
.check-in-login-dialog h2 { font: 600 1.125rem/1.6 var(--font-ui); }
.check-in-dialog-login, .check-in-dialog-actions button { min-height: 44px; border-radius: 4px; font-size: .875rem; }
.check-in-dialog-login { border: 1px solid #803120; background: var(--material-red); color: #fff4df; box-shadow: var(--shadow-control); }
.check-in-dialog-actions button { border: 1px solid #bba17e; background: var(--material-label); color: #514636; box-shadow: var(--shadow-paper-edge); }
:is(.article-detail, .resource-detail, .device-detail, .auth-panel, .account-panel, body.tool-page) { color-scheme: light; --paper: #fffaf1; --paper-raised: #fffaf1; --paper-inset: #eee3d0; --paper-dark: #eee3d0; color: var(--ink); }
:is(.article-detail, .resource-detail, .device-detail) { margin-top: 22px; padding: 28px; border: 1px solid var(--rule-light); border-radius: 4px; background: var(--paper); box-shadow: var(--shadow-surface); }
.auth-panel, .account-panel { padding: 28px; border-radius: 4px; background: var(--paper); }
body.tool-page { background-color: var(--paper); }
:is(.masthead-search button, .feature-read, .daily-check-in-button):active { box-shadow: inset 0 1px 4px rgb(52 26 16 / 40%); }
@media (hover: hover) and (pointer: fine) {
    .main-nav a:not([aria-current='page']):hover { background: rgb(162 119 72 / 9%); color: #7e3022; }
    .masthead-support-link:hover, .language-option:not(.current):hover { color: #fff; text-decoration: underline; }
    .journal-entry h3 a:hover, .cabinet-item:hover strong, .collection-device:hover strong { color: #8f3323; text-decoration: underline; }
    :is(.masthead-search button, .feature-read, .daily-check-in-button):not(:disabled):hover { filter: brightness(1.025); }
    .archive-portals > a:active { box-shadow: inset 0 1px 4px rgb(91 62 30 / 17%); }
    :is(.masthead-search button, .feature-read, .daily-check-in-button):active:not(:focus-visible):not(:disabled) { transform: scale(.985); }
    .archive-portals > a:hover { border-color: #ad8d62; box-shadow: inset 0 0 0 1px #fff9ec, 0 1px 3px rgb(77 51 27 / 12%); }
    .archive-topics > a:hover strong, .home-section-heading > a:hover { color: #8f3323; text-decoration: underline; }
}
@media (max-width: 1199px) {
    .archive-banner, .banner-article { min-height: 320px; }
    .feature-copy { padding-block: 14px; }
    .feature-copy .banner-title { font-size: 1.625rem; }
    .feature-copy > p { font-size: .8125rem; }
    .archive-portals > a { gap: 12px; padding: 10px 18px; }
    .archive-portals strong { font-size: 1.375rem; }
    .archive-portals small { font-size: .75rem; }
    .portal-icon { height: 44px; width: 44px; flex-basis: 44px; }
    .portal-arrow { font-size: 1rem; }
    .device-object { flex-basis: 72px; width: 72px; height: 64px; }
    .device-caption > strong { font-size: .875rem; }
    .archive-topics { padding-inline: 52px 125px; }
    .archive-topics > a { gap: 10px; padding-inline: 16px; }
    .archive-topics strong { font-size: 1.0625rem; }
}
@media (max-width: 1023px) {
    .archive-home-columns { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 30px; }
    .archive-home-columns > section + section::before { left: -15px; }
    .collection-devices { grid-column: 1 / -1; margin-top: 4px; }
    .archive-home-columns > .collection-devices::before { content: none; }
    .device-exhibition { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
    .collection-device { align-items: center; gap: 12px; border: 0; }
}
@media (max-width: 991px) {
    .feature-copy { padding-left: 12%; }
    .feature-copy .banner-title .is-quoted { font-size: 2rem; }
    .feature-subtitle { font-size: 1.25rem; }
    .archive-portals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .archive-portals > a { min-height: 76px; }
    .archive-portals strong { font-size: 1.375rem; }
    .device-exhibition { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
    .archive-topics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 0; padding-block: 32px; }
    .archive-topics { padding-inline: 36px; background-size: auto 100%; }
    .archive-topics > a:nth-child(4) { border-left: 0; }
    .collection-community { gap: 24px; }
}
@media (max-width: 900px) {
    .collection-community { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
    .collection-home { margin-top: 14px; }
    .archive-banner { background-size: auto 100%; background-position: left center; }
    .archive-banner::before { top: auto; bottom: 40px; right: 3%; width: 58%; border-width: 6px; transform: rotate(12deg); }
    .banner-article { display: flex; flex-direction: column; gap: 0; padding-block: 0 25px; }
    .feature-copy { order: 1; width: 100%; padding: 28px 26px 20px; background: rgb(255 247 227 / 90%); }
    .banner-recommendation { font-size: .875rem; }
    .feature-copy .banner-title { font-size: 1.5rem; margin-block: 12px; }
    .feature-copy .banner-title .is-quoted { font-size: 1.875rem; line-height: 1.15; }
    .feature-subtitle { font-size: 1.25rem; margin-top: 5px; }
    .feature-copy > p { font-size: .875rem; -webkit-line-clamp: 3; }
    .feature-read { min-height: 44px; margin-top: 16px; font-size: .9375rem; }
    .feature-image { order: 2; width: 85%; margin: 6px 0 8px; transform: rotate(4deg); }
    .feature-photo-mat { padding: 11px; }
    .banner-postmark { top: -12px; right: -27px; width: 150px; }
    .archive-portals { grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.5rem), 1fr)); gap: 10px; margin-top: 14px; }
    .archive-portals > a { gap: 8px; min-height: 80px; padding: 10px; }
    .portal-icon { height: 28px; flex-basis: 28px; width: 28px; font-size: 1.625rem; }
    .archive-portals strong { font-size: 1.0625rem; }
    html[lang="en"] .archive-portals strong { font-size: 1rem; }
    .archive-portals small { font-size: .6875rem; line-height: 1.6; }
    .portal-arrow { display: none; }
    .archive-home-columns { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 24px; }
    .archive-home-columns > section + section::before { content: none; }
    .home-section-heading { padding-bottom: 7px; gap: 8px; }
    .home-section-heading h2 { gap: 8px; font-size: 1.375rem; }
    .home-section-heading h2 > i { font-size: 1.125rem; }
    .home-section-heading > a { min-height: 36px; }
    .journal-entry { grid-template-columns: 78px minmax(0, 1fr) 30px; gap: 10px; padding: 12px 0; }
    .journal-image { width: 78px; height: 56px; }
    .journal-entry h3 { font-size: .8125rem; }
    .journal-entry p { font-size: .6875rem; }
    .journal-entry > time { font-size: .625rem; }
    .cabinet-item { min-height: 98px; }
    .collection-devices { grid-column: auto; margin-top: 0; }
    .device-exhibition { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .collection-device { min-height: 96px; border-bottom: 1px dashed #d3bea0; }
    .device-object { flex-basis: 72px; width: 72px; height: 72px; }
    .device-caption > strong { font-size: .9375rem; }
    .archive-topics { grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr)); gap: 12px 0; margin-top: 20px; padding: 26px 10px; }
    .archive-topics > a { gap: 10px; padding: 8px 12px; }
    .archive-topics > a + a { border-left: 0; }
    .archive-topics > a:nth-child(even) { border-left: 1px dashed #a85439; }
    .archive-topics > a > i { flex-basis: 1.375rem; width: 1.375rem; font-size: 1.375rem; }
    .archive-topics strong { font-size: 1rem; }
    .archive-topics small { font-size: .6875rem; }
    .collection-community { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 22px; }
    .daily-check-in-button { min-height: 44px; }
    .recent-comment-entry { grid-template-columns: minmax(0, 1fr); gap: 3px; }
    .recent-comment-entry time { text-align: right; }
    :is(.article-detail, .resource-detail, .device-detail, .auth-panel, .account-panel) { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { :is(.masthead-search button, .feature-read, .daily-check-in-button):active { transform: none !important; } *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
