/* Charte classique SAMU78. Décors d’interface uniquement : les gardes, alertes,
   états de vérification, repères photographiques et pochettes gardent leurs codes. */
html[data-season=classic]{
 --brand-tricolor:linear-gradient(90deg,#03285f 0 33.333%,#fff 33.333% 66.666%,#ee334e 66.666% 100%);
 --navy:#0b439c!important;--teal:#0b439c!important;--ink:#172b46!important;--text:#172b46!important;
 --muted:#536277!important;--line:#dce4ef!important;--soft:#edf2fa!important;--surface:#fff!important;--card:#fff!important;
 --carnet-background:#f4f7fc!important;--carnet-surface:#fff!important;--carnet-text:#172b46!important;--carnet-row-ink:#172b46!important;
 --ui-ink:#172b46!important;--ui-surface:#fff!important;--ui-muted:#536277!important;
 --brand-blue:#0b439c;--brand-red:#d21c35;--brand-blue-soft:#eaf1fc;
 --user-header:#0b439c!important;--user-accent:#0b439c!important;--on-user-header:#fff!important;--on-user-accent:#fff!important;
 --rubric-color:#0b439c;--rubric-soft:#fff;--path-color:#0b439c;
}
html[data-season=classic].theme-dark{
 --navy:#9bc6ff!important;--teal:#9bc6ff!important;--ink:#edf3ff!important;--text:#edf3ff!important;
 --muted:#bdcadd!important;--line:#30415a!important;--soft:#1b2b43!important;--surface:#111e32!important;--card:#111e32!important;
 --carnet-background:#0b1423!important;--carnet-surface:#111e32!important;--carnet-text:#edf3ff!important;--carnet-row-ink:#edf3ff!important;
 --ui-ink:#edf3ff!important;--ui-surface:#111e32!important;--ui-muted:#bdcadd!important;
 --brand-blue:#9bc6ff;--brand-red:#ff8798;--brand-blue-soft:#182f4e;--path-color:#9bc6ff;
}
html[data-season=classic] body,html[data-season=classic] .shell{background:var(--carnet-background)!important;color:var(--ui-ink)}
html[data-season=classic] #main{background:transparent;color:var(--ui-ink)}
html[data-season=classic] body #nav#nav{background:var(--ui-surface)!important;border-color:var(--line)!important}
html[data-season=classic] body #main#main :is(h1,h2,h3){color:var(--ui-ink)}
html[data-season=classic] body #main#main :is(.back,.app-back,.native-return){color:var(--brand-blue)!important}
html[data-season=classic] body #main#main :is(.search,.route,.city-route-panel,.city-route-reference,.documents-hub-card,.personal-doc-card,.personal-doc-add,.personal-doc-backup,.message-card,.message-detail,.integration-welcome,.integration-overview,.integration-summary,.integration-task,.competency-card,.competency-notes,.road-card,.smur-presentation article,.report-review,.report-preview,.report-ready,.report-mail,.radio-card,.radio-settings,.bag-choice,.bag-full-list,.bag-medication-detail,.medication-fiche,.medication-fiche section,.amp-drug-detail,.daily-panel,.admin-date,.agreement-section,.admin-college li,.agreement-dates>div,.agreement-limit,.agreement-criteria>div,.sy-priority>a,.sy-sector,.sy-help,.sy-event,.sy-empty,.sy-live-alerts,.sy-external>summary,.hospital-floor-card,.hospital-service-card){background:var(--ui-surface)!important;background-image:none!important;color:var(--ui-ink)!important;border-color:var(--line)!important;box-shadow:none!important}
html[data-season=classic] body #main#main :is(.documents-hub-card,.message-card,.radio-card,.bag-choice,.admin-note-link,.agreement-section,.admin-college li,.integration-module){border-left-color:var(--line)!important}
html[data-season=classic] body #main#main :is(.documents-hub-card,.personal-doc-card,.message-card,.message-detail,.integration-summary,.integration-task,.competency-card,.road-card,.report-review,.radio-card,.radio-settings,.bag-choice,.amp-drug-detail,.agreement-section,.admin-college li,.sy-priority>a,.sy-sector,.sy-help,.sy-event) :is(h2,h3,strong){color:var(--ui-ink)!important}
html[data-season=classic] body #main#main :is(.documents-hub-card,.personal-doc-card,.message-card,.radio-card,.bag-choice,.agreement-section,.admin-college li,.sy-priority>a,.sy-sector,.sy-help,.sy-event) :is(p,small){color:var(--ui-muted)!important}
html[data-season=classic] body #main#main :is(.topic-icon,.procedure-row-icon,.competency-icon,.radio-step-icon,.radio-heading-icon,.message-card-icon,.personal-doc-icon,.documents-hub-card>span,.admin-note-heading>span,.admin-note-link>span){background:transparent!important;color:var(--brand-blue)!important;border:0!important;box-shadow:none!important}
html[data-season=classic] body #main#main :is(.home-group>h2,.procedure-section>h2,.access-section>h2,.settings-section>h2,.directory-group-heading,.pl-eyebrow,.pl-menu b,.pl-section-heading>span,.sy-page h2,.admin-college h2){color:var(--brand-blue)!important}
html[data-season=classic] body #main#main :is(.integration-path,.radio-card,.agreement-section,.admin-college){--path-color:var(--brand-blue);--radio-color:var(--brand-blue);--agreement-color:var(--brand-blue);--admin-color:var(--brand-blue);--admin-soft:var(--brand-blue-soft)}
html[data-season=classic] body #main#main .integration-path-number{background:#0b439c!important;color:#fff!important}
html[data-season=classic] body #main#main :is(.radio-variable,.radio-label,.paris-gate-label,.admin-person-mark,.sy-roads span){color:var(--brand-blue)!important;background:var(--brand-blue-soft)!important}
html[data-season=classic] body #main#main .radio-phrase{background:var(--soft)!important;color:var(--ui-ink)!important}
html[data-season=classic] body #main#main :is(.eq-guide,.lc-guide){--eq-ink:var(--ui-ink);--eq-muted:var(--ui-muted);--eq-surface:var(--ui-surface);--eq-accent:var(--brand-blue);--lc-ink:var(--ui-ink);--lc-muted:var(--ui-muted);--lc-surface:var(--ui-surface);--lc-blue:var(--brand-blue)}
html[data-season=classic] body #main#main :is(.personal-docs-page,#planning-detail,.planning-overview){--pd-surface:var(--ui-surface);--pd-raised:var(--soft);--pd-text:var(--ui-ink);--pd-muted:var(--ui-muted);--pd-line:var(--line);--pd-accent:var(--brand-blue)}
html[data-season=classic] body #main#main .sy-page{--sy-surface:var(--ui-surface);--sy-text:var(--ui-ink)}
html[data-season=classic] body #main#main :is(.messages-hero,.lc-guide .lc-intro){background:#0b439c!important;background-image:none!important;color:#fff!important;box-shadow:none!important}
html[data-season=classic] body #main#main :is(.messages-hero,.lc-guide .lc-intro) :is(h1,p,small,strong,span){color:#fff!important}
html[data-season=classic] body #main#main :is(.lc-menu button,.pl-menu button,.hospital-floor-nav a,.hospital-floor-nav button){background:var(--ui-surface)!important;color:var(--brand-blue)!important;border-color:var(--line)!important}
html[data-season=classic] body #main#main .pl-section-heading{border-color:var(--brand-blue)!important}
html[data-season=classic] body #main#main :is(.sy-traffic-direct,.integration-export,.report-start,.report-actions .primary){background:#0b439c!important;color:#fff!important;border-color:#0b439c!important}
html[data-season=classic] body #main#main :is(.sy-traffic-direct,.integration-export) :is(strong,small,svg){color:#fff!important}
html[data-season=classic] body #main#main .button:not(.primary):not(.danger):not(.eq-delete):not(.personal-doc-delete){background:var(--ui-surface)!important;color:var(--brand-blue)!important;border-color:var(--line)!important}
html[data-season=classic] body #main#main :is(.theme-choice,.cs-modes,.competency-filters,.sy-filter,.daily-filters) button[aria-pressed=true]{background:#0b439c!important;color:#fff!important;border-color:#0b439c!important}
html[data-season=classic] body #main#main :is(.theme-choice,.cs-modes,.competency-filters,.sy-filter,.daily-filters) button[aria-pressed=true] strong{color:#0b439c!important;background:#fff!important}
html[data-season=classic] body #main#main :is(input:not([type=radio]):not([type=checkbox]):not([type=color]),select,textarea){color:var(--ui-ink);background-color:var(--ui-surface);border-color:var(--line)}
html[data-season=classic] body #main#main :is(input,textarea)::placeholder{color:var(--ui-muted);opacity:1}
html[data-season=classic] body #main#main :is(button,a,input,select,textarea,summary):focus-visible{outline-color:var(--brand-blue)!important}
html[data-season=classic] body .toast{background:#0b439c;color:#fff}
/* Même trait arrondi que la recherche et la cloche ; aucune animation continue. */
html body .header-actions #refresh-app svg{width:23px;height:23px;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;overflow:visible}
@media(prefers-reduced-motion:no-preference){html body .header-actions #refresh-app svg{transition:transform .22s ease}html body .header-actions #refresh-app:active svg{transform:rotate(35deg)}}

html[data-season=classic] :is(#mes-gardes-season-host,#carnet-season-scene,#carnet-decoration,#season-welcome){display:none!important}
/* Détails des pages : le contraste suit également le mode sombre. */
html[data-season=classic] body #main#main #export-integration :is(strong,small,svg,span){color:#fff!important}
html[data-season=classic] body #main#main .topic-category{color:var(--brand-blue)!important}
html[data-season=classic] body #main#main .competency-notes>summary,html[data-season=classic] body #main#main .competency-notes>summary small{color:var(--ui-muted)!important}
html[data-season=classic] body #main#main :is(.smur-presentation article,.road-card) :is(h2,h3,strong,summary,p,li){color:var(--ui-ink)!important}
html[data-season=classic] body #main#main .competency-hero{background:#0b439c!important;background-image:none!important;color:#fff!important}
html[data-season=classic] body #main#main .competency-hero :is(h1,p,span,strong,small,svg){color:#fff!important}
html.theme-dark[data-season=classic] body #main#main .pl-alert strong{color:#ff9ba5!important}
html.theme-dark[data-season=classic] body #main#main .pl-success strong{color:#86d7aa!important}
html[data-season=classic] body #main#main :is(.integration-welcome summary,.integration-continue) svg{color:var(--brand-blue)!important}
html[data-season=classic] body #main#main .integration-welcome p{color:var(--ui-ink)!important}
/* Rappels de la signature rouge du logo, sans colorer les surfaces ni les états métier. */
html[data-season=classic] body .shell>header{overflow:hidden}
html[data-season=classic] body .shell>header::after{content:"";display:block!important;position:absolute;left:0;right:0;bottom:0;width:auto;height:6px;margin:0;border-radius:0;background:var(--brand-tricolor);pointer-events:none}
html[data-season=classic] body #main#main>h1::after,html[data-season=classic] body #main#main :is(.procedure-index-heading h1,.settings-hero h1,.radio-page-heading h1,.paris-index-heading h1,.sy-heading h1,.report-heading h1)::after{content:"";display:block;width:36px;height:3px;margin-top:7px;border-radius:3px;background:var(--brand-red);pointer-events:none}
html[data-season=classic] body #main#main .home-group>.row>.arrow{color:var(--brand-red)!important}
html[data-season=classic] body #main#main .home-group>.row:is([href="#procedures"],[href="#annonces-radio"],[href="#formations"],[href="#administratif"])>svg:first-child{color:var(--brand-red)!important}
html[data-season=classic] body #main#main :is(.settings-group-icon,.procedure-section>h2>svg,.access-section>h2>svg,.radio-heading-icon,.admin-note-heading>span){color:var(--brand-red)!important}
html[data-season=classic] body #main#main :is(.topic-category,.pl-eyebrow){color:var(--brand-red)!important}
html[data-season=classic] body #nav#nav>a.active{position:relative}
html[data-season=classic] body #nav#nav>a.active::after{content:"";position:absolute;bottom:4px;left:calc(50% - 9px);width:18px;height:3px;border-radius:3px;background:var(--brand-red);pointer-events:none}

/* Le Dock reste sobre, sans bande tricolore. */
html[data-season=classic] body #nav#nav::before{display:none;content:none}
