/* Match the Mission Studio v2 shell while retaining the complete supplied logo. */
:root {
  --studio-header: clamp(110px, 12.2vh, 132px);
  --ink:#e8eff6; --muted:#a1b2c6; --faint:#a1b2c6;
  --bg:#0c1420; --panel:#14202e; --panel-raised:#1c2b3b;
  --line:#2b3b4d; --cyan:#2bb3ce; --cyan-soft:#75dbd2;
}
body { background:#0c1420; font:14px/1.5 "Segoe UI",Arial,sans-serif; }
body::before, body::after { display:none; }
.topbar { height:var(--studio-header); min-height:var(--studio-header); padding:0; border:0; box-shadow:none; }
.header-copy { position:static; text-shadow:none; }
.site-logo {
  /* Alpha bounds: x=55..1746, y=223..611 in the 1774×887 source.
     315px image width gives 300px visible art starting at x=16px. */
  left:6.25px; top:50%; width:315px; max-width:calc(100vw - 20px);
  height:auto; aspect-ratio:1774 / 887; object-fit:contain;
  transform:translateY(-47.01%); transform-origin:center;
  pointer-events:none;
}
.studio-nav {
  display:flex; justify-content:flex-start; align-items:center; gap:4px;
  height:56px; padding:8px 12px; background:#141e2e;
  border-bottom:1px solid var(--line); position:sticky; top:var(--studio-header); z-index:19;
}
.studio-nav a {
  color:#a9bdce; font-size:12px; line-height:1.4; text-decoration:none;
  padding:9px 18px; border:1px solid transparent; border-radius:2px;
}
.studio-nav a:hover,.studio-nav a:focus-visible { background:#173d43; color:#8de8df; border-color:#468e8e; }
.workspace { width:100%; margin:0; padding:0; grid-template-columns:306px minmax(0,1fr); gap:0; }
.filters,.results-panel,.live-audio {
  border-radius:0; box-shadow:none; backdrop-filter:none; background:#0f1a28;
}
.filters { border:0; border-right:1px solid var(--line); padding:16px 12px; top:calc(var(--studio-header) + 56px); max-height:calc(100vh - var(--studio-header) - 56px); }
.results-panel { border:0; padding:16px; background:#0c1420; min-width:0; }
.panel-heading,.results-toolbar,.dialog-bar { justify-content:flex-start; text-align:left; }
.panel-heading { margin-bottom:16px; }
.panel-heading h2,.results-toolbar h2,.live-audio h2,.dialog-bar h2 { font-size:18px; line-height:1.4; font-weight:500; letter-spacing:normal; }
.eyebrow { font-size:10px; font-weight:600; letter-spacing:1.5px; color:#82a8bb; }
button,input,select,textarea { font-family:inherit; font-weight:400; }
button { border-radius:2px; font-size:13px; line-height:1.3; background:#14202e; }
button:hover { background:#223447; }
.frequency-entry input,.search-input,input[type="number"],select {
  min-height:36px; border-radius:2px; background:#0f1a28; border-color:#304357; font-size:14px;
}
.frequency-entry .add-button,.frequency-entry .clear-button { min-height:36px; border-radius:2px; font-size:13px; }
.frequency-entry .add-button { background:#2bb3ce; }
.frequency-card { margin:0; padding:12px 10px; border-radius:2px; background:#101e2b; box-shadow:none; }
.frequency-entry .frequency-help { white-space:normal; transform:none; font-size:11px; }
.field-label,.sort-control,.range-row label,.range-row output { font-size:12px; font-weight:400; color:#a9bdce; }
.field-help { font-size:11px; color:#a1b2c6; line-height:1.5; }
.filter-grid { grid-template-columns:1fr; gap:8px; }
.results-toolbar { gap:22px; flex-wrap:wrap; }
.results-controls { margin-left:0; justify-content:flex-start; }
.sort-control { justify-content:flex-start; }
.contact-card { border-radius:2px; box-shadow:none; }
.card-head h3 { font-size:16px; font-weight:500; letter-spacing:normal; }
.description,.shaft-line { font-size:14px; }
.fact strong { font-size:14px; font-weight:500; }
.badge { border-radius:2px; font-size:10px; font-weight:600; }
.live-audio { padding:16px; border:1px solid var(--line); }
.live-audio .live-controls,.live-settings { justify-content:flex-start; }
.live-controls label,.live-settings label { flex:0 1 300px; font-size:12px; color:#a9bdce; }
.live-audio button { min-height:36px; font-size:13px; }
.live-audio #liveStart { background:#2bb3ce; border-color:#2bb3ce; font-weight:500; }
.live-tones span,.live-matches p,#liveStatus { font-size:12px; }
#liveAudio,#resultsHeading,.filters { scroll-margin-top:calc(var(--studio-header) + 70px); }
@media(max-width:980px) {
  .workspace { grid-template-columns:1fr; }
  .filters { position:static; max-height:none; border-right:0; border-bottom:1px solid var(--line); }
}
@media(max-width:900px) { :root { --studio-header:120px; } }
@media(max-height:650px) { :root { --studio-header:110px; } }
@media(max-width:620px) {
  .topbar { padding:0; }
  .site-logo { left:6.25px; width:315px; max-width:calc(100vw - 20px); transform:translateY(-47.01%); }
  .studio-nav { gap:0; padding:8px; }
  .studio-nav a { padding:9px 12px; }
  .filters,.results-panel,.live-audio { border-radius:0; padding:14px 12px; }
  .live-controls label,.live-settings label { flex-basis:100%; }
}
