/* "Try these" demo scenarios (tour.js). Shared by HRView and StockView; uses each app's theme variables. */
#nexTour { font-family: var(--f-body); }
/* Floating guide button: a round icon with a progress ring and a small n/N badge. */
.ntFab { position: fixed; right: 16px; bottom: 92px; z-index: 60; width: 54px; height: 54px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: conic-gradient(var(--accent) calc(var(--p) * 1%), rgba(127, 140, 160, .35) 0); box-shadow: 0 8px 22px rgba(0, 0, 0, .32); }
.ntFab:hover { transform: translateY(-1px); }
.ntFab.hide { display: none; }
.ntFabIn { position: absolute; inset: 3px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--on-accent); }
.ntFabIn svg { width: 24px; height: 24px; }
.ntBadge { position: absolute; top: -6px; right: -8px; min-width: 22px; padding: 2px 6px; border-radius: 99px; font: 700 .68rem/1.3 var(--f-body);
  background: var(--surface); color: var(--ink); border: 1px solid var(--line-teal); box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
/* First visit: a small note pointing at the button. */
.ntNudge { position: fixed; right: 16px; bottom: 158px; z-index: 61; max-width: 270px; padding: 10px 34px 10px 12px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line-teal); color: var(--ink); font-size: .86rem; line-height: 1.35; box-shadow: 0 10px 28px rgba(0, 0, 0, .3); }
.ntNudge::after { content: ""; position: absolute; right: 20px; bottom: -7px; width: 12px; height: 12px; background: var(--surface);
  border-right: 1px solid var(--line-teal); border-bottom: 1px solid var(--line-teal); transform: rotate(45deg); }
.ntNudge b { color: var(--accent); }
.ntNudgeX { position: absolute; top: 6px; right: 6px; border: 0; background: none; color: var(--muted); font-size: 1.1rem; cursor: pointer; line-height: 1; padding: 2px 6px; }
.ntFlash { position: fixed; right: 16px; bottom: 158px; z-index: 61; max-width: 340px; padding: 10px 14px; border-radius: 10px;
  background: var(--ok-soft); border: 1px solid var(--ok); color: var(--ink); font-weight: 600; font-size: .9rem; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.ntPanel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 59; width: 400px; max-width: 100vw; overflow-y: auto; padding: 20px 20px 28px;
  background: var(--surface); border-left: 1px solid var(--line); box-shadow: -18px 0 40px rgba(0, 0, 0, .3); color: var(--ink); }
.ntPanel[hidden] { display: none; }
/* Brand band behind the title, so the guide stands apart from the app behind it. */
.ntTop { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin: -20px -20px 0; padding: 18px 20px 16px;
  background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: var(--on-accent); }
.ntTop h2 { margin: 2px 0 0; font-family: var(--f-display); font-size: 1.25rem; line-height: 1.25; color: var(--on-accent); }
.ntEyebrow { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-accent); opacity: .75; font-weight: 700; }
.ntClose { border: 0; background: rgba(0, 0, 0, .16); color: var(--on-accent); width: 34px; height: 34px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; flex: none; }
.ntClose:hover { background: rgba(0, 0, 0, .26); }
.ntIntro { margin: 14px 0 12px; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.ntBar { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.ntBar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .3s; }
.ntCount { margin: 6px 0 4px; font-size: .82rem; color: var(--muted); }
.ntFinish { margin: 10px 0; padding: 12px; border-radius: 10px; background: var(--accent-soft); border: 1px solid var(--line-teal); }
.ntFinish p { margin: 0 0 10px; font-size: .9rem; }
.ntGroup { margin: 18px 0 8px; font-family: var(--f-display); font-size: .92rem; }
.ntGroup span { font-family: var(--f-body); font-weight: 600; font-size: .72rem; color: var(--accent); background: var(--accent-soft); padding: 2px 8px; border-radius: 99px; margin-left: 6px; }
.ntList { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ntCard { border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
/* The step they're on: a little lighter, with a teal edge. */
.ntCard.open { border-color: var(--line-teal); border-left: 3px solid var(--accent); background: color-mix(in srgb, var(--accent) 7%, var(--surface-2)); }
.ntHead { width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 0; background: none; color: var(--ink); cursor: pointer; text-align: left; font: inherit; }
.ntTick { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2px solid var(--line-teal); display: grid; place-items: center; font-size: .8rem; font-weight: 800; }
.ntCard.done .ntTick { background: var(--ok); border-color: var(--ok); color: var(--on-accent); }
.ntTitle { flex: 1; font-weight: 600; font-size: .92rem; line-height: 1.3; }
/* Finished: soft green, struck through. */
.ntCard.done { background: var(--ok-soft); border-color: transparent; }
.ntCard.done.open { border-left-color: var(--ok); }
.ntCard.done .ntName { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--ok); text-decoration-thickness: 2px; }
.ntCard.done .ntSub { color: var(--ok); font-weight: 600; }
.ntSub { display: block; font-weight: 500; font-size: .76rem; color: var(--muted); margin-top: 2px; }
.ntChev { color: var(--muted); transition: transform .2s; font-size: 1.2rem; }
.ntCard.open .ntChev { transform: rotate(90deg); }
.ntBody { padding: 0 14px 14px 44px; font-size: .88rem; line-height: 1.45; }
.ntWhy { margin: 0 0 8px; color: var(--muted); }
.ntSteps { margin: 0 0 8px; padding-left: 18px; display: grid; gap: 4px; }
.ntSee { margin: 0 0 10px; padding: 8px 10px; border-radius: 8px; background: var(--sunk); }
.ntActs { display: flex; flex-wrap: wrap; gap: 8px; }
.ntBtn { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; text-decoration: none; }
.ntBtn.primary { background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: var(--on-accent); border: 0; }
.ntFoot { margin: 18px 0 0; font-size: .78rem; color: var(--muted); }
.ntFoot a { color: var(--accent); }
@media (max-width: 760px) {
  /* Phones: the list is a sheet over the lower part of the screen, so the app stays visible above it. */
  .ntPanel { top: auto; left: 0; width: 100vw; max-height: 62vh; border-left: 0; border-top: 1px solid var(--line); border-radius: 18px 18px 0 0; }
  .ntTop { position: sticky; top: -20px; z-index: 1; }
  .ntFab { right: 12px; bottom: 80px; width: 50px; height: 50px; }
  .ntNudge { right: 12px; left: 12px; bottom: 144px; max-width: none; }
  .ntFlash { right: 12px; left: 12px; bottom: 144px; max-width: none; }
}
@media print { #nexTour { display: none; } }
