.html-editor-app{--html-radius:1rem;--html-shadow:0 18px 50px rgb(0 0 0 / .07);max-width:1480px;padding-top:2.25rem}.html-editor-hero{align-items:flex-end;margin-bottom:.9rem;padding:0 .25rem}.html-editor-heading{min-width:0}.html-editor-eyebrow{margin-bottom:.55rem;padding:.28rem .55rem;border:1px solid var(--color-border);border-radius:999px;background:var(--color-surface);font-size:.68rem;letter-spacing:.09em}.html-editor-eyebrow::before{content:"";width:.4rem;height:.4rem;border-radius:999px;background:var(--color-success)}.html-editor-title{font-size:clamp(1.75rem,3.4vw,2.7rem);letter-spacing:-.035em}.html-editor-description{max-width:70ch;line-height:1.6}.html-editor-feature-strip{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.8rem}.html-editor-feature-strip span{padding:.25rem .5rem;border:1px solid var(--color-border);border-radius:999px;color:var(--color-muted);background:var(--color-surface);font:700 .61rem/1.2 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,liberation mono,monospace;letter-spacing:.05em}.html-editor-actions{gap:.55rem}.html-editor-actions button{min-height:2.65rem;padding-inline:1rem}.html-editor-status{min-height:2.5rem;margin-bottom:1rem;border-radius:.75rem;box-shadow:0 1px 2px rgb(0 0 0/3%)}.html-editor-status-dot{width:.5rem;height:.5rem;flex:0 0 .5rem;border-radius:999px;background:var(--color-success);box-shadow:0 0 0 3px color-mix(in oklab,var(--color-success) 12%,transparent)}.html-editor-app[data-html-editor-status=running] .html-editor-status-dot{background:var(--color-primary);box-shadow:0 0 0 3px color-mix(in oklab,var(--color-primary) 12%,transparent)}.html-editor-app[data-html-editor-status=edited] .html-editor-status-dot{background:var(--color-warning);box-shadow:0 0 0 3px color-mix(in oklab,var(--color-warning) 12%,transparent)}.html-editor-app[data-html-editor-status=error] .html-editor-status-dot{background:var(--color-danger);box-shadow:0 0 0 3px color-mix(in oklab,var(--color-danger) 12%,transparent)}.html-editor-status-divider{width:1px;height:1rem;background:var(--color-border)}.html-editor-shortcut{font:600 .68rem/1.2 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,liberation mono,monospace;color:var(--color-muted)}.html-editor-shortcut span{font-family:inherit;font-weight:500;opacity:.72}.html-editor-status .code-tools-badge{margin-inline-start:auto}.html-editor-workspace{height:min(76vh,52rem);min-height:40rem;border-radius:1.05rem;box-shadow:var(--html-shadow);background:var(--color-surface)}.html-editor-editor-panel,.html-editor-preview-panel{background:var(--color-surface)}.html-editor-toolbar{min-height:3.2rem;background:var(--color-surface);padding-inline:.35rem}.html-editor-panel-identity{display:flex;align-items:center;gap:.5rem;min-width:0;padding-inline:.45rem}.html-editor-panel-kicker{font-size:.6rem;font-weight:800;letter-spacing:.08em;color:var(--color-muted)}.html-editor-file-pill{display:inline-flex;align-items:center;min-width:0;max-width:9rem;padding:.3rem .55rem;border:1px solid var(--color-border);border-radius:.45rem;background:var(--color-background);color:var(--color-on-surface);font:700 .72rem/1.2 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,liberation mono,monospace;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.html-editor-template-control{margin-inline-start:.35rem;padding-inline-start:.5rem;border-inline-start:1px solid var(--color-border)}.html-editor-template-control select{border-radius:.55rem;background:var(--color-background);min-height:2.2rem}.html-editor-toolbar-actions{margin-inline-start:auto;padding-inline-start:.4rem}.html-editor-toolbar-actions .ui-icon-button{width:2.35rem;height:2.35rem;border-radius:.55rem}.html-editor-settings{border-inline-start:1px solid var(--color-border)}.html-editor-settings .ui-icon-button{width:2.35rem;height:2.35rem;border-radius:.55rem}.html-editor-editor-surface{position:relative;background:var(--color-code);box-shadow:inset 0 1px rgb(255 255 255/.025)}.html-editor-editor-footer{display:flex;align-items:center;gap:.75rem;position:absolute;inset-inline:0;bottom:0;z-index:4;min-height:1.65rem;padding:0 .65rem;border-top:1px solid color-mix(in oklab,var(--color-border) 55%,transparent);background:color-mix(in oklab,var(--color-code) 92%,transparent);color:var(--color-muted);font:600 .6rem/1 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,liberation mono,monospace;letter-spacing:.035em;pointer-events:none}.html-editor-editor-footer span:nth-child(2){margin-inline-start:auto;color:var(--color-on-code);font-variant-numeric:tabular-nums}.html-editor-preview-heading{min-height:3.2rem;padding-inline:.65rem;background:var(--color-surface)}.html-editor-preview-title{font-size:.78rem;font-weight:800;color:var(--color-on-surface)}.html-editor-preview-heading .code-tools-heading-side{gap:.6rem}.html-editor-auto-run{padding-inline-end:.35rem}.html-editor-preview-mount{background:color-mix(in oklab,var(--color-background) 92%,var(--color-border));padding:1rem}.html-editor-preview-mount iframe{min-height:20rem;border:1px solid var(--color-border);border-radius:.7rem;box-shadow:0 8px 26px rgb(0 0 0/8%)}.html-editor-preview-mount[data-device=responsive] iframe{box-shadow:inset 0 0 0 1px rgb(255 255 255/.55)}.html-editor-preview-mount[data-device=mobile],.html-editor-preview-mount[data-device=tablet],.html-editor-preview-mount[data-device=desktop]{background:color-mix(in oklab,var(--color-muted) 70%,var(--color-background));padding:1.1rem}.html-editor-preview-mount[data-device=mobile] iframe,.html-editor-preview-mount[data-device=tablet] iframe,.html-editor-preview-mount[data-device=desktop] iframe{border-radius:.85rem;box-shadow:0 12px 30px rgb(0 0 0/.14)}.html-editor-console-shell{margin-top:1rem}.html-editor-console-shell .code-tools-console-panel{border-radius:1rem;box-shadow:0 8px 24px rgb(0 0 0/8%)}.html-editor-console-shell .code-tools-panel-heading{min-height:3rem;padding-inline:.9rem}.html-editor-workspace:focus-within{border-color:color-mix(in oklab,var(--color-primary) 35%,var(--color-border))}@media(max-width:1120px){.html-editor-workspace{height:min(78vh,52rem)}.html-editor-file-pill{max-width:7rem}.html-editor-panel-kicker{display:none}}@media(max-width:900px){.html-editor-app{padding-top:1.5rem}.html-editor-hero{align-items:flex-start;flex-direction:column}.html-editor-actions{width:100%}.html-editor-actions button{flex:1}.html-editor-workspace{height:auto;min-height:0;grid-template-rows:minmax(24rem,58vh)minmax(22rem,58vh)}.html-editor-editor-panel{min-height:0}.html-editor-preview-panel{min-height:0}.html-editor-toolbar{flex-wrap:wrap;padding-block:.25rem}.html-editor-panel-identity{min-height:2.5rem}.html-editor-template-control{margin-inline-start:auto;border-inline-start:0}.html-editor-toolbar-actions{order:3;width:100%;padding-inline-start:.2rem;border-top:1px solid var(--color-border);margin-top:.15rem}.html-editor-toolbar-actions .ui-icon-button{flex:1;width:auto}.html-editor-settings{margin-inline-start:0}.html-editor-preview-heading{align-items:flex-start;flex-wrap:wrap;padding-block:.45rem}.html-editor-preview-heading .code-tools-heading-side{flex-wrap:wrap;justify-content:flex-end}}@media(max-width:600px){.html-editor-app{padding:1.25rem .75rem 3.25rem}.html-editor-title{font-size:clamp(1.65rem,8vw,2.15rem)}.html-editor-description{font-size:.84rem}.html-editor-feature-strip span{font-size:.57rem}.html-editor-status{flex-wrap:wrap;padding-block:.55rem}.html-editor-shortcut{display:none}.html-editor-status-divider{display:none}.html-editor-workspace{grid-template-rows:minmax(19rem,52vh)minmax(19rem,52vh);border-radius:.85rem}.html-editor-panel-identity{flex:1}.html-editor-template-control{width:100%;padding-inline:.45rem;border-top:1px solid var(--color-border);margin-top:.2rem}.html-editor-template-control label{flex:1}.html-editor-template-control select{flex:1;max-width:none}.html-editor-toolbar-actions .ui-icon-button{min-width:0}.html-editor-preview-heading{gap:.4rem}.html-editor-preview-heading .code-tools-heading-side{width:100%;justify-content:space-between}.html-editor-auto-run{font-size:.68rem}.html-editor-preview-mount{padding:.65rem}.html-editor-preview-mount[data-device=mobile],.html-editor-preview-mount[data-device=tablet],.html-editor-preview-mount[data-device=desktop]{padding:.7rem}.html-editor-console-shell{margin-top:.75rem}}@media(prefers-reduced-motion:reduce){.html-editor-app *{scroll-behavior:auto}}