/* ERTIP e-IFU public — neutral, content-first, mobile-first design. No external fonts/assets. */
:root {
  color-scheme: light;
  --ink: #172235;
  --subtle: #546177;
  --quiet: #748196;
  --line: #dde3ec;
  --soft: #f3f6fa;
  --page: #fafbfc;
  --paper: #fff;
  --accent: #2457a4;
  --accent-hover: #193f79;
  --focus: #427ee0;
  --radius: 12px;
  font-family: "Segoe UI", Inter, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, input:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.wrap { max-width: 1040px; margin: auto; padding-inline: 24px; }
.skip-link { position: absolute; z-index: 50; left: 18px; top: -80px; background: #fff; padding: 10px 16px; border: 2px solid var(--accent); border-radius: 6px; }
.skip-link:focus { top: 10px; }
.header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; justify-content: space-between; align-items: center; min-height: 92px; gap: 28px; }
.brand { min-width: 0; display: inline-flex; align-items: center; }
.brand img { display: block; width: min(282px, 100%); max-height: 72px; height: auto; object-fit: contain; object-position: left center; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-product { color: var(--subtle); font-size: 12px; white-space: nowrap; }
.header-link { color: var(--ink); font-size: 13px; font-weight: 650; border-left: 1px solid var(--line); padding-left: 20px; white-space: nowrap; }
.content { min-height: calc(100dvh - 230px); padding-top: 38px; padding-bottom: 96px; }
.banner { background: #fff7df; border-bottom: 1px solid #ead49a; color: #71511a; padding: 12px 24px; font-size: 13px; font-weight: 650; text-align: center; }
.breadcrumb { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; color: var(--quiet); font-size: 12px; margin-bottom: 24px; }
.breadcrumb a { color: var(--subtle); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb span[aria-current] { color: var(--ink); }
.hero { padding: 28px 0 33px; border-bottom: 1px solid var(--line); margin-bottom: 34px; }
.home-hero { max-width: 790px; padding-top: 8px; }
.family-hero { padding-top: 6px; }
.eyebrow { color: var(--accent); font-size: 11px; letter-spacing: .105em; font-weight: 800; text-transform: uppercase; margin: 0 0 13px; }
.hero h1 { margin: 0; max-width: 850px; color: var(--ink); font-size: clamp(30px, 4.4vw, 47px); line-height: 1.18; letter-spacing: -.039em; font-weight: 720; }
.hero-en { color: #3b526f; font-size: clamp(16px, 2.1vw, 20px); margin: 11px 0 0; font-weight: 550; }
.hero-description { margin: 18px 0 0; color: var(--subtle); max-width: 750px; font-size: 15px; }
.section-header { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 20px; }
.section-header .eyebrow { margin-bottom: 7px; }
.section-header h2 { margin: 0; font-size: clamp(20px, 2.6vw, 24px); font-weight: 700; letter-spacing: -.025em; line-height: 1.35; }
.hint { color: var(--subtle); font-size: 13px; margin: 0 0 21px; }
.directory { padding-top: 4px; }
.search-panel { max-width: 510px; margin: 0 0 23px; }
.search-panel label { display: block; margin-bottom: 7px; font-size: 12px; color: var(--subtle); font-weight: 650; }
.search-panel input { width: 100%; height: 46px; border: 1px solid #bac6d5; border-radius: 8px; color: var(--ink); background: #fff; padding: 10px 14px; }
.search-panel input:focus { border-color: var(--focus); }
.search-panel input::placeholder { color: #8791a0; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.family-card { min-width: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.family-card:hover { border-color: #b1bfd0; box-shadow: 0 3px 15px rgba(26, 40, 65, .055); text-decoration: none; }
.family-copy { min-width: 0; }
.family-type { display: block; color: var(--accent); font-size: 10px; letter-spacing: .07em; font-weight: 750; text-transform: uppercase; }
.family-card h2 { font-size: 18px; letter-spacing: -.022em; line-height: 1.35; margin: 8px 0 7px; font-weight: 700; overflow-wrap: anywhere; }
.family-card p { font-size: 13px; margin: 0; color: var(--subtle); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.family-arrow { flex: 0 0 auto; font-size: 22px; color: var(--accent); }
.empty-state { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 25px; }
.empty-state h2 { margin: 0 0 5px; font-size: 19px; }
.empty-state p, .empty-result { color: var(--subtle); font-size: 13px; }
.document-group { margin-bottom: 30px; }
.document-list { list-style: none; padding: 0; margin: 0; }
.document-card { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 22px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: 23px; margin-bottom: 12px; }
.pdf-icon { width: 52px; height: 61px; border: 1px solid #c6d1df; background: #f4f7fa; border-radius: 7px; display: grid; place-items: center; color: #435d80; font-weight: 800; font-size: 15px; letter-spacing: .05em; }
.document-info { min-width: 0; }
.document-status { font-size: 11px; font-weight: 750; letter-spacing: .035em; color: #345778; }
.document-info h3 { margin: 5px 0 16px; font-size: 18px; line-height: 1.35; letter-spacing: -.022em; overflow-wrap: anywhere; }
.doc-fields { display: flex; flex-wrap: wrap; gap: 18px; margin: 0; }
.doc-fields > div { min-width: 90px; }
.doc-fields dt { font-size: 11px; color: var(--quiet); margin: 0 0 2px; }
.doc-fields dd { font-size: 13px; color: var(--ink); margin: 0; font-weight: 650; }
.doc-action { display: flex; justify-content: flex-end; }
.download { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 46px; padding: 11px 18px; border: 1px solid #1d3658; border-radius: 8px; background: #1d3658; color: #fff; white-space: nowrap; font-size: 13px; font-weight: 700; }
.download:hover { background: #142842; color: #fff; text-decoration: none; }
.download span { font-size: 17px; }
.no-docs { color: var(--subtle); font-size: 14px; padding: 18px 2px; }
.disclosure { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); margin: 16px 0; }
.disclosure summary { list-style-position: outside; padding: 20px 24px; cursor: pointer; font-size: 15px; font-weight: 680; }
.disclosure summary span { color: var(--subtle); font-weight: 450; font-size: 12px; margin-left: 8px; }
.disclosure-content { border-top: 1px solid var(--line); padding: 22px 24px; }
.disclosure .search-panel { margin: 0 0 18px; }
.ref-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 8px; margin: 0; padding: 0; }
.ref-grid li { border: 1px solid var(--line); padding: 9px 11px; color: #354662; border-radius: 6px; font: 600 12px ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }
.disclosure.archive .document-list { padding: 16px; border-top: 1px solid var(--line); }
.disclosure.archive .document-card { margin: 0 0 10px; }
.paper { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid var(--line); padding: 28px 0 10px; margin-top: 35px; }
.paper h2 { font-size: 17px; margin: 0 0 7px; letter-spacing: -.01em; }
.paper p { font-size: 13px; color: var(--subtle); margin: 0; max-width: 670px; }
.contact-link { color: var(--accent); font-size: 14px; font-weight: 700; white-space: nowrap; }
.info-note { color: var(--subtle); font-size: 12px; margin-top: 27px; padding-left: 11px; border-left: 2px solid #c6d0dd; }
.footer { background: #fff; border-top: 1px solid var(--line); color: var(--subtle); padding: 29px 0 20px; }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.footer strong { color: var(--ink); letter-spacing: .05em; font-size: 12px; }
.footer p { font-size: 12px; margin: 6px 0 0; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-end; font-size: 12px; gap: 5px; }
.footer-contact a { font-weight: 650; font-size: 13px; }
.footer-bottom { font-size: 11px; margin-top: 24px; padding-top: 13px; border-top: 1px solid var(--line); color: var(--quiet); }
@media (max-width: 850px) {
  .header-product { display: none; }
  .doc-fields { gap: 10px 15px; }
  .document-card { grid-template-columns: 44px minmax(0, 1fr); gap: 13px; }
  .pdf-icon { width: 44px; height: 54px; }
  .doc-action { grid-column: 2; justify-content: flex-start; }
}
@media (max-width: 600px) {
  .wrap { padding-inline: 18px; }
  .header-inner { min-height: 78px; gap: 10px; }
  .brand img { width: 168px; max-height: 52px; }
  .header-link { padding-left: 0; border: 0; font-size: 12px; }
  .content { padding-top: 20px; padding-bottom: 62px; }
  .hero { padding: 15px 0 25px; margin-bottom: 27px; }
  .hero h1 { font-size: clamp(28px, 8.2vw, 36px); }
  .hero-description { font-size: 14px; }
  .grid { grid-template-columns: 1fr; }
  .family-card { padding: 18px; }
  .document-card { grid-template-columns: 1fr; padding: 19px; gap: 12px; }
  .pdf-icon { width: 48px; height: 54px; }
  .document-info h3 { margin-bottom: 15px; }
  .doc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .doc-action { grid-column: 1; margin-top: 4px; }
  .download { width: 100%; }
  .disclosure summary { padding: 16px 17px; }
  .disclosure summary span { display: block; margin: 3px 0 0 0; }
  .disclosure-content { padding: 17px; }
  .paper { display: block; }
  .contact-link { display: inline-block; margin-top: 14px; white-space: normal; overflow-wrap: anywhere; }
  .footer-inner { display: block; }
  .footer-contact { align-items: flex-start; margin-top: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .family-card { transition: none; } }
/* Keep disclosure affordance inside its accessible click target on every screen. */
.disclosure summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; }
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure summary::after { content: '+'; color: var(--accent); font-size: 22px; font-weight: 400; margin-left: auto; flex: none; line-height: 1; }
.disclosure[open] > summary::after { content: '−'; }
