/* Immediate, situation-based help. Uses the site's paper and ink tokens. */
.first-steps-dialog {
  width: min(680px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  max-height: 90dvh;
  padding: 0 26px 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-padding-top: 122px;
  font-size: 15px;
  line-height: 1.55;
}
.first-steps-dialog > .dialog-head {
  position: sticky;
  top: 0;
  z-index: 3;
  align-items: flex-start;
  margin: 0 -26px 18px;
  padding: 24px 26px 17px;
  background: var(--sheet);
  border-bottom: 1px solid var(--line);
  border-radius: 17px 17px 0 0;
}
.first-steps-dialog .dialog-head > div { min-width: 0; }
.first-steps-dialog .dialog-head h2 { font-size: 32px; line-height: 1.15; }
.first-steps-dialog .dialog-head .eyebrow { font-size: 10px; margin-bottom: 8px; }
.first-steps-dialog .icon-button { flex: 0 0 44px; }
.first-steps-dialog #help-intro { margin: 0 0 17px; font-size: 14px; }
.first-steps-dialog button,
.first-steps-dialog summary { min-height: 44px; }
.first-steps-dialog a { color: var(--ink); text-underline-offset: 3px; }
.first-steps-dialog a:hover { color: var(--berry); }
.first-steps-dialog :is(button, summary, a):focus-visible {
  outline: 3px solid var(--berry);
  outline-offset: 3px;
}
.first-steps-dialog [hidden] { display: none !important; }

.help-picker { border: 1px solid var(--line); border-radius: 10px; }
.help-picker > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  border-radius: 10px;
  background: var(--sage);
}
.help-picker > summary::-webkit-details-marker { display: none; }
.help-picker > summary::marker { content: ""; }
#help-selected { min-width: 0; }
#help-change { flex: none; font-weight: 500; font-size: 12px; color: var(--berry); }
.help-picker[open] > summary { background: transparent; }
.help-options { display: grid; gap: 8px; padding: 0 11px 11px; }
.help-option {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 16px;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 9px 12px 9px 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--sheet);
  text-align: left;
  color: var(--ink);
}
.help-option > img { width: 62px; height: 54px; object-fit: contain; }
.help-option > span { min-width: 0; }
.help-option strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.35; }
.help-option small { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); line-height: 1.45; }
.help-option > span:last-child { font-size: 18px; color: var(--berry); }
.help-option:hover { border-color: var(--berry); background: #fcf5f1; }
.help-option[aria-pressed="true"] { border-color: var(--berry); background: var(--rose); }

.help-plan { margin-top: 23px; }
.help-plan > h3 {
  font: 400 25px/1.25 Georgia, serif;
  letter-spacing: -.25px;
  margin: 0 0 20px;
  scroll-margin-top: 122px;
}
.help-actions { list-style: none; counter-reset: first-step; margin: 0 0 23px; padding: 0; }
.help-actions > li {
  counter-increment: first-step;
  position: relative;
  padding-left: 37px;
  margin: 0 0 17px;
}
.help-actions > li>.help-step-number {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid #b5bfae;
  border-radius: 46% 54% 48% 52%;
  background: var(--sage);
  color: var(--ink);
  font: 400 15px/1 Georgia, serif;
}
.help-actions strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.45; }
.help-actions p { margin-top: 5px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.help-words { padding: 20px 21px; }
.help-words > #help-phrase { font: 400 20px/1.45 Georgia, serif; letter-spacing: 0; margin: 0; }
.help-words .eyebrow { display: block; }
.help-words .note-actions { gap: 8px; margin-top: 18px; }
.help-words .note-actions button { font-size: 13px; padding: 10px 12px; }
.help-words > #help-copy-status {
  margin: 11px 0 0;
  font: 400 13px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  color: var(--muted);
}
.help-words > #help-copy-status:empty { display: none; }
.help-words .copy-fallback { font-size: 15px; }
.help-tool { margin: 19px 0 20px; }
.help-tool > .quiet-button { max-width: 100%; text-align: left; white-space: normal; font-size: 14px; }
.help-tool > .muted { font-size: 13px; line-height: 1.5; margin-top: 8px; }
.first-steps-dialog .text-button {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 8px 0;
  margin-top: 4px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 13px;
  line-height: 1.5;
}
.first-steps-dialog .text-button:hover { color: var(--berry); }

.help-detail { border-top: 1px solid var(--line); }
.help-detail > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}
.help-detail > summary::-webkit-details-marker { display: none; }
.help-detail > summary::marker { content: ""; }
.help-detail > summary::after { content: "+"; flex: none; color: var(--muted); font-size: 20px; font-weight: 400; line-height: 1; }
.help-detail[open] > summary::after { content: "−"; }
.help-detail > p { font-size: 14px; line-height: 1.65; margin: 0 0 13px; color: var(--muted); }
.help-detail > a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0 13px; font-size: 13px; line-height: 1.5; }
.help-detail ul { margin: 0; padding: 0 0 14px; list-style: none; }
.help-detail li a { display: inline-flex; align-items: center; min-height: 44px; padding: 7px 0; font-size: 13px; line-height: 1.5; }
.help-urgent { margin-top: 16px; }
.help-plan:not([hidden]) + .help-urgent { margin-top: 0; }
.help-escalation { padding: 17px 0; border-top: 1px solid var(--line); }
.help-escalation h4 { margin: 0 0 8px; font-size: 15px; line-height: 1.45; font-weight: 600; }
.help-escalation p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.help-escalation a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 7px; font-size: 13px; line-height: 1.5; }
.help-consult { margin: 13px 0 0; padding-top: 15px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.6; color: var(--muted); }
.help-consult a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 6px; }

@media (max-width: 600px) {
  .first-steps-dialog { padding: 0 18px 20px; border-radius: 14px; }
  .first-steps-dialog > .dialog-head { margin: 0 -18px 15px; padding: 19px 18px 15px; gap: 10px; border-radius: 13px 13px 0 0; }
  .first-steps-dialog .dialog-head h2 { font-size: 27px; }
  .first-steps-dialog .dialog-head .eyebrow { font-size: 9px; letter-spacing: .8px; }
  .first-steps-dialog #help-intro { font-size: 13px; }
  .help-picker > summary { padding: 12px; gap: 8px; font-size: 13px; }
  #help-change { font-size: 11px; }
  .help-options { padding: 0 7px 7px; gap: 7px; }
  .help-option { grid-template-columns: 46px minmax(0, 1fr) 13px; gap: 8px; padding: 10px 9px 10px 4px; }
  .help-option > img { width: 46px; height: 48px; }
  .help-option strong { font-size: 14px; }
  .help-option small { font-size: 11px; }
  .help-plan { margin-top: 20px; }
  .help-plan > h3 { font-size: 23px; margin-bottom: 19px; }
  .help-actions > li { padding-left: 32px; margin-bottom: 17px; }
  .help-actions > li>.help-step-number { width: 23px; height: 23px; font-size: 14px; }
  .help-actions strong, .help-actions p { font-size: 15px; }
  .help-words { padding: 18px 16px; }
  .help-words > #help-phrase { font-size: 20px; }
  .help-words .note-actions { align-items: stretch; }
  .help-words .note-actions button { flex: 1 1 130px; width: auto; }
  .help-tool > .quiet-button { width: 100%; justify-content: center; text-align: center; }
  .help-detail > summary { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .first-steps-dialog, .first-steps-dialog * { scroll-behavior: auto; animation: none; transition: none; }
}

/* The usable result comes before optional step-by-step detail. */
.help-plan>.help-tool{margin:14px 0 20px}.help-plan>.help-tool>button:first-child{border-color:#a6b29d;background:var(--sage);width:100%;justify-content:center}.help-plan>.help-tool>.muted{font-size:12px}.help-detail>.help-actions{margin-top:12px;margin-bottom:10px}.help-detail>.help-actions>li:last-child{margin-bottom:4px}
