/* Survey / Prepare fidelity pass.
 * Loaded after vx-extraction-workspace.css so this can remain a deliberately
 * narrow presentation layer. No extraction state or controller behaviour is
 * duplicated here. */

/* The approved mockup uses a quiet, explicit source chooser — not pills and
   not a chat/assistant pattern. */
#page-drawing-survey.vxw-page .vxw-source-selector{
  margin:0 0 16px;padding:0 0 15px;border-bottom:1px solid #e3e9f1;
}
#page-drawing-survey.vxw-page .vxw-source-title{
  margin:0 0 10px;font:700 14px/1.2 var(--font-head,inherit);color:#102f55;
}
[data-theme="dark"] #page-drawing-survey.vxw-page .vxw-source-title{color:var(--text);}
#page-drawing-survey.vxw-page .vxw-source-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,250px));gap:8px;
}
#page-drawing-survey.vxw-page .vxw-source-option{
  min-height:64px;padding:10px 12px;display:flex;align-items:center;gap:11px;
  border:1px solid #d7e0eb;border-radius:5px;background:#fff;color:#17365d;
  text-align:left;font-family:inherit;cursor:pointer;box-shadow:none;
}
#page-drawing-survey.vxw-page .vxw-source-option:hover{
  border-color:#82a8e8;background:#f8fbff;
}
#page-drawing-survey.vxw-page .vxw-source-option.active{
  border-color:#1769ff;background:#f4f8ff;box-shadow:inset 3px 0 0 #1769ff;
}
[data-theme="dark"] #page-drawing-survey.vxw-page .vxw-source-option{
  background:var(--surface);border-color:var(--border);color:var(--text);
}
#page-drawing-survey.vxw-page .vxw-source-icon{
  width:32px;height:32px;flex:0 0 32px;display:grid;place-items:center;
  border:1px solid #cdd9e8;border-radius:4px;background:#f5f8fc;
  color:#1769ff;font-size:17px;font-weight:700;
}
[data-theme="dark"] #page-drawing-survey.vxw-page .vxw-source-icon{background:var(--surface2);border-color:var(--border);}
#page-drawing-survey.vxw-page .vxw-source-option strong{
  display:block;font-size:11.5px;font-weight:700;line-height:1.25;
}
#page-drawing-survey.vxw-page .vxw-source-option small{
  display:block;margin-top:3px;font-size:9.8px;line-height:1.3;color:#687995;font-weight:400;
}
#page-drawing-survey.vxw-page .vxw-source-note{
  margin-top:9px;font-size:10px;line-height:1.45;color:#718098;
}

/* Hero feature statements are information, not promotional capsules. */
.vxw-hero-point strong{display:block;font-size:10.5px;line-height:1.25;color:#15365f;font-weight:700;}
.vxw-hero-point span{display:block;margin-top:2px;font-size:9.4px;line-height:1.35;color:#6b7890;}
[data-theme="dark"] .vxw-hero-point strong{color:var(--text);}
[data-theme="dark"] .vxw-hero-point span{color:var(--text2);}

/* Make the five-stage rail read like the approved process line instead of a
   strip of generic dashboard cards. Backend state still owns every mark. */
.vxw-page .vx-flow-bar{padding:0 8px!important;}
.vxw-page .vx-flow-step{border-right:0!important;overflow:visible!important;}
.vxw-page .vx-flow-step:not(:last-child)::after{
  content:'→';position:absolute;right:-5px;top:50%;transform:translateY(-50%);
  color:#8da0ba;font-size:17px;font-weight:300;z-index:2;pointer-events:none;
}
.vxw-page .vx-flow-step.current{box-shadow:inset 0 -2px 0 #1769ff;}

/* The native Survey copy remains the behavioural authority, but no longer
   competes visually with the source controls and hero. */
#page-drawing-survey.vxw-page .vxs-intro.vxw-source-enhanced>p{
  max-width:980px!important;margin-bottom:7px!important;
}
#page-drawing-survey.vxw-page .vxs-intro.vxw-source-enhanced>p:first-of-type{
  font-size:12px!important;color:#30445f!important;
}
#page-drawing-survey.vxw-page .vxs-intro.vxw-source-enhanced>.vxs-fine{
  font-size:10.5px!important;color:#6c7b91!important;
}
#page-drawing-survey.vxw-page .vxs-intro.vxw-source-enhanced>#vxs-pick{
  min-width:132px;height:34px;padding:0 14px;margin-top:7px!important;
  font-size:11px;font-weight:600;
}

/* Plain engineering actions. Globally scoped only inside this page so Review
   and Results keep their own richer status treatments. */
#page-drawing-survey.vxw-page button.btn,
#page-drawing-survey.vxw-page button.vx-btn{
  border-radius:4px!important;box-shadow:none!important;
}

/* Past runs visually continues the same source surface rather than becoming a
   separate card collection. */
#page-drawing-survey.vxw-page .vxs-runs{padding-top:2px;}
#page-drawing-survey.vxw-page .vxs-runs table,
#page-drawing-survey.vxw-page .vxs-runs .vxs-run-row{box-shadow:none!important;}

@media(max-width:900px){
  #page-drawing-survey.vxw-page .vxw-source-grid{grid-template-columns:1fr;}
  .vxw-page .vx-flow-step:not(:last-child)::after{display:none;}
}
