body:has(#office-dashboard:not([hidden])) .subhero{padding:28px 0 10px}body:has(#office-dashboard:not([hidden])) .subhero h1{font-size:28px}body:has(#office-dashboard:not([hidden])) .subhero>p{display:none}#office-dashboard{padding-top:12px}.office-tabs{position:sticky;top:0;z-index:4;background:#0b0b0b;padding:12px 0;gap:8px;flex-wrap:wrap;border-bottom:1px solid #333}.office-tabs button{font-size:14px}.office-tabs [aria-current=page]{background:#f5f3eb;color:#141414}.dashboard-title{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:26px 0}.dashboard-title h2{margin:0;font-size:44px}.dashboard-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:28px 0}.dashboard-stats .card{padding:22px;display:flex;flex-direction:column}.dashboard-stats strong{font:40px Georgia,serif}.dashboard-stats span{font-size:13px;color:#bbb;margin-top:8px}.gestion-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0}.gestion-actions{display:flex;flex-wrap:wrap;gap:12px}.gestion-event-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.gestion-event{display:flex;gap:20px;align-items:center}.gestion-event>img{width:100px;height:145px;object-fit:contain;background:#181818;border-radius:10px}.gestion-event h3{font-size:24px}.gestion-event .actions{margin:15px 0 0}.gestion-event .button,.office-table .button{padding:9px 16px;font-size:14px}.gestion-image-preview{max-width:240px;max-height:320px;object-fit:contain;margin:20px auto}.preserve-lines{white-space:pre-wrap}.gestion-dialog{color:#eee;background:#141414;border:1px solid #555;border-radius:24px;width:min(800px,94vw);max-height:90vh;padding:30px;box-shadow:0 30px 90px #000}.gestion-dialog::backdrop{background:#000b;backdrop-filter:blur(5px)}.gestion-dialog h2{font-size:34px;margin-right:60px}.gestion-dialog .form{display:grid;gap:18px}.gestion-dialog .member-fields{gap:18px}.gestion-dialog textarea{min-height:120px}.dialog-close{position:absolute;right:20px;top:20px;background:none;color:#fff;border:1px solid #666;border-radius:50%;width:44px;height:44px}.gestion-dialog [role=alert]{color:#ffc6b2}.gestion-dialog label{display:grid;gap:7px;font-size:15px}.gestion-dialog .choice{display:flex}.gestion-dialog .choice input{width:20px;min-width:20px}.gestion-dialog button{cursor:pointer}.gestion-dialog input[readonly]{opacity:.7}#gestion-content label{display:grid;gap:10px}#gestion-search{max-width:550px}#gestion-content h3{margin-top:20px}#gestion-content [aria-busy=true]{opacity:.6}@media(max-width:900px){.dashboard-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.gestion-event-grid{grid-template-columns:1fr}.dashboard-title{align-items:start}.dashboard-title h2{font-size:34px}}@media(max-width:600px){.dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.gestion-grid{grid-template-columns:1fr}.dashboard-title{display:block}.dashboard-title>.button{margin-top:20px}.gestion-dialog{padding:22px}.gestion-dialog h2{font-size:28px}.gestion-event{gap:14px;padding:18px}.gestion-event>img{width:70px;height:100px}.office-tabs{position:static}.office-tabs button{padding:10px 13px}.gestion-dialog .member-fields{grid-template-columns:1fr}.dashboard-stats strong{font-size:32px}}
body:has(#office-dashboard:not([hidden])) main>.wrap>.subhero{display:none}#office-dashboard:not([hidden]){display:grid;grid-template-columns:190px minmax(0,1fr);gap:30px;align-items:start;padding-top:34px}#office-dashboard>.office-tabs{grid-column:1;grid-row:1 / span 5;display:flex;flex-direction:column;align-items:stretch;border:0;position:sticky;top:20px;padding:0}#office-dashboard>.office-tabs button{text-align:left;border-radius:14px;padding:12px 16px}#office-dashboard>section{grid-column:2;min-width:0}.dashboard-title{margin-top:0}.dashboard-title h2{font-size:40px}.dashboard-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-stats .card{min-height:110px}.gestion-event-grid{grid-template-columns:1fr}#office-upgrade:not([hidden]){grid-column:1/-1}@media(max-width:850px){#office-dashboard:not([hidden]){display:block}.office-tabs{position:static!important}#office-dashboard>.office-tabs{flex-direction:row;overflow-x:auto;flex-wrap:nowrap;padding-bottom:15px;margin-bottom:26px}#office-dashboard>.office-tabs button{flex:0 0 auto}.dashboard-title h2{font-size:34px}}@media(max-width:600px){.dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

body:has(#office-dashboard:not([hidden])) main>.wrap>.subhero{display:block;position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;padding:0}#office-message:not([hidden]){margin-top:20px;margin-bottom:16px}
/* Keep the member documents beside the navigation, above the optional staff request. */
@media(min-width:851px){#office-dashboard>section:not([hidden]){grid-row:1}#office-upgrade:not([hidden]){grid-column:2;grid-row:2;justify-self:start;font-size:13px}}
#member-documents .grid{grid-template-columns:repeat(2,minmax(0,1fr));margin:20px 0 40px}#member-documents .card{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:28px}#member-documents h4{font-family:Georgia,serif;font-size:25px;font-weight:400;line-height:1.3;margin:0}#member-documents .card p{margin:0}#member-documents .card .button{margin-top:auto}#member-documents summary{cursor:pointer}#member-documents .sam-membership{margin-top:20px}@media(max-width:650px){#member-documents .grid{grid-template-columns:1fr}}
.activity-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0}.activity-filters select{width:100%;background:#171717;color:#eee;border:1px solid #555;border-radius:12px;padding:12px;font:inherit}.activity-bars{max-height:360px;overflow:auto}.activity-day{display:grid;grid-template-columns:88px 1fr 35px;gap:12px;align-items:center;font-size:12px;margin:10px 0}.activity-day meter{width:100%;height:18px}.activity-popular{padding-left:20px}.activity-popular li{padding:10px 0;border-bottom:1px solid #333}.activity-popular b{float:right;margin-left:12px}.activity-pagination{align-items:center;margin:24px 0}@media(max-width:650px){.activity-filters{grid-template-columns:1fr}}
/* Full-width SAM control room. Charts always use the returned counts. */
.sam-activity-screen{--signal:#a2efd8;--signal-dim:#3c7066;background:#080c0e}.sam-activity-screen main>.wrap{max-width:none;width:calc(100% - 64px)}.sam-activity-screen #office-dashboard:not([hidden]){display:block;padding-top:15px}.sam-activity-screen #office-dashboard>.office-tabs{position:static;flex-direction:row;flex-wrap:nowrap;overflow-x:auto;margin:0 0 40px;border-bottom:1px solid #23332f;padding-bottom:16px;gap:5px;background:transparent}.sam-activity-screen .office-tabs button{flex:none;font-size:12px;padding:10px 14px!important;border-color:#283635}.sam-activity-screen .office-tabs [aria-current=page]{background:#a2efd8;color:#08120f}.sam-activity-screen .dashboard-title h2{font-size:clamp(38px,4vw,62px);line-height:1.07}.sam-activity-screen .dashboard-title h2 span{color:var(--signal)}.sam-activity-screen .eyebrow{color:var(--signal);font-size:10px;letter-spacing:.16em}.sam-activity-screen .dashboard-title p{color:#a5b8b3}.sam-activity-screen .dashboard-title{margin-bottom:30px}.sam-activity-screen .card{background:linear-gradient(145deg,#11191b,#0b1012);border:1px solid #283638;border-radius:22px;box-shadow:0 15px 50px #0002}.sam-activity-screen .activity-filters{display:flex;flex-wrap:wrap;gap:20px;margin-bottom:12px}.sam-activity-screen .activity-filters label{min-width:190px;flex:1;font-size:12px;color:#a9bdb8}.sam-activity-screen .activity-filters select{background:#10191b;border-color:#324443;border-radius:12px;font-size:14px;padding:13px}.sam-activity-screen #activity-status{font:11px ui-monospace,monospace;color:var(--signal);text-align:right}.sam-activity-screen .activity-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.sam-activity-screen .activity-metrics .card{padding:26px 30px;border-top:2px solid #76c2ad}.sam-activity-screen .activity-metrics strong{font:500 clamp(38px,4vw,64px)/1.1 ui-monospace,monospace;letter-spacing:-.07em;color:#e5fff5}.sam-activity-screen .activity-metrics span{color:#9baca8;letter-spacing:.02em}.activity-instruments{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:20px;margin:30px 0 45px}.activity-instruments .card{padding:28px}.activity-instruments h3{font-size:28px;margin:10px 0 24px!important}.activity-flow{grid-column:span 8}.activity-presence{grid-column:span 4}.activity-hours{grid-column:span 12}.activity-actions{grid-column:span 5}.activity-destinations{grid-column:span 7}.activity-panel-title{display:flex;justify-content:space-between;align-items:start;gap:20px}.activity-panel-title>strong{font:35px ui-monospace,monospace;color:var(--signal);text-align:right}.activity-panel-title strong small{display:block;font:11px system-ui;color:#95aaa3;margin-top:8px}.activity-columns{height:205px;display:flex;align-items:flex-end;gap:12px;overflow-x:auto;padding:12px 0 0;background:repeating-linear-gradient(to top,transparent 0px,transparent 49px,#293e383d 50px)}.activity-column{flex:1;min-width:28px;max-width:140px;text-align:center}.activity-column>div{background:linear-gradient(0deg,#26413e,#a2efd8);border-radius:5px 5px 0 0;min-height:1px;margin-top:8px;box-shadow:0 -3px 14px #a2efd822}.activity-column b{font:12px ui-monospace,monospace;color:#d1f8eb}.activity-column span{display:block;font:10px ui-monospace,monospace;color:#95aaa3;padding-top:10px}.activity-ring{width:170px;height:170px;border-radius:50%;margin:10px auto 22px;background:conic-gradient(var(--signal) var(--share),#2e4540 0);display:grid;place-items:center;box-shadow:0 0 35px #a2efd80a}.activity-ring>div{background:#0d1416;border-radius:50%;width:144px;height:144px;display:flex;flex-direction:column;align-items:center;justify-content:center}.activity-ring strong{font:35px ui-monospace,monospace}.activity-ring span{font-size:10px;color:#a0b9ae;margin-top:5px}.activity-legend{display:flex;gap:20px;justify-content:center;font-size:11px}.activity-legend span{display:flex;align-items:center;gap:7px}.activity-legend i{height:7px;width:7px;background:var(--signal);border-radius:50%}.activity-legend span+span i{background:#526b64}.activity-hours-chart{display:flex;align-items:flex-end;gap:9px;height:100px}.activity-hours-chart>div{flex:1;text-align:center;min-width:0}.activity-hours-chart>div>div{min-height:2px;background:linear-gradient(0deg,#345657,#99d8d1);border-radius:3px 3px 0 0}.activity-hours-chart span{display:block;font:10px ui-monospace,monospace;color:#9cacaa;margin-top:10px}.activity-action{display:grid;grid-template-columns:150px 1fr 35px;gap:15px;align-items:center;font-size:12px;margin:20px 0}.activity-action meter{width:100%;height:12px;accent-color:#a2efd8}.sam-activity-screen .office-table th{color:#8fa8a1}.sam-activity-screen .office-table td{border-color:#263431;font-size:13px}.sam-activity-screen .office-table td:first-child{font:12px ui-monospace,monospace;white-space:nowrap}.sam-activity-screen .small{color:#95aaa3}.directory-search select{background:#151515;color:#eee;border:1px solid #555;border-radius:12px;padding:13px;font:inherit;width:100%}@media(min-width:1700px){.sam-activity-screen main>.wrap{width:calc(100% - 100px);max-width:2000px}}@media(max-width:950px){.activity-flow,.activity-presence{grid-column:span 6}.activity-actions,.activity-destinations{grid-column:span 12}.sam-activity-screen .activity-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.sam-activity-screen main>.wrap{width:calc(100% - 28px)}.sam-activity-screen .activity-metrics{gap:12px}.sam-activity-screen .activity-metrics .card{padding:20px}.activity-instruments{gap:14px}.activity-instruments .card{padding:22px}.activity-flow,.activity-presence{grid-column:span 12}.activity-hours-chart{gap:4px}.activity-hours-chart span{font-size:8px}.activity-action{grid-template-columns:120px 1fr 20px;gap:8px}.activity-panel-title{flex-wrap:wrap}.activity-legend{flex-wrap:wrap}}
@media(min-width:851px){.sam-activity-screen .site-header .header-inner{height:84px;min-height:84px}.sam-activity-screen .site-header .brand{width:150px;height:76px}.sam-activity-screen .site-header .official-logo{transform:scale(.66);transform-origin:left center}.sam-activity-screen #office-dashboard>.office-tabs{margin-bottom:22px;padding-bottom:10px}.sam-activity-screen #office-dashboard{padding-top:10px!important}.sam-activity-screen .dashboard-title{margin:0 0 16px}.sam-activity-screen .dashboard-title .eyebrow{margin:0 0 8px}.sam-activity-screen .dashboard-title h2{font-size:43px}.sam-activity-screen .dashboard-title p{margin:8px 0 0;font-size:14px}.sam-activity-screen .activity-filters{margin:12px 0 0;gap:18px}.sam-activity-screen .activity-filters label{gap:5px!important}.sam-activity-screen .activity-filters select{padding:9px 12px}.sam-activity-screen #activity-status{margin:8px 0}.sam-activity-screen .activity-metrics{margin:14px 0 12px}.sam-activity-screen .activity-metrics .card{padding:18px 24px;min-height:104px}.sam-activity-screen .activity-metrics strong{font-size:45px}.sam-activity-screen .activity-metrics span{font-size:11px}.sam-activity-screen .activity-instruments{margin-top:20px}.sam-activity-screen .activity-instruments .card{padding:23px}.sam-activity-screen .activity-instruments h3{font-size:25px;margin:8px 0 16px!important}.sam-activity-screen .activity-ring{height:130px;width:130px;margin:0 auto 12px}.sam-activity-screen .activity-ring>div{height:108px;width:108px}.sam-activity-screen .activity-ring strong{font-size:28px}.sam-activity-screen .activity-ring span{font-size:8px}}

.sam-activity-screen .activity-columns{height:150px}
@media(min-width:851px){.sam-activity-screen .site-header .brand{display:block;height:70px}.sam-activity-screen .site-header .official-logo{width:220px;min-width:220px;height:108px;transform:scale(.62);transform-origin:left top}}

/* Distinct, cumulative member functions and payment state. */
.directory-badge.role-bureau{color:#d4eaff;border-color:#497793;background:#172a37}
.directory-badge.role-council{color:#e5d8ff;border-color:#6d5a88;background:#241d30}
.member-row-actions{display:grid;gap:7px;margin-top:9px;min-width:145px;max-width:210px}
.member-row-actions .button{padding:8px 12px;font-size:.78rem;line-height:1.35;min-height:36px}
.member-row-actions small{color:var(--muted,#aaa);line-height:1.5}
.member-mail-preview{padding:20px;border:1px solid #333;border-radius:16px;line-height:1.75;background:#111}
.gestion-dialog textarea{width:100%;min-height:100px}
.gestion-dialog button:disabled,.member-row-actions button:disabled{opacity:.45;cursor:not-allowed}
.member-invitation-toolbar{border:1px solid #3a3a3a;border-radius:18px;padding:20px;margin:20px 0 26px;background:#121614}
.member-invitation-toolbar p{margin:8px 0 16px}
.member-select{display:flex;align-items:center;gap:9px;font-size:.78rem;margin:0 0 12px;white-space:nowrap}
.member-select input{width:18px;height:18px;accent-color:#b6e3ce}
.member-invite-recipients{max-height:240px;overflow:auto;padding-left:24px}
.member-invite-recipients li{padding:6px 0}

/* Shared event tasks */
.task-filters{display:flex;align-items:end;flex-wrap:wrap;gap:18px;margin:22px 0}.task-filters>label:first-child{flex:1;min-width:220px}.task-filters select{display:block;width:100%;margin-top:8px;background:#171917;color:#eee;border:1px solid #515851;border-radius:12px;padding:12px;font:inherit}.task-filters .choice{display:flex;gap:8px;align-items:center;padding:12px 0}.task-filters input{width:18px;height:18px}
.sam-task-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}.sam-task-column{border:1px solid #333;border-radius:20px;padding:16px;background:#101110}.sam-task-column>h3{display:flex;justify-content:space-between;align-items:center;font:600 15px/1.4 var(--body-font,Arial,sans-serif);margin:0 0 20px}.sam-task-column>h3 span{border-radius:999px;padding:3px 9px;background:#2b2d2b;font-size:12px}.task-open{border-top-color:#8d8672}.task-claimed{border-top-color:#7199b4}.task-done{border-top-color:#82b99b}.sam-task-card{border:1px solid #393d39;border-radius:15px;padding:16px;margin:12px 0;background:#191b19;overflow-wrap:anywhere}.sam-task-card h3{font-size:24px;margin:10px 0}.sam-task-card .eyebrow{font-size:10px;line-height:1.6}.sam-task-card p{font-size:13px;line-height:1.65}.task-owner{color:#c4d4c8}.task-owner small{display:block;color:#aaa}.task-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:16px}.task-actions .button{font-size:11px;padding:8px 12px;min-height:32px}.task-empty{font-size:13px;color:#aaa;line-height:1.6}.task-archive{margin:24px 0}.task-archive summary{cursor:pointer}.task-archive .sam-task-card{max-width:600px}#task-notice{min-height:20px;color:#d2e7d9}#task-form label{display:block;margin:12px 0}#task-form input,#task-form select{width:100%;margin-top:8px}
.login-history{border:1px solid #3d5048;border-radius:18px;padding:20px;margin:24px 0;background:#101714}.login-history>summary{cursor:pointer;font-weight:600}.login-history .table-scroll{max-height:400px;overflow:auto;margin-top:18px}.login-history .office-table th{position:sticky;top:0;background:#101714}.login-history .office-table td{font-size:13px;padding:11px 12px}.login-history .office-table th{font-size:12px}
@media(max-width:1000px){.sam-task-board{grid-template-columns:1fr}.sam-task-column{padding:16px}.task-filters{align-items:stretch}}

/* SAM's own Facebook cover, hosted with the site. */
.sam-task-hero{position:relative;isolation:isolate;overflow:hidden;min-height:236px;padding:32px;border:1px solid #45443e;border-radius:24px;background:#171915 url('/assets/sam-collectif-facebook.jpg') center 47%/cover no-repeat;align-items:flex-end;gap:20px}
.sam-task-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(5,8,7,.89),rgba(5,8,7,.65) 60%,rgba(5,8,7,.32)),linear-gradient(0deg,rgba(5,8,7,.55),transparent 75%)}
.sam-task-hero>div{max-width:620px}.sam-task-hero h2{color:#fff;font-size:clamp(30px,3vw,40px);text-wrap:balance;line-height:1.12}.sam-task-hero .eyebrow{color:#e1e7d8}.sam-task-hero p{color:#f0f1eb;font-size:14px;line-height:1.65}.sam-task-hero .button{flex-shrink:0;white-space:nowrap;align-self:flex-end}
#gestion-content .task-filters .choice{display:flex;align-items:center;gap:8px}
@media(max-width:1150px){.sam-task-hero{flex-wrap:wrap}.sam-task-hero>div{max-width:100%}}
@media(max-width:600px){.sam-task-hero{padding:24px;min-height:260px;background-position:58% center}.sam-task-hero .button{margin-top:12px}.sam-task-hero::before{background:linear-gradient(90deg,rgba(5,8,7,.86),rgba(5,8,7,.5)),linear-gradient(0deg,rgba(5,8,7,.65),transparent)}}

.task-rendezvous{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;margin:24px 0 0;padding:14px 18px;border-left:2px solid #aec6a6;background:#121512;border-radius:0 12px 12px 0;font-size:14px}.task-rendezvous span{color:#b3b9b0;font-size:11px;text-transform:uppercase;letter-spacing:.08em}.task-rendezvous strong{font-weight:500;color:#f0f2e9}.task-rendezvous time{color:#d0e0c6;font-size:13px}

.sam-activity-screen .activity-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}.activity-anonymous-summary{background:#14312c}.activity-anonymous-summary strong{color:#b8f3df}.activity-public{margin:35px 0;padding:24px;border:1px solid #30443e;border-radius:20px;background:#10191b}.activity-public h3{margin-top:0}.activity-public .office-table td:nth-child(3){font-family:ui-monospace,monospace}@media(max-width:1100px){.sam-activity-screen .activity-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){.sam-activity-screen .activity-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.activity-public{padding:15px}}
