:root{
  --book-blue:#315fa7;
  --book-blue-deep:#214777;
  --book-navy:#17365d;
  --book-charcoal:#383b40;
  --book-grey:#96999e;
  --book-grey-light:#e8e9eb;
  --book-paper:#fbfbfa;
  --book-white:#ffffff;
  --book-warm:#d96543;
  --text:#34383d;
  --muted:#6f747a;
  --line:#dedfe2;
  --shadow:0 18px 48px rgba(42,48,55,.10);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:var(--book-paper);line-height:1.66}
a{color:inherit}.wrap{width:min(1160px,calc(100% - 40px));margin:auto}.narrow{max-width:820px}
.site-header{position:sticky;top:0;z-index:40;display:flex;justify-content:space-between;align-items:center;gap:28px;padding:14px max(24px,calc((100% - 1160px)/2));background:rgba(251,251,250,.96);backdrop-filter:blur(16px);border-bottom:1px solid rgba(56,59,64,.12);box-shadow:0 4px 18px rgba(40,43,48,.04)}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--book-charcoal);font-weight:950;letter-spacing:-.045em;font-size:20px;line-height:1}.brand-mark{position:relative;width:40px;height:33px;display:inline-block}.brand-mark:before,.brand-mark:after{content:"";position:absolute;width:26px;height:26px;border-radius:2px;box-shadow:0 4px 8px rgba(0,0,0,.12)}.brand-mark:before{left:1px;top:5px;background:var(--book-charcoal);transform:rotate(-9deg)}.brand-mark:after{right:1px;top:1px;background:#a5a7aa;transform:rotate(8deg)}.brand-word span{display:block}.brand-word small{display:block;margin-top:2px;color:var(--book-grey);font-size:8px;letter-spacing:.13em;text-transform:uppercase;font-weight:850}
.site-header nav{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.site-header nav a,.linkbtn{font:inherit;font-size:.92rem;font-weight:750;border:0;background:none;text-decoration:none;color:var(--book-charcoal);cursor:pointer;padding:9px 11px;border-radius:999px;transition:.18s ease}.site-header nav a:hover,.linkbtn:hover{background:#eef2f8;color:var(--book-blue-deep)}.site-header nav a[href="/boutique"]{background:var(--book-blue);color:white;padding-inline:15px}.inline{display:inline}
.hero,.pagehero{position:relative;overflow:hidden;color:white;background:linear-gradient(118deg,#202d3d 0%,var(--book-navy) 47%,var(--book-blue) 100%)}.hero:before,.pagehero:before{content:"";position:absolute;inset:auto -80px -180px auto;width:390px;height:390px;border:70px solid rgba(255,255,255,.07);border-radius:50%}.hero{padding:86px 0 92px}.pagehero{padding:66px 0}.hero-grid,.split{display:grid;grid-template-columns:1.04fr .96fr;gap:62px;align-items:center}.hero-grid{grid-template-columns:1.08fr .92fr}.eyebrow{display:block;text-transform:uppercase;letter-spacing:.18em;font-weight:900;font-size:.72rem;color:#dce7f7;margin-bottom:14px}.eyebrow.dark{color:var(--book-blue)}
h1,h2,h3{line-height:1.07;color:var(--book-charcoal);margin-top:0;letter-spacing:-.035em}.hero h1,.pagehero h1{color:white;font-size:clamp(3rem,7.5vw,6.2rem);letter-spacing:-.065em;margin:0 0 24px;font-weight:950}.hero h1 em{font-style:normal;color:#c7d8f3}.pagehero h1{font-size:clamp(2.5rem,5.5vw,4.8rem);max-width:900px}.lead{font-size:1.22rem;max-width:760px;color:#e5ebf4}.darklead{color:var(--muted)}
.book-hero-cover{position:relative;display:flex;justify-content:center;align-items:center;min-height:480px}.book-hero-cover:before{content:"";position:absolute;width:78%;height:78%;border-radius:50%;background:rgba(255,255,255,.10);filter:blur(1px)}.book-hero-cover img{position:relative;width:min(100%,355px);max-height:530px;object-fit:contain;filter:drop-shadow(0 28px 28px rgba(0,0,0,.28));transform:rotate(1.5deg)}
.hero-card{position:relative;padding:34px;border:1px solid rgba(255,255,255,.20);border-radius:8px;background:rgba(255,255,255,.07);box-shadow:0 20px 45px rgba(0,0,0,.10)}.hero-card:after{content:"";position:absolute;width:44px;height:44px;right:24px;top:-14px;background:#9b9da1;transform:rotate(8deg);opacity:.55}.hero-card h2{color:white;font-size:2rem}.hero-card span{color:#dce7f7;font-weight:800;text-transform:uppercase;letter-spacing:.12em;font-size:.72rem}
.section{padding:78px 0}.soft{background:#f0f1f2}.cards,.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card,.postcard{display:block;text-decoration:none;padding:30px;border:1px solid var(--line);border-radius:7px;background:white;box-shadow:var(--shadow);transition:.2s ease}.card:hover,.postcard:hover{transform:translateY(-4px);box-shadow:0 24px 54px rgba(42,48,55,.14)}.card b{display:inline-grid;place-items:center;width:42px;height:42px;background:var(--book-blue);color:white;border-radius:3px;transform:rotate(-3deg)}.card:nth-child(2) b{background:var(--book-charcoal);transform:rotate(3deg)}.card:nth-child(3) b{background:#9b9da1;transform:rotate(-2deg)}.card h3,.postcard h2{font-size:1.5rem;margin-top:18px}.postcard small{color:var(--book-blue);font-weight:850;text-transform:uppercase;letter-spacing:.06em}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:49px;padding:0 23px;border:0;border-radius:5px;background:var(--book-blue);color:white;text-decoration:none;font-weight:900;cursor:pointer;box-shadow:0 7px 18px rgba(49,95,167,.18);transition:.18s ease}.btn:hover{background:var(--book-blue-deep);transform:translateY(-1px)}.btn.ghost{background:white;color:var(--book-charcoal);box-shadow:none}.actions{display:flex;gap:12px;flex-wrap:wrap}.quote{position:relative;font-size:1.48rem;font-weight:750;color:var(--book-charcoal);padding:36px 38px 36px 42px;border-left:7px solid var(--book-blue);background:white;border-radius:4px;box-shadow:var(--shadow)}.quote:before{content:'“';position:absolute;right:22px;top:-16px;font-size:6rem;color:#e5e6e8;font-family:Georgia,serif;line-height:1}
.feature-book{display:grid;grid-template-columns:.82fr 1.18fr;gap:68px;align-items:center}.feature-book-cover{text-align:center}.feature-book-cover img{width:min(100%,360px);filter:drop-shadow(0 22px 24px rgba(40,43,48,.18));transform:rotate(-1deg)}
.newsletter{display:flex;justify-content:space-between;gap:40px;align-items:center}.newsletter-box{padding:38px;border-radius:8px;background:linear-gradient(120deg,var(--book-charcoal),#55595f);color:white}.newsletter-box h2,.newsletter-box p{color:white}.newsletter form{display:flex;gap:10px}.newsletter input,input,textarea,select{width:100%;padding:14px 15px;border:1px solid #c8cacf;border-radius:5px;font:inherit;background:white;outline:none}.newsletter input:focus,input:focus,textarea:focus,select:focus{border-color:var(--book-blue);box-shadow:0 0 0 3px rgba(49,95,167,.12)}.newsletter input{min-width:300px}.prose{font-size:1.08rem}.article{padding:70px 0}.article h1{font-size:clamp(2.3rem,5vw,4.2rem)}.article-date{color:var(--muted)}.comment{padding:18px 0;border-bottom:1px solid var(--line)}.comment small{display:block;color:var(--muted)}.form{display:grid;gap:18px}.form label{display:grid;gap:7px;font-weight:800}.form label small{font-weight:500;color:var(--muted)}.form .check{display:flex;align-items:center;gap:9px}.form .check input{width:auto}
.backhead{display:flex;justify-content:space-between;gap:30px;align-items:center;margin-bottom:28px}.backnav{padding:9px;background:#e9ebee;border:1px solid var(--line);border-radius:6px}.backnav a{padding:8px 10px;text-decoration:none;font-weight:750}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.stats>div{padding:24px;border-radius:6px;background:linear-gradient(145deg,var(--book-charcoal),#51555a);color:white;box-shadow:var(--shadow)}.stats>div:nth-child(2n){background:linear-gradient(145deg,var(--book-blue-deep),var(--book-blue))}.stats strong{display:block;font-size:2.2rem}.stats span{color:#e4e5e7}table{width:100%;border-collapse:collapse;background:white;border:1px solid var(--line);box-shadow:0 10px 28px rgba(42,48,55,.05)}th,td{text-align:left;padding:13px;border-bottom:1px solid var(--line);vertical-align:top}th{background:#f0f1f2;color:var(--book-charcoal)}.notice{padding:20px;border-left:5px solid var(--book-blue);background:#eef3fa}.price{font-weight:950;font-size:1.55rem;color:var(--book-charcoal)}
.shop-product{display:grid;grid-template-columns:minmax(280px,.76fr) minmax(0,1.24fr);gap:70px;align-items:center;padding:42px;border:1px solid var(--line);border-radius:8px;background:white;box-shadow:0 22px 60px rgba(42,48,55,.10)}.shop-cover{text-align:center;background:linear-gradient(145deg,#f2f2f2,#fff);padding:24px;border-radius:6px}.shop-cover img{width:min(100%,410px);max-height:610px;object-fit:contain;filter:drop-shadow(0 22px 25px rgba(42,48,55,.23));transform:rotate(-1deg)}.shop-copy h2{font-size:clamp(2.1rem,5vw,4rem)}.checks{list-style:none;padding:0;display:grid;gap:9px}.checks li:before{content:'✓';font-weight:950;color:var(--book-blue);margin-right:10px}.buy-form{display:flex;gap:14px;align-items:end;flex-wrap:wrap}.buy-form label{font-weight:800;display:grid;gap:6px;min-width:120px}.buy-form select{min-width:100px}.secure-note{font-size:.9rem;color:var(--muted);margin-top:18px}.darkghost{border:1px solid var(--line);color:var(--book-charcoal)!important}
footer{display:grid;grid-template-columns:1fr auto;align-items:center;gap:30px;padding:46px max(24px,calc((100% - 1160px)/2));background:var(--book-charcoal);color:white;border-top:7px solid var(--book-blue)}footer strong{font-size:1.2rem}footer p{margin:.35rem 0 0;color:#cfd1d4}footer a{color:white;text-decoration:none}footer a:hover{text-decoration:underline}
@media(max-width:850px){.site-header{position:static;align-items:flex-start;gap:14px;flex-direction:column}.site-header nav{gap:4px;font-size:.92rem}.hero{padding:62px 0}.hero-grid,.split,.feature-book,.cards,.post-grid,.shop-product{grid-template-columns:1fr}.book-hero-cover{min-height:390px}.book-hero-cover img{max-height:430px}.newsletter,.newsletter form,.backhead{align-items:stretch;flex-direction:column}.newsletter input{min-width:0}.stats{grid-template-columns:1fr 1fr}table{display:block;overflow:auto}.wrap{width:min(100% - 28px,1160px)}.shop-product{padding:24px;gap:28px}.buy-form{align-items:stretch;flex-direction:column}footer{grid-template-columns:1fr}}
@media(max-width:520px){.stats{grid-template-columns:1fr}.site-header nav a,.linkbtn{padding:7px 8px}.section{padding:58px 0}.hero h1{font-size:3.25rem}.pagehero h1{font-size:2.7rem}}

/* V1.5.6 - Journal BackOffice */
.back-journal{background:linear-gradient(180deg,#f7f8fb 0,#fbfbfa 38%)}
.journal-head{margin-bottom:30px}.journal-head h1,.editor-heading h1{font-size:clamp(2.4rem,5vw,4.1rem);letter-spacing:-.055em;margin-bottom:10px}.journal-actions{justify-content:flex-end}
.article-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.article-admin-card{position:relative;overflow:hidden;padding:26px;border:1px solid rgba(49,95,167,.14);border-radius:26px;background:rgba(255,255,255,.94);box-shadow:0 18px 55px rgba(41,54,73,.08);transition:transform .2s ease,box-shadow .2s ease}.article-admin-card:before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:linear-gradient(var(--book-blue),var(--book-warm))}.article-admin-card:hover{transform:translateY(-3px);box-shadow:0 24px 64px rgba(41,54,73,.12)}.article-admin-card h2{font-size:1.55rem;margin:18px 0 10px}.article-admin-top,.article-admin-footer,.article-admin-meta{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.article-admin-footer{justify-content:space-between;margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}.article-admin-meta{display:grid;gap:6px;margin-top:16px;color:var(--muted);font-size:.9rem}.article-admin-excerpt{color:var(--muted);min-height:3.1em}.status-pill,.newsletter-pill{display:inline-flex;align-items:center;min-height:30px;padding:0 11px;border-radius:999px;font-size:.77rem;font-weight:900;letter-spacing:.03em}.status-draft{background:#edf0f3;color:#535a62}.status-scheduled{background:#fff1dc;color:#9b5b00}.status-published{background:#e4f7eb;color:#176b38}.newsletter-pill{background:#e9f0fb;color:var(--book-blue-deep)}.btn.compact{min-height:38px;padding:0 16px;font-size:.88rem}.empty-state{grid-column:1/-1;text-align:center;padding:70px 28px;border:1px dashed #bac8d8;border-radius:28px;background:white}.empty-icon{font-size:3rem;margin-bottom:10px}
.article-editor-page{padding-top:54px;background:radial-gradient(circle at 92% 2%,rgba(49,95,167,.12),transparent 26%),linear-gradient(180deg,#f7f8fb,#fbfbfa 36%)}.editor-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:28px}.backlink{display:inline-flex;margin-bottom:18px;color:var(--book-blue-deep);font-weight:800;text-decoration:none}.editor-orb{display:grid;place-items:center;flex:0 0 auto;width:94px;height:94px;border-radius:31px;background:linear-gradient(135deg,var(--book-blue-deep),var(--book-blue));box-shadow:0 20px 45px rgba(49,95,167,.27);color:white;font-size:2.25rem;transform:rotate(5deg)}
.article-editor-form{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:22px;align-items:start;padding-bottom:100px}.editor-main,.editor-side{display:grid;gap:22px}.editor-card{padding:26px;border:1px solid rgba(49,95,167,.12);border-radius:25px;background:rgba(255,255,255,.96);box-shadow:0 16px 46px rgba(41,54,73,.07)}.editor-card-primary{background:linear-gradient(145deg,#fff,#f9fbff)}.field-block{display:grid;gap:8px;margin-bottom:23px}.field-block:last-child{margin-bottom:0}.field-block label,.publish-card>label{font-weight:900;color:var(--book-charcoal)}.field-hint{display:flex;justify-content:space-between;gap:15px;color:var(--muted);font-size:.82rem}.slug-input{display:flex;align-items:center;overflow:hidden;border:1px solid #c9d1da;border-radius:14px;background:#f5f7fa}.slug-input span{padding:0 0 0 14px;color:#7a838c;font-size:.9rem;white-space:nowrap}.slug-input input{border:0;background:transparent;box-shadow:none}.mini-label{display:block;margin-bottom:6px;text-transform:uppercase;letter-spacing:.15em;font-size:.68rem;font-weight:950;color:var(--book-blue)}.content-card-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.content-card-head h2,.publish-card h2,.newsletter-card h2{margin:0;font-size:1.35rem}.editor-toolbar{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 10px}.editor-toolbar button{padding:8px 11px;border:1px solid #d5dce5;border-radius:10px;background:#f7f9fc;color:var(--book-charcoal);font:inherit;font-size:.82rem;font-weight:800;cursor:pointer}.editor-toolbar button:hover{border-color:var(--book-blue);background:#eef4fc;color:var(--book-blue-deep)}.article-content-area{min-height:520px;resize:vertical;line-height:1.7;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.93rem}.publish-card{display:grid;gap:10px}.status-helper{padding:13px 15px;margin:4px 0 0;border-radius:14px;background:#eef4fc;color:var(--book-blue-deep);font-size:.88rem}.newsletter-card{position:relative;overflow:hidden}.newsletter-card:after{content:"";position:absolute;right:-42px;bottom:-56px;width:150px;height:150px;border-radius:50%;background:rgba(49,95,167,.08)}.newsletter-icon{display:grid;place-items:center;width:46px;height:46px;margin-bottom:12px;border-radius:15px;background:var(--book-blue);color:white;font-size:1.2rem}.switch-row{display:grid!important;grid-template-columns:auto auto 1fr!important;align-items:center;gap:10px!important;margin-top:18px;font-weight:750!important;cursor:pointer}.switch-row input{position:absolute;opacity:0;pointer-events:none}.switch-ui{position:relative;width:45px;height:25px;border-radius:999px;background:#c7cdd4;transition:.2s}.switch-ui:after{content:"";position:absolute;width:19px;height:19px;top:3px;left:3px;border-radius:50%;background:white;box-shadow:0 2px 6px rgba(0,0,0,.2);transition:.2s}.switch-row input:checked+.switch-ui{background:var(--book-blue)}.switch-row input:checked+.switch-ui:after{transform:translateX(20px)}.sent-note{position:relative;z-index:1;margin:14px 0 0;color:#176b38;font-weight:800;font-size:.86rem}.quick-preview-card{background:linear-gradient(145deg,var(--book-charcoal),#25282c);color:white}.quick-preview-card h3{color:white;font-size:1.35rem;margin:15px 0 8px}.quick-preview-card p{color:#d5d9de;margin:0}.preview-chip{display:inline-flex;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.12);font-size:.72rem;font-weight:900;color:white}.editor-actions-bar{position:fixed;z-index:35;left:50%;bottom:18px;transform:translateX(-50%);display:flex;justify-content:space-between;align-items:center;gap:22px;width:min(1115px,calc(100% - 34px));padding:13px 16px 13px 20px;border:1px solid rgba(56,59,64,.13);border-radius:20px;background:rgba(255,255,255,.92);backdrop-filter:blur(18px);box-shadow:0 18px 60px rgba(27,35,44,.18)}.editor-actions-bar .muted{font-size:.83rem}.editor-actions-bar .actions{flex-wrap:nowrap}
@media(max-width:980px){.article-editor-form{grid-template-columns:1fr}.editor-side{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-preview-card{grid-column:1/-1}.article-admin-grid{grid-template-columns:1fr}.editor-actions-bar{position:sticky;transform:none;left:auto;bottom:10px;width:100%;margin-top:-72px}.article-editor-form{padding-bottom:20px}}
@media(max-width:680px){.editor-heading{align-items:flex-start}.editor-orb{width:62px;height:62px;border-radius:21px;font-size:1.5rem}.editor-side{grid-template-columns:1fr}.slug-input{display:block}.slug-input span{display:block;padding:10px 14px 0}.field-hint,.editor-actions-bar{align-items:stretch;flex-direction:column}.editor-actions-bar .actions,.editor-actions-bar .btn{width:100%}.journal-actions,.journal-actions form,.journal-actions .btn{width:100%}.article-editor-page{padding-top:35px}.editor-card{padding:20px}.content-card-head{align-items:flex-start;flex-direction:column}.article-content-area{min-height:440px}}

/* V1.5.7 - BackOffice réellement mobile */
.mobile-nav-toggle{display:none;border:0;background:transparent;color:var(--book-charcoal);font:inherit;font-weight:850;cursor:pointer;padding:8px;border-radius:10px;align-items:center;gap:5px}.mobile-nav-toggle span{display:block;width:22px;height:2px;border-radius:2px;background:currentColor}.mobile-nav-toggle b{font-size:.76rem;margin-left:5px}
.backoffice main{min-height:72vh}.backoffice .section{padding-top:44px}.backoffice .wrap{max-width:1240px}.backoffice .backhead h1{margin-bottom:0}.backoffice .backnav{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.backoffice .backnav a{display:inline-flex;align-items:center;min-height:40px;padding:8px 12px;border-radius:8px}.backoffice .backnav a:hover{background:white;color:var(--book-blue-deep)}
.backoffice table .btn{min-height:38px;padding:0 14px;font-size:.82rem}.backoffice table small{color:var(--muted)}
.backoffice .notice{margin:0 0 18px;border-radius:8px}.backoffice form input,.backoffice form textarea,.backoffice form select{font-size:16px}.backoffice textarea{max-width:100%}

@media(max-width:900px){
  .mobile-nav-toggle{display:flex;flex-direction:column;align-items:flex-start;position:absolute;right:14px;top:13px}.mobile-nav-toggle b{position:absolute;right:34px;top:11px;white-space:nowrap}
  .site-header{position:sticky;top:0;display:block;padding:13px 76px 13px 14px}.brand{min-height:42px}.brand-mark{flex:0 0 40px}.brand-word>span{font-size:.9rem;white-space:nowrap}.brand-word small{font-size:6.8px}
  .site-header .main-navigation{display:none;position:absolute;left:0;right:0;top:100%;padding:12px 14px 18px;background:rgba(251,251,250,.99);border-bottom:1px solid var(--line);box-shadow:0 18px 30px rgba(27,35,44,.13);grid-template-columns:1fr 1fr;gap:8px}.site-header .main-navigation.is-open{display:grid}.site-header .main-navigation a,.site-header .main-navigation .linkbtn{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:white;text-align:center}.site-header .main-navigation a[href="/boutique"]{border-color:var(--book-blue)}.site-header .main-navigation form.inline{display:block}.site-header .main-navigation form.inline .linkbtn{width:100%}
  body.nav-open{overflow:hidden}

  .backoffice .section{padding:28px 0 52px}.backoffice .wrap{width:min(100% - 22px,1240px)}.backoffice .backhead{display:grid;gap:16px;margin-bottom:20px}.backoffice .backhead h1{font-size:clamp(2rem,9vw,3rem)}.backoffice .backnav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:8px;gap:7px;width:100%;background:#e9ebee}.backoffice .backnav a{justify-content:center;text-align:center;background:white;border:1px solid rgba(56,59,64,.08);font-size:.86rem}
  .backoffice .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.backoffice .stats>div{padding:18px}.backoffice .stats strong{font-size:1.8rem}

  .backoffice .responsive-table,.backoffice .responsive-table tbody,.backoffice .responsive-table tr,.backoffice .responsive-table td{display:block;width:100%}.backoffice .responsive-table{border:0;background:transparent;box-shadow:none}.backoffice .responsive-table thead{display:none}.backoffice .responsive-table tbody{display:grid;gap:14px}.backoffice .responsive-table tr{overflow:hidden;border:1px solid var(--line);border-radius:16px;background:white;box-shadow:0 10px 28px rgba(42,48,55,.07)}.backoffice .responsive-table td{display:grid;grid-template-columns:minmax(105px,35%) 1fr;gap:12px;align-items:start;padding:12px 14px;border-bottom:1px solid #eceef1;overflow-wrap:anywhere}.backoffice .responsive-table td:last-child{border-bottom:0}.backoffice .responsive-table td::before{content:attr(data-label);font-size:.72rem;line-height:1.3;font-weight:950;letter-spacing:.045em;text-transform:uppercase;color:var(--book-blue-deep)}.backoffice .responsive-table td>form{max-width:100%}.backoffice .responsive-table td .btn{width:100%;margin:4px 0!important;white-space:normal;line-height:1.2;padding-top:8px;padding-bottom:8px;height:auto}

  .article-editor-form{grid-template-columns:1fr!important}.editor-side{grid-template-columns:1fr 1fr!important}.editor-actions-bar{position:sticky!important;left:auto!important;bottom:8px!important;transform:none!important;width:100%!important;margin-top:-58px!important}.article-content-area{min-height:420px!important}
}
@media(max-width:600px){
  .site-header .main-navigation{grid-template-columns:1fr}.site-header .main-navigation a,.site-header .main-navigation .linkbtn{min-height:42px}
  .backoffice .backnav{grid-template-columns:1fr 1fr}.backoffice .stats{grid-template-columns:1fr 1fr}.backoffice .stats>div{padding:15px}.backoffice .stats strong{font-size:1.65rem}.backoffice .responsive-table td{grid-template-columns:1fr;gap:5px;padding:12px}.backoffice .responsive-table td::before{margin-bottom:2px}.backoffice .responsive-table td .btn{width:100%}.backoffice .actions{display:grid;grid-template-columns:1fr;width:100%}.backoffice .actions .btn,.backoffice .actions form,.backoffice .actions form .btn{width:100%}.backoffice .form{gap:14px}.backoffice input,.backoffice textarea,.backoffice select{min-height:48px}.backoffice textarea{min-height:150px}.editor-side{grid-template-columns:1fr!important}.editor-heading{display:block!important}.editor-orb{display:none!important}.editor-card{padding:17px!important;border-radius:18px!important}.article-content-area{min-height:360px!important}.editor-toolbar{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px!important}.editor-toolbar button{padding:9px 5px!important;font-size:.76rem!important}.editor-actions-bar{align-items:stretch!important;flex-direction:column!important;padding:12px!important;border-radius:16px!important}.editor-actions-bar .actions{display:grid!important;grid-template-columns:1fr!important}.article-admin-card{padding:20px!important;border-radius:18px!important}.article-admin-footer{align-items:stretch!important;flex-direction:column!important}.article-admin-footer .btn{width:100%!important}
}
@media(max-width:380px){.backoffice .backnav,.backoffice .stats{grid-template-columns:1fr}.brand-word small{display:none}.mobile-nav-toggle b{display:none}}

/* V1.5.7 - Newsletter BackOffice */
.back-newsletter .newsletter-tools{align-items:start;margin-bottom:1.25rem}.back-card{background:#fff;border:1px solid rgba(49,95,167,.14);border-radius:22px;padding:clamp(18px,3vw,28px);box-shadow:0 12px 35px rgba(33,71,119,.08)}.back-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.stack-form{display:grid;gap:14px}.stack-form label{display:grid;gap:7px;font-weight:700;color:#383b40}.stack-form input,.stack-form textarea,.stack-form select{width:100%;border:1px solid #d8dee8;border-radius:13px;padding:12px 14px;background:#fbfbfa;color:#222;font:inherit}.stack-form textarea{resize:vertical;min-height:150px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.check-row{grid-template-columns:auto 1fr!important;align-items:start!important;font-weight:500!important}.check-row input{width:20px!important;height:20px;margin-top:2px}.notice{margin:0 0 16px;padding:13px 15px;border-radius:14px;font-weight:700}.notice.success{background:#edf8f1;color:#21683b}.notice.warning{background:#fff7e8;color:#8a5a00}.status-pill{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:.78rem;font-weight:800;background:#eef2f7}.status-active{background:#eaf7ef;color:#247044}.status-pending{background:#fff4d9;color:#865d00}.status-unsubscribed{background:#fbecec;color:#923535}.subscribers-card small{display:block;margin-top:3px;color:#68717d}.muted{color:#6b7480}
@media(max-width:760px){.back-grid-2,.form-grid{grid-template-columns:1fr}.back-newsletter .wrap{width:min(100% - 24px,1180px)}.back-card{border-radius:17px;padding:16px}.responsive-table table,.responsive-table tbody,.responsive-table tr,.responsive-table td{display:block;width:100%}.responsive-table thead{display:none}.responsive-table tr{padding:14px 0;border-bottom:1px solid #e7ebf0}.responsive-table td{display:grid;grid-template-columns:105px 1fr;gap:10px;padding:5px 0;border:0}.responsive-table td:before{content:attr(data-label);font-size:.75rem;text-transform:uppercase;letter-spacing:.04em;font-weight:800;color:#76808c}.responsive-table td strong,.responsive-table td small{overflow-wrap:anywhere}}

/* V1.5.9 - Journal images, Contact, Conferences, legal */
.article-image-preview{display:block;width:100%;max-height:220px;object-fit:cover;border-radius:16px;margin:12px 0 16px;border:1px solid var(--line)}
.article-row-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.article-row-actions form{margin:0}.btn.danger{background:#a33a3a;color:#fff}.btn.danger:hover{background:#812c2c}
.journal-card{padding:0;overflow:hidden}.journal-card-image{display:block;aspect-ratio:16/9;overflow:hidden;background:#e9edf3}.journal-card-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}.journal-card:hover .journal-card-image img{transform:scale(1.025)}.journal-card-body{padding:26px 28px 30px}.journal-read{color:var(--book-blue);font-weight:900;text-decoration:none}.article-header{margin:22px 0 28px}.article-lead{font-size:1.22rem;color:var(--muted);font-weight:600}.article-featured{margin:0 0 38px}.article-featured img{display:block;width:100%;max-height:520px;object-fit:cover;border-radius:22px;box-shadow:var(--shadow)}.article-prose h2{margin-top:2.7rem;color:var(--book-blue-deep)}.article-prose blockquote{margin:2rem 0;padding:20px 24px;border-left:5px solid var(--book-blue);background:#eef3fa;border-radius:0 14px 14px 0;font-weight:700}
.contact-layout{display:grid;grid-template-columns:.82fr 1.18fr;gap:54px;align-items:start}.contact-copy h2{font-size:clamp(2rem,4vw,3.25rem)}.contact-cards{display:grid;gap:12px;margin-top:28px}.contact-mini-card{display:grid;gap:4px;padding:18px 20px;border:1px solid var(--line);border-radius:16px;background:white;text-decoration:none;box-shadow:0 8px 24px rgba(42,48,55,.05)}.contact-mini-card strong{font-size:1.05rem}.contact-mini-card span{color:var(--muted)}.contact-panel{padding:clamp(22px,4vw,38px);background:white;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow)}.contact-form{gap:16px}.contact-form textarea{min-height:160px}.form-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-note{font-size:.85rem;color:var(--muted);margin:0}.hp-field{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}.notice-error{border-left-color:#a33a3a;background:#fff0f0}
.conference-hero .actions{margin:30px 0 42px}.conference-visual{margin-top:12px}.conference-visual img{display:block;width:100%;border-radius:18px;box-shadow:0 20px 50px rgba(0,0,0,.18)}.conference-hero-grid{display:grid;gap:34px}.conference-program{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.conference-program article{padding:24px;border-radius:16px;background:white;border:1px solid var(--line)}.conference-program b{color:var(--book-blue);font-size:1.4rem}.conference-side-card{padding:30px;border-radius:18px;background:white;box-shadow:var(--shadow)}.conference-side-card strong{display:block;font-size:2.7rem;color:var(--book-blue-deep)}.conference-topics,.conference-request{display:grid;grid-template-columns:.75fr 1.25fr;gap:48px;align-items:start}.topic-chips{display:flex;gap:10px;flex-wrap:wrap}.topic-chips span{padding:10px 14px;border-radius:999px;background:#eef3fa;color:var(--book-blue-deep);font-weight:800}
.legal-prose h2{margin-top:2.5rem;color:var(--book-blue-deep)}.legal-prose p{font-size:1.04rem}.legal-prose strong{color:var(--book-charcoal)}
@media(max-width:800px){.contact-layout,.conference-topics,.conference-request{grid-template-columns:1fr}.form-grid-2{grid-template-columns:1fr}.conference-program{grid-template-columns:1fr 1fr}.conference-hero .actions{margin-bottom:30px}.article-row-actions,.article-row-actions form,.article-row-actions .btn{width:100%}}
@media(max-width:560px){.conference-program{grid-template-columns:1fr}.contact-panel{padding:18px;border-radius:18px}.contact-mini-card{padding:16px}.journal-card-body{padding:22px}.article-featured img{border-radius:14px}}

/* V1.6.0 - Journal editorial & community redesign */
.journal-hero{position:relative;overflow:hidden;padding:78px 0 68px;background:linear-gradient(125deg,#17365d 0%,#214777 52%,#315fa7 100%);color:#fff}
.journal-hero:before{content:"";position:absolute;width:460px;height:460px;border-radius:50%;border:76px solid rgba(255,255,255,.055);right:-170px;bottom:-260px}
.journal-hero-grid{position:relative;display:grid;grid-template-columns:1.25fr .75fr;gap:54px;align-items:center}
.journal-hero h1{max-width:820px;margin:0 0 20px;color:#fff;font-size:clamp(3rem,6.5vw,5.8rem);font-weight:950;letter-spacing:-.06em;line-height:.98}
.journal-hero .lead{max-width:780px;margin-bottom:26px;color:#e5edf8;font-size:1.2rem}
.journal-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:20px}.journal-account-btn{border:1px solid rgba(255,255,255,.65)!important;background:rgba(255,255,255,.08)!important;color:#fff!important}.journal-account-btn:hover{background:#fff!important;color:var(--book-blue-deep)!important}
.journal-trust{display:flex;gap:16px 22px;flex-wrap:wrap;color:#dbe7f7;font-size:.85rem;font-weight:700}
.journal-community-card{padding:30px;border:1px solid rgba(255,255,255,.18);border-radius:24px;background:rgba(255,255,255,.1);backdrop-filter:blur(14px);box-shadow:0 24px 60px rgba(7,24,46,.18)}
.journal-community-card h2{margin:.5rem 0 .7rem;color:#fff;font-size:2rem}.journal-community-card p{color:#e5edf8}.community-kicker{color:#bed2ef;font-size:.76rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.community-login{display:inline-block;margin:16px 0 0 12px;color:#fff;font-weight:800;text-decoration:none}.community-user-state{padding:14px 16px;border-radius:14px;background:rgba(255,255,255,.12);font-weight:800}
.journal-section{padding-top:66px}.section-heading.journal-heading{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:28px}.journal-heading h2{font-size:clamp(2rem,4vw,3.4rem);margin-bottom:0}.journal-heading>p{max-width:470px;color:var(--muted);margin:0}
.journal-featured-card{display:grid;grid-template-columns:1.05fr .95fr;overflow:hidden;margin-bottom:34px;border:1px solid var(--line);border-radius:26px;background:#fff;box-shadow:0 20px 55px rgba(42,48,55,.1)}
.journal-featured-image{display:block;min-height:420px;background:#e9eef5;overflow:hidden}.journal-featured-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}.journal-featured-card:hover .journal-featured-image img{transform:scale(1.025)}
.journal-featured-placeholder{display:grid;place-items:center;background:linear-gradient(145deg,#214777,#315fa7);color:#fff;text-decoration:none}.journal-featured-placeholder span{font-size:clamp(2.2rem,5vw,4.6rem);font-weight:950;line-height:.9;letter-spacing:-.055em}
.journal-featured-content{display:flex;flex-direction:column;justify-content:center;padding:clamp(28px,5vw,52px)}.journal-badge{display:inline-flex;align-self:flex-start;padding:7px 11px;border-radius:999px;background:#eaf0fa;color:var(--book-blue-deep);font-size:.76rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.journal-featured-content h2{margin:18px 0 15px;font-size:clamp(2rem,4vw,3.25rem);line-height:1.02}.journal-featured-content h2 a,.journal-card-modern h2 a{text-decoration:none}.journal-featured-content p{font-size:1.08rem;color:var(--muted)}
.journal-meta{display:flex;gap:7px;flex-wrap:wrap;margin-top:14px;color:#78818c;font-size:.82rem;font-weight:750}.journal-read-main{display:inline-flex;align-items:center;gap:9px;margin-top:12px;color:var(--book-blue);font-size:1.03rem;font-weight:950;text-decoration:none}.journal-read-main span{transition:transform .18s ease}.journal-read-main:hover span{transform:translateX(4px)}
.journal-grid-modern{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.journal-card-modern{border-radius:20px;box-shadow:0 12px 34px rgba(42,48,55,.075)}.journal-card-modern h2{margin:12px 0 10px;font-size:1.55rem;line-height:1.12}.journal-card-modern p{display:-webkit-box;overflow:hidden;color:var(--muted);-webkit-line-clamp:3;-webkit-box-orient:vertical}.journal-card-placeholder{display:grid;place-items:center;background:linear-gradient(135deg,#dfe7f3,#edf2f8);text-decoration:none}.journal-card-placeholder span{color:var(--book-blue-deep);font-size:2.2rem;font-weight:950;letter-spacing:-.06em}.journal-card-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:18px}.journal-card-footer>span{color:var(--muted);font-size:.9rem}.journal-empty{padding:50px;border:1px dashed #cbd4df;border-radius:22px;text-align:center;background:#fff}
.journal-newsletter-section{padding-top:28px}.journal-newsletter-card{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center;padding:40px 44px;border-radius:26px;background:linear-gradient(120deg,#30353c,#214777);color:#fff;box-shadow:0 24px 60px rgba(33,71,119,.18)}.journal-newsletter-card h2{margin-bottom:10px;color:#fff;font-size:2.2rem}.journal-newsletter-card p{color:#e5edf7}.journal-newsletter-form{display:grid;gap:11px}.journal-newsletter-form label{display:grid;gap:7px}.journal-newsletter-form label span{font-size:.83rem;font-weight:800}.journal-newsletter-form input{min-height:52px;border:0;border-radius:12px}.newsletter-message{margin-top:12px;padding:11px 13px;border-radius:12px;background:rgba(255,255,255,.11);font-weight:800}
.article-modern{padding:52px 0 82px;background:linear-gradient(#f6f8fb 0,#fbfbfa 420px)}.article-shell{max-width:900px}.article-back{display:inline-block;margin-bottom:26px;color:var(--book-blue-deep);font-weight:850;text-decoration:none}.article-header-modern{text-align:center;margin:0 auto 34px}.article-header-modern .journal-badge{align-self:auto}.article-header-modern h1{max-width:840px;margin:18px auto 18px;font-size:clamp(2.5rem,6vw,5rem);line-height:.98;letter-spacing:-.055em}.article-header-modern .article-lead{max-width:760px;margin:0 auto 20px;font-size:1.22rem;line-height:1.55}.article-meta-modern{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;color:#747e8a;font-size:.9rem;font-weight:750}.article-meta-modern a{color:var(--book-blue);text-decoration:none}
.article-featured-modern{margin:0 0 30px}.article-featured-modern img{max-height:590px;border-radius:26px}.article-reading-card{padding:clamp(28px,5vw,56px);border:1px solid #e2e6ec;border-radius:26px;background:#fff;box-shadow:0 18px 50px rgba(42,48,55,.07)}.article-prose-modern{font-size:1.11rem;line-height:1.86}.article-prose-modern p{margin:0 0 1.35rem}.article-prose-modern h2{margin:3rem 0 1rem;font-size:clamp(1.7rem,3vw,2.35rem)}.article-prose-modern blockquote{margin:2rem 0;padding:22px 24px;border-left:5px solid var(--book-blue);border-radius:0 16px 16px 0;background:#eef3fa;color:#27466f;font-size:1.12rem}.article-prose-modern hr{margin:2.8rem 0;border:0;border-top:1px solid #e0e4ea}.article-prose-modern ul{padding-left:1.25rem}
.comments-zone{margin-top:38px;padding:clamp(25px,4vw,40px);border:1px solid #dde3eb;border-radius:26px;background:#fff;box-shadow:0 16px 46px rgba(42,48,55,.065)}.comments-heading{display:flex;justify-content:space-between;gap:24px;align-items:end}.comments-heading h2{margin:0;font-size:clamp(2rem,4vw,3rem)}.comments-count{flex:0 0 auto;padding:8px 12px;border-radius:999px;background:#eef3fa;color:var(--book-blue-deep);font-weight:900;font-size:.84rem}.comments-intro{max-width:720px;color:var(--muted);margin:12px 0 24px}.comments-list{display:grid;gap:13px;margin:20px 0 28px}.comment-modern{display:grid;grid-template-columns:46px 1fr;gap:14px;padding:17px;border:1px solid #e6e9ee;border-radius:16px;background:#fbfcfd}.comment-avatar{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--book-blue);color:#fff;font-weight:950}.comment-author{display:flex;justify-content:space-between;gap:12px;align-items:center}.comment-author small{color:var(--muted)}.comment-content p{margin:.45rem 0 0}.no-comments{display:grid;gap:4px;margin:18px 0 25px;padding:18px 20px;border:1px dashed #cbd4df;border-radius:16px;background:#f9fbfd}.no-comments span{color:var(--muted)}
.comment-form-modern{display:grid;gap:10px;margin-top:22px}.comment-form-modern label{font-weight:900}.comment-form-modern textarea{min-height:150px;border-radius:14px}.comment-form-footer{display:flex;justify-content:space-between;align-items:center;gap:14px}.comment-form-footer small{color:var(--muted)}
.comment-account-cta{display:grid;grid-template-columns:70px 1fr;gap:22px;padding:25px;border-radius:20px;background:linear-gradient(135deg,#eef3fa,#f8fafc);border:1px solid #d8e1ed}.comment-account-icon{display:grid;place-items:center;width:70px;height:70px;border-radius:18px;background:#fff;font-size:2rem;box-shadow:0 9px 22px rgba(42,48,55,.07)}.comment-account-cta h3{margin:2px 0 8px;font-size:1.65rem}.comment-account-cta p{margin:0 0 17px;color:var(--muted)}.comment-account-cta .btn.ghost{border:1px solid #cfd9e5;background:#fff}.comment-account-benefits{display:flex;gap:10px 18px;flex-wrap:wrap;margin-top:14px;color:#667383;font-size:.82rem;font-weight:800}
@media(max-width:900px){.journal-hero-grid,.journal-featured-card,.journal-newsletter-card{grid-template-columns:1fr}.journal-community-card{max-width:680px}.journal-featured-image{min-height:330px}.journal-grid-modern{grid-template-columns:repeat(2,minmax(0,1fr))}.section-heading.journal-heading{align-items:start;flex-direction:column}.journal-newsletter-card{padding:32px}.comments-heading{align-items:start;flex-direction:column}}
@media(max-width:620px){.journal-hero{padding:54px 0 48px}.journal-hero .wrap{width:min(100% - 26px,1160px)}.journal-hero h1{font-size:clamp(2.55rem,13vw,4rem)}.journal-hero-actions,.journal-hero-actions .btn{width:100%}.journal-trust{display:grid;gap:8px}.journal-community-card{padding:22px;border-radius:19px}.journal-grid-modern{grid-template-columns:1fr}.journal-featured-card{border-radius:20px}.journal-featured-image{min-height:240px}.journal-featured-content{padding:24px}.journal-featured-content h2{font-size:2rem}.journal-newsletter-card{width:calc(100% - 26px);padding:24px;border-radius:20px}.article-modern{padding-top:34px}.article-shell{width:min(100% - 24px,900px)}.article-header-modern{text-align:left}.article-meta-modern{justify-content:flex-start}.article-header-modern h1{font-size:clamp(2.3rem,12vw,3.6rem)}.article-reading-card{padding:22px;border-radius:20px}.comments-zone{padding:20px;border-radius:20px}.comment-modern{grid-template-columns:38px 1fr;padding:14px}.comment-avatar{width:38px;height:38px}.comment-author{align-items:start;flex-direction:column;gap:1px}.comment-form-footer{align-items:stretch;flex-direction:column}.comment-form-footer .btn{width:100%}.comment-account-cta{grid-template-columns:1fr;padding:20px}.comment-account-icon{width:56px;height:56px}.comment-account-cta .actions,.comment-account-cta .btn{width:100%}.comment-account-benefits{display:grid;gap:7px}}

/* V1.7.1 - Popup confirmation newsletter */
.newsletter-popup-backdrop{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:20px;background:rgba(22,29,38,.68);backdrop-filter:blur(7px);animation:newsletterFade .18s ease-out}.newsletter-popup-card{position:relative;width:min(100%,520px);padding:34px;border:1px solid rgba(49,95,167,.16);border-radius:28px;background:#fff;box-shadow:0 32px 90px rgba(18,31,48,.28);text-align:center;animation:newsletterPop .22s ease-out}.newsletter-popup-close{position:absolute;top:14px;right:16px;display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:50%;background:#f1f4f8;color:#4a5360;font:inherit;font-size:1.65rem;line-height:1;cursor:pointer}.newsletter-popup-close:hover{background:#e5ebf3;color:#214777}.newsletter-popup-icon{display:grid;place-items:center;width:72px;height:72px;margin:0 auto 18px;border-radius:22px;background:linear-gradient(145deg,#315fa7,#214777);color:#fff;font-size:2rem;box-shadow:0 14px 30px rgba(49,95,167,.24)}.newsletter-popup-icon.success{background:linear-gradient(145deg,#2f9d62,#217646)}.newsletter-popup-icon.neutral{background:linear-gradient(145deg,#68717d,#4d555e)}.newsletter-popup-kicker{display:block;margin-bottom:8px;color:#315fa7;font-size:.76rem;font-weight:950;letter-spacing:.13em;text-transform:uppercase}.newsletter-popup-card h2{margin:0 0 14px;color:#30353c;font-size:clamp(1.75rem,4vw,2.35rem);line-height:1.1}.newsletter-popup-card p{margin:0 0 12px;color:#606a76;line-height:1.65}.newsletter-popup-card strong{color:#30353c}.newsletter-popup-help{padding:11px 13px;margin:18px 0!important;border-radius:13px;background:#f3f6fa;font-size:.88rem}.newsletter-popup-card .btn{margin-top:8px;min-width:190px}@keyframes newsletterFade{from{opacity:0}to{opacity:1}}@keyframes newsletterPop{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}@media(max-width:620px){.newsletter-popup-backdrop{align-items:end;padding:12px}.newsletter-popup-card{padding:30px 20px 24px;border-radius:24px}.newsletter-popup-card .btn{width:100%}}


/* V1.7.4 - Cafe DMT roles */
.cafe-message-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.cafe-staff-badge{display:inline-flex;align-items:center;justify-content:center;min-height:22px;padding:2px 8px;border-radius:999px;font-size:.65rem;font-style:normal;font-weight:950;letter-spacing:.055em;line-height:1;text-transform:uppercase;white-space:nowrap}.cafe-staff-badge.is-admin{background:#214777;color:#fff;box-shadow:0 4px 12px rgba(33,71,119,.22)}.cafe-staff-badge.is-moderator{background:#e8f1ff;color:#214777;border:1px solid #b9d0ee}.cafe-member-badge{display:inline-flex;align-items:center;padding:3px 8px;border-radius:999px;background:#f0f2f5;color:#657080;font-size:.72rem;font-weight:750}.cafe-online-person{display:flex!important;align-items:center;gap:6px;flex-wrap:wrap;padding:6px 0}.cafe-online-person b{font-size:.92rem}.cafe-online-person small{color:#7a8491}.cafe-online-person .cafe-staff-badge{font-size:.58rem;min-height:19px;padding:2px 6px}@media(max-width:640px){.cafe-message-meta{gap:5px}.cafe-staff-badge{font-size:.58rem;padding:2px 6px}.cafe-member-badge{font-size:.66rem;padding:2px 6px}}

/* V1.7.5 - Cafe DMT complete responsive layout */
.cafe-page main{overflow:hidden;background:#f7f9fc}
.cafe-hero{position:relative;overflow:hidden;padding:72px 0 64px;background:linear-gradient(128deg,#172d48 0%,#214777 55%,#315fa7 100%);color:#fff}
.cafe-hero:before{content:"";position:absolute;width:420px;height:420px;right:-160px;bottom:-250px;border:72px solid rgba(255,255,255,.06);border-radius:50%}
.cafe-hero-grid{position:relative;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:44px;align-items:center}
.cafe-hero h1{margin:0 0 18px;color:#fff;font-size:clamp(3rem,7vw,5.5rem);line-height:.98;letter-spacing:-.055em}
.cafe-hero .lead{margin:0 0 24px;color:#e7eef8;font-size:1.18rem;line-height:1.65}
.cafe-values{display:flex;gap:9px;flex-wrap:wrap}
.cafe-values span{display:inline-flex;align-items:center;min-height:34px;padding:7px 11px;border:1px solid rgba(255,255,255,.24);border-radius:999px;background:rgba(255,255,255,.09);color:#fff;font-size:.78rem;font-weight:850;line-height:1.15;white-space:nowrap}
.cafe-install-card{padding:28px;border:1px solid rgba(255,255,255,.2);border-radius:24px;background:rgba(255,255,255,.11);box-shadow:0 22px 55px rgba(5,20,38,.2);backdrop-filter:blur(10px)}
.cafe-install-card strong{display:block;margin-bottom:10px;color:#fff;font-size:1.5rem;line-height:1.2}
.cafe-install-card p{margin:0 0 20px;color:#e4ecf7;line-height:1.6}
.cafe-install-card .btn{margin:4px 6px 4px 0;vertical-align:middle}
.cafe-install-card .btn.ghost{border-color:rgba(255,255,255,.7);background:#fff;color:#26384f}

.cafe-profile-card{display:grid;grid-template-columns:minmax(0,.8fr) minmax(320px,1.2fr);gap:34px;align-items:start;margin-bottom:52px;padding:32px;border:1px solid rgba(49,95,167,.14);border-radius:26px;background:#fff;box-shadow:0 16px 46px rgba(30,57,89,.08)}
.cafe-profile-card h2{margin:10px 0 10px;font-size:clamp(2rem,4vw,3rem)}
.cafe-profile-card p{margin:0;color:var(--muted)}
.cafe-profile-form{display:grid;grid-template-columns:1fr 1fr auto;gap:14px;align-items:end}
.cafe-profile-form label{display:grid;gap:7px;color:var(--book-charcoal);font-weight:800}
.cafe-profile-form input,.cafe-profile-form select{width:100%;min-height:48px;padding:11px 13px;border:1px solid #cfd8e5;border-radius:13px;background:#fbfcfe;color:#252b32;font:inherit}
.cafe-profile-form input:focus,.cafe-profile-form select:focus{outline:3px solid rgba(49,95,167,.16);border-color:var(--book-blue)}

.cafe-room-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.cafe-room-card{display:block;min-height:220px;padding:25px;border:1px solid rgba(49,95,167,.13);border-radius:22px;background:#fff;box-shadow:0 12px 36px rgba(30,57,89,.07);color:inherit;text-decoration:none;transition:.18s ease}
.cafe-room-card:hover{transform:translateY(-3px);border-color:rgba(49,95,167,.32);box-shadow:0 20px 50px rgba(30,57,89,.12)}
.cafe-room-card>div:first-child{display:flex;align-items:center;gap:7px;color:#6c7785;font-size:.82rem;font-weight:800}
.cafe-online-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#38b66a;box-shadow:0 0 0 4px rgba(56,182,106,.12)}
.cafe-room-card h3{margin:18px 0 8px;font-size:1.65rem}
.cafe-room-card p{margin:0 0 22px;color:var(--muted);line-height:1.55}
.cafe-room-card strong{color:var(--book-blue)}

/* Chat room */
.cafe-app{display:grid;grid-template-columns:310px minmax(0,1fr);min-height:calc(100vh - 112px);background:#eef2f7}
.cafe-sidebar{padding:28px 24px;border-right:1px solid #d8e0ea;background:#fff}
.cafe-back{display:inline-flex;margin-bottom:26px;color:var(--book-blue);font-weight:850;text-decoration:none}
.cafe-sidebar h1{margin:4px 0 12px;font-size:2rem}
.cafe-sidebar>p{color:var(--muted);line-height:1.55}
.cafe-online{margin-top:30px;padding-top:22px;border-top:1px solid #e2e7ed}
.cafe-online>strong{display:block;margin-bottom:10px}
#cafe-online-list{display:grid;gap:2px}
.cafe-chat{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto;min-width:0;height:calc(100vh - 112px);background:#f7f9fc}
.cafe-chat-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 20px;border-bottom:1px solid #dbe3ec;background:#fff}
.cafe-chat-head>div{display:grid;gap:2px}.cafe-chat-head strong{font-size:1.05rem}.cafe-chat-head small{color:#77808a}
.cafe-messages{min-height:0;overflow-y:auto;padding:22px;scroll-behavior:smooth}
.cafe-message{max-width:780px;margin:0 auto 14px;padding:14px 16px;border:1px solid #dde4ec;border-radius:17px;background:#fff;box-shadow:0 6px 16px rgba(37,54,75,.045)}
.cafe-message.is-own{border-color:#c8d8ee;background:#f0f5fc}
.cafe-message p{margin:8px 0 0;white-space:pre-wrap;word-break:break-word;line-height:1.55}
.cafe-message-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}.cafe-message-actions button{padding:0;border:0;background:none;color:#647184;font:inherit;font-size:.78rem;font-weight:800;cursor:pointer}
.cafe-reply-preview{margin:0 18px 8px;padding:10px 12px;border-left:4px solid var(--book-blue);border-radius:9px;background:#eaf1fa;color:#43536a}
.cafe-composer{padding:14px 18px calc(14px + env(safe-area-inset-bottom));border-top:1px solid #dbe3ec;background:#fff}
.cafe-composer textarea{display:block;width:100%;min-height:74px;max-height:180px;resize:vertical;padding:12px 14px;border:1px solid #cdd7e4;border-radius:15px;background:#fbfcfe;font:inherit;line-height:1.45}
.cafe-composer>div{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:10px}.cafe-composer small{color:#76808d;line-height:1.35}.cafe-composer .btn{flex:0 0 auto}
.cafe-modal{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:18px;background:rgba(18,28,40,.67);backdrop-filter:blur(5px)}
.cafe-modal[hidden]{display:none!important}.cafe-modal-card{position:relative;width:min(100%,520px);padding:28px;border-radius:22px;background:#fff;box-shadow:0 30px 80px rgba(0,0,0,.25)}
.cafe-modal-close{position:absolute;right:14px;top:12px;width:38px;height:38px;border:0;border-radius:50%;background:#eef2f7;font-size:1.5rem;cursor:pointer}.cafe-modal-card form{display:grid;gap:14px}.cafe-modal-card label{display:grid;gap:7px;font-weight:800}.cafe-modal-card select,.cafe-modal-card textarea{width:100%;padding:11px 12px;border:1px solid #ccd7e3;border-radius:12px;font:inherit}.cafe-modal-card textarea{min-height:110px;resize:vertical}

@media(max-width:900px){
  .cafe-hero{padding:52px 0 48px}.cafe-hero-grid{grid-template-columns:1fr;gap:26px}.cafe-hero h1{font-size:clamp(3rem,13vw,4.7rem)}
  .cafe-install-card{padding:22px}.cafe-profile-card{grid-template-columns:1fr;gap:24px;padding:24px}.cafe-profile-form{grid-template-columns:1fr 1fr}.cafe-profile-form .btn{grid-column:1/-1;width:100%}
  .cafe-app{grid-template-columns:1fr}.cafe-sidebar{padding:18px 18px 14px;border-right:0;border-bottom:1px solid #d8e0ea}.cafe-sidebar>p{margin-bottom:0}.cafe-online{margin-top:16px;padding-top:14px}.cafe-chat{height:auto;min-height:70vh}.cafe-messages{min-height:46vh;max-height:58vh}
}
@media(max-width:620px){
  .cafe-page .section{padding:42px 0}.cafe-page .wrap{width:min(100% - 24px,1160px)}
  .cafe-hero{padding:38px 0 36px}.cafe-hero h1{font-size:clamp(2.8rem,14vw,4rem);margin-bottom:14px}.cafe-hero .lead{font-size:1.02rem;line-height:1.55}.cafe-values{display:grid;grid-template-columns:1fr 1fr;gap:7px}.cafe-values span{justify-content:center;min-width:0;padding:7px 8px;text-align:center;white-space:normal;font-size:.72rem}
  .cafe-install-card{padding:20px;border-radius:20px}.cafe-install-card strong{font-size:1.28rem}.cafe-install-card .btn{display:flex;width:100%;margin:8px 0 0}.cafe-install-card .btn[hidden]{display:none!important}
  .cafe-profile-card{margin-bottom:38px;padding:20px;border-radius:20px}.cafe-profile-card h2{font-size:2rem;word-break:break-word}.cafe-profile-form{grid-template-columns:1fr}.cafe-profile-form .btn{grid-column:auto}.cafe-profile-form input,.cafe-profile-form select{font-size:16px}
  .section-heading{gap:8px!important}.cafe-room-grid{grid-template-columns:1fr}.cafe-room-card{min-height:0;padding:21px;border-radius:18px}.cafe-room-card h3{font-size:1.45rem}
  .cafe-app{min-height:0}.cafe-sidebar{padding:16px 14px 12px}.cafe-sidebar h1{font-size:1.55rem}.cafe-online{display:none}.cafe-chat-head{position:sticky;top:0;z-index:5;padding:11px 12px}.cafe-chat-head .btn{min-height:38px;padding:0 10px;font-size:.78rem}.cafe-messages{padding:12px;min-height:50vh;max-height:58vh}.cafe-message{padding:12px 13px;border-radius:15px}.cafe-reply-preview{margin:0 12px 6px}.cafe-composer{position:sticky;bottom:0;z-index:6;padding:10px 12px calc(10px + env(safe-area-inset-bottom))}.cafe-composer textarea{min-height:58px;font-size:16px}.cafe-composer>div{align-items:stretch;flex-direction:column;gap:8px}.cafe-composer .btn{width:100%}.cafe-composer small{font-size:.74rem}.cafe-modal{align-items:end;padding:10px}.cafe-modal-card{padding:25px 18px 18px;border-radius:22px}.cafe-modal-card select,.cafe-modal-card textarea{font-size:16px}
}

/* V1.7.6 - Mobile-first room selector */
.cafe-home-section{background:#f7f9fc}
.cafe-rooms-heading{display:flex;align-items:end;justify-content:space-between;gap:32px;margin-bottom:20px}
.cafe-rooms-heading h2{margin:5px 0 0;font-size:clamp(2rem,4vw,3rem)}
.cafe-rooms-heading>p{max-width:500px;margin:0;color:var(--muted)}
.cafe-room-featured{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:20px;align-items:center;margin-bottom:16px;padding:26px 28px;border:1px solid rgba(49,95,167,.18);border-radius:24px;background:linear-gradient(135deg,#214777,#315fa7);color:#fff;text-decoration:none;box-shadow:0 18px 44px rgba(33,71,119,.16);transition:.18s ease}
.cafe-room-featured:hover{transform:translateY(-2px);box-shadow:0 24px 52px rgba(33,71,119,.22)}
.cafe-room-featured-icon{display:grid;place-items:center;width:62px;height:62px;border-radius:20px;background:rgba(255,255,255,.14);font-size:1.8rem}
.cafe-room-featured-content{min-width:0}.cafe-room-kicker{margin-bottom:4px;color:#cfe0f7;font-size:.72rem;font-weight:950;letter-spacing:.09em;text-transform:uppercase}
.cafe-room-featured h3{margin:0 0 6px;color:#fff;font-size:1.8rem}.cafe-room-featured p{margin:0 0 10px;color:#e8eff9;line-height:1.45}
.cafe-room-presence{display:inline-flex;align-items:center;gap:7px;color:#fff;font-size:.82rem;font-weight:850}.cafe-room-featured .cafe-online-dot{background:#67df8d;box-shadow:0 0 0 4px rgba(103,223,141,.15)}
.cafe-room-arrow{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.12);font-size:2rem;line-height:1;flex:0 0 auto}
.cafe-room-list{display:grid;gap:10px}
.cafe-room-list-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;padding:16px 18px;border:1px solid #e0e6ee;border-radius:18px;background:#fff;color:inherit;text-decoration:none;box-shadow:0 7px 22px rgba(30,57,89,.045);transition:.16s ease}
.cafe-room-list-item:hover{border-color:#b8cae4;transform:translateY(-1px);box-shadow:0 12px 28px rgba(30,57,89,.08)}
.cafe-room-list-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#eef3fa;font-size:1.35rem}
.cafe-room-list-main{min-width:0}.cafe-room-list-title{color:var(--book-charcoal);font-size:1.05rem;font-weight:950;line-height:1.2}.cafe-room-list-desc{margin-top:4px;color:#6f7a88;font-size:.86rem;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cafe-room-list-status{display:flex;align-items:center;gap:6px;margin-top:7px;color:#6b7683;font-size:.75rem;font-weight:800}
.cafe-room-list-item .cafe-room-arrow{width:34px;height:34px;background:#f1f4f8;color:#315fa7;font-size:1.75rem}
.cafe-rules-note{display:flex;align-items:center;gap:12px;margin-top:18px;padding:14px 16px;border-radius:15px;background:#edf3fb;color:#43536a;font-size:.88rem}.cafe-rules-note strong{color:#214777}.cafe-empty-state{padding:28px;border:1px dashed #cfd8e5;border-radius:18px;background:#fff;text-align:center;color:var(--muted)}

@media(max-width:620px){
  .cafe-rooms-heading{display:block;margin-bottom:14px}.cafe-rooms-heading h2{font-size:1.85rem}.cafe-rooms-heading>p{margin-top:8px;font-size:.92rem;line-height:1.45}
  .cafe-room-featured{grid-template-columns:auto minmax(0,1fr) auto;gap:13px;margin-bottom:12px;padding:17px 14px;border-radius:19px}
  .cafe-room-featured-icon{width:46px;height:46px;border-radius:14px;font-size:1.35rem}.cafe-room-featured h3{font-size:1.25rem}.cafe-room-featured p{display:-webkit-box;margin-bottom:8px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:.83rem;line-height:1.4}.cafe-room-kicker{font-size:.62rem}.cafe-room-presence{font-size:.72rem}.cafe-room-featured .cafe-room-arrow{width:30px;height:30px;font-size:1.55rem}
  .cafe-room-list{gap:8px}.cafe-room-list-item{gap:11px;padding:13px 12px;border-radius:16px;min-height:74px}.cafe-room-list-icon{width:43px;height:43px;border-radius:13px;font-size:1.2rem}.cafe-room-list-title{font-size:.98rem}.cafe-room-list-desc{max-width:100%;font-size:.78rem}.cafe-room-list-status{margin-top:5px;font-size:.68rem}.cafe-room-list-item .cafe-room-arrow{width:29px;height:29px;font-size:1.5rem}
  .cafe-rules-note{display:grid;gap:2px;margin-top:14px;padding:12px 13px;font-size:.78rem;line-height:1.35}
  .cafe-profile-card{margin-bottom:28px}
}

/* V1.7.7 - Desktop rooms + message avatar */
.cafe-message{display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;align-items:start}
.cafe-avatar{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#214777,#315fa7);color:#fff;font-size:1rem;font-weight:950;box-shadow:0 6px 14px rgba(33,71,119,.18)}
.cafe-bubble{min-width:0}
.cafe-message-meta{min-width:0}
.cafe-message-meta time{margin-left:auto;color:#7b8490;font-size:.78rem;white-space:nowrap}

@media(min-width:901px){
  .cafe-home-section .wrap{max-width:1180px}
  .cafe-rooms-heading{margin-top:8px;margin-bottom:24px}
  .cafe-room-featured{min-height:156px;padding:30px 34px;margin-bottom:18px}
  .cafe-room-featured-icon{width:68px;height:68px;font-size:2rem}
  .cafe-room-featured h3{font-size:2rem}
  .cafe-room-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  .cafe-room-list-item{min-height:132px;padding:22px 22px;gap:16px;border-radius:22px}
  .cafe-room-list-icon{width:58px;height:58px;border-radius:18px;font-size:1.55rem}
  .cafe-room-list-title{font-size:1.2rem}
  .cafe-room-list-desc{white-space:normal;overflow:visible;text-overflow:clip;font-size:.92rem;line-height:1.45}
  .cafe-room-list-status{margin-top:10px;font-size:.8rem}
  .cafe-room-list-item .cafe-room-arrow{width:38px;height:38px}
  .cafe-rules-note{margin-top:22px;padding:16px 18px}
}

@media(max-width:620px){
  .cafe-message{grid-template-columns:36px minmax(0,1fr);gap:9px}
  .cafe-avatar{width:36px;height:36px;font-size:.86rem}
  .cafe-message-meta time{width:100%;margin-left:0;margin-top:2px;font-size:.7rem}
}


/* V1.7.9 - Gestion Café + inscriptions */
.install-help{display:block;margin-top:12px;color:#e8eff9;line-height:1.45}
.cafe-staff-entry{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;margin:0 0 24px;padding:15px 18px;border-radius:17px;background:#fff;border:1px solid #d7e2ef;text-decoration:none;box-shadow:0 8px 24px rgba(33,71,119,.07)}
.cafe-staff-entry>span{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#eaf1fb;font-size:1.35rem}.cafe-staff-entry strong,.cafe-staff-entry small{display:block}.cafe-staff-entry small{color:var(--muted)}.cafe-staff-entry b{font-size:1.6rem;color:var(--book-blue)}
.cafe-head-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.cafe-manage-hero{padding:55px 0;background:linear-gradient(130deg,#17365d,#315fa7);color:#fff}.cafe-manage-hero h1{margin:8px 0;color:#fff;font-size:clamp(2.7rem,6vw,5rem)}.cafe-manage-hero p{color:#e6eef9}.cafe-manage-stats{display:flex;gap:10px;margin-top:22px}.cafe-manage-stats>div{min-width:120px;padding:12px 16px;border:1px solid rgba(255,255,255,.22);border-radius:14px;background:rgba(255,255,255,.09)}.cafe-manage-stats strong,.cafe-manage-stats span{display:block}.cafe-manage-stats strong{font-size:1.6rem}.cafe-manage-stats span{font-size:.76rem;color:#dce7f5}
.cafe-manage-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.55fr);gap:24px}.cafe-manage .report-card{margin-bottom:14px;padding:20px;border:1px solid #dbe4ee;border-radius:18px;background:#fff}.cafe-manage .report-card blockquote{margin:14px 0;padding:12px 14px;border-left:4px solid var(--book-blue);background:#f5f8fc}.cafe-manage .moderation-side,.cafe-manage-note{padding:20px;border:1px solid #dbe4ee;border-radius:18px;background:#fff;margin-bottom:16px}.cafe-manage-note p{color:var(--muted)}
.user-admin-list{display:grid;gap:12px}.user-admin-card{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(220px,.55fr);gap:16px;align-items:center;padding:17px 18px;border:1px solid var(--line);border-radius:16px;background:#fff}.user-admin-card.is-blocked{background:#fff7f6;border-color:#efc9c3}.user-admin-main{display:flex;gap:12px;align-items:center;min-width:0}.user-avatar{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#eaf1fb;color:var(--book-blue-deep);font-weight:950}.user-admin-main strong,.user-admin-main span,.user-admin-main small{display:block}.user-admin-main span{overflow:hidden;text-overflow:ellipsis;color:#59636f}.user-admin-main small{color:var(--muted)}.user-admin-flags{display:flex;gap:6px;flex-wrap:wrap}.user-admin-actions form{display:flex;gap:8px;align-items:center}.user-admin-actions input{min-width:0;padding:9px 10px}.danger-pill{background:#fae8e5!important;color:#9f3326!important}.blocked-note{grid-column:1/-1;color:#9f3326}
@media(max-width:850px){.cafe-manage-grid{grid-template-columns:1fr}.user-admin-card{grid-template-columns:1fr}.user-admin-actions form{align-items:stretch;flex-direction:column}.cafe-head-actions{justify-content:flex-end}.cafe-chat-head{align-items:flex-start}.install-help{font-size:.78rem}.cafe-manage-hero{padding:38px 0}.cafe-manage-stats>div{flex:1;min-width:0}}

/* V1.7.10 - Navigation persistante Espace Admin */
.admin-space-nav{position:sticky;top:71px;z-index:35;border-bottom:1px solid #dbe3ec;background:rgba(244,247,251,.97);backdrop-filter:blur(14px);box-shadow:0 6px 20px rgba(30,50,75,.05)}
.admin-space-nav__inner{width:min(100% - 32px,1240px);margin:0 auto;display:flex;align-items:center;gap:18px;min-height:62px}
.admin-space-nav__title{flex:0 0 auto;color:#214777;font-size:.73rem;font-weight:950;letter-spacing:.12em;white-space:nowrap}
.admin-space-nav__links{display:flex;align-items:center;gap:5px;min-width:0;overflow-x:auto;scrollbar-width:thin;padding:8px 0}
.admin-space-nav__links a{display:inline-flex;align-items:center;justify-content:center;min-height:39px;padding:8px 12px;border-radius:10px;color:#404750;font-size:.84rem;font-weight:850;text-decoration:none;white-space:nowrap;transition:.15s ease}
.admin-space-nav__links a:hover{background:#fff;color:#214777}.admin-space-nav__links a.is-active{background:#315fa7;color:#fff;box-shadow:0 5px 14px rgba(49,95,167,.18)}
/* Les anciennes mini-navigations page par page deviennent inutiles. */
.backoffice .backhead .backnav{display:none!important}
@media(max-width:850px){
  .admin-space-nav{top:68px}.admin-space-nav__inner{width:100%;display:block;min-height:0;padding:8px 11px 7px}.admin-space-nav__title{display:block;margin:0 2px 5px;font-size:.64rem}.admin-space-nav__links{gap:6px;padding:0 0 2px}.admin-space-nav__links a{min-height:38px;padding:7px 11px;border:1px solid #dde5ee;background:#fff;font-size:.78rem}.admin-space-nav__links a.is-active{border-color:#315fa7;background:#315fa7}
}
@media(max-width:520px){.admin-space-nav{top:67px}.admin-space-nav__inner{padding-inline:9px}.admin-space-nav__links a{font-size:.75rem}}

/* V1.7.14 - Correctif definitif barre Gestion Cafe */
.cafe-team-sticky{position:sticky!important;top:72px!important;z-index:38!important;padding:10px 0!important;background:rgba(244,247,251,.94)!important;backdrop-filter:blur(16px)!important;border-bottom:1px solid rgba(214,225,237,.82)!important}
.cafe-team-bar{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto auto!important;align-items:center!important;gap:14px!important;padding:12px 13px!important;border:1px solid #d9e4f0!important;border-radius:20px!important;background:linear-gradient(145deg,#fff,#f8fbff)!important;box-shadow:0 12px 32px rgba(27,59,97,.08)!important;color:#303841!important;text-decoration:none!important}
.cafe-team-bar__icon{display:grid!important;place-items:center!important;width:48px!important;height:48px!important;border-radius:15px!important;background:linear-gradient(145deg,#214777,#315fa7)!important;color:#fff!important;font-size:1.35rem!important;box-shadow:0 8px 18px rgba(33,71,119,.22)!important}
.cafe-team-bar__copy{min-width:0!important}.cafe-team-bar__copy strong{display:block!important;color:#2f353d!important;font-size:1.03rem!important;line-height:1.15!important}.cafe-team-bar__eyebrow{display:block!important;margin-bottom:3px!important;color:#315fa7!important;font-size:.66rem!important;font-weight:950!important;letter-spacing:.11em!important;text-transform:uppercase!important}
.cafe-team-bar__status{display:inline-flex!important;align-items:center!important;gap:7px!important;min-height:34px!important;padding:7px 11px!important;border-radius:999px!important;background:#edf8f1!important;color:#327149!important;font-size:.78rem!important;font-weight:900!important;white-space:nowrap!important}.cafe-team-bar__status.has-alert{background:#fff1ed!important;color:#a54832!important}.cafe-team-bar__dot{width:8px!important;height:8px!important;border-radius:50%!important;background:#47b66b!important;box-shadow:0 0 0 4px rgba(71,182,107,.12)!important}.cafe-team-bar__status.has-alert .cafe-team-bar__dot{background:#ea6a4a!important;box-shadow:0 0 0 4px rgba(234,106,74,.12)!important}
.cafe-team-bar__action{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:40px!important;padding:9px 14px!important;border-radius:12px!important;background:#315fa7!important;color:#fff!important;font-size:.82rem!important;font-weight:900!important;text-decoration:none!important;white-space:nowrap!important;box-shadow:0 7px 16px rgba(49,95,167,.17)!important}
@media(max-width:700px){.cafe-team-sticky{top:0!important;padding:7px 0!important}.cafe-team-sticky .wrap{width:min(100% - 18px,1180px)!important}.cafe-team-bar{grid-template-columns:auto minmax(0,1fr) auto!important;gap:10px!important;padding:10px!important;border-radius:16px!important}.cafe-team-bar__icon{width:40px!important;height:40px!important;border-radius:12px!important;font-size:1.1rem!important}.cafe-team-bar__copy strong{font-size:.93rem!important}.cafe-team-bar__eyebrow{font-size:.58rem!important}.cafe-team-bar__status{grid-column:2/3!important;justify-self:start!important;margin-top:-3px!important;min-height:27px!important;padding:4px 8px!important;font-size:.68rem!important}.cafe-team-bar__action{grid-column:3/4!important;grid-row:1/3!important;width:42px!important;min-height:42px!important;padding:0!important;font-size:0!important}.cafe-team-bar__action span{font-size:1.15rem!important}}

/* V1.7.16 - salon: la barre equipe appartient a la colonne du chat, pas a la grille principale */
.cafe-room-main{min-width:0;display:flex;flex-direction:column;height:calc(100vh - 112px);background:#f7f9fc}
.cafe-room-main>.cafe-team-sticky{position:relative!important;top:auto!important;flex:0 0 auto;padding:8px 14px!important;background:#eef3f9!important;border-bottom:1px solid #dbe3ec!important}
.cafe-room-main>.cafe-team-sticky .cafe-team-bar{max-width:none!important}
.cafe-room-main>.cafe-chat{flex:1 1 auto;height:auto!important;min-height:0!important}
@media(max-width:900px){.cafe-room-main{height:auto;min-height:70vh}.cafe-room-main>.cafe-team-sticky{position:sticky!important;top:0!important;z-index:20!important;padding:7px 10px!important}.cafe-room-main>.cafe-chat{min-height:70vh!important}}

/* V1.7.18 - Mon espace lecteur */
.reader-space-hero{padding:64px 0 58px;background:linear-gradient(135deg,#17365d,#315fa7);color:#fff}.reader-space-hero h1{margin:.35rem 0 .7rem;color:#fff;font-size:clamp(2.5rem,6vw,4.8rem);letter-spacing:-.04em}.reader-space-hero p{max-width:720px;margin:0;color:#e4edf8;font-size:1.08rem}.reader-space{background:#f6f8fb}.reader-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:-34px;margin-bottom:46px}.reader-summary-card{display:grid;gap:5px;padding:20px;border:1px solid #dbe4ee;border-radius:20px;background:#fff;box-shadow:0 14px 32px rgba(33,71,119,.08)}.reader-summary-card>span{color:#315fa7;font-size:.7rem;font-weight:950;letter-spacing:.1em;text-transform:uppercase}.reader-summary-card strong{font-size:1.15rem;color:#2f353d}.reader-summary-card small{color:#6b7480;line-height:1.45}.reader-content-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}.reader-content-head h2{margin:.25rem 0 .25rem;font-size:clamp(2rem,4vw,3rem)}.reader-content-head p{margin:0;color:var(--muted)}.reader-items{display:grid;gap:14px}.reader-item{display:grid;grid-template-columns:auto minmax(0,1fr);gap:16px;padding:20px;border:1px solid #dbe4ee;border-radius:20px;background:#fff;box-shadow:0 10px 25px rgba(27,59,97,.05)}.reader-item-icon{display:grid;place-items:center;width:50px;height:50px;border-radius:15px;background:#eaf1fb;font-size:1.35rem}.reader-item-body small{color:#7a8490}.reader-item-body h3{margin:4px 0 8px;font-size:1.25rem}.reader-item-text{margin-bottom:14px;color:#434b55;line-height:1.65}.reader-empty{padding:42px 24px;border:1px dashed #cfdbea;border-radius:22px;background:#fff;text-align:center}.reader-empty span{font-size:2rem}.reader-empty h3{margin:8px 0 5px}.reader-empty p{margin:0;color:var(--muted)}.reader-empty.compact{padding:25px}
.reader-admin-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:22px}.reader-admin-compose,.reader-admin-existing{padding:22px;border:1px solid #dbe4ee;border-radius:20px;background:#fff}.reader-admin-compose h2,.reader-admin-existing h2{margin:.3rem 0 .5rem}.reader-admin-compose>p{color:var(--muted)}.reader-admin-form{display:grid;gap:14px;margin-top:18px}.reader-admin-form label{display:grid;gap:7px;font-weight:850}.reader-admin-form input,.reader-admin-form textarea{width:100%;padding:11px 12px;border:1px solid #ccd7e3;border-radius:12px;background:#fbfcfe;font:inherit}.reader-admin-form textarea{resize:vertical}.reader-admin-form small{font-weight:500;color:var(--muted)}.reader-admin-items{display:grid;gap:10px;margin-top:16px}.reader-admin-item{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px;border:1px solid #dde5ee;border-radius:16px;background:#fbfcfe}.reader-admin-item.is-inactive{opacity:.58}.reader-admin-item small{color:var(--muted)}.reader-admin-item h3{margin:4px 0 5px;font-size:1rem}.reader-admin-item p{margin:0 0 7px;color:#5f6975}.reader-admin-item a{font-size:.85rem;font-weight:800}.user-admin-actions{flex-wrap:wrap}.user-admin-actions>a{flex:0 0 auto}
@media(max-width:960px){.reader-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reader-admin-grid{grid-template-columns:1fr}}
@media(max-width:620px){.reader-space-hero{padding:42px 0 52px}.reader-summary-grid{grid-template-columns:1fr;margin-top:-24px;margin-bottom:34px}.reader-content-head{align-items:stretch;flex-direction:column}.reader-content-head .btn{width:100%}.reader-item{grid-template-columns:42px minmax(0,1fr);padding:16px}.reader-item-icon{width:42px;height:42px;border-radius:12px}.reader-admin-compose,.reader-admin-existing{padding:17px}.reader-admin-item{align-items:stretch;flex-direction:column}.reader-admin-item form,.reader-admin-item .btn{width:100%}.user-admin-actions>a{width:100%}}


/* V1.7.19 - Navigation directe entre les salons */
.cafe-room-switcher{margin:22px 0 6px;padding-top:18px;border-top:1px solid #e2e7ed}
.cafe-room-switcher__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.cafe-room-switcher__head>span{color:#2f353d;font-size:.82rem;font-weight:950;text-transform:uppercase;letter-spacing:.07em}
.cafe-room-switcher__head>small{color:#8a95a2;font-size:.72rem;font-weight:800}
.cafe-room-switcher__list{display:grid;gap:7px}
.cafe-room-switcher__item{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:46px;padding:7px 9px;border:1px solid transparent;border-radius:13px;color:#46515f;text-decoration:none;transition:.15s ease}
.cafe-room-switcher__item:hover{border-color:#d5e0ee;background:#f5f8fc;color:#214777;transform:translateX(2px)}
.cafe-room-switcher__item.is-active{border-color:#c6d7ee;background:#eaf1fb;color:#214777;box-shadow:inset 3px 0 0 #315fa7}
.cafe-room-switcher__icon{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#f0f4f9;font-size:1rem}
.cafe-room-switcher__item.is-active .cafe-room-switcher__icon{background:#315fa7;color:#fff}
.cafe-room-switcher__name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.86rem;font-weight:850}
.cafe-room-switcher__online{display:inline-flex;align-items:center;gap:5px;color:#7c8794;font-size:.69rem;font-weight:850}
.cafe-room-switcher__online .cafe-online-dot{width:7px;height:7px;box-shadow:0 0 0 3px rgba(56,182,106,.10)}
@media(max-width:900px){
  .cafe-room-switcher{margin:16px -6px 12px;padding:12px 6px 0}
  .cafe-room-switcher__head{padding:0 4px;margin-bottom:8px}
  .cafe-room-switcher__list{display:flex;gap:8px;overflow-x:auto;padding:0 4px 5px;scroll-snap-type:x proximity;scrollbar-width:thin}
  .cafe-room-switcher__item{flex:0 0 auto;grid-template-columns:30px auto auto;min-height:44px;max-width:220px;padding:6px 10px;border-color:#dde6f0;background:#fff;box-shadow:0 4px 12px rgba(30,57,89,.04);scroll-snap-align:start}
  .cafe-room-switcher__item:hover{transform:none}
  .cafe-room-switcher__item.is-active{background:#315fa7;border-color:#315fa7;color:#fff;box-shadow:0 7px 18px rgba(49,95,167,.18)}
  .cafe-room-switcher__item.is-active .cafe-room-switcher__icon{background:rgba(255,255,255,.16)}
  .cafe-room-switcher__item.is-active .cafe-room-switcher__online{color:#fff}
  .cafe-room-switcher__name{font-size:.8rem;max-width:130px}
  .cafe-room-switcher__online{font-size:.65rem}
}
@media(max-width:620px){
  .cafe-room-switcher__head>span{font-size:.72rem}.cafe-room-switcher__head>small{font-size:.66rem}
  .cafe-room-switcher__item{grid-template-columns:28px auto;gap:7px;min-height:42px;padding:6px 9px}
  .cafe-room-switcher__icon{width:28px;height:28px;border-radius:9px;font-size:.9rem}.cafe-room-switcher__online{display:none}
}
