/* 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-hole.round { border-radius: 50%; box-shadow: 0 0 0 3px var(--accent), 0 0 0 200vmax var(--backdrop); }
.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); }

/* Put MODE on your Home Screen: address, iPhone | Android, drawn steps (.hi-*) */
.hi-ok { display: flex; gap: 8px; align-items: center; margin: 0; font-size: 13px; color: var(--green); }
.hi-ok svg { width: 16px; height: 16px; flex: none; }
.hi-url { display: flex; align-items: center; gap: 10px; background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 10px 10px 14px; }
.hi-url > span { flex: 1; min-width: 0; }
.hi-url small { display: block; font-size: 11px; color: var(--text3); }
.hi-url b { font-size: 17px; color: var(--text); word-break: break-all; }
.hi-url .btn { display: inline-flex; align-items: center; gap: 6px; flex: none; }
.hi-url .btn svg { width: 15px; height: 15px; }
.hi-seg { margin: 0; }
.hi-strip { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none; overscroll-behavior-x: contain; }
.hi-strip::-webkit-scrollbar { display: none; }
.hi-step { flex: 0 0 min(78%, 260px); scroll-snap-align: center; display: grid; gap: 8px; align-content: start; }
.hi-step p { display: flex; gap: 8px; margin: 0; font-size: 13px; line-height: 1.45; color: var(--text2); }
.hi-step p b { color: var(--text); }
.hi-n { width: 20px; height: 20px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: var(--accent-soft); color: var(--accent); margin-top: 1px; }
.hi-note { margin: 0; font-size: 13px; line-height: 1.45; color: var(--text3); }

/* The drawn phone screen */
.hi-phone { border: 5px solid var(--bg4); border-radius: 22px; overflow: hidden; height: 230px; background: var(--bg); }
.hi-scr { position: relative; height: 100%; display: flex; flex-direction: column; font-size: 10px; color: var(--text2); }
.hi-page { flex: 1; padding: 14px 12px; display: grid; gap: 8px; align-content: start; }
.hi-page i { height: 8px; border-radius: 4px; background: var(--bg3); }
.hi-page i:nth-child(1) { width: 55%; height: 12px; }
.hi-page i:nth-child(3n) { width: 75%; }
.hi-tap { box-shadow: 0 0 0 2px var(--accent); border-radius: 8px; color: var(--accent) !important; }
.hi-tapt { font-weight: 700; padding: 1px 6px; }
.hi-app { width: 26px; height: 26px; border-radius: 7px; flex: none; display: block; }
.hi-addr { display: flex; align-items: center; justify-content: center; gap: 4px; flex: 1; min-width: 0; background: var(--bg3); border-radius: 10px; padding: 6px 8px; color: var(--text); font-weight: 600; white-space: nowrap; overflow: hidden; }
.hi-addr svg { width: 9px; height: 9px; flex: none; color: var(--text3); }
.hi-sbar { padding: 0 10px 6px; display: flex; }
.hi-tools { display: flex; justify-content: space-around; align-items: center; padding: 4px 6px 10px; background: var(--bg2); border-top: 1px solid var(--border); }
.hi-tools i, .hi-cbar i { display: grid; place-items: center; width: 26px; height: 26px; color: var(--text2); }
.hi-tools svg, .hi-cbar svg { width: 15px; height: 15px; }
.hi-cbar { display: flex; align-items: center; gap: 6px; padding: 8px 6px 8px 10px; background: var(--bg2); border-bottom: 1px solid var(--border); }
.hi-sheet { background: var(--bg2); border-radius: 14px 14px 0 0; padding: 8px 8px 10px; display: grid; gap: 4px; border-top: 1px solid var(--border); }
.hi-shd { display: flex; gap: 8px; align-items: center; padding: 2px 4px 6px; border-bottom: 1px solid var(--border); }
.hi-shd b, .hi-row b { display: block; color: var(--text); font-size: 11px; }
.hi-shd small, .hi-row small { color: var(--text3); font-size: 9px; }
.hi-li { display: flex; justify-content: space-between; align-items: center; padding: 7px 8px; background: var(--bg3); border-radius: 8px; color: var(--text); font-size: 10.5px; }
.hi-li i { display: grid; width: 13px; height: 13px; }
.hi-li i svg { width: 13px; height: 13px; }
.hi-li.hi-tap { font-weight: 700; }
.hi-nav { display: flex; justify-content: space-between; align-items: center; padding: 12px 8px; color: var(--text2); }
.hi-nav b { color: var(--text); font-size: 10.5px; }
.hi-card { margin: 0 10px 8px; background: var(--bg2); border-radius: 10px; padding: 8px 10px; }
.hi-row { display: flex; gap: 8px; align-items: center; }
.hi-sw { justify-content: space-between; color: var(--text); }
.hi-tog { width: 24px; height: 14px; border-radius: 7px; background: var(--green); position: relative; }
.hi-tog::after { content: ''; position: absolute; right: 2px; top: 2px; width: 10px; height: 10px; border-radius: 50%; background: var(--on-accent); }
.hi-menu { position: absolute; top: 34px; right: 6px; width: 62%; background: var(--bg2); border-radius: 10px; box-shadow: var(--pop-shadow); padding: 4px; display: grid; gap: 2px; }
.hi-menu .hi-li { background: none; padding: 6px 8px; }
.hi-dlg { position: absolute; left: 12px; right: 12px; top: 50%; transform: translateY(-50%); background: var(--bg2); border-radius: 14px; box-shadow: var(--pop-shadow); padding: 12px; display: grid; gap: 10px; color: var(--text); font-size: 11px; }
.hi-btns { display: flex; justify-content: flex-end; gap: 12px; align-items: center; color: var(--text2); }
.hi-homescr { padding: 18px 12px; background: var(--bg2); }
.hi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 8px; justify-items: center; }
.hi-hm { display: grid; justify-items: center; gap: 3px; padding: 3px; }
.hi-hm > i { width: 34px; height: 34px; border-radius: 9px; background: var(--bg4); }
.hi-hm .hi-app { width: 34px; height: 34px; border-radius: 9px; }
.hi-hm small { font-size: 9px; color: var(--text); }
.hp-article.hi { grid-template-columns: minmax(0, 1fr); }
