.cover-viewer-trigger{cursor:zoom-in;color:#fff;padding:0;transition:box-shadow .2s,border-color .2s;display:block;position:relative}.cover-viewer-trigger:hover{border-color:#fff;box-shadow:0 12px 32px #0006}.cover-viewer-trigger:focus-visible{outline:3px solid var(--coral);outline-offset:5px}.cover-viewer-hint{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);pointer-events:none;background:#161a24b8;border:1px solid #ffffff45;border-radius:10px;place-items:center;width:32px;height:32px;display:grid;position:absolute;top:8px;right:8px}.cover-viewer-hint[data-decoration-slot$=-left]{left:8px;right:auto}.cover-viewer-hint[data-decoration-slot=middle-left]{top:calc(50% - 16px)}.cover-viewer-hint .icon{width:17px;height:17px}.cover-viewer-overlay{z-index:4400;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#080c16cf;position:fixed;inset:0}.cover-viewer-dialog{z-index:4401;width:min(580px,calc(100vw - 32px),calc((100dvh - 154px) * var(--cover-ratio,.667) + 24px));border:1px solid color-mix(in srgb,var(--purple) 25%,var(--line));background:var(--surface);max-height:calc(100dvh - 32px);color:var(--ink);border-radius:18px;outline:none;flex-direction:column;display:flex;position:fixed;top:50%;left:50%;overflow:hidden;transform:translate(-50%,-50%);box-shadow:0 32px 100px #0009,0 0 0 5px #ffffff04}.cover-viewer-heading{background:linear-gradient(120deg,var(--lavender),var(--surface) 85%);flex:none;align-items:center;gap:12px;padding:15px 16px 13px;display:flex;position:relative}.cover-viewer-heading:before{content:"";background:var(--purple);border-radius:0 0 4px 4px;width:48px;height:3px;position:absolute;top:0;left:16px}.cover-viewer-heading>div{flex:1;min-width:0}.cover-viewer-eyebrow{letter-spacing:.12em;color:var(--purple);align-items:center;gap:5px;margin-bottom:6px;font-size:9px;font-weight:600;display:flex}.cover-viewer-eyebrow .icon{width:12px;height:12px}.cover-viewer-heading h2{-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin:0;font:700 18px/1.2 Georgia,serif;display:-webkit-box;overflow:hidden}.cover-viewer-heading p{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:5px 0 0;font-size:12px;overflow:hidden}.cover-viewer-close{border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--muted);cursor:pointer;border-radius:11px;flex:none;align-self:start;place-items:center;transition:background .2s,color .2s;display:grid}.cover-viewer-close:hover{background:var(--lavender);color:var(--purple)}.cover-viewer-close:focus-visible,.cover-viewer-error button:focus-visible{outline:2px solid var(--purple);outline-offset:3px}.cover-viewer-stage{background:var(--surface);justify-content:center;align-items:center;min-height:0;padding:0 12px 12px;display:flex}.cover-viewer-stage>.book-cover-labeled{width:100%}.cover-viewer-stage .asset-image{object-fit:contain;filter:drop-shadow(0 8px 15px #0004);border-radius:6px;width:100%;max-width:100%;height:auto;max-height:calc(100dvh - 154px);display:block}.cover-viewer-error{text-align:center;color:var(--muted);padding:20px}.cover-viewer-error>.icon{width:32px;height:32px;margin:auto}.cover-viewer-error button{background:var(--surface);min-height:44px;color:var(--ink);cursor:pointer;border:1px solid #8884;border-radius:12px;padding:10px 16px}.cover-viewer-dialog.cover-viewer-with-actions{width:min(580px,calc(100vw - 24px),max(250px,calc((100dvh - 246px) * var(--cover-ratio,.667) + 24px)));overscroll-behavior:contain;overflow:auto}.cover-viewer-with-actions .cover-viewer-stage{flex:none}.cover-viewer-with-actions .asset-image{max-height:none}.cover-viewer-actions{border-top:1px solid var(--line);flex:none;padding:12px 16px}.cover-viewer-overlay[data-state=open]{animation:.24s both cover-shade-in}.cover-viewer-overlay[data-state=closed]{animation:.18s both cover-shade-out}.cover-viewer-dialog[data-state=open]{animation:.3s cubic-bezier(.2,.75,.25,1) both cover-window-in}.cover-viewer-dialog[data-state=closed]{animation:.18s both cover-window-out}@keyframes cover-shade-in{0%{opacity:0}to{opacity:1}}@keyframes cover-shade-out{to{opacity:0}}@keyframes cover-window-in{0%{opacity:0;transform:translate(-50%,calc(16px - 50%))scale(.96)}to{opacity:1;transform:translate(-50%,-50%)scale(1)}}@keyframes cover-window-out{to{opacity:0;transform:translate(-50%,calc(10px - 50%))scale(.98)}}@media (max-width:767px){.cover-viewer-dialog{max-height:calc(100dvh - 24px);width:min(calc(100vw - 24px),calc((100dvh - 150px) * var(--cover-ratio,.667) + 20px));border-radius:16px}.cover-viewer-heading{padding:13px 12px 11px}.cover-viewer-heading h2{font-size:16px}.cover-viewer-stage{padding:0 10px 10px}}@media (prefers-reduced-motion:reduce){.cover-viewer-dialog[data-state],.cover-viewer-overlay[data-state]{animation:none}.cover-viewer-trigger,.cover-viewer-close{transition:none}.cover-viewer-close:hover{transform:none}}
.workspace-sections{background:var(--surface);border:1px solid var(--border);border-radius:16px;flex-wrap:wrap;gap:6px;margin:20px 0 12px;padding:6px;display:flex}.workspace-sections button{color:inherit;font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:11px;flex:130px;justify-content:center;align-items:center;gap:8px;padding:13px 10px;font-size:13px;display:flex}.workspace-sections button[aria-current]{background:var(--accent-soft,#df4b691f);color:var(--purple);border-color:var(--purple)}.workspace-sections button:focus-visible{outline:2px solid var(--purple);outline-offset:2px}.workspace-sections svg{flex-shrink:0;width:18px;height:18px}.workspace-savebar{border:1px solid var(--border);background:var(--surface);border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px;padding:14px;display:flex}.workspace-savebar p{margin:0;font-size:13px;line-height:1.6}.workspace-savebar small{opacity:.8;display:block}.workspace-save-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.workspace-section-heading{align-items:center;gap:10px;margin:16px 0;display:flex}.workspace-section-heading h2{margin:0}.workspace-import-action{justify-content:flex-end;margin:12px 0;display:flex}.workspace-design-section{gap:18px;display:grid}.workspace-design-section .book-design-optional{margin:0}.book-owner-edit{flex-wrap:wrap;gap:8px;margin:10px 0;display:flex}.book-owner-edit a{font-size:13px}.workspace-remote-notice{border-left:3px solid var(--purple);background:var(--surface);padding:12px 16px}@media (max-width:600px){.workspace-sections button{flex-basis:calc(50% - 8px);justify-content:flex-start}.workspace-save-actions{width:100%}.workspace-save-actions .btn{white-space:normal;flex:1}.workspace-savebar{padding:12px}.workspace-section-heading{flex-wrap:wrap}}.information-publication{text-align:center;gap:16px;padding:20px 0;display:grid}.information-publication>svg{width:40px;height:40px;color:var(--purple);margin:auto}.information-publication p{line-height:1.65}.information-publication h2{margin:0}.comment-modal.information-publication-dialog{border:1px solid var(--line);background:var(--surface);width:min(520px,100vw - 24px);max-height:calc(100dvh - 32px);color:var(--ink);border-radius:20px;padding:24px;overflow:auto}.information-publication-dialog>h2{margin:0 0 10px;font-size:18px}.information-publication-dialog>p{color:var(--muted);font-size:13px;line-height:1.6}.information-publication .btn{white-space:normal;min-height:44px}@media (max-width:600px){.workspace-sections{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.workspace-sections button{text-align:left;min-width:0;padding:11px 8px;font-size:12px}.workspace-sections button:last-child{grid-column:1/-1}.comment-modal.information-publication-dialog{padding:20px}}
