@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    color-scheme: light;
    --ink: #171717;
    --paper: #fff;
    --orange: #ff8100;
    --orange-soft: #fff1e3;
    --muted: #77736f;
    --line: #e8e5e1;
    --surface: #f7f6f4;
    --green: #2b704b;
    --red: #a63d2e;
    --font-sans: 'Manrope', 'Segoe UI', sans-serif;
    --font-mono: 'DM Mono', Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-sans); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
::selection { color: var(--ink); background: #ffc58c; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.topbar { position: relative; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--line); }
.topbar-inner, .section-shell, .footer-inner { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.topbar-inner { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: 0; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; background: var(--orange); color: var(--ink); font-size: 21px; font-weight: 800; line-height: 1; }
.brand-dot { color: var(--orange); }
.main-nav { display: flex; align-items: center; gap: 27px; font-size: 13px; font-weight: 700; }
.main-nav > a:not(.button), .nav-logout { transition: color .18s ease; }
.main-nav > a:not(.button):hover, .nav-logout:hover { color: #c96200; }
.nav-greeting { color: var(--muted); font-size: 12px; font-weight: 500; }
.nav-form { margin: 0; }
.nav-logout { border: 0; background: none; padding: 6px 0; font-size: 13px; font-weight: 700; cursor: pointer; }
.menu-toggle { display: none; }

.button { min-height: 48px; padding: 0 19px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; border: 1px solid transparent; border-radius: 3px; font-size: 13px; font-weight: 800; cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-orange { background: var(--orange); color: var(--ink); }
.button-orange:hover { background: #ff982e; }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: #363636; }
.button-outline { border-color: #d9d5cf; background: var(--paper); color: var(--ink); }
.button-outline:hover { border-color: var(--ink); }
.button-small { min-height: 38px; padding: 0 13px; font-size: 12px; gap: 9px; }
.button-wide { width: 100%; }

.hero-wrap { overflow: hidden; background-color: #f5f4f1; background-image: linear-gradient(rgba(24, 24, 24, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(24, 24, 24, .035) 1px, transparent 1px); background-size: 40px 40px; border-bottom: 1px solid var(--line); }
.hero-grid { width: min(1160px, calc(100% - 64px)); min-height: 385px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; position: relative; }
.hero-copy { padding: 55px 0 48px; max-width: 670px; position: relative; z-index: 1; animation: enter .55s both; }
.eyebrow { margin: 0 0 13px; color: var(--muted); font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0; text-transform: uppercase; }
.eyebrow-dot { width: 8px; height: 8px; margin-right: 8px; display: inline-block; background: var(--orange); border-radius: 50%; }
h1, h2, h3, p { margin-top: 0; }
.hero-copy h1 { max-width: 650px; margin: 0; font-size: 68px; line-height: 1.03; letter-spacing: 0; font-weight: 800; }
.hero-copy h1 span { position: relative; z-index: 0; white-space: nowrap; }
.hero-copy h1 span::after { content: ''; position: absolute; left: -2px; right: -5px; bottom: 7px; height: 17px; z-index: -1; background: var(--orange); }
.hero-intro { max-width: 440px; margin: 18px 0 22px; color: #55514d; font-size: 15px; }
.hero-statline { display: flex; align-items: center; gap: 18px; color: var(--muted); font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; }
.hero-statline strong { color: var(--ink); font-family: var(--font-sans); font-size: 15px; }
.stat-separator { width: 1px; height: 18px; background: #c9c5bf; }
.hero-stamp { width: 220px; height: 220px; margin-right: 45px; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; border: 1px solid rgba(23, 23, 23, .35); border-radius: 50%; transform: rotate(9deg); }
.hero-stamp::before, .hero-stamp::after { content: ''; width: 183px; height: 183px; position: absolute; border: 1px solid rgba(23, 23, 23, .22); border-radius: 50%; }
.hero-stamp::after { width: 147px; height: 147px; border-color: var(--orange); }
.stamp-mark { z-index: 1; color: var(--orange); font-size: 91px; font-weight: 800; line-height: 1; }
.stamp-top, .stamp-bottom { z-index: 1; font-family: var(--font-mono); font-size: 8px; letter-spacing: 1px; }
.stamp-top { margin-bottom: 0; }
.stamp-bottom { margin-top: -1px; }
.search-panel { width: min(1160px, calc(100% - 64px)); min-height: 82px; margin: 0 auto -1px; padding: 13px; display: grid; grid-template-columns: 1.6fr 1fr 1fr auto; align-items: center; gap: 8px; position: relative; z-index: 2; background: var(--paper); border: 1px solid #dedad4; box-shadow: 0 15px 36px rgba(27, 26, 24, .09); }
.search-field { min-width: 0; display: flex; align-items: center; gap: 11px; padding-inline: 14px; }
.search-icon { color: #827d77; font-size: 27px; line-height: 1; }
.search-field input, .filter-field select { width: 100%; min-width: 0; height: 47px; border: 0; outline: none; background: transparent; color: var(--ink); font-size: 13px; }
.search-field input::placeholder { color: #8a8580; }
.filter-field { padding-inline: 13px; border-left: 1px solid var(--line); }
.filter-field select { cursor: pointer; }
.search-submit { min-width: 135px; }

.directory-section { padding-top: 72px; padding-bottom: 80px; }
.section-heading, .page-heading-row, .dashboard-list-heading, .admin-list-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-heading { margin-bottom: 24px; }
.section-heading .eyebrow, .page-heading .eyebrow, .dashboard-list-heading .eyebrow { margin-bottom: 5px; }
.section-heading h2, .category-inner h2, .dashboard-list-heading h2, .admin-list-heading h2 { margin: 0; font-size: 26px; line-height: 1.25; font-weight: 800; }
.result-count, .dashboard-list-heading > span, .admin-list-heading > span { color: var(--muted); font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; }
.filter-summary { margin: -8px 0 20px; color: var(--muted); font-size: 13px; }
.filter-summary a { margin-left: 10px; color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }
.site-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.site-card { min-height: 242px; padding: 21px; display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--paper); animation: enter .45s both; animation-delay: calc(var(--card-index, 0) * 45ms); transition: border-color .2s ease, transform .2s ease; }
.site-card:hover { border-color: var(--orange); transform: translateY(-3px); }
.site-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.site-monogram { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; background: var(--orange-soft); color: #a84f00; font-size: 18px; font-weight: 800; }
.category-label { padding: 5px 9px; background: #f4f2ef; color: #615d58; font-family: var(--font-mono); font-size: 9px; line-height: 1.2; text-transform: uppercase; }
.site-card h3 { margin: 17px 0 7px; font-size: 17px; line-height: 1.35; font-weight: 800; }
.site-card h3 a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }
.site-card > p { margin-bottom: 15px; color: #6e6963; font-size: 12px; line-height: 1.65; }
.site-card-bottom { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #efedeb; }
.site-domain { overflow: hidden; color: var(--muted); font-family: var(--font-mono); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.round-link { width: 27px; height: 27px; display: grid; place-items: center; background: var(--orange); border-radius: 50%; font-size: 14px; transition: transform .2s ease; }
.round-link:hover { transform: rotate(45deg); }
.empty-state { padding: 54px 24px; text-align: center; border: 1px dashed #d7d2cc; background: #fbfaf9; }
.empty-mark { width: 40px; height: 40px; margin: 0 auto 12px; display: grid; place-items: center; background: var(--orange); font-family: var(--font-mono); font-size: 21px; }
.empty-state h3 { margin-bottom: 5px; font-size: 17px; }
.empty-state p { margin: 0 auto 20px; max-width: 430px; color: var(--muted); font-size: 13px; }
.category-band { padding: 46px 0; background: var(--ink); color: var(--paper); }
.category-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; }
.category-inner .eyebrow { color: #aaa6a0; }
.category-inner h2 { font-size: 22px; }
.category-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 25px; }
.category-links a { min-height: 45px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #3c3b39; font-size: 12px; transition: color .2s ease; }
.category-links a:hover { color: var(--orange); }
.category-count { color: #aaa6a0; font-family: var(--font-mono); font-size: 10px; }

.site-footer { padding: 25px 0; background: #f6f5f3; border-top: 1px solid var(--line); }
.footer-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand-footer { font-size: 15px; }
.brand-footer .brand-mark { width: 29px; height: 29px; font-size: 17px; }
.footer-inner > span, .footer-inner > a:last-child { color: var(--muted); font-size: 11px; }
.footer-inner > a:last-child { color: var(--ink); font-weight: 700; }
.flash { width: min(1160px, calc(100% - 64px)); margin: 14px auto 0; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-left: 3px solid var(--orange); background: var(--orange-soft); font-size: 13px; }
.flash-error { border-color: var(--red); background: #fbefed; }
.flash-close { border: 0; background: none; font-size: 20px; cursor: pointer; }

.detail-shell { min-height: 570px; padding-top: 44px; padding-bottom: 80px; }
.back-link { display: inline-block; margin-bottom: 26px; color: var(--muted); font-size: 12px; font-weight: 700; }
.back-link:hover { color: var(--ink); }
.site-detail { max-width: 760px; margin-inline: auto; padding: 46px 55px; border: 1px solid var(--line); position: relative; }
.detail-topline { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.detail-date { color: var(--muted); font-family: var(--font-mono); font-size: 10px; }
.detail-monogram { width: 60px; height: 60px; margin-top: 42px; font-size: 27px; }
.site-detail h1 { margin: 14px 0 2px; font-size: 42px; line-height: 1.15; letter-spacing: 0; }
.detail-domain { margin: 0; color: var(--muted); font-family: var(--font-mono); font-size: 12px; }
.detail-description { margin: 28px 0; color: #504c47; font-size: 15px; line-height: 1.9; white-space: normal; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list a { padding: 6px 10px; background: var(--surface); color: #59544e; font-family: var(--font-mono); font-size: 10px; }
.detail-actions { margin-top: 36px; padding-top: 23px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); }
.detail-curator { color: var(--muted); font-size: 11px; }

.auth-shell { min-height: 650px; display: grid; grid-template-columns: 1fr 1fr; }
.auth-aside { padding: 80px max(50px, calc((100vw - 1160px) / 2)); padding-right: 70px; position: relative; overflow: hidden; background: var(--ink); color: var(--paper); }
.auth-aside .eyebrow { color: #c6c1bb; }
.auth-aside h1 { max-width: 480px; margin: 45px 0 17px; font-size: 42px; line-height: 1.15; }
.auth-aside > p:last-of-type { max-width: 400px; color: #c2beb9; font-size: 14px; }
.auth-aside-mark { position: absolute; right: -19px; bottom: -121px; color: var(--orange); font-size: 350px; font-weight: 800; line-height: .9; opacity: .95; }
.auth-form-wrap { width: min(420px, calc(100% - 64px)); margin: auto; padding: 60px 0; }
.auth-form-wrap h2 { margin: 0 0 27px; font-size: 29px; }
.form-stack { display: flex; flex-direction: column; gap: 20px; }
.form-stack > label { display: flex; flex-direction: column; gap: 7px; font-size: 12px; font-weight: 800; }
.form-stack input:not([type=checkbox]), .form-stack select, .form-stack textarea, .admin-create-form input, .inline-edit-form input, .moderation-form > input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #dcd8d2; border-radius: 2px; outline: none; background: var(--paper); color: var(--ink); font-size: 13px; }
.form-stack textarea { resize: vertical; min-height: 130px; }
.form-stack input:focus, .form-stack select:focus, .form-stack textarea:focus, .admin-create-form input:focus, .inline-edit-form input:focus, .moderation-form > input:focus { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(255, 129, 0, .12); }
.field-hint { color: var(--muted); font-size: 10px; font-weight: 500; }
.auth-switch { margin: 22px 0 0; color: var(--muted); font-size: 12px; }
.auth-switch a { color: var(--ink); font-weight: 800; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }

.dashboard-shell, .admin-shell { padding-top: 57px; padding-bottom: 80px; }
.page-heading { margin-bottom: 28px; }
.page-heading h1, .form-page-heading h1 { margin: 0 0 8px; font-size: 39px; line-height: 1.18; }
.page-heading > p:last-child, .form-page-heading > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 13px; }
.page-heading-row { align-items: center; }
.page-heading-row > div > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 13px; }
.metric-strip { margin: 29px 0 38px; padding: 21px 25px; display: flex; gap: 65px; background: var(--surface); border-left: 3px solid var(--orange); }
.metric-strip > div { display: flex; flex-direction: column; }
.metric-strip strong { font-size: 24px; line-height: 1.2; }
.metric-strip span { color: var(--muted); font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; }
.dashboard-list-heading, .admin-list-heading { margin-bottom: 14px; }
.dashboard-list-heading h2, .admin-list-heading h2 { font-size: 19px; }
.manage-list { border-top: 1px solid var(--line); }
.manage-row { min-height: 84px; padding: 13px 4px; display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); }
.manage-main { min-width: 0; flex: 1; }
.manage-main h3 { margin: 0 0 2px; overflow-wrap: anywhere; font-size: 14px; }
.manage-main p { margin: 0; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.rejection-note { margin-top: 5px !important; color: var(--red) !important; }
.status { width: max-content; max-width: 150px; padding: 5px 9px; background: #f2f1ef; color: #5f5a54; font-family: var(--font-mono); font-size: 9px; line-height: 1.3; text-align: center; text-transform: uppercase; }
.status-approved { background: #e8f3ec; color: var(--green); }
.status-pending { background: #fff1e3; color: #995000; }
.status-rejected, .status-disabled { background: #f9ecea; color: var(--red); }
.empty-state .button { margin-top: 3px; }

.form-page-shell { padding-top: 41px; padding-bottom: 80px; }
.form-page-heading { max-width: 670px; margin: 15px auto 30px; text-align: center; }
.form-page-heading h1 { font-size: 36px; }
.site-edit-form { max-width: 700px; margin: 0 auto; padding: 30px; border: 1px solid var(--line); }
.tag-picker { margin: 0; padding: 0; border: 0; }
.tag-picker legend { margin-bottom: 10px; font-size: 12px; font-weight: 800; }
.tag-picker legend span { color: var(--muted); font-weight: 500; }
.tag-options { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-option { cursor: pointer; }
.tag-option input { position: absolute; opacity: 0; }
.tag-option span { min-height: 34px; padding: 7px 11px; display: inline-flex; align-items: center; background: #f3f1ee; color: #605b55; font-family: var(--font-mono); font-size: 10px; transition: background .18s ease, color .18s ease; }
.tag-option input:checked + span { background: var(--ink); color: var(--paper); }
.tag-option input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.form-footer { margin-top: 3px; padding-top: 17px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); }
.form-footer p { max-width: 350px; margin: 0; color: var(--muted); font-size: 11px; }

.admin-metrics { margin: 25px 0 30px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.admin-metrics > div { min-height: 84px; padding: 15px 18px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); }
.admin-metrics > div:last-child { border-right: 0; }
.admin-metrics span { color: var(--muted); font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; }
.admin-metrics strong { font-size: 23px; line-height: 1; }
.admin-tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); }
.admin-tabs a { padding: 12px 1px; color: var(--muted); font-size: 12px; font-weight: 700; }
.admin-tabs a.active { color: var(--ink); border-bottom: 2px solid var(--orange); }
.admin-list-heading { margin-top: 24px; }
.admin-site-list { border-top: 1px solid var(--line); }
.admin-site-row { padding: 20px 0; border-bottom: 1px solid var(--line); }
.admin-site-summary { display: flex; align-items: center; gap: 13px; }
.admin-site-summary > div { min-width: 0; flex: 1; }
.admin-site-summary h3 { margin: 0 0 2px; font-size: 14px; }
.admin-site-summary p { margin: 0; color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.admin-site-summary p a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 2px; }
.admin-description { max-width: 780px; margin: 13px 0 13px 55px; color: #6d6862; font-size: 11px; }
.admin-site-actions { min-height: 38px; margin-left: 55px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.admin-site-actions form { margin: 0; }
.moderation-form { display: flex; align-items: center; gap: 7px; }
.moderation-form > input { width: 210px; min-height: 36px; padding: 6px 9px; font-size: 11px; }
.text-action { padding: 5px 2px; border: 0; background: none; color: #5e5953; font-size: 11px; font-weight: 700; text-decoration: underline; text-decoration-color: #d9d4ce; text-underline-offset: 3px; cursor: pointer; }
.text-action:hover { color: #a84f00; text-decoration-color: var(--orange); }
.admin-create-form { margin: 18px 0 20px; display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 8px; }
.admin-create-form:has(input[name=nom]:only-of-type) { grid-template-columns: 1fr auto; }
.admin-create-form input { min-height: 40px; font-size: 11px; }
.inline-edit-form { display: flex; align-items: center; gap: 7px; }
.inline-edit-form input { min-height: 35px; padding: 6px 8px; font-size: 11px; }
.inline-edit-form input:first-of-type { max-width: 200px; font-weight: 700; }
.inline-edit-form input:nth-of-type(2) { max-width: 370px; }
.inline-edit-form.tag-edit-form input:first-of-type { max-width: 240px; }
.user-row .status { margin-left: auto; }
.empty-page { min-height: 570px; padding-top: 105px; }
.empty-page h1 { max-width: 600px; margin-bottom: 10px; font-size: 42px; line-height: 1.15; }
.empty-page > p:not(.eyebrow) { max-width: 570px; margin-bottom: 23px; color: var(--muted); font-size: 13px; }

@keyframes enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

@media (max-width: 900px) {
    .hero-stamp { width: 175px; height: 175px; margin-right: 0; }
    .hero-stamp::before { width: 148px; height: 148px; }
    .hero-stamp::after { width: 120px; height: 120px; }
    .stamp-mark { font-size: 73px; }
    .hero-copy h1 { font-size: 59px; }
    .search-panel { grid-template-columns: 1.4fr 1fr 1fr; }
    .search-submit { grid-column: 1 / -1; width: 100%; }
    .site-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .auth-aside { padding-left: 35px; }
    .auth-aside h1 { font-size: 34px; }
}
@media (max-width: 640px) {
    .topbar-inner, .section-shell, .footer-inner, .hero-grid, .search-panel { width: min(100% - 36px, 520px); }
    .topbar-inner { height: 66px; }
    .brand { font-size: 18px; }
    .brand-mark { width: 32px; height: 32px; }
    .menu-toggle { width: 40px; height: 40px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; }
    .menu-toggle span { width: 16px; height: 2px; background: var(--ink); }
    .main-nav { display: none; padding: 15px 18px 18px; position: absolute; top: 65px; left: 0; right: 0; align-items: stretch; flex-direction: column; gap: 8px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 12px 16px rgba(0, 0, 0, .07); }
    .main-nav.is-open { display: flex; }
    .main-nav > a:not(.button), .nav-greeting, .nav-logout { padding: 8px 0; }
    .main-nav .button { align-self: flex-start; }
    .nav-form { align-self: flex-start; }
    .hero-grid { min-height: 310px; }
    .hero-copy { padding: 40px 0 34px; }
    .hero-copy h1 { font-size: 45px; }
    .hero-copy h1 span::after { bottom: 4px; height: 11px; }
    .hero-intro { max-width: 340px; margin: 13px 0 18px; font-size: 13px; }
    .hero-statline { gap: 10px; font-size: 8px; }
    .hero-statline strong { font-size: 13px; }
    .hero-stamp { width: 79px; height: 79px; margin: 0 0 0 -88px; align-self: flex-start; transform: translateY(165px) rotate(9deg); }
    .hero-stamp::before { width: 66px; height: 66px; }
    .hero-stamp::after { width: 52px; height: 52px; }
    .stamp-mark { font-size: 37px; }
    .stamp-top, .stamp-bottom { display: none; }
    .search-panel { margin-bottom: 0; padding: 10px; grid-template-columns: 1fr 1fr; gap: 4px; }
    .search-field { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
    .search-field input { height: 43px; }
    .filter-field { padding-inline: 6px; border-left: 0; }
    .filter-field select { height: 42px; font-size: 11px; }
    .search-submit { grid-column: 1 / -1; min-height: 42px; }
    .directory-section { padding-top: 48px; padding-bottom: 50px; }
    .section-heading h2 { font-size: 22px; }
    .site-grid { grid-template-columns: 1fr; gap: 10px; }
    .site-card { min-height: 218px; padding: 17px; }
    .category-band { padding: 35px 0; }
    .category-inner { grid-template-columns: 1fr; gap: 15px; }
    .category-inner h2 { font-size: 20px; }
    .category-links { grid-template-columns: 1fr; }
    .footer-inner { align-items: flex-start; flex-wrap: wrap; gap: 12px 20px; }
    .footer-inner > span { order: 3; width: 100%; }
    .flash { width: calc(100% - 36px); }
    .site-detail { padding: 27px 20px; }
    .detail-shell { padding-top: 27px; padding-bottom: 50px; }
    .detail-monogram { margin-top: 30px; }
    .site-detail h1 { font-size: 33px; }
    .detail-actions { align-items: flex-start; flex-direction: column; }
    .auth-shell { min-height: 0; grid-template-columns: 1fr; }
    .auth-aside { min-height: 260px; padding: 35px 25px; }
    .auth-aside h1 { max-width: 360px; margin: 24px 0 9px; font-size: 29px; }
    .auth-aside > p:last-of-type { max-width: 330px; font-size: 12px; }
    .auth-aside-mark { right: -3px; bottom: -57px; font-size: 195px; opacity: .5; }
    .auth-form-wrap { width: calc(100% - 44px); padding: 37px 0 48px; }
    .dashboard-shell, .admin-shell { padding-top: 38px; padding-bottom: 55px; }
    .page-heading-row { align-items: flex-start; flex-direction: column; }
    .page-heading h1 { font-size: 31px; }
    .metric-strip { margin: 22px 0 30px; padding: 16px; justify-content: space-between; gap: 10px; }
    .metric-strip strong { font-size: 20px; }
    .metric-strip span { font-size: 8px; }
    .manage-row { flex-wrap: wrap; gap: 10px; }
    .manage-row .manage-main { flex-basis: calc(100% - 55px); }
    .manage-row > .status { margin-left: 52px; }
    .form-page-shell { padding-top: 27px; padding-bottom: 50px; }
    .form-page-heading { margin-top: 10px; }
    .form-page-heading h1 { font-size: 29px; }
    .site-edit-form { padding: 20px 16px; }
    .form-footer { align-items: stretch; flex-direction: column; }
    .form-footer .button { width: 100%; }
    .admin-metrics { grid-template-columns: repeat(2, 1fr); }
    .admin-metrics > div:nth-child(2) { border-right: 0; }
    .admin-metrics > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .admin-tabs { gap: 17px; overflow-x: auto; }
    .admin-tabs a { flex: 0 0 auto; }
    .admin-site-summary { align-items: flex-start; flex-wrap: wrap; }
    .admin-site-summary > div { flex-basis: calc(100% - 58px); }
    .admin-site-summary > .status { margin-left: 55px; }
    .admin-description, .admin-site-actions { margin-left: 0; }
    .admin-site-actions { align-items: flex-start; flex-direction: column; }
    .moderation-form { width: 100%; flex-wrap: wrap; }
    .moderation-form > input { flex: 1 1 100%; width: 100%; }
    .admin-create-form { grid-template-columns: 1fr; }
    .admin-create-form:has(input[name=nom]:only-of-type) { grid-template-columns: 1fr; }
    .admin-create-form .button { width: 100%; }
    .inline-edit-form { align-items: stretch; flex-wrap: wrap; }
    .inline-edit-form input:first-of-type, .inline-edit-form input:nth-of-type(2), .inline-edit-form.tag-edit-form input:first-of-type { max-width: none; }
    .manage-row > .category-count { margin-left: 0; }
    .user-row .status { margin-left: 0; }
    .empty-page { min-height: 450px; padding-top: 75px; }
    .empty-page h1 { font-size: 34px; }
}
