/* Package 2: predictable desktop workspace; existing compact/tablet geometry stays in its adapter. */
[data-sc-welcome]{overflow:auto!important;background:var(--sc-bg)!important;color:var(--sc-text)}
[data-sc-welcome]>.relative{height:auto!important;min-height:100%;padding:32px 24px!important;gap:24px}
[data-sc-welcome] .max-w-3xl{max-width:820px}
[data-sc-welcome] .mb-12{margin-bottom:28px}
[data-sc-welcome] .text-4xl{font-size:clamp(30px,4vw,44px);line-height:1.15;color:var(--sc-text)}
[data-sc-welcome] .text-xl.mb-8{margin-bottom:16px;font-size:18px;color:var(--sc-muted)}
.sc-welcome-actions{flex-wrap:wrap!important;gap:12px!important}
.sc-welcome-actions>button{min-height:44px!important;padding:10px 18px!important;font-size:14px!important;border:1px solid var(--sc-line)!important;background:var(--sc-surface)!important;color:var(--sc-text)!important}
.sc-welcome-actions>button:nth-child(2){order:-1;background:var(--sc-action)!important;color:var(--sc-action-text)!important;border-color:var(--sc-action)!important}
.sc-welcome-preference{position:static!important;transform:none!important;flex-wrap:wrap;justify-content:center;gap:12px!important;padding:0 12px;font-size:12px;color:var(--sc-muted)}
.editor-shell:not(.editor-compact)>header{gap:10px!important}
.editor-shell:not(.editor-compact)>header>[data-editor-header=utilities]{display:flex!important;flex-direction:row!important;align-items:center;width:auto!important;gap:3px!important;padding:0 8px!important;border:0!important;border-left:1px solid var(--border)!important;border-right:1px solid var(--border)!important;background:transparent!important;flex-shrink:0}
.editor-shell:not(.editor-compact)>header>[data-editor-header=utilities]>div.flex-1,.editor-shell:not(.editor-compact)>header>[data-editor-header=utilities]>div.h-px{display:none}
.editor-shell:not(.editor-compact)>header>[data-editor-header=utilities] button{min-width:34px;min-height:36px}
.editor-shell:not(.editor-compact)>header>[data-editor-header=project]{justify-content:flex-start!important}
.editor-shell:not(.editor-compact)>header>[data-editor-header=pin]{margin-left:0!important}
.sc-inspector-empty{padding:28px 20px;color:var(--fg-muted);font-size:13px;line-height:1.6}
.sc-inspector-empty strong{display:block;color:var(--fg);font-size:15px;margin-bottom:8px}
.sc-inspector-empty p{margin:0}
/* Fixed transport geometry: changing selection cannot add/remove a control row. */
.editor-shell:not(.editor-compact) [data-preview-transport]{display:grid!important;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:40px 40px;grid-template-areas:"time playback" "tools tools";height:96px;min-height:96px;padding:6px 12px!important;gap:4px 12px!important;align-items:center}
.editor-shell:not(.editor-compact) [data-preview-timecode]{grid-area:time;min-width:0;overflow:hidden}
.editor-shell:not(.editor-compact) [data-preview-playback]{grid-area:playback;margin:0!important;gap:8px!important}
.editor-shell:not(.editor-compact) [data-preview-tools]{grid-area:tools;display:flex!important;align-items:center;justify-content:center;gap:8px!important;min-width:0}
.editor-shell:not(.editor-compact) [data-preview-tools]>button,.editor-shell:not(.editor-compact) [data-preview-playback] button{min-width:36px;min-height:36px}
.editor-shell:not(.editor-compact) [data-tour=preview]>.flex-1{transition:none!important}
.sc-preview-view{position:relative;flex-shrink:0}
.sc-preview-view>summary{display:flex;align-items:center;justify-content:center;gap:10px;min-height:36px;padding:7px 12px;background:var(--bg-2);color:var(--fg-2);border:1px solid var(--border);border-radius:10px;cursor:pointer;font:600 12px var(--sc-font);list-style:none;white-space:nowrap}
.sc-preview-view>summary::-webkit-details-marker{display:none}
.sc-preview-view>summary:after{content:"";width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin-top:-3px}
.sc-preview-view[open]>summary{background:var(--accent-soft);color:var(--accent);border-color:var(--accent)}
.sc-preview-view-panel{position:absolute;right:0;bottom:calc(100% + 10px);z-index:90;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:280px;max-width:calc(100vw - 32px);padding:14px;background:var(--bg-1);color:var(--fg);border:1px solid var(--border);border-radius:12px;box-shadow:0 10px 36px #10251c33}
.sc-preview-option{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:40px;min-width:0}
.sc-preview-option>span{font:500 11px/1.3 var(--sc-font);color:var(--fg-2)}
.sc-preview-option button{min-width:36px;min-height:36px}
/* Timeline action areas stay large enough to target; scrolling handles narrow desktops. */
.editor-shell:not(.editor-compact) [data-sc-timeline-toolbar]{height:52px;min-height:52px;gap:6px!important;padding:6px 10px!important;overflow-x:auto;overflow-y:hidden}
.editor-shell:not(.editor-compact) .sc-timeline-action{flex-shrink:0;width:36px;min-width:36px;height:36px;min-height:36px;border:1px solid transparent;border-radius:9px}
.editor-shell:not(.editor-compact) .sc-timeline-action:hover:not(:disabled){background:var(--bg-2);color:var(--fg)}
.sc-timeline-action[aria-pressed=true]{background:var(--accent-soft);color:var(--accent);border-color:var(--accent)!important}
.editor-shell .sc-timeline-action:disabled{opacity:.35}
.editor-shell:not(.editor-compact) [data-timeline-track-header] button{min-width:28px;min-height:32px;display:inline-grid;place-items:center;border-radius:7px}
[data-timeline-track-header] button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}
[data-timeline-track-header][data-track-hidden=true]{background:repeating-linear-gradient(135deg,var(--bg-1),var(--bg-1) 6px,var(--bg-2) 6px,var(--bg-2) 12px)}
[data-timeline-track-header][data-track-locked=true]{box-shadow:inset 3px 0 var(--accent)}
.editor-shell button.rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}
.editor-shell button.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}
@media(min-width:1700px){.editor-shell:not(.editor-compact) [data-preview-transport]{grid-template-columns:auto auto minmax(0,1fr);grid-template-rows:44px;grid-template-areas:"time playback tools";height:60px;min-height:60px}.editor-shell:not(.editor-compact) [data-preview-tools]{justify-content:flex-end}}
@media(max-width:1100px){.editor-shell:not(.editor-compact)>header>[data-editor-header=utilities]{gap:0!important;padding:0 3px!important}.editor-shell:not(.editor-compact)>header{gap:6px!important}.editor-shell:not(.editor-compact) [data-sc-timeline-toolbar] input[type=range]{max-width:100px}}
@media(max-width:640px){.sc-welcome-actions>button{flex:1 1 180px}.sc-preview-view-panel{position:fixed;left:12px;right:12px;bottom:80px;width:auto;max-width:none}.sc-preview-option{min-height:44px}.sc-preview-option button,.sc-preview-view>summary{min-height:44px}}
@media(prefers-reduced-motion:reduce){[data-sc-welcome] *{transition:none!important}}
