.presentation-editor .workspace{--library-width:250px;--inspector-width:300px;grid-template-columns:var(--library-width) 7px minmax(300px,1fr) 7px var(--inspector-width)}
.presentation-editor .column-grip{background:transparent;cursor:col-resize;position:relative;touch-action:none;z-index:2}
.presentation-editor .column-grip::after{content:"";position:absolute;left:3px;top:0;bottom:0;width:1px;background:var(--line)}
.presentation-editor .column-grip:hover::after,.presentation-editor .column-grip:focus-visible::after{background:var(--accent)}
.presentation-editor .workspace.hide-library{grid-template-columns:0 0 minmax(300px,1fr) 7px var(--inspector-width)}
.presentation-editor .workspace.hide-inspector{grid-template-columns:var(--library-width) 7px minmax(300px,1fr) 0 0}
.presentation-editor .workspace.hide-library.hide-inspector{grid-template-columns:0 0 minmax(300px,1fr) 0 0}
.presentation-editor .workspace.hide-library .library,.presentation-editor .workspace.hide-library .left-grip,.presentation-editor .workspace.hide-inspector .inspector,.presentation-editor .workspace.hide-inspector .right-grip{visibility:hidden;overflow:hidden;padding:0;border:0}
.presentation-editor .photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.presentation-editor .photo-item button.photo-pick{height:auto;aspect-ratio:3/4}
.presentation-editor .photo-zoom{position:absolute;left:4px;top:4px;z-index:1;border:1px solid #ddd;border-radius:5px;background:#fff;color:#26342a;min-height:28px;min-width:28px;font-size:18px;line-height:1}
.presentation-editor .photo-preview-dialog{padding:16px;border:0;border-radius:10px;max-width:94vw;max-height:94vh;background:var(--paper);color:var(--ink);box-shadow:0 20px 80px #0007;text-align:center}
.presentation-editor .photo-preview-dialog::backdrop{background:#0b100cd9}
.presentation-editor .photo-preview-dialog img{display:block;max-width:calc(94vw - 32px);max-height:calc(94vh - 70px);object-fit:contain}
.presentation-editor #photo-preview-close{position:absolute;right:20px;top:20px;background:#fff;color:#111;z-index:1}
.presentation-editor #photo-preview-name{margin-top:8px}
.presentation-editor .icon-view{width:40px;min-height:35px;font-size:24px!important;line-height:1}
.presentation-editor .editor-toolbar{justify-content:flex-start}
.presentation-editor .editor-toolbar h1{margin-left:auto;text-align:right}
.presentation-editor .editor-toolbar #page-name{display:none}
.presentation-editor .page-actions{display:flex;gap:6px;align-items:center}
.presentation-editor .overview .page-actions{display:none}
.presentation-editor .page-actions .page-popover{position:relative}
.presentation-editor .page-actions .page-popover>summary{list-style:none;cursor:pointer;display:grid;place-items:center;min-width:36px;min-height:34px;padding:0 10px;border:1px solid var(--line);border-radius:6px;background:var(--paper);font-size:13px;font-weight:600}
.presentation-editor .page-actions .page-popover>summary::-webkit-details-marker{display:none}
.presentation-editor .page-actions .page-popover[open]>div{position:absolute;right:0;top:40px;z-index:8;display:flex;flex-direction:column;width:230px;max-width:calc(100vw - 24px);padding:5px;border:1px solid var(--line);border-radius:8px;background:var(--paper);box-shadow:0 12px 30px #0003}
.presentation-editor .page-actions .page-popover button{width:100%;border:0;background:transparent;text-align:left;justify-content:flex-start;font-size:13px;min-height:36px}
.presentation-editor .page-actions .page-popover button:hover{background:var(--stage)}
.presentation-editor .page-actions .page-popover button:not(:first-child){display:block}
.presentation-editor .page-actions .page-layout-save,.presentation-editor .page-actions .page-layout-done{min-height:34px;padding:0 9px;border:1px solid var(--line);border-radius:6px;background:var(--paper);color:var(--ink);font-size:12px;cursor:pointer}
.presentation-editor .page-actions .page-layout-done{border-color:var(--accent);color:var(--accent)}
.presentation-editor .page-actions .page-layout-save{white-space:nowrap}
.presentation-editor.layout-editor-active .document-page.active .page-actions .page-popover{display:none}
.presentation-editor.layout-editor-active #layout-save-preset,.presentation-editor.layout-editor-active #layout-done{display:none}
.presentation-editor .page-photo-controls{position:absolute;z-index:3;display:flex;gap:4px;pointer-events:none}
.presentation-editor .page-photo-controls button{pointer-events:auto;display:grid;place-items:center;min-width:32px;height:32px;border:1px solid #6b7c69;border-radius:6px;background:#f7faf4;color:#233426;box-shadow:0 2px 8px #0004;font-size:18px}
.presentation-editor .page-photo-controls .photo-drag-handle{cursor:grab;touch-action:none}
.presentation-editor .page-photo-controls .photo-drag-handle:active{cursor:grabbing}
.presentation-editor .page-photo-controls .photo-delete{font-size:16px}
.presentation-editor .page-photo-controls{display:block;transform-origin:center center}
.presentation-editor .page-photo-controls .photo-drag-handle{position:absolute;top:4px;left:4px}
.presentation-editor .page-photo-controls .photo-card-tools{position:absolute;top:calc(100% + 5px);left:0;display:flex;gap:4px;white-space:nowrap;pointer-events:none}
.presentation-editor .page-photo-controls .photo-card-tools button{height:26px;min-width:26px;padding:0 5px;font-size:12px;pointer-events:auto;border-color:var(--line);background:color-mix(in srgb,var(--paper) 62%,transparent);box-shadow:none}
.presentation-editor .page-photo-controls .photo-card-tools .photo-delete{font-size:19px;padding:0;width:29px}
.presentation-editor .page-photo-controls .photo-drag-handle{position:static;flex:none;width:26px;min-width:26px;height:26px;padding:0}
.presentation-editor .page-photo-controls .photo-card-tools{top:calc(100% + 5px);left:50%;transform:translateX(-50%);width:max(100%,130px);max-width:190px;align-items:center;z-index:4;pointer-events:auto}
.presentation-editor .page-photo-controls .photo-zoom-slider{flex:1;min-width:48px;width:100%;height:26px;margin:0;padding:0;appearance:none;-webkit-appearance:none;background:transparent;cursor:ew-resize;pointer-events:auto}
.presentation-editor .page-photo-controls .photo-zoom-slider::-webkit-slider-runnable-track{height:3px;border-radius:3px;background:#8e9c8f99}
.presentation-editor .page-photo-controls .photo-zoom-slider::-webkit-slider-thumb{-webkit-appearance:none;width:16px;height:16px;margin-top:-6.5px;border:1px solid #607160;border-radius:50%;background:var(--paper);box-shadow:none}
.presentation-editor .page-photo-controls .photo-zoom-slider::-moz-range-track{height:3px;border-radius:3px;background:#8e9c8f99}
.presentation-editor .page-photo-controls .photo-zoom-slider::-moz-range-thumb{width:16px;height:16px;border:1px solid #607160;border-radius:50%;background:var(--paper)}
.presentation-editor .page-photo-controls .photo-tools-menu{position:relative;flex:none;pointer-events:auto}
.presentation-editor .page-photo-controls .photo-tools-menu>summary{list-style:none;display:grid;place-items:center;width:26px;height:26px;border:1px solid var(--line);border-radius:5px;background:color-mix(in srgb,var(--paper) 62%,transparent);color:var(--ink);cursor:pointer;box-shadow:none}
.presentation-editor .page-photo-controls .photo-tools-menu>summary svg{display:block;width:16px;height:16px;fill:currentColor}
.presentation-editor .page-photo-controls .photo-tools-menu>summary::-webkit-details-marker{display:none}
.presentation-editor .page-photo-controls .photo-tools-menu[open]>div{position:absolute;right:0;top:34px;z-index:12;width:205px;display:grid;gap:2px;padding:5px;background:var(--paper);border:1px solid var(--line);border-radius:7px;box-shadow:0 10px 28px #0004;white-space:normal}
.presentation-editor .page-photo-controls .photo-tools-menu[open]>div>button{width:100%;height:auto;min-height:34px;padding:5px 8px;justify-content:flex-start;place-items:unset;display:flex;align-items:center;border:0;border-radius:4px;background:transparent;color:var(--ink);font-size:12px;text-align:left;box-shadow:none}
.presentation-editor .page-photo-controls .photo-tools-menu[open]>div>button:hover{background:var(--stage)}
.presentation-editor .page-photo-controls .photo-tools-menu[open]>div>button:last-child{border-top:1px solid var(--line);color:#a43b32}
.presentation-editor .page-photo-controls:has(.photo-tools-menu[open]){z-index:20}
.photo-drag-ghost{position:fixed;z-index:2000;width:100px;height:130px;object-fit:cover;opacity:.75;pointer-events:none;box-shadow:0 12px 30px #0006;transform:rotate(3deg)}
.presentation-editor .page-surface{position:relative}
.presentation-editor .page-surface.crop-mode svg [data-crop-key]{cursor:grab}
.presentation-editor .page-surface:not(.crop-mode) svg [data-crop-key]{cursor:default}
.presentation-editor .workspace.overview .page-photo-controls{display:none}
.presentation-editor.editor-focus .app-header{display:none}
.presentation-editor.editor-focus .workspace{height:100dvh;min-height:0}
.presentation-editor.editor-focus .workspace:not(.focus-show-library){grid-template-columns:0 0 minmax(300px,1fr) 0 0}
.presentation-editor.editor-focus .workspace:not(.focus-show-library):not(.focus-show-inspector) .library,.presentation-editor.editor-focus .workspace:not(.focus-show-library) .left-grip,.presentation-editor.editor-focus .workspace:not(.focus-show-inspector) .inspector,.presentation-editor.editor-focus .workspace:not(.focus-show-inspector) .right-grip{display:none}
.presentation-editor.editor-focus .workspace.focus-show-library{grid-template-columns:var(--library-width) 7px minmax(300px,1fr) 0 0}
.presentation-editor.editor-focus .workspace.focus-show-inspector{grid-template-columns:0 0 minmax(300px,1fr) 7px var(--inspector-width)}
.presentation-editor.editor-focus .workspace.focus-show-library.focus-show-inspector{grid-template-columns:var(--library-width) 7px minmax(300px,1fr) 7px var(--inspector-width)}
.presentation-editor .workspace.preview-clean .page-photo-controls,.presentation-editor .workspace.preview-clean .page-actions,.presentation-editor .workspace.preview-clean .insert-page,.presentation-editor .workspace.preview-clean .slot-highlight{display:none}
.presentation-editor .workspace.preview-clean .document-page-head{display:none}
.presentation-editor .document-page,.presentation-editor .document-page.active{border:0!important;box-shadow:none!important}
.presentation-editor .workspace.preview-clean .document-page{padding:0!important;background:transparent!important}
.presentation-editor .workspace.preview-clean .page-surface svg [data-crop-key]{cursor:default}
.presentation-editor.editor-focus .editor-toolbar{min-height:44px}
.presentation-editor.editor-focus .editor-toolbar h1{display:none}
.presentation-editor .editor-toolbar .icon-button{width:36px;height:36px;font-size:18px;border:1px solid var(--line);background:var(--paper)}
.presentation-editor .editor-toolbar .icon-button[aria-pressed="true"]{background:var(--accent);color:#fff}
.presentation-editor .download-menu>summary{min-width:0;cursor:pointer}
.presentation-editor .download-menu>div{min-width:200px}
.presentation-editor[data-editor-theme="dark"] .page-actions .page-popover>summary,.presentation-editor[data-editor-theme="dark"] .page-actions .page-popover[open]>div{background:#293135;color:#edf3ef;border-color:#4d5a5a}
@media(max-width:950px){.presentation-editor .workspace{grid-template-columns:190px 0 minmax(280px,1fr) 0 230px}.presentation-editor .column-grip{display:none}.presentation-editor .workspace.hide-library{grid-template-columns:0 0 minmax(280px,1fr) 0 230px}.presentation-editor .workspace.hide-inspector{grid-template-columns:190px 0 minmax(280px,1fr) 0 0}}
@media(max-width:760px){.presentation-editor .workspace,.presentation-editor .workspace.hide-library,.presentation-editor .workspace.hide-inspector{display:flex}.presentation-editor .editor-toolbar{flex-wrap:wrap}.presentation-editor .page-actions .page-popover[open]>div{right:-4px}}
/* Compact presentation editing controls. */
.presentation-editor .document-name[hidden]{display:none!important}
.presentation-editor .view-switch{display:inline-flex;gap:6px;border:0;border-radius:0;overflow:visible;background:transparent}
.presentation-editor .view-switch .icon-view{width:40px;min-height:40px;height:40px;border:1px solid var(--line);border-radius:6px;background:var(--paper);padding:7px}
.presentation-editor .view-switch .icon-view+ .icon-view{border-left:1px solid var(--line)}
.presentation-editor .view-switch .icon-view.active{background:#e4ebdc;color:#334b33}
.presentation-editor .view-switch svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}
.presentation-editor .library-head-actions{display:flex;align-items:center;gap:4px}
.presentation-editor .library-filters{display:grid;grid-template-columns:1fr 1.35fr;margin-bottom:10px}
.presentation-editor .library-filters button{white-space:nowrap;font-size:10px;padding:7px 4px}
.presentation-editor .photo-card-actions{display:grid;grid-template-columns:28px minmax(0,1fr) 28px;align-items:center;gap:3px;min-height:30px}
.presentation-editor .photo-card-actions .photo-name{min-width:0;margin:0;text-align:center}
.presentation-editor .photo-card-actions .photo-zoom,.presentation-editor .photo-card-actions .remove-photo{position:static;display:grid;place-items:center;width:28px;height:28px;min-width:0;min-height:0;padding:0;border:1px solid var(--line);border-radius:5px;background:var(--paper);color:var(--ink);font-size:17px;line-height:1;opacity:1;box-shadow:none}
.presentation-editor .photo-card-actions .remove-photo{font-size:19px}
.presentation-editor .photo-preview-dialog{width:max-content;max-width:94vw;max-height:94vh;padding:0;border:0;background:transparent;color:white;box-shadow:none;overflow:visible}
.presentation-editor .photo-preview-dialog img{display:block;max-width:94vw;max-height:calc(94vh - 35px);width:auto;height:auto;object-fit:contain;border-radius:5px;box-shadow:0 20px 80px #0008}
.presentation-editor .photo-preview-dialog #photo-preview-name{margin:8px 0 0;font-size:12px;overflow-wrap:anywhere}
.presentation-editor .photo-preview-dialog #photo-preview-close{right:6px;top:6px}
.presentation-editor[data-editor-theme="light"]{--stage:#fff;--paper:#fff}
.presentation-editor[data-editor-theme="light"] .editor,.presentation-editor[data-editor-theme="light"] .library,.presentation-editor[data-editor-theme="light"] .inspector{background:#fff}
.presentation-editor[data-editor-theme="light"] .document-page,.presentation-editor[data-editor-theme="light"] .document-page.active{background:#fff;border:0;box-shadow:none}
.presentation-editor .compact-color-panel{display:grid;gap:5px}
.presentation-editor .compact-color-panel h3{margin:0}
.presentation-editor .compact-color-panel .palette-tabs{margin:0}
.presentation-editor .compact-color-panel .palette-tabs button{font-size:12px}
.presentation-editor .compact-color-panel>strong{font-size:11px}
.presentation-editor .compact-photo-colors{display:flex;gap:6px;min-height:29px}
.presentation-editor .compact-photo-colors[hidden],.presentation-editor .compact-color-panel .palette-note[hidden]{display:none!important}
.presentation-editor .compact-color-choice{flex:1;min-width:22px;height:29px;padding:0;border:1px solid #0003;border-radius:5px}
.presentation-editor .compact-color-choice[aria-pressed=true]{outline:2px solid var(--accent);outline-offset:2px}
.presentation-editor .compact-custom-color{display:flex!important;align-items:center;justify-content:space-between;margin:0!important;padding:0!important;min-height:30px;height:30px;font-size:11px}
.presentation-editor .compact-custom-color input{width:42px!important;height:29px!important;padding:2px;cursor:pointer}
.presentation-editor #color-palettes .color-actions{display:flex;gap:7px;flex-wrap:nowrap;justify-content:space-between;margin-top:7px}
.presentation-editor #color-palettes .color-actions button{font-size:10px;white-space:normal;text-align:left}
.presentation-editor #color-palettes{padding:16px 20px;border-bottom:1px solid var(--line)}
.presentation-editor .common-texts{border-top:1px solid var(--line);padding-top:14px}
.presentation-editor .common-texts>summary{cursor:pointer;display:flex;align-items:center;gap:9px;font-size:14px;font-weight:650;list-style:none}
.presentation-editor .common-texts>summary::before{content:'';width:8px;height:8px;flex:none;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);transition:transform .15s}
.presentation-editor .common-texts[open]>summary::before{transform:rotate(45deg)}
.presentation-editor .common-texts>summary+*{margin-top:12px}
.presentation-editor .editor-toolbar{padding:10px 16px;min-height:56px}
.presentation-editor .app-header{height:52px!important;min-height:52px!important;grid-template-rows:52px!important;z-index:10}
.presentation-editor .app-header .document-name,.presentation-editor .app-header .header-actions{display:none!important}
.presentation-editor .workspace{height:calc(100dvh - 52px)}
.presentation-editor .editor-toolbar{position:relative;z-index:6}
.presentation-editor .editor-toolbar .app-menu[open]>div{top:42px;z-index:12;background:var(--paper);color:var(--ink)}
.presentation-editor .editor-toolbar .app-menu a.quiet{color:inherit;text-decoration:none;justify-content:flex-start}
.presentation-editor .editor-toolbar .app-menu a.quiet:focus-visible{outline:2px solid #83977a;outline-offset:2px}
.presentation-editor .editor-toolbar-right{display:flex;align-items:center;gap:7px;margin-left:auto}
.presentation-editor .editor-toolbar #preview-editor,.presentation-editor .editor-toolbar-right>.secondary,.presentation-editor .editor-toolbar-right .app-menu>summary,.presentation-editor .view-switch .icon-view{height:40px;min-height:40px;box-sizing:border-box;border-radius:6px;font-size:12px;font-weight:600}
.presentation-editor .editor-toolbar #preview-editor,.presentation-editor .editor-toolbar-right>.secondary,.presentation-editor .editor-toolbar-right .app-menu>summary{height:40px;min-height:40px}
.presentation-editor .editor-toolbar #preview-editor,.presentation-editor .editor-toolbar-right>.secondary,.presentation-editor .editor-toolbar-right .app-menu>summary{padding:0 11px;border:1px solid var(--line);background:var(--paper);color:var(--ink)}
.presentation-editor .editor-toolbar-right .app-menu>summary{display:flex;align-items:center;gap:9px;list-style:none;cursor:pointer}
.presentation-editor .editor-toolbar-right .app-menu>summary::-webkit-details-marker{display:none}
.presentation-editor .editor-toolbar-right .app-menu .menu-chevron{width:9px;height:9px;flex:none;border-right:1.7px solid currentColor;border-bottom:1.7px solid currentColor;transform:translateY(-2px) rotate(45deg)}
.presentation-editor .editor-toolbar-right .app-menu[open]>summary{border-color:var(--accent)}
.presentation-editor .library-head-actions .icon-button{width:36px;height:36px;border:1px solid var(--line);background:var(--paper);font-size:21px;font-weight:700}
.presentation-editor .photo-card-actions{display:flex;gap:5px;justify-content:center}
.presentation-editor .photo-card-actions .photo-list-grip{display:grid;place-items:center;box-sizing:border-box;width:28px;height:28px;padding:0;border:1px solid var(--line);border-radius:5px;font-size:17px;line-height:1;cursor:grab;background:var(--paper)}
.presentation-editor .photo-grid{scrollbar-width:thin;scrollbar-color:#aeb7ac transparent}
.presentation-editor .photo-grid::-webkit-scrollbar{width:6px}
.presentation-editor .photo-grid::-webkit-scrollbar-track{background:transparent}
.presentation-editor .photo-grid::-webkit-scrollbar-thumb{background:#b6bdb4;border-radius:6px}
.presentation-editor .photo-grid:hover::-webkit-scrollbar-thumb{background:#89958a}
.presentation-editor .workspace>.library{border-right:0}
.presentation-editor .workspace>.inspector{border-left:0}
.presentation-editor .palette-target-row:first-child>button{grid-column:2/4}
.presentation-editor .move-icon{display:block;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.presentation-editor .page-photo-controls .photo-card-tools .photo-drag-handle{display:flex;align-items:center;justify-content:center;padding:0;line-height:0}
.presentation-editor .page-photo-controls .move-icon{display:block;flex:none;width:17px;height:17px;margin:0}
.presentation-editor .photo-card-actions .photo-action-icon{display:block;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.presentation-editor .photo-pick .photo-name{position:absolute;left:3px;right:3px;bottom:3px;max-width:calc(100% - 6px);padding:3px 5px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:#1d241dcc;color:#fff;font-size:10px;opacity:0;transition:opacity .15s;text-align:left}
.presentation-editor .photo-item:hover .photo-pick .photo-name,.presentation-editor .photo-item:focus-within .photo-pick .photo-name{opacity:1}
.presentation-editor #page-settings[hidden],.presentation-editor .color-actions[hidden],.presentation-editor .crop-toolbar[hidden]{display:none!important}
.presentation-editor #active-page-heading{position:sticky;top:0;z-index:4;margin:0;padding:14px 20px 11px;background:var(--paper);border-bottom:1px solid var(--line);font-size:15px}
.presentation-editor #color-palettes{padding:14px 18px;border-bottom:1px solid var(--line)}
.presentation-editor .compact-color-panel{gap:9px}
.presentation-editor .compact-color-panel h3{font-size:14px}
.presentation-editor .palette-targets{display:grid;gap:6px}
.presentation-editor .palette-target-row{display:grid;grid-template-columns:70px repeat(2,minmax(0,1fr));gap:5px;align-items:center}
.presentation-editor .palette-target-row>strong{font-size:11px;color:var(--muted)}
.presentation-editor .palette-target-row>button{min-height:34px;padding:5px 3px;border:1px solid var(--line);border-radius:6px;background:var(--paper);font-size:11px;white-space:nowrap}
.presentation-editor .palette-target-row>button[aria-pressed=true]{border-color:var(--accent);background:#e4ebdc;color:#263b28;font-weight:650}
.presentation-editor .palette-target-row>button:disabled{opacity:.45}
.presentation-editor .palette-selected-target{margin-top:5px;padding-top:11px;border-top:1px solid var(--line);font-size:12px;font-weight:700}
.presentation-editor .compact-color-panel>strong{font-size:11px;color:var(--muted)}
.presentation-editor .compact-custom-color{display:flex!important;flex-direction:row!important;align-items:center;gap:10px;justify-content:space-between;padding:5px 9px!important;min-height:38px;height:auto!important;border:1px solid var(--line);border-radius:6px;background:var(--paper);font-size:12px!important;font-weight:600;cursor:pointer}
.presentation-editor #color-palettes .color-actions{display:grid;grid-template-columns:1fr;gap:6px;margin-top:10px}
.presentation-editor #color-palettes .color-actions button{width:100%;min-height:34px;font-size:11px;text-align:left;white-space:normal;justify-content:flex-start}
.presentation-editor #page-panel{padding:0 18px 14px}
.presentation-editor #page-panel>.frame-settings{display:none}
.presentation-editor .common-texts{border-top:0;padding-top:18px}
.presentation-editor .crop-toolbar{position:fixed;z-index:1500;display:flex;align-items:center;flex-wrap:nowrap;gap:6px;max-width:calc(100vw - 16px);padding:6px;border:1px solid #aebaab;border-radius:8px;background:var(--paper);color:var(--ink);box-shadow:0 10px 28px #0005}
.presentation-editor .crop-toolbar .selected-photo-name{display:none}
.presentation-editor .crop-toolbar select,.presentation-editor .crop-toolbar button{min-height:32px;padding:4px 7px;border:1px solid var(--line);border-radius:5px;background:var(--paper);color:var(--ink);font-size:11px}
.presentation-editor .crop-toolbar select{width:135px;max-width:32vw}
@media(max-width:850px){.presentation-editor .app-header{height:90px!important;min-height:90px!important;grid-template-rows:46px 44px!important}.presentation-editor .workspace{height:calc(100dvh - 90px)}}
@media(max-width:760px){.presentation-editor .editor-toolbar-right{width:100%;justify-content:flex-end}.presentation-editor .editor-toolbar{gap:6px}.presentation-editor .palette-target-row{grid-template-columns:60px repeat(2,minmax(0,1fr))}}
.presentation-editor .selected-text-panel[hidden]{display:none!important}
.presentation-editor .text-rotate-handle{display:none;cursor:grab;touch-action:none}
.presentation-editor .text-selected .text-rotate-handle{display:inline}
.presentation-editor .text-rotate-handle:active{cursor:grabbing}
.presentation-editor .text-rotate-button{fill:#e4efdf;stroke:#58794d;stroke-width:1.2;pointer-events:none}
.presentation-editor .text-rotate-icon{fill:none;stroke:#365b31;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.presentation-editor .text-rotate-hit{pointer-events:all}
.presentation-editor .selected-text-panel{position:fixed;z-index:1200;width:min(480px,calc(100vw - 16px));padding:8px;border:1px solid #bfcabd;border-radius:9px;background:var(--paper);color:var(--ink);box-shadow:0 12px 34px #0004}
.presentation-editor .selected-text-panel .visually-hidden{display:none!important}
.presentation-editor .text-toolbar-main{display:flex;align-items:center;gap:5px}
.presentation-editor .text-toolbar-main>select{flex:1;min-width:95px;max-width:170px}
.presentation-editor .text-toolbar-main>input[type=number]{width:55px;min-width:0}
.presentation-editor .text-toolbar-main>input[type=color]{width:34px;height:34px;padding:2px;flex:none}
.presentation-editor .text-toolbar-main>.secondary{min-width:34px;height:34px;padding:5px}
.presentation-editor .text-toolbar-more{position:relative;flex:none}
.presentation-editor .text-toolbar-more>summary{list-style:none;cursor:pointer;display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:6px}
.presentation-editor .text-toolbar-more>summary::-webkit-details-marker{display:none}
.presentation-editor .text-toolbar-more-panel{position:absolute;right:0;top:39px;z-index:3;width:210px;display:grid;gap:8px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--paper);box-shadow:0 12px 25px #0003}
.presentation-editor .text-toolbar-more-panel input:not([type=checkbox]),.presentation-editor .text-toolbar-more-panel select{width:100%}
.presentation-editor .inline-text-editor{position:fixed;left:0;top:0;transform:none;z-index:1300}
.presentation-editor.previewing #text-panel{display:none!important}
.presentation-editor .workspace.preview-clean .text-selected{outline:none}
@media(max-width:760px){.presentation-editor .selected-text-panel{bottom:8px!important;left:8px!important;top:auto!important}.presentation-editor .text-toolbar-main>select{min-width:65px}}

.presentation-editor .document-page,.presentation-editor .document-page.active{padding:0!important;background:transparent!important}
.presentation-editor .page-surface>svg{box-shadow:none!important}
