:root{font:13px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#292a30;background:#fff;font-synthesis:none;--border:#e8e8ec;--muted:#7c7d87;--accent:#6559cf;--surface:#f8f8fa;--sidebar:210px;--inspector:278px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit;color:inherit}button{display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;white-space:nowrap;border:1px solid transparent;background:transparent;border-radius:6px;min-height:30px;padding:5px 10px;font-weight:500;transition:background .12s,border-color .12s,color .12s}button:hover{background:#ededf1}button:disabled{opacity:.35;cursor:default}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid #8d83e6;outline-offset:3px}[hidden]{display:none!important}h2,p{margin:0}h2{font-size:12px;font-weight:600}svg.icon{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.primary{background:var(--accent);border-color:#5b50c3;color:white;box-shadow:0 1px 2px #25214015}.primary:hover{background:#594dbe}.secondary{border-color:#dedee5;background:white;box-shadow:0 1px 2px #20202805}.quiet{color:#656570}.icon-button{width:30px;padding:5px;color:#777781}.full-width{width:100%}.app-shell{height:100dvh;min-height:520px;display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr)}.sidebar{background:var(--surface);border-right:1px solid var(--border);display:flex;flex-direction:column;min-height:0}.workspace-brand{height:56px;display:flex;gap:9px;align-items:center;padding:0 15px;flex-shrink:0}.workspace-brand strong{font-size:12px;letter-spacing:-.25px;white-space:nowrap}.workspace-badge{font-size:8px;font-weight:650;border:1px solid #dedee6;border-radius:3px;padding:0 3px;color:#85858f;margin-left:auto}.brand-mark{display:flex;align-items:center;gap:2px;width:21px;height:22px;transform:rotate(-18deg)}.brand-mark i{display:block;width:5px;height:15px;background:#666073;border-radius:1px}.brand-mark i:first-child{height:10px}.brand-mark i:last-child{height:19px}.sidebar-section{display:flex;align-items:center;gap:8px;margin:11px 11px 6px;padding:6px 8px;color:#54545f;font-weight:550}.count{margin-left:auto;font-size:11px;color:#888893;font-weight:400}.slide-list{min-height:0;overflow:auto;padding:4px 11px 10px;scrollbar-width:thin}.slide-card{width:100%;display:grid;grid-template-columns:18px minmax(0,1fr);gap:8px;padding:8px 7px;white-space:normal;align-items:start;justify-content:start;border-radius:7px;margin:0 0 5px;text-align:left;color:#777681;border:1px solid transparent}.slide-card:hover{background:#f0f0f4}.slide-card[aria-current=true]{background:#eeedf7;border-color:#e2dff3;color:#6559bf}.thumbnail-number{font-size:10px;font-variant-numeric:tabular-nums;padding-top:3px}.thumbnail-content{min-width:0}.thumbnail{aspect-ratio:16/9;background:#fff;overflow:hidden;border:1px solid #dddde4;border-radius:3px;box-shadow:0 1px 3px #22222a08;display:flex;align-items:center;justify-content:center;pointer-events:none}.thumbnail svg{width:100%;height:auto;display:block}.slide-card[aria-current=true] .thumbnail{border-color:#9e94de;box-shadow:0 0 0 1px #9e94de}.thumbnail-title{display:block;font-size:10px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:7px;font-weight:450}.add-slide{margin:0 18px 12px 38px;justify-content:flex-start;color:#7b7989;font-size:12px;padding-left:0}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--border);padding:14px 17px;display:flex;gap:7px;align-items:center;font-size:10px;color:#85858e;flex-shrink:0}.local-dot{height:5px;width:5px;border-radius:50%;background:#88988d}.file-badge{margin-left:auto;font:10px ui-monospace,monospace;color:#96949e}.main-shell{min-width:0;min-height:0;display:flex;flex-direction:column}.document-bar{height:56px;flex-shrink:0;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 20px;gap:20px}.breadcrumb{display:flex;align-items:center;gap:12px;min-width:0;flex:1;color:#8b8b94}.breadcrumb .icon{width:15px}.breadcrumb-label{font-size:12px}.slash{color:#d1d1d8;font-size:15px}.breadcrumb input{border:1px solid transparent;background:transparent;font-weight:500;font-size:12px;min-width:60px;width:100%;max-width:340px;padding:4px;border-radius:4px;text-overflow:ellipsis}.breadcrumb input:hover{border-color:var(--border)}.breadcrumb input:focus{border-color:#b2a8e7;background:white}.header-actions{display:flex;gap:8px;align-items:center;flex-shrink:0}.header-actions button{font-size:11px;min-height:29px}.header-actions .icon{width:14px;height:14px}.editing-shell{min-height:0;flex:1;display:grid;grid-template-columns:minmax(0,1fr) var(--inspector)}.canvas-column{background:#f2f2f5;min-width:0;min-height:0;display:flex;flex-direction:column}.canvas-toolbar{height:48px;flex-shrink:0;display:flex;justify-content:space-between;align-items:center;padding:0 22px;gap:16px;background:#fafafb;border-bottom:1px solid var(--border)}.slide-heading{display:flex;gap:10px;align-items:center;min-width:0}.slide-number{font:10px ui-monospace,monospace;color:#9b99a5}.slide-heading #slide-title{font-size:11px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-actions{display:flex;gap:2px}.history-actions .icon{width:14px;height:14px}.canvas-scroll{overflow:auto;flex:1;min-height:0;display:flex}.canvas-stage{margin:auto;width:100%;padding:40px 34px 28px;flex-shrink:0}#preview{width:100%;background:#fff;border:1px solid #e0e0e6;border-radius:3px;box-shadow:0 2px 4px #22222c04,0 16px 40px -18px #29293435;position:relative}#preview>svg{width:100%;height:auto;display:block}#preview g[data-opf-path]{cursor:text}#preview g[data-opf-path]:hover>.selection-outline{stroke:#a89ce2;stroke-width:1.5px}#preview g.is-selected>.selection-outline{stroke:#8070d7;stroke-width:1.5px;stroke-dasharray:5 3}#preview g:focus{outline:none}#preview g:focus-visible>.selection-outline{stroke:#6559cf;stroke-width:3px}.canvas-caption{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:19px;font-size:10px;color:#9897a3}.canvas-caption .icon{width:12px;height:12px}.canvas-footer{height:38px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 20px;border-top:1px solid #e5e5eb;font-size:10px;color:#8a8996;flex-shrink:0;background:#f8f8fa}.canvas-footer #status{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:center;flex:1;color:#777784}.zoom-label{display:flex;align-items:center;gap:6px}.zoom-label select{width:60px;margin:0;padding:1px 3px;font-size:10px;background:transparent;border:0;min-height:24px}.inspector{border-left:1px solid var(--border);display:flex;flex-direction:column;min-height:0;overflow:auto;background:white;scrollbar-width:thin}.inspector-tabs{height:48px;border-bottom:1px solid var(--border);padding:0 17px;display:flex;gap:20px;flex-shrink:0}.inspector-tabs button{border:0;border-radius:0;padding:0 2px;font-size:12px;color:#8b8a95;position:relative}.inspector-tabs button:hover{background:transparent;color:#484552}.inspector-tabs button[aria-selected=true]{color:#37323f}.inspector-tabs button[aria-selected=true]:after{content:"";position:absolute;bottom:0;height:2px;left:0;right:0;background:#7364ce;border-radius:2px}.inspector-panel{padding:22px 20px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px;gap:8px}.small-badge{font-size:9px;padding:2px 6px;border:1px solid #e6e4ed;background:#faf9fc;border-radius:4px;color:#858091}.optional{font-size:10px;color:#aaa5af}label{display:block;font-size:11px;font-weight:500;color:#77717e;margin-bottom:7px}textarea,select{width:100%;border:1px solid #e2dfe8;border-radius:5px;background:#fff;outline:none}textarea{resize:vertical;padding:10px;line-height:1.65;font-size:12px;min-height:90px;display:block}textarea:hover,select:hover{border-color:#c6c1d0}textarea:focus,select:focus{border-color:#a698dd;box-shadow:0 0 0 2px #7969c90d}select{min-height:32px;padding:5px 7px;font-size:11px;margin-bottom:12px}#value{min-height:154px;background:#fdfcfe}.apply-row{display:flex;align-items:center;justify-content:space-between;margin-top:10px}.apply-row button{font-size:11px}.shortcut{font-size:9px;color:#aba6b4}.field-help{font-size:11px;color:#96909f;line-height:1.65;margin:12px 0 15px}.source-path{margin-top:17px;font-size:10px;color:#aaa2b1}.source-path summary{cursor:pointer}#path{font:10px/1.6 ui-monospace,monospace;overflow-wrap:anywhere;background:#f6f5f8;padding:8px;margin-top:7px;border-radius:4px;color:#8b8298}.inspector-section{border-top:1px solid var(--border);margin-top:24px;padding-top:22px}.inspector-section>h2{margin-bottom:16px}#notes{font-size:11px;min-height:94px}#notes::placeholder{color:#b1aab8}#apply-notes{font-size:10px;margin-top:7px}.inspector-bottom{margin-top:auto;display:flex;gap:8px;align-items:flex-start;padding:17px 20px;color:#a49cac;font-size:10px;border-top:1px solid var(--border);line-height:1.6}.inspector-bottom .icon{width:12px;height:12px;margin-top:2px}.diagnostics-section{margin:0 20px 20px;border-top:1px solid var(--border);padding-top:17px}.diagnostics-section .section-heading{margin-bottom:10px}.review-count{font-size:10px;color:#a3804e}.diagnostics-section ul{list-style:none;padding:0;margin:0;font-size:10px;color:#947747;line-height:1.65}.diagnostics-section li{padding:8px 10px;background:#faf7f1;border:1px solid #eee7d9;border-radius:5px;margin-top:7px;overflow-wrap:anywhere}.loading{padding:80px 30px;text-align:center;color:#9d97a9;font-size:12px}dialog{padding:0;border:1px solid #e0dce9;border-radius:10px;width:min(820px,92vw);max-height:88dvh;box-shadow:0 28px 90px #20162f40;color:#39333f}dialog::backdrop{background:#25203055;backdrop-filter:blur(3px)}.dialog-header{display:flex;justify-content:space-between;align-items:start;padding:21px 24px;border-bottom:1px solid var(--border)}.dialog-header h2{font-size:14px}.dialog-header p{font-size:11px;color:#8c8595;margin-top:4px}#json{border:0;border-radius:0;background:#fbfafc;width:100%;height:55dvh;resize:none;font:12px/1.7 ui-monospace,SFMono-Regular,monospace;padding:20px 24px;tab-size:2;box-shadow:none}.dialog-footer{border-top:1px solid var(--border);padding:14px 24px;display:flex;align-items:center;justify-content:space-between;gap:14px}.dialog-footer span{font-size:11px;color:#96909f}#json-error:empty{display:none}#json-error{padding:12px 24px;color:#a84646;background:#fff7f7;font-size:11px}@media(min-width:1600px){:root{--sidebar:238px;--inspector:300px}.canvas-stage{padding:50px 65px 30px}}@media(max-width:1100px){:root{--sidebar:176px;--inspector:246px}.workspace-badge,.breadcrumb-label,.breadcrumb>.icon{display:none}.workspace-brand{padding:0 12px;font-size:11px}.workspace-brand strong{font-size:11px}.slide-card{grid-template-columns:13px minmax(0,1fr);gap:5px;padding:7px 4px}.canvas-stage{padding:28px 22px}.inspector-panel{padding:20px 16px}.document-bar{padding:0 16px}.breadcrumb{gap:6px}.slash{display:none}}@media(max-width:760px){:root{--sidebar:148px;--inspector:240px}.app-shell{height:auto;min-height:100dvh}.editing-shell{display:flex;flex-direction:column}.canvas-column{min-height:420px}.inspector{border-left:0;border-top:1px solid var(--border)}.inspector-panel{max-width:600px}.sidebar{max-height:100dvh;position:sticky;top:0}.workspace-brand strong{font-size:10px}.workspace-brand{gap:6px;padding:0 10px}.brand-mark{width:17px}.header-actions button{padding:4px 7px}.header-actions button span{display:none}.document-bar{gap:5px;padding:0 12px}.canvas-toolbar{padding:0 12px}.canvas-stage{padding:25px 15px}.canvas-footer{padding:0 12px}.canvas-footer #status{display:none}.sidebar-bottom{padding:12px 10px;font-size:9px}.file-badge{display:none}.inspector-bottom{margin-top:0}.slide-list{padding:4px 6px}.sidebar-section{margin-left:6px;margin-right:6px}.add-slide{margin-left:22px}.thumbnail-title{font-size:9px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

#source-dialog{width:min(1400px,94vw)}.source-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}.source-preview-wrap{background:#eeedf1;display:flex;align-items:center;padding:24px}#source-preview{width:100%;box-shadow:0 4px 25px #25202f16}#source-preview>svg{display:block;width:100%;height:auto}@media(max-width:800px){.source-split{grid-template-columns:1fr}#json{height:35dvh}.source-preview-wrap{padding:16px}}

#canvas-properties:not(:empty)+#content-fields{display:none}#canvas-properties textarea{resize:vertical}#canvas-properties button{font-size:10px}#canvas-properties form>div:last-child{position:sticky;bottom:0;background:white;padding:10px 0;border-top:1px solid var(--border)}

#copy-dialog{width:min(850px,94vw)}.copy-options{display:grid;grid-template-columns:1.6fr 1fr;gap:18px;padding:18px 24px 0}.copy-options select{margin:7px 0 0}#copy-output{height:45dvh;border:0;border-radius:0;resize:none;padding:20px 24px;font:12px/1.65 ui-monospace,monospace;background:#fbfafc}.dialog-footer>div{display:flex;gap:8px}#import-dialog{width:min(1250px,94vw)}.import-tabs{display:flex;gap:8px;padding:10px 24px;border-bottom:1px solid var(--border)}.import-tabs button{color:var(--muted);padding:5px 14px}.import-tabs [aria-selected=true]{background:#eeecf9;color:#6254bb}.import-split{display:grid;grid-template-columns:minmax(300px,.85fr) minmax(0,1.2fr);min-height:460px;height:60dvh}.import-inputs{padding:20px 24px;overflow:auto}.input-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.input-heading label{margin:0}.input-heading button{font-size:11px}#import-text{height:38dvh;min-height:210px;font:12px/1.65 ui-monospace,monospace;resize:vertical}.import-review{background:#efeff3;padding:20px 24px;display:flex;flex-direction:column;border-left:1px solid var(--border);overflow:auto}.import-action-row{display:flex;align-items:center;gap:12px}.import-action-row label{white-space:nowrap;margin:0}.import-action-row select{margin:0}.import-preview-stage{flex:1;display:flex;align-items:center;padding:25px 0;min-height:180px}#import-preview{width:100%;box-shadow:0 5px 24px #24213718}#import-preview>svg{display:block;width:100%;height:auto}#import-summary{font-size:11px;color:#817887}#import-error{font-size:12px;color:#a34545;background:#fff6f6;border-radius:5px;padding:10px;margin-top:10px;overflow-wrap:anywhere}#import-error:empty{display:none}.transfer-input{display:block;width:100%;border:1px solid #dedbe6;border-radius:5px;padding:9px 10px;background:white;margin-bottom:12px;font:inherit;font-size:12px;line-height:1.5}.gallery-source-row{display:flex;gap:6px;align-items:start}.gallery-results{display:flex;flex-direction:column;gap:5px;max-height:29dvh;overflow:auto}.gallery-result{flex-shrink:0;display:flex;align-items:start;flex-direction:column;text-align:left;gap:3px;padding:10px 12px;border:1px solid var(--border);white-space:normal}.gallery-result strong{font-size:12px;font-weight:550}.gallery-result span{font-size:10px;color:#9990a1}.gallery-result[aria-pressed=true]{border-color:#9a8bda;background:#f6f3fc}.gallery-settings{font-size:11px;color:#8a8096;margin-top:18px;border-top:1px solid var(--border);padding-top:12px}.gallery-settings summary{cursor:pointer;margin-bottom:12px}.file-drop{border:1px dashed #c9c2d8;border-radius:8px;min-height:260px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:#8d8398;text-align:center}.file-drop h3{font-size:14px;color:#594f64;margin:0}.file-drop p{font-size:11px}#opf-url{margin-bottom:12px}@media(max-width:800px){.import-split{grid-template-columns:1fr;height:auto;max-height:64dvh;overflow:auto}.import-review{border-left:0;border-top:1px solid var(--border)}.import-preview-stage{min-height:160px}.gallery-results{max-height:230px}#import-text{height:24dvh}.copy-options{grid-template-columns:1fr}.dialog-footer{flex-wrap:wrap}.header-actions button{padding:4px 7px}.header-actions button span{display:none}}

#import-dialog .import-split{min-height:min(460px,45dvh);height:min(60dvh,calc(88dvh - 195px))}#import-dialog>.dialog-footer,#copy-dialog>.dialog-footer{position:sticky;bottom:0;background:#fff;z-index:2}@media(max-width:800px){#import-dialog .import-split{height:auto}}
.import-action-row{flex-shrink:0}.import-preview-stage{min-height:0;justify-content:center}#import-preview{display:flex;justify-content:center;box-shadow:none}#import-preview>svg{width:auto;height:auto;max-width:100%;max-height:34dvh;box-shadow:0 5px 24px #24213718}

#properties-dialog{width:min(1450px,96vw)}.properties-shortcuts{display:flex;flex-wrap:wrap;gap:8px;padding:10px 24px;border-bottom:1px solid var(--border);align-items:center}.properties-shortcuts a{margin-left:auto;color:#766a94;font-size:12px}.properties-split{display:grid;grid-template-columns:minmax(330px,.85fr) minmax(0,1.15fr);height:65dvh;min-height:350px}.properties-preview{background:#efeff3;display:flex;flex-direction:column;justify-content:center;padding:24px;overflow:auto}.properties-preview svg{display:block;width:100%;height:auto;max-height:48dvh}.properties-preview p{font-size:11px;color:#766a94;margin-top:20px}.properties-preview [data-opf-path]{cursor:pointer}.opf-schema-inspector{display:flex;flex-direction:column;overflow:hidden;color:#403b47;font-size:12px}.opf-schema-breadcrumbs{display:flex;flex-wrap:wrap;gap:3px;padding:12px 18px;border-bottom:1px solid var(--border)}.opf-schema-breadcrumbs button{padding:3px 5px;min-height:24px;font-size:11px}.opf-schema-body{padding:16px 20px;overflow:auto;flex:1}.opf-schema-body h3{font-size:15px;margin:0 0 12px}.opf-schema-description{font-size:11px;line-height:1.6;white-space:pre-line;color:#807887;max-height:130px;overflow:auto}.opf-schema-row{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid var(--border);padding:10px 0}.opf-schema-row>div:last-child{display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end}.opf-schema-row strong{font-weight:550;overflow-wrap:anywhere}.opf-schema-row small{display:block;color:#968b9f;font-size:10px;margin-top:4px;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.opf-schema-row button{font-size:10px;padding:2px 7px;min-height:26px;border:1px solid var(--border)}.opf-schema-field{display:flex;flex-direction:column;gap:7px;margin:12px 0}.opf-schema-field input,.opf-schema-field textarea{width:100%;font:inherit;padding:10px;border:1px solid var(--border);border-radius:5px}.opf-schema-field textarea{min-height:150px;resize:vertical}.opf-schema-error{white-space:pre-line;color:#ab4444;font-size:11px;padding:0 20px;max-height:85px;overflow:auto}.opf-schema-error:empty{display:none}.opf-schema-actions{padding:10px 16px;border-top:1px solid var(--border);display:flex;flex-wrap:wrap;gap:8px}.opf-schema-status{width:100%;margin:0;font-size:10px;color:#8a7f94}.opf-schema-actions button{font-size:11px;border:1px solid var(--border)}.opf-schema-actions button:first-of-type{background:#7665c7;color:white}.opf-schema-body>label{display:block}.opf-schema-body>label select{width:100%}@media(max-width:800px){.properties-split{grid-template-columns:1fr;height:70dvh;overflow:auto}.opf-schema-inspector{min-height:380px}.properties-preview{min-height:230px}.properties-preview svg{max-height:30dvh}.header-actions{flex-wrap:wrap}}

#data-dialog{width:min(1150px,96vw)}.data-split{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);height:65dvh}.data-inputs{padding:20px;overflow:auto;display:flex;flex-direction:column;gap:14px}.data-inputs label{display:flex;flex-direction:column;gap:6px;font-size:12px}.data-inputs textarea{width:100%;min-height:150px;font:12px monospace;resize:vertical;padding:10px}.data-inputs input,.data-inputs select{padding:7px;border:1px solid var(--border);border-radius:5px}.data-inputs #data-header-label,.data-inputs #data-series label{flex-direction:row;align-items:center}.data-inputs fieldset{margin-top:12px;border:1px solid var(--border);border-radius:5px;font-size:12px}.data-review{background:#efeff3;padding:20px;overflow:auto}#data-preview svg{width:100%;height:auto;max-height:35dvh}#data-grid{overflow:auto}#data-grid table{width:100%;border-collapse:collapse;background:white;font-size:12px}#data-grid td,#data-grid th{padding:7px;border:1px solid var(--border);text-align:left}#data-summary{font-size:12px;color:#766a94}#data-error{font-size:12px;color:#ab4444;white-space:pre-wrap}@media(max-width:800px){.data-split{grid-template-columns:1fr;overflow:auto}.data-inputs,.data-review{overflow:visible}}
