.editor-page{padding-top:42px;padding-bottom:64px}.editor-heading{justify-content:space-between;align-items:center;gap:24px;margin-bottom:30px;display:flex}.editor-heading h1{letter-spacing:-.055em;margin-top:12px;font-size:clamp(26px,3.5vw,40px);font-weight:600;line-height:1.16}.editor-heading h1 span{color:#85858d}.editor-intro{color:#67686d;margin-top:10px;font-size:14px}.local-badge{color:#5d6260;white-space:nowrap;background:#f1f5ee;border:1px solid #e0e4df;border-radius:30px;align-items:center;gap:8px;padding:10px 14px;font-size:11px;display:flex}.local-badge span{color:#668561}.editor-workspace{background:#fff;border:1px solid #e5e5e3;border-radius:20px;overflow:hidden;box-shadow:0 8px 34px -20px #24212b22}.editor-toolbar{border-bottom:1px solid #e8e8e5;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;padding:16px 20px;display:flex}.mode-switch{background:#f3f3f0;border-radius:10px;gap:4px;min-width:0;padding:4px;display:flex}.mode-switch button{color:#76767c;border-radius:7px;padding:8px 16px;font-size:12px;font-weight:500}.mode-switch button[aria-pressed=true]{color:#202124;background:#fff;box-shadow:0 1px 4px #20212414}.editor-export-controls{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.editor-export-controls select{color:#67686d;background:#fff;border:0;max-width:100%;padding:8px;font-size:12px}.editor-button{white-space:nowrap;border-radius:9px;justify-content:center;align-items:center;gap:12px;padding:11px 15px;font-size:12px;font-weight:500;transition:background .15s;display:inline-flex}.editor-button-primary{color:#fff;background:#252528}.editor-button-primary:hover{background:#5b50c9}.editor-button-quiet{color:#38383f;background:#fff;border:1px solid #e7e7e5}.editor-button-quiet:hover{background:#f4f3f7}.editor-grid{grid-template-columns:340px minmax(0,1fr);display:grid}.editor-settings{border-right:1px solid #e8e8e5;min-width:0;padding:24px}.editor-section-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;font-size:12px;font-weight:500;display:flex}.editor-file-link{color:#716987;cursor:pointer;font-size:11px}.editor-file-link:hover{text-decoration:underline}.editor-settings textarea{resize:vertical;color:#45464d;tab-size:4;white-space:pre;background:#f8f8f7;border:1px solid #e6e6e4;border-radius:9px;width:100%;height:220px;min-height:120px;max-height:600px;padding:12px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;line-height:1.8;display:block;overflow:auto}.editor-hint{color:#84848a;overflow-wrap:anywhere;margin-top:8px;font-size:10px;line-height:1.7}.editor-control-pair{grid-template-columns:1fr 1fr;gap:16px;margin-top:18px;display:grid}.editor-control-pair label,.editor-field{color:#67686d;min-width:0;font-size:11px;display:block}.editor-field{margin-top:17px}.editor-settings select,.editor-settings input[type=text]{color:#38383f;background:#fff;border:1px solid #e6e6e4;border-radius:7px;width:100%;min-width:0;margin-top:7px;padding:9px 10px;font-size:12px;display:block}.editor-settings input[type=text]::placeholder{color:#aaaab0}.editor-select-trigger{color:#38383f;text-align:left;cursor:pointer;background:#fff;border:1px solid #e6e6e4;border-radius:7px;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:40px;margin-top:7px;padding:9px 10px;font-size:12px;display:flex}.editor-select-value{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.editor-export-controls .editor-select-trigger{color:#67686d;border-color:#0000;width:auto;margin-top:0;padding:8px}.editor-select-chevron{color:#84848a;flex-shrink:0;display:block}.editor-select-trigger:hover:not(:disabled){background:#fcfbfe;border-color:#bdb5cf}.editor-select-trigger[aria-expanded=true]{background:#f8f6fc;border-color:#8e7bad}.editor-select-trigger:focus-visible{outline-offset:3px;outline:2px solid #5b50c9}.editor-select-listbox{z-index:50;overscroll-behavior:contain;touch-action:pan-y;color:#38383f;background:#fff;border:1px solid #dedbe4;border-radius:10px;padding:5px;font-size:12px;position:fixed;overflow-y:auto;box-shadow:0 8px 28px #24212b20}.editor-select-option{cursor:pointer;border-radius:5px;justify-content:space-between;align-items:center;gap:12px;min-height:40px;padding:9px 10px;display:flex}.editor-select-option[aria-selected=true]{color:#554285;font-weight:500}.editor-select-option[aria-selected=true] .editor-select-check:after{content:"✓"}.editor-select-option[data-active=true]{outline-offset:-1px;background:#ece8f5;outline:1px solid #ddd5ec}@media (hover:hover){.editor-select-option:hover{background:#f3f0f8}}.editor-select-option[aria-disabled=true]{opacity:.45;cursor:default}.editor-optional{color:#929298;font-size:10px;font-weight:400}.editor-settings input[type=range]{accent-color:#7262a8;width:100%;height:16px;margin-top:10px;display:block}.editor-settings output{float:right;color:#35353c;font-variant-numeric:tabular-nums}.editor-settings .editor-checkbox{color:#67686d;align-items:center;gap:8px;font-size:11px;display:flex}.editor-checkbox input{accent-color:#7262a8;width:14px;height:14px}.editor-shadow{margin-top:18px}.editor-divider{background:#ededeb;height:1px;margin:24px 0 20px}.editor-palettes{justify-content:space-between;gap:6px;display:flex}.editor-palettes button{border:1px solid #0000;border-radius:50%;width:32px;height:32px;padding:3px}.editor-palettes button span{background:var(--swatch);border-radius:50%;width:100%;height:100%;display:block;box-shadow:inset 0 0 0 1px #0000000a}.editor-palettes button[aria-pressed=true]{border-color:#797087}.editor-palettes .solid-swatch span{color:#81768d;text-align:center;background:#f4f3f6;font-size:18px;line-height:24px}.editor-color-field{color:#67686d;justify-content:space-between;align-items:center;margin-top:14px;font-size:11px;display:flex}.editor-color-field input{background:#fff;border:1px solid #e6e6e4;border-radius:5px;width:40px;height:28px;padding:2px}.editor-preview-panel{background:#fafaf9;flex-direction:column;min-width:0;padding:24px;display:flex}.editor-preview-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px;display:flex}.editor-preview-heading>span:last-child{color:#929298;font-variant-numeric:tabular-nums;font-size:10px}.editor-preview-stage{background-color:#f2f1f0;background-image:radial-gradient(#d8d7d5 .7px,#0000 .7px);background-size:12px 12px;border:1px solid #efefed;border-radius:12px;flex:1;justify-content:center;align-items:center;min-height:440px;padding:24px;display:flex;overflow:hidden}.editor-preview-stage img{object-fit:contain;width:auto;max-width:100%;height:auto;max-height:640px;display:block;box-shadow:0 12px 30px -16px #24212b35}.editor-preview-empty{text-align:center;color:#929098;max-width:260px;font-size:12px;line-height:1.7}.editor-preview-empty>span{color:#b8b3c0;margin-bottom:18px;font-size:38px;line-height:1;display:block}.editor-render-status{color:#84848a;min-height:19px;margin-top:14px;font-size:11px;line-height:1.7}.editor-warning,.editor-error{overflow-wrap:anywhere;border-radius:8px;margin-top:10px;padding:12px 14px;font-size:12px;line-height:1.7}.editor-warning{color:#826026;background:#fff7e8}.editor-error{color:#924a43;background:#fcf0ef}.editor-error button{margin-top:10px}.editor-bottom-bar{color:#8b8b91;border-top:1px solid #e8e8e5;justify-content:space-between;align-items:center;gap:16px;padding:14px 24px;font-size:10px;display:flex}.editor-bottom-bar p[data-failed=true]{color:#9a5b35}.editor-bottom-bar button{color:#74717e;text-underline-offset:3px;text-decoration:underline}.editor-footnotes{color:#8b8b91;justify-content:space-between;gap:24px;margin-top:22px;font-size:11px;line-height:1.8;display:flex}.editor-footnotes strong{color:#67686d;font-weight:500}.editor-footnotes a{color:#716987;text-underline-offset:3px;text-decoration:underline}.editor-dropzone{text-align:left;cursor:pointer;color:#82788e;background:#faf8fc;border:1px dashed #d6d0de;border-radius:10px;justify-content:center;align-items:center;gap:10px;min-height:110px;padding:12px;font-size:11px;display:flex}.editor-dropzone>span:first-child{color:#aaa0b9;flex-shrink:0;font-size:24px}.editor-upload-copy{gap:5px;min-width:0;display:grid}.editor-dropzone strong{color:#595061;font-size:13px;font-weight:500}.editor-dropzone small{color:#95909b;font-size:10px}.editor-dropzone:hover{background:#f4f0f8}#image-info{white-space:nowrap;gap:4px;min-width:0;display:flex}#image-name:not([hidden]){min-width:0;display:flex}#image-name-start{text-overflow:ellipsis;overflow:hidden}#image-name-end,#image-size{flex-shrink:0}.editor-workspace[data-dragging=true]{outline-offset:3px;outline:2px solid #8e7bad}.editor-notice{border:1px solid #ded5e9;border-radius:10px;margin-bottom:20px;padding:16px;font-size:14px}#code-editor button:disabled,#code-editor select:disabled,#code-editor fieldset:disabled button{opacity:.45;cursor:wait}#code-editor [hidden]{display:none!important}@media (width>=1440px){.editor-page{max-width:1320px}.editor-grid{grid-template-columns:360px minmax(0,1fr)}}@media (width<=899px){.editor-heading{align-items:flex-start}.local-badge{display:none}.editor-grid{grid-template-columns:300px minmax(0,1fr)}.editor-settings,.editor-preview-panel{padding:20px}.editor-preview-stage{min-height:380px;padding:14px}.editor-toolbar{padding:14px}.editor-export-controls{gap:5px}.editor-button{padding:10px 12px}.editor-footnotes{display:block}.editor-footnotes p+p{margin-top:8px}}@media (width<=699px){.editor-page{padding-top:28px;padding-left:16px;padding-right:16px}.editor-heading{margin-bottom:22px}.editor-heading h1{max-width:350px;font-size:30px}.editor-heading h1 span{display:block}.editor-intro{font-size:13px}.editor-grid{flex-direction:column;display:flex}.editor-settings{border-bottom:1px solid #e8e8e5;border-right:0}.editor-preview-panel{order:-1}.editor-preview-stage{min-height:240px;max-height:480px;padding:16px}.editor-preview-stage img{max-height:440px}.editor-preview-heading{margin-bottom:14px}.editor-toolbar{gap:12px}.mode-switch{width:100%}.mode-switch button{flex:1}.editor-export-controls{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;display:grid}.editor-export-controls select,.editor-export-controls .editor-select-trigger{width:100%}.editor-workspace{border-radius:14px}.editor-settings textarea{height:180px}.editor-palettes{justify-content:flex-start;gap:10px}.editor-bottom-bar{align-items:flex-start;padding:14px 18px}.editor-bottom-bar p{max-width:210px}.editor-bottom-bar button{white-space:nowrap}}.editor-section-heading:focus-within .editor-file-link,#screenshot-controls:focus-within .editor-dropzone{outline-offset:4px;outline:2px solid #5b50c9}.editor-preview-stage{position:relative}#redact-toggle{margin-top:14px}#redact-toggle[aria-pressed=true]{background:#ece8f5;border-color:#8e7bad}#redaction-panel,#redaction-add,#redaction-delete{margin-top:12px}#redaction-list{flex-wrap:wrap;gap:6px;margin-top:12px;display:flex}#redaction-list button{border:1px solid #dedbe3;border-radius:6px;padding:10px;font-size:11px}#redaction-list button[aria-pressed=true]{background:#ece8f5;border-color:#8e7bad}.redaction-numbers{grid-template-columns:1fr 1fr;gap:12px;margin-top:16px;display:grid}.redaction-numbers label{color:#67686d;min-width:0;font-size:11px}.redaction-numbers input{background:#fff;border:1px solid #e6e6e4;border-radius:7px;width:100%;min-width:0;margin-top:6px;padding:9px;font-size:12px;display:block}#redaction-overlay{z-index:1;cursor:crosshair;touch-action:none;outline:1px dashed #fff9;position:absolute}#redaction-overlay:focus-visible,.redaction-area:focus-visible{outline-offset:3px;outline:3px solid #8972d1}.redaction-area{cursor:move;background:#8972d126;border:1px dashed #fff;position:absolute;box-shadow:0 0 0 1px #282331}.redaction-area[aria-pressed=true]{border:2px solid #fff;box-shadow:0 0 0 2px #6d51ac}.redaction-handle{z-index:2;background:#fff;border:2px solid #6d51ac;border-radius:50%;width:28px;height:28px;position:absolute}.redaction-handle-nw{cursor:nwse-resize;top:-14px;left:-14px}.redaction-handle-ne{cursor:nesw-resize;top:-14px;right:-14px}.redaction-handle-sw{cursor:nesw-resize;bottom:-14px;left:-14px}.redaction-handle-se{cursor:nwse-resize;bottom:-14px;right:-14px}#framing-controls{min-width:0}#crop-toggle{margin-top:14px;margin-right:8px}#crop-toggle[aria-pressed=true]{background:#ece8f5;border-color:#8e7bad}.crop-actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}#crop-overlay{z-index:2;touch-action:none;position:absolute;overflow:hidden}#crop-selection{cursor:move;border:2px solid #fff;position:absolute;box-shadow:0 0 0 9999px #11182788,0 0 0 1px #282331}#crop-selection:focus-visible,.crop-handle:focus-visible{outline-offset:-4px;outline:3px solid #8972d1}.crop-handle{z-index:1;background:#fff;border:2px solid #6d51ac;border-radius:50%;width:28px;height:28px;position:absolute}.crop-handle-nw{cursor:nwse-resize;top:-14px;left:-14px}.crop-handle-n{cursor:ns-resize;top:-14px;left:calc(50% - 14px)}.crop-handle-ne{cursor:nesw-resize;top:-14px;right:-14px}.crop-handle-e{cursor:ew-resize;top:calc(50% - 14px);right:-14px}.crop-handle-se{cursor:nwse-resize;bottom:-14px;right:-14px}.crop-handle-s{cursor:ns-resize;bottom:-14px;left:calc(50% - 14px)}.crop-handle-sw{cursor:nesw-resize;bottom:-14px;left:-14px}.crop-handle-w{cursor:ew-resize;top:calc(50% - 14px);left:-14px}#redaction-overlay{overflow:hidden}#code-line-overlay{z-index:1;flex-direction:column;display:flex;position:absolute}#code-line-overlay button{cursor:pointer;background:0 0;border:0;border-radius:4px;flex:1 1 0;width:100%;min-height:0;padding:0;display:block}@media (hover:hover){#code-line-overlay button:hover{background:color-mix(in srgb, var(--line-band-color) 4%, transparent)}}#code-line-overlay button:focus-visible{outline-offset:-2px;background:color-mix(in srgb, var(--line-band-color) 4%, transparent);outline:2px solid #8972d1}.editor-highlight-help{color:#78767e;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin-top:14px;font-size:11px;line-height:1.7;display:flex}#clear-highlights{font-size:inherit;margin-left:auto}
