/* The official Console owns its internal layout; Lab owns only this route frame. */
.run-view { max-width:none; padding:20px 28px; background:var(--background); }
.run-view .section-heading { margin-bottom:16px; }
.run-view .section-heading h1 { font-size:23px; }
#run-console-root { height:max(560px,calc(100dvh - 290px)); min-width:0; border:1px solid var(--border); border-radius:10px; overflow:hidden; font-size:14px; line-height:1.5; }
#run-console-root [data-slot=message-content] { white-space:pre-wrap; overflow-wrap:anywhere; }
.run-lab-settings { margin-top:16px; border:1px solid var(--border); border-radius:10px; }
.run-lab-settings > summary { cursor:pointer; padding:14px 18px; font-size:13px; font-weight:500; }
.run-lab-settings .run-layout { display:grid; grid-template-columns:minmax(280px,360px) minmax(0,1fr); height:auto; gap:20px; padding:0 18px 18px; }
.run-lab-settings .run-settings { max-height:none; border:0; box-shadow:none; padding:0; }
.run-lab-settings .diagnostics-panel { min-width:0; min-height:0; display:block; align-self:start; padding:12px; }
.run-lab-settings .diagnostics-panel > summary { cursor:pointer; font-size:13px; font-weight:500; }
.run-lab-settings .diagnostic-output { height:300px; }
.run-lab-settings .advanced { margin-top:16px; padding-top:16px; }
.run-lab-settings .advanced > summary { font-size:12px; cursor:pointer; }
.run-lab-settings .advanced[open] > summary { margin-bottom:14px; }
.run-lab-settings .help-text { font-size:11px; line-height:1.65; }
.console-section { margin-top:16px; padding-top:16px; border-top:1px solid var(--border); }
.console-section > h2 { font-size:13px; margin-bottom:14px; }
.run-config-baseline > span { display:block; color:var(--muted-foreground); font-size:11px; }
.run-config-baseline strong { display:block; margin-top:5px; font-size:13px; }
#run-provider-summary { margin:10px 0; }
#run-provider-summary p { font-size:12px; }
.run-view .run-context-panel { display:block; padding:0; border:0; background:none; }
.run-context-panel .button-row { margin-top:12px; flex-wrap:wrap; }
#run-connection-error { margin:12px 0; }
#conversation-status { display:block; font-size:12px; color:var(--muted-foreground); margin:10px 0; }
@media(max-width:720px) {
  .run-view { padding:16px 12px; }
  .run-view .section-heading { gap:10px; }
  .run-view .section-heading h1 { font-size:21px; }
  #run-console-root { height:72dvh; min-height:500px; }
  .run-lab-settings .run-layout { grid-template-columns:minmax(0,1fr); }
}
.run-view .section-heading > label { margin:0 0 0 auto; font-size:11px; }
.run-view .section-heading select { padding:7px 10px; font-size:12px; }
#run-audio-profile:empty { display:none; }
#run-audio-profile { margin-bottom:12px; max-width:85ch; }
@media(max-width:720px) { .run-view .section-heading { flex-wrap:wrap; } .run-view .section-heading > label { width:100%; order:3; } }
