/* Read-only redesign on top of the site's existing hero and catalogue. */
:is(.public-site,html[data-client-surface="website"] body) .chronika-learning .h130.h139.h145 {
  --hero-paper:var(--ch-paper); --hero-ink:var(--ch-ink); --hero-muted:var(--ch-muted); --hero-accent:var(--ch-link);
  --hero-card:var(--ch-surface); --hero-line:var(--ch-line); --hero-subtle:var(--ch-subtle);
  --access-paper:var(--ch-bundle-glass); --access-ink:var(--ch-bundle-ink); --access-hover:var(--ch-bundle-glass-hover);
  --promo-blue:var(--ch-search-glass); --promo-blue-hover:var(--ch-search-glass-hover); --promo-blue-ink:var(--ch-blue-ink);
  position:relative; background:none!important; border:0; border-radius:0; box-shadow:none;
  overflow:visible; padding:clamp(12px,2.4vw,28px) 0 24px; gap:clamp(14px,2vw,24px);
  grid-template-columns:minmax(0,1fr); grid-template-areas:"intro" "purchase" "product" "study" "topic";
  min-height:0;

}
:is(.public-site,html[data-client-surface="website"] body) .h145 .h146-map-console {
  grid-area:study; display:grid; gap:12px; align-self:start; position:relative;
  z-index:2; width:100%; min-width:0; max-width:540px; justify-self:center;
}
:is(.public-site,html[data-client-surface="website"] body) .h145 .h146-map-console .h146-map-controls {justify-content:flex-start}
@media(min-width:1024px){
  :is(.public-site,html[data-client-surface="website"] body) .h145 :is(.h145-intro,.h145-purchase,.h146-map-console) {align-self:start; justify-self:stretch}
}
:is(.public-site,html[data-client-surface="website"] body) .h145 .h146-map-console {gap:0; margin-top:8px}
:is(.public-site,html[data-client-surface="website"] body) .h145 .h146-map-console [data-map-study] {
  padding:18px 20px; border:1px solid var(--hero-line); border-radius:18px;
  background:var(--hero-card); box-shadow:none; color:var(--hero-ink);
}
:is(.public-site,html[data-client-surface="website"] body) .h145 .h146-map-console [data-map-name] {margin:0 0 8px; font-size:22px; line-height:1.3}
:is(.public-site,html[data-client-surface="website"] body) .h145 .h146-map-console [data-map-description] {margin:0; font-size:20px; line-height:1.5; color:var(--hero-ink)}
/* The illumination spans the text and map. All gradient stops fade within the layer. */
:is(.public-site,html[data-client-surface="website"] body) .chronika-learning .h145::before {
  position:absolute; z-index:-1; inset:-22px 0 8%; content:""; pointer-events:none;
  background:
    radial-gradient(ellipse 43% 42% at 52% 65%,var(--ch-atlas-light),transparent 78%),
    radial-gradient(ellipse 50% 40% at 39% 31%,var(--ch-atlas-edge),transparent 74%);
}
:is(.public-site,html[data-client-surface="website"] body) .chronika-learning .h130.h139.h145 h1 {
  font-size:clamp(2rem,calc(1.4rem + 2.05vw),3.35rem); line-height:1.06;
  text-wrap:wrap; overflow-wrap:anywhere;
}
:is(.public-site,html[data-client-surface="website"] body) .h145 .h145-intro {grid-area:intro;max-width:540px;position:relative;z-index:1}
:is(.public-site,html[data-client-surface="website"] body) .h145 .h145-purchase {grid-area:purchase;max-width:540px;position:relative;z-index:1}
:is(.public-site,html[data-client-surface="website"] body) .h145 .h146-topic-entry {grid-area:topic;position:relative;z-index:1}
:is(.public-site,html[data-client-surface="website"] body) .h145 .h145-visual {
  grid-area:product; grid-template-rows:auto auto; justify-self:center; isolation:isolate;
  width:min(calc(100% + 24px),540px); height:auto; margin:0; gap:12px;
}
@media(prefers-reduced-motion:no-preference){
  :is(.public-site,html[data-client-surface="website"] body) .h145[data-map-motion="playing"]::before{
    animation:ch-preview-atlas-light 6s var(--ch-ease) both;
  }
}
@keyframes ch-preview-atlas-light{
  from{opacity:.74} to{opacity:1}
}
:is(.public-site,html[data-client-surface="website"] body) .h145 .h140-route-map {
  --h140-land:var(--ch-atlas-land); --h140-water:var(--hero-paper); --h140-halo:var(--hero-paper);
  --h140-coast:#7899c1; --h140-river:#7192b8; --h140-route:#2459bc;
  --h140-ink:#193754; --h140-label:#365672;
  overflow:visible; width:100%; height:auto; aspect-ratio:576/600;
}
html[data-theme="dark"] :is(.public-site,html[data-client-surface="website"] body) .h145 .h140-route-map {
  --h140-land:var(--ch-atlas-land); --h140-water:var(--hero-paper); --h140-halo:var(--hero-paper);
  --h140-coast:#6488af; --h140-river:#6c95bd; --h140-route:#84bfff;
  --h140-ink:#f0f6ff; --h140-label:#c2d6ed;
}
:is(.public-site,html[data-client-surface="website"] body) .h145 .h140-trade-base{opacity:.86}
:is(.public-site,html[data-client-surface="website"] body) .h145 .h140-ocean-depth{display:none}
:is(.public-site,html[data-client-surface="website"] body) .h145 .h140-trade-halo{stroke-width:5px}
:is(.public-site,html[data-client-surface="website"] body) .h145 .h140-map-rivers{stroke-width:1.2px;opacity:.72}
:is(.public-site,html[data-client-surface="website"] body) .h145 .h140-physical-land{stroke:none}
:is(.public-site,html[data-client-surface="website"] body) .h145 .h140-city text{font-size:29px;stroke-width:3.5px}
:is(.public-site,html[data-client-surface="website"] body) .h145 :is(.h140-water-names,.h140-portage-label) text{font-size:22px;stroke-width:3px}
:is(.public-site,html[data-client-surface="website"] body) .h145 .h146-map-caption>strong{font-size:clamp(1.125rem,1rem + .35vw,1.25rem)}
:is(.public-site,html[data-client-surface="website"] body) .h145 .h146-map-caption>span{font-size:clamp(.94rem,.9rem + .2vw,1rem)}

:is(.public-site,html[data-client-surface="website"] body) .h145 .h139-scope {display:none}
:is(.public-site,html[data-client-surface="website"] body) .chronika-learning .h130.h139.h145 .h139-description{
  color:color-mix(in srgb,var(--hero-ink) 88%,var(--hero-muted))!important;
}
:is(.public-site,html[data-client-surface="website"] body) .h145 .h139-description {max-width:39ch;font-size:var(--ch-type-body,1.25rem)}
:is(.public-site,html[data-client-surface="website"] body) .h145 .hero-offer-lane > .h130-primary {
  display:inline-flex; align-items:center; justify-content:center;
  width:100%; padding:12px clamp(12px,2vw,20px); gap:10px; min-height:68px; border:1px solid transparent!important;
  font-size:var(--ch-type-control,1.1875rem); font-weight:660; line-height:1.2; text-align:center;
  border-radius:var(--preview-radius-capsule,999px)!important;
}
:is(.public-site,html[data-client-surface="website"] body) .h145 .hero-offer-lane > .hero-access {
  --ch-glass-face:var(--access-paper); --ch-glass-hover:var(--access-hover); --ch-glass-ink:var(--access-ink);
  --ch-glass-density:76%; --ch-glass-reflection:var(--ch-bundle-reflection);
}
:is(.public-site,html[data-client-surface="website"] body) .h145 .hero-access strong {
  white-space:nowrap;
  font-size:var(--ch-type-control,1.1875rem); font-weight:740; font-variant-numeric:tabular-nums; color:inherit!important;
}
html :is(.public-site,[data-client-surface="website"] body) .chronika-learning .h130.h139.h145 .h130-actions > :is(a.h130-secondary,a.h146-one-topic) {
  display:inline-flex!important; align-items:center; justify-content:center; margin:0;
  min-height:60px!important; width:auto!important; min-width:0; padding:10px clamp(10px,1.4vw,16px); gap:6px; border:1px solid transparent!important;
  border-radius:var(--preview-radius-capsule,999px)!important; text-decoration:none!important;
  --ch-glass-face:var(--promo-blue); --ch-glass-hover:var(--promo-blue-hover); --ch-glass-ink:var(--promo-blue-ink);
  font-size:var(--ch-type-control,1.1875rem); font-weight:660!important; line-height:1.2; text-align:center;
}
/* The unverified, owned and restricted offer stays a full-size neutral action. */
html :is(.public-site,[data-client-surface="website"] body) .chronika-learning .h130.h139.h145 .h130-actions .hero-offer-lane > a.h130-secondary {
  --ch-glass-face:var(--ch-sample-glass); --ch-glass-hover:var(--ch-sample-glass-hover); --ch-glass-ink:var(--ch-sample-ink);
  --ch-glass-density:34%;
  display:inline-flex!important; align-items:center; justify-content:center; box-sizing:border-box;
  width:100%; min-width:0; min-height:60px; margin:0; padding:10px clamp(12px,2vw,20px); gap:8px;
  border:1px solid transparent!important; border-radius:var(--preview-radius-capsule,999px)!important;
  font-size:var(--ch-type-control,1.1875rem); font-weight:660; line-height:1.2; text-align:center; text-decoration:none!important;
}
html :is(.public-site,[data-client-surface="website"] body) .chronika-learning .h130.h139.h145 .h130-actions :is(a.h130-secondary,a.h146-one-topic,a.hero-access){
  --ch-glass-tint:var(--ch-glass-face);position:relative;
  background:var(--ch-glass-tint)!important; color:var(--ch-glass-ink)!important;
}
html :is(.public-site,[data-client-surface="website"] body) .chronika-learning .h130.h139.h145 .h130-actions :is(a.h130-secondary,a.h146-one-topic,a.hero-access):is(:hover,:focus-visible){--ch-glass-tint:var(--ch-glass-hover)}
@supports((backdrop-filter:blur(12px)) or (-webkit-backdrop-filter:blur(12px))){
  html :is(.public-site,[data-client-surface="website"] body) .chronika-learning .h130.h139.h145 .h130-actions :is(a.h130-secondary,a.h146-one-topic,a.hero-access){
    background-color:color-mix(in srgb,var(--ch-glass-tint) var(--ch-glass-density,76%),transparent)!important;
    background-image:
      radial-gradient(ellipse 81% 88% at 93% 150%,var(--ch-glass-reflection,var(--ch-glass-rim-blue)),transparent 76%),
      linear-gradient(174deg,rgb(255 255 255 / .09),transparent 38%,rgb(8 23 60 / .16))!important;
    -webkit-backdrop-filter:blur(12px) saturate(145%); backdrop-filter:blur(12px) saturate(145%);
    box-shadow:inset 0 1px 3px rgb(255 255 255 / .22),inset 0 -5px 9px rgb(12 23 51 / .13),0 9px 18px -11px rgb(13 27 56 / .47)!important;
  }
  html :is(.public-site,[data-client-surface="website"] body) .chronika-learning .h130.h139.h145 .h130-actions :is(a.h130-secondary,a.h146-one-topic,a.hero-access)::before{
    content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;pointer-events:none;
    background:conic-gradient(from -64deg at 52% 48%,var(--ch-glass-rim),rgb(237 247 255 / .32) 79deg,rgb(224 240 255 / .06) 163deg,var(--ch-glass-rim-blue) 233deg,rgb(224 240 255 / .13) 297deg,var(--ch-glass-rim));
    mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude;
    opacity:.85;
  }
  html :is(.public-site,[data-client-surface="website"] body) .chronika-learning .h130.h139.h145 .h130-actions :is(a.h130-secondary,a.h146-one-topic,a.hero-access)::after{
    content:"";position:absolute;inset:1px;border-radius:inherit;pointer-events:none;
    background:radial-gradient(ellipse 62% 99% at 19% -53%,var(--ch-glass-reflection,var(--ch-glass-rim)),transparent 80%);
    background-size:144% 100%;background-position:left center;
  }
}
@media(prefers-reduced-motion:no-preference){
  html:not([data-motion-static]) :is(.public-site,[data-client-surface="website"] body) .chronika-learning .h130.h139.h145 .h130-actions :is(a.h130-secondary,a.h146-one-topic,a.hero-access){transition:background-color var(--ch-focus-time) var(--ch-ease),transform var(--ch-feedback) var(--ch-ease)}
  html:not([data-motion-static]) :is(.public-site,[data-client-surface="website"] body) .chronika-learning .h130.h139.h145 .h130-actions :is(a.h130-secondary,a.h146-one-topic,a.hero-access)::before{transition:opacity var(--ch-feedback) var(--ch-ease)}
  html:not([data-motion-static]) :is(.public-site,[data-client-surface="website"] body) .chronika-learning .h130.h139.h145 .h130-actions :is(a.h130-secondary,a.h146-one-topic,a.hero-access)::after{transition:background-position var(--ch-optic-time) var(--ch-ease),opacity var(--ch-feedback) var(--ch-ease)}
  html:not([data-motion-static]) :is(.public-site,[data-client-surface="website"] body) .chronika-learning .h130.h139.h145 .h130-actions :is(a.h130-secondary,a.h146-one-topic,a.hero-access):is(:hover,:focus-visible)::before{opacity:1}
  html:not([data-motion-static]) :is(.public-site,[data-client-surface="website"] body) .chronika-learning .h130.h139.h145 .h130-actions :is(a.h130-secondary,a.h146-one-topic,a.hero-access):is(:hover,:focus-visible)::after{background-position:right center}
  html:not([data-motion-static]) :is(.public-site,[data-client-surface="website"] body) .chronika-learning .h130.h139.h145 .h130-actions :is(a.h130-secondary,a.h146-one-topic,a.hero-access):active{transform:translateY(1px) scale(.975)}
  html:not([data-motion-static]) :is(.public-site,[data-client-surface="website"] body) .chronika-learning .h130.h139.h145 .h130-actions :is(a.h130-secondary,a.h146-one-topic,a.hero-access):active::after{opacity:.57}
}
@media(prefers-reduced-transparency:reduce){
  html :is(.public-site,[data-client-surface="website"] body) .chronika-learning .h130.h139.h145 .h130-actions :is(a.h130-secondary,a.h146-one-topic,a.hero-access){
    background:var(--ch-glass-tint)!important;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none!important;
  }
  html :is(.public-site,[data-client-surface="website"] body) .chronika-learning .h130.h139.h145 .h130-actions :is(a.h130-secondary,a.h146-one-topic,a.hero-access)::before,
  html :is(.public-site,[data-client-surface="website"] body) .chronika-learning .h130.h139.h145 .h130-actions :is(a.h130-secondary,a.h146-one-topic,a.hero-access)::after{display:none}
}
html :is(.public-site,[data-client-surface="website"] body) .h145 .h130-actions {
  display:grid; grid-template-columns:repeat(2,minmax(0,max-content)); align-items:stretch; gap:10px;
}
html :is(.public-site,[data-client-surface="website"] body) .h145 .h130-actions > .hero-offer-lane {
  grid-column:1/-1; margin-top:0; padding:0; border:0;
}
html :is(.public-site,[data-client-surface="website"] body) .h145 .h130-actions > .hero-diagnostic-link {
  grid-column:1/-1; display:inline-flex; align-items:center; justify-self:start;
  gap:8px; min-height:48px; color:var(--ch-link); font-size:var(--ch-type-caption,1.125rem);
  font-weight:650; line-height:1.4; text-decoration:underline; text-underline-offset:.18em;
}
html :is(.public-site,[data-client-surface="website"] body) .h145 .hero-diagnostic-link svg {
  width:18px; height:18px; flex:none;
}
html :is(.public-site,[data-client-surface="website"] body) .chronika-learning .h130.h139.h145 .h130-actions > a.h130-secondary {
  --promo-blue:var(--ch-sample-glass); --promo-blue-hover:var(--ch-sample-glass-hover); --promo-blue-ink:var(--ch-sample-ink);
  --ch-glass-density:34%;
}
:is(.public-site,html[data-client-surface="website"] body) .h145 .h130-actions :is([data-hero-topic-prices],[data-hero-offer-terms]) {
  display:none;
}
:is(.public-site,html[data-client-surface="website"] body) .h145 .h146-topic-entry{
  --theme-text:var(--hero-ink); --theme-muted:var(--hero-muted); --theme-surface:var(--hero-card);
  --theme-soft:var(--hero-subtle); --theme-line:var(--hero-line); --theme-link:var(--hero-accent);
  border:0; padding-block-start:0;
}
:is(.public-site,html[data-client-surface="website"] body) .chronika-learning .h145 .h146-topic-entry .ht144>summary{
  border:1px solid var(--hero-line); border-radius:var(--preview-radius-menu,20px);
  background:var(--hero-card)!important; box-shadow:none;
}
:is(.public-site,html[data-client-surface="website"] body) .h145 .ht145-summary-copy strong {color:var(--hero-ink)!important}
:is(.public-site,html[data-client-surface="website"] body) .h145 .ht145-summary-copy>span {color:var(--hero-muted)!important}
@media(max-width:599px){
  html[data-client-surface="website"] .chronika-learning.cl-home-surface .h130.h139.h145 {margin-inline:-16px}
  :is(.public-site,html[data-client-surface="website"] body) .h145 .h139-description {margin-top:12px;line-height:1.45}
  html :is(.public-site,[data-client-surface="website"] body) .h145 .h130-actions {grid-template-columns:repeat(2,minmax(0,1fr))}
  :is(.public-site,html[data-client-surface="website"] body) .h145 .h130-secondary svg{width:16px;height:16px}
}
@media(max-width:379px){
  html :is(.public-site,[data-client-surface="website"] body) .h145 .h130-actions {grid-template-columns:minmax(0,1fr)}
  html :is(.public-site,[data-client-surface="website"] body) .chronika-learning .h130.h139.h145 .h130-actions > a.h130-secondary svg {display:none}
  :is(.public-site,html[data-client-surface="website"] body) .h145 .hero-access svg{display:none}
}
@media(min-width:1024px) {
  :is(.public-site,html[data-client-surface="website"] body) .chronika-learning .h130.h139.h145 {
    grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);
    grid-template-areas:"intro product" "purchase product" "study product" "topic topic";
    grid-template-rows:min-content min-content minmax(min-content,1fr) auto;
    column-gap:clamp(20px,2.3vw,34px); row-gap:16px;
    padding:clamp(22px,2vw,32px) clamp(18px,2.2vw,34px) 30px;
  }
  :is(.public-site,html[data-client-surface="website"] body) .h145 .h145-visual {
    width:clamp(530px,calc(15vw + 376px),564px); justify-self:start; margin-inline-start:-8px;
  }
  :is(.public-site,html[data-client-surface="website"] body) .h145 .h140-physical-base {mask:url(#h140-atlas-mask)}
  :is(.public-site,html[data-client-surface="website"] body) .h145 .h140-ocean-depth{
    display:inline;fill:color-mix(in srgb,var(--hero-paper) 78%,var(--ch-atlas-land));fill-rule:evenodd;
  }
  :is(.public-site,html[data-client-surface="website"] body) .h145 .h145-visual::before{
    content:"";position:absolute;z-index:1;inset:-13% 69% 1% -116%;pointer-events:none;
    background:radial-gradient(ellipse 51% 59% at 44% 51%,var(--hero-paper) 0 43%,color-mix(in srgb,var(--hero-paper) 88%,transparent) 57%,transparent 100%);
  }
  :is(.public-site,html[data-client-surface="website"] body) .chronika-learning .h145::before {
    inset:-30px 0 9%;
    background:
      radial-gradient(ellipse 43% 60% at 65% 46%,var(--ch-atlas-light),transparent 78%),
      radial-gradient(ellipse 43% 48% at 37% 37%,var(--ch-atlas-edge),transparent 76%);
  }
}
@media(forced-colors:active){
  :is(.public-site,html[data-client-surface="website"] body) .h145::before{display:none}
  html :is(.public-site,[data-client-surface="website"] body) .chronika-learning .h130.h139.h145 .h130-actions :is(a.h130-secondary,a.h146-one-topic,a.hero-access){
    border-color:ButtonText!important; background:ButtonFace!important; color:ButtonText!important;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none!important;
  }
  html :is(.public-site,[data-client-surface="website"] body) .chronika-learning .h130.h139.h145 .h130-actions :is(a.h130-secondary,a.h146-one-topic,a.hero-access)::before,
  html :is(.public-site,[data-client-surface="website"] body) .chronika-learning .h130.h139.h145 .h130-actions :is(a.h130-secondary,a.h146-one-topic,a.hero-access)::after{display:none}
}
