.editor-shell{display:grid;height:100%;min-height:0;grid-template-columns:auto auto minmax(0,1fr) auto;grid-template-rows:auto auto minmax(0,1fr) auto 24px;grid-template-areas:"rail header header header" "rail banner banner banner" "rail left viewer right" "rail bottom bottom bottom" "rail status status status";color:var(--text-primary);font-size:var(--text-sm)}@media (max-width:1023px){.editor-shell{height:max(560px,calc(100dvh - 7.5rem))}}.editor-shell-rail{grid-area:rail;min-height:0}.editor-shell-header{grid-area:header;min-width:0}.editor-shell-banner{grid-area:banner;padding:0 8px}.editor-shell-banner .editor-banner{margin:4px 0}.editor-shell-left{grid-area:left;min-height:0;display:flex}.editor-shell-viewer{grid-area:viewer;min-width:0;min-height:0;display:flex;flex-direction:column;padding:4px 8px 0}.editor-shell-right{grid-area:right;min-height:0;display:flex}.editor-shell-bottom{grid-area:bottom;min-width:0;display:flex;flex-direction:column}.editor-shell-status{grid-area:status;min-width:0}.editor-header{display:flex;min-height:40px;align-items:center;gap:4px;padding:0 24px;min-width:0}.editor-context{display:inline-flex;flex-shrink:1;min-width:0;align-items:center;gap:6px;padding:0 2px;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.editor-heading{display:flex;min-width:0;margin:0;font-size:var(--text-sm);font-weight:600}.editor-title{min-width:0;max-width:28rem;height:28px;padding:0 6px;overflow:hidden;border:1px solid transparent;border-radius:var(--radius-sm);background:transparent;color:var(--text-primary);font:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:text}.editor-title:hover:not([aria-disabled]){border-color:var(--border)}.editor-title[aria-disabled]{cursor:default}.editor-title:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.editor-title-field{width:20rem;max-width:100%;height:28px;padding:0 6px;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--bg-sunken);color:var(--text-primary);font:inherit;caret-color:var(--text-primary)}.editor-title-field:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.editor-save{display:inline-flex;flex-shrink:0;align-items:center;gap:4px;margin-left:4px;color:var(--text-muted);font-size:.75rem;white-space:nowrap}.editor-grow{flex:1}.editor-header-middle{display:inline-flex;flex-shrink:0;align-items:center}.editor-header-actions{display:inline-flex;align-items:center;gap:4px;margin-left:8px}.editor-text-button{display:inline-flex;height:28px;flex-shrink:0;align-items:center;gap:6px;padding:0 8px;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--text-secondary);font:inherit;font-size:var(--text-sm);white-space:nowrap;cursor:pointer}.editor-text-button svg{flex-shrink:0}.editor-text-button:hover{background:var(--bg-2);color:var(--text-primary)}.editor-text-button:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.editor-text-button .studio-ui-shortcut{margin-left:2px}@media (max-width:1023px){.editor-text-button{width:28px;justify-content:center;padding:0}.editor-text-button .editor-text-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.editor-text-button .studio-ui-shortcut{display:none}:is(.editor-add-media,.editor-studios-switch,.editor-panel-trigger){width:auto;padding:0 8px}:is(.editor-add-media,.editor-studios-switch,.editor-panel-trigger) .editor-text-label{position:static;width:auto;height:auto;overflow:visible;clip:auto}}.editor-panel{position:relative;display:flex;min-width:0;min-height:0;flex-direction:column}.editor-panel[data-side=left]{padding:4px 4px 0 8px}.editor-panel[data-side=right]{padding:4px 12px 0 8px}.editor-panel[data-side=bottom]{width:100%;padding:0 8px}.editor-resize{position:absolute;z-index:2;touch-action:none}.editor-resize[data-side=left]{top:0;right:-4px;bottom:0;width:8px;cursor:col-resize}.editor-resize[data-side=right]{top:0;left:-4px;bottom:0;width:8px;cursor:col-resize}.editor-resize[data-side=bottom]{top:-4px;right:0;left:0;height:8px;cursor:row-resize}.editor-resize:after{content:"";position:absolute;background:transparent;transition:background-color .12s}.editor-resize[data-side=left]:after,.editor-resize[data-side=right]:after{top:0;bottom:0;left:3px;width:2px}.editor-resize[data-side=bottom]:after{top:3px;right:0;left:0;height:2px}.editor-resize:is(:hover,:focus-visible,:active):after{background:var(--border-strong)}.editor-resize:focus-visible{outline:none}.editor-resize:focus-visible:after{background:var(--focus-ring)}.editor-empty{display:grid;grid-template-columns:minmax(0,1fr);flex:1;align-content:center;justify-items:center;gap:4px;min-height:0;padding:16px;text-align:center}.editor-empty-title{margin:0;color:var(--text-secondary);font-size:var(--text-sm);font-weight:500}.editor-empty-text{max-width:32ch;margin:0;color:var(--text-muted);font-size:.75rem;line-height:18px}.editor-inspector{display:flex;min-height:0;flex:1;flex-direction:column}.editor-inspector-head{display:flex;min-height:32px;align-items:center;gap:8px}.editor-inspector-title{margin:0;overflow:hidden;font-size:.875rem;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.editor-inspector-detail{flex-shrink:0;color:var(--text-muted);font-size:.75rem}.editor-inspector-body{min-height:0;flex:1;overflow-y:auto;padding:4px 0 12px}.editor-facts{display:grid;gap:2px;margin:4px 0 0}.editor-fact{display:grid;grid-template-columns:96px minmax(0,1fr);min-height:28px;align-items:center;gap:8px}.editor-fact dt{color:var(--text-muted);font-size:.75rem}.editor-fact dd{margin:0;font-variant-numeric:tabular-nums}.editor-status{display:flex;height:24px;align-items:center;gap:12px;padding:0 16px;color:var(--text-muted);font-size:.6875rem;white-space:nowrap}.editor-status-context,.editor-status-notice{min-width:0;overflow:hidden;text-overflow:ellipsis}.editor-status-notice{color:var(--text-secondary)}.editor-status-notice[data-tone=error]{color:var(--status-error)}.editor-hints{display:flex;align-items:center;gap:14px;margin-left:auto}.editor-hint{display:inline-flex;align-items:center;gap:4px}.editor-hint-button{height:20px;padding:0 4px;border:0;border-radius:var(--radius-sm);background:transparent;color:inherit;font:inherit;cursor:pointer}.editor-hint-button:hover{color:var(--text-primary)}.editor-hint-button:focus-visible{outline:2px solid var(--focus-ring);outline-offset:1px}.studio-ui-dialog.editor-sheet{width:min(40rem,calc(100vw - 2rem))}.editor-sheet-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));gap:16px 24px;margin-top:8px}.editor-sheet-title{margin:0 0 4px;color:var(--text-muted);font-size:.6875rem;font-weight:500;letter-spacing:.02em;text-transform:uppercase}.editor-sheet-list{display:grid;margin:0;padding:0;list-style:none}.editor-sheet-row{display:flex;min-height:28px;align-items:center;justify-content:space-between;gap:12px}.editor-sheet-alternative,.editor-sheet-keys{display:inline-flex;align-items:center;gap:6px}.editor-sheet-or{color:var(--text-muted);font-size:.6875rem}.editor-sheet-notes{display:grid;gap:4px;margin-top:16px;color:var(--text-muted);font-size:.75rem;line-height:18px}.editor-sheet-notes p{margin:0}.editor-drawer{position:fixed;top:0;bottom:0;z-index:71;display:flex;width:min(20rem,calc(100vw - 3rem));flex-direction:column;border:1px solid var(--border);background:var(--solid-panel);color:var(--text-primary);outline:none;transition:transform .16s,opacity .16s}.editor-drawer[data-side=left]{left:0;border-radius:0 var(--radius-md) var(--radius-md) 0}.editor-drawer[data-side=right]{right:0;border-radius:var(--radius-md) 0 0 var(--radius-md)}.editor-drawer[data-side=left]:is([data-starting-style],[data-ending-style]){opacity:0;transform:translateX(-12px)}.editor-drawer[data-side=right]:is([data-starting-style],[data-ending-style]){opacity:0;transform:translateX(12px)}.editor-drawer[data-side=bottom]{top:auto;right:0;bottom:0;left:0;width:auto;max-height:85dvh;border-width:1px 0 0;border-radius:var(--radius-md) var(--radius-md) 0 0}.editor-drawer[data-side=bottom]:is([data-starting-style],[data-ending-style]){opacity:0;transform:translateY(12px)}.editor-drawer-head{display:flex;height:40px;flex-shrink:0;align-items:center;justify-content:space-between;padding:0 8px 0 12px}.editor-drawer-title{margin:0;font-size:var(--text-sm);font-weight:600}.editor-drawer-body{display:flex;min-height:0;flex:1;flex-direction:column;overflow-y:auto;padding:4px 12px 12px}@media (pointer:coarse){.editor-shell:not([data-layout=phone]){grid-template-rows:auto auto minmax(0,1fr) auto 44px}.editor-shell:not([data-layout=phone]) .editor-header{height:52px}.studio-shell .studio-button.editor-icon-button{width:44px;height:44px}.editor-shell:not([data-layout=phone]) :is(.editor-heading,.editor-title){min-width:44px}.editor-title{height:44px}.editor-text-button{min-height:44px}.editor-shell:not([data-layout=phone]) .editor-status{height:44px}.editor-hint-button{min-height:44px}.editor-resize[data-side=left]{right:-10px;width:20px}.editor-resize[data-side=right]{left:-10px;width:20px}.editor-resize[data-side=bottom]{top:-10px;height:20px}.editor-resize[data-side=left]:after,.editor-resize[data-side=right]:after{left:9px}.editor-resize[data-side=bottom]:after{top:9px}}.editor-drawer[data-side=full]{inset:0;width:auto;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);border:0;border-radius:0}.editor-drawer[data-side=full]:is([data-starting-style],[data-ending-style]){opacity:0;transform:translateY(12px)}.editor-drawer[data-side=bottom],.editor-shell[data-layout=phone]{padding-bottom:env(safe-area-inset-bottom)}.editor-shell[data-layout=phone]{height:auto;grid-template-columns:minmax(0,1fr);grid-template-rows:auto;grid-template-areas:"header" "banner" "viewer" "bottom" "status"}.editor-shell[data-layout=phone] .editor-header{height:52px;gap:0;padding:0 2px}.editor-shell[data-layout=phone] .editor-header :is(.editor-icon-button,.editor-text-button,.studio-ui-menu-trigger){width:44px;height:44px}.editor-shell[data-layout=phone] .editor-heading{flex:1;font-size:.875rem}.editor-shell[data-layout=phone] .editor-title{height:44px;max-width:100%}.editor-shell[data-layout=phone] .editor-title-field{width:100%;height:44px;font-size:1rem}.editor-shell[data-layout=phone] .editor-grow{display:none}.editor-shell[data-layout=phone] .editor-save{margin:0 4px 0 0}.editor-shell[data-layout=phone] .editor-save[data-settled] .editor-save-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.editor-shell[data-layout=phone] .editor-header-actions{gap:0;margin-left:0}.editor-shell[data-layout=phone] .editor-header :is(.editor-studios-switch,.editor-panel-trigger){width:auto;padding:0 6px}.editor-shell[data-layout=phone] .editor-header .editor-add-media .editor-text-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.editor-shell[data-layout=phone] .editor-header>:is(.editor-heading,.editor-title){min-width:0;flex:1 1 auto}.editor-shell[data-layout=phone] .editor-shell-viewer{padding:0}.editor-shell[data-layout=phone] .editor-panel[data-side=bottom]{height:auto!important;padding:0}.editor-shell[data-layout=phone] .editor-resize{display:none}.editor-shell[data-layout=phone] .editor-status{height:auto;min-height:28px;padding:4px 12px;white-space:normal}.editor-shell[data-layout=phone] .editor-hints{display:none}@media (prefers-reduced-motion:reduce){.editor-drawer,.editor-resize:after{transition:none}}@media (max-width:1023px){.editor-shell:not([data-layout=phone]){grid-template-rows:auto auto minmax(0,1fr) auto 24px}.editor-shell:not([data-layout=phone]) .editor-header{height:auto;min-height:76px;flex-wrap:wrap;padding-block:4px}.editor-shell:not([data-layout=phone]) .editor-context{display:none}.editor-shell:not([data-layout=phone]) .editor-header-actions{flex-basis:100%;justify-content:flex-end;flex-wrap:wrap;margin-left:0}.editor-shell:not([data-layout=phone]) .editor-heading{flex:1}.editor-shell:not([data-layout=phone]) .editor-hints>span{display:none}}@media (max-width:1023px) and (pointer:coarse){.editor-shell:not([data-layout=phone]){grid-template-rows:auto auto minmax(0,1fr) auto 44px}.editor-shell:not([data-layout=phone]) .editor-header{min-height:100px}}