/* Polices hébergées sur le site (aucune requête vers Google) : Source Serif 4 et Source Sans 3,
   licence SIL OFL 1.1 (static/fonts/LICENSE-*.txt), fichiers @fontsource-variable 5.3.0.
   Polices variables : graisses 200 à 900 ; jeux latin et latin étendu seulement. */
@font-face {
  font-family: 'Source Serif 4'; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url('fonts/source-serif-4-latin-opsz-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4'; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url('fonts/source-serif-4-latin-ext-opsz-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3'; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url('fonts/source-sans-3-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3'; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url('fonts/source-sans-3-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3'; font-style: italic; font-weight: 200 900; font-display: swap;
  src: url('fonts/source-sans-3-latin-wght-italic.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3'; font-style: italic; font-weight: 200 900; font-display: swap;
  src: url('fonts/source-sans-3-latin-ext-wght-italic.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

:root {
  --red: #AD1B17; --red-hover: #8E1512; --red-bright: #E22B28; --aub: #6F3B55;
  --rose: #FBE9E8; --rose-2: #F6DEDD; --line: #F0E3E3; --border: #D1D5DB;
  --ink: #1A1A1A; --ink-2: #2D2D2D; --muted: #4B5563; --muted-2: #6B7280;
  --serif: 'Source Serif 4', Georgia, serif; --sans: 'Source Sans 3', 'Segoe UI', sans-serif;
  --shadow: 0 4px 18px rgba(45,45,45,.09);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: #fff; font-size: 16px; line-height: 1.5; }
body.admin { background: #F7F5F5; }
a { color: var(--red); } a:hover { color: var(--red-hover); }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.page { padding-top: 44px; padding-bottom: 64px; }
.muted { color: var(--muted); } .small { font-size: 14px; }
.mono, code { font-family: ui-monospace, Menlo, Consolas, monospace; }
.wrap-any { word-break: break-all; } .nowrap { white-space: nowrap; } .r { text-align: right; }
.mt { margin-top: 12px; } .mt-l { margin-top: 36px; } .pad { padding: 14px 24px; } .pad-l { padding: 24px 28px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.stack { display: flex; flex-direction: column; gap: 10px; }

/* En-tête */
.topbar { background: var(--aub); color: #fff; font-size: 14px; }
.topbar-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 8px; padding-bottom: 8px; }
.muted-light { color: var(--rose-2); margin-left: 12px; }
.masthead { position: relative; overflow: hidden; border-bottom: 4px solid var(--red); }
.mast-diag { position: absolute; right: 0; top: 0; bottom: 0; width: 220px; background: var(--red-bright);
  clip-path: polygon(45% 0, 100% 0, 100% 100%, 0 100%); }
.mast-diag::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 140px; background: var(--red);
  clip-path: polygon(55% 0, 100% 0, 100% 100%, 0 100%); }
.mast-in { position: relative; display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; padding-top: 28px; padding-bottom: 20px; }
.brand { display: flex; gap: 16px; align-items: center; text-decoration: none; color: var(--ink); }
.brand-mark { width: 56px; height: 56px; flex: 0 0 auto; background: var(--red); color: #fff; font-family: var(--serif); font-weight: 700; font-size: 20px; display: flex; align-items: center; justify-content: center; border-radius: 2px; }
.brand-mark.sm { width: 44px; height: 44px; font-size: 16px; }
.brand-title { display: block; font-family: var(--serif); font-size: 28px; font-weight: 700; line-height: 1.1; }
.brand-title.sm { font-size: 20px; }
.brand-sub { display: block; font-size: 15px; color: var(--muted-2); margin-top: 4px; }
.mainnav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-weight: 600; padding-right: 160px; }
.mainnav a { color: var(--ink); text-decoration: none; padding-bottom: 4px; border-bottom: 2px solid transparent; }
.mainnav a[aria-current="page"], .mainnav a:hover { color: var(--red); border-bottom-color: var(--red); }
@media (max-width: 760px) { .mainnav { padding-right: 0; } .mast-diag { display: none; } .brand-title { font-size: 22px; } }

/* Boutons et champs */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 4px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn-primary { background: var(--red); color: #fff; } .btn-primary:hover { background: var(--red-hover); color: #fff; }
.btn-ghost { background: #fff; color: var(--red); border-color: var(--red); }
.btn-sm { display: inline-flex; align-items: center; min-height: 38px; padding: 0 12px; border-radius: 4px; font: inherit; font-weight: 600; color: var(--red); text-decoration: none; background: none; border: none; cursor: pointer; }
.btn-outline { border: 1px solid #E5E7EB; color: var(--ink); background: #fff; }
.linkbtn { background: none; border: none; padding: 0; font: inherit; color: var(--ink); cursor: pointer; text-decoration: underline; }
.linkbtn.danger { color: var(--red); }
.btn-sm.danger { color: #fff; background: var(--red); } .btn-sm.danger:hover { background: var(--red-hover); }
.f { display: flex; flex-direction: column; gap: 5px; font-size: 14px; font-weight: 600; }
.f input, .f select, .f textarea, .filters input, .filters select { height: 44px; border: 1px solid var(--border); border-radius: 4px; padding: 0 12px; font: inherit; font-weight: 400; font-size: 16px; background: #fff; color: var(--ink); }
.f textarea { height: auto; padding: 10px 12px; line-height: 1.5; resize: vertical; }
.f-row { display: flex; justify-content: space-between; gap: 12px; }
.f.deduced { color: var(--aub); } .f.deduced input, .f.deduced select { background: #F8F2F5; border-color: #C9B3BF; }
input:focus-visible, select:focus-visible, textarea:focus-visible, .btn:focus-visible, a:focus-visible { outline: 3px solid rgba(226,43,40,.35); outline-offset: 1px; }

/* Bandeau de recherche */
.searchband { background: var(--rose); padding: 36px 0 40px; }
.sb-title { margin: 0 0 4px; font-family: var(--serif); font-size: 26px; font-weight: 600; }
.sb-lead { margin: 0 0 20px; color: var(--muted); }
.sb-form { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, .75fr) minmax(0, 1.15fr) minmax(0, 1.15fr) minmax(0, 1.6fr) auto; gap: 14px; align-items: end; }
.sb-form .f { min-width: 0; }
.sb-form select { width: 100%; min-width: 0; }
.sb-form .f-wide { grid-column: 1 / span 5; }
.sb-form > .btn { grid-column: 6; grid-row: 1; }
.sb-form input, .sb-form select { border-color: #C9A9A8; height: 48px; }
.sb-form .btn { height: 48px; }
@media (max-width: 900px) { .sb-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .sb-form .f-wide, .sb-form > .btn { grid-column: 1 / -1; grid-row: auto; } }

/* Recherche rapide (page d'accueil) */
.searchband-quick { padding: 22px 0 18px; }
.qs-form { max-width: 820px; }
.qs-label { display: block; font-family: var(--serif); font-size: 22px; font-weight: 600; margin-bottom: 10px; }
.qs-row { display: flex; gap: 10px; }
.qs-row input { flex: 1; min-width: 0; height: 50px; border: 1px solid #C9A9A8; border-radius: 4px; padding: 0 14px; font: inherit; font-size: 17px; background: #fff; color: var(--ink); }
.qs-row .btn { height: 50px; }
.qs-links { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 10px 0 0; font-size: 15px; font-weight: 600; }
.qs-links span { color: var(--muted-2); }
@media (max-width: 520px) { .qs-row { flex-direction: column; } .qs-row .btn { width: 100%; } }

/* Numéro */
.h1 { margin: 0; font-family: var(--serif); font-size: 36px; font-weight: 700; line-height: 1.2; }
.h2 { margin: 0; font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1.25; }
.h3 { margin: 0; font-size: 19px; font-weight: 700; }
.lead { color: var(--muted); font-size: 17px; max-width: 680px; margin: 8px 0 24px; }
.rule { border-bottom: 1px solid #E5E7EB; padding-bottom: 14px; }
.issue-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.issue-aside { flex: 1 1 280px; max-width: 320px; display: flex; flex-direction: column; gap: 18px; }
.issue-main { flex: 999 1 560px; min-width: 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.cover { aspect-ratio: .71; position: relative; overflow: hidden; border: 1px solid #eee; box-shadow: 0 10px 30px rgba(45,45,45,.18); background: #fff; }
.cover-d1 { position: absolute; inset: 0 0 auto 0; height: 46%; background: var(--red); clip-path: polygon(0 0, 100% 0, 100% 62%, 0 100%); }
.cover-d2 { position: absolute; inset: 0 0 auto 0; height: 40%; background: var(--red-bright); clip-path: polygon(0 0, 100% 0, 100% 40%, 0 88%); }
.cover-logo { position: absolute; left: 22px; top: 22px; color: #fff; font-family: var(--serif); font-weight: 700; font-size: 28px; line-height: 1; }
.cover-foot { position: absolute; left: 22px; right: 22px; bottom: 24px; }
.cover-name { font-family: var(--serif); font-size: 19px; font-weight: 600; line-height: 1.2; }
.cover-sub { font-size: 13px; color: var(--muted-2); margin-top: 4px; }
.cover-num { margin-top: 14px; font-size: 22px; font-weight: 700; color: var(--red); }
.issue-label { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.group-title { margin: 32px 0 0; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.toc-row { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.toc-page { flex: 0 0 60px; font-size: 14px; color: var(--muted-2); padding-top: 3px; }
.toc-body { flex: 1 1 auto; min-width: 0; }
.toc-title { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--ink); text-decoration: none; line-height: 1.35; }
.toc-title:hover { color: var(--red); }
.meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; margin-bottom: 6px; }
.tag { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 3px; background: var(--rose); color: var(--red); }
.tag-doc { background: #EFE4EA; color: var(--aub); }
.summary { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.icon-btn { flex: 0 0 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--red); border-radius: 4px; }
.icon-btn:hover { background: var(--rose); }
.cards { margin-top: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card { display: block; text-decoration: none; color: var(--ink); background: #fff; box-shadow: var(--shadow); border-top: 4px solid var(--red); padding: 26px; }
.card-aub { border-top-color: var(--aub); }
.card-title { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.card p { color: var(--muted); }
.card-link { color: var(--red); font-weight: 700; text-decoration: none; display: inline-block; }
.empty { text-align: center; padding: 60px 0; } .empty-small { padding: 28px 0; color: var(--muted); }

/* Recherche */
.results-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
.type-filter { display: flex; gap: 8px; }
.pill { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 19px; border: 1px solid var(--border); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.pill.on { background: var(--red); border-color: var(--red); color: #fff; }
.callout { margin: 20px 0 4px; background: var(--rose); padding: 18px 22px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.result { padding: 22px 0; border-bottom: 1px solid var(--line); }
.ref { font-weight: 700; color: var(--red); } .dot { color: #9CA3AF; }
.summary-lg { margin: 10px 0 8px; color: var(--ink-2); font-size: 16px; line-height: 1.6; max-width: 820px; }
.snippet { margin: 0 0 10px; font-size: 14px; color: var(--muted-2); }
.snip-label { font-weight: 600; }
mark { background: var(--rose-2); color: var(--ink); padding: 0 2px; }
.links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; font-weight: 600; }
.pager { display: flex; gap: 20px; justify-content: center; align-items: center; margin-top: 32px; }

/* En-tête de page */
.page-head { margin-bottom: 28px; }

/* Archives */
.decades { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; padding-bottom: 20px; }
.volume { position: relative; display: flex; flex-wrap: wrap; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 16px; }
.vol-head { flex: 0 0 180px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.vol-year { margin: 0; font-family: var(--serif); font-size: 36px; color: var(--red); }
.issue-grid { flex: 1 1 560px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; align-content: start; }
.issue-card { display: flex; gap: 14px; align-items: center; padding: 10px; background: #fff; box-shadow: 0 3px 12px rgba(45,45,45,.08); border-radius: 4px; text-decoration: none; color: var(--ink); }
.issue-card:hover { box-shadow: 0 6px 18px rgba(45,45,45,.16); }
.issue-card.loose { background: #FAFAFA; }
.mini-cover { flex: 0 0 56px; height: 78px; position: relative; overflow: hidden; border: 1px solid #eee; background: #fff; }
.mc1 { position: absolute; inset: 0 0 auto 0; height: 46%; background: var(--red); clip-path: polygon(0 0, 100% 0, 100% 62%, 0 100%); }
.mc2 { position: absolute; inset: 0 0 auto 0; height: 40%; background: var(--red-bright); clip-path: polygon(0 0, 100% 0, 100% 40%, 0 88%); }
.mc-num { position: absolute; left: 5px; bottom: 5px; font-size: 10px; font-weight: 700; color: var(--red); }
.ic-title { display: block; font-weight: 700; } .ic-meta { display: block; font-size: 13px; color: var(--muted-2); }
.ic-link { display: block; font-size: 13px; color: var(--red); font-weight: 600; margin-top: 4px; }

/* Pied de page */
.footer { margin-top: 40px; background: var(--ink-2); color: #E5E7EB; font-size: 14px; }
.footer a { color: #fff; }
.footer-in { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; padding-top: 32px; padding-bottom: 32px; }
.footer-title { font-family: var(--serif); font-size: 18px; color: #fff; font-weight: 600; }

/* Administration */
.admin-head { background: #fff; border-bottom: 4px solid var(--red); }
.admin-head-in { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding-top: 14px; padding-bottom: 14px; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; font-weight: 600; }
.admin-nav a { color: var(--ink); text-decoration: none; } .admin-nav a:hover { color: var(--red); }
.admin-nav form { margin: 0; }
.flash { background: #E6F2EA; color: #1F4D2E; padding: 12px 18px; border-radius: 4px; margin-bottom: 20px; font-weight: 600; }
.error { color: var(--red); font-weight: 600; }
.panel { background: #fff; box-shadow: var(--shadow); }
.panel-aub { border-top: 4px solid var(--aub); }
.panel-head { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.login-box { max-width: 420px; margin: 40px auto; padding: 28px; }
.upload-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.dropzone { flex: 1 1 340px; max-width: 420px; border: 2px dashed #C9A9A8; background: var(--rose); border-radius: 6px; padding: 32px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.dropzone.over { background: var(--rose-2); border-color: var(--red); }
.dz-title { font-size: 18px; font-weight: 700; }
.naming { flex: 999 1 420px; padding: 18px 22px; }
.naming code.block { display: block; margin: 8px 0 10px; font-size: 13px; word-break: break-all; color: var(--muted); }
.seg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 4px 14px; }
.seg-grid b { font-family: ui-monospace, Menlo, Consolas, monospace; color: var(--red); }
.draft { padding: 20px 24px; border-bottom: 1px solid var(--line); }
.draft-file { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; font-weight: 700; word-break: break-all; }
.field-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 12px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 16px; }
.inline-right { text-align: right; margin-top: 6px; } .inline { display: inline; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 3px; background: #F3F4F6; color: var(--muted); }
.badge.ok { background: #E6F2EA; color: #1F6B3A; } .badge.warn { background: #FFF1DC; color: #8A4B00; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters .btn { min-height: 44px; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 860px; }
.table th { text-align: left; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding: 12px 10px; }
.table td { padding: 10px; border-top: 1px solid var(--line); vertical-align: middle; }
.table th:first-child, .table td:first-child { padding-left: 24px; }
.table th:last-child, .table td:last-child { padding-right: 24px; }
.table td.mono { max-width: 380px; }
.issue-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; align-items: end; margin-top: 14px; }

/* Langue des titres et chapeaux */
.langsw { display: inline-flex; gap: 2px; }
.langsw a { color: #fff; text-decoration: none; font-weight: 700; font-size: 13px; padding: 1px 8px; border-radius: 3px; min-width: 32px; text-align: center; }
.langsw a[aria-current="true"] { background: #fff; color: var(--aub); }
.langsw a:hover { background: rgba(255,255,255,.18); }

/* Résultats : facettes + liste */
.results-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; margin-top: 8px; }
.facets { flex: 1 1 220px; max-width: 260px; position: sticky; top: 16px; }
.results { flex: 999 1 560px; min-width: 0; }
.facet { padding: 18px 0 14px; border-bottom: 1px solid var(--line); }
.facet-title { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.facet-row { display: flex; justify-content: space-between; gap: 10px; align-items: center; min-height: 36px; padding: 0 8px; margin: 0 -8px; border-radius: 3px; color: var(--ink); text-decoration: none; font-size: 15px; }
.facet-row:hover { background: var(--rose); }
.facet-row.on { background: var(--red); color: #fff; font-weight: 600; }
.facet-row .n { font-size: 13px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.facet-row.on .n { color: var(--rose-2); }
.facet-row.more { display: none; } .facet.open .facet-row.more { display: flex; }
.facet-toggle { margin-top: 6px; background: none; border: none; padding: 6px 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--red); cursor: pointer; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px; border-radius: 17px; background: var(--red); color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; }
.chip:hover { background: var(--red-hover); color: #fff; }
.chip-clear { font-size: 14px; font-weight: 600; margin-left: 4px; }
.excerpt { display: flex; gap: 14px; align-items: baseline; margin: 4px 0 10px; padding: 10px 14px; background: #FAF7F7; border-left: 3px solid var(--rose-2); text-decoration: none; color: var(--muted); font-size: 15px; line-height: 1.55; max-width: 820px; }
.excerpt:hover { border-left-color: var(--red); background: var(--rose); color: var(--ink-2); }
.excerpt-page { flex: 0 0 auto; font-size: 13px; font-weight: 700; color: var(--red); white-space: nowrap; }
.doc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 10px; }
.doc-tag { font-size: 13px; padding: 2px 9px; border-radius: 11px; border: 1px solid #E3D3DB; color: var(--aub); text-decoration: none; background: #fff; }
.doc-tag:hover { background: #EFE4EA; color: var(--aub); }
.toc-title mark, .summary-lg mark { background: var(--rose-2); }
.results .callout { margin-top: 36px; }
.facets-box > summary { display: none; }
@media (max-width: 860px) {
  .facets { position: static; max-width: none; flex-basis: 100%; }
  .facets-box { border: 1px solid var(--line); border-radius: 4px; padding: 0 14px; }
  .facets-box > summary { display: flex; align-items: center; min-height: 46px; font-weight: 700; color: var(--red); cursor: pointer; }
  .facets-box .facet:last-child { border-bottom: none; }
}

/* Administration : champs bilingues et tags */
.lang-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.lang-col, .tagpick { border: 1px solid var(--line); border-radius: 4px; padding: 12px 16px 16px; margin: 0; min-width: 0; }
.lang-col legend, .tagpick legend { font-weight: 700; padding: 0 6px; }
.lang-badge { display: inline-block; font-size: 11px; font-weight: 700; color: #fff; background: var(--aub); border-radius: 3px; padding: 1px 6px; margin-right: 4px; vertical-align: 1px; }
.tag-filter, .tag-filter-table { height: 38px; border: 1px solid var(--border); border-radius: 4px; padding: 0 10px; font: inherit; font-size: 15px; width: 100%; max-width: 320px; margin: 4px 0 10px; }
.tag-options { display: flex; flex-wrap: wrap; gap: 6px; max-height: 190px; overflow-y: auto; }
.tag-opt { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 6px; border: 1px solid #E5E7EB; border-radius: 16px; font-size: 14px; cursor: pointer; background: #fff; }
.tag-opt:has(input:checked) { border-color: var(--aub); background: #F3EAEF; }
.tag-opt input { margin: 0; accent-color: var(--aub); }
.tag-opt[hidden] { display: none; }
.tag-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; margin-top: 14px; }
@media (max-width: 700px) { .tag-form { grid-template-columns: 1fr; } }
.tag-row-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tag-row-form input { height: 38px; border: 1px solid transparent; border-radius: 4px; padding: 0 8px; font: inherit; background: transparent; }
.tag-row-form input:hover, .tag-row-form input:focus { border-color: var(--border); background: #fff; }
.tag-table { min-width: 640px; }
.index-status { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.index-status .mt { flex-basis: 100%; }
.f.missing select { border-color: #D9A441; background: #FFFBF2; }
.anchor { position: absolute; top: 0; scroll-margin-top: 16px; }

/* Recherche dans la jurisprudence */
.sb-form.sb-form-js { grid-template-columns: 1fr auto; }
@media (max-width: 900px) { .sb-form.sb-form-js { grid-template-columns: 1fr; } }
.toc-title.mono-title { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 16px; font-weight: 600; word-break: break-all; }

/* Rattrapage */
.catchup-head { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.stats { display: flex; flex-wrap: wrap; gap: 12px; }
.stat { display: flex; flex-direction: column; min-width: 130px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; color: var(--ink); }
.stat b { font-family: var(--serif); font-size: 26px; color: var(--red); line-height: 1.1; }
.stat span { font-size: 14px; color: var(--muted); }
.stat.on { border-color: var(--red); background: var(--rose); }
.sync { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.bulkbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; border-bottom: 1px solid var(--line); }
.bulkbar .btn[disabled] { opacity: .5; cursor: default; }
.catchup-note { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-top: 3px; word-break: normal; }

/* En-tête et chapeaux en liste */
.doc-header { margin: 4px 0 0; font-style: italic; color: var(--muted); font-size: 15px; line-height: 1.45; max-width: 820px; }
.chapeau ul { margin: 6px 0 0; padding-left: 20px; }
.chapeau li { margin: 3px 0; }
.chapeau p { margin: 0; }
textarea.italic { font-style: italic; }
.prefill-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 8px 14px; margin-bottom: 14px; }
.progress { height: 10px; background: var(--line); border-radius: 5px; overflow: hidden; margin: 8px 0; }
.progress > span { display: block; height: 100%; background: var(--red); }
.bulk { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; border-top: 1px solid var(--line); padding-top: 16px; }
.bulk .grow { flex: 1 1 320px; }
.toc-body .links { margin-top: 8px; }

/* Index alphabétique (public) */
.ix-head { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: flex-end; justify-content: space-between; }
.ix-head-text { flex: 1 1 520px; min-width: 0; }
.ix-head .lead { margin-bottom: 4px; }
.ix-print { min-height: 44px; }
.ix-search { position: relative; max-width: 760px; margin-top: 24px; }
.ix-search-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.ix-search-box { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 14px; border: 2px solid var(--red); border-radius: 4px; background: #fff; color: var(--red); }
.ix-search-box:focus-within { box-shadow: 0 0 0 4px rgba(226,43,40,.15); }
.ix-search-box input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; font-size: 18px; color: var(--ink); background: transparent; }
.ix-q-n { font-size: 13px; color: var(--muted-2); white-space: nowrap; }
.ix-sugg { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border: 1px solid #E5E7EB; border-top: 0; box-shadow: 0 12px 30px rgba(45,45,45,.16); z-index: 20; max-height: 420px; overflow: auto; }
.ix-s { display: flex; gap: 16px; align-items: baseline; padding: 10px 16px; border-top: 1px solid var(--line); cursor: pointer; }
.ix-s:hover, .ix-s[aria-selected="true"] { background: var(--rose); }
.ix-s-lab { flex: 1; min-width: 0; color: var(--ink-2); }
.ix-s-th { font-family: var(--serif); font-weight: 600; font-size: 17px; color: var(--ink); }
.ix-s-sep { color: var(--muted-2); }
.ix-s-y { font-size: 13px; color: var(--muted-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ix-active { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; }
.ix-active[hidden] { display: none; }
.ix-active .chip { border: 0; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.ix-active .chip-clear { color: var(--red); text-decoration: none; font-weight: 600; font-size: 14px; padding: 0 6px; min-height: 34px; }

.ix-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr) 340px; gap: 32px; align-items: start; margin-top: 22px; }
.ix-side { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; }
.ix-filters > summary { display: none; }
.ix-facet { padding: 16px 0 14px; border-bottom: 1px solid var(--line); }
.ix-facet:first-of-type { padding-top: 0; }
.ix-hist { position: relative; display: flex; align-items: flex-end; gap: 3px; height: 58px; padding-bottom: 18px; }
.ix-bar { flex: 1; height: 100%; display: flex; align-items: flex-end; padding: 0; border: 0; background: none; cursor: pointer; }
.ix-bar span { display: block; width: 100%; background: #E4D7D7; border-radius: 2px 2px 0 0; transition: background .15s; }
.ix-bar.in span { background: var(--red); }
.ix-bar:hover span { background: var(--red-hover); }
.ix-bar:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 1px; }
.ix-hist-ax { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; font-size: 12px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.ix-years { display: flex; gap: 8px; align-items: center; margin-top: 10px; }
.ix-years select { flex: 1; min-width: 0; height: 40px; border: 1px solid var(--border); border-radius: 4px; padding: 0 8px; font: inherit; background: #fff; }
.ix-frow { width: 100%; border: 0; background: none; font: inherit; cursor: pointer; text-align: left; }
.ix-frow:disabled { opacity: .45; cursor: default; }
.ix-frow:disabled:hover { background: none; }
.ix-fl { display: flex; align-items: center; gap: 10px; }
.ix-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; background: var(--muted-2); }
.ix-dot.civ { background: #AD1B17; } .ix-dot.pen { background: #6F3B55; } .ix-dot.pub { background: #2F5D8A; }
.ix-dot.ass { background: #3F7F6B; } .ix-dot.fis { background: #9A6412; }
.facet-row.on .ix-dot { box-shadow: 0 0 0 2px #fff; }
.ix-legend { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); border-bottom: 0; }
.ix-legend .ix-pg { cursor: default; }

.ix-main { min-width: 0; }
.ix-tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; align-items: center; font-size: 15px; font-variant-numeric: tabular-nums; }
.ix-count { color: var(--muted); } .ix-count b { color: var(--ink); }
.ix-tools-btns { display: flex; gap: 18px; }
.ix-tools .linkbtn { color: var(--red); text-decoration: none; font-weight: 600; min-height: 32px; }
.ix-az { display: flex; flex-wrap: wrap; gap: 2px; padding: 10px 0; margin-top: 8px; border-bottom: 1px solid #E5E7EB; position: sticky; top: 0; background: #fff; z-index: 5; }
.ix-az a, .ix-az span { font-family: var(--serif); font-weight: 700; font-size: 16px; min-width: 28px; text-align: center; padding: 2px 6px; border-radius: 3px; text-decoration: none; }
.ix-az a:hover { background: var(--rose); } .ix-az span { color: #D1D5DB; }
.ix-az a.cur { background: var(--red); color: #fff; }
.ix-az { flex-wrap: nowrap; } .ix-az a, .ix-az span { flex: 1 1 0; min-width: 0; padding: 2px 0; }
.ix-L { font-family: var(--serif); font-size: 28px; color: var(--red); margin: 26px 0 4px; scroll-margin-top: 64px; }
.ix-th { border-bottom: 1px solid var(--line); scroll-margin-top: 64px; }
.ix-th > summary { list-style: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 9px 4px; cursor: pointer; border-radius: 3px; }
.ix-th > summary::-webkit-details-marker { display: none; }
.ix-th > summary:hover { background: #FFFAFA; }
.ix-th[open] > summary { background: #FFFCFC; }
.ix-car { width: 12px; flex: 0 0 12px; align-self: center; height: 12px; background: currentColor; color: var(--muted-2);
  clip-path: polygon(25% 10%, 80% 50%, 25% 90%); transition: transform .15s; }
.ix-th[open] > summary .ix-car { transform: rotate(90deg); color: var(--red); }
.ix-nm { font-family: var(--serif); font-size: 18px; font-weight: 600; }
.ix-cdots { display: inline-flex; gap: 3px; align-items: center; align-self: center; }
.ix-cdots .ix-dot { width: 8px; height: 8px; }
.ix-n { font-size: 13px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.ix-span { margin-left: auto; font-size: 13px; color: var(--muted-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ix-body { padding: 2px 0 16px 22px; display: flex; flex-direction: column; gap: 6px; }
.ix-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; border-radius: 3px; scroll-margin-top: 80px; }
.ix-line.d1::before { content: "–"; color: var(--muted-2); }
.ix-line.d2 { padding-left: 22px; } .ix-line.d2::before { content: "•"; color: var(--muted-2); }
.ix-line.d3 { padding-left: 44px; } .ix-line.d3::before { content: "·"; color: var(--muted-2); }
.ix-line.flash { animation: ix-flash 1.8s ease-out; }
@keyframes ix-flash { 0%, 30% { background: var(--rose-2); } 100% { background: transparent; } }
.ix-lbl { min-width: 0; }
.ix-dots { flex: 1 1 24px; min-width: 16px; border-bottom: 1px dotted var(--muted-2); transform: translateY(-4px); }
.ix-refs { display: flex; flex-wrap: wrap; gap: 4px 14px; font-variant-numeric: tabular-nums; }
.ix-yr { white-space: nowrap; display: inline-flex; gap: 5px; align-items: baseline; }
.ix-ytag { font-size: 12px; font-weight: 700; color: var(--muted); background: #F3F4F6; padding: 0 6px; border-radius: 3px; }
.ix-pg { font: inherit; font-weight: 600; background: none; border: 0; padding: 0 3px; border-radius: 3px; cursor: pointer; color: var(--red); }
.ix-pg.de { color: var(--aub); }
.ix-pg.off { color: var(--muted-2); font-weight: 400; border-bottom: 1px dotted currentColor; border-radius: 0; }
.ix-pg:hover { background: var(--rose); }
.ix-pg.sel { background: var(--red); color: #fff; }
.ix-pg.de.sel { background: var(--aub); } .ix-pg.off.sel { background: var(--muted); color: #fff; }
.ix-see { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.ix-see > span { font-style: italic; }
.ix-seechip { font-size: 13px; padding: 2px 10px; border-radius: 11px; border: 1px solid #E3D3DB; color: var(--aub); text-decoration: none; background: #fff; }
.ix-seechip:hover { background: #EFE4EA; color: var(--aub); }
.ix mark { background: var(--rose-2); color: inherit; border-radius: 2px; padding: 0 1px; }
.ix-none { padding: 24px 0; }

.ix-card { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; background: #fff; box-shadow: var(--shadow); border-top: 4px solid var(--red); padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 12px; }
.ix-card-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 15px; }
.ix-card-empty svg { color: var(--red); }
.ix-card-empty p { margin: 0; }
.ix-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ix-x { background: none; border: 0; font-size: 24px; line-height: 1; color: var(--muted); cursor: pointer; min-width: 40px; min-height: 40px; margin: -8px -10px -8px 0; }
.ix-x:hover { color: var(--red); }
.ix-path { font-size: 14px; color: var(--muted); }
.ix-title { margin: 0; font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.3; }
.ix-header { margin: 0; font-style: italic; color: var(--muted); font-size: 14px; line-height: 1.45; }
.ix-chapeau { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
ul.ix-chapeau { padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.ix-dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 14px; margin: 0; font-size: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.ix-dl dt { color: var(--muted); } .ix-dl dd { margin: 0; font-variant-numeric: tabular-nums; }
.ix-card-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.ix-card-btns .btn { min-height: 44px; padding: 0 16px; }
.ix-copy { font-weight: 600; }
.ix-also { border-top: 1px solid var(--line); padding-top: 12px; }
.ix-also ul { margin: 0; padding: 0; list-style: none; font-size: 14px; display: flex; flex-direction: column; gap: 4px; max-height: 200px; overflow: auto; }
.ix-also a { text-decoration: none; }
.ix-edit { align-self: flex-start; display: inline-flex; gap: 6px; font-size: 14px; font-weight: 600; background: var(--rose); padding: 8px 12px; border-radius: 4px; text-decoration: none; }
.ix-backdrop { position: fixed; inset: 0; background: rgba(26,26,26,.32); z-index: 30; }
.ix-backdrop[hidden] { display: none; }

@media (max-width: 1099px) {
  .ix-layout { grid-template-columns: 236px minmax(0, 1fr); }
  .ix-card { position: fixed; z-index: 31; top: 0; right: 0; bottom: 0; width: min(400px, 92vw); max-height: none; border-top: 0; border-left: 4px solid var(--red);
    transform: translateX(105%); transition: transform .2s ease-out; visibility: hidden; }
  .ix-card.open { transform: none; visibility: visible; }
  body.ix-lock { overflow: hidden; }
}
@media (max-width: 860px) {
  .ix-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ix-side { position: static; max-height: none; overflow: visible; }
  .ix-filters { border: 1px solid var(--line); border-radius: 4px; padding: 0 14px; }
  .ix-filters > summary { display: flex; align-items: center; gap: 6px; min-height: 46px; font-weight: 700; color: var(--red); cursor: pointer; }
  .ix-filters[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: 14px; }
  .ix-az { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .ix-az a, .ix-az span { flex: 0 0 auto; min-width: 28px; }
  .ix-print { display: none; }
  .ix-card { top: auto; left: 0; width: auto; max-height: 85vh; border-left: 0; border-top: 4px solid var(--red); border-radius: 14px 14px 0 0; transform: translateY(105%); }
  .ix-search-box input { font-size: 16px; }
  .ix-span { margin-left: 0; }
}
@media print {
  .topbar, .masthead nav, .footer, .ix-search, .ix-active, .ix-side, .ix-card, .ix-az, .ix-tools-btns, .ix-print, .ix-backdrop { display: none !important; }
  .masthead { border-bottom-width: 2px; } .mast-diag { display: none; }
  .ix-layout { display: block; margin-top: 8px; }
  .page { padding-top: 12px; }
  #ix-list { columns: 2; column-gap: 28px; font-size: 10pt; }
  .ix-L { break-after: avoid; font-size: 18pt; margin-top: 10px; }
  .ix-th { break-inside: avoid; border: 0; }
  .ix-th > summary { padding: 2px 0; } .ix-car, .ix-span { display: none; }
  .ix-nm { font-size: 11pt; }
  .ix-body { padding: 0 0 6px 12px; gap: 1px; }
  .ix-pg { color: #000 !important; padding: 0; border: 0; }
  .ix-pg.off { border: 0; }
}

/* Index alphabétique (administration) */
.idx-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.idx-form .grow { flex: 1 1 320px; }
.idx-form input[type=file] { height: auto; padding: 9px 12px; }
.idx-list { margin: 8px 0 0; padding-left: 20px; max-height: 320px; overflow: auto; font-size: 14px; }
.idx-report { border-top: 4px solid var(--aub); }
.idx-report.idx-ok { border-top-color: #1F6B3A; } .idx-report.idx-bad { border-top-color: var(--red); }
.h4 { margin: 14px 0 0; font-size: 16px; font-weight: 700; }

/* Langue et nature juridique dans les résultats */
.meta-nature, .meta-lang { color: var(--ink-2); font-weight: 600; }
.meta-lang { color: var(--muted); font-weight: 400; }
.result-row { display: flex; gap: 20px; align-items: flex-start; }
.result-body { flex: 1; min-width: 0; }

/* Index alphabétique dans la fiche d'un document */
.ixe-head { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; justify-content: space-between; }
.ixe-grid { display: grid; grid-template-columns: 66px minmax(0, 1.5fr) minmax(0, 1.7fr) minmax(0, 1.1fr) minmax(0, .9fr) 70px 60px 196px; gap: 8px; align-items: center; padding-left: 10px; padding-right: 10px; }
.ixe-cols { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding: 14px 0 6px; border-bottom: 1px solid var(--line); }
.ixe-row { padding: 8px 0; border-bottom: 1px solid var(--line); }
.ixe-row input, .ixe-row select { height: 38px; min-width: 0; width: 100%; border: 1px solid var(--border); border-radius: 4px; padding: 0 8px; font: inherit; font-size: 15px; background: #fff; color: var(--ink); }
.ixe-row input:not(:focus) { border-color: #E5E7EB; }
.ixe-actions { display: flex; gap: 4px; justify-content: flex-end; white-space: nowrap; }
.ixe-actions .danger { color: var(--red); }
.ixe-new { background: var(--rose); border-bottom: 0; padding-top: 10px; padding-bottom: 10px; margin-top: 12px; border-radius: 4px; }
.ixe-new input:not(:focus) { border-color: #E3C9C8; }
.btn-primary-sm { background: var(--red); color: #fff; } .btn-primary-sm:hover { background: var(--red-hover); color: #fff; }
.ixe-empty { padding: 14px 0; margin: 0; border-bottom: 1px solid var(--line); }
@media (max-width: 1000px) {
  .ixe-cols { display: none; }
  .ixe-grid { grid-template-columns: 64px minmax(0, 1fr) 76px 64px; }
  .ixe-grid [name=theme] { grid-column: 2 / -1; }
  .ixe-grid [name=sub1], .ixe-grid [name=sub2], .ixe-grid [name=sub3] { grid-column: 1 / -1; }
  .ixe-actions { grid-column: 1 / -1; }
}
.ix-edit { font-size: 14px; font-weight: 600; }
.idx-warn { background: #FFF1DC; color: #5C3300; padding: 12px 18px; border-radius: 4px; max-width: 900px; margin: 0 0 8px; }

/* Rédaction (page statique) */
.ed-team { margin-bottom: 52px; }
.ed-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 18px; }
.ed-person { display: flex; gap: 18px; align-items: flex-start; }
.ed-person .eyebrow { letter-spacing: .08em; line-height: 1.35; }
.ed-person .card-title { margin: 6px 0 0; font-size: 23px; line-height: 1.25; }
.ed-person p { margin: 4px 0 0; }
.ed-mono { flex: 0 0 56px; height: 56px; border-radius: 50%; background: var(--rose); color: var(--red); font-family: var(--serif);
  font-weight: 700; font-size: 20px; display: flex; align-items: center; justify-content: center; }
.card-aub .ed-mono { background: #EFE4EA; color: var(--aub); }
.card-aub .eyebrow { color: var(--aub); }
.card-bright { border-top-color: var(--red-bright); }
.ed-facts { display: flex; flex-wrap: wrap; gap: 12px 44px; margin: 18px 0 6px; }
.ed-fact b { display: block; font-family: var(--serif); font-size: 40px; font-weight: 700; color: var(--red); line-height: 1.1; }
.ed-fact span { font-size: 14px; color: var(--muted); }
.ed-text p { font-size: 17px; line-height: 1.65; color: var(--ink-2); max-width: 720px; margin: 16px 0 0; }
.ed-domains { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ed-domains .doc-tag { font-size: 14px; padding: 3px 11px; }
.ed-aside { gap: 24px; }
.ed-text > .group-title { margin-top: 0; }
.ed-contact { padding: 22px 24px; border-top: 4px solid var(--aub); }
.ed-contact address { font-style: normal; line-height: 1.6; margin-top: 10px; }
.ed-lines { display: flex; flex-direction: column; gap: 4px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.ed-lines .muted { display: inline-block; min-width: 76px; }
@media (max-width: 860px) { .ed-aside { max-width: none; flex-basis: 100%; } }
