/* studio.css - URSY AI Observatory studio (2 Dec 2026). Lee's viewer styles stay untouched in observatory.css. */
.st-bar { position: absolute; top: 10px; left: 10px; right: 10px; z-index: 30; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; pointer-events: none; }
.st-bar > * { pointer-events: auto; }
.st-bar button, .st-sel { background: rgba(10, 15, 28, 0.88); color: var(--ink-0); border: 1px solid var(--panel-border); border-radius: 8px;
  font: 600 12px/1 ui-sans-serif, system-ui, sans-serif; padding: 7px 10px; cursor: pointer; backdrop-filter: blur(6px); }
.st-bar button:hover, .st-sel:hover { border-color: #6366f1; }
.st-sel { display: inline-flex; align-items: center; gap: 6px; padding: 3px 4px 3px 9px; }
.st-sel span { color: var(--ink-2); font-weight: 600; }
.st-sel select { background: transparent; color: var(--ink-0); border: 0; font: 600 12px ui-sans-serif, system-ui, sans-serif; max-width: 190px; cursor: pointer; }
.st-sel select option { background: #0a0f1c; color: #f1f5f9; }
.st-bar .st-recon { background: #be123c; border-color: #fb7185; animation: st-pulse 1.2s infinite; }
.st-bar .st-on { background: #3730a3; border-color: #a5b4fc; }
@keyframes st-pulse { 50% { opacity: 0.65; } }
.st-pop { position: absolute; top: 54px; right: 10px; z-index: 31; width: min(420px, calc(100% - 20px)); max-height: calc(100% - 70px); overflow: auto;
  background: rgba(10, 15, 28, 0.96); border: 1px solid var(--panel-border); border-radius: 12px; padding: 14px 16px; color: var(--ink-1);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5); font-size: 13px; }
.st-pop h3 { margin: 0 0 10px; color: var(--ink-0); font-size: 15px; }
.st-pop h4 { margin: 14px 0 6px; color: var(--ink-0); font-size: 13px; }
.st-pop p { margin: 8px 0; }
.st-btns { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; align-items: center; }
.st-btns button, .st-btns a, .st-btns select { background: #121a2e; color: var(--ink-0); border: 1px solid var(--panel-border); border-radius: 8px;
  padding: 7px 10px; font: 600 12px ui-sans-serif, system-ui, sans-serif; cursor: pointer; text-decoration: none; }
.st-btns .st-primary { background: #4f46e5; border-color: #818cf8; }
.st-check { display: flex; gap: 8px; align-items: center; margin: 10px 0; }
.st-note { color: var(--ink-2); font-size: 11.5px; }
.st-ul { margin: 6px 0; padding-left: 18px; }
.st-drop { display: block; border: 1px dashed #6366f1; border-radius: 10px; padding: 14px; text-align: center; cursor: pointer; color: var(--ink-0); }
.st-drop input { display: block; margin: 0 auto 6px; color: var(--ink-2); }
.st-msg { color: #fbbf24; }
.st-rec { border-top: 1px solid var(--panel-border); padding-top: 10px; margin-top: 10px; }
.st-rec video { width: 100%; max-height: 220px; background: #000; border-radius: 8px; }
.st-tip { margin-top: 5px; padding-top: 5px; border-top: 1px solid rgba(120, 145, 200, 0.25); font-size: 11px; line-height: 1.5; color: var(--ink-1); }
.st-card { background: rgba(18, 26, 46, 0.7); border: 1px solid var(--panel-border); border-radius: 10px; padding: 10px 12px; margin: 6px 0 10px; }
.st-card b { color: var(--ink-0); }
.st-path { font-family: ui-monospace, monospace; font-size: 10.5px; color: var(--ink-3); word-break: break-all; margin: 3px 0 6px; }
.st-figs { font-size: 12px; line-height: 1.6; margin-top: 4px; }
.st-row { cursor: pointer; }
.st-row:hover .step-url { color: #a5b4fc; }
.st-chart { margin: 8px 0; font-size: 11px; color: var(--ink-2); }
.st-spark { display: block; width: 100%; height: 40px; margin-top: 3px; }
/* layout presets */
body.st-wide .app { grid-template-columns: 0 1fr 380px !important; }
body.st-wide aside.left { display: none !important; }
body.st-theatre .app { grid-template-columns: 0 1fr 0 !important; }
body.st-theatre aside.left, body.st-theatre aside.right { display: none !important; }
body.st-search .app { grid-template-columns: 300px 1fr 500px !important; }
/* the August HUD sits top left: move it below the studio bar */
.map-legend { top: 52px !important; }
@media (max-width: 900px) {
  .st-bar { top: 6px; left: 6px; right: 6px; gap: 4px; }
  .st-bar button, .st-sel { font-size: 11px; padding: 6px 8px; }
  .st-sel select { max-width: 120px; font-size: 11px; }
  .st-hide-phone { display: none !important; }
  body.st-wide .app, body.st-theatre .app, body.st-search .app { grid-template-columns: 1fr !important; }
}
body.obs-embed .st-bar .st-hide-phone { display: none; }
