/* Bureau du Léman : repères partagés, sans dépendance distante. */
:root { --bureau-green:#164e48; --bureau-paper:#f8f8f2; --bureau-orange:#ffdfa9; --bureau-rule:#c9d6ce; }
body {background:var(--bureau-paper)}
.port-nav a[aria-current]:hover,.port-current-group summary:hover {background:#123d38;color:#fff}
.port-nav .port-subnav {z-index:10}
.top {min-height:64px;background:#fffefa}
.port-nav {background:#fffefa}
.port-icon {vertical-align:middle}
.bureau-layout {display:grid;grid-template-columns:1.04fr 1fr;gap:clamp(1rem,3vw,2.4rem);align-items:stretch}
.bureau .desk-intro {margin-bottom:1.55rem}
.bureau .desk-intro h1 {font-size:clamp(2.35rem,4vw,3.3rem)}
.bureau-journal {background:var(--bureau-green);color:#fff;border-radius:16px;padding:clamp(1.3rem,3.5vw,2.65rem);display:flex;flex-direction:column;align-items:flex-start}
.bureau-journal .desk-kicker {display:flex;gap:.45rem;align-items:center;color:#e3efdf;font-size:.73rem;margin-bottom:1.3rem}
.bureau-journal h2 {color:inherit;margin:0;font-size:clamp(2rem,4vw,3.15rem)}
.bureau-journal>p:not(.desk-kicker) {margin:.75rem 0 1.4rem;color:#eff8f5;max-width:38ch}
.bureau-primary,.bureau-secondary {display:inline-flex;align-items:center;gap:.55rem;min-height:44px;font-weight:650;line-height:1.3}
.bureau-primary {background:var(--bureau-orange);color:#173e38;padding:.65rem .95rem;text-decoration:none;border-radius:7px;margin-top:auto}
.bureau-primary:hover {background:#ffeac6}
.bureau-secondary {color:white;text-underline-offset:4px;margin-top:.4rem;font-size:.94rem}
.bureau .bureau-other {padding:clamp(.6rem,1.5vw,1.2rem) 0}
.bureau-other h2 {font-size:1.6rem;margin:0 0 .45rem}
.bureau-other .desk-card {padding:1rem .5rem; border-radius:0;border-bottom:1px solid var(--bureau-rule)}
.bureau-other .desk-card>svg:first-child {color:#265d51;background:#e2ece4;box-sizing:content-box;padding:.6rem;border-radius:.65rem}
.bureau-other .desk-card:nth-of-type(2)>svg:first-child {background:#e2eaf2;color:#335679}
.bureau-other .desk-card:nth-of-type(3)>svg:first-child {background:#f5e8d2;color:#80521f}
.bureau-other .desk-card small {font-size:.92rem}
.structure-index {display:flex;align-items:center;flex-wrap:wrap;gap:.35rem .7rem;border-block:1px solid var(--bureau-rule);margin-block:1.15rem .5rem;padding:.3rem 0}
.structure-index a {display:inline-flex;align-items:center;min-height:44px;font-weight:600}
.structure-index strong {font-size:.8rem;color:var(--muted);margin-right:.5rem}
.docs-search button {display:inline-flex;align-items:center;gap:.45rem}
.docs .upload-disclosure {border-top:1px solid var(--bureau-rule);border-bottom:1px solid var(--bureau-rule);padding:0 0 .15rem}
.upload-disclosure > summary {cursor:pointer;color:var(--bureau-green);font-weight:bold;min-height:44px;padding:.65rem .25rem}
.upload-disclosure .docs-drop {margin-bottom:.65rem}
.docs #dossier-ouvert {scroll-margin:1rem}
.docs-results .docs-back {font-weight:600}
@media (max-width:43rem){.bureau-layout {grid-template-columns:1fr;gap:1.4rem}.bureau .bureau-other {padding:0}.bureau-journal .desk-kicker {margin-bottom:.7rem}.bureau .desk-intro {margin-bottom:1.1rem}.bureau-other .desk-card {padding:.8rem .25rem}.top{min-height:58px}.structure-index strong{flex-basis:100%}.structure-index{gap:0 .9rem}}
@media(min-width:350px) and (max-width:42rem){.port-nav{display:flex;flex-wrap:nowrap;gap:0;justify-content:space-between;padding:.25rem .55rem}.port-nav>a,.port-disclosure summary{flex-direction:column;gap:2px;justify-content:center;min-width:48px;padding:.35rem .18rem;font-size:.82rem}.port-disclosure summary{display:grid;grid-template-columns:auto .8rem;column-gap:.12rem;justify-items:center}.port-disclosure summary>svg:first-child{grid-column:1/-1}.port-disclosure summary>svg:last-child{width:.8rem;height:.8rem}.port-subnav{left:-2rem;right:auto}}
.port-mark {flex:none}
.docs-folder-heading {display:flex;align-items:baseline;justify-content:space-between;gap:.45rem;flex-wrap:wrap}
.docs-mobile-jump {display:none}
@media (max-width:750px){.docs-mobile-jump {display:inline-flex;align-items:center;min-height:44px;font-size:.88rem;font-weight:650}}
@media (max-width:32rem){.top {padding:8px 12px}.top .brand {font-size:1.04rem;gap:8px}.top .brand small {font-size:.53rem;letter-spacing:.1em}.top .port-mark {width:2rem;height:2rem}.top .port-mark svg{width:1.55rem;height:1.55rem}.top button.quiet {padding:.4rem .55rem;font-size:.8rem}}
@media (max-width:349px){.port-nav{display:grid;grid-template-columns:minmax(0,.96fr) minmax(0,.98fr) minmax(0,1.3fr) minmax(0,.77fr) minmax(0,1.12fr);gap:0;padding:.2rem .25rem}.port-group{justify-content:center}.port-nav>a,.port-disclosure summary{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1px;font-size:.74rem;min-height:46px;padding:.2rem .08rem}.port-disclosure summary{min-width:45px;display:grid;grid-template-columns:auto .65rem;gap:0;justify-items:center}.port-disclosure summary>svg:first-child{grid-column:1/-1}.port-disclosure summary svg:last-child{width:.65rem;height:.65rem}.port-subnav{left:-1rem;right:auto}}
.bureau-login .desk-kicker {display:flex;align-items:center;gap:.45rem;color:var(--bureau-green)}
.bureau-login .login-reveal:not([hidden]) {display:flex;align-items:center;gap:.4rem;min-height:44px;font-weight:400}.bureau-login .login-reveal input {width:1.15rem;height:1.15rem;flex:none}.bureau-login .login-reveal[hidden] {display:none}
.bureau-other .desk-card:nth-of-type(2)>svg:first-child{background:#eee9f6;color:#574777}.bureau-other .desk-card:nth-of-type(3)>svg:first-child{background:#e2eaf2;color:#335679}.bureau-other .desk-card:nth-of-type(4)>svg:first-child{background:#f5e8d2;color:#80521f}
main > .notice.success {background:#e8f4eb;color:#254f3b;border-color:#bbd5c3;padding:.45rem .8rem;width:fit-content}
@media print{.top form,.port-nav,.structure-index,.skip{display:none}}
