
/* Shared editorial navigation/library, followed by the selected Clove homepage. */
html:not([data-theme="dark"]){--bg:#fff;--surface:#fff;--surface-2:#f5f6f2;--text:#20231f;--text-2:#555c55;--border:#dedfd8;--primary:#284936;--accent:#42624b;--accent-ink:#284936}
body header.site,body #rail,body footer.site{display:none!important}
body main,body.rail-pinned main{margin-left:0!important;padding-top:0}
/* Page-level <main> shells (Scan Guide, General nuclear medicine) centre like every other page */
body main.sg,body main.gnmx-shell{margin-left:auto!important;margin-right:auto!important}
/* Scan Guide and atlas use the shared site palette (light and dark) instead of their own blue-grey tokens */
#app .sg{--sg-ink:var(--text);--sg-muted:var(--text-2);--sg-accent:var(--accent);--sg-line:var(--border);--sg-paper:var(--surface);--sg-soft:var(--surface-2)}
#app .gnmx-shell{--gnm-ink:var(--text);--gnm-muted:var(--text-2);--gnm-line:var(--border);--gnm-paper:var(--surface)}
body #main:focus{outline:none}
body.ed-is-home .nx-dock{display:none}
.ed-dialog{max-width:1000px;width:90vw;max-height:85dvh;padding:32px;border:1px solid var(--border);background:var(--bg);color:var(--text);margin:auto;overflow:auto}
.ed-dialog::backdrop{background:rgba(20,25,21,.45)}
.ed-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-bottom:24px}
.ed-dialog-head h2{font:400 32px var(--display);margin:0}
.ed-menu-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.ed-menu-grid h3{font:400 21px var(--display);margin:0 0 10px}
.ed-menu-grid a{display:block;padding:7px 0;font-size:14px;color:var(--text)}
.ed-menu-grid small{display:block;margin:12px 0 3px;color:var(--text-2)}
.ed-menu-bottom{border-top:1px solid var(--border);margin-top:26px;padding-top:18px;display:flex;gap:25px;align-items:center;flex-wrap:wrap}
.ed-menu-bottom a,.ed-menu-bottom button{color:var(--text);font:14px var(--font);background:transparent;border:0;cursor:pointer;padding:8px 0}
.ed-header a:focus-visible,.ed-icon:focus-visible,.ed-dialog a:focus-visible,.ed-dialog button:focus-visible{outline:2px solid var(--accent);outline-offset:5px}
body:not(.ed-is-home) #main{padding-top:24px}
.sr-grid{gap:28px}
.sr-syscard{border-radius:0;box-shadow:none}
.sr-syscard .sr-sc-head{background:transparent}
@media screen{
.ed-header,.ed-footer,.ed-library{width:min(1200px,calc(100% - 80px));margin-inline:auto;color:var(--text)}
.ed-header{min-height:88px;display:flex;align-items:center;gap:32px;border-bottom:1px solid var(--border);background:var(--bg)}
.ed-brand{font:400 28px/1 var(--display);letter-spacing:.12em;text-transform:uppercase;color:var(--text);text-decoration:none!important;white-space:nowrap}
.ed-nav{display:flex;align-items:center;gap:28px;margin-left:auto;font:500 13px/1.5 var(--font)}
.ed-nav a{color:var(--text-2);padding:12px 0}
.ed-nav a[aria-current="page"]{color:var(--accent-ink);text-decoration:underline;text-underline-offset:7px}
.ed-actions{display:flex;gap:4px}
.ed-icon{width:44px;height:44px;border:0;background:transparent;color:var(--text);display:grid;place-items:center;cursor:pointer;border-radius:0}
.ed-icon svg{width:22px;height:22px;stroke:currentColor;stroke-width:1.5;fill:none}
.ed-library a,.ed-footer a{color:inherit;text-decoration:none}
.ed-library a:hover,.ed-nav a:hover,.ed-footer a:hover{text-decoration:underline;text-underline-offset:5px}
.ed-header a:focus-visible,.ed-footer a:focus-visible,.ed-library a:focus-visible,.ed-icon:focus-visible{outline:2px solid var(--accent);outline-offset:5px}
.ed-icon,.ed-nav a,.ed-library a{transition:color .15s ease,background-color .15s ease,border-color .15s ease}
.ed-icon:hover{background:var(--surface-2)}
.ed-eyebrow{font:500 11px/1.6 var(--font);letter-spacing:.13em;text-transform:uppercase;color:var(--text-2)}
.ed-footer{border-top:1px solid var(--border);padding:28px 0 36px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:20px;font:400 12px/1.7 var(--font);color:var(--text-2)}
.ed-footer nav{display:flex;flex-wrap:wrap;gap:20px}
.ed-footer .ed-disclaimer{flex-basis:100%;max-width:90ch;margin:0;font-size:12px}
.ed-library{padding:32px 0 64px}
.ed-library-crumb{display:flex;gap:12px;font:400 13px/1.5 var(--font);color:var(--text-2)}
.ed-library-head{padding:40px 0;border-bottom:1px solid var(--border)}
.ed-library-head h1{font:400 clamp(36px,4vw,52px)/1.1 var(--display);letter-spacing:-.03em;margin:16px 0}
.ed-library-head p{font:400 17px/1.7 var(--font);max-width:60ch;color:var(--text-2);margin:0}
.ed-library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 48px;padding-top:40px}
.ed-library-grid section{min-width:0;border-bottom:1px solid var(--border);padding-bottom:28px}
.ed-library-grid h2{font:400 28px/1.2 var(--display);letter-spacing:-.02em;margin:0 0 18px}
.ed-library-grid h3{font:500 11px/1.6 var(--font);letter-spacing:.08em;text-transform:uppercase;color:var(--text-2);margin:20px 0 8px}
.ed-library-grid a{display:block;font:400 14px/1.5 var(--font);padding:9px 0;overflow-wrap:anywhere}
.ed-menu-library{display:inline-block;margin-bottom:24px;color:var(--accent-ink);font:400 18px/1.5 var(--display)}
@media(max-width:950px){
.ed-header,.ed-footer,.ed-library{width:calc(100% - 48px)}
.ed-header{min-height:80px;gap:24px}
.ed-nav{gap:20px}
.ed-nav a:nth-child(n+3){display:none}
.ed-library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
.ed-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
.ed-header,.ed-footer,.ed-library{width:calc(100% - 40px)}
.ed-header{min-height:76px;gap:12px}
.ed-brand{font-size:23px;letter-spacing:.08em}
.ed-nav{display:none}
.ed-actions{margin-left:auto}
.ed-library{padding:24px 0 40px}
.ed-library-head{padding:28px 0}
.ed-library-head h1{font-size:38px}
.ed-library-grid{grid-template-columns:1fr;padding-top:28px;gap:28px}
.ed-dialog{padding:24px;width:calc(100% - 32px)}
.ed-dialog-head h2{font-size:28px}
.ed-menu-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
.ed-icon,.ed-nav a,.ed-library a{transition:none}
}
html.nx-reduce .ed-header *,html.nx-reduce .ed-library *{transition:none}
}
@media print{
.ed-header,.ed-footer,.ed-dialog{display:none!important}
}

@media screen{
.ed-home.nca-home{--paper:#fcfbf7;--ink:#263a30;--muted:#5b675d;--line:#d8ddd3;--sage:#e9ede3;--accent:#355641;--space:48px;--hero-size:60px;font:400 14px/1.6 var(--font);color:var(--ink);background:var(--paper);text-align:left;overflow-wrap:break-word}
.ed-home.nca-home *{box-sizing:border-box}
.ed-home.nca-home h1,.ed-home.nca-home h2,.ed-home.nca-home h3,.ed-home.nca-home p{margin:0}
.ed-home.nca-home h1,.ed-home.nca-home h2,.ed-home.nca-home h3{font-family:var(--display);font-weight:400;color:var(--ink)}
.ed-home.nca-home a{color:inherit;text-decoration:none}
.ed-home.nca-home a:hover{text-decoration:underline;text-underline-offset:5px}
.ed-home.nca-home button,.ed-home.nca-home input{font:inherit;color:inherit}
.ed-home.nca-home .nc-wrap{padding-inline:44px}
.ed-home.nca-home [hidden]{display:none!important}
.ed-home.nca-home .nc-hero{position:relative;isolation:isolate;min-height:485px;background:var(--sage);display:flex;align-items:center;padding:48px 44px;overflow:hidden}
.ed-home.nca-home .nc-hero-art{position:absolute;inset:0;width:75%;height:100%;object-fit:cover;object-position:25% center;z-index:-1;mask-image:linear-gradient(to right,#000 60%,transparent 100%)}
.ed-home.nca-home .nc-hero-copy{width:45%;margin-left:auto}
.ed-home.nca-home .nc-label{font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);font-weight:500}
.ed-home.nca-home h1{font-size:var(--hero-size);line-height:1.04;letter-spacing:-.04em;margin:22px 0;text-wrap:balance}
.ed-home.nca-home .nc-intro{max-width:32ch;color:var(--muted);font-size:14px;line-height:1.75}
.ed-home.nca-home .nc-cta{display:inline-flex;align-items:center;gap:30px;border-bottom:1px solid var(--accent);padding:13px 0 8px;margin-top:18px;color:var(--accent);font-size:12px;font-weight:500}
.ed-home.nca-home .nc-subjects{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 20px;padding-block:19px;border-bottom:1px solid var(--line);font-size:12px}
.ed-home.nca-home .nc-subjects a{padding:7px 0}
.ed-home.nca-home .nc-section{padding-block:var(--space)}
.ed-home.nca-home .nc-section-title{display:flex;align-items:baseline;justify-content:space-between;gap:18px;margin-bottom:26px}
.ed-home.nca-home h2{font-size:37px;line-height:1.1;letter-spacing:-.025em}
.ed-home.nca-home .nc-section-title>a{font-size:12px;color:var(--accent)}
.ed-home.nca-home .nc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:27px}
.ed-home.nca-home .nc-story{min-width:0}
.ed-home.nca-home .nc-story img{display:block;width:100%;aspect-ratio:1.6;object-fit:cover;background:var(--sage);margin-bottom:19px}
.ed-home.nca-home .nc-story h3{font-size:25px;line-height:1.13;letter-spacing:-.02em;margin:10px 0}
.ed-home.nca-home .nc-story .nc-label{font-size:10px}
.ed-home.nca-home .nc-story p{color:var(--muted);font-size:11px}
.ed-home.nca-home .nc-feature{display:grid;grid-template-columns:1fr 1fr;gap:46px;align-items:center;padding:42px 44px;background:var(--sage)}
.ed-home.nca-home .nc-feature h2{font-size:45px;margin:16px 0 20px;max-width:12ch}
.ed-home.nca-home .nc-feature p{font-size:13px;color:var(--muted);max-width:35ch;line-height:1.8}
.ed-home.nca-home .nc-feature img{width:100%;aspect-ratio:1.4;object-fit:cover;display:block}
.ed-home.nca-home .nc-feature-links{display:flex;flex-wrap:wrap;gap:20px}
.ed-home.nca-home .nc-feature-links .nc-cta{gap:10px}
.ed-home.nca-home .nc-library{display:grid;grid-template-columns:1fr 2fr;gap:40px}
.ed-home.nca-home .nc-library h2{font-size:32px;margin-top:12px}
.ed-home.nca-home .nc-directory{display:grid;grid-template-columns:1fr 1fr;gap:0 30px}
.ed-home.nca-home .nc-directory>span{display:flex;justify-content:space-between;gap:10px;padding:16px 0;border-bottom:1px solid var(--line);font-size:13px}
.ed-home.nca-home .nc-foot{border-top:1px solid var(--line);padding-block:24px;color:var(--muted);display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;font-size:11px}
.ed-home.nca-home .nc-foot p{flex-basis:100%;font-size:10px}
html[data-theme="dark"] .ed-home.nca-home .nc-hero-art{filter:brightness(.5) saturate(.7)}
html[data-theme="dark"] .ed-home.nca-home .nc-story img,html[data-theme="dark"] .ed-home.nca-home .nc-feature img{filter:brightness(.8)}
@media(max-width:700px){
.ed-home.nca-home .nc-wrap{padding-inline:24px}
.ed-home.nca-home .nc-hero{padding:300px 24px 36px;min-height:0}
.ed-home.nca-home .nc-hero-art{width:100%;height:320px;object-position:35% center;mask-image:linear-gradient(to bottom,#000 72%,transparent 100%)}
.ed-home.nca-home .nc-hero-copy{width:100%;margin:0}
.ed-home.nca-home h1{font-size:46px;max-width:17ch}
.ed-home.nca-home .nc-grid{gap:20px}
.ed-home.nca-home .nc-story h3{font-size:22px}
.ed-home.nca-home .nc-feature{padding:32px 24px;gap:28px}
.ed-home.nca-home .nc-feature h2{font-size:36px}
.ed-home.nca-home .nc-library{grid-template-columns:1fr;gap:20px}
.ed-home.nca-home .nc-section-title h2{font-size:31px}
}
@media(max-width:480px){
.ed-home.nca-home .nc-grid{grid-template-columns:1fr;gap:28px}
.ed-home.nca-home .nc-story{display:grid;grid-template-columns:110px 1fr;gap:0 18px}
.ed-home.nca-home .nc-story img{grid-row:1/4;height:130px;aspect-ratio:auto;margin:0}
.ed-home.nca-home .nc-story h3{margin:8px 0}
.ed-home.nca-home .nc-feature{grid-template-columns:1fr}
.ed-home.nca-home .nc-feature img{aspect-ratio:1.8}
.ed-home.nca-home .nc-directory{grid-template-columns:1fr}
.ed-home.nca-home .nc-subjects{justify-content:flex-start}
}

/* Home-only palette and chrome; subpages retain the approved editorial treatment. */
html:not([data-theme="dark"]) body.ed-is-home:not(#nuc-a):not(#nuc-b){--bg:#fcfbf7;--text:#263a30;--text-2:#5b675d;--border:#d8ddd3;--accent:#355641;--accent-ink:#355641;--surface-2:#e9ede3}
html[data-theme="dark"] body.ed-is-home:not(#nuc-a):not(#nuc-b){--bg:#18221e;--text:#edf0e8;--text-2:#b9c6bb;--border:#3c4d42;--accent:#b5d3ba;--accent-ink:#b5d3ba;--surface-2:#263b2e}
html[data-theme="dark"] .ed-home.nca-home{--paper:#18221e;--ink:#edf0e8;--muted:#b9c6bb;--line:#3c4d42;--sage:#263b2e;--accent:#b5d3ba}
.ed-home.nca-home{width:min(1200px,100%);margin-inline:auto}
.ed-home.nca-home .nc-hero-art{max-width:none}
.ed-home.nca-home .nc-story{display:block;color:var(--ink);text-decoration:none}
.ed-home.nca-home .nc-story:hover h3{text-decoration:underline;text-underline-offset:4px}
.ed-home.nca-home .nc-story:hover img{filter:contrast(1.03)}
.ed-home.nca-home .nc-directory>a{display:flex;justify-content:space-between;gap:10px;padding:16px 0;border-bottom:1px solid var(--line);font-size:13px}
.ed-home.nca-home .nc-directory>a span{padding:0;border:0}
.ed-home.nca-home .nc-foot nav{display:flex;flex-wrap:wrap;gap:8px 22px}
.ed-home.nca-home .nc-foot nav a{min-height:36px;display:inline-flex;align-items:center}
.ed-home.nca-home .nc-foot .nc-illustration-note{font-size:11px}
.ed-home.nca-home a:focus-visible{outline:2px solid var(--accent);outline-offset:5px}
.nca-search-label{display:none}
.pc-later{font-size:.88rem;color:var(--text-3);margin-top:14px}
.deep-src{font-size:.78rem;color:var(--text-3);margin:.8em 0 0;line-height:1.5}
.tpl-actions{display:flex;align-items:center;gap:14px;margin:18px 0 12px}
.tpl-msg{font-size:.85rem;color:var(--text-3)}
.tpl-pre{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:18px;white-space:pre-wrap;font-family:var(--mono);font-size:.8rem;line-height:1.6;color:var(--text);max-height:none}
/* The bookmark / share / listen / print dock only belongs on pages people read. */
body:not(:has(#app.ed-reading)) .nx-dock{display:none!important}
.gnmx-more{margin:48px 0 8px;padding-top:18px;border-top:1px solid var(--border)}
.gnmx-more-h{font:500 11px/1.4 var(--font)!important;letter-spacing:.1em;text-transform:uppercase;color:var(--text-3)!important;margin:0 0 10px!important}
.gnmx-more div{display:flex;flex-wrap:wrap;gap:8px 22px}
.gnmx-more a{font:400 14px/1.5 var(--font);color:var(--accent-ink);cursor:pointer}
.gnmx-more a:hover{text-decoration:underline;text-underline-offset:4px}
body:not(.ed-is-home) #app.ed-chapter .pc-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))!important;gap:0 32px!important;border-top:0;margin-top:28px}
body:not(.ed-is-home) #app.ed-chapter .pc-grid .chap-card{display:block!important;padding:18px 0 20px!important;padding-left:0!important;border:0!important;border-top:1px solid var(--border)!important}
body:not(.ed-is-home) #app.ed-chapter .pc-grid .chap-card h4{font:400 21px/1.25 var(--display)!important;margin:0 0 6px!important}
body:not(.ed-is-home) #app.ed-chapter .pc-grid .chap-card::after{display:none!important}
body:not(.ed-is-home) #app.ed-chapter .pc-grid .chap-card p{font-size:13px;color:var(--text-3);margin:0}
body.ed-is-home .ed-header{width:min(1200px,100%);padding:22px 44px;min-height:88px;border-bottom:0;gap:24px}
body.ed-is-home .ed-brand{font-size:26px;letter-spacing:.12em}
body.ed-is-home .ed-nav{font-size:12px;gap:24px;font-weight:400}
body.ed-is-home .ed-actions{gap:4px;margin-left:0}
body.ed-is-home .ed-icon[aria-label="Search Nucpaedia"]{display:inline-flex;align-items:center;gap:7px;width:auto;padding:10px;font-size:12px}
body.ed-is-home .nca-search-label{display:inline}
body.ed-is-home .ed-icon svg{width:18px;height:18px}
body.ed-is-home .ed-footer{width:min(1112px,calc(100% - 88px));padding-block:24px;font-size:11px}
@media(max-width:700px){
 body.ed-is-home .ed-header{padding:20px 24px;gap:12px;min-height:76px}
 body.ed-is-home .ed-brand{font-size:23px;letter-spacing:.08em}
 body.ed-is-home .ed-nav{gap:15px}
 body.ed-is-home .ed-nav a:nth-child(n+2){display:none}
 body.ed-is-home .ed-footer{width:calc(100% - 48px)}
 .ed-home.nca-home .nc-section-title{flex-wrap:wrap}
}
@media(max-width:640px){body.ed-is-home .nca-search-label{display:none}}
@media(max-width:480px){
 .ed-home.nca-home .nc-story{display:grid;grid-template-columns:110px minmax(0,1fr)}
 .ed-home.nca-home .nc-section-title h2{font-size:30px}
}
@media(prefers-reduced-motion:reduce){.ed-home.nca-home *{scroll-behavior:auto!important;transition:none!important}}
html.nx-reduce .ed-home.nca-home *{scroll-behavior:auto!important;transition:none!important}
}
@media print{.ed-home.nca-home .nc-hero-art{display:none}.ed-home.nca-home img{max-width:160px}.ed-home.nca-home .nc-subjects,.ed-home.nca-home .nc-foot{display:none}}
