/* Eddy's "Get started" checklist (tour.js), in the site theme: ink surfaces, SafeShelf blue for the next move,
   near-square buttons, mono uppercase kickers, grotesk titles, mint for progress. Eddy waves from a pale-blue disc. */

.tg { position: fixed; right: 20px; bottom: 20px; z-index: 55; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; pointer-events: none; font-family: var(--font); }
.tg > * { pointer-events: auto; }
.tg button, .tg-coach button { min-height: 0; box-shadow: none; font: inherit; }
.tg-ib svg, .tg-ic svg, .tg-art-ic svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* launcher, the same shape as the Help button: Eddy · Get started | 33% complete */
.tg .tg-pill { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px 0 7px; border-radius: 6px; background: #fff; color: var(--ink); box-shadow: 0 0 0 1px rgba(0, 17, 35, .08), 0 6px 24px rgba(0, 17, 35, .18); transition: transform .15s ease; }
.tg .tg-pill:hover { transform: translateY(-1px); color: var(--ink); box-shadow: 0 0 0 1px var(--blue), 0 8px 26px rgba(0, 17, 35, .2); }
.tg-pill.pop { animation: tg-pop .5s ease; }
@keyframes tg-pop { 40% { transform: scale(1.05); } }
.tg-pill img { width: 34px; height: 34px; border-radius: 4px; object-fit: cover; background: linear-gradient(180deg, #e8f2fd, #cfe3fb); }
.tg-pill-t { font: 500 15px var(--display); letter-spacing: -.01em; }
.tg-pill-sep { width: 1px; height: 20px; background: var(--line); }
.tg-pill-p { font: 500 13px var(--mono); color: var(--muted); }

/* checklist panel */
.tg-panel { width: 392px; max-height: calc(100dvh - 104px); overflow-y: auto; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 17, 35, .08), 0 28px 70px rgba(0, 17, 35, .28); animation: tg-up .22s ease; }
@keyframes tg-up { from { opacity: 0; transform: translateY(10px); } }
.tg-head { background: var(--ink); color: #fff; }
.tg-head-bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 10px 20px; border-bottom: 1px solid rgba(255, 255, 255, .12); font: 600 .72rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mint); }
.tg .tg-ib, .tg-coach .tg-ib { display: grid; place-items: center; flex: none; width: 30px; height: 30px; padding: 0; border-radius: 2px; background: transparent; color: rgba(255, 255, 255, .8); }
.tg .tg-ib:hover, .tg-coach .tg-ib:hover { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: none; }
.tg-ib svg { width: 17px; height: 17px; }
.tg-head-main { display: flex; align-items: center; gap: 16px; padding: 18px 20px 20px; }
.tg-head-main h2 { margin: 0 0 6px; font-size: 21px; line-height: 1.15; letter-spacing: -.03em; color: #fff; }
.tg-head-main p { margin: 0; font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, .72); }

/* Eddy in the progress ring: pale-blue disc with a white rim, Eddy cropped at its foot, % badge overlapping it */
.tg-dial { position: relative; flex: none; width: 96px; height: 108px; }
.tg-ring { position: absolute; top: 0; left: 0; width: 96px; height: 96px; max-width: none; transform: rotate(-90deg); }
.tg-ring circle { fill: none; stroke-width: 4; }
.tg-ring .bg { stroke: rgba(255, 255, 255, .16); }
.tg-ring .fg { stroke: var(--mint); stroke-linecap: round; transition: stroke-dasharray .5s ease; }
.tg-dial-c { position: absolute; top: 8px; left: 8px; width: 80px; height: 80px; border-radius: 50%; background: radial-gradient(circle at 50% 30%, #f2f8ff 0 30%, #cfe3fb 100%); box-shadow: 0 0 0 4px #fff, 0 12px 28px rgba(0, 0, 0, .4); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.tg-dial-c img { width: 92px; height: 92px; max-width: none; margin-bottom: -10px; object-fit: contain; }
.tg-dial-p { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); padding: 3px 9px; border-radius: 999px; border: 2px solid var(--ink); background: var(--mint); color: var(--mint-ink); font: 600 11px var(--mono); white-space: nowrap; }

.tg-list { list-style: none; margin: 0; padding: 12px; display: grid; gap: 8px; }
.tg-list li { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.tg-list li.next { box-shadow: inset 0 0 0 1.5px var(--blue), 0 6px 18px rgba(2, 113, 228, .1); }
.tg-ic { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 4px; background: var(--soft); color: var(--ink-2); }
.tg-ic svg { width: 19px; height: 19px; }
.tg-list li.next .tg-ic { background: var(--blue-pale); color: var(--blue); }
.tg-list li.done .tg-ic { background: var(--green-bg); color: var(--green); }
.tg-list li.locked .tg-ic, .tg-list li.locked .tg-tx b { color: var(--dim); }
.tg-tx { flex: 1; min-width: 0; display: grid; gap: 1px; }
.tg-tx b { font: 500 15px var(--display); letter-spacing: -.01em; color: var(--ink); }
.tg-list li.done .tg-tx b { color: var(--muted); }
.tg-tx small { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.tg-list li.done .tg-tx small { display: none; }
.tg .tg-start { flex: none; min-height: 34px; padding: 0 16px; border-radius: 2px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 500; box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.tg .tg-start:hover { color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.tg .tg-start.primary { background: var(--blue); color: #fff; box-shadow: none; }
.tg .tg-start.primary:hover { background: var(--blue-2); color: #fff; }
.tg .tg-start:disabled { opacity: 1; background: #fff; color: var(--dim); box-shadow: inset 0 0 0 1.5px var(--line); }
.tg-done { flex: none; padding: 3px 9px; border-radius: 999px; background: var(--mint); color: var(--mint-ink); font: 600 11px var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.tg-foot { display: flex; justify-content: space-between; padding: 0 20px 14px; }
.tg .tg-foot button { padding: 4px 0; background: none; color: var(--muted); font-size: 12.5px; }
.tg .tg-foot button:hover { color: var(--blue); box-shadow: none; }

/* coach card: ink, with an arrow at the real control */
.tg-coach { position: fixed; z-index: 70; width: 316px; padding: 16px; border-radius: 12px; background: var(--ink); color: #fff; box-shadow: 0 24px 60px rgba(0, 17, 35, .38); font-family: var(--font); }
.tg-coach.in { animation: tg-coach .22s ease; }
@keyframes tg-coach { from { opacity: 0; transform: translateY(4px) scale(.97); } }
.tg-arrow { position: absolute; width: 14px; height: 14px; background: var(--ink); border-radius: 2px; transform: rotate(45deg); }
.tg-coach[data-side="none"] .tg-arrow { display: none; }
.tg-coach[data-side="left"] .tg-arrow { left: -6px; margin-top: -7px; }
.tg-coach[data-side="right"] .tg-arrow { right: -6px; margin-top: -7px; }
.tg-coach[data-side="top"] .tg-arrow { top: -6px; margin-left: -7px; }
.tg-coach[data-side="bottom"] .tg-arrow { bottom: -6px; margin-left: -7px; }
.tg-c-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.tg-c-eddy { flex: none; width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: center 20%; background: radial-gradient(circle at 50% 30%, #f2f8ff 0 30%, #cfe3fb 100%); box-shadow: 0 0 0 2px #fff; }
.tg-c-h { flex: 1; min-width: 0; display: grid; gap: 3px; }
.tg-c-h small { font: 600 .68rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mint); }
.tg-c-h b { font: 500 17px/1.2 var(--display); letter-spacing: -.02em; }
.tg-art { position: relative; height: 118px; border-radius: 8px; background: linear-gradient(135deg, #8fc2fb 0%, var(--blue) 100%); display: grid; place-items: center; overflow: hidden; }
.tg-art-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--blue-2); color: #fff; box-shadow: 0 0 0 10px rgba(255, 255, 255, .22); }
.tg-art-ic svg { width: 26px; height: 26px; }
.tg-art-eddy { position: absolute; right: 6px; bottom: -6px; width: 74px; height: 74px; max-width: none; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0, 17, 35, .25)); }
.tg-coach.in .tg-art-eddy, .tg-coach.in .tg-c-eddy { animation: tg-hop .5s ease both; }
@keyframes tg-hop { from { transform: translateY(10px); opacity: 0; } 60% { transform: translateY(-2px); } }
.tg-art i { position: absolute; color: rgba(255, 255, 255, .85); }
.tg-art i svg { fill: currentColor; stroke: none; }
.tg-art .s1 { left: 18%; top: 20%; } .tg-art .s1 svg { width: 16px; height: 16px; }
.tg-art .s2 { left: 64%; top: 18%; } .tg-art .s2 svg { width: 14px; height: 14px; }
.tg-art .s3 { left: 26%; bottom: 16%; } .tg-art .s3 svg { width: 11px; height: 11px; }
.tg-c-d { margin: 12px 0 14px; font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, .8); }
.tg-coach .tg-go { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 42px; padding: 0 14px; border-radius: 2px; font-size: 14px; font-weight: 500; }
.tg-coach .tg-go.primary { background: var(--blue); color: #fff; }
.tg-coach .tg-go.primary:hover { background: var(--blue-2); color: #fff; box-shadow: none; }
.tg-coach .tg-go.line { margin-bottom: 10px; background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.tg-coach .tg-go.line:hover { color: #fff; box-shadow: inset 0 0 0 1.5px var(--mint); }
.tg-coach button:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.tg-go svg { flex: none; width: 13px; height: 13px; fill: currentColor; }
.tg-go span, .tg-go em { white-space: nowrap; }
.tg-go em { font: 500 12px var(--mono); font-style: normal; color: rgba(255, 255, 255, .7); }

/* the tour inside the browser: progress segments, Back / Next */
.tg-bar { display: flex; gap: 4px; }
.tg-bar i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .16); transition: background-color .2s ease; }
.tg-bar i.on { background: var(--mint); }
.tg-nav { display: flex; gap: 8px; }
.tg-nav .tg-go { flex: 1; }
.tg-coach .tg-back { flex: none; min-height: 42px; padding: 0 16px; border-radius: 2px; background: transparent; color: rgba(255, 255, 255, .8); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .2); }
.tg-coach .tg-back:hover { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.tg-wait { height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.tg-wait i { display: block; width: 40%; height: 100%; background: var(--mint); animation: tg-wait 1.2s ease-in-out infinite; }
@keyframes tg-wait { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

/* what the card points at: a page control, or a box on the real browser's screen */
.tg-hi { position: relative; z-index: 2; outline: 3px solid var(--blue) !important; outline-offset: 3px; animation: tg-hi 1.3s ease-in-out infinite; }
@keyframes tg-hi { 50% { outline-color: rgba(2, 113, 228, .3); outline-offset: 6px; } }
.tg-spot { position: fixed; z-index: 69; border-radius: 8px; pointer-events: none; box-shadow: 0 0 0 3px var(--blue), 0 0 0 9px rgba(2, 113, 228, .25); animation: tg-spot 1.3s ease-in-out infinite; transition: left .25s ease, top .25s ease, width .25s ease, height .25s ease; }
@keyframes tg-spot { 50% { box-shadow: 0 0 0 3px var(--mint), 0 0 0 12px rgba(162, 241, 169, .25); } }

@media (prefers-reduced-motion: reduce) {
  .tg-panel, .tg-coach.in, .tg-pill.pop, .tg-coach.in .tg-art-eddy, .tg-coach.in .tg-c-eddy, .tg-hi, .tg-spot, .tg-wait i { animation: none; }
  .tg-spot { transition: none; }
}

@media (max-width: 900px) {
  .tg { right: 12px; left: 12px; bottom: 12px; }
  .tg-panel { width: 100%; max-height: calc(100dvh - 84px); }
  .tg .tg-pill { height: 46px; }
  .tg-pill-t, .tg-pill-sep { display: none; }
  .tg-coach { width: min(316px, calc(100vw - 24px)); }
}
