
:root{
  --bg:#f6f8fb;--card:#fff;--ink:#172033;--muted:#667085;--line:#e4e7ec;
  --blue:#3157d5;--blue2:#203c9e;--blueSoft:#eef2ff;--green:#087a55;
  --amber:#9a5b00;--red:#b42318;--shadow:0 14px 44px rgba(22,39,79,.075);
}
*{box-sizing:border-box}html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--ink);line-height:1.55}
a{color:var(--blue)}button,input,select{font:inherit}.wrap{width:min(1120px,calc(100% - 32px));margin:auto}
.site-header{height:68px;background:rgba(255,255,255,.93);border-bottom:1px solid var(--line);display:flex;align-items:center;position:sticky;top:0;z-index:20;backdrop-filter:blur(12px)}
.header-inner{display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none;font-weight:850;letter-spacing:-.02em}
.mark{width:34px;height:34px;border-radius:10px;background:linear-gradient(145deg,var(--blue),var(--blue2));display:grid;place-items:center;color:#fff;font-weight:900;font-size:13px;box-shadow:0 6px 16px rgba(49,87,213,.22)}
nav{display:flex;gap:22px}nav a{text-decoration:none;color:var(--muted);font-size:14px;font-weight:650}
.hero{padding:64px 0 28px;text-align:center}.hero h1{margin:0 auto 12px;font-size:clamp(35px,5vw,56px);line-height:1.04;letter-spacing:-.045em;max-width:820px}
.hero p{font-size:18px;color:var(--muted);margin:0 auto;max-width:680px}
.start-card{background:var(--card);border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);padding:26px;margin:28px auto 18px;max-width:850px;text-align:left}
.start-card h2{margin:0 0 5px;font-size:22px}.sub{color:var(--muted);font-size:14px;margin:0}
.big-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}
.choice-card{border:1px solid #d5dbeb;background:#fff;border-radius:14px;padding:18px;cursor:pointer;text-align:left;color:var(--ink);transition:.15s}
.choice-card:hover{border-color:#9eade5;transform:translateY(-1px)}.choice-title{font-size:17px;font-weight:800;margin-bottom:3px}.choice-copy{font-size:13px;color:var(--muted)}
.panel{margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}.hidden{display:none!important}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.full{grid-column:1/-1}
label{display:block;font-size:12px;font-weight:800;color:#344054;margin-bottom:6px}
select,input{width:100%;border:1px solid #d0d5dd;border-radius:10px;background:#fff;padding:12px;outline:none;color:var(--ink)}
select:focus,input:focus{border-color:#8da2fb;box-shadow:0 0 0 3px var(--blueSoft)}
.btn{border:0;border-radius:10px;background:var(--blue);color:#fff;padding:12px 16px;font-weight:800;cursor:pointer}.btn:hover{background:var(--blue2)}
.btn.secondary{background:#fff;color:#344054;border:1px solid var(--line)}.actions{display:flex;gap:10px;margin-top:14px;flex-wrap:wrap}
.section{padding:34px 0}.section h2{font-size:24px;letter-spacing:-.025em;margin:0 0 5px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:17px}
.problem-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.problem{display:block;text-decoration:none;background:#fff;border:1px solid var(--line);border-radius:14px;padding:17px;color:var(--ink)}
.problem:hover{border-color:#afbbe1}.problem strong{display:block;margin-bottom:3px}.problem span{color:var(--muted);font-size:13px}
.kb-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.kb-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:17px;text-decoration:none;color:var(--ink)}
.kb-card .tag,.tag{font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.08em;color:var(--blue);margin-bottom:6px}.kb-card h3{font-size:16px;line-height:1.3;margin:0 0 6px}.kb-card p{font-size:13px;color:var(--muted);margin:0}
.search-results{display:grid;gap:8px;margin-top:12px}.search-result{display:block;padding:12px 13px;border:1px solid var(--line);border-radius:10px;text-decoration:none;color:var(--ink);background:#fff}
.search-result b{display:block}.search-result small{color:var(--muted)}
.wizard{margin-top:14px}.wizard-q{font-size:20px;font-weight:850;letter-spacing:-.02em}.wizard-help{color:var(--muted);font-size:14px;margin-top:4px}
.answer-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:16px}.answer{padding:13px;border:1px solid #cdd6f6;background:#f8faff;color:#2945a5;border-radius:10px;font-weight:800;cursor:pointer}
.outcome{margin-top:14px;border-radius:12px;padding:15px;border:1px solid var(--line);background:#f8fafc}.outcome.good{background:#ecfdf3;border-color:#abefc6}.outcome.warn{background:#fffaeb;border-color:#fedf89}
.outcome h3{margin:0 0 4px;font-size:16px}.outcome p{margin:0;font-size:14px;color:#475467}
.article-wrap{width:min(900px,calc(100% - 32px));margin:auto}.breadcrumbs{font-size:12px;color:var(--muted);margin:28px 0 12px}.breadcrumbs a{color:var(--muted)}
.article{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);padding:clamp(22px,4vw,38px);margin-bottom:36px}.article h1{font-size:clamp(32px,5vw,48px);line-height:1.08;letter-spacing:-.04em;margin:5px 0 12px}
.article .lede{font-size:18px;color:var(--muted)}.meta-row{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 20px}.pill{font-size:12px;border:1px solid var(--line);border-radius:999px;padding:6px 9px;background:#fafafa;color:#475467}
.quick{border-left:4px solid var(--blue);background:#f7f9ff;padding:15px 17px;border-radius:8px;margin:22px 0}.quick b{display:block;margin-bottom:4px}
.article h2{font-size:23px;margin:30px 0 12px;letter-spacing:-.02em}.step-list{display:grid;gap:11px}.step-item{border:1px solid var(--line);border-radius:12px;padding:15px}.step-num{font-size:11px;font-weight:900;letter-spacing:.08em;color:var(--blue);text-transform:uppercase}.step-item h3{font-size:16px;margin:3px 0 4px}.step-item p{margin:0;color:var(--muted);font-size:14px}
.sources{display:grid;gap:7px}.source-link{border:1px solid var(--line);border-radius:10px;padding:11px 12px;text-decoration:none;color:var(--ink);font-size:13px}.source-link:hover{border-color:#adb9dd}
.disclaimer{font-size:12px;color:var(--muted);border-top:1px solid var(--line);padding-top:16px;margin-top:24px}
.site-footer{margin-top:50px;border-top:1px solid var(--line);padding:26px 0 40px;color:var(--muted);font-size:12px}.footer-row{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
.noscript{position:fixed;inset:0;z-index:99999;background:#fff;display:grid;place-items:center;padding:24px}.noscript-box{max-width:540px;border:1px solid var(--line);border-radius:16px;padding:28px;box-shadow:var(--shadow)}.noscript-box h1{margin-top:0}
@media(max-width:800px){nav{display:none}.problem-grid,.kb-grid{grid-template-columns:1fr 1fr}.big-choices{grid-template-columns:1fr}}
@media(max-width:560px){.form-grid,.answer-grid,.problem-grid,.kb-grid{grid-template-columns:1fr}.full{grid-column:auto}.hero{padding-top:40px}.start-card{padding:20px}.section-head{display:block}}

.btn:disabled{opacity:.42;cursor:not-allowed}
.answer-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
#wizardOutcome .actions{margin-top:12px}

/* v0.4 guided technical actions */
.howto-card{margin:18px 0 2px;padding:18px 20px;border:1px solid #cfd8f5;background:#f8faff;border-radius:14px}
.howto-label{font-size:11px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;color:var(--blue);margin-bottom:4px}
.howto-title{font-size:18px;font-weight:850;color:var(--ink);margin-bottom:10px}
.howto-steps{margin:0;padding-left:24px;display:grid;gap:9px;color:#344054}
.howto-steps li{padding-left:3px}
.howto-steps code{background:#fff;border:1px solid var(--line);border-radius:6px;padding:2px 6px;font-size:.95em;color:#1d2939;white-space:nowrap}
.howto-expect{margin-top:14px;padding:12px 13px;background:#fff;border:1px solid var(--line);border-radius:9px;color:#475467;font-size:14px}
.howto-tip{margin-top:10px;color:var(--muted);font-size:13px}
@media(max-width:560px){.howto-card{padding:15px}.howto-steps{padding-left:21px}}

/* v0.5 QA / guided-flow polish */
.wizard-progress{font-size:11px;font-weight:900;letter-spacing:.09em;text-transform:uppercase;color:#7a869a;margin:0 0 6px}
.show-how{margin-top:11px;border:1px solid #cfd8f5;background:#fff;color:var(--blue);border-radius:10px;padding:10px 14px;font-weight:800;cursor:pointer}
.show-how:hover{background:#f8faff;border-color:#9eade5}

/* v0.6 — clearer homepage hierarchy */
.start-options{align-items:stretch}
.start-option{
  appearance:none;
  width:100%;
  border:1px solid var(--line);
  background:#fff;
  border-radius:14px;
  padding:19px 19px 17px;
  cursor:pointer;
  text-align:left;
  color:var(--ink);
  transition:border-color .15s, transform .15s, box-shadow .15s, background .15s;
  box-shadow:none;
}
.start-option:hover{
  border-color:#aeb9dc;
  transform:translateY(-1px);
  box-shadow:0 8px 22px rgba(22,39,79,.06);
}
.start-option-primary{
  border-color:#9eb0f1;
  background:linear-gradient(180deg,#f7f9ff 0%,#ffffff 100%);
  box-shadow:0 7px 20px rgba(49,87,213,.075);
}
.start-option-primary:hover{
  border-color:#6f88df;
  box-shadow:0 10px 28px rgba(49,87,213,.12);
}
.start-badge{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:5px 8px;
  margin-bottom:10px;
  background:#e9efff;
  color:#2847b8;
  font-size:10px;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.start-badge-secondary{
  background:#f2f4f7;
  color:#667085;
}
.start-option .choice-title{
  font-size:18px;
  margin-bottom:5px;
}
.start-option .choice-copy{
  font-size:13px;
  line-height:1.5;
  min-height:40px;
}
.start-cta{
  margin-top:14px;
  color:var(--blue);
  font-size:13px;
  font-weight:850;
}

/* v0.7 — make guided troubleshooting unmistakably the main site feature */
.home-actions{
  display:grid;
  grid-template-columns:1.45fr .75fr;
  gap:14px;
  margin-top:20px;
  align-items:stretch;
}
.guided-feature{
  appearance:none;
  width:100%;
  border:1px solid #6f89e8;
  background:
    radial-gradient(circle at 88% 18%, rgba(255,255,255,.9) 0 6%, transparent 7%),
    linear-gradient(135deg,#3157d5 0%,#2748b8 58%,#203c9e 100%);
  border-radius:16px;
  padding:22px;
  cursor:pointer;
  text-align:left;
  color:#fff;
  display:flex;
  gap:16px;
  box-shadow:0 14px 30px rgba(49,87,213,.22);
  transition:transform .15s, box-shadow .15s;
}
.guided-feature:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 38px rgba(49,87,213,.28);
}
.guided-icon{
  flex:0 0 44px;
  width:44px;
  height:44px;
  border-radius:12px;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.25);
  display:grid;
  place-items:center;
  font-size:22px;
  font-weight:900;
}
.guided-content{min-width:0}
.guided-kicker{
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-weight:900;
  opacity:.78;
  margin-bottom:5px;
}
.guided-title{
  font-size:20px;
  line-height:1.2;
  font-weight:850;
  letter-spacing:-.02em;
  margin-bottom:6px;
}
.guided-copy{
  font-size:13px;
  line-height:1.55;
  color:rgba(255,255,255,.86);
  max-width:540px;
}
.guided-button{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-top:16px;
  padding:10px 13px;
  border-radius:10px;
  background:#fff;
  color:#2847b8;
  font-size:13px;
  font-weight:900;
  box-shadow:0 5px 14px rgba(0,0,0,.08);
}
.error-lookup-card{
  appearance:none;
  width:100%;
  border:1px solid var(--line);
  background:#fff;
  border-radius:16px;
  padding:22px;
  cursor:pointer;
  text-align:left;
  color:var(--ink);
  transition:border-color .15s, transform .15s, box-shadow .15s;
}
.error-lookup-card:hover{
  border-color:#aeb9dc;
  transform:translateY(-1px);
  box-shadow:0 9px 24px rgba(22,39,79,.07);
}
.error-kicker{
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-weight:900;
  color:var(--muted);
  margin-bottom:7px;
}
.error-link{
  margin-top:16px;
  color:var(--blue);
  font-size:13px;
  font-weight:850;
}
@media(max-width:800px){
  .home-actions{grid-template-columns:1fr}
  .guided-feature{padding:20px}
}
@media(max-width:520px){
  .guided-feature{display:block}
  .guided-icon{margin-bottom:14px}
}

/* v0.7.2 — cleaner guided card, no decorative white orb */
.guided-feature{
  background:linear-gradient(135deg,#3157d5 0%,#2748b8 58%,#203c9e 100%);
}

/* Once a guided troubleshooting session starts, the start choices disappear
   and the card becomes the diagnostic workspace. */
.start-card.session-active > h2,
.start-card.session-active > .sub,
.start-card.session-active > .home-actions{
  display:none;
}

.start-card.session-active{
  padding-top:24px;
}

.start-card.session-active #symptomPanel{
  margin-top:0;
  padding-top:0;
  border-top:0;
}

.start-card.session-active #errorPanel{
  display:none !important;
}


/* ================================================================
   v0.8 — diagnostic workspace + responsive UI pass
   ================================================================ */

/* During a diagnostic, the tool becomes the page's focus. */
body.diagnostic-active .hero{
  padding:28px 0 54px;
}
body.diagnostic-active .hero > .wrap > h1,
body.diagnostic-active .hero > .wrap > p{
  display:none;
}
body.diagnostic-active main > .section{
  display:none;
}
body.diagnostic-active .start-card{
  max-width:980px;
  margin-top:0;
  margin-bottom:0;
  padding:clamp(24px,3.5vw,40px);
}

/* Question-first hierarchy. */
.wizard{margin-top:0}
.wizard-step{
  animation:wizardEnter .18s ease-out;
}
@keyframes wizardEnter{
  from{opacity:.35;transform:translateY(5px)}
  to{opacity:1;transform:translateY(0)}
}
.wizard-progress{
  margin:0 0 10px;
  font-size:10px;
  font-weight:900;
  letter-spacing:.11em;
  text-transform:uppercase;
  color:#7a869a;
}
.wizard-q{
  max-width:820px;
  font-size:clamp(24px,3vw,31px);
  line-height:1.18;
  font-weight:880;
  letter-spacing:-.035em;
  color:var(--ink);
}
.wizard-help{
  max-width:780px;
  margin-top:9px;
  color:var(--muted);
  font-size:15px;
  line-height:1.55;
}

/* Answer choices should be obvious, but not louder than the question. */
.answer-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:10px;
  margin-top:26px;
}
.answer{
  min-height:52px;
  padding:11px 15px;
  border:1px solid #ccd6f5;
  background:#fbfcff;
  color:#2945a5;
  border-radius:11px;
  font-size:15px;
  font-weight:760;
  cursor:pointer;
  transition:background .12s,border-color .12s,transform .12s;
}
.answer:hover{
  background:#f2f5ff;
  border-color:#9eafea;
  transform:translateY(-1px);
}

/* "Show me how" is a helper, not an answer. */
.show-how{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  margin-top:17px;
  border:1px solid #cbd5f3;
  background:#fff;
  color:var(--blue);
  border-radius:10px;
  padding:9px 13px;
  font-size:13px;
  font-weight:850;
  cursor:pointer;
}
.show-how:hover{
  background:#f7f9ff;
  border-color:#9eade5;
}

/* Back / restart are deliberately quiet and live after the task. */
.wizard-nav{
  display:flex;
  gap:18px;
  align-items:center;
  margin-top:24px;
  padding-top:16px;
  border-top:1px solid #edf0f5;
}
.wizard-nav-btn{
  appearance:none;
  border:0;
  background:transparent;
  padding:5px 0;
  color:#667085;
  font-size:12px;
  font-weight:760;
  cursor:pointer;
}
.wizard-nav-btn:hover{
  color:var(--blue);
}
.wizard-nav-btn:disabled{
  opacity:.35;
  cursor:default;
}

/* Instruction cards are intentionally readable and roomy. */
.howto-card{
  margin:22px 0 0;
  padding:clamp(16px,2.5vw,22px);
}
.howto-title{
  font-size:20px;
}
.howto-steps{
  gap:11px;
  line-height:1.55;
}

/* Endpoints should feel like a real finish. */
.outcome{
  margin-top:20px;
  padding:17px 18px;
}
.outcome.good{
  box-shadow:0 6px 18px rgba(8,122,85,.06);
}
.outcome.good h3{
  color:#086f51;
}

/* Tablet */
@media (max-width:800px){
  body.diagnostic-active .hero{
    padding:18px 0 36px;
  }
  body.diagnostic-active .start-card{
    max-width:none;
  }
  .wizard-q{
    font-size:26px;
  }
}

/* Phone */
@media (max-width:600px){
  .wrap{
    width:min(100% - 20px,1120px);
  }
  .site-header{
    height:60px;
  }
  .mark{
    width:32px;
    height:32px;
  }
  .hero{
    padding:34px 0 20px;
  }
  .hero h1{
    font-size:34px;
  }
  .hero p{
    font-size:16px;
  }
  .start-card{
    padding:18px;
    border-radius:16px;
  }
  body.diagnostic-active .hero{
    padding:12px 0 24px;
  }
  body.diagnostic-active .start-card{
    padding:20px 17px;
    border-radius:15px;
  }

  .home-actions{
    grid-template-columns:1fr;
  }
  .guided-feature,
  .error-lookup-card{
    padding:18px;
  }

  .wizard-progress{
    margin-bottom:8px;
  }
  .wizard-q{
    font-size:23px;
    line-height:1.22;
  }
  .wizard-help{
    font-size:14px;
  }
  .answer-grid{
    grid-template-columns:1fr;
    margin-top:21px;
  }
  .answer{
    min-height:50px;
    width:100%;
    font-size:15px;
  }
  .wizard-nav{
    justify-content:space-between;
    gap:14px;
  }
  .wizard-nav-btn{
    min-height:38px;
  }

  .howto-card{
    padding:15px;
    border-radius:12px;
  }
  .howto-title{
    font-size:18px;
  }
  .howto-steps{
    padding-left:20px;
  }
  .howto-steps code{
    white-space:normal;
    overflow-wrap:anywhere;
  }
}

/* Very narrow phones */
@media (max-width:380px){
  .wrap{
    width:min(100% - 14px,1120px);
  }
  .brand{
    font-size:14px;
  }
  .hero h1{
    font-size:30px;
  }
  body.diagnostic-active .start-card{
    padding:17px 14px;
  }
  .wizard-q{
    font-size:21px;
  }
}


/* ================================================================
   v0.9 — Show me how helper modal
   ================================================================ */

body.help-modal-open{
  overflow:hidden;
}

.help-modal{
  position:fixed;
  inset:0;
  z-index:1000;
  display:grid;
  place-items:center;
  padding:24px;
}

.help-modal.hidden{
  display:none !important;
}

.help-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(13,22,43,.58);
  backdrop-filter:blur(2px);
  animation:helpFadeIn .14s ease-out;
}

.help-modal-dialog{
  position:relative;
  z-index:1;
  width:min(720px,100%);
  max-height:min(84vh,860px);
  overflow:auto;
  background:#fff;
  border:1px solid rgba(255,255,255,.8);
  border-radius:18px;
  box-shadow:0 30px 90px rgba(5,15,40,.32);
  padding:24px;
  animation:helpPopIn .16s ease-out;
}

@keyframes helpFadeIn{
  from{opacity:0}
  to{opacity:1}
}

@keyframes helpPopIn{
  from{opacity:0;transform:translateY(8px) scale(.985)}
  to{opacity:1;transform:translateY(0) scale(1)}
}

.help-modal-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:16px;
}

.help-modal-kicker{
  color:var(--blue);
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.11em;
}

.help-modal-close{
  width:38px;
  height:38px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  color:#475467;
  font-size:25px;
  line-height:1;
  cursor:pointer;
}

.help-modal-close:hover{
  background:#f8faff;
  border-color:#b7c2e4;
  color:var(--blue);
}

.help-modal-question{
  font-size:clamp(24px,3.2vw,32px);
  line-height:1.17;
  letter-spacing:-.035em;
  font-weight:880;
  color:var(--ink);
}

.help-modal-copy{
  margin-top:8px;
  color:var(--muted);
  font-size:15px;
  line-height:1.55;
}

.help-task-card{
  margin-top:20px;
  padding:18px;
  border:1px solid #ccd7fb;
  background:#f7f9ff;
  border-radius:14px;
}

.help-task-title{
  font-size:19px;
  line-height:1.3;
  font-weight:850;
  color:var(--ink);
}

.help-task-steps{
  margin:14px 0 0;
  padding-left:24px;
  display:grid;
  gap:10px;
  color:#344054;
  line-height:1.55;
}

.help-task-expect,
.help-task-tip{
  margin-top:14px;
  padding:12px 13px;
  border:1px solid #e2e7f3;
  background:#fff;
  border-radius:10px;
  color:#475467;
  font-size:13px;
  line-height:1.5;
}

.help-answer-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
  gap:10px;
  margin-top:20px;
}

.help-answer{
  min-height:50px;
  padding:11px 14px;
  border:1px solid #cbd6f7;
  background:#fbfcff;
  color:#2945a5;
  border-radius:11px;
  font-weight:800;
  cursor:pointer;
}

.help-answer:hover{
  background:#f1f5ff;
  border-color:#93a8e9;
}

.help-modal-footer{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:18px;
  margin-top:20px;
  padding-top:15px;
  border-top:1px solid #edf0f5;
}

.help-utility-btn{
  appearance:none;
  border:0;
  background:transparent;
  padding:6px 0;
  color:#667085;
  font-size:12px;
  font-weight:760;
  cursor:pointer;
}

.help-utility-btn:hover{
  color:var(--blue);
}

.help-modal-dialog .outcome{
  margin-top:18px;
}

@media(max-width:600px){
  .help-modal{
    padding:0;
    align-items:stretch;
  }

  .help-modal-dialog{
    width:100%;
    max-height:100dvh;
    height:100dvh;
    border-radius:0;
    border:0;
    padding:18px 16px max(18px,env(safe-area-inset-bottom));
  }

  .help-modal-top{
    position:sticky;
    top:-18px;
    z-index:2;
    margin:-18px -16px 16px;
    padding:14px 16px 12px;
    background:rgba(255,255,255,.96);
    border-bottom:1px solid #eef1f5;
    backdrop-filter:blur(8px);
  }

  .help-modal-question{
    font-size:25px;
  }

  .help-answer-grid{
    grid-template-columns:1fr;
  }

  .help-answer{
    min-height:52px;
    width:100%;
  }

  .help-task-card{
    padding:15px;
  }

  .help-task-steps{
    padding-left:21px;
  }

  .help-task-steps code{
    white-space:normal;
    overflow-wrap:anywhere;
  }
}


/* v0.9.1 — helper title cleanup */
.help-modal-window-title{
  color:var(--ink);
  font-size:16px;
  line-height:1.3;
  font-weight:850;
  letter-spacing:-.015em;
}
.help-modal-footer{
  justify-content:flex-start;
}

/* Guided users can inspect a detailed article without leaving the session. */
body.guide-modal-open{
  overflow:hidden;
}
.guide-modal{
  position:fixed;
  inset:0;
  z-index:1200;
  display:grid;
  place-items:center;
  padding:24px;
}
.guide-modal.hidden{
  display:none !important;
}
.guide-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(13,22,43,.64);
  backdrop-filter:blur(2px);
}
.guide-modal-dialog{
  position:relative;
  z-index:1;
  width:min(900px,100%);
  max-height:min(88vh,900px);
  display:flex;
  flex-direction:column;
  overflow:hidden;
  background:#fff;
  border-radius:18px;
  box-shadow:0 30px 90px rgba(5,15,40,.36);
}
.guide-modal-top{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:16px 18px;
  border-bottom:1px solid #edf0f5;
}
.guide-modal-title{
  font-size:16px;
  font-weight:850;
  color:var(--ink);
}
.guide-modal-close{
  flex:0 0 auto;
  width:38px;
  height:38px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  color:#475467;
  font-size:25px;
  line-height:1;
  cursor:pointer;
}
.guide-modal-close:hover{
  background:#f8faff;
  color:var(--blue);
}
.guide-modal-body{
  min-height:180px;
  overflow:auto;
  padding:0;
}
.guide-loading{
  padding:32px;
  color:var(--muted);
}
.guide-modal-article.article{
  margin:0;
  border:0;
  border-radius:0;
  box-shadow:none;
}
.guide-modal-article.article h1{
  font-size:clamp(30px,4vw,43px);
}
@media(max-width:600px){
  .guide-modal{
    padding:0;
    align-items:stretch;
  }
  .guide-modal-dialog{
    width:100%;
    max-height:100dvh;
    height:100dvh;
    border-radius:0;
  }
  .guide-modal-top{
    padding:13px 14px;
  }
  .guide-modal-article.article{
    padding:20px 16px;
  }
}
