/* Study surfaces: deliberate contrast, restrained navy/copper, readable content. */
body{--primary:#173d52;--primary-dark:#102737;--primary-soft:#e6edf0;--violet:#1c536d;--violet-soft:#edf3f6;--green:#256549;--green-soft:#edf6f0;--amber:#8b4b13;--amber-soft:#fff2df;--bg:#f4f1e9;--card:#fffdf8;--card-alt:#eeeae1;--text:#162d3a;--text-light:#445967;--text-xlight:#50606b;--border:#cbd4d5;--radius:12px;--radius-sm:8px;background:#f4f1e9!important;color:#162d3a!important;line-height:1.85}
body::before{display:none!important}
body .topbar{background:#fffdf8f5!important;color:#162d3a!important;border-color:#cbd4d5!important;padding:.85rem 1.4rem;box-shadow:0 3px 18px #102b3e08}
body .topbar .brand{color:#173d52!important}body .topbar .brand span{color:#a74627!important}
body .topbar .crumb{color:#445967!important;font-size:.86rem}
body .topbar a{color:#173d52!important;font-weight:600}
body .topbar .tb-links{display:none}
body .hero{background:#f7f5ef!important;color:#162d3a!important;padding:3.4rem 1.5rem!important;border-bottom:1px solid #cbd4d5;overflow:hidden}
body .hero::before{display:none!important}
body .hero h1{font-family:Heebo,Arial,sans-serif!important;font-weight:700!important;color:#162d3a!important;font-size:clamp(36px,4.7vw,62px)!important;line-height:1.18!important;letter-spacing:-.035em!important;text-shadow:none!important}
body .hero :is(p,.sub){color:#445967!important;font-size:18px!important;line-height:1.9!important;max-width:800px}
body .hero :is(.badges,.hero-badges) span{background:#fffdf8!important;color:#304b5b!important;border:1px solid #bdcbd0!important;border-radius:6px!important;font-size:13px!important}
body .layout{gap:2rem;max-width:1240px;padding-top:1.5rem}
body .toc{background:#e8e5dc!important;border-color:#c4cece!important;box-shadow:none!important;border-radius:10px}
body .toc h3{color:#445967!important}
body .toc a{color:#304b5b!important;font-weight:500;padding:.4rem .65rem}
body .toc a.active{background:#173d52!important;color:#fffaf0!important}
body .toc a:hover{background:#d4dfdf;color:#102737}
body main>section{background:#fffdf8!important;border:1px solid #cbd4d5!important;box-shadow:0 5px 24px #173d5204!important;padding:2rem;margin-bottom:1.4rem}
body section>h2{font-family:Heebo,Arial,sans-serif!important;font-weight:700!important;color:#102b3e!important;font-size:clamp(25px,2.5vw,33px)!important;line-height:1.3!important;margin-bottom:.8rem}
body section>h2 .num{background:#173d52!important;color:#fffaf0!important;box-shadow:none!important;border-radius:7px}
body .lede,body .step p{color:#445967!important}
body .when{color:#3f4c72!important;background:#f0edf6!important;border:1px solid #d9d2e4;line-height:1.7}
body .note{line-height:1.85;border-width:1px!important}
body .note.info{background:#eaf2f6!important;border-color:#a4bdc9!important;color:#173d52!important}
body .note.warn{background:#fff2df!important;border-color:#ddb57e!important;color:#684119!important}
body .note.good{background:#edf6f0!important;border-color:#a1c7ae!important;color:#214d38!important}
body .note.crit{background:#fff0ea!important;border-color:#d6a594!important;color:#783e2a!important}
body .card,body .term{background:#f1eee6!important;border-color:#cbd4d5!important}
body th{background:#173d52!important;color:#fffaf0!important;border-color:#173d52!important}
body td{background:#fffdf8;color:#243f50;border-color:#d5dddd}
body details{background:#f1eee6!important;border-color:#cbd4d5!important}
body details summary{color:#173d52!important;min-height:52px}
body details summary::before{color:#173d52!important;border-color:#a0b5bf!important}
body .searchwrap{max-width:1240px;margin-inline:auto;padding:1rem}
body .searchbox{border:1px solid #a9bbc3!important;background:#fffdf8!important;box-shadow:0 6px 24px #173d5208!important}
body .searchbox input{color:#162d3a!important;font-size:16px!important}
body .searchbox input::placeholder{color:#526672!important;opacity:1}
body .searchhint{color:#445967!important}
body .searchhint b{color:#173d52!important;text-decoration:underline;text-underline-offset:3px}
body .public-intro{color:#445967!important;font-size:14px}
body .public-footer{max-width:none;background:#edf0ec!important;color:#445967!important;padding:40px max(24px,calc((100vw - 1180px)/2))!important;border-color:#cbd4d5!important}
body .public-footer strong{color:#162d3a;font-size:22px}
body .public-footer a{color:#173d52!important;font-size:14px;min-height:40px;display:inline-flex;align-items:center}
body .footer,body .foot{color:#445967!important}
body .foot .fbtns a{background:#173d52!important;color:#fffaf0!important;border-color:#173d52!important}
body .demo{border-color:#a8bcc6!important;box-shadow:0 6px 20px #173d5208!important;border-radius:10px;overflow:hidden}
body .demo-head{background:#e8eef0!important;color:#173d52!important;border-color:#bdcbd0!important}
body .demo-title{color:#173d52!important}
body .demo-btn{background:#173d52!important;color:#fffaf0!important;border-color:#173d52!important}
body .demo-btn.practice{background:#fffdf8!important;color:#256549!important;border:1px solid #8bb69a!important}
body .chk-list li{border-color:#bacbce!important;background:#fffdf8}
body .chk-list li.done{background:#edf6f0!important;color:#214d38!important}
body .back-top,body .totop{background:#173d52!important;color:white!important}
body .hero .ap-guide-art{position:absolute;inset:0 auto 0 -20px;width:38%;height:100%;opacity:.35;pointer-events:none}
body .hero .ap-guide-art canvas{width:100%;height:100%}
body .hero h1,body .hero p,body .hero .badges,body .hero .hero-badges{position:relative;z-index:1}
@media(max-width:980px){body .toc{position:static}body .hero .ap-guide-art{opacity:.16;width:70%}}
@media(max-width:640px){body .hero{padding:2.5rem 1.25rem!important;text-align:right!important}body .hero h1{font-size:35px!important}body .hero :is(p,.sub){font-size:16px!important}body .hero :is(.badges,.hero-badges){justify-content:flex-start;gap:.4rem}body .layout{padding-inline:14px;gap:1.2rem}body main>section{padding:1.35rem 1rem!important}body .topbar{padding:.7rem 1rem!important}body .public-nav{gap:.8rem}body .public-footer{padding:30px 22px!important}body .hero .ap-guide-art{display:none}}
@media print{body .hero,body .public-footer{background:#fff!important;color:#000!important}body .hero :is(h1,p,.sub){color:#000!important}body .ap-guide-art{display:none}}
/* Reading edition: the same Academic Plus editorial language. */
body{font-family:Assistant,Heebo,Arial,sans-serif!important;background:#faf9f5!important;color:#243e4a!important;--bg:#faf9f5;--card:#faf9f5;--card-alt:#eeeee7;--text:#243e4a;--text-light:#4e6069;--text-xlight:#526873;--border:#cdd3ce;--primary:#172e3a;--primary-dark:#172e3a;--radius:0;--radius-sm:0;font-size:18px;line-height:1.85}
body :is(h1,h2,h3,h4){font-family:Assistant,Heebo,Arial,sans-serif!important;letter-spacing:-.03em!important}
body .topbar{padding:15px max(24px,calc((100vw - 1280px)/2))!important;gap:32px;min-height:76px;background:#faf9f5f7!important;backdrop-filter:blur(12px);border-bottom:1px solid #cdd3ce!important;box-shadow:none!important}
body .topbar .brand{font-family:Assistant,Heebo,Arial,sans-serif!important;color:#172e3a!important;font-size:21px!important;letter-spacing:-.025em!important;white-space:nowrap;font-weight:700}
body .brand-link{gap:12px!important}body .brand-link img{background:transparent!important;width:49px!important;height:40px!important;padding:0!important;border:0!important;border-radius:0!important}
body .topbar .crumb{display:none!important}
body .public-nav{margin-inline-start:auto;font-size:15px;gap:28px}
body .public-nav a{font-weight:500!important;color:#293d45!important;min-height:40px;display:inline-flex;align-items:center;text-decoration:none}
body .hero{background:#faf9f5!important;border-bottom:1px solid #cdd3ce!important;text-align:start!important;padding:56px max(24px,calc((100vw - 1200px)/2))!important}
body .hero h1{font-family:Assistant,Heebo,Arial,sans-serif!important;font-weight:500!important;font-size:clamp(38px,4.6vw,64px)!important;line-height:1.15!important;color:#172e3a!important;max-width:1040px;margin:0 0 24px!important;text-align:start!important}
body .hero :is(p,.sub){font-size:20px!important;color:#4e6069!important;line-height:1.8!important;max-width:830px!important;margin:0!important;text-align:start}
body .hero :is(.badges,.hero-badges){justify-content:flex-start;gap:14px 25px!important;margin-top:23px!important}
body .hero :is(.badges,.hero-badges) span{background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;color:#76613e!important;font-size:14px!important;box-shadow:none!important}
body .public-intro{max-width:1200px;margin:25px auto 0;padding:0 20px;font-size:14px;color:#4e6069!important}
body .public-intro p{margin-block:5px}
body .layout{max-width:1240px;grid-template-columns:230px minmax(0,1fr);gap:56px;padding:30px 20px 65px;align-items:start}
body .toc{border:0!important;border-top:1px solid #aab9af!important;background:transparent!important;border-radius:0!important;box-shadow:none!important;padding:17px 0!important;max-height:calc(100vh - 120px);top:95px}
body .toc h3{font-family:Assistant,Heebo,Arial,sans-serif!important;font-size:13px!important;font-weight:600!important;letter-spacing:0!important;margin-bottom:14px;color:#76613e!important}
body .toc a{padding:7px 10px!important;border-radius:0!important;font-size:15px!important;color:#344f5b!important;line-height:1.5}
body .toc a.active{background:#e8eade!important;color:#172e3a!important;border-inline-start:2px solid #846a3e;font-weight:600!important}
body .toc a:hover{background:#eeeee7!important;color:#172e3a!important}
body main{background:transparent;min-width:0}
body main>section{background:transparent!important;border:0!important;border-top:1px solid #cdd3ce!important;border-radius:0!important;box-shadow:none!important;padding:27px 0 38px!important;margin:0!important}
body main>section:first-child{border-top-color:#aab9af!important}
body section>h2{font-size:clamp(27px,2.8vw,36px)!important;font-weight:600!important;line-height:1.25!important;color:#172e3a!important;margin:0 0 16px!important;gap:15px}
body section>h2 .num{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#76613e!important;font-size:15px!important;font-weight:500!important;width:auto;min-width:26px;height:auto;align-self:center}
body h3{font-size:25px!important;font-weight:600!important;line-height:1.35!important;margin-top:30px;color:#172e3a}
body h4{font-size:21px!important;font-weight:600!important;color:#172e3a}
body .lede{font-size:19px!important;color:#4e6069!important;line-height:1.85!important}
body :is(.card,.term,.example,.check,details){border-radius:0!important;box-shadow:none!important}
body .cards{gap:24px}
body .card{border:0!important;border-top:1px solid #cdd3ce!important;padding:18px 0!important;background:transparent!important}
body .term{background:#eeeee7!important;border:0!important;padding:16px 18px!important}
body .note{border-radius:0!important;padding:17px 20px!important;font-size:17px!important;line-height:1.85}
body .when{background:transparent!important;color:#526378!important;border:0!important;border-inline-start:1px solid #aebacb!important;border-radius:0!important;padding:0 12px!important;font-size:15px!important}
body .tag{border-radius:0!important;font-size:12px!important;padding:1px 7px!important}
body details{background:#f0f1eb!important;border:0!important;border-bottom:1px solid #cdd3ce!important}
body details summary{min-height:58px;font-size:18px!important;font-weight:600!important}
body details summary::before{background:transparent!important;border:0!important;border-radius:0!important;color:#76613e!important}
body details .d-body{font-size:18px;line-height:1.85}
body table{box-shadow:none!important;border-radius:0!important;font-size:16px}
body th{background:#e8eade!important;color:#172e3a!important;border-color:#b9c5bc!important;font-weight:600!important}
body td{background:transparent!important;border-color:#d4dcd4!important;color:#304c59!important}
body .searchwrap{max-width:1240px;padding:24px 20px 4px;margin:0 auto}
body .searchbox{background:#f0f1eb!important;border:0!important;border-bottom:1px solid #9dad9f!important;border-radius:0!important;box-shadow:none!important}
body .searchbox input{font-family:Assistant,Heebo,Arial,sans-serif!important;font-size:18px!important;padding-block:14px!important}
body .searchhint{font-size:14px!important;line-height:1.8;margin-top:14px}
body .demo{background:#eef0eb!important;border:1px solid #bfc9c3!important;border-radius:3px!important;box-shadow:none!important;padding:10px!important;margin-top:22px}
body .demo .demo-head{background:transparent!important;border:0!important;gap:10px;padding:3px 0 8px}
body .demo .dh-t{font-family:Assistant,Heebo,Arial,sans-serif!important;font-size:14px!important;font-weight:600!important;color:#304c59!important}
body .demo .demo-btn{font-family:Assistant,Heebo,Arial,sans-serif!important;border:1px solid #172e3a!important;border-radius:2px!important;min-height:37px!important;padding:7px 15px!important;background:#172e3a!important;color:#fff!important;box-shadow:none!important;font-size:14px!important;font-weight:600!important}
body .demo .demo-btn.practice{background:transparent!important;color:#172e3a!important;border-color:#a6b6ac!important}
body .wd{border-radius:2px!important;box-shadow:none!important}
body .wd-tdots{display:none!important}
body .step::before{border-radius:0!important;background:#e8eade!important;color:#172e3a!important}
body .chk-list li{border-radius:0!important;box-shadow:none!important;background:transparent!important;border:0!important;border-bottom:1px solid #cdd3ce!important;padding:13px 4px!important;line-height:1.75}
body .chk-box{border-radius:0!important}
body .public-footer{background:#eff0ea!important;border-top:1px solid #bdc8c0!important;color:#4e6069!important;padding:42px max(24px,calc((100vw - 1200px)/2))!important}
body .public-footer strong{font-family:Assistant,Heebo,Arial,sans-serif!important;font-size:24px!important;color:#172e3a!important;font-weight:600}
body .public-footer nav{gap:9px 28px;margin-top:15px}
body .public-footer a{color:#344f5b!important;font-size:15px;min-height:38px;text-decoration:none}
body .foot .fbtns a{background:#faf9f5!important;color:#172e3a!important;border:1px solid #b7c5bb!important;border-radius:2px!important;box-shadow:none!important}
@media(max-width:980px){body .layout{grid-template-columns:1fr;gap:25px}body .toc{position:static;max-height:none}body .toc a{padding:6px 10px!important}}
@media(max-width:640px){body .topbar{padding:11px 20px!important;min-height:68px;gap:6px 22px}body .topbar .brand{font-size:18px!important}body .brand-link img{width:43px!important;height:35px!important}body .public-nav{margin:0;width:100%;justify-content:space-between;gap:15px;font-size:13px}body .public-nav a{min-height:35px;font-size:13px}body .hero{padding:34px 20px!important}body .hero h1{font-size:38px!important;line-height:1.18!important;margin-bottom:20px!important}body .hero :is(p,.sub){font-size:18px!important;line-height:1.75!important}body .hero :is(.badges,.hero-badges){gap:7px 17px!important;margin-top:18px!important}body .hero :is(.badges,.hero-badges) span{font-size:12px!important}body .layout{padding:26px 20px 45px;gap:24px}body main>section{padding:25px 0 32px!important}body section>h2{font-size:29px!important;gap:12px}body .lede{font-size:18px!important}body h3{font-size:24px!important}body .public-intro{margin-top:20px;font-size:13px}body .searchwrap{padding-top:20px}body .searchbox input{font-size:16px!important}body .demo{margin-inline:-7px;padding:7px!important}body .demo .dh-t{font-size:13px!important}body .demo .demo-btn{font-size:13px!important;padding:7px 11px!important}body .note{padding:14px 16px!important;font-size:16px!important}body .public-footer{padding:32px 20px!important}body .public-footer a{font-size:14px}body .when{font-size:14px!important}body .cards{gap:12px}body .term-grid{gap:12px}body details summary{font-size:17px!important}body details .d-body{font-size:17px}}
