/* Three destinations. Target language, rather than UI locale, selects the theme. */
.academy-icon{display:inline-block;width:24px;height:24px;vertical-align:middle;flex-shrink:0}
nav a>span:has(.academy-icon){display:inline-flex;align-items:center;justify-content:center;width:24px;min-width:24px;height:24px}
.dialog-card .motif .academy-icon{width:34px;height:34px}
html[data-course-theme=en]{--ink:#142b46;--muted:#5e6e6a;--paper:#faf8f1;--line:#e2dfd4;--green:#27634e;--patio-blue:#173b49;--destination-hero:url('/images/british-academic-hero.webp');--destination-accent:#27634e;--destination-soft:#eaf2eb;--destination-link:#235c49;--destination-nav:#fdfbf6;--destination-surface:#faf8f1;--destination-edge:#e2dfd4}
html[data-course-theme=de]{--ink:#153e60;--muted:#55738a;--paper:#f3f9fd;--line:#d3e5ef;--green:#d8453f;--patio-blue:#153e60;--destination-hero:url('/images/rhineland-hero.webp');--destination-accent:#d8453f;--destination-soft:#e4f3fc;--destination-link:#17618d;--destination-nav:#153e60;--destination-surface:#f3f9fd;--destination-edge:#d3e5ef}
html[data-course-theme=en] body,html[data-course-theme=de] body{background:var(--destination-surface);color:var(--ink)}
html:is([data-course-theme=en],[data-course-theme=de]) .shell,html:is([data-course-theme=en],[data-course-theme=de]) .access-form,html:is([data-course-theme=en],[data-course-theme=de]) #account-gate{background:var(--destination-surface)}
html:is([data-course-theme=en],[data-course-theme=de]) header,html:is([data-course-theme=en],[data-course-theme=de]) aside{background:var(--destination-nav)}
html:is([data-course-theme=en],[data-course-theme=de]) .hero{background-image:linear-gradient(90deg,#101c32b8 0%,#101c3255 48%,#101c3200 80%),var(--destination-hero);background-color:var(--destination-nav);background-position:center;border-color:var(--destination-edge)}
html:is([data-course-theme=en],[data-course-theme=de]) .hero h1,html:is([data-course-theme=en],[data-course-theme=de]) .hero p{color:#fffdf8;text-shadow:0 2px 18px #0b182a70}
html:is([data-course-theme=en],[data-course-theme=de]) .access-story{background-image:linear-gradient(90deg,#101c32bb,#101c3230),var(--destination-hero);background-color:var(--destination-nav);background-size:cover;background-position:center;color:#fffdf8}
html:is([data-course-theme=en],[data-course-theme=de]) .access-story .access-brand,html:is([data-course-theme=en],[data-course-theme=de]) .access-story .story-foot{color:#fffdf8}
html:is([data-course-theme=en],[data-course-theme=de]) .story-copy h1{text-shadow:0 2px 18px #0b182a60}
html:is([data-course-theme=en],[data-course-theme=de]) .method-tags span{background:#fffdf820;border-color:#fffdf84d;color:#fffdf8;backdrop-filter:blur(8px)}
html:is([data-course-theme=en],[data-course-theme=de]) .panel,html:is([data-course-theme=en],[data-course-theme=de]) .stat,html:is([data-course-theme=en],[data-course-theme=de]) .dialog-card,html:is([data-course-theme=en],[data-course-theme=de]) .flashcard,html:is([data-course-theme=en],[data-course-theme=de]) .access-card{border-color:var(--destination-edge)}
html[data-course-theme=en] .panel,html[data-course-theme=en] .stat,html[data-course-theme=en] .dialog-card,html[data-course-theme=en] .flashcard,html[data-course-theme=en] .access-card{background:#fffcf6;box-shadow:0 6px 24px #30243d08}
html:is([data-course-theme=en],[data-course-theme=de]) .btn:not(.secondary),html:is([data-course-theme=en],[data-course-theme=de]) .access-primary{background:var(--destination-accent);color:#fff;box-shadow:0 4px 14px #14233b14}
html:is([data-course-theme=en],[data-course-theme=de]) .btn.secondary{border-color:var(--destination-edge);color:var(--destination-link)}
html:is([data-course-theme=en],[data-course-theme=de]) .account-bar,html:is([data-course-theme=en],[data-course-theme=de]) footer,html:is([data-course-theme=en],[data-course-theme=de]) .tabs,html:is([data-course-theme=en],[data-course-theme=de]) .account-tabs,html:is([data-course-theme=en],[data-course-theme=de]) .chart-metrics{background:var(--destination-soft);border-color:var(--destination-edge);color:var(--muted)}
html:is([data-course-theme=en],[data-course-theme=de]) .bar{background:var(--destination-accent)}
html:is([data-course-theme=en],[data-course-theme=de]) .tabs button.on,html:is([data-course-theme=en],[data-course-theme=de]) .chart-metrics button.on,html:is([data-course-theme=en],[data-course-theme=de]) .account-tabs button[aria-pressed=true],html:is([data-course-theme=en],[data-course-theme=de]) .dialog-card .motif,html:is([data-course-theme=en],[data-course-theme=de]) .course-label,html:is([data-course-theme=en],[data-course-theme=de]) .account-bar a,html:is([data-course-theme=en],[data-course-theme=de]) .access-secondary{color:var(--destination-link)}
html:is([data-course-theme=en],[data-course-theme=de]) .audios button{color:var(--destination-link);background:var(--destination-soft);border-color:var(--destination-edge)}
html:is([data-course-theme=en],[data-course-theme=de]) .progress,html:is([data-course-theme=en],[data-course-theme=de]) .listen-track{background:var(--destination-soft)}
html:is([data-course-theme=en],[data-course-theme=de]) .progress i,html:is([data-course-theme=en],[data-course-theme=de]) .listen-track i,html:is([data-course-theme=en],[data-course-theme=de]) .phase span.done{background:var(--destination-accent)}
html:is([data-course-theme=en],[data-course-theme=de]) .flashcard .answer{color:var(--destination-link)}
html:is([data-course-theme=en],[data-course-theme=de]) .daily-path .task{background:#fffdf9;border-color:var(--destination-edge)}
html:is([data-course-theme=en],[data-course-theme=de]) .daily-path .task .num{background-image:var(--destination-hero)}
html:is([data-course-theme=en],[data-course-theme=de]) .daily-path .task[href='#learn'] .num{background-position:70% center}
html:is([data-course-theme=en],[data-course-theme=de]) .daily-path .task[href='#review'] .num{background-position:40% 80%}
html:is([data-course-theme=en],[data-course-theme=de]) .daily-path .task[href='#dialogs'] .num{background-position:95% 70%}
html[data-course-theme=de] h1,html[data-course-theme=de] h2,html[data-course-theme=de] h3,html[data-course-theme=de] .hero h1,html[data-course-theme=de] .stat strong,html[data-course-theme=de] .daily-path .task p,html[data-course-theme=de] .access-card h2,html[data-course-theme=de] .story-copy h1{font-family:'DM Sans',Arial,sans-serif}
html[data-course-theme=de] .hero{background-image:linear-gradient(90deg,#123d647d 0%,#123d6420 50%,#123d6400 80%),var(--destination-hero)}
html[data-course-theme=de] .hero h1{font-weight:700}
html[data-course-theme=en] .hero{background-position:64% center}
@media(min-width:901px){html:is([data-course-theme=en],[data-course-theme=de]) nav a.active{background:#ffffff18;color:#fff}}
@media(max-width:900px){
 html:is([data-course-theme=en],[data-course-theme=de]) aside{background:#fffdf9;border-color:var(--destination-edge)}
 html:is([data-course-theme=en],[data-course-theme=de]) nav a.active{background:var(--destination-soft);color:var(--destination-link)}
 html:is([data-course-theme=en],[data-course-theme=de]) nav a:hover{background:var(--destination-soft);color:var(--destination-link)}
 html:is([data-course-theme=en],[data-course-theme=de]) .hero{background-position:65% center}
}
@media(max-width:520px){
 html:is([data-course-theme=en],[data-course-theme=de]) .hero{min-height:350px;background-position:62% center}
 html:is([data-course-theme=en],[data-course-theme=de]) .hero-text{max-width:88%}
 html[data-course-theme=en] .hero{background-position:64% center}
}

html:is([data-course-theme=en],[data-course-theme=de]) .academy-languages{color:#f5f1e9;text-shadow:0 1px 6px #10203080}
.method-tags span:has(.academy-icon){display:inline-flex;align-items:center;gap:5px}.method-tags .academy-icon{width:15px;height:15px}

/* German daily path: three distinct German settings. */
html[data-course-theme=de] .daily-path .task[href='#learn'] .num{background-image:url('/images/black-forest-steps.webp');background-position:center}
html[data-course-theme=de] .daily-path .task[href='#review'] .num{background-image:url('/images/rhineland-books.webp');background-position:center}
html[data-course-theme=de] .daily-path .task[href='#dialogs'] .num{background-image:url('/images/berlin-conversation.webp');background-position:center}

/* Approved English collegiate direction: sunny ivory, navy, gold and encouraging green. */
html[data-course-theme=en] header{color:#142b46;border-bottom:1px solid #e2dfd4}
html[data-course-theme=en] .brand,html[data-course-theme=en] .brand svg,html[data-course-theme=en] .home-mark,html[data-course-theme=en] .home-mark svg{color:#142b46}
html[data-course-theme=en] .brand svg path:last-child,html[data-course-theme=en] .home-mark svg path:last-child,html[data-course-theme=en] .access-brand svg path:last-child{stroke:#ae873c}
html[data-course-theme=en] header #crumb{color:#344b5b;border-color:#dcd8ca}
html[data-course-theme=en] .menu-chevron{color:#526a60}
html[data-course-theme=en] .avatar{background:#e5eee5;color:#235c49}
html[data-course-theme=en] nav a{color:#405b63}
html[data-course-theme=en] nav a.active{background:#e5eee5;border-color:#d7e3d7;color:#235c49}
html[data-course-theme=en] nav a:hover{background:#edf3eb;color:#235c49}
html[data-course-theme=en] .nav-caption{color:#6e7a73}
html[data-course-theme=en] .sidebar-foot{color:#536965;border-color:#deded0}
html[data-course-theme=en] .sidebar-foot .tiny-leaf{color:#aa853c}
html[data-course-theme=en] .sidebar-foot .text-button{color:#365b4a}
html[data-course-theme=en] .hero{background-image:linear-gradient(90deg,#fff9efdf 0%,#fff9ef92 32%,#fff9ef00 66%),var(--destination-hero);background-position:60% center;min-height:390px}
html[data-course-theme=en] .hero h1,html[data-course-theme=en] .hero p{color:#142b46;text-shadow:0 1px 12px #fffdf48c}
html[data-course-theme=en] .hero h1{font-family:Georgia,'Times New Roman',serif}
html[data-course-theme=en] .access-story{background-image:linear-gradient(90deg,#fffaefd9,#fffaef45),var(--destination-hero);color:#142b46;background-position:58% center}
html[data-course-theme=en] .access-story .access-brand,html[data-course-theme=en] .access-story .story-foot,html[data-course-theme=en] .academy-languages{color:#142b46;text-shadow:none}
html[data-course-theme=en] .story-copy h1{text-shadow:0 1px 12px #fffdf48c}
html[data-course-theme=en] .method-tags span{color:#235c49;background:#fffdf5ce;border-color:#e0dfcd;backdrop-filter:blur(5px)}
html[data-course-theme=en] .btn:not(.secondary),html[data-course-theme=en] .access-primary{background:linear-gradient(135deg,#35775b,#255f49);box-shadow:0 4px 12px #245f491b;color:#fff}
html[data-course-theme=en] .panel,html[data-course-theme=en] .stat,html[data-course-theme=en] .dialog-card,html[data-course-theme=en] .flashcard,html[data-course-theme=en] .access-card{background:#fffefa;box-shadow:0 5px 20px #6b60350a}
html[data-course-theme=en] .daily-path .task[href='#learn'] .num{background-image:url('/images/british-library.webp');background-position:center}
html[data-course-theme=en] .daily-path .task[href='#review'] .num{background-image:url('/images/british-bookshop.webp');background-position:center}
html[data-course-theme=en] .daily-path .task[href='#dialogs'] .num{background-image:url('/images/british-cafe.webp');background-position:center}
html[data-course-theme=en] .daily-path .task b{color:#a78136}
html[data-course-theme=en] .stat strong,html[data-course-theme=en] .page-heading h1{color:#142b46}
@media(max-width:900px){html[data-course-theme=en] .hero{background-position:61% center}html[data-course-theme=en] aside{background:#fffefa}html[data-course-theme=en] nav a.active{color:#235c49;background:#eaf2eb}}
@media(max-width:520px){html[data-course-theme=en] .hero{min-height:350px;background-position:60% center;background-image:linear-gradient(90deg,#fff9efe0 0%,#fff9ef8c 38%,#fff9ef00 85%),var(--destination-hero)}html[data-course-theme=en] .hero h1{max-width:275px}}

/* Shared, encouraging primary actions for every language platform. */
html[data-course-theme] .btn:not(.secondary),html[data-course-theme] .access-primary{background:linear-gradient(135deg,#35775b,#255f49);color:#fff;box-shadow:0 4px 12px #245f491b}

/* Quiet review-stage indicator, with no trunk/branch labels. */
.review-top{justify-content:flex-end}
html[data-course-theme] .session .review-progress{height:3px;background:#e9eeeb}
html[data-course-theme] .session .review-progress i{background:#a3b2a8}

/* Clearer knowledge ratings across all language themes. */
.session .rating.red{background:#f4b5ad;color:#862720;border-color:#df8b80}
.session .rating.yellow{background:#f5d569;color:#604407;border-color:#dfb843}
.session .rating.green{background:#a2d8b5;color:#174d36;border-color:#77b991}

.training-highlight{display:flex;align-items:center;gap:20px;background:linear-gradient(115deg,#f4f8ee,#eaf2eb);border:1px solid #d2e1d2;border-radius:16px;padding:24px;margin:0 0 24px;color:#193e38}.training-highlight-icon{flex-shrink:0;width:58px;height:58px;border-radius:16px;display:grid;place-items:center;background:#dcebdc;color:#28654c}.training-highlight-icon .academy-icon{width:31px;height:31px}.training-highlight>div:nth-child(2){flex:1;min-width:0}.training-highlight .eyebrow{font-size:9px;letter-spacing:1.2px;color:#52705c;margin:0 0 8px}.training-highlight h2{font-size:25px;line-height:1.2;margin:0 0 8px}.training-highlight p:not(.eyebrow){font-size:13px;line-height:1.55;margin:0;max-width:620px}.training-highlight>.btn{flex-shrink:0;color:#265b44;border-color:#c6d8c7;background:#fffef9;text-align:center}@media(max-width:700px){.training-highlight{flex-wrap:wrap;gap:14px;padding:20px}.training-highlight-icon{width:44px;height:44px;border-radius:12px}.training-highlight h2{font-size:23px}.training-highlight>.btn{width:100%}.training-highlight>div:nth-child(2){flex-basis:calc(100% - 65px)}}
