/* Miro/Figma-inspired hierarchy; OneCanvas owns its identity and engine. */
:root { --oc-topbar-h:52px; --oc-r-control:6px; --oc-r-card:8px; --oc-r-panel:10px; --oc-fs-ui:13px; --oc-fs-meta:12px; --oc-fs-micro:11px; }
:root[data-theme="light"] { --oc-bg:#f5f5f4; --oc-surface:#fff; --oc-surface-2:#f5f5f6; --oc-surface-3:#eceef0; --oc-text:#30333a; --oc-text-2:#747983; --oc-text-3:#a1a5ae; --oc-line:#e3e5e8; --oc-line-strong:#cbd0d7; --oc-accent:#315fdf; --oc-accent-soft:#edf2ff; --oc-grid-dot:#d8dbe0; --surface-0:#f5f5f4; }
:root[data-theme="dark"] { --oc-bg:#222428; --oc-surface:#2b2e33; --oc-surface-2:#33373d; --oc-surface-3:#41454d; --oc-text:#e7e9ed; --oc-text-2:#a6acb7; --oc-line:#41464e; --oc-grid-dot:#42474f; }
#topbar { padding-right:14px; gap:7px; z-index:49; }
/* Canvas controls stay above objects, inside a layer below header menus. */
#app { grid-template-rows:var(--oc-topbar-h) minmax(0,1fr) var(--oc-bottombar-h); }
#stage { isolation:isolate; min-height:0; }
#left,#leftPanel,#right { min-height:0; }
body[data-experience-shell="1"] #topbar { padding-left:242px; }
#experienceNav { gap:8px; padding-left:14px; max-width:238px; z-index:50; }
#experienceNav .experience-brand { font-size:16px; padding-right:2px; }
#experienceAccessBadge { display:inline-flex; align-items:center; gap:5px; white-space:nowrap; height:23px; border:0; font-size:10px; font-weight:500; padding:0 7px; }
#topbar .doc-title { width:clamp(140px,20vw,270px); font-size:14px; font-weight:550; min-width:120px; }
#topbar .save-status { background:none; font-size:11px; padding:0 7px; white-space:nowrap; }
#topbar .save-status::before { width:5px; height:5px; }
#topbar .save-status:is([data-state="error"],[data-state="offline"]) { background:var(--oc-danger-soft); }
.global-search-trigger { min-width:0; width:76px; height:32px; background:transparent; border-color:transparent; font-size:12px; }
#topbar #btnSharedBrowser { font-size:12px; padding:0 7px; }
.tbtn { font-size:12px; font-weight:500; }
#btnAiSettings.ai-connect-top-trigger { background:transparent; border-color:transparent; color:var(--text-2); }
#btnAiSettings.ai-connect-top-trigger:hover { background:var(--oc-accent-soft); }
.presence .chip { max-width:140px; font-size:11px; height:26px; padding:0 8px; }
.presence .chip .dot { width:5px; height:5px; }
.collaboration-trigger { display:flex; align-items:center; list-style:none; gap:6px; white-space:nowrap; }
.collaboration-trigger::-webkit-details-marker { display:none; }
.collaboration-trigger>span { color:var(--text-2); font-size:12px; }
body[data-onecanvas-access="viewer"] .collaboration-menu { display:none; }
.topbar-overflow-menu { border-radius:8px; padding:5px; box-shadow:0 6px 24px #11182714; min-width:214px; max-height:calc(100dvh - 120px); overflow:auto; }
.topbar-overflow-menu .tbtn { height:35px; font-size:12px; }
#quickFeaturePins { display:grid; gap:2px; }
.feature-pin { position:relative; }
.feature-pin input { inset:0; width:100%; height:100%; margin:0; pointer-events:auto; cursor:pointer; }
.feature-pin:focus-within { outline:2px solid var(--accent); outline-offset:2px; }
#quickFeaturePins .qd-btn.is-feature { display:flex; justify-content:flex-start; min-width:100%; width:100%; height:36px; padding:0 10px; border:0; border-radius:5px; color:var(--text-1); background:none; }
#quickFeaturePins .qd-btn.is-feature:hover { background:var(--surface-2); }
#quickFeaturePins .qd-btn strong { display:inline; font-size:13px; font-weight:450; }
#quickFeaturePins .qd-icon { font-size:16px; width:22px; }
#quickFeaturePins .qd-badge { margin-left:auto; }
.topbar-overflow-menu #playgroundFollowupLauncher { position:static; display:flex; width:100%; min-width:0; min-height:35px; margin:0; padding:0 10px; border:0; border-radius:5px; color:var(--text-2); background:transparent; box-shadow:none; font:500 12px var(--oc-font); transform:none; }
.topbar-overflow-menu #playgroundFollowupLauncher:hover { background:var(--surface-2); }
#left .tabs { padding:6px 8px 0; gap:0; }
#left .tabs button { height:37px; font-size:12px; font-weight:550; }
.panel-section-head { font-size:11px; font-weight:550; height:29px; }
.page-section { padding-top:9px; padding-bottom:13px; }
.page-row { border-radius:4px; font-size:12px; min-height:33px; padding:7px 8px; }
.page-row.active { color:var(--accent); }
.page-row .page-icon { background:none; border:0; font-size:10px; width:18px; }
.page-row .page-count { font-size:10px; color:var(--text-2); }
.layer-section-head { font-size:11px; font-weight:550; padding-top:14px; }
#layerSearch { border-radius:5px; height:29px; font-size:11px; background:var(--surface-2); }
.layer-tools { gap:4px; padding-bottom:12px; }
.layer-tools button { font-size:12px; min-height:32px; font-weight:450; border-color:var(--line); }
.layer-row { font-size:12px; min-height:29px; }
.layer-row .glyph { border:0; background:none; width:22px; color:var(--text-2); font-size:11px; }
.layer-row .rbtn { opacity:0; }
.layer-row:hover .rbtn,.layer-row:focus-within .rbtn { opacity:1; }
.workspace-panel-toggle { width:66px; height:32px; display:flex; align-items:center; justify-content:center; gap:5px; border-radius:6px; box-shadow:0 2px 7px #20242b0b; }
.oc-panel-name { font-size:11px; font-weight:500; }
#leftPanelToggle { left:14px; top:14px; }
#rightPanelToggle { right:14px; top:14px; }
#right::before { display:none; }
#right>.panel-title { height:44px; font-size:12px; font-weight:550; padding-left:17px; }
#inspector { padding:13px 17px 20px; }
#inspector h4 { font-size:11px; font-weight:550; margin:8px 0 12px; }
#inspector .row2 .fld { display:grid; grid-template-columns:14px minmax(0,1fr); gap:4px; }
#inspector .row2 .fld>span { width:auto; }
#inspector .row2 input { padding:0 6px; font-variant-numeric:tabular-nums; }
#inspector .inspector-zoom-selection { align-self:flex-start; min-height:30px; padding:0 9px; border:1px solid var(--line); border-radius:4px; color:var(--accent); background:var(--surface-1); font-size:12px; }
#inspector .inspector-zoom-selection:hover { background:var(--oc-accent-soft); }
#selbox .handle { background:transparent; border:0; box-shadow:none; }
#selbox .handle::before { content:""; position:absolute; inset:5px; border:1px solid var(--accent); border-radius:1px; background:var(--surface-1); pointer-events:none; }
@media(pointer:coarse) { #selbox .handle::before { inset:2px; border-radius:3px; } }
.fld { font-size:12px; gap:8px; }
.fld>span { width:58px; font-size:11px; }
.fld :is(input,select,textarea) { font-size:12px; border-color:transparent; background:var(--surface-2); height:30px; border-radius:4px; }
.fld textarea { height:auto; }
.fld :is(input,select,textarea):focus-visible { border-color:var(--accent); }
#bottombar { border-top:1px solid var(--line); background:var(--surface-1); }
#bottombar .hint { color:var(--text-2); font-size:10px; }
#bottombar .tbtn { font-size:11px; }
#activityPanel:not(.open) { visibility:hidden; }
#activityPanel.open { visibility:visible; }
#helpModal .modal-card { max-height:calc(100dvh - 48px); overflow:auto; }
#helpModal h2 { font-size:22px; }
#helpModal table { font-size:13px; line-height:1.65; }
#focus .pro-code-panel textarea { min-height:clamp(160px,26dvh,260px); font-family:ui-monospace,Consolas,monospace; }
#quickDock { gap:2px; padding:5px; width:max-content; max-width:calc(100% - 36px); left:50%; right:auto; transform:translateX(-50%); bottom:calc(var(--oc-bottombar-h) + 14px); border-radius:9px; box-shadow:0 3px 8px #20242b09,0 8px 24px #20242b12; background:var(--surface-1); }
#quickDock .qd-btn { width:36px; height:36px; border-radius:5px; }
#quickDock .qd-icon { display:grid; place-items:center; font-size:17px; }
#quickDock .qd-icon svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; }
#quickDock .qd-key { display:none; }
#quickDock .qd-btn.is-feature { min-width:65px; padding:0 9px; gap:5px; }
#quickDock .qd-btn.is-feature strong { font-size:11px; font-weight:550; }
#quickDock .qd-btn.launcher { min-width:58px; padding:0 8px; gap:3px; background:var(--surface-2); border-color:transparent; color:var(--text-1); }
#quickDock .qd-btn.launcher strong { font-size:11px; font-weight:550; }
#quickDock .qd-sep { margin:0 5px; height:22px; }
#quickDock .ai-connect-trigger { border-color:transparent; color:var(--accent); background:transparent; }
#quickDock .ai-connect-trigger:hover { background:var(--oc-accent-soft); }
#quickDock .ai-connect-trigger::before { display:none; }
#minimapBox { box-shadow:0 3px 12px #20242b0b; border-radius:7px; }
#experienceTasks { top:14px; right:94px; width:292px; max-height:calc(100% - 105px); padding:14px; border-radius:8px; border-color:var(--line); box-shadow:0 5px 24px #20242b13; background:var(--surface-1); }
#experienceTasks.experience-tasks-collapsed { width:216px; padding:7px 9px 7px 13px; }
#experienceTasks .experience-task-head { gap:12px; align-items:center; padding:0; }
#experienceTasks .experience-task-kicker { display:flex; align-items:center; gap:12px; color:var(--text-2); font-size:11px; letter-spacing:0; font-weight:550; }
#experienceTasksProgressText { font-size:10px; color:var(--text-2); font-weight:450; }
#experienceTasks h2 { margin:7px 0 0; font-size:13px; font-weight:550; line-height:1.5; }
#experienceTasks.experience-tasks-collapsed h2 { display:none; }
#experienceTasksToggle { width:27px; height:27px; border:0; background:var(--surface-2); border-radius:4px; color:var(--text-2); font-size:16px; }
.experience-task-progress-copy { margin:14px 0 7px; font-size:11px; color:var(--text-2); }
.experience-task-progress { height:3px; }
.experience-task-list { gap:0; margin-top:9px; }
.experience-task-button { border:0; border-bottom:1px solid var(--line); border-radius:0; background:transparent; padding:12px 0; gap:10px; }
.experience-task-button:hover { background:var(--surface-2); }
.experience-task-check { width:20px; height:20px; font-size:10px; background:var(--oc-accent-soft); border-radius:4px; }
.experience-task-copy strong { font-size:12px; font-weight:550; }
.experience-task-copy small { font-size:10px; line-height:1.5; }
#experienceTasksFinish { font-size:10px; line-height:1.7; margin:12px 0 0; color:var(--text-2); }
.experience-task-fields { margin-top:13px; }
.experience-task-fields :is(input,textarea,button) { font-size:12px; }
/* Connection status is first; secondary setup and model details stay reachable. */
#aiConnectBackdrop { top:var(--oc-topbar-h); right:0; bottom:var(--oc-bottombar-h); width:min(410px,100vw); }
#aiConnectPanel { width:100%; max-width:100%; height:100%; max-height:100%; border-radius:0; background:var(--surface-1); }
.ai-connect-head { padding:21px 22px 17px; gap:14px; border-bottom:1px solid var(--line); }
.ai-connect-head>div>span { font-size:10px; letter-spacing:.07em; color:var(--text-2); }
.ai-connect-head h2 { font-size:19px; font-weight:600; margin-top:7px; letter-spacing:-.035em; }
.ai-connect-head p { font-size:12px; line-height:1.7; color:var(--text-2); margin-top:7px; }
#aiConnectClose { display:grid; place-items:center; width:32px; min-width:32px; height:32px; padding:0; font-size:0; border-radius:5px; background:var(--surface-2); }
#aiConnectClose::before { font-size:21px; line-height:1; }
.ai-connect-body { padding:0 22px 22px; gap:0; }
.ai-connection-journey,.ai-workbench-selection,.ai-workbench-compose,.ai-workbench-proposal { display:block; padding:18px 0; margin:0; border:0; border-radius:0; box-shadow:none; background:transparent; border-bottom:1px solid var(--line); }
.ai-connection-heading { margin:0 0 13px; align-items:center; }
.ai-connection-heading>div>span { display:none; }
.ai-connection-heading h3 { font-size:13px; margin:0; font-weight:600; }
.ai-provider-state { font-size:10px; font-weight:500; padding:3px 6px; border-radius:4px; }
.ai-workbench-status { padding:12px 13px; border:0; border-radius:6px; background:var(--surface-2); }
.ai-workbench-status>div>span { font-size:10px; }
.ai-workbench-status strong { font-size:12px; }
.ai-workbench-status p { font-size:12px; line-height:1.65; margin-top:6px; }
.ai-connect-setup { min-height:42px; padding:10px 13px; margin-top:12px; border-radius:6px; gap:5px; box-shadow:none; }
.ai-connect-setup>span { font-size:13px; font-weight:550; }
.ai-connect-setup small { font-size:10px; font-weight:400; }
.oc-ai-setup-steps,.ai-connect-recovery,.ai-provider-alternatives,.oc-ai-alternatives,.oc-ai-output-options { border:0; border-radius:0; background:transparent; padding:0; margin:10px 0 0; box-shadow:none; }
.oc-ai-setup-steps>summary,.ai-connect-recovery>summary,.ai-provider-alternatives>summary,.oc-ai-alternatives>summary,.oc-ai-output-options>summary { display:list-item; list-style:disclosure-closed inside; cursor:pointer; color:var(--text-2); font-size:11px; font-weight:450; padding:7px 0; }
:is(.oc-ai-setup-steps,.ai-connect-recovery,.ai-provider-alternatives,.oc-ai-alternatives,.oc-ai-output-options)[open]>summary { list-style-type:disclosure-open; color:var(--text-1); }
.ai-provider-card { padding:12px 0 5px; margin:0; border:0; border-radius:0; background:none; }
.ai-provider-mark { width:30px; height:30px; border-radius:5px; font-size:10px; }
.ai-provider-card strong { font-size:12px; }
.ai-provider-card>div>span,.ai-provider-support { font-size:10px; }
.ai-connect-steps { margin:10px 0; gap:5px; }
.ai-connect-steps li { padding:8px 5px; border:0; background:var(--surface-2); border-radius:5px; gap:6px; }
.ai-connect-steps li>span { width:16px; height:16px; font-size:9px; }
.ai-connect-steps strong { font-size:10px; }
.ai-connect-steps small { font-size:9px; }
.ai-connect-recovery ol,.ai-provider-alternatives>div { padding:8px 12px; font-size:11px; line-height:1.8; }
.ai-connection-privacy { font-size:10px; line-height:1.8; color:var(--text-2); margin:12px 0 0; }
.oc-ai-alternatives { padding:8px 0; margin:0; border-bottom:1px solid var(--line); }
.ai-settings-entry { margin:0; padding:13px 0; border:0; background:none; border-radius:0; }
.ai-settings-entry h3 { font-size:13px; }
.ai-settings-entry p { font-size:11px; line-height:1.8; }
.ai-settings-entry-actions { gap:8px; }
.ai-settings-entry-actions>a,.ai-settings-entry-actions>button { padding:11px; border-radius:5px; box-shadow:none; }
.ai-settings-entry-actions strong { font-size:12px; }
.ai-settings-entry-actions small { font-size:10px; }
.ai-connect-section-head h3 { font-size:13px; font-weight:600; }
.ai-connect-section-head>span,.ai-workbench-selection-head span { font-size:10px; }
.ai-workbench-selection-list { margin-top:12px; }
.ai-workbench-selection-empty { border:1px dashed var(--line); background:none; padding:16px 12px; border-radius:5px; }
.ai-workbench-selection-empty b { font-size:12px; font-weight:500; }
.ai-workbench-selection-empty span { font-size:11px; line-height:1.75; }
.ai-connect-context { font-size:10px; color:var(--text-2); }
#aiWorkbenchRegionSelect { font-size:10px; padding:5px 8px; border-radius:5px; }
.ai-workbench-presets { margin:13px 0 15px; gap:6px; }
.ai-workbench-presets button { font-size:11px; padding:6px 9px; border-radius:5px; background:var(--surface-2); border:0; }
.ai-workbench-compose>label { font-size:11px; color:var(--text-2); }
#aiWorkbenchPrompt { font-size:13px; line-height:1.7; min-height:116px; border-radius:6px; border-color:var(--line); padding:12px; }
.ai-workbench-output-route { margin-top:10px; padding:0; background:none; border:0; }
.ai-workbench-model-controls { padding:12px 0 0; gap:7px; }
.ai-workbench-model-controls select { font-size:11px; padding:7px; border-radius:5px; }
.ai-workbench-output-route label,.ai-workbench-model-controls label>span { font-size:11px; }
.ai-workbench-output-route p,.ai-workbench-model-hint { font-size:10px; line-height:1.8; }
.ai-workbench-arrange { font-size:11px; padding:10px; border-radius:5px; }
.ai-workbench-run { margin-top:15px; min-height:42px; border-radius:6px; font-size:13px; box-shadow:none; }
.ai-workbench-run small { font-size:10px; }
.ai-connect-boundary { margin:0; padding:17px 0 0; border:0; border-radius:0; background:none; }
.ai-connect-boundary strong { font-size:11px; font-weight:550; }
.ai-connect-boundary p { font-size:10px; line-height:1.8; color:var(--text-2); }
.ai-connect-foot { padding:13px 22px; font-size:11px; }
.ai-connect-foot #aiConnectPersonal { color:var(--text-2); border:1px solid var(--line); background:var(--surface-1); font-size:11px; box-shadow:none; padding:8px; }
.ai-connect-foot #aiConnectGuide { color:var(--text-2); font-size:11px; border:0; background:none; padding:4px 0; }
@media(min-width:901px) {
  #app:not(.panel-left-collapsed):not(.panel-right-collapsed) #quickDock { left:calc((100% + var(--leftw) - var(--rightw))/2); max-width:calc(100% - var(--leftw) - var(--rightw) - 28px); }
  #app:not(.panel-left-collapsed).panel-right-collapsed #quickDock { left:calc((100% + var(--leftw))/2); max-width:calc(100% - var(--leftw) - 28px); }
  #app.panel-left-collapsed:not(.panel-right-collapsed) #quickDock { left:calc((100% - var(--rightw))/2); max-width:calc(100% - var(--rightw) - 28px); }
}
@media(min-width:901px) and (max-width:1200px) {
  body[data-experience-shell="1"] #topbar { padding-left:225px; }
  #topbar .doc-title { min-width:130px; width:160px; }
  #topbar .global-search-trigger { width:32px; font-size:0; }
  #topbar #btnSharedBrowser { display:none; }
  #topbar #btnActivity { font-size:0; }
  #topbar #btnActivity .activity-count { font-size:10px; }
  .presence .chip { max-width:100px; }
  #quickDock .qd-btn { width:32px; height:34px; }
}
@media(max-width:900px) {
  #experienceNav { max-width:none; width:100%; height:34px; padding:0 11px; }
  #experienceNav .experience-brand { font-size:14px; }
  #experienceNav .experience-spacer { display:block; }
  body[data-experience-shell="1"] #app { margin-top:34px; height:calc(100% - 34px); }
  body[data-experience-shell="1"] #topbar { padding-left:8px; }
  #topbar { padding-right:8px; gap:4px; }
  #topbar .doc-title { min-width:50px; width:auto; flex:1; font-size:12px; }
  .mobile-panel-toggle { font-size:11px; padding:0 8px; height:33px; }
  #topbar .save-status { font-size:10px; height:22px; }
  body[data-experience-shell="1"] #topbar .save-status { top:calc(var(--oc-topbar-h) + 41px); }
  .collaboration-trigger { padding:0 7px; height:32px; font-size:11px; }
  #topbar #btnSharedBrowser { display:none; }
  .topbar-overflow-menu { min-width:208px; max-width:calc(100vw - 24px); }
  body[data-experience-shell="1"] #app #left,body[data-experience-shell="1"] #app #right { top:calc(var(--oc-topbar-h) + 34px); }
  #app.mobile-left-open #left,body[data-onecanvas-access="viewer"] #app.mobile-left-open #left,body:not([data-onecanvas-access="viewer"]) #app.mobile-right-open #right { display:flex; }
  #app:not(.mobile-left-open) #left,#app:not(.mobile-right-open) #right { visibility:hidden; pointer-events:none; }
  body[data-experience-shell="1"] #mobilePanelBackdrop { top:calc(var(--oc-topbar-h) + 34px); }
  #leftPanelToggle,#rightPanelToggle { display:none; }
  #quickDock { display:grid; grid-template-columns:minmax(0,1fr) 44px 44px; left:12px; right:12px; transform:none; width:auto; max-width:none; overflow:visible; padding:5px; bottom:calc(var(--oc-bottombar-h) + 10px); }
  #quickDock #quickToolPins { display:flex; gap:2px; overflow-x:auto; scrollbar-width:thin; scrollbar-color:var(--line) transparent; touch-action:pan-x; }
  #quickDock .qd-sep { display:none; }
  #quickDock .qd-btn { min-width:44px; width:44px; height:44px; }
  #quickDock .qd-btn.launcher { position:static; min-width:44px; width:44px; padding:0; background:var(--surface-2); box-shadow:none; }
  #quickDock #btnAiConnect { min-width:44px; width:44px; padding:0; background:var(--oc-accent-soft); }
  #quickDock #btnAiConnect .qd-icon { display:grid; }
  #quickDock #btnAiConnect strong,#quickDock .qd-btn.launcher strong { display:none; }
  .feature-launcher-head { grid-template-columns:minmax(0,1fr) 30px; }
  .feature-grid { grid-template-columns:minmax(0,1fr); }
  #experienceTasks { top:41px; right:12px; bottom:auto; max-height:calc(100% - 117px); width:min(292px,calc(100% - 24px)); }
  #experienceTasks.experience-tasks-collapsed { width:205px; padding:6px 9px 6px 12px; }
  #app:is(.mobile-left-open,.mobile-right-open) #experienceTasks { display:none; }
  #app:is(.mobile-left-open,.mobile-right-open) #quickDock { visibility:hidden; }
  #aiConnectBackdrop { inset:0; width:auto; padding:0; }
  #aiConnectPanel { width:min(410px,100%); max-width:100%; margin-left:auto; }
  body.ai-connect-open #quickDock { visibility:hidden; }
  .ai-connect-head { padding:19px 18px 15px; }
  #aiConnectClose { min-width:44px; width:44px; height:44px; }
  #inspector .fld :is(input,select,textarea) { min-height:40px; font-size:16px; }
  .ai-connect-body { padding:0 18px 20px; }
  .ai-connect-foot { padding:12px 18px; }
  #topbar .topbar-overflow-menu #btnActivity { display:flex; gap:8px; width:100%; }
  #topbar .topbar-overflow-menu .tbtn,#quickFeaturePins .qd-btn.is-feature { min-height:44px; font-size:14px; }
  .mobile-panel-toggle,#topbar>button,#topbar>.topbar-overflow>summary { min-width:44px; min-height:44px; flex-shrink:0; }
  #topbar>.global-search-trigger { flex:0 0 44px; min-width:44px; width:44px; font-size:0; }
  #topbar>.global-search-trigger::before { font-size:20px; }
  #topbar .doc-title { font-size:14px; }
  #minimapBox { bottom:calc(var(--oc-bottombar-h) + 78px); }
  #featureLauncherClose { min-width:44px; min-height:44px; }
  .feature-launcher-head { grid-template-columns:minmax(0,1fr) 44px; }
  .feature-pin { min-width:44px; min-height:44px; }
}
@media(max-width:640px) {
  #topbar .logo { display:none; }
  #topbar .doc-title { min-width:0; width:0; flex:1 1 0; }
  #topbar .collaboration-trigger { font-size:12px; min-width:60px; padding:0 6px; }
  #topbar .topbar-overflow-trigger { min-width:44px; }
  #topbar .mobile-panel-toggle { min-width:44px; padding:0 5px; font-size:12px; }
  #topbar { gap:3px; overflow:visible; }
  #helpModal { padding:12px; }
  #helpModal .modal-card { padding:20px 16px; max-height:calc(100dvh - 24px); }
  #helpModal table td,#helpModal table th { padding:8px 5px; }
  #focus .pro-workbench { display:block; overflow-y:auto; }
  #focus .pro-editor-panel { overflow:visible; border-right:0; border-bottom:1px solid var(--line); }
  #focus .pro-code-panel textarea { min-height:160px; height:160px; }
  #focus .pro-live-preview { min-height:480px; padding:12px; }
  #focus .pro-live-preview>iframe { height:560px; }
}
@media(prefers-reduced-motion:reduce) { #quickDock,.topbar-overflow-menu,.workspace-panel-toggle,#experienceTasks { transition:none; animation:none; } }
