/* Private layered-paper study. Existing content, fonts and artwork remain intact. */
:root{--paper:#faf7ef;--paper-desk:#e8e3d8;--paper-edge:#b7b4a52b;--paper-shadow:0 3px 12px #4b483c09}
body{background:var(--paper-desk) url('../images/paper-fibers.svg')}
.site-shell{background:transparent;padding-bottom:20px}
.illustrated-masthead,.site-header.art-navigation,#main-content,.site-footer{box-sizing:border-box;width:calc(100% - 48px);max-width:1344px;margin-left:auto;margin-right:auto;background-color:var(--paper);background-image:url('../images/paper-fibers.svg');border:1px solid var(--paper-edge)!important;border-radius:var(--surface-radius,12px);box-shadow:var(--paper-shadow)}
.illustrated-masthead{margin-top:20px;padding:14px 18px 18px}
.illustrated-masthead .masthead-brand{bottom:18px;width:calc(40% - 14px)}
.site-header.art-navigation{margin-top:16px;padding:6px 28px!important;top:10px;overflow:visible;z-index:30}
.site-header.art-navigation.is-scrolled{box-shadow:0 5px 15px #4b483c12}
#main-content{margin-top:22px;margin-bottom:22px;overflow:visible;min-width:0}
.site-footer{margin-top:0;padding:25px 32px;gap:20px}
.article-sidebar-rail .discovery-sidebar{top:calc(var(--sticky-header-height) + 28px)}
html{scroll-padding-top:calc(var(--sticky-header-height) + 32px)}

@media(max-width:1100px) and (min-width:781px){.site-header.art-navigation{padding-left:16px!important;padding-right:16px!important}}
@media(max-width:780px){.site-shell{padding-bottom:10px}.illustrated-masthead,.site-header.art-navigation,#main-content,.site-footer{width:calc(100% - 16px)}.illustrated-masthead{margin-top:8px;padding:18px 16px}.site-header.art-navigation{margin-top:10px;top:6px;padding:8px 14px!important;max-height:75dvh;overflow-y:auto}#main-content{margin-top:12px;margin-bottom:12px}.site-footer{padding:20px 16px;flex-wrap:wrap}.article-content{padding-left:18px;padding-right:18px}.topics-preview{padding-left:14px;padding-right:14px}.topic-intro-panel{padding:20px 16px}.article-sidebar-rail .discovery-sidebar{margin-left:18px;margin-right:18px}html{scroll-padding-top:calc(var(--sticky-header-height) + 24px)}}
@media(prefers-reduced-motion:reduce){.site-header.art-navigation{transition:none}}

/* Shared component tokens and public component surfaces. */
:root{--panel-radius:12px;--surface-radius:12px;--space-sm:12px;--space-md:20px;--space-lg:28px;--surface-gap:22px;--surface-padding:28px;--button-padding:10px 20px;--surface-paper:var(--paper)}
.paper-surface,.site-subscribe{background:var(--surface-paper) url('../images/paper-fibers.svg');border:1px solid var(--paper-edge);border-radius:var(--surface-radius);box-shadow:var(--paper-shadow)}
.site-subscribe{box-sizing:border-box;width:calc(100% - 48px);max-width:1344px;margin:0 auto var(--surface-gap);padding:var(--surface-padding) 32px;display:flex;justify-content:space-between;align-items:center;gap:var(--space-lg);font-family:var(--ui)}
.site-subscribe h2{margin:0 0 5px;font:500 27px/1.25 'Nunito Sans',sans-serif}.site-subscribe p{margin:0;color:var(--muted);font:400 18px/1.5 var(--ui)}
.button,.native-share-link,.discovery-sidebar,.search-dialog{border-radius:var(--surface-radius)}.button{padding:var(--button-padding)}
.shared-breadcrumb ol{display:flex;align-items:center;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}.shared-breadcrumb li{display:flex;gap:8px;align-items:center}.shared-breadcrumb li+li:before{content:'/';color:#657080}.shared-breadcrumb.topic-breadcrumb{display:block}
@media(max-width:780px){:root{--surface-gap:12px;--surface-padding:22px;--space-lg:18px}.site-subscribe{width:calc(100% - 16px);padding:22px 20px;align-items:flex-start;flex-direction:column}.site-subscribe h2{font-size:24px}.site-subscribe p{font-size:17px}.site-subscribe .button{min-height:44px;box-sizing:border-box}.shared-breadcrumb li:last-child{display:flex}}
