/* Quick tips (tour.js). Shared with HireDesk; each plugin sets --cgt-accent. */
:root { --cgt-accent: #02933c; --cgt-accent-d: #017530; }
#cgt-root { display: none; }
#cgt-root.cgt-on { display: block; }
#cgt-root, #cgt-tips-btn.cgt-btn { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; text-transform: none; letter-spacing: normal; }
#cgt-root.cgt .cgt-dim { position: fixed; inset: 0; z-index: 2147483000; background: transparent; }
#cgt-root.cgt .cgt-dim.cgt-full { background: rgba(17, 24, 39, .55); }
#cgt-root.cgt .cgt-ring { position: fixed; z-index: 2147483001; border-radius: 10px; pointer-events: none; box-shadow: 0 0 0 3px #fff, 0 0 0 9999px rgba(17, 24, 39, .55); transition: left .2s, top .2s, width .2s, height .2s; }
#cgt-root.cgt .cgt-ring[hidden] { display: none; }
#cgt-root.cgt .cgt-tip { position: fixed; z-index: 2147483002; box-sizing: border-box; width: 340px; max-width: calc(100vw - 16px); background: #fff; color: #111827; border-radius: 12px; padding: 16px 18px 14px; box-shadow: 0 12px 32px rgba(0, 0, 0, .25); font-size: 15px; line-height: 1.5; }
#cgt-root.cgt .cgt-tip.cgt-mid { left: 50% !important; top: 50% !important; transform: translate(-50%, -50%); width: 380px; }
#cgt-root.cgt .cgt-tip.cgt-dock { left: 8px !important; right: 8px; bottom: 8px; top: auto !important; width: auto; max-width: none; }
#cgt-root.cgt .cgt-tip.cgt-dock.cgt-dock-top { top: 8px !important; bottom: auto; }
#cgt-root.cgt .cgt-tip p { margin: 0; padding: 0; }
#cgt-root.cgt .cgt-n { font-size: 13px; color: #6b7280; margin-bottom: 4px !important; }
#cgt-root.cgt .cgt-h { font-weight: 700; font-size: 17px; margin-bottom: 4px !important; padding-right: 28px !important; }
#cgt-root.cgt .cgt-b { color: #374151; }
#cgt-root.cgt .cgt-x { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: #6b7280; font-size: 22px; line-height: 1; cursor: pointer; padding: 0; box-shadow: none; }
#cgt-root.cgt .cgt-x:hover, #cgt-root.cgt .cgt-x:focus-visible { background: #f3f4f6; color: #111827; }
#cgt-root.cgt .cgt-act { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
#cgt-root.cgt .cgt-sp { flex: 1; }
#cgt-root.cgt .cgt-act button { min-height: 40px; padding: 0 16px; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; box-shadow: none; text-transform: none; letter-spacing: normal; }
#cgt-root.cgt .cgt-act button[hidden] { display: none; }
#cgt-root.cgt .cgt-skip { border: 0; background: transparent; color: #6b7280; padding: 0 6px !important; }
#cgt-root.cgt .cgt-skip:hover { color: #111827; text-decoration: underline; }
#cgt-root.cgt .cgt-back { border: 1px solid #d1d5db; background: #fff; color: #111827; }
#cgt-root.cgt .cgt-back:hover { background: #f9fafb; }
#cgt-root.cgt .cgt-next { border: 1px solid var(--cgt-accent); background: var(--cgt-accent); color: #fff; }
#cgt-root.cgt .cgt-next:hover { background: var(--cgt-accent-d); border-color: var(--cgt-accent-d); }
#cgt-root.cgt .cgt-act button:focus-visible, #cgt-tips-btn.cgt-btn:focus-visible { outline: 3px solid rgba(2, 147, 60, .35); outline-offset: 2px; }

/* the "Quick tips" button: inside the page header when there is a place for it, otherwise a small button in the corner */
#cgt-tips-btn.cgt-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 1px solid rgba(128, 128, 128, .45); border-radius: 999px; background: transparent; color: inherit; font-size: 14px; font-weight: 600; line-height: 1; cursor: pointer; box-shadow: none; white-space: nowrap; }
#cgt-tips-btn.cgt-btn::before { content: "?"; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: var(--cgt-accent); color: #fff; font-size: 12px; font-weight: 700; }
#cgt-tips-btn.cgt-btn:hover { background: rgba(128, 128, 128, .12); }
#cgt-tips-btn.cgt-btn[hidden] { display: none !important; }
#cgt-tips-btn.cgt-btn.cgt-float { background: #fff; color: #111827; border-color: #d1d5db; position: fixed; left: 16px; bottom: 16px; z-index: 2147482000; box-shadow: 0 4px 14px rgba(0, 0, 0, .15); }
@media print { .cgt, .cgt-btn { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .cgt-ring { transition: none; } }
/* in a crowded top bar on phones only the "?" shows (the button keeps its name for screen readers) */
@media (max-width: 600px) {
  #cgt-tips-btn.cgt-btn:not(.cgt-float) { padding: 0 9px; }
  #cgt-tips-btn.cgt-btn:not(.cgt-float) .cgt-btn-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
#cgt-tips-btn.cgt-btn:not(.cgt-float) { flex-shrink: 0; }
header.chf-fs-top > #cgt-tips-btn.cgt-btn { margin-left: 12px; }
