/* Shared NL/EN app layout. Keep the approved portrait composition on wide screens. */
:root:not(#korys-layout-a#korys-layout-b#korys-layout-c) body[data-content-app=adult] main{box-sizing:border-box;width:100%;max-width:740px!important;margin-inline:auto!important}
:root:not(#korys-layout-a#korys-layout-b#korys-layout-c) main:has(#korys-content-panel[hidden]) #korys-360-feature{height:auto!important;min-height:0!important;aspect-ratio:1.75!important;background-position:center,center 32%!important;background-size:cover!important;padding:18px!important;border-radius:18px!important}
:root:not(#korys-layout-a#korys-layout-b#korys-layout-c) main:has(#korys-content-panel[hidden]) .korys-primary-nav{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
:root:not(#korys-layout-a#korys-layout-b#korys-layout-c) main:has(#korys-content-panel[hidden]) .korys-primary-nav>button[data-content-view=today]{height:auto!important;min-height:0!important;aspect-ratio:1.75!important;align-items:flex-start!important;justify-content:flex-end!important;padding:18px!important;font-size:clamp(24px,4vw,34px)!important;border-radius:18px!important;--tile-photo:url('home-today-b.webp')!important}
:root:not(#korys-layout-a#korys-layout-b#korys-layout-c) main:has(#korys-content-panel[hidden]) .korys-primary-nav>button[data-content-view=today]::before{background-image:linear-gradient(90deg,#102b42d9,transparent 88%),url('home-today-b.webp')!important;background-size:cover!important;background-position:center,center!important}
:root:not(#korys-layout-a#korys-layout-b#korys-layout-c) main:has(#korys-content-panel[hidden]) button[data-korys-trial=true]{height:auto!important;min-height:0!important;aspect-ratio:2.6!important;display:flex!important;flex-direction:column!important;justify-content:flex-end!important;align-items:center!important;text-align:center!important;padding:18px!important;border-radius:18px!important;background-position:center,right top!important;font-size:clamp(21px,3.7vw,30px)!important}
@media(min-width:700px){
 :root:not(#korys-layout-a#korys-layout-b#korys-layout-c) body[data-content-app=adult] main{max-width:640px!important;padding-inline:20px!important}
 :root:not(#korys-layout-a#korys-layout-b#korys-layout-c) .hero .title h1{font-size:26px!important;line-height:1.2!important;white-space:normal!important}
 :root:not(#korys-layout-a#korys-layout-b#korys-layout-c) .hero .language-nav{gap:8px!important}
}
/* A card header remains one full-width column despite older native styles. */
:root:not(#korys-layout-a#korys-layout-b#korys-layout-c) #korys-content-panel[data-view=insights]{box-sizing:border-box!important;width:100%!important;max-width:640px!important;padding:16px 12px calc(100px + env(safe-area-inset-bottom))!important;overflow:visible!important}
:root:not(#korys-layout-a#korys-layout-b#korys-layout-c) .thinking-deck{width:100%!important;max-width:600px!important;min-width:0!important}
:root:not(#korys-layout-a#korys-layout-b#korys-layout-c) .thinking-deck .insight-card{box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important}
:root:not(#korys-layout-a#korys-layout-b#korys-layout-c) .insight-card .thinking-card-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%!important;min-width:0!important;gap:12px!important}
:root:not(#korys-layout-a#korys-layout-b#korys-layout-c) .insight-card .thinking-card-head .challenge-art{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;aspect-ratio:2/1!important;object-fit:cover!important}
:root:not(#korys-layout-a#korys-layout-b#korys-layout-c) .insight-card :is(.thinking-card-head>div,.card-reading-face,.thinking-section){width:100%!important;min-width:0!important;box-sizing:border-box!important}
:root:not(#korys-layout-a#korys-layout-b#korys-layout-c) .insight-card :is(h2,h3,p){max-width:100%!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important}

:root:not(#korys-layout-a#korys-layout-b#korys-layout-c) body.app-intro-home main:has(#korys-content-panel[hidden]) :is(.home-activities,.campus-frame,.coach-photo-caption,.cards,.coach-tile){display:none!important}
:root:not(#korys-layout-a#korys-layout-b#korys-layout-c) main:has(#korys-content-panel[hidden]) .korys-primary-nav>button[data-content-view=today]{white-space:normal!important;line-height:1.12!important;flex-direction:column!important}
:root:not(#korys-layout-a#korys-layout-b#korys-layout-c) main:has(#korys-content-panel[hidden]) :is(#korys-360-feature,.korys-primary-nav>button){flex-shrink:0!important;max-height:none!important}
:root:not(#korys-layout-a#korys-layout-b#korys-layout-c) main:has(#korys-content-panel[hidden]) #korys-360-feature{height:auto!important;min-height:calc((min(100vw, 640px) - 40px) / 1.75)!important}
:root:not(#korys-layout-a#korys-layout-b#korys-layout-c) main:has(#korys-content-panel[hidden]) .korys-primary-nav>button[data-content-view=today]{min-height:calc((min(100vw, 640px) - 40px) / 1.75)!important}
