/* Shared entry format; atlas dimensions are intentionally excluded. */
.he-home,.he-reading{
 --he-gold:#967a3e;--he-surface:#f9f7f2;--he-surface-end:#f0ede6;--he-rule:#d8d3c8;--he-faint:#ece8df;
 --he-art-top:#d5d2cb;--he-art-bottom:#777672;--he-art-mid:#565654;--he-art-front:#363635;
 --he-object:#353535;--he-object-ink:#e7e1d5;--he-shadow:#25252512;
 color:var(--ink);
}
:root[data-theme=dark] :is(.he-home,.he-reading){
 --he-gold:#d5bf86;--he-surface:#252525;--he-surface-end:#202020;--he-rule:#414141;--he-faint:#303030;
 --he-art-top:#92918d;--he-art-bottom:#414140;--he-art-mid:#303030;--he-art-front:#1e1e1e;
 --he-object:#3b3b3b;--he-object-ink:#eee8db;--he-shadow:#00000038;
}
.hub-view #chapters{display:none}
.he-home{width:100%;max-width:none;margin:0;padding:34px var(--pad) 40px}
.he-home *,.he-reading *{box-sizing:border-box}
.he-home a,.he-reading a{color:inherit;text-decoration:none}
.he-home :is(h1,h2,h3,p),.he-reading :is(h2,h3,p){margin:0}
.he-kicker{display:block;font:10px/1.5 'Blackbook Latin',monospace;letter-spacing:.12em;color:var(--muted)}
.he-masthead{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:0 2px 30px}
.he-masthead h1{font-size:clamp(28px,3.2vw,46px);font-weight:600;line-height:1.35;letter-spacing:-.045em;margin:10px 0}
.he-masthead p{font-size:12px;color:var(--muted)}
.he-edition{padding-left:24px;border-left:1px solid var(--line);display:grid;gap:11px}
.he-edition>span{font:700 30px/.92 Arial,sans-serif;letter-spacing:-.055em}
.he-edition small{font:7px/1.5 monospace;letter-spacing:.12em;color:var(--muted)}
.he-zone{position:relative;isolation:isolate;margin:0 0 28px;padding:26px 26px 34px;border:1px solid var(--he-rule);border-radius:9px;background:linear-gradient(110deg,var(--he-surface),var(--he-surface-end));box-shadow:3px 3px 0 -1px var(--bg),3px 3px 0 var(--he-rule),6px 6px 0 -1px var(--bg),6px 6px 0 var(--he-rule)}
.he-zone:before{content:'';position:absolute;inset:0 auto 0 9px;width:1px;background:var(--he-rule);opacity:.45;z-index:-1;pointer-events:none}
.he-zone-header{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}
.he-zone-header h2{font-size:25px;letter-spacing:-.04em;line-height:1.4;margin-top:7px;font-weight:600}
.he-zone-header>p{font-size:11px;line-height:1.6;color:var(--muted)}
.he-entry-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.he-page-number{display:block;text-align:center;font:8px/1 monospace;letter-spacing:.2em;margin:25px 0 -15px;color:var(--muted)}
/* The link itself, including its caption, is 4:3 at every breakpoint. */
.he-entry{position:relative;display:block;aspect-ratio:4/3;min-width:0;min-height:0;overflow:hidden;border:1px solid var(--he-rule);border-radius:8px;background:linear-gradient(140deg,var(--he-surface),var(--he-faint));color:var(--ink);box-shadow:0 4px 10px var(--he-shadow);isolation:isolate}
.he-entry:before{content:'';position:absolute;inset:11px;border:1px solid var(--he-rule);opacity:.25;border-radius:2px;pointer-events:none}
.he-card-meta{position:absolute;top:14px;left:17px;right:17px;display:flex;justify-content:space-between;align-items:center;gap:10px;z-index:2}
.he-card-meta>span{font-size:10px;color:var(--muted)}
.he-card-meta>small{font:8px monospace;letter-spacing:.1em;color:var(--he-gold)}
.he-entry-art{position:absolute;top:17%;bottom:31%;left:18%;right:18%;display:grid;place-items:center;container-type:size;color:var(--he-gold)}
.he-card-caption{position:absolute;bottom:0;left:18px;right:18px;min-height:27%;padding:12px 0 14px;border-top:1px solid var(--he-rule);display:flex;align-items:center;justify-content:space-between;gap:10px}
.he-card-caption h3{font-size:clamp(17px,1.5vw,23px);font-weight:550;line-height:1.4;letter-spacing:-.025em;color:var(--ink)}
.he-card-caption p{font-size:10px;line-height:1.5;margin-top:5px;color:var(--muted)}
.he-arrow{font:21px/1 Arial,sans-serif;flex:none;color:var(--he-gold)}
.he-clock{height:94%;width:auto;justify-self:center;aspect-ratio:1;position:relative;display:grid;place-items:center;border:1px solid var(--he-gold);border-radius:50%;background:repeating-conic-gradient(from -1deg,var(--he-gold) 0 1deg,transparent 1deg 15deg);box-shadow:5px 8px 12px var(--he-shadow);transform:rotate(-9deg)}
.he-clock:before{content:'';position:absolute;inset:9px;border:1px solid var(--he-rule);border-radius:50%;background:var(--he-surface)}
.he-clock:after{content:'';position:absolute;inset:18px;border:2px solid var(--he-gold);border-right-color:var(--he-rule);border-bottom-color:var(--he-rule);border-radius:50%;transform:rotate(20deg)}
.he-clock>span{position:relative;z-index:1;font:50px/.9 Arial,sans-serif;text-align:center;letter-spacing:-.07em;transform:rotate(9deg);color:var(--ink)}
.he-clock small{display:block;font:7px/2 monospace;letter-spacing:.22em;margin-top:5px;color:var(--he-gold)}
.he-clock>i{position:absolute;top:10px;right:23px;width:5px;height:5px;border-radius:50%;background:var(--he-gold);z-index:2}
.he-book{height:88%;width:45%;position:relative;transform:perspective(600px) rotateY(-19deg) rotateZ(-9deg);filter:drop-shadow(8px 10px 5px var(--he-shadow))}
.he-book-front{position:absolute;inset:0;padding:12px;background:linear-gradient(110deg,#555,var(--he-object) 20%,#414141);border:1px solid #777;box-shadow:inset 4px 0 3px #0003,3px 2px 0 #ddd7c9,5px 4px 0 #99958b,8px 6px 0 #3b3b3b;display:flex;flex-direction:column;justify-content:space-between;color:var(--he-object-ink)}
.he-book-front>small{font:5px/1.5 monospace;letter-spacing:.1em;color:var(--he-object-ink);opacity:.7}
.he-book-front strong{font-size:18px;line-height:1.4;font-weight:500;letter-spacing:.07em}
.he-book-front>span{display:flex;justify-content:space-between;font:7px/1 Arial,sans-serif;border-top:1px solid #d0c5a766;padding-top:8px;color:#d9c58d}
.he-book-spine{position:absolute;left:-9px;top:0;bottom:0;width:9px;writing-mode:vertical-rl;background:#2c2c2c;color:#cbbd9b;font:5px/1 monospace;letter-spacing:.1em;padding:9px 2px}
.he-film{width:88%;padding:7px;background:var(--he-object);border:1px solid #777;border-radius:3px;transform:rotate(-7deg);box-shadow:6px 9px 9px var(--he-shadow);color:var(--he-object-ink)}
.he-film-top{font:6px/1.5 monospace;letter-spacing:.12em;margin-bottom:5px;opacity:.7}
.he-film-frame{position:relative;aspect-ratio:16/9;overflow:hidden;border:1px solid #b9b4a244}
.he-film-frame svg{width:100%;height:100%}
.he-film-frame>span{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;border:1px solid #ddd8cb77;border-radius:50%;width:27px;height:27px;font-size:22px;background:#2223;color:#f1ece1}
.he-film-bottom{font:7px/1 monospace;letter-spacing:.5em;white-space:nowrap;padding-top:7px;opacity:.55;overflow:hidden}
.he-atlas-frames{height:91%;width:85%;display:flex;align-items:center;justify-content:center}
.he-atlas-frames>span{flex:none;width:47%;aspect-ratio:3/4;border:4px solid #ded9cc;background:#aaa;box-shadow:5px 7px 8px var(--he-shadow);overflow:hidden;transform:rotate(-12deg)}
.he-atlas-frames>span+span{margin-left:-5%;transform:rotate(9deg) translateY(5px);border-color:#b9b6ad}
.he-atlas-frames svg{width:100%;height:100%}
.he-storyboard{width:95%;transform:perspective(600px) rotateY(-7deg) rotateX(10deg) rotateZ(-4deg)}
.he-storyboard>div:first-child{display:flex;gap:6px}
.he-storyboard>div:first-child>span{position:relative;width:33.333%;aspect-ratio:4/3;overflow:hidden;border:1px solid var(--he-gold);background:var(--he-faint)}
.he-storyboard svg{width:100%;height:100%}
.he-storyboard b{position:absolute;bottom:4px;left:5px;font:6px monospace;color:#eee8dc}
.he-edit-track{height:18px;margin-top:8px;display:flex;gap:4px;position:relative}
.he-edit-track>i{flex:1;border:1px solid var(--he-gold);background:var(--he-faint);border-radius:2px}
.he-edit-track>i:nth-child(2){flex:1.4;opacity:.5}
.he-edit-track>b{width:1px;top:-65px;bottom:-4px;left:57%;background:var(--he-gold)}
.he-storyboard>small{font:5px/2.5 monospace;letter-spacing:.12em;color:var(--muted)}
.he-documents{position:relative;height:86%;width:49%;transform:rotate(-7deg)}
.he-documents>i,.he-documents>div{position:absolute;inset:0;border:1px solid var(--he-rule);background:var(--he-surface);border-radius:2px}
.he-documents>i:first-child{transform:rotate(-12deg) translateX(-7px)}
.he-documents>i:nth-child(2){transform:rotate(-5deg) translateX(-3px)}
.he-documents>div{padding:13px;box-shadow:5px 7px 8px var(--he-shadow);display:flex;flex-direction:column;justify-content:space-between;border-color:var(--he-gold)}
.he-documents small{font:5px/1.5 monospace;color:var(--muted)}
.he-documents b{font-size:17px;font-weight:500;letter-spacing:.1em;color:var(--ink)}
.he-documents>div>span{font:30px/1 Arial;color:var(--he-gold)}
.he-documents em{font:4px monospace;letter-spacing:.1em;color:var(--muted)}
.he-toolmap{width:90%;height:83%;display:grid;grid-template-columns:1fr .7fr 1fr;grid-template-rows:1fr 1fr;gap:12px;position:relative;align-items:center}
.he-toolmap:before,.he-toolmap:after{content:'';position:absolute;left:15%;right:15%;top:50%;height:1px;background:var(--he-rule);transform:rotate(25deg);z-index:-1}
.he-toolmap:after{transform:rotate(-25deg)}
.he-toolmap>span{border:1px solid var(--he-rule);border-radius:4px;padding:9px 4px;background:var(--he-surface);color:var(--muted);font-size:11px;text-align:center}
.he-toolmap>span:nth-child(1){grid-column:1;grid-row:1}.he-toolmap>span:nth-child(2){grid-column:3;grid-row:1}.he-toolmap>span:nth-child(4){grid-column:1;grid-row:2}.he-toolmap>span:nth-child(5){grid-column:3;grid-row:2}
.he-toolmap>b{grid-column:2;grid-row:1/3;font:24px/1 Arial,sans-serif;letter-spacing:-.05em;color:var(--he-gold);text-align:center}
.he-services{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:32px}
.he-services a{display:grid;grid-template-columns:1fr auto;padding:20px 24px}
.he-services a+a{border-left:1px solid var(--line)}.he-services a:first-child{padding-left:2px}
.he-services a>span:first-child{font:8px monospace;letter-spacing:.1em;color:var(--muted);grid-column:1}
.he-services b{font-size:15px;font-weight:550;margin-top:8px;grid-column:1}
.he-services small{font-size:10px;color:var(--muted);grid-column:1;margin-top:5px}
.he-services .he-arrow{grid-column:2;grid-row:1/4;align-self:center;font-size:20px}
.he-home a:focus-visible,.he-reading a:focus-visible{outline:2px solid var(--he-gold);outline-offset:5px}
/* Reading belongs to the guide, not to the homepage. */
.directory>.he-reading{grid-column:1/-1;margin:0 0 12px}
.he-reading{display:grid;grid-template-columns:1fr 1.85fr;border:1px solid var(--he-rule);border-radius:8px;overflow:hidden;background:linear-gradient(120deg,var(--he-surface),var(--he-surface-end))}
.he-reading-intro{padding:25px 28px;border-right:1px solid var(--he-rule)}
.he-reading-intro h2{font-size:24px;line-height:1.4;letter-spacing:-.04em;margin:12px 0 8px}
.he-reading-intro p{font-size:12px;color:var(--muted)}
.he-reading-link{display:flex!important;justify-content:space-between;align-items:center;max-width:220px;padding:11px 14px;margin-top:20px;border:1px solid var(--he-rule);border-radius:4px;background:var(--he-faint);font-size:12px;color:var(--ink)}
.he-reading-link>span{color:var(--he-gold);font-size:18px}
.he-reading-state{padding:25px 28px 17px;min-width:0}
.he-reading-current{display:flex;align-items:center;gap:18px;min-height:70px}
.he-chapter-no{font:52px/1 Arial,sans-serif;letter-spacing:-.07em;color:var(--he-gold);border-right:1px solid var(--he-rule);padding-right:20px}
.he-reading-current>div{min-width:0}
.he-reading-current small{font-size:11px;color:var(--muted)}
.he-reading-current h3{font-size:19px;line-height:1.5;margin:4px 0;overflow-wrap:anywhere}
.he-reading-current p{font-size:10px;color:var(--muted);display:flex;flex-wrap:wrap;gap:14px}
.he-reading-track{height:3px;background:var(--he-rule);margin:15px 0 13px;border-radius:2px;overflow:hidden}
.he-reading-track>span{height:100%;display:block;background:var(--he-gold)}
.he-chapter-timeline{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}
.he-chapter-timeline a{display:grid;gap:4px;padding-top:7px;color:var(--muted);min-width:0}
.he-chapter-timeline b{font:11px Arial,sans-serif}
.he-chapter-timeline span{font-size:9px;line-height:1.4}
.he-chapter-timeline i{width:4px;height:4px;border-radius:50%;background:var(--line);margin-bottom:3px}
.he-chapter-timeline .is-current{color:var(--ink)}
.he-chapter-timeline .is-current i{background:var(--he-gold);box-shadow:0 0 0 3px var(--he-faint)}
.he-chapter-timeline .is-current b{font-weight:700}
.he-local-note{display:block;font-size:9px;color:var(--muted);margin-top:13px}
.he-entry{transform:perspective(900px) translateY(0) rotateX(0deg) rotateY(0deg) scale(1);transition:transform .45s cubic-bezier(.2,.8,.2,1),box-shadow .35s,border-color .3s}
.he-entry:after{content:'';position:absolute;inset:0;z-index:4;border-radius:inherit;pointer-events:none;background:radial-gradient(ellipse at var(--surface-x,50%) var(--surface-y,50%),#ffffff28,transparent 65%);opacity:0;transition:opacity .3s}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 .he-home .he-entry:hover{color:var(--ink);z-index:8;transform:perspective(900px) translateY(-8px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) scale(1.04);box-shadow:0 22px 32px var(--he-shadow);border-color:var(--he-gold)}
 .he-entry:hover:after{opacity:1}.he-services a:hover{background:var(--he-faint)}.he-chapter-timeline a:hover{text-decoration:underline}
}

/* Downloads v2: isolated three-pane workspace; never inherits .sidebar grid spans. */
#main .bb-download-workspace{display:grid;grid-template-columns:clamp(210px,16vw,280px) minmax(0,1fr) clamp(320px,27vw,480px);gap:20px;align-items:stretch;padding:24px clamp(20px,1.6vw,40px);box-sizing:border-box;color:var(--ink);min-width:0}
#main .bb-download-workspace *{box-sizing:border-box}
#main .bb-download-workspace>.resource-rail{grid-column:1;grid-row:1;position:static;display:flex;flex-direction:column;gap:0;width:auto;height:100%;max-height:none;min-width:0;min-height:0;padding:0;overflow-y:auto;border:0;background:transparent}
#main .bb-download-workspace .resource-rail header{padding:0;margin:0 0 24px;border:0}
#main .bb-download-workspace .resource-rail h1{font-size:30px;line-height:1.3;margin:0 0 12px}
#main .bb-download-workspace .resource-rail p{font-size:13px;line-height:1.8;margin:0;color:var(--muted)}
#main .bb-download-workspace .resource-search{display:block;margin:0 0 28px}
#main .bb-download-workspace .resource-search>span{display:block;font-size:11px;color:var(--muted);margin-bottom:8px}
#main .bb-download-workspace .resource-search input{height:40px;width:100%;min-width:0;padding:10px 12px;border:1px solid var(--line);background:var(--soft);color:var(--ink);border-radius:10px;font-size:12px;box-shadow:none}
#main .bb-download-workspace .resource-search input:focus{outline:none;border-color:var(--muted);box-shadow:inset 0 0 0 1px var(--muted)}
#main .bb-download-workspace .resource-rail nav{display:grid;gap:6px;margin:0 0 24px}
#main .bb-download-workspace .resource-rail nav>small{font-size:11px;color:var(--muted);padding:0 10px 8px}
#main .bb-download-workspace .resource-rail nav button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px;padding:10px 12px;text-align:left;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:13px;line-height:1.5}
#main .bb-download-workspace .resource-rail nav button.active{background:var(--soft);color:var(--ink);font-weight:700}
#main .bb-download-workspace .resource-rail nav button small{font-size:10px;color:var(--muted)}
#main .bb-download-workspace .resource-rail footer{display:grid;gap:6px;margin-top:auto;padding-top:24px}
#main .bb-download-workspace .resource-rail footer :is(a,button){display:block;text-align:left;padding:10px 12px;margin:0;color:var(--muted);font-size:12px;border:0;background:none;border-radius:8px;text-decoration:none}
#main .bb-download-workspace .resource-rail footer .resource-manage{background:var(--soft);color:var(--ink);border:1px solid var(--line)}
#main .bb-download-workspace>.resource-list{grid-column:2;grid-row:1;display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden}
#main .bb-download-workspace .resource-list-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:40px;padding:0 0 20px;margin:0;border:0}
#main .bb-download-workspace .resource-list-heading h2{font-size:16px;line-height:1.5;margin:0}
#main .bb-download-workspace .resource-list-heading span{font-size:11px;color:var(--muted)}
#main .bb-download-workspace .resource-grid-scroll{flex:1;min-height:0;overflow-y:auto;padding:0 4px 24px 0;scrollbar-width:thin}
#main .bb-download-workspace .resource-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(185px,220px));gap:16px;align-items:start;align-content:start;justify-content:start}
#main .bb-download-workspace .resource-choice{display:flex;flex-direction:column;width:100%;height:auto;aspect-ratio:1/1.41421356237;min-width:0;margin:0;padding:0;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--ink);text-align:left;overflow:hidden;cursor:pointer}
#main .bb-download-workspace .resource-choice.selected{border-color:color-mix(in srgb,var(--ink) 50%,var(--bg))}
#main .bb-download-workspace .resource-choice:focus-visible{outline:2px solid var(--muted);outline-offset:-4px}
#main .bb-download-workspace .resource-choice-cover{width:100%;height:47%;flex:0 0 47%;padding:0;background:var(--soft);overflow:hidden}
#main .bb-download-workspace .resource-choice-cover img{display:block;width:100%;height:100%;object-fit:cover}
#main .bb-download-workspace .resource-choice>div:last-child{display:flex;flex:1;flex-direction:column;min-height:0;padding:14px}
#main .bb-download-workspace .resource-choice h2{font-size:16px;line-height:1.4;height:2.8em;flex:none;margin:7px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#main .bb-download-workspace .resource-choice small{font-size:10px;line-height:1.5;color:var(--muted)}
#main .bb-download-workspace .resource-choice p{font-size:11px;line-height:1.65;max-height:3.3em;margin:0;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#main .bb-download-workspace .resource-choice>div:last-child>span{font-size:11px;margin-top:auto;padding-top:10px;color:var(--ink)}
#main .bb-download-workspace .resource-document-art{display:grid;place-items:center;justify-content:center;align-content:center;width:100%;height:100%;padding:16px;background:var(--soft)}
#main .bb-download-workspace .resource-paper{width:78px;height:102px;padding:12px 10px;background:var(--panel);border:1px solid var(--line);border-radius:3px;box-shadow:5px 5px 0 color-mix(in srgb,var(--ink) 5%,transparent);transform:rotate(-7deg)}
#main .bb-download-workspace .resource-paper span{display:block;font-size:6px;line-height:1.2;letter-spacing:.04em;color:var(--muted);margin:0;padding:0}
#main .bb-download-workspace .resource-paper b{display:block;font-size:25px;line-height:1.2;margin:10px 0 12px;color:var(--ink);opacity:1}
#main .bb-download-workspace .resource-paper i{display:block;width:100%;height:2px;margin:5px 0;background:var(--line)}
#main .bb-download-workspace .resource-paper i:last-child{width:60%;background:var(--red)}
#main .bb-download-workspace>.resource-reader{grid-column:3;grid-row:1;position:static;display:block;width:100%;height:100%;min-width:0;min-height:0;max-height:none;margin:0;padding:0;border:1px solid var(--line);border-radius:16px;background:var(--panel);overflow-y:auto;overflow-x:hidden;scrollbar-width:thin}
#main .bb-download-workspace .resource-reader-cover{height:190px;max-height:190px;overflow:hidden;background:var(--soft)}
#main .bb-download-workspace .resource-reader-cover img{display:block;width:100%;height:100%;object-fit:contain}
#main .bb-download-workspace .resource-reader-body{padding:24px}
#main .bb-download-workspace .resource-reader-body h2{font-size:26px;line-height:1.4;margin:12px 0 20px}
#main .bb-download-workspace .resource-reader-body h3{font-size:14px;line-height:1.5;margin:24px 0 10px;color:var(--ink)}
#main .bb-download-workspace .resource-reader-body p{font-size:13px;line-height:1.85;color:var(--muted);margin:0 0 16px;overflow-wrap:anywhere;white-space:pre-line}
#main .bb-download-workspace .resource-reader-body>.primary{display:inline-flex;padding:12px 18px;border-radius:9px;margin:20px 0 12px;font-size:13px}
#main .bb-download-workspace .resource-reader-body>button{font-size:12px;color:var(--muted)}
#main .bb-download-workspace .resource-directions{display:grid;gap:16px;margin-top:20px}
#main .bb-download-workspace .resource-directions section{padding:0;margin:0;background:transparent;border:0}
#main .bb-download-workspace .resource-directions h3{margin:0 0 6px;font-size:12px;color:var(--red)}
@media(min-width:1101px){
 body:has(.bb-download-workspace){overflow:hidden}
 body #main:has(.bb-download-workspace){height:calc(100dvh - 68px);min-height:0;overflow:hidden;padding:0}
 #main .bb-download-workspace{height:100%}
 body:has(.bb-download-workspace) #site-footer{display:none!important}
}
@media(max-width:1100px){
 #main .bb-download-workspace{grid-template-columns:190px minmax(0,1fr);height:auto}
 #main .bb-download-workspace>.resource-rail{grid-column:1;grid-row:1/3;height:auto}
 #main .bb-download-workspace>.resource-list{grid-column:2;grid-row:1;overflow:visible}
 #main .bb-download-workspace>.resource-reader{grid-column:2;grid-row:2;height:auto;max-height:none}
 #main .bb-download-workspace .resource-card-grid{grid-template-columns:repeat(auto-fill,minmax(170px,210px))}
}
@media(max-width:650px){
 #main .bb-download-workspace{display:block;padding:24px 16px}
 #main .bb-download-workspace>.resource-rail{display:block;overflow:visible;margin-bottom:24px}
 #main .bb-download-workspace .resource-rail nav{grid-template-columns:repeat(2,minmax(0,1fr))}
 #main .bb-download-workspace .resource-rail nav>small{grid-column:1/-1}
 #main .bb-download-workspace .resource-rail footer{display:flex;flex-wrap:wrap;padding-top:0}
 #main .bb-download-workspace .resource-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #main .bb-download-workspace>.resource-reader{margin-top:24px}
}
@media(prefers-reduced-motion:no-preference){
 .he-masthead,.he-zone,.he-services{animation:bb-arrive .65s cubic-bezier(.2,.75,.2,1) both}
 .he-zone:nth-of-type(1){animation-delay:.07s}.he-zone:nth-of-type(2){animation-delay:.14s}.he-services{animation-delay:.2s}
 html.bb-booting .he-home>*{animation-play-state:paused}html.bb-navigating .he-home>*{animation:none}
}
@media(min-width:1600px){.he-clock>span{font-size:65px}.he-book-front strong{font-size:23px}.he-documents b{font-size:21px}}
@media(max-width:1100px){
 .he-home{padding:28px 22px 40px}.he-zone{padding:23px 21px 32px}.he-entry-grid{gap:18px}
 .he-card-caption{left:14px;right:14px;padding:10px 0 12px}.he-card-caption h3{font-size:17px}.he-card-caption p{font-size:9px}
 .he-card-meta{top:12px;left:14px;right:14px}.he-card-meta>span{font-size:9px}.he-book-front{padding:9px}.he-book-front strong{font-size:15px}.he-book-front>small{font-size:4px}
 .he-clock>span{font-size:41px}.he-documents>div{padding:9px}.he-documents b{font-size:14px}.he-documents>div>span{font-size:25px}.he-documents em{font-size:3px}
}
@media(max-width:900px){.he-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.he-entry-art{left:20%;right:20%}.he-clock>span{font-size:50px}.he-book-front strong{font-size:19px}.he-documents b{font-size:18px}.he-reading{grid-template-columns:1fr 1.7fr}.he-reading-intro,.he-reading-state{padding:21px}}
@media(max-width:640px){
 .he-home{padding:24px 16px 34px}.he-masthead{padding-bottom:24px}.he-masthead h1{font-size:30px}.he-edition{display:none}
 .he-zone{padding:21px 17px 30px;margin-bottom:23px}.he-zone-header{display:block;margin-bottom:18px}.he-zone-header h2{font-size:24px}.he-zone-header>p{font-size:11px;margin-top:7px}
 .he-entry-grid{grid-template-columns:1fr;gap:18px}.he-entry-art{left:22%;right:22%;top:18%;bottom:32%}
 .he-card-caption{left:20px;right:20px;padding:13px 0 15px}.he-card-caption h3{font-size:23px}.he-card-caption p{font-size:11px}
 .he-card-meta{top:16px;left:20px;right:20px}.he-card-meta>span{font-size:10px}.he-card-meta>small{font-size:9px}
 .he-clock>span{font-size:56px}.he-book-front{padding:12px}.he-book-front strong{font-size:20px}.he-book-front>small{font-size:5px}
 .he-documents>div{padding:12px}.he-documents b{font-size:19px}.he-documents em{font-size:4px}.he-toolmap>span{font-size:12px}
 .he-services a{padding:18px 12px}.he-services b{font-size:13px}.he-services small{font-size:9px}.he-services a>span:first-child{font-size:7px}.he-services .he-arrow{font-size:16px}
 .he-reading{grid-template-columns:1fr}.he-reading-intro{border-right:0;border-bottom:1px solid var(--he-rule);padding:22px}.he-reading-link{max-width:none}.he-reading-state{padding:22px}.he-chapter-timeline{gap:6px}.he-chapter-timeline span{font-size:8px}
}
@media(max-width:380px){
 .he-card-caption h3{font-size:20px}.he-card-caption p{font-size:9px}.he-clock>span{font-size:43px}.he-book-front strong{font-size:16px}.he-documents b{font-size:15px}
 .he-services{grid-template-columns:1fr}.he-services a,.he-services a:first-child{padding:17px 3px}.he-services a+a{border-left:0;border-top:1px solid var(--line)}.he-chapter-timeline span{display:none}
}

/* Editorial hierarchy: course covers, reference indexes and a separate workspace. */
.he-home{
 --he-card:#fff;--he-card-end:#f5f2ec;--he-zone:#e6e2d9;--he-card-line:#c9c2b5;
 --he-depth:0 9px 24px #30271912,0 1px 2px #30271914;
 --he-highlight:#f1e5c6;--he-highlight-end:#fffcf4;
}
:root[data-theme=dark] .he-home{
 --he-card:#343434;--he-card-end:#292929;--he-zone:#222222;--he-card-line:#585650;
 --he-depth:0 10px 25px #00000035,0 1px 2px #00000066;
 --he-highlight:#413b2f;--he-highlight-end:#2c2b28;
}
.he-home .he-masthead{padding:10px 0 32px;border-bottom:1px solid var(--line);margin-bottom:32px;align-items:center}
.he-masthead h1{font-size:clamp(30px,3.1vw,52px);font-weight:580;letter-spacing:-.055em;margin:12px 0 13px;line-height:1.25}
.he-masthead h1>span{color:var(--muted);font-weight:420}
.he-masthead p{font-size:13px;line-height:1.7}
.he-home-nav{display:flex;gap:8px;align-self:flex-end;padding-bottom:5px}
.he-home-nav button{display:flex;align-items:center;gap:10px;border:1px solid var(--he-card-line);border-radius:5px;padding:11px 13px;font-size:11px;background:var(--he-card);color:var(--ink);box-shadow:0 3px 7px var(--he-shadow);transition:background .2s,transform .2s}
.he-home-nav small{font:9px monospace;color:var(--he-gold)}
.he-home-nav button>span{font-size:14px;color:var(--muted)}
.he-home-nav button:focus-visible{outline:2px solid var(--he-gold);outline-offset:4px}
.he-learning-row{display:grid;grid-template-columns:clamp(190px,18vw,280px) minmax(0,1fr);gap:clamp(24px,3vw,52px);align-items:start;margin-bottom:36px}
.he-section-intro{padding:12px 0 0}
.he-section-intro h2{font-size:clamp(25px,2.3vw,35px);line-height:1.35;letter-spacing:-.045em;margin-top:14px;font-weight:580}
.he-section-intro>p{font-size:13px;line-height:1.85;color:var(--muted);margin-top:13px}
.he-learning-key{display:grid;gap:12px;margin-top:25px;border-left:2px solid var(--he-gold);padding-left:15px}
.he-learning-key>span{font-size:10px;color:var(--muted);line-height:1.8}
.he-learning-key b{display:block;font-size:11px;font-weight:550;color:var(--ink)}
.he-editorial-mark{display:block;font:500 clamp(17px,1.6vw,24px)/1.1 Arial,sans-serif;letter-spacing:-.04em;color:var(--he-card-line);margin-top:25px}
.he-learning-cards{display:grid;grid-template-columns:repeat(3,minmax(0,440px));justify-content:space-between;gap:clamp(18px,1.8vw,32px);min-width:0}
.he-home .he-entry{background:linear-gradient(145deg,var(--he-card),var(--he-card-end));border-color:var(--he-card-line);box-shadow:var(--he-depth);border-radius:9px}
.he-home .he-entry:before{display:none}
.he-home .he-plan{background:radial-gradient(ellipse at 60% 30%,var(--he-highlight),transparent 75%),linear-gradient(140deg,var(--he-card),var(--he-highlight-end))}
.he-home .he-entry-art{left:21%;right:21%;top:19%;bottom:32%}
.he-home .he-card-caption{border-color:var(--he-card-line)}
.he-home .he-clock:before{background:var(--he-card)}
.he-home .he-card-meta>span{font-size:10px}
.he-lower{display:grid;grid-template-columns:minmax(0,3fr) minmax(220px,1fr);gap:28px;align-items:stretch}
.he-reference-zone,.he-workspace-zone{padding:24px;min-width:0;border:1px solid var(--line);border-radius:10px;background:var(--he-zone)}
.he-local-heading{min-height:91px;display:flex;justify-content:space-between;align-items:start;gap:16px}
.he-local-heading h2{font-size:25px;line-height:1.4;font-weight:550;letter-spacing:-.04em;margin-top:7px}
.he-local-heading>p{font-size:11px;line-height:1.7;color:var(--muted);padding-top:24px}
.he-reference-grid{display:grid;grid-template-columns:repeat(3,minmax(0,440px));justify-content:space-between;gap:20px}
.he-reference{padding:17px}
.he-reference-code{position:absolute;top:17px;left:17px;font:7px/1.4 monospace;letter-spacing:.1em;color:var(--he-gold);z-index:2}
.he-reference-art{position:absolute;inset:15% 9% 46% 46%;display:grid;place-items:center;pointer-events:none;color:var(--he-gold)}
.he-reference-art .he-atlas-frames{height:90%;width:86%}
.he-reference-art .he-documents{width:57%;height:90%}
.he-reference-art .he-documents small,.he-reference-art .he-documents em{display:none}
.he-reference-art .he-documents>div{padding:8px}
.he-reference-art .he-documents b{font-size:11px}
.he-reference-art .he-documents>div>span{font-size:21px}
.he-reference-art .he-toolmap{width:100%;height:95%;gap:7px}
.he-reference-art .he-toolmap>span{font-size:6px;padding:6px 1px}
.he-reference-art .he-toolmap>b{font-size:16px}
.he-reference-copy{position:absolute;left:18px;right:15px;bottom:23%}
.he-reference-copy h3{font-size:clamp(18px,1.6vw,25px);font-weight:550;line-height:1.4;letter-spacing:-.025em}
.he-reference-copy p{font-size:10px;color:var(--muted);line-height:1.6;margin-top:7px;max-width:25ch}
.he-reference-bottom{position:absolute;bottom:0;left:18px;right:18px;min-height:18%;border-top:1px solid var(--he-card-line);display:flex;align-items:center;justify-content:space-between;gap:8px}
.he-reference-bottom>span:first-child{font-size:8px;color:var(--muted)}
.he-reference-bottom>.he-arrow{font-size:18px}
.he-workspace-zone .he-local-heading{display:block}
.he-workspace-zone .he-local-heading>p{padding-top:7px}
.he-workspace-card{width:100%;max-width:440px}
.he-home .he-workspace-card{background:linear-gradient(145deg,var(--he-card),var(--he-card-end))}
.he-workspace-card .he-entry-art{inset:22% 12% 32%}
.he-workspace-card .he-entry-art:before{content:'';position:absolute;inset:-12px;background-image:linear-gradient(var(--he-card-line) 1px,transparent 1px),linear-gradient(90deg,var(--he-card-line) 1px,transparent 1px);background-size:13px 13px;opacity:.16;mask-image:radial-gradient(ellipse,#000,transparent 80%);z-index:-1}
.he-workspace-card .he-card-caption h3{font-size:clamp(17px,1.6vw,23px)}
.he-workspace-card .he-card-meta>span{font-size:8px}
.he-home :is(.he-learning-row,.he-lower){scroll-margin-top:24px}
.he-home h2[id]{scroll-margin-top:24px}
.he-home .he-services{margin-top:30px}
.he-home .he-editorial-mark{display:none}
.he-home .he-learning-key{margin-top:18px;gap:8px}
.he-home .he-book{width:58%}
.he-home .he-book-front strong{font-size:clamp(10px,13cqh,24px);letter-spacing:.02em;white-space:nowrap}
.he-home .he-film{height:88%;width:85%;display:flex;flex-direction:column}
.he-home .he-film-top{flex:none}
.he-home .he-film-frame{flex:1;min-height:0;aspect-ratio:auto}
.he-home .he-film-bottom{flex:none;font-size:5px;padding-top:4px}
.he-home .he-storyboard>small{font-size:4px;line-height:1.8}
.he-home :is(.he-entry-art,.he-reference-art){grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr)}
.he-home :is(.he-entry-art,.he-reference-art)>*{min-height:0;min-width:0}
@media(hover:hover) and (pointer:fine){.he-home-nav button:hover{transform:translateY(-2px);background:var(--he-faint)}}
@media(prefers-reduced-motion:no-preference){
 .he-learning-row,.he-lower{animation:bb-arrive .65s cubic-bezier(.2,.75,.2,1) both}
 .he-learning-row{animation-delay:.07s}.he-lower{animation-delay:.14s}
 html.bb-booting .he-home>*{animation-play-state:paused}html.bb-navigating .he-home>*{animation:none}
}
@media(min-width:1900px){
 .he-home{padding-left:var(--pad);padding-right:var(--pad)}
 .he-learning-row{grid-template-columns:clamp(250px,20vw,380px) minmax(0,1fr)}
 .he-learning-cards,.he-reference-grid{gap:clamp(26px,3vw,80px)}
 .he-lower{grid-template-columns:minmax(0,3fr) minmax(250px,440px);gap:38px}
}
@media(max-width:1250px){
 .he-home .he-masthead{align-items:start}.he-home-nav{display:grid;gap:6px;align-self:center}.he-home-nav button{padding:8px 11px;font-size:10px}
 .he-learning-row{grid-template-columns:190px minmax(0,1fr);gap:24px}.he-section-intro>p{font-size:12px}.he-editorial-mark{font-size:19px}
 .he-lower{grid-template-columns:1fr}.he-reference-zone{padding:22px}
 .he-workspace-zone{display:grid;grid-template-columns:190px minmax(0,1fr);gap:24px;align-items:center;padding:22px}
 .he-workspace-zone .he-local-heading{min-height:0}.he-workspace-card{max-width:360px}
 .he-workspace-card .he-entry-art{left:17%;right:17%}
 .he-local-heading{min-height:83px}
 .he-home .he-card-meta>span{font-size:8px}
}
@media(max-width:940px){
 .he-learning-row{grid-template-columns:1fr;gap:22px}.he-section-intro{display:grid;grid-template-columns:1fr 1fr;gap:10px 24px;padding:0}
 .he-section-intro>.he-kicker{grid-column:1/-1}.he-section-intro h2{margin:0}.he-section-intro>p{margin:0}
 .he-learning-key{grid-column:1/-1;display:flex;gap:24px;margin-top:5px;padding-left:12px}.he-learning-key b{display:inline;margin-right:9px;font-size:10px}
 .he-editorial-mark{display:none}.he-learning-cards{gap:18px}
 .he-home .he-card-caption h3{font-size:17px}.he-home .he-card-caption p{font-size:9px}
 .he-reference-grid{gap:16px}.he-reference-copy h3{font-size:19px}
 .he-reference-copy p{font-size:9px}.he-reference-bottom>span:first-child{font-size:7px}
}
@media(max-width:640px){
 .he-home .he-masthead{display:block;margin-bottom:26px;padding-bottom:22px}.he-masthead h1{font-size:32px}
 .he-home-nav{display:flex;flex-wrap:wrap;gap:7px;margin-top:21px}.he-home-nav button{padding:9px 10px;font-size:10px;gap:6px}
 .he-learning-cards{grid-template-columns:1fr;justify-items:center;gap:18px}.he-learning-cards>.he-entry{width:100%;max-width:440px}
 .he-section-intro{display:block}.he-section-intro h2{margin-top:8px}.he-section-intro>p{margin-top:9px}.he-section-intro>p>br{display:none}
 .he-learning-key{margin-top:15px;gap:18px}.he-learning-key>span{font-size:9px}.he-learning-key b{display:block}
 .he-reference-zone,.he-workspace-zone{padding:20px 16px}.he-local-heading{display:block;min-height:0;margin-bottom:20px}
 .he-local-heading>p{padding-top:7px}.he-local-heading h2{font-size:24px}
 .he-reference-grid{grid-template-columns:1fr;justify-items:center;gap:16px}.he-reference{width:100%;max-width:440px}
 .he-workspace-zone{display:block}.he-workspace-card{max-width:440px;margin:auto}
 .he-home .he-card-caption h3{font-size:23px}.he-home .he-card-caption p{font-size:11px}.he-home .he-card-meta>span{font-size:10px}
 .he-reference-copy h3{font-size:25px}.he-reference-copy p{font-size:11px}.he-reference-bottom>span:first-child{font-size:9px}.he-reference-code{font-size:8px}
 .he-reference-art .he-documents b{font-size:14px}.he-reference-art .he-documents>div>span{font-size:27px}.he-reference-art .he-toolmap>span{font-size:8px}
}
@media(max-width:380px){
 .he-home .he-card-caption h3{font-size:20px}.he-home .he-card-caption p{font-size:9px}
 .he-reference-copy h3{font-size:21px}.he-reference-copy p{font-size:9px}.he-reference-bottom>span:first-child{font-size:7px}
}

@media(prefers-reduced-motion:reduce){
 .he-home .he-home-row{animation:none!important}
 .he-home *,.he-reading *{animation:none!important;transition:none!important}
 .he-home .he-entry{transform:none!important}.he-entry:after{display:none}
}

.he-sprint-cover{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center;gap:18px;transform:rotate(-6deg)}
.he-sprint-number{font:clamp(56px,6vw,105px)/.9 Arial,sans-serif;letter-spacing:-.09em;color:var(--ink);position:relative}
.he-sprint-number small{display:block;font:10px/1.8 inherit;letter-spacing:.3em;text-align:center;color:var(--he-gold);margin-top:10px}
.he-sprint-frames{display:grid;gap:6px;transform:rotate(10deg);width:34%}.he-sprint-frames i{height:clamp(14px,1.8vw,26px);border:1px solid var(--he-rule);border-left:3px solid var(--he-gold);background:var(--he-faint)}.he-sprint-frames i:nth-child(2){transform:translateX(8px);border-left-color:var(--red)}.he-sprint-frames span{font-size:6px;white-space:nowrap;letter-spacing:.05em;margin-top:6px;color:var(--muted)}
.he-sprint-cover>b{position:absolute;right:9%;bottom:8%;font-size:16px;color:var(--he-gold)}
/* Homepage-only row alignment. Other pages and theme defaults are unchanged. */
.he-home .he-home-row{
 display:grid;grid-template-columns:clamp(190px,18vw,280px) minmax(0,1fr);
 column-gap:clamp(24px,3vw,52px);align-items:start;
 padding:0;margin:0 0 clamp(60px,5vw,88px);border:0;border-radius:0;
 background:transparent;box-shadow:none;
}
.he-home .he-home-row>.he-home-cards{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;
 width:100%;max-width:1368px;min-width:0;justify-content:start;
}
.he-home .he-home-cards>.he-entry{
 display:block;width:100%;max-width:none;margin:0;aspect-ratio:1.41421356237 / 1;
}

/* Platform navigation, journal and resources. Scoped away from atlas cards. */
html{scrollbar-gutter:stable}
html.bb-platform-entry #boot-screen{display:none!important}
html.bb-platform-entry #main{opacity:1!important;animation:none!important}
#header{height:68px;min-height:68px;padding-left:clamp(20px,2.2vw,84px);padding-right:clamp(20px,2.2vw,84px);animation:none!important;opacity:1!important;transition:none!important}
#header .brand{font-family:Arial,'PingFang SC',sans-serif;gap:11px;letter-spacing:0;line-height:1.2;transform:none;transition:none;animation:none}
#header .brand img{width:38px;height:40px;aspect-ratio:auto;object-fit:contain}
#header .brand b{font-family:Arial,'PingFang SC',sans-serif!important;font-size:18px!important;font-weight:800!important;letter-spacing:-.5px!important;line-height:22px!important}
#header .brand small{font-family:Arial,'PingFang SC',sans-serif!important;font-size:9px!important;font-weight:500!important;letter-spacing:0!important;line-height:12px!important;margin-top:3px!important}
.bb-platform-nav{position:absolute;left:50%;transform:translateX(-50%);display:grid;grid-template-columns:repeat(4,104px);align-items:center;justify-items:center;gap:8px;font-family:Arial,'PingFang SC',sans-serif;font-size:12px;font-weight:550}
.bb-platform-nav a{white-space:nowrap;padding:8px 0;line-height:24px}.bb-platform-nav a:hover{color:var(--red)}
.bb-platform-nav a[aria-current="page"]{color:var(--red);font-size:14px;font-weight:800}
.site-footer.is-compact{padding-top:20px;padding-bottom:16px}.site-footer.is-compact>.site-footer-grid{display:none}
.bb-compact-footer{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:16px}
.bb-compact-footer b{font-size:20px;letter-spacing:-.04em}.site-footer.is-compact .bb-compact-footer nav{display:flex;flex-direction:row;align-items:center;gap:22px;font-size:11px;color:var(--muted)}
.site-footer.is-compact .site-footer-bottom{margin-top:0;padding-top:12px;padding-bottom:0}
.bb-journal{--study-panel:color-mix(in srgb,var(--bg) 95%,var(--ink));--study-edge:color-mix(in srgb,var(--ink) 10%,transparent)}
.bb-study-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin:12px 0 34px}
.bb-study-heading h1{font-size:clamp(30px,3.7vw,52px);margin:14px 0}.bb-study-heading p{font-size:13px;color:var(--muted);line-height:1.8}
.bb-study-heading .eyebrow{font-size:10px}.bb-study-link{font-size:12px;color:var(--muted);margin-bottom:4px}
.bb-study-toolbar{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:0 0 18px;border-bottom:1px solid var(--line)}
.bb-study-toolbar nav{display:flex;gap:24px;flex-wrap:wrap}.bb-study-toolbar button{padding:10px 0;font-size:14px;color:var(--muted)}
.bb-study-toolbar button[aria-pressed=true]{color:var(--ink)}.bb-study-toolbar small{font-size:9px;margin-left:6px;vertical-align:super;color:var(--muted)}
.bb-study-toolbar button[aria-pressed=true]:after{content:'';display:block;width:22px;height:2px;background:var(--red);margin-top:7px}
.bb-study-toolbar input{width:245px;padding:10px 17px;background:var(--study-panel);border:1px solid var(--study-edge);border-radius:99px;color:var(--ink);font:12px/1.6 inherit}
.bb-study-note{font-size:11px;color:var(--muted);line-height:1.9;margin:18px 0 25px}
.bb-study-grid,.bb-resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.bb-study-card{display:flex;flex-direction:column;position:relative;aspect-ratio:1.41421356237 / 1;min-width:0;overflow:hidden;background:var(--study-panel);border-radius:16px;transition:transform .25s}
.bb-study-card:hover{transform:translateY(-5px) scale(1.015)}.bb-study-card *{box-sizing:border-box}
.bb-study-cover{flex:1;min-height:0;position:relative;overflow:hidden;background:var(--soft)}
.bb-study-cover>img,.bb-study-cover>.photo{width:100%;height:100%;object-fit:cover;min-height:0;aspect-ratio:auto}
.bb-study-cover>.photo img{width:100%;height:100%;object-fit:cover}
.bb-study-cover>span{position:absolute;bottom:10px;left:14px;background:#090909d9;border-radius:99px;padding:4px 9px;color:#fff;font-size:9px}
.bb-study-card-body{padding:14px 17px 16px;flex:none;position:relative}.bb-study-meta{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:9px;margin-bottom:7px}
.bb-study-meta small{font-size:9px;color:var(--red)}.bb-study-card h2{font-size:17px;line-height:1.4;margin:0 0 7px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.bb-study-card p{font-size:10px;line-height:1.7;color:var(--muted);margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;height:34px;padding-right:8px}
.bb-study-tags{display:flex;gap:12px;margin-top:9px;padding-right:20px;color:var(--muted);font-size:9px;white-space:nowrap;overflow:hidden}.bb-study-arrow{position:absolute;right:16px;bottom:14px;color:var(--red);font-size:19px}
.bb-study-empty{grid-column:1/-1;padding:50px 0;color:var(--muted)}.bb-study-empty h2{font-size:24px;margin-bottom:14px}
.bb-study-article-head{max-width:850px;padding:0 0 30px}.bb-study-article-head>a{display:block;font-size:12px;color:var(--muted);margin-bottom:26px}
.bb-study-article-head h1{font-size:clamp(28px,3.3vw,44px);line-height:1.4;margin:15px 0 22px}.bb-study-article-head>p{font-size:15px;color:var(--muted);line-height:1.9}
.bb-study-reading{display:grid;grid-template-columns:200px minmax(0,1fr);gap:45px}.bb-study-reading>aside{position:sticky;top:100px;align-self:start}
.bb-study-reading>aside nav{display:flex;flex-direction:column;gap:8px;margin:20px 0 30px}
.bb-study-reading>aside button{display:flex;gap:14px;text-align:left;font-size:12px;line-height:1.8;padding:10px;border-radius:9px}
.bb-study-reading>aside button:hover{background:var(--soft)}.bb-study-reading>aside button>span{font-size:10px;color:var(--red)}
.bb-study-reading>aside>p{font-size:11px;line-height:1.9;color:var(--muted)}.bb-study-reading>article{min-width:0}
.bb-study-section{margin:0 0 55px;scroll-margin-top:100px}.bb-study-section>header{display:flex;gap:19px;margin-bottom:24px}
.bb-study-section>header>span{font-size:11px;color:var(--red);padding-top:6px}
.bb-study-section h2{font-size:25px;margin:0 0 14px;line-height:1.4}.bb-study-section header p{color:var(--muted);font-size:13px;line-height:1.9}
.bb-study-figures{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.bb-study-figures[data-count="1"]{grid-template-columns:1fr}
.bb-study-figures figure{background:var(--study-panel);border-radius:16px;overflow:hidden;margin:0;min-width:0}
.bb-study-figures figure>a img{width:100%;aspect-ratio:16/10;object-fit:contain;background:#111}
.bb-study-figures figcaption{padding:17px 20px}.bb-study-figures b{font-size:13px}.bb-study-figures p{font-size:12px;line-height:1.85;color:var(--muted);margin:10px 0 0}
.bb-study-prompt{background:var(--study-panel);border-radius:12px;margin:22px 0;overflow:hidden}.bb-study-figures .bb-study-prompt{margin:0;border-radius:0}
.bb-study-prompt summary{list-style:none;padding:16px 20px;display:flex;justify-content:space-between;align-items:center;font-size:12px;cursor:pointer}
.bb-study-prompt summary::-webkit-details-marker{display:none}.bb-study-prompt summary>span{font-size:21px;color:var(--red)}.bb-study-prompt[open] summary>span{transform:rotate(45deg)}
.bb-study-prompt>div{padding:0 20px 20px}.bb-study-prompt pre{white-space:pre-wrap;font:12px/1.9 'MiSans VF',sans-serif;color:var(--muted);padding:16px;background:var(--bg);border-radius:10px}
.bb-journal .bb-study-pill{display:inline-flex;gap:20px;align-items:center;justify-content:center;border:1px solid var(--line);padding:9px 16px;border-radius:99px;font-size:11px;line-height:1.5}
.bb-study-pill:hover{background:var(--soft);color:var(--ink)}
.bb-study-table{overflow:auto;background:var(--study-panel);border-radius:14px;margin:24px 0}.bb-study-table table{border-collapse:collapse;width:100%;font-size:12px;line-height:1.8;text-align:left}
.bb-study-table th,.bb-study-table td{padding:15px 18px;vertical-align:top}.bb-study-table th{font-weight:500;color:var(--muted);background:var(--soft)}
.bb-study-table tr+tr{border-top:1px solid var(--line)}.bb-study-table td{color:var(--muted)}.bb-study-table td:first-child{color:var(--ink)}
.bb-study-decisions{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;margin:24px 0}
.bb-study-decisions small,.bb-study-exercise small{color:var(--red);font-size:10px}.bb-study-decisions p{font-size:12px;line-height:1.9;margin-top:9px;color:var(--muted)}
.bb-study-exercise{padding:22px;background:var(--study-panel);border-radius:14px;margin:22px 0}.bb-study-exercise h3{font-size:17px;margin-bottom:13px}.bb-study-exercise p{font-size:12px;line-height:1.9;margin-top:9px}
.bb-resource-card{display:flex;flex-direction:column;aspect-ratio:1.41421356237 / 1;min-width:0;overflow:hidden;border-radius:16px;background:var(--study-panel)}
.bb-resource-cover{position:relative;flex:1;min-height:0;padding:20px;color:var(--ink);background:linear-gradient(130deg,var(--soft),var(--study-panel))}
.bb-resource-cover>small{font-size:8px;letter-spacing:.06em;color:var(--muted)}.bb-resource-cover>b{position:absolute;right:20px;top:12px;font:52px/1.1 Arial;color:var(--muted);opacity:.18}
.bb-resource-cover h2{font-size:23px;line-height:1.4;max-width:12em;margin:15px 0 12px}.bb-resource-cover>span{font-size:9px;color:var(--muted)}
.bb-resource-body{padding:14px 19px 17px}.bb-resource-body>.eyebrow{font-size:9px}.bb-resource-body>p{font-size:11px;color:var(--muted);line-height:1.8;margin:8px 0 14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.bb-resource-actions{display:flex;gap:12px;align-items:center}.bb-director-guide{margin-top:40px;padding:27px;background:var(--study-panel);border-radius:18px}
.bb-director-guide h2{font-size:25px;margin:13px 0}.bb-director-guide header p{font-size:12px;color:var(--muted);line-height:1.9}
.bb-directions{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;margin-top:28px}.bb-directions small{color:var(--red);font-size:11px}.bb-directions h3{font-size:15px;margin:8px 0}.bb-directions p{font-size:11px;line-height:1.9;color:var(--muted)}
@media(max-width:1050px){.bb-platform-nav{gap:18px;font-size:11px}.bb-study-grid,.bb-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bb-study-toolbar{align-items:start;flex-direction:column}.bb-study-reading{grid-template-columns:170px minmax(0,1fr);gap:25px}.bb-directions{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){#header{flex-wrap:wrap;height:auto;min-height:90px;padding-top:12px;padding-bottom:10px;gap:12px}.bb-platform-nav{position:static;transform:none;order:3;width:100%;grid-template-columns:repeat(4,minmax(0,1fr));justify-content:center;gap:4px;font-size:10px}.bb-platform-nav a{padding:3px 0}.bb-platform-nav a[aria-current="page"]{font-size:12px}
.bb-study-heading{display:block}.bb-study-heading h1{font-size:32px}.bb-study-link{display:inline-block;margin-top:18px}.bb-study-toolbar nav{gap:16px}.bb-study-toolbar button{font-size:12px}.bb-study-toolbar input{width:100%}.bb-study-grid,.bb-resource-grid{grid-template-columns:1fr}
.bb-study-reading{grid-template-columns:1fr}.bb-study-reading>aside{position:static}.bb-study-reading>aside nav{flex-direction:row;overflow:auto}.bb-study-reading>aside button{flex:0 0 155px}.bb-study-reading>aside>p{display:none}.bb-study-figures{grid-template-columns:1fr}.bb-study-section h2{font-size:22px}
.bb-compact-footer{align-items:start}.bb-compact-footer nav{gap:13px;font-size:10px;flex-wrap:wrap}.site-footer.is-compact .site-footer-bottom{align-items:start;gap:12px}
.bb-resource-cover h2{font-size:24px}.bb-study-card h2{font-size:18px}.bb-study-cover{min-height:0}.bb-resource-cover{min-height:0}.bb-study-table table{min-width:450px}}
@media(prefers-reduced-motion:reduce){.bb-study-card{transition:none}.bb-study-card:hover{transform:none}}
.he-home .he-home-row>.he-section-intro{display:block;padding:12px 0 0;margin:0;min-width:0}
.he-home .he-home-row>.he-section-intro>.he-kicker{color:var(--red)}
.he-home .he-home-row>.he-section-intro h2{margin-top:14px}
.he-home .he-home-row>.he-section-intro>p{margin-top:13px;padding:0}
.he-home .he-home-row .he-learning-key{border-left-color:var(--red)}
.he-home .he-home-row .he-entry-art{inset:19% 21% 32%}
.he-home .he-home-row .he-storyboard{width:90%}
.he-home .he-home-row .he-documents b{font-size:clamp(10px,10cqh,18px);letter-spacing:0;white-space:nowrap}
.he-home .he-home-row:last-of-type{margin-bottom:44px}
@media(prefers-reduced-motion:no-preference){
 .he-home .he-home-row{animation:bb-arrive .65s cubic-bezier(.2,.75,.2,1) both}
 .he-home .he-home-row:nth-of-type(2){animation-delay:.1s}
 .he-home .he-home-row:nth-of-type(3){animation-delay:.17s}
 html.bb-booting .he-home .he-home-row{animation-play-state:paused}
 html.bb-navigating .he-home .he-home-row{animation:none}
}
@media(max-width:1250px){.he-home .he-home-row{grid-template-columns:190px minmax(0,1fr);column-gap:24px}}
@media(max-width:940px){
 .he-home .he-home-row{grid-template-columns:1fr;row-gap:23px;margin-bottom:56px}
 .he-home .he-home-row>.he-section-intro{padding:0}
 .he-home .he-home-row>.he-section-intro h2{margin-top:9px}
 .he-home .he-home-row>.he-section-intro>p{margin-top:9px}
 .he-home .he-home-row>.he-section-intro>p>br{display:none}
}
@media(max-width:640px){
 .he-home .he-home-row{row-gap:20px;margin-bottom:48px}
 .he-home .he-home-row>.he-home-cards{grid-template-columns:1fr;gap:22px;max-width:440px;justify-items:start}
 .he-home .he-home-row .he-card-caption h3{font-size:23px}
 .he-home .he-home-row:last-of-type{margin-bottom:35px}
}
/* Editorial refresh, 2026-10-22. Atlas card geometry is deliberately untouched. */
body .directory .he-reading{background:transparent;box-shadow:none;border:0;border-radius:0;margin-bottom:40px}
body .directory .he-reading-intro{background:transparent}
body .directory .he-reading-intro>.he-kicker{display:none}
body .directory .he-reading-link{box-shadow:none;border-radius:999px}
body .directory .book-cover>.eyebrow,body .directory .cover-english{display:none}
body .directory .book-cover h1{font-size:clamp(38px,4vw,64px);line-height:1.3}
body .reading-layout .lesson .hero .eyebrow{display:none}
body .reading-layout .lesson .hero-title h1{font-size:clamp(28px,2.8vw,40px);line-height:1.4;font-weight:650}
body .reading-layout .lesson .hero{border-bottom:0;padding-bottom:24px;margin-bottom:30px}
body .reading-layout .lesson .step-shell{border:0;background:transparent;padding:0;box-shadow:none;margin-bottom:44px}
body .reading-layout .lesson .step-shell .block{margin:0;background:transparent!important;border:0!important;box-shadow:none!important}
body .reading-layout .lesson .step-shell .editorial-item{border-top:0;padding-top:0}
body .reading-layout .lesson .step-shell .editorial-item>.eyebrow{display:none}
body .reading-layout .lesson .step-shell .block-heading{border:0;padding-bottom:16px}
body .reading-layout .lesson .principle-grid>div{border:0;background:transparent;box-shadow:none;padding-top:0}
body .reading-layout .lesson .principle-grid .eyebrow{display:none}
body .directory :is(.directory-guide-unit,.directory-tool-unit,.directory-reference-unit){border:0;background:transparent;box-shadow:none;border-radius:0}
body .directory .chapter-toggle{background:transparent;box-shadow:none}
body .directory .directory-section-heading h2{font-size:26px;font-weight:650}
body .tools-page .wide-heading{margin-bottom:28px;padding-bottom:0;border:0}
body .tools-page .wide-heading h1{font-size:34px;font-weight:650;line-height:1.4}
body .tools-page .wide-heading .eyebrow{display:none!important}
body .tools-page .subnav{border:0;gap:20px}
body .tools-page .chip{border:0;border-radius:0;padding:8px 0;background:transparent;color:var(--muted);font-size:13px}
body .tools-page .chip.active{color:var(--red);background:transparent;font-weight:650}
body .tools-page .tool-group>header>span{display:none}
body .tools-page .tool-group>header h2{font-size:23px;font-weight:650}
body .tools-page .tool-group>header{border-top:0;padding-top:12px;margin-bottom:24px}
body .tools-page .tools-list{gap:24px}
body .tools-page .tool-links a{border:0;background:var(--soft);border-radius:6px}
body .tools-page .tool-row{box-shadow:none;border-radius:10px;background:var(--panel)}
body .tools-page .search-field{background:var(--soft);border:0;border-radius:8px}
body .storyboard-studio{--studio-surface:var(--panel);--studio-border:var(--line)}
body .storyboard-studio .studio-toolbar{box-shadow:none}
:root{--bb-space-section:48px;--bb-radius:10px}
html:root[data-theme=dark]{--bg:#090909;--panel:#141414;--soft:#171717;--line:#292929;--ink:#f1f1f1;--muted:#aaa}
html:root[data-theme=light]{--bg:#fafafa;--panel:#fff;--soft:#f1f1f1;--line:#e2e2e2;--ink:#191919;--muted:#666}
body :is(.he-home,.bb-journal,.tm-course,.reading-layout,.tools-page,.resources-page){-webkit-font-smoothing:antialiased}
#header .bb-platform-nav a{transition:color .15s;transform:none}
/* One quiet masthead, then content. Keep the user's row-based homepage. */
.he-home .he-masthead{padding:8px 0 30px;margin-bottom:36px;border-bottom:0}
.he-home .he-masthead h1{font-size:clamp(28px,2.8vw,40px);font-weight:650;letter-spacing:-.035em;line-height:1.4;margin:0 0 12px}
.he-home .he-masthead>.he-kicker,.he-home .he-masthead>div>.he-kicker{display:none}
.he-home .he-masthead p{font-size:13px;line-height:1.8}
.he-home .he-home-nav{display:none}
.he-home .he-home-row{margin-bottom:64px}
.he-home .he-section-intro>.he-kicker,.he-home .he-local-heading>.he-kicker{display:none}
.he-home .he-section-intro h2,.he-home .he-local-heading h2{font-size:23px;line-height:1.4;margin:0 0 12px;font-weight:650}
.he-home .he-section-intro>p{font-size:12px;line-height:1.85}
.he-home .he-learning-key{display:none}
.he-home .he-entry{background:var(--panel);border:1px solid var(--line);border-radius:10px;box-shadow:none}
.he-home .he-entry:before{display:none}
.he-home .he-card-meta{left:18px;right:18px;top:14px}
.he-home .he-card-meta>small{display:none}
.he-home .he-card-meta>span{font-size:10px;color:var(--muted)}
.he-home .he-card-caption{border:0;left:18px;right:18px;bottom:2px}
.he-home .he-card-caption h3{font-weight:650;font-size:clamp(17px,1.45vw,23px)}
.he-home .he-card-caption p{font-size:11px;margin-top:5px}
.he-home .he-arrow{font-size:18px;color:var(--muted)}
.he-home .he-service-links{border-color:var(--line)}
/* Listing pages: cover, title, short summary. No extra frame around the frame. */
.bb-journal .bb-study-heading{margin:4px 0 30px;align-items:center}
.bb-journal .bb-study-heading>.eyebrow,.bb-journal .bb-study-heading>div>.eyebrow{display:none}
.bb-journal .bb-study-heading h1{font-size:34px;line-height:1.35;margin:0 0 12px;font-weight:650}
.bb-journal .bb-study-heading p{font-size:13px;margin:0}
.bb-journal .bb-study-toolbar{border-bottom:0;padding-bottom:10px;align-items:center}
.bb-journal .bb-study-toolbar nav{gap:24px}
.bb-journal .bb-study-toolbar button{font-size:13px;line-height:24px;padding:8px 0;position:relative}
.bb-journal .bb-study-toolbar button[aria-pressed=true]{color:var(--red);font-weight:650}
.bb-journal .bb-study-toolbar button[aria-pressed=true]:after{position:absolute;bottom:0;margin:0;width:18px}
.bb-journal .bb-study-toolbar input{border:0;border-radius:8px;background:var(--soft)}
.bb-journal .bb-study-note{margin:12px 0 24px}
.bb-journal .bb-study-grid,.bb-journal .bb-resource-grid{gap:28px}
.bb-journal .bb-study-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
@media(min-width:1600px){.bb-journal .bb-study-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1050px){.bb-journal .bb-study-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.bb-journal .bb-study-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}}
@media(max-width:480px){.bb-journal .bb-study-grid{grid-template-columns:1fr}}
.bb-journal .bb-resource-card{border:1px solid var(--line);border-radius:10px;background:var(--panel)}
.bb-journal .bb-resource-cover{background:transparent}
.bb-journal .bb-resource-cover>small,.bb-journal .bb-resource-cover>b{display:none}
.bb-journal .bb-resource-cover h2{font-size:23px;margin:8px 0 12px}
.bb-journal .bb-director-guide{border-radius:10px}
.bb-journal .bb-study-card{aspect-ratio:auto;background:var(--panel);border-radius:10px;transition:transform .2s;box-shadow:none}
.bb-journal .bb-study-card:hover{transform:translateY(-3px)}
.bb-journal .bb-study-cover{flex:none;width:100%;aspect-ratio:1.41421356237 / 1;border-radius:10px 10px 0 0}
.bb-journal .bb-study-cover>img,.bb-journal .bb-study-cover>.photo{position:absolute;inset:0;width:100%;height:100%;margin:0;max-height:none;aspect-ratio:auto}
.bb-journal .bb-study-card-body{padding:16px;flex:1}
.bb-journal .bb-study-meta{font-size:10px;margin-bottom:8px}
.bb-journal .bb-study-meta small{color:var(--muted)}
.bb-journal .bb-study-tags{margin-top:8px;color:var(--muted)}
.bb-journal .bb-study-arrow{right:16px;color:var(--muted)}
/* Reading pages keep their information, with fewer panel boundaries. */
.bb-journal .bb-study-article-head h1{font-size:32px;line-height:1.5;font-weight:650}
.bb-journal .bb-study-section h2{font-size:23px;font-weight:650;line-height:1.5}
.bb-journal .bb-study-figures figure{background:transparent;border-radius:10px}
.bb-journal .bb-study-figures figcaption{padding:16px 0}
.bb-journal .bb-study-prompt,.bb-journal .bb-study-table{border-radius:10px}
.bb-journal .bb-study-exercise{background:transparent;border-left:2px solid var(--line);border-radius:0;padding:4px 0 4px 20px}
.tm-course.tm-beginner{--lesson-radius:10px;--lesson-surface:var(--panel);--lesson-input:var(--soft)}
.tm-course.tm-beginner .tm-creation-chain{background:transparent;border-radius:0;padding:0;margin-bottom:28px}
.tm-course.tm-beginner .tm-creation-chain>header>p{display:none}
.tm-course.tm-beginner .tm-creation-chain article{border:0;border-radius:8px;background:var(--soft)}
.tm-course.tm-beginner .tm-creation-chain article.is-current{box-shadow:inset 2px 0 var(--red)}
.tm-course.tm-beginner .tm-task-purpose{background:transparent;border-radius:0;padding:0 0 22px;gap:24px}
.tm-course.tm-beginner .tm-task-purpose b{color:var(--muted)}
.tm-course.tm-beginner .tm-beginner-heading h1{font-size:30px;font-weight:650;line-height:1.45}
.tm-course.tm-beginner .tm-case-hero{border-radius:10px}
.tm-course.tm-beginner .tm-case-reading{border-bottom:0;gap:28px;margin:32px 0;padding-bottom:0}
.tm-course.tm-beginner .tm-case-intro>.tm-tool-primer{border:0}
.tm-course.tm-beginner .tm-asset-task{border-radius:10px}
.reading-layout .sidebar .reading-group-title{border:0}
.reading-layout .sidebar .side-link{border-left:0;border-radius:8px}
.reading-layout .content-scroll .block{border-radius:0;box-shadow:none}
.reading-layout .content-scroll .block-heading h2{font-weight:650;letter-spacing:-.025em}
.reading-layout .content-scroll .sequence-item{border-radius:0;box-shadow:none}
@media(max-width:700px){.he-home .he-home-row{margin-bottom:40px}.he-home .he-masthead{margin-bottom:28px}.bb-journal .bb-study-heading h1{font-size:28px}.bb-journal .bb-study-toolbar{align-items:stretch}.bb-journal .bb-study-toolbar nav{gap:16px}.bb-journal .bb-study-toolbar button{font-size:12px}.bb-journal .bb-study-toolbar input{width:100%}.tm-course.tm-beginner .tm-beginner-heading h1{font-size:25px}}
/* Shared reading rhythm and atlas navigation — 2026-10-22. */
@media(min-width:1000px){#main .reading-layout,#main .tm-course .tw-layout{grid-template-columns:260px minmax(0,1fr)}#main .reading-layout>.sidebar,#main .tm-course .tw-layout>.sidebar{grid-column:1}#main .reading-layout>.content-scroll,#main .tm-course .tw-layout>.tw-content{grid-column:2}#main .atlas-edition{grid-template-columns:260px minmax(0,1fr)}}
#main .atlas-edition .atlas-grid .atlas-card:not(.prompt-task-card) .atlas-card-body{padding:4cqw 5cqw 0}
#main .atlas-edition .atlas-grid .atlas-card h3{font-size:6.4cqw;height:19cqw;min-height:19cqw;max-height:19cqw;line-height:1.3;margin:0 0 2cqw;overflow:hidden}
#main .atlas-edition .atlas-grid .atlas-card h3 small{font-size:3.5cqw;line-height:1.4;margin-top:2cqw}
#main .atlas-edition .atlas-grid .atlas-meta{font-size:4cqw;padding:2.5cqw 5cqw;min-height:0!important;height:11cqw}
#main .atlas-edition .atlas-grid .atlas-card .atlas-tags{height:10cqw;min-height:10cqw;max-height:10cqw;gap:1.5cqw;margin:0 0 2cqw}
#main .atlas-edition .atlas-grid .atlas-card .atlas-tags span{font-size:3.6cqw;padding:.6cqw 1.6cqw;line-height:1.2}
#main .atlas-edition .atlas-grid .atlas-summary-rows{height:12cqw;min-height:12cqw;margin:0 0 2cqw;font-size:4cqw}
#main .atlas-edition .atlas-grid .atlas-summary-rows>div{grid-template-columns:12cqw 3cqw minmax(0,1fr);gap:2cqw;font-size:4cqw}
#main .atlas-edition .atlas-grid .atlas-summary-rows dd{font-size:4cqw;line-height:1.5;height:12cqw}
#main .atlas-edition .atlas-grid .atlas-card .atlas-actions{margin:auto -5cqw 0;padding:3cqw 5cqw;gap:3cqw;min-height:0}
#main .atlas-edition .atlas-grid .atlas-card .atlas-actions button{height:12cqw;min-height:0;font-size:4cqw;padding:2cqw 1cqw}
#detail:has(.exhibition){width:760px!important;max-width:calc(100vw - 40px)!important;max-height:calc(100dvh - 40px)}
#detail:has(.exhibition)>.modal-scroll{max-height:calc(100dvh - 48px)!important}
#detail .exhibition-mount>.photo{height:min(32dvh,280px)!important;aspect-ratio:auto!important}
#detail .exhibition .exhibition-mount .photo img{height:min(32dvh,280px)!important;max-height:100%!important;width:100%!important;object-fit:contain!important}
#detail .exhibition-slide{padding:18px 24px 12px}
#detail .exhibition-controls{padding-bottom:12px}
#detail .exhibition-footer{padding-bottom:8px}
#main .sidebar .reading-group{padding:10px 8px;background:var(--panel);border-radius:9px;margin-bottom:24px!important}
#main .sidebar .reading-group-title{padding:4px 8px!important;margin-bottom:8px!important;background:transparent;font-size:12px!important}
#main .sidebar .reading-group .side-link{display:flex;align-items:baseline;padding:8px!important;margin:2px 0!important;gap:9px;font-size:12px!important;line-height:1.5!important}
#main .sidebar .side-page-label{display:block;min-width:0}
#main .sidebar .side-page-label b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;font-weight:550;line-height:1.6}
#main .sidebar .side-page-label small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;font-weight:400;line-height:1.6;color:var(--muted);margin-top:2px}
#main .sidebar .side-link.active .side-page-label b{font-weight:750}
#main .atlas-edition .atlas-collections{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
#main .atlas-edition .atlas-collections button{display:flex;justify-content:center;align-items:center;border:1px solid var(--line)!important;background:var(--panel);padding:9px 6px!important;min-height:38px;font-size:12px}
#main .atlas-edition .atlas-collections button.active{background:var(--ink)!important;color:var(--bg)}
#main .atlas-edition .atlas-type-nav{background:var(--panel);border-radius:9px;padding:10px 8px;gap:2px}
#main .atlas-edition .atlas-type-nav:before{background:none;padding:4px 8px;margin-bottom:8px}
#main .atlas-edition .atlas-type-nav button{font-size:12px;padding:8px;margin-left:0}
.atlas-card-sizing{display:flex;align-items:center;gap:8px;white-space:nowrap;color:var(--muted);font-size:11px}
.atlas-card-sizing input{width:90px;accent-color:var(--red);margin:0}
.atlas-card-sizing output{min-width:35px;font-variant-numeric:tabular-nums}
#main .atlas-edition .atlas-filter-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.case-detail .case-detail-head{position:relative;isolation:isolate;display:flex;align-items:flex-end;min-height:300px;padding:32px;overflow:hidden;border-radius:10px;margin-bottom:40px;background:#111;color:#fff}
.case-detail .case-detail-head>.span5{position:absolute;inset:0;width:100%;z-index:-2}
.case-detail .case-detail-head>.span5 :is(.photo,img){width:100%;height:100%;object-fit:cover;max-height:none}
.case-detail .case-detail-head:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#000e,#0004),linear-gradient(0deg,#000b,transparent)}
.case-detail .case-detail-head>.span7{max-width:700px}
.case-detail .case-detail-head h1{font-size:clamp(28px,3vw,38px);color:#fff;margin:12px 0}
.case-detail .case-detail-head h2{font-size:20px;color:#fff;margin:0 0 12px}
.case-detail .case-detail-head :is(p,small){color:#ddd}
.case-detail .case-steps :is(p,li){font-size:15px;line-height:1.85}
.case-detail .case-steps h2{font-size:24px;line-height:1.4}
.tm-beginner .tw-content :is(p,li){font-size:15px;line-height:1.85}
.tm-beginner .tw-content :is(.tm-footnote,.tw-caption,.tm-operation-status){font-size:12px;line-height:1.75}
.bb-journal .bb-study-article-head{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:flex-end;max-width:none;min-height:300px;padding:32px;overflow:hidden;border-radius:10px;margin-bottom:40px;color:#fff}
.bb-journal .bb-study-article-head:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#000c,#0002),linear-gradient(0deg,#000e,transparent)}
.bb-journal .bb-article-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.bb-journal .bb-study-article-head h1{font-size:clamp(28px,3vw,38px);color:#fff;max-width:30ch;margin:14px 0}
.bb-journal .bb-study-article-head p,.bb-journal .bb-study-article-head>a{color:#ddd;font-size:14px;line-height:1.85;max-width:68ch}
.bb-study-reading article :is(p,li){font-size:15px;line-height:1.85}
.bb-study-reading article h2{font-size:24px;line-height:1.4}
.tm-beginner[data-stage='-1'] .tm-beginner-heading{display:none}
.tm-beginner .tm-case-intro>header{max-width:none;min-height:260px;padding:32px;margin-bottom:32px;display:flex;flex-direction:column;justify-content:flex-end;border-radius:10px;background:linear-gradient(90deg,#000d,#0005),url('assets/fourth-night/shot-1.png') center 42%/cover;color:#fff}
.tm-beginner .tw-content .tm-case-intro>header p{color:#ddd}
.tm-beginner .tm-case-intro>header h2{max-width:32ch;font-size:30px}
.tm-my-work .tw-checks{margin-bottom:0}
.tm-my-work .tw-checks label{min-height:32px;align-items:start}
#main .atlas-edition>.atlas-sidebar{grid-column:1;grid-row:1}
#main .atlas-edition>.atlas-content{grid-column:2;grid-row:1}
#main .atlas-edition .atlas-grid:not(.guide-assets){align-items:stretch;grid-template-columns:repeat(auto-fill,var(--atlas-card-width,280px))!important;gap:24px}
#main .atlas-edition .atlas-type-nav button{justify-content:flex-start;box-shadow:none}
#main .atlas-edition .atlas-type-nav button:after{display:none}
#main .atlas-edition .atlas-search .text-link{padding:0;background:none;border:0}
#main .atlas-edition .atlas-search-input{max-width:100%}
#main .atlas-edition .atlas-card h3 small{color:var(--muted)}
@media(max-width:650px){
 #main .atlas-edition .atlas-grid:not(.guide-assets){grid-template-columns:1fr!important}
 #main .atlas-edition .atlas-filter-row{display:block}
 #main .atlas-edition .atlas-subfilters{display:flex;flex-wrap:nowrap;overflow-x:auto;padding-bottom:12px;max-width:100%}
 #main .atlas-edition .atlas-subfilters button{flex:none;white-space:nowrap}
 #main .atlas-edition .atlas-filter-actions{justify-content:space-between;margin:0 0 4px}
 .bb-journal .bb-study-article-head{min-height:260px;padding:24px}
 .tm-beginner .tm-case-intro>header{min-height:240px;padding:24px}
}
.bb-community-frame{display:block;width:100%;min-height:calc(100vh - 68px);border:0;background:var(--bg)}
.tm-my-work [data-complete]{margin-top:28px!important;min-height:44px;padding:12px 24px!important}
.tm-my-work .tw-checks{display:grid;gap:12px}
.sidebar .reading-group{margin:0 0 30px!important}
.sidebar .reading-group-title{display:flex;align-items:center;gap:10px;margin:0 0 12px!important;padding:9px 12px!important;background:var(--soft);border-radius:7px;color:var(--ink);font-size:13px!important;line-height:1.5;font-weight:750}
.sidebar .reading-group-title>span:first-child{color:var(--red);font-size:11px;min-width:20px}
.sidebar .reading-group .side-link{margin:3px 0 3px 12px!important;padding:10px 12px!important;font-size:14px!important;line-height:1.65!important;font-weight:450;gap:12px}
.sidebar .reading-group .side-link.active{font-weight:700}
.sidebar .reading-group .side-link>span:first-child{font-size:11px;color:var(--muted);min-width:19px}
.sidebar .section-heading{font-size:11px;letter-spacing:0;margin-bottom:20px}
.atlas-edition{display:grid!important;grid-template-columns:248px minmax(0,1fr);gap:32px;align-items:start;padding-top:28px!important}
.atlas-edition .atlas-sidebar{position:sticky;top:88px;width:auto;max-height:calc(100vh - 108px);overflow-y:auto;padding:0 16px 20px 0;border:0;background:transparent}
.atlas-edition .atlas-heading{display:block!important;margin:0;padding:0;border:0}
.atlas-edition .atlas-heading h1{font-size:28px;margin:0 0 12px;line-height:1.25}
.atlas-edition .atlas-heading p{font-size:13px;line-height:1.8;margin:0 0 20px}
.atlas-edition .atlas-heading .eyebrow,.atlas-edition .atlas-expand-header,.atlas-collection-marker,.atlas-edition .atlas-collections small,.atlas-edition .atlas-collections b{display:none!important}
.atlas-edition .atlas-search{display:flex;flex-direction:column;align-items:stretch;gap:16px;margin:0 0 24px}
.atlas-edition .atlas-search-input{width:100%;min-width:0;font-size:12px}
.atlas-edition .atlas-collections{display:grid!important;grid-template-columns:1fr!important;gap:4px!important;padding:0 0 24px;margin:0}
.atlas-edition .atlas-collections button{min-height:42px;padding:10px 12px!important;text-align:left;border:0!important;border-radius:8px;background:transparent;transform:none!important;color:var(--muted);font-size:14px}
.atlas-edition .atlas-collections button.active{background:var(--soft);color:var(--ink);font-weight:750}
.atlas-edition .atlas-type-nav{display:flex;flex-direction:column;align-items:stretch;gap:4px;border:0;padding:0;margin:0;overflow:visible}
.atlas-edition .atlas-type-nav:before{content:'图鉴分类';display:block;font-size:12px;font-weight:750;padding:10px 12px;margin-bottom:10px;background:var(--soft);border-radius:7px;color:var(--ink)}
.atlas-edition .atlas-type-nav button{display:flex;align-items:start;gap:10px;text-align:left;white-space:normal;padding:10px 12px;margin-left:12px;border:0!important;border-radius:8px;font-size:13px;line-height:1.6;background:transparent;color:var(--muted)}
.atlas-edition .atlas-type-nav button.active{background:color-mix(in srgb,var(--red) 10%,transparent);color:var(--ink);font-weight:700}
.atlas-edition .atlas-type-nav small{font-size:10px;min-width:18px}
.atlas-content{min-width:0}
.atlas-edition .atlas-filter-row{position:static;padding:0 0 24px;gap:16px;border:0;background:transparent}
.atlas-edition .atlas-subfilters{gap:8px}
.atlas-edition .atlas-subfilters button{border-radius:18px;padding:8px 12px;font-size:12px}
.atlas-edition .atlas-grid{align-items:stretch;gap:24px;grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}
.atlas-edition .atlas-grid .atlas-card{display:flex;flex-direction:column;height:auto;aspect-ratio:1 / 1.41421356237;min-width:0;overflow:hidden;container-type:inline-size}
.atlas-edition .atlas-grid .atlas-card-body{display:flex;flex-direction:column;flex:1;min-height:0}
.atlas-edition .atlas-grid .atlas-meta{height:11cqw;flex:none;overflow:hidden;align-items:center}
 .atlas-edition .atlas-grid h3{font-size:18px;line-height:1.4;min-height:0;margin-bottom:6px}
.atlas-edition .atlas-grid h3 small{font-size:10px;line-height:1.5;margin-top:6px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.atlas-edition .atlas-grid .atlas-tags{height:auto;min-height:0;align-content:start;overflow:hidden;margin:0 0 6px;gap:5px}
.atlas-edition .atlas-grid .atlas-summary-rows{min-height:0;margin-bottom:8px}
.atlas-edition .atlas-grid .atlas-summary-rows dd{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.6;font-size:12px;height:auto}
.atlas-edition .atlas-grid .atlas-actions{margin-top:auto;flex:none;gap:8px;min-height:0}
.atlas-edition .atlas-grid .atlas-actions button{font-size:12px;padding:10px 12px}
.lesson :is(p,li),.tm-course .tm-lesson :is(p,li),.bb-study-article :is(p,li){font-size:15px;line-height:1.85}
.lesson :is(h2,h3){line-height:1.4}
.reading-layout .lesson .hero:has(.hero-figure){position:relative;isolation:isolate;display:flex;align-items:flex-end;min-height:260px;max-height:340px;padding:32px!important;overflow:hidden;border-radius:10px;margin-bottom:32px;background:#111}
.reading-layout .lesson .hero:has(.hero-figure) .hero-figure{position:absolute;inset:0;z-index:-2;margin:0;opacity:.85}
.reading-layout .lesson .hero:has(.hero-figure):after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#000c,#0003),linear-gradient(0deg,#000d,transparent);z-index:-1}
.reading-layout .lesson .hero .hero-figure :is(.photo,img){width:100%;height:100%;object-fit:cover;max-height:none}
.reading-layout .lesson .hero:has(.hero-figure) .hero-title{max-width:680px;color:#fff}
.reading-layout .lesson .hero:has(.hero-figure) h1{font-size:clamp(28px,2.5vw,38px);color:#fff}
.reading-layout .lesson .hero:has(.hero-figure) p{color:#ddd;font-size:14px;margin-bottom:0}
@media(max-width:900px){.atlas-edition{grid-template-columns:200px minmax(0,1fr);gap:20px}.atlas-edition .atlas-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}}
@media(max-width:650px){.atlas-edition{display:block!important}.atlas-edition .atlas-sidebar{position:static;max-height:none;padding:0;margin-bottom:24px}.atlas-edition .atlas-collections{grid-template-columns:repeat(2,1fr)!important;padding-bottom:12px}.atlas-edition .atlas-type-nav{flex-direction:row;flex-wrap:wrap}.atlas-edition .atlas-type-nav:before{width:100%}.atlas-edition .atlas-type-nav button{margin-left:0}.atlas-edition .atlas-grid{grid-template-columns:1fr}.reading-layout .lesson .hero:has(.hero-figure){min-height:220px;padding:24px!important;max-height:none}}
/* Atlas workspaces: the navigation and each reading window retain their own scroll position. */
@media(min-width:1000px){
 body.atlas-workspace{height:100dvh;overflow:hidden}
 body.atlas-workspace #main{height:calc(100dvh - 112px);min-height:0;overflow:hidden}
 body.atlas-workspace #site-footer{height:44px;min-height:44px;margin:0;padding-top:8px;padding-bottom:8px;overflow:hidden}
 body.atlas-workspace #main .atlas-edition{height:100%;min-height:0;padding-top:16px!important;padding-bottom:16px!important;box-sizing:border-box;align-items:stretch}
 body.atlas-workspace #main .atlas-sidebar{height:100%;max-height:none;position:static;overflow-y:auto;overscroll-behavior:contain}
 body.atlas-workspace .atlas-content{display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden}
 body.atlas-workspace .atlas-filter-row{flex:none;padding-bottom:16px}
 body.atlas-workspace .atlas-results{flex:1;min-height:0;overflow:hidden}
 #main .atlas-edition .prompt-workbench{height:100%;min-height:0;max-height:none;gap:16px;align-items:stretch}
 #main .atlas-edition :is(.guide-workbench,.motion-workbench){grid-template-columns:minmax(150px,1fr) minmax(0,2.6fr) minmax(150px,1fr)}
 #main .atlas-edition .prompt-workbench>.prompt-choice-column,#main .atlas-edition .prompt-workbench>.prompt-reading,#main .atlas-edition .prompt-workbench>.prompt-copy-panel{position:static;top:auto;height:100%;min-height:0;max-height:none;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
 #main .atlas-edition .prompt-workbench .prompt-choice-list{height:auto;max-height:none;overflow:visible}
 #main .atlas-edition .atlas-two-pane{grid-template-columns:minmax(0,1.41421356237fr) minmax(340px,1fr)}
 #main .atlas-edition .atlas-detail-window{height:100%;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;background:var(--panel);border-radius:12px}
 #main .atlas-edition .atlas-detail-window>.prompt-reading,#main .atlas-edition .atlas-detail-window>.prompt-copy-panel{position:static;height:auto;max-height:none;overflow:visible;min-width:0;width:auto;border:0;border-radius:0;background:transparent}
 #main .atlas-edition .atlas-detail-window>.prompt-reading:empty{display:none}
}
#main .atlas-edition .template-card-grid{justify-content:center;align-content:start;padding:0 8px 16px 0}
.atlas-template-cover{aspect-ratio:16/9;background:var(--soft);display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:7cqw;color:var(--ink);text-align:left}
.atlas-template-cover small{font-size:3.7cqw;color:var(--muted)}.atlas-template-cover b{font-size:7cqw;line-height:1.4;margin:3cqw 0}.atlas-template-cover span{font-size:3.7cqw;color:var(--muted)}
#main .atlas-edition .atlas-template-card .atlas-picture-button{flex:none;aspect-ratio:16/9;width:100%;padding:0;overflow:hidden}
#main .atlas-edition .atlas-template-card .atlas-picture-button :is(img,.photo){width:100%;height:100%;object-fit:cover;margin:0}
#main .atlas-edition .atlas-template-card .atlas-card-body{flex:1;min-height:0}
.atlas-detail-window .prompt-copy-panel{border-top:1px solid var(--line)!important}
#main .atlas-edition .prompt-copy-panel .copy-panel-text{flex:none;height:auto;max-height:none;overflow:visible}
#main .atlas-edition .guide-index-intro>small,#main .atlas-edition .guide-index-intro>p{display:none}
#main .atlas-edition .guide-index-intro h2{font-size:18px;margin:0}
#main .atlas-edition .guide-index-intro{padding:12px 8px 18px}
#main .atlas-edition .motion-index.is-compact{grid-template-columns:1fr}
#main .atlas-edition .atlas-detail-window :is(.side-reference-images,.personal-inline-image){margin:0;padding:0;display:block}
#main .atlas-edition .atlas-detail-window .exhibition{background:var(--panel)}
#main .atlas-edition .atlas-detail-window .exhibition-slide{padding:0}
#main .atlas-edition .atlas-detail-window .exhibition-mount{border:0;border-radius:0;box-shadow:none}
#main .atlas-edition .atlas-detail-window .exhibition-mount .photo{height:auto;aspect-ratio:auto!important;display:block}
#main .atlas-edition .atlas-detail-window .exhibition-mount .photo img{display:block;width:100%;height:auto;max-height:none;object-fit:contain!important}
#main .atlas-edition .atlas-detail-window .exhibition-topline{font-size:10px;padding:16px;margin:0}
#main .atlas-edition .atlas-detail-window .exhibition-footer{padding:12px 16px;font-size:11px}
#main .atlas-edition .atlas-detail-window .exhibition-controls{padding:0 12px 16px}
#main .atlas-edition .atlas-card[data-guide-step].active{outline:none}
#main .atlas-edition [data-guide-step] .atlas-actions button{grid-column:1/-1}
#main .atlas-edition .personal-inline-image img{display:block;width:100%;height:auto;object-fit:contain}
#main .atlas-edition .personal-toolbar{display:block;margin:0 0 16px;padding:0}
#main .atlas-edition .personal-toolbar p{font-size:12px;line-height:1.7}
#main .atlas-edition .personal-toolbar button{margin-top:8px;font-size:12px}
#main .atlas-edition .personal-subcategories{flex-wrap:wrap;margin-bottom:16px}
#main .atlas-edition .atlas-detail-window .side-detail-body p{overflow-wrap:anywhere}
/* A landscape detail window, with an image-led left side and an independent text side. */
#detail:has(.exhibition){width:min(1100px,calc((100dvh - 96px)*1.41421356237))!important;height:auto;aspect-ratio:1.41421356237/1;max-width:calc(100vw - 80px)!important;max-height:calc(100dvh - 96px)!important;border-radius:24px!important;background:var(--panel)!important;box-shadow:0 24px 90px #0008}
#detail:has(.exhibition)>.modal-scroll{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);height:100%;max-height:100%!important;overflow:hidden;border-radius:24px!important}
#detail:has(.exhibition) .modal-image,#detail:has(.exhibition) .modal-content{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
#detail:has(.exhibition) .modal-image{padding:0;background:var(--panel)}
#detail:has(.exhibition) .modal-content{padding:24px}
#detail .exhibition{--gallery-gap:16px;background:transparent}
#detail .exhibition-slide{padding:0}
#detail .exhibition-mount{border:0;border-radius:0;box-shadow:none}
#detail .exhibition-mount>.photo{height:auto!important;aspect-ratio:auto!important;display:block;background:transparent}
#detail .exhibition .exhibition-mount .photo img{display:block;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important}
#detail .exhibition .exhibition-mount .photo svg{display:block;width:100%;height:auto}
#detail .exhibition-topline{padding:18px 16px}
#detail .exhibition-footer{padding:12px 16px 8px}
#detail .exhibition-controls{padding:0 12px 16px}
#detail:has(.exhibition) .modal-close{border-radius:50%;right:-12px;top:-12px}
@media(max-width:999px){#main .atlas-edition .atlas-two-pane{grid-template-columns:1fr}.atlas-detail-window{background:var(--panel);border-radius:12px}.atlas-detail-window>.prompt-reading,.atlas-detail-window>.prompt-copy-panel{height:auto!important;max-height:none!important;overflow:visible!important}}
@media(max-width:700px){#detail:has(.exhibition){width:calc(100vw - 32px)!important;max-width:calc(100vw - 32px)!important;height:calc(100dvh - 64px);max-height:calc(100dvh - 64px)!important;aspect-ratio:auto;border-radius:20px}#detail:has(.exhibition)>.modal-scroll{display:block;overflow-y:auto;border-radius:20px}#detail:has(.exhibition) .modal-image,#detail:has(.exhibition) .modal-content{overflow:visible}#detail:has(.exhibition) .modal-content{padding:20px}}

/* Sketch proportions, not a fixed 1280px canvas. Cards keep their size as the viewport grows. */
/* One field row structure across image, motion, asset guides, prompts and dialogue. */
#main .atlas-edition .atlas-detail-window .side-detail-body>.atlas-field-row{display:grid;grid-template-columns:80px minmax(0,1fr)!important;gap:10px!important;align-items:start;padding:16px 0}
#main .atlas-edition .atlas-detail-window .atlas-field-content{min-width:0;display:block}
#main .atlas-edition .atlas-detail-window .atlas-field-content>:first-child{margin-top:0}
#main .atlas-edition .atlas-detail-window .atlas-field-content>:last-child{margin-bottom:0}
#main .atlas-edition .atlas-detail-window .atlas-field-content .reference-chips{display:flex;flex-direction:row;flex-wrap:wrap;gap:6px;margin-top:10px}
#main .atlas-edition .atlas-detail-window .prompt-editable-fields{display:block;margin:0}
#main .atlas-edition .atlas-detail-window .prompt-editable-fields>div{display:block;padding:0 0 12px;border:0}
#main .atlas-edition .atlas-detail-window .prompt-editable-fields dt{font-size:12px;line-height:1.6;color:var(--ink);margin:0 0 3px}
#main .atlas-edition .atlas-detail-window .prompt-editable-fields dd{font-size:13px;line-height:1.8;color:var(--muted);margin:0}
#main .atlas-edition .atlas-detail-window .side-detail-body>.guide-module{display:block!important;padding:20px 0;margin:0;border:0;border-top:1px solid var(--line);background:transparent}
#main .atlas-edition .atlas-detail-window .guide-module h3{color:var(--red);font-size:12px;margin:20px 0 10px}
#main .atlas-edition .atlas-detail-window .guide-module h3:first-child{margin-top:0}
#main .atlas-edition .atlas-detail-window .guide-case-fields{margin:0;display:block}
#main .atlas-edition .atlas-detail-window .guide-case-fields>div{display:grid;grid-template-columns:80px minmax(0,1fr);gap:10px;padding:10px 0;border:0}
#main .atlas-edition .atlas-detail-window .guide-case-fields :is(dt,dd){margin:0;font-size:13px;line-height:1.8;min-width:0}
#main .atlas-edition .atlas-detail-window .guide-case-fields dt{font-size:12px;color:var(--red)}
#main .atlas-edition .atlas-detail-window :is(.prompt-reading,.motion-inspector,.guide-reading){padding:0!important;display:block}
#main .atlas-edition .atlas-detail-window .motion-explanation{display:block;margin:0}
#main .atlas-edition .atlas-detail-window .motion-preview{padding:0 20px 20px;margin:0}
#main .atlas-edition .atlas-detail-window .motion-animation-window{width:100%;height:auto;aspect-ratio:16/9;min-height:0}
#main .atlas-edition .atlas-detail-window .motion-animation-window img{width:100%;height:100%;object-fit:contain}
#main .atlas-edition .atlas-detail-window .prompt-copy-panel:has(.copy-panel-text){display:block;padding:28px 24px!important;margin:24px 0 0!important;width:100%;box-sizing:border-box;background:var(--soft)!important;border:0!important;border-radius:0!important}
#main .atlas-edition .atlas-detail-window .copy-panel-heading{padding:0 0 16px;border:0}
#main .atlas-edition .atlas-detail-window .copy-panel-heading>.eyebrow{display:none}
#main .atlas-edition .atlas-detail-window .copy-panel-heading h2{font-size:14px;color:var(--ink);margin:0 0 12px}
#main .atlas-edition .atlas-detail-window .copy-panel-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
#main .atlas-edition .atlas-detail-window .copy-current-template{width:auto;margin-left:auto;font-size:11px;padding:8px 12px}
#main .atlas-edition .atlas-detail-window .copy-panel-text{padding:0!important;margin:0!important;border:0!important;background:transparent!important;border-radius:0;box-shadow:none;max-height:none;height:auto;overflow:visible;font-size:13px;line-height:1.85;overflow-wrap:anywhere}
#main .atlas-edition .atlas-detail-window .prompt-copy-panel footer{padding:12px 0 0}
#main .atlas-edition .atlas-detail-window .side-detail-body .side-prompt{background:var(--soft);border:0!important;border-radius:10px!important;padding:20px}
body:has(.atlas-edition) #site-footer{display:none!important}
#main .atlas-edition .atlas-search .text-link{display:none}
.atlas-rail-shortcuts{display:grid;gap:4px;margin-top:24px;padding:12px 0 20px}
.atlas-rail-shortcuts a{display:flex;align-items:center;justify-content:space-between;padding:8px 10px;font-size:12px;line-height:1.5;color:var(--muted);text-decoration:none;border-radius:6px}
.atlas-rail-shortcuts a:hover{background:var(--soft);color:var(--ink)}
@media(min-width:1000px){body.atlas-workspace #main{height:calc(100dvh - 68px)}#main .atlas-edition .atlas-sidebar{padding-bottom:0!important}#main .atlas-edition .atlas-rail-shortcuts{margin-top:auto;flex:none;padding-top:24px}}
.atlas-detail-window .exhibition-topline,
.atlas-detail-window .exhibition-footer,
.atlas-detail-window .exhibition-thumb-number,
.atlas-detail-window .side-detail-heading>.eyebrow{display:none!important}
#main .atlas-edition .atlas-detail-window .side-detail-heading{padding:24px 20px 16px;background:transparent;border:0;margin:0}
#main .atlas-edition .atlas-detail-window .side-detail-heading h2{font-size:28px;line-height:1.3;margin:0;letter-spacing:-.025em}
#main .atlas-edition .atlas-detail-window .side-detail-heading>small{display:block;font:11px/1.5 inherit;letter-spacing:0;color:var(--muted);margin-top:8px}
#main .atlas-edition .atlas-detail-window .reference-chips{margin-top:12px;gap:8px}
#main .atlas-edition .atlas-detail-window .reference-chips span{background:transparent;border:0;padding:0;color:var(--muted);font-size:11px}
#main .atlas-edition .atlas-detail-window .exhibition-controls{padding:0 20px 20px}
#main .atlas-edition .atlas-detail-window .exhibition-index button{padding:3px;border-radius:6px}
#main .atlas-edition .atlas-detail-window .side-detail-body{padding:0 20px 24px}
#main .atlas-edition .atlas-detail-window .side-detail-body>section{border:0;margin:0 0 28px;padding:0;background:transparent}
#main .atlas-edition .atlas-detail-window .side-detail-body h3{font-size:14px;line-height:1.5;color:var(--ink);margin:0 0 8px}
#main .atlas-edition .atlas-detail-window .side-detail-body :is(p,li){font-size:13px;line-height:1.8;color:var(--muted)}
#main .atlas-edition .atlas-detail-window .side-detail-body .side-prompt{padding:16px;background:var(--soft);border-radius:10px}
/* Original detail reader language: full image group, title, red field labels and gold prompt headers. */
#main .atlas-edition .atlas-detail-window .exhibition-footer{display:block!important;padding:10px 20px;background:transparent;border:0;font-size:11px}
#main .atlas-edition .atlas-detail-window .exhibition-thumb-number{display:block!important;font-size:9px}
#main .atlas-edition .atlas-detail-window .exhibition-controls{padding:8px 20px 20px}
#main .atlas-edition .atlas-detail-window .side-detail-heading{padding:24px 20px;background:var(--panel)}
#main .atlas-edition .atlas-detail-window .side-detail-heading>.reference-chips{display:none}
#main .atlas-edition .atlas-detail-window .reference-intro{font-size:12px;line-height:1.8;color:var(--muted);margin:14px 0 0}
#main .atlas-edition .atlas-detail-window .side-detail-body{padding:0 20px 24px;background:var(--panel)}
#main .atlas-edition .atlas-detail-window .side-detail-body>section:not(.side-prompt){display:grid;grid-template-columns:minmax(90px,26%) minmax(0,1fr);gap:16px;padding:18px 0;margin:0;border-top:1px solid var(--line);border-radius:0}
#main .atlas-edition .atlas-detail-window .side-detail-body>section:not(.side-prompt)>h3{color:var(--red);font-size:12px;line-height:1.7;margin:0}
#main .atlas-edition .atlas-detail-window .side-detail-body>section :is(p,ol,ul){margin:0;min-width:0;overflow-wrap:anywhere}
#main .atlas-edition .atlas-detail-window .side-detail-body .reference-chips{margin:0;align-self:start}
#main .atlas-edition .atlas-detail-window .side-detail-body .reference-chips span{background:color-mix(in srgb,#d8c17d 12%,transparent);color:#d8c17d;border:1px solid #d8c17d33;border-radius:4px;padding:2px 6px}
#main .atlas-edition .atlas-detail-window .side-detail-body .side-prompt{position:relative;border:1px solid var(--line);padding:18px;margin:18px 0;border-radius:4px;background:var(--soft)}
#main .atlas-edition .atlas-detail-window .side-prompt h3{font-size:11px;color:#d8c17d;margin:0 0 14px;padding-right:90px}
#main .atlas-edition .atlas-detail-window .side-prompt button{position:absolute;top:12px;right:12px;font-size:10px;padding:6px 9px;border-radius:5px}
#main .atlas-edition .atlas-detail-window .atlas-relations{display:none!important}
#main .atlas-edition .atlas-detail-window .side-detail-body>section:not(.side-prompt){grid-template-columns:minmax(88px,25%) minmax(0,1fr);gap:16px;padding:16px 0;align-items:start}
#main .atlas-edition .atlas-detail-window .side-detail-body>section:not(.side-prompt)>h3{font-weight:650}
#main .atlas-edition .atlas-detail-window .side-detail-body :is(p,li){line-height:1.85}
#main .atlas-edition .atlas-detail-window .side-detail-body :is(ol,ul){padding-left:18px}
#main .atlas-edition .atlas-detail-window .side-detail-body li+li{margin-top:6px}
#main .atlas-edition .atlas-detail-window .atlas-prompt-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;flex-wrap:wrap}
#main .atlas-edition .atlas-detail-window .atlas-prompt-heading h3{margin:0;padding:0;flex:1;min-width:130px;font-size:11px;line-height:1.6}
#main .atlas-edition .atlas-detail-window .atlas-prompt-heading button{position:static;flex:none;margin:0}
#main .atlas-edition .atlas-detail-window .side-prompt>p{white-space:pre-wrap}
/* Prompt area is a full-width chapter break, not an inset card inside the reader. */
#main .atlas-edition .atlas-detail-window .side-detail-body .side-prompt{width:calc(100% + 40px);box-sizing:border-box;margin:24px -20px 0;padding:28px 24px!important;border:0!important;border-radius:0!important;background:var(--soft)}
#main .atlas-edition .atlas-detail-window .side-detail-body .side-prompt+.side-prompt{margin-top:0;padding-top:12px!important}
#main .atlas-edition .atlas-detail-window .atlas-prompt-heading{margin-bottom:20px;gap:12px}
#main .atlas-edition .atlas-detail-window .copy-panel-heading{padding:0 0 20px}
#main .atlas-edition .atlas-detail-window .copy-panel-text{padding:0!important;line-height:1.95}
#main .atlas-edition .atlas-detail-window .prompt-copy-panel:has(.copy-panel-text) footer{padding-top:20px}
/* Prompt reference: full-width grey header/footer, padded dark text well. */
#main .atlas-edition .atlas-detail-window .prompt-copy-panel:has(.copy-panel-text){padding:0!important;margin:24px 0 0!important;background:var(--panel)!important;border-radius:0!important}
#main .atlas-edition .atlas-detail-window .copy-panel-heading{padding:24px!important;background:var(--soft);border-bottom:1px solid var(--line)}
#main .atlas-edition .atlas-detail-window .copy-panel-heading>.eyebrow{display:block;color:#b4a580;font:10px/1.6 monospace;letter-spacing:.12em;margin:0 0 10px}
#main .atlas-edition .atlas-detail-window .copy-panel-heading h2{font-size:20px;line-height:1.4;margin:0 0 18px}
#main .atlas-edition .atlas-detail-window .copy-panel-tools{gap:12px}
#main .atlas-edition .atlas-detail-window .copy-panel-text{width:calc(100% - 48px);box-sizing:border-box;margin:24px!important;padding:20px!important;background:var(--bg)!important;border:1px solid var(--line)!important;border-radius:10px;line-height:1.95;white-space:pre-wrap}
#main .atlas-edition .atlas-detail-window .copy-panel-text mark{color:#d8c17d;background:#d8c17d16;padding:2px 4px;border-radius:3px}
#main .atlas-edition .atlas-detail-window .prompt-copy-panel:has(.copy-panel-text) footer{padding:18px 24px 24px;background:var(--soft);border-top:1px solid var(--line)}
#main .atlas-edition .atlas-detail-window .prompt-copy-panel:has(.copy-panel-text) footer p{margin:0 0 8px;font-size:11px;line-height:1.8}
#main .atlas-edition .atlas-detail-window .side-detail-body .side-prompt{padding:0 24px 24px!important;background:var(--panel);border-radius:0!important}
#main .atlas-edition .atlas-detail-window .side-prompt .atlas-prompt-heading{margin:0 -24px 24px;padding:22px 24px;background:var(--soft);border-bottom:1px solid var(--line)}
#main .atlas-edition .atlas-detail-window .side-prompt>p{padding:20px!important;background:var(--bg);border:1px solid var(--line);border-radius:10px;margin:0;line-height:1.95}
@media(min-width:1000px){
 body.atlas-workspace #main .atlas-edition{--atlas-edge:clamp(20px,1.6vw,40px);width:100%;max-width:none;margin:0;padding:20px var(--atlas-edge) 0!important;grid-template-columns:clamp(210px,16vw,280px) minmax(0,1fr);gap:20px}
 body.atlas-workspace #main .atlas-sidebar{padding:0;display:flex;flex-direction:column}
 #main .atlas-edition .atlas-heading h1{font-size:30px;line-height:1.25;margin:0 0 16px}
 #main .atlas-edition .atlas-heading p{font-size:14px;line-height:1.8;margin:0 0 20px}
 #main .atlas-edition .atlas-search{margin:0 0 20px;gap:0}
 #main .atlas-edition .atlas-search-input{height:34px;min-height:34px;padding:8px 10px;font-size:11px;border-radius:8px}
 #main .atlas-edition .atlas-search .text-link{position:absolute;bottom:0;left:0;font-size:10px}
 #main .atlas-edition .atlas-sidebar{position:relative!important;top:0!important;padding-bottom:28px}
 #main .atlas-edition .atlas-collections{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;padding:0 0 20px}
 #main .atlas-edition .atlas-collections button{min-height:34px;height:34px;padding:6px!important;text-align:center;font-size:12px;border-radius:8px}
 #main .atlas-edition .atlas-collections span{font-size:12px;white-space:nowrap}
 #main .atlas-edition .atlas-type-nav:before{font-size:10px;padding:8px;margin-bottom:4px}
 #main .atlas-edition .atlas-type-nav button{font-size:12px;line-height:1.5;padding:9px 10px;margin-left:0;gap:8px}
 #main .atlas-edition .atlas-type-nav small{font-size:9px;min-width:14px}
 body.atlas-workspace .atlas-filter-row{height:auto;min-height:56px;padding:0 0 20px;gap:12px;align-items:flex-start;flex-wrap:wrap}
 #main .atlas-edition .atlas-subfilters{gap:5px;min-width:0;overflow-x:auto;flex:1;white-space:nowrap}
 #main .atlas-edition .atlas-subfilters button{font-size:12px;padding:8px 12px;min-height:34px;flex:none}
 #main .atlas-edition .atlas-filter-actions{gap:8px;flex:none;font-size:9px}
 #main .atlas-edition .atlas-filter-actions button{font-size:9px;padding:4px 6px}
 #main .atlas-edition .atlas-card-sizing{font-size:9px;gap:4px}
 #main .atlas-edition .atlas-card-sizing select{font:inherit;color:var(--ink);background:var(--soft);border:1px solid var(--line);border-radius:6px;padding:4px 6px}
 #main .atlas-edition .atlas-count{font-size:9px}
 #main .atlas-edition .atlas-two-pane{grid-template-columns:var(--atlas-grid-span,minmax(0,1fr)) minmax(0,1fr);gap:16px}
 #main .atlas-edition .prompt-choice-column{background:transparent;border:0;border-radius:0;padding:0}
 #main .atlas-edition .atlas-grid:not(.guide-assets){grid-template-columns:repeat(auto-fill,var(--atlas-card-width,200px))!important;gap:16px!important;justify-content:start;align-content:start;padding:0 0 48px}
 #main .atlas-edition .prompt-choice-column{mask-image:none;scrollbar-width:none;scrollbar-gutter:auto;contain:layout paint}
 #main .atlas-edition .atlas-results{position:relative}
 #main .atlas-edition .atlas-results:after{content:'';position:absolute;z-index:5;pointer-events:none;left:0;bottom:0;width:var(--atlas-grid-span,60%);height:64px;background:linear-gradient(to bottom,transparent,var(--bg) 90%,var(--bg));opacity:1}
 #main .atlas-edition .atlas-grid>.atlas-card{content-visibility:auto;contain-intrinsic-size:auto 283px}
 #main .atlas-edition .atlas-grid .atlas-meta>span{font-size:4cqw!important;line-height:1.2!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 #main .atlas-edition .atlas-grid .atlas-meta{height:15cqw;min-height:15cqw!important;line-height:1.3;gap:4px;padding:4cqw 5cqw}
 #main .atlas-edition .atlas-grid .atlas-card h3{height:15cqw;min-height:15cqw;max-height:15cqw;margin-bottom:2cqw}
 #main .atlas-edition .atlas-grid .atlas-card .atlas-tags{height:8cqw;min-height:8cqw;max-height:8cqw;margin-bottom:2cqw}
 #main .atlas-edition .atlas-grid .atlas-card .atlas-summary-rows{height:10cqw;min-height:10cqw;margin-bottom:0}
 #main .atlas-edition .atlas-grid .atlas-card .atlas-actions{display:grid;grid-template-columns:1fr 1fr;gap:4cqw;margin:auto -5cqw 0!important;padding:4cqw!important;flex:none}
 #main .atlas-edition .atlas-grid .atlas-card .atlas-actions button{width:100%;height:14cqw;min-height:0;padding:2cqw!important;font-size:4cqw;margin:0}
 #main .atlas-edition .atlas-card{border-radius:8px}
 #main .atlas-edition .atlas-detail-window{height:calc(100% - var(--atlas-edge));max-height:calc(100% - var(--atlas-edge));min-height:0;align-self:start;border-radius:16px;border:1px solid color-mix(in srgb,var(--ink) 22%,var(--bg))!important;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;scrollbar-gutter:stable;contain:layout paint}
}

/* Screenshot-matched prompt component. Keep this isolated from article field-row styles. */
#main .atlas-edition .atlas-detail-window .atlas-prompt-reference.prompt-copy-panel{display:block!important;width:100%!important;margin:24px 0 0!important;padding:0!important;border:0!important;border-radius:0!important;background:var(--panel)!important;box-shadow:none!important;overflow:visible!important}
#main .atlas-edition .atlas-prompt-reference.prompt-copy-panel>.copy-panel-heading{display:block!important;padding:28px 24px 24px!important;margin:0!important;background:var(--soft)!important;border:0!important;border-bottom:1px solid var(--line)!important}
#main .atlas-edition .atlas-prompt-reference.prompt-copy-panel>.copy-panel-heading>.eyebrow{display:block!important;font:11px/1.6 ui-monospace,monospace!important;letter-spacing:.12em!important;color:#b4a580!important;margin:0 0 12px!important}
#main .atlas-edition .atlas-prompt-reference.prompt-copy-panel>.copy-panel-heading>h2{font-size:20px!important;font-weight:750!important;line-height:1.4!important;margin:0 0 20px!important;padding:0!important}
#main .atlas-edition .atlas-prompt-reference .copy-panel-tools{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;flex-wrap:wrap!important}
#main .atlas-edition .atlas-prompt-reference .copy-variants{display:flex!important;gap:8px!important;margin:0!important}
#main .atlas-edition .atlas-prompt-reference .copy-variants button{font-size:12px!important;line-height:1.5!important;padding:8px 12px!important;border-radius:5px!important;border:1px solid #d8c17d44!important;background:#d8c17d12!important;color:#d8c17d!important}
#main .atlas-edition .atlas-prompt-reference button.copy-current-template{position:static!important;display:flex!important;width:auto!important;min-height:36px!important;gap:16px!important;align-items:center!important;margin:0 0 0 auto!important;padding:9px 14px!important;font-size:12px!important;border-radius:7px!important}
#main .atlas-edition .atlas-prompt-reference.prompt-copy-panel>.copy-panel-text{display:block!important;box-sizing:border-box!important;width:calc(100% - 48px)!important;height:auto!important;min-height:0!important;max-height:none!important;margin:24px!important;padding:20px!important;border:1px solid var(--line)!important;border-radius:9px!important;background:var(--bg)!important;color:var(--ink)!important;font:500 14px/1.95 inherit;white-space:pre-wrap!important;overflow:visible!important;overflow-wrap:anywhere!important;box-shadow:none!important}
#main .atlas-edition .atlas-prompt-reference.prompt-copy-panel>.copy-panel-text mark{color:#d8c17d!important;background:#d8c17d16!important;padding:2px 4px!important;border-radius:3px!important}
#main .atlas-edition .atlas-prompt-reference.prompt-copy-panel>footer{display:block!important;padding:20px 24px 24px!important;margin:0!important;background:var(--soft)!important;border-top:1px solid var(--line)!important}
#main .atlas-edition .atlas-prompt-reference.prompt-copy-panel>footer p{font-size:12px!important;line-height:1.8!important;margin:0 0 8px!important;color:var(--muted)!important}
[data-theme=dark] #main .atlas-edition .atlas-prompt-reference.prompt-copy-panel{background:#1d1d1d!important}
[data-theme=dark] #main .atlas-edition .atlas-prompt-reference.prompt-copy-panel>:is(.copy-panel-heading,footer){background:#282828!important}
[data-theme=dark] #main .atlas-edition .atlas-prompt-reference.prompt-copy-panel>.copy-panel-text{background:#101010!important;border-color:#444!important}
#main .atlas-edition .atlas-prompt-reference.prompt-copy-panel>.copy-panel-text{font-family:inherit!important;font-size:14px!important;font-weight:500!important;line-height:1.95!important}
/* Compact shared prompt heading; every purpose/language has its own copy target. */
#main .atlas-edition .atlas-detail-window .atlas-prompt-reference.prompt-copy-panel>.copy-panel-heading{padding:16px 20px!important;background:var(--soft)!important}
[data-theme=dark] #main .atlas-edition .atlas-detail-window .atlas-prompt-reference.prompt-copy-panel>.copy-panel-heading{background:#303030!important}
#main .atlas-edition .atlas-detail-window .atlas-prompt-reference.prompt-copy-panel>.copy-panel-heading>.eyebrow{font:10px/1.4 inherit!important;letter-spacing:0!important;margin:0 0 5px!important}
#main .atlas-edition .atlas-detail-window .atlas-prompt-reference.prompt-copy-panel>.copy-panel-heading>h2{font-size:17px!important;line-height:1.4!important;margin:0 0 6px!important}
#main .atlas-edition .atlas-detail-window .prompt-area-note{font-size:12px;line-height:1.7;color:var(--muted);margin:0}
#main .atlas-edition .atlas-detail-window .atlas-prompt-boxes{display:grid;gap:16px;padding:20px;background:var(--panel)}
#main .atlas-edition .atlas-detail-window .atlas-prompt-box{display:block;min-width:0;padding:16px;border:1px solid var(--line);border-radius:9px;background:var(--bg);margin:0}
#main .atlas-edition .atlas-detail-window .atlas-prompt-box>header{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 16px}
#main .atlas-edition .atlas-detail-window .atlas-prompt-box>header h3{font-size:12px;color:#d8c17d;line-height:1.5;margin:0;padding:0}
#main .atlas-edition .atlas-detail-window .atlas-prompt-box>header button{position:static;margin:0 0 0 auto;background:var(--red);color:#fff;border:0;border-radius:5px;padding:7px 10px;font-size:11px;line-height:1.4}
#main .atlas-edition .atlas-detail-window .atlas-prompt-box-text{font-size:13px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--ink)}
#main .atlas-edition .atlas-detail-window .atlas-prompt-box-text mark{color:#d8c17d;background:#d8c17d16;border-radius:3px;padding:2px 4px}
#main .atlas-edition .atlas-detail-window .atlas-inline-prompts.prompt-copy-panel{width:calc(100% + 40px)!important;margin:24px -20px 0!important}
/* Give transformed edge cards an overscan gutter without changing the card grid or its gaps. */
@media(min-width:1000px){
 body.atlas-workspace .atlas-content{overflow:visible}
 body.atlas-workspace .atlas-results{overflow:visible}
 #main .atlas-edition .atlas-two-pane>.prompt-choice-column{width:calc(100% + 96px);height:calc(100% + 64px);box-sizing:border-box;margin:-64px -48px 0;padding:64px 48px 0;contain:layout;overflow-y:auto;overflow-x:hidden}
}
#main .atlas-edition .atlas-detail-window .exhibition-footer{padding:12px 20px!important;box-sizing:border-box;width:100%;text-align:left}
#main .atlas-edition .atlas-detail-window .exhibition-caption{padding:0!important;margin:0!important;text-align:left;font-size:12px;line-height:1.7}
/* Clear density control and a shared, restrained corner radius family. */
#main .atlas-edition .atlas-filter-actions .atlas-card-sizing{display:flex;align-items:center;gap:10px;font-size:12px;line-height:1.5;color:var(--ink);white-space:nowrap}
#main .atlas-edition .atlas-card-sizing .atlas-density-button{position:relative;display:inline-flex;align-items:center;border:1px solid color-mix(in srgb,var(--ink) 30%,var(--bg));border-radius:9px;background:var(--soft);min-height:36px;box-shadow:0 2px 6px #0001}
#main .atlas-edition .atlas-card-sizing .atlas-density-button select{appearance:none;width:100%;min-width:115px;padding:8px 32px 8px 12px;border:0;border-radius:9px;font-size:12px;font-weight:650;line-height:1.5;background:transparent;color:var(--ink);cursor:pointer}
#main .atlas-edition .atlas-density-button>span{position:absolute;right:12px;pointer-events:none;font-size:16px;color:var(--muted)}
#main .atlas-edition .atlas-density-button:focus-within{outline:2px solid var(--red);outline-offset:2px}
#main .atlas-edition .atlas-card-sizing output{font-size:11px;color:var(--muted)}
#main .atlas-edition .atlas-grid .atlas-card{border-radius:12px!important}
#main .atlas-edition .atlas-grid .atlas-card .atlas-actions button{border-radius:8px!important}
#main .atlas-edition .prompt-choice-column{scrollbar-width:none!important;-ms-overflow-style:none}
#main .atlas-edition .prompt-choice-column::-webkit-scrollbar,#main .atlas-edition .prompt-choice-column .atlas-grid::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
@media(min-width:1000px){
 body.atlas-workspace #main .atlas-filter-row{position:relative;z-index:6;background:var(--bg);isolation:isolate}
 #main .atlas-edition .atlas-results{isolation:isolate;z-index:1}
 #main .atlas-edition .atlas-results:before{content:'';position:absolute;z-index:5;pointer-events:none;left:-8px;top:-64px;width:calc(var(--atlas-grid-span,60%) + 8px);height:112px;background:linear-gradient(to bottom,var(--bg) 0%,var(--bg) 57%,transparent 100%);opacity:var(--atlas-top-fade,0);transition:opacity .35s ease-out}
}
#main .atlas-edition .atlas-heading,#main .atlas-edition .atlas-collections,#main .atlas-edition .atlas-collections button{animation:none!important;transition:background-color .15s,color .15s!important}
#main .atlas-edition .atlas-card-sizing .atlas-zoom-control{display:inline-flex;align-items:center;gap:0;background:var(--soft);border:1px solid var(--line);border-radius:9px;overflow:hidden;min-height:34px}
#main .atlas-edition .atlas-filter-actions .atlas-zoom-control button{display:grid;place-items:center;width:34px;height:34px;padding:0;font-size:18px;line-height:1;border:0;border-radius:0;background:transparent;color:var(--ink);cursor:pointer}
#main .atlas-edition .atlas-zoom-control button:hover:not(:disabled){background:color-mix(in srgb,var(--ink) 9%,transparent)}
#main .atlas-edition .atlas-zoom-control button:disabled{opacity:.3;cursor:default}
#main .atlas-edition .atlas-zoom-control button:focus-visible{outline:1px solid var(--muted);outline-offset:-4px;border-radius:7px}
#main .atlas-edition .atlas-card-sizing .atlas-zoom-control output{min-width:52px;text-align:center;font-size:12px;font-variant-numeric:tabular-nums;font-weight:650;color:var(--ink)}
/* Sidebar hierarchy: page identity, search, primary workspace tabs, then categories. */
#main .atlas-edition .atlas-heading h1{margin-bottom:14px}
#main .atlas-edition .atlas-heading p{margin-bottom:24px}
#main .atlas-edition .atlas-search{margin:0 0 28px;overflow:visible}
#main .atlas-edition .atlas-search-input{display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;height:42px;min-height:42px;padding:11px 13px;font:inherit;font-size:12px;line-height:1.5;border:1px solid var(--line);border-radius:10px;background:var(--soft);color:var(--ink);box-shadow:none;transform:none;transition:border-color .15s,background .15s}
#main .atlas-edition .atlas-search-input:focus{outline:none!important;border-color:var(--muted)!important;box-shadow:inset 0 0 0 1px var(--muted)!important;transform:none!important;background:var(--panel)}
#main .atlas-edition .atlas-search-input::placeholder{color:var(--muted);opacity:.8}
#main .atlas-edition .atlas-collections{position:relative;gap:8px!important;padding:0 0 28px!important;margin:0!important}
#main .atlas-edition .atlas-collections:before{content:'图鉴空间';grid-column:1/-1;display:block;font-size:11px;font-weight:600;line-height:1.5;color:var(--muted);padding:0 2px 4px}
#main .atlas-edition .atlas-collections button{display:flex;align-items:center;justify-content:center;min-height:46px;height:auto;padding:12px 6px!important;border:1px solid var(--line)!important;border-radius:10px;background:var(--soft);color:var(--muted);font-size:13px;font-weight:600;text-align:center;box-shadow:none;transform:none!important}
#main .atlas-edition .atlas-collections button span{font-size:13px;line-height:1.5;white-space:normal}
#main .atlas-edition .atlas-collections button.active{background:var(--ink);border-color:var(--ink)!important;color:var(--bg);font-weight:750}
#main .atlas-edition .atlas-collections button:hover:not(.active){background:var(--panel);border-color:var(--muted)!important;color:var(--ink)}
#main .atlas-edition .atlas-collections button:focus-visible{outline:1px solid var(--muted);outline-offset:-4px}
@media(min-width:1000px){
 body.atlas-workspace #main .atlas-edition{padding-top:16px!important}
 body.atlas-workspace #main .atlas-edition .atlas-filter-row{min-height:0;height:auto;margin:0;padding:0 0 16px;align-items:center}
 #main .atlas-edition .atlas-results,#main .atlas-edition .atlas-two-pane{margin-top:0}
 #main .atlas-edition .atlas-subfilters{padding:0;margin:0}
}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 #main .atlas-edition .atlas-card:hover{z-index:10;transform:perspective(1100px) rotateX(var(--atlas-rx,0deg)) rotateY(var(--atlas-ry,0deg)) scale(1.05)}
 #main .atlas-edition .atlas-two-pane:has(.atlas-card:hover)>.prompt-choice-column{position:relative;z-index:3}
}
#personal-atlas-editor{box-sizing:border-box;width:min(900px,calc(100vw - 48px));max-height:calc(100dvh - 64px);padding:0;border-radius:16px;overflow:hidden}
#personal-atlas-editor .personal-form{margin:0;max-height:calc(100dvh - 66px)}
#personal-atlas-editor .personal-form-scroll{padding:24px;scroll-padding:16px}
#personal-atlas-editor .personal-form-grid{gap:20px 16px}
#personal-atlas-editor .personal-form-grid>label{min-width:0}
#personal-atlas-editor :is(input,textarea,select){box-sizing:border-box;max-width:100%}
#personal-atlas-editor :is(input,textarea,select):focus{outline-offset:-2px}
#personal-atlas-editor .personal-add-subcategory{align-self:start;font-size:12px;padding:6px 10px;border:1px solid var(--line);border-radius:7px;margin-top:6px}
#personal-atlas-editor label>small{font-size:11px;line-height:1.6;color:var(--muted)}
#main .atlas-edition .personal-toolbar{padding:8px 4px 16px}
.resource-workspace{display:grid;grid-template-columns:230px minmax(0,1fr) minmax(300px,30%);gap:24px;padding:28px 2vw;align-items:start}
.resource-rail{position:sticky;top:90px;padding:0;background:none;border:0;max-height:calc(100dvh - 120px);overflow:auto}
.resource-rail h1{font-size:30px;margin:0 0 14px}.resource-rail p{font-size:13px;color:var(--muted);line-height:1.8;margin:0 0 20px}
.resource-rail input{box-sizing:border-box;width:100%;padding:11px 12px;background:var(--soft);border:1px solid var(--line);border-radius:10px;color:var(--ink);font-size:12px}
.resource-rail nav{display:grid;gap:6px;margin:24px 0}.resource-rail nav button{text-align:left;padding:11px 12px;border:0;border-radius:8px;background:none;color:var(--muted);font-size:13px}.resource-rail nav button.active{background:var(--soft);color:var(--ink);font-weight:700}
.resource-rail>a,.resource-manage{display:block;margin:12px 0;padding:10px;font-size:12px;color:var(--ink)}
.resource-list{min-width:0}.resource-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:16px;align-content:start}
.resource-choice{padding:0;text-align:left;background:var(--panel);border:1px solid var(--line);border-radius:12px;overflow:hidden;color:var(--ink);min-width:0;aspect-ratio:1/1.41421356237;display:flex;flex-direction:column}
.resource-choice.selected{border-color:var(--muted)}.resource-choice-cover{height:50%;flex:none;overflow:hidden;background:var(--soft)}.resource-choice-cover img{width:100%;height:100%;object-fit:cover}
.resource-choice>div:last-child{padding:16px;display:flex;flex-direction:column;flex:1;min-height:0}.resource-choice small{font-size:10px;color:var(--muted)}.resource-choice h2{font-size:17px;line-height:1.5;margin:8px 0}.resource-choice p{font-size:11px;line-height:1.7;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0}.resource-choice span{font-size:11px;margin-top:auto;padding-top:12px}
.resource-document-art{height:100%;box-sizing:border-box;padding:20px;display:flex;flex-direction:column;justify-content:space-between;background:var(--soft)}.resource-document-art span{font-size:9px;letter-spacing:.1em;color:var(--muted)}.resource-document-art b{font-size:38px;line-height:1.1;color:var(--ink);opacity:.7}.resource-document-art i{align-self:flex-end;color:var(--red);font-size:26px;font-style:normal}
.resource-reader{position:sticky;top:90px;max-height:calc(100dvh - 120px);overflow-y:auto;border:1px solid var(--line);border-radius:16px;background:var(--panel)}.resource-reader-cover{height:200px}.resource-reader-cover img{width:100%;height:100%;object-fit:cover}.resource-reader-body{padding:24px}.resource-reader-body h2{font-size:26px;line-height:1.4;margin:12px 0 20px}.resource-reader-body h3{font-size:14px;margin:24px 0 10px}.resource-reader-body p{font-size:13px;line-height:1.85;color:var(--muted);white-space:pre-line}.resource-reader-body small{color:var(--muted);font-size:11px}.resource-reader-body>.primary{display:inline-block;margin:24px 0 12px;padding:12px 18px;border-radius:9px}.resource-reader-body>button{display:block;padding:10px;font-size:12px;margin-top:12px}
@media(min-width:1100px){body .tools-page .tools-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}body .tools-page .tool-row{padding:24px!important;min-width:0;box-sizing:border-box}body .tools-page .tool-info{min-width:0}body .tools-page .tool-links{flex-wrap:wrap}}
@media(max-width:1100px){.resource-workspace{grid-template-columns:190px minmax(0,1fr)}.resource-reader{grid-column:2;position:static;max-height:none}}
@media(max-width:700px){.resource-workspace{display:block;padding:24px 16px}.resource-rail{position:static;max-height:none;margin-bottom:24px}.resource-rail nav{grid-template-columns:repeat(2,1fr)}.resource-reader{margin-top:24px}.resource-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.resource-create{width:min(480px,calc(100vw - 48px));padding:28px;border-radius:14px;background:var(--panel);color:var(--ink);border:1px solid var(--line)}.resource-create label{display:grid;gap:8px;margin:20px 0}.resource-create input{padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--ink)}.resource-create p{font-size:12px;line-height:1.8;color:var(--muted)}.resource-create footer{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}
@media(min-width:1100px){body .tools-page .tools-list>.tool-row{grid-column:auto!important;padding:24px!important}}
/* Login: a cinematic atlas image, one quiet introduction and one access window. */
#main .cover-login.login-poster{position:relative;isolation:isolate;min-height:calc(100svh - 68px);display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,420px);align-items:center;gap:64px;padding:64px clamp(28px,6vw,120px);overflow:hidden;color:#f5f5f5;background:#090909}
.login-poster-image{position:absolute;z-index:-3;inset:0;width:100%;height:100%;object-fit:cover;object-position:42% 40%;pointer-events:none}
.login-poster:before{content:'';position:absolute;z-index:-2;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.15),rgba(0,0,0,.08) 45%,rgba(0,0,0,.65)),linear-gradient(0deg,#090909 0%,rgba(0,0,0,.8) 12%,transparent 65%);pointer-events:none}
#main .login-poster .login-visual{grid-column:auto;align-self:end;padding:0 0 20px;max-width:540px}
#main .login-poster .login-visual .eyebrow{font-size:12px;letter-spacing:.12em;color:#ded4bd}
#main .login-poster .login-visual h1{font-size:clamp(32px,3.4vw,54px);line-height:1.18;font-weight:600;letter-spacing:-.035em;margin:18px 0 22px;white-space:pre-line;color:#fff}
#main .login-poster .login-visual p{font-size:14px;line-height:1.9;white-space:pre-line;color:#d0d0d0;margin:0 0 24px;max-width:380px}
#main .login-poster .login-visual>small{font-size:11px;color:#aaa;letter-spacing:.05em}
#main .login-poster .login-panel{grid-column:auto;margin:0;padding:32px;border:1px solid #ffffff24;border-radius:20px;background:rgba(17,17,17,.9);backdrop-filter:blur(18px);box-shadow:0 24px 80px #0005;color:#f4f4f4;min-width:0}
#main .login-poster .login-panel>.eyebrow{color:#aaa;font-size:11px;letter-spacing:.06em}
#main .login-poster .login-panel h2{font-size:26px;line-height:1.35;margin:12px 0;font-weight:600;color:#fff}
#main .login-poster .login-panel p{font-size:12px;line-height:1.8;color:#aaa;white-space:pre-line;margin:0 0 22px}
#main .login-poster .login-panel label{font-size:12px;gap:8px;margin:18px 0;color:#ddd}
#main .login-poster .login-panel input{color:#fff;background:#ffffff06;border:1px solid #ffffff25;border-radius:10px;padding:13px 14px;font-size:13px;line-height:1.5;outline:none;transition:border-color .2s,background .2s}
#main .login-poster .login-panel input:focus{border-color:#aaa;background:#ffffff0b;box-shadow:0 0 0 3px #ffffff08}
#main .login-poster .login-panel input::placeholder{color:#777}
#main .login-poster .login-panel .primary{min-height:46px;border-radius:10px;margin-top:6px;background:var(--red);color:#fff;font-size:13px;padding:12px 16px}
#main .login-poster .login-panel .error:empty{display:none}
#main .login-poster .login-buy-pass{display:flex;justify-content:space-between;align-items:center;border:0;background:transparent;color:#ccc;font-size:12px;margin:12px 0 0;padding:8px 2px;border-radius:0}
#main .login-poster .login-preview{margin-top:20px;padding-top:20px;border-top:1px solid #ffffff18}
#main .login-poster .login-preview button{width:100%;display:flex;justify-content:space-between;align-items:center;font-size:12px;border:1px solid #ffffff35;border-radius:10px;padding:12px 14px;color:#eee;background:transparent}
#main .login-poster .login-preview small{display:block;color:#888;font-size:10px;line-height:1.8;margin-top:12px}
@media(min-width:1600px){#main .cover-login.login-poster{grid-template-columns:minmax(0,1fr) 420px;padding-right:8vw;padding-left:7vw}.login-poster-image{object-position:50% 42%}}
@media(max-width:800px){#main .cover-login.login-poster{grid-template-columns:1fr;gap:32px;padding:180px 24px 40px;min-height:calc(100svh - 68px)}#main .login-poster .login-visual{padding:0;max-width:100%}#main .login-poster .login-visual h1{font-size:34px;margin:14px 0}#main .login-poster .login-visual p{margin-bottom:12px}#main .login-poster .login-panel{width:100%;max-width:460px;justify-self:center;padding:26px}.login-poster-image{object-position:40% top;height:650px;object-fit:cover}.login-poster:before{background:linear-gradient(0deg,#090909 20%,rgba(0,0,0,.7) 55%,rgba(0,0,0,.12))}}
/* v2.1.1: one platform shell, one complete footer, one reading entry. */
html body #site-footer.site-footer{display:block!important;position:relative;clear:both}
html body.atlas-workspace,html body:has(.bb-download-workspace){overflow-y:auto!important}
#main .directory-main.directory-unified{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:40px;align-items:start}
#main .directory-unified>.book-cover,#main .directory-unified>.directory-list{grid-column:auto;min-width:0;width:auto;max-width:none}
#main .directory-unified .book-cover{--he-gold:var(--red);--he-rule:var(--line);padding:28px;background:color-mix(in srgb,var(--ink) 3%,var(--bg));border-radius:20px;border:1px solid var(--line)}
#main .directory-unified .book-cover h1{font-size:clamp(32px,3.5vw,56px);margin:14px 0;line-height:1.22}
#main .directory-unified .cover-english{font-size:14px;color:var(--muted)}
#main .directory-unified .book-cover>h1,#main .directory-unified .book-cover>p{max-width:62%}
.directory-book-art{position:absolute;right:44px;top:62px;width:136px;height:190px;transform:rotate(-7deg);border-radius:3px 8px 8px 3px;border:1px solid #777;border-left:7px solid var(--red);background:#202020;box-shadow:10px 10px 0 -5px #888,16px 18px 26px #0002;padding:16px 14px;display:flex;flex-direction:column;color:#fff}.directory-book-art small{font-size:8px;color:#cdb984;letter-spacing:.08em}.directory-book-art b{font-size:25px;line-height:1.3;margin-top:22px}.directory-book-art>span{font-size:10px;color:#cdb984;margin-top:auto}
@media(max-width:1000px){.directory-book-art{width:100px;height:145px;right:28px}.directory-book-art b{font-size:20px;margin-top:12px}}
@media(max-width:500px){.directory-book-art{display:none}#main .directory-unified .book-cover>h1,#main .directory-unified .book-cover>p{max-width:100%}}
#main .directory-unified .cover-visual,#main .directory-unified .book-cover>small{display:none}
#main .directory-unified .book-cover>.primary{margin:16px 0;max-width:230px;border-radius:10px}
#main .directory-unified .he-reading-state{padding:16px 0 0;border-top:1px solid var(--line)}
#main .directory-unified .he-reading-current{gap:14px}
#main .directory-unified .he-reading-current h3{font-size:18px}
#main .directory-unified .he-chapter-timeline{margin:16px 0;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}
#main .directory-unified .he-chapter-timeline span{font-size:10px;line-height:1.5}
#main .directory-unified .chapter-toggle{padding:12px 0;gap:14px}
#main .directory-unified .chapter-toggle h3{font-size:17px}
#main .directory-unified .chapter-toggle p{font-size:12px;line-height:1.7}
.platform-page{max-width:1600px;margin:auto;padding:56px clamp(24px,5vw,80px) 80px}
.platform-hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:56px;margin-bottom:72px}
.platform-hero h1{font-size:clamp(36px,4.3vw,68px);line-height:1.18;letter-spacing:-.04em;margin:20px 0 24px}
.platform-hero p,.world-book p,.platform-points p{font-size:14px;line-height:1.9;color:var(--muted);max-width:530px}
.platform-hero>img{width:100%;aspect-ratio:1.4142;object-fit:cover;border-radius:20px}
.platform-hero .primary{display:inline-flex;margin-top:20px;padding:13px 22px;border-radius:10px}
.world-book{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:64px;padding:40px;border-radius:20px;background:color-mix(in srgb,var(--ink) 5%,var(--bg));margin:0 0 64px}
.world-book h2,.platform-coming h2{font-size:clamp(28px,3vw,44px);line-height:1.3;margin:18px 0 22px}
.world-book-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-top:26px;font-size:13px}
.world-book-actions .primary{padding:12px 18px;border-radius:10px}
.world-book-map{display:grid;align-content:center;gap:24px}.world-book-map b{font-size:16px}.world-book-map p{font-size:12px;margin:8px 0 0}
.platform-points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px}.platform-points small{font-size:11px;color:var(--red)}.platform-points h2{font-size:23px;margin:14px 0}.platform-points a{display:inline-block;margin-top:14px;font-size:13px}
.platform-coming{text-align:center;margin:64px 0 0;padding:56px 24px;border-radius:20px;background:color-mix(in srgb,var(--ink) 5%,var(--bg))}.platform-coming p{font-size:13px;color:var(--muted);line-height:1.8}.platform-coming a{display:inline-block;margin-top:18px;font-size:13px}
.notice-transfer>p{font-size:13px;line-height:1.8;color:var(--muted);max-width:720px}.notice-transfer>[data-notice-preview]{margin-top:24px;padding:24px;border-radius:16px;background:var(--bg);border:1px solid var(--line)}.notice-import-cover{width:min(100%,640px);aspect-ratio:1.4142;object-fit:cover;border-radius:12px}.notice-transfer .announcement-body{max-width:740px}.notice-import-impact{color:var(--red);font-size:13px}
@media(max-width:800px){#main .directory-main.directory-unified,.world-book,.platform-hero{grid-template-columns:1fr;gap:28px}.platform-page{padding-top:32px}.platform-hero{margin-bottom:40px}.world-book{padding:26px;margin-bottom:40px}.platform-points{grid-template-columns:1fr;gap:32px}#main .directory-unified .book-cover{padding:24px}#main .directory-unified .he-chapter-timeline{grid-template-columns:repeat(4,minmax(0,1fr));row-gap:16px}}
