/* Compact home shortcuts below appearance and language controls. */
html body main>.hero>.korys-primary-nav{grid-column:1 / -1!important;grid-row:2!important;display:flex!important;flex-wrap:wrap;align-items:center;justify-content:center;gap:5px;margin:2px 0 7px;padding:0;min-width:0;max-width:100%;direction:inherit;position:relative}
html body main>.hero .title{grid-row:3!important}
html body main>.hero .age-badge{grid-row:3!important}
.korys-primary-nav>button{box-sizing:border-box;flex:0 1 auto;display:inline-flex;align-items:center;justify-content:center;width:auto!important;min-width:0!important;max-width:100%;min-height:34px!important;padding:7px 10px!important;border:1px solid #701c3240!important;border-radius:8px!important;background:transparent!important;color:inherit!important;font-family:inherit!important;font-size:14px!important;line-height:1.2!important;font-weight:600;cursor:pointer;overflow-wrap:normal;text-align:center;white-space:normal;margin:0!important}
.korys-primary-nav>button:hover,.korys-primary-nav>button[aria-pressed=true]{background:#701c32!important;border-color:#701c32!important;color:white!important}
.korys-primary-nav>.korys-menu-toggle{font-size:19px!important;padding:4px 10px!important;flex-shrink:0}
.korys-menu-dialog{box-sizing:border-box;position:fixed;inset:16px 16px auto auto;margin:0;width:min(320px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important;min-width:0;max-height:calc(100dvh - 32px);padding:16px;border:1px solid #701c3233;border-radius:16px;background:#faf8f6;color:#292326;box-shadow:0 12px 40px #0003;overflow:auto}
.korys-menu-dialog::backdrop{background:#0006}
.korys-menu-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px}
.korys-menu-dialog h2{margin:0;font-size:20px;line-height:1.3}
.korys-menu-dialog .korys-menu-close{width:40px!important;min-height:40px!important;padding:0;border:0;background:transparent;color:inherit;font-size:28px;cursor:pointer;flex-shrink:0}
.korys-menu-dialog>[data-content-view],.korys-menu-dialog>[data-korys-settings],.korys-menu-dialog>.feedback-menu-button,.korys-menu-dialog>a{box-sizing:border-box;display:flex;align-items:center;justify-content:flex-start;width:100%!important;min-width:0;min-height:44px;margin:5px 0 0!important;padding:10px 12px!important;border:1px solid #8883;border-radius:8px;background:transparent;color:inherit;text-decoration:none;text-align:start;font-family:inherit;font-size:16px;line-height:1.3;white-space:normal;overflow-wrap:break-word;cursor:pointer}
.korys-menu-dialog>[aria-pressed=true]{background:#701c32;color:white;border-color:#701c32}
html[data-theme=dark] .korys-menu-dialog{background:#202a34;color:#f6f6f6;border-color:#ffffff33}
html[data-theme=color] .korys-menu-dialog{background:#e4ebdf}
html[data-theme=mono] .korys-menu-dialog{background:#eee;color:#111}
html[data-theme=dark] .korys-primary-nav>button{border-color:#ffffff55!important}
html[dir=rtl] .korys-menu-dialog{inset:16px auto auto 16px}
@media(max-width:360px){.korys-primary-nav>button{padding:7px 8px!important}}
#korys-content-panel{padding:20px 0;scroll-margin-top:15px}#korys-content-panel[hidden]{display:none}#korys-content-panel h2{font-size:26px;line-height:1.25}#korys-content-panel h3{font-size:19px;margin:24px 0 12px}.content-entry{display:block;width:100%;text-align:start;border:1px solid #8886;border-radius:14px;margin:10px 0;padding:15px;background:transparent;color:inherit;font:inherit}.content-entry button{font:inherit;color:inherit;background:transparent;border:0;cursor:pointer;text-align:start}.content-entry time{display:block;font-size:14px;opacity:.75;margin-top:5px}.content-entry audio,.content-entry video{width:100%;margin-top:12px}.archive-reader{color:inherit;background:var(--surface,#fff);border:1px solid #888;border-radius:18px;width:min(600px,calc(100% - 28px));max-height:85vh;overflow:auto;padding:22px}.archive-reader::backdrop{background:#0008}.archive-reader button{font:inherit;display:block;width:100%;margin:10px 0;padding:12px;border:1px solid #888;border-radius:10px;background:transparent;color:inherit;cursor:pointer}.archive-reader audio{width:100%}.archive-reader h2{font-size:24px}.archive-reader p{font-size:16px;line-height:1.5}.archive-reader .choice-connector{text-align:center;display:block}#mini-training,#coaches,#contact{scroll-margin-top:20px}button:focus-visible,summary:focus-visible{outline:3px solid #a57524;outline-offset:3px}
html[data-theme=dark] .archive-reader{background:#202a34;color:#f6f6f6}

/* Efficient header: logo, colour, menu, language; exactly two shortcut rows. */
html body main>.hero{grid-template-columns:54px minmax(0,1fr) 28px!important;padding:7px 10px 10px!important;gap:4px 6px!important}
html body main>.hero .identity{grid-column:1!important;grid-row:1!important;width:54px!important;height:64px!important;transform:translateX(-3px)!important;align-self:start!important}
html body main>.hero .identity .logo{width:54px!important;height:64px!important;object-fit:contain}
html body main>.hero .language-nav{grid-column:2 / -1!important;grid-row:1!important;display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:6px!important;min-width:0;direction:ltr;margin:0!important}
html body main>.hero .language-nav .appearance-control{flex:0 0 46px!important;margin:0!important}
html body main>.hero .language-nav .appearance-toggle,html body main>.hero .language-nav .korys-menu-toggle{box-sizing:border-box!important;width:46px!important;height:46px!important;min-height:46px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border:1px solid #8884;border-radius:12px;background:#eef0f3;color:inherit;font-family:inherit;font-size:23px!important;line-height:1;cursor:pointer;flex:0 0 46px!important;margin:0!important}
html body main>.hero .language-nav select,html body main>.hero .language-nav .language-select{box-sizing:border-box!important;flex:0 1 140px!important;width:140px!important;min-width:0!important;max-width:140px!important;height:46px!important;min-height:46px!important;font-size:14px!important;padding:8px 23px 8px 9px!important;border-radius:12px!important}
html body main>.hero>.korys-primary-nav{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-column:1 / -1!important;grid-row:2!important;gap:4px 6px!important;margin:0 0 4px!important;width:100%!important}
html body main>.hero>.korys-primary-nav>button,html body main>.hero>.korys-primary-nav>a{box-sizing:border-box!important;display:flex!important;justify-content:center!important;align-items:center!important;width:100%!important;min-width:0!important;min-height:32px!important;margin:0!important;padding:6px 9px!important;border:1px solid #701c3240!important;border-radius:8px!important;background:transparent!important;color:inherit!important;text-decoration:none;font-family:inherit;font-size:14px!important;line-height:1.2!important;font-weight:600;cursor:pointer;text-align:center;white-space:normal!important}
html body main>.hero>.korys-primary-nav>[aria-pressed=true]{background:#701c32!important;color:#fff!important;border-color:#701c32!important}
html body main>.hero .title{grid-row:3!important;padding:0 27px!important}
html body main>.hero .title h1,html body main>.hero h1{font-size:clamp(27px,7.3vw,32px)!important;line-height:1.08!important;margin:0!important}
html body main>.hero>p{grid-row:4!important;margin:2px 0 0!important;font-size:14px!important;line-height:1.3!important}
html[data-theme=dark] body main>.hero .language-nav .korys-menu-toggle{background:#263342;color:#fff;border-color:#ffffff33}
html[data-theme=mono] body main>.hero .language-nav .korys-menu-toggle{background:#e6e6e6;color:#111}
html[data-theme=color] body main>.hero .language-nav .korys-menu-toggle{background:#eef2e9;color:#1c2820}
html[data-theme=dark] body main>.hero>.korys-primary-nav>button,html[data-theme=dark] body main>.hero>.korys-primary-nav>a{border-color:#ffffff55!important}
@media(min-width:601px){html body main>.hero{grid-template-columns:68px minmax(0,1fr) 34px!important;padding:10px 16px 12px!important}html body main>.hero .identity,html body main>.hero .identity .logo{width:68px!important;height:78px!important}html body main>.hero .title h1,html body main>.hero h1{font-size:40px!important}html body main>.hero>.korys-primary-nav{max-width:440px;margin-left:auto!important;margin-right:auto!important;justify-self:center}html body main>.hero>p{font-size:16px!important}}
@media(max-width:360px){html body main>.hero{grid-template-columns:45px minmax(0,1fr) 25px!important;padding-left:8px!important;padding-right:8px!important;column-gap:4px!important}html body main>.hero .identity,html body main>.hero .identity .logo{width:45px!important;height:54px!important}html body main>.hero .language-nav{gap:4px!important}html body main>.hero .language-nav .appearance-control,html body main>.hero .language-nav .appearance-toggle,html body main>.hero .language-nav .korys-menu-toggle{flex-basis:42px!important;width:42px!important;height:42px!important;min-height:42px!important}html body main>.hero .language-nav select{height:42px!important;min-height:42px!important;flex-basis:140px!important;max-width:140px!important}html body main>.hero .title h1,html body main>.hero h1{font-size:27px!important}}

/* Equal controls and a compact title keep the artwork close to the navigation. */
html body main>.hero{row-gap:3px!important;margin-bottom:8px!important;padding-top:6px!important;padding-bottom:8px!important}
html body main>.hero .identity,html body main>.hero .identity .logo{height:46px!important}
html body main>.hero .language-nav{align-self:start!important;align-items:stretch!important;gap:5px!important}
html body main>.hero .language-nav .appearance-control,html body main>.hero .language-nav .korys-menu-toggle,html body main>.hero .language-nav select,html body main>.hero .language-nav .language-select{flex:1 1 0!important;width:0!important;min-width:0!important;max-width:none!important;height:46px!important;min-height:46px!important;margin:0!important}
html body main>.hero .language-nav .appearance-toggle{width:100%!important;max-width:none!important;height:46px!important;min-height:46px!important}
html body main>.hero .language-nav select{padding:6px 20px 6px 6px!important;text-overflow:ellipsis!important;font-size:14px!important}
html body main>.hero>.korys-primary-nav{margin:0!important}
html body main>.hero .title{padding:2px 0 0!important}
html body main>.hero .title h1,html body main>.hero h1{font-size:clamp(20px,5.6vw,25px)!important;line-height:1.15!important;text-wrap:wrap!important}
html body main>.hero h1 span{display:inline!important;padding:0!important}
html body main>.hero h1 span+span::before{content:' '}
html body main>.hero>p{margin:0!important}
@media(min-width:601px){html body main>.hero .language-nav{width:330px!important;justify-self:end!important}html body main>.hero .title h1,html body main>.hero h1{font-size:32px!important}}

/* Three identical home controls; grid avoids native-select intrinsic sizing. */
html body main>.hero .language-nav{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;width:100%!important}
html body main>.hero .language-nav label{display:none!important}
html body main>.hero .language-nav .appearance-control,html body main>.hero .language-nav .appearance-toggle,html body main>.hero .language-nav .korys-menu-toggle,html body main>.hero .language-nav select{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:none!important;height:46px!important;min-height:46px!important;margin:0!important;border-radius:12px!important}
@media(min-width:601px){html body main>.hero .language-nav{width:330px!important}}

/* Equal button footprint, including the nested appearance flex item. */
html body main>.hero .language-nav .appearance-control{display:block!important}
html body main>.hero .language-nav .appearance-toggle{flex:none!important;width:100%!important}
html body main>.hero{grid-template-columns:72px minmax(0,1fr) 28px!important}
html body main>.hero .identity,html body main>.hero .identity .logo{width:72px!important;height:60px!important}
html body main>.hero>p{font-size:14px!important;line-height:1.35!important}

/* Coach shortcut starts at the whole photo, above the coach cards. */
.campus-frame{scroll-margin-top:16px}
html body main>.hero .title h1,html body main>.hero h1{font-size:clamp(24px,6.2vw,32px)!important;line-height:1.15!important}
html body .learning-heading #learning-title{font-size:clamp(25px,6.6vw,34px)!important;line-height:1.15!important}
html body .learning-heading .mini-training-label{font-size:15px;font-weight:700;line-height:1.2;letter-spacing:.025em;color:var(--theme-accent,#701c32);margin:0 0 7px}
@media(min-width:601px){html body main>.hero .title h1,html body main>.hero h1{font-size:38px!important}}

/* A concise Dutch subtitle on one line at phone widths. */


/* Explain the app above the controls, keeping the slogan prominent. */
html body main>.hero>.brand-context{grid-column:1 / -1!important;grid-row:1!important;font-size:clamp(11px,3.05vw,14px);line-height:1.25;text-align:center;padding:0 0 4px;color:inherit}
html body main>.hero .identity,html body main>.hero .language-nav{grid-row:2!important}
html body main>.hero>.korys-primary-nav{grid-row:3!important}
html body main>.hero .title,html body main>.hero .age-badge{grid-row:4!important}
html body main>.hero>p{grid-row:5!important}

/* Readable outcome line with space above the equal-sized controls. */
html body main>.hero>.brand-context{font-size:clamp(14px,3.8vw,17px)!important;font-weight:500;line-height:1.35!important;padding:3px 0 8px!important;text-wrap:balance}
html body main>.hero>.brand-context strong{font-weight:750}

/* Outcome panel matches the combined width of the three controls. */
html body main>.hero>.brand-context{grid-column:2 / -1!important;width:100%;box-sizing:border-box;justify-self:end;padding:9px 10px!important;margin:0 0 4px;border:1px solid color-mix(in srgb,currentColor 22%,transparent);border-radius:12px;background:color-mix(in srgb,currentColor 4%,transparent);font-size:14px!important;line-height:1.3!important}
html body main>.hero>.brand-context strong{display:block;margin-bottom:3px;font-size:15px}
html body main>.hero>.brand-context span:first-of-type{display:none}
html body main>.hero>.brand-context span:last-of-type{display:block}
@media(min-width:601px){html body main>.hero>.brand-context{width:330px!important}}

/* A readable section label above the exercise question. */
html body .learning-heading .mini-training-label{font-size:clamp(18px,4.8vw,22px)!important;font-weight:700!important;line-height:1.25!important;margin-bottom:8px!important}

/* A separate plain brand line preserves the compact home grid. */
html body main>.brand-context{box-sizing:border-box;width:100%;max-width:100%;margin:0 0 5px;padding:3px 10px;text-align:center;font-size:clamp(13px,3.5vw,16px);line-height:1.3;color:inherit;text-wrap:balance;border:0;background:none}
html body main>.brand-context strong{font-weight:750}
html body main>.hero .identity,html body main>.hero .language-nav{grid-row:1!important}
html body main>.hero>.korys-primary-nav{grid-row:2!important}
html body main>.hero .title,html body main>.hero .age-badge{grid-row:3!important}
html body main>.hero>p{grid-row:4!important}

/* Clearly visible inline name and outcome, without a panel. */
html body main>.brand-context{color:#701c32;font-size:clamp(14px,3.6vw,20px)!important;font-weight:650;white-space:nowrap;padding:5px 0;margin:0 0 6px;letter-spacing:-.015em}
html[data-theme=dark] body main>.brand-context{color:#e3b3c0}
@media(max-width:360px){html body main>.brand-context{font-size:13px!important}}

/* Full-width, lightly filled header with name and outcome side by side. */
html body main>.brand-context{border:1px solid #701c3226;border-radius:12px;background:#f5eee4;padding:9px 10px;box-sizing:border-box;font-size:clamp(13px,3.5vw,19px)!important;white-space:normal;text-wrap:balance}
html body main>.brand-context strong,html body main>.brand-context span{display:inline}
html[data-theme=dark] body main>.brand-context{background:#2c3036;border-color:#e3b3c044;color:#e3b3c0}
html[data-theme=color] body main>.brand-context{background:#e9eee3}
html[data-theme=mono] body main>.brand-context{background:#eee}

/* Light fills make the four shortcuts feel clickable in every theme. */
html body main>.hero>.korys-primary-nav>button,html body main>.hero>.korys-primary-nav>.korys-coaches-shortcut{background:#f5eee4!important;border-color:#701c3230!important;color:#701c32!important}
html body main>.hero>.korys-primary-nav>button:hover,html body main>.hero>.korys-primary-nav>.korys-coaches-shortcut:hover,html body main>.hero>.korys-primary-nav>button[aria-pressed=true]{background:#701c32!important;border-color:#701c32!important;color:#fff!important}
html[data-theme=dark] body main>.hero>.korys-primary-nav>button,html[data-theme=dark] body main>.hero>.korys-primary-nav>.korys-coaches-shortcut{background:#30343a!important;color:#f4e5eb!important;border-color:#e3b3c044!important}
html[data-theme=color] body main>.hero>.korys-primary-nav>button,html[data-theme=color] body main>.hero>.korys-primary-nav>.korys-coaches-shortcut{background:#e9eee3!important}
html[data-theme=mono] body main>.hero>.korys-primary-nav>button,html[data-theme=mono] body main>.hero>.korys-primary-nav>.korys-coaches-shortcut{background:#eaeaea!important;color:#202020!important;border-color:#9996!important}

/* Distinct, restrained surfaces with theme-specific active states. */
html{--brand-fill:#e9d9b9;--brand-border:#c9b183;--shortcut-today:#eee0bf;--shortcut-coaches:#dce7d8;--shortcut-mini:#dce6ef;--shortcut-podcast:#ead8cc;--shortcut-ink:#701c32;--shortcut-border:#701c322c;--shortcut-active:#701c32}
html[data-theme=light]{--brand-fill:#e9d9b9;--brand-border:#c9b183;--shortcut-today:#eee0bf;--shortcut-coaches:#dce7d8;--shortcut-mini:#dce6ef;--shortcut-podcast:#ead8cc;--shortcut-ink:#701c32;--shortcut-border:#701c322c;--shortcut-active:#701c32;--tile-0:#ead8cc}
html[data-theme=dark]{--brand-fill:#394555;--brand-border:#718399;--shortcut-today:#4b4230;--shortcut-coaches:#30483c;--shortcut-mini:#30465c;--shortcut-podcast:#503b32;--shortcut-ink:#f4e9e6;--shortcut-border:#ffffff30;--shortcut-active:#6c344a}
html[data-theme=color]{--brand-fill:#d8c69e;--brand-border:#b39a64;--shortcut-today:#e8d9ad;--shortcut-coaches:#c9ddc2;--shortcut-mini:#cfdee8;--shortcut-podcast:#e3ccbd;--shortcut-ink:#263626;--shortcut-border:#294a3440;--shortcut-active:#32593d}
html[data-theme=mono]{--brand-fill:#d0d0d0;--brand-border:#999;--shortcut-today:#d5d5d5;--shortcut-coaches:#e1e1e1;--shortcut-mini:#ebebeb;--shortcut-podcast:#c9c9c9;--shortcut-ink:#202020;--shortcut-border:#7777;--shortcut-active:#292929}
html:is([data-theme],:root) body main>.brand-context{background:var(--brand-fill)!important;border-color:var(--brand-border)!important}
html:is([data-theme],:root) body main>.hero>.korys-primary-nav>[data-content-view=today]{--shortcut-fill:var(--shortcut-today)}
html:is([data-theme],:root) body main>.hero>.korys-primary-nav>.korys-coaches-shortcut{--shortcut-fill:var(--shortcut-coaches)}
html:is([data-theme],:root) body main>.hero>.korys-primary-nav>[data-content-view=mini]{--shortcut-fill:var(--shortcut-mini)}
html:is([data-theme],:root) body main>.hero>.korys-primary-nav>[data-content-view=podcast]{--shortcut-fill:var(--shortcut-podcast)}
html:is([data-theme],:root) body main>.hero>.korys-primary-nav>button,html:is([data-theme],:root) body main>.hero>.korys-primary-nav>.korys-coaches-shortcut{background:var(--shortcut-fill)!important;color:var(--shortcut-ink)!important;border-color:var(--shortcut-border)!important}
html:is([data-theme],:root) body main>.hero>.korys-primary-nav>button:hover,html:is([data-theme],:root) body main>.hero>.korys-primary-nav>.korys-coaches-shortcut:hover{background:color-mix(in srgb,var(--shortcut-fill) 88%,var(--shortcut-ink))!important}
html:is([data-theme],:root) body main>.hero>.korys-primary-nav>button[aria-pressed=true]{background:var(--shortcut-active)!important;border-color:var(--shortcut-active)!important;color:#fff!important}
html:not([data-theme]) .topic-tile.tone-0{background:#ead8cc!important}

/* Message first, navigation second; keep the slogan separate from the logo. */
html body main>.hero .title{grid-row:2!important;grid-column:1 / -1!important;padding:8px 30px 0!important}
html body main>.hero .age-badge{grid-row:2!important;align-self:center!important}
html body main>.hero>p{grid-row:3!important;grid-column:1 / -1!important;margin:0!important}
html body main>.hero>.korys-primary-nav{grid-row:4!important;margin:7px 0 0!important}
html body[data-content-app=junior] main>.hero .title{padding-top:12px!important}

/* Slightly larger slogan and supporting sentence, in both apps. */
html body main>.hero .title h1,html body main>.hero h1{font-size:clamp(25px,6.5vw,34px)!important}
html body main>.hero>p{font-size:clamp(13px,3.7vw,16px)!important;line-height:1.4!important}
@media(min-width:601px){html body main>.hero .title h1,html body main>.hero h1{font-size:40px!important}}



/* Both homes: controls, shortcuts, slogan, supporting sentence. */
html body main>.hero>.korys-primary-nav{grid-row:2!important;margin:0!important}
html body main>.hero .title,html body main>.hero .age-badge{grid-row:3!important}
html body main>.hero .title{padding:5px 30px 0!important}
html body main>.hero>p{grid-row:4!important}
html body main>.hero .identity,html body[data-content-app=junior] main>.hero .identity{width:72px!important;transform:translateX(-8px)!important}
html body main>.hero .identity .logo,html body[data-content-app=junior] main>.hero .identity .logo{width:72px!important;height:60px!important;object-fit:contain!important}
html body[data-content-app=junior] main>.hero .identity{height:78px!important}
html body[data-content-app=junior] main>.hero .identity .junior{font-size:18px!important;margin-top:0!important}

html body main>.hero{grid-template-columns:64px minmax(0,1fr) 28px!important}

/* Match native selects and buttons, including their visible outer edge. */
html body main>.hero .language-nav{align-items:stretch!important}
html body main>.hero .language-nav .appearance-toggle,html body main>.hero .language-nav .korys-menu-toggle,html body main>.hero .language-nav select{box-sizing:border-box!important;height:46px!important;min-height:46px!important;max-height:46px!important;border-width:1px!important;border-style:solid!important;border-radius:12px!important;box-shadow:none!important;background:var(--theme-card,#eef2f5)!important}

/* Lift the Junior label and use the freed logo space for the controls. */
html body main>.hero{grid-template-columns:60px minmax(0,1fr) 28px!important}
html body main>.hero .identity,html body[data-content-app=junior] main>.hero .identity{transform:translateX(-12px)!important}
html body[data-content-app=junior] main>.hero .identity{height:74px!important}
html body[data-content-app=junior] main>.hero .identity .junior{font-size:17px!important;margin-top:-6px!important}

/* Slightly more prominent app name and outcome. */
html body main>.brand-context{font-size:clamp(14px,3.7vw,21px)!important;line-height:1.35!important}
@media(max-width:360px){html body main>.brand-context{font-size:14px!important}}

/* Use the available headline width; reserve only the Junior age badge. */
html body main>.hero .title{padding-left:0!important;padding-right:0!important}
html body[data-content-app=junior] main>.hero .title{padding-right:36px!important}

/* Locale-independent header sizing; long scripts may wrap at readable sizes. */
html body main>.hero>p{font-size:clamp(13px,3.7vw,16px)!important;line-height:1.4!important;white-space:normal!important;text-wrap:balance;max-width:100%;min-width:0}
html body main>.hero .title{min-width:0!important}
html body main>.brand-context{min-width:0;max-width:100%;overflow-wrap:anywhere}

/* Settings is a full menu row, never a browser-default button. */
html body #korys-menu-dialog>.feedback-menu-button,html body #korys-menu-dialog>[data-korys-settings]{appearance:none;box-sizing:border-box!important;display:flex!important;align-items:center;justify-content:flex-start;width:100%!important;min-width:0!important;min-height:44px!important;height:auto!important;margin:5px 0 0!important;padding:10px 12px!important;border:1px solid #8883!important;border-radius:8px!important;background:transparent!important;color:inherit!important;text-align:start!important;font-family:inherit!important;font-size:16px!important;font-weight:400!important;line-height:1.3!important;white-space:normal!important;overflow-wrap:break-word;cursor:pointer}

/* Short, equal-height home actions; use a full row for longer local labels. */
html body main>.hero>.korys-primary-nav{align-items:stretch!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
html body main>.hero>.korys-primary-nav>:is(button,a){white-space:nowrap!important;min-height:50px!important;height:100%!important;font-size:var(--shortcut-font-size,16px)!important;padding:12px 10px!important;gap:7px!important}
html body main>.hero>.korys-primary-nav svg{flex-shrink:0;width:19px!important;height:19px!important}
html body #korys-content-panel>.next-training{display:block;width:100%;min-height:48px;margin:22px 0;padding:14px 18px;border:1px solid var(--theme-border,#819bb5);border-radius:14px;background:var(--theme-action,#701c32);color:var(--primary-ink,#fff);font:700 16px/1.3 Arial,sans-serif;cursor:pointer}
@media(max-width:350px){html body main>.hero>.korys-primary-nav{grid-template-columns:1fr!important}}

/* Hidden must win over the theme button display rule. */
.next-training[hidden]{display:none!important}

/* Make choosing an answer visibly actionable in every mini-training and locale. */
html[data-theme] body #lesson.lesson-dialog .lesson-choices button{position:relative;min-height:68px!important;padding:18px 18px 18px 54px!important;border:2px solid var(--theme-action,#284d70)!important;border-radius:14px!important;background:var(--theme-bg,#dbe7f2)!important;color:var(--theme-text,#20374f)!important;font:600 17px/1.5 system-ui,sans-serif!important;text-align:start;box-shadow:0 3px 0 color-mix(in srgb,var(--theme-action,#284d70) 22%,transparent)!important}
html[data-theme] body #lesson.lesson-dialog .lesson-choices button::before{content:'';position:absolute;left:18px;top:21px;width:20px;height:20px;box-sizing:border-box;border:2px solid currentColor;border-radius:50%;display:grid;place-items:center;font-size:14px;line-height:1}
html[data-theme] body #lesson.lesson-dialog .lesson-choices button[aria-pressed=true]{background:var(--theme-action,#284d70)!important;color:var(--primary-ink,#fff)!important;box-shadow:none!important}
html[data-theme] body #lesson.lesson-dialog .lesson-choices button[aria-pressed=true]::before{content:'✓'}
html[dir=rtl][data-theme] body #lesson.lesson-dialog .lesson-choices button{padding:18px 54px 18px 18px!important}
html[dir=rtl][data-theme] body #lesson.lesson-dialog .lesson-choices button::before{left:auto;right:18px}
@media(hover:hover){html[data-theme] body #lesson.lesson-dialog .lesson-choices button:not([aria-pressed=true]):hover{background:color-mix(in srgb,var(--theme-action,#284d70) 12%,var(--theme-bg,#dbe7f2))!important}}
html[data-theme] body #lesson.lesson-dialog .lesson-choices button:active{transform:translateY(2px)}

/* Open today at its title, below mobile browser chrome. */
#korys-content-panel>h2{scroll-margin-top:12px}

.podcast-episode .podcast-hosts{opacity:.8;margin:4px 0 14px}.podcast-listen{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:4px}.podcast-player-note{font-size:.9rem;opacity:.8;max-width:48ch}.podcast-call{margin-top:18px;display:flex;flex-wrap:wrap;gap:10px}.podcast-call>p,.podcast-call-transcript,.podcast-call form{flex-basis:100%}.podcast-call>p{margin:0 0 6px;line-height:1.5}.podcast-call button{min-height:48px;padding:12px 18px;border-radius:14px;font:inherit;cursor:pointer}.podcast-call .podcast-call-join{display:inline-flex;align-items:center;justify-content:center;gap:10px;width:100%;max-width:420px;background:#244e43;color:#fff;border:1px solid #7f9f90;font-weight:700;line-height:1.3}.podcast-call-join svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;flex-shrink:0}.podcast-call [hidden]{display:none!important}.podcast-call-transcript{max-height:260px;overflow-y:auto;line-height:1.5}.podcast-call-transcript p{margin:8px 0}.podcast-call form{display:flex;gap:8px;flex-wrap:wrap}.podcast-call input{flex:1;min-width:160px;padding:12px;border-radius:10px;border:1px solid #888;font:inherit;background:var(--card,#fff);color:inherit}.podcast-call-consent{max-width:430px;width:calc(100% - 40px);box-sizing:border-box;border-radius:18px;padding:22px;border:1px solid #8b9b91;line-height:1.5}.podcast-call-consent::backdrop{background:#0009}.podcast-call-consent button{display:block;width:100%;margin-top:10px}.podcast-call button:focus-visible,.podcast-listen:focus-visible{outline:3px solid #c79e53;outline-offset:4px}

/* Keep the final topic row above fixed home navigation and allow full opening scroll. */
html body #mini-training{padding-bottom:calc(100px + env(safe-area-inset-bottom));scroll-margin-top:12px}

/* Slightly lower the three introductory lines without moving the topic grid. */
html body #mini-training .learning-heading{transform:translateY(12px)}

/* Completed reflection: one contextual coach choice, compact next action. */
body:has(#korys-content-panel:not([hidden]) .vq-completed) main>.campus-frame,
body:has(#korys-content-panel:not([hidden]) .vq-completed) main>.coach-photo-caption,
body:has(#korys-content-panel:not([hidden]) .vq-completed) main>.cards,
#korys-content-panel:has(.vq-completed) .training-back{display:none!important}
html body #korys-content-panel:has(.vq-completed)>.next-training{margin:8px 0 16px}
#korys-content-panel:has(.vq-completed) .content-entry.video-test{margin-bottom:0;padding-bottom:0}

html body #korys-content-panel .video-mini-quiz.vq-completed{padding-bottom:16px!important;margin-bottom:0!important}
html body #korys-content-panel:has(.vq-completed) .content-entry.video-test{padding-bottom:0!important;margin-bottom:0!important}
html body #korys-content-panel .training-chrome{z-index:2147483646!important;isolation:isolate}
html body #korys-content-panel .training-chrome>button{pointer-events:auto!important;touch-action:manipulation}
html body #korys-content-panel .training-chrome>button>svg{pointer-events:none!important}

/* Shared pill shape for every menu destination, including injected Settings. */
html body #korys-menu-dialog>[data-content-view],html body #korys-menu-dialog>[data-korys-settings],html body #korys-menu-dialog>.feedback-menu-button,html body #korys-menu-dialog>a{border-radius:999px!important;min-height:48px!important;padding:12px 16px!important}

/* Home: compact equal cards, icons aligned, single-line labels. */
html[data-theme] body[data-content-app] main>.hero>.korys-primary-nav{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
html[data-theme] body[data-content-app] main>.hero>.korys-primary-nav>button{border-radius:14px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;min-height:64px!important;height:64px!important;padding:6px 3px!important;gap:4px!important;white-space:nowrap!important;text-align:center!important;font-size:clamp(10px,2.8vw,12px)!important;line-height:16px!important;overflow-wrap:normal!important;word-break:normal!important}
html[data-theme] body[data-content-app] main>.hero>.korys-primary-nav>button svg{display:block!important;width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;margin:0!important;flex-shrink:0}
html[data-theme] body[data-content-app] main>.hero>.korys-primary-nav>[data-content-view=daystart]{--shortcut-fill:var(--shortcut-today)}

/* All three home pictograms: equal baseline, unframed, compact cards. */
html[data-theme] body[data-content-app] main>.hero>.korys-primary-nav>button[data-content-view]{height:66px!important;min-height:66px!important;padding:5px 2px!important;gap:3px!important;font-size:clamp(10px,2.8vw,12px)!important;line-height:16px!important;white-space:nowrap!important}
html[data-theme] body[data-content-app] main>.hero>.korys-primary-nav>button[data-content-view]>svg{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;flex:0 0 30px!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;margin:0!important}

html body dialog#korys-menu-dialog.korys-menu-dialog > :is(button,a) {
  background: #eff4f9 !important;
  color: #18344c !important;
}
html body dialog#korys-menu-dialog.korys-menu-dialog header button.korys-menu-close {
  display:inline-grid !important; place-items:center !important; padding:0 !important; line-height:1 !important; text-decoration:none !important;
  background: #bfd8ef !important;
  color: white !important;
  outline: none !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 50% !important;
}
html body dialog#korys-menu-dialog header button.korys-menu-close:focus-visible {
  outline: 2px solid #294966 !important;
  outline-offset: 3px;
}

#korys-content-panel[data-view="moment"]:not([hidden]) {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1000;
  box-sizing: border-box;
  width: 100% !important;
  height: 100dvh;
  max-width: none !important;
  margin: 0 !important;
  padding: max(72px, env(safe-area-inset-top)) 24px max(88px, env(safe-area-inset-bottom)) !important;
  overflow-y: auto;
  align-content: safe center;
  text-align: center;
  color: #18354a !important;
  background: linear-gradient(#f5f8fbe0, #f5f8fbe0), var(--moment-photo) center / cover !important;
}
#korys-content-panel[data-view="moment"] .moment-helmet {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  left: max(18px, env(safe-area-inset-left));
  width: 36px;
  height: auto;
  opacity: .5;
}
#korys-content-panel[data-view="moment"] :is(h2,h3,p) { color: #18354a !important; }
#korys-content-panel[data-view="moment"] div { justify-content: center; }

html body #korys-content-panel[data-view="moment"]:not([hidden]) {background:linear-gradient(#0009,#000b),var(--moment-photo) center/cover!important;align-content:start;padding-top:max(18px,env(safe-area-inset-top))!important}
html body #korys-content-panel[data-view="moment"]>h2 {margin:0 44px;color:white!important;text-align:center}
html body #korys-content-panel[data-view="moment"]>h3 {margin:1em auto;color:#ffda77!important;text-align:center}
html body #korys-content-panel[data-view="moment"] .moment-intro .korys-playback-row {flex-direction:column!important}
html body #korys-content-panel[data-view="moment"] .moment-intro .korys-playback-bar {width:100%!important;color:white}
