/* ShotTrace Web (Standalone) — the shell around the panel page: hub sign-in views,
   status toast, profile menu. The tool itself is styled by the panel's own CSS
   (css/main.css and the critical styles in its <head>). */

[hidden] { display: none !important; }
#app-root { height: 100%; display: flex; flex-direction: column; min-height: 0; }
.st-view { display: none; }
.st-view:not([hidden]) { display: block; }
.ligo-screen { padding: 0; overflow: auto; }
.ligo-panel { margin-top: 10vh; }
#view-tools.ligo-screen { padding: 24px; min-height: 100%; }

/* The panel page lays out its body as a full-height column; here that column is #view-app. */
#view-app.st-view:not([hidden]) {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ligo-app-switcher-link-active { border-color: var(--accent-primary); background: rgba(0, 152, 121, 0.14); cursor: default; }

.app-header .ligo-panel-chrome-actions { display: flex; align-items: center; gap: 8px; }
.ligo-panel-chrome-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--border-medium);
  border-radius: 7px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
}
.ligo-panel-chrome-btn:hover { color: var(--text-primary); background: var(--bg-hover); }
.ligo-panel-chrome-btn svg { width: 17px; height: 17px; }
.ligo-panel-profile-item--danger { color: #ff8f8f; }

#global-status {
  position: fixed;
  z-index: 3000;
  right: 18px;
  bottom: 18px;
  max-width: min(420px, 86vw);
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(91, 127, 194, 0.45);
  background: rgba(8, 13, 22, 0.94);
  color: #eef4ff;
  font-size: 13px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}
#global-status.is-error { border-color: #c44; color: #ffd6d6; }

/* Focus ring in a real browser tab: keyboard only. */
button:focus, a:focus, input:focus, select:focus { outline: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}
