/* Loaded only below 992px. Comfortable reading overrides the dense desktop UI. */
body.pn2-shell {font-size:16px;line-height:1.65;padding-bottom:calc(88px + env(safe-area-inset-bottom));}
.pn2-shell #pn2-main {min-width:0;}
.pn2-shell #pn2-main {overflow-wrap:anywhere;}
.pn2-shell #pn2-main :is(p,li) {font-size:16px;line-height:1.65;}
.pn2-shell #pn2-main :is(small,.pn2-kicker,.pn2-rail-label,.pn2-topic,.pn2-rail-kicker,.pn2-search-type,.pn2-reading-byline,.pn2-reading-meta,.pn2-reading-labels a,.pn2-reading-labels span) {font-size:14px;line-height:1.5;}
.pn2-shell :is(.pn2-dashboard,.pn2-module-page,.pn2-reading-page,.pn2-explore-page)>.container-fluid {padding-inline:16px;}
.pn2-shell :is(.pn2-dashboard-grid,.pn2-workspace,.pn2-feature-grid,.pn2-lower-grid,.pn2-family-card,.pn2-intelligence-stream,.pn2-reader-rail,.pn2-forecast-ledger) {min-width:0;}
.pn2-shell :is(.pn2-dashboard-grid,.pn2-workspace,.pn2-feature-grid,.pn2-lower-grid,.pn2-reading-shell,.pn2-reader-rail,.pn2-research-content.has-ads) {grid-template-columns:minmax(0,1fr);align-items:start;}
.pn2-shell .pn2-workspace>* {min-width:0;max-width:100%;}
.pn2-shell .pn2-lead-footer,.pn2-shell .pn2-lead-footer .post-meta {flex-wrap:wrap;min-width:0;max-width:100%;}
.pn2-shell :is(.pn2-my-nexus,.pn2-reader-rail) {position:static;max-height:none;overflow:visible;}
.pn2-shell :is(.pn2-detail-grid,.pn2-account-grid,.pn2-intelligence-layout,.pn2-forecast-research-layout,.pn2-information-layout.has-sidebar) {grid-template-columns:minmax(0,1fr);}
.pn2-shell #pn2-main h1 {font-size:clamp(28px,6vw,40px);line-height:1.18;letter-spacing:-.025em;overflow-wrap:anywhere;}
.pn2-shell #pn2-main :is(h2,h3,h4) {line-height:1.35;overflow-wrap:anywhere;}
.pn2-shell :is(.pn2-active-grid h3,.pn2-family-card h3,.pn2-family-lead strong,.pn2-compact-research-grid h3,.pn2-related-research h3,.pn2-reader-home h3,.pn2-reader-home strong,.pn2-rail-posts a,.pn2-intelligence-links a strong,.pn2-research-row strong) {font-size:18px;line-height:1.4;}
.pn2-shell :is(.pn2-start-here ol,.pn2-core-path ol,.pn2-start-banner ol) {max-height:none;overflow:visible;}
.pn2-shell :is(.pn2-path-panel li a,.pn2-start-banner li a,.pn2-family-latest a,.pn2-rail-discovery a,.pn2-reader-home section>a>span,.pn2-research-row p,.pn2-research-row small,.pn2-outline a,.pn2-rail-links a,.pn2-module-taxonomy a,.pn2-family-children a,.pn2-rail-topics a,.pn2-reading-open,.pn2-reading-sequence article>small,.pn2-related-research small,.pn2-research-stream-lead footer,.pn2-research-row footer) {font-size:16px;line-height:1.6;}
.pn2-shell :is(.pn2-active-grid>article,.pn2-compact-research-grid>article,.pn2-family-card,.pn2-related-research article,.pn2-intelligence-stream>article) {height:auto;min-height:0;}
.pn2-shell :is(.pn2-active-topic,.pn2-family-open,.pn2-data-preview>header>span,.pn2-auto-overview span,.pn2-auto-overview small,.pn2-intelligence-stream footer,.pn2-intelligence-stream>article>div,.pn2-intelligence-links a span,.pn2-forecast-ledger article>div>span,.pn2-profile-grid span,.pn2-account-tabs a,.pn2-account-stats span,.pn2-account-identity small,.pn2-compact-research-grid .post-meta) {font-size:14px;line-height:1.5;}
.pn2-shell .pn2-family-open {display:inline-flex;align-items:center;min-height:44px;font-size:16px;}
.pn2-shell :is(.pn2-my-nexus section,.pn2-reader-rail>section) {padding:16px;}
.pn2-shell #pn2-main :is(.pn2-path-button,.pn2-primary-action,.pn2-secondary-action,.pn2-workspace-action,.pn2-read-button,.pn2-pagination a,.pn2-category-topics a,.pn2-rail-open,.pn2-source-cta a) {display:inline-flex;align-items:center;justify-content:center;min-height:44px;font-size:16px;line-height:1.35;white-space:normal;}
.pn2-shell #pn2-main :is(button,summary) {min-height:44px;font-size:16px;line-height:1.4;}
.pn2-shell #pn2-main :is(input:not([type=checkbox]):not([type=radio]),select,textarea) {max-width:100%;min-width:0;min-height:44px;font-size:16px;}
.pn2-shell #pn2-main label {font-size:16px;}
.pn2-shell #pn2-main :is(.pn2-category-topics a,.pn2-family-index a,.pn2-account-tabs a,.pn2-rail-links a,.pn2-family-children a,.pn2-rail-topics a) {min-height:44px;align-items:center;font-size:16px;}
.pn2-shell :is(.pn2-explore-grid h3,.pn2-reader-rail h2,.pn2-detail-rail h2,.pn2-account-main h3,.pn2-category-card h3) {font-size:20px;line-height:1.4;}
.pn2-shell :is(.pn2-explore-grid small,.pn2-explore-grid p,.pn2-detail-rail :is(span,dt,dd),.pn2-account-preview :is(strong,span),.pn2-workspace-preview :is(strong,small),.pn2-operations-list small) {font-size:14px;line-height:1.6;}
.pn2-shell #pn2-main :is(.pn2-wiki-source,.pn2-analyst-message) {font-size:16px;line-height:1.8;overflow-wrap:anywhere;}
.pn2-shell .pn2-wiki {padding-inline:16px;}
.pn2-shell .pn2-wiki :is(form,article,details) {min-width:0;max-width:100%;}
.pn2-shell :is(.pn2-wiki,.pn2-analyst-page) nav a {display:inline-flex;align-items:center;min-height:44px;padding:8px;}
.pn2-shell #pn2-main :is(table,pre) {max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;}
.pn2-shell #pn2-main table {display:block;}
.pn2-shell :is(.pn2-ask-hero form>div,.pn2-explore-hero form,.pn2-wiki-filters,.pn2-module-taxonomy,.pn2-auto-overview) {grid-template-columns:minmax(0,1fr);}
.pn2-shell #pn2-main :is(.pn2-ask-hero,.pn2-explore-hero,.pn2-reading-path-hero) {padding:24px 20px;}
.pn2-shell .pn2-breadcrumbs {flex-wrap:wrap;font-size:14px;line-height:1.5;padding-block:12px;}
.pn2-shell .pn2-reading-article {padding:20px!important;}
.pn2-shell .pn2-reading-article .entry-content {width:auto;max-width:72ch;margin-block:24px;font-size:18px;line-height:1.8;}
.pn2-shell .entry-content :is(p,li,blockquote) {font-size:18px!important;line-height:1.8!important;}
.pn2-shell .entry-content h2 {font-size:25px!important;line-height:1.35!important;}
.pn2-shell .entry-content h3 {font-size:22px!important;line-height:1.4!important;}
.pn2-shell .entry-content h4 {font-size:20px!important;line-height:1.4!important;}
.pn2-shell .entry-content :is(div,section,article,figure,img,video,iframe,svg) {max-width:100%!important;box-sizing:border-box;}
.pn2-shell .entry-content :is(img,video) {height:auto;}
.pn2-shell .entry-content :is(div,section,article)[style*="grid-template-columns" i] {grid-template-columns:minmax(0,1fr)!important;}
.pn2-shell .entry-content :is(div,section,article)[style*="display:flex" i],.pn2-shell .entry-content :is(div,section,article)[style*="display: flex" i] {flex-wrap:wrap!important;}
.pn2-shell .entry-content :is(table,pre) {display:block;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;}
.pn2-shell .entry-content :is(th,td,code,pre) {font-size:14px;line-height:1.6;}
.pn2-shell .entry-content :is(h2,h3,h4) {scroll-margin-top:24px;}
.pn2-reading-mobile-outline {margin:20px 0;padding:12px 16px;border:1px solid var(--pn-line);border-radius:10px;background:var(--pn-paper);}
.pn2-reading-mobile-outline summary {display:list-item;font-weight:750;cursor:pointer;}
.pn2-reading-mobile-outline nav {display:grid;max-height:45dvh;overflow-y:auto;overscroll-behavior:contain;}
.pn2-reading-mobile-outline a {display:block;padding:10px 0;color:var(--pn-ink);font-size:16px;text-decoration:none;min-height:44px;}
.pn2-mobile-brand {font-size:20px;line-height:1.4;}
.pn2-mobile-header {min-height:116px;}
.pn2-mobile-menu>summary {font-size:16px;}
.pn2-mobile-menu>nav {position:fixed;inset-inline:12px;top:68px;max-height:calc(100dvh - 168px);overflow:auto;touch-action:pan-y;scrollbar-gutter:stable;}
.pn2-mobile-menu nav a {font-size:16px;text-decoration:none;line-height:1.5;border-bottom:1px solid var(--pn-line);}
.pn2-mobile-menu-close {display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;margin-bottom:8px;}
.pn2-mobile-submenu {margin-block:8px;border:1px solid var(--pn-line);border-radius:8px;padding:4px 8px;}
.pn2-mobile-submenu summary {font-size:16px;line-height:1.4;padding:10px;font-weight:750;}
.pn2-mobile-submenu a {margin-inline:8px;}
.pn2-mobile-header :is(button,input) {min-height:44px;}
.pn2-mobile-dock {grid-template-columns:repeat(4,minmax(0,1fr));min-height:72px;}
.pn2-mobile-dock :is(a,button) {min-width:0;min-height:64px;padding:8px 2px;color:var(--pn-ink);}
.pn2-mobile-dock small {font-size:clamp(12px,3.3vw,13px);line-height:1.4;white-space:nowrap;}
.pn2-mobile-dock span {font-size:22px;}
.pn2-mobile-dock .pn2-dock-icon {position:relative;display:flex;align-items:center;justify-content:center;width:28px;height:28px;color:inherit;}
.pn2-mobile-dock .pn2-dock-icon svg {width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.pn2-mobile-dock .pn2-dock-badge {position:absolute;top:-4px;right:-9px;display:flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 4px;border-radius:12px;background:#b42318;color:#fff;font-size:11px;line-height:1;font-weight:750;}
.pn2-mobile-dock [aria-current] {color:var(--pn-blue);background:var(--pn-paper);}
.pn2-shell #notifications {scroll-margin-top:16px;}
.pn2-shell :is(.pn2-ad-band,.pn2-rail-ad,.pn2-desk-ad) {min-width:0;max-width:100%;overflow-x:auto;}
.pn2-shell .pn2-footer {padding-top:32px;}
.pn2-shell .pn2-footer-base {font-size:14px;}
.pn2-shell :is(.pn2-footer a,.pn2-footer p) {font-size:16px;line-height:1.6;}
.pn2-shell :is(.pn2-mobile-menu,.pn2-reading-mobile-outline,.pn2-mobile-dock) :focus-visible {outline:3px solid var(--pn-blue);outline-offset:3px;}
@media(max-width:600px) {
  .pn2-shell :is(.pn2-reader-home>div,.pn2-active-grid,.pn2-compact-research-grid,.pn2-family-grid,.pn2-category-grid,.pn2-intelligence-rail,.pn2-formal-records>div,.pn2-data-desk-grid,.pn2-ask-start,.pn2-answer-group>div,.pn2-ai-citations) {grid-template-columns:minmax(0,1fr);}
  .pn2-shell .pn2-research-stream-list a.pn2-research-row.has-image {grid-template-columns:88px minmax(0,1fr);}
  .pn2-shell .pn2-reading-article {padding:16px!important;}
  .pn2-shell .pn2-reading-labels {gap:8px;}
  .pn2-shell .pn2-reading-share {overflow-x:visible;}
  .pn2-shell .pn2-author-card {align-items:start;flex-wrap:wrap;}
  .pn2-shell .pn2-explore-grid>a {grid-template-columns:32px minmax(0,1fr) auto;gap:12px;padding:16px;}
  .pn2-shell .pn2-research-universe dl {gap:8px;flex-wrap:wrap;}
  .pn2-shell .pn2-research-universe dl div {min-width:0;flex:1;}
}
@media(prefers-reduced-motion:reduce) {
  html {scroll-behavior:auto;}
  .pn2-shell a {transition:none;}
}
