:root{--paper:#eae2d6;--panel:#f4eee3;--soft:#e2d8ca;--ink:#403637;--muted:#71615e;--line:#d4c7b8;--accent:#785560;--accent-ink:#fbf1e5;--tint:#e8dadd;--shadow:#53412e12}
:root[data-theme=lamplight]{--paper:#272326;--panel:#312b2e;--soft:#3b3236;--ink:#e4d8c8;--muted:#bcaaa6;--line:#53454b;--accent:#cfacb7;--accent-ink:#302329;--tint:#493640;--shadow:#130e1629}
.demo-body,.books-page{background:radial-gradient(ellipse at 8% 2%,#b7976420,transparent 50%),radial-gradient(ellipse at 96% 55%,#8c54600b,transparent 45%),var(--paper)}
.demo-bar{max-width:1400px;min-height:90px}.demo-bar .brand-logo{width:82px;height:82px}.demo-container{max-width:1400px}.demo-heading p{font-size:19px}.demo-controls .quiet-button{background:transparent;border-color:transparent}.demo-controls .quiet-button:hover{background:var(--panel);border-color:var(--line)}.demo-banner{background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;font-size:11px;padding:8px 4px;margin-bottom:18px}.book-toolbar{background:transparent;border:0;border-top:1px solid var(--line);border-radius:0;padding:14px 0 4px;margin-bottom:0}.book-toolbar .quiet-button{background:transparent;border:0}.book-switch-control select{background:var(--panel)}
#book-workspace-maps-preview{background:var(--panel);border-radius:14px;box-shadow:0 12px 45px var(--shadow);overflow:hidden}
#book-workspace-maps-preview[data-active-view] .bw-shell{display:flex;flex-direction:column}
#book-workspace-maps-preview[data-active-view] .bw-rail{padding:0 30px;border:0;border-bottom:1px solid var(--bw-line);border-radius:0;background:transparent}
#book-workspace-maps-preview[data-active-view] .bw-nav{display:block;margin:0}
#book-workspace-maps-preview .destination-nav{display:flex;gap:12px;align-items:stretch;justify-content:center}
#book-workspace-maps-preview .destination-nav button{width:auto;border-radius:0;min-height:66px;padding:18px 24px;background:transparent;border:0;border-bottom:2px solid transparent;color:var(--muted);font-size:14px;font-weight:500}
#book-workspace-maps-preview .destination-nav button:hover{color:var(--ink);background:var(--soft)}
#book-workspace-maps-preview .destination-nav button[aria-current=page]{color:var(--accent);border-bottom-color:var(--accent);background:transparent}
#book-workspace-maps-preview[data-active-view] .bw-main{padding:26px 48px 55px;max-width:1320px;width:100%;margin:auto}
#book-workspace-maps-preview .bw-book{display:flex;padding-bottom:20px;margin-bottom:28px;align-items:center}
#book-workspace-maps-preview .bw-book h1{font-size:23px;letter-spacing:-.02em;margin-top:3px}
#book-workspace-maps-preview .bw-book .bw-label{font-size:9px}
#book-workspace-maps-preview[data-active-view=home] .bw-book{display:none}
#book-workspace-maps-preview .bw-heading{display:block;margin-bottom:30px}
#book-workspace-maps-preview .bw-heading h2{font:40px/1.18 var(--serif);letter-spacing:-.035em;margin-bottom:10px}
#book-workspace-maps-preview .bw-heading .bw-small{font-size:14px;line-height:1.8;color:var(--muted)}
#book-workspace-maps-preview #studio-trail:empty{display:none}
#book-workspace-maps-preview #studio-trail{margin:-10px 0 26px}
#book-workspace-maps-preview #studio-trail button{font-size:12px}
#book-workspace-maps-preview .studio-art{display:block;width:100%;height:auto;color:var(--accent);pointer-events:none}
#book-workspace-maps-preview .studio-welcome{display:grid;grid-template-columns:1.4fr 1fr;align-items:center;gap:50px;padding:30px 10px 40px}
#book-workspace-maps-preview .studio-welcome .eyebrow{margin:0 0 22px;font-size:9px;letter-spacing:.18em}
#book-workspace-maps-preview .studio-welcome h2{font:46px/1.18 var(--serif);letter-spacing:-.035em;max-width:19ch}
#book-workspace-maps-preview .studio-welcome h2 em{color:var(--accent);font-weight:400}
#book-workspace-maps-preview .studio-welcome p{color:var(--muted);font:16px/1.9 var(--serif);margin-top:20px}
#book-workspace-maps-preview .studio-primary{background:var(--accent);color:var(--accent-ink);border-color:var(--accent);padding:16px 23px;border-radius:8px;font-size:14px;margin-top:25px;display:inline-flex;align-items:center;gap:35px;min-height:55px}
#book-workspace-maps-preview .resume-note{display:block;font-size:11px;color:var(--muted);margin-top:10px}
#book-workspace-maps-preview .welcome-art{max-width:320px;justify-self:center;text-align:center}
#book-workspace-maps-preview .welcome-art svg{width:100%;height:240px}
#book-workspace-maps-preview .welcome-art>span{font:italic 16px var(--serif);color:var(--muted)}
#book-workspace-maps-preview .studio-facts{display:flex;gap:40px;border-block:1px solid var(--line);padding:16px 10px;font-size:12px;color:var(--muted)}
#book-workspace-maps-preview .studio-facts strong{font:20px var(--serif);color:var(--ink);margin-right:7px}
#book-workspace-maps-preview .section-heading{padding:30px 0 20px}
#book-workspace-maps-preview .section-heading .eyebrow{margin-bottom:8px;font-size:9px}
#book-workspace-maps-preview .section-heading h3{font:29px var(--serif)}
#book-workspace-maps-preview .destinations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
#book-workspace-maps-preview .home-destinations{grid-template-columns:repeat(4,minmax(0,1fr))}
#book-workspace-maps-preview .destination-card{display:flex;flex-direction:column;min-width:0;text-align:left;background:linear-gradient(130deg,#ffffff0c,transparent),var(--paper);border:1px solid var(--line);border-radius:8px;padding:21px 25px 22px;min-height:255px;color:var(--ink);transition:transform .25s,border-color .25s,box-shadow .25s}
#book-workspace-maps-preview .destination-card:hover{transform:translateY(-3px);border-color:var(--accent);box-shadow:0 12px 20px var(--shadow)}
#book-workspace-maps-preview .destination-card .studio-art{width:125px;height:100px;margin:0 auto 18px;opacity:.85}
#book-workspace-maps-preview .destination-copy{display:flex;flex-direction:column;flex:1}
#book-workspace-maps-preview .destination-copy strong{font:25px/1.2 var(--serif);letter-spacing:-.03em}
#book-workspace-maps-preview .destination-copy>span{font-size:12px;line-height:1.8;color:var(--muted);margin-top:13px;margin-bottom:20px}
#book-workspace-maps-preview .destination-copy small{font-size:11px;color:var(--accent);display:flex;justify-content:space-between;align-items:center;margin-top:auto}
#book-workspace-maps-preview .destination-copy i{font-style:normal;font-size:18px}
#book-workspace-maps-preview .collection-hero{display:flex;align-items:center;justify-content:space-between;gap:30px;border-bottom:1px solid var(--line);padding-bottom:30px;margin-bottom:27px}
#book-workspace-maps-preview .collection-hero h2{font:42px/1.2 var(--serif);letter-spacing:-.035em}
#book-workspace-maps-preview .collection-hero p{font-size:14px;color:var(--muted);margin-top:16px;max-width:50ch;line-height:1.85}
#book-workspace-maps-preview .collection-hero .eyebrow{margin-bottom:14px;font-size:9px}
#book-workspace-maps-preview .collection-hero .studio-art{width:180px;flex:0 0 180px;opacity:.7}
#book-workspace-maps-preview .collection-search{margin-bottom:24px;max-width:380px}
#book-workspace-maps-preview .collection-search label{display:grid;gap:7px;font-size:12px;color:var(--muted)}
#book-workspace-maps-preview .collection-search input{width:100%;border:1px solid var(--line);background:var(--panel);border-radius:7px;padding:13px;font-size:14px;color:var(--ink)}
#book-workspace-maps-preview .collection-destinations .destination-card{flex-direction:row;gap:15px;min-height:180px;padding:24px 22px}
#book-workspace-maps-preview .collection-destinations .studio-art{width:90px;height:85px;flex:0 0 90px;margin:10px 0}
#book-workspace-maps-preview .collection-destinations .destination-copy strong{font-size:24px}
#book-workspace-maps-preview .atlas-layout{display:block}
#book-workspace-maps-preview .atlas-layout.is-collection .atlas-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;max-height:none;overflow:visible}
#book-workspace-maps-preview .atlas-layout.is-editing .atlas-list{display:none}
#book-workspace-maps-preview .atlas-card{position:relative;padding:25px;min-height:210px;border-radius:7px;background:var(--paper);gap:12px;transition:border-color .2s,transform .2s}
#book-workspace-maps-preview .atlas-card:hover{border-color:var(--accent);transform:translateY(-2px)}
#book-workspace-maps-preview .atlas-card .entry-art{height:82px;width:105px;margin:0 0 8px;opacity:.7}
#book-workspace-maps-preview .atlas-card strong{font-size:26px}
#book-workspace-maps-preview .atlas-card>span:last-child{display:block;line-height:1.8}
#book-workspace-maps-preview .atlas-no-results{grid-column:1/-1;padding:50px 25px;border:1px dashed var(--line);border-radius:7px;text-align:center;font:18px/1.8 var(--serif)}
#book-workspace-maps-preview .atlas-editor{max-width:950px;margin:auto}
#book-workspace-maps-preview .atlas-editor-heading{border-bottom:1px solid var(--line);padding:10px 0 25px}
#book-workspace-maps-preview .atlas-editor-heading>div>button{margin-bottom:25px;font-size:12px;background:transparent}
#book-workspace-maps-preview .atlas-editor-heading h3{font:40px/1.2 var(--serif)}
#book-workspace-maps-preview .atlas-editor-heading .eyebrow{font-size:9px;margin-bottom:10px}
#book-workspace-maps-preview .atlas-save-note{margin:15px 0 25px;font-size:12px}
#book-workspace-maps-preview .atlas-sections{display:grid;gap:13px}
#book-workspace-maps-preview .atlas-section{border:1px solid var(--line);border-radius:8px;background:var(--panel);overflow:hidden}
#book-workspace-maps-preview .atlas-section>summary{display:grid;gap:5px;padding:21px 55px 21px 25px;list-style:none;position:relative;min-height:85px;background:var(--paper)}
#book-workspace-maps-preview .atlas-section>summary::-webkit-details-marker{display:none}
#book-workspace-maps-preview .atlas-section>summary:after{content:'+';position:absolute;right:24px;top:24px;font:24px var(--serif);color:var(--accent)}
#book-workspace-maps-preview .atlas-section[open]>summary:after{content:'−'}
#book-workspace-maps-preview .atlas-section summary>span{font:24px var(--serif)}
#book-workspace-maps-preview .atlas-section summary i{font:italic 14px var(--serif);color:var(--accent);margin-right:15px}
#book-workspace-maps-preview .atlas-section summary small{font:12px/1.7 var(--sans);color:var(--muted)}
#book-workspace-maps-preview .atlas-section-body{padding:26px;background:transparent;border:0;border-radius:0;margin:0;display:grid;gap:22px}
#book-workspace-maps-preview .atlas-fields{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
#book-workspace-maps-preview .atlas-fields label:has(textarea){grid-column:1/-1}
#book-workspace-maps-preview .atlas-fields label{font-size:14px;color:var(--ink);gap:8px;min-width:0}
#book-workspace-maps-preview .field-hint{display:block;font:12px/1.65 var(--sans);color:var(--muted);font-weight:400}
#book-workspace-maps-preview .project-form input,#book-workspace-maps-preview .project-form textarea,#book-workspace-maps-preview .project-form select,#book-workspace-maps-preview .custom-field input,#book-workspace-maps-preview .custom-field textarea,#book-workspace-maps-preview .connection-form input,#book-workspace-maps-preview .connection-form select{width:100%;min-width:0;border:1px solid var(--line);background:var(--panel);border-radius:6px;padding:12px 14px;color:var(--ink);font:15px/1.7 var(--sans)}
#book-workspace-maps-preview .project-form input::placeholder,#book-workspace-maps-preview .project-form textarea::placeholder{color:var(--muted);opacity:.8}
#book-workspace-maps-preview .custom-fields{display:grid;gap:24px}
#book-workspace-maps-preview .custom-field{display:grid;gap:12px;padding-bottom:20px;border-bottom:1px solid var(--line)}
#book-workspace-maps-preview .custom-field label,#book-workspace-maps-preview .connection-form label{display:grid;gap:8px;font-size:13px}
#book-workspace-maps-preview .custom-field button{justify-self:end}
#book-workspace-maps-preview .connection-form{display:grid;grid-template-columns:1fr 1fr auto;gap:15px;align-items:end}
#book-workspace-maps-preview .entry-connections>div{display:flex;gap:15px;align-items:center;border-bottom:1px solid var(--line);padding:12px 0;font-size:13px}
#book-workspace-maps-preview .entry-connections>div>span{flex:1;color:var(--muted)}
#book-workspace-maps-preview .entry-connections button:last-child{font-size:11px}
#book-workspace-maps-preview .cw-workspace{grid-template-columns:170px minmax(0,1fr);gap:30px}
#book-workspace-maps-preview .cw-chapter-rail{border-right:1px solid var(--line);padding-right:20px}
#book-workspace-maps-preview .cw-chapter{border-radius:6px;background:transparent;border:0;border-left:2px solid transparent;min-height:65px;padding:12px 10px}
#book-workspace-maps-preview .cw-chapter[aria-current=page]{background:var(--paper);border-left-color:var(--accent)}
#book-workspace-maps-preview .cw-title{font-size:32px;margin-bottom:16px}
#book-workspace-maps-preview .document-tools{border:1px solid var(--line);border-radius:8px 8px 0 0;background:var(--paper);padding:12px 15px;position:relative;z-index:1}
#book-workspace-maps-preview .format-main,#book-workspace-maps-preview .format-extra{display:flex;align-items:end;flex-wrap:wrap;gap:9px 12px}
#book-workspace-maps-preview .document-tools label{font:10px/1.5 var(--sans);color:var(--muted);display:grid;gap:4px}
#book-workspace-maps-preview .document-tools select{min-height:38px;height:38px;padding:7px 25px 7px 9px;background:var(--panel);border:1px solid var(--line);border-radius:5px;color:var(--ink);font-size:12px;max-width:165px}
#book-workspace-maps-preview .format-buttons{display:flex;flex-wrap:wrap;gap:2px;border-left:1px solid var(--line);padding-left:7px}
#book-workspace-maps-preview .document-tools button{min-height:38px;min-width:36px;padding:7px 9px;border:1px solid transparent;border-radius:4px;background:transparent;color:var(--ink);font-size:13px}
#book-workspace-maps-preview .document-tools button:hover,#book-workspace-maps-preview .document-tools button[aria-pressed=true]{background:var(--tint);border-color:var(--line);color:var(--accent)}
#book-workspace-maps-preview .document-tools button svg{height:20px;width:20px;fill:none;stroke:currentColor;stroke-width:1.3;vertical-align:middle}
#book-workspace-maps-preview .format-more,#book-workspace-maps-preview .document-find{margin-top:10px;border-top:1px solid var(--line);font-size:11px}
#book-workspace-maps-preview .format-more summary,#book-workspace-maps-preview .document-find summary{min-height:32px;padding:8px 0;color:var(--muted)}
#book-workspace-maps-preview .format-extra{padding:8px 0}
#book-workspace-maps-preview .find-controls{display:flex;flex-wrap:wrap;gap:10px;align-items:end;padding:8px 0}
#book-workspace-maps-preview .find-controls label{flex:1;min-width:120px}
#book-workspace-maps-preview .find-controls input{width:100%;min-height:38px;padding:8px;background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:4px;font-size:14px}
#book-workspace-maps-preview #find-status{width:100%;font-size:12px;color:var(--muted)}
#book-workspace-maps-preview .editor-status:empty{display:none}
#book-workspace-maps-preview .editor-status{font-size:12px;color:var(--muted)}
#book-workspace-maps-preview .cw-document{border-radius:0 0 8px 8px;padding:45px 48px;border-top:0;background:var(--panel);box-shadow:0 8px 20px var(--shadow)}
#book-workspace-maps-preview .rich-manuscript{display:block;overflow:visible;min-height:500px;font:20px/1.8 Georgia,serif;outline:0;white-space:pre-wrap;overflow-wrap:break-word;word-break:normal;letter-spacing:normal;max-width:70ch;margin:auto;height:auto!important}
#book-workspace-maps-preview .rich-manuscript:focus{outline:0}
#book-workspace-maps-preview .rich-manuscript p,#book-workspace-maps-preview .rich-manuscript div{margin:0 0 16px;font-family:inherit;line-height:inherit}
#book-workspace-maps-preview .rich-manuscript h1{font-size:36px;line-height:1.3;margin:20px 0;font-family:inherit}
#book-workspace-maps-preview .rich-manuscript h2{font-size:28px;line-height:1.4;margin:18px 0;font-family:inherit}
#book-workspace-maps-preview .rich-manuscript h3{font-size:24px;line-height:1.5;margin:16px 0;font-family:inherit}
#book-workspace-maps-preview .rich-manuscript h4{font-size:21px;line-height:1.5;margin:14px 0;font-family:inherit}
#book-workspace-maps-preview .rich-manuscript blockquote{border-left:2px solid var(--accent);padding-left:22px;margin:20px 0;font-style:italic}
#book-workspace-maps-preview .rich-manuscript ul,#book-workspace-maps-preview .rich-manuscript ol{padding-left:28px}
#book-workspace-maps-preview .rich-manuscript li{margin-bottom:8px}
#book-workspace-maps-preview .rich-manuscript:empty:before{content:attr(data-placeholder);color:var(--muted);font-style:italic;pointer-events:none}
#book-workspace-maps-preview .cw-plan,#book-workspace-maps-preview .manuscript-reference{border:1px solid var(--line);border-radius:7px;background:var(--paper);overflow:hidden}
#book-workspace-maps-preview .manuscript-reference>summary{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;min-height:56px;padding:18px 20px;font-size:14px;list-style:none}
#book-workspace-maps-preview .manuscript-reference>summary span{font-size:11px;color:var(--muted)}
#book-workspace-maps-preview .manuscript-reference>div{padding:22px;border-top:1px solid var(--line)}
#book-workspace-maps-preview .manuscript-reference label{font-size:12px;display:grid;gap:8px}
#book-workspace-maps-preview #reference-search{width:100%;border:1px solid var(--line);background:var(--panel);color:var(--ink);border-radius:5px;padding:10px 14px;font-size:14px}
#book-workspace-maps-preview .reference-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px;margin-top:18px;max-height:500px;overflow:auto}
#book-workspace-maps-preview .reference-list>details{border:1px solid var(--line);background:var(--panel);border-radius:5px;padding:14px}
#book-workspace-maps-preview .reference-list summary{font:20px/1.4 var(--serif);min-height:50px;list-style:none}
#book-workspace-maps-preview .reference-list .eyebrow{font-size:8px;margin-bottom:6px}
#book-workspace-maps-preview .reference-list dl{margin:15px 0}
#book-workspace-maps-preview .reference-list dt{font-size:10px;color:var(--accent);margin-top:12px;text-transform:uppercase;letter-spacing:.07em}
#book-workspace-maps-preview .reference-list dd{font:13px/1.8 var(--sans);margin:4px 0;white-space:pre-wrap}
#book-workspace-maps-preview .lw-workshop{border:1px solid var(--line);border-radius:8px;overflow:hidden}
#book-workspace-maps-preview .lw-steps{background:var(--paper);padding:18px 12px}
#book-workspace-maps-preview .lw-page{padding:28px}
#book-workspace-maps-preview .progress-panel,#book-workspace-maps-preview .goal-panel,#book-workspace-maps-preview .stats-grid article{border-radius:8px}
#book-workspace-maps-preview .stats-grid article{background:var(--paper);padding:28px}
#book-workspace-maps-preview .stats-grid strong{font-size:48px;color:var(--accent)}
#book-workspace-maps-preview .goal-panel{background:var(--panel);border-left:3px solid var(--accent)}
.is-focused #book-workspace-maps-preview .manuscript-reference,.is-focused #studio-trail{display:none}
.is-focused #book-workspace-maps-preview .cw-document{border-top:1px solid var(--line);border-radius:8px}
.books-page .site-header{margin-bottom:45px}.books-page .brand-logo{width:110px;height:110px}.shelf-intro{padding-bottom:25px}.shelf-intro h1{font-size:58px;letter-spacing:-.05em}.shelf-intro .eyebrow{font-size:9px;letter-spacing:.18em}.shelf-intro p:not(.eyebrow){font:17px/1.8 var(--serif)}
.shelf-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:45px 40px;padding:0 15px 40px;background:linear-gradient(transparent 89%,#745a4209 99%,transparent)}
.shelf-book{perspective:1200px;padding:0 5px}
.book-cover{aspect-ratio:2/3;min-height:0;padding:27px 28px 25px 35px;border:0;border-left:0;border-radius:7px 5px 8px 7px;transform:rotateY(-8deg);transform-style:preserve-3d;background:linear-gradient(90deg,#0004 0,#ffffff12 5px,#0003 12px,transparent 22px),repeating-linear-gradient(85deg,#ffffff04 0 1px,transparent 1px 3px),repeating-linear-gradient(0deg,#00000004 0 1px,transparent 1px 3px),hsl(var(--book-hue) 19% 32%);box-shadow:2px 2px 1px #fff1,5px 6px 0 -1px #cdbfa8,7px 8px 0 -1px hsl(var(--book-hue) 19% 24%),12px 18px 24px #3d2d2429}
.book-cover:before{inset:22px 19px 24px 30px;border-color:#e0cdad55;border-radius:1px}
.book-cover:after{right:-5px;top:6px;bottom:3px;width:4px;transform:skewY(20deg);border-radius:0 4px 4px 0;background:repeating-linear-gradient(0deg,#ccbea4 0 .7px,#e9dfce .7px 2px)}
.book-cover h2{font:27px/1.35 var(--serif);letter-spacing:-.02em;padding:10px 0;margin:auto 0 20px;text-align:center;text-shadow:none}
.book-cover .cover-emblem{width:80px;height:64px;margin:18px auto 0;opacity:.8;color:#dfc9a1;flex-shrink:0}
.book-cover .book-number{font-size:11px;letter-spacing:.1em}
.book-cover .book-cover-line{height:1px;width:35%;margin:5px auto 18px;background:#dfc9a15c}
.book-cover .book-cover-tag{font-size:7px;letter-spacing:.15em;text-align:center;opacity:.7}
.book-cover:hover{transform:translateY(-7px) rotateY(-3deg) rotateZ(-1deg);box-shadow:5px 7px 0 -1px #cdbfa8,7px 9px 0 -1px hsl(var(--book-hue) 19% 24%),14px 25px 35px #3d2d2433}
.book-card-info{padding:23px 0 0}.book-card-info p{font-size:12px}.book-card-actions .quiet-button{background:transparent;border:0;padding:9px 8px;border-radius:4px}.book-card-actions .quiet-button:hover{background:var(--soft)}
@media(min-width:1450px){#book-workspace-maps-preview .studio-welcome h2{font-size:53px}}
@media(max-width:1150px){#book-workspace-maps-preview .collection-destinations{grid-template-columns:repeat(2,minmax(0,1fr))}#book-workspace-maps-preview .home-destinations{grid-template-columns:repeat(2,minmax(0,1fr))}#book-workspace-maps-preview .home-destinations .destination-card{flex-direction:row;gap:18px;min-height:200px}#book-workspace-maps-preview .home-destinations .studio-art{width:110px;flex:0 0 110px}#book-workspace-maps-preview .studio-welcome h2{font-size:43px}.shelf-grid{gap:35px;grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){#book-workspace-maps-preview[data-active-view] .bw-main{padding:25px}#book-workspace-maps-preview .destination-nav{gap:0}#book-workspace-maps-preview .destination-nav button{padding:15px 20px}#book-workspace-maps-preview .studio-welcome{gap:20px}#book-workspace-maps-preview .welcome-art{width:200px}#book-workspace-maps-preview .studio-welcome h2{font-size:38px}#book-workspace-maps-preview .atlas-layout.is-collection .atlas-list{grid-template-columns:repeat(2,minmax(0,1fr))}#book-workspace-maps-preview .cw-workspace{grid-template-columns:1fr}#book-workspace-maps-preview .cw-chapter-rail{display:none}#book-workspace-maps-preview .cw-document{padding:35px}#book-workspace-maps-preview .connection-form{grid-template-columns:1fr}#book-workspace-maps-preview .collection-hero h2{font-size:36px}}
@media(max-width:650px){.demo-body{padding:0 10px 15px}.demo-bar{min-height:70px}.demo-controls .quiet-button{font-size:11px;min-height:42px}.book-toolbar{gap:5px}.book-save-status{font-size:10px}.book-toolbar .book-switch-control{order:0}.demo-banner{font-size:10px;margin-bottom:12px}#book-workspace-maps-preview[data-active-view] .bw-rail{padding:0 8px}#book-workspace-maps-preview .destination-nav{justify-content:space-between}#book-workspace-maps-preview .destination-nav button{font-size:11px;padding:13px 8px;min-height:54px}#book-workspace-maps-preview[data-active-view] .bw-main{padding:23px 18px 35px}#book-workspace-maps-preview .bw-book h1{font-size:22px}#book-workspace-maps-preview .bw-book{margin-bottom:24px}#book-workspace-maps-preview .reading-control{min-width:100px}#book-workspace-maps-preview .studio-welcome{grid-template-columns:1fr;gap:20px;padding:15px 0 30px}#book-workspace-maps-preview .studio-welcome h2{font-size:36px}#book-workspace-maps-preview .studio-welcome .eyebrow{font-size:8px}#book-workspace-maps-preview .studio-welcome p{font-size:15px}#book-workspace-maps-preview .welcome-art{display:none}#book-workspace-maps-preview .studio-facts{gap:14px;padding:15px 0;justify-content:space-between;font-size:10px}#book-workspace-maps-preview .studio-facts strong{font-size:18px;display:block;margin:0 0 4px}#book-workspace-maps-preview .destinations{grid-template-columns:1fr;gap:13px}#book-workspace-maps-preview .home-destinations .destination-card,#book-workspace-maps-preview .collection-destinations .destination-card{min-height:150px;padding:20px 18px;gap:15px}#book-workspace-maps-preview .destination-card .studio-art,#book-workspace-maps-preview .home-destinations .studio-art{width:85px;height:80px;flex:0 0 85px;margin:5px 0}#book-workspace-maps-preview .destination-copy strong{font-size:24px}#book-workspace-maps-preview .destination-copy>span{margin-top:9px;margin-bottom:10px;font-size:12px}#book-workspace-maps-preview .collection-hero .studio-art{display:none}#book-workspace-maps-preview .collection-hero{padding-bottom:24px}#book-workspace-maps-preview .collection-hero h2{font-size:35px}#book-workspace-maps-preview .bw-heading h2{font-size:34px}#book-workspace-maps-preview .atlas-layout.is-collection .atlas-list{grid-template-columns:1fr}#book-workspace-maps-preview .atlas-card{min-height:180px;padding:22px}#book-workspace-maps-preview .atlas-card .entry-art{height:60px;width:80px}#book-workspace-maps-preview .atlas-editor-heading h3{font-size:32px}#book-workspace-maps-preview .atlas-editor-heading{gap:12px}#book-workspace-maps-preview .atlas-editor-heading>button{font-size:10px;max-width:75px;padding:8px}#book-workspace-maps-preview .atlas-fields{grid-template-columns:1fr}#book-workspace-maps-preview .atlas-section>summary{padding:20px 40px 20px 18px}#book-workspace-maps-preview .atlas-section summary>span{font-size:21px}#book-workspace-maps-preview .atlas-section summary i{margin-right:9px;font-size:12px}#book-workspace-maps-preview .atlas-section>summary:after{right:17px}#book-workspace-maps-preview .atlas-section-body{padding:20px 16px}#book-workspace-maps-preview .atlas-fields input,#book-workspace-maps-preview .atlas-fields textarea,#book-workspace-maps-preview .document-tools select,#book-workspace-maps-preview .document-tools input{font-size:16px}#book-workspace-maps-preview .document-tools{padding:10px}#book-workspace-maps-preview .document-tools select{max-width:145px}#book-workspace-maps-preview .format-main{gap:10px}#book-workspace-maps-preview .document-tools button{min-height:42px;min-width:40px}#book-workspace-maps-preview .format-buttons{border-left:0;padding:0}#book-workspace-maps-preview .cw-document{padding:28px 18px}#book-workspace-maps-preview .rich-manuscript{font-size:18px;min-height:400px}#book-workspace-maps-preview .reference-list{grid-template-columns:1fr}#book-workspace-maps-preview .lw-page{padding:20px 16px}#book-workspace-maps-preview .stats-grid article{padding:19px 15px}#book-workspace-maps-preview .stats-grid strong{font-size:38px}.shelf-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 23px;padding-inline:0}.shelf-intro h1{font-size:44px}.book-cover{padding:17px 16px 20px 25px}.book-cover h2{font-size:21px;margin-bottom:12px}.book-cover .cover-emblem{width:52px;height:42px;margin:12px auto 0}.book-cover:before{inset:14px 10px 16px 18px}.book-cover .book-cover-tag{font-size:6px}.book-cover .book-cover-line{margin-bottom:10px}.book-cover .book-number{font-size:9px}.book-card-info p{font-size:10px}}
@media(prefers-reduced-motion:reduce){#book-workspace-maps-preview .destination-card:hover,#book-workspace-maps-preview .atlas-card:hover,.book-cover:hover{transform:none}}
.book-portal{perspective:1800px;background:transparent}
.book-portal:before{animation:veil-portal-shade 4.1s ease both;background:radial-gradient(ellipse at center,#c4a27414,transparent 65%),var(--paper)}
.book-flight{transform-origin:center;animation:veil-story-dive 4.1s cubic-bezier(.25,.1,.18,1) both;will-change:transform;transform-style:preserve-3d}
.portal-front.book-cover{animation:veil-story-cover 4.1s cubic-bezier(.22,.6,.25,1) both;transform-origin:left center;backface-visibility:hidden;z-index:20;box-shadow:2px 3px 5px #0002;transform-style:preserve-3d;aspect-ratio:auto}
.portal-front.book-cover:after{display:none}
.portal-page{border-radius:2px 7px 10px 2px;padding:30px 25px 25px 30px;transform:translateZ(0);background:linear-gradient(90deg,#6b513b20,transparent 14%,#ffffff10 75%,#6b513b09),var(--panel);box-shadow:inset 4px 0 9px #0001,3px 4px 0 #d3c5af,5px 6px 0 #5d414d,0 20px 50px #0002;gap:24px}
.portal-page>span{text-align:center;font:italic 13px var(--serif);letter-spacing:.06em;color:var(--accent)}
.portal-page>h2{font:25px/1.3 var(--serif);text-align:center}
.portal-page>.portal-lines{opacity:.5}
.portal-left{position:absolute;top:0;bottom:0;right:100%;width:100%;border-radius:8px 2px 2px 10px;background:linear-gradient(90deg,#ffffff0e,transparent 76%,#6b513b25),var(--panel);box-shadow:-3px 4px 0 #d3c5af,-5px 6px 0 #5d414d,0 20px 50px #0002;padding:35px 25px;animation:veil-left-reveal 4.1s ease both;transform:translateZ(-1px);display:grid;align-content:center}
.portal-left .portal-lines{opacity:.55}
.portal-leaf{position:absolute;inset:0;transform-origin:left center;transform-style:preserve-3d;transform:translateZ(var(--leaf-depth));animation:veil-leaf-turn 1.12s cubic-bezier(.35,.04,.25,1) var(--leaf-delay) both;will-change:transform;pointer-events:none}
.leaf-paper{position:absolute;inset:0;padding:36px 25px 30px 30px;background:linear-gradient(90deg,#80684d20,transparent 17%,#fff1 75%,#80684d1c),var(--panel);border-radius:1px 8% 8% 1px;border:1px solid #98877422;box-shadow:2px 2px 8px #49392b19;transform-origin:left center;animation:veil-paper-bend 1.12s ease-in-out var(--leaf-delay) both;backface-visibility:visible;display:grid;align-content:center;position:relative;height:100%}
.leaf-paper:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent,#49392b20 80%,transparent);opacity:0;animation:veil-page-shadow 1.12s ease var(--leaf-delay) both;border-radius:inherit;pointer-events:none}
.leaf-paper .portal-lines{opacity:.6;gap:12px}
.leaf-number{position:absolute;bottom:18px;left:50%;font:italic 9px var(--serif);color:var(--muted)}
.portal-status{animation:veil-story-label 4.1s ease both;top:10vh;font:italic 17px var(--serif);letter-spacing:.01em}
.portal-skip{font-size:11px;border-radius:7px;padding:10px 16px;min-height:44px}
.book-arrival .bw-shell{animation:veil-book-arrival .7s ease-out both}
@keyframes veil-story-dive{0%{transform:translate3d(0,0,0) rotateY(-8deg) scale(1)}18%{transform:translate3d(var(--spread-x),var(--travel-y),0) rotateY(0) rotateX(7deg) scale(var(--mid-scale))}63%{transform:translate3d(var(--spread-x),var(--travel-y),0) rotateX(4deg) scale(var(--mid-scale))}73%{transform:translate3d(var(--spread-x),var(--travel-y),0) rotateX(0) scale(var(--mid-scale))}100%{transform:translate3d(var(--travel-x),var(--travel-y),0) scale(var(--end-scale))}}
@keyframes veil-story-cover{0%,8%{transform:translateZ(8px) rotateY(0)}26%,100%{transform:translateZ(8px) rotateY(-178deg)}}
@keyframes veil-leaf-turn{0%{transform:translateZ(var(--leaf-depth)) rotateY(0)}35%{transform:translateZ(var(--leaf-depth)) rotateY(-55deg)}67%{transform:translateZ(var(--leaf-depth)) rotateY(-140deg)}100%{transform:translateZ(var(--leaf-depth)) rotateY(-179.5deg)}}
@keyframes veil-paper-bend{0%,100%{transform:rotateY(0) skewY(0);border-radius:1px 2% 2% 1px}30%{transform:rotateY(16deg) skewY(-2deg);border-radius:1px 16% 12% 1px}65%{transform:rotateY(12deg) skewY(2deg);border-radius:1px 9% 14% 1px}}
@keyframes veil-page-shadow{0%,100%{opacity:0}50%{opacity:1}}
@keyframes veil-left-reveal{0%,8%{opacity:0}20%,100%{opacity:1}}
@keyframes veil-story-label{0%{opacity:0}15%,65%{opacity:1}85%,100%{opacity:0}}
@media(max-width:650px){.portal-page{padding:20px 15px;gap:16px}.portal-page>h2{font-size:20px}.portal-page>span{font-size:10px}.leaf-paper{padding:25px 16px}.portal-status{font-size:14px}.portal-left{padding:25px 15px}}
@media(prefers-reduced-motion:reduce){.book-portal{display:none}.book-arrival .bw-shell{animation:none}}
#book-workspace-maps-preview #bw-content:has(.atlas-layout.is-editing)>.atlas-toolbar{display:none}
#book-workspace-maps-preview .cw-document{zoom:var(--reading-zoom,1)}
#book-workspace-maps-preview .book-cover .cover-emblem{pointer-events:none}
@media(max-width:650px){.book-toolbar{display:grid;grid-template-columns:1fr 1fr;gap:3px 10px;padding-top:7px}.book-toolbar>a{grid-column:1;grid-row:1;justify-self:start;padding-left:5px}.book-toolbar>#book-backup{grid-column:2;grid-row:1;justify-self:end;padding-right:5px}.book-toolbar>.book-switch-control{grid-column:1/-1;grid-row:2;min-width:0;margin:0}.book-toolbar>.book-save-status{grid-column:1/-1;grid-row:3;padding-block:6px}.demo-banner{margin-top:3px}.is-focused .book-toolbar{display:flex}.book-toolbar .quiet-button{min-height:40px}}
@keyframes veil-portal-shade{0%{opacity:0}12%,100%{opacity:1}}
/* Consistent illustrated collections, organized by purpose. */
#book-workspace-maps-preview .collection-group{margin-top:40px}
#book-workspace-maps-preview .collection-group-heading{display:flex;gap:18px;align-items:start;padding-bottom:20px;border-bottom:1px solid var(--line);margin-bottom:20px}
#book-workspace-maps-preview .collection-group-number{font:italic 20px/1.5 var(--serif);color:var(--accent);opacity:.7}
#book-workspace-maps-preview .collection-group-heading h3{font:30px/1.2 var(--serif);letter-spacing:-.025em}
#book-workspace-maps-preview .collection-group-heading p{font-size:13px;color:var(--muted);margin-top:8px;line-height:1.8;max-width:70ch}
#book-workspace-maps-preview .collection-destinations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}
#book-workspace-maps-preview .collection-destinations .destination-card,#book-workspace-maps-preview .home-destinations .destination-card{display:flex;flex-direction:column;gap:0;padding:0;overflow:hidden;min-height:0;background:var(--paper);border-radius:9px}
#book-workspace-maps-preview .tile-illustration{display:flex;align-items:center;justify-content:center;width:100%;height:150px;border-bottom:1px solid var(--line);background:linear-gradient(145deg,#b3986c09,#a8788010);padding:12px 20px}
#book-workspace-maps-preview .collection-destinations .studio-art,#book-workspace-maps-preview .home-destinations .studio-art{display:block;object-fit:contain;width:180px;height:130px;flex:none;margin:0;opacity:1}
#book-workspace-maps-preview .destination-card .destination-copy{padding:23px 24px 20px;width:100%;flex:1}
#book-workspace-maps-preview .destination-card .destination-copy strong{font:25px/1.2 var(--serif);min-height:30px}
#book-workspace-maps-preview .destination-card .destination-copy>span{margin-top:12px;margin-bottom:18px;min-height:43px;font-size:12px;line-height:1.8}
#book-workspace-maps-preview .destination-card .destination-copy small{border-top:1px solid var(--line);padding-top:12px}
#book-workspace-maps-preview img.studio-art{object-fit:contain;opacity:1}
#book-workspace-maps-preview .welcome-art img{width:300px;height:240px;max-width:100%}
#book-workspace-maps-preview .collection-hero img.studio-art{width:200px;height:160px;flex:0 0 200px}
#book-workspace-maps-preview .atlas-card img.entry-art{width:125px;height:95px;opacity:1;margin-bottom:8px}
@media(max-width:1150px){#book-workspace-maps-preview .collection-destinations{grid-template-columns:repeat(3,minmax(0,1fr))}#book-workspace-maps-preview .destination-card .destination-copy{padding:20px 18px}#book-workspace-maps-preview .destination-card .destination-copy strong{font-size:23px}}
@media(max-width:850px){#book-workspace-maps-preview .collection-destinations{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){#book-workspace-maps-preview .collection-group{margin-top:30px}#book-workspace-maps-preview .collection-group-heading{gap:12px;padding-bottom:16px}#book-workspace-maps-preview .collection-group-heading h3{font-size:27px}#book-workspace-maps-preview .collection-group-heading p{font-size:12px}#book-workspace-maps-preview .collection-destinations,#book-workspace-maps-preview .home-destinations{grid-template-columns:1fr}#book-workspace-maps-preview .collection-destinations .destination-card,#book-workspace-maps-preview .home-destinations .destination-card{flex-direction:row;align-items:stretch;min-height:160px}#book-workspace-maps-preview .tile-illustration{width:105px;flex:0 0 105px;height:auto;min-height:160px;padding:10px 8px;border-bottom:0;border-right:1px solid var(--line)}#book-workspace-maps-preview .collection-destinations .studio-art,#book-workspace-maps-preview .home-destinations .studio-art{width:90px;height:100px}#book-workspace-maps-preview .destination-card .destination-copy{padding:18px 15px;min-width:0}#book-workspace-maps-preview .destination-card .destination-copy strong{font-size:23px;min-height:0}#book-workspace-maps-preview .destination-card .destination-copy>span{min-height:0;margin-top:9px;margin-bottom:12px;font-size:12px}#book-workspace-maps-preview .destination-card .destination-copy small{padding-top:8px}#book-workspace-maps-preview .collection-hero img.studio-art{display:none}}

#book-workspace-maps-preview .collection-group-number{flex:0 0 auto;white-space:nowrap}

/* A guided character profile: a useful starting point, then one section at a time. */
#book-workspace-maps-preview .character-empty{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:35px;padding:48px 30px;border:1px solid var(--line);background:var(--paper);border-radius:8px}
#book-workspace-maps-preview .character-empty>.studio-art{width:170px;height:150px;flex:0 0 170px}
#book-workspace-maps-preview .character-empty h3{font:32px/1.25 var(--serif);margin:10px 0 15px}
#book-workspace-maps-preview .character-empty p{max-width:48ch;line-height:1.8;color:var(--muted);margin-bottom:20px}
#book-workspace-maps-preview .character-card-portrait{width:100%;height:180px;object-fit:cover;object-position:center 30%;border-radius:3px;margin-bottom:12px}
#book-workspace-maps-preview .character-profile>.bw-action{margin:0 0 22px}
#book-workspace-maps-preview .character-profile-header{display:grid;grid-template-columns:160px minmax(0,1fr);gap:32px;padding:30px;border:1px solid var(--line);border-radius:8px;background:var(--paper)}
#book-workspace-maps-preview .character-portrait-wrap{display:flex;flex-direction:column;gap:10px}
#book-workspace-maps-preview .character-portrait{width:100%;aspect-ratio:4/5;background:var(--tint);border:1px solid var(--line);border-radius:4px;overflow:hidden;display:grid;place-items:center}
#book-workspace-maps-preview .character-portrait>img{width:100%;height:100%;object-fit:cover;object-position:center 30%}
#book-workspace-maps-preview .character-portrait>.studio-art{height:85%;object-fit:contain;opacity:.85}
#book-workspace-maps-preview .character-portrait-wrap>.bw-action{padding:9px;font-size:12px;min-height:42px}
#book-workspace-maps-preview .character-portrait-help{font:10px/1.6 var(--sans);color:var(--muted);text-align:center}
#book-workspace-maps-preview .character-profile-intro{align-self:center;min-width:0}
#book-workspace-maps-preview .character-profile-intro h3{font:40px/1.15 var(--serif);letter-spacing:-.025em;overflow-wrap:anywhere;margin:12px 0}
#book-workspace-maps-preview #character-profile-role{font:15px/1.75 var(--serif);color:var(--muted);margin-bottom:22px}
#book-workspace-maps-preview #character-profile-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 28px;border-top:1px solid var(--line);padding-top:20px;margin:0}
#book-workspace-maps-preview #character-profile-facts dt{font:10px/1.5 var(--sans);letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:5px}
#book-workspace-maps-preview #character-profile-facts dd{font:17px/1.5 var(--serif);margin:0;overflow-wrap:anywhere}
#book-workspace-maps-preview #character-portrait-feedback:empty{display:none}
#book-workspace-maps-preview #character-portrait-feedback{margin:12px 0}
#book-workspace-maps-preview .character-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 20px;padding:0 0 20px;border-bottom:1px solid var(--line)}
#book-workspace-maps-preview .character-tabs [role=tab]{flex:1 1 auto;min-height:48px;padding:12px 15px;border:1px solid var(--line);border-radius:6px;background:var(--paper);font:12px/1.5 var(--sans);color:var(--ink);cursor:pointer}
#book-workspace-maps-preview .character-tabs [role=tab][aria-selected=true]{background:var(--accent);border-color:var(--accent);color:var(--accent-ink,#fff6ee)}
#book-workspace-maps-preview .character-tabs [role=tab]:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
#book-workspace-maps-preview .character-panel{padding:30px;border:1px solid var(--line);border-radius:8px;background:var(--paper)}
#book-workspace-maps-preview .character-panel[hidden]{display:none}
#book-workspace-maps-preview .character-panel:focus{outline:none}
#book-workspace-maps-preview .character-panel:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
#book-workspace-maps-preview .character-panel-heading{margin-bottom:25px;padding-bottom:22px;border-bottom:1px solid var(--line)}
#book-workspace-maps-preview .character-panel-heading h4{font:31px/1.25 var(--serif);margin:10px 0}
#book-workspace-maps-preview .character-panel-heading p{font:13px/1.8 var(--sans);max-width:68ch;color:var(--muted)}
#book-workspace-maps-preview .character-profile .project-form{padding:0;border:0;margin:0;background:none}
#book-workspace-maps-preview .character-section-nav{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:30px;padding-top:22px;border-top:1px solid var(--line)}
#book-workspace-maps-preview .character-section-nav>span{font:12px/1.7 var(--sans);color:var(--muted);max-width:30ch}
#book-workspace-maps-preview .character-custom,#book-workspace-maps-preview .character-panel>.atlas-section{margin-top:20px}
@media(max-width:650px){
 #book-workspace-maps-preview .character-empty{padding:30px 20px;flex-direction:column;gap:10px;text-align:center}
 #book-workspace-maps-preview .character-empty>.studio-art{width:130px;height:110px;flex-basis:110px}
 #book-workspace-maps-preview .character-empty h3{font-size:28px}
 #book-workspace-maps-preview .character-profile-header{grid-template-columns:88px minmax(0,1fr);gap:16px;padding:18px 15px}
 #book-workspace-maps-preview .character-profile-intro h3{font-size:27px;margin-top:7px}
 #book-workspace-maps-preview .character-profile-intro .eyebrow{font-size:8px}
 #book-workspace-maps-preview #character-profile-role{font-size:13px;margin-bottom:15px}
 #book-workspace-maps-preview #character-profile-facts{grid-template-columns:1fr;gap:11px;padding-top:14px}
 #book-workspace-maps-preview #character-profile-facts dt{font-size:9px}
 #book-workspace-maps-preview #character-profile-facts dd{font-size:15px}
 #book-workspace-maps-preview .character-portrait-help{font-size:9px}
 #book-workspace-maps-preview .character-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 #book-workspace-maps-preview .character-tabs [role=tab]{padding:10px 5px;font-size:11px;min-height:46px}
 #book-workspace-maps-preview .character-panel{padding:23px 16px}
 #book-workspace-maps-preview .character-panel-heading h4{font-size:27px}
 #book-workspace-maps-preview .character-section-nav{align-items:stretch;flex-direction:column;gap:16px}
 #book-workspace-maps-preview .character-section-nav>.bw-action{min-height:48px}
}

#book-workspace-maps-preview .chapter-trash{margin:0 0 24px;border:1px solid var(--line);border-radius:6px;padding:16px 20px;background:var(--paper)}
#book-workspace-maps-preview .chapter-trash summary{cursor:pointer;font-size:13px;color:var(--muted);min-height:25px}
#book-workspace-maps-preview .chapter-trash>div{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0;border-top:1px solid var(--line)}
#book-workspace-maps-preview .chapter-trash small{display:block;margin-top:6px;color:var(--muted)}
#book-workspace-maps-preview .cw-topline{flex-wrap:wrap;gap:12px}
.delete-dialog{width:min(520px,calc(100% - 32px));margin:auto;border:1px solid var(--line);border-radius:20px;background:var(--panel);color:var(--ink);padding:32px;box-shadow:0 30px 100px #0004}.delete-dialog::backdrop{background:#17121999;backdrop-filter:blur(3px)}.delete-dialog h2{font:32px/1.2 var(--serif);overflow-wrap:anywhere;margin-bottom:20px}.delete-dialog p:not(.eyebrow){font:15px/1.7 var(--sans);color:var(--muted)}.delete-dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:28px;flex-wrap:wrap}.delete-dialog-actions .button{min-height:48px;padding:12px 20px}.delete-dialog .eyebrow{margin-bottom:14px}@media(max-width:480px){.delete-dialog{padding:25px}.delete-dialog h2{font-size:28px}.delete-dialog-actions>*{flex:1}}

.storage-dialog{width:min(660px,calc(100% - 32px));max-height:calc(100dvh - 40px);overflow-y:auto}.storage-dialog h2{margin-bottom:15px}.storage-dialog>div>p:not(.eyebrow){font-size:14px;color:var(--muted)}.storage-guide{padding-left:24px;display:grid;gap:19px;margin:25px 0}.storage-guide li{padding-left:8px}.storage-guide strong{font-size:16px}.storage-guide p{font-size:14px;color:var(--muted);margin:6px 0 0;line-height:1.65}.storage-dialog .dialog-actions{position:sticky;bottom:-32px;padding-block:18px 5px;background:var(--panel);border-top:1px solid var(--line)}@media(max-width:480px){.storage-dialog .dialog-actions{bottom:-26px;flex-wrap:wrap}.storage-dialog .dialog-actions>*{flex:1}}

.pricing-intro{margin-top:23px;padding-left:17px;border-left:2px solid var(--accent)}.pricing-intro>span{display:block;font:9px/1.5 var(--sans);letter-spacing:.12em;color:var(--muted);margin-bottom:8px}.pricing-intro>strong{display:block;font:21px/1.35 var(--serif);font-weight:400}.pricing-promise{display:grid;grid-template-columns:.8fr 1.2fr;gap:70px;padding:44px;border:1px solid var(--line);background:var(--panel);border-radius:22px;margin-bottom:55px}.pricing-promise p{color:var(--muted);margin-bottom:20px}.pricing-promise .pricing-lead{font:23px/1.5 var(--serif);color:var(--ink)}.pricing-chips{display:flex;gap:10px;flex-wrap:wrap;margin:25px 0}.pricing-chips span{border:1px solid var(--line);border-radius:30px;padding:8px 14px;font-size:12px}.pricing-promise .fine-print{font-size:12px}.pricing-promise .button{margin-top:10px}@media(max-width:800px){.pricing-promise{grid-template-columns:1fr;gap:25px;padding:28px}.pricing-promise h2 br{display:none}}

.focus-format-menu>summary{display:none}.is-focused .focus-format-menu>summary{display:list-item;cursor:pointer;padding:12px 16px;font-size:14px;color:var(--ink);border:1px solid var(--line);border-radius:12px;background:var(--panel)}.is-focused #book-workspace-maps-preview .focus-format-menu .document-tools{display:block}.is-focused .focus-format-menu{margin-bottom:12px}.is-focused .focus-format-menu[open]{border:1px solid var(--line);border-radius:12px}.is-focused .focus-format-menu .document-tools{max-height:32dvh;overflow:auto}.is-focused .suggestion-tab,.is-focused .chapter-trash,.is-focused .cw-topline>button{display:none}.shelf-trash-area{padding-block:20px;border-bottom:1px solid var(--line);margin-bottom:20px}


/* Keep focus spacious while removing navigation and collapsing optional tools. */
.is-focused .demo-container,.is-focused .demo-bar{max-width:none}
.is-focused #book-workspace-maps-preview .cw-workspace{grid-template-columns:minmax(0,1fr)}
.is-focused #book-workspace-maps-preview .bw-rail,.is-focused #book-workspace-maps-preview .bw-book,.is-focused #book-workspace-maps-preview .destination-nav,.is-focused .writing-tools-toolbar,.is-focused #studio-trail,.is-focused .guide-replay,.is-focused .palette-choice{display:none}
.is-focused #book-workspace-maps-preview .bw-main{padding:12px 20px 32px}
.is-focused #book-workspace-maps-preview .cw-document{min-height:75dvh;padding:28px clamp(18px,4vw,55px)}
.is-focused #book-workspace-maps-preview .cw-text{min-height:65dvh}
.is-focused .focus-format-menu .document-tools{max-height:none;overflow:visible}
.is-focused .focus-format-menu>summary{display:block;border:0;background:transparent;padding:10px 0}
.is-focused .focus-format-menu[open]{border:0}

#book-workspace-maps-preview .destination-card{position:relative;overflow:visible}.tool-tooltip{position:absolute;z-index:15;bottom:calc(100% - 8px);left:8px;right:8px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--ink);box-shadow:0 8px 24px #0002;font:13px/1.6 var(--sans);text-align:left;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .15s}.toolkit-card:hover .tool-tooltip,.toolkit-card:focus-visible .tool-tooltip,.destination-card:hover .tool-tooltip,.destination-card:focus-visible .tool-tooltip{opacity:1;visibility:visible}@media(hover:none){.tool-tooltip{position:static;opacity:1;visibility:visible;padding:8px 0;border:0;box-shadow:none;background:transparent}}
#book-workspace-maps-preview .destination-copy>.tool-tooltip{font:13px/1.6 var(--sans)}
/* Crest color controls show the selected color across the whole square. */
input[type="color"],#book-workspace-maps-preview input[type="color"],#family-playground input[type="color"]{-webkit-appearance:none;appearance:none;box-sizing:border-box;width:38px;height:38px;min-width:38px;min-height:38px;padding:0;border:1px solid var(--line);border-radius:7px;overflow:hidden;background:transparent;cursor:pointer;display:inline-block}
input[type="color"]::-webkit-color-swatch-wrapper{padding:0}
input[type="color"]::-webkit-color-swatch{border:0;border-radius:5px}
input[type="color"]::-moz-color-swatch{border:0;border-radius:5px}
