.button--compact { min-height: 34px; padding-inline: 12px; font-size: .72rem; }
.button--block { width: 100%; margin-top: 18px; }
.toast--error { border-color: var(--cro-danger); color: var(--cro-danger); }
.status-line { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.feature-empty { display: grid; min-height: 280px; place-items: center; align-content: center; padding: 40px; text-align: center; }
.feature-empty > span { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 15px; border-radius: 15px; background: var(--cro-brand-soft); color: var(--cro-brand-primary); font-size: 1.5rem; }
.feature-empty p { max-width: 520px; }
.table-panel { overflow: hidden; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { padding: 15px 18px; border-bottom: 1px solid var(--cro-border); text-align: left; vertical-align: middle; }
.data-table th { background: var(--cro-bg-subtle); color: var(--cro-text-muted); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table td strong, .data-table td small { display: block; }
.data-table td strong { max-width: 600px; }
.data-table td small { margin-top: 4px; color: var(--cro-text-muted); font-size: .69rem; }
.ice-score { display: inline-grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; background: var(--cro-brand-soft); color: var(--cro-brand-primary); font-weight: 800; }
.form-grid--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid--wide .field:first-child { grid-column: 1 / -1; }
.experiment-list { display: grid; gap: 13px; }
.iteration-flow { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 14px; margin-bottom: 16px; border: 1px solid var(--cro-border); border-radius: 10px; background: #fff; font-size: .72rem; }
.iteration-flow span { padding: 6px 9px; border-radius: 7px; background: var(--cro-brand-soft); color: var(--cro-brand-primary); font-weight: 800; }
.iteration-flow b { color: var(--cro-text-muted); font-size: .66rem; }
.versions-board { padding: 18px; margin-bottom: 18px; }
.versions-board__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.versions-board__header h2 { margin-bottom: 5px; }
.versions-board__header p:last-child { max-width: 760px; margin-bottom: 0; font-size: .74rem; }
.versions-board__header .button { flex: 0 0 auto; text-decoration: none; }
.iteration-grid { display: grid; grid-auto-columns: minmax(330px, 380px); grid-auto-flow: column; align-items: start; gap: 12px; padding-bottom: 8px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: inline proximity; }
.iteration-card { min-width: 0; overflow: hidden; border-radius: 11px; box-shadow: none; scroll-snap-align: start; }
.iteration-card > header { display: grid; min-height: 174px; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 16px; }
.iteration-card > header h2 { margin-bottom: 5px; font-size: 1rem; }
.iteration-card > header p:last-child { margin: 0; font-size: .72rem; line-height: 1.45; }
.iteration-version { display: inline-grid; width: 32px; height: 32px; place-items: center; margin-bottom: 10px; border-radius: 9px; background: var(--cro-brand-primary); color: #fff; font-weight: 900; }
.iteration-score { display: grid; width: 58px; height: 58px; place-content: center; border-radius: 50%; background: var(--cro-success-soft); color: var(--cro-success); text-align: center; }
.iteration-score--low { background: var(--cro-danger-soft); color: var(--cro-danger); }
.iteration-score--mid { background: var(--cro-warning-soft); color: #805b00; }
.iteration-score--high { background: var(--cro-success-soft); color: var(--cro-success); }
.iteration-score strong, .iteration-score small { display: block; }
.iteration-score strong { font-size: 1rem; }
.iteration-score small { margin-top: 1px; font-size: .48rem; font-weight: 800; line-height: 1.1; text-transform: uppercase; }
.iteration-scores { display: grid; gap: 6px; }
.iteration-score--proof { background: var(--cro-blue-soft); color: var(--cro-blue); }
.iteration-preview { height: 610px; overflow: hidden; border-block: 1px solid var(--cro-border); background: #e9e9ed; }
.iteration-preview iframe { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
.iteration-card > footer { padding: 10px 12px; border-bottom: 1px solid var(--cro-border); }
.iteration-card > footer .button { display: flex; width: 100%; align-items: center; justify-content: center; text-decoration: none; }
.cro-gate { padding: 15px 16px 17px; background: #fbfbfc; }
.cro-gate h3 { margin-bottom: 9px; font-size: .88rem; }
.cro-gate ul { display: grid; gap: 7px; padding: 0; margin: 0; list-style: none; }
.cro-gate li { position: relative; padding-left: 14px; color: var(--cro-text-muted); font-size: .7rem; line-height: 1.45; }
.cro-gate li::before { position: absolute; top: .52em; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--cro-brand-primary); content: ''; }
.cro-gate__decision { padding: 10px; margin: 12px 0 0; border-radius: 8px; background: var(--cro-brand-soft); color: var(--cro-text); font-size: .7rem; line-height: 1.45; }
.readiness-scale { padding: 12px 14px; margin-top: 14px; border: 1px solid var(--cro-border); border-radius: 9px; background: var(--cro-bg-subtle); }
.readiness-scale summary { cursor: pointer; color: var(--cro-text); font-size: .72rem; font-weight: 800; }
.readiness-scale p { margin: 8px 0 0; font-size: .69rem; line-height: 1.5; }
.experiment-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr) auto; align-items: center; gap: 24px; padding: 19px 20px; }
.experiment-row h2, .experiment-row p { margin-bottom: 0; }
.experiment-row p { margin-top: 5px; font-size: .74rem; }
.experiment-row__metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.experiment-row__metrics span { padding: 10px; border-radius: 10px; background: var(--cro-bg-subtle); }
.experiment-row__metrics small, .experiment-row__metrics strong { display: block; }
.experiment-row__metrics small { color: var(--cro-text-muted); font-size: .65rem; }
.experiment-row__metrics strong { margin-top: 3px; font-size: .9rem; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(310px, .8fr); align-items: start; gap: 18px; }
.detail-main { display: grid; gap: 18px; }
.variant-toolbar { display: flex; min-height: 44px; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 8px 6px 12px; border: 1px solid var(--cro-border); border-radius: 10px; background: #fff; }
.variant-toolbar label { display: inline-flex; align-items: center; gap: 7px; color: var(--cro-text); font-size: .72rem; font-weight: 750; white-space: nowrap; }
.variant-toolbar input { accent-color: var(--cro-brand-primary); }
.variant-toolbar nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.variant-toolbar button { min-height: 30px; padding: 0 9px; border: 0; border-radius: 7px; background: var(--cro-bg-subtle); color: var(--cro-text-muted); font-size: .68rem; font-weight: 750; }
.variant-toolbar button:hover, .variant-toolbar button:focus-visible { background: var(--cro-brand-soft); color: var(--cro-brand-primary); }
.variant-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.variant-card { overflow: hidden; border: 1px solid var(--cro-border); border-radius: var(--cro-radius-md); background: #fff; box-shadow: var(--cro-shadow-card); }
.variant-card header { display: flex; align-items: center; gap: 9px; padding: 14px 16px; border-bottom: 1px solid var(--cro-border); }
.variant-card header span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 8px; background: var(--cro-brand-soft); color: var(--cro-brand-primary); font-weight: 800; }
.variant-card img, .variant-card__placeholder { width: 100%; aspect-ratio: 1.35; object-fit: cover; }
.variant-card__placeholder { display: grid; place-items: center; padding: 18px; background: linear-gradient(145deg, #f8f7fb, #eceaf2); color: var(--cro-text-muted); text-align: center; }
.variant-card > div:last-child { padding: 16px; }
.variant-card h3 { margin-bottom: 0; font-size: .96rem; }
.diff-panel, .results-panel { padding: 20px; }
.diff-panel ul { padding: 0; margin: 16px 0 0; list-style: none; }
.diff-panel li { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; align-items: start; gap: 12px; padding: 11px 0; border-top: 1px solid var(--cro-border); font-size: .74rem; }
.diff-kind { width: fit-content; padding: 3px 7px; border-radius: 999px; background: var(--cro-brand-soft); color: var(--cro-brand-primary); font-size: .63rem; font-weight: 800; }
.diff-panel li p { margin: 3px 0 0; font-size: .72rem; line-height: 1.4; }
.diff-panel details { max-width: 180px; color: var(--cro-text-muted); font-size: .65rem; }
.diff-panel summary { cursor: pointer; white-space: nowrap; }
.diff-panel details code { display: block; margin-top: 6px; overflow-wrap: anywhere; font-size: .62rem; line-height: 1.4; }
.diff-panel code { color: var(--cro-brand-primary); font-weight: 800; }
.results-panel { position: sticky; top: 94px; }
.results-panel > h2 { font-size: 1.45rem; }
.result-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 18px 0; }
.result-grid span { padding: 12px; border-radius: 10px; background: var(--cro-bg-subtle); }
.result-grid small, .result-grid strong { display: block; }
.result-grid small { color: var(--cro-text-muted); font-size: .64rem; }
.result-grid strong { margin-top: 3px; font-size: 1rem; }
.sample-progress { display: grid; gap: 6px; margin: 18px 0; }
.sample-progress label { color: var(--cro-text-muted); font-size: .68rem; font-weight: 700; }
.sample-progress progress { width: 100%; height: 7px; accent-color: var(--cro-brand-primary); }
.decision-note { padding: 14px; border-radius: 11px; background: var(--cro-success-soft); }
.decision-note.is-preliminary { background: var(--cro-warning-soft); }
.decision-note p { margin: 4px 0 0; font-size: .73rem; }
.guardrail { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: .74rem; font-weight: 700; }
.connection-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--cro-warning); box-shadow: 0 0 0 4px var(--cro-warning-soft); }
.connection-dot.is-ok { background: var(--cro-success); box-shadow: 0 0 0 4px var(--cro-success-soft); }
.connection-dot.is-error { background: var(--cro-danger); box-shadow: 0 0 0 4px var(--cro-danger-soft); }
.report-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.report-arms { padding: 20px; margin-top: 18px; }
.report-arms header { display: flex; justify-content: space-between; }
.report-arms > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.report-arms > div > span { padding: 18px; border-radius: 12px; background: var(--cro-bg-subtle); }
.report-arms small, .report-arms strong { display: block; }
.report-arms small { color: var(--cro-text-muted); }
.report-arms strong { margin-top: 5px; font-size: 1.1rem; }
.report-arms p { margin: 4px 0 0; font-size: .75rem; }
.sites-grid { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(420px, 1.2fr); gap: 18px; }
.sites-grid--lower { margin-top: 18px; }
.connection-card, .snippet-card, .version-card, .upload-card, .control-card, .plan-card, .audit-card { padding: 20px; }
.connection-title { display: flex; align-items: center; gap: 10px; }
.connection-title h2 { margin: 0; }
.connection-card dl { display: grid; gap: 8px; margin: 20px 0; }
.connection-card dl div { padding: 10px 0; border-top: 1px solid var(--cro-border); }
.connection-card dt { color: var(--cro-text-muted); font-size: .66rem; }
.connection-card dd { margin: 4px 0 0; font-size: .75rem; }
.capability-chip { display: inline-flex; padding: 4px 7px; margin: 3px 4px 0 0; border-radius: 999px; background: var(--cro-success-soft); color: var(--cro-success); font-size: .65rem; font-weight: 800; }
.snippet-card pre { max-width: 100%; padding: 14px; overflow: auto; border-radius: 10px; background: var(--cro-sidebar); color: #f2edfd; font-size: .69rem; white-space: pre-wrap; word-break: break-all; }
.snippet-card ol { padding-left: 18px; color: var(--cro-text-muted); font-size: .73rem; line-height: 1.6; }
.version-card ul { padding: 0; margin: 14px 0 0; list-style: none; }
.version-card li { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 11px 0; border-top: 1px solid var(--cro-border); }
.version-card strong, .version-card small { display: block; }
.version-card small { margin-top: 3px; color: var(--cro-text-muted); font-size: .67rem; }
.file-button { display: inline-flex; align-items: center; }
.file-button input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.asset-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 14px 0; }
.asset-card { min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--cro-border); border-radius: 10px; background: var(--cro-bg-subtle); }
.asset-card img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.asset-card figcaption { padding: 7px; }
.asset-card strong, .asset-card small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.asset-card strong { font-size: .67rem; }
.asset-card small { color: var(--cro-text-muted); font-size: .58rem; }
.agent-controls { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.orchestration-summary { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 18px; margin-bottom: 18px; }
.launch-gate header, .council-card header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.gate-score { color: var(--cro-brand-primary); font-size: 2rem; font-weight: 850; text-align: right; }
.gate-score small { display: block; color: var(--cro-text-muted); font-size: .62rem; font-weight: 700; white-space: nowrap; }
.gate-vetoes { margin: 12px 0 0; padding-left: 18px; color: var(--cro-danger); font-size: .73rem; }
.gate-ok { color: var(--cro-success); font-weight: 750; }
.cadence-card dl { display: grid; gap: 8px; margin: 14px 0; }
.cadence-card dl div { display: flex; justify-content: space-between; gap: 18px; padding-bottom: 7px; border-bottom: 1px solid var(--cro-border); }
.cadence-card dt { color: var(--cro-text-muted); }
.cadence-card dd { margin: 0; font-weight: 800; text-align: right; }
.council-card { margin-bottom: 18px; }
.council-card > ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 0; margin: 16px 0 0; list-style: none; }
.council-role { display: flex; justify-content: space-between; gap: 10px; padding: 12px; border: 1px solid var(--cro-border); border-radius: 10px; }
.council-role strong, .council-role small { display: block; }
.council-role small { margin-top: 3px; color: var(--cro-text-muted); font-size: .62rem; }
.council-role--veto { border-color: rgb(235 185 176); background: rgb(255 244 241); }
.council-role--approved { border-color: rgb(184 225 207); background: rgb(239 250 245); }
.control-card .field { max-width: 300px; margin: 15px 0; }
.control-card p:last-child { margin-bottom: 0; font-size: .74rem; }
.preflight-card { padding: 20px; margin-bottom: 18px; }
.preflight-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.preflight-card > header h2, .preflight-card > header p { margin-bottom: 0; }
.preflight-card > header > div > p:last-child { max-width: 720px; margin-top: 5px; font-size: .76rem; }
.preflight-review { flex: 0 0 auto; padding: 6px 9px; border-radius: 999px; background: var(--cro-blue-soft); color: var(--cro-blue); font-size: .67rem; font-weight: 800; white-space: nowrap; }
.preflight-review--approved { background: var(--cro-success-soft); color: var(--cro-success); }
.preflight-review--blocked { background: var(--cro-danger-soft); color: var(--cro-danger); }
.preflight-warning { padding: 9px 11px; margin-top: 14px; border: 1px solid #ead9ae; border-radius: 8px; background: #fffaf0; color: #6f5310; font-size: .72rem; line-height: 1.45; }
.preflight-message { min-height: 18px; margin: 8px 0 0; color: var(--cro-text-muted); font-size: .72rem; }
.preflight-message--error { color: var(--cro-danger); font-weight: 700; }
.preflight-list { margin-top: 2px; }
.preflight-check { padding: 13px 0; margin: 0; border: 0; border-top: 1px solid var(--cro-border); }
.preflight-check:first-child { border-top: 0; }
.preflight-check__summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 9px; }
.preflight-check__summary strong, .preflight-check__owner { display: block; }
.preflight-check__summary strong { margin-top: 2px; font-size: .82rem; }
.preflight-check__owner { color: var(--cro-text-muted); font-size: .65rem; font-weight: 750; letter-spacing: .035em; text-transform: uppercase; }
.preflight-check__state { flex: 0 0 auto; padding: 4px 8px; border-radius: 999px; background: var(--cro-blue-soft); color: var(--cro-blue); font-size: .65rem; font-weight: 800; }
.preflight-check--passed .preflight-check__state { background: var(--cro-success-soft); color: var(--cro-success); }
.preflight-check--failed .preflight-check__state { background: var(--cro-danger-soft); color: var(--cro-danger); }
.preflight-check__fields { display: grid; grid-template-columns: minmax(150px, .28fr) minmax(260px, 1fr); gap: 12px; }
.preflight-check__fields label > span:first-child { display: block; margin-bottom: 5px; color: var(--cro-text-muted); font-size: .68rem; font-weight: 750; }
.preflight-check__fields select, .preflight-check__fields textarea { width: 100%; border: 1px solid var(--cro-border); border-radius: 8px; background: #fff; color: var(--cro-text); font: inherit; font-size: .78rem; }
.preflight-check__fields select { min-height: 40px; padding: 0 10px; }
.preflight-check__fields textarea { min-height: 58px; padding: 9px 10px; line-height: 1.4; resize: vertical; }
.preflight-check__fields select:focus-visible, .preflight-check__fields textarea:focus-visible { border-color: var(--cro-brand-primary); outline: 3px solid rgb(47 97 213 / 18%); outline-offset: 1px; }
.preflight-check__fields textarea[aria-invalid] { border-color: var(--cro-danger); }
.preflight-check__fields label > small { display: block; margin-top: 4px; color: var(--cro-text-muted); font-size: .64rem; line-height: 1.35; }
.preflight-field-error { display: block; min-height: 16px; margin-top: 2px; color: var(--cro-danger); font-size: .65rem; font-weight: 700; }
.preflight-card form > footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 12px; border-top: 1px solid var(--cro-border); }
.preflight-card form > footer p { max-width: 640px; margin: 0; color: var(--cro-text-muted); font-size: .7rem; }
.preflight-card form > footer .button { flex: 0 0 auto; white-space: nowrap; }
.preflight-card form[aria-busy="true"] .preflight-list { opacity: .58; }
.preflight-empty { padding: 18px 0; text-align: left; }
.preflight-empty p { margin: 5px 0 10px; color: var(--cro-text-muted); font-size: .74rem; }
.agent-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: 18px; }
.plan-card ol, .audit-card ol { padding: 0; margin: 12px 0 0; list-style: none; }
.plan-card li { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 11px; padding: 11px 0; border-top: 1px solid var(--cro-border); }
.plan-card li > span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 8px; background: var(--cro-brand-soft); color: var(--cro-brand-primary); font-weight: 800; }
.plan-card strong, .plan-card small { display: block; }
.plan-card strong { max-width: 300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plan-card small { margin-top: 3px; color: var(--cro-text-muted); font-size: .66rem; }
.plan-card em { color: var(--cro-brand-primary); font-size: .66rem; font-style: normal; font-weight: 800; }
.plan-flags { display: grid; justify-items: end; gap: 5px; }
.risk-badge { padding: 3px 6px; border-radius: 999px; background: var(--cro-warning-soft); color: #7a5200; font-size: .58rem; }
.risk-badge--a { background: var(--cro-success-soft); color: var(--cro-success); }
.risk-badge--c { background: rgb(255 230 230); color: var(--cro-danger); }
.audit-card li { position: relative; display: grid; grid-template-columns: 14px 1fr; gap: 10px; padding-bottom: 16px; }
.audit-card li:not(:last-child)::before { position: absolute; top: 10px; bottom: 0; left: 4px; width: 2px; background: var(--cro-border); content: ''; }
.audit-dot { position: relative; z-index: 1; width: 10px; height: 10px; margin-top: 4px; border-radius: 50%; background: var(--cro-brand-primary); }
.audit-card p { margin: 3px 0; font-size: .73rem; }
.audit-card small { color: var(--cro-text-muted); font-size: .65rem; }

@media (max-width: 1100px) {
  .experiment-row { grid-template-columns: 1fr auto; }
  .experiment-row__metrics { grid-column: 1 / -1; grid-row: 2; }
  .detail-layout, .sites-grid, .agent-grid { grid-template-columns: 1fr; }
  .results-panel { position: static; }
  .report-grid { grid-template-columns: repeat(2, 1fr); }
  .iteration-grid { grid-auto-columns: minmax(320px, 72vw); }
}

@media (max-width: 760px) {
  .versions-board { padding: 12px; }
  .versions-board__header { display: grid; }
  .versions-board__header .button { width: 100%; }
  .iteration-grid { display: grid; grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; }
}

.experiment-detail-reference .page-heading {
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--cro-border);
}

.experiment-brief {
  padding: 17px 18px;
  border-radius: 10px;
  box-shadow: none;
}

.experiment-brief h2 {
  margin-bottom: 5px;
}

.experiment-brief p:last-child {
  max-width: 780px;
  margin-bottom: 0;
  font-size: .76rem;
}

.experiment-detail-reference .variant-card {
  border-radius: 10px;
  box-shadow: none;
}

.experiment-detail-reference .variant-card img,
.experiment-detail-reference .variant-card__placeholder {
  height: 560px;
  aspect-ratio: auto;
  background: #f1f2f5;
  object-fit: contain;
}

/* Server-owned live development bridge. */
.development-bridge { max-width: 1392px; padding: 22px 24px; margin: 0 auto 18px; border: 1px solid #dfe2ea; border-radius: 14px; background: #fff; box-shadow: 0 10px 34px rgb(20 24 40 / 6%); }
.development-bridge > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.development-bridge h1 { margin: 3px 0 6px; font-size: clamp(1.25rem, 2.4vw, 1.8rem); letter-spacing: -.035em; }
.development-bridge header p:last-child { max-width: 760px; margin: 0; color: var(--cro-text-muted); font-size: .78rem; }
.development-bridge__state { display: grid; grid-template-columns: 9px auto; align-items: center; gap: 2px 8px; min-width: 128px; padding: 9px 12px; border: 1px solid var(--cro-border); border-radius: 10px; background: #fafbfc; }
.development-bridge__state > span { width: 8px; height: 8px; border-radius: 50%; background: #8a91a2; }
.development-bridge__state strong { font-size: .72rem; }
.development-bridge__state small { grid-column: 2; color: var(--cro-text-muted); font-size: .58rem; }
.development-bridge[data-development-status="working"] .development-bridge__state > span,
.development-bridge[data-development-status="checking"] .development-bridge__state > span,
.development-bridge[data-development-status="deploying"] .development-bridge__state > span { background: #6f56e8; box-shadow: 0 0 0 4px rgb(111 86 232 / 13%); animation: development-pulse 1.8s ease-in-out infinite; }
.development-bridge[data-development-status="done"] .development-bridge__state > span { background: #16845b; }
.development-bridge[data-development-status="blocked"] .development-bridge__state > span { background: #d95f43; }
.development-progress { margin-top: 18px; }
.development-progress > div { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: .66rem; font-weight: 750; }
.development-progress progress { display: block; width: 100%; height: 6px; overflow: hidden; border: 0; border-radius: 99px; background: #eceef3; }
.development-progress progress::-webkit-progress-bar { background: #eceef3; }
.development-progress progress::-webkit-progress-value { border-radius: 99px; background: linear-gradient(90deg, #7861ed, #5d89f4); }
.development-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; padding: 0; margin: 16px 0 0; list-style: none; }
.development-steps li { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 10px; border: 1px solid var(--cro-border); border-radius: 9px; color: var(--cro-text-muted); font-size: .67rem; }
.development-steps li > span { display: grid; flex: 0 0 22px; width: 22px; height: 22px; place-items: center; border-radius: 7px; background: #eef0f5; font-size: .62rem; }
.development-steps li[data-state="done"] { color: #176d4f; border-color: #cceadd; background: #f5fbf8; }
.development-steps li[data-state="current"] { color: #4e3cb7; border-color: #d8cffd; background: #f8f6ff; }
.development-changes { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 10px; margin-top: 14px; }
.development-changes article { padding: 12px; border: 1px solid var(--cro-border); border-radius: 10px; background: #fafbfc; }
.development-changes article > p { margin: 0 0 8px; font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.development-changes article > div { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.development-changes span { color: var(--cro-text-muted); font-size: .69rem; line-height: 1.4; }
.development-changes small { display: block; margin-bottom: 3px; color: #8a91a2; font-size: .56rem; font-weight: 800; text-transform: uppercase; }
.development-changes b { color: #9ba1b0; }
.development-details { margin-top: 14px; border-top: 1px solid var(--cro-border); }
.development-details > summary { padding: 12px 0 0; cursor: pointer; color: var(--cro-text-muted); font-size: .68rem; font-weight: 750; }
.development-details > div { display: grid; gap: 10px; padding-top: 12px; }
.development-checks { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 0; list-style: none; }
.development-checks li { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 8px; background: #f3f4f7; font-size: .62rem; }
.development-checks li > span { width: 6px; height: 6px; border-radius: 50%; background: #a4a9b5; }
.development-checks li[data-state="passed"] > span { background: #16845b; }
.development-checks li[data-state="running"] > span { background: #6f56e8; }
.development-checks li[data-state="failed"] > span { background: #d95f43; }
.development-checks li small { color: var(--cro-text-muted); }
.development-files { display: flex; flex-wrap: wrap; gap: 5px; }
.development-files code { padding: 4px 6px; border-radius: 6px; background: #f1f2f5; color: #555b69; font-size: .58rem; }
.development-details p { margin: 0; color: var(--cro-text-muted); font-size: .67rem; }
@keyframes development-pulse { 50% { opacity: .55; transform: scale(.88); } }

@media (max-width: 760px) {
  .development-bridge { padding: 16px; margin: 0 12px 14px; }
  .development-bridge > header { display: grid; }
  .development-bridge__state { width: fit-content; }
  .development-changes { grid-template-columns: 1fr; }
}

.experiment-detail-reference .results-panel {
  border-radius: 10px;
  box-shadow: none;
}

.funnel-table--detail {
  margin-top: 16px;
}

@media (max-width: 1260px) {
  .experiment-detail-reference .variant-card img,
  .experiment-detail-reference .variant-card__placeholder {
    height: 460px;
  }
}

@media (max-width: 640px) {
  .form-grid--wide,
  .variant-compare,
  .report-grid,
  .report-arms > div,
  .agent-controls,
  .agent-grid,
  .orchestration-summary,
  .sites-grid {
    grid-template-columns: 1fr;
  }

  .council-card > ul { grid-template-columns: 1fr; }

  .preflight-card { padding: 14px; }
  .preflight-card > header { flex-direction: column; gap: 10px; }
  .preflight-review { white-space: normal; }
  .preflight-check__summary { align-items: flex-start; }
  .preflight-check__fields { grid-template-columns: 1fr; gap: 8px; }
  .preflight-card form > footer { align-items: stretch; flex-direction: column; gap: 10px; }
  .preflight-card form > footer .button { width: 100%; }

  .iteration-flow { align-items: stretch; flex-direction: column; }
  .iteration-flow b { text-align: center; }
  .iteration-card { display: block; }
  .iteration-preview { height: 660px; border-block: 1px solid var(--cro-border); border-left: 0; }

  .form-grid--wide .field:first-child {
    grid-column: auto;
  }

  .feature-empty {
    min-height: 220px;
    padding: 24px 16px;
  }

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .data-table tr {
    padding: 10px 12px;
    border-bottom: 1px solid var(--cro-border);
  }

  .data-table td {
    padding: 7px 0;
    border: 0;
    font-size: .82rem;
  }

  .experiment-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }

  .experiment-row__metrics {
    grid-column: auto;
    grid-row: auto;
  }

  .diff-panel li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .diff-panel details {
    max-width: none;
  }

  .report-arms > div > span {
    padding: 12px;
  }

  .experiment-detail-reference .variant-card img,
  .experiment-detail-reference .variant-card__placeholder {
    height: 360px;
  }
}

.variant-card__expand {
  min-height: 32px;
  padding: 0 9px;
  margin-left: auto;
  border: 1px solid var(--cro-border);
  border-radius: 7px;
  background: #fff;
  color: var(--cro-text);
  font-size: .7rem;
  font-weight: 700;
}

.variant-card__viewport {
  height: 560px;
  overflow: auto;
  overscroll-behavior: contain;
  background: #e9ebef;
  scrollbar-color: #9ca5b8 #eef0f3;
  scrollbar-width: thin;
}

.variant-card__viewport:focus-visible {
  box-shadow: inset var(--cro-focus);
  outline: 0;
}

.variant-card__page {
  position: relative;
  width: 100%;
  min-height: 100%;
  line-height: 0;
}

.experiment-detail-reference .variant-card .variant-card__full,
.experiment-detail-reference .variant-card .variant-card__asset {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.experiment-detail-reference .variant-card .variant-card__ugc-overlay {
  position: absolute;
  top: 1.06%;
  left: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 4.35%;
  aspect-ratio: auto;
  border: 0;
  object-fit: cover;
  object-position: center 52%;
}

.variant-card__headline-overlay {
  position: absolute;
  top: .3%;
  left: 0;
  z-index: 3;
  display: grid;
  width: 100%;
  height: .82%;
  min-height: 60px;
  place-items: center;
  padding: 8px 20px;
  background: #120d1b;
  color: #fff;
  font-size: clamp(.82rem, 1.1vw, 1rem);
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
}

.variant-card__ugc-badge {
  position: absolute;
  top: 1.16%;
  left: 10px;
  z-index: 4;
  padding: 5px 7px;
  border-radius: 6px;
  background: rgb(255 255 255 / 92%);
  color: #16111f;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1;
}

.variant-card__scroll-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 11px;
  border-top: 1px solid var(--cro-border);
  border-bottom: 1px solid var(--cro-border);
  background: #f8f9fb;
  color: var(--cro-text-muted);
  font-size: .7rem;
  font-weight: 700;
}

.variant-card__scroll-hint kbd {
  display: none;
  padding: 2px 5px;
  border: 1px solid #d8dbe3;
  border-radius: 4px;
  background: #fff;
  font: inherit;
  font-size: .62rem;
}

.variant-card.is-fullscreen .variant-card__scroll-hint kbd {
  display: inline-block;
}

body.preview-open {
  overflow: hidden;
}

.variant-card.is-fullscreen {
  position: fixed;
  inset: 16px;
  z-index: 200;
  display: flex;
  width: min(520px, calc(100vw - 32px));
  height: calc(100vh - 32px);
  margin: auto;
  flex-direction: column;
  border-color: #c8cdd8;
  box-shadow: 0 24px 90px rgb(15 20 35 / 32%);
}

.variant-card.is-fullscreen::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgb(14 18 28 / 68%);
  content: '';
}

.variant-card.is-fullscreen .variant-card__viewport {
  min-height: 0;
  flex: 1;
}

.variant-card.is-fullscreen > div:last-child {
  display: none;
}

@media (max-width: 1260px) {
  .variant-card__viewport {
    height: 460px;
  }
}

@media (max-width: 640px) {
  .variant-toolbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 10px;
  }

  .variant-toolbar nav {
    width: 100%;
    justify-content: flex-start;
  }

  .variant-toolbar button {
    min-height: 34px;
    font-size: .72rem;
  }

  .diff-kind,
  .diff-panel details,
  .diff-panel details code {
    font-size: .75rem;
  }

  .variant-card__viewport {
    height: 520px;
  }

  .variant-card.is-fullscreen {
    inset: 0;
    width: 100vw;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .variant-card__headline-overlay {
    min-height: 54px;
    padding-inline: 16px;
  }
}

.cod-dashboard {
  padding: 18px;
  margin-top: 18px;
  border-radius: 12px;
  box-shadow: none;
}

.cod-dashboard__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--cro-border);
}

.cod-dashboard__header h2,
.cod-dashboard__header p {
  margin-bottom: 0;
}

.cod-dashboard__header > div:first-child > p:last-child {
  max-width: 760px;
  margin-top: 5px;
  font-size: .76rem;
}

.cod-state-stack {
  display: grid;
  flex: 0 0 auto;
  justify-items: end;
  gap: 6px;
}

.cod-state,
.cod-integrity {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  white-space: nowrap;
}

.cod-state--complete,
.cod-integrity--passed {
  background: var(--cro-success-soft);
  color: var(--cro-success);
}

.cod-state--collecting,
.cod-state--maturing,
.cod-integrity--unknown {
  background: var(--cro-blue-soft);
  color: var(--cro-blue);
}

.cod-state--incomplete {
  background: var(--cro-warning-soft);
  color: var(--cro-warning);
}

.cod-state--srm_failure,
.cod-integrity--failed {
  background: var(--cro-danger-soft);
  color: var(--cro-danger);
}

.cod-verdicts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.cod-verdict {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid var(--cro-border);
  border-radius: 9px;
  background: #fafbfc;
}

.cod-verdict--final {
  border-color: #bfe4d0;
  background: #f1faf5;
}

.cod-verdict--invalid,
.cod-verdict--blocked {
  border-color: #f0c5ca;
  background: #fff7f8;
}

.cod-verdict p,
.cod-verdict strong,
.cod-verdict small {
  display: block;
}

.cod-verdict p {
  margin: 0 0 3px;
  color: var(--cro-text-muted);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.cod-verdict strong {
  font-size: .84rem;
  line-height: 1.35;
}

.cod-verdict small {
  margin-top: 4px;
  color: var(--cro-text-muted);
  font-size: .69rem;
  line-height: 1.4;
}

.cod-data-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  gap: 12px;
}

.cod-table-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--cro-border);
  border-radius: 9px;
  background: #fff;
}

.cod-table-card > header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px 9px;
  border-bottom: 1px solid var(--cro-border);
}

.cod-table-card > header h3,
.cod-table-card > header p {
  margin-bottom: 0;
}

.cod-table-card > header h3 {
  font-size: .88rem;
}

.cod-table-card > header > span {
  color: var(--cro-text-muted);
  font-size: .65rem;
  font-weight: 800;
  white-space: nowrap;
}

.cod-table-wrap {
  overflow-x: auto;
}

.cod-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .74rem;
  font-variant-numeric: tabular-nums;
}

.cod-table th,
.cod-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #eceef2;
  text-align: right;
  vertical-align: middle;
}

.cod-table tr:last-child th,
.cod-table tr:last-child td {
  border-bottom: 0;
}

.cod-table th:first-child {
  width: 54%;
  text-align: left;
}

.cod-table thead th {
  background: #f8f9fb;
  color: var(--cro-text-muted);
  font-size: .65rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.cod-table tbody th {
  color: #4d5160;
  font-weight: 650;
}

.cod-table td strong,
.cod-table td small {
  display: block;
}

.cod-table td small {
  margin-top: 1px;
  color: var(--cro-text-muted);
  font-size: .65rem;
}

.cod-table--money th:first-child {
  width: 48%;
}

.cod-unknown {
  color: var(--cro-text-muted);
  font-size: .66rem;
}

.cod-dashboard__note {
  padding-top: 11px;
  color: var(--cro-text-muted);
  font-size: .7rem;
  line-height: 1.45;
}

.cod-dashboard__note strong {
  color: var(--cro-text);
}

@media (max-width: 960px) {
  .cod-data-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .cod-dashboard {
    padding: 12px;
    margin-top: 12px;
  }

  .cod-dashboard__header {
    flex-direction: column;
    gap: 10px;
  }

  .cod-state-stack {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: stretch;
  }

  .cod-state,
  .cod-integrity {
    justify-content: center;
    min-width: 0;
    font-size: .72rem;
    text-align: center;
    white-space: normal;
  }

  .cod-verdicts {
    grid-template-columns: 1fr;
  }

  .cod-verdict p,
  .cod-verdict small,
  .cod-table-card > header > span,
  .cod-table thead th,
  .cod-table td small,
  .cod-unknown,
  .cod-dashboard__note {
    font-size: .72rem;
  }

  .cod-table {
    font-size: .78rem;
  }

  .cod-table th,
  .cod-table td {
    padding: 8px;
  }
}

/* Owner-first hierarchy for results and launch planning. */
.report-focus {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr);
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid #dfe5df;
  border-radius: 12px;
  background: #fff;
}

.report-focus > div:first-child {
  padding: 28px 30px;
  border-right: 1px solid #dfe5df;
  background: #f1f5f0;
}

.report-focus > div:first-child > span {
  display: block;
  margin-bottom: 7px;
  color: var(--cro-brand-primary);
  font-size: .72rem;
  font-weight: 700;
}

.report-focus > div:first-child > strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.05em;
  line-height: 1;
}

.report-focus > div:first-child > p {
  margin: 10px 0 0;
  font-size: .78rem;
}

.report-focus dl {
  display: grid;
  align-content: center;
  padding: 10px 22px;
  margin: 0;
}

.report-focus dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--cro-border);
}

.report-focus dl div:last-child {
  border-bottom: 0;
}

.report-focus dt {
  color: var(--cro-text-muted);
  font-size: .72rem;
}

.report-focus dd {
  margin: 0;
  font-size: .9rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

[data-view="reports"] .cod-dashboard {
  margin-top: 0;
}

.report-technical .report-arms {
  margin: 0;
  border: 0;
  border-radius: 0 0 10px 10px;
}

.agent-focus {
  display: flex;
  min-height: 150px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 26px 30px;
  border: 1px solid #ead6d8;
  border-radius: 12px;
  background: #fdf5f5;
}

.agent-focus--ready {
  border-color: #d4e2d6;
  background: #f1f5f0;
}

.agent-focus__state {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--cro-danger);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.agent-focus--ready .agent-focus__state {
  color: var(--cro-success);
}

.agent-focus h2 {
  margin-bottom: 6px;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 650;
  letter-spacing: -.035em;
}

.agent-focus p {
  max-width: 68ch;
  margin-bottom: 0;
  font-size: .8rem;
}

.agent-focus__score {
  display: grid;
  width: 132px;
  flex: 0 0 auto;
  justify-items: end;
}

.agent-focus__score strong {
  font-size: 2.4rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.05em;
  line-height: 1;
}

.agent-focus__score span {
  margin-top: 5px;
  color: var(--cro-text-muted);
  font-size: .65rem;
  text-align: right;
}

.work-test-list { padding: 0; overflow: hidden; }
.work-test + .work-test { border-top: 1px solid var(--cro-border); }
.work-test > summary {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 150px 100px auto;
  gap: 20px;
  align-items: center;
  min-height: 88px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
}
.work-test > summary::-webkit-details-marker { display: none; }
.work-test > summary:hover { background: var(--cro-surface-muted); }
.work-test > summary:focus-visible { outline: 2px solid var(--cro-brand-primary); outline-offset: -2px; }
.work-test > summary span { min-width: 0; }
.work-test > summary strong,
.work-test > summary small { display: block; }
.work-test > summary strong { color: var(--cro-text); line-height: 1.35; }
.work-test > summary small { margin-bottom: 4px; color: var(--cro-text-muted); }
.work-test[open] > summary { background: var(--cro-surface-muted); border-bottom: 1px solid var(--cro-border); }
.work-test__body { padding: 24px; }
.work-test__body .page-heading { display: none; }

@media (max-width: 760px) {
  .work-test > summary { grid-template-columns: 1fr auto; gap: 12px; }
  .work-test > summary > span:nth-child(2),
  .work-test > summary > span:nth-child(3) { grid-column: 1 / -1; }
  .work-test__body { padding: 14px; }
}

.agent-shortcuts {
  display: flex;
  gap: 8px;
  margin: 12px 0 18px;
}

.agent-shortcuts button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--cro-border);
  border-radius: 6px;
  background: #fff;
  color: var(--cro-text-muted);
  font-size: .7rem;
  font-weight: 650;
}

.agent-shortcuts button:hover {
  border-color: #c8c7c1;
  color: var(--cro-text);
}

.agent-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, .65fr);
  align-items: start;
  gap: 16px;
}

.agent-workspace__main,
.agent-workspace__aside {
  display: grid;
  gap: 16px;
}

.agent-workspace .preflight-card,
.agent-workspace .plan-card,
.agent-workspace .cadence-card,
.agent-workspace .control-card {
  margin: 0;
  border-radius: 10px;
}

.agent-workspace__aside .cadence-card,
.agent-workspace__aside .control-card {
  padding: 18px;
}

.agent-workspace__aside h2 {
  font-size: 1rem;
}

.agent-workspace__aside p,
.agent-workspace__aside dt,
.agent-workspace__aside dd {
  font-size: .7rem;
}

.preflight-card {
  padding: 0;
  overflow: hidden;
}

.preflight-card > header {
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--cro-border);
}

.preflight-card > header > div > p:last-child {
  font-size: .72rem;
}

.preflight-safety {
  border-bottom: 1px solid var(--cro-border);
  background: #fafaf8;
}

.preflight-safety summary {
  padding: 9px 22px;
  color: var(--cro-text-muted);
  cursor: pointer;
  font-size: .66rem;
  font-weight: 650;
}

.preflight-safety p {
  padding: 0 22px 10px;
  margin: 0;
  font-size: .67rem;
}

.preflight-message {
  padding: 0 22px;
  margin-top: 8px;
}

.preflight-list {
  padding: 0 22px;
}

.preflight-check {
  padding: 14px 0;
}

.preflight-check__summary {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  gap: 10px;
  margin-bottom: 10px;
}

.preflight-check__indicator {
  width: 9px;
  height: 9px;
  margin-top: 4px;
  border: 2px solid #a7a7a1;
  border-radius: 50%;
}

.preflight-check--passed .preflight-check__indicator {
  border-color: var(--cro-success);
  background: var(--cro-success);
}

.preflight-check--failed .preflight-check__indicator {
  border-color: var(--cro-danger);
  background: var(--cro-danger);
}

.preflight-check__summary strong {
  margin: 0;
  font-size: .8rem;
}

.preflight-check__owner {
  margin-top: 3px;
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.preflight-check__state,
.preflight-review {
  border-radius: 5px;
}

.preflight-check__fields {
  grid-template-columns: minmax(170px, .34fr) minmax(0, 1fr);
  padding-left: 22px;
}

.preflight-check__evidence {
  align-self: start;
  padding-top: 3px;
}

.preflight-check__evidence > summary {
  color: var(--cro-brand-primary);
  cursor: pointer;
  font-size: .68rem;
  font-weight: 700;
}

.preflight-check__evidence > label {
  display: block;
  margin-top: 9px;
}

.preflight-check--unknown .preflight-check__evidence {
  display: none;
}

.preflight-card form > footer {
  padding: 14px 22px 18px;
  background: #fafaf8;
}

.plan-card {
  padding: 20px 22px;
}

.plan-card > header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.plan-card > header > span {
  color: var(--cro-text-muted);
  font-size: .68rem;
}

.plan-card strong {
  max-width: 520px;
}

.expert-disclosure .council-card,
.expert-disclosure .audit-card {
  margin: 0;
  padding: 20px;
}

.expert-disclosure .audit-card ol {
  margin: 0;
}

@media (max-width: 1000px) {
  .agent-workspace {
    grid-template-columns: 1fr;
  }

  .agent-workspace__aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .report-focus {
    grid-template-columns: 1fr;
  }

  .report-focus > div:first-child {
    border-right: 0;
    border-bottom: 1px solid #dfe5df;
  }

  .agent-focus {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding: 22px 20px;
  }

  .agent-focus__score {
    width: auto;
    justify-items: start;
  }

  .agent-focus__score span {
    text-align: left;
  }

  .agent-shortcuts {
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .agent-shortcuts button {
    flex: 0 0 auto;
  }

  .agent-workspace__aside {
    grid-template-columns: 1fr;
  }

  .preflight-card > header {
    flex-direction: column;
    padding: 18px 16px 14px;
  }

  .preflight-list,
  .preflight-message {
    padding-inline: 16px;
  }

  .preflight-check__fields {
    grid-template-columns: 1fr;
    padding-left: 0;
  }

  .preflight-card form > footer {
    align-items: stretch;
    flex-direction: column;
    padding: 14px 16px 16px;
  }

  .preflight-card form > footer .button {
    width: 100%;
  }
}
