/* Light, theme-aware polish. No new column widths: shared GM layouts retain ownership. */
@media screen {
  body.authenticated .content .card { box-shadow: 0 3px 14px rgba(18,52,91,.055); }
  body.authenticated .content .card:not(.stock-card) { border-color: var(--line); }
  body.authenticated .content .card > h3 { line-height: 1.35; }
  body.authenticated .content .card .subtitle { line-height: 1.55; }
  body.authenticated .metric { position: relative; }
  body.authenticated .metric::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--cyan); opacity: .7; }
  body.authenticated :is(.btn, .journey-step, summary):focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
  #followupJourney { gap: 10px; }
  #followupJourney .journey-step { display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 4px 9px; align-content: center; text-align: left; min-width: 0; min-height: 80px; padding: 13px 11px; background: var(--paper); }
  #followupJourney .step-number { grid-row: 1 / 3; align-self: center; width: 29px; height: 29px; }
  #followupJourney .journey-step b { font-size: calc(12px * var(--ui-scale,1)); line-height: 1.35; overflow-wrap:break-word; margin-top: 0; }
  #followupJourney .vp-step-hint { grid-column: 2; font-size: calc(10px * var(--ui-scale,1)); line-height: 1.4; color: #546777; font-weight: 400; overflow-wrap:break-word; }
  #followupJourney .journey-step.active { border-color: var(--blue); background: #f1f7fc; box-shadow: inset 0 -3px 0 var(--blue); }
  #followupJourney .journey-step.complete { background: #f4f9f8; border-color: #a8cbc0; }
  #section-new .vp-guided-assistant { border-left: 4px solid var(--cyan); background: linear-gradient(110deg,#f4f9fc 0%,var(--paper) 66%); }
  #section-new .vp-guided-assistant .guide-active { align-items: center; gap: 18px; }
  #section-new .vp-guided-assistant .guide-active > div { min-width: 0; }
  #section-new .vp-guided-assistant #guideHint { max-width: 80ch; line-height: 1.6; }
  #section-new .vp-next-cue { margin: 8px 0 0; color: var(--navy); font-size: calc(12px * var(--ui-scale,1)); font-weight: 700; line-height: 1.5; }
  #section-new #guideNext { flex-shrink: 0; min-height: 44px; }
  #section-new .vp-guided-help { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
  #section-new .vp-guided-help summary { cursor: pointer; font-size: calc(12px * var(--ui-scale,1)); color: var(--navy); font-weight: 700; padding: 5px 0; }
  #section-new .vp-help-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,200px),1fr)); gap: 14px; padding: 4px 0; }
  #section-new .vp-help-grid p { font-size: calc(12px * var(--ui-scale,1)); line-height: 1.6; margin: 8px 0; color: #526476; }
  #section-new .vp-help-grid b { display: block; color: var(--navy); margin-bottom: 3px; }
  #section-new #followupForm > .form-grid > .field.full:has(> fieldset) { scroll-margin-top: 100px; }
  #section-new .radio-row label:has(input:checked), #section-new .check-pill:has(input:checked) { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); background: #eff7ff; }
  #section-new .radio-row label:focus-within, #section-new .check-pill:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
  #section-new #followupForm fieldset { padding: 16px; }
  #section-new .vp-guided-review { margin-top: 22px; border: 1px solid #cadce8; border-radius: 12px; padding: 18px; background: #f6f9fc; min-width: 0; scroll-margin-top: 100px; }
  #section-new .vp-guided-review:focus { outline: 3px solid var(--blue); outline-offset: 3px; }
  #section-new .vp-review-heading { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
  #section-new .vp-guide-eyebrow { font-size: calc(9px * var(--ui-scale,1)); letter-spacing: .09em; color: #536b7f; font-weight: 700; display: block; margin-bottom: 6px; }
  #section-new #vpGuidedReviewTitle { font-size: calc(15px * var(--ui-scale,1)); margin: 0; }
  #section-new .vp-guide-status { flex-shrink: 0; border: 1px solid #cedce6; border-radius: 999px; padding: 6px 9px; background: var(--paper); color: var(--navy); font-size: calc(10px * var(--ui-scale,1)); line-height: 1.3; }
  #section-new .vp-guided-review[data-state="review"] .vp-guide-status { background: #eaf3fc; border-color: #b0cde6; }
  #section-new .vp-guided-review[data-state="saved"] .vp-guide-status { background: #e9f4ef; border-color: #aacabd; }
  #section-new .vp-review-values { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px 18px; margin: 18px 0 0; }
  #section-new .vp-review-values > div { min-width: 0; border-top: 1px solid var(--line); padding-top: 9px; }
  #section-new .vp-review-values dt { font-size: calc(10px * var(--ui-scale,1)); color: #52677a; margin-bottom: 5px; }
  #section-new .vp-review-values dd { font-size: calc(12px * var(--ui-scale,1)); margin: 0; color: var(--navy); line-height: 1.5; overflow-wrap:break-word; font-weight: 700; }
  #section-new #vpGuidedReviewNote { margin: 15px 0 0; line-height: 1.6; }
  #section-new #qualityRecognition { background: #eef5fb; color: #294f70; border-color: #b9cfe1; font-weight: 400; line-height: 1.6; }
}
@media screen and (max-width:1200px) {
  #followupJourney { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media screen and (max-width:760px) {
  #followupJourney { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #followupJourney .journey-step { min-height: 74px; }
  #section-new .vp-guided-assistant .guide-active { align-items: stretch; flex-direction: column; }
  #section-new .vp-guided-assistant .guide-active > div { flex: 1 1 auto; }
  #section-new #guideNext { width: 100%; }
}
@media screen and (max-width:440px) {
  #followupJourney { grid-template-columns: minmax(0,1fr); }
  #followupJourney .journey-step { min-height: 62px; }
  #section-new .vp-review-values { grid-template-columns: minmax(0,1fr); }
  #section-new .vp-guided-review { padding: 14px; }
}
@media (prefers-reduced-motion:reduce) {
  #section-new *, #section-new *::before, #section-new *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
@media print {
  .vp-guided-help, .vp-next-cue, .vp-step-hint { display: none !important; }
  .vp-guided-review { break-inside: avoid; border: 1px solid #777; padding: 12px; }
}
