/* ============================================================
   OBJECTIFNATATION · CSS commun — règles partagées par 20 pages ou plus,
   extraites des styles inline (déduplication automatique).
   Chargé AVANT les <style> de chaque page : toute variante
   locale conserve donc la priorité de cascade.
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }
.serif { font-family: 'Fraunces', Georgia, serif; }
.admin-nav-tabs { display: flex; gap: 4px; margin-left: 18px; }
.admin-tab:hover { color: var(--text-on-dark); background: rgba(246,241,232,.06); }
.admin-tab.active { color: var(--text-on-dark); background: rgba(200,150,90,.16); }
.admin-sections-wrap { position: relative; }
.admin-sections-btn { padding: 8px 14px; border-radius: 8px; background: transparent; border: none; color: rgba(246,241,232,.6); font-size: 13px; font-weight: 500; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: all .15s; }
.admin-sections-btn:hover { color: var(--text-on-dark); background: rgba(246,241,232,.06); }
.admin-sections-btn.open { color: var(--text-on-dark); background: rgba(200,150,90,.16); }
.admin-sections-btn .chev { display: inline-block; transition: transform .2s; font-size: 10px; margin-top: 1px; }
.admin-sections-btn.open .chev { transform: rotate(180deg); }
.admin-mega { position: absolute; top: calc(100% + 12px); left: -16px; width: 560px; background: var(--white); border: 1px solid var(--ink-line); border-radius: 14px; box-shadow: 0 24px 60px rgba(10,31,46,.22); z-index: 110; opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transition: opacity .2s, visibility .2s, transform .2s; overflow: hidden; font-family: 'Plus Jakarta Sans', sans-serif; }
.admin-mega.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.admin-mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); padding: 18px; gap: 4px; }
.admin-mega-col { padding: 0 8px; }
.admin-mega-col + .admin-mega-col { border-left: 1px solid var(--ink-line); }
.admin-mega-cat { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); padding: 4px 10px 8px; display: flex; align-items: center; gap: 6px; }
.admin-mega-cat-icon { font-size: 13px; line-height: 1; }
.admin-mega-link { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); transition: background .12s; }
.admin-mega-link:hover { background: var(--cream); }
.admin-mega-link.active { background: rgba(178,58,74,.08); color: var(--admin); }
.admin-mega-link.active .admin-mega-link-name { font-weight: 600; }
.admin-mega-link-icon { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 14px; }
.admin-mega-link-icon.i-mns { background: rgba(61,127,163,.14); color: var(--water-deep); }
.admin-mega-link-icon.i-users { background: rgba(196,122,122,.14); color: var(--rose); }
.admin-mega-link-icon.i-lessons { background: rgba(107,166,201,.16); color: var(--water); }
.admin-mega-link-icon.i-pools { background: rgba(46,125,95,.12); color: var(--ok); }
.admin-mega-link-icon.i-stats { background: rgba(200,150,90,.16); color: var(--gold-deep); }
.admin-mega-link-icon.i-finances { background: rgba(178,58,74,.10); color: var(--admin); }
.admin-mega-link-icon.i-settings { background: rgba(178,58,74,.10); color: var(--admin); }
.admin-mega-link-icon.i-audit { background: rgba(178,58,74,.14); color: var(--admin); }
.admin-mega-link-name { font-size: 13px; font-weight: 500; line-height: 1.2; color: var(--ink); }
.admin-mega-link-desc { font-size: 10.5px; color: var(--ink-muted); margin-top: 1px; line-height: 1.3; }
.admin-mega-foot { padding: 11px 18px; background: var(--cream); border-top: 1px solid var(--ink-line); font-size: 11px; color: var(--ink-muted); display: flex; align-items: center; gap: 8px; }
.admin-mega-foot kbd { background: var(--white); border: 1px solid var(--ink-line); padding: 1px 6px; border-radius: 4px; font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--ink); }
.admin-nav-right { display: flex; align-items: center; gap: 14px; }
.admin-pill { cursor: pointer; position: relative; transition: background .15s; }
.admin-pill:hover { background: rgba(246,241,232,.10); }
.role-popover { position: absolute; top: calc(100% + 8px); right: 0; width: 280px; background: var(--white); border: 1px solid var(--ink-line); border-radius: 12px; box-shadow: 0 16px 40px rgba(10,31,46,.18); z-index: 110; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, visibility .18s, transform .18s; overflow: hidden; font-family: 'Plus Jakarta Sans', sans-serif; }
.admin-pill.open .role-popover { opacity: 1; visibility: visible; transform: translateY(0); }
.role-popover-head { padding: 12px 16px; border-bottom: 1px solid var(--ink-line); font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.role-option { display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; cursor: pointer; border-bottom: 1px solid var(--ink-line); transition: background .12s; }
.role-option:last-child { border-bottom: none; }
.role-option:hover { background: var(--cream); }
.role-option.active { background: rgba(200,150,90,.08); }
.role-radio { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--ink-line); margin-top: 1px; flex-shrink: 0; position: relative; }
.role-option.active .role-radio { border-color: var(--admin); }
.role-option.active .role-radio::after { content: ''; position: absolute; top: 2px; left: 2px; width: 8px; height: 8px; border-radius: 50%; background: var(--admin); }
.role-info { flex: 1; }
.role-name { font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.role-desc { font-size: 11px; color: var(--ink-muted); margin-top: 2px; line-height: 1.4; }
.admin-pill-role { font-size: 10px; color: var(--gold-soft); letter-spacing: .08em; text-transform: uppercase; }
.btn-primary { background: var(--surface-dark); color: var(--text-on-dark); }
.btn-primary:hover { background: var(--ink-soft); }
.notif-wrap { position: relative; }
.notif-bell { width: 36px; height: 36px; border-radius: 50%; background: rgba(246,241,232,.06); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--text-on-dark); transition: background .15s, transform .15s; position: relative; font-family: inherit; }
.notif-bell:hover { background: rgba(246,241,232,.12); }
.notif-bell:active { transform: scale(0.96); }
.notif-bell.has-unread::after { content: attr(data-count); position: absolute; top: 4px; right: 4px; min-width: 16px; height: 16px; border-radius: 100px; background: var(--admin); color: var(--text-on-dark); font-size: 9px; font-weight: 700; font-family: 'Plus Jakarta Sans', sans-serif; display: flex; align-items: center; justify-content: center; padding: 0 4px; border: 2px solid var(--ink); box-sizing: content-box; animation: notif-pulse-bell 2.4s infinite; }
.notif-wrap.open .notif-panel { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.notif-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--ink-line); flex-shrink: 0; }
.notif-panel-title { font-family: 'Fraunces', serif; font-size: 16px; font-weight: 500; color: var(--ink); }
.notif-mark-read { font-size: 11px; font-weight: 600; color: var(--ink-muted); background: transparent; border: none; cursor: pointer; padding: 4px 8px; border-radius: 6px; transition: all .15s; font-family: inherit; }
.notif-mark-read:hover { color: var(--ink); background: var(--cream); }
.notif-list { overflow-y: auto; flex: 1; }
.notif-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--ink-line); cursor: pointer; transition: background .12s; position: relative; text-decoration: none; color: inherit; }
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: var(--cream); }
.notif-item.unread { background: rgba(200,150,90,.05); }
.notif-item.unread::before { content: ''; position: absolute; left: 7px; top: 18px; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.notif-icon { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 13px; }
.notif-icon.action { background: rgba(178,58,74,.12); color: var(--admin); }
.notif-icon.message { background: rgba(196,122,122,.16); color: var(--rose); }
.notif-icon.alert { background: rgba(232,134,58,.16); color: var(--warn); }
.notif-icon.success { background: rgba(46,125,95,.14); color: var(--ok); }
.notif-icon.info { background: rgba(107,166,201,.16); color: var(--water-deep); }
.notif-icon.payment { background: rgba(200,150,90,.16); color: var(--gold-deep); }
.notif-content { flex: 1; min-width: 0; }
.notif-title { font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.notif-text { font-size: 12px; color: var(--ink-muted); line-height: 1.4; margin-top: 3px; }
.notif-meta { font-size: 10.5px; color: var(--ink-muted); margin-top: 4px; font-family: 'JetBrains Mono', monospace; }
.notif-empty { padding: 28px 20px; text-align: center; font-size: 12.5px; color: var(--ink-muted); font-style: italic; }
.notif-foot { padding: 10px 18px; border-top: 1px solid var(--ink-line); text-align: center; flex-shrink: 0; background: var(--cream); }
.notif-foot a { font-size: 12px; font-weight: 600; color: var(--ink-muted); text-decoration: none; transition: color .15s; }
.notif-foot a:hover { color: var(--ink); }
[data-theme="dark"] body { background: var(--paper); color: var(--ink); }
[data-theme="dark"] ::selection { background: rgba(123,183,218,.35); color: var(--text-on-dark); }
[data-theme="dark"] *::-webkit-scrollbar { width: 10px; height: 10px; }
[data-theme="dark"] *::-webkit-scrollbar-track { background: var(--paper); }
[data-theme="dark"] *::-webkit-scrollbar-thumb { background: var(--ink-line); border-radius: 5px; }
[data-theme="dark"] *::-webkit-scrollbar-thumb:hover { background: var(--ink-muted); }
.theme-toggle { width: 36px; height: 36px; border-radius: 50%; background: transparent; border: 1px solid var(--ink-line); color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all .15s; padding: 0; font-family: inherit; }
.theme-toggle:hover { background: var(--cream); border-color: var(--ink-soft); }
.admin-nav-right .theme-toggle { background: rgba(232,228,218,.06); border-color: rgba(232,228,218,.18); color: var(--text-on-dark); }
.admin-nav-right .theme-toggle:hover { background: rgba(232,228,218,.14); border-color: rgba(232,228,218,.32); }
body.no-nav-toggle .theme-toggle { position: fixed; bottom: 20px; right: 20px; z-index: 9999; width: 44px; height: 44px; background: var(--white); box-shadow: 0 4px 12px rgba(10,31,46,.12); }
body.no-nav-toggle .theme-toggle:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(10,31,46,.18); }
[data-theme="dark"] body.no-nav-toggle .theme-toggle { background: var(--cream); border-color: var(--ink-line); box-shadow: 0 4px 12px rgba(0,0,0,.4); }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .field-select, [data-theme="dark"] select.field-input { background-image: url("data:image/svg+xml; charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23E8E4DA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e") !important; background-repeat: no-repeat !important; background-position: right 12px center !important; }
.nav-right .theme-toggle { background: transparent; }
.theme-toggle + .nav-exit, .theme-toggle + .nav-back { margin-left: 4px; }
.nav-inner { display: flex; align-items: center; }
html { overflow-x: hidden; scroll-behavior: smooth; }
[data-theme="dark"] .nav, [data-theme="dark"] .site-nav, [data-theme="dark"] nav.nav, [data-theme="dark"] .navbar { background: rgba(10,26,42,.85) !important; border-bottom-color: var(--ink-line); }
.site-footer-col ul { list-style: none; padding: 0; margin: 0; }
.site-footer-col li { margin-bottom: 10px; }
header [class*="-header-row"] .theme-toggle { background: rgba(232,228,218,.06); border-color: rgba(232,228,218,.18); color: var(--cream, #F6F1E8); width: 32px; height: 32px; }
header [class*="-header-row"] .theme-toggle:hover { background: rgba(232,228,218,.14); border-color: rgba(232,228,218,.32); }
header [class*="-header-row"] .theme-toggle .icon-moon, header [class*="-header-row"] .theme-toggle .icon-sun { width: 15px; height: 15px; }
[data-theme="dark"] header[class*="-header"], [data-theme="dark"] .cg-header, [data-theme="dark"] .cf-header, [data-theme="dark"] .ag-header, [data-theme="dark"] .pr-header, [data-theme="dark"] .fa-header, [data-theme="dark"] .fact-header, [data-theme="dark"] .bv-header, [data-theme="dark"] .av-header, [data-theme="dark"] .cr-header { background: var(--surface-dark, #050E18) !important; }
[data-theme="dark"] .site-footer { background: var(--surface-dark, #050E18) !important; }
[data-theme="dark"] .pr-next { background: var(--surface-dark, #050E18) !important; color: var(--cream) !important; }
[data-theme="dark"] .cg-empty-cta, [data-theme="dark"] .ag-empty-cta, [data-theme="dark"] .pr-empty-cta, [data-theme="dark"] .cf-btn-primary, [data-theme="dark"] .cg-btn-primary, [data-theme="dark"] .cr-btn-primary, [data-theme="dark"] .ag-cta, [data-theme="dark"] .bv-cta { background: var(--gold) !important; color: var(--ink) !important; }
[data-theme="dark"] .cg-empty-cta:hover, [data-theme="dark"] .ag-empty-cta:hover, [data-theme="dark"] .pr-empty-cta:hover, [data-theme="dark"] .cf-btn-primary:hover, [data-theme="dark"] .cg-btn-primary:hover, [data-theme="dark"] .cr-btn-primary:hover, [data-theme="dark"] .ag-cta:hover, [data-theme="dark"] .bv-cta:hover { background: var(--gold-soft) !important; }
.logo { font-family: 'Fraunces', serif; font-size: 22px; letter-spacing: .06em; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.site-footer { background: var(--surface-dark, #0A1F2E); color: rgba(246,241,232,.55); padding: 70px 0 40px; margin-top: auto; position: relative; z-index: 5; font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif; font-size: 16px; line-height: 1.6; }
.site-footer-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px; box-sizing: border-box; }
.site-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.site-footer-logo { font-family: 'Fraunces', Georgia, serif; font-size: 22px; letter-spacing: .06em; color: var(--cream, #F6F1E8); text-decoration: none; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.site-footer-logo-mark { width: 28px; height: 28px; border-radius: 50%; background: var(--cream, #F6F1E8); position: relative; overflow: hidden; flex-shrink: 0; }
.site-footer-logo-mark::before { content: ''; position: absolute; top: 5px; left: 5px; width: 18px; height: 18px; border: 1.5px solid var(--gold, #C8965A); border-radius: 50%; border-right-color: transparent; border-bottom-color: transparent; transform: rotate(-45deg); }
.site-footer-tagline { font-family: 'Fraunces', Georgia, serif; font-style: italic; color: rgba(246,241,232,.5); font-size: 14px; max-width: 300px; line-height: 1.6; margin: 0; }
.site-footer-tagline em { color: var(--gold-soft, #D9B583); font-style: italic; }
.site-footer-col h4 { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft, #D9B583); font-weight: 700; margin: 0 0 18px; }
.site-footer-col a { color: rgba(246,241,232,.6); text-decoration: none; font-size: 13.5px; transition: color .2s; }
.site-footer-col a:hover { color: var(--cream, #F6F1E8); }
.site-footer-bottom { padding-top: 30px; border-top: 1px solid rgba(246,241,232,.1); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 12px; color: rgba(246,241,232,.4); }
.site-footer-bottom em { font-style: italic; color: var(--gold-soft, #D9B583); }
.site-footer-bottom-links { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer-bottom a { color: rgba(246,241,232,.4); text-decoration: none; font-size: 12px; }
.site-footer-bottom a:hover { color: var(--gold-soft, #D9B583); }
.cc-banner { position: fixed; bottom: 20px; left: 20px; right: 20px; z-index: 9998; background: var(--white, #fff); border: 1px solid var(--ink-line, rgba(10,31,46,.1)); border-radius: 18px; box-shadow: 0 8px 32px rgba(10,31,46,.18); padding: 22px 26px; max-width: 1200px; margin: 0 auto; font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif; animation: ccSlideUp .4s cubic-bezier(.2,.9,.3,1); }
.cc-banner[hidden] { display: none; }
.cc-banner-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.cc-banner-content { display: flex; gap: 18px; align-items: flex-start; }
.cc-banner-icon { width: 48px; height: 48px; background: var(--cream, #F6F1E8); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.cc-banner-text h3 { font-family: 'Fraunces', Georgia, serif; font-size: 18px; font-weight: 500; color: var(--ink, #0A1F2E); margin: 0 0 4px; letter-spacing: -.01em; }
.cc-banner-text p { font-size: 13.5px; color: var(--ink-muted, #3A5573); line-height: 1.55; margin: 0; max-width: 600px; }
.cc-banner-text a { color: var(--gold-deep, #9E6F3E); border-bottom: 1px dashed var(--gold, #C8965A); text-decoration: none; font-weight: 600; }
.cc-banner-text a:hover { color: var(--ink, #0A1F2E); }
.cc-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cc-btn { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13.5px; font-weight: 600; padding: 11px 20px; border-radius: 100px; border: 1px solid transparent; cursor: pointer; transition: all .2s; white-space: nowrap; font-family: inherit; }
.cc-btn-ghost { background: transparent; color: var(--ink-muted, #3A5573); }
.cc-btn-ghost:hover { color: var(--ink, #0A1F2E); }
.cc-btn-secondary { background: var(--paper, #FAF7F0); color: var(--ink, #0A1F2E); border-color: var(--ink-line, rgba(10,31,46,.1)); }
.cc-btn-secondary:hover { border-color: rgba(10,31,46,.3); }
.cc-btn-primary { background: var(--surface-dark, #0A1F2E); color: var(--cream, #F6F1E8); }
.cc-btn-primary:hover { background: var(--ink-soft, #15314A); }
.cc-modal-overlay { position: fixed; inset: 0; z-index: 9999; background: rgba(10,31,46,.5); display: flex; align-items: center; justify-content: center; padding: 20px; animation: ccFadeIn .2s ease; }
.cc-modal-overlay[hidden] { display: none; }
.cc-modal { background: var(--white, #fff); border-radius: 22px; max-width: 580px; width: 100%; max-height: 85vh; display: flex; flex-direction: column; font-family: 'Plus Jakarta Sans', sans-serif; box-shadow: 0 20px 60px rgba(10,31,46,.3); animation: ccScaleIn .25s cubic-bezier(.2,.9,.3,1); }
.cc-modal-header { padding: 32px 32px 24px; border-bottom: 1px solid var(--ink-line, rgba(10,31,46,.1)); position: relative; }
.cc-modal-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep, #9E6F3E); margin-bottom: 12px; }
.cc-modal-header h2 { font-family: 'Fraunces', Georgia, serif; font-size: 26px; font-weight: 400; color: var(--ink, #0A1F2E); letter-spacing: -.02em; margin: 0 0 10px; line-height: 1.15; }
.cc-modal-header h2 em { font-style: italic; color: var(--gold-deep, #9E6F3E); }
.cc-modal-header p { font-size: 14px; color: var(--ink-muted, #3A5573); line-height: 1.55; margin: 0; }
.cc-modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border: none; background: var(--paper, #FAF7F0); color: var(--ink-muted, #3A5573); border-radius: 50%; cursor: pointer; font-size: 22px; font-weight: 300; line-height: 1; display: flex; align-items: center; justify-content: center; transition: all .15s; font-family: inherit; }
.cc-modal-close:hover { background: var(--surface-dark, #0A1F2E); color: var(--cream, #F6F1E8); }
.cc-modal-body { padding: 12px 32px; overflow-y: auto; flex: 1; }
.cc-category { padding: 18px 0; border-bottom: 1px solid var(--ink-line, rgba(10,31,46,.06)); }
.cc-category:last-child { border-bottom: none; }
.cc-category-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.cc-category-title { font-family: 'Fraunces', Georgia, serif; font-size: 17px; font-weight: 500; color: var(--ink, #0A1F2E); letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.cc-category-badge { display: inline-block; padding: 2px 9px; border-radius: 100px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.cc-category-badge.required { background: var(--surface-dark, #0A1F2E); color: var(--gold-soft, #D9B583); }
.cc-category-badge.optional { background: rgba(46,125,95,.14); color: var(--ok, #2E7D5F); }
.cc-category-badge.payment { background: rgba(45,106,140,.14); color: var(--water-deep, #2D6A8C); }
.cc-category-desc { font-size: 13px; color: var(--ink-muted, #3A5573); line-height: 1.55; max-width: 380px; }
.cc-toggle { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; margin-top: 4px; }
.cc-toggle input { opacity: 0; width: 0; height: 0; }
.cc-toggle-track { position: absolute; cursor: pointer; inset: 0; background: var(--ink-line, rgba(10,31,46,.18)); border-radius: 100px; transition: background .25s; }
.cc-toggle-track::before { content: ''; position: absolute; height: 18px; width: 18px; left: 3px; bottom: 3px; background: var(--white, #fff); border-radius: 50%; transition: transform .25s; box-shadow: 0 1px 3px rgba(10,31,46,.2); }
.cc-toggle input:checked + .cc-toggle-track { background: var(--ok, #2E7D5F); }
.cc-toggle input:checked + .cc-toggle-track::before { transform: translateX(20px); }
.cc-toggle.locked .cc-toggle-track { background: var(--surface-dark, #0A1F2E); cursor: not-allowed; opacity: .9; }
.cc-toggle.locked .cc-toggle-track::before { background: var(--gold-soft, #D9B583); transform: translateX(20px); }
.cc-modal-footer { padding: 22px 32px 28px; border-top: 1px solid var(--ink-line, rgba(10,31,46,.1)); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.cc-modal-link { font-size: 13px; color: var(--gold-deep, #9E6F3E); border-bottom: 1px dashed var(--gold, #C8965A); text-decoration: none; font-weight: 600; }
.cc-modal-link:hover { color: var(--ink, #0A1F2E); }
.cc-reopen { position: fixed; bottom: 20px; left: 20px; z-index: 9997; width: 44px; height: 44px; border-radius: 50%; background: var(--white, #fff); border: 1px solid var(--ink-line, rgba(10,31,46,.1)); color: var(--ink-muted, #3A5573); cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(10,31,46,.08); transition: all .2s; font-family: inherit; }
.cc-reopen[hidden] { display: none; }
.cc-reopen:hover { transform: translateY(-2px); border-color: var(--gold, #C8965A); color: var(--gold-deep, #9E6F3E); box-shadow: 0 6px 16px rgba(10,31,46,.15); }
.nav-links a:hover { color: var(--ink); }
.logo-mark::before { content: ''; position: absolute; top: 5px; left: 5px; width: 18px; height: 18px; border: 1.5px solid var(--gold); border-radius: 50%; border-right-color: transparent; border-bottom-color: transparent; transform: rotate(-45deg); }
.notif-text strong { color: var(--ink); font-weight: 600; }

/* ---- Footer harmonisé (versions canoniques, dédupliqué) ---- */
.admin-footer { margin-top: 60px; padding: 22px 32px; border-top: 1px solid var(--ink-line); font-size: 11.5px; color: var(--ink-muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; text-align: center; }
.drawer-footer { padding: 18px 28px; border-top: 1px solid var(--ink-line); background: var(--cream); display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.drawer-footer-spacer { flex: 1; }
.section-footer { display: flex; justify-content: flex-end; gap: 10px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--ink-line); flex-wrap: wrap; }
.site-footer-bottom-links a { font-size: 12px; color: rgba(246,241,232,.45); text-decoration: none; transition: color .15s; }
.site-footer-bottom-links a:hover { color: var(--cream); }
.site-footer-brand { display: flex; flex-direction: column; gap: 14px; }
.site-footer-logo-mark::after { content: ''; position: absolute; top: 6px; left: 6px; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; }

/* ---- Navigation harmonisée (versions canoniques, dédupliqué) ---- */
.logo-mark { width: 28px; height: 28px; border-radius: 50%; background: var(--surface-dark); position: relative; overflow: hidden; } /* canon 28px — décision 2026-06 */
.nav { padding: 18px 0; background: rgba(250,247,240,.9); backdrop-filter: blur(20px); border-bottom: 1px solid var(--ink-line); position: sticky; top: 0; z-index: 50; }
.nav-avatar-row { display: flex; align-items: center; gap: 12px; }
.nav-badge-pro { background: var(--surface-dark); color: var(--gold-soft); padding: 4px 10px; border-radius: 100px; font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.nav-icon-btn { width: 36px; height: 36px; border-radius: 10px; background: transparent; border: 1px solid var(--ink-line); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative; }
.nav-icon-btn:hover { border-color: rgba(10,31,46,.3); background: var(--white); }
.nav-left { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a { color: var(--ink-muted); text-decoration: none; font-size: 13.5px; font-weight: 500; padding: 6px 0; position: relative; }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-links a.active::after { content: ''; position: absolute; bottom: -16px; left: 0; right: 0; height: 2px; background: var(--surface-dark); }
.nav-msg-link { width: 36px; height: 36px; border-radius: 50%; background: var(--cream); border: 1px solid var(--ink-line); color: var(--ink); display: flex; align-items: center; justify-content: center; text-decoration: none; position: relative; transition: all .15s; }
.nav-msg-link-badge { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; border-radius: 100px; background: var(--rose); color: white; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 5px; border: 2px solid var(--paper); }
.nav-msg-link.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.nav-msg-link:active { transform: scale(0.96); }
.nav-msg-link:hover { background: var(--cream-warm); border-color: rgba(10,31,46,.18); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-user { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 100px; border: 1px solid var(--ink-line); background: var(--white); cursor: pointer; }
.nav-user-av { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #1E5FA4, #0A2540); color: var(--text-on-dark); display: flex; align-items: center; justify-content: center; font-family: 'Fraunces', serif; font-size: 13px; font-weight: 500; }
.nav-user-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--surface-dark) 0%, var(--ink-soft) 100%); color: var(--text-on-dark); display: flex; align-items: center; justify-content: center; font-family: 'Fraunces', serif; font-size: 14px; font-weight: 500; cursor: pointer; border: none; padding: 0; }
.nav-user-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.nav-user-wrap { position: relative; }

/* ---- Extraction complémentaire (10-19 pages), garde anti-fuite active ---- */
.admin-logo-mark { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; }
.admin-tab-soon { font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-soft); margin-left: 4px; opacity: .7; }
.av-hugo { background: linear-gradient(135deg, #1E5FA4, #0A2540); }
.av-lea { background: linear-gradient(135deg, #E8863A, #B85F1E); }
.av-marie { background: linear-gradient(135deg, #2E7D5F, #195038); }
.banner { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 12px; font-size: 13px; line-height: 1.5; }
.banner em { font-style: italic; color: var(--gold-deep); }
.banner strong { color: var(--ink); font-weight: 600; }
.banner-info { background: rgba(107,166,201,.08); border: 1px solid rgba(107,166,201,.25); color: var(--ink-soft); }
.banner-info svg { color: var(--water-deep); flex-shrink: 0; margin-top: 2px; }
.banner-warn { background: rgba(232,134,58,.08); border: 1px solid rgba(232,134,58,.22); color: var(--ink-soft); }
.banner-warn svg { color: var(--warm); flex-shrink: 0; margin-top: 2px; }
.btn-link { background: transparent; color: var(--ink-soft); font-size: 13px; padding: 6px 0; border: none; }
.btn-link:hover { color: var(--gold-deep); }
.btn-secondary { background: var(--white); color: var(--ink); border-color: var(--ink-line); }
.btn-secondary:hover { border-color: var(--gold); color: var(--gold-deep); }
.card-add { display: flex; align-items: center; gap: 10px; padding: 13px 16px; width: 100%; border: 1.5px dashed var(--ink-line); border-radius: 12px; background: transparent; color: var(--ink-soft); font-size: 13.5px; font-weight: 500; cursor: pointer; transition: border-color .15s, color .15s; }
.card-add svg { color: var(--gold); }
.card-add:hover { border-color: var(--gold); color: var(--gold-deep); }
.card-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--ink-line); border-radius: 12px; background: var(--white); transition: border-color .15s; }
.card-item-action { width: 32px; height: 32px; border-radius: 8px; background: var(--cream); border: none; color: var(--ink-muted); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s, color .15s; }
.card-item-action:hover { background: var(--cream-warm); color: var(--ink); }
.card-item-actions { display: flex; gap: 6px; flex-shrink: 0; }
.card-item-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--cream); color: var(--ink-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.card-item-info { flex: 1; min-width: 0; }
.card-item-sub { font-size: 12.5px; color: var(--ink-muted); margin-top: 1px; }
.card-item-tag { display: inline-block; background: var(--gold); color: var(--text-on-dark); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 100px; margin-left: 8px; }
.card-item-title { font-size: 14px; font-weight: 600; color: var(--ink); }
.card-item.is-default { border-color: var(--gold); background: linear-gradient(180deg, var(--white), rgba(200,150,90,.04)); }
.card-item:hover { border-color: var(--gold); }
.card-list { display: flex; flex-direction: column; gap: 10px; }
.cell-place { font-size: 12.5px; color: var(--ink); }
.cell-place small { display: block; color: var(--ink-muted); font-size: 11px; margin-top: 1px; }
.confirm-actions { display: flex; gap: 10px; justify-content: flex-end; }
.confirm-desc { font-size: 13.5px; color: var(--ink-muted); line-height: 1.55; margin-bottom: 22px; }
.confirm-desc strong { color: var(--ink); }
.confirm-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--admin-soft); color: var(--admin); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.confirm-modal { background: var(--white); border-radius: 16px; padding: 28px; max-width: 420px; width: 92vw; box-shadow: 0 30px 80px rgba(0,0,0,.3); transform: scale(.94); transition: transform .2s; }
.confirm-overlay { position: fixed; inset: 0; background: rgba(10,31,46,.6); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; z-index: 200; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(3px); }
.confirm-title { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.drawer-eyebrow { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--admin); margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.drawer-id { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--ink-muted); font-weight: 500; letter-spacing: 0; text-transform: none; }
.drawer-overlay { position: fixed; inset: 0; background: rgba(10,31,46,.45); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; z-index: 100; backdrop-filter: blur(2px); }
.empty-row { padding: 60px 20px; text-align: center; color: var(--ink-muted); font-style: italic; }
.fieldset { margin-bottom: 28px; }
.fieldset-title { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--ink-line); }
.fieldset:last-child { margin-bottom: 0; }
.form-block { margin-bottom: 28px; }
.form-block-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; gap: 12px; }
.form-block-hint { font-size: 12.5px; color: var(--ink-muted); }
.form-block-title { font-size: 14px; font-weight: 600; color: var(--ink); }
.form-block:last-child { margin-bottom: 0; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-input-status { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 100px; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.form-input-status.unverified { background: rgba(232,134,58,.14); color: var(--warm); }
.form-input-status.verified { background: rgba(46,125,95,.12); color: var(--ok); }
.form-input-wrap { position: relative; }
.hero-name em { font-style: italic; color: var(--gold-deep); font-weight: 400; }
.mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.mode-pick { text-align: left; padding: 18px; border-radius: 14px; background: var(--white); border: 1.5px solid var(--ink-line); cursor: pointer; transition: border-color .15s, background .15s; display: flex; align-items: flex-start; gap: 12px; }
.mode-pick-body { flex: 1; }
.mode-pick-check { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--ink-line); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; color: transparent; transition: all .15s; }
.mode-pick-desc { font-size: 12.5px; color: var(--ink-muted); line-height: 1.5; }
.mode-pick:hover { border-color: var(--gold); }
.notif-backdrop { position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100vw; height: 100vh; background: rgba(10,31,46,.32); backdrop-filter: blur(2px); z-index: 95; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.notif-close { width: 30px; height: 30px; display: grid; place-items: center; background: transparent; border: 1px solid transparent; border-radius: 50%; cursor: pointer; color: var(--ink-muted); transition: all .15s; }
.notif-close:hover { background: var(--cream); color: var(--ink); }
.notif-filter { flex-shrink: 0; padding: 6px 12px; font-family: inherit; font-size: 11.5px; font-weight: 600; color: var(--ink-muted); background: transparent; border: 1px solid transparent; border-radius: 100px; cursor: pointer; transition: all .15s; display: inline-flex; align-items: center; gap: 4px; }
.notif-filter-count { font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 100px; background: rgba(10,31,46,.08); color: var(--ink-muted); }
.notif-filter:hover { color: var(--ink); background: var(--cream); }
.notif-filters { display: flex; gap: 4px; padding: 10px 16px; border-bottom: 1px solid var(--ink-line); overflow-x: auto; flex-shrink: 0; }
.notif-group-head { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); padding: 14px 18px 6px; background: var(--cream); position: sticky; top: 0; z-index: 1; border-bottom: 1px solid var(--ink-line); }
.notif-group-head:first-child { padding-top: 12px; }
.notif-pro-tag { display: inline-block; background: rgba(46,125,95,.12); color: var(--ok); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 2px 7px; border-radius: 100px; margin-left: 6px; vertical-align: middle; }
.notif-row-protected td:first-child { background: linear-gradient(90deg, rgba(46,125,95,.04) 0%, transparent 100%); }
.notif-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.notif-table .notif-row-desc { display: block; font-size: 12px; color: var(--ink-muted); font-weight: 400; margin-top: 2px; }
.notif-table tbody td { padding: 14px 12px; border-bottom: 1px solid var(--ink-line); vertical-align: middle; }
.notif-table tbody td:first-child { color: var(--ink); font-size: 13.5px; font-weight: 500; }
.notif-table tbody td:not(:first-child) { text-align: center; }
.notif-table tbody tr:last-child td { border-bottom: none; }
.notif-table thead th { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); padding: 10px 12px; border-bottom: 1px solid var(--ink-line); }
.notif-table thead th:first-child { text-align: left; }
.notif-table-wrap { overflow-x: auto; margin: 0 -8px; padding: 0 8px; }
.page-title em { font-style: italic; color: var(--gold-deep); }
.panel-link:hover { color: var(--ink); }
.panel-meta { font-size: 12px; color: var(--ink-muted); font-weight: 500; letter-spacing: .04em; margin-top: 4px; }
.panel-title { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 500; color: var(--ink); letter-spacing: -.01em; }
.panel-title em { font-style: italic; color: var(--gold-deep); }
.params-back { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 100px; background: var(--cream); color: var(--ink-soft); font-size: 12.5px; font-weight: 500; margin-bottom: 18px; transition: background .15s, color .15s; }
.params-back:hover { background: var(--cream-warm); color: var(--ink); }
.params-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 10px; }
.params-grid { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
.params-head { margin-bottom: 28px; }
.params-main { background: var(--white); border: 1px solid var(--ink-line); border-radius: 18px; padding: 36px 40px; box-shadow: var(--shadow-soft); min-height: 600px; }
.params-nav { display: flex; flex-direction: column; gap: 2px; }
.params-nav-icon { flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.params-nav-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 10px; color: var(--ink-soft); background: transparent; border: none; font-size: 13.5px; font-weight: 500; text-align: left; width: 100%; cursor: pointer; transition: background .15s, color .15s; white-space: nowrap; }
.params-nav-item:hover { background: var(--cream); color: var(--ink); }
.params-section { display: none; }
.params-side { position: sticky; top: 90px; background: var(--white); border: 1px solid var(--ink-line); border-radius: 18px; padding: 12px; box-shadow: var(--shadow-soft); }
.params-sub { font-size: 14.5px; color: var(--ink-muted); max-width: 560px; }
.params-title em { font-style: italic; color: var(--gold-deep); }
.params-wrap { max-width: 1400px; margin: 0 auto; padding: 32px 28px 80px; }
.print-only { display: none; }
.row-action { width: 30px; height: 30px; border-radius: 7px; background: transparent; border: 1px solid var(--ink-line); color: var(--ink-muted); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .15s; }
.row-action:hover { border-color: var(--ink); color: var(--ink); }
.row-actions { display: flex; gap: 4px; justify-content: flex-end; }
.section-desc { font-size: 14px; color: var(--ink-muted); line-height: 1.55; }
.session-note-icon { color: var(--warn); flex-shrink: 0; }
.sw-av-emma { background: linear-gradient(135deg, var(--rose), #8B4444); }
.sw-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 100px; cursor: pointer; font-size: 13px; font-weight: 500; color: var(--ink-muted); transition: all .2s; }
.sw-chip-av { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Fraunces', serif; font-size: 12px; font-weight: 500; color: var(--text-on-dark); }
.sw-chip:hover { color: var(--ink); }
.swimmer-info { flex: 1; min-width: 0; }
.swimmer-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--ink-line); border-radius: 12px; background: var(--white); transition: border-color .15s; }
.swimmer-item:hover { border-color: var(--gold); }
.swimmer-meta { font-size: 12.5px; color: var(--ink-muted); margin-top: 1px; }
.swimmer-switch { display: flex; gap: 6px; padding: 4px; background: var(--white); border: 1px solid var(--ink-line); border-radius: 100px; }
.table-wrap { background: var(--white); border: 1px solid var(--ink-line); border-radius: 14px; overflow: hidden; }
.tb-count { font-size: 12.5px; color: var(--ink-muted); margin-right: 6px; }
.tb-count strong { color: var(--ink); font-weight: 600; }
.tb-filter { padding: 10px 14px; border: 1px solid var(--ink-line); border-radius: 10px; background: var(--paper); font-family: inherit; font-size: 13px; color: var(--ink); cursor: pointer; appearance: none; -webkit-appearance: none; -moz-appearance: none; padding-right: 30px; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7E8E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 10px center; }
.tb-filter:focus { outline: none; border-color: var(--ink); }
.tb-search { position: relative; flex: 1 1 280px; min-width: 240px; max-width: 380px; }
.tb-search input { width: 100%; padding: 10px 14px 10px 38px; border: 1px solid var(--ink-line); border-radius: 10px; font-family: inherit; font-size: 13.5px; background: var(--paper); color: var(--ink); }
.tb-search input:focus { outline: none; border-color: var(--ink); }
.tb-search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-muted); pointer-events: none; }
.tb-spacer { flex: 1; }
.toast-icon { width: 20px; height: 20px; border-radius: 50%; background: var(--ok); color: var(--text-on-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--ink-line); gap: 14px; flex-wrap: wrap; }
.toggle-row-desc { font-size: 12.5px; color: var(--ink-muted); margin-top: 2px; }
.toggle-row-info { flex: 1; min-width: 0; }
.toggle-row-title { font-size: 14px; font-weight: 500; color: var(--ink); }
.toggle-row:last-child { border-bottom: none; }
.user-menu { position: absolute; top: calc(100% + 12px); right: 0; width: 320px; background: var(--white); border: 1px solid var(--ink-line); border-radius: 16px; box-shadow: 0 16px 40px rgba(10,31,46,.14), 0 4px 12px rgba(10,31,46,.06); z-index: 100; opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top right; transition: opacity .18s, visibility .18s, transform .18s; overflow: hidden; }
.user-menu-av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--surface-dark) 0%, var(--ink-soft) 100%); color: var(--text-on-dark); display: flex; align-items: center; justify-content: center; font-family: 'Fraunces', serif; font-size: 17px; font-weight: 500; flex-shrink: 0; }
.user-menu-chev { color: var(--ink-line); flex-shrink: 0; transition: transform .15s, color .15s; }
.user-menu-edit { width: 30px; height: 30px; border-radius: 50%; background: var(--white); border: 1px solid var(--ink-line); color: var(--ink-muted); display: flex; align-items: center; justify-content: center; flex-shrink: 0; text-decoration: none; transition: color .15s, border-color .15s; }
.user-menu-edit:hover { color: var(--gold-deep); border-color: var(--gold); }
.user-menu-email { font-size: 12px; color: var(--ink-muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-menu-foot { display: flex; flex-direction: column; background: var(--cream); padding: 4px 0; }
.user-menu-group { padding: 8px 0; border-bottom: 1px solid var(--ink-line); }
.user-menu-group-lbl { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); padding: 6px 18px 4px; }
.user-menu-group:last-of-type { border-bottom: none; }
.user-menu-head { display: flex; align-items: center; gap: 12px; padding: 18px 18px 16px; border-bottom: 1px solid var(--ink-line); background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%); }
.user-menu-help { color: var(--ink-soft); }
.user-menu-help, .user-menu-logout { display: flex; align-items: center; gap: 10px; padding: 11px 22px; font-size: 13px; font-weight: 500; text-decoration: none; transition: background .12s; }
.user-menu-help:hover { background: rgba(0,0,0,.03); color: var(--ink); }
.user-menu-icon { width: 32px; height: 32px; border-radius: 8px; background: var(--cream); color: var(--ink-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.user-menu-id { flex: 1; min-width: 0; }
.user-menu-item { display: flex; align-items: center; gap: 12px; padding: 9px 18px; text-decoration: none; color: inherit; transition: background .12s; }
.user-menu-item-body { flex: 1; min-width: 0; }
.user-menu-item-sub { font-size: 11.5px; color: var(--ink-muted); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-menu-item-title { font-size: 13.5px; font-weight: 500; color: var(--ink); letter-spacing: -.005em; }
.user-menu-item:hover { background: var(--cream); }
.user-menu-item:hover .user-menu-chev { color: var(--gold); transform: translateX(2px); }
.user-menu-item:hover .user-menu-icon { background: rgba(200,150,90,.12); color: var(--gold-deep); }
.user-menu-logout { color: var(--rose); border-top: 1px solid var(--ink-line); }
.user-menu-logout:hover { background: rgba(196,122,122,.08); }
.user-menu-name { font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.warn-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.warn-backdrop { position: fixed; inset: 0; background: rgba(10,31,46,.5); display: flex; align-items: center; justify-content: center; z-index: 300; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; padding: 20px; }
.warn-backdrop.show { opacity: 1; visibility: visible; }
.warn-backdrop.show .warn-modal { transform: scale(1); }
.warn-icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(232,134,58,.14); color: var(--warm); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.warn-modal { background: var(--white); border-radius: 18px; max-width: 480px; width: 100%; padding: 32px 30px 26px; box-shadow: 0 24px 60px rgba(10,31,46,.25); transform: scale(.96); transition: transform .25s; }
.warn-text { font-size: 14px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 22px; }
.warn-text strong { color: var(--ink); font-weight: 600; }
.warn-title em { font-style: italic; color: var(--gold-deep); }
[data-theme="dark"] .session-note { background: rgba(240,160,101,.10); border-left-color: var(--warn); }
