/* Notebook presentation. Scoped to the prepared history course, not other subjects. */
body:has(.hh-notebook){background:#f3f0e8;color:#203b49}
body:has(.hh-notebook) .hw-top{background:#fbfaf6;border-color:#ded9cd;min-height:54px;padding:10px 28px}
body:has(.hh-notebook) .hw-top strong{font-size:18px;color:#203b49}
body:has(.hh-notebook) .hw-top a{font-size:13px;color:#4e666e}
body:has(.hh-notebook) #homework-app{max-width:1360px;padding:18px 28px 48px}
.hh-notebook{--hh-ink:#203b49;--hh-paper:#fffef9;max-width:1304px;color:var(--hh-ink);font:15px/1.65 Arial,sans-serif;overflow-wrap:break-word}
.hh-notebook button{border-radius:7px;border-color:#d8d6cb;background:#fffef9;color:#203b49;box-shadow:none;font-weight:500;transition:background .15s,border-color .15s}
.hh-notebook button:hover{background:#f5eedb;border-color:#ba9d57}
.hh-notebook button:disabled{cursor:default}
.hh-notebook .hh-toolbar{margin:0 0 18px;gap:12px;align-items:center}
.hh-notebook .hh-toolbar>[data-back]{border:0;background:none;padding:6px 0;min-height:34px;font-size:13px}
.hh-notebook .hh-toolbar>[data-hh-save]{font-size:11px;color:#64726f;text-align:right}
.hh-notebook .hh-carnet-menu{position:relative;border:0;margin:0;padding:0;font-size:12px;z-index:5}
.hh-notebook .hh-carnet-menu>summary{list-style:none;padding:7px 12px;border:1px solid #d8d6cb;border-radius:7px;background:#fffef9}
.hh-notebook .hh-carnet-menu>summary::-webkit-details-marker{display:none}
.hh-notebook .hh-carnet-menu>div{position:absolute;right:0;top:calc(100% + 7px);min-width:220px;padding:8px;display:grid;gap:7px;background:#fffef9;border:1px solid #d8d6cb;border-radius:9px;box-shadow:0 10px 25px #203b491a}
.hh-notebook .hh-header{border:0;padding:0;margin:0 0 20px}
.hh-notebook .hh-eyebrow{font-size:10px;letter-spacing:.13em;font-weight:700;color:#8e713d}
.hh-notebook .hh-header h1{font:700 clamp(27px,3vw,39px)/1.15 Georgia,serif;letter-spacing:-.025em;margin:8px 0}
.hh-notebook .hh-header>p{font-size:14px;color:#607078;margin:8px 0 0;max-width:80ch}
.hh-notebook .hh-modes{display:flex;gap:26px;overflow:auto;border-bottom:1px solid #d9d5c9;margin:0 0 18px;padding:0;scrollbar-width:thin}
.hh-notebook .hh-modes button{border:0;border-bottom:3px solid transparent;border-radius:0;background:none;padding:10px 1px 12px;flex:0 0 auto;min-height:44px;white-space:nowrap;font-size:13px;color:#617078}
.hh-notebook .hh-modes [aria-current=step]{background:none;color:#203b49;border-bottom-color:#b89039;font-weight:700}
.hh-notebook .hh-reading-tabs{gap:0;margin:0 0 20px;align-items:center;flex-direction:row;flex-wrap:wrap}
.hh-notebook .hh-reading-tabs button{font-size:12px;border:0;background:none;min-height:35px;padding:5px 13px;color:#687579;border-radius:0}
.hh-notebook .hh-reading-tabs button+button{border-left:1px solid #d4cfc0}
.hh-notebook .hh-reading-tabs [aria-pressed=true]{background:none;color:#203b49;text-decoration:underline;text-decoration-color:#b89039;text-underline-offset:6px;font-weight:600}
.hh-notebook .hh-chapters{gap:8px;margin:0 0 18px;counter-reset:chapter}
.hh-notebook .hh-chapters button{font-size:12px;padding:5px 10px;min-height:34px;background:none;border-color:transparent}
.hh-notebook .hh-chapters [aria-pressed=true]{background:#e9dfc5;color:#203b49;border-color:#d4c3a0}
.hh-notebook .hh-progress{font-size:11px;margin:0 0 15px;color:#64726f}
.hh-notebook .hh-layout{grid-template-columns:minmax(0,1fr) 270px;gap:28px;align-items:start}
.hh-notebook .hh-page{padding:32px 38px;border:1px solid #ded8c9;border-radius:5px;background:#fffef9;box-shadow:0 3px 0 #e8e2d5,0 14px 35px #28342b05;min-width:0}
.hh-notebook .hh-page h2{font:700 clamp(25px,2.6vw,33px)/1.2 Georgia,serif;letter-spacing:-.018em;margin:9px 0 22px;color:#203b49}
.hh-notebook .hh-page h3{font:700 20px/1.3 Georgia,serif}
.hh-notebook .hh-reading,.hh-notebook .np-reading{font:18px/1.85 Georgia,serif;color:#293e48}
.hh-notebook .hh-reading p,.hh-notebook .np-reading p{margin:0 0 22px;max-width:74ch}
.hh-notebook .hh-reading p:first-child,.hh-notebook .np-reading p:first-child{font-size:19px;color:#203b49}
.hh-notebook .np-course{max-width:none;margin:0}
.hh-notebook .np-chapter-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:6px 0 24px}
.hh-notebook .np-chapter-heading h2{margin:0}
.hh-notebook [data-np-read]{font:12px/1.4 Arial,sans-serif;flex:0 0 auto;padding:9px 11px;min-height:39px;border-color:#c7d2d0;background:#edf3f1;color:#234e51}
.hh-notebook [data-np-read]:before{content:'▶';font-size:10px;padding-right:7px}
.hh-notebook .np-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0 0 25px;gap:18px;border-bottom:1px solid #ded8c9;padding-bottom:17px}
.hh-notebook .np-stages button{font:12px/1.4 Arial,sans-serif!important;border:0;border-radius:0;background:none;padding:0;justify-content:flex-start;text-align:left;min-height:34px;color:#78817f;gap:8px}
.hh-notebook .np-stages [aria-pressed=true]{color:#203b49;font-weight:700;background:none}
.hh-notebook .np-stage-number{display:inline-flex;align-items:center;justify-content:center;flex:0 0 27px;width:27px;height:27px;border:1px solid #ddd7c8;border-radius:50%;font-size:11px;color:#687777}
.hh-notebook .np-stages [aria-pressed=true] .np-stage-number{background:#203b49;color:#fff;border-color:#203b49}
.hh-notebook .np-reading .np-reading-art{float:right;width:45%;max-width:360px;margin:0 0 17px 25px}
.hh-notebook .np-reading-art .np-art{border-radius:3px;box-shadow:none;width:100%;height:auto}
.hh-notebook .np-reading-art figcaption{font:italic 11px/1.6 Georgia,serif;color:#71807d;margin-top:7px}
.hh-notebook .np-definitions{border:0;border-top:1px solid #d9cfb4;border-bottom:1px solid #e3dccb;padding:20px 0;margin:28px 0}
.hh-notebook .np-definitions h3{font:700 18px/1.3 Georgia,serif!important;margin:0 0 17px}
.hh-notebook .np-definitions dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:18px;margin:0}
.hh-notebook .np-definitions dl>div{min-width:0}
.hh-notebook .np-definitions dt{font:700 15px/1.45 Georgia,serif;color:#8a6531;margin:0 0 7px}
.hh-notebook .np-definitions dd{font:14px/1.7 Arial,sans-serif;color:#455d65;margin:0}
.hh-notebook .np-mindmap{background:transparent;border:0;border-radius:0;padding:18px 0 14px!important;margin:28px 0!important}
.hh-notebook .np-mindmap>figcaption{font:700 18px/1.3 Georgia,serif;color:#203b49;margin-bottom:22px}
.hh-notebook .np-map-root{border-radius:6px;padding:10px 17px;font:600 14px/1.5 Arial,sans-serif;background:#203b49}
.hh-notebook .np-map-branches{gap:18px}
.hh-notebook .np-map-branches>section{background:none;border:0;border-top:2px solid #ccb77c;border-radius:0;padding:12px 0 0}
.hh-notebook .np-map-branches h4{font:700 15px/1.4 Georgia,serif;margin:0 0 9px}
.hh-notebook .np-map-branches ul{font:13px/1.65 Arial,sans-serif;color:#576d72;padding-left:15px}
.hh-notebook .hh-camille{position:sticky;top:20px;max-height:calc(100svh - 40px);overflow:auto;scrollbar-width:thin;border:0;border-left:1px solid #d8d2c2;border-radius:0;background:none;padding:8px 0 12px 24px;min-width:0}
.hh-notebook .hh-camille>header{gap:13px;align-items:center;margin-bottom:12px}
.hh-notebook .hh-camille>header img{width:68px;height:82px;border-radius:0;object-fit:cover;object-position:center 15%;mix-blend-mode:multiply}
.hh-notebook .hh-camille h2{font:700 25px/1.1 Georgia,serif;color:#203b49;margin:4px 0}
.hh-notebook .hh-camille header small{font-size:8px;letter-spacing:.15em;color:#8a713e}
.hh-notebook .hh-camille>p{font:14px/1.7 Georgia,serif;color:#637274;margin:0 0 16px}
.hh-notebook .hh-coach-actions{display:grid;gap:7px;margin:0 0 14px}
.hh-notebook .hh-coach-actions button{font-size:12px;min-height:39px;justify-content:flex-start;padding:8px 11px}
.hh-notebook .hh-coach-actions [data-hint]{background:#f8ebc9;border-color:#e2cb8e;color:#554222}
.hh-notebook .hh-camille .ha-settings{background:none;border:0;border-top:1px solid #ded8c9;border-radius:0;margin:18px 0 12px;max-width:100%}
.hh-notebook .ha-settings>summary{font-size:11px;padding:9px 0}
.hh-notebook .hh-camille>details{padding-top:11px;margin:12px 0}
.hh-notebook .hh-camille summary{font-size:11px;font-weight:500;color:#647570}
.hh-notebook .hh-camille .hh-pdf{font-size:11px;color:#6d756e;margin:15px 0}
.hh-notebook .hh-camille .hh-message{font-size:13px;padding:10px 12px;background:#fff9eb;border:0;border-left:2px solid #c5a45b;border-radius:0}
.hh-notebook .hh-nora-guide{padding:14px 0;border-top:1px solid #dcd5c4;border-bottom:0;margin:14px 0}
.hh-notebook .hh-nora-guide .hh-guide-say{font:17px/1.6 Georgia,serif;color:#203b49}
.hh-notebook .hh-nora-guide .hh-guide-position{font:10px/1.5 Arial,sans-serif;text-transform:uppercase;letter-spacing:.08em;color:#89733f;margin-bottom:10px}
.hh-notebook .hh-guide-link span{background:#fbf8ef;border-color:#ddd4bc;border-radius:4px;font:12px/1.55 Arial,sans-serif;padding:9px 5px}
.hh-notebook .hh-nora-guide nav{gap:5px;flex-wrap:nowrap}
.hh-notebook .hh-nora-guide nav button{font-size:11px;min-height:36px;padding:7px;white-space:nowrap}
.hh-notebook .hh-nora-guide nav [data-nora-next],.hh-notebook .hh-nora-guide nav [data-nora-write]{background:#203b49;color:#fff}
.hh-notebook details{margin:14px 0;padding:12px 0 0;border-color:#e7e0d0}
.hh-notebook details p{font-size:14px;line-height:1.75}
.hh-notebook summary{font-size:12px;color:#6e7772}
.hh-notebook .np-actions{border-top:1px solid #ded8c9;padding-top:18px;margin:25px 0 0;justify-content:space-between}
.hh-notebook .np-actions button{font-size:13px!important;min-height:42px}
.hh-notebook .hw-primary{background:#203b49;border-color:#203b49;color:#fff}
.hh-notebook .hh-footer{font-size:12px;margin:20px 0 0}
.hh-notebook .hh-footer button{font-size:12px}
.hh-notebook .hh-source{border-radius:3px;border-color:#e4decf;box-shadow:none}
.hh-notebook .hh-draft textarea{border-radius:4px;border-color:#d8d5ca;background:#fff;min-height:125px}
.hh-notebook .hh-model,.hh-notebook .hh-definition{border-radius:4px;background:#f4f5ed;border-color:#dce0d1}
@media(min-width:1600px){.hh-notebook .hh-layout{grid-template-columns:minmax(0,1fr) 290px;gap:34px}}
@media(max-width:1050px){.hh-notebook .hh-layout{grid-template-columns:minmax(0,1fr) 240px;gap:20px}.hh-notebook .hh-page{padding:26px}.hh-notebook .hh-camille{padding-left:17px}.hh-notebook .np-chapter-heading{display:block}.hh-notebook [data-np-read]{margin-top:14px}.hh-notebook .np-stages{gap:10px}.hh-notebook .np-stage-number{display:none}.hh-notebook .hh-modes{gap:20px}}
@media(max-width:760px){body:has(.hh-notebook) #homework-app{padding:16px 16px 40px}.hh-notebook .hh-layout{display:flex;flex-direction:column;gap:22px}.hh-notebook .hh-page{width:100%;padding:24px}.hh-notebook .hh-camille{width:100%;position:static;max-height:none;overflow:visible;border:0;border-top:1px solid #d8d2c2;padding:20px 0 0;display:block}.hh-notebook .hh-camille .hh-coach-actions{grid-template-columns:1fr 1fr}.hh-notebook .hh-camille>header img{width:58px;height:65px}.hh-notebook .hh-nora-guide{max-width:450px}.hh-notebook .hh-toolbar>[data-hh-save]{display:none}.hh-notebook .hh-carnet-menu{margin-left:auto}.hh-notebook .hh-modes{gap:22px;margin-bottom:13px}.hh-notebook .hh-modes button{font-size:12px}.hh-notebook .hh-reading-tabs button{font-size:11px;padding-left:0;padding-right:10px}.hh-notebook .hh-reading-tabs button+button{padding-left:10px}.hh-notebook .np-map-branches{grid-template-columns:1fr}.hh-notebook .np-map-branches:before,.hh-notebook .np-map-branches>section:before,.hh-notebook .np-map-root:after{display:none}.hh-notebook .np-map-root{margin-bottom:15px}}
@media(max-width:500px){.hh-notebook .hh-header h1{font-size:29px}.hh-notebook .hh-header>p{font-size:12px}.hh-notebook .hh-page{padding:22px 18px}.hh-notebook .np-stages{gap:8px}.hh-notebook .np-stages button{font-size:11px!important;align-items:start}.hh-notebook .np-reading .np-reading-art{float:none;width:100%;max-width:360px;margin:20px auto}.hh-notebook .hh-reading,.hh-notebook .np-reading{font-size:17px;line-height:1.85}.hh-notebook .hh-reading p:first-child,.hh-notebook .np-reading p:first-child{font-size:18px}.hh-notebook .np-definitions dl{grid-template-columns:1fr;gap:17px}.hh-notebook .hh-coach-actions{grid-template-columns:1fr}.hh-notebook .hh-footer{flex-wrap:wrap}.hh-notebook .hh-reading-tabs{display:block}.hh-notebook .hh-reading-tabs button{display:block;text-align:left;border:0}.hh-notebook .hh-reading-tabs button+button{padding-left:0}.hh-notebook .hh-page h2{font-size:27px}}
@media(prefers-reduced-motion:reduce){.hh-notebook button{transition:none}}
