/* STLBEAST Hub V1026 — Troubleshooting Wizard dark-surface contrast repair.
   Loaded after V897 to defeat legacy global text-fill locks without affecting other Hub pages. */

html body.hub700-body .hub897-shell{
  --h1026-panel:#071522;
  --h1026-panel-2:#0a1d2d;
  --h1026-panel-3:#0d2639;
  --h1026-line:#215574;
  --h1026-line-bright:#2aaeea;
  --h1026-text:#f3f9ff;
  --h1026-body:#c7d9e7;
  --h1026-muted:#96afc2;
  --h1026-cyan:#79dcff;
  --h1026-input:#020b14;
}

/* Replace the light cards that collided with the global white-text lock. */
html body.hub700-body .hub897-shell .hub897-formbox,
html body.hub700-body .hub897-shell .hub897-resultbox{
  background:
    radial-gradient(circle at 92% 0%,rgba(33,183,244,.10),transparent 34%),
    linear-gradient(180deg,var(--h1026-panel-2),var(--h1026-panel))!important;
  border-color:var(--h1026-line)!important;
  color:var(--h1026-text)!important;
  box-shadow:0 22px 58px rgba(0,0,0,.30)!important;
}

/* Explicit color + text-fill rules override the legacy high-specificity theme lock. */
html body.hub700-body .hub897-shell .hub897-formbox :is(h2,h3,h4),
html body.hub700-body .hub897-shell .hub897-resultbox :is(h2,h3,h4),
html body.hub700-body .hub897-shell .hub897-next :is(h2,h3,h4){
  color:var(--h1026-text)!important;
  -webkit-text-fill-color:var(--h1026-text)!important;
}
html body.hub700-body .hub897-shell .hub897-formbox :is(p,li),
html body.hub700-body .hub897-shell .hub897-resultbox :is(p,li),
html body.hub700-body .hub897-shell .hub897-next :is(p,li){
  color:var(--h1026-body)!important;
  -webkit-text-fill-color:var(--h1026-body)!important;
}
html body.hub700-body .hub897-shell .hub897-section-head p,
html body.hub700-body .hub897-shell .hub897-field small,
html body.hub700-body .hub897-shell .hub897-paths small{
  color:var(--h1026-muted)!important;
  -webkit-text-fill-color:var(--h1026-muted)!important;
}
html body.hub700-body .hub897-shell .hub897-quick-wrap legend,
html body.hub700-body .hub897-shell .hub897-field label{
  color:var(--h1026-text)!important;
  -webkit-text-fill-color:var(--h1026-text)!important;
}
html body.hub700-body .hub897-shell .hub897-field label span{
  color:var(--h1026-muted)!important;
  -webkit-text-fill-color:var(--h1026-muted)!important;
}

html body.hub700-body .hub897-shell .hub897-step-badge{
  background:#0a3550!important;
  border:1px solid #2379a7!important;
  color:#9be5ff!important;
  -webkit-text-fill-color:#9be5ff!important;
}

/* Symptom chooser. */
html body.hub700-body .hub897-shell .hub897-quick-grid button{
  background:#06131f!important;
  border-color:#234e69!important;
  color:#dcecf7!important;
  -webkit-text-fill-color:#dcecf7!important;
  box-shadow:none!important;
}
html body.hub700-body .hub897-shell .hub897-quick-grid button span{
  color:var(--h1026-cyan)!important;
  -webkit-text-fill-color:var(--h1026-cyan)!important;
}
html body.hub700-body .hub897-shell .hub897-quick-grid button:hover,
html body.hub700-body .hub897-shell .hub897-quick-grid button.is-active{
  background:#0a2c43!important;
  border-color:#43c8ff!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  box-shadow:0 10px 24px rgba(20,166,229,.16)!important;
}

/* Inputs remain dark and readable in every browser, including WebKit text-fill behavior. */
html body.hub700-body .hub897-shell .hub897-field :is(select,input,textarea){
  background:var(--h1026-input)!important;
  border-color:#286181!important;
  color:#f4f9ff!important;
  -webkit-text-fill-color:#f4f9ff!important;
  caret-color:#55d3ff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
}
html body.hub700-body .hub897-shell .hub897-field select option{
  background:#020b14!important;
  color:#f4f9ff!important;
  -webkit-text-fill-color:#f4f9ff!important;
}
html body.hub700-body .hub897-shell .hub897-field :is(input,textarea)::placeholder{
  color:#819caf!important;
  -webkit-text-fill-color:#819caf!important;
  opacity:1!important;
}
html body.hub700-body .hub897-shell .hub897-field :is(select,input,textarea):focus{
  border-color:#55d3ff!important;
  box-shadow:0 0 0 4px rgba(33,183,244,.16)!important;
}

/* Actions and status message. */
html body.hub700-body .hub897-shell .hub897-secondary,
html body.hub700-body .hub897-shell .hub897-report-actions button{
  background:#071b2a!important;
  border-color:#2b6483!important;
  color:#eaf7ff!important;
  -webkit-text-fill-color:#eaf7ff!important;
}
html body.hub700-body .hub897-shell .hub897-primary{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
html body.hub700-body .hub897-shell .hub897-message{
  background:#211909!important;
  border:1px solid #8c682d!important;
  color:#ffe2a9!important;
  -webkit-text-fill-color:#ffe2a9!important;
}

/* Result report. */
html body.hub700-body .hub897-shell .hub897-output{
  background:linear-gradient(180deg,#03101b,#061725)!important;
  border-color:#245d7d!important;
  color:var(--h1026-text)!important;
}
html body.hub700-body .hub897-shell .hub897-output-empty{
  color:var(--h1026-muted)!important;
  -webkit-text-fill-color:var(--h1026-muted)!important;
}
html body.hub700-body .hub897-shell .hub897-result-title{
  background:linear-gradient(135deg,#0a2740,#0f4d73)!important;
  border:1px solid #2b7298!important;
}
html body.hub700-body .hub897-shell .hub897-result-title span{
  color:#8be1ff!important;
  -webkit-text-fill-color:#8be1ff!important;
}
html body.hub700-body .hub897-shell .hub897-result-title h3{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
html body.hub700-body .hub897-shell .hub897-result-meta span{
  background:#0a2a40!important;
  border:1px solid #1d6287!important;
  color:#a9e8ff!important;
  -webkit-text-fill-color:#a9e8ff!important;
}
html body.hub700-body .hub897-shell .hub897-result-block{
  background:#071a29!important;
  border-color:#234f69!important;
  color:var(--h1026-body)!important;
}
html body.hub700-body .hub897-shell .hub897-result-block h4{
  color:#f4f9ff!important;
  -webkit-text-fill-color:#f4f9ff!important;
}
html body.hub700-body .hub897-shell .hub897-result-block :is(p,li){
  color:#c6d8e5!important;
  -webkit-text-fill-color:#c6d8e5!important;
}
html body.hub700-body .hub897-shell .hub897-result-block.is-first{
  background:#08253a!important;
  border-color:#2d8eba!important;
}
html body.hub700-body .hub897-shell .hub897-result-block.is-warning{
  background:#241a09!important;
  border-color:#9b7130!important;
}
html body.hub700-body .hub897-shell .hub897-result-block.is-warning :is(h4,p){
  color:#ffe5b2!important;
  -webkit-text-fill-color:#ffe5b2!important;
}

/* Next-step links inside the dark result card. */
html body.hub700-body .hub897-shell .hub897-paths a{
  background:#061724!important;
  border-color:#245a78!important;
  color:#f0f8ff!important;
  -webkit-text-fill-color:#f0f8ff!important;
}
html body.hub700-body .hub897-shell .hub897-paths a:hover{
  background:#0a2940!important;
  border-color:#46c9ff!important;
}
html body.hub700-body .hub897-shell .hub897-path-icon{
  background:#0b3550!important;
  color:#83dfff!important;
  -webkit-text-fill-color:#83dfff!important;
}
html body.hub700-body .hub897-shell .hub897-paths b{
  color:#f4f9ff!important;
  -webkit-text-fill-color:#f4f9ff!important;
}

@media (forced-colors:active){
  html body.hub700-body .hub897-shell *{
    -webkit-text-fill-color:CanvasText!important;
  }
}
