@import"https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Inter:wght@400;500;600;700&family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;600;700&display=swap";:root{font-family:Inter,Noto Sans JP,sans-serif;color:#1d2939;background:#eef1f4;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:1024px;min-height:100vh}button,select,input{font:inherit}button{border:0;background:transparent;color:inherit;cursor:pointer}.app-shell{height:100vh;display:flex;flex-direction:column;overflow:hidden}.toolbar{height:58px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 18px;background:#fff;border-bottom:1px solid #d8dee6;box-shadow:0 1px 3px #1720330d;z-index:10}.brand{display:flex;align-items:center;gap:10px;font-weight:700;letter-spacing:-.02em}.brand small{color:#8491a3;font:400 10px DM Mono;border-left:1px solid #d8dee6;padding-left:10px}.brand-mark{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;color:#fff;background:linear-gradient(145deg,#0d6075,#12a69c);font-size:11px;letter-spacing:.06em}.toolbar-actions{display:flex;align-items:center;gap:4px}.toolbar-actions button{height:34px;display:flex;align-items:center;gap:6px;padding:0 10px;border-radius:7px;font-size:12px;font-weight:600;color:#536174}.toolbar-actions svg{width:15px}.toolbar-actions button:hover,.toolbar-actions .active{background:#eef5f5;color:#0d6972}.toolbar-actions .primary{background:#116b78;color:#fff;margin-left:4px;padding:0 14px}.toolbar-actions .primary:hover{background:#0a5967;color:#fff}.workspace{flex:1;min-height:0;display:grid;grid-template-columns:190px minmax(320px,40%) 1fr}.workspace.editor-hidden{grid-template-columns:190px 1fr}.thumbnails{padding:0 12px 20px;background:#e7ebef;border-right:1px solid #ccd4dd;overflow-y:auto}.aside-title,.pane-heading{height:42px;display:flex;align-items:center;justify-content:space-between;color:#6e7b8b;font:500 10px DM Mono;letter-spacing:.11em}.aside-title button{font-size:20px;color:#55707a}.thumbnail{position:relative;padding:7px 7px 21px;margin:0 0 10px;border:2px solid transparent;border-radius:8px;background:#d9dfe5;transition:.15s;cursor:pointer}.thumbnail:hover{background:#d0d9df}.thumbnail.selected{background:#d5e9e8;border-color:#16838b;box-shadow:0 0 0 2px #fff inset}.thumbnail.dragging{opacity:.4}.grip{position:absolute;left:-2px;top:42%;width:12px;color:#8996a4}.slide-number{position:absolute;bottom:4px;left:9px;font:500 9px DM Mono;color:#687687}.warn{position:absolute;width:13px;height:13px;right:8px;bottom:4px;color:#d97706}.thumb-canvas{width:100%;aspect-ratio:16/9;overflow:hidden;background:#fff;box-shadow:0 1px 3px #0002;pointer-events:none}.thumb-canvas>div{width:1280px;height:720px;transform:scale(var(--thumb-scale,.119));transform-origin:top left}.thumb-canvas section{margin:0!important}.mobile-nav{display:none}.mobile-order{position:absolute;right:4px;bottom:2px;display:flex;gap:2px}.mobile-order button{display:grid;place-items:center;width:20px;height:18px;border-radius:4px;color:#657482}.mobile-order button:disabled{opacity:.25}.mobile-order svg{width:12px}.mobile-order .delete-slide{color:#b54747}.slide-frame .intermark-selected{outline:4px solid #12a3a3!important;outline-offset:5px;border-radius:3px}.slide-frame section.intermark-canvas-selected{outline:0!important;box-shadow:inset 0 0 0 8px #12a3a3!important}.slide-frame .intermark-selected{cursor:grab;touch-action:pinch-zoom;-webkit-user-select:none;user-select:none}.slide-frame .intermark-moving{cursor:grabbing;outline-color:#ffb020!important;filter:drop-shadow(0 8px 8px #0003)}.slide-frame .intermark-text-editing{cursor:text;touch-action:auto;-webkit-user-select:text;user-select:text;outline-color:#ffb020!important;background:#fff9d6!important}.element-toolbar{position:absolute;z-index:8;left:50%;bottom:14px;transform:translate(-50%);display:flex;align-items:center;gap:3px;padding:5px;background:#172b36;color:#fff;border-radius:9px;box-shadow:0 8px 25px #10232f4d}.element-toolbar button,.element-toolbar label{display:grid;place-items:center;width:34px;height:34px;border-radius:6px;color:#fff;touch-action:none}.element-toolbar button:hover,.element-toolbar button.active{background:#ffffff20}.element-toolbar svg{width:17px;height:17px}.element-toolbar .move-handle{background:#14828a;cursor:grab}.element-toolbar .move-handle:active{cursor:grabbing;background:#0fa3a0}.element-toolbar label{overflow:hidden}.element-toolbar input[type=color]{width:25px;height:25px;padding:0;border:2px solid #fff;border-radius:50%;background:none;overflow:hidden}.element-toolbar .color-control{position:relative;overflow:visible}.element-toolbar .color-control:after{position:absolute;right:0;bottom:0;display:grid;place-items:center;width:14px;height:14px;border-radius:50%;background:#fff;color:#18313b;font:700 8px Inter,sans-serif}.element-toolbar .text-color:after{content:"A"}.element-toolbar .fill-color:after{content:"■";color:#e1a300}.element-toolbar .font-family-control{width:auto;min-width:82px;padding:0 3px;overflow:visible}.font-family-control select{width:100%;height:30px;padding:0 5px;border:1px solid #ffffff45;border-radius:5px;background:#243b46;color:#fff;font-size:11px}.selection-error{position:absolute;z-index:9;left:50%;bottom:62px;transform:translate(-50%);width:max-content;max-width:calc(100% - 20px);padding:9px 12px;border-radius:7px;background:#9f2d2d;color:#fff;box-shadow:0 6px 18px #5415153b;font-size:12px}.position-inspector{position:absolute;z-index:8;left:50%;bottom:59px;transform:translate(-50%);display:flex;align-items:center;gap:6px;padding:6px 8px;border-radius:9px;background:#fff;border:1px solid #cbd5dd;box-shadow:0 7px 20px #2334432b;font:600 11px DM Mono,monospace}.position-inspector label{display:flex;align-items:center;gap:3px}.position-inspector input{width:54px;height:30px;padding:2px 4px;border:1px solid #c8d1d9;border-radius:5px;font:12px DM Mono,monospace}.position-inspector>button{display:grid;place-items:center;width:31px;height:31px;border-radius:6px;background:#edf2f4}.position-inspector>button.apply-position{background:#11747b;color:#fff}.position-inspector svg{width:15px}.nudge-grid{display:grid;grid-template-columns:repeat(3,24px);grid-template-rows:repeat(2,22px)}.nudge-grid button{display:grid;place-items:center;border-radius:4px;background:#edf2f4}.nudge-grid button:nth-child(1){grid-column:2}.nudge-grid button:nth-child(2){grid-column:1}.nudge-grid button:nth-child(3){grid-column:2}.nudge-grid button:nth-child(4){grid-column:3;grid-row:2}.nudge-grid svg{width:13px}.image-resizer{position:absolute;z-index:9;left:50%;bottom:62px;transform:translate(-50%);width:min(420px,calc(100% - 20px));display:flex;align-items:center;gap:8px;padding:8px;border:1px solid #cbd5dd;border-radius:9px;background:#fff;box-shadow:0 7px 20px #2334432b}.image-resizer button{flex:0 0 34px;height:34px;display:grid;place-items:center;border-radius:6px;background:#e9f2f2;color:#0d747b}.image-resizer svg{width:17px}.image-resizer input{flex:1;min-width:80px;accent-color:#14828a;touch-action:pan-x}.image-resizer output{width:62px;text-align:right;font:600 11px DM Mono,monospace;color:#40566a}.image-resizer button.delete-image{background:#fff0f0;color:#b42318}.image-resizer{bottom:118px}.editor-pane,.preview-pane{min-width:0;display:flex;flex-direction:column;background:#fff}.editor-pane{border-right:1px solid #d5dbe2}.pane-heading{padding:0 14px;flex:none;border-bottom:1px solid #e2e7ec;background:#fafbfc}.pane-heading span:last-child{letter-spacing:0;color:#a0a9b5}.preview-heading-actions{display:flex;align-items:center;gap:10px}.preview-heading-actions button{display:none;align-items:center;gap:5px;min-height:32px;padding:0 11px;border-radius:7px;background:#116b78;color:#fff;font:600 11px Inter,sans-serif;letter-spacing:0}.preview-heading-actions svg{width:14px}.preview-heading-actions button.add-image-action{display:flex;background:#e5efef;color:#0d6d73}.preview-heading-actions button.canvas-action{display:flex;background:#edf0f5;color:#40566a}.cm-theme{flex:1;min-height:0;overflow:hidden}.cm-theme .cm-editor{height:100%;font-family:DM Mono,monospace;font-size:13px}.cm-theme .cm-scroller{overflow:auto}.cm-theme .cm-gutters{background:#f8fafb;color:#aab3be;border:0}.cm-theme .cm-activeLine{background:#eef7f655}.cm-theme .cm-activeLineGutter{background:#dceeed;color:#15727a}.editor-tabs{display:flex;gap:3px}.editor-tabs button{padding:5px 8px;border-radius:5px;color:#7b8795;font:600 10px DM Mono,monospace;letter-spacing:.08em}.editor-tabs button.active{background:#dfeeed;color:#0d7178}.easy-css-editor{flex:1;min-height:0;display:flex;flex-direction:column;padding:12px;background:#f6f8fa}.easy-css-editor>p{margin:8px 2px;color:#657482;font-size:11px;line-height:1.5}.easy-css-editor code{color:#0d7178}.easy-css-editor textarea{flex:1;min-height:0;width:100%;resize:none;padding:14px;border:1px solid #263b46;border-radius:8px;background:#101a21;color:#c8f7eb;font:13px/1.6 DM Mono,monospace;-moz-tab-size:2;tab-size:2}.css-snippets{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.css-snippets span{margin-right:4px;color:#657482;font-size:11px;font-weight:600}.css-snippets button{padding:7px 9px;border:1px solid #bdd4d3;border-radius:6px;background:#e7f2f1;color:#0b6d74;font-size:11px;font-weight:600}.preview-pane{background:#f0f2f4;position:relative}.preview-stage{flex:1;min-height:0;display:grid;place-items:center;padding:28px 42px 54px;position:relative;overflow:auto;touch-action:pan-x pan-y pinch-zoom;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background-image:radial-gradient(#cbd2d9 1px,transparent 1px);background-size:18px 18px}.preview-stage.image-dragging:after{content:"画像をここにドロップ";position:absolute;z-index:20;top:14px;right:14px;bottom:14px;left:14px;display:grid;place-items:center;border:3px dashed #13a3a3;border-radius:14px;background:#e5fffbeb;color:#0d6d73;font-weight:700;pointer-events:none}.slide-frame{width:min(100%,960px);aspect-ratio:16/9;overflow:hidden;box-shadow:0 20px 50px #23344324,0 2px 7px #23344320;background:#fff;cursor:text;touch-action:pan-x pan-y pinch-zoom}.slide-frame>div{width:1280px;height:720px;transform-origin:top left;transform:scale(var(--preview-scale,.6))}.slide-frame section{margin:0!important}.slide-frame section>*:hover{outline:3px solid #15a1a04d;outline-offset:3px;border-radius:2px}.overflow-alert{position:absolute;bottom:14px;left:50%;transform:translate(-50%);min-width:440px;display:flex;align-items:center;gap:10px;padding:10px 11px;background:#fffbeb;border:1px solid #f4c56a;border-radius:9px;box-shadow:0 7px 20px #5c3d0b20;color:#8a4b08}.overflow-alert>svg{width:20px}.overflow-alert div{display:flex;flex:1;flex-direction:column;font-size:11px}.overflow-alert strong{font-size:12px}.overflow-alert button{display:flex;align-items:center;gap:4px;padding:7px 9px;background:#fff;border:1px solid #e6bd6c;border-radius:6px;font-size:11px;font-weight:600}.overflow-alert button svg{width:13px}.preview-controls{position:absolute;bottom:12px;right:16px;display:flex;background:#fff;border:1px solid #d3d9df;border-radius:7px;box-shadow:0 2px 8px #22334418;overflow:hidden}.preview-controls button{display:grid;place-items:center;width:34px;height:30px;border-right:1px solid #e1e5e9}.preview-controls button:last-child{border:0}.preview-controls svg{width:15px}.preview-controls button:hover{background:#eef5f5;color:#11747b}.settings-popover{position:fixed;z-index:20;right:78px;top:52px;width:420px;max-height:calc(100dvh - 64px);overflow:auto;padding:16px;display:flex;flex-direction:column;gap:14px;background:#fff;border:1px solid #d5dce3;border-radius:9px;box-shadow:0 12px 35px #26374728;font-size:12px}.settings-popover label{display:flex;align-items:center;justify-content:space-between;gap:12px}.settings-popover select{padding:6px;border:1px solid #ccd5dd;border-radius:5px}.settings-popover .check{justify-content:flex-start}.settings-popover input{accent-color:#16747c}.css-editor-block{padding-top:12px;border-top:1px solid #e1e6ea}.css-editor-block>div{display:flex;align-items:center;justify-content:space-between;color:#617180;font:600 10px DM Mono,monospace;letter-spacing:.08em}.css-editor-block button{padding:6px 8px;border-radius:5px;background:#e9f3f2;color:#0b6d74;font:600 10px Inter,sans-serif;letter-spacing:0}.css-editor-block p{margin:8px 0;color:#788695;font-size:11px;line-height:1.4}.css-editor-block textarea{display:block;width:100%;min-height:240px;resize:vertical;padding:10px;border:1px solid #cbd4dc;border-radius:7px;background:#101a21;color:#c8f7eb;font:12px/1.55 DM Mono,monospace;-moz-tab-size:2;tab-size:2}.render-error{padding:20px;background:#fff0f0;color:brown;border:1px solid #f3b7b7;border-radius:8px;font:12px DM Mono;white-space:pre-wrap}.presentation{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;overflow:hidden;background:#fff;outline:none;touch-action:pinch-zoom;-webkit-user-select:none;user-select:none}.presentation-slide{position:absolute;left:50%;top:50%;width:1280px;height:720px;overflow:hidden;background:#fff;transform-origin:center center}.presentation-slide>div,.presentation-slide section{width:1280px!important;height:720px!important;margin:0!important}.presentation button{position:fixed;display:flex;align-items:center;justify-content:center;color:#fff;border-radius:999px;background:#07121899;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);opacity:.55;transition:.15s}.presentation button:hover{opacity:1}.presentation button svg{width:20px}.presentation-exit{top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));gap:5px;min-height:42px;padding:0 15px}.presentation-prev,.presentation-next{top:50%;width:46px;height:46px;transform:translateY(-50%)}.presentation-prev{left:12px}.presentation-next{right:12px}.presentation-counter{position:fixed;left:50%;bottom:18px;transform:translate(-50%);padding:5px 10px;border-radius:99px;background:#071218aa;color:#fff;font:500 11px DM Mono}.presentation-progress{position:fixed;left:0;right:0;bottom:0;height:4px;background:#10232f1f}.presentation-progress span{display:block;height:100%;background:#20b9b2;transition:width .2s}@media(max-width:1200px){.workspace{grid-template-columns:160px minmax(300px,38%) 1fr}.toolbar-actions button{padding:0 7px}.toolbar-actions button:not(.primary){font-size:0}}@media(max-width:760px){body{min-width:0;min-height:100dvh;overflow:hidden}.app-shell{height:100dvh;padding-bottom:calc(62px + env(safe-area-inset-bottom))}.toolbar{height:52px;padding:0 10px}.brand{gap:7px}.brand small{display:none}.brand-mark{width:28px;height:28px}.brand>span:nth-child(2){font-size:14px}.toolbar-actions{gap:2px}.toolbar-actions button{width:40px;height:40px;padding:0;justify-content:center}.toolbar-actions button:not(.primary){font-size:0}.toolbar-actions svg{width:18px;height:18px}.toolbar-actions button:first-child,.toolbar-actions button:nth-child(3){display:none}.toolbar-actions .primary{display:none}.workspace,.workspace.editor-hidden{display:block;min-height:0;overflow:hidden}.workspace>aside,.workspace>section{display:none;width:100%;height:100%;border:0}.workspace.mobile-slides .thumbnails{display:block}.workspace.mobile-editor .editor-pane,.workspace.mobile-preview .preview-pane{display:flex}.thumbnails{padding:0 12px 18px;background:#edf0f3}.aside-title,.pane-heading{height:40px;position:sticky;top:0;z-index:4;background:#fafbfc}.thumbnail{min-height:112px;padding:8px 62px 8px 8px;margin-bottom:10px;display:flex;align-items:center;background:#dfe4e9}.thumbnail.selected{background:#d5e9e8}.thumb-canvas{width:min(100%,220px)}.slide-number{left:auto;right:42px;bottom:50%;transform:translateY(50%);font-size:11px}.warn{right:40px;bottom:8px}.grip{display:none}.mobile-order{position:absolute;display:flex;flex-direction:column;justify-content:center;right:5px;top:6px;bottom:6px;transform:none;gap:3px;overflow:hidden}.mobile-order button{display:grid;place-items:center;width:32px;height:29px;flex:0 0 29px;border-radius:7px;background:#fff;border:1px solid #ccd5dd;color:#4c6670}.mobile-order button:disabled{opacity:.3}.mobile-order svg{width:17px}.cm-theme .cm-editor{font-size:14px}.cm-theme .cm-content{padding-bottom:40vh}.cm-theme .cm-line{padding-left:6px}.preview-stage{padding:18px 10px 78px;overflow:auto;align-items:start}.preview-heading-actions button{display:flex;min-height:34px}.slide-frame{width:100%;margin-top:8px}.overflow-alert{bottom:12px;width:calc(100% - 20px);min-width:0;padding:9px}.overflow-alert span{display:none}.overflow-alert button{white-space:nowrap}.element-toolbar{bottom:61px;width:max-content;max-width:calc(100% - 16px);gap:2px;padding:5px;overflow-x:auto}.element-toolbar button,.element-toolbar label{flex:0 0 39px;width:39px;height:39px}.element-toolbar .font-family-control{flex:0 0 96px;width:96px}.element-toolbar svg{width:19px;height:19px}.position-inspector{bottom:112px;width:calc(100% - 16px);justify-content:center;gap:5px}.position-inspector input{width:48px}.position-inspector .nudge-grid{flex:0 0 auto}.image-resizer{bottom:170px}.slide-frame .intermark-selected:after{content:"ドラッグで移動";position:absolute;left:0;top:-38px;padding:8px 10px;border-radius:6px;background:#102f38;color:#fff;font:500 22px Inter,sans-serif;white-space:nowrap;pointer-events:none}.preview-controls{bottom:12px;right:50%;transform:translate(50%)}.preview-controls button{width:46px;height:38px}.settings-popover{position:fixed;top:49px;right:8px;width:calc(100% - 16px);max-height:calc(100dvh - 120px);padding:18px;font-size:14px}.settings-popover select{min-height:42px}.css-editor-block textarea{min-height:38dvh;font-size:13px}.mobile-nav{position:fixed;z-index:30;left:0;right:0;bottom:0;height:calc(62px + env(safe-area-inset-bottom));padding:4px 8px env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border-top:1px solid #d5dce3;box-shadow:0 -4px 18px #23344312}.mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:52px;border-radius:8px;color:#758293;font-size:10px;font-weight:600}.mobile-nav button.active{color:#0c747b;background:#eaf5f4}.mobile-nav svg{width:20px;height:20px}.presentation button{opacity:.8}.presentation-prev,.presentation-next{display:none}.presentation-counter{bottom:14px}.presentation-exit span{display:none}.presentation-exit{width:42px;padding:0}}@media(max-width:380px){.toolbar-actions button:nth-child(2){display:none}.brand>span:nth-child(2){display:none}.slide-frame>div{transform:scale(calc((100vw - 20px) / 1280))}}@media(max-width:760px)and (orientation:landscape){.app-shell{padding-bottom:0}.mobile-nav{width:64px;left:auto;top:52px;height:auto;grid-template-columns:1fr;padding:6px env(safe-area-inset-right) 6px 6px;border-top:0;border-left:1px solid #d5dce3}.workspace{margin-right:64px}.preview-stage{padding-bottom:20px}.slide-frame{width:min(100%,calc((100dvh - 112px)*1.7778));margin:0}.slide-frame>div{transform:scale(calc((100dvh - 112px) / 720))}.overflow-alert{bottom:6px}}
