.agent-case{margin:clamp(24px,4vw,60px) auto}
.agent-tabs .wrap{width:100%;max-width:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-bottom:1px solid #cad1d4;background:#f4f4f3}
.agent-tabs a{display:flex;align-items:center;min-height:56px;padding:12px clamp(10px,1.2vw,20px);border-right:1px solid #d1d3d6;color:#192036;text-decoration:none;font-size:.98rem;font-weight:640;line-height:1.3}
.agent-tabs a:last-child{border-right:0}.agent-tabs a:hover{background:#e9e9f4}.agent-tabs a[aria-selected=true]{color:#20264d;background:#e5e5fe;box-shadow:inset 0 -3px 0 #6465b2}
.agent-tabs a:focus-visible{outline:3px solid #595bbb;outline-offset:-4px}.agent-pane[hidden]{display:none}.agent-pane .wrap{width:90%;max-width:100%}
@media(max-width:850px){.agent-tabs .wrap{grid-template-columns:repeat(2,minmax(0,1fr))}.agent-tabs a{border-bottom:1px solid #d1d3d6;padding:11px;font-size:.94rem;min-height:46px}.agent-tabs a:nth-child(even){border-right:0}.agent-tabs a:last-child{grid-column:1/-1;border-bottom:0}}
.agent-case .case-body{background:white}.agent-case .record dl{margin-top:1rem}
.agent-pane .monitor-grid{display:block}.agent-pane .monitor,.agent-pane .agent-baseline,.agent-pane .trace-brief,.agent-pane .feature-block{padding:clamp(24px,4vw,54px) 0}

.agent-pane .case-body {
  grid-template-columns: minmax(0,1.06fr) minmax(0,.94fr);
  align-items: start;
}
.agent-pane .scene-text { max-width: 60ch; }
.agent-pane .scene-text h2 {
  font-size: clamp(1.65rem,2.8vw,2.45rem);
  font-weight: 590;
  letter-spacing: -.045em;
  line-height: 1.1;
  margin: .55rem 0 .85rem;
}
.agent-functions { display: grid; gap: .95rem; margin-top: 1.25rem; }
.agent-functions dt { font-weight: 650; }
.agent-functions dd { margin: .15rem 0 0; color: var(--muted); line-height: 1.5; }
.agent-case .record { min-width: 0; }
.agent-case .record :is(dd,dt) { overflow-wrap: anywhere; }
.agent-case .record dt { flex: 0 1 auto; }
.agent-case .record dd { flex: 0 1 60%; }
.example-select { display: grid; gap: .4rem; margin-top: 1.1rem; font-size: .9rem; color: #334e43; }
.example-select select {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: .5rem .65rem;
  color: var(--ink);
  font: 600 1rem/1.5 DM, Arial, sans-serif;
  background: #fff;
  border: 1px solid #90aa9c;
  border-radius: 5px;
}
.example-select select:focus-visible { outline: 3px solid #555bb1; outline-offset: 2px; }
[data-example-option] > h3 { margin-top: 1.15rem; font-size: 1.05rem; }
.has-example-select [data-example-option] > h3 { display: none; }
.example-note {
  margin-top: 1rem;
  border-top: 1px solid #bdcdc5;
  padding-top: .8rem;
  color: #395547;
  font-size: .93rem;
  line-height: 1.5;
}
@media (max-width: 800px) {
  .agent-pane .case-body { grid-template-columns: minmax(0,1fr); gap: 1.4rem; }
}
