/* Local review overlay. Opt in only with body.site-design-next. No colour changes. */
html:root body.hts-refresh.site-design-next :is(main,.hts-home-wrap) {
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
html:root body.hts-refresh.site-design-next :is(main,.hts-home-wrap) :is(.hts-hp-btn-p,.hts-hp-btn-s,.hts-hp-card-btn,.c2-primary,.hoe-primary,.hoe-secondary,.hrs-button,.hr-primary,.button,.hdb-buy,.hsr-download,.hsr-enquire,.mc-primary) {
  border-radius:16px!important;
  min-height:48px!important;
  box-sizing:border-box;
  max-width:100%;
  padding:12px 20px!important;
  font-family:inherit;
  font-size:16px!important;
  line-height:1.45!important;
  font-weight:650!important;
  letter-spacing:0!important;
  white-space:normal!important;
  text-wrap:balance;
  overflow-wrap:anywhere;
  text-align:center;
}
html:root body.hts-refresh.site-design-next :is(main,.hts-home-wrap) :is(.c2-card,.hoe-card,.hts-hp-card,.hts-ben-card,.hts-comp-card,.hts-eeg-box,.hts-video-sec,.hdb-card,.hsr-report) {border-radius:20px!important;}
html:root body.hts-refresh.site-design-next :is(main,.hts-home-wrap) :is(.c2-terms,.hoe-terms,.hoe-example,.notice,.limit) {border-radius:12px!important;}
html:root body.hts-refresh.site-design-next :is(main,.hts-home-wrap) :is(h1,h2,h3) {
  text-wrap:balance;
  overflow-wrap:break-word;
  hyphens:manual;
  letter-spacing:-.025em!important;
}
html:root body.hts-refresh.site-design-next :is(main,.hts-home-wrap) h1 {
  font-size:clamp(2rem,4.4vw,4rem)!important;
  line-height:1.16!important;
}
html:root body.hts-refresh.site-design-next :is(main,.hts-home-wrap) h2 {line-height:1.25!important;}
html:root body.hts-refresh.site-design-next :is(main,.hts-home-wrap) h3 {line-height:1.3!important;}
html:root body.hts-refresh.site-design-next :is(main,.hts-home-wrap) :is(p,li) {text-wrap:pretty;}
html:root body.hts-refresh.site-design-next :is(.c2-copy,.hoe-description,.hoe-benefit,.hts-hp-body) {font-size:16px!important;line-height:1.7!important;}
html:root body.hts-refresh.site-design-next :is(main,.hts-home-wrap) :is(.c2-card,.hoe-card) li {font-size:16px!important;line-height:1.65!important;}
html:root body.hts-refresh.site-design-next :is(.c2-actions,.hoe-actions,.hts-hp-ctas) {gap:12px!important;}
html:root body.hts-refresh.site-design-next .hoe-card :is(h3,.hoe-description,.hoe-benefit) {min-height:0!important;}
html:root body.hts-refresh.site-design-next header.cn-header .cn-mobile>summary {border-radius:12px!important;}
html:root body.hts-refresh.site-design-next header.cn-header .cn-panel {border-radius:0 0 16px 16px;}
html:root body.hts-refresh.site-design-next header.cn-header .cn-panel a {border-radius:8px!important;}
@media(max-width:650px) {
  html:root body.hts-refresh.site-design-next :is(main,.hts-home-wrap) h1 {font-size:clamp(1.9rem,7.8vw,2.5rem)!important;}
  html:root body.hts-refresh.site-design-next :is(main,.hts-home-wrap) h2 {font-size:clamp(1.5rem,6vw,2rem)!important;}
  html:root body.hts-refresh.site-design-next :is(main,.hts-home-wrap) :is(h1,h2,h3) {hyphens:auto;}
  html:root body.hts-refresh.site-design-next :is(main,.hts-home-wrap) :is(.hts-hp-btn-p,.hts-hp-btn-s,.c2-primary,.hoe-primary,.hoe-secondary,.button) {padding:12px 16px!important;}
}
/* Keep the existing Bitcoin widget inside its available width, including without JS. */
html:root body.hts-refresh.site-design-next .hts-outer {
  transform:none!important;
  max-width:100%;
  box-sizing:border-box;
}

/* Extended page types. Preserve palette, semantics, focus styles and control types. */
html:root body.site-design-next :is(main,article,.entry-content,.wp-site-blocks) :is(h1,h2,h3) {
  text-wrap:balance; overflow-wrap:break-word; letter-spacing:-.02em!important;
}
html:root body.site-design-next :is(main,article,.entry-content) h1 {
  font-size:clamp(1.9rem,3.4vw,3.25rem)!important;line-height:1.18!important;
}
html:root body.site-design-next :is(main,article,.entry-content) :is(h2,h3) {line-height:1.3!important;}
html:root body.site-design-next :is(main,article,.entry-content) p {line-height:1.7;text-wrap:pretty;}
/* Match the specificity of legacy important rules without changing colours. */
html:root body.site-design-next.site-design-next :is(main,.wp-site-blocks,.entry-content,article) :is(button,.button,.btn,.wp-block-button__link,.wp-element-button,input[type=submit],input[type=button],a[class$="-btn"],.hts-en-course-button,.heb-buy,.he-buy,.hts-aff-btn,.hts-sc-btn,.hts-kurs-cta-btn) {
  border-radius:16px!important; min-height:44px;max-width:100%;box-sizing:border-box;
  white-space:normal!important;overflow-wrap:anywhere;line-height:1.45!important;
  text-wrap:balance;letter-spacing:0!important;
}
html:root body.site-design-next :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=color]),select,textarea) {
  border-radius:10px!important;max-width:100%;box-sizing:border-box;font-size:16px;min-width:0;
}
html:root body.site-design-next :is(main,.entry-content,article) :is(.card,.panel,.box,.callout,.product,.resource,.pillar,.course-step,.lesson-card) {border-radius:18px!important;}
html:root body.site-design-next :is(main,article,.entry-content) :is(fieldset,.card,.panel,.box,.grid>*,.columns>*) {min-width:0;}
html:root body.site-design-next :is(pre,code) {overflow-wrap:anywhere;}
html:root body.site-design-next pre {max-width:100%;overflow-x:auto;}
@media(max-width:650px){
 html:root body.site-design-next :is(main,article,.entry-content) h1 {font-size:clamp(1.85rem,7.6vw,2.4rem)!important;}
 html:root body.site-design-next :is(main,article,.entry-content) :is(h1,h2,h3) {hyphens:auto;}
}
/* Keep the existing enquiry explainer inside narrow article columns. */
html:root body.site-design-next .hj-booking {box-sizing:border-box;max-width:100%;min-width:0;overflow-wrap:anywhere;}
/* The calculator is an existing dialog mounted directly under body. */
html:root body.site-design-next .hts-calc-modal {border-radius:20px!important;}
html:root body.site-design-next .mc-shell :is(button,.mc-primary) {border-radius:12px!important;min-height:44px;line-height:1.45;white-space:normal;}
