/* Tranche 013 : harmonies inspirées de PaletteDeCouleur.net, adaptées pour les contrastes. Les identifiants sauvegardés sont conservés. */
body[data-theme="atelier"]{--t-bg:#F5F7F2;--t-ink:#29352B;--t-muted:#4D5B4B;--t-leaf:#4B6048;--t-accent:#80513C;--t-section:#E5ECDD;--t-blob:#C9D9BD;--t-border:#CDD7C9;--t-note:#EAF0E4;--t-panel:#FFFFFF;--t-work:#F5F7F2;--t-footer:#4B6048;--t-footertext:#FFFFFF;--t-progress:#4B6048;--t-reverse:#FFFFFF;--t-card1:#E5D7AC;--t-card2:#EAD7C4;--t-card3:#C9E3CC;--t-card4:#D6E1E4;--bg:var(--t-bg);--ink:var(--t-ink);--primary:var(--t-leaf);--muted:var(--t-muted);--border:var(--t-border);--panel:var(--t-panel);--paper:var(--t-panel);--line:var(--t-border);--soft:var(--t-note);--peach:var(--t-card2);--lilac:var(--t-card4);--accent:var(--t-accent);--reverse:var(--t-reverse);--ox-logo-ink:#4B6048;}
body[data-theme="atelier"] .ox-logo{--ox-logo-ink:#4B6048;--ox-leaf-filter:sepia(.28) hue-rotate(65deg) saturate(.65);}
body[data-theme="atelier"] .palette-option{background:var(--t-panel);border-color:var(--t-border);color:var(--t-ink)}body[data-theme="atelier"] .palette-option[aria-pressed="true"]{background:var(--t-note);border-color:var(--t-leaf);color:var(--t-ink)}body[data-theme="atelier"] .palette-option .check{color:var(--t-leaf)}
body[data-theme="argile"]{--t-bg:#FAF2EA;--t-ink:#392E2C;--t-muted:#69504A;--t-leaf:#974E36;--t-accent:#80586D;--t-section:#F3E1D6;--t-blob:#ECC0AA;--t-border:#DEC7BC;--t-note:#F6E7DF;--t-panel:#FFFFFF;--t-work:#FAF2EA;--t-footer:#974E36;--t-footertext:#FFFFFF;--t-progress:#974E36;--t-reverse:#FFFFFF;--t-card1:#F4D5AF;--t-card2:#FFCEBE;--t-card3:#D9E0CC;--t-card4:#E8D5CC;--bg:var(--t-bg);--ink:var(--t-ink);--primary:var(--t-leaf);--muted:var(--t-muted);--border:var(--t-border);--panel:var(--t-panel);--paper:var(--t-panel);--line:var(--t-border);--soft:var(--t-note);--peach:var(--t-card2);--lilac:var(--t-card4);--accent:var(--t-accent);--reverse:var(--t-reverse);--ox-logo-ink:#974E36;}
body[data-theme="argile"] .ox-logo{--ox-logo-ink:#974E36;--ox-leaf-filter:sepia(.2) hue-rotate(-15deg) saturate(.8);}
body[data-theme="argile"] .palette-option{background:var(--t-panel);border-color:var(--t-border);color:var(--t-ink)}body[data-theme="argile"] .palette-option[aria-pressed="true"]{background:var(--t-note);border-color:var(--t-leaf);color:var(--t-ink)}body[data-theme="argile"] .palette-option .check{color:var(--t-leaf)}
body[data-theme="corail"]{--t-bg:#F7F4FB;--t-ink:#342D49;--t-muted:#625671;--t-leaf:#665180;--t-accent:#874667;--t-section:#EDE5F5;--t-blob:#D6C8E8;--t-border:#DCD2E8;--t-note:#F0EAF7;--t-panel:#FFFFFF;--t-work:#F7F4FB;--t-footer:#665180;--t-footertext:#FFFFFF;--t-progress:#665180;--t-reverse:#FFFFFF;--t-card1:#EFE2AD;--t-card2:#EAD1E1;--t-card3:#D7E2F0;--t-card4:#DCD2EC;--bg:var(--t-bg);--ink:var(--t-ink);--primary:var(--t-leaf);--muted:var(--t-muted);--border:var(--t-border);--panel:var(--t-panel);--paper:var(--t-panel);--line:var(--t-border);--soft:var(--t-note);--peach:var(--t-card2);--lilac:var(--t-card4);--accent:var(--t-accent);--reverse:var(--t-reverse);--ox-logo-ink:#665180;}
body[data-theme="corail"] .ox-logo{--ox-logo-ink:#665180;--ox-leaf-filter:hue-rotate(220deg) saturate(.7);}
body[data-theme="corail"] .palette-option{background:var(--t-panel);border-color:var(--t-border);color:var(--t-ink)}body[data-theme="corail"] .palette-option[aria-pressed="true"]{background:var(--t-note);border-color:var(--t-leaf);color:var(--t-ink)}body[data-theme="corail"] .palette-option .check{color:var(--t-leaf)}
body[data-theme="lagune"]{--t-bg:#F2F7F9;--t-ink:#263D48;--t-muted:#4C6571;--t-leaf:#245566;--t-accent:#80553B;--t-section:#E1ECF0;--t-blob:#BDD6DF;--t-border:#C9DAE0;--t-note:#E5EFF3;--t-panel:#FFFFFF;--t-work:#F2F7F9;--t-footer:#245566;--t-footertext:#FFFFFF;--t-progress:#245566;--t-reverse:#FFFFFF;--t-card1:#E8DCBA;--t-card2:#EAD7CA;--t-card3:#C8E1DE;--t-card4:#CCDCE9;--bg:var(--t-bg);--ink:var(--t-ink);--primary:var(--t-leaf);--muted:var(--t-muted);--border:var(--t-border);--panel:var(--t-panel);--paper:var(--t-panel);--line:var(--t-border);--soft:var(--t-note);--peach:var(--t-card2);--lilac:var(--t-card4);--accent:var(--t-accent);--reverse:var(--t-reverse);--ox-logo-ink:#245566;}
body[data-theme="lagune"] .ox-logo{--ox-logo-ink:#245566;--ox-leaf-filter:hue-rotate(145deg) saturate(.8);}
body[data-theme="lagune"] .palette-option{background:var(--t-panel);border-color:var(--t-border);color:var(--t-ink)}body[data-theme="lagune"] .palette-option[aria-pressed="true"]{background:var(--t-note);border-color:var(--t-leaf);color:var(--t-ink)}body[data-theme="lagune"] .palette-option .check{color:var(--t-leaf)}
body[data-theme="jardin"]{--t-bg:#FFF5F7;--t-ink:#462B38;--t-muted:#715461;--t-leaf:#9B234A;--t-accent:#376969;--t-section:#F4E0E8;--t-blob:#E9BFCF;--t-border:#E7CDD8;--t-note:#F9E9EF;--t-panel:#FFFFFF;--t-work:#FFF5F7;--t-footer:#9B234A;--t-footertext:#FFFFFF;--t-progress:#9B234A;--t-reverse:#FFFFFF;--t-card1:#F2DFC1;--t-card2:#EFC2D2;--t-card3:#C9E3DF;--t-card4:#E1D6E9;--bg:var(--t-bg);--ink:var(--t-ink);--primary:var(--t-leaf);--muted:var(--t-muted);--border:var(--t-border);--panel:var(--t-panel);--paper:var(--t-panel);--line:var(--t-border);--soft:var(--t-note);--peach:var(--t-card2);--lilac:var(--t-card4);--accent:var(--t-accent);--reverse:var(--t-reverse);--ox-logo-ink:#9B234A;}
body[data-theme="jardin"] .ox-logo{--ox-logo-ink:#9B234A;--ox-leaf-filter:hue-rotate(305deg) saturate(.95);}
body[data-theme="jardin"] .palette-option{background:var(--t-panel);border-color:var(--t-border);color:var(--t-ink)}body[data-theme="jardin"] .palette-option[aria-pressed="true"]{background:var(--t-note);border-color:var(--t-leaf);color:var(--t-ink)}body[data-theme="jardin"] .palette-option .check{color:var(--t-leaf)}
.theme-colors{display:flex;justify-content:center;gap:5px;padding:12px}.theme-colors i{width:24px;height:24px;border-radius:50%;background:var(--swatch);border:1px solid #0002}

/* Sauge emploie aussi les composants colorés du template ; ancien identifiant atelier. */

body[data-theme="atelier"]{background:var(--t-bg);color:var(--t-ink)}
body[data-theme="atelier"] .home,body[data-theme="atelier"] .site-header,body[data-theme="atelier"] .hero{background:var(--t-bg);color:var(--t-ink)}
body[data-theme="atelier"] .brand,body[data-theme="atelier"] .site-header nav,body[data-theme="atelier"] .hero h1,body[data-theme="atelier"] .section-head h2,body[data-theme="atelier"] .work-page-head h1{color:var(--t-ink)}
body[data-theme="atelier"] .hero h1 em,body[data-theme="atelier"] .overline,body[data-theme="atelier"] .step-number{color:var(--t-accent)}
body[data-theme="atelier"] .overline:before{background:var(--t-accent)}
body[data-theme="atelier"] .hero p,body[data-theme="atelier"] .section-head p,body[data-theme="atelier"] .step p,body[data-theme="atelier"] .work-page-head p,body[data-theme="atelier"] .detail-card p{color:var(--t-muted)}
body[data-theme="atelier"] .quiet-link,body[data-theme="atelier"] .step .open{color:var(--t-leaf);border-color:var(--t-leaf)}
body[data-theme="atelier"] .cta,body[data-theme="atelier"] .nav-pill{background:var(--t-leaf);color:var(--t-reverse)}
body[data-theme="atelier"] .cta:hover,body[data-theme="atelier"] .nav-pill:hover{filter:brightness(1.12)}
body[data-theme="atelier"] .arrow-circle{background:#ffffff34}
body[data-theme="atelier"] .flower i{background:var(--t-accent)}
body[data-theme="atelier"] .halo{background:var(--t-blob)}
body[data-theme="atelier"] .halo:before{border-color:var(--t-border)}
body[data-theme="atelier"] .petal.a{background:var(--t-card1)}
body[data-theme="atelier"] .petal.b{background:var(--t-card2)}
body[data-theme="atelier"] .petal.c{background:var(--t-card3)}
body[data-theme="atelier"] .floating,body[data-theme="atelier"] .work-panel,body[data-theme="atelier"] .detail-card,body[data-theme="atelier"] .modal{background:var(--t-panel);border-color:var(--t-border);color:var(--t-ink)}
body[data-theme="atelier"] .hero-note p,body[data-theme="atelier"] .hero-ticket p{color:var(--t-muted)}
body[data-theme="atelier"] .round-stamp{background:var(--t-accent);color:var(--t-reverse)}
body[data-theme="atelier"] .stroke,body[data-theme="atelier"] .mini-progress{background:var(--t-border)}
body[data-theme="atelier"] .stroke:nth-child(4),body[data-theme="atelier"] .mini-progress:after{background:var(--t-card2)}
body[data-theme="atelier"] .stroke:nth-child(5){background:var(--t-card3)}
body[data-theme="atelier"] .curve-break,body[data-theme="atelier"] .journey{background:var(--t-section)}
body[data-theme="atelier"] .step{border-color:var(--t-border);box-shadow:0 7px 0 var(--t-border);color:var(--t-ink)}
body[data-theme="atelier"] .step:nth-child(1){background:var(--t-card1)}
body[data-theme="atelier"] .step:nth-child(2){background:var(--t-card2)}
body[data-theme="atelier"] .step:nth-child(3){background:var(--t-card3)}
body[data-theme="atelier"] .step:nth-child(4){background:var(--t-card4)}
body[data-theme="atelier"] .step-symbol{color:var(--t-leaf)}
body[data-theme="atelier"] .promise,body[data-theme="atelier"] .home-footer{background:var(--t-footer);color:var(--t-footertext)}
body[data-theme="atelier"] .promise h2,body[data-theme="atelier"] .home-footer .brand{color:var(--t-footertext)}
body[data-theme="atelier"] .promise p{color:var(--t-footertext)}
body[data-theme="atelier"] .promise .overline{color:var(--t-card1)}
body[data-theme="atelier"] .promise .cta{background:var(--t-card1);color:#243a40}
body[data-theme="atelier"] .workspace{background:var(--t-work);color:var(--t-ink)}
body[data-theme="atelier"] .work-header,body[data-theme="atelier"] .work-nav{background:var(--t-panel);border-color:var(--t-border)}
body[data-theme="atelier"] .work-context,body[data-theme="atelier"] .work-nav h2,body[data-theme="atelier"] .work-nav button{color:var(--t-muted)}
body[data-theme="atelier"] .work-home,body[data-theme="atelier"] .mobile-trigger{background:var(--t-note);color:var(--t-ink);border-color:var(--t-border)}
body[data-theme="atelier"] .work-nav button.active{background:var(--t-leaf);color:var(--t-reverse);box-shadow:0 5px 0 var(--t-border)}
body[data-theme="atelier"] .work-nav button:hover:not(.active){background:var(--t-note)}
body[data-theme="atelier"] .workspace-intro{background:var(--t-blob)}
body[data-theme="atelier"] .workspace-intro:before{border-color:var(--t-card3)}
body[data-theme="atelier"] .workspace-intro:after{background:var(--t-card1)}
body[data-theme="atelier"] .workspace-intro p{color:var(--t-muted)}
body[data-theme="atelier"] .session{border-color:var(--t-border)}
body[data-theme="atelier"] .session time{color:var(--t-accent)}
body[data-theme="atelier"] .session small,body[data-theme="atelier"] .work-panel .small{color:var(--t-muted)}
body[data-theme="atelier"] .chip,body[data-theme="atelier"] .detail-note{background:var(--t-note);color:var(--t-ink)}
body[data-theme="atelier"] .chip.warm{background:var(--t-card2);color:var(--t-ink)}
body[data-theme="atelier"] .meter{background:var(--t-border)}
body[data-theme="atelier"] .meter i{background:var(--t-progress)}
body[data-theme="atelier"] .meter.gold i{background:var(--t-card1)}
body[data-theme="atelier"] .meter.terra i{background:var(--t-accent)}
body[data-theme="atelier"] .path-card{color:var(--t-ink)}
body[data-theme="atelier"] .path-card:nth-child(1){background:var(--t-card1)}
body[data-theme="atelier"] .path-card:nth-child(2){background:var(--t-card2)}
body[data-theme="atelier"] .path-card:nth-child(3){background:var(--t-card3)}
body[data-theme="atelier"] .path-card:nth-child(4){background:var(--t-card4)}
body[data-theme="atelier"] .path-card small{color:var(--t-ink)}
body[data-theme="atelier"] .detail-card:nth-child(2n){background:var(--t-note)}
body[data-theme="atelier"] .detail-card .label{color:var(--t-accent)}
body[data-theme="atelier"] .modal p{color:var(--t-muted)}
body[data-theme="atelier"] .modal input{background:var(--t-bg);border-color:var(--t-border);color:var(--t-ink)}
body[data-theme="atelier"] .cancel{background:var(--t-note);color:var(--t-ink)}
body[data-theme="atelier"] .toast{background:var(--t-leaf);color:var(--t-reverse)}
