@media screen {
:root {--sgd-back:#101723;--sgd-panel:#142132;--sgd-deep:#101620;--sgd-rule:#34465b;--sgd-paper:#f9f2e6;--sgd-prim:#f0c477;--sgd-blue:#a8d7f4;--sgd-muted:#c7d2e2;--sgd-gutter:clamp(.8rem,3vw,2.1rem);--sgd-font:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body.sgc-themed,body.sgd-index{
 margin:0;min-height:100vh;background:var(--sgd-back);font-family:var(--sgd-font);isolation:isolate
}
body.sgc-themed::before,body.sgd-index::before{
 content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:
 linear-gradient(90deg,#101723f7 0%,#101723b0 55%,#10172353 100%),
 linear-gradient(180deg,#10172322,#101723 96%),
 var(--sg-campus-art,url("/assets/old-joe-cinematic.webp")) 68% 25% / cover no-repeat;
}
body.sgc-themed > .sgc-header,body.sgc-themed > .sgc-footer,
body.sgd-index > .sgc-header,body.sgd-index > .sgc-footer{background:#101620;border-color:#344353}
.sgc-themed :is(.sgc-crumb,.sgc-move-note){width:min(100% - 2*var(--sgd-gutter),76rem);margin-inline:auto;background:#142132ed;box-sizing:border-box;padding:.48rem .85rem;font-size:.875rem}
.sgc-themed .sgc-crumb{margin-top:.65rem;border:1px solid #c7def041;border-bottom:none}
.sgc-themed .sgc-crumb a,.sgc-themed .sgc-move-note a{color:var(--sgd-blue)}
.sgc-themed .sgc-crumb a{font-weight:760}
.sgc-themed .sgc-move-note{border:1px solid #c7def041}
.sgc-themed :is(.sgc-move-note summary,.sgc-crumb span){color:#e8e0d1}
.sgc-themed :is(body > .identity,body > .brand-header,body > .asc-portal-bar){display:none}
.sgc-themed>.identity,.sgc-themed>.brand-header,.sgc-themed>.asc-portal-bar{display:none}
.sgc-themed :is(.nav-shell,.main-nav,.guide-nav){
 width:min(100% - 2*var(--sgd-gutter),76rem);box-sizing:border-box;margin:.7rem auto 0;padding:0 .45rem;
 background:#182b40;border:1px solid #60869d85;box-shadow:0 5px 16px #03091455;
}
.sgc-themed :is(.nav-shell,.main-nav){top:var(--sgc-top);z-index:28}
.sgc-themed :is(#main-nav,.nav-inner){max-width:none;padding-inline:.15rem;scrollbar-color:var(--guide-scroll-thumb,#67899e) var(--guide-scroll-track,#182b40)}
.sgc-themed :is(#main-nav,.nav-inner,.guide-nav) a{
 color:var(--guide-tab-text,#e7f2fe);border-color:transparent;background:var(--guide-tab-surface,none);font-size:.875rem;font-weight:740;text-decoration:none;white-space:nowrap;
}
.sgc-themed :is(#main-nav,.nav-inner,.guide-nav) a:is(:hover,[aria-current]){color:var(--guide-tab-active-text,#ffebbb);background:var(--guide-tab-active,#243d59);border-color:var(--guide-tab-rule,var(--sgd-prim))}
.sgc-themed :is(#main-nav,.nav-inner,.guide-nav) a:focus-visible{outline:2px solid var(--guide-tab-focus,var(--sgd-prim));outline-offset:-3px}
.sgc-themed :is(main#main,.sgd-guide-root){
 width:min(100% - 2*var(--sgd-gutter),76rem);box-sizing:border-box;margin:1rem auto 2.2rem;background:var(--sgd-paper);border:1px solid #e4d6be
}
.sgc-themed .sgd-guide-root main#main{width:100%;margin:0;border:0}
.sgc-themed :is(main#main,.sgd-guide-root) :is(h1,h2,h3,h4){font-family:var(--sgd-font);font-weight:850;letter-spacing:-.041em;text-wrap:pretty}
.sgc-themed :is(.hero,.guide-hero){
 box-sizing:border-box;position:relative;isolation:isolate;margin:0;max-width:none;width:100%;min-height:unset;
 padding:clamp(1rem,4.0vw,3.6rem);gap:clamp(1.1rem,3vw,2.4rem);align-items:center;
 color:#fcf0db;background:#142132;overflow:hidden;border-top:3px solid var(--sgd-prim)
}
.sgc-themed :is(.hero,.guide-hero)::before{
 content:"";position:absolute;inset:0;z-index:-1;background:
 linear-gradient(85deg,#142132 0%,#142132ea 29%,#1421327d 82%),
 var(--sg-campus-art,url("/assets/old-joe-cinematic.webp")) 63% 28% / cover no-repeat
}
.sgc-themed .hero-copy{padding:0;max-width:none;min-width:0}
.sgc-themed :is(.hero,.guide-hero) h1{color:#fcf0db;font-size:clamp(2rem,4.8vw,4.7rem);line-height:.99;letter-spacing:-.064em;margin:.2rem 0 1.1rem}
.sgc-themed :is(.hero,.guide-hero) .eyebrow{color:#f2c878;margin-bottom:.65rem}
.sgc-themed :is(.hero,.guide-hero) :is(p:not(.eyebrow),.lead,.hero-sub){color:#e5edf7}
.sgc-themed :is(.hero,.guide-hero) :is(a:not(.button),figcaption){color:#bde4fd}
.sgc-themed :is(.hero,.guide-hero) .button:not(.secondary){background:#f0c477;color:#161811;border-color:transparent;font-weight:790}
.sgc-themed :is(.hero,.guide-hero) .button.secondary{color:#fff4d8;border-color:#f0c477;background:#192a3a}
.sgc-themed .hero :is(figure,.hero-photo),.sgc-themed .guide-hero>img{margin:0;min-width:0;min-height:0;position:relative;}
.sgc-themed :is(.hero figure img,.hero .hero-photo img,.guide-hero>img){
 display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border:1px solid #c9def16e;box-shadow:0 7px 25px #090e1966;border-radius:.18rem;
}
.sgc-themed .hero .hero-photo:after{display:none}
.sgc-themed .hero .photo-caption{bottom:.3rem;right:.3rem;left:auto;background:#101723c9;padding:.2rem .4rem;font:.75rem/1.3 var(--sgd-font);color:#ffebc6}
.sgc-themed .hero figure figcaption{background:none;padding:.4rem 0 0;font-size:.8rem}
.sgc-themed :is(.page-header,.page-intro,.guide-section,.wrap.reading,.content-block){scroll-margin-top:calc(var(--sgc-top) + 3rem)}
.sgc-themed :is(.page-header,.page-intro,.guide-section)>h1,.sgc-themed :is(.guide-section,.section-intro)>h2{color:#203653}
.sgc-themed .guide-nav{width:100%;margin:0;padding:.65rem .75rem}
.sgc-themed .guide-section{border-bottom:1px solid #d1c2a9}
.sgc-themed .guide-section .eyebrow{color:#554212}
.sgc-themed :is(main .route,main .route-list>a,.guide-section .card){border-top:2px solid var(--guide-section-rule,#90b7cb)}
.sgc-themed .sgd-guide-root .footer{padding-inline:var(--sgd-gutter)}
.sgc-preview-strip{
 margin:0;padding:.42rem var(--sgd-gutter);text-align:center;background:#264360;color:#f7efdf;font: .83rem/1.4 var(--sgd-font);
}
.sgc-preview-strip a{color:#ffdfa0;font-weight:750}
.sgd-index{color:#fcf0db;font:1rem/1.55 var(--sgd-font)}
.sgd-index .sgd-preview-main{margin:clamp(1rem,4vw,3.2rem) auto;width:min(100% - 2*var(--sgd-gutter),76rem)}
.sgd-index :is(.sgd-intro,.sgd-samples){padding:clamp(1.2rem,4vw,3.1rem);background:#142132f0;border:1px solid #c7def041;border-top:3px solid #f0c477;margin-top:1rem}
.sgd-index .sgd-intro{background:linear-gradient(90deg,#111c2afb,#132336dc 42%,#14213230),var(--sg-campus-art,url("/assets/old-joe-cinematic.webp")) 70% 29%/cover;min-height:17rem;display:flex;flex-direction:column;justify-content:center}
.sgd-index h1{font-weight:910;letter-spacing:-.074em;line-height:1.01;font-size:clamp(2.3rem,6vw,5.55rem);max-width:16ch;margin:.1rem 0 1rem}
.sgd-index .sgd-kicker{font-size:.82rem;text-transform:uppercase;color:#f0c477;letter-spacing:.13em;font-weight:800;margin:0 0 .65rem}
.sgd-index .sgd-intro>p:last-child{max-width:53ch;margin:0;color:#f3f0e9}
.sgd-samples h2{font-size:clamp(1.5rem,3vw,2.65rem);letter-spacing:-.037em;line-height:1.1;margin:0 0 1rem}
.sgd-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem}
.sgd-cards a{display:block;color:#fff4dd;text-decoration:none;background:#1b2d45;border:1px solid #9bd4f24d;border-top:2px solid #84b1ca}
.sgd-cards a:hover,.sgd-cards a:focus-visible{background:#243d59;outline:2px solid #f0c477}
.sgd-cards img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover}
.sgd-cards strong,.sgd-cards span{display:block;margin:.5rem .8rem}
.sgd-cards strong{font-size:1.08rem;line-height:1.18}
.sgd-cards span{color:#c7d2e2;font-size:.875rem;margin-bottom:1rem}
@media(max-width:700px){
 .sgd-cards{grid-template-columns:1fr}
 .sgd-cards img{aspect-ratio:2/1}
 .sgc-themed :is(.hero,.guide-hero){grid-template-columns:minmax(0,1fr)}
 .sgc-themed :is(.hero figure img,.hero .hero-photo img,.guide-hero>img){aspect-ratio:16/9}
 .sgc-themed .guide-nav{display:flex;overflow:auto;white-space:nowrap;justify-content:flex-start}
}
@media(prefers-reduced-motion:reduce){.sgc-themed *, .sgd-index *{scroll-behavior:auto!important}}
}
@media print{.sgc-preview-strip{display:none!important}}
@media screen {
.sgc-themed[data-guide-style] .sgc-crumb{border-bottom:1px solid #c7def041}
.sgc-themed[data-guide-style]>.sgc-move-note{margin:1rem auto;background:var(--guide-note-surface,#142132eb)}
.sgc-themed .hero-image,.sgc-themed .hero-image img{min-width:0}
.sgc-themed .hero-image img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border:1px solid #c9def16e;border-radius:.18rem}
.sgc-themed.sgc-case>.layout{width:min(100% - 2*var(--sgd-gutter),76rem);background:var(--sgd-paper);margin:1rem auto 2.2rem}
.sgc-themed.sgc-case>.layout>main#main{width:auto;border:0;margin:0;min-width:0}
.sgc-themed.sgc-case .page-header{background:#182b40;color:#fcf0db;padding:clamp(1rem,3vw,2.3rem);border-top:3px solid var(--sgd-prim)}
.sgc-themed.sgc-case .page-header :is(h1,p){color:#fcf0db}
.sgc-themed.sgc-case .page-header img{height:auto;max-width:100%}
.sgc-themed.sgc-lab :is(.topbar,.sidebar){
 color:#edf4fe;background:#142132;border-color:#34465b;
}
.sgc-themed.sgc-lab .sidebar a{color:#e1f1ff}
.sgc-themed.sgc-lab :is(.topbar,.shell){width:min(100% - 2*var(--sgd-gutter),76rem);margin-inline:auto}
.sgc-themed .sgd-guide-root>main:is(.activity-main,.classroom-main){
 padding:clamp(1rem,4vw,3rem);max-width:unset;
}
.sgc-themed .guide-shell{width:100%;background:var(--sgd-paper)}
.sgc-themed .guide-shell .guide-nav{box-shadow:none;width:auto}
.sgc-themed .guide-shell .guide-nav :is(p,nav){color:#e5eef6}
.sgc-themed .guide-shell .guide-nav a{display:block;white-space:normal}
.sgc-themed .guide-shell>main#main{border:0;margin:0;width:100%}
.sgc-themed .guide-shell :is(.guide-hero,.guide-nav){min-width:0}
.sgc-presenter-theme>.sgc-header,.sgc-presenter-theme>.sgc-footer{
 color:#fcf0db;background:#101620;border-color:#344353
}
.sgc-presenter-theme .sgc-crumb{background:#142132;color:#edf1fa}
.sgc-presenter-theme .sgc-crumb a{color:#a8d7f4}
@media(max-width:700px){
 .sgc-themed .hero-image img{aspect-ratio:16/9}
 .sgc-themed .guide-shell .guide-nav{margin:0;display:block;white-space:normal}
}
}

/* Old Joe is the only decorative cover. This deliberately does not target
   lesson figures, case photographs, charts, screenshots, or teaching slides. */
@media screen {
body.sgc-themed{
 --sans:var(--sgd-font);--serif:var(--sgd-font);--font:var(--sgd-font);
 --accent:#294e72;--teal:#315773;--teal-dark:#244767;--blue:#2d557c;--blue-dark:#234461;
 --muted:#4c5b6d;--tint:#e7eef4;--pale:#e7eef4;--line:#c8d1dc;--wash:#edf1f5;
 --lime:#f0c477;--navy:#142132;
 font-family:var(--sgd-font);
}
.sgc-themed :is(main#main,.sgd-guide-root,.nav-shell,.main-nav,.topbar,.sidebar,.site-shell){
 font-family:var(--sgd-font)
}
.sgc-themed :is(main#main,.sgd-guide-root) :is(input,select,textarea,button){
 font-family:var(--sgd-font)
}
.sgc-themed :is(main#main,.sgd-guide-root) :is(p,li,dt,dd,th,td,label,summary){
 font-family:var(--sgd-font)
}
.sgc-themed :is(.hero,.guide-hero){
 grid-template-columns:minmax(0,1fr);min-height:clamp(17rem,35vw,28rem);
 align-content:center;padding:clamp(1.2rem,5.25vw,4.3rem)
}
.sgc-themed :is(.hero > figure:not(.chart),.hero > .hero-photo,.guide-hero > img){
 display:none
}
.sgc-themed :is(.hero,.guide-hero)::before{
 background:linear-gradient(90deg,#101b2cee 0%,#152337d5 35%,#1523375b 76%,#101b2c20),
 linear-gradient(0deg,#111d2c99,transparent 60%),
 var(--sg-campus-art,url("/assets/old-joe-cinematic.webp")) 69% 32% / cover no-repeat
}
.sgc-themed :is(.hero-copy,.guide-hero>div){max-width:46rem}
.sgc-themed :is(.hero,.guide-hero) h1{max-width:22ch}
.sgc-themed :is(body > main, .sgd-guide-root) :is(.hero,.guide-hero) .eyebrow{
 color:#f0c477;font-weight:790;letter-spacing:.12em
}
.sgc-themed :is(.hero,.guide-hero) :is(.hero-sub,.lead){max-width:52ch}
.sgc-themed :is(.page-header,.page-intro,.section-intro,.guide-section) .eyebrow{color:#674b1b}
.sgc-themed :is(.route-no,.route .num,.route-arrow){color:#294e72}
.sgc-themed :is(.guide-hero,.hero) a:focus-visible{outline-color:#f0c477}
@media(max-width:700px){
 .sgc-themed :is(.hero,.guide-hero){min-height:14rem}
 .sgc-themed :is(.hero,.guide-hero)::before{
  background:linear-gradient(90deg,#101b2cf2 0%,#151f33d2 54%,#15233783),
  var(--sg-campus-art,url("/assets/old-joe-cinematic.webp")) 73% 27% / cover no-repeat
 }
}
}
@media screen{
 .sgc-themed.sgc-case .page-header .eyebrow{color:#f0c477}
}

/* CARS is a reading guide, not a separate dashboard. The activity controls
   and original scientific example remain in the same document. */
@media screen {
.sgc-themed.sgc-case > .layout{
 display:block;min-height:0;background:transparent;margin-top:.7rem
}
.sgc-case .layout > .sidebar{
 align-self:stretch;position:sticky;top:var(--sgc-top);z-index:28;max-height:none;
 padding:0 .35rem;background:#182b40;border:1px solid #60869d85;
 box-shadow:0 5px 16px #03091455;overflow:hidden
}
.sgc-case .sidebar .nav-list{
 display:flex;flex-flow:row nowrap;overflow-x:auto;overscroll-behavior-x:contain;gap:.14rem;
 align-items:stretch;scrollbar-color:var(--guide-scroll-thumb,#67899e) var(--guide-scroll-track,#182b40);margin:0;padding:0
}
.sgc-case .sidebar .nav-link{
 min-height:44px;flex:0 0 auto;gap:.38rem;white-space:nowrap;padding:.51rem .58rem;
 color:#e7f2fe;background:none;border:0;border-bottom:2px solid transparent;
 font:740 .875rem/1.3 var(--sgd-font);border-radius:0
}
.sgc-case .sidebar .nav-no{color:#a8d7f4;font-size:.72rem}
.sgc-case .sidebar .nav-link:is(:hover,[aria-current]){background:#243d59;color:#ffebbb;border-color:#f0c477}
.sgc-case .sidebar .nav-link:focus-visible{outline:2px solid #f0c477;outline-offset:-3px}
.sgc-case .cars-tools{color:#e8eef6;background:#142132ed;margin:.68rem 0;border:1px solid #60869d85}
.sgc-case .cars-tools summary{cursor:pointer;padding:.48rem .85rem;color:#bfe1fa;font-weight:750}
.sgc-case .cars-tools-body{padding:.05rem .85rem .82rem}
.sgc-case .cars-tools :is(.progress-wrap,.storage-label){margin:.45rem 0;padding:0;border:0}
.sgc-case .cars-tools :is(.storage-note,.small,.live-message){color:#e3ebf4}
.sgc-case .cars-tools .btn.quiet{background:#1b2b42;color:#fff5d8;border:1px solid #f0c477}
.sgc-case .layout > .content{
 margin:0;padding:clamp(1rem,4vw,3rem);background:#f9f2e6;
 border:1px solid #e4d6be;
}
.sgc-themed.sgc-case .page-header{max-width:none;margin:0 0 1.5rem}
.sgc-themed.sgc-case .content>section.route{border-top:0}
.sgc-themed.sgc-case .cars-hero,
.sgc-themed .sgc-layout-banner,
.sgc-themed.sgc-lab #prompt > .view-heading{
 color:#fcf0db;background:
 linear-gradient(90deg,#101b2cf5,#182739da 56%,#18273977),
 var(--sg-campus-art,url("/assets/old-joe-cinematic.webp")) 71% 30% / cover no-repeat;
 border:1px solid #60869d75;border-top:3px solid #f0c477;
 padding:clamp(1rem,4.4vw,3.4rem);
}
.sgc-themed.sgc-case .cars-hero{min-height:clamp(13rem,26vw,21rem);display:flex;flex-direction:column;justify-content:center;}
.sgc-themed.sgc-case .cars-hero h1{font-size:clamp(2.25rem,5vw,4.65rem);max-width:16ch;line-height:.99;margin:.2rem 0 1rem}
.sgc-themed.sgc-case .practice-photo img{max-height:16rem}
.sgc-themed :is(.sgc-layout-banner,.sgc-lab #prompt>.view-heading) :is(h1,h2,p,.lead){
 color:#fcf0db;
}
.sgc-themed .sgc-layout-banner{margin-bottom:1.2rem;}
.sgc-themed :is(.sgc-layout-banner,.view-heading) :is(.label,.eyebrow){color:#f0c477}
.sgc-themed .sgc-layout-banner h1 em{color:#f0c477}
}
