/* Audrey Décrypte: the validated logo and one notebook identity across public pages. */
body.notebook-site{--paper:#fffdf6;--sheet:#fffdf9;--ink:#10213e;--brand-navy:#10213e;--brand-violet:#6505b5;--brand-cyan:#00bed6;--brand-cyan-text:#007e88;--brand-gold:#e7b54b;--brand-gold-text:#805a12;--navy:var(--ink);--purple:var(--brand-violet);--magenta:var(--brand-violet);--cyan:var(--brand-cyan-text);--gold:var(--brand-gold);--muted:#515d6c;--line:#ded6c8;margin:0;background:#eee9df;color:var(--ink);font-family:"Audrey Sans",system-ui,sans-serif}
.notebook-site :is(h1,h2,h3,h4){color:var(--ink);text-wrap:pretty}
.notebook-site p,.notebook-site li{line-height:1.75}
.notebook-site :focus-visible{outline:3px solid var(--purple);outline-offset:4px}
.notebook-site .site-header,.notebook-site header.top{background:#f9f6ef;border:0;border-bottom:1px solid #ddd3c3;box-shadow:none}
.notebook-site .site-header .brand img,.notebook-site header.top .logo{width:230px;max-width:100%;height:auto;display:block;mix-blend-mode:normal}
body.editorial-home.notebook-site .site-header .header-top{grid-template-columns:260px minmax(0,1fr);gap:24px;padding:18px 0}
body.editorial-home.notebook-site .site-header .brand-column{width:260px;max-width:260px}
body.editorial-home.notebook-site .site-header .brand-card{background:none;border:0;box-shadow:none;padding:0;transform:none}
body.editorial-home.notebook-site .site-header .brand-card .logo{width:250px;height:auto}
.notebook-site .site-header .nav-inner{gap:24px;padding-block:16px;min-height:110px}
.notebook-site .site-header nav a{color:var(--ink)}
.notebook-site .site-header nav a:hover{color:var(--purple)}
.notebook-site .back{background:none;border:0;border-bottom:2px solid var(--brand-cyan);border-radius:0;box-shadow:none;color:var(--purple);font-family:"Audrey Notes",cursive;padding:7px 0}
.notebook-site .header-panel{background:none!important;box-shadow:none!important;border:0!important;border-left:1px solid #cdb8df!important;border-radius:0!important}
.notebook-site .header-panel h1{color:var(--ink)}
.notebook-site .header-pill{font-family:"Audrey Notes",cursive;background:linear-gradient(transparent 10%,#ffe397 10%,#ffe397 94%,transparent 94%)!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:var(--ink)}
.notebook-site .topic-link{background:none;border:0;border-bottom:2px solid transparent;border-radius:0;color:var(--ink)}
.notebook-site .topic-link.active,.notebook-site .topic-link:hover{background:none;border-bottom-color:var(--brand-cyan);color:var(--purple)}
.notebook-site :is(input,select,textarea){color:var(--ink);border-color:#cbbfae;background:#fffefb;border-radius:3px}
.notebook-site :is(.chip,.tag){background:#eee4f7;color:var(--purple);border:0;border-radius:2px;font-size:.74rem;font-weight:800;padding:4px 9px}
.notebook-site :is(.kicker,.archive-count,.archive-public){font-family:"Audrey Notes",cursive;color:var(--purple);letter-spacing:0;text-transform:none}
.notebook-site .archive-shell,.notebook-site.editorial-question main.wrap,.notebook-site main.editorial-content:not(.grimoire-ready){box-sizing:border-box;position:relative;width:min(1240px,calc(100% - 60px));max-width:none;margin:24px auto 36px;padding:30px 42px 32px 62px;background-color:var(--paper);background-image:radial-gradient(#82714e0a .5px,transparent .5px);background-size:5px 5px;border:1px solid #ded4c0;border-radius:3px;box-shadow:0 6px 25px #10213e12}
.notebook-site .archive-shell:before,.notebook-site.editorial-question main.wrap:before,.notebook-site main.editorial-content:not(.grimoire-ready):before{content:"";position:absolute;left:32px;top:0;bottom:0;border-left:1px solid #c692ba55;pointer-events:none}
.notebook-site .archive-hero,.notebook-site .category-ribbon-header{display:block;position:relative;padding:20px 0 26px;margin:0 0 28px;min-height:0;background:none!important;border:0;border-bottom:1px solid #c7b3d8;border-radius:0;box-shadow:none;overflow:visible}
.notebook-site .archive-hero:after{display:none}
.notebook-site .archive-hero h1{color:var(--ink);font-size:clamp(2rem,3.8vw,3rem);line-height:1.2;margin:12px 0 16px;max-width:none}
.notebook-site .archive-hero h1:after{background:var(--gold);width:80px;height:4px;border-radius:50%}
.notebook-site .archive-hero p{color:var(--muted);font-size:1rem;max-width:850px;line-height:1.75}
.notebook-site .category-ribbon-art,.notebook-site .archive-hero>img{display:none}
.notebook-site .archive-count{display:inline-block;position:static;transform:rotate(-1deg);padding:2px 8px;background:linear-gradient(transparent 30%,#ffe397 30%,#ffe397 96%,transparent 96%);border:0;border-radius:0;box-shadow:none;color:var(--purple);font-size:1.1rem}
.notebook-site .category-ribbon-copy{max-width:none;width:100%;padding:0;background:none}
.notebook-site .category-separator{margin:0 0 28px;background:linear-gradient(90deg,#6505b530,#00bed680,#e7b54b60);height:1px}
.notebook-site .archive-card{background:transparent;border:0;border-bottom:1px solid #cdbadd;border-radius:0;box-shadow:none;padding:22px 14px;transform:none}
.notebook-site .archive-card:nth-child(n):hover{transform:translateY(-2px);background:#ffe39a20;box-shadow:none}
.notebook-site .archive-card h2{color:var(--ink);font-size:1.14rem;line-height:1.45}
.notebook-site .archive-card p{color:var(--muted);font-size:.95rem;line-height:1.75}
.notebook-site .archive-card .open,.notebook-site .category-read{font-family:"Audrey Notes",cursive;font-size:1.1rem;color:var(--purple);border-bottom:2px solid var(--brand-cyan);padding-bottom:3px}
.notebook-site[data-layout="article-previews"] #archiveGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.notebook-site[data-layout="article-previews"] #archiveGrid .archive-card:nth-child(n){padding:16px 0 22px;border:0;border-bottom:1px solid #cdbadd;background:none;border-radius:0;box-shadow:none}
.notebook-site[data-layout="article-previews"] .archive-article-art{height:120px;aspect-ratio:auto;background:none;margin:0 0 18px;display:flex;align-items:center;gap:14px}
.notebook-site[data-layout="article-previews"] .archive-article-art>.paper-ink{width:100px;height:100px;margin:0;flex:0 0 100px}
.notebook-site[data-layout="article-previews"] .category-format{position:static;display:inline-block;max-width:none;flex:1;padding:0;background:linear-gradient(transparent 40%,#ffe39790 40%,#ffe39790 95%,transparent 95%);color:var(--purple);font-family:"Audrey Notes",cursive;font-size:1rem;line-height:1.45;border:0;border-radius:0;box-shadow:none;transform:rotate(-1deg)}
.notebook-site[data-layout="article-previews"] .archive-article-body{padding:0}
.notebook-site[data-layout="article-previews"] #archiveGrid h2{font-size:1.14rem;line-height:1.45;letter-spacing:0;margin-bottom:16px}
.notebook-site[data-layout="article-previews"] .category-marker{font-size:.8rem;color:var(--muted);line-height:1.6;margin-bottom:16px}
.notebook-site :is(.filters,.qa-toolbar){background:#fffdf9;border:1px solid #d8ccba;border-radius:2px;box-shadow:none;padding:18px}
.notebook-site .qa-link-card{background:none;border:0;border-bottom:1px solid #cdbadd;border-radius:0;box-shadow:none;padding:22px 14px}
.notebook-site .qa-link-card h3{color:var(--ink)}
.notebook-site .design-card{background:#fffdf9;border:1px solid #e0d7c6;border-radius:2px;box-shadow:none;transform:none}
.notebook-site .design-preview{background:none;border:0;border-radius:0}
.notebook-site .design-preview:before,.notebook-site .design-preview:after{display:none}
.notebook-site .design-preview>.paper-ink{width:135px;height:135px}
.notebook-site .mini-tag{font-family:"Audrey Notes",cursive;color:var(--ink);background:#ffe397;border:0;border-radius:0;box-shadow:none}
.notebook-site .design-content h3{color:var(--ink)}
.notebook-site .design-content p{color:var(--muted);line-height:1.75}
.notebook-site .ccn-card{background:none;border:0;border-bottom:1px solid #cdbadd;border-radius:0;box-shadow:none;padding:22px 0}
.notebook-site .ccn-card h3{color:var(--ink)}
.notebook-site .ccn-dates>div{background:#eee4f7;border-radius:2px}
.notebook-site .ccn-dates>div:nth-child(2){background:#e0f2ee}.notebook-site .ccn-dates>div:nth-child(3){background:#ffedb5}
.notebook-site .ccn-badge{border:0;border-radius:2px}
.notebook-site .ccn-source{background:none;border-color:#d3c2df}
.notebook-site .btn.soft{background:none;border:0;border-bottom:2px solid var(--brand-cyan);border-radius:0;box-shadow:none;color:var(--purple)}
.notebook-site .btn.primary{background:var(--purple);border:0;border-radius:3px;box-shadow:2px 3px 0 #e7b54b66;color:#fff}
/* Notes and sources in existing question URLs and the non-paginated content types. */
.notebook-site.editorial-question main.wrap>.hero{background:none;border:0;border-bottom:1px solid #c7b3d8;border-radius:0;box-shadow:none;padding:10px 0 26px;color:var(--ink)}
.notebook-site.editorial-question .hero h1{color:var(--ink);font-size:clamp(1.9rem,3.5vw,2.8rem);line-height:1.2}
.notebook-site.editorial-question .hero .short{color:var(--muted)}
.notebook-site.editorial-question .answer{background:#fff4cf;color:var(--ink);border:0;border-left:3px solid var(--gold);border-radius:0;box-shadow:none;line-height:1.75}
.notebook-site .block{background:none!important;border:0;border-left:2px solid #bfa6d6;border-radius:0;box-shadow:none;padding:18px 22px}
.notebook-site .block .num{background:none;color:var(--purple);font-family:"Audrey Notes",cursive;font-size:1.4rem;border-radius:0}
.notebook-site .side-card{background:none!important;border:0;border-left:2px solid var(--gold);border-radius:0;box-shadow:none;padding:14px 18px}
.notebook-site .side-card.check{border-left-color:var(--brand-cyan)}
.notebook-site .side-card h3{font-family:"Audrey Notes",cursive;font-size:1.2rem;color:var(--purple)}
.notebook-site .sources{background:none;border:0;border-top:1px solid #c7b3d8;border-radius:0;color:var(--ink);box-shadow:none;padding:20px 0}
.notebook-site .sources :is(h2,h3,small){color:var(--ink)}
.notebook-site .sources a{color:var(--purple);background:none;line-height:1.7;overflow-wrap:anywhere}
.notebook-site .editorial-heading{background:none;border:0;border-bottom:1px solid #c7b3d8;border-radius:0;box-shadow:none;padding:10px 0 25px;margin:0 0 25px}
.notebook-site .editorial-heading h1{color:var(--ink);font-size:clamp(2rem,3.5vw,3rem)}
.notebook-site .editorial-heading-art{background:none;border:0}
.notebook-site .editorial-heading-art>span:not(.paper-ink){font-family:"Audrey Notes",cursive;color:var(--purple)}
.notebook-site .editorial-section{background:none;border:0;border-left:2px solid #bfa6d6;border-radius:0;box-shadow:none;padding:20px 24px}
.notebook-site .editorial-section.tint{background:none;border-left-color:var(--brand-cyan)}
.notebook-site .editorial-section.caution{background:#fff4cf;border-left-color:var(--gold)}
.notebook-site .editorial-section-number{font-family:"Audrey Notes",cursive;color:var(--purple);background:none;border-radius:0}
.notebook-site .editorial-example{display:block;background:none;padding:0;border-radius:0}
.notebook-site .editorial-example>img{display:none}
.notebook-site .editorial-highlights{gap:24px}
.notebook-site .editorial-highlight{background:none;border:0;border-left:3px solid #bfa6d6;border-radius:0;box-shadow:none;padding:15px 20px}
.notebook-site .editorial-highlight:nth-child(2){border-left-color:var(--brand-cyan)}.notebook-site .editorial-highlight:nth-child(3){border-left-color:var(--gold)}
.notebook-site .editorial-source-list{border-color:#c7b3d8}
.notebook-site .editorial-source-list summary{font-family:"Audrey Notes",cursive;font-size:1.15rem}
.notebook-site .editorial-note{background:none;border-top:1px dashed #a9c5c5;font-family:"Audrey Notes",cursive;font-size:1.1rem}
.notebook-site .ccn-meta>div{background:none;border:1px solid #e0d7c6;border-left:3px solid var(--brand-cyan);border-radius:0}
/* The article leaves themselves are already the paper surface. */
.notebook-site.grimoire-article .knowledge-sheet .editorial-heading{border:0;margin:0;padding:0}
.notebook-site.grimoire-article .knowledge-sheet .editorial-section{border:0;padding:4px 0;margin:0;background:none}
.notebook-site.grimoire-article .knowledge-sheet .sources{border:0;padding:0}
.notebook-site .contact-modal-box{background:var(--paper);border:1px solid #c7b3d8;border-radius:4px;box-shadow:0 18px 60px #10213e30}
.notebook-site .contact-modal-head{background:none;padding-bottom:8px}
.notebook-site .contact-modal-head .kicker{background:#ffe397;border-radius:0;color:var(--purple)}
.notebook-site .contact-form{background:#fffdf9;border:1px solid #ded2bf;border-left:3px solid var(--brand-cyan);border-radius:2px;padding:22px}
.notebook-site .contact-form input,.notebook-site .contact-form select,.notebook-site .contact-form textarea{background:#fffefb;border:1px solid #cbbfae;border-radius:3px}
.notebook-site .contact-form input[type="checkbox"]{width:20px;height:20px;min-height:0;flex:none}
.notebook-site .contact-demo-note{border-left-color:var(--gold)}
.notebook-site footer{background:none;color:var(--muted)}
.notebook-site footer .footer{border-top:1px solid #c7b3d8}
.notebook-site footer .footer-symbol{width:150px!important;height:auto!important;display:block}
.notebook-site .ai-fab{background:var(--purple);border-radius:4px;box-shadow:2px 3px 0 #e7b54b88}
.notebook-site .ai-fab-icon{border-radius:2px}
.paper-hidden-art{display:none!important}
.paper-ink{display:block;width:150px;height:150px;margin:auto;flex:none;background:url('/assets/illustrations/book-ink.webp') var(--ink-x) var(--ink-y)/400% 400% no-repeat;clip-path:inset(4% 2%)}
@media(max-width:1000px){
 .notebook-site[data-layout="article-previews"] #archiveGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .notebook-site .archive-shell,.notebook-site.editorial-question main.wrap,.notebook-site main.editorial-content:not(.grimoire-ready){padding-right:30px;padding-left:48px}
 .notebook-site .archive-shell:before,.notebook-site.editorial-question main.wrap:before,.notebook-site main.editorial-content:not(.grimoire-ready):before{left:24px}
}
@media(max-width:700px){
 body.editorial-home.notebook-site .site-header .header-top{display:flex;flex-direction:column;align-items:center;gap:12px;padding-block:16px}
 body.editorial-home.notebook-site .site-header .brand-column{width:230px;max-width:230px}
 body.editorial-home.notebook-site .site-header .brand-card .logo{width:230px}
 body.editorial-home.notebook-site .site-header .header-panel{padding:0;border:0!important;text-align:center;width:100%}
 body.editorial-home.notebook-site .site-header .header-panel h1{font-size:1.02rem;line-height:1.35;white-space:normal}
 body.editorial-home.notebook-site .site-header .header-panel .brand-tagline{display:none}
 .notebook-site .site-header .header-top{gap:14px}
 .notebook-site .site-header .logo{width:210px;height:auto}
 .notebook-site .site-header .header-panel{padding-left:14px}
 .notebook-site .site-header .nav-inner{min-height:90px;gap:12px;flex-wrap:wrap;padding-block:14px}
 .notebook-site .site-header .brand img,.notebook-site header.top .logo{width:200px}
 .notebook-site .site-header .back{margin-left:auto}
 .notebook-site .archive-shell,.notebook-site.editorial-question main.wrap,.notebook-site main.editorial-content:not(.grimoire-ready){width:calc(100% - 24px);margin:14px auto 24px;padding:22px 18px 24px 32px}
 .notebook-site .archive-shell:before,.notebook-site.editorial-question main.wrap:before,.notebook-site main.editorial-content:not(.grimoire-ready):before{left:17px}
 .notebook-site .archive-hero h1{font-size:2rem}
 .notebook-site .archive-hero p{font-size:.95rem}
 .notebook-site .archive-hero .archive-count{margin-top:12px}
 .notebook-site .archive-card h2{font-size:1.05rem}
 .notebook-site[data-layout="article-previews"] #archiveGrid{grid-template-columns:1fr;gap:20px}
 .notebook-site .editorial-heading{grid-template-columns:1fr}
 .notebook-site .editorial-heading-art{max-width:150px;justify-self:center}
 .notebook-site .editorial-heading-art>.paper-ink{width:110px;height:110px}
 .notebook-site .editorial-section{padding:18px 16px}
 .notebook-site .editorial-section h2{font-size:1.35rem}
 .notebook-site .editorial-highlights{grid-template-columns:1fr}
 .notebook-site .contact-form{padding:18px}
}
@media print{body.notebook-site{background:white}.notebook-site .archive-shell,.notebook-site.editorial-question main.wrap,.notebook-site main.editorial-content:not(.grimoire-ready),.notebook-site .home-sheet{width:100%;margin:0;padding:20px;box-shadow:none;border:0}.notebook-site .ai-fab{display:none}}
/* Remove the former cutout banner's white cutout and floating count. */
body.notebook-site .category-ribbon-header .category-intro-copy{width:100%;max-width:none;padding:0;background:none;border:0;border-radius:0;clip-path:none}
body.notebook-site .category-ribbon-header .archive-count{position:static!important;display:inline-block;inset:auto;transform:rotate(-1deg);margin-top:14px;background:linear-gradient(transparent 30%,#ffe397 30%,#ffe397 96%,transparent 96%);padding:2px 8px;box-shadow:none;border:0;border-radius:0;color:var(--purple)}
body.notebook-site .category-ribbon-header{border-bottom:0;margin-bottom:8px}
body.notebook-site.archive-page .site-header .header-top{grid-template-columns:240px minmax(0,1fr);gap:24px}
body.notebook-site.archive-page .site-header .brand-column{width:230px;max-width:230px}
body.notebook-site.archive-page .site-header .logo{width:230px;max-width:230px;height:auto}
@media(max-width:700px){
 body.notebook-site.archive-page .site-header .header-top{display:flex;flex-direction:column;align-items:center;gap:12px;padding-block:16px}
 body.notebook-site.archive-page .site-header .header-panel{border:0!important;padding:0;text-align:center;width:100%}
 body.notebook-site.archive-page .site-header .header-panel h1{font-size:1.35rem}
}
@media(max-width:600px){
 .notebook-site .knowledge-sheet .editorial-heading{grid-template-columns:minmax(0,1fr)}
 .notebook-site .knowledge-sheet .editorial-heading>div{min-width:0}
 .notebook-site .knowledge-sheet .tag{max-width:100%;white-space:normal;overflow-wrap:anywhere}
 .notebook-site .knowledge-sheet .editorial-highlights{grid-template-columns:minmax(0,1fr)}
 .notebook-site .knowledge-sheet .editorial-highlight{min-width:0;grid-template-columns:35px minmax(0,1fr);gap:0 10px;padding:12px}
 .notebook-site .knowledge-sheet .editorial-highlight :is(h3,p){min-width:0;overflow-wrap:anywhere}
 .notebook-site .knowledge-sheet .case-scene{grid-template-columns:minmax(0,1fr);padding:8px 0 20px}
 .notebook-site .knowledge-sheet .case-character{flex-wrap:wrap;max-width:100%}
 .notebook-site .knowledge-sheet .case-extra-days{transform:none}
}
@media(max-width:360px){
 .notebook-site .knowledge-sheet .editorial-heading h1{font-size:1.7rem;overflow-wrap:break-word}
 .notebook-site .knowledge-sheet .case-threshold>svg{width:24px;flex-basis:24px}
}
.notebook-site .visual-download{background:none;border:0;border-top:1px solid #c7b3d8;border-radius:0;box-shadow:none;padding:20px 0}
.notebook-site .visual-download a{background:var(--purple);border:0;border-radius:3px;box-shadow:2px 3px 0 #e7b54b66;color:#fff}
