/* Approved contextual banner. Fixed desktop footprint across analysis states. */
.uw-banner {
  --banner-accent: #669aff;
  box-sizing: border-box; min-width: 0; width: 100%;
  display: grid; grid-template-columns: minmax(0,1fr) 220px; align-items: center; gap: 24px;
  min-height: 158px; padding: 22px 24px; border: 1px solid rgba(81,134,240,.38);
  border-radius: 12px; background: linear-gradient(110deg,#0b1429,#080d19);
}
.uw-banner__copy { min-width: 0; }
.uw-banner__eyebrow { margin: 0 0 10px; color: var(--banner-accent); text-transform: uppercase; letter-spacing: .14em; font: 600 12px/1.4 var(--font-mono,monospace); }
.uw-banner h1 { margin: 0 0 10px; color: #f0f3f9; font-family: inherit; font-size: clamp(22px,2.1vw,30px); line-height: 1.2; font-weight: 700; letter-spacing: -.025em; overflow-wrap: anywhere; }
.uw-banner__message { margin: 0; color: #b7c1d4; font-size: 14px; line-height: 1.5; }
.uw-banner__action { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; }
.uw-banner [hidden] { display: none !important; }
.uw-banner__status { padding: 9px 14px; border: 1px solid rgba(102,154,255,.5); border-radius: 30px; color: #a9c4ff; font: 600 12px/1.3 var(--font-mono,monospace); text-transform: uppercase; letter-spacing: .05em; text-align: center; }
.uw-banner__cta { width: 100%; min-height: 42px; padding: 11px 14px; border: 1px solid var(--banner-accent); border-radius: 9px; background: var(--banner-accent); color: #080d13; font-family: inherit; font-size: 14px; line-height:1.3; font-weight: 700; cursor: pointer; }
.uw-banner__cta:hover { filter: brightness(1.08); }
.uw-banner__cta:focus-visible { outline: 2px solid #f4f7ff; outline-offset: 4px; }
.uw-banner__note { color: #8e9ab1; font-size: 12px; text-align: center; }
.uw-banner[data-state="strong"] { --banner-accent:#b2eb3f; border-color:rgba(178,235,63,.45); background:linear-gradient(110deg,#101b15,#0b1012); }
.uw-banner[data-state="review"], .uw-banner[data-state="dirty"] { --banner-accent:#edb65b; border-color:rgba(237,182,91,.35); background:linear-gradient(110deg,#1b1711,#0d1018); }
.uw-banner[data-state="fail"] { --banner-accent:#ee8585; border-color:rgba(238,133,133,.35); background:linear-gradient(110deg,#211319,#0d1018); }
/* The banner replaces the repeated welcome heading, not lane identification. */
body.uw-workspace .ff-intake__title, body.uw-workspace .ff-intake__lede,
body.uw-workspace .bh-intake__title, body.uw-workspace .bh-intake__lede { display:none; }
body.uw-workspace .ff-intake__header, body.uw-workspace .bh-intake__header { margin-bottom:18px; }
body.uw-workspace .v2-sidebar .v2-nav { margin-top:18px; }
@media (min-width:1200px) {
  body.uw-workspace .v2-shell > .v2-main { grid-template-rows: 158px auto minmax(0,1fr) !important; }
  #uw-banner { grid-row:1; grid-column:1 / -1; height:158px; }
  .uw-banner h1 { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  body.uw-workspace .v2-main > #v2-results-tabs { grid-row:2; }
  body.uw-workspace #v2-center-rail, body.uw-workspace #bh-workspace-rail { grid-row:3 !important; }
}
@media (max-width:1199px) {
  .uw-banner { margin-bottom:16px; grid-template-columns:minmax(0,1fr); gap:16px; min-height:216px; }
  .uw-banner__action { align-items:flex-start; }
  .uw-banner__cta { width:auto; }
  .uw-banner__note { display:none; }
}
@media (max-width:760px) {
  .uw-banner { padding:20px; min-height:240px; }
  body.uw-workspace .v2-sidebar .v2-nav { margin-top:0; }
}
