/* Company essentials and distinct research views; existing chart controls stay intact. */
.terminal-section-bar .terminal-core-sections{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;padding:5px;border:1px solid var(--atelier-line,var(--line));border-radius:15px;background:var(--atelier-surface,var(--surface));min-width:0}.terminal-section-bar .terminal-core-sections button[data-native-tab]{min-width:0;padding:12px 7px;min-height:46px;font-size:12px;border-color:transparent;border-radius:10px;background:transparent;white-space:normal;text-align:center}.terminal-section-bar .terminal-core-sections button.active{background:rgba(197,176,142,.11);border-color:rgba(197,176,142,.3);color:var(--atelier-accent,#c5b08e);box-shadow:none}.terminal-section-bar .terminal-research-sections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.terminal-section-bar .terminal-research-sections button[data-native-tab]{width:100%;min-width:0;white-space:normal;font-size:11px;font-weight:500;min-height:42px;background:transparent;border-radius:10px;padding:8px 9px}.terminal-section-bar .terminal-research-label{font:500 9px/1.6 'IBM Plex Mono',monospace;text-transform:uppercase;letter-spacing:.13em;margin:4px 0 0}.terminal-studio-panel{min-width:0;max-width:100%}.terminal-studio-panel .native-section-title{padding-top:10px}.terminal-studio-panel .native-section-title h2{font-size:30px}.terminal-studio-panel [data-terminal-ask]{touch-action:manipulation}.terminal-content .terminal-studio-panel :is(p,td,th,h2,h3,small){overflow-wrap:anywhere}.terminal-view .terminal-bar{border-bottom:0}.terminal-studio-panel .native-empty{line-height:1.8}.terminal-studio-panel .native-stat-grid{margin:22px 0}.terminal-studio-panel .prediction-visual{box-shadow:none}.terminal-section-bar .chart-tools{margin-left:auto}html[data-theme="light"] .terminal-section-bar .terminal-core-sections button.active{background:rgba(128,102,66,.09);border-color:#c5b69f;color:#6a5335}@media(max-width:1000px){.terminal-section-bar .terminal-core-sections{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:680px){.terminal-section-bar .terminal-core-sections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;padding:4px}.terminal-section-bar .terminal-core-sections button[data-native-tab]{font-size:11px;min-height:44px;padding:9px 5px;flex:initial}.terminal-section-bar .terminal-research-sections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.terminal-section-bar .terminal-research-sections button[data-native-tab]{font-size:10px;padding:9px 5px;min-height:44px;flex:initial;line-height:1.5}.terminal-section-bar .terminal-section-nav{gap:9px}.terminal-studio-panel .native-section-title h2{font-size:27px}.terminal-studio-panel .prediction-chart{min-height:200px}}

.terminal-section-bar{scroll-margin-top:calc(var(--workspace-header-height,140px) + 12px)}

/* Optional mobile-only polish. Preserves every company fact and every control. */
@media (max-width: 680px) {
  body[data-app] #next-app .terminal-view .terminal-breadcrumb {
    gap: 8px;
    row-gap: 0;
    margin-bottom: 4px;
  }
  body[data-app] #next-app .terminal-view .terminal-asof {
    flex: 0 1 auto;
    margin: 0 0 0 auto;
    max-width: 100%;
    white-space: nowrap;
  }
  body[data-app] #next-app .terminal-view .instrument-head {
    column-gap: 10px;
    row-gap: 6px;
  }
  body[data-app] #next-app .terminal-view .instrument-monogram {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }
  body[data-app] #next-app .terminal-view .instrument-identity h1 {
    margin: 2px 0;
    font-size: 20px;
    line-height: 1.2;
  }
  body[data-app] #next-app .terminal-view .instrument-identity .eyebrow {
    margin: 0;
    line-height: 1.35;
  }
  body[data-app] #next-app .terminal-view .instrument-identity > p:last-child {
    margin: 0;
    font-size: 11px;
    line-height: 1.4;
  }
  body[data-app] #next-app .terminal-view .instrument-quote {
    margin: 0;
    gap: 9px;
  }
  body[data-app] #next-app .terminal-view .instrument-quote strong {
    font-size: 24px;
    line-height: 1.2;
  }
  body[data-app] #next-app .terminal-view #watch-toggle {
    min-height: 44px;
    padding: 7px 10px;
  }
  body[data-app] #next-app .terminal-view .instrument-metrics {
    padding: 10px 0 12px;
    gap: 8px;
  }
  body[data-app] #next-app .terminal-view .instrument-metrics > div {
    gap: 3px;
  }
  body[data-app] #next-app .terminal-view .instrument-metrics small {
    font-size: 11px;
    line-height: 1.35;
  }
  body[data-app] #next-app .terminal-view .instrument-metrics strong {
    font-size: 12px;
    line-height: 1.35;
  }
}
