html:not(.gestion-mode) .g-bridge-header{display:none}
html.gestion-mode body{background:#0c0c0e!important;color:#f8f8fa;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
html.gestion-mode body>header{display:none!important}html.gestion-mode .g-bridge-header{display:flex!important}
html.gestion-mode body[data-kind=admin]>main{max-width:800px;padding:24px 18px calc(110px + env(safe-area-inset-bottom));margin:auto}
html.gestion-mode body[data-kind=admin] h1{font:760 29px/1.15 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.035em;margin:10px 0}
html.gestion-mode body[data-kind=admin] h2{font:700 22px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-transform:none;letter-spacing:-.03em}
html.gestion-mode body[data-kind=admin] h3{font:650 16px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-transform:none;letter-spacing:-.015em}
html.gestion-mode body[data-kind=admin] .admin-nav{display:flex;gap:7px;overflow-x:auto;flex-wrap:nowrap;padding:3px 0 13px;scrollbar-width:none}
html.gestion-mode body[data-kind=admin] .admin-nav button{min-width:max-content;min-height:40px;font-size:11px;background:#24242c;color:#ddd;border:1px solid #43434e;border-radius:12px;padding:10px 12px}
html.gestion-mode body[data-kind=admin] .admin-nav button.active{background:#ff343b;color:#09090c;border-color:#ff343b}
html.gestion-mode body[data-kind=admin] button:not(.g-dock button){min-height:44px;border-radius:12px;white-space:normal;font:650 12px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:0}
html.gestion-mode body[data-kind=admin] button.primary{background:#ff343b;color:#0c0c0e;border-color:#ff343b}
html.gestion-mode body[data-kind=admin] select,html.gestion-mode body[data-kind=admin] input:not([type=checkbox]),html.gestion-mode body[data-kind=admin] textarea{font-size:16px!important;min-width:0;max-width:100%;background:#16161c;color:#fff;border-color:#464651;border-radius:12px}
html.gestion-mode body[data-kind=admin] .toolbar{gap:9px;flex-wrap:wrap}html.gestion-mode body[data-kind=admin] .toolbar button{flex:1 1 140px}
html.gestion-mode body[data-kind=admin] .request,html.gestion-mode body[data-kind=admin] .card,html.gestion-mode body[data-kind=admin] .admin-show{background:#19191f;border:1px solid #35353f;border-radius:17px;padding:16px}
html.gestion-mode body[data-kind=admin] .hint{font-size:12px;line-height:1.65;color:#bcbcc6}
html.gestion-mode body[data-kind=admin] .request p{overflow-wrap:anywhere}
html.gestion-mode body[data-kind=admin] dialog{width:calc(100% - 16px);max-width:640px;max-height:calc(100dvh - 30px);overflow:auto;border-radius:22px;background:#16161b;color:#fff;border:1px solid #555;padding:20px}
html.gestion-mode body[data-kind=admin] #dashboard-stats{gap:8px}html.gestion-mode body[data-kind=admin] #dashboard-stats strong{font-size:26px}html.gestion-mode body[data-kind=admin] #dashboard-stats span{font-size:11px}
html.gestion-mode body[data-kind=admin] .report-table-wrap{max-width:100%;overflow-x:auto}
.g-visual-back{position:fixed;z-index:100;bottom:calc(14px + env(safe-area-inset-bottom));right:15px;background:#ffd52a;color:#111;border-radius:13px;padding:14px;font:700 12px -apple-system,BlinkMacSystemFont,sans-serif;box-shadow:0 4px 20px #0008}
@media(max-width:600px){html.gestion-mode body[data-kind=admin] .form-grid,html.gestion-mode body[data-kind=admin] .preference-filters,html.gestion-mode body[data-kind=admin] .media-grid{grid-template-columns:minmax(0,1fr)}html.gestion-mode body[data-kind=admin] #requests .people-table{display:block;overflow-x:auto}html.gestion-mode body[data-kind=admin] #approve-all,html.gestion-mode body[data-kind=admin] #reject-all{flex-basis:100%}html.gestion-mode body[data-kind=admin] #export,html.gestion-mode body[data-kind=admin] #export-raffle{font-size:11px}}
@media(min-width:1100px){html.gestion-mode body[data-kind=admin]:has(.g-dock:not([hidden]))>main{width:calc(100% - 230px);max-width:1250px;margin-left:210px;margin-right:auto;padding:30px 30px 60px}}

html.gestion-mode body[data-kind=admin] .admin-nav{display:none!important}html.gestion-mode #workspace:has(#requests-view:not([hidden])) #dashboard-stats,html.gestion-mode #workspace:has(#raffle-report-view:not([hidden])) #dashboard-stats,html.gestion-mode #workspace:has(#lists-view:not([hidden])) #dashboard-stats,html.gestion-mode #workspace:has(#media-view:not([hidden])) #dashboard-stats,html.gestion-mode #workspace:has(#config-view:not([hidden])) #dashboard-stats{display:none}
