/* BSOD Helper styles */
.bsod-helper { --bsod-accent: #2563eb; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
.bsod-toolbar { display:flex; gap:.5rem; align-items:center; margin-bottom: .75rem; flex-wrap: wrap; }
.bsod-search { flex:1 1 280px; padding:.5rem .75rem; border:1px solid #d1d5db; border-radius:.5rem; }
.bsod-adv-toggle, .bsod-check-toggle { display:flex; align-items:center; gap:.35rem; padding:.25rem .5rem; background:#f8fafc; border:1px solid #e5e7eb; border-radius:.5rem; }
.bsod-print, .bsod-expand-all, .bsod-copy, .bsod-check-reset { padding:.5rem .75rem; border:1px solid #d1d5db; border-radius:.5rem; cursor:pointer; background:#fff; }
.bsod-item { border:1px solid #e5e7eb; border-radius:.75rem; margin-bottom:.5rem; overflow:hidden; }
.bsod-accordion { width:100%; text-align:left; display:flex; justify-content:space-between; align-items:center; gap:.75rem; padding:.75rem 1rem; background:#f8fafc; border:none; cursor:pointer; font-weight:600; }
.bsod-accordion[aria-expanded="true"] { background:#eef2ff; }
.bsod-title { color:#0f172a; }
.bsod-stop { color:var(--bsod-accent); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.bsod-panel { padding: .5rem 1rem 1rem; }
.bsod-subsection { margin:.5rem 0; }
.bsod-subtitle { font-weight:600; margin-bottom:.25rem; color:#0f172a; }
.bsod-list { margin:.25rem 0 .5rem 1rem; list-style:disc; }
.bsod-steps { margin:.25rem 0 .5rem 1.25rem; }
.bsod-cmd { display:flex; align-items:flex-start; gap:.5rem; margin:.35rem 0; }
.bsod-cmd pre { margin:0; background:#0b1220; color:#e5e7eb; padding:.5rem .75rem; border-radius:.5rem; overflow:auto; }
.bsod-cmd-label { min-width:12rem; font-weight:600; }
.bsod-note { font-size:.9em; color:#475569; }
.bsod-meta { margin-top:.5rem; font-size:.9em; color:#475569; }
.bsod-disclaimer { margin-top:.75rem; }
.bsod-links { margin:.25rem 0 .5rem 1rem; list-style: disc; }
.bsod-advanced[hidden] { display:none !important; }
.bsod-checklist[open] summary { background:#f1f5f9; }
.bsod-checklist summary { cursor:pointer; padding:.5rem .75rem; border:1px solid #e5e7eb; border-radius:.5rem; }
.bsod-checklist-list { margin:.5rem 0 .5rem 1rem; }
.bsod-checklist-list li { margin:.25rem 0; }
.bsod-checklist-actions { margin:.5rem 0; }
@media print {
  .bsod-toolbar, .bsod-copy, .bsod-check-reset { display:none !important; }
  .bsod-panel[hidden] { display:block !important; }
  .bsod-accordion { background:none; border-bottom:1px solid #eee; }
}


/* v1.2.1: high-contrast buttons for light themes */
.bsod-helper .bsod-btn {
  background: var(--bsod-accent);
  color: #ffffff;
  border: 1px solid var(--bsod-accent);
  border-radius: .5rem;
  padding: .5rem .8rem;
  font-weight: 600;
  line-height: 1.2;
}
.bsod-helper .bsod-btn:hover { filter: brightness(0.92); }
.bsod-helper .bsod-btn:focus { outline: none; box-shadow: 0 0 0 3px rgba(37,99,235,.35); }
.bsod-helper .bsod-btn:active { transform: translateY(1px); }
.bsod-helper .bsod-expand-all[aria-expanded="true"] { background: #0f172a; border-color: #0f172a; }


/* v1.2.2 Intro block */
.bsod-intro{
  margin: .25rem 0 1rem;
  padding: .75rem 1rem;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-left: 4px solid var(--bsod-accent);
  border-radius: .5rem;
  color: #0f172a;
}
.bsod-intro p{ margin: .35rem 0; }


/* v1.2.3 Branded Intro */
.bsod-intro-brand{
  display:grid;
  grid-template-columns: 32px 1fr auto;
  gap:.75rem;
  align-items:flex-start;
}
.bsod-intro-brand .ico{
  color: var(--bsod-accent);
  margin-top:.15rem;
}
.bsod-intro-brand .text p{ margin:.35rem 0; }
.bsod-intro-brand .text .hl{
  background: rgba(37,99,235,.12);
  padding: .05rem .25rem;
  border-radius: .25rem;
}
.bsod-intro-btn{
  text-decoration: none;
  white-space: nowrap;
}
@media (max-width: 640px){
  .bsod-intro-brand{ grid-template-columns: 24px 1fr; }
  .bsod-intro-brand .act{ grid-column: 2 / span 1; }
}
