/* Content discovery and task continuity: existing brand, spacing and controls. */
.site-header .mobile-destinations{display:none}
.site-header .task-nav{flex-wrap:wrap;gap:8px 28px}
.site-header .task-nav>a{min-height:var(--control-height);display:inline-flex;align-items:center}
.site-header .header-actions{min-width:0}
.site-header .account-menu summary{white-space:normal;min-width:0}
.author-profile>.author-actions{flex:1 1 100%;max-width:100%;min-width:0}
.author-actions :is(a,form,button){max-width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere}
.reading-page .article-layout>*,.reading-page .article-video-wrap,.reading-page .article-video{min-width:0;max-width:100%}
.reading-page .article-aside{min-width:0}
.reading-page .related-row strong{overflow-wrap:anywhere}
.exploreNav{flex-wrap:wrap;overflow:visible;gap:8px}
.exploreNav a{min-height:var(--control-height);white-space:normal}
.home-reading{padding-top:28px}
.home-platform-intro{color:var(--muted);max-width:44em;margin:4px 0 20px;font-size:1rem}
.home-reading .home-cultures{padding:0 0 20px;margin-bottom:20px;border-bottom:1px solid var(--line)}
.home-reading .culture-links{border:0;padding:0}
.content-card .card-copy{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:18px}
.content-card .card-meta{align-self:stretch;flex-wrap:wrap;gap:6px 12px;margin:0}
.content-card .card-meta time{margin-left:auto}
.content-card h3{margin:0;font-size:1.0625rem;line-height:1.55}
.content-card.video-card h3 a{-webkit-line-clamp:3}
.content-card .card-summary{margin:0;font-size:.875rem;line-height:1.75}
.content-card .card-author{margin-top:auto;min-height:32px;display:inline-flex;align-items:center}
.content-card .content-kind{color:var(--brand)}
.discovery-routes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}
.discovery-routes>a{padding:14px 16px;border-bottom:1px solid var(--line);display:grid;align-content:center;gap:4px;min-height:var(--control-height)}
.discovery-routes>a:hover{background:var(--brand-soft)}
.discovery-routes strong{font-size:1.0625rem}
.discovery-routes span{color:var(--muted);font-size:.875rem}
.discover-landing .search-filters{margin-bottom:24px}
.discover-landing .discover-channels{margin-block:24px}
.discover-landing .discover-channels>summary{display:list-item;cursor:pointer;min-height:var(--control-height);padding-block:10px;color:var(--brand);font-weight:600}
.discover-landing .discover-channels[open]>summary{margin-bottom:8px}
.discover-landing .culture-links{border:0;padding:0;gap:12px}
.discover-landing .culture-links a{padding:10px 12px;border:1px solid var(--line);border-radius:var(--radius);background:var(--white)}
.reading-page .video-layout .article-heading{padding-top:16px;margin-bottom:20px}
.reading-page .video-layout .article-heading h1{margin-top:8px}
.reading-page .article-video-wrap .article-video{max-height:65svh}
.reading-page .article-video-wrap.is-portrait .article-video{max-height:65svh}
.reading-page .prose{line-height:1.9}
.member-hub .hub-secondary>section[aria-labelledby=participation-entry] p{font-size:.875rem;color:var(--muted)}
.member-hub .hub-link-list strong,.member-hub .hub-link-list small{overflow-wrap:anywhere}
@media(min-width:721px) and (max-width:1023px){
 .site-header .task-nav{gap:4px 16px}
 .home-reading .card-grid,.discover-selection .card-grid,.videos-page .card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .discovery-routes>a{padding:14px}
}
@media(max-width:720px){
 .reading-page .article-layout{grid-template-columns:minmax(0,1fr)}
 .site-header .mobile-destinations{display:flex;gap:8px;justify-content:space-between;flex-wrap:wrap;padding-block:4px}
 .site-header .mobile-destinations>a{display:flex;justify-content:center;align-items:center;flex:1 1 76px;min-height:var(--control-height);font-size:.875rem;border-radius:8px}
 .site-header .mobile-destinations>a:hover,.site-header .mobile-destinations [aria-current=page]{background:var(--brand-soft);color:var(--brand);font-weight:600}
 .home-reading{padding-top:20px}
 .home-reading h1{font-size:1.375rem}
 .home-platform-intro{font-size:.875rem;margin-bottom:16px}
 .home-reading .home-cultures{padding-bottom:12px;margin-bottom:16px}
 .content-card .card-copy{padding:14px}
 .content-card .card-meta{font-size:.75rem;gap:4px 8px}
 .content-card h3{font-size:1rem}
 .content-card .card-summary{font-size:.875rem}
 .discovery-routes{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:20px}
 .discovery-routes>a{padding:12px 8px;text-align:center}
 .discovery-routes strong{font-size:.875rem}
 .discovery-routes span{display:none}
 .discover-landing .search-filters{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end;margin-bottom:20px}
 .discover-landing .search-filters label:first-child{min-width:0}
 .discover-landing .search-filters input[type=search]{width:100%;font-size:1rem}
 .discover-landing .culture-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;gap:8px}
 .discover-landing .culture-links a{min-width:0;min-height:60px;padding:8px;gap:8px}
 .discover-landing .culture-links strong{font-size:.875rem}
 .discover-landing .culture-links small{font-size:.75rem}
 .discover-landing .culture-links span{min-width:0;overflow-wrap:anywhere}
 .reading-page .video-layout .article-heading{padding-top:16px}
 .reading-page .video-layout .article-heading h1{font-size:1.375rem;line-height:1.5}
 .reading-page .article-heading-top{flex-wrap:wrap;gap:8px}
 .reading-page .article-heading-top .video-fullscreen{margin-left:auto}
 .member-hub .hub-shortcuts strong{font-size:1rem}
 .member-hub .hub-shortcuts a>span:not(.hub-shortcut-icon){font-size:.8125rem}
 .member-hub .hub-link-list small{font-size:.8125rem}
}
@media(prefers-reduced-motion:reduce){.discovery-routes>a,.content-card{transition:none}}

/* Final delivery readability pass: content first, no navigation or brand changes. */
.home-reading .content-card .card-summary,.discover-selection .content-card .card-summary{font-size:.9375rem;line-height:1.8}
.reading-page .article-meta,.reading-page .author-inline{font-size:.875rem}
.reading-page .prose{font-size:1.0625rem;line-height:1.9;overflow-wrap:anywhere}
.r2-commercial.creator-courses #new-course .draft-start-hint{padding-inline:var(--jp-space-6);margin-block:var(--jp-space-4) 0;max-width:46em}
@media(max-width:719px){.r2-commercial.creator-courses #new-course .draft-start-hint{padding-inline:var(--jp-space-4)}}

/* Visual refinement: preserve the existing brand, content and task semantics. */
body{font-size:16px;line-height:1.7}
::selection{background:var(--brand-soft);color:var(--ink)}
input,textarea{caret-color:var(--brand)}
.site-header .heritage-masthead{
 background-color:var(--brand);
 background-image:linear-gradient(90deg,#39233de0,#54345bba),url('/brand/headerbg.png');
 background-position:center;
 background-size:cover;
}
.site-header .header-search{max-width:480px;height:48px;border-radius:12px;box-shadow:none}
.site-header .header-search input{padding-inline:16px;font-size:15px}
.site-header .header-search button{width:48px;min-height:46px;border-radius:10px}
.site-header .header-search:focus-within{outline:3px solid #fff;outline-offset:3px}
.site-header .task-nav>a{font-weight:500;border-bottom-width:2px}
.site-header .task-nav>a[aria-current=page]{font-weight:600}
.site-header .mobile-bottom{border-top-color:var(--line);box-shadow:none}
.site-header .account-menu>div{border-radius:12px}
.home-reading{padding-top:40px}
.home-reading h1,.content-list-page .page-heading h1{
 font-size:clamp(1.5rem,2.5vw,2.25rem);
 font-weight:600;
 line-height:1.5;
 letter-spacing:.015em;
 text-wrap:balance;
}
.home-reading .section-heading{margin-bottom:10px}
.home-platform-intro{font-size:16px;line-height:1.8;margin-bottom:24px}
.home-reading .home-cultures{padding-bottom:24px;margin-bottom:24px}
.home-reading .culture-links strong{font-size:15px;font-weight:600}
.home-reading .culture-links small{font-size:12px;line-height:1.6}
.home-reading .tabs{gap:8px;margin-bottom:24px}
.home-reading .tabs a{font-size:15px;padding-inline:16px}
.home-reading .home-browse-links{font-size:14px}
.content-card{border-radius:12px;border-color:var(--line)}
.content-card .card-copy{padding:20px;gap:10px}
.content-card .card-meta{font-size:13px;line-height:1.6;color:var(--muted)}
.content-card h3{font-size:18px;font-weight:600;line-height:1.65;min-height:3.3em}
.content-card .card-summary{color:var(--muted);font-size:15px;line-height:1.8}
.content-card .card-author{font-size:14px;min-height:36px}
.content-card:focus-within{border-color:var(--brand)}
.content-list-page .page-heading{padding-block:32px 16px}
.content-list-page .page-heading h1{margin:0 0 12px}
.content-list-page .page-heading .page-intro{margin:0}
.content-list-page>.listing{padding-top:8px}
.content-list-page .page-intro{font-size:16px;line-height:1.8}
.discovery-routes{gap:24px;margin-bottom:20px}
.discovery-routes>a{padding:12px 0 16px;gap:6px;border-radius:0}
.discovery-routes strong{font-size:17px;font-weight:600}
.discover-landing .search-filters{margin-bottom:8px}
.discover-landing .discover-channels{margin-block:8px 16px}
.discover-landing .discover-selection{margin-top:20px}
.discover-landing .discover-selection .page-intro{margin-bottom:20px}
.discover-landing .section-heading h2{font-size:24px;font-weight:600;line-height:1.5}
.search-results .search-result{padding-block:24px}
.search-results .search-result h2{font-weight:600;line-height:1.6}
.reading-page .article-layout>article{padding:40px}
.reading-page .article-heading h1{font-size:clamp(1.5rem,2.4vw,2rem);font-weight:600;line-height:1.6}
.reading-page .article-meta{gap:8px 20px;flex-wrap:wrap;line-height:1.7}
.reading-page .article-summary{font-size:16px;line-height:1.9;color:var(--muted)}
.reading-page .prose{max-width:40em;font-size:18px;line-height:1.95}
.reading-page .prose p{margin-block:1.35em}
.reading-page .prose :is(h2,h3){font-weight:600;line-height:1.6;margin-top:1.8em;margin-bottom:.75em}
.reading-page .article-aside{padding:24px}
.reading-page .article-aside h2{font-size:18px;font-weight:600}
.reading-page .related-row strong{font-size:15px;line-height:1.7;font-weight:500}
.reading-page .article-layout.video-layout>article{padding:0}
.reading-page .video-layout .article-heading{padding-top:24px}
.reading-page .video-layout .article-heading h1{font-size:clamp(1.375rem,2vw,1.875rem)}
.reading-page .video-layout .article-video-wrap{background:#19161c}
.forum-heading h1{font-weight:600;line-height:1.6}
.forum-reading .forum-message,.forum-reading .topic-reading{font-size:18px;line-height:1.95}
.forum-reading .forum-post-meta{font-size:14px;flex-wrap:wrap}
.member-hub .hub-profile{background:var(--white);padding:28px 32px}
.member-hub .hub-identity h1{font-weight:600}
.member-hub .hub-identity p{font-size:14px;line-height:1.75}
.member-hub .hub-section-heading h2{font-size:20px;font-weight:600}
.member-hub .hub-section-heading>a{font-size:14px}
.member-hub .hub-shortcuts a{padding:24px}
.member-hub .hub-shortcuts strong{font-size:17px;font-weight:600}
.member-hub .hub-shortcuts a>span:not(.hub-shortcut-icon){font-size:14px;line-height:1.75}
.member-hub .hub-link-list strong{font-size:16px}
.member-hub .hub-link-list small{font-size:14px;line-height:1.75}
.member-hub .hub-support p{font-size:14px;line-height:1.8}
.account-page .account-heading h1{font-size:28px;font-weight:600;letter-spacing:0}
.account-page .account-heading p{font-size:15px;line-height:1.8;color:var(--muted)}
.account-page .account-form{gap:0}
.account-page .account-field{margin-bottom:20px}
.account-page .account-field label{display:block;font-size:15px;line-height:1.6}
.account-page .account-label-row{min-height:32px;align-items:baseline}
.account-page .account-label-row a{margin-top:0;font-size:14px}
.account-page .account-field input:not([type=checkbox]){min-height:52px;border-radius:10px}
.account-page .account-field input:not([type=checkbox])::placeholder{font-size:14px}
.account-page .account-panel .account-field input:focus-visible{outline:3px solid var(--brand);outline-offset:3px;box-shadow:none}
.account-page .account-submit{min-height:52px;font-size:16px;letter-spacing:0}
.account-page .auth-help,.account-page .account-switch,.account-page .account-legal{font-size:14px;line-height:1.8}
body.r2-commercial .commercial-heading h1{font-weight:600;letter-spacing:0;line-height:1.5}
body.r2-commercial .commercial-panel-head h2{font-weight:600;line-height:1.5}
body.r2-commercial .commercial-field>label{font-weight:500;line-height:1.7}
body.r2-commercial .commercial-field>:is(input,select,textarea){border-radius:10px}
body.r2-commercial .commercial-hint{line-height:1.8}
body.r2-commercial .commercial-task-list>li{padding-block:20px}
body.r2-commercial .commercial-task strong{font-weight:600;line-height:1.7}
@media(min-width:1024px){
 .home-reading .card-grid,.discover-selection .card-grid,.videos-page .card-grid{gap:28px}
 .reading-page .article-layout{gap:40px}
}
@media(max-width:720px){
 .home-reading{padding-top:24px}
 .home-reading .section-heading{align-items:flex-start;flex-wrap:wrap;gap:8px}
 .home-reading .home-browse-links{gap:16px;flex-wrap:wrap;font-size:14px}
 .home-platform-intro{font-size:15px;margin-bottom:16px}
 .home-reading .home-cultures{padding-bottom:16px;margin-bottom:16px}
 .home-reading .culture-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 8px;overflow:visible}
 .home-reading .culture-links a{min-width:0;min-height:48px;padding:6px 2px;gap:6px}
 .home-reading .culture-links .heritage-symbol{width:22px;height:22px;flex:none}
 .home-reading .culture-links strong{font-size:14px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
 .home-reading .culture-links small{display:none}
 .home-reading .tabs{margin-bottom:20px}
 .content-card .card-copy{padding:18px;gap:9px}
 .content-card h3{font-size:18px;min-height:0;line-height:1.65}
 .content-card .card-meta{font-size:13px}
 .content-card.article-card .card-copy{padding:0}
 .content-card.article-card h3{font-size:17px}
 .content-list-page .page-heading{padding-block:24px 12px}
 .content-list-page .page-heading h1{margin-bottom:8px}
 .content-list-page .page-intro{font-size:15px}
 .discovery-routes{gap:12px;margin-bottom:16px}
 .discovery-routes>a{padding:8px 2px 10px;min-height:44px}
 .discovery-routes strong{font-size:15px}
 .discover-landing .search-filters{margin-bottom:8px}
 .discover-landing .discover-channels{margin-block:4px 12px}
 .discover-landing .discover-selection{margin-block:16px 24px}
 .discover-landing .section-heading h2{font-size:22px}
 .discover-landing .discover-selection .page-intro{margin-bottom:16px}
 .reading-page .article-layout>article{padding:24px 20px}
 .reading-page .prose{font-size:17px;line-height:1.95}
 .reading-page .article-summary{font-size:15px}
 .reading-page .article-meta{gap:6px 12px}
 .reading-page .video-layout .article-heading{padding-top:20px}
 .forum-reading .forum-message,.forum-reading .topic-reading{font-size:17px}
 .member-hub .hub-profile{padding:22px 20px}
 .member-hub .hub-section-heading h2{font-size:18px}
 .member-hub .hub-shortcuts a{padding:20px 16px}
 .member-hub .hub-shortcuts strong{font-size:16px}
 .member-hub .hub-shortcuts a>span:not(.hub-shortcut-icon){font-size:14px}
 .member-hub .hub-link-list small{font-size:14px}
 .account-page .account-heading{margin-bottom:24px}
 .account-page .account-heading h1{font-size:26px}
 .account-page .account-field{margin-bottom:16px}
 .account-page .account-label-row a{font-size:14px;min-height:44px}
}

/* Existing plain-text community articles: semantic sections without interpreting user HTML. */
.forum-original .topic-reading{max-width:40em;margin-inline:auto}
.forum-original .topic-reading p{margin:0 0 1.25em;white-space:pre-wrap;overflow-wrap:anywhere}
.forum-original .topic-reading h2{font-size:1.3em;font-weight:600;line-height:1.55;margin:2em 0 .7em;scroll-margin-block-start:11rem;overflow-wrap:anywhere}
.forum-original .topic-reading h2:focus{outline:2px solid var(--purple,#783c8a);outline-offset:6px}
.forum-original .topic-outline{margin:0 0 1.8em;padding-block:.75em;border-block:1px solid var(--line,#e7e1eb);font-size:.88em}
.forum-original .topic-outline summary{cursor:pointer;font-weight:600;min-height:44px;display:list-item;align-content:center}
.forum-original .topic-outline ol{margin:.5em 0 0;padding-inline-start:1.5em}
.forum-original .topic-outline a{display:inline-block;padding-block:.3em;text-underline-offset:.2em}
