.page-main{padding-top:32px;padding-bottom:80px;min-height:65vh}.page-heading{padding:15px 0 32px;max-width:890px}.page-heading h1{font-size:clamp(34px,4vw,54px);letter-spacing:-2px;margin:18px 0}.page-heading p{font-size:17px;line-height:1.8;color:var(--muted);max-width:720px}.data-note{background:var(--pale);padding:17px 20px;border-radius:6px;font-size:14px;line-height:1.8;color:#4f5d75;margin:16px 0 25px}.data-note a,.source-link a,.article-content a,.data-credit a,.profile-section a,.resource-list a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}.filters{display:flex;gap:16px;align-items:end;margin:30px 0 20px}.filters label:first-child{flex:1}.filters label,.compare-form label{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:550}.filters input,.filters select,.compare-form select{border:1px solid #ccd4e5;border-radius:6px;background:white;padding:13px 14px;min-height:49px;color:var(--ink);font:inherit;font-size:15px;min-width:0}.result-count{font-size:14px;color:var(--muted);margin-bottom:22px}.candidate-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.candidate-card{border:1px solid var(--border);border-radius:var(--radius-md);overflow:hidden;transition:border-color var(--duration-fast) var(--ease),box-shadow var(--duration-fast) var(--ease)}.candidate-card:hover{border-color:var(--color-blue-200);box-shadow:var(--shadow-2)}.candidate-card-link{display:block;height:100%}.portrait{height:240px;position:relative;background:#e8eef9;overflow:hidden;display:grid;place-items:center;color:#8192bc;font-family:var(--heading);font-size:55px;font-weight:600}.portrait>span{position:absolute}.candidate-card .portrait{height:auto;aspect-ratio:4/5}.portrait img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;background:#e8eef9}.portrait img.failed{display:none}.candidate-card-copy{padding:22px}.status{font-size:12px;font-weight:550;display:inline-block;background:#edf1fc;color:#365192;border-radius:4px;padding:5px 8px;line-height:1.5}.status-renonce,.status-empeche{background:#f2f2f4;color:#677080}.candidate-card h2{font-size:23px;letter-spacing:-.6px;margin:13px 0 7px}.candidate-card-copy>p{font-size:14px;line-height:1.6;color:var(--muted)}.card-bottom{border-top:1px solid var(--line);padding-top:17px;margin-top:20px;font-size:12px;color:var(--muted);display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between}.card-bottom span{color:var(--blue);font-weight:600}.empty-state{display:grid;justify-items:center;gap:var(--space-4);padding:clamp(40px,8vw,64px) clamp(20px,5vw,32px);text-align:center;background:var(--surface-soft);border:1px solid var(--border);border-radius:var(--radius-md);margin:25px 0}.empty-state>*{margin:0;max-width:62ch}.empty-state h2{font-size:25px;margin-bottom:14px}.empty-state p{font-size:16px;line-height:1.7;color:var(--text-muted)}[hidden]{display:none!important}.profile-top{display:grid;grid-template-columns:230px 1fr;gap:38px;align-items:center;padding-bottom:42px;border-bottom:1px solid var(--line)}.profile-top .portrait{height:290px;border-radius:8px}.profile-top h1{font-size:46px;margin:13px 0;letter-spacing:-1.7px}.party-name{font-size:21px;color:var(--muted);margin-bottom:16px}.profile-status{font-size:16px;line-height:1.75;max-width:750px;margin-bottom:12px}.source-link{display:block;font-size:12px;line-height:1.7;color:var(--muted);overflow-wrap:anywhere;margin-top:9px}.metadata{font-size:13px;color:var(--muted);line-height:1.75;margin-top:10px}.profile-top .button{margin-top:20px}.profile-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:48px;padding-top:45px}.profile-sidebar{position:sticky;top:20px;align-self:start}.profile-sidebar h2{font-size:17px;letter-spacing:0;margin-bottom:18px}.profile-sidebar>a{display:block;padding:10px 0;font-size:15px}.profile-sidebar>a:hover{color:var(--blue)}.profile-sidebar .data-note{font-size:13px;padding:15px}.profile-section{padding-bottom:40px;margin-bottom:30px;border-bottom:1px solid var(--line);scroll-margin-top:35px}.profile-section h2{font-size:29px;margin:12px 0 20px}.profile-section p{line-height:1.8}.lead-paragraph{font-size:17px;color:#46546b}.timeline{padding:0;list-style:none;margin-top:25px}.timeline li{display:grid;grid-template-columns:105px 1fr;gap:20px;padding:16px 0;border-top:1px solid var(--line)}.timeline li>span{font-size:13px;color:var(--blue);padding-top:3px}.timeline p{font-size:15px}.topic-sections{margin-top:25px}.topic-detail{border:1px solid var(--line);border-radius:7px;margin-bottom:15px;overflow:hidden}.topic-detail summary{cursor:pointer;padding:18px 22px;background:#f7f9fc;font-size:17px;font-weight:550;display:flex;justify-content:space-between;align-items:center;gap:15px}.topic-detail summary:after{content:'+';color:var(--blue);font-size:20px}.topic-detail[open] summary:after{content:'−'}.topic-detail summary span{font-size:12px;color:var(--muted);font-weight:400;margin-left:auto}.proposal{padding:21px 22px;border-top:1px solid var(--line)}.proposal p{font-size:15px;line-height:1.8;margin:7px 0}.proposal-nature{color:var(--text-muted);font-size:13px}.empty-topic{font-size:14px;color:var(--muted);padding:20px}.resource-list{line-height:2;padding-left:20px}.compare-form{border:1px solid var(--line);border-radius:8px;padding:25px;display:flex;gap:15px;flex-wrap:wrap;align-items:end}.compare-selects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;width:100%;margin-bottom:4px}.theme-select{flex:1}.comparison-title{margin:35px 0 15px;font-size:26px}.compare-columns{display:grid;grid-template-columns:repeat(var(--columns,2),minmax(0,1fr));gap:18px}.compare-column{border:1px solid var(--border);border-radius:var(--radius-md);overflow:hidden}.compare-column-header{background:#f3f6fc;padding:22px}.compare-column-header h3{font-size:21px;margin:12px 0 6px}.compare-column-header p{font-size:13px;color:var(--muted);line-height:1.7}.compare-column-header a{color:var(--blue);font-size:13px;text-decoration:underline;display:inline-block;margin-top:12px}.compare-column>.proposal{font-size:15px}.comparison-summary{font-size:14px;color:var(--muted);line-height:1.8;margin-bottom:20px}.comparison-error{color:#963c36;font-size:15px;padding:18px;background:#fff2f0;border-radius:6px;margin-block:25px}.guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.guide-card{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);padding:var(--space-6);display:flex;flex-direction:column;align-items:start;min-width:0}.guide-card h2{font-size:24px;line-height:var(--leading-snug);margin:14px 0;letter-spacing:-.6px}.guide-card h2 a:hover{color:var(--link-hover)}.guide-card h2 a:focus-visible{outline-offset:2px;border-radius:4px}.guide-card p{font-size:15px;line-height:1.7;color:var(--text-muted);margin-bottom:24px}.guide-card .text-link{margin-top:auto}.guide-article{max-width:none;margin:0}.article-content{max-width:790px;padding-top:25px}.article-content section{margin-bottom:38px}.article-content h2{font-size:25px;margin-bottom:17px}.article-content p{font-size:17px;line-height:1.9;color:var(--text-soft);margin-bottom:15px}.article-content ul{font-size:15px;line-height:2;padding-left:23px}.article-sources{padding:var(--space-6);background:var(--surface-soft);border:1px solid var(--border);border-radius:var(--radius-md)}.article-sources h2{font-size:21px}.related-guides{margin-top:65px}.related-guides>h2{margin-bottom:25px;font-size:28px}.home-guides{padding-top:62px}.home-guides .guide-card h2{font-size:23px}.data-credit{font-size:12px;line-height:1.8;padding-bottom:23px;color:var(--muted)}.footer-links a{font-size:13px}.footer-links a:hover{color:var(--link)}.quiz-entry{padding:30px;background:var(--pale);border-radius:8px;max-width:750px}.quiz-entry p{line-height:1.8;margin-bottom:23px}.header nav a[aria-current=page]{color:var(--link)}
@media(max-width:1000px){.candidate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.compare-selects{gap:10px}.profile-layout{grid-template-columns:170px minmax(0,1fr);gap:25px}.profile-sidebar .data-note{font-size:12px}.profile-top{grid-template-columns:200px 1fr;gap:30px}.guide-card{padding:23px}.compare-form{padding:20px}.compare-form select{font-size:13px}}
@media(max-width:700px){.header nav{font-size:12px;gap:15px}.header nav a:last-child{max-width:85px}.filters{flex-wrap:wrap}.filters label:first-child{flex-basis:100%}.filters label:nth-child(2){flex:1}.compare-selects{grid-template-columns:1fr}.compare-columns{grid-template-columns:1fr}.profile-top{grid-template-columns:140px 1fr;gap:20px;align-items:start}.profile-top .portrait{height:190px}.profile-top h1{font-size:31px;letter-spacing:-1px}.profile-top .party-name{font-size:17px}.profile-status{font-size:14px}.profile-layout{display:block}.profile-sidebar{position:static;display:flex;flex-wrap:wrap;gap:15px;margin-bottom:25px}.profile-sidebar h2,.profile-sidebar .data-note{display:none}.profile-sidebar>a{font-size:14px}.timeline li{grid-template-columns:80px 1fr;gap:14px}.topic-detail summary{font-size:16px;padding:17px}.topic-detail summary span{font-size:11px}.article-content p{font-size:16px}.profile-section h2{font-size:26px}}
@media(max-width:500px){.page-main{padding-top:16px;padding-bottom:45px}.page-heading h1{font-size:35px;letter-spacing:-1.3px}.page-heading p{font-size:15px}.header{flex-wrap:wrap;height:auto;padding-block:20px;gap:19px}.header nav{order:2;width:100%;justify-content:space-between}.header nav a:last-child{max-width:none}.header nav a:nth-child(2){max-width:none}.candidate-grid{grid-template-columns:1fr}.portrait{height:280px}.candidate-card h2{font-size:25px}.guide-grid{grid-template-columns:1fr}.profile-top{grid-template-columns:1fr}.profile-top .portrait{width:160px;height:195px}.profile-top h1{font-size:36px}.profile-top .button{width:100%}.filters .button{font-size:12px;padding-inline:12px}.filters label{font-size:13px}.filters input,.filters select{font-size:14px}.page-heading{padding-bottom:20px}.compare-form{padding:17px}.theme-select{flex-basis:100%}.topic-detail summary span{max-width:80px;text-align:right}.home-guides{padding-top:43px}.article-sources{padding:var(--space-5)}.footer-top{gap:22px}.data-credit{font-size:11px}}

.filters{flex-wrap:wrap}.filters label:first-child{min-width:220px}.filters label:has(#candidate-party){max-width:270px}.guide-brief{width:100%;margin-top:auto;border:1px solid var(--color-paper-line);border-radius:var(--radius-md);background:var(--surface-paper)}.guide-brief summary{display:flex;align-items:center;gap:8px;min-height:44px;padding:4px 14px;list-style:none;cursor:pointer;color:var(--text);font-size:var(--text-sm);font-weight:var(--weight-semibold);border-radius:var(--radius-md)}.guide-brief summary::-webkit-details-marker{display:none}.guide-brief summary::before{content:"";flex:none;width:7px;height:7px;margin:0 6px 3px 3px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);transition:transform var(--duration-fast) var(--ease)}.guide-brief[open] summary::before{margin-bottom:6px;transform:rotate(45deg)}.guide-brief summary:hover{color:var(--link-hover)}.guide-brief summary:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.guide-brief ul{padding:0 16px 0 36px;font-size:14px;line-height:1.7;margin:2px 0 12px;color:var(--text)}.guide-brief .text-link{display:inline-block;margin:0 16px 14px}.privacy-trigger{font:inherit;font-size:13px;border:0;background:none;padding:0;color:inherit;cursor:pointer}.consent-panel{position:fixed;bottom:20px;left:20px;right:20px;max-width:1060px;margin:auto;z-index:1000;background:white;border:1px solid #ccd4e5;box-shadow:0 8px 40px #18213b26;border-radius:10px;padding:24px;display:flex;align-items:center;gap:25px}.consent-panel p{font-size:13px;line-height:1.7;margin:8px 0}.consent-panel strong{font-size:16px}.consent-panel a,.consent-panel summary{font-size:13px;color:var(--blue);cursor:pointer}.consent-panel>.button{flex-shrink:0;max-width:280px;white-space:normal;font-size:13px}.newsletter-panel{max-width:680px;border:1px solid var(--border);padding:30px;border-radius:var(--radius-md)}.newsletter-panel h2{font-size:25px;margin-bottom:16px}.newsletter-panel p{line-height:1.8;margin:15px 0}.newsletter-panel form{display:grid;gap:20px;margin:25px 0}.newsletter-panel label{font-size:14px;line-height:1.7}.newsletter-panel .metadata a{color:var(--link);text-decoration:underline;text-underline-offset:3px}.newsletter-panel input[type=email]{display:block;width:100%;min-height:44px;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);font:inherit;padding:11px 12px;margin-top:8px}.newsletter-panel input[type=email]:focus-visible{outline:3px solid var(--focus);outline-offset:1px;border-color:var(--color-blue-600)}.newsletter-panel input[type=email]:disabled{background:var(--surface-soft)}.newsletter-choice input{width:18px;height:18px;flex:none;accent-color:var(--action)}.newsletter-choice{display:flex;align-items:start;gap:10px}.newsletter-choice input{margin-top:4px}@media(max-width:700px){.consent-panel{flex-direction:column;align-items:stretch;padding:18px;left:10px;right:10px;bottom:10px;max-height:80vh;overflow:auto}.consent-panel>.button{max-width:none}.filters label:has(#candidate-party){max-width:none;flex:1}.newsletter-panel{padding:20px}}

.newsletter-panel fieldset{border:0;padding:0;margin:0;min-width:0;display:grid;gap:20px}

.guide-grid{align-items:start}
/* Reserve matching text blocks without clipping; an open brief grows its own card. */
@media(min-width:701px){.guide-card>.eyebrow{min-height:1.7em}.guide-card>h2{min-height:4.2em}.guide-card>p{min-height:7.2em}}
@media(min-width:701px) and (max-width:800px),(min-width:1101px) and (max-width:1200px){.guide-card>h2{min-height:5.6em}.guide-card>p{min-height:9em}}
@media(max-width:1100px){.guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.guide-grid{grid-template-columns:1fr}}

/* The sticky slot keeps its full height while the visible header compacts. */
/* Root scroll-padding also affects native caret reveal in the sticky search.
   Keep its visible input in the scrollable viewport; offset hash targets only. */
html{scroll-padding-top:0}
.header-slot{position:sticky;top:0;z-index:80;pointer-events:none}
.site-header{background:var(--surface);pointer-events:auto;width:100%}
.header-ready .site-header{position:absolute;top:0;left:0}
.site-header .header{position:relative}
.header-menu-toggle{display:none}
.site-header .header-menu{position:absolute;top:calc(100% + 10px);right:0;display:flex;flex-direction:column;align-items:stretch;gap:0;width:310px;max-width:100%;max-height:calc(100dvh - 105px);overflow:auto;padding:var(--space-2);border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow-3);font-size:var(--text-sm)}
.site-header .header-menu a{display:block;max-width:none;padding:15px 16px;border-radius:var(--radius-sm);line-height:1.5}
.site-header .header-menu a:hover,.site-header .header-menu a:focus-visible{background:var(--surface-tint);color:var(--link)}
.site-header .header-menu a:last-child{margin-top:6px;border-top:1px solid var(--border);border-radius:0;color:var(--link);font-weight:var(--weight-semibold)}
.menu-icon{display:flex;flex-direction:column;justify-content:center;gap:6px;width:18px;height:18px}
.menu-icon span{height:1.5px;width:100%;background:currentColor;transition:transform var(--duration-fast) var(--ease)}
.header-menu-toggle[aria-expanded=true] .menu-icon span:first-child{transform:translateY(3.75px) rotate(45deg)}
.header-menu-toggle[aria-expanded=true] .menu-icon span:last-child{transform:translateY(-3.75px) rotate(-45deg)}
.is-compact .site-header{box-shadow:var(--shadow-2);border-bottom:1px solid var(--border)}
.is-compact .header{height:72px;flex-wrap:nowrap;padding-block:0}
.is-compact .header-nav,.is-compact .header-cta{display:none}
.is-compact .header-menu-toggle{display:inline-flex;gap:var(--space-3);min-height:42px;padding:10px 16px}
.is-compact .header .brand{font-size:23px}
.is-compact .header .brand-year{font-size:17px;margin-top:3px}
.profile-sidebar{top:var(--header-offset,100px)}
.profile-section{scroll-margin-top:0}
@media(max-width:1000px){.site-header .header{flex-wrap:wrap;height:auto;padding-block:20px;gap:20px}.site-header .header-cta{display:inline-flex}.site-header .header-nav{order:2;width:100%;justify-content:center;gap:25px}.site-header .header-nav a{max-width:none}.is-compact .header{height:72px;flex-wrap:nowrap;padding-block:0}.is-compact .header-cta{display:none}}
@media(max-width:600px){.site-header .header-nav{justify-content:space-between;gap:15px;align-items:start}.site-header .header-nav a{line-height:1.5}.site-header .header-nav a:nth-child(2){max-width:110px}.site-header .header-nav a:last-child{max-width:100px}.site-header .header-menu{width:100%;order:initial}.site-header .header-menu a:last-child{max-width:none}.is-compact .header{height:64px}.is-compact .header .brand{font-size:21px}.is-compact .header .brand-year{font-size:16px}.site-header .header-menu{max-height:calc(100dvh - 97px)}}
@media(prefers-reduced-motion:reduce){.menu-icon span{transition:none}}

.footer-links{flex-wrap:wrap;row-gap:14px}
.filters label{min-width:0}
.filters label:has(#candidate-party){min-width:0}
.proposal{scroll-margin-top:0}
.proposal:target{background:#f3f6fc;outline:2px solid #ccd4e5;outline-offset:-2px}
html :target{scroll-margin-top:var(--header-offset,100px)}
@media(max-width:600px){.site-header .header-nav{display:grid;grid-template-columns:1fr 1fr;column-gap:20px;row-gap:10px}.site-header .header-nav a:nth-child(n){max-width:none}.is-compact .header-nav{display:none}.filters label:has(#candidate-party){flex-basis:100%}}

/* The compact header carries the same documentary assistant entry point. */
.header-search{display:none;min-width:0;max-width:540px;flex:1;align-items:center;border:1px solid var(--border-strong);border-radius:var(--radius-md);background:var(--surface-tint);overflow:hidden}
.is-compact .header-search{display:flex}
.header-search:focus-within{outline:3px solid var(--focus);outline-offset:2px}
.header-search input{min-width:0;width:100%;flex:1;min-height:44px;padding:11px 14px;border:0;background:transparent;color:var(--text);font:inherit;font-size:15px;outline:none}
.header-search button{flex-shrink:0;min-height:44px;border:0;background:transparent;color:var(--link);font:inherit;font-size:13px;font-weight:var(--weight-semibold);padding:10px 14px;cursor:pointer}
.header-search button:focus-visible{outline:3px solid var(--focus);outline-offset:-4px}
.header-search button:disabled{opacity:.5;cursor:wait}
/* Mobile keeps one stable header and the floating assistant entry. */
@media(max-width:760px){.site-header .header{height:72px;min-height:0;flex-wrap:nowrap;gap:15px;padding-block:0}.site-header .header-nav,.site-header .header-cta,.site-header .header-search{display:none}.site-header .header-menu-toggle{display:inline-flex;gap:var(--space-3);min-height:42px;padding:10px 16px;margin-left:auto}.site-header .header .brand{font-size:24px}.site-header .header .brand-year{font-size:18px;margin-top:4px}.site-header .header-menu{max-height:calc(100dvh - var(--header-offset,104px))}}

/* Surtitre des pages : petit trait rouge, comme sur l’accueil et les pages refaites. */
.page-heading .eyebrow::before{content:"";width:26px;height:2px;background:var(--red);flex:none}
/* Pied de page : comptes de La Boussole. */
.footer-follow{display:flex;align-items:center;gap:14px;padding-bottom:22px;font-size:13px;color:var(--text-muted)}
.footer-social{display:flex;gap:var(--space-2)}
.footer-social a{display:grid;place-items:center;width:36px;height:36px;border-radius:var(--radius-pill);background:var(--surface);border:1px solid var(--border);color:var(--text);transition:color var(--duration-fast) var(--ease),border-color var(--duration-fast) var(--ease)}
.footer-social a:hover,.footer-social a:focus-visible{color:var(--link);border-color:var(--link)}
.footer-social svg{width:16px;height:16px;fill:currentColor}
/* Pop-up newsletter. */
.newsletter-dialog{width:min(520px,calc(100% - 32px));border:0;border-radius:var(--radius-lg);padding:32px 28px 24px;box-shadow:var(--shadow-3)}
.newsletter-dialog[open]{display:grid;gap:14px}
.newsletter-dialog h2{font-size:26px;letter-spacing:-.8px;line-height:1.15;margin:0}
.newsletter-dialog p{margin:0;color:var(--muted);line-height:1.6}
.newsletter-dialog .eyebrow::before{content:"";width:26px;height:2px;background:var(--red);flex:none}
.newsletter-dialog-status{background:var(--pale);border-radius:8px;padding:10px 12px;font-size:14px}
.newsletter-dialog fieldset{border:0;padding:0;margin:0;display:grid;gap:10px}
.newsletter-dialog label{display:grid;gap:6px;font-size:14px;font-weight:600}
.newsletter-dialog input{font:inherit;padding:11px 12px;border:1px solid var(--border-strong);border-radius:var(--radius-sm)}
.newsletter-dialog .metadata{font-size:12.5px}
/* Pied de page en trois colonnes (maquette validée le 7 octobre 2026). */
.footer-main{display:grid;grid-template-columns:minmax(240px,1fr) 2fr;gap:var(--space-12);padding-block:44px 36px}
.footer-brand{display:grid;gap:var(--space-3);align-content:start}
.footer-brand .brand{font-size:26px}
.footer-tagline{margin:0;font-family:var(--font-heading);font-weight:650;font-size:var(--text-md);letter-spacing:-.2px;color:var(--text)}
.footer-badges{margin:0;font-size:var(--text-xs);color:var(--text-muted)}
.footer-brand .footer-follow{display:grid;gap:8px;padding:0;margin-top:6px}
.footer-brand .footer-follow>span{font-size:var(--text-sm);font-weight:var(--weight-semibold);color:var(--text-soft)}
.footer-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-8)}
.footer-col h2{margin:0 0 var(--space-3);font-family:var(--font-body);font-size:var(--text-sm);font-weight:var(--weight-bold);letter-spacing:normal;color:var(--text)}
.footer-col ul{list-style:none;margin:0;padding:0}
.footer-col li{margin:0 0 9px}
.footer-col a,.footer-col button{color:var(--text-muted);text-decoration:none;font:inherit;font-size:var(--text-sm);background:none;border:0;padding:0;cursor:pointer}
.footer-col a:hover,.footer-col button:hover{color:var(--link)}
.footer .footer-bottom{font-size:12px}
@media(max-width:860px){.footer-main{grid-template-columns:1fr;gap:var(--space-8)}}
@media(max-width:560px){.footer-cols{grid-template-columns:1fr 1fr}.footer-cols .footer-col:last-child{grid-column:1 / -1}}
/* Pages légales : brouillons en attente de validation juridique. */
.draft-note{max-width:890px;margin:0 0 28px;padding:10px 14px;background:var(--color-warning-50);color:var(--color-warning-700);font-size:14px;border-radius:var(--radius-md)}
.legal-content ul{padding-left:20px;display:grid;gap:6px}
/* Partage, signalement et idées (jalon 6, 7 octobre 2026). */
.share-button{display:inline-flex;align-items:center;gap:8px;justify-self:start;align-self:start;width:max-content;font:inherit;font-size:14px;font-weight:600;color:var(--blue);background:#fff;border:1px solid var(--line);border-radius:999px;padding:8px 14px;cursor:pointer}
.share-button:hover{border-color:var(--blue)}.share-button:focus-visible,.feedback-inline:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.share-button[hidden],.feedback-inline[hidden],.footer-link-button[hidden]{display:none}
.page-heading+.metadata+.share-button,.cmp-intro .share-button,.trend-intro .share-button{margin-top:14px}
.feedback-inline{font:inherit;font-size:14px;color:var(--blue);background:none;border:0;padding:0;text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.feedback-dialog{width:min(540px,calc(100% - 32px));max-height:calc(100dvh - 32px);border:0;border-radius:var(--radius-lg);padding:32px 28px 24px;box-shadow:var(--shadow-3)}
.feedback-dialog form{display:grid;gap:14px}
.feedback-dialog h2{font-size:26px;letter-spacing:-.8px;line-height:1.15;margin:0}
.feedback-dialog .eyebrow::before{content:"";width:26px;height:2px;background:var(--red);flex:none}
.feedback-dialog fieldset{border:0;padding:0;margin:0;display:grid;gap:8px}
.feedback-dialog legend{font-size:14px;font-weight:600;margin-bottom:6px}
.feedback-kind{grid-auto-flow:column;justify-content:start;gap:18px!important}
.feedback-dialog fieldset label{display:flex;gap:8px;align-items:flex-start;font-size:14.5px;line-height:1.4}
.feedback-dialog input[type=radio],.feedback-dialog input[type=checkbox]{margin-top:3px;accent-color:var(--blue)}
.feedback-field{display:grid;gap:6px;font-size:14px;font-weight:600}.feedback-field small{font-weight:400;color:var(--muted)}
.feedback-field[hidden],.feedback-dialog fieldset[hidden]{display:none}
.feedback-dialog textarea,.feedback-dialog input[type=url]{font:inherit;font-weight:400;padding:11px 12px;border:1px solid var(--border-strong);border-radius:var(--radius-sm);resize:vertical}
.feedback-dialog .metadata{font-size:12.5px;color:var(--muted);line-height:1.5;margin:0}
.feedback-status{margin:0;background:var(--pale);border-radius:8px;padding:10px 12px;font-size:14px}.feedback-status.is-ok{background:#e8f6ee;color:#14532d}
.feedback-hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
@media(max-width:640px){.feedback-kind{grid-auto-flow:row}.feedback-dialog{padding:28px 18px 20px}}
.profile-actions .share-button{align-self:center}
.preview-answers a{display:inline-flex;align-items:center;background:var(--surface);border:1px solid var(--border);font-size:12px;border-radius:var(--radius-sm);padding:10px 12px;color:inherit;text-decoration:none}.preview-answers a:first-child{color:var(--link);background:var(--surface-tint);border-color:var(--color-blue-200)}.preview-answers a:hover{border-color:var(--blue)}
/* Méthode et journal des corrections (maquette validée le 7 octobre 2026). */
.method-heading{max-width:860px}.method-heading h1{letter-spacing:-1.6px}
.method-updated{font-size:15px!important;line-height:1.6!important}.method-updated a,.method-main a,.journal-page a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}
.method-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:56px;align-items:start}
.method-toc{position:sticky;top:calc(var(--header-offset,104px) + 16px);display:grid;gap:2px;font-size:15px}
.method-toc-title{font-size:var(--text-sm);font-weight:var(--weight-semibold);color:var(--text-muted);margin-bottom:8px}
.method-toc a{padding:6px 0;font-weight:600;color:var(--text);border-radius:4px}.method-toc a:focus-visible{outline-offset:2px}.method-toc a.method-toc-sub{padding:4px 0 4px 14px;font-weight:400;color:var(--text-soft)}.method-toc a:hover{color:var(--link-hover)}
.method-main{min-width:0;display:grid;gap:48px;max-width:860px}
.method-chips{display:none;flex-wrap:wrap;gap:8px}
.method-chips a{font-size:var(--text-sm);font-weight:var(--weight-semibold);padding:6px 14px;border:1px solid var(--border-strong);border-radius:var(--radius-pill);background:var(--surface);color:var(--text-soft)!important;text-decoration:none!important;min-height:40px;display:inline-flex;align-items:center}.method-chips a:hover{background:var(--surface-soft);color:var(--text)!important}.method-chips a:focus-visible{outline-offset:2px}
.method-section{display:grid;gap:14px;scroll-margin-top:calc(var(--header-offset,104px) + 16px)}
.method-section>h2{font-size:28px;letter-spacing:-.8px;margin:0}
.method-intro{margin:0;font-size:15.5px;line-height:1.6;color:var(--text-soft)}
.method-essentials{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:12px}
.method-essentials li{display:flex;gap:12px;padding:16px;border:1px solid var(--color-paper-line);border-radius:var(--radius-md);background:var(--surface-paper)}
.method-essentials li>div{display:grid;gap:4px}.method-essentials b{font-size:16px}.method-essentials span:not(.method-num){font-size:15px;line-height:1.5;color:var(--text-soft)}
.method-num{width:30px;height:30px;border-radius:50%;background:var(--color-blue-100);color:var(--color-blue-700);font-weight:700;font-size:14px;display:grid;place-items:center;flex:none}
.method-fiches{display:grid;gap:10px}
.method-fiche{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);scroll-margin-top:calc(var(--header-offset,104px) + 16px)}
.method-fiche[open]{border-color:var(--border-strong);box-shadow:var(--shadow-2)}
.method-fiche>summary,.method-principle>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:16px}
.method-fiche>summary::-webkit-details-marker,.method-principle>summary::-webkit-details-marker{display:none}
.method-fiche>summary{padding:16px 20px;min-height:56px;border-radius:var(--radius-md)}.method-fiche>summary:hover h3,.method-principle>summary:hover h3{color:var(--link-hover)}.method-fiche>summary:focus-visible,.method-principle>summary:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.method-fiche>summary h3,.method-principle>summary h3{margin:0;font-family:var(--font);font-size:17px;font-weight:700;letter-spacing:0;line-height:1.35}
.method-chev{flex:none;color:var(--text-muted);transition:transform var(--duration) var(--ease)}details[open]>summary>.method-chev{transform:rotate(180deg)}
.method-fiche-body{padding:0 20px 18px;display:grid;gap:16px}
.method-rows{margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:16px 28px}
.method-rows>div{display:grid;gap:4px;align-content:start}
.method-rows dt{font-size:var(--text-sm);font-weight:var(--weight-bold);color:var(--text-soft)}
.method-rows dd{margin:0;font-size:15px;line-height:1.55;color:var(--text-soft);overflow-wrap:anywhere}
.method-fiche .metadata{margin:0}
.method-more{border-top:1px solid var(--border);padding-top:14px;display:grid;gap:10px}
.method-more h4{margin:6px 0 0;font-family:var(--heading);font-size:17px;letter-spacing:-.2px}.method-more .method-more-title{font-size:19px;margin-top:0}
.method-more p{margin:0;font-size:15px;line-height:1.65;color:var(--text-soft)}
.method-principles{border-bottom:1px solid var(--border)}
.method-principle{border-top:1px solid var(--border);scroll-margin-top:calc(var(--header-offset,104px) + 16px)}
.method-principle>summary{padding:14px 2px;min-height:52px;border-radius:var(--radius-sm)}.method-principle>summary h3{font-weight:600;font-size:16px}
.method-principle-body{padding:0 2px 16px;display:grid;gap:10px}.method-principle-body p{margin:0;font-size:15.5px;line-height:1.65;color:#3a4459}
.method-all{font-weight:600;font-size:15.5px}
.journal-list{list-style:none;margin:0;padding:0;border-top:1px solid var(--border)}
.journal-item{padding:14px 0;border-bottom:1px solid var(--border);display:grid;gap:6px}
.journal-meta{display:flex;align-items:center;gap:8px;font-size:13.5px;color:var(--text-muted)}
.journal-kind{display:inline-flex;align-items:center;min-height:22px;font-size:var(--text-xs);font-weight:var(--weight-semibold);line-height:1.3;padding:1px 9px;border-radius:var(--radius-pill)}
.journal-kind.is-correction{color:var(--color-warning-700);background:var(--color-warning-50)}.journal-kind.is-methode{color:var(--color-blue-700);background:var(--color-blue-50)}.journal-kind.is-ajout{color:var(--color-success-700);background:var(--color-success-50)}
.journal-text{margin:0;font-size:15.5px;line-height:1.5;color:var(--text)}
.journal-link{font-size:14px;font-weight:600;justify-self:start;padding-block:4px}
@media(min-width:761px){.journal-list.is-compact .journal-item{grid-template-columns:110px minmax(0,1fr);column-gap:16px;align-items:baseline}.journal-list.is-compact .journal-meta{display:grid;gap:4px;justify-items:start}}
.journal-report{margin:0;font-size:14.5px;color:var(--text-muted)}.journal-report:has(>[data-feedback-open][hidden]){display:none}
.journal-report .feedback-inline{font-size:inherit}
.journal-page{max-width:760px;display:grid;gap:20px}
.journal-page .page-heading{padding:0}.journal-page .page-heading h1{margin:10px 0 12px}
.journal-back{font-size:15px;font-weight:600;justify-self:start;min-height:44px;display:inline-flex;align-items:center}
.journal-filters{display:flex;flex-wrap:wrap;gap:8px}
.journal-filters button{font:inherit;font-size:var(--text-sm);font-weight:var(--weight-semibold);padding:6px 14px;border-radius:var(--radius-pill);border:1px solid var(--border-strong);background:var(--surface);color:var(--text-soft);min-height:40px;cursor:pointer;transition:background-color var(--duration-fast) var(--ease),border-color var(--duration-fast) var(--ease)}.journal-filters button:hover{background:var(--surface-soft);color:var(--text)}
.journal-filters button[aria-pressed=true]{background:var(--color-blue-100);border-color:var(--color-blue-600);color:var(--color-blue-800)}
.journal-filters button:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.journal-empty{margin:0;color:var(--text-muted)}
@media(max-width:900px){.method-layout{grid-template-columns:1fr;gap:0}.method-toc{display:none}.method-chips{display:flex}.method-main{gap:36px}}
@media(max-width:600px){.method-section>h2{font-size:22px;letter-spacing:-.6px}.method-fiche>summary{padding:14px 16px}.method-fiche-body{padding:0 16px 16px}.method-fiche>summary h3{font-size:16px}.method-essentials li{padding:14px}}
/* Page d'un guide (lot 6, mise en page de référence du propriétaire, 4 novembre 2026) : fil d'Ariane en pastilles,
   grand titre et panneau visuel (icône Phosphor deux tons sur fond papier) ; sommaire et partage collants à gauche,
   texte à droite. Sous 1024 px : une colonne, panneau masqué, sommaire repliable avant le texte, partage après. */
.guide-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:clamp(32px,5vw,72px);align-items:stretch;padding:8px 0 clamp(40px,6vw,64px)}
.guide-hero-text{display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-5);min-width:0}
.guide-title{margin:0;font-family:var(--font-heading);font-size:clamp(36px,4.4vw,62px);font-weight:800;letter-spacing:-.045em;line-height:1.04;color:var(--text);text-wrap:balance}
.guide-lead{margin:0;max-width:52ch;font-size:var(--text-lg);line-height:1.6;color:var(--text-soft)}
.guide-hero .metadata{margin:0}
.guide-hero-visual{display:grid;place-items:center;min-height:340px;border:1px solid var(--color-paper-line);border-radius:var(--radius-xl);background:var(--surface-paper);color:var(--color-blue-600)}
.guide-hero-visual svg{width:clamp(120px,13vw,176px);height:auto}
.guide-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:clamp(32px,5vw,72px);align-items:start}
.guide-aside{position:sticky;top:calc(var(--header-offset,104px) + 16px);display:grid;grid-template-columns:minmax(0,1fr);gap:var(--space-8);min-width:0}.guide-aside .ui-toc ol{grid-template-columns:minmax(0,1fr)}
.guide-aside .ui-toc a{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.guide-body{max-width:70ch;padding-top:0}
.guide-body section{margin-bottom:40px;scroll-margin-top:calc(var(--header-offset,104px) + 16px)}
.guide-body h2{font-size:clamp(24px,2.3vw,29px);letter-spacing:-.02em;margin-bottom:14px}
.guide-body p{font-size:18px;line-height:1.65;color:var(--text)}
.guide-body ul{font-size:16px;line-height:1.8}
@media(max-width:1023px){.guide-hero{grid-template-columns:minmax(0,1fr);padding-bottom:28px}.guide-hero-visual{display:none}.guide-layout{display:flex;flex-direction:column;gap:var(--space-6)}.guide-aside{display:contents}.guide-aside>*{width:100%}.guide-aside .ui-toc a{white-space:normal}.guide-aside .ui-share{order:2}.guide-body{order:1;max-width:none}}
@media(max-width:600px){.guide-title{letter-spacing:-.035em;line-height:1.08}.guide-body p{font-size:17px}.guide-body section{margin-bottom:32px}}
