/* Station 02: three stable, independently editable comparison models. */
#ai-design-iteration-study .design-brief {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  padding:10px;
  border:1px solid #d8e4f1;
  border-radius:10px;
  background:#f3f7fc;
}
#ai-design-iteration-study .design-brief > div {
  padding:10px 12px;
  border-left:1px solid #8db9e6;
}
#ai-design-iteration-study .compare-grid {align-items:start;}
#ai-design-iteration-study .candidate {
  box-sizing:border-box;
  height:710px;
  min-height:710px;
}
#ai-design-iteration-study .candidate.chosen {border-width:1px;box-shadow:none;}
#ai-design-iteration-study .candidate > p:first-of-type {min-height:62px;}
#ai-design-iteration-study .candidate .trial-ui {
  height:354px;
  min-height:354px;
  overflow:auto;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  padding:2px 5px 2px 2px;
}
#ai-design-iteration-study .candidate .judgment {min-height:88px;}
#ai-design-iteration-study .compare-field {
  display:grid;
  gap:4px;
  min-width:0;
  color:#5f6368;
  font:500 10px/1.25 'Work Sans',sans-serif;
  letter-spacing:.02em;
}
#ai-design-iteration-study .compare-field input {
  box-sizing:border-box;
  width:100%;
  min-width:0;
  height:34px;
  padding:6px 8px;
  border:1px solid #cecece;
  border-radius:5px;
  background:#fff;
  color:#303030;
  font:400 12px/1.4 'Poppins',sans-serif;
}
#ai-design-iteration-study .shared-field-row,
#ai-design-iteration-study .creator-fields {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.72fr);gap:8px;}
#ai-design-iteration-study .mini-group {
  padding:10px;
  background:#fbfbfa;
  overflow:hidden;
}
#ai-design-iteration-study .mini-group > b {
  margin:-10px -10px 10px;
  background:#eef4fb;
}
#ai-design-iteration-study .candidate .inline-add-card {
  width:100%;
  margin-top:8px;
  padding:7px 9px;
  border-color:#d7d7d7;
  background:#fff;
  text-align:left;
  font-size:11px;
}
#ai-design-iteration-study .card-detail-row,
#ai-design-iteration-study .flat-card-row {
  margin-top:8px;
  padding:8px;
  border:1px solid #dedede;
  border-radius:6px;
  background:#fff;
}
#ai-design-iteration-study .card-detail-row > small,
#ai-design-iteration-study .flat-card-row > small {
  display:block;
  margin-bottom:6px;
  color:#6b6b6b;
  font:600 10px/1.3 'Work Sans',sans-serif;
  letter-spacing:.04em;
  text-transform:uppercase;
}
#ai-design-iteration-study .card-detail-row {display:grid;grid-template-columns:1fr .72fr;gap:8px;}
#ai-design-iteration-study .card-detail-row > small {grid-column:1/-1;}
#ai-design-iteration-study .flat-card-fields {display:grid;grid-template-columns:1fr .72fr;gap:8px;}
#ai-design-iteration-study .batch-creator {
  padding:10px;
  border:1px solid #b8cee5;
  border-radius:7px;
  background:#f3f7fc;
}
#ai-design-iteration-study .batch-creator > b {display:block;margin-bottom:8px;font-size:12px;}
#ai-design-iteration-study .batch-creator .creator-fields {grid-template-columns:1fr .72fr .62fr;}
#ai-design-iteration-study .generated-rows {margin-top:10px;}
#ai-design-iteration-study .trial-result {min-height:38px;}

@media(max-width:700px){
  #ai-design-iteration-study .design-brief {grid-template-columns:1fr;}
  #ai-design-iteration-study .candidate {height:710px;min-height:710px;}
  #ai-design-iteration-study .candidate .trial-ui {height:354px;min-height:354px;}
}

/* Optional exploration never competes with the always-readable decision. */
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .is-content-group,
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .station-visual-group,
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .is-dialog-stage {display:block;min-height:0;}
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .is-dialog-body {overflow:auto;}
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .is-general-scene {display:block;}
#ai-design-iteration-study .compare-decision {max-width:780px;margin-bottom:20px;}
#ai-design-iteration-study .compare-decision h4 {font:600 18px/1.5 'Poppins',sans-serif;margin:0 0 8px;}
#ai-design-iteration-study .compare-decision p {font:400 14px/1.65 'Poppins',sans-serif;margin:0 0 10px;}
#ai-design-iteration-study .compare-decision .compare-tradeoff {color:#303030;}
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .explore-lead {margin-bottom:16px;max-width:none;}
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .design-brief {margin:0;display:flex;gap:16px;padding:12px 0;border:0;border-radius:0;background:transparent;border-top:1px solid #e2e8ef;}
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .design-brief > div {display:block;padding:0;border:0;flex:1;}
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .design-brief span {font-size:11px;display:block;margin-bottom:4px;}
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .design-brief b {font-size:13px;font-weight:400;}
#ai-design-iteration-study .compare-tabs {display:flex;gap:6px;margin-bottom:12px;}
#ai-design-iteration-study .compare-tabs button {flex:1;min-width:0;min-height:44px;padding:9px;border:1px solid #ccd5df;border-radius:7px;background:#fff;color:#303030;font:500 12px/1.4 'Poppins',sans-serif;}
#ai-design-iteration-study .compare-tabs [aria-selected="true"] {border-color:#0071e3;background:#eaf3ff;color:#005bb8;}
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .compare-grid {display:block;overflow:visible;}
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .candidate {height:auto;min-height:0;padding:18px;display:grid;grid-template-columns:minmax(180px,.65fr) minmax(0,1.5fr);grid-template-rows:auto 1fr;grid-template-areas:"head trial" "description trial";gap:12px 24px;border:1px solid #d8e1eb;}
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .candidate[hidden] {display:none;}
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .candidate > header {grid-area:head;display:block;font-size:16px;}
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .candidate > header span {display:block;font-size:12px;color:#005bb8;margin-top:6px;}
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .candidate > p {grid-area:description;min-height:0;margin:0;font-size:13px;line-height:1.65;}
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .candidate > .trial-ui {grid-area:trial;height:320px;min-height:0;overflow:auto;padding:3px 5px;scrollbar-gutter:stable;}
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .choice-actions {display:flex;flex-wrap:wrap;gap:10px 12px;align-items:center;justify-content:flex-start;margin:16px 0 0;}
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .choice-actions .try-progress {flex-basis:100%;font:400 12px/1.5 'Poppins',sans-serif;color:#555;}
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .choice-actions button {min-height:44px;padding:10px 14px;font-size:13px;margin:0;}
#ai-design-iteration-study #adis-dialog[data-chapter="1"] #show-choice {background:#eaf3ff;color:#005bb8;border-color:#c8ddf5;}
#ai-design-iteration-study .compare-evidence {font:400 12px/1.6 'Poppins',sans-serif;color:#555;margin:12px 0 0;}
#ai-design-iteration-study .compare-group-row,
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .flat-card-fields {display:grid;grid-template-columns:1.12fr .72fr 1.3fr .68fr;gap:6px;align-items:end;}
#ai-design-iteration-study .compare-group-row {padding:7px 0;}
#ai-design-iteration-study .compare-shared-value {display:grid;gap:4px;min-width:0;font:500 10px/1.25 'Work Sans',sans-serif;color:#595959;}
#ai-design-iteration-study .compare-shared-value i {height:34px;padding:8px;border:1px solid #dedede;border-radius:5px;background:#f5f5f3;font:400 11px/1.4 'Poppins',sans-serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
#ai-design-iteration-study .compare-group-table {padding:0 8px 8px;}
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .compare-field {min-width:0;}
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .compare-field input {height:34px;font-size:11px;padding:5px 7px;}
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .trial-ui > [data-trial] {display:block;width:100%;margin:10px 0;min-height:44px;background:#eaf3ff;color:#005bb8;border-color:#bad4ee;}
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .candidate .attention {outline:none;box-shadow:none;}
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .candidate:focus {outline:none;}
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .candidate input:focus {outline:none;box-shadow:none;}
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .candidate input:focus-visible,
#ai-design-iteration-study #adis-dialog[data-chapter="1"] button:focus-visible {outline:2px solid #005bb8;outline-offset:2px;}
@media(max-width:700px) {
 #ai-design-iteration-study #adis-dialog[data-chapter="1"] .candidate {padding:12px;grid-template-columns:1fr;grid-template-rows:auto auto auto;grid-template-areas:"head" "description" "trial";gap:10px;}
 #ai-design-iteration-study .compare-tabs button {font-size:11px;padding:6px;}
 #ai-design-iteration-study #adis-dialog[data-chapter="1"] .compare-group-row,
 #ai-design-iteration-study #adis-dialog[data-chapter="1"] .flat-card-fields {grid-template-columns:1fr 1fr;gap:8px;}
 #ai-design-iteration-study #adis-dialog[data-chapter="1"] .compare-field input {font-size:16px;height:40px;}
 #ai-design-iteration-study #adis-dialog[data-chapter="1"] .compare-shared-value i {height:40px;font-size:14px;}
 #ai-design-iteration-study #adis-dialog[data-chapter="1"] .candidate > .trial-ui {height:360px;}
}

#ai-design-iteration-study .compare-scope {font:400 13px/1.65 'Poppins',sans-serif;margin:16px 0 0;padding-top:12px;border-top:1px solid #e2e8ef;color:#454545;}
#ai-design-iteration-study .compare-scope strong {font-weight:500;color:#303030;}

/* Reading copy uses the shared scale; the editable prototype is a separate layer. */
#ai-design-iteration-study .compare-decision h4 {font:600 1.5rem/2.25rem 'Poppins',sans-serif;}
#ai-design-iteration-study .compare-decision p,
#ai-design-iteration-study .compare-scope {font:400 1.125rem/1.875rem 'Poppins',sans-serif;}
#ai-design-iteration-study .compare-tabs button {font-size:1rem;line-height:1.5;padding:12px;text-align:left;}
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .candidate {grid-template-columns:1fr;grid-template-rows:auto auto auto;grid-template-areas:'head' 'description' 'trial';gap:12px;padding:24px;}
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .candidate > header {font-size:1.125rem;line-height:1.6;}
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .candidate > header span {font-size:.875rem;}
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .candidate > p {font-size:1rem;line-height:1.65;max-width:65ch;}
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .candidate > .trial-ui {height:auto;min-height:0;overflow:visible;padding:0;}
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .compare-field,
#ai-design-iteration-study .compare-shared-value {font-size:.875rem;line-height:1.5;}
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .compare-field input,
#ai-design-iteration-study .compare-shared-value i {font-size:1rem;height:44px;padding:9px;}
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .candidate button,
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .choice-actions button {font-size:1rem;}
#ai-design-iteration-study .compare-evidence,
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .choice-actions .try-progress {font-size:1rem;line-height:1.6;}
#ai-design-iteration-study .card-detail-row > small,
#ai-design-iteration-study .flat-card-row > small,
#ai-design-iteration-study .batch-creator > b {font-size:.875rem;line-height:1.5;}
@media(max-width:700px) {
 #ai-design-iteration-study .compare-tabs {flex-direction:column;gap:8px;}
 #ai-design-iteration-study #adis-dialog[data-chapter="1"] .candidate {padding:16px;}
 #ai-design-iteration-study .batch-creator .creator-fields {grid-template-columns:1fr;}
}

/* The choice action reveals a result; reading copy has one size and one color. */
#ai-design-iteration-study .compare-intro {margin-bottom:20px;}
#ai-design-iteration-study .compare-intro p,
#ai-design-iteration-study .compare-decision p,
#ai-design-iteration-study .compare-scope p {font:400 18px/30px 'Poppins',sans-serif;color:#303030;margin:0 0 12px;max-width:none;}
#ai-design-iteration-study .compare-intro button {font:500 16px/24px 'Poppins',sans-serif;padding:10px 16px;border:0;border-radius:7px;background:#eaf3ff;color:#005bb8;}
#ai-design-iteration-study .compare-decision {max-width:none;margin:0 0 24px;padding:20px;background:#f4f8fd;border-radius:10px;}
#ai-design-iteration-study .compare-decision h4 {font:600 18px/30px 'Poppins',sans-serif;margin:0 0 8px;}
#ai-design-iteration-study .compare-decision:focus {outline:2px solid #005bb8;outline-offset:4px;}
#ai-design-iteration-study .compare-scope {font:400 18px/30px 'Poppins',sans-serif;margin:0;padding:0;border:0;color:#303030;}
#ai-design-iteration-study .compare-scope summary {font:500 16px/24px 'Poppins',sans-serif;padding:10px 0;cursor:pointer;color:#005bb8;}
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .candidate > header,
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .candidate > p {font:400 18px/30px 'Poppins',sans-serif;color:#303030;max-width:none;}
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .candidate > header b {font-weight:600;}
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .compare-field,
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .compare-shared-value,
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .card-detail-row > small,
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .flat-card-row > small,
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .batch-creator > b {font:400 16px/24px 'Poppins',sans-serif;color:#595959;letter-spacing:normal;text-transform:none;}
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .candidate {border:0;box-shadow:0 2px 6px #152d4a0d,0 12px 32px #152d4a0d;}
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .compare-field input,
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .compare-shared-value i {font:400 16px/24px 'Poppins',sans-serif;color:#303030;}

#ai-design-iteration-study #adis-dialog[data-chapter="1"] .mini-group > b {font:600 16px/24px 'Poppins',sans-serif;}
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .candidate button,
#ai-design-iteration-study #adis-dialog[data-chapter="1"] .choice-actions button {font:500 16px/24px 'Poppins',sans-serif;}
