/* Help — welcome sheet, spotlight tour, Settings › Help (help.js).
   Theme tokens only; no literal colors. */

/* "New" dot: the Settings gear + Help tab until Help is opened once */
#ironlog-gear.help-new::after { content: ''; position: absolute; top: -1px; right: -1px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--bg); }
.nav-btn.help-new, .seg button.help-new { position: relative; }
.nav-btn.help-new::after, .seg button.help-new::after {
  content: ''; position: absolute; top: 3px; right: calc(50% - 16px); width: 7px; height: 7px;
  border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--nav-bg);
}
.seg button.help-new::after { top: 50%; right: 5px; margin-top: -3.5px; box-shadow: none; }

/* Welcome / Get started */
.hp-sheet { display: grid; gap: 12px; }
.hp-sheet h2 { margin: 0; }
.hp-feats { display: grid; gap: 12px; margin: 4px 0; }
.hp-feats > div { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--text2); }
.hp-feats b { display: block; color: var(--text); font-size: 14px; }
.hp-fi { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--accent-soft); color: var(--accent); }
.hp-fi svg { width: 18px; height: 18px; }
.hp-fi.ok { background: var(--green-soft); color: var(--green); }
.hp-fi.info { background: var(--blue-soft); color: var(--blue); }
.hp-link { background: none; border: none; color: var(--text2); font: inherit; font-size: 14px; font-weight: 600; padding: 6px; cursor: pointer; }
.hp-opts { display: grid; gap: 8px; }
.hp-opt { display: flex; gap: 12px; align-items: center; text-align: left; width: 100%; background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; font: inherit; color: var(--text); cursor: pointer; }
.hp-opt.rec { border-color: var(--accent); }
.hp-opt b { display: block; font-size: 14px; }
.hp-opt small { font-size: 12px; color: var(--text2); }
.hp-err { color: var(--red); font-size: 13px; margin: -4px 0 12px; }

/* Spotlight tour */
/* The app has no global [hidden] rule, and these classes set display — so hide explicitly. */
.hp-tour [hidden], .hp-err[hidden] { display: none !important; }
.hp-tour { position: fixed; inset: 0; z-index: 200; }
.hp-catch { position: absolute; inset: 0; }
.hp-sample { position: fixed; background: var(--bg); padding: 16px; overflow: hidden; display: flex; flex-direction: column; gap: 10px; }
.hp-hole { position: fixed; border-radius: 12px; pointer-events: none;
  box-shadow: 0 0 0 2px var(--accent), 0 0 0 200vmax var(--backdrop);
  transition: top .3s cubic-bezier(.3,.7,.2,1), left .3s cubic-bezier(.3,.7,.2,1), width .3s cubic-bezier(.3,.7,.2,1), height .3s cubic-bezier(.3,.7,.2,1); }
.hp-tip { position: fixed; left: 12px; right: 12px; max-width: 440px; margin: 0 auto; background: var(--bg2); color: var(--text);
  border: var(--card-bw) solid var(--card-border); border-radius: var(--radius); box-shadow: var(--pop-shadow); padding: 14px 14px 12px;
  transition: top .3s cubic-bezier(.3,.7,.2,1); }
.hp-k { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.hp-tip h3 { margin: 3px 0 4px; font-size: 16px; }
.hp-tip p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--text2); }
.hp-act { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.hp-skip { margin-right: auto; background: none; border: none; color: var(--text3); font: inherit; font-size: 13px; padding: 4px 0; cursor: pointer; }
.hp-pips { display: flex; gap: 3px; margin-right: 4px; }
.hp-pips i { width: 5px; height: 5px; border-radius: 3px; background: var(--bg4); }
.hp-pips i.on { width: 12px; background: var(--accent); }
@media (prefers-reduced-motion: reduce) { .hp-hole, .hp-tip { transition: none; } }

/* Sample Lift screen */
.hp-s-pill { align-self: flex-start; font-size: 11px; font-weight: 700; color: var(--accent); background: var(--accent-soft); border-radius: 20px; padding: 2px 9px; }
.hp-pline { color: var(--text2); font-size: 13px; margin-top: -4px; }
.hp-pline b { color: var(--text); }
.hp-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.hp-dt { height: 56px; border-radius: 12px; border: var(--card-bw) solid var(--card-border); background: var(--bg2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; font-size: 11px; color: var(--text2); }
.hp-dt b { font-size: 15px; color: var(--text); }
.hp-dt.on { background: var(--primary); border-color: transparent; color: var(--on-accent); }
.hp-dt.on b { color: var(--on-accent); }
.hp-mk { width: 12px; height: 3px; border-radius: 2px; margin-top: 2px; }
.hp-mk.lift { background: var(--green); }
.hp-mk.hiit { background: var(--blue); }
.hp-mk.sched { width: 6px; height: 6px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; }
.hp-switch { display: flex; gap: 6px; }
.hp-sw { border: 1px solid var(--border); background: var(--bg2); border-radius: 10px; padding: 7px 11px; font-size: 13px; font-weight: 600; }
.hp-sw.cur { border-color: var(--accent); }
.hp-sw small { color: var(--text3); font-weight: 500; margin-left: 3px; }
.hp-sw.plus { color: var(--accent); font-size: 17px; line-height: 1.1; padding: 5px 14px; }
.hp-ex { background: var(--bg2); border: var(--card-bw) solid var(--card-border); border-radius: var(--radius); padding: 12px; display: grid; gap: 6px; }
.hp-ex-h { display: flex; justify-content: space-between; font-size: 15px; }
.hp-ex-h span { color: var(--text3); font-size: 12px; }
.hp-ghost { font-size: 12px; color: var(--text3); }
.hp-srow { display: grid; grid-template-columns: 28px 1fr 1fr 38px; gap: 6px; align-items: center; font-size: 13px; }
.hp-srow.hd { font-size: 10px; font-weight: 700; letter-spacing: .06em; color: var(--text3); text-align: center; }
.hp-n { text-align: center; font-weight: 700; color: var(--text2); }
.hp-in { background: var(--bg3); border-radius: 8px; padding: 7px 0; text-align: center; font-weight: 600; }
.hp-srow.ghost .hp-in { color: var(--text3); font-weight: 500; }
.hp-tick { height: 30px; border-radius: 8px; border: 1.5px solid var(--border); display: grid; place-items: center; color: var(--text3); }
.hp-srow.done .hp-in { background: var(--green-soft); }
.hp-srow.done .hp-tick { background: var(--green); border-color: var(--green); color: var(--on-accent); }
.hp-complete { margin-top: 2px; }

/* Settings › Help */
.hp-tourcard { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; font: inherit; color: var(--text); cursor: pointer; }
.hp-tourcard b { display: block; font-size: 15px; }
.hp-tourcard small { font-size: 12px; color: var(--text2); }
.hp-play { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--primary); color: var(--on-accent); }
.hp-play svg { width: 16px; height: 16px; margin-left: 2px; }
.hp-list { padding: 0 14px; }
.hp-row { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; background: none; border: none; border-top: 1px solid var(--border); padding: 12px 0; font: inherit; color: var(--text); cursor: pointer; }
.hp-row:first-child { border-top: none; }
.hp-row > span { flex: 1; min-width: 0; }
.hp-row b { display: block; font-size: 14px; }
.hp-row small { font-size: 12px; color: var(--text3); }
.hp-ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none; background: var(--bg3); color: var(--accent); }
.hp-ic svg { width: 17px; height: 17px; }
.hp-cv { color: var(--text3); display: grid; }
.hp-cv svg { width: 16px; height: 16px; }
.hp-article { display: grid; gap: 12px; }
.hp-article h2 { margin: 0; }
.hp-article ol { margin: 0; padding-left: 22px; display: grid; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--text2); }
.hp-article ol b { color: var(--text); }
