/* Calm homepage palette. Daylight keeps the burgundy coach outfits. */
html:is([data-theme=light],:not([data-theme])) body[data-content-app]{
 --theme-bg:#faf8f6;--theme-surface:#fffdfb;--theme-card:#f3eeea;--theme-soft:#eee5e2;
 --theme-text:#403637;--theme-muted:#655b59;--theme-accent:#701c32;--theme-border:#ded4ce;
 --brand-fill:#f0ebe5;--brand-border:#e0d6cf;
 --tile-0:#f1ece8;--tile-1:#efeae5;--tile-2:#f5f0ec;--tile-3:#f1e8e5;
 --shortcut-fill:#f5f1ed;--shortcut-ink:#594349;--shortcut-border:#d9ccc6;--shortcut-active:#701c32;
 --shortcut-today:#f1e8e5;--shortcut-coaches:#f5f1ed;--shortcut-mini:#f1ece8;--shortcut-podcast:#f5f1ed;
 --topic-button-edge:#c7b8b1;--topic-button-ink:#594349;--topic-button-base:#ded4ce;
 --control-edge:#d9ccc6;--control-shadow:none;
}
html:is([data-theme=light],:not([data-theme])) body[data-content-app] :is(.hero,.learning-heading){
 background:transparent!important;border-color:transparent!important;box-shadow:none!important;
}
html:is([data-theme=light],:not([data-theme])) body[data-content-app] :is(.card,.card.maya){
 background:var(--theme-surface)!important;border:1px solid #e3dad4!important;box-shadow:none!important;
}
/* Preserve generous touch targets, clear labels and the existing arrow icons. */
html body[data-content-app] .topic-grid :is(button.topic-tile,#mini-topic-button):not([data-flat-control]),
html body[data-content-app] main>.hero>.korys-primary-nav :is(button,a.korys-coaches-shortcut,#primary-nav-button):not([data-flat-control]){
 border:1px solid var(--topic-button-edge)!important;box-shadow:none!important;
}
html body[data-content-app] .topic-grid :is(button.topic-tile,#mini-topic-button):not([data-flat-control])>svg,
html body[data-content-app] main>.hero>.korys-primary-nav :is(button,a.korys-coaches-shortcut,#primary-nav-button):not([data-flat-control])>svg{
 background:transparent!important;box-shadow:none!important;border-width:1px!important;
}
html body[data-content-app] .topic-grid :is(button.topic-tile,#mini-topic-button):not([data-flat-control]):active,
html body[data-content-app] main>.hero>.korys-primary-nav :is(button,a.korys-coaches-shortcut,#primary-nav-button):not([data-flat-control]):active{
 transform:none!important;box-shadow:none!important;
}
html body[data-content-app] main>.hero>.korys-primary-nav :is(button,a.korys-coaches-shortcut,#primary-nav-button):not([data-flat-control])[aria-pressed=true]{
 background:var(--shortcut-active,var(--theme-action))!important;color:#fff!important;border-color:var(--shortcut-active,var(--theme-action))!important;
}
html:is([data-theme=light],:not([data-theme])) body[data-content-app] .cards :is(.call,.whatsapp){
 box-shadow:none!important;border:1px solid transparent!important;
}
html:is([data-theme=light],:not([data-theme])) body[data-content-app] main>.hero .language-nav :is(.appearance-toggle,.korys-menu-toggle,select){
 background:var(--theme-surface)!important;border-color:var(--theme-border)!important;box-shadow:none!important;
}
html body[data-content-app] .topic-grid :is(button.topic-tile,#mini-topic-button):not([data-flat-control]):focus-visible,
html body[data-content-app] main>.hero>.korys-primary-nav :is(button,a.korys-coaches-shortcut,#primary-nav-button):not([data-flat-control]):focus-visible{
 outline:3px solid var(--theme-accent,#701c32)!important;outline-offset:3px!important;
}
