.font-picker-dialog{position:fixed;inset:0;z-index:10020;background:#0009;display:grid;place-items:center;padding:12px;box-sizing:border-box}.font-picker-dialog>section{display:flex;flex-direction:column;width:min(650px,100%);max-height:85dvh;min-height:0;background:var(--bg-1);color:var(--text-0);border:1px solid var(--border);border-radius:18px;padding:14px;box-sizing:border-box}.font-picker-dialog header{display:flex;align-items:center;justify-content:space-between}.font-picker-dialog h2{font-size:20px;margin:0}.font-picker-dialog header button{font-size:24px;padding:4px 12px;color:var(--text-0);background:var(--bg-2);border:1px solid var(--border);border-radius:10px}.font-picker-filters{display:grid;grid-template-columns:1fr 1fr;gap:8px}.font-picker-filters input,.font-picker-filters select{width:100%;min-width:0;padding:9px;border:1px solid var(--border);border-radius:10px;background:var(--bg-2);color:var(--text-0)}.font-picker-detected,.font-picker-hint,.font-picker-status{font-size:12px;color:var(--text-2);margin:9px 0}.font-picker-list{overflow:auto;min-height:0;overscroll-behavior:contain}.font-picker-list h3{font-size:12px;color:var(--accent);margin:14px 6px 6px}.font-picker-option{width:100%;text-align:start;display:grid;gap:6px;padding:12px;background:var(--bg-2);color:var(--text-0);border:1px solid var(--border);border-radius:12px;margin:5px 0;cursor:pointer}.font-picker-name{font:12px system-ui;color:var(--text-2)}.font-picker-sample{font-size:23px;line-height:1.5;overflow-wrap:anywhere}.font-picker-option[aria-selected=true]{border-color:var(--accent)}.font-picker-trigger{max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cover-text-editing{position:relative;z-index:65}.cover-text-editing .cover-workspace__preview{position:sticky;top:calc(var(--shell-top,68px) + 6px);z-index:70;box-shadow:0 10px 30px #0008;border:2px solid var(--accent);box-sizing:border-box;background:var(--bg-2)}.native-local .cover-text-editing .cover-workspace__preview{top:0}.cover-workspace__layers{overflow:visible}.cover-layer-row .font-picker-trigger{height:auto;min-height:36px;max-width:100%;background:var(--bg-2);border:1px solid var(--border);border-radius:9px;color:var(--text-0)}
.app-editor-mode .editor-workbench{position:relative;top:auto}.app-editor-mode .editor-workbench .editor-canvas{height:100%!important;flex:1!important}.publication-gallery{height:auto!important;max-height:none!important;overflow:visible!important;position:relative;z-index:1;border:1px solid var(--border);border-top:2px solid var(--accent);border-radius:14px;margin-top:10px}.publication-gallery__items{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px;overflow:visible!important}.publication-gallery__item{display:flex;flex-direction:column;min-width:0;border:1px solid var(--border);border-radius:12px;background:var(--bg-1);overflow:hidden}.publication-gallery__item>header{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:5px 8px;border-bottom:1px solid var(--border)}.publication-gallery__item>header>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.publication-gallery__item>button:first-of-type{width:100%!important;height:110px!important;border:0!important;border-radius:0!important;padding:0!important;background:var(--bg-1)}.publication-gallery__delete{color:#f06772!important;background:transparent!important;width:30px;height:30px;min-width:30px;border:0!important;padding:4px!important}.publication-gallery__delete .material-symbol{font-size:21px}.publication-gallery[data-layout=list] .publication-gallery__items{grid-template-columns:1fr}.publication-gallery[data-layout=list] .publication-gallery__item{display:grid;grid-template-columns:90px 1fr}.publication-gallery[data-layout=list] .publication-gallery__item>header{grid-column:2;grid-row:1;border:0}.publication-gallery[data-layout=list] .publication-gallery__item>button:first-of-type{grid-column:1;grid-row:1;height:75px!important}.gallery-layout-controls{display:flex;gap:5px}.gallery-layout-controls button[aria-pressed=true]{color:var(--accent)!important}.gallery-confirm-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.gallery-confirm-actions .btn--danger{background:#c93748;color:white;border-color:#c93748}.publication-dialog p{padding:0!important;background:none!important}
.editor-input-header{display:none;position:fixed;top:var(--shell-top,68px);left:50%;transform:translateX(-50%);width:min(1120px,calc(100% - 20px));height:42px;z-index:1005;background:var(--bg-1);border:1px solid var(--border);border-radius:12px;align-items:center;justify-content:space-between;padding:3px 5px;box-sizing:border-box}.editor-typing .editor-input-header,.editor-keyboard .editor-input-header{display:flex}.editor-input-header>a,.editor-input-header>button{display:grid;place-items:center;min-width:32px;height:32px;background:var(--bg-2);border:1px solid var(--border);border-radius:9px;color:var(--text-0)}.editor-input-header .editor-input-done{position:static!important;display:grid!important;flex:none}.editor-header-mic.is-recording{color:#ff5363!important;border-color:#ff5363!important}.editor-input-header .rich-wave{position:static!important;transform:none!important;width:120px;max-width:40%;pointer-events:none;margin-inline:auto;opacity:1}.editor-input-header .rich-wave[hidden]{display:none!important}.native-local .editor-input-header{display:none!important}.native-local .editor-input-done-native{display:none}.native-local.editor-typing .editor-input-done-native,.native-local.editor-keyboard .editor-input-done-native{display:grid}
.app-editor-mode.editor-canvas-input .editor-workbench{position:sticky!important;top:calc(var(--shell-top,68px) + 44px);height:calc(var(--input-viewport-height,100dvh) - var(--shell-top,68px) - 56px);scroll-margin-top:calc(var(--shell-top,68px) + 44px)}.native-local.app-editor-mode.editor-canvas-input .editor-workbench{top:0;height:calc(var(--input-viewport-height,100dvh) - 12px);scroll-margin-top:0}.app-editor-mode.editor-canvas-input .publication-gallery{margin-top:16px}
.navbar .shell-role-actions{display:flex;align-items:center;gap:4px;margin-right:6px}.navbar .shell-role-actions .shell-icon-button{width:30px!important;min-width:30px!important;height:32px}.editor-typing .shell-role-actions{display:none!important}@media(max-width:480px){.publication-gallery__items{grid-template-columns:repeat(2,minmax(0,1fr))}.font-picker-filters{grid-template-columns:1fr}.cover-text-editing .cover-workspace__preview{max-height:30dvh}}

.editor-typing .rich-wave:not(.editor-header-wave),.editor-keyboard .rich-wave:not(.editor-header-wave){display:none!important}.editor-canvas-input .editor-workbench{z-index:80}.cover-text-editing .cover-workspace__preview{isolation:isolate}.editor-media-drawer{max-height:none!important;height:auto!important;overflow:visible!important}

@media(max-width:768px){.navbar:has(.shell-role-actions) .nav-container{gap:4px!important}.navbar:has(.shell-role-actions) .shell-stats{min-width:0!important;gap:4px!important;padding:4px!important}.navbar:has(.shell-role-actions) .shell-stats__ratings{min-width:42px!important}.navbar .shell-role-actions{margin-right:2px;gap:3px}}
