:root{--collection-paper:#fffaf1;--collection-ink:#12392b;--collection-border:#bdcbb5;--collection-green:#225f39}
html body:not([data-theme="dark"]){background-color:var(--collection-paper);color:var(--collection-ink)}
body :is(.rd-public,.kl-public-home,.kc-header,.kl-public-header){background-color:var(--collection-paper)}
body :is(.rd-goal,.profession-card,.panel,.kl-card,.kc-panel,.market-card,.lesson-card,.approved-first-step .rd-sample,.article-grid a){border:1px solid var(--collection-border);border-radius:14px;background-color:#fffdf7;box-shadow:none}
body .kl-public-home .approved-hero{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:start;gap:clamp(14px,2vw,28px)}
body .kl-public-home .approved-welcome{position:relative;display:flex;flex-direction:column-reverse;align-items:flex-start;overflow:hidden;background:linear-gradient(155deg,#fffaf1 46%,#e8efc5);border:1px solid var(--collection-border);border-radius:18px;padding:clamp(18px,3vw,42px)}
body .kl-public-home .approved-welcome .rd-lumi{align-self:flex-end;width:clamp(85px,13vw,180px);height:auto}
body .kl-public-home .approved-welcome h1{color:#103927;letter-spacing:-.055em;line-height:1.02;font-size:clamp(40px,5.6vw,80px)}
body .kl-public-home .approved-welcome .rd-kicker{display:none}
body .kl-public-home :is(.primary,.linkbutton.primary),body .kc-actions .kc-primary-action,body .article-share{border-radius:999px;background:#24683b;color:white;border:1px solid #215b34}
body .kl-public-home .rd-goal:nth-child(3n+1){background-color:#f2f5dc}body .kl-public-home .rd-goal:nth-child(3n+2){background-color:#f1eaf7}body .kl-public-home .rd-goal:nth-child(3n){background-color:#fff1c8}
.article-index{max-width:1020px;margin:auto;padding:clamp(20px,5vw,64px);font:1rem/1.55 system-ui,sans-serif}
.article-index h1{font-size:clamp(2.7rem,7vw,5rem);line-height:1.04;letter-spacing:-.055em;margin:.6em 0}
.article-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:14px}
.article-grid a{display:block;padding:20px;color:inherit;text-decoration:none}.article-grid strong{display:block;font-size:1.2rem}.article-grid span{display:block;margin-top:.6em}.article-share{font:inherit;min-height:44px;padding:8px 20px;cursor:pointer}
@media(max-width:760px){body .kl-public-home .approved-hero{grid-template-columns:minmax(0,1fr)}body .kl-public-home .approved-welcome .rd-lumi{width:90px}body .kl-public-home .approved-welcome{padding:20px}}
body .kl-public-home:has(.kh-home){width:min(100%,1280px);margin:auto;max-width:none;background:#fdf9f0;color:#102d23;padding:0 clamp(14px,2.6vw,38px);box-sizing:border-box} .kh-home,.kh-home *{box-sizing:border-box}
.kh-home{font:500 16px/1.3 system-ui,sans-serif}.kh-home :is(h1,h2,p){margin:0}.kh-home h2{font-size:clamp(20px,2.2vw,32px);line-height:1.12;font-weight:850;letter-spacing:-.045em}.kh-home a{color:inherit;text-decoration:none}.kh-home img{display:block;max-width:100%;object-fit:contain;mix-blend-mode:multiply}.kh-hero{display:grid;grid-template-columns:1.35fr .95fr 1fr;align-items:center;position:relative;min-height:300px;border-bottom:1px solid #d2d6b0}.kh-intro{padding:18px 0;z-index:1}.kh-home h1{font-size:clamp(42px,4.2vw,68px);font-weight:900;letter-spacing:-.065em;line-height:1.02}.kh-intro>p{background:#eff4b0;padding:10px 14px;border-radius:18px;margin:14px 0;max-width:380px;font-weight:600}.kh-actions{display:flex;gap:7px;flex-wrap:wrap}.kh-actions a,.kh-win>a{display:inline-flex;align-items:center;justify-content:center;padding:9px 13px;border:1px solid #27643e;border-radius:40px;background:#fffdf8;font-size:14px;font-weight:750}.kh-home .kh-primary{color:white;background:#126535}.kh-berlin{width:100%;align-self:end}.kh-win{background:linear-gradient(#fffcec,#eef4bc);border:1px solid #c1cbb4;border-radius:20px;text-align:center;padding:20px 10px}.kh-phrase{display:flex;align-items:center;justify-content:center;gap:6px;margin:14px 0}.kh-phrase img{width:25%;height:auto}.kh-phrase span{border:1px solid #523e60;border-radius:50%;padding:10px 14px;background:#efe2f9;font-weight:750}.kh-phrase button,.kh-home i{border-radius:50%;background:#eaf4b7;color:#145833;font-style:normal;padding:4px 8px}.kh-goals,.kh-split,.kh-teach{margin-top:24px}.kh-grid,.kh-samples,.kh-profiles{display:grid;gap:9px;margin-top:10px}.kh-grid,.kh-samples{grid-template-columns:repeat(3,minmax(0,1fr))}.kh-profiles{grid-template-columns:1fr 1fr}.kh-grid a,.kh-samples a,.kh-profiles a{display:flex;align-items:center;gap:10px;border:1px solid #cdcfc2;padding:12px;border-radius:14px;background:#fffaf2}.kh-grid img{width:32%}.kh-grid strong,.kh-profiles strong{display:block;font-size:clamp(16px,1.45vw,22px);line-height:1.1}.kh-home small{display:block;font-size:14px;line-height:1.3;margin-top:4px}.kh-grid i{margin-left:auto}.kh-split{display:grid;grid-template-columns: .85fr 1.15fr;gap:22px}.kh-samples a{flex-direction:column;text-align:center;gap:4px}.kh-samples img{height:46px}.kh-profiles img{width:38%;border-radius:8px}.kh-profiles span{display:inline-block;border-radius:20px;border:1px solid #456a47;padding:4px 8px;font-size:12px;margin-top:8px}.kh-split h2 small{display:inline-block;vertical-align:middle;background:#efddfa;padding:3px 8px;border-radius:12px;letter-spacing:0;font-size:11px}.kh-teach{display:flex;align-items:center;gap:20px;padding:20px;background:#eff4ca;border-radius:14px}.kh-teach img{width:14%;max-height:94px}.kh-teach .kh-actions{margin-left:auto}.kh-more{margin:18px 0;font-size:14px}.kh-more summary{cursor:pointer}.kh-more .approved-hero[hidden],.kh-dialog [hidden]{display:none!important}.kh-dialog{width:min(500px,94vw);border:1px solid #becbb1;border-radius:18px;padding:20px;background:#fffbf3}.kh-dialog::backdrop{background:#142e2580}.kh-dialog button{cursor:pointer}
@media(max-width:950px){.kh-hero{grid-template-columns:1.1fr 1fr}.kh-win{grid-column:1/-1;display:flex;align-items:center;justify-content:space-around;gap:8px;padding:10px}.kh-phrase{margin:0}.kh-phrase img{width:55px}.kh-split{grid-template-columns:1fr 1.2fr;gap:10px}.kh-profiles a{flex-direction:column;align-items:start}.kh-profiles img{width:64px}.kh-grid a{flex-wrap:wrap}}
@media(max-width:620px){.kh-hero{display:flex;flex-direction:column;min-height:0}.kh-intro,.kh-win{width:100%}.kh-intro{padding:10px 0 0}.kh-intro h1{font-size:40px}.kh-intro>p{max-width:none}.kh-intro .kh-actions{flex-direction:column}.kh-berlin{align-self:center;width:auto;height:115px}.kh-win{display:block;padding:10px}.kh-phrase{margin:6px 0}.kh-grid,.kh-split,.kh-profiles{grid-template-columns:1fr}.kh-grid a,.kh-profiles a{flex-direction:row;flex-wrap:nowrap;padding:7px 10px}.kh-grid img,.kh-profiles img{width:52px;height:48px}.kh-grid small{margin:0}.kh-teach{flex-wrap:wrap;gap:8px}.kh-teach>div:not(.kh-actions){flex:1}.kh-teach .kh-actions{width:100%;justify-content:center}.kh-split section+section{margin-top:10px}.kh-profiles span{margin:4px 0}.kh-goals,.kh-teach,.kh-split{margin-top:16px}}
body .kl-auth-stage.access-board,body .role-stage-grid.access-board{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(16px,3vw,42px);align-items:center;max-width:1080px;margin:auto;padding:clamp(16px,3vw,40px);background:#fcf8f1}
body .access-board>.kl-auth-story,body .access-board>.role-intro,body .access-board>.kl-scene,body .access-board>.role-auth-links{display:none}
.access-illustration h2{font-size:clamp(34px,4vw,58px);line-height:1.05;letter-spacing:-.055em;margin:0 0 15px;color:#12291d}
.access-illustration img{display:block;width:100%;max-height:355px;object-fit:contain;mix-blend-mode:multiply}
body .access-board .kl-auth-card{width:100%;max-width:none;margin:0;background:#fffdf8;border:1px solid #b9c1b3;border-radius:16px;box-shadow:none;position:relative}.access-role{display:table;margin:0 auto 10px;background:#eadcf4;padding:4px 20px;border-radius:24px}.access-board .kl-auth-card>a:last-child{display:block;text-align:center;margin-top:14px}.access-board .kl-auth-card button.primary{background:#205e38;border-radius:32px}
@media(max-width:760px){body .kl-auth-stage.access-board,body .role-stage-grid.access-board{grid-template-columns:minmax(0,1fr);gap:5px;padding:14px}.access-illustration{text-align:center}.access-illustration img{height:125px}.access-illustration h2{font-size:30px;margin-bottom:4px}}
.collection-entry{display:inline-flex;border:1px solid #426b48;border-radius:24px;padding:8px 16px;margin:7px 0;background:#e2ecd4;color:#20482d;font-weight:650;text-decoration:none}
body .pdf-welcome .board-welcome{width:clamp(84px,15vw,160px);height:auto;object-fit:contain;mix-blend-mode:multiply}
body .pdf-learning-home .pdf-current{background:#eef3cf;border:1px solid #c6cdb9;color:#142d20;border-radius:16px}
.board-shortcuts,.board-tutor-summary,.notice-tools{display:flex;align-items:center;gap:10px;margin:14px 0;flex-wrap:wrap}
.board-shortcuts>* ,.board-tutor-summary>div{flex:1;background:#eef2cc;color:#183a26;border:1px solid #d8d9bc;border-radius:14px;text-align:center;padding:13px 10px;font-weight:700;text-decoration:none}
.board-shortcuts>a,.board-tutor-summary>div:nth-child(2){background:#ece0f4}
.board-tutor-summary strong,.board-tutor-summary span,.board-batch-list small{display:block}
.board-batch-list{display:grid;gap:9px;margin:12px 0}.board-batch-list button{display:flex;justify-content:space-between;align-items:center;width:100%;text-align:left;color:#173728;background:#fffaf2;border:1px solid #c3cbb7;border-radius:12px;padding:12px 18px}.board-batch-list small{font-size:14px}
body .p3-staff-overview .kl-page-heading,body .kl-tutor-workspace .kl-page-heading{background:transparent url('/assets/boards/institute.webp') no-repeat right 12px center;background-size:auto 48px;padding-right:104px}
body .kl-tutor-workspace .kl-page-heading{background-image:url('/assets/boards/tutor.webp')}
body :is(.kl-metrics,.super-metrics)>:nth-child(3n+1){background:#edf2d7}body :is(.kl-metrics,.super-metrics)>:nth-child(3n+2){background:#eee3f5}body :is(.kl-metrics,.super-metrics)>:nth-child(3n){background:#fbefc9}
body .kl-phase-pricing .rd-pricing-heading:after{content:'';display:block;height:clamp(75px,12vw,135px);background:url('/assets/boards/plans.webp') center/contain no-repeat;mix-blend-mode:multiply}
.notice-tools{justify-content:space-between}.notice-tools button{border-radius:22px;padding:8px 14px;background:#e4ecd3;border:0}.notice-tools button[aria-pressed=true]{color:white;background:#285d31}
body .cm-notification-row{position:relative;display:flex;gap:12px;align-items:center;background:#fffaf1;border:1px solid #c2cbb6;border-radius:14px;padding:14px;margin:9px 0}body .cm-notification-row>span{display:grid;place-items:center;background:#fbefc2;border-radius:10px;width:42px;height:42px;flex:none}.cm-notification-row[data-read=false]:before{content:'';position:absolute;top:6px;left:6px;width:7px;height:7px;border-radius:50%;background:#9877bb}.cm-notification-row button{margin-left:auto}.cm-notifications .kl-page-heading,.pdf-welcome{overflow-wrap:anywhere}
@media(max-width:650px){body .kl-staff-main{min-width:0}.kl-table-wrap,.super-table-wrap{max-width:100%;overflow-x:auto}body :is(.kl-tutor-workspace,.p3-staff-overview) .kl-page-heading{padding-right:0;background:none}.cm-notification-row h3{font-size:16px}}
.board-ielts-skills{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}.board-ielts-skills a{padding:14px;border-radius:14px;background:#edf2cf;color:#163823;text-decoration:none;text-align:center}.board-ielts-skills a:nth-child(2){background:#ebdff4}.board-ielts-skills a:nth-child(3){background:#fff1c8}.board-ielts-skills img{display:block;object-fit:contain;width:100%;height:54px;mix-blend-mode:multiply;margin:6px auto 0}
body .pdf-my-class .cm-student-assignments .kl-card{border:1px solid #bdcbb5;background:#fffaf1;border-radius:16px}
body .pdf-my-class .cm-task-list button{background:#f0e7f6;border:1px solid #d7cadd;border-radius:12px}.lesson-shell .lesson-outcome{border:1px solid #bdcbb5;border-radius:14px;background:#fffaf1;padding:16px}.lesson-shell .lesson-outcome li{padding:7px 10px;background:#f0f3dc;border-radius:10px;margin-bottom:6px}

/* Keep the approved scene aligned with its headline at each breakpoint. */
.kh-skyline { display: block; align-self: end; min-width: 0; }
.kh-home .kh-berlin { height: auto; mix-blend-mode: normal; }
.kh-home :is(h1,h2) { font-family: Inter, system-ui, sans-serif; color: #102d23; font-weight: 850; }
/* The public board prints these three rays after its display headings. */
.kh-home .kh-intro h1::after,
.kh-home :is(.kh-win,.kh-goals,.kh-split,.kh-teach) h2::after {
  content:"";
  display:inline-block;
  width:.65em;
  height:.68em;
  margin-inline-start:.09em;
  vertical-align:.04em;
  background:url("/assets/home/title-rays.webp") center / contain no-repeat;
}
.kh-home .kh-hero { isolation: isolate; }
.kh-home .kh-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("/assets/home/berlin-wide.webp") center bottom / 100% auto no-repeat;
  pointer-events: none;
}
.kh-home .kh-berlin { visibility: hidden; }
.kh-home .kh-win { position: relative; }
.kh-home .kh-intro { align-self: start; }
.kh-home .kh-intro h1 { font-size: clamp(2.65rem, 3.7vw, 4.1rem); line-height: 1.06; }
.kh-home .kh-intro > p { line-height: 1.35; }
.kh-home :is(.kh-grid,.kh-samples,.kh-profiles,.kh-teach,.kh-win) img { mix-blend-mode: normal; }
@media (min-width: 951px) {
  .kh-home .kh-hero { min-height: 0; aspect-ratio: 738 / 275; grid-template-columns: minmax(0, 40fr) minmax(0, 29fr) minmax(0, 31fr); }
  .kh-home .kh-skyline { display: none; }
  .kh-home .kh-win { grid-column: 3; grid-row: 1; }
  .kh-home .kh-intro { grid-column: 1; grid-row: 1; align-self: center; padding: 0 0 5%; }
}
body.kc-unified-app .layout:has(#app > .kl-public-home .kh-home) { max-width:1440px; }
body .layout > #app:has(> .kl-public-home .kh-home) { max-width:none; padding:0; }
body #app > .kl-public-home:has(.kh-home) { width:100%; }
body #app .kl-public-home:has(.kh-home) :is(.kc-header,.kc-footer) { max-width:none; }
body #app .kl-public-home .kc-guest-header { border-bottom:0; margin-bottom:0; }
body #app .kl-public-home .kc-guest-header .kc-account { border-radius:2rem; border-color:#267044; }
body #app .kl-public-home .kc-guest-header [data-ui-auth="signup"] { background:#086736; color:#fff; }
body #app .kl-public-home .kc-footer-top > div { display:flex; align-items:center; flex-wrap:wrap; gap:.7rem; }
body #app .kl-public-home .kc-footer-top p { margin:0; }
body #app .kh-home { font-family:Inter,system-ui,sans-serif; }
body #app .kh-home h2 { margin:0; line-height:1.1; letter-spacing:-.045em; }
body #app .kh-home .kh-goals h2, body #app .kh-home .kh-split h2 { font-size:clamp(1.25rem,2.8vw,2.45rem); }
body #app .kh-home .kh-teach h2 { font-size:clamp(1.4rem,3vw,2.8rem); }
body #app .kh-home .kh-primary { background:#086736; color:white; }
body #app .kh-home .kh-grid i,body #app .kh-home .kh-samples i { padding:0; display:grid; place-items:center; width:1.75rem; height:1.75rem; flex:none; }
@media (min-width:951px) {
  body #app > .kl-public-home:has(.kh-home) { padding-inline:clamp(22px,2.5vw,36px); }
  body #app .kh-intro h1 { margin:0; font-size:clamp(3rem,4.85vw,4.5rem); }
  body #app .kh-intro > p { max-width:95%; font-size:clamp(1rem,1.55vw,1.35rem); line-height:1.3; }
  body #app .kh-home .kh-split { grid-template-columns:minmax(0,.83fr) minmax(0,1.17fr); }
  body #app .kh-home .kh-profiles img { width:40%; }
  body #app .kh-home .kh-profiles strong { font-size:clamp(1rem,1.6vw,1.5rem); }
  body #app .kh-home .kh-grid strong { font-size:clamp(1.15rem,2vw,1.75rem); }
  body #app .kh-home .kh-samples img { height:clamp(48px,5vw,72px); }
  body #app .kh-home .kh-samples a { justify-content:space-between; }
  body #app .kh-home .kh-grid img { width:34%; max-height:9rem; }
}
.kl-public-home .kh-teach { gap:clamp(12px,2vw,28px); }
.kl-public-home .kh-teach :is(h2,p) { margin:0; }
.kl-public-home .kh-teach p { line-height:1.3; }
body #app .kl-public-home .kc-footer { position:relative; }
body #app .kl-public-home .kc-footer-notes { margin:.25rem 0 0; padding:0; border:0; }
.kl-public-home .kc-footer-notes > summary { width:fit-content; margin-left:auto; }
.kl-public-home .kh-directory { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr)); gap:1rem; margin-block:1rem; }
.kl-public-home .kh-directory > div { display:flex; flex-direction:column; align-items:start; }
.kl-public-home .kh-directory .kc-label { padding-inline:0; }
.kl-public-home .kh-directory a { display:inline-flex; align-items:center; min-height:2.75rem; }
@media (min-width:951px) {
  body #app .kh-home .kh-teach { padding:clamp(18px,2.3vw,36px); }
  body #app .kh-home .kh-teach img { width:17%; max-height:8.5rem; }
  body #app .kh-home .kh-teach .kh-actions { padding-inline-start:clamp(16px,2.4vw,36px); border-left:1px solid #a4b082; }
  body #app .kh-home .kh-teach .kh-actions a,body #app .kh-home .kh-intro .kh-actions a { min-height:44px; padding:.55em .95em; font-size:clamp(.9375rem,1.15vw,1.125rem); }
  body #app .kh-home .kh-teach p { font-size:clamp(1rem,1.35vw,1.25rem); }
}
/* The cup, speech bubble and playback controls share the same card at all sizes. */
.kh-home .kh-audio { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; }
.kh-home .kh-audio:has(button[hidden]) { display: none; }
.kh-home .kh-audio button { color:#166337; background:#fffdf8; border:1px solid #bbc8ad; min-width:2.75rem; min-height:2.75rem; padding:0; }
.kh-home .kh-audio .kh-wave {
  width:2rem; height:1.1rem; border-radius:0; padding:0;
  background:repeating-linear-gradient(to right,#277443 0 2px,transparent 2px 4px);
  clip-path:polygon(0 45%,12% 34%,22% 3%,32% 28%,40% 12%,48% 42%,58% 33%,68% 6%,77% 26%,86% 15%,100% 46%,100% 59%,86% 71%,77% 62%,68% 92%,58% 65%,48% 58%,40% 83%,32% 68%,22% 98%,12% 68%,0 58%);
}
.kh-bubble { position:relative; line-height:1.08; }
.kh-bubble::after { content:""; position:absolute; bottom:.02em; left:.5em; width:.65em; height:.48em; transform:skew(-22deg,-21deg); background:#efe2f9; border:solid #523e60; border-width:0 0 1px 1px; }
@media (min-width:951px) {
  .kh-home .kh-win { padding:clamp(12px,1.4vw,22px); margin-bottom:1rem; }
  .kh-home .kh-win h2 { text-align:left; font-size:clamp(1.15rem,2vw,1.8rem); }
  .kh-home .kh-phrase { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1fr); gap:.4rem .75rem; }
  .kh-home .kh-phrase img { width:100%; max-height:6.8rem; grid-row:1 / 3; }
  .kh-home .kh-audio { grid-column:2; }
  .kh-home .kh-actions { gap:.4rem; }
  .kh-home .kh-win > .kh-primary { min-width:72%; }
}
@media (min-width:621px) and (max-width:950px) {
  body #app .kl-public-home .kc-menu > summary { min-height:44px; min-width:44px; padding:.5rem; }
  body #app .kl-public-home .kc-menu > summary span:last-child { display:none; }
  .kl-public-home .kc-actions { flex-wrap:nowrap; }
  .kh-home .kh-hero { align-items:end; min-height:0; row-gap:.65rem; padding-bottom:.4rem; }
  .kh-home .kh-intro { align-self:center; padding:0; }
  .kh-home .kh-intro .kh-actions { flex-direction:column; align-items:stretch; max-width:19rem; }
  .kh-home .kh-win { display:grid; grid-template-columns:minmax(0,1fr) auto; padding:10px 16px; gap:5px 10px; }
  .kh-home .kh-win h2 { grid-column:1 / -1; text-align:left; font-size:clamp(1.1rem,3vw,1.6rem); }
  .kh-home .kh-win .kh-phrase { justify-content:flex-start; gap:clamp(.5rem,1.7vw,1.1rem); }
  .kh-home .kh-win .kh-phrase img { width:clamp(65px,11vw,102px); height:auto; }
  .kh-home .kh-win > .kh-primary { min-width:clamp(7.5rem,16vw,10rem); }
  .kh-home .kh-intro h1 { font-size:clamp(2.35rem,5.8vw,3.5rem); }
  .kh-home .kh-win > a { justify-self:end; }
  .kh-home .kh-audio-status:empty { display:none; }
  .kh-home .kh-audio-status:not(:empty) { grid-column:1/-1; }
  .kh-home .kh-split { grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr); }
  .kh-home .kh-profiles a { flex-direction:row; align-items:center; padding:7px; gap:5px; }
  .kh-home .kh-profiles a img { width:35%; min-width:0; }
  .kh-home .kh-profiles strong { font-size:clamp(.875rem,1.7vw,1rem); }
  .kh-home .kh-profiles small { font-size:.8rem; }
  .kh-home .kh-profiles span { font-size:.75rem; }
  .kh-home .kh-profile-heading { align-items:start; }
  .kh-home .kh-profile-heading h2 { max-width:12ch; }
  .kh-home .kh-samples a { padding:8px 4px; line-height:1.1; }
  .kh-home .kh-profile-heading { flex-wrap:wrap; row-gap:0; }
}
@media (max-width: 950px) {
  .kh-home .kh-hero::before { content: none; }
  .kh-home .kh-berlin { visibility: visible; }
}
@media (max-width: 620px) {
  .kl-public-home .kc-actions [data-ui-auth="signup"] { display: inline-flex; }
  .kh-home .kh-hero { align-items: stretch; }
  .kh-home .kh-skyline { align-self: stretch; }
  .kh-home .kh-berlin { width: 100%; align-self: center; height: auto; aspect-ratio: 640 / 190; object-fit: contain; }
  .kh-home .kh-intro { padding: 0; }
  .kh-home .kh-intro h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .kh-home .kh-intro > p { margin: 8px 0; }
  .kh-home .kh-intro .kh-actions { gap: 6px; }
  .kh-home .kh-phrase button { min-height: 44px; min-width: 44px; }
}

@media (max-width: 620px) {
  .kh-home .kh-phrase img { width: 36px; height: auto; }
  .kh-home .kh-samples img { height: 32px; width: auto; }
}

@media (max-width:760px) {
  body .kl-auth-page .kl-auth-stage.access-board,
  body .role-auth-page .role-stage-grid.access-board {
    display:flex!important;
    flex-direction:column;
    align-items:stretch;
    width:100%;
    max-width:100%;
    box-sizing:border-box;
    margin:0 auto;
    padding:12px 0;
    gap:16px;
  }
  body .access-board > .kl-auth-card {
    order:0;
    width:100%!important;
    min-width:0;
    max-width:100%;
    box-sizing:border-box;
    margin:0;
  }
  body .access-board > .access-illustration {
    order:-1;
    width:100%;
    min-width:0;
    text-align:center;
  }
  body .access-board > .access-illustration img { height:110px; object-fit:contain; }
  body .access-board > .access-illustration h2 { display:block!important; }

  body .access-board > .kl-auth-story { display:none!important; }
  body .pdf-welcome .board-welcome { width:54px; height:auto; flex:none; }
  body :is(nav.mobile-app-nav,nav.kc-mobile-nav) a:is(.active,[aria-current=page]) {
    background:#e9efdc!important;
    color:#194c36!important;
    box-shadow:inset 0 -3px #426344;
  }
}

.workspace-picker .guide-card {
  display:grid;
  grid-template-columns:clamp(76px,22vw,108px) minmax(0,1fr);
  align-items:center;
  gap:12px 16px;
}
.workspace-picker .guide-card img { width:100%; height:auto; object-fit:contain; }
.workspace-picker .guide-card h2 { margin:0; font-size:1.25rem; line-height:1.25; }
.workspace-picker .guide-card p { margin:.35rem 0 0; font-size:1rem; line-height:1.4; }
.workspace-actions { grid-column:2; display:flex; gap:10px; flex-wrap:wrap; }
.workspace-actions a {
  display:inline-flex; align-items:center; justify-content:center; min-height:44px;
  padding:8px 16px; font:700 1rem/1.25 Inter,system-ui,sans-serif;
  border-radius:12px; border:1px solid #3d7d3e; text-decoration:none;
}
@media(max-width:600px) {
  .workspace-picker .workspace-actions { grid-column:1/-1; }
  .workspace-picker .workspace-actions a { flex:1; }
}

.kc-guest-header .kc-short-label { display:none; }
@media (max-width:600px) {
  body[data-klar-ui] .kc-header.kc-guest-header {
    display:grid; grid-template-columns:minmax(0,1fr) auto 44px;
    align-items:center; gap:4px; min-height:58px; padding:6px 0;
  }
  .kc-guest-header > .kc-brand { min-height:44px; }
  body .kc-guest-header .kc-actions,
  body .kc-guest-header .guest-account-actions {
    width:auto; margin:0; flex-wrap:nowrap; gap:4px;
  }
  body .kc-guest-header .kc-actions :is(a,button) {
    display:inline-flex; align-items:center; justify-content:center;
    min-width:44px; min-height:44px; width:auto; margin:0;
    padding:6px 8px; font-size:14px; white-space:nowrap;
  }
  body .kc-guest-header .kc-menu > summary {
    width:44px; min-height:44px; padding:0; box-sizing:border-box;
  }
  .kc-guest-header .kc-menu > summary > span:last-child,
  .kc-guest-header .kc-full-label { display:none; }
  .kc-guest-header .kc-short-label { display:inline; }
  .kc-guest-header .kc-context { grid-column:1/-1; }
}
.workspace-picker footer {display:flex;gap:1rem;align-items:center;padding:1rem var(--gutter);flex-wrap:wrap}
.workspace-picker footer a:first-child {margin-right:auto;font-weight:800}
@media(min-width:900px){
 .workspace-picker section {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
 .workspace-picker section>h1,.workspace-picker section>p {grid-column:1/-1}
 .workspace-picker .guide-card {display:flex;flex-direction:column;align-items:stretch;text-align:center;margin:0}
 .workspace-picker .guide-card img {height:110px}
 .workspace-picker .workspace-actions {margin-top:auto;justify-content:center}
}
#workspaceChoices fieldset {display:grid;gap:.8rem;border:0;padding:0;margin:1rem 0}
#workspaceChoices label {display:flex;gap:.6rem;align-items:center;padding:.8rem;border:1px solid #b9c1b3;border-radius:.8rem}
#workspaceChoices input {width:auto}
.set-one-footer,.set-one-help {display:none}
@media(max-width:620px){
 body:has(#app :is(.kh-home,.access-board,.pdf-learning-home,.eb-account-state,#recoveredPassword)){
  padding-top:env(safe-area-inset-top,0px)!important;padding-bottom:env(safe-area-inset-bottom,0px)!important;
 }
 body:has(#app :is(.kh-home,.access-board,.pdf-learning-home,.eb-account-state,#recoveredPassword)) :is(nav.mobile-app-nav,nav.kc-mobile-nav){display:none!important}
 body:has(#app :is(.access-board,.pdf-learning-home,.eb-account-state,#recoveredPassword)) .kc-footer{display:none!important}
 body #app .set-one-footer,.workspace-picker footer {display:flex;align-items:center;justify-content:space-between;gap:8px;margin:20px auto 0;padding:12px 16px;border-top:1px solid #dbddce;font:600 13px/1.25 Inter,system-ui;max-width:100%;background:#fdf9f0}
 .set-one-footer a {color:#163425;text-decoration:none;padding:5px 0}
 .set-one-footer .set-one-mark {font-size:22px;font-weight:900;margin-right:auto}
 body #app :is(.kl-public-home,.kl-auth-page) .kc-header {display:flex!important;align-items:center;justify-content:space-between;position:static!important;min-height:48px!important;padding:5px 0!important;gap:8px;margin:0!important}
 body #app :is(.kl-public-home,.kl-auth-page) .kc-header :is(.kc-primary,.kc-menu){display:none!important}
 body #app .kl-auth-page .kc-header .kc-actions {display:none!important}
 .kl-auth-page .set-one-help {display:inline-flex;color:inherit;text-decoration:none;font-weight:700;padding:10px}
 body #app .kl-public-home .kc-actions {display:flex!important;margin-left:auto;align-items:center;gap:6px}
 body #app .kl-public-home .kc-actions :is(button, a[data-ui-auth]) {min-height:44px!important;padding:4px 12px!important;border-radius:22px!important}
 body #app .kh-home :is(h1,h2),body #app .access-illustration h2,.workspace-picker h1 {font-family:Inter,system-ui!important;font-weight:850!important;color:#10291e;letter-spacing:-.045em!important}
 body #app .kh-home .kh-intro {padding-inline:clamp(4px,3vw,16px)}
 body #app .kh-home .kh-intro h1 {font-size:clamp(28px,8vw,36px)!important;line-height:1.03!important;margin:6px 0 5px}
 body #app .kh-profile-heading {gap:4px;margin-bottom:3px}
 body #app .kh-home .kh-profile-heading h2 {font-size:clamp(1rem,4.65vw,1.25rem)}
 body #app .kh-profile-heading small {font:650 .75rem/1.2 Inter,system-ui;padding:.23em .5em;margin:0}
 body #app .kh-home .kh-profiles {gap:0;margin-top:0;border-block:1px solid #d8d9cb}
 body #app .kh-home .kh-profiles a {border:0;border-bottom:1px solid #dedfd4;border-radius:0;background:transparent;padding:3px 2px;gap:8px}
 body #app .kh-home .kh-profiles a:last-of-type {border-bottom:0}
 body #app .kh-home .kh-profiles img {width:18%;height:42px;object-fit:cover;border-radius:6px}
 body #app .kh-home .kh-profiles strong {font-size:clamp(.94rem,4vw,1.1rem)}
 body #app .kh-home .kh-profiles small {margin:0;font-size:.75rem}
 body #app .kh-home .kh-skyline {margin-top:4px}
 body #app .kh-home .kh-intro .kh-actions {gap:4px}
 body #app .kh-home .kh-intro>p {margin:5px 0;padding:5px 12px;font:600 15px/1.22 Inter,system-ui;text-align:center;text-wrap:balance}
 body #app .kh-win {padding:7px 12px}
 body #app .kh-win h2 {text-align:left;font-size:18px!important}
 body #app .kh-phrase {margin:3px 0;gap:12px}
 body #app .kh-phrase img {width:16%;height:auto}
 body #app .kh-phrase span {padding:5px 12px}
 body #app .kh-grid {display:grid;gap:0;border:1px solid #d2d5c7;border-radius:12px;overflow:hidden}
 body #app .kh-grid a {padding:4px 8px;border:0;border-radius:0;border-bottom:1px solid #dedfd4}
 body #app .kh-grid a:last-child {border:0}
 body #app .kh-samples {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
 body #app .kh-samples a {min-width:0;padding:6px 2px;font-size:13px}
 body #app .kh-profiles a {padding:4px 6px}
 body #app .kh-profiles a div {display:flex;align-items:center;justify-content:space-between;flex:1;gap:5px}
 body #app .kh-profiles span {margin:0;white-space:nowrap}
 body #app .kl-auth-page {padding:0 12px!important}
 body #app .access-board {gap:0!important;padding:8px 0!important;background:#fdf9f0}
 body #app .access-illustration {display:flex;flex-direction:column;align-items:center;width:100%}
 body #app .access-illustration picture {display:block;width:100%}
 body #app .access-illustration img {display:block;width:100%;height:auto!important;max-height:165px!important;object-fit:contain}
 body #app .access-illustration h2 {font-size:clamp(26px,8vw,36px)!important;text-align:left;align-self:flex-start;margin:4px 8px!important;line-height:1.04!important}
 body #app .access-illustration:is([data-scene="learner-register"],[data-scene="recovery-sent"]) picture {order:-1}
 body #app .access-board .kl-auth-card {padding:12px 14px!important;border-radius:13px!important;text-align:left}
 body #app .access-board .kl-auth-card>:is(.eyebrow,.kl-auth-steps,h1),body #app .kl-auth-card:not([data-eb-access])>h1+p,body #app .access-board .kl-auth-story,body #app .access-board .role-intro {display:none!important}
 body #app .access-board .kl-auth-card :is(input,button.primary) {min-height:40px!important}
 body #app .access-board .kl-auth-card label {margin-block:6px}
 body #app .access-board .kl-auth-card form {gap:6px}
 body #app .access-board .kl-auth-card .access-role {margin:0 auto 6px}
 .workspace-picker section {padding:12px}
 .workspace-picker section h1 {font-size:28px;line-height:1.04;max-width:65%;margin:12px 0 3px}
 .workspace-picker .guide-card {grid-template-columns:28% 1fr;gap:4px 12px;padding:8px 10px;margin:5px 0}
 .workspace-picker .guide-card img {height:56px}
 .workspace-picker .workspace-actions {grid-column:1/-1;align-items:center}
 .workspace-picker .workspace-actions a {border-radius:22px;min-height:36px;padding:4px 8px}
 .workspace-picker .workspace-actions a+a {border:none;text-decoration:underline}
 .workspace-picker section>p:last-child {background:#efe4f6;border-radius:10px;padding:8px 12px}
 body #app .pdf-welcome {display:flex;flex-direction:column;align-items:stretch}
 body #app .pdf-welcome .board-welcome {content:url('/assets/set-one/returning-crisp-1600.webp');width:100%;height:auto;max-height:145px;object-fit:contain}
 body #app .pdf-welcome .eyebrow {display:none}
 body #app .board-shortcuts {display:grid;grid-template-columns:1fr}
 body #app .board-shortcuts button {background:#fffdf5;text-align:left}
 body #app .pdf-home-bottom,body #app .pdf-learning-home>details {display:none}
 body #app .eb-account-state {display:flex;flex-direction:column;align-items:stretch}
 body #app .eb-account-state img {width:100%;height:145px;object-fit:contain}
 body #app .eb-account-state img[src*="session-ended"] {content:url('/assets/set-one/expired.webp')}
 body #app .eb-account-state img[src*="account-access"] {content:url('/assets/set-one/denied.webp')}
 #workspaceChoices::before,#klarLogoutDialog::before,body #app .kl-auth-card:has(#recoveredPassword) h1::after {content:"";display:block;height:125px;background:center/contain no-repeat}
 #workspaceChoices::before {background-image:url('/assets/set-one/switch.webp')}
 #klarLogoutDialog::before {background-image:url('/assets/set-one/logout.webp')}
 #klarLogoutDialog:has(#logoutSave)::before {background-image:url('/assets/set-one/unsaved.webp')}
 body #app .kl-auth-card:has(#recoveredPassword) h1::after {background-image:url('/assets/set-one/password.webp')}
 body #klarLogoutDialog {position:fixed;inset:auto 0 0;margin:0 auto;width:100%;max-width:100%;box-sizing:border-box;border-radius:22px 22px 0 0;padding-bottom:max(18px,env(safe-area-inset-bottom))}
 body #klarLogoutDialog .eb-actions {display:grid;grid-template-columns:1fr}
 body .account-menu[open] .account-dropdown {position:fixed;inset:auto 0 0;width:100%;max-height:80dvh;overflow:auto;z-index:100;border-radius:20px 20px 0 0;background:#fffaf1}
}
.set-one-role-picker {display:none!important}
@media(max-width:620px){
 body #app .kl-auth-page .set-one-role-picker {display:grid!important;gap:4px;font-size:14px}
 body #app .kl-auth-card:has(.set-one-role-picker)>.access-role {display:none}
 body #app .kl-auth-card :is(.profile-field,label,input,select,.kl-password-field) {line-height:1.25!important}
 body #app .kl-auth-card .controls, body #app .kl-auth-card form {margin-block:5px!important}
 body #app .kl-auth-card .note {margin:7px 0!important;line-height:1.35!important}
 body #app .kl-auth-card .kl-auth-switch {padding:8px 0!important;margin:6px 0!important}
 body #app .kl-auth-card .kl-code-option summary {text-align:center;border:1px solid #315f43;border-radius:30px;padding:7px}
 body #app .kh-home .kh-goals {margin-top:8px}
 body #app .access-board .kl-auth-card form label {padding:0!important;margin:4px 0!important}
 body #app .access-board .kl-auth-card input {margin:3px 0!important;padding:7px 10px!important;height:40px!important}
 body #app .kl-auth-card:has(#passwordLoginForm)>p.note {display:none}
}

/* Account boards use a shared title and form, stacked on portrait tablets. */
body #app .access-board>:is(.kl-auth-story,.kl-recovery-lumi,.role-intro,.kl-scene,.role-auth-links){display:none!important}
body #app .access-board>.kl-auth-card :is(h1,.eyebrow,.kl-auth-steps,.p4-recovery-steps){display:none}
body #app .access-board .access-illustration h2{line-height:1.04}
body #app .set-one-footer {display:flex;align-items:center;justify-content:center;gap:16px;margin:18px auto 0;padding:12px;border-top:1px solid #dbddce;color:#163425}
body #app .set-one-footer a {color:inherit}
body:has(#app .access-board) .kc-footer{display:none!important}
body #app .kl-auth-page .set-one-help{display:inline-flex;color:inherit;font-weight:650;text-decoration:none}
body #app .kl-auth-page .kc-header :is(.kc-menu,.kc-actions,.kc-primary){display:none!important}
body #app .kl-auth-page .kc-header {display:flex;justify-content:space-between;align-items:center}
@media(min-width:621px) and (max-width:1024px){
 body #app .kl-auth-stage.access-board,body #app .role-stage-grid.access-board{grid-template-columns:minmax(0,1fr)!important;max-width:640px;gap:10px;margin-inline:auto}
 body #app .access-illustration{display:flex;flex-direction:column;align-items:stretch}
 body #app .access-illustration picture img{height:clamp(135px,24vw,210px);width:100%;object-fit:contain}
 body #app .access-illustration[data-role-scene] picture img{display:block;height:auto;max-height:none}
 body #app .access-illustration[data-scene="learner-register"] picture{order:-1}
 body #app .access-illustration h2{font-size:clamp(28px,4.8vw,42px);margin-bottom:6px}
}
@media(min-width:621px){
 #workspaceChoices::before,#klarLogoutDialog::before,body #app .kl-auth-card:has(#recoveredPassword) h1::after{content:"";display:block;height:130px;background:center/contain no-repeat}
 #workspaceChoices::before{background-image:url('/assets/set-one/switch.webp')}
 #klarLogoutDialog::before{background-image:url('/assets/set-one/logout.webp')}
 #klarLogoutDialog:has(#logoutSave)::before{background-image:url('/assets/set-one/unsaved.webp')}
 body #app .kl-auth-card:has(#recoveredPassword) h1::after{background-image:url('/assets/set-one/password.webp')}
}
body #app:has(.set-one-footer) :is(.onboarding-footer,.p4-recovery-confirm){display:none}
body #app:has(.set-one-footer) .access-board .kl-auth-card :is(.eyebrow,.kl-auth-steps){display:none!important}
@media(min-width:621px){
 body #app .kl-auth-card:has(#recoveredPassword){width:min(100%,640px);margin:32px auto;box-sizing:border-box}
 #workspaceChoices .eb-actions,#klarLogoutDialog .eb-actions{display:grid;grid-template-columns:1fr}
}
@media(min-width:621px){
 .workspace-picker section>p:last-of-type {justify-self:center;background:#eee4f5;border-radius:20px;padding:8px 16px}
}
@media(min-width:621px) and (max-width:1024px){
 .workspace-picker section{display:block}
 .workspace-picker .guide-card{display:grid;grid-template-columns:100px 1fr auto;text-align:left}
 .workspace-picker .workspace-actions{grid-column:3;flex-direction:column}
}

.kh-home a:focus-visible, .kh-home button:focus-visible, .kl-public-home .kc-footer a:focus-visible {
  outline: 3px solid #295d43;
  outline-offset: 2px;
}
.kh-audio-status:not(:empty) {
  margin: 4px 0 8px;
  color: #26432e;
  font-size: .875rem;
}
.kh-phrase button[hidden] { display: none !important; }
.kh-phrase button[aria-pressed="true"] { background: #215d37; color: #fff; }
.kh-dialog {
  box-sizing: border-box;
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.kh-dialog > [data-kh-close] { display: block; margin-inline-start: auto; }
.kh-dialog .kh-station button {
  display: block;
  width: 100%;
  margin-block: 8px;
  padding: 10px;
  border: 1px solid #aab7a1;
  border-radius: 10px;
  background: #fffdf6;
  color: #183b2a;
  font: inherit;
}
.kh-dialog .kh-station h2 { margin-block: 8px; }
@media (max-width: 760px) {
  body.kl-public-mode .layout > #app:has(> .kl-public-home .kh-home) {
    padding: 0;
  }
  #app > .kl-public-home:has(.kh-home) {
    padding-inline: max(14px, env(safe-area-inset-left)) max(14px, env(safe-area-inset-right));
  }
  body #app .kh-home .kh-intro > p {
    border-radius: 12px;
    line-height: 1.35;
  }
  body #app .kl-public-home :is(.kh-actions a,.kh-win>a,.kh-dialog button,.kh-more>summary,.kc-footer-top nav a) {
    min-height: 44px;
  }
  .kl-public-home .kh-more>summary { align-content: center; }
  body #app .kl-public-home .kc-footer { margin: 16px 0 0; padding: 14px 0 max(16px,env(safe-area-inset-bottom)); }
  body #app .kl-public-home .kc-footer-top { display: grid; gap: 6px; }
  body #app .kl-public-home .kc-footer-top > div { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
  body #app .kl-public-home .kc-footer-top p { margin:0; }
  body #app .kl-public-home .kc-footer-top nav { display:flex; justify-content:flex-start; gap:0 14px; }
}

@media (min-width: 621px) and (max-width: 950px) {
  .kl-public-home .kh-grid a {
    flex-direction: column;
    flex-wrap: nowrap;
    text-align: center;
  }
  .kl-public-home .kh-grid img { width: min(82%, 112px); height: 78px; object-fit: contain; }
  .kl-public-home .kh-grid strong { max-width: 9ch; margin-inline: auto; }
  .kl-public-home .kh-grid small { display: none; }
  .kl-public-home .kh-grid i { margin: auto 0 0; }
}

@media (max-width: 760px) {
  .gl-challenge-page[data-gl-page] { padding: 12px max(16px, env(safe-area-inset-right)) 12px max(16px, env(safe-area-inset-left)); }
  .gl-challenge-page[data-gl-page] .gl-play-hero { display: contents; }
  .gl-challenge-page[data-gl-page] .gl-play-copy { margin: 6px 0 14px; }
  .gl-challenge-page[data-gl-page] .gl-preview-wrap { margin: 0; }
  .gl-challenge-page[data-gl-page] .gl-lumi-note { display:none; }
  .gl-challenge-page[data-gl-page] .gl-preview { margin: 0; padding: 16px; }
  .gl-challenge-page[data-gl-page] .gl-preview h2 { margin-block: 8px; font-size: 1.5rem; }
  .gl-challenge-page[data-gl-page] .gl-day-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
  .gl-challenge-page[data-gl-page] .gl-journey { padding: 0; }
  .gl-challenge-page[data-gl-page] .gl-section-heading { gap: 4px; margin: 0 0 12px; }
  .gl-challenge-page[data-gl-page] .gl-section-heading p { margin: 0; }
  .gl-challenge-page .gl-day-chooser { display:grid; grid-template-columns:repeat(auto-fit,minmax(42px,1fr)); gap:4px; margin:8px 0 12px; }
  .gl-challenge-page .gl-day-chooser button { min-width:0; min-height:44px; padding:4px; border:1px solid #9cae97; border-radius:10px; background:#fffdf7; color:#193e2c; font:600 1rem/1 system-ui; }
  .gl-challenge-page .gl-day-chooser [aria-pressed="true"] { background:#235f3c; border-color:#235f3c; color:#fff; }
  .gl-challenge-page[data-gl-page] .gl-day-card[data-selected="false"] { display:none!important; }
  .gl-challenge-page[data-gl-page] .gl-day-card[data-selected="true"] { display:grid; grid-template-columns:1fr auto; align-content:start; align-items:center; gap:5px 12px; padding:14px; min-height:0; }
  .gl-challenge-page[data-gl-page] .gl-day-card .gl-day-art { grid-column:2; grid-row:1/4; margin:0; width:52px; height:52px; }
  .gl-challenge-page[data-gl-page] .gl-day-art svg { width:100%; height:100%; }
  .gl-challenge-page[data-gl-page] .gl-day-card h3 { margin:0; font-size:1.25rem; }
  .gl-challenge-page[data-gl-page] .gl-day-card p,.gl-challenge-page[data-gl-page] .gl-day-action { grid-column:1; margin:0; }
  .gl-challenge-page[data-gl-page] .gl-day-caption { display:none; }
  .gl-challenge-page[data-gl-page] .gl-course-links { margin:12px 0; padding:0; border:0; }
  .gl-challenge-page[data-gl-page] .gl-course-links>summary { min-height:44px; align-content:center; font-weight:650; }
  .gl-challenge-page[data-gl-page] .gl-bottom { margin-top: 12px; padding: 14px; }
  .gl-challenge-page[data-lp-active] :is(.gl-bottom .gl-primary,.gl-preview-next) { display:none!important; }
  .gl-challenge-page[data-lp-active] .gl-choices { gap:6px; }
  .gl-challenge-page[data-lp-active] .gl-choices button { min-height:44px; padding-block:7px; }
  .gl-challenge-page[data-lp-active] #glFeedback { margin-top:8px; }
  .gl-challenge-page[data-lp-active] #glFeedback h3,.gl-challenge-page[data-lp-active] #glFeedback p { margin-block:4px; }
  .gl-challenge-page[data-gl-page] .gl-bottom img { width: 48px; height: auto; }
  .gl-challenge-page[data-gl-page] .gl-details { padding: 12px 0; }
}

@media (min-width: 761px) {
  .gl-challenge-page .gl-day-chooser,.gl-challenge-page .gl-course-links>summary { display:none; }
  .gl-challenge-page .gl-course-links { padding:0; margin:0; border:0; }
}

.kh-profile-heading {display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.5rem}
.kh-profile-heading h2 {margin-bottom:0}
.kh-home .kh-profiles a span::after {
  content:"";
  width:.72em;
  height:.72em;
  display:inline-block;
  vertical-align:-.04em;
  margin-inline-start:.3em;
  background:currentColor;
  clip-path:polygon(0 43%,70% 43%,41% 14%,52% 3%,99% 50%,52% 97%,41% 85%,70% 57%,0 57%);
}
@media(max-width:620px) {
  .kh-home .kh-profile-heading h2::after { display:none; }
  .kh-home .kh-profiles a span::after { width:.6em; height:.6em; }
}
.kh-profile-heading small {background:#f1e8ff;border-radius:1em;padding:.25em .65em;white-space:nowrap}
.kh-profiles a small {display:block}
.kh-profile-dialog form {text-align:right}
.kh-profile-dialog p {margin:.8rem 0}
.kh-profile-dialog a {display:inline-flex;text-decoration:underline}
@media(max-width:620px){body #app .kh-profiles a div {display:grid;grid-template-columns:1fr auto} .kh-profiles a small {grid-row:2} .kh-profiles a span {grid-column:2;grid-row:1/3}}

.kc-home-help { display:inline-flex; align-items:center; min-height:44px; font-weight:650; }
@media (max-width:620px) { .kc-home-help { display:none; } }

.workspace-picker .workspace-intro {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(8px, 2vw, 32px);
}
.workspace-picker .workspace-intro h1 {
  max-width: 13ch;
  margin: 0;
  line-height: 1.04;
  font-size: clamp(1.5rem, 4vw, 3.75rem);
}
.workspace-picker .workspace-intro p { margin: .6em 0; }
.workspace-picker .workspace-intro img {
  display: block;
  width: 100%;
  max-height: clamp(120px, 20vw, 240px);
  object-fit: contain;
  object-position: right bottom;
}
.workspace-picker .workspace-actions a.button {
  border-radius: 2rem;
  min-width: min(8rem, 100%);
}
.workspace-picker .workspace-actions a + a {
  border-color: transparent;
  background: transparent;
  text-decoration: underline;
}

#app .recovery-layout {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:clamp(16px,4vw,52px);max-width:970px;margin:2rem auto;padding:0 1rem}
.recovery-intro h1 {margin:0;font-size:clamp(2rem,5vw,3.4rem);line-height:1.05}
.recovery-intro p {margin:.5rem 0}
.recovery-intro img {display:block;width:100%;max-height:320px;object-fit:contain}
.recovery-card {padding:clamp(14px,3vw,30px);border:1px solid #c8cbbe;border-radius:16px;background:#fffdf8}
.recovery-field {margin-bottom:1rem}
.recovery-field label {display:block;font-weight:700;margin-bottom:.35rem}
.recovery-input {display:flex;align-items:center;border:1px solid #a4ab9d;border-radius:12px;background:white}
.recovery-input:focus-within {outline:2px solid #215a3e}
#app .recovery-input input {flex:1;min-width:0;width:0;background:transparent;border:0}
.recovery-input button {min-height:44px;border:0;background:transparent;color:#185735;font-weight:700}
.recovery-tip {padding:.75rem;border-radius:10px;background:#efe5f5}
.recovery-card .primary,.recovery-card .secondary {width:100%;min-height:44px}
.recovery-card [role=status]:empty {margin:.65rem 0}
@media(max-width:900px){#app .recovery-layout{grid-template-columns:1fr;max-width:560px;gap:8px;margin:1rem auto}.recovery-intro img{max-height:160px}}

/* Set 1 account entry keeps the form controls and illustrated heading together. */
body #app .kl-auth-page:has(.access-board) { max-width:1280px; margin-inline:auto; }
body #app .kl-auth-page .kl-auth-stage:has(.role-stage-grid) { display:block; padding:0; min-height:0; }
body #app .kl-auth-stage.access-board,body #app .role-stage-grid.access-board {
  width:100%; max-width:1100px; box-sizing:border-box;
  grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);
}
body #app .access-board .kl-auth-card form { margin:12px 0; }
body #app .access-board .kl-auth-card :is(input,select,.primary,.auth-back) { min-height:44px; }
body #app .access-board .kl-auth-card :is(.primary,.auth-back),body #app .recovery-card :is(.primary,.secondary) {
  width:100%; border-radius:999px; font-weight:750;
}
body #app .access-board .kl-auth-card label { display:grid; gap:4px; }
body #app .access-board .kl-auth-card .kl-code-option summary,body #app .access-board .kl-auth-card .auth-back {
  display:grid; align-items:center; text-align:center;
  border:1px solid #346849; color:#143c28; border-radius:999px; background:#fffdf8; min-height:44px;
}
body #app .access-board .kl-code-option summary::-webkit-details-marker { display:none; }
body #app .access-board .kl-auth-card .kl-auth-switch { margin:12px 0 0; text-align:center; line-height:1.35; }
body #app .access-board .kl-auth-card .kl-auth-switch button.text-button { color:#155138; text-decoration:underline; }
body #app .access-board [data-eb-access="recovery"] .kl-auth-switch { margin-top:0; padding-top:0; border:0; }
body #app .access-board .auth-code-actions { display:grid; gap:4px; }
body #app .access-board .auth-code-actions button { min-height:40px; text-align:center; color:#155138; text-decoration:underline; }
body #app .access-board :is([data-eb-access="verification-error"],[data-eb-access="recovery-sent"]) .auth-code-actions button {
  border-radius:999px; border:1px solid #346849; text-decoration:none; margin-block:2px;
}
body #app .access-board .auth-receipt { margin:0 0 18px; font-size:1rem; color:#163525; }
body #app .access-board [aria-invalid="true"] { border:1.5px solid #992a2a; }
body #app .access-board .feedback.bad { background:#f0e6f7; color:#45224e; }
body #app .access-board #accountActionStatus:empty { display:none; }
body #app .access-board .kl-auth-card .set-one-role-picker { display:grid!important; gap:6px; margin:8px 0; }
body #app .access-board .set-one-role-picker select { width:100%; padding:6px 10px; }
body #app .access-board .auth-verification-tip { background:#f6f1c8; color:#253d29; border-radius:12px; padding:9px 14px; text-align:center; }
body #app .access-board .access-illustration h2,body #app .recovery-intro h1 { font-family:Nunito,Inter,system-ui,sans-serif; font-weight:850; }
body #app .access-board .access-illustration p { font-size:1.05rem; color:#25452f; margin:8px 0 12px; }
body #app .access-board:has([data-scene="learner-register"]) .kl-auth-card { border:0; background:transparent; }
body #app .access-board .kl-auth-card[data-auth-mode="signup"] :is(ul,ol) {
  display:grid; gap:8px; margin:12px 0; padding:10px 8px 10px 28px; text-align:left; border-top:1px solid #d5d8c8;
}
@media(min-width:1025px) {
  body #app .access-board:has([data-scene="learner-register"]) { grid-template-rows:auto auto; row-gap:4px; align-content:center; }
  body #app .access-illustration[data-scene="learner-register"] { display:contents; }
  body #app .access-illustration[data-scene="learner-register"] picture { grid-column:1; grid-row:1 / 3; }
  body #app .access-illustration[data-scene="learner-register"] h2 { grid-column:2; grid-row:1; margin:0; }
  body #app .access-board:has([data-scene="learner-register"]) .kl-auth-card { grid-column:2; grid-row:2; padding:0; }
}
@media(min-width:621px) {
  body #app .kl-auth-page:has([data-scene="learner-register"]) .kc-header .kc-primary { display:flex!important; }
}
@media(min-width:621px) and (max-width:900px) {
  body #app .kl-auth-page:has([data-scene="learner-register"]) .kc-header .kc-primary a:nth-child(n+3) { display:none; }
}
@media(max-width:1024px) {
  body #app .kl-auth-stage.access-board,body #app .role-stage-grid.access-board { grid-template-columns:minmax(0,1fr)!important; max-width:620px; min-height:0; }
  body #app .access-illustration[data-scene="recovery-sent"] picture { order:-1; }
  body #app .access-illustration[data-scene="recovery"] :is(h2,p),body #app .access-illustration[data-scene$="-login"] h2 { text-align:center; align-self:center; }
}
@media(max-width:620px) {
  body #app .access-board .kl-auth-card :is(input,button.primary) { min-height:44px!important; }
  body #app .kl-auth-page:has([data-scene="learner-register"]) .access-illustration h2 { margin:8px 0 6px!important; }
}

body #app:has(.kl-auth-page,.recovery-layout) .set-one-footer { max-width:1100px; justify-content:flex-end; margin-inline:auto; }
body #app:has(.kl-auth-page,.recovery-layout) .set-one-footer .set-one-mark { margin-right:auto; font-weight:850; font-size:1.5rem; }
body #app .kl-auth-page:has([data-scene="learner-register"]) .set-one-help { border:1px solid #526b55; border-radius:999px; padding:5px 15px; }
body #app .access-illustration h2 { font-size:clamp(2.65rem,4.3vw,3.9rem); }
@media(max-width:1024px) {
  body #app .access-illustration h2 { font-size:clamp(2rem,5vw,2.8rem)!important; }
}

body:has(#recoveredPassword) .layout { display:block!important; }
body:has(#recoveredPassword) .layout > aside, body:has(#recoveredPassword) :is(.mobile-app-nav,.kc-mobile-nav) { display:none!important; }
body:has(#recoveredPassword) .layout > #app { width:100%; max-width:1280px; margin:auto; padding:0 clamp(12px,3vw,38px); }

body #app .access-board .access-role { display:flex; width:max-content; align-items:center; gap:.45em; font-weight:750; }
.access-role::before, .auth-registration-steps li::before { content:""; display:inline-block; width:1.25em; height:1.25em; background-position:center; background-repeat:no-repeat; background-size:contain; flex:none; }
.access-role::before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23253529' stroke-width='1.8'%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3Cpath d='M3.5 21v-2a8.5 7 0 0 1 17 0v2z'/%3E%3C/svg%3E"); }
.access-role[data-role="institute"]::before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23253529' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M2 8l10-6 10 6H2zm1 13h18M5 18h14M6 10v8m4-8v8m4-8v8m4-8v8'/%3E%3C/svg%3E"); }
body #app .kl-auth-card .auth-registration-steps { list-style:none; counter-reset:step; padding:12px 0; }
body #app .kl-auth-card .auth-registration-steps li { display:flex; align-items:center; gap:.7rem; font-size:1rem; line-height:1.3; }
.auth-registration-steps li::before { width:2rem; height:2rem; background-color:#edf2cf; border-radius:50%; background-size:1.2rem; }
ul.auth-registration-steps li:first-child::before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23344934' stroke-width='1.8'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m3 6 9 7 9-7'/%3E%3C/svg%3E"); }
ul.auth-registration-steps li:nth-child(2)::before { background-color:#eee3f8; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23344934' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='m2 8 10-5 10 5-10 5zM6 11v6q6 4 12 0v-6m3-3v8'/%3E%3C/svg%3E"); }
ul.auth-registration-steps li:last-child::before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23344934' stroke-width='1.8'%3E%3Crect x='5' y='2' width='14' height='20' rx='2'/%3E%3Cpath d='M8 7h8M8 11h8M8 15h5'/%3E%3C/svg%3E"); }
.auth-registration-next { display:block; margin-top:.75rem; font-size:1rem; color:#205536; }
body #app .kl-auth-card .auth-registration-next + ol { border-top:0; padding:0; }
ol.auth-registration-steps li::before { counter-increment:step; content:counter(step); display:grid; place-items:center; font-weight:700; }

body #app .access-board .kl-auth-card,
body #app .access-board .kl-auth-card :is(input,select,label,.auth-code-actions button,.kl-code-option summary,.primary,.auth-back) { color:#183b2b; font-size:1rem!important; }
body #app .access-board .kl-auth-card .primary { color:white; font-size:1.0625rem!important; }
body #app .access-board .kl-auth-card .kl-auth-switch,body #app .access-board .kl-auth-card .kl-auth-switch button,
body #app .access-board .kl-auth-card .text-button,body #app .access-board .kl-auth-card>a { font-size:.9375rem!important; }
body #app .access-board .kl-auth-card label { font-weight:700; }
body #app .access-board .auth-password-row { display:grid; gap:4px; }
body #app .access-board .auth-password-row input { min-width:0; }
body #app .access-board .kl-auth-card input { border-color:#a3afa4; }
@media(min-width:1025px){
  body #app .access-board .access-illustration img { max-height:clamp(385px,36vw,510px); width:100%; }
  body #app .access-board .access-illustration h2 { font-family:Nunito,Inter,system-ui,sans-serif!important; font-size:clamp(2.7rem,4.1vw,4.45rem)!important; font-weight:850!important; line-height:1.03; }
}

body #app .access-board .feedback.bad { display:grid; grid-template-columns:auto minmax(0,1fr); gap:4px 10px; text-align:left; }
body #app .access-board .feedback.bad::before { content:"!"; grid-row:span 2; display:grid; place-items:center; align-self:start; width:1.5em; height:1.5em; border:2px solid #a52a30; border-radius:50%; font-weight:800; color:#a52a30; }
body #app .access-board .feedback.bad span { grid-column:2; }
body #app .access-board .kl-auth-card form button.primary,body #app .recovery-card form button.primary {
  background:#17663b!important; color:#fff!important;
}
body #app .kl-auth-card[data-eb-access="recovery-sent"] .kl-auth-switch .auth-back {
  display:block; width:100%; background:transparent; border:0; border-radius:0; color:#155138; text-decoration:underline; text-align:center;
}
body:has(#recoveredPassword) .kc-footer { display:none!important; }
body #app .kl-recover-finish .kc-header { display:flex!important; justify-content:space-between!important; }
body #app .kl-recover-finish .kc-header>.kc-brand { display:inline-flex!important; }

/* Account entry boards 4–9 share a labelled password field and distinct role illustrations. */
body #app .access-board :is(#passwordLoginForm, #simpleEmailForm) :focus-visible,
body #app .access-board .set-one-role-picker select:focus-visible,
body #app .access-board .kl-code-option summary:focus-visible,
body #app .access-board .kl-auth-switch button:focus-visible,
body #app .access-board .kl-auth-card > a:focus-visible {
  outline: 3px solid #205e38;
  outline-offset: 2px;
}

body #app .access-board #passwordLogin {
  box-sizing: border-box;
  width: 100%;
  padding-inline-end: 4.5rem !important;
}

body #app .access-board .kl-password-field {
  display: flex;
  align-items: center;
}

body #app .access-board .kl-password-toggle {
  inset-block: 50% auto;
  inset-inline: auto .25rem;
  transform: translateY(-50%);
  min-height: 44px;
  min-width: 3.75rem;
  padding: 0 .5rem;
  color: #185337;
  font-size: .9375rem;
}

body #app .access-board #passwordLoginForm > [data-ui-auth="recovery"] {
  justify-self: start;
  text-align: start;
  color: #185337;
  text-decoration: underline;
}

body #app .access-board .access-illustration[data-role-scene] h2 {
  text-wrap: balance;
}

@media (min-width: 1025px) {
  body #app .access-illustration[data-scene="learner-register"] picture {
    border-inline-end: 1px solid #cbd0c4;
    padding-inline-end: clamp(1rem, 2vw, 2rem);
  }
}

@media (max-width: 1024px) {
  body #app .access-board .access-illustration:is([data-scene^="tutor-"], [data-scene^="institute-"]) h2 {
    align-self: flex-start;
    text-align: start;
  }
}

/* The prerendered registration header shows the same links as the hydrated header. */
.role-registration-header .role-registration-nav { display: flex; align-items: center; gap: clamp(.75rem, 3vw, 2.5rem); }
.role-registration-header .role-registration-help { border: 1px solid #526b55; border-radius: 99px; padding: .35rem 1rem; }
@media (max-width: 900px) {
  .role-registration-header .role-registration-nav a:nth-child(n + 3) { display: none; }
}
@media (max-width: 620px) {
  .role-registration-header .role-registration-nav { display: none; }
}

.kh-home .kh-split > section:only-child { grid-column: 1 / -1; }

/* The first visit moves from one café conversation to lessons and learning paths. */
body #app .kh-home:has(.klar-first-lesson){max-width:1160px;margin-inline:auto;display:flex;flex-direction:column;gap:clamp(24px,4vw,56px);padding-block:clamp(18px,4vw,52px) 16px}
.klar-first-lesson{display:grid;grid-template-columns:1fr 1.15fr;align-items:center;gap:clamp(24px,5vw,72px)}
body #app .klar-first-copy h1{font-size:clamp(2.6rem,5.25vw,5rem);line-height:.99;letter-spacing:-.065em;margin:0;color:#163f32}
.klar-first-copy h1 em{font:italic 1em/1 Georgia,serif;color:#315f44;letter-spacing:-.055em}
body #app .klar-first-copy p{font-size:clamp(1rem,1.5vw,1.22rem);line-height:1.5;max-width:36ch;margin:1.15em 0;color:#43594c}
body #app .klar-start{display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:0 1.5em;background:#103f30;color:white;border-radius:99px;font-weight:750}
body #app .klar-cafe-scene{margin:0;overflow:hidden;border-radius:22px;background:#183f32;color:#fff}
body #app .klar-cafe-scene>img{display:block;width:100%;height:auto;mix-blend-mode:normal}
.klar-cafe-scene figcaption{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;gap:12px}
.klar-cafe-scene figcaption span{font:600 clamp(1.25rem,2.4vw,2rem)/1.12 Georgia,serif}
.klar-cafe-scene figcaption small{display:block;font-size:.95rem;color:#dfebda;margin-top:4px}
.klar-cafe-scene button{border:0;border-radius:50%;width:46px;height:46px;background:#def1a3;color:#173d2d;font-size:1.1rem;cursor:pointer}
.klar-cafe-scene .kh-audio-status:empty{display:none}
.klar-cafe-scene .kh-audio-status:not(:empty){padding:0 20px 12px;color:white}
body #app .klar-teaching{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;border-top:1px solid #cfd4c5;padding:12px 0}
.klar-teaching b{margin-right:auto}.klar-teaching a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:4px}
body #app .kl-public-home:has(.klar-first-lesson) :is(.kc-footer-notes,header a[href*="marketplace"]){display:none}
body #app .kh-home:has(.klar-first-lesson) :is(.kh-split,.kh-goals){margin-block:0}
@media(max-width:700px){
 .klar-first-lesson{grid-template-columns:1fr;gap:18px}
 body #app .klar-first-copy h1{font-size:clamp(2.5rem,10vw,3.7rem)}
 body #app .klar-first-copy p{margin:.7em 0 1em;max-width:40ch}
 body #app .klar-start{width:100%}
 body #app .klar-cafe-scene>img{height:clamp(130px,39vw,215px);object-fit:cover;object-position:50% 55%}
 .klar-cafe-scene figcaption{padding:10px 16px}
}

@media(min-width:760px){body #app .klar-first-lesson~.kh-goals .kh-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.kh-levels,.kh-explore nav{display:flex;flex-wrap:wrap;gap:.5rem}
.kh-home .kh-levels a,.kh-home .kh-explore a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 .9rem;border:1px solid #b2c4b4;border-radius:12px;background:#fff;color:#163f32;text-decoration:none;font-weight:650}
.kh-home .kh-levels a:hover,.kh-home .kh-explore a:hover{background:#e7f0e7;border-color:#315f44}
.kh-home .kh-placement{display:inline-block;padding:.75rem 0;color:#315f44;text-decoration:underline}
.kh-explore{padding-block:1rem}
body[data-klar-ui="medical"]{background:#fafaf5;color:#163f32}
body[data-klar-ui="medical"] :is(.med-hero,.medical-hero){background:#eef3e9;color:#163f32;border-radius:20px}
body[data-klar-ui="medical"] :is(.med-hero,.medical-hero) h1{color:#163f32;letter-spacing:-.045em}
body[data-klar-ui="medical"] :is(.med-card,.med-panel,.medical-pack){border:1px solid #d5dfd4;border-radius:16px;background:#fff}

/* Guest course pages share the homepage frame, including before scripts load. */
body[data-course-shell]:not(.course-member) :is(.layout>aside,.mobile-app-nav,.kc-mobile-nav){display:none!important}
body[data-course-shell]:not(.course-member) .layout:has(>#app){display:block!important;max-width:1160px;margin-inline:auto}
body[data-course-shell]:not(.course-member) .layout>#app{width:100%;max-width:none;margin:0}
body[data-course-shell]:not(.course-member){background:#fdf9f0;color:#163f32;font-family:system-ui,sans-serif;padding-bottom:0}
body[data-course-shell] .kc-guest-header{position:relative;display:flex;align-items:center;gap:clamp(8px,1.5vw,24px);flex-wrap:wrap;box-sizing:border-box;background:#fdf9f0;color:#163f32;max-width:1160px;margin:0 auto 1rem;padding:.8rem clamp(12px,2vw,24px);border:0;border-bottom:1px solid #d6dfd4;border-radius:0;box-shadow:none}
body[data-course-shell] .kc-guest-header .kc-actions{display:flex;gap:6px;margin-left:auto}
body[data-course-shell] .kc-guest-header .kc-account{display:inline-flex;align-items:center;border-radius:22px;min-height:44px}
body[data-course-shell] .kc-guest-header .kc-account.primary{background:#163f32;color:white}
body[data-course-shell] .kc-guest-header .kc-primary a[href="/marketplace/"]{display:none}
body[data-course-shell] .course-context{display:flex;flex-wrap:wrap;gap:1rem;margin:0 auto 1rem;max-width:1160px}
body[data-course-shell] .course-context a{display:inline-flex;align-items:center;min-height:44px;color:#315f44}
body[data-class-level] main>.class-grid{gap:1rem}
body[data-class-level] main>.class-grid>.card{margin:0;border:1px solid #d5dfd4;background:white;border-radius:16px}
@media(max-width:900px){body[data-course-shell] .kc-guest-header .kc-primary{display:none}}
@media(max-width:600px){body[data-course-shell] .kc-guest-header .kc-home-help{display:none}body[data-course-shell] .kc-guest-header{flex-wrap:nowrap;min-height:64px}}

/* Keep level choices and course summaries readable in the narrow guest layout. */
@media(max-width:700px){
 body #app .kl-public-home .kh-levels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
 body #app .kl-public-home .kh-goals .kh-grid{display:grid;grid-template-columns:1fr;gap:.65rem}
 body #app .kl-public-home .kh-goals .kh-grid>a{display:grid;grid-template-columns:60px minmax(0,1fr) auto;align-items:center;gap:.85rem;text-align:left;padding:.75rem;min-height:76px}
 body #app .kl-public-home .kh-goals .kh-grid img{width:60px;height:54px}
 body #app .kl-public-home .kh-goals .kh-grid strong{max-width:none;margin:0}
 body #app .kl-public-home .kh-goals .kh-grid small{display:block;line-height:1.35;margin-top:.2rem}
}
@media(min-width:901px){body[data-course-shell] header.kc-guest-header nav.kc-primary{display:flex!important;align-items:center;gap:clamp(8px,1.5vw,20px);margin-inline:0 auto}}

/* The question receives programmatic focus as the learner advances. */
.kh-dialog [data-kh-content] { margin-block-start: .75rem; }
.kh-dialog #rd-sample:not([hidden]) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .875rem;
}
.kh-dialog #rd-sample > * { margin-block: 0; }
.kh-dialog #rd-sample .rd-sample-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem .75rem; }
.kh-dialog #landingPreviewTitle { line-height: 1.22; }
.kh-dialog #landingPreviewTitle:focus:not(:focus-visible) { outline: none; }
.kh-dialog #landingListen { justify-self: start; padding-inline: .875rem; }
.kh-dialog #rd-sample button:focus-visible { outline: 3px solid #69469a; outline-offset: 2px; }
.kh-dialog #rd-sample #audioStatus:empty { display: none; }
