/* A graphite personal atlas: real progress, resuming, and a searchable notebook. */
body.atlas-notebook,html[data-reading-theme=night] body.atlas-notebook{background:#11181a;color:#c4d0c9;--ink:#e4ece7;--text:#bac8c0;--muted:#92a79a;--paper:#11181a;--white:#1e282a;--line:#364641;--soft:#25342f;--accent:#d6b997}
.atlas-notebook .notebook-page{max-width:1180px;padding:0 48px 64px}
.atlas-notebook .page-header{padding:54px 0 28px;border:0;margin:0}
.atlas-notebook .page-header h1{font:500 clamp(34px,4vw,50px)/1.25 var(--site-display);color:#e8eee9;margin:13px 0 15px;letter-spacing:-.04em}
.atlas-notebook .page-header>p:not(.eyebrow){color:#98ada2;font-size:14px}
.atlas-notebook .page-header .eyebrow{color:#cdb28e;font-size:10px;letter-spacing:.19em}
.notebook-overview{display:grid;grid-template-columns:1fr 1.1fr;gap:22px;margin:8px 0 44px}
.notebook-progress-card,.notebook-resume{border:1px solid #354440;background:#192225;border-radius:9px;min-width:0}
.notebook-progress-card{padding:28px;display:flex;gap:27px;align-items:center}
.notebook-progress-ring{position:relative;width:136px;height:136px;flex:0 0 136px;display:grid;place-items:center;border-radius:50%;background:conic-gradient(#d5b98f var(--progress),#34443e 0);box-shadow:0 0 0 6px #1b2627}
.notebook-progress-ring::before{content:"";position:absolute;inset:5px;border-radius:50%;background:#192225}
.notebook-progress-ring>div{position:relative;text-align:center}.notebook-progress-ring strong{display:block;font:400 45px/1.25 var(--site-display);color:#eef2ed;letter-spacing:-.06em}.notebook-progress-ring small{font-size:14px;color:#82988b;letter-spacing:0;margin-left:6px}.notebook-progress-ring span{font-size:11px;color:#adbbb2}
.notebook-progress-caption>span{font-size:9px;letter-spacing:.12em;color:#d0b797}.notebook-progress-caption p{font-size:14px;line-height:1.85;margin:13px 0;color:#c5d0c8}.notebook-progress-caption small{font-size:11px;color:#869f90}
.atlas-notebook a.notebook-resume{display:flex;flex-direction:column;padding:25px 28px;color:#e0e9e2;text-decoration:none;transition:transform .22s,background-color .22s,border-color .22s}
.atlas-notebook a.notebook-resume:hover,.atlas-notebook a.notebook-resume:focus-visible{background:#24332d;border-color:#8b826a;transform:translateY(-3px)}
.notebook-resume-kicker{display:flex;justify-content:space-between;color:#dcc3a0;font-size:12px}.notebook-resume-kicker>span{font-size:19px}
.notebook-resume-chapter{font-size:10px;color:#8fa598;margin:12px 0 8px}
.atlas-notebook .notebook-resume h2{font:500 22px/1.55 var(--site-display);letter-spacing:-.025em;color:#e5ece6;margin:0 0 22px}
.notebook-resume-action{display:flex;justify-content:space-between;margin-top:auto;padding-top:15px;border-top:1px solid #425247;font-size:12px;color:#cbb594}
.notebook-section-head{display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin-bottom:20px}.atlas-notebook .notebook-section-head h2{font:500 21px/1.5 var(--site-display);color:#dce7de;margin:0}.notebook-section-head>span{font-size:11px;color:#869e8f}
.notebook-chapter-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}
.atlas-notebook .notebook-chapter-tile{display:block;background:#192225;border:1px solid #34433e;border-radius:6px;padding:13px 12px;color:#bdcdbf;text-decoration:none;transition:background-color .18s,border-color .18s,transform .18s}
.atlas-notebook .notebook-chapter-tile:is(:hover,:focus-visible){background:#2c4035;border-color:#8f866c;transform:translateY(-3px);color:#f1eee2}
.notebook-chapter-tile.is-current{border-color:#92826a;background:#24302b}.notebook-chapter-tile>span{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.notebook-chapter-tile b{font:400 18px/1.5 Georgia,serif;color:#c5b18f}.notebook-chapter-tile small{font-size:9px;color:#8aa18f}.notebook-chapter-tile>strong{display:block;font-size:11px;line-height:1.6;font-weight:400;margin:8px 0 14px;min-height:35px}.notebook-chapter-tile>i{height:2px;background:#35483c;display:block}.notebook-chapter-tile>i>i{display:block;height:2px;background:#dcc7a6}
.notebook-notes-head{margin-top:48px;border-top:1px solid #354440;padding-top:29px}.notebook-notes-head .actions{margin:0 0 26px;gap:10px;flex-wrap:wrap}
.atlas-notebook .button{background:#d1b793;border-color:#d1b793;color:#18241d}.atlas-notebook .button:hover{background:#ead5b4;border-color:#ead5b4}
.atlas-notebook .button.secondary,.atlas-notebook .small-button{background:#1c2926;border-color:#4d6155;color:#c6d4c8}.atlas-notebook .button.secondary:hover,.atlas-notebook .small-button:hover{background:#2c4135}
.notebook-note-tools{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin:18px 0}.notebook-filters{display:flex;gap:5px}.notebook-filters button{border:1px solid transparent;border-radius:5px;background:transparent;color:#9fb4a3;font:12px/1.5 var(--site-display);padding:8px 12px;cursor:pointer}.notebook-filters button[aria-pressed=true]{background:#2d4135;border-color:#536854;color:#e8eadd}.notebook-note-tools>label{margin-left:auto}.notebook-note-tools input{width:220px;max-width:100%;background:#1b2824;border:1px solid #40574a;border-radius:5px;color:#dce7dd;padding:9px 12px;font-size:12px}.notebook-note-tools input::placeholder{color:#90a591}.notebook-note-tools>[role=status]{font-size:10px;color:#8ca28d}
.atlas-notebook .note-card{background:#1b2725;border-color:#364b3e;border-radius:7px;margin:14px 0;padding:24px;transition:background-color .18s,border-color .18s}.atlas-notebook .note-card:hover{background:#24382d;border-color:#63735b}.atlas-notebook .note-card h3{color:#dce8dd;font-size:18px}.atlas-notebook .note-card p{color:#b5c8b8}.atlas-notebook .note-card small{color:#c7b392}.atlas-notebook .note-card .eyebrow{color:#97ad99;font-size:10px}.atlas-notebook .note-card[hidden]{display:none}
.atlas-notebook .empty-state{display:flex;align-items:center;gap:24px;padding:30px;border:1px dashed #3e5447;border-radius:7px;background:#172220}.atlas-notebook .empty-state h2{font-size:19px;color:#d1dfd2;margin:0 0 9px}.atlas-notebook .empty-state p{font-size:13px;color:#8ea78f;margin:0}.notebook-empty-mark{font:300 36px/1 var(--site-display);color:#b29a76}.atlas-notebook .empty-state .button{margin-left:auto;flex-shrink:0}.notebook-filter-empty{padding:24px;color:#b0c4b1}
.atlas-notebook a:focus-visible,.atlas-notebook button:focus-visible,.atlas-notebook input:focus-visible{outline:2px solid #dbc19b;outline-offset:4px}
.atlas-notebook .site-footer{background:#11181a;color:#9eb4a1}.atlas-notebook .site-footer-inner{border-color:#35483c}.atlas-notebook .site-footer-signature strong{color:#dec7a5}
/* A consistent dark chrome on dark application pages. */
body.atlas-notebook .topbar,body.learning-surface:has(.learning-map) .topbar{background:#202a2bf2;border-color:#42514b;box-shadow:none}
body.atlas-notebook .brand,body.learning-surface:has(.learning-map) .brand{color:#e4ece6}
body.atlas-notebook .brand small,body.learning-surface:has(.learning-map) .brand small{color:#a3b9aa}
body.atlas-notebook .brand-mark.brand-logo,body.learning-surface:has(.learning-map) .brand-mark.brand-logo{background:#edf2ee;border-radius:6px}
body.atlas-notebook .topnav a,body.learning-surface:has(.learning-map) .topnav a{color:#b3c6b8}
body.atlas-notebook .topnav a:is(.active,:hover,:focus-visible),body.learning-surface:has(.learning-map) .topnav a:is(.active,:hover,:focus-visible){background:#3a4e40;color:#f0efdf}
body.atlas-notebook .search-trigger,body.learning-surface:has(.learning-map) .search-trigger{color:#bdd0c0}
body .topnav a[data-nav=about],body.spatial-home .topnav a[data-nav=about],body.learning-surface .topnav a[data-nav=about]{display:inline-flex}
.nav-toggle{display:none}
@media(max-width:1000px){.notebook-progress-card{padding:22px;gap:18px}.notebook-progress-ring{width:116px;height:116px;flex-basis:116px}.notebook-chapter-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.notebook-progress-caption p{font-size:12px}.atlas-notebook .notebook-resume h2{font-size:20px}}
@media(max-width:760px){
 .atlas-notebook .notebook-page{padding:0 22px 40px}.atlas-notebook .page-header{padding-top:34px}.notebook-overview{grid-template-columns:1fr;gap:14px;margin-bottom:32px}.notebook-progress-card{gap:24px}.notebook-progress-caption{max-width:190px}.atlas-notebook a.notebook-resume{padding:21px}.atlas-notebook .notebook-resume h2{font-size:20px}.notebook-chapter-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.notebook-section-head>span{font-size:10px}.notebook-chapter-tile>strong{font-size:10px}.notebook-chapter-tile>i{margin-top:auto}.notebook-notes-head{margin-top:34px}.atlas-notebook .empty-state{flex-wrap:wrap;gap:14px;padding:22px}.atlas-notebook .empty-state>div{flex:1;min-width:180px}.atlas-notebook .empty-state .button{margin-left:0}.notebook-note-tools{gap:12px}.notebook-note-tools>label{margin-left:0;width:100%}.notebook-note-tools input{width:100%;box-sizing:border-box}
 .topbar[data-navigation-ready] .nav-toggle{display:flex;flex-direction:column;justify-content:center;gap:5px;width:34px;height:34px;padding:8px;border:1px solid #bac9d1;border-radius:5px;background:transparent;color:#557080;margin-left:auto;flex-shrink:0}.nav-toggle span{display:block;height:1px;background:currentColor;width:100%}
 body .topbar[data-navigation-ready] .topnav{display:none;position:absolute;top:calc(100% + 7px);left:0;right:0;margin:0;padding:10px;background:#f1f5f8;border:1px solid #c7d6df;border-radius:7px;box-shadow:0 8px 24px #152d381a}
 body .topbar[data-nav-open=true] .topnav{display:grid;grid-template-columns:1fr 1fr;gap:5px}
 body .topbar[data-navigation-ready] .topnav a{display:flex;justify-content:center;padding:10px 8px;font-size:13px}
 body.atlas-notebook .topbar[data-navigation-ready] .topnav,body.learning-surface:has(.learning-map) .topbar[data-navigation-ready] .topnav{background:#202e27;border-color:#49614d}
 body.atlas-notebook .nav-toggle,body.learning-surface:has(.learning-map) .nav-toggle{border-color:#56705a;color:#c2d7c5}
 .topbar .search-trigger{flex-shrink:0}
}
@media(prefers-reduced-motion:reduce){.notebook-page *{transition:none!important;animation:none!important}}
@media print{body.atlas-notebook{background:white;color:#111}.notebook-progress-card,.notebook-resume,.notebook-chapter-tile{background:white!important;color:#111!important}.notebook-note-tools,.notebook-notes-head .actions{display:none}}
/* The same chrome changes tone at the actual light/dark section boundary. */
body .topbar{transition:background-color .24s,border-color .24s,color .24s}
body .topbar[data-surface=dark]{background:#202a2bf2;border-color:#42514b;box-shadow:0 2px 15px #0002}
body .topbar[data-surface=dark] .brand{color:#e4ece6}
body .topbar[data-surface=dark] .brand small{color:#a3b9aa}
body .topbar[data-surface=dark] .brand-mark.brand-logo{background:#e6ebe4;border-radius:6px}
body .topbar[data-surface=dark] .topnav a,body .topbar[data-surface=dark] .search-trigger{color:#b6c9bc}
body .topbar[data-surface=dark] .topnav a:is(.active,:hover,:focus-visible){background:#3a4e40;color:#f0efdf}
body .topbar[data-surface=dark] .topnav a.active::after{background:#d6b997}
body .topbar[data-surface=dark] .nav-toggle{color:#c2d7c5;border-color:#56705a}
@media(max-width:760px){body .topbar[data-surface=dark][data-navigation-ready] .topnav{background:#202e27;border-color:#49614d}}
@media(prefers-reduced-motion:reduce){body .topbar{transition:none}}
.notebook-chapter-tile>strong{font-size:13px}
@media(max-width:760px){.notebook-chapter-tile>strong{font-size:12px}}
