/* v134 tutorial: spotlight, card and the "?" button. Dark is the default; light follows the same switches as theme-light.css
   (html.theme-light, or the system setting when html.theme-dark is not set). */
:root{--tour-card:#24272f;--tour-ink:#f4f0eb;--tour-muted:#b8bcc4;--tour-line:rgba(255,255,255,.16);--tour-accent:#ff9a62;--tour-on-accent:#1b0e06;--tour-dim:transparent;--tour-shadow:0 18px 50px rgba(0,0,0,.5)}
@media (prefers-color-scheme:light){html:not(.theme-dark){--tour-card:#ffffff;--tour-ink:#27241e;--tour-muted:#5d5b55;--tour-line:#c7c9cd;--tour-accent:#9e3800;--tour-on-accent:#ffffff;--tour-dim:transparent;--tour-shadow:0 18px 50px rgba(30,26,20,.28)}}
html.theme-light{--tour-card:#ffffff;--tour-ink:#27241e;--tour-muted:#5d5b55;--tour-line:#c7c9cd;--tour-accent:#9e3800;--tour-on-accent:#ffffff;--tour-dim:transparent;--tour-shadow:0 18px 50px rgba(30,26,20,.28)}

/* The overlay never takes a tap: only the card does, so the app underneath stays usable. */
.tourRoot{position:fixed;inset:0;z-index:90;pointer-events:none;overflow:hidden}
.tourRoot[hidden]{display:none}
/* v146: no dim at all (two blind design reviews: any scrim made the first screen read as covered); the ring and the card's shadow point the way. */
.tourSpot{position:fixed;border-radius:20px;box-shadow:0 0 0 3px color-mix(in srgb,var(--tour-accent) 55%,transparent),0 0 0 9999px var(--tour-dim);pointer-events:none}
.tourSpot[hidden]{display:none}
.tourCard{position:fixed;pointer-events:auto;box-sizing:border-box;max-width:calc(100vw - 24px);background:var(--tour-card);color:var(--tour-ink);border:1px solid var(--tour-line);border-radius:20px;padding:16px 16px 12px;box-shadow:var(--tour-shadow);outline:none}
.tourStep{margin:0 0 6px;font-size:12px;font-weight:700;letter-spacing:.6px;color:var(--tour-muted)}
.tourText{margin:0 0 12px;font-size:16px;line-height:1.45;font-weight:600;overflow-wrap:anywhere}
.tourDots{display:flex;gap:6px;margin:0 0 10px}
.tourDots i{width:7px;height:7px;border-radius:50%;background:var(--tour-line)}
.tourDots i.on{background:var(--tour-accent)}
.tourActions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.tourGap{flex:1 1 0;min-width:0}
.tourCard button{min-height:44px;border-radius:12px;font-size:14px;font-weight:650;cursor:pointer;padding:10px 14px;font-family:inherit}
.tourSkip{border:0;background:transparent;color:var(--tour-muted);padding-inline:6px!important;text-decoration:underline;text-underline-offset:3px}
.tourBack{border:1px solid var(--tour-line);background:transparent;color:var(--tour-ink)}
.tourNext{border:0;background:var(--tour-accent);color:var(--tour-on-accent)}
.tourCard button:focus:not(:focus-visible){outline:none}
.tourCard button:focus-visible{outline:2px solid color-mix(in srgb,var(--tour-ink) 45%,transparent);outline-offset:2px}
.tourSample{display:inline-block;margin:0 0 8px;padding:3px 10px;border-radius:99px;border:1px dashed var(--tour-muted);color:var(--tour-muted);font-size:12px;font-weight:650}
.tourSample[hidden]{display:none}
.tourCard button[hidden]{display:none}
@media (prefers-reduced-motion:no-preference){
  .tourSpot{transition:top .22s ease,left .22s ease,width .22s ease,height .22s ease}
  .tourCard{transition:top .22s ease,left .22s ease}
}
@media (forced-colors:active){.tourSpot{outline:3px solid Highlight}.tourCard{border:2px solid CanvasText}}

/* The "?" button in the header: same size as the other header controls, quiet until needed. */
.tourButton{width:44px;min-width:44px;height:44px;padding:0;border-radius:50%;border:1px solid var(--tour-line);background:transparent;color:var(--tour-muted);font-weight:700;font-size:15px;line-height:1;display:inline-grid;place-items:center;cursor:pointer;flex:0 0 auto}
.tourButton:hover,.tourButton:focus-visible{color:var(--tour-ink);border-color:var(--tour-accent)}
.tourSettings{margin:14px 0 0}

/* v146: "How Misa works" under the start button while the plan is empty (the tour no longer starts by itself). */
.tourHowBtn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;margin:10px 0 0;min-height:44px;padding:8px 12px;border:0;background:transparent;color:var(--tour-accent);font:inherit;font-size:15px;font-weight:650;cursor:pointer;border-radius:12px}
.tourHowBtn span{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;border:1.5px solid currentColor;font-size:13px;font-weight:700;line-height:1}
.tourHowBtn:hover{background:color-mix(in srgb,var(--tour-accent) 8%,transparent)}
.tourHowBtn:focus-visible{outline:2px solid var(--tour-accent);outline-offset:2px}
@media(min-width:741px){.tourHowBtn{display:inline-flex;width:auto;margin:0 0 0 14px;vertical-align:middle}}
