@font-face{font-family:BookNoto;src:url("fonts/Book-NotoSans-Regular.ttf") format("truetype");font-weight:100 900;font-display:swap}.book-canvas{font-family:BookNoto,sans-serif}
.book-studio{--book-blue:#002d72;--book-orange:#ff5910;box-sizing:border-box;width:min(1500px,98vw);max-width:98vw;height:96dvh;max-height:96dvh;padding:20px;border:1px solid #dbe3ef;border-radius:22px;background:#f6f8fc;color:#002d72;overflow:auto;font:15px/1.45 system-ui,sans-serif}
.book-studio *{box-sizing:border-box}.book-studio::backdrop{background:#001938a8}.book-studio button,.book-studio input,.book-studio select,.book-studio textarea{font:inherit;border:1px solid #ced8e6;border-radius:10px;background:white;color:#002d72;padding:10px;max-width:100%}.book-studio button{cursor:pointer;min-height:42px}.book-studio button:hover{border-color:#002d72;background:#edf3fb}.book-studio button:focus-visible,.book-studio input:focus-visible,.book-studio textarea:focus-visible,.book-studio select:focus-visible{outline:3px solid #ff5910;outline-offset:2px}.book-studio button.primary{background:#002d72;color:white;border-color:#002d72}.book-studio button:disabled{opacity:.5;cursor:wait}.book-studio [hidden]{display:none!important}.book-studio label{display:flex;flex-direction:column;gap:5px;font-size:13px}.book-studio h1,.book-studio h3{margin:10px 0}.book-studio p{margin:8px 0}.book-head{display:flex;justify-content:space-between;align-items:center;gap:16px}.book-brand{font-size:24px;font-weight:750}.book-status{min-height:30px;padding:6px 0;font-size:14px}.book-studio[aria-busy=true] .book-status:before{content:'';display:inline-block;width:16px;height:16px;border:3px solid #ced8e6;border-top-color:#ff5910;border-radius:50%;animation:bookspin .8s linear infinite;margin-right:8px}.book-studio[aria-busy=true] .book-canvas{pointer-events:none}.book-start{max-width:950px;margin:30px auto}.book-start>label{margin:15px 0}.book-template-list{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:24px 0}.book-template-list button{display:flex;flex-direction:column;text-align:left;gap:10px;padding:15px}.book-studio [aria-pressed=true]{border-color:#ff5910;box-shadow:inset 0 0 0 1px #ff5910}.book-template-sample{height:140px;width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:20px;background:#f2f5fa;border-radius:6px}.book-template-sample i{background:#002d72;border-radius:2px}.book-template-sample i:first-child{grid-column:span 2;height:15px;background:#ff5910}.book-template-sample.journal{background:#fff0d8}.book-template-sample.journal i:not(:first-child){transform:rotate(-6deg)}.book-template-sample.mosaic i{background:#93abc9}.book-template-list span:last-child{font-size:13px}.book-start details{padding:14px;border:1px solid #dbe3ef;border-radius:10px}.book-start details label{flex-direction:row;align-items:center}.book-start-actions{display:flex;gap:12px;margin:20px 0}.book-toolbar,.book-actions,.book-page-actions,.book-library-tabs{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.book-toolbar label:first-child{flex:1;min-width:160px}.book-toolbar{align-items:end}.book-actions{margin:12px 0}.book-pages{display:flex;gap:8px;overflow:auto;padding:10px 0;max-width:100%}.book-pages button{white-space:nowrap;flex-shrink:0}.book-pages [aria-current=true]{background:#002d72;color:white}.book-grid{display:grid;grid-template-columns:240px minmax(250px,1fr) 230px;gap:18px;margin-top:12px;align-items:start}.book-grid.is-preview{grid-template-columns:1fr}.book-library,.book-inspector{background:white;border-radius:14px;padding:14px;max-height:68dvh;overflow:auto}.book-library>button,.book-inspector>button{display:block;margin:8px 0;width:100%}.book-inspector label{margin-bottom:10px}.book-center{min-width:0;display:flex;flex-direction:column;align-items:center;gap:14px;padding:14px;background:#e7edf5;border-radius:14px}.book-center>small{font-size:11px;text-align:center}.book-canvas{position:relative;width:100%;max-width:670px;background:white;box-shadow:0 10px 30px #00193822;overflow:hidden;container-type:inline-size;flex-shrink:0}.book-element{position:absolute;touch-action:none;cursor:move;outline:1px solid transparent;outline-offset:3px;z-index:auto}.book-element.selected{outline:2px solid #ff5910}.book-element.selected:after{content:'';position:absolute;width:8px;height:8px;border-radius:50%;background:#ff5910;right:-6px;bottom:-6px}.book-element img{width:100%;height:100%;object-fit:contain;display:block;pointer-events:none;user-select:none}.book-element>div{pointer-events:none}.book-element.overflow{outline:2px dashed #bb2525}.book-page-footer{position:absolute;bottom:0.5%;left:1.4%;font-size:.84cqw;color:#646e78;pointer-events:none}.book-media{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.book-media button{width:100%;padding:5px;text-align:left;font-size:11px}.book-media img{width:100%;height:86px;object-fit:cover;border-radius:6px;display:block}.book-media span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.book-library-tabs button{font-size:12px;padding:6px}.book-page-actions{justify-content:center;font-size:12px}.book-page-actions button{font-size:12px;padding:7px}.book-warning{color:#9b3c00;font-size:12px}.book-numbers{display:grid;grid-template-columns:1fr 1fr;gap:8px}.book-studio textarea{resize:vertical;min-height:100px;width:100%}@keyframes bookspin{to{transform:rotate(360deg)}}
@media(max-width:1000px){.book-grid{grid-template-columns:190px minmax(230px,1fr)}.book-inspector{grid-column:1/-1;max-height:none}.book-inspector>button{width:auto;display:inline-block;margin-right:6px}.book-numbers{grid-template-columns:repeat(5,1fr)}}
@media(max-width:640px){.book-studio{padding:12px;border-radius:16px}.book-brand{font-size:20px}.book-start{margin:12px 0}.book-template-list{gap:6px}.book-template-list button{padding:8px}.book-template-sample{height:90px;padding:12px}.book-template-list span:last-child{font-size:11px}.book-grid{display:flex;flex-direction:column}.book-center{order:0;width:100%;padding:10px}.book-inspector{order:1;width:100%;padding:12px}.book-library{order:2;width:100%;max-height:380px}.book-media{grid-template-columns:repeat(4,1fr)}.book-numbers{grid-template-columns:repeat(2,1fr)}.book-toolbar label{flex:1;min-width:130px}.book-actions button{font-size:12px;padding:8px}.book-start-actions{flex-direction:column}.book-template-list strong{font-size:13px}.book-studio h1{font-size:25px}}
@media(prefers-reduced-motion:reduce){.book-studio[aria-busy=true] .book-status:before{animation:none}}

.book-studio .book-resize{position:absolute;right:-4px;bottom:-4px;min-height:26px;width:26px;height:26px;padding:0;background:#ff5910;color:white;border:0;border-radius:5px;touch-action:none;cursor:nwse-resize;z-index:2}.book-element.selected:after{display:none}

.book-template-preview{display:flex;width:100%;aspect-ratio:1.35;background:#e8edf4;align-items:center;justify-content:center;padding:18px;gap:1px;border-radius:8px;overflow:hidden}.book-mini-page{position:relative;background:white;width:75%;height:100%;box-shadow:0 3px 9px #002d7220;padding:8%;display:flex;flex-direction:column;gap:8px}.spread .book-mini-page{width:50%;padding:4%}.book-mini-title{font-size:10px!important;letter-spacing:.1em;font-weight:700;white-space:normal!important}.book-mini-gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:5px;flex:1;min-height:0}.cover .book-mini-gallery,.minimal .book-mini-gallery{grid-template-columns:1fr}.book-mini-photo{min-height:20px;overflow:hidden;background:linear-gradient(150deg,#a5ccd9 45%,#002d72 46%,#ffb68f 80%)}.book-mini-photo img{width:100%;height:100%;object-fit:cover}.book-mini-caption{font-size:7px!important;white-space:normal!important}.journal .book-mini-page,.postcard .book-mini-page{background:#fff7ea}.postcard .book-mini-photo{border:4px solid white;transform:rotate(-6deg)}.editorial .book-mini-photo:first-child{grid-row:span 2}.minimal .book-mini-title{font-size:14px!important}.book-preview-controls{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.book-image-state{display:flex!important;flex-direction:column;white-space:normal!important;font-size:12px;padding:6px;background:#fff7ea;color:#002d72}.book-element>.book-image-state{position:absolute;inset:0;align-items:center;justify-content:center}.book-image-state button{font-size:12px;padding:5px}.book-template-list button{overflow:hidden}.book-mini-page span{display:block}.book-mini-page .book-mini-gallery{display:grid}
@media(max-width:640px){.book-template-list{grid-template-columns:repeat(2,minmax(0,1fr))}.book-template-preview{padding:10px;aspect-ratio:1}.book-mini-title{font-size:8px!important}.book-mini-caption{font-size:6px!important}}

.book-purchase{width:min(580px,95vw);height:auto;max-height:90dvh}.book-purchase>label{margin:12px 0}.book-test-link{padding:12px;background:#002d72;color:white;border-radius:10px}

.cover.mosaic .book-mini-gallery{grid-template-columns:repeat(2,1fr)}.cover.postcard .book-mini-gallery,.cover.journal .book-mini-gallery{grid-template-columns:repeat(2,1fr)}.cover.minimal .book-mini-gallery{margin:8%}.cover.editorial .book-mini-title{max-width:45%;font-size:12px!important}.cover.editorial .book-mini-gallery{margin-left:40%;margin-top:-18%}

/* Canvas-first studio: compact tools, contextual dialogs, no stacked side forms. */
.book-editor{position:relative;display:flex;flex-direction:column;gap:10px}
.book-editor .book-grid,.book-editor .book-grid.is-preview{display:block;margin:0}
.book-editor .book-center{background:radial-gradient(ellipse at top,#edf2f8,#dce5f0);padding:24px;gap:18px}
.book-creation-tools{display:flex;justify-content:center;gap:10px;background:#fff;border:1px solid #dbe3ef;border-radius:18px;padding:8px;align-self:center;box-shadow:0 6px 18px #002d720a}
.book-editor .book-actions{justify-content:center;margin:0;gap:8px}
.book-studio .book-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;padding:10px;border-radius:12px;flex-shrink:0}
.book-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.book-editor .book-pages{padding:5px 0;gap:6px}
.book-editor .book-pages button{font-size:12px;min-height:44px}
.book-tool-dialog{color:#002d72;background:#fff;border:1px solid #dbe3ef;border-radius:22px;width:min(620px,94vw);max-width:94vw;max-height:86dvh;padding:22px;box-shadow:0 24px 80px #00193844;overflow:auto}
.book-tool-dialog::backdrop{background:#00193880}
.book-tool-head{display:flex;align-items:center;justify-content:space-between;gap:14px;position:sticky;top:-22px;background:#fff;padding:8px 0;z-index:3}
.book-tool-head h2{font-size:21px;margin:0}
.book-tool-dialog .book-library,.book-tool-dialog .book-inspector{padding:0;max-height:none;width:100%;overflow:visible}
.book-tool-dialog .book-library>h3,.book-tool-dialog .book-inspector>h3{display:none}
.book-tool-dialog .book-toolbar{display:grid;grid-template-columns:1fr;gap:18px;padding-top:16px}
.book-tool-dialog .book-toolbar label{min-width:0;font-size:14px}
.book-tool-dialog .book-numbers{grid-template-columns:1fr 1fr}
.book-tool-dialog .book-media{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.book-tool-dialog .book-media img{height:112px}
.book-tool-dialog .book-library-tabs{margin:14px 0}
.book-tool-dialog .book-library-tabs button{flex:1;min-height:44px;font-size:13px}
.book-tool-dialog .book-inspector>button{display:inline-block;width:auto;margin:6px 6px 6px 0}
.book-tool-dialog input,.book-tool-dialog select{min-height:44px}
.book-editor .book-canvas{max-width:640px}
@media(max-width:640px){.book-editor{gap:8px}.book-editor .book-center{padding:12px}.book-editor .book-actions{gap:5px}.book-studio .book-icon{width:44px;height:44px;padding:10px}.book-creation-tools{gap:8px;padding:6px}.book-tool-dialog{padding:16px;border-radius:18px}.book-tool-head{top:-16px}.book-tool-dialog .book-media{grid-template-columns:repeat(2,minmax(0,1fr))}.book-editor .book-page-actions{gap:5px}.book-tool-head h2{font-size:19px}}

.book-selection-tools{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;font-size:12px}.book-selection-tools>span{flex-basis:100%;text-align:center}.book-selection-tools:empty{display:none}

/* Print preparation: use the existing theme colors in light and dark modes. */
.book-print-readiness{border-inline-start:4px solid #ff5910;padding:12px 16px;margin:12px 0;background:rgba(255,89,16,.08)}
.book-print-readiness p{margin:8px 0}.book-print-readiness button{white-space:normal;max-width:100%}

/* Waynture album workshop: paper stays neutral while the controls follow the app theme. */
.book-studio{padding:0 24px 24px;background:#f5f7fb;color:#002d72}
.book-head{margin:0 -24px;padding:18px 24px;background:#002d72;color:#fff;border-bottom:4px solid #ff5910}
.book-head button{background:#ffffff12;color:#fff;border-color:#ffffff55}
.book-head button:hover{background:#ffffff25;border-color:#fff}
.book-studio button.primary{background:#ff5910;color:#002d72;border-color:#ff5910;font-weight:750}
.book-studio button.primary:hover{background:#ff773a;border-color:#ff773a}
.book-status{color:#526780;font-size:12px;padding:10px 0;margin:0!important}
.book-summary{text-align:center;padding:8px 12px 14px;order:-2}
.book-eyebrow{color:#bb3d00;font-size:10px;font-weight:800;letter-spacing:.18em}
.book-summary h1{font-size:clamp(23px,3vw,34px);letter-spacing:-.035em;margin:4px 0;overflow-wrap:anywhere}
.book-summary p{color:#526780;font-size:12px}
.book-editor .book-actions{order:-1;gap:7px}
.book-creation-tools{box-shadow:none;border:0;background:transparent;padding:4px;gap:8px;flex-wrap:wrap}
.book-studio .book-labeled{width:auto;gap:8px;padding:10px 14px;font-size:12px;font-weight:650}
.book-studio .book-tool-labeled{width:auto;min-width:72px;height:auto;flex-direction:column;gap:5px;background:transparent;border-color:transparent;font-size:11px;padding:8px}
.book-studio .book-tool-labeled:hover{background:#e7edf5;border-color:#ced8e6}
.book-editor .book-center{padding:28px;background:linear-gradient(135deg,#e6ebf1,#d8e1eb);border:1px solid #d2dce8;border-radius:14px}
.book-stage{display:flex;justify-content:center;align-items:flex-start;width:100%;max-width:1200px;gap:0;min-width:0}
.book-stage>.book-canvas{width:100%;max-width:600px}
.book-spread>.book-canvas{width:50%;box-shadow:0 12px 25px #00193822}
.book-spread>.book-canvas:first-child:after,.book-facing:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(to left,#00193816,transparent 5%)}
.book-facing:after{background:linear-gradient(to right,#00193816,transparent 5%)}
.book-reading .book-element{cursor:default;touch-action:auto}
.book-editor .book-pages{gap:10px;padding:8px 4px 12px;border-top:1px solid #dbe3ef;border-bottom:1px solid #dbe3ef;scrollbar-width:thin}
.book-editor .book-page-tab{display:flex;flex-direction:column;align-items:center;gap:7px;width:86px;padding:8px;border:2px solid transparent;border-radius:9px;background:transparent;color:#526780;min-height:100px}
.book-editor .book-page-tab[aria-current=true]{border-color:#ff5910;background:#fff0e8;color:#002d72;font-weight:750}
.book-page-tab .book-thumbnail{display:block;width:62px!important;max-width:62px!important;box-shadow:0 2px 6px #00193826;pointer-events:none;align-self:center;margin:auto 0}
.book-thumbnail .book-element{cursor:default;touch-action:auto;outline:0}
.book-thumbnail .book-page-footer{display:none}
.book-missing-photo{background:repeating-linear-gradient(135deg,#e7edf5 0 5px,#dbe3ef 5px 10px)}
.book-tool-head{border-bottom:2px solid #ff5910;margin-bottom:16px;padding-bottom:12px}
.book-layout-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0}
.book-layout-choice{display:flex;flex-direction:column;gap:8px;align-items:center;font-size:12px!important}
.book-layout-sample{display:grid;grid-template-columns:repeat(2,1fr);gap:3px;width:100%;height:64px;padding:6px;background:#f2f5fa}
.book-layout-sample i{display:block;background:#a8bfdc}
.book-layout-sample i:first-child{background:#002d72}
.book-layout-sample.editorial i:first-child{grid-row:span 2}
.book-start>h1{font-size:clamp(28px,4vw,42px);letter-spacing:-.04em}
.book-start>p{color:#526780;max-width:660px;line-height:1.7}
.book-template-list{gap:18px}
.book-template-list button{border:1px solid #dbe3ef;padding:12px;box-shadow:0 3px 12px #002d7208}
.book-template-list button[aria-pressed=true]{border-color:#ff5910;background:#fff8f3}
.book-template-preview{border-radius:4px;background:linear-gradient(140deg,#e6ecf4,#d4deeb);aspect-ratio:1.4;padding:20px}
.book-template-list strong{font-size:17px}
.book-template-list span:last-child{color:#526780;line-height:1.5}
.book-start-actions{justify-content:flex-end;padding-top:16px}
.book-start-actions .primary{padding:14px 24px}
.book-image-state{animation:bookpulse 1.8s ease-in-out infinite;background:#e7edf5}
.book-image-state:has(button){animation:none}
@keyframes bookpulse{50%{background:#f6f8fc}}
@media(max-width:640px){.book-studio{padding:0 12px 16px}.book-head{margin:0 -12px;padding:14px 16px}.book-brand{font-size:18px}.book-summary{padding:5px}.book-studio .book-labeled{padding:8px 10px;font-size:11px}.book-creation-tools{gap:0;width:100%;justify-content:space-between}.book-studio .book-tool-labeled{min-width:0;padding:7px 5px;flex:1;font-size:10px}.book-editor .book-center{padding:16px 10px}.book-page-tab .book-thumbnail{width:48px!important;max-width:48px!important}.book-editor .book-page-tab{width:69px;min-height:86px;font-size:10px}.book-template-list{gap:8px}.book-template-list strong{font-size:14px}.book-template-preview{padding:10px}.book-layout-choices{gap:5px}.book-layout-choice{padding:6px!important;font-size:10px!important}}
@media(prefers-reduced-motion:reduce){.book-image-state{animation:none}}
:root[data-theme="dark"] .book-studio{background:#101e32;color:#edf3fb;border-color:#344960}:root[data-theme="dark"] .book-status,:root[data-theme="dark"] .book-summary p,:root[data-theme="dark"] .book-start>p{color:#b8c8dc}:root[data-theme="dark"] .book-eyebrow{color:#ff9868}:root[data-theme="dark"] .book-studio button,:root[data-theme="dark"] .book-studio input,:root[data-theme="dark"] .book-studio select,:root[data-theme="dark"] .book-studio textarea{background:#1c304a;color:#edf3fb;border-color:#425774}:root[data-theme="dark"] .book-studio button:hover{background:#293f5b;border-color:#91aed2}:root[data-theme="dark"] .book-studio button.primary{background:#ff813f;color:#092347;border-color:#ff813f}:root[data-theme="dark"] .book-editor .book-center{background:#0a1628;border-color:#344960}:root[data-theme="dark"] .book-editor .book-page-tab{background:transparent;color:#b8c8dc}:root[data-theme="dark"] .book-editor .book-page-tab[aria-current=true]{background:#402c23;color:#ffb58c;border-color:#ff813f}:root[data-theme="dark"] .book-editor .book-pages{border-color:#344960}:root[data-theme="dark"] .book-tool-dialog,:root[data-theme="dark"] .book-tool-head,:root[data-theme="dark"] .book-library,:root[data-theme="dark"] .book-inspector{background:#14253c;color:#edf3fb}:root[data-theme="dark"] .book-template-list button[aria-pressed=true]{background:#402c23}:root[data-theme="dark"] .book-template-list span:last-child{color:#b8c8dc}:root[data-theme="dark"] .book-template-preview{background:#0a1628}:root[data-theme="dark"] .book-mini-page{color:#002d72}:root[data-theme="dark"] .book-studio .book-tool-labeled:hover{background:#293f5b}:root[data-theme="dark"] .book-image-state{color:#002d72}:root[data-theme="dark"] .book-warning{color:#ffb58c}
@media(prefers-color-scheme:dark){:root:not([data-theme]) .book-studio{background:#101e32;color:#edf3fb;border-color:#344960}:root:not([data-theme]) .book-status,:root:not([data-theme]) .book-summary p,:root:not([data-theme]) .book-start>p{color:#b8c8dc}:root:not([data-theme]) .book-eyebrow{color:#ff9868}:root:not([data-theme]) .book-studio button,:root:not([data-theme]) .book-studio input,:root:not([data-theme]) .book-studio select,:root:not([data-theme]) .book-studio textarea{background:#1c304a;color:#edf3fb;border-color:#425774}:root:not([data-theme]) .book-studio button:hover{background:#293f5b;border-color:#91aed2}:root:not([data-theme]) .book-studio button.primary{background:#ff813f;color:#092347;border-color:#ff813f}:root:not([data-theme]) .book-editor .book-center{background:#0a1628;border-color:#344960}:root:not([data-theme]) .book-editor .book-page-tab{background:transparent;color:#b8c8dc}:root:not([data-theme]) .book-editor .book-page-tab[aria-current=true]{background:#402c23;color:#ffb58c;border-color:#ff813f}:root:not([data-theme]) .book-editor .book-pages{border-color:#344960}:root:not([data-theme]) .book-tool-dialog,:root:not([data-theme]) .book-tool-head,:root:not([data-theme]) .book-library,:root:not([data-theme]) .book-inspector{background:#14253c;color:#edf3fb}:root:not([data-theme]) .book-template-list button[aria-pressed=true]{background:#402c23}:root:not([data-theme]) .book-template-list span:last-child{color:#b8c8dc}:root:not([data-theme]) .book-template-preview{background:#0a1628}:root:not([data-theme]) .book-mini-page{color:#002d72}:root:not([data-theme]) .book-studio .book-tool-labeled:hover{background:#293f5b}:root:not([data-theme]) .book-image-state{color:#002d72}:root:not([data-theme]) .book-warning{color:#ffb58c}}

.book-thumbnail{position:relative;overflow:hidden;container-type:inline-size;font-family:BookNoto,sans-serif;flex-shrink:0;background:white}

.book-element img{border-radius:0;max-width:none}.book-reading .book-page-actions{position:relative}

.book-backgrounds{display:flex;gap:9px;flex-wrap:wrap;margin:12px 0 20px}.book-studio .book-swatch{width:40px;height:40px;border-radius:50%;border:2px solid #95a8bd;box-shadow:0 2px 4px #002d7218}.book-studio .book-swatch[aria-pressed=true]{outline:3px solid #ff5910;outline-offset:2px}.book-element img{opacity:1;visibility:visible}.book-element .book-image-state{min-width:80px;min-height:44px}

/* Compact editing commands; the book remains the main surface. */
.book-command-menu{position:relative;font-size:13px}.book-command-menu>summary{list-style:none;cursor:pointer;padding:11px 14px;min-height:44px;border:1px solid #ced8e6;border-radius:10px;background:#fff;color:#002d72;font-weight:650}.book-command-menu>summary::-webkit-details-marker{display:none}.book-command-menu>summary:after{content:'⌄';margin-left:8px}.book-command-menu[open]>summary:after{content:'⌃'}.book-command-menu>summary:focus-visible{outline:3px solid #ff5910;outline-offset:2px}.book-command-menu[open]>.book-extra-actions,.book-command-menu[open]>.book-creation-tools{position:absolute;top:calc(100% + 6px);right:0;z-index:20;width:min(280px,80vw);padding:8px;background:var(--surface,#fff);border:1px solid #ced8e6;border-radius:12px;box-shadow:0 12px 30px #00193830;display:grid;gap:4px;max-height:52dvh;overflow:auto}.book-extra-actions>.book-icon.book-labeled,.book-command-menu .book-tool-labeled{width:100%;flex-direction:row;justify-content:flex-start;font-size:13px;gap:10px}.book-editor .book-summary{padding:0 4px 4px}.book-summary .book-eyebrow{display:none}.book-summary h1{font-size:22px;margin:2px}.book-summary p{margin:2px!important;font-size:11px}.book-editor .book-actions{gap:6px}.book-editor .book-compact-hint{align-self:center;font-size:12px;padding:6px 12px;min-height:34px;background:#fff0e6;color:#903000;border-color:#ffb284}.book-page-tab .book-thumbnail .book-element{overflow:hidden}.book-selection-tools{min-height:0}.book-selection-tools>.book-command-menu{font-size:12px}.book-editor .book-center{gap:10px;padding:16px}.book-status{min-height:22px;padding:4px 0}.book-editor .book-pages{padding:5px 4px;gap:6px}.book-editor .book-page-tab{min-height:74px;width:68px;padding:5px}.book-page-tab .book-thumbnail{width:44px!important;max-width:44px!important}.book-head{padding-block:10px}.book-brand{font-size:19px}
@media(max-width:640px){.book-actions>[aria-label="Aperçu"] span{display:none}.book-actions>[aria-label="Aperçu"]{width:44px;padding:10px}.book-command-menu>summary{padding-inline:10px}.book-editor .book-summary h1{font-size:18px}.book-editor .book-center{padding:10px}.book-page-tab .book-thumbnail{width:36px!important;max-width:36px!important}.book-editor .book-page-tab{min-height:64px;width:58px;font-size:10px}.book-selection-tools .book-extra-actions{right:0}.book-studio .book-labeled{font-size:12px}}
:root[data-theme="dark"] .book-command-menu>summary{background:#1c304a;color:#edf3fb;border-color:#425774}:root[data-theme="dark"] .book-extra-actions,:root[data-theme="dark"] .book-command-menu .book-creation-tools{background:#14253c}:root[data-theme="dark"] .book-compact-hint{background:#402c23;color:#ffb58c}

.book-page-actions .book-command-menu[open]>.book-extra-actions{top:auto;bottom:calc(100% + 6px)}
@media(prefers-color-scheme:dark){:root:not([data-theme]) .book-command-menu>summary{background:#1c304a;color:#edf3fb;border-color:#425774}:root:not([data-theme]) .book-extra-actions,:root:not([data-theme]) .book-command-menu .book-creation-tools{background:#14253c}:root:not([data-theme]) .book-compact-hint{background:#402c23;color:#ffb58c}}
