:root {
  --paper: #f7f0e5;
  --paper-deep: #efe5d6;
  --ink: #262b27;
  --muted: #5d6056;
  --rose: #c95560;
  --rose-dark: #a43f4b;
  --green: #46634f;
  --line: #d7cfc0;
  --surface: #fcf8f1;
  --elevated: #fffaf2;
  --control-bg: #fffdfa;
  --control-border: #877e72;
  --muted-deep: #4d524b;
  --badge-bg: #e9e1d5;
  --badge-text: #464940;
  --button-bg: #262b27;
  --button-text: #fffaf2;
  --button-hover: #41453f;
  --on-accent: #fffaf2;
  --focus: #a43f4b;
  --card-one: #f5e7db;
  --card-two: #e7efe7;
  --card-three: #f4e9cc;
  --card-four: #e5e9ec;
  --card-five: #f2e4e8;
  --pink-surface: #f3dbd4;
  --green-surface: #dce8dc;
  --muted-surface: #efe9dc;
  --shadow: #d7c7b6;
  --ribbon-bg: #a3474e;
  --error-bg: #f5e1da;
  color-scheme: light dark;
  --display: "Iowan Old Style", "Baskerville", "Palatino Linotype", Georgia, serif;
  --body: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #171d1a;
    --paper-deep: #1d251f;
    --surface: #1b221e;
    --elevated: #222b25;
    --control-bg: #19211c;
    --ink: #f2ecdf;
    --muted: #c2c7b9;
    --muted-deep: #d8ddcf;
    --rose: #f39b9f;
    --rose-dark: #ffb0b4;
    --green: #b5d4b8;
    --line: #4b5b4e;
    --control-border: #9ba998;
    --badge-bg: #344238;
    --badge-text: #e1e8d9;
    --button-bg: #e5ecdf;
    --button-text: #172019;
    --button-hover: #cbd9c4;
    --on-accent: #291e22;
    --focus: #ffd086;
    --card-one: #322927;
    --card-two: #26362b;
    --card-three: #353124;
    --card-four: #293239;
    --card-five: #352932;
    --pink-surface: #38292b;
    --green-surface: #26382c;
    --muted-surface: #283329;
    --shadow: #0d130f;
    --ribbon-bg: #79353e;
    --error-bg: #382b2b;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; min-width: 0; background: var(--paper); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img, svg { display: block; }
.ui-icon { display: inline-block; flex: none; width: 1em; height: 1em; fill: none; color: inherit; vertical-align: -.14em; pointer-events: none; }
.ui-icon-heart { fill: var(--ui-heart-fill, none); }
::selection { color: var(--on-accent); background: var(--rose-dark); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.wrap { width: min(100% - 80px, 1280px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 50; top: -100px; left: 20px; padding: 12px 16px; background: var(--button-bg); color: var(--button-text); }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

.top-note { min-height: 32px; display: flex; justify-content: center; align-items: center; gap: 12px; padding-inline: 12px; background: #8b3f43; color: #fff0e8; font-size: 10px; font-weight: 800; letter-spacing: .21em; text-align: center; }
.top-note > .ui-icon { width: 14px; height: 14px; }
.site-header { height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 32px; font-weight: 700; line-height: 1; letter-spacing: -.055em; white-space: nowrap; }
.brand-mark { display: inline-grid; place-items: center; width: 36px; height: 36px; transform: rotate(-16deg); color: var(--rose); font-family: Georgia, serif; font-size: 44px; font-weight: 400; line-height: 1; }
.brand-mark > .ui-icon { width: 100%; height: 100%; }
.brand-dot { color: var(--rose); }
.main-nav { display: flex; align-items: center; gap: clamp(12px, 1.8vw, 28px); font-size: 13px; font-weight: 700; }
.main-nav a { text-decoration: none; transition: color .18s ease; }
.main-nav a:hover, .footer-links a:hover { color: var(--rose-dark); }
.nav-cta { border: 1.5px solid var(--ink); border-radius: 100px; padding: 13px 21px; background: transparent; color: var(--ink); font-size: 12px; font-weight: 800; white-space: nowrap; transition: background .18s ease, color .18s ease, transform .18s ease; }
.nav-cta:hover { background: var(--button-bg); color: var(--button-text); transform: translateY(-2px); }
.nav-cta span { margin-left: 13px; font-size: 17px; line-height: 0; }
.nav-cta > .ui-icon { width: 18px; height: 18px; margin-left: 9px; }

.hero { display: grid; grid-template-columns: 1.14fr .86fr; gap: clamp(30px, 5vw, 86px); min-height: 650px; align-items: center; padding-top: 62px; padding-bottom: 80px; }
.hero-copy { align-self: center; padding-bottom: 20px; }
.eyebrow { margin: 0 0 22px; display: flex; align-items: center; gap: 11px; color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .19em; line-height: 1.5; }
.eyebrow-line { display: inline-block; width: 30px; height: 1px; background: currentColor; }
.eyebrow.coral { color: var(--rose-dark); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 0; font-family: var(--display); font-size: clamp(58px, 6.1vw, 96px); font-weight: 500; line-height: .98; letter-spacing: -.065em; }
.hero h1 em { color: var(--rose); font-weight: 500; }
.hero-lead { max-width: 590px; margin: 31px 0 35px; color: var(--muted-deep); font-size: clamp(17px, 1.55vw, 20px); line-height: 1.62; }
.hero-lead strong { color: var(--ink); }
.hero-lead em { color: var(--rose-dark); font-family: var(--display); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; border: 1.5px solid var(--ink); border-radius: 100px; padding: 14px 23px; text-decoration: none; font-size: 13px; font-weight: 800; line-height: 1.1; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-3px); box-shadow: 3px 5px 0 var(--shadow); }
.button-dark { background: var(--button-bg); color: var(--button-text); }
.button-dark:hover { background: var(--button-hover); }
.button-light { background: transparent; color: var(--ink); }
.button-light:hover { background: var(--elevated); }
.button > span:last-child { font-size: 18px; line-height: .6; }
.button .dice { color: var(--rose-dark); font-size: 21px; }
.button > .ui-icon, .button > span > .ui-icon { width: 20px; height: 20px; }
.dice { display: inline-flex; align-items: center; }
.dice .ui-icon { width: 21px; height: 21px; }
.hero-aside { margin: 27px 0 0; color: var(--muted); font-family: var(--display); font-size: 16px; font-style: italic; }
.hero-aside span { margin-right: 6px; font-family: var(--body); }

.hero-art { min-width: 0; max-width: 550px; justify-self: end; width: 100%; aspect-ratio: 1 / 1.08; }
.word-collection { position: relative; width: 100%; height: 100%; border: 1px solid #d1beaa; border-radius: 18px; background-color: #eee4d4; background-image: linear-gradient(#c5b69c33 1px, transparent 1px), linear-gradient(90deg, #c5b69c33 1px, transparent 1px); background-size: 24px 24px; box-shadow: 8px 9px 0 var(--shadow); color: #3c453c; }
.collection-heading { position: absolute; inset: 6% 7% auto; display: flex; justify-content: space-between; align-items: center; font-size: clamp(8px, .8vw, 11px); letter-spacing: .17em; font-weight: 800; }
.collection-heading .ui-icon { width: 22px; height: 22px; color: #984c58; }
.word-card { position: absolute; border: 1px solid #b8a38e; border-radius: 3px; box-shadow: 4px 6px 0 #7d655318; padding: 6%; }
.word-card-label { display: block; font-size: clamp(7px, .7vw, 10px); letter-spacing: .12em; font-weight: 800; }
.word-card-title { display: block; position: relative; z-index: 1; margin: 8% 0; font-family: var(--display); font-size: clamp(30px, 3.2vw, 47px); line-height: .98; letter-spacing: -.05em; }
.word-card-note { display: block; font-family: var(--display); font-size: clamp(10px, 1vw, 14px); font-style: italic; }
.word-card-original { top: 18%; left: 7%; width: 70%; height: 41%; background: #fffaf0; transform: rotate(-7deg); }
.word-card-drawing { position: absolute; width: 33%; height: auto; right: 5%; top: 25%; }
.collection-arrow { position: absolute; top: 23%; right: 3%; width: 22%; color: #8c5c4a; }
.word-card-rose { top: 52%; left: 21%; width: 72%; height: 34%; background: #efbbc0; color: #642e3b; border-color: #b57580; transform: rotate(5deg); }
.word-card-rose .word-card-title { margin-block: 5%; }
.word-card-rose .word-card-title em { font-weight: normal; }
.word-card-flower { position: absolute; top: 40%; right: 9%; width: 20%; height: 36%; color: #99465c; transform: rotate(-12deg); }
.collection-tab { position: absolute; bottom: 8%; left: 5%; padding: 3% 4%; border: 1px solid #9ca88f; background: #dce2cb; color: #374b36; font-size: clamp(7px, .75vw, 10px); font-weight: 800; letter-spacing: .08em; transform: rotate(-4deg); }
.collection-tab .ui-icon { margin-right: 5px; }
.collection-caption { position: absolute; bottom: 4%; left: 5%; right: 5%; text-align: center; font: italic clamp(11px, 1.05vw, 15px) var(--display); }

.ribbon-shell { position: relative; }
.ribbon { height: 48px; overflow: hidden; border-top: 1px solid #8c3e43; border-bottom: 1px solid #8c3e43; background: var(--ribbon-bg); color: #fff6eb; }
.ribbon-track { display: flex; align-items: center; width: max-content; height: 100%; gap: 0; font-size: 12px; font-weight: 800; letter-spacing: .19em; white-space: nowrap; }
.ribbon.is-ready .ribbon-track { animation: slide var(--ribbon-duration, 45s) linear infinite; will-change: transform; }
.ribbon-group { display: flex; flex: 0 0 auto; min-width: 100vw; justify-content: space-around; }
.ribbon-unit { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 29px; padding-right: 29px; }
.ribbon-unit b { font-size: 20px; font-weight: 400; }
.ribbon-unit .ui-icon { display: block; width: 20px; height: 20px; }
.ribbon:hover .ribbon-track, .ribbon.is-paused .ribbon-track { animation-play-state: paused; }
.ribbon-toggle { position: absolute; z-index: 2; right: 12px; top: 8px; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #f7e8db; border-radius: 50%; background: #8b3f43; color: #fff6eb; font-size: 16px; }
.ribbon-toggle:focus-visible { outline-color: #fff6eb; }
.ribbon-toggle .ui-icon { display: block; width: 16px; height: 16px; }
@keyframes slide { to { transform: translateX(-50%); } }

.directory-section { padding: 103px 0 90px; background: var(--surface); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 48px; }
.section-heading .eyebrow { margin-bottom: 14px; }
.section-heading h2, .how-intro h2, .invitation h2 { margin: 0; font-family: var(--display); font-weight: 500; letter-spacing: -.065em; line-height: 1.05; }
.section-heading h2 { font-size: clamp(54px, 5.4vw, 80px); }
.heading-spark { display: inline-block; margin-left: 18px; color: var(--rose); font-family: Georgia, serif; font-size: .38em; vertical-align: top; transform: rotate(-18deg); }
.heading-spark .ui-icon { width: 30px; height: 30px; }
.section-intro { margin: 17px 0 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.count-note { display: flex; align-items: center; gap: 16px; min-width: 206px; margin-bottom: 4px; padding: 12px 0 12px 17px; border-left: 1px solid var(--line); }
.count-note strong { color: var(--rose-dark); font-family: var(--display); font-size: 53px; font-weight: 500; line-height: 1; }
.count-note span { color: var(--muted); font-size: 12px; font-weight: 700; line-height: 1.6; }
.directory-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 20px; margin-bottom: 27px; }
.search-box { grid-column: 1 / -1; display: flex; align-items: center; gap: 15px; height: 63px; padding: 0 21px; border: 1.5px solid var(--control-border); border-radius: 10px; background: var(--control-bg); transition: border-color .16s ease, box-shadow .16s ease; }
.search-box:focus-within { border-color: var(--rose-dark); box-shadow: 0 0 0 4px #de636722; }
.search-box svg { width: 24px; height: 24px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; flex: none; }
.search-box input { width: 100%; height: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 17px; }
.search-box input::placeholder { color: var(--muted); }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { min-height: 42px; padding: 9px 15px; border: 1px solid var(--control-border); border-radius: 100px; background: transparent; color: var(--muted-deep); font-size: 12px; font-weight: 800; white-space: nowrap; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.filter:hover { border-color: var(--ink); }
.filter.is-active { border-color: var(--ink); background: var(--button-bg); color: var(--button-text); }
.filter span { display: inline-grid; min-width: 20px; height: 20px; place-items: center; margin-left: 5px; padding: 0 4px; border-radius: 50px; background: var(--badge-bg); color: var(--badge-text); font-size: 10px; }
.filter.is-active span { background: var(--paper-deep); color: var(--ink); }
.toolbar-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: end; gap: 16px; min-height: 42px; color: var(--muted); font-size: 12px; font-weight: 700; }
.region-tools { grid-column: 1 / -1; min-width: 0; padding-top: 9px; }
.search-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
.search-actions:has(> [hidden]:first-child):has(> [hidden]:last-child) { display: none; }
.favorites-toggle { border: 0; border-bottom: 1px solid transparent; padding: 0 0 3px; background: transparent; color: var(--ink); font-size: 12px; font-weight: 800; }
.favorites-toggle span { margin-right: 4px; color: var(--rose-dark); font-size: 21px; line-height: 0; vertical-align: -2px; }
.favorites-toggle:hover, .favorites-toggle[aria-pressed="true"] { border-color: var(--rose-dark); color: var(--rose-dark); }
.favorites-toggle[aria-pressed="true"] span { color: var(--rose-dark); }
.favorites-toggle .ui-icon { width: 21px; height: 21px; }
.favorites-toggle[aria-pressed="true"], .favorite-button[aria-pressed="true"] { --ui-heart-fill: currentColor; }

.cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.entry-card { position: relative; display: flex; flex-direction: column; min-height: 305px; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; padding: 23px 24px 19px; background: var(--card, var(--card-one)); transition: transform .18s ease, box-shadow .18s ease; }
.entry-card:hover { transform: translateY(-5px); box-shadow: 6px 8px 0 var(--shadow); }
.entry-art { position: absolute; z-index: 0; right: 18px; bottom: 58px; width: 106px; height: 106px; color: var(--rose-dark); opacity: .24; pointer-events: none; transform: rotate(-12deg); }
.entry-card:nth-child(5n + 2) { --card: var(--card-two); }
.entry-card:nth-child(5n + 3) { --card: var(--card-three); }
.entry-card:nth-child(5n + 4) { --card: var(--card-four); }
.entry-card:nth-child(5n + 5) { --card: var(--card-five); }
.entry-card:nth-child(2n) .entry-art { color: var(--green); }
.card-top { position: relative; z-index: 1; display: flex; align-items: start; justify-content: space-between; gap: 8px; }
.card-type { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.card-type::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rose-dark); }
.entry-card[data-type="regionalism"] .card-type::before { background: #607e6b; }
.card-index { display: block; margin-top: 11px; color: var(--muted); font-family: var(--display); font-size: 14px; font-style: italic; }
.favorite-button { position: relative; z-index: 3; width: 44px; height: 44px; flex: none; display: grid; place-items: center; padding: 0; border: 1px solid var(--control-border); border-radius: 50%; background: var(--control-bg); color: var(--rose-dark); font-size: 22px; line-height: 1; transition: background .18s ease, transform .18s ease; }
.favorite-button .ui-icon { width: 22px; height: 22px; }
.favorite-button:hover { background: var(--elevated); transform: scale(1.08); }
.favorite-button[aria-pressed="true"] { border-color: var(--rose-dark); background: var(--rose-dark); color: var(--on-accent); }
.card-main { position: relative; z-index: 1; flex: 1; padding-top: 31px; }
.card-title { max-width: 100%; margin: 0 0 16px; font-family: var(--display); font-size: clamp(27px, 2.5vw, 36px); font-weight: 500; line-height: 1.14; letter-spacing: -.035em; text-wrap: pretty; }
.card-geography { width: fit-content; max-width: 100%; margin: 0 0 15px; padding: 5px 9px; border: 1px solid var(--control-border); border-radius: 5px; background: var(--control-bg); color: var(--muted-deep); font-size: 12px; line-height: 1.5; }
.card-pair { max-width: 93%; margin: 0; color: var(--muted-deep); font-size: 13px; line-height: 1.55; }
.card-pair-label { display: block; margin-bottom: 4px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.card-pair strong { color: var(--ink); font-weight: 800; }
.card-footer { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 17px; border-top: 1px solid #bcb6ac88; }
.card-tag { color: var(--muted); font-size: 11px; font-style: italic; }
.card-open { flex: none; border: 0; padding: 5px 0; background: transparent; color: var(--ink); font-size: 12px; font-weight: 900; white-space: nowrap; text-decoration: none; gap: 5px; }
.card-open span { display: inline-block; margin-left: 5px; font-size: 16px; line-height: 0; transition: transform .18s ease; }
.card-open:hover span { transform: translate(2px, -2px); }
.card-open > .ui-icon { width: 16px; height: 16px; }
.empty-state { padding: 70px 20px; border: 1px dashed #cdbdb0; border-radius: 9px; text-align: center; }
.empty-state[hidden] { display: none; }
.empty-state > span { display: block; color: var(--rose); font-size: 56px; }
.empty-state h3 { margin: 12px 0 7px; font-family: var(--display); font-size: 38px; font-weight: 500; }
.empty-state p { margin-bottom: 24px; color: var(--muted); }
.directory-bottom { display: flex; align-items: center; justify-content: center; gap: 15px; padding-top: 46px; }
.directory-bottom p { margin: 0; color: var(--muted); font-family: var(--display); font-size: 18px; font-style: italic; }
.directory-bottom p span { color: var(--rose); font-style: normal; }
.text-link { border: 0; border-bottom: 1px solid currentColor; padding: 3px 0; background: transparent; color: var(--rose-dark); font-size: 13px; font-weight: 900; }
.text-link span { margin-left: 5px; }
.load-more-wrap { display: flex; justify-content: center; margin-top: 30px; }
.load-more-wrap:has([hidden]) { display: none; }
.catalogue-status { padding: 30px; border: 1px dashed var(--line); border-radius: 8px; color: var(--muted); text-align: center; }
.catalogue-error { background: var(--error-bg); color: var(--ink); }
.catalogue-error p { margin-bottom: 10px; }
.static-catalogue { columns: 2; line-height: 1.8; }
.button:disabled { opacity: .5; cursor: wait; transform: none; box-shadow: none; }

.how-section { padding: 108px 0 117px; border-top: 1px solid var(--line); background: var(--paper-deep); }
.how-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(45px, 6vw, 95px); align-items: center; }
.how-intro h2 { margin-bottom: 25px; font-size: clamp(52px, 5vw, 75px); }
.how-intro h2 em { color: var(--rose-dark); font-weight: 400; }
.how-intro > p:not(.eyebrow) { max-width: 410px; color: var(--muted-deep); font-size: 17px; line-height: 1.7; }
.how-intro > p.origin-note { font-size: 13px; }
.origin-note a { text-underline-offset: 3px; }
.handwritten { margin-top: 35px; color: var(--green); font-family: var(--display); font-size: 24px; font-style: italic; transform: rotate(-4deg); transform-origin: left; }
.how-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.how-card { position: relative; min-height: 350px; display: flex; flex-direction: column; align-items: flex-start; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; padding: 24px 23px; }
.how-card-pink { background: var(--pink-surface); }
.how-card-green { background: var(--green-surface); }
.how-number { color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .15em; }
.how-icon { display: grid; place-items: center; width: 62px; height: 62px; margin: 29px 0 21px; border: 1px solid #bca89c; border-radius: 50%; color: var(--rose-dark); font-family: var(--display); font-size: 49px; line-height: 1; transform: rotate(-18deg); }
.how-card-green .how-icon { color: var(--green); border-color: #9bae9b; }
.how-icon .ui-icon { width: 42px; height: 42px; }
.how-card h3 { margin: 0 0 12px; font-family: var(--display); font-size: 28px; font-weight: 500; letter-spacing: -.035em; }
.how-card p { margin: 0 0 25px; color: var(--muted-deep); font-size: 13px; line-height: 1.65; }
.how-example { margin-top: auto; padding-top: 13px; border-top: 1px solid #b9aa9d; font-family: var(--display); font-size: 15px; font-style: italic; }
.how-example .ui-icon { width: 16px; height: 16px; margin-inline: 4px; }
.how-card-green .how-example { border-color: #a6baa7; }

.invitation { position: relative; display: flex; flex-direction: column; align-items: center; padding-top: 112px; padding-bottom: 124px; text-align: center; overflow: hidden; }
.invitation-ornament { position: absolute; top: 33px; right: 5%; color: #edc9c0; font-family: Georgia, serif; font-size: 200px; line-height: 1; transform: rotate(-17deg); pointer-events: none; }
.invitation-ornament .ui-icon { width: 1em; height: 1em; }
.invitation .eyebrow { margin-bottom: 18px; color: var(--rose-dark); }
.invitation h2 { position: relative; margin-bottom: 20px; font-size: clamp(55px, 6vw, 88px); }
.invitation > p:not(.eyebrow) { position: relative; max-width: 480px; margin-bottom: 26px; color: var(--muted-deep); font-size: 16px; line-height: 1.7; }
.invitation .button { position: relative; }

.site-footer { padding: 62px 0 25px; background: #292e2a; color: #f6eee4; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 35px; padding-bottom: 75px; }
.footer-brand { font-size: 37px; }
.footer-brand .brand-mark { color: #ea8c84; }
.site-footer p { color: #c1bfb4; }
.footer-top p { margin: 19px 0 0 46px; font-family: var(--display); font-size: 17px; font-style: italic; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: flex-start; padding-top: 12px; font-size: 13px; font-weight: 700; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #f1aaa7; }
.footer-links button { border: 0; padding: 0; background: transparent; color: inherit; font-size: inherit; font-weight: inherit; }
.footer-links button:hover { color: #eca09b; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 23px; border-top: 1px solid #5a5d56; }
.footer-bottom p { max-width: 700px; margin-bottom: 0; font-size: 11px; line-height: 1.7; }
.footer-bottom p a { color: #f6eee4; }
.footer-bottom > span { color: #a5a69c; font-size: 10px; font-weight: 800; letter-spacing: .1em; white-space: nowrap; }

dialog { max-height: min(90vh, 850px); border: 1px solid #b7a79c; border-radius: 12px; padding: 0; background: var(--elevated); color: var(--ink); box-shadow: 0 18px 70px #281e1966; }
dialog::backdrop { background: #29221bc9; backdrop-filter: blur(3px); }
.entry-dialog, .add-dialog { width: min(100% - 32px, 650px); overflow-y: auto; scroll-padding-block: 88px 20px; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 23px 31px 0; }
.dialog-head .eyebrow { margin: 0; color: var(--rose-dark); }
.icon-button { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border: 1px solid var(--control-border); border-radius: 50%; background: transparent; color: var(--ink); font-family: var(--body); font-size: 25px; line-height: 1; }
.icon-button:hover { background: var(--paper-deep); }
.icon-button .ui-icon { width: 22px; height: 22px; }
.entry-dialog-body { padding: 7px 31px 31px; }
.detail-title { margin: 12px 0 9px; font-family: var(--display); font-size: clamp(36px, 5vw, 64px); font-weight: 500; letter-spacing: -.045em; line-height: 1.12; text-wrap: pretty; }
.detail-heading { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.detail-heading .detail-title { flex: 1; min-width: 0; }
.detail-emblem { flex: none; width: 64px; height: 64px; margin-block: 8px 16px; color: var(--rose-dark); }
.detail-tag { display: inline-block; margin-bottom: 25px; color: var(--muted); font-family: var(--display); font-size: 17px; font-style: italic; }
.detail-comparison { display: grid; grid-template-columns: 1fr 30px 1fr; align-items: center; gap: 11px; margin-bottom: 29px; padding: 20px; border: 1px solid #e4c9be; border-radius: 7px; background: var(--pink-surface); }
.detail-comparison.regionalism { border-color: #c4d2c5; background: var(--green-surface); }
.detail-comparison div { min-width: 0; }
.detail-comparison span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.detail-comparison strong { font-family: var(--display); font-size: 21px; font-weight: 600; line-height: 1.3; overflow-wrap: break-word; }
.detail-comparison > b, .detail-comparison > .comparison-arrow { color: var(--rose-dark); font-family: var(--display); font-size: 30px; font-weight: 400; text-align: center; }
.detail-comparison .ui-icon { width: 28px; height: 28px; }
.detail-comparison.regionalism > b, .detail-comparison.regionalism > .comparison-arrow { color: var(--green); }
.detail-section { margin-bottom: 23px; }
.detail-section h3, .detail-section h2 { margin: 0 0 6px; color: var(--rose-dark); font-size: 10px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.detail-section p { margin: 0; color: var(--muted-deep); font-size: 15px; line-height: 1.72; }
.detail-example { margin: 25px 0; padding: 15px 20px; border-left: 3px solid var(--rose); background: var(--paper); font-family: var(--display); font-size: 20px; font-style: italic; line-height: 1.5; }
.detail-example-wrap { margin: 25px 0; }
.detail-example-wrap .detail-example { margin: 0 0 8px; }
.detail-example-label { color: var(--muted); font-size: 11px; }
.detail-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.detail-footer a { margin-right: auto; color: var(--muted); font-size: 12px; font-weight: 700; text-underline-offset: 3px; }
.detail-footer button { border: 0; border-bottom: 1px solid var(--rose-dark); padding: 4px 0; background: transparent; color: var(--rose-dark); font-size: 12px; font-weight: 800; }
.detail-footer button:hover { color: var(--rose-dark); }
.detail-footer button, .detail-footer a { gap: 7px; }
.detail-local { margin: 0 0 14px; padding: 10px 12px; border-radius: 5px; background: var(--muted-surface); color: var(--muted); font-size: 12px; line-height: 1.5; }
.detail-geography { margin-bottom: 24px; padding: 17px 19px; border: 1px solid var(--line); border-radius: 7px; background: var(--green-surface); }
.detail-geography h2, .detail-geography h3 { margin: 0 0 7px; font-size: 13px; color: var(--green); }
.detail-geography p { margin: 8px 0 0; color: var(--muted-deep); font-size: 13px; line-height: 1.65; }
.detail-geography .geography-label { margin-top: 0; color: var(--ink); font-size: 16px; font-weight: 800; }
.detail-sources { margin: 24px 0; padding-top: 20px; border-top: 1px solid var(--line); }
.detail-sources h2, .detail-sources h3 { margin: 0 0 10px; color: var(--rose-dark); font-size: 12px; }
.detail-sources p, .detail-sources li { color: var(--muted-deep); font-size: 12px; line-height: 1.65; }
.detail-sources ul { margin: 10px 0 0; padding-left: 18px; }
.detail-sources a { display: inline-block; min-height: 32px; padding-block: 6px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.entry-page { max-width: 860px; padding-top: 44px; padding-bottom: 70px; }
.back-link { display: inline-block; margin-bottom: 25px; color: var(--green); text-decoration: none; font-size: 13px; }
.entry-paper { padding: clamp(22px, 5vw, 54px); border: 1px solid var(--line); border-radius: 12px; background: var(--elevated); }
.entry-paper .detail-title { margin-top: 0; }
.related-entries { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }
.related-entries h2 { flex-basis: 100%; margin-bottom: 5px; font: 30px var(--display); }
.related-entries a { padding: 12px 16px; border: 1px solid var(--line); border-radius: 6px; font-size: 14px; text-decoration: none; }
.related-entries a:hover { background: var(--paper-deep); }
.related-entries span { margin-left: 7px; color: var(--rose-dark); }
.related-entries .ui-icon { margin-left: 7px; color: var(--rose-dark); }
.entry-page-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding: 25px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.information-page h1 { font-family: var(--display); font-size: clamp(38px, 7vw, 66px); line-height: 1.1; letter-spacing: -.04em; }
.information-page h2 { margin-top: 30px; font-family: var(--display); font-size: 28px; line-height: 1.2; }
.information-page p, .information-page li { color: var(--muted-deep); font-size: 16px; line-height: 1.75; }
.information-page li { margin-bottom: 12px; }
.information-page a { text-underline-offset: 3px; }

.add-dialog { width: min(100% - 32px, 610px); }
.add-dialog h2 { display: flex; align-items: start; justify-content: space-between; gap: 10px; margin: 12px 31px 10px; font-family: var(--display); font-size: clamp(42px, 5vw, 57px); font-weight: 500; line-height: 1; letter-spacing: -.055em; }
.add-dialog h2 span { color: var(--rose); font-family: Georgia, serif; font-size: 37px; transform: rotate(-15deg); }
.form-intro { margin: 0 31px 23px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.form-required { margin: 0 31px 18px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.add-dialog form { padding: 0 31px 31px; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; color: var(--ink); font-size: 12px; font-weight: 800; }
.type-picker { min-width: 0; border: 0; margin: 0; padding: 0; }
.type-picker legend { margin-bottom: 9px; padding: 0; color: var(--ink); font-size: 12px; font-weight: 800; }
.type-options { display: flex; flex-wrap: wrap; gap: 10px; }
.type-options label { display: flex; flex: 1 1 190px; align-items: center; gap: 10px; min-height: 48px; padding: 12px; border: 1px solid var(--control-border); border-radius: 8px; background: var(--control-bg); color: var(--ink); font-size: 14px; line-height: 1.5; cursor: pointer; }
.type-options label:has(:checked) { border-color: var(--green); background: var(--green-surface); }
.type-options input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--green); }
.field > span[aria-hidden="true"], .field span[aria-hidden="true"] { color: var(--rose-dark); }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; border: 1px solid var(--control-border); border-radius: 6px; padding: 11px 12px; outline: 0; background: var(--control-bg); color: var(--ink); font-size: 16px; font-weight: 500; line-height: 1.4; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--rose-dark); box-shadow: 0 0 0 3px #de636722; }
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.optional { margin-left: 3px; color: var(--muted); font-weight: 500; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 15px; padding-top: 23px; }
.export-link { color: var(--muted); font-size: 12px; }
.notebook-tools { display: flex; align-items: center; gap: 15px; }
.toast { position: fixed; z-index: 60; right: 22px; bottom: 22px; max-width: min(370px, calc(100% - 44px)); padding: 13px 17px; border-radius: 6px; background: var(--button-bg); color: var(--button-text); font-size: 13px; line-height: 1.5; box-shadow: 0 5px 30px #17130e50; opacity: 0; transform: translateY(18px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.dialog-head { position: sticky; top: 0; z-index: 5; padding-bottom: 12px; background: var(--elevated); }
.dialog-status { margin: 0; background: var(--elevated); color: var(--ink); font-size: 14px; line-height: 1.6; }
.dialog-status:not(:empty) { padding: 14px 22px; border-top: 2px solid var(--control-border); }
.favorites-toggle, .text-link, .card-open, .detail-footer a, .detail-footer button, .footer-links a, .footer-links button, .back-link { min-height: 44px; display: inline-flex; align-items: center; }
.card-title, .detail-title { overflow-wrap: break-word; word-break: normal; hyphens: none; }
.hero h1 { overflow-wrap: normal; text-wrap: balance; }
.filter-row { padding: 4px; margin: -4px; }
.card-footer { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.card-tag { min-width: 0; line-height: 1.55; overflow-wrap: break-word; }
.search-box input:focus-visible { outline: none; }
.search-box:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; box-shadow: none; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; box-shadow: none; }

/* Regions are linked content, both in the catalogue and on permanent pages. */
.region-links { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.region-links li { min-width: 0; max-width: 100%; }
.region-links a { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; min-height: 34px; max-width: 100%; padding: 6px 10px; border: 1px solid var(--control-border); border-radius: 6px; background: var(--control-bg); color: var(--ink); font-size: 12px; font-weight: 650; line-height: 1.5; text-decoration: none; overflow-wrap: break-word; }
.region-links a:hover, .region-links a[aria-current="page"] { border-color: var(--green); background: var(--green-surface); }
.region-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--green); }
.region-link-count { color: var(--muted); font-size: 11px; font-weight: 500; }
.card-region-links { margin: 0 0 18px; }
.card-region-links a { font-size: 11px; min-height: 32px; padding: 5px 8px; }
.detail-geography .region-links { margin-top: 11px; }
.breadcrumbs { margin-bottom: 30px; color: var(--muted); font-size: 13px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; list-style: none; padding: 0; margin: 0; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 10px; min-width: 0; max-width: 100%; }
.breadcrumbs li + li::before { content: "/"; color: var(--muted); }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 32px; color: var(--green); text-underline-offset: 4px; }
.breadcrumbs [aria-current] { overflow-wrap: break-word; }
.region-hub, .region-page { padding-top: 42px; padding-bottom: 85px; }
.region-intro { max-width: 900px; margin-bottom: 34px; }
.region-intro h1 { max-width: 19ch; margin: 0 0 24px; font-family: var(--display); font-size: clamp(46px, 6.5vw, 88px); font-weight: 500; letter-spacing: -.055em; line-height: 1.08; text-wrap: balance; overflow-wrap: break-word; }
.region-intro h1 em { color: var(--rose-dark); font-weight: 400; }
.region-intro > p:not(.eyebrow) { max-width: 760px; color: var(--muted-deep); font-size: 18px; line-height: 1.75; }
.region-intro > p.region-stats { margin: 24px 0; color: var(--green); font-size: 13px; font-weight: 800; }
.region-provenance { margin: 0 0 32px; padding: 16px 20px; border-left: 3px solid var(--green); background: var(--green-surface); color: var(--muted-deep); font-size: 14px; line-height: 1.75; }
.region-group-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 50px; }
.region-group-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border: 1px solid var(--control-border); border-radius: 100px; color: var(--ink); font-size: 13px; font-weight: 700; text-decoration: none; }
.region-group-nav a:hover { background: var(--pink-surface); }
.region-group { margin: 0 0 52px; }
.region-group h2, .region-entries h2, .region-explore h2 { margin: 0 0 24px; font-family: var(--display); font-size: clamp(32px, 4vw, 48px); font-weight: 500; letter-spacing: -.035em; line-height: 1.15; }
.region-card-grid, .region-entry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.region-card { display: flex; flex-direction: column; min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.region-card:nth-child(3n+2) { background: var(--green-surface); }
.region-card:nth-child(3n+3) { background: var(--pink-surface); }
.region-card h3 { margin: 0 0 14px; font-family: var(--display); font-size: 30px; font-weight: 500; letter-spacing: -.025em; line-height: 1.2; }
.region-card h3 a { display: flex; justify-content: space-between; gap: 15px; color: var(--ink); text-decoration: none; }
.region-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.region-card h3 span { flex: none; color: var(--rose-dark); font-family: var(--body); font-size: 20px; }
.region-card h3 .ui-icon { width: 20px; height: 20px; color: var(--rose-dark); }
.region-card > p { margin: auto 0 12px; color: var(--muted); font-size: 14px; }
.region-filter-link { display: inline-flex; align-items: center; min-height: 44px; gap: 6px; color: var(--rose-dark); font-size: 12px; font-weight: 800; text-underline-offset: 4px; }
.region-entries { margin-top: 52px; }
.region-entries .section-heading { flex-wrap: wrap; margin-bottom: 24px; }
.region-entries .section-heading h2 { margin-bottom: 0; }
.region-entries .section-heading > span { color: var(--muted); font-size: 13px; }
.region-entry { min-width: 0; min-height: 330px; }
.region-entry > :not(svg) { position: relative; z-index: 1; }
.region-entry .card-type { margin-bottom: 24px; }
.region-entry .card-title a { color: var(--ink); text-decoration: none; }
.region-entry .card-title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.region-entry-standard { margin-bottom: 12px; color: var(--ink); font-size: 14px; font-weight: 750; line-height: 1.6; }
.region-entry-standard > span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.region-entry-meaning { color: var(--muted-deep); font-size: 14px; line-height: 1.75; }
.region-entry .region-provenance { margin-top: auto; margin-bottom: 13px; padding: 0; border: 0; background: transparent; font-size: 12px; }
.region-entry .region-links a { font-size: 11px; min-height: 32px; padding: 5px 8px; }
.region-explore { display: flex; flex-wrap: wrap; gap: 12px; margin: 36px 0; }
.region-explore h2, .region-explore > p, .region-explore > ul { flex-basis: 100%; }
.region-explore h2 { margin-bottom: 0; }
.region-explore > p { max-width: 820px; margin-bottom: 8px; color: var(--muted); font-size: 15px; line-height: 1.7; }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr .82fr; gap: 35px; }
  .hero h1 { font-size: clamp(55px, 6.5vw, 76px); }
  .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how-layout { grid-template-columns: 1fr; }
  .how-intro { max-width: 700px; }
  .how-cards { max-width: 780px; }
  .region-card-grid, .region-entry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) { .main-nav a[href="#mode-emploi"] { display: none; } }
@media (max-width: 760px) {
  .wrap { width: min(100% - 36px, 1280px); }
  .top-note { min-height: 29px; font-size: 8px; letter-spacing: .15em; }
  .site-header { height: 75px; }
  .brand { font-size: 27px; }
  .brand-mark { width: 27px; height: 27px; font-size: 36px; }
  .main-nav { gap: 10px; }
  .main-nav a { display: none; }
  .nav-cta { padding: 11px 14px; font-size: 11px; }
  .nav-cta span { margin-left: 5px; }
  .hero { grid-template-columns: 1fr; gap: 38px; padding-top: 66px; padding-bottom: 68px; }
  .hero-copy { padding-bottom: 0; }
  .hero h1 { font-size: clamp(57px, 10vw, 84px); }
  .hero-lead { max-width: 600px; }
  .hero-art { justify-self: center; width: min(100%, 470px); }
  .word-card-title { font-size: clamp(31px, 8vw, 47px); }
  .word-card-label, .collection-heading, .collection-tab { font-size: clamp(7px, 1.8vw, 10px); }
  .word-card-note, .collection-caption { font-size: clamp(10px, 2.4vw, 14px); }
  .directory-section { padding-top: 75px; padding-bottom: 70px; }
  .section-heading { align-items: start; }
  .count-note { display: none; }
  .directory-toolbar { grid-template-columns: 1fr; }
  .search-box { grid-column: 1; }
  .toolbar-end { justify-content: space-between; }
  .how-section { padding: 75px 0; }
  .invitation { padding-top: 100px; padding-bottom: 100px; }
  .invitation-ornament { font-size: 135px; top: 19px; right: -35px; }
  .footer-top, .footer-bottom { flex-direction: column; }
  .footer-top { padding-bottom: 43px; }
  .footer-links { flex-wrap: wrap; }
  .footer-bottom > span { white-space: normal; }
  .region-intro > p:not(.eyebrow) { font-size: 16px; }
}
@media (max-width: 540px) {
  .site-header { height: auto; min-height: 75px; padding-block: 16px; flex-wrap: wrap; gap: 12px; }
  .hero h1 { font-size: clamp(49px, 12.6vw, 68px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { flex: 1 1 100%; }
  .section-heading h2 { font-size: 57px; }
  .section-intro { font-size: 15px; }
  .filter-row { flex-wrap: wrap; padding: 4px; margin: -4px; }
  .cards-grid { grid-template-columns: 1fr; }
  .entry-card { min-height: 290px; }
  .directory-bottom { flex-direction: column; gap: 5px; text-align: center; }
  .how-cards { grid-template-columns: 1fr; }
  .how-card { min-height: 310px; }
  .invitation h2 { font-size: clamp(51px, 12vw, 70px); }
  .footer-links { flex-direction: column; gap: 18px; }
  .dialog-head { padding-inline: 20px; }
  .entry-dialog-body { padding-inline: 20px; }
  .add-dialog h2, .form-intro { margin-inline: 20px; }
  .add-dialog h2 span { display: none; }
  .form-required { margin-inline: 20px; }
  .add-dialog form { padding-inline: 20px; }
  .detail-comparison { grid-template-columns: 1fr; gap: 8px; }
  .detail-comparison > b, .detail-comparison > .comparison-arrow { line-height: .7; justify-self: center; transform: rotate(90deg); }
  .detail-heading { gap: 12px; }
  .detail-emblem { width: 44px; height: 44px; }
  .detail-heading { flex-direction: column-reverse; gap: 5px; }
  .detail-heading .detail-title { width: 100%; font-size: clamp(30px, 8.8vw, 44px); }
  .detail-heading .detail-emblem { align-self: flex-end; margin: 0; }
  .region-card-grid, .region-entry-grid { grid-template-columns: minmax(0, 1fr); }
  .region-intro h1 { font-size: clamp(40px, 11vw, 58px); }
  .region-hub, .region-page { padding-top: 26px; }
}
@media (max-width: 380px) {
  .site-header { height: auto; min-height: 75px; padding-block: 16px; flex-wrap: wrap; gap: 12px; }
  .site-header .brand { font-size: 25px; }
  .hero { padding-top: 40px; }
  .section-heading h2 { font-size: 47px; }
  .static-catalogue { columns: 1; }
}
@media (prefers-contrast: more) {
  :root { --control-border: var(--ink); --line: var(--muted); }
  .card-geography, .filter, .search-box, .field input, .field select, .field textarea { border-width: 2px; }
}
@media (forced-colors: active) {
  .entry-card, .entry-paper, dialog, .button, .filter, .favorite-button, .card-geography, .detail-geography { border: 1px solid CanvasText; }
  :focus-visible { outline: 3px solid Highlight; }
  .search-box:focus-within { outline-color: Highlight; }
  .favorite-button[aria-pressed="true"], .filter.is-active { outline: 2px solid Highlight; outline-offset: -4px; }
  .card-type::before, .entry-art, .detail-emblem { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .ribbon-track { animation: none !important; transform: none !important; }
  .ribbon-toggle { display: none; }
  .button:hover, .entry-card:hover, .favorite-button:hover, .nav-cta:hover, .card-open:hover span, .toast { transform: none !important; }
}

.field-help { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.field-help a { text-underline-offset: 3px; }
.consent-field { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.6; }
.consent-field input { flex: none; width: 20px; height: 20px; margin: 2px 0; accent-color: var(--green); }
.proposal-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.proposal-preferences { min-width: 0; margin: 8px 0; padding: 18px; border: 1px solid var(--line); border-radius: 8px; display: grid; gap: 14px; }
.proposal-preferences legend { padding-inline: 5px; color: var(--ink); font-size: 13px; font-weight: 800; }
.detail-credit { margin: 20px 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
#proposal-challenge { min-width: 0; }
.button:disabled { opacity: .65; cursor: not-allowed; }
