/* LifeaaS Public Shell 3.0 · R7 final responsive/accessibility guardrails */
:root{--r7-focus:#7ee7ff;--r7-focus-shadow:rgba(126,231,255,.24)}
:where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--r7-focus);outline-offset:3px;box-shadow:0 0 0 5px var(--r7-focus-shadow)}
:where(button,input,select,textarea){font:inherit}
[data-r7-view]{min-width:0}
[data-r7-view] main,[data-r7-view] .hero-copy,[data-r7-view] .card-copy,[data-r7-view] .sidebar,[data-r7-view] .results{min-width:0}
[data-r7-view] img,[data-r7-view] video,[data-r7-view] canvas,[data-r7-view] svg{max-width:100%}
[data-r7-view] audio{max-width:100%}
[data-r7-view] .prose,[data-r7-view] .card-copy,[data-r7-view] .hero-copy{overflow-wrap:anywhere}
[data-r7-view] .hero h1{text-wrap:balance;overflow-wrap:anywhere}
[data-r7-view] .article-author-link{text-decoration:underline;text-underline-offset:3px}
.main-nav a[aria-current="page"]{color:#f7fbff}
.mobile-details nav a[aria-current="page"]{background:#132b4c;color:#fff}
.mobile-details>summary,.mobile-search,.dialog-close{min-width:44px;min-height:44px}
.mobile-details>summary{display:inline-flex;align-items:center;justify-content:center}
.subscribe-dialog{max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain}
.subscribe-dialog .dialog-close{display:inline-flex;align-items:center;justify-content:center}
:where(.toc-mobile summary,.pagination a,.gradient-button,.outline-button){min-height:44px}
@media(max-width:720px){
  .wrap,.header-inner{width:calc(100% - 28px)}
  .header-inner{min-height:72px}
  .mobile-search{width:44px;height:44px;padding:0;flex:0 0 44px}
  .mobile-details>summary{width:44px;height:44px;padding:0}
  .mobile-details nav{max-height:calc(100dvh - 88px);overflow:auto;overscroll-behavior:contain}
  .mobile-details nav a{display:flex;align-items:center;min-height:44px;padding:10px 12px}
  .mobile-details nav .header-subscribe{min-height:44px}
  .hero-shade{background:linear-gradient(90deg,rgba(2,14,32,.94) 0%,rgba(2,14,32,.86) 58%,rgba(2,14,32,.72) 100%),linear-gradient(0deg,rgba(2,15,32,.78),rgba(2,15,32,.18) 55%,rgba(2,15,32,.36))}
  .hero h1{font-size:clamp(30px,8.6vw,42px);letter-spacing:-1px}
  .hero .hero-copy p{max-width:100%}
  :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea){font-size:16px;min-height:44px}
  :where(.calculator-page button,.calculator-page .gradient-button,.calculator-page .outline-button,.big-search button,.sort button,.search-filter button){min-height:44px}
  .subscribe-dialog{width:calc(100% - 24px);max-width:560px;padding:24px 18px}
  .subscribe-dialog .channel{min-height:52px}
  .article-actions{align-items:center}
  .article-actions .bookmark-button{white-space:normal}
  .prose table,.prose pre{max-width:100%;overflow:auto}
}
@media(min-width:721px) and (max-width:1280px){
  [data-r7-view] .header-inner{min-width:0}
  [data-r7-view] .hero-copy{min-width:0}
}
@media(max-width:370px){
  .header-inner{gap:8px}
  .brand .brand-logo{max-width:175px}
  .mobile-details nav{right:-4px;max-width:calc(100vw - 16px)}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto!important}
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}
@media(prefers-contrast:more){
  :where(a,button,input,select,textarea,summary):focus-visible{outline-width:4px}
  .panel,.article-card,.mobile-details nav,.subscribe-dialog{border-color:#5d7ba3}
}
