/* ES_REVIEW_FINAL_IA_01 — SINGLE SOURCE OF REVIEW INFORMATION GEOMETRY */
body[data-view="record"]{overflow-x:hidden}
body[data-view="record"] .review-prototype-grid{
  display:block;
  padding:8px 10px 12px;
  min-width:0
}
body[data-view="record"] .review-trade-column,
body[data-view="record"] .review-system-column{
  display:grid;
  gap:8px;
  width:100%;
  min-width:0;
  align-content:start
}
body[data-view="record"] .review-trade-column[hidden],
body[data-view="record"] .review-system-column[hidden],
body[data-view="record"] .review-system-panel[hidden],
body[data-view="record"] .review-system-tools[hidden]{display:none!important}
body[data-view="record"] .review-system-sticky{
  display:grid;
  gap:8px;
  position:static;
  width:100%;
  max-height:none;
  overflow:visible;
  padding:0
}
body[data-view="record"] .review-zone,
body[data-view="record"] .review-system-panel,
body[data-view="record"] .review-system-column>*,
body[data-view="record"] .review-trade-column>*{min-width:0;height:auto;min-height:0}

/* 02 original basis: facts + decision, frozen chart below. */
body[data-view="record"] #reviewDecisionSnapshot.review-decision-snapshot{
  display:block;width:100%;min-width:0
}
body[data-view="record"] #reviewDecisionSnapshot>.review-decision-grid{
  display:grid;
  grid-template-columns:minmax(230px,.72fr) minmax(0,1.28fr);
  grid-template-areas:"facts decision" "chart chart";
  gap:8px;
  align-items:stretch;
  padding:8px;
  border:0;
  background:transparent
}
body[data-view="record"] #reviewDecisionSnapshot .review-snapshot-facts{grid-area:facts;min-width:0;overflow:hidden}
body[data-view="record"] #reviewDecisionSnapshot .review-snapshot-facts dl{grid-template-columns:84px minmax(0,1fr);align-items:start}
body[data-view="record"] #reviewDecisionSnapshot .review-decision-side{
  grid-area:decision;display:grid;grid-template-columns:1fr;grid-template-rows:1fr 1fr;gap:8px;min-width:0
}
body[data-view="record"] #reviewDecisionSnapshot .review-level-chart{
  grid-area:chart;display:flex;flex-direction:column;min-width:0;overflow:hidden;padding:8px
}
body[data-view="record"] #reviewSnapshotChart:not(.review-chart-expanded){
  height:360px;min-height:0;grid-template-rows:auto minmax(0,1fr) auto
}
body[data-view="record"] #reviewSnapshotChart:not(.review-chart-expanded) .review-price-visual,
body[data-view="record"] #reviewSnapshotChart:not(.review-chart-expanded) .review-price-plot-shell,
body[data-view="record"] #reviewSnapshotChart:not(.review-chart-expanded) .review-price-plot-shell svg{min-height:0;height:100%}
body[data-view="record"] #reviewSnapshotChart:not(.review-chart-expanded) .review-price-rail{min-height:0;overflow-y:auto}

/* Professional audit geometry. */
body[data-view="record"] .review-dual-row.review-audit-row{
  display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:start
}
body[data-view="record"] .review-identity-audit,
body[data-view="record"] .review-quality-grid,
body[data-view="record"] .review-outcome-grid,
body[data-view="record"] .review-outcome-running,
body[data-view="record"] .review-verdict-grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:8px
}
body[data-view="record"] .review-identity-audit>div,
body[data-view="record"] .review-quality-grid>div,
body[data-view="record"] .review-outcome-grid>div,
body[data-view="record"] .review-outcome-running>div,
body[data-view="record"] .review-verdict-grid>div{
  border:1px solid rgba(78,170,220,.17);background:rgba(3,26,42,.42);border-radius:8px;padding:9px 10px;min-width:0
}
body[data-view="record"] .review-identity-audit span,
body[data-view="record"] .review-quality-grid span,
body[data-view="record"] .review-outcome-grid span,
body[data-view="record"] .review-outcome-running span,
body[data-view="record"] .review-verdict-grid span{display:block;color:#7898af;font-size:11px;margin-bottom:5px}
body[data-view="record"] .review-audit-badge{
  display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:3px 8px;border-radius:999px;border:1px solid rgba(109,154,186,.26);font-size:11px;white-space:nowrap
}
body[data-view="record"] .review-audit-badge.good{color:#58e6ba;border-color:rgba(88,230,186,.42);background:rgba(24,126,104,.12)}
body[data-view="record"] .review-audit-badge.bad{color:#ff7d82;border-color:rgba(255,125,130,.45);background:rgba(135,39,49,.15)}
body[data-view="record"] .review-audit-badge.warn{color:#f3ca67;border-color:rgba(243,202,103,.42);background:rgba(130,98,28,.13)}
body[data-view="record"] .review-audit-badge.neutral{color:#9bc6df}
body[data-view="record"] .review-plan-meta{grid-template-columns:repeat(4,minmax(0,1fr))}
body[data-view="record"] .review-audit-table{min-width:1320px}
body[data-view="record"] .review-sev-major td,
body[data-view="record"] .review-sev-critical td{background:rgba(121,37,45,.08)}
body[data-view="record"] .review-gate-head,
body[data-view="record"] .review-quality-hero{
  display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:10px;border:1px solid rgba(70,165,216,.18);border-radius:8px;background:rgba(3,28,45,.42)
}
body[data-view="record"] .review-gate-head>span,
body[data-view="record"] .review-quality-hero span{color:#7f9db2;font-size:11px}
body[data-view="record"] .review-gate-head small{margin-left:auto;color:#6f91a8}
body[data-view="record"] .review-quality-hero>div{display:flex;gap:7px;align-items:center}
body[data-view="record"] .review-verdict-zone{
  border-color:rgba(36,190,255,.48);
  box-shadow:0 0 0 1px rgba(36,190,255,.05),0 0 28px rgba(0,127,190,.06)
}
body[data-view="record"] .review-verdict-hero{
  display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:center;padding:13px;border:1px solid rgba(46,184,239,.28);border-radius:9px;background:linear-gradient(90deg,rgba(4,42,65,.82),rgba(3,24,39,.52))
}
body[data-view="record"] .review-verdict-hero>div{display:flex;gap:8px;align-items:center}
body[data-view="record"] .review-verdict-hero span{color:#7fa4bd;font-size:11px;letter-spacing:.08em}
body[data-view="record"] .review-verdict-hero p{margin:0;color:#bdd4e3}
body[data-view="record"] .review-learning-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
body[data-view="record"] .review-learning-grid>section,
body[data-view="record"] .review-closure-list{border:1px solid rgba(78,170,220,.15);border-radius:8px;padding:10px;background:rgba(3,24,39,.35)}
body[data-view="record"] .review-learning-grid h5,
body[data-view="record"] .review-closure-list h5{margin:0 0 8px;color:#b8d5e7;font-size:12px}
body[data-view="record"] .review-learning,
body[data-view="record"] .review-closure-list article{
  display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr) auto;gap:8px;align-items:center;padding:7px 0;border-top:1px solid rgba(100,150,185,.1)
}
body[data-view="record"] .review-learning:first-of-type,
body[data-view="record"] .review-closure-list article:first-of-type{border-top:0}
body[data-view="record"] .review-learning span,
body[data-view="record"] .review-closure-list span{color:#7e9eb5;font-size:11px}
body[data-view="record"] .review-learning em,
body[data-view="record"] .review-closure-list em{font-style:normal;font-size:10px;color:#5fc7eb}
body[data-view="record"] .review-learning.good b{color:#65dfad}
body[data-view="record"] .review-learning.bad b{color:#ff8585}
body[data-view="record"] .review-closure-list article{grid-template-columns:minmax(150px,.45fr) minmax(0,1.55fr) auto}
body[data-view="record"] .review-system-column{padding:0}
body[data-view="record"] #reviewSystemVerify,
body[data-view="record"] #reviewSystemCombo,
body[data-view="record"] #reviewSystemOutcome{min-height:0;height:auto}
body[data-view="record"] .review-combo-result,
body[data-view="record"] .outcome-list{min-height:0;max-width:100%;overflow:auto}
body[data-view="record"] .outcome-table{max-width:none}

/* No sticky/fixed REVIEW workbench is permitted in final IA. */
@media(max-width:900px){
  body[data-view="record"] #reviewDecisionSnapshot>.review-decision-grid{
    grid-template-columns:1fr;grid-template-areas:"facts" "decision" "chart"
  }
  body[data-view="record"] #reviewDecisionSnapshot .review-decision-side{grid-template-columns:1fr 1fr;grid-template-rows:none}
  body[data-view="record"] .review-dual-row.review-audit-row,
  body[data-view="record"] .review-learning-grid{grid-template-columns:1fr}
  body[data-view="record"] .review-identity-audit,
  body[data-view="record"] .review-quality-grid,
  body[data-view="record"] .review-outcome-grid,
  body[data-view="record"] .review-outcome-running,
  body[data-view="record"] .review-verdict-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-view="record"] .review-verdict-hero{grid-template-columns:1fr}
}
@media(max-width:760px){
  body[data-view="record"] .review-prototype-grid{padding:8px}
  body[data-view="record"] .review-domain-tabs{grid-template-columns:1fr}
  body[data-view="record"] .review-selector-line{grid-template-columns:1fr}
  body[data-view="record"] .review-selector-line span{white-space:normal}
  body[data-view="record"] #reviewDecisionSnapshot .review-decision-side{grid-template-columns:1fr}
  body[data-view="record"] #reviewDecisionSnapshot .review-level-chart{padding:7px}
  body[data-view="record"] #reviewSnapshotChart:not(.review-chart-expanded){height:auto;grid-template-rows:auto auto auto}
  body[data-view="record"] .review-identity-audit,
  body[data-view="record"] .review-quality-grid,
  body[data-view="record"] .review-outcome-grid,
  body[data-view="record"] .review-outcome-running,
  body[data-view="record"] .review-verdict-grid{grid-template-columns:1fr}
  body[data-view="record"] .review-verify-compact{grid-template-columns:1fr!important}
  body[data-view="record"] .review-system-tools{grid-template-columns:1fr}
  body[data-view="record"] .review-learning,
  body[data-view="record"] .review-closure-list article{grid-template-columns:1fr}
}


/* ES_REVIEW_ISSUE_ENGINE_01 — problem-driven formal REVIEW only */
body[data-view="record"] [data-review-detail][hidden]{display:none!important}
body[data-view="record"] .review-formal-empty{
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 16px;align-items:center;
  padding:18px;border:1px dashed rgba(68,177,225,.30);border-radius:10px;
  background:rgba(2,29,46,.48)
}
body[data-view="record"] .review-formal-empty b{font-size:16px;color:#d9edf8}
body[data-view="record"] .review-formal-empty p{grid-column:1;margin:0;color:#88a9bc;line-height:1.65}
body[data-view="record"] .review-formal-empty button{grid-column:2;grid-row:1/3;align-self:center}

body[data-view="record"] .review-plan-actual-table{min-width:1500px}
body[data-view="record"] .review-issue-summary{
  display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-bottom:8px
}
body[data-view="record"] .review-issue-summary>div{
  min-width:0;padding:10px 12px;border:1px solid rgba(73,169,218,.17);
  border-radius:8px;background:rgba(2,28,44,.45)
}
body[data-view="record"] .review-issue-summary span{display:block;color:#7395ab;font-size:11px;margin-bottom:5px}
body[data-view="record"] .review-issue-summary b{font-size:18px;color:#e2f3fb}
body[data-view="record"] .review-issue-summary .critical b{color:#ff7474}
body[data-view="record"] .review-issue-summary .major b{color:#ff9a79}
body[data-view="record"] .review-issue-summary .minor b{color:#f0c96c}

body[data-view="record"] .review-category-summary{
  display:flex;gap:6px;flex-wrap:wrap;margin-bottom:9px
}
body[data-view="record"] .review-category-summary span{
  padding:5px 8px;border:1px solid rgba(78,165,211,.14);border-radius:999px;
  color:#7899ae;font-size:10px
}
body[data-view="record"] .review-category-summary b{color:#b9d9e9;margin-left:4px}
body[data-view="record"] .review-issue-list{display:grid;gap:6px}
body[data-view="record"] .review-issue-row{
  display:grid;grid-template-columns:145px minmax(0,1fr) auto;gap:10px;align-items:center;
  padding:10px;border:1px solid rgba(72,163,210,.16);border-left-width:3px;border-radius:8px;
  background:rgba(2,25,40,.46)
}
body[data-view="record"] .review-issue-row.sev-critical{border-left-color:#ff7474}
body[data-view="record"] .review-issue-row.sev-major{border-left-color:#ff9a79}
body[data-view="record"] .review-issue-row.sev-minor{border-left-color:#f0c96c}
body[data-view="record"] .review-issue-row.sev-info{border-left-color:#47c9f1}
body[data-view="record"] .review-issue-id b{display:block;color:#d7eef8}
body[data-view="record"] .review-issue-id span,
body[data-view="record"] .review-issue-row small{color:#7595aa;font-size:10px}
body[data-view="record"] .review-issue-row>div:nth-child(2)>b{display:block;color:#d5edf8;margin-bottom:4px}
body[data-view="record"] .review-no-issues{
  padding:16px;border:1px solid rgba(83,208,169,.20);border-radius:8px;background:rgba(15,91,75,.08)
}
body[data-view="record"] .review-no-issues b{color:#65dfad}
body[data-view="record"] .review-no-issues p{margin:6px 0 0;color:#7f9fb3}

body[data-view="record"] .review-cause-list{display:grid;gap:7px}
body[data-view="record"] .review-cause-list article{
  display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,.7fr) minmax(0,1.6fr);
  gap:8px;padding:10px;border:1px solid rgba(74,166,214,.15);border-radius:8px;background:rgba(3,27,43,.40)
}
body[data-view="record"] .review-cause-list header{
  grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding-bottom:7px;border-bottom:1px solid rgba(99,154,188,.10)
}
body[data-view="record"] .review-cause-list article>div span,
body[data-view="record"] .review-closure-engine article>div span{display:block;color:#7393a9;font-size:10px;margin-bottom:4px}
body[data-view="record"] .review-cause-list .pending{color:#f0c96c}
body[data-view="record"] .review-cause-list .impact p{margin:0;color:#b8d2e0;line-height:1.55}

body[data-view="record"] .review-closure-engine{display:grid;gap:7px}
body[data-view="record"] .review-closure-engine article{
  display:grid;grid-template-columns:minmax(200px,.75fr) minmax(220px,.75fr) minmax(0,1.4fr) minmax(0,1.4fr) auto;
  gap:10px;align-items:start;padding:11px;border:1px solid rgba(73,170,218,.17);
  border-radius:8px;background:rgba(2,28,44,.44)
}
body[data-view="record"] .review-closure-engine article>div:first-child b{display:block;color:#d9edf8}
body[data-view="record"] .review-closure-engine article>div:first-child span{display:block;color:#7796aa;font-size:10px;margin-top:4px}
body[data-view="record"] .review-closure-engine .solution p,
body[data-view="record"] .review-closure-engine .validation p{margin:0;color:#b3cfdd;line-height:1.55}
body[data-view="record"] .review-final-result{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin-top:8px
}
body[data-view="record"] .review-final-result>div{
  padding:10px;border:1px solid rgba(74,166,214,.15);border-radius:8px;background:rgba(2,28,44,.42)
}
body[data-view="record"] .review-final-result span{display:block;color:#7696aa;font-size:10px;margin-bottom:5px}
body[data-view="record"] .review-final-result b{color:#d8edf7}
body[data-view="record"] .review-strengths{
  margin-top:8px;padding:10px;border:1px solid rgba(83,208,169,.16);border-radius:8px;background:rgba(7,65,57,.06)
}
body[data-view="record"] .review-strengths h5{margin:0 0 7px;color:#a9dcca}
body[data-view="record"] .review-strengths article{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.8fr) auto;gap:8px;
  padding:6px 0;border-top:1px solid rgba(93,166,147,.10)
}
body[data-view="record"] .review-strengths article:first-of-type{border-top:0}
body[data-view="record"] .review-strengths b{color:#65dfad}
body[data-view="record"] .review-strengths span{color:#7899aa;font-size:10px}
body[data-view="record"] .review-strengths em{font-style:normal;color:#59c7ee;font-size:10px}

@media(max-width:900px){
 body[data-view="record"] .review-issue-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
 body[data-view="record"] .review-cause-list article{grid-template-columns:1fr 1fr}
 body[data-view="record"] .review-cause-list .impact{grid-column:1/-1}
 body[data-view="record"] .review-closure-engine article{grid-template-columns:1fr 1fr}
 body[data-view="record"] .review-closure-engine .solution,
 body[data-view="record"] .review-closure-engine .validation{grid-column:1/-1}
 body[data-view="record"] .review-final-result{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
 body[data-view="record"] .review-formal-empty{grid-template-columns:1fr}
 body[data-view="record"] .review-formal-empty button{grid-column:1;grid-row:auto;justify-self:start}
 body[data-view="record"] .review-issue-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
 body[data-view="record"] .review-issue-row{grid-template-columns:1fr}
 body[data-view="record"] .review-cause-list article,
 body[data-view="record"] .review-closure-engine article{grid-template-columns:1fr}
 body[data-view="record"] .review-cause-list .impact,
 body[data-view="record"] .review-closure-engine .solution,
 body[data-view="record"] .review-closure-engine .validation{grid-column:1}
 body[data-view="record"] .review-final-result{grid-template-columns:1fr}
 body[data-view="record"] .review-strengths article{grid-template-columns:1fr}
}


/* ES_REVIEW_REFERENCE_PREVIEW_01 — isolated visual specimen, never formal truth */
body[data-view="record"] .review-formal-empty>div:first-child{min-width:0}
body[data-view="record"] .review-formal-actions{
  grid-column:2;grid-row:1/3;display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap
}
body[data-view="record"] .review-preview-banner{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  margin-bottom:10px;padding:11px 13px;border:1px solid rgba(240,201,108,.35);
  border-left:3px solid #f0c96c;border-radius:8px;background:rgba(89,67,16,.12)
}
body[data-view="record"] .review-preview-banner b{display:block;color:#f0d68b;font-size:13px}
body[data-view="record"] .review-preview-banner span{display:block;color:#9c987b;font-size:10px;margin-top:3px}
body[data-view="record"] .review-preview-select{
  min-width:260px;padding:7px 10px;border:1px solid rgba(240,201,108,.24);
  border-radius:6px;background:rgba(62,50,17,.16);color:#ecd893;font-weight:700
}
body[data-view="record"] .review-state-pill.preview{
  border-color:rgba(240,201,108,.35);background:rgba(92,70,12,.18);color:#f0d17b
}
body[data-view="record"] .review-preview-banner+ .review-selector-line{
  border-top:1px solid rgba(240,201,108,.08);padding-top:8px
}
@media(max-width:760px){
 body[data-view="record"] .review-formal-actions{grid-column:1;grid-row:auto;justify-content:flex-start}
 body[data-view="record"] .review-preview-banner{align-items:flex-start;flex-direction:column}
 body[data-view="record"] .review-preview-select{min-width:0;width:100%}
}

/* ES_REVIEW_FINAL_STANDARD_02 — bilingual, problem-driven, operator-readable */
body[data-view="record"] #reviewTradeSelector.review-trade-selector{display:block!important;padding:10px!important}
body[data-view="record"] .review-entry-toolbar{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-bottom:8px}
body[data-view="record"] .review-entry-toolbar label{display:grid;gap:5px;min-width:min(440px,100%)}
body[data-view="record"] .review-entry-toolbar label>span{font-size:9px;color:#7ea3b8}
body[data-view="record"] .review-entry-toolbar select{height:36px;padding:0 10px;border:1px solid rgba(42,171,226,.35);border-radius:7px;background:#051f31;color:#ecf9ff;font-weight:700}
body[data-view="record"] .review-entry-grid{
 display:grid;grid-template-columns:minmax(260px,1.5fr) repeat(6,minmax(130px,1fr));gap:8px;align-items:stretch
}
body[data-view="record"] .review-entry-grid>div{
 min-width:0;min-height:82px;padding:10px 11px;border:1px solid rgba(73,169,218,.17);
 border-radius:8px;background:rgba(2,28,44,.45);display:flex;flex-direction:column;justify-content:center;gap:6px
}
body[data-view="record"] .review-entry-grid>div>span{color:#7598ad;font-size:9px;line-height:1.35}
body[data-view="record"] .review-entry-grid>div>b{color:#e5f3fa;font-size:12px;line-height:1.3}
body[data-view="record"] .review-entry-identity{border-color:rgba(38,193,241,.42)!important;background:linear-gradient(135deg,rgba(4,50,73,.68),rgba(2,28,44,.44))!important}
body[data-view="record"] .review-entry-identity>b{font-size:15px!important}
body[data-view="record"] .review-entry-identity>small{color:#7fa4b7;font-size:9px;line-height:1.45}
body[data-view="record"] .review-preview-banner{margin-bottom:8px}
body[data-view="record"] .review-preview-banner span{font-size:9px;line-height:1.45}

/* 02 = frozen strategy facts + frozen action plan + master key-price snapshot */
body[data-view="record"] #reviewDecisionSnapshot>.review-decision-grid.review-decision-grid-v2{
 grid-template-columns:minmax(255px,.68fr) minmax(0,1.32fr);
 grid-template-areas:"facts plan" "chart chart";gap:8px
}
body[data-view="record"] #reviewDecisionSnapshot .review-frozen-plan{
 grid-area:plan;min-width:0;border:1px solid rgba(47,139,192,.16);border-radius:7px;background:rgba(5,30,47,.58);padding:10px;overflow:hidden
}
body[data-view="record"] .review-frozen-plan-head{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(360px,1fr);gap:10px;align-items:start;margin-bottom:9px}
body[data-view="record"] .review-frozen-plan-head>div:first-child>span{display:block;color:#6f96ab;font-size:9px}
body[data-view="record"] .review-frozen-plan-head>div:first-child>b{display:block;margin-top:4px;color:#eef9ff;font-size:14px}
body[data-view="record"] .review-frozen-plan-head>div:first-child>small{display:block;margin-top:4px;color:#8db0c1;font-size:9px}
body[data-view="record"] .review-plan-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
body[data-view="record"] .review-plan-kpis>div{padding:7px 8px;border:1px solid rgba(69,157,202,.16);border-radius:6px;background:rgba(2,24,38,.48)}
body[data-view="record"] .review-plan-kpis span{display:block;color:#6f95aa;font-size:8px;margin-bottom:4px}
body[data-view="record"] .review-plan-kpis b{font-size:10px;color:#e1f2fa}
body[data-view="record"] .review-plan-table-wrap{width:100%;overflow:auto;border:1px solid rgba(54,146,194,.13);border-radius:7px}
body[data-view="record"] .review-plan-table{width:100%;min-width:760px;border-collapse:collapse;font-variant-numeric:tabular-nums}
body[data-view="record"] .review-plan-table th{padding:7px 8px;text-align:left;background:#073149;color:#88b7cd;font-size:8px;font-weight:700;white-space:nowrap}
body[data-view="record"] .review-plan-table td{padding:8px;border-top:1px solid rgba(71,145,182,.10);color:#d7ebf5;font-size:9px;white-space:nowrap}
body[data-view="record"] .review-frozen-plan .review-boundary{margin:8px 0 0}

/* 03 standards */
body[data-view="record"] .review-plan-meta.review-plan-meta-v2{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
body[data-view="record"] .review-plan-meta.review-plan-meta-v2>div{min-height:62px;display:flex;flex-direction:column;justify-content:center}
body[data-view="record"] .review-plan-meta.review-plan-meta-v2 span{line-height:1.35}
body[data-view="record"] .review-plan-meta.review-plan-meta-v2 b{line-height:1.35}
body[data-view="record"] .review-plan-actual-table{min-width:1780px!important}
body[data-view="record"] .review-plan-actual-table th{white-space:nowrap}

/* 04 issue standards */
body[data-view="record"] .review-issue-standard,
body[data-view="record"] .review-cause-standard,
body[data-view="record"] .review-closure-standard,
body[data-view="record"] .review-verdict-standard{
 display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 9px;padding:9px 10px;
 border:1px solid rgba(57,154,201,.17);border-radius:7px;background:rgba(3,26,41,.44)
}
body[data-view="record"] .review-issue-standard>b,
body[data-view="record"] .review-cause-standard>b,
body[data-view="record"] .review-closure-standard>b,
body[data-view="record"] .review-verdict-standard>b{color:#d9edf7;font-size:10px}
body[data-view="record"] .review-issue-standard>span,
body[data-view="record"] .review-cause-standard>span,
body[data-view="record"] .review-closure-standard>span,
body[data-view="record"] .review-verdict-standard>span{color:#87a8ba;font-size:9px;line-height:1.5}
body[data-view="record"] .review-issue-standard>span{padding-right:8px;border-right:1px solid rgba(74,143,177,.14)}
body[data-view="record"] .review-issue-standard strong{color:#dbeef7;font-weight:800}
body[data-view="record"] .review-issue-row small{line-height:1.55}
body[data-view="record"] .review-issue-row small strong{color:#9fc2d3;font-weight:700}

/* 05 cause = deviation fact + cause + impact */
body[data-view="record"] .review-cause-list article{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.6fr)!important}
body[data-view="record"] .review-cause-list article>div>b{color:#d9edf7;font-size:9px;line-height:1.5}
body[data-view="record"] .review-cause-list .impact p{font-size:9px}

/* 06 solution = action + mechanism + validation + closure */
body[data-view="record"] .review-closure-engine article{
 grid-template-columns:minmax(180px,.7fr) minmax(220px,.9fr) minmax(0,1.25fr) minmax(0,1.25fr) auto!important
}
body[data-view="record"] .review-closure-engine article>div>b{font-size:9px;line-height:1.5}
body[data-view="record"] .review-closure-engine .solution p,
body[data-view="record"] .review-closure-engine .validation p{font-size:9px}

/* 07 final verdict = four fixed conclusions */
body[data-view="record"] .review-final-four{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:8px}
body[data-view="record"] .review-final-four>div{min-width:0;min-height:112px;padding:11px;border:1px solid rgba(74,166,214,.17);border-radius:8px;background:rgba(2,28,44,.44)}
body[data-view="record"] .review-final-four>div>span{display:block;color:#7da0b5;font-size:9px;margin-bottom:7px}
body[data-view="record"] .review-final-four>div>b:not(.review-audit-badge){display:block;color:#edf8fc;font-size:12px;line-height:1.4}
body[data-view="record"] .review-final-four>div>small{display:block;margin-top:8px;color:#88a7b8;font-size:8px;line-height:1.55}
body[data-view="record"] .review-verdict-evidence{margin-top:8px}
body[data-view="record"] .review-strengths h5{font-size:10px}
body[data-view="record"] .review-strengths article{grid-template-columns:minmax(0,1.5fr) minmax(120px,.8fr) auto}

@media(max-width:1380px){
 body[data-view="record"] .review-entry-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 body[data-view="record"] .review-entry-identity{grid-column:span 2}
 body[data-view="record"] .review-frozen-plan-head{grid-template-columns:1fr}
}
@media(max-width:900px){
 body[data-view="record"] .review-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body[data-view="record"] .review-entry-identity{grid-column:1/-1}
 body[data-view="record"] #reviewDecisionSnapshot>.review-decision-grid.review-decision-grid-v2{grid-template-columns:1fr;grid-template-areas:"facts" "plan" "chart"}
 body[data-view="record"] .review-plan-meta.review-plan-meta-v2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body[data-view="record"] .review-final-four{grid-template-columns:repeat(2,minmax(0,1fr))}
 body[data-view="record"] .review-closure-engine article{grid-template-columns:1fr 1fr!important}
 body[data-view="record"] .review-closure-engine .solution,
 body[data-view="record"] .review-closure-engine .validation{grid-column:1/-1}
}
@media(max-width:760px){
 body[data-view="record"] .review-entry-toolbar{align-items:stretch;flex-direction:column}
 body[data-view="record"] .review-entry-grid{grid-template-columns:1fr}
 body[data-view="record"] .review-entry-identity{grid-column:1}
 body[data-view="record"] .review-plan-kpis{grid-template-columns:1fr}
 body[data-view="record"] .review-plan-meta.review-plan-meta-v2{grid-template-columns:1fr!important}
 body[data-view="record"] .review-issue-standard{display:grid}
 body[data-view="record"] .review-issue-standard>span{border-right:0;border-top:1px solid rgba(74,143,177,.12);padding-top:6px}
 body[data-view="record"] .review-cause-list article,
 body[data-view="record"] .review-closure-engine article{grid-template-columns:1fr!important}
 body[data-view="record"] .review-final-four{grid-template-columns:1fr}
}

