/* RFMB — shared navigation and the dedicated catalogue workspace. Loaded last. */
body { overflow-wrap: break-word; }
html:has(body.resource-page) { scroll-padding-top: 0; }
.header nav, .rfmb-community-enabled .header nav { font-size: 14px; gap: 24px; }
.header nav a { min-height: 44px; display: inline-flex; align-items: center; }
.header nav a[aria-current="page"] { color: var(--blue); }
.header nav a[aria-current="page"]::after { right: 0; }
.header-search, .icon-button { min-width: 44px; min-height: 44px; }
.header-search svg { width: 19px; height: 19px; }
.brand-long { font-size: 11px; }
.topline { font-size: 11px; }
.edition { font-size: 10px; }
.search-form { min-height: 60px; }
.search-form input { min-width: 0; font-size: 16px; padding-inline: 14px; }
.search-form button { width: 48px; height: 48px; flex-shrink: 0; }
.search-form:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px #245be81a; }
.search-hints, .search-hints button, .hero-footnote { font-size: 12px; }
.search-hints { flex-wrap: wrap; color: #526772; }
.search-hints button { min-height: 32px; padding: 5px 10px; color: #3f5f79; }
.hero-footnote { color: #526772; }
.search-results { top: 68px; max-height: min(480px,65dvh); border-radius: 7px; }
.search-results-heading { font-size: 12px; color: #526772; padding: 10px 12px 14px; letter-spacing: .5px; }
.search-result { min-height: 76px; padding: 15px 12px; }
.search-result > span:first-child { min-width: 0; flex: 1; }
.search-result > span:last-child { flex-shrink: 0; }
.search-result strong { font-size: 16px; }
.search-result small { font-size: 13px; color: #526772; }
.search-result p, .search-result .search-snippet, .search-result-excerpt { display: block; font-size: 13px; color: #526772; line-height: 1.7; margin-top: 6px; }
.search-empty { font-size: 15px; color: #526772; padding: 14px 12px; }
.search-empty button, .rfmb-search-empty-actions > a { min-height: 44px; font-size: 14px; padding: 9px 0; }
.search-all, .search-view-all, .search-all-results { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 48px; padding: 13px 12px; border-top: 1px solid #dbe5ec; color: #2455c9; font-size: 14px; font-weight: 600; }
.search-all-results { background: #edf2ff; border-radius: 5px; margin-top: 6px; }
.search-all-results:hover { background: #e2eaff; text-decoration: underline; text-underline-offset: 3px; }
.home-catalog-link, .catalog-browse-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: #2455c9; font-size: 14px; font-weight: 600; padding: 9px 0; text-underline-offset: 4px; }
.home-catalog-link { margin-top: 17px; }
.catalog-browse-link { margin-top: 24px; }
.home-catalog-link:hover, .catalog-browse-link:hover { text-decoration: underline; }

/* The home page retains its composition, with legible functional text. */
.access-strip strong { font-size: 14px; }
.access-strip div > span { font-size: 12px; color: #526772; }
.access-number { font-size: 12px; }
.section-description { font-size: 16px; color: #526772; }
.dictionary-card > p, .dictionary-card .text-link { font-size: 14px; }
.dictionary-card > .dictionary-note { font-size: 12px; color: #526772; }
.synonym-example > span, .synonym-target { font-size: 13px; }
.demo-tabs strong { font-size: 16px; }
.demo-tabs small { font-size: 13px; color: #b4c4cf; }
.demo-explanation p { font-size: 15px; }
.demo-guide > .text-link { font-size: 14px; min-height: 44px; }
.measure-controls > label:first-child, .measure-controls output, .deduction-control { font-size: 13px; }
.deduction-control { min-height: 44px; }
.calculation-line strong { font-size: 14px; }
.convention-note { font-size: 12px; color: #526772; }
.dpgf-preview { font-size: 12px; }
.method-tabs > button { min-height: 48px; font-size: 14px; }
.method-intro { font-size: 16px; }
.method-info-grid p { font-size: 14px; }
.method-info-grid span { font-size: 11px; color: #526772; }
.method-bottom .text-link { min-height: 44px; font-size: 14px; }
.method-bottom > span { font-size: 12px; color: #526772; }
.document-intro > p:not(.eyebrow) { font-size: 15px; }
.document-intro > label, .document-intro select { font-size: 14px; }
.document-intro > .document-note { font-size: 12px !important; color: #526772 !important; }
.document-name { font-size: 15px; }
.utility { font-size: 12px; }
.document-matrix details > div { font-size: 15px; }
.document-matrix details > div > p + p { font-size: 14px; color: #526772; }
.matrix-footnote { font-size: 12px; color: #526772; }
.project-intro { font-size: 15px; color: #52694f; }
.editorial-principles p { font-size: 14px; color: #52694f; }
.editorial-principles h3 { font-size: 16px; }
.project-section .text-link { min-height: 44px; font-size: 14px; }
.rfmb-community-intro > p:not(.eyebrow) { font-size: 16px; color: #526772; }
.rfmb-community-actions .button-primary, .rfmb-community-actions .text-link { min-height: 44px; font-size: 14px; }
.rfmb-community-process h3 { font-size: 16px; }
.rfmb-community-process section > p { font-size: 14px; color: #526772; }
.rfmb-community-footnote { font-size: 13px; color: #526772; }
.closing .button-primary { font-size: 14px; min-height: 48px; }
.closing .tiny-label { font-size: 11px; color: #526772; }
.footer-main > nav { font-size: 14px; gap: 4px; color: #b4c7d4; }
.footer-main > nav a { min-height: 32px; display: inline-flex; align-items: center; }
.footer-brand > span { font-size: 12px; color: #acc0cc; }
.footer-main > p { color: #bdccd5; }
.footer-bottom, .footer-bottom button { font-size: 12px; color: #b0c4d1; }
.footer-bottom button, .footer-bottom a { min-height: 32px; display: inline-flex; align-items: center; }
.footer-bottom > div { flex-wrap: wrap; gap: 8px 20px; }

/* A shared query and explicit filters, on a dedicated results page. */
.catalog-page, .resource-page { background: #f7f8f5; }
.workspace-hero { background: #edf2ed; border-bottom: 1px solid #d4e0d8; padding: 30px 0 35px; }
.workspace-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: #526772; font-size: 13px; margin-bottom: 32px; }
.workspace-breadcrumb a { display: inline-flex; align-items: center; min-height: 32px; }
.workspace-breadcrumb a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.workspace-breadcrumb [aria-current] { color: #274657; }
.workspace-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.workspace-heading > div { min-width: 0; }
.workspace-heading .eyebrow { font-size: 12px; margin-bottom: 15px; letter-spacing: 1.2px; }
.workspace-heading h1 { font-size: clamp(36px,4vw,52px); line-height: 1.15; font-weight: 500; letter-spacing: -1.6px; }
.workspace-heading p:not(.eyebrow) { font-size: 17px; line-height: 1.75; color: #526772; margin-top: 18px; max-width: 64ch; }
.workspace-heading > .text-link { color: #426756; font-size: 14px; min-height: 44px; padding-block: 10px; white-space: nowrap; margin-bottom: 4px; }
.workspace-search { margin-top: 28px; max-width: 820px; }
.workspace-search .search-form { height: 64px; border-color: #a9bcb7; border-radius: 7px; }
.workspace-search .search-form input { font-size: 17px; }
.workspace-search .search-form button { width: 48px; height: 48px; border-radius: 4px; }
.workspace-search-help { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: #526772; font-size: 13px; margin-top: 10px; min-height: 32px; }
.workspace-search-help .text-link { font-size: 13px; min-height: 32px; padding: 5px 0; }
.workspace-results { padding: 34px 0 72px; min-height: 460px; }
.catalog-page .catalog-main { min-width: 0; }
.workspace-toolbar { display: flex; align-items: flex-start; flex-wrap: wrap; justify-content: space-between; gap: 20px 30px; margin-bottom: 26px; }
.workspace-toolbar .filter-group { min-width: 0; }
.workspace-count { text-align: right; min-width: 150px; padding-top: 4px; }
.workspace-count h2, .workspace-count #resource-count { font-size: 18px; letter-spacing: -.25px; font-weight: 600; line-height: 1.5; color: #274657; }
.workspace-count > span { display: block; margin-top: 2px; font-size: 12px; line-height: 1.7; color: #526772; }
.workspace-count:focus-visible { outline: 3px solid #245be8; outline-offset: 5px; border-radius: 3px; }
.catalog-page #resource-list { grid-template-columns: repeat(3,minmax(0,1fr)); }
.catalog-page #resource-list > .c-loading { grid-column: 1/-1; }
.catalog-page .catalog-note { max-width: 78ch; }
.workspace-empty { padding: 64px 40px; max-width: 1000px; margin: auto; min-height: 460px; }
.workspace-empty h1 { font-size: clamp(32px,4vw,48px); line-height: 1.2; letter-spacing: -1px; margin-bottom: 20px; }
.workspace-empty p { font-size: 16px; color: #526772; line-height: 1.8; margin: 16px 0; }
.workspace-empty .eyebrow { font-size: 12px; color: #2455c9; }
.workspace-empty a { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; color: #2455c9; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.catalog-empty > .tiny-label { font-size: 11px; color: #526d61; letter-spacing: 1px; }
.catalog-empty h3 { font-size: 23px; font-weight: 500; line-height: 1.35; margin-top: 12px; }
.catalog-empty-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.catalog-empty-actions .text-link { min-height: 44px; font-size: 14px; }
.reader-page-wrap.wrap { width: 100%; max-width: none; }
.reader-page-wrap > .rfmb-catalog-sync { max-width: 1240px; margin: 20px 40px 0; }
.reader-page-wrap > noscript { display: block; max-width: 1240px; margin: 20px 40px; font-size: 16px; }
.rfmb-catalog-sync { font-size: 14px; color: #695630; background: #f6f1e5; margin: 0 0 24px; padding: 15px 18px; border-left-color: #927134; }
.rfmb-catalog-sync button, .rfmb-resource-update button, .rfmb-history-retry { min-height: 32px; padding: 4px 0; }
.rfmb-resource-update { font-size: 14px; color: #365c8b; }
.rfmb-version-warning { color: #80611d; }
.dialog-top .icon-button { width: 44px; height: 44px; }
.dialog-close > span { display: none; }
.dialog-top > span { font-size: 12px; color: #526772; }
.detail-meta span { font-size: 12px; color: #526772; }
.detail-intro { font-size: 16px; color: #526772; }
.detail-section h3 { font-size: 13px; }
.detail-section p, .detail-section li { font-size: 15px; }
.detail-notice { font-size: 14px; color: #52623b; }

@media (max-width: 1250px) {
  .brand-long { display: none; }
  .header nav, .rfmb-community-enabled .header nav { gap: 20px; font-size: 14px; }
  .catalog-page #resource-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 1100px) {
  .header-inner { min-height: 80px; gap: 14px; position: relative; }
  .header-search { margin-left: auto; }
  .menu-button { display: flex; align-items: center; gap: 8px; padding: 9px 2px 9px 6px; min-height: 44px; font-size: 14px; }
  .menu-button svg { width: 21px; height: 21px; }
  .header nav, .rfmb-community-enabled .header nav, .community-page .header nav { display: none; position: absolute; top: 100%; left: -36px; right: -36px; background: #fff; padding: 17px 36px 21px; box-shadow: 0 8px 18px #142d4017; border-bottom: 1px solid var(--line); font-size: 16px; gap: 3px; margin: 0; white-space: normal; max-height: calc(100vh - 112px); max-height: calc(100dvh - 112px); overflow-y: auto; overscroll-behavior: contain; }
  .header nav.open, .rfmb-community-enabled .header nav.open, .community-page .header nav.c-menu-open { display: flex; flex-direction: column; align-items: stretch; }
  .header nav a { padding: 10px 0; min-height: 46px; }
}
@media (max-width: 1040px) {
  .workspace-heading { align-items: flex-start; }
  .workspace-heading > .text-link { margin-top: 35px; }
  .workspace-toolbar { display: block; }
  .workspace-count { text-align: left; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-top: 20px; }
  .workspace-count > span { margin-top: 0; font-size: 13px; }
}
@media (min-width: 721px) and (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1.2fr 1fr; }
  .hero-intro { font-size: 15px; }
  .hero .eyebrow { font-size: 10px; letter-spacing: 1px; }
  .hero .search-form input { font-size: 16px; }
  .hero .search-icon { margin-left: 12px; }
  .catalog-layout { grid-template-columns: minmax(0,1fr); gap: 30px; }
  .dictionary-card { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px; }
  .dictionary-card > .tiny-label, .dictionary-card > .dictionary-note { grid-column: 1/-1; }
  .dictionary-card .dictionary-glyph { display: none; }
  .dictionary-card .synonym-example { margin: 0; grid-column: 2; grid-row: 2/5; }
  .dictionary-card .text-link { margin-top: 8px; }
  .method-browser { grid-template-columns: 230px minmax(0,1fr); }
  .method-tabs > button { font-size: 13px; padding-inline: 16px; }
  .document-layout { grid-template-columns: 1fr 1.25fr; gap: 35px; }
}
@media (max-width: 720px) {
  .header-inner { min-height: 73px; gap: 12px; }
  .header nav, .rfmb-community-enabled .header nav, .community-page .header nav { top: 100%; left: -20px; right: -20px; padding-inline: 24px; }
  .topline { font-size: 10px; letter-spacing: 0; }
  .edition { font-size: 9px; letter-spacing: .1px; }
  .hero-intro { font-size: 16px; }
  .hero .eyebrow { font-size: 10px; line-height: 1.7; letter-spacing: .8px; }
  .search-form { height: 60px; }
  .search-form input { font-size: 16px; padding-inline: 10px; }
  .search-icon { margin-left: 13px; }
  .search-hints { gap: 5px; font-size: 12px; }
  .search-hints button { font-size: 12px; padding-inline: 9px; }
  .hero-footnote { font-size: 12px; line-height: 1.7; }
  .access-strip strong { font-size: 15px; }
  .access-strip div > span { font-size: 12px; }
  .section-description { font-size: 16px; }
  .section-heading .eyebrow, .rfmb-community-intro .eyebrow { font-size: 11px; }
  .dictionary-card { display: block; }
  .dictionary-card .dictionary-glyph { margin-top: 20px; }
  .dictionary-card > p:not(.dictionary-note), .dictionary-card .text-link { font-size: 14px; }
  .dictionary-card > .dictionary-note { font-size: 12px; }
  .dictionary-card .tiny-label { font-size: 11px; }
  .synonym-example { margin-top: 23px; }
  .synonym-example > span, .synonym-target { font-size: 13px; }
  .demo-tabs strong { font-size: 13px; }
  .demo-tabs > button > span { font-size: 11px; }
  .demo-explanation p { font-size: 15px; }
  .demo-explanation .tiny-label { font-size: 10px; }
  .measure-controls { flex-wrap: wrap; gap: 9px 20px; }
  .measure-controls > label:first-child { flex: 1 1 170px; font-size: 13px; }
  .deduction-control { font-size: 13px; }
  .calculation-line { flex-wrap: wrap; gap: 12px; }
  .calculation-line strong { font-size: 14px; }
  .convention-note, .dpgf-preview { font-size: 12px; }
  .method-tabs > button { font-size: 14px; }
  .method-intro { font-size: 16px; }
  .method-info-grid p { font-size: 14px; }
  .method-info-grid span { font-size: 11px; }
  .document-intro > p:not(.eyebrow) { font-size: 16px; }
  .document-name { font-size: 15px; }
  .utility { font-size: 12px; }
  .document-matrix details > div { font-size: 15px; padding-left: 0; }
  .document-matrix details > div > p + p { font-size: 14px; }
  .project-intro { font-size: 16px; }
  .editorial-principles p { font-size: 14px; }
  .rfmb-community-intro > p:not(.eyebrow) { font-size: 16px; }
  .rfmb-community-process section > p { font-size: 14px; }
  .rfmb-community-footnote { font-size: 13px; }
  .footer-main > nav { font-size: 14px; }
  .footer-main > p { font-size: 14px; }
  .footer-bottom, .footer-bottom button { font-size: 12px; }
  .workspace-hero { padding: 18px 0 27px; }
  .workspace-breadcrumb { font-size: 12px; margin-bottom: 24px; }
  .workspace-heading { display: block; }
  .workspace-heading .eyebrow { font-size: 11px; }
  .workspace-heading h1 { font-size: 36px; letter-spacing: -1.05px; }
  .workspace-heading p:not(.eyebrow) { font-size: 16px; margin-top: 17px; }
  .workspace-heading > .text-link { margin-top: 14px; }
  .workspace-search { margin-top: 21px; }
  .workspace-search .search-form { height: 62px; }
  .workspace-search .search-form input { font-size: 16px; }
  .workspace-search-help { font-size: 12px; margin-top: 12px; align-items: flex-start; gap: 3px; }
  .workspace-results { padding: 26px 0 46px; }
  .workspace-toolbar { margin-bottom: 20px; }
  .workspace-count { margin-top: 17px; }
  .workspace-count h2, .workspace-count #resource-count { font-size: 18px; }
  .workspace-count > span { font-size: 13px; }
  .reader-page-wrap > .rfmb-catalog-sync { margin: 16px 20px 0; }
  .reader-page-wrap > noscript { margin-inline: 20px; }
  .workspace-empty { padding: 42px 20px; }
  .detail-dialog h2 { font-size: 29px; }
  .detail-intro { font-size: 16px; }
  .detail-section p, .detail-section li { font-size: 15px; }
  .detail-notice { font-size: 14px; }
}
@media (max-width: 640px) {
  .catalog-page #resource-list { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 400px) {
  .topline .wrap { width: calc(100% - 32px); }
  .edition { max-width: 98px; font-size: 9px; line-height: 1.3; }
  .menu-button { font-size: 13px; gap: 5px; }
  .header-inner { gap: 9px; }
  .search-form input { font-size: 16px; }
  .search-form button { width: 44px; height: 44px; }
  .workspace-heading h1 { font-size: 32px; }
  .hero .eyebrow { font-size: 10px; }
  .dpgf-preview { grid-template-columns: 22px minmax(0,1fr) 26px 44px; }
  .document-matrix summary { gap: 9px; }
  .utility { font-size: 11px; }
}
@media print {
  .workspace-search, .workspace-toolbar .filter-group, .workspace-heading > .text-link,
  .home-catalog-link, .catalog-browse-link, .save-resource { display: none !important; }
  .workspace-hero { background: #fff; padding: 20px 0; }
  .workspace-results { padding-top: 20px; }
  .workspace-count { text-align: left; }
  .catalog-page #resource-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .resource-card { break-inside: avoid; box-shadow: none; }
  .reader-page-wrap.wrap { width: 100%; }
  .resource-page .reader { padding: 0; }
}

/* V5 — direct entry points, with compact results when a query is active. */
.home-page .hero { padding-top: 14px; }
.home-page .hero-grid { grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 34px; min-height: 428px; }
.home-page .hero-copy { padding: 26px 0 28px; }
.home-page .hero .eyebrow { margin-bottom: 18px; font-size: 10px; line-height: 1.7; letter-spacing: 1.2px; }
.home-page .hero h1 { font-size: clamp(38px,3.85vw,54px); line-height: 1.12; letter-spacing: -1.8px; }
.home-page .hero-intro { max-width: 530px; font-size: 17px; margin-top: 18px; line-height: 1.65; }
.home-page .hero .search-area { margin-top: 24px; max-width: 600px; }
.home-page .hero .search-hints { margin-top: 10px; }
.home-page .hero .search-hints button { min-height: 36px; }
.home-hero-utility { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; margin-top: 12px; }
.home-hero-utility .home-catalog-link { margin-top: 0; }
.home-hero-utility .hero-footnote { margin: 0; font-size: 12px; }
.home-selection-link { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; font-size: 14px; color: #315d49; font-weight: 600; padding: 9px 0; text-underline-offset: 4px; }
.home-selection-link:hover { text-decoration: underline; }
.home-selection-link > svg { width: 17px; height: 17px; flex-shrink: 0; }
.selection-count { display: inline-flex; align-items: center; justify-content: center; min-width: 23px; min-height: 23px; padding: 1px 6px; margin-left: 4px; border-radius: 12px; font-size: 12px; line-height: 1.5; font-variant-numeric: tabular-nums; color: #355548; background: #e6eee2; }
.filter-group button.active .selection-count { color: #fff; background: #ffffff26; }
.home-selection-link .selection-count { margin-left: 0; }
.selection-note { font-size: 13px; color: #526772; line-height: 1.7; margin: -10px 0 19px; }
.selection-notice { position: fixed; z-index: 25; left: 24px; bottom: 24px; display: grid; grid-template-columns: minmax(0,1fr) 44px; column-gap: 12px; width: calc(100% - 48px); max-width: 440px; padding: 16px 15px 13px 20px; background: #142d40; color: #fff; border: 1px solid #526d80; border-radius: 8px; box-shadow: 0 8px 28px #142d402b; overflow-wrap: anywhere; }
.selection-notice p { grid-column: 1; margin: 0; font-size: 14px; line-height: 1.7; }
.selection-notice > a { grid-column: 1; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; justify-self: start; font-size: 14px; font-weight: 600; color: #d4e3ff; text-decoration: underline; text-underline-offset: 4px; }
.selection-notice > a:hover { color: #fff; }
.selection-notice > button { grid-column: 2; grid-row: 1 / 3; width: 44px; min-height: 44px; align-self: start; margin-top: -7px; border-radius: 5px; color: #fff; font-size: 28px; line-height: 1; }
.selection-notice > button:hover { background: #ffffff17; }
.selection-notice[data-persistence="page"] { border-color: #d1b274; }
.selection-notice a:focus-visible, .selection-notice button:focus-visible { outline-color: #c7d9ff; outline-offset: 2px; }
.home-page .hero-visual { min-height: 390px; align-self: center; }
.home-page .building { width: 110%; margin-left: -6%; max-height: 380px; }
.home-page .drawing-label { top: 5px; left: 7%; font-size: 8px; letter-spacing: .6px; color: #647b88; }
.home-page .drawing-note { bottom: 41px; right: 0; padding: 12px 14px; width: 165px; }
.home-page .drawing-note:hover { transform: none; }
.home-page .note-code { font-size: 9px; letter-spacing: .7px; color: #526772; }
.home-page .drawing-note strong { font-size: 14px; margin-top: 7px; }
.home-page .drawing-note > span:last-child { font-size: 12px; }
.home-page .drawing-caption { bottom: 3px; left: 7%; font-size: 8px; letter-spacing: .6px; color: #647b88; }
.home-page .drawing-caption > span:last-child { display: none; }
.home-page .access-strip a { padding-block: 19px; min-height: 96px; }
.home-page .access-strip strong { font-size: 16px; }
.home-page .access-strip div > span { line-height: 1.6; }
.home-page .catalog.section { padding-top: 58px; padding-bottom: 70px; }
.home-page .catalog .section-heading { margin-bottom: 28px; gap: 30px; }
.home-page .catalog .section-heading h2 { font-size: clamp(28px,3vw,39px); }
.home-page .catalog .section-heading .eyebrow { margin-bottom: 12px; font-size: 11px; }
.home-page .catalog .section-description { max-width: 420px; }
.home-page .catalog-layout { gap: 30px; grid-template-columns: minmax(0,1fr) 265px; align-items: start; }
.home-page .dictionary-card { padding: 22px; }
.home-page .dictionary-card .tiny-label { font-size: 10px; line-height: 1.7; letter-spacing: 1px; }
.home-page .dictionary-glyph { margin-top: 24px; font-size: 45px; }
.home-page .dictionary-card h3 { font-size: 22px; }
.home-page .catalog-browse-link { margin-top: 12px; }
.resource-card-visual { height: 118px; }
.resource-card-visual .ouvrage-figure { height: 130px; max-width: 255px; }
.resource-card .resource-row { padding: 19px 20px; min-height: 169px; }
.resource-card .resource-row > strong { font-size: 19px; line-height: 1.4; margin-bottom: 15px; }
.resource-card-bottom { flex-wrap: wrap; gap: 7px 12px; }
.resource-card-bottom > span { font-size: 13px; }
.workspace-hero { padding-top: 24px; padding-bottom: 28px; }
.workspace-breadcrumb { margin-bottom: 20px; }
.workspace-heading .eyebrow { margin-bottom: 10px; }
.workspace-heading h1 { font-size: clamp(34px,3.7vw,46px); letter-spacing: -1.3px; }
.workspace-heading p:not(.eyebrow) { margin-top: 13px; font-size: 16px; }
.workspace-search { margin-top: 21px; }
.workspace-results { padding-top: 26px; }
#resource-list.is-searching, .catalog-page #resource-list.is-searching { display: grid; grid-template-columns: minmax(0,1fr); gap: 0; }
.resource-search-hit { position: relative; min-width: 0; padding: 23px 25px; border: 1px solid #d7e1dd; background: #fff; }
.resource-search-hit + .resource-search-hit { border-top: 0; }
.resource-search-hit:first-child { border-radius: 7px 7px 0 0; }
.resource-search-hit:last-child { border-radius: 0 0 7px 7px; }
.resource-search-hit:only-child { border-radius: 7px; }
.resource-search-hit:focus-within { position: relative; z-index: 1; }
.resource-hit-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.resource-hit-heading > a, .resource-hit-heading h3 { min-width: 0; flex: 1; font-size: 20px; line-height: 1.4; letter-spacing: -.35px; color: #203f54; font-weight: 600; }
.resource-hit-heading h3 { margin: 0; }
.resource-hit-heading a { display: inline-block; padding: 4px 0; }
.resource-hit-heading a:hover { color: #2455c9; text-decoration: underline; text-underline-offset: 4px; }
.resource-hit-heading .save-resource { margin-top: -3px; flex-shrink: 0; }
.resource-hit-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 14px; margin-top: 5px; font-size: 12px; line-height: 1.7; color: #526772; }
.resource-hit-meta > span + span { padding-left: 14px; border-left: 1px solid #d5dfdb; }
.resource-hit-meta strong { font-weight: 600; color: #315b4a; }
.resource-hit-snippet { display: block; padding-top: 14px; font-size: 15px; line-height: 1.75; color: #455f6f; overflow-wrap: anywhere; max-width: 90ch; }
.resource-hit-snippet > span { display: block; font-size: 12px; font-weight: 600; color: #315b4a; margin-bottom: 3px; }
.resource-hit-snippet p { margin: 0; }
.resource-hit-snippet > small { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; font-size: 13px; color: #2455c9; font-weight: 600; margin-top: 7px; }
.resource-hit-snippet > small svg { width: 17px; height: 17px; }
a.resource-hit-snippet:hover > small { text-decoration: underline; text-underline-offset: 4px; }
.resource-hit-snippet mark { color: #183d83; background: #edf2ff; }
.resource-hit-aliases { font-size: 12px; color: #526772; line-height: 1.7; margin-top: 8px; }

@media (min-width: 1101px) {
  .header-inner { min-height: 88px; }
}
@media (min-width: 721px) and (max-width: 1040px) {
  .home-page .hero-grid { grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: 17px; }
  .home-page .hero h1 { font-size: 39px; letter-spacing: -1.4px; }
  .home-page .hero-intro { font-size: 16px; }
  .home-page .hero-visual { min-height: 350px; }
  .home-page .drawing-note { bottom: 23px; width: 150px; }
  .home-page .drawing-label { display: none; }
  .home-page .building { width: 120%; margin-left: -10%; }
  .home-page .access-strip a { gap: 10px; padding-right: 17px; }
  .home-page .access-strip a + a { padding-left: 17px; }
  .home-page .access-strip strong { font-size: 15px; }
  .home-page .catalog-layout { grid-template-columns: minmax(0,1fr); }
  .home-page .dictionary-card { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8px 32px; }
  .home-page .dictionary-card > .tiny-label, .home-page .dictionary-card > .dictionary-note { grid-column: 1/-1; }
  .home-page .dictionary-card .dictionary-glyph { display: none; }
}
@media (max-width: 720px) {
  .selection-notice { top: calc(124px + env(safe-area-inset-top,0px)); bottom: auto; left: 16px; width: calc(100% - 32px); max-width: none; padding-left: 17px; }
  .home-page .hero { padding-top: 6px; }
  .home-page .hero-grid { grid-template-columns: minmax(0,1fr); min-height: 0; gap: 0; }
  .home-page .hero-copy { padding: 27px 0 24px; }
  .home-page .hero .eyebrow { margin-bottom: 15px; font-size: 10px; letter-spacing: .8px; }
  .home-page .hero h1 { font-size: clamp(36px,7.3vw,48px); letter-spacing: -1.4px; }
  .home-page .hero-intro { font-size: 16px; margin-top: 17px; }
  .home-page .hero .search-area { margin-top: 21px; }
  .home-page .hero .search-hints { gap: 6px; }
  .home-page .hero .search-hints button { min-height: 40px; }
  .home-hero-utility { margin-top: 10px; column-gap: 20px; }
  .home-hero-utility .hero-footnote { line-height: 1.6; }
  .home-page .hero-visual { display: none; }
  .home-page .access-strip { display: grid; grid-template-columns: minmax(0,1fr); }
  .home-page .access-strip a { padding: 15px 0; min-height: 78px; gap: 16px; }
  .home-page .access-strip a + a { border-left: 0; border-top: 1px solid #d3dbdc; padding-left: 0; }
  .home-page .access-strip .access-number { align-self: center; margin-top: 0; }
  .home-page .access-strip strong { font-size: 16px; }
  .home-page .catalog.section { padding-top: 42px; padding-bottom: 48px; }
  .home-page .catalog .section-heading { gap: 18px; margin-bottom: 25px; }
  .home-page .catalog .section-description { font-size: 15px; }
  .home-page .catalog-layout { grid-template-columns: minmax(0,1fr); gap: 27px; }
  .home-page .dictionary-card { padding: 23px; }
  .home-page .dictionary-glyph { display: none; }
  .home-page .dictionary-card h3 { margin-top: 14px; }
  .workspace-hero { padding-top: 17px; padding-bottom: 24px; }
  .workspace-heading h1 { font-size: 34px; }
  .workspace-heading > .text-link { margin-top: 10px; }
  .workspace-breadcrumb { margin-bottom: 18px; }
  .workspace-search { margin-top: 18px; }
  .resource-search-hit { padding: 19px 18px; }
  .resource-hit-heading { gap: 11px; }
  .resource-hit-heading > a, .resource-hit-heading h3 { font-size: 18px; }
  .resource-hit-meta { gap: 4px 10px; }
  .resource-hit-meta > span + span { padding-left: 10px; }
  .resource-hit-snippet { padding-top: 12px; font-size: 14px; }
  .resource-hit-snippet > small { min-height: 44px; margin-top: 3px; }
}
@media (max-width: 400px) {
  .home-page .hero .search-hints > span { width: 100%; }
  .home-page .hero .search-hints button { min-height: 44px; }
  .home-hero-utility { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
  .home-hero-utility .hero-footnote { display: block; margin-top: 3px; }
  .home-page .hero h1 { font-size: 36px; }
  .resource-search-hit { padding: 17px 14px; }
  .resource-hit-meta { gap: 4px 8px; }
  .resource-hit-meta > span + span { padding-left: 8px; }
}
@media print {
  .selection-notice { display: none !important; }
  .resource-search-hit { break-inside: avoid; }
  .resource-hit-heading .save-resource { display: none; }
  .home-page .hero-visual { display: none; }
}
