.tool-help-button {
  position: static;
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 9px;
  background: rgba(255,255,255,.09);
  color: #fff;
  font: 750 13px/1 Inter, ui-sans-serif, system-ui, sans-serif;
  cursor: pointer;
  white-space: nowrap;
}
.tool-header-actions { display:flex; align-items:center; justify-content:flex-end; gap:8px; }
.tool-help-button:hover { background: rgba(255,255,255,.17); }
.tool-help-button:focus-visible,
.tool-help-close:focus-visible,
.tool-help-tab:focus-visible,
.tool-help-finish:focus-visible { outline: 3px solid #8cecf1; outline-offset: 2px; }
.tool-help-mark {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 50%;
  font-size: 13px;
}
.tool-help-backdrop {
  position: fixed;
  z-index: 3000;
  inset: 0;
  background: rgba(4,18,34,.48);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.tool-help-panel {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  width: min(590px,100vw);
  height: 100%;
  grid-template-rows: auto auto 1fr;
  overflow: hidden;
  background: #f4f8fc;
  color: #172534;
  box-shadow: -20px 0 60px rgba(4,24,45,.22);
  font-family: Inter,ui-sans-serif,system-ui,sans-serif;
}
.tool-help-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px 20px;
  background: linear-gradient(125deg,#083c66,#0876a9 72%,#0c91a4);
  color: #fff;
}
.tool-help-kicker { display:block; margin-bottom:5px; color:#9cecf1; font-size:11px; font-weight:850; letter-spacing:.14em; text-transform:uppercase; }
.tool-help-header h2 { margin:0; color:#fff; font-family:Georgia,"Times New Roman",serif; font-size:25px; line-height:1.15; }
.tool-help-header p { margin:7px 0 0; color:#d9eef8; font-size:13px; }
.tool-help-close {
  flex: 0 0 auto;
  width: 39px;
  height: 39px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 11px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.tool-help-nav { display:flex; gap:7px; padding:11px 18px; border-bottom:1px solid #d4e2ec; background:#fff; overflow-x:auto; }
.tool-help-tab { padding:8px 11px; border:1px solid #d6e3ed; border-radius:999px; background:#f5f9fc; color:#34536d; font:750 12px/1 Inter,ui-sans-serif,system-ui,sans-serif; cursor:pointer; white-space:nowrap; }
.tool-help-tab:hover { border-color:#7ccbd8; background:#eefbfc; color:#075f91; }
.tool-help-content { overflow-y:auto; padding:22px 22px 30px; scroll-behavior:smooth; }
.tool-help-intro { margin-bottom:18px; padding:17px 18px; border:1px solid #cce2ef; border-radius:16px; background:linear-gradient(135deg,#fff,#eef8fb); }
.tool-help-intro strong { display:block; margin-bottom:5px; color:#075f91; font-size:17px; }
.tool-help-intro p { margin:0; color:#52687d; font-size:13px; line-height:1.55; }
.tool-help-section { scroll-margin-top:14px; }
.tool-help-section + .tool-help-section { margin-top:28px; padding-top:24px; border-top:1px solid #d9e4ec; }
.tool-help-section h3 { margin:0 0 13px; color:#172a3e; font-size:18px; }
.tool-help-step { position:relative; margin:0 0 15px; overflow:hidden; border:1px solid #d4e1ea; border-radius:16px; background:#fff; box-shadow:0 8px 24px rgba(16,54,78,.055); }
.tool-help-step-number { position:absolute; z-index:2; top:11px; left:11px; display:grid; width:31px; height:31px; place-items:center; border:2px solid #fff; border-radius:50%; background:#0876a9; color:#fff; box-shadow:0 5px 14px rgba(7,95,145,.28); font-size:13px; font-weight:850; }
.tool-help-step figure { margin:0; }
.tool-help-step img { display:block; width:100%; max-height:290px; border-bottom:1px solid #dbe6ee; background:#eef4f8; object-fit:cover; object-position:top center; }
.tool-help-step--portrait img { max-height:330px; object-fit:contain; }
.tool-help-step figcaption { padding:14px 16px 16px; }
.tool-help-step figcaption strong { display:block; margin-bottom:4px; color:#075f91; font-size:15px; }
.tool-help-step figcaption span { color:#53687b; font-size:13px; line-height:1.5; }
.tool-help-text-step { padding:18px 18px 18px 58px; }
.tool-help-text-step strong { display:block; margin-bottom:5px; color:#075f91; font-size:15px; }
.tool-help-text-step p { margin:0; color:#53687b; font-size:13px; line-height:1.55; }
.tool-help-list { margin:0; padding-left:21px; color:#435b70; font-size:13px; line-height:1.65; }
.tool-help-list li + li { margin-top:7px; }
.tool-help-note { margin-top:13px; padding:14px 15px; border-left:4px solid #18aebe; border-radius:4px 12px 12px 4px; background:#eaf8fa; color:#294e5b; font-size:13px; line-height:1.55; }
.tool-help-finish { display:flex; width:100%; min-height:47px; align-items:center; justify-content:center; margin-top:24px; border:0; border-radius:12px; background:linear-gradient(100deg,#075f9e,#078fb0); color:#fff; font:800 14px/1 Inter,ui-sans-serif,system-ui,sans-serif; cursor:pointer; box-shadow:0 10px 24px rgba(7,95,145,.2); }
.tool-help-backdrop[hidden] { display:none !important; }
body.tool-help-open { overflow:hidden; }
@media(max-width:700px){
  .tool-help-button-label { display:none; }
  .tool-help-button { padding:8px 10px; }
  .tool-help-panel { width:100vw; }
  .tool-help-header { padding:19px 18px 16px; }
  .tool-help-header h2 { font-size:21px; }
  .tool-help-nav { padding:9px 12px; }
  .tool-help-content { padding:17px 14px 24px; }
  .tool-help-step img { max-height:235px; }
  .tool-help-step--portrait img { max-height:285px; }
}
@media(prefers-reduced-motion:reduce){ .tool-help-content{scroll-behavior:auto} }
