/* Only the pricing workspace has both the direct summary and section navigation. */
.media-preview.embedded .main-shell > main:has(> .metrics > .metric-rule):has(> .section-tabs) {
  --pricing-rowline: var(--gateway-line,var(--line));
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;
  gap:0 18px;
  max-width:none;
  min-width:0;
  margin:0;
  padding:0;
  font-family:inherit;
  & > * {grid-column:1/-1;min-width:0}
  & > .page-heading {display:contents}
  & > .page-heading > div:first-child {grid-area:1/1;min-width:0}
  & > .page-heading h1 {font-size:clamp(18px,1.5vw,23px);line-height:1.35;margin:0}
  & > .page-heading p,& > .page-heading .eyebrow {display:none}
  & > .page-heading > .button-row {grid-area:1/3;margin:0;justify-content:flex-end}
  & > .page-heading .button {min-height:34px;padding:5px 12px}
  & > .primary-tabs {
    grid-area:1/2;align-items:center;gap:2px;margin:0;padding:2px;
    background:var(--surface);border:1px solid var(--line);border-radius:8px;
  }
  & > .primary-tabs button {min-height:30px;line-height:20px;padding:4px 12px;border-radius:5px;font-size:13px}
  & > .primary-tabs button.active {background:var(--panel);color:var(--accent);box-shadow:0 1px 3px #0001}
  & > .primary-tabs button.active::after {display:none}
  & > .metrics {
    display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 0;background:transparent;
    border:0;border-radius:0;margin:14px 0 16px;padding:0;box-shadow:none;
  }
  & > .metrics > div {display:flex;align-items:baseline;gap:6px;padding:0 14px;margin:0;border:0;background:transparent;border-radius:0;box-shadow:none}
  & > .metrics > div:first-child {padding-left:0}
  & > .metrics > div + div {border-left:1px solid var(--line)}
  & > .metrics > div > span {font-size:13px;line-height:20px;color:var(--muted)}
  & > .metrics strong {font-family:inherit;font-size:15px;line-height:20px;font-weight:600;color:var(--ink)}
  & > .metrics strong small {margin-left:3px;font-size:12px}
  & > .metrics p {display:none}
  & > .metrics .metric-rule p {display:inline;margin:0;font-size:12px;color:var(--muted)}
  & > .metrics .metric-rule b {font-size:13px;font-weight:500;margin:0;color:var(--muted)}
  & > .section-tabs {margin:0 0 12px;gap:22px;overflow-x:auto}
  & > .section-tabs button {font-size:14px;min-height:36px;padding:5px 0 9px}
  & > .panel:has(.model-table) {overflow:hidden;border:1px solid var(--pricing-rowline);border-radius:10px;background:var(--panel)}
  & > .panel:has(.model-table) > .toolbar {gap:8px;padding:12px 14px 8px}
  & .toolbar:has(.segmented) .search {width:clamp(185px,22vw,345px);height:36px}
  & .toolbar:has(.segmented) select {height:36px}
  & .toolbar:has(.segmented) .segmented {padding:2px}
  & .toolbar:has(.segmented) .segmented button {padding:5px 11px}
  & .table-caption {padding:0 14px 8px;font-size:12px}
  & .table-scroll:has(.model-table) {overflow-x:auto;max-width:100%}
  & .model-table {width:100%;min-width:975px;border-collapse:collapse;text-align:left}
  & .model-table > thead > tr > th {padding:8px 12px;font-weight:550;background:var(--surface);white-space:nowrap}
  & .model-table > tbody > tr:not(:has(td[colspan])) > td {padding:9px 12px;line-height:19px;vertical-align:middle}
  & .model-table > tbody > tr:not(:has(td[colspan])) > td small {margin-top:1px;line-height:16px;font-size:12px}
  & .model-table .numeric {text-align:right;font-variant-numeric:tabular-nums}
  & .model-table .model-cell {gap:8px}
  & .model-table .model-symbol {width:28px;height:28px;border-radius:7px;flex-shrink:0}
  & .model-table .price-cell-button {font-family:inherit;font-size:14px;font-weight:600;line-height:19px}
  & .model-table > tbody > tr:not(:has(td[colspan])):hover {background:var(--surface)}
  & .model-table .action-col {text-align:right;white-space:nowrap}
  & .model-table .action-col .text-button {font-size:13px}
  & .model-table .action-col .text-button + .text-button {margin-left:10px}
  & > .panel .pagination {padding:9px 14px}
  @media(max-width:760px) {
    grid-template-columns:minmax(0,1fr) auto;column-gap:8px;
    & > .page-heading > .button-row {grid-area:1/2}
    & > .primary-tabs {grid-area:2/1/3/-1;justify-self:start;margin-top:10px}
    & > .metrics {margin:10px 0}
    & > .metrics > div {padding:0 8px}
    & > .metrics .metric-rule {flex-basis:100%;flex-wrap:wrap;border:0;padding:0}
    & > .section-tabs {gap:15px}
    & .toolbar:has(.segmented) .search {width:auto;min-width:140px;flex:1}
    & .toolbar:has(.segmented) select {min-width:0}
    & .table-caption {flex-wrap:wrap;gap:5px}
  }
}