/* Guided tours (public/js/core/tour.js). Prefixed aptt-, sits above modals, drawers and toasts. */
:root { --aptt-navy: #0F2739; --aptt-orange: #F05A28; --aptt-ink: #15202B; --aptt-muted: #5F6B78; --aptt-line: #E3E8EE; --aptt-tint: #F4F6F9; }
.aptt-block { position: fixed; z-index: 2147482990; background: rgba(15, 39, 57, .52); }
.aptt-block.aptt-clear { background: transparent; }
.aptt-ring { position: fixed; z-index: 2147482995; pointer-events: none; border-radius: 10px;
  box-shadow: 0 0 0 3px var(--aptt-orange), 0 0 0 7px rgba(240, 90, 40, .28); animation: aptt-pulse 1.6s ease-in-out infinite; }
@keyframes aptt-pulse { 0%, 100% { box-shadow: 0 0 0 3px var(--aptt-orange), 0 0 0 7px rgba(240, 90, 40, .28); } 50% { box-shadow: 0 0 0 3px var(--aptt-orange), 0 0 0 13px rgba(240, 90, 40, .08); } }
@media (prefers-reduced-motion: reduce) { .aptt-ring { animation: none; } }

.aptt-bubble { position: fixed; z-index: 2147483000; width: 360px; max-width: calc(100vw - 24px); box-sizing: border-box;
  background: #fff; color: var(--aptt-ink); border-radius: 14px; border-top: 4px solid var(--aptt-orange);
  box-shadow: 0 18px 48px rgba(15, 39, 57, .32); padding: 14px 16px 12px; font: 14px/1.5 "DM Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.aptt-bubble *, .aptt-bubble *::before, .aptt-bubble *::after { box-sizing: border-box; }
.aptt-bubble:focus { outline: none; }
.aptt-bubble.aptt-sheet { left: 8px !important; right: 8px; bottom: 72px; top: auto !important; width: auto; max-width: none; }
.aptt-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.aptt-count { font-size: 12px; font-weight: 600; color: #4A7099; letter-spacing: .2px; }
.aptt-x { border: 0; background: transparent; color: var(--aptt-muted); width: 30px; height: 30px; border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.aptt-x:hover, .aptt-x:focus-visible { background: var(--aptt-tint); color: var(--aptt-ink); outline: none; }
.aptt-x svg { width: 16px; height: 16px; }
.aptt-title { margin: 0 0 4px; font: 700 16px/1.3 Outfit, "DM Sans", sans-serif; color: var(--aptt-navy); }
.aptt-text { margin: 0; color: #334155; }
.aptt-do { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; padding: 8px 10px; border-radius: 10px; background: #FFF1EB; color: #9A3412; font-weight: 600; font-size: 13.5px; }
.aptt-do svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--aptt-orange); }
.aptt-acts { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
.aptt-acts-r { display: flex; gap: 8px; margin-left: auto; }
.aptt-btn { border: 1px solid var(--aptt-line); background: #fff; color: var(--aptt-navy); border-radius: 9px; min-height: 36px; padding: 7px 14px; font: 600 13.5px "DM Sans", Arial, sans-serif; cursor: pointer; }
.aptt-btn:hover { background: var(--aptt-tint); }
.aptt-btn:focus-visible { outline: 3px solid rgba(74, 112, 153, .45); outline-offset: 1px; }
.aptt-btn.aptt-primary { background: var(--aptt-navy); border-color: var(--aptt-navy); color: #fff; }
.aptt-btn.aptt-primary:hover { background: #1F456A; }
.aptt-link { border: 0; background: none; color: #4A7099; font: 600 13px "DM Sans", Arial, sans-serif; cursor: pointer; padding: 6px 0; text-decoration: underline; text-underline-offset: 3px; }
.aptt-link:hover { color: var(--aptt-navy); }
.aptt-optout { display: block; margin-top: 2px; font-size: 12.5px; color: var(--aptt-muted); }
.aptt-bar { height: 4px; border-radius: 2px; background: var(--aptt-tint); margin-top: 10px; overflow: hidden; }
.aptt-bar i { display: block; height: 100%; background: var(--aptt-orange); border-radius: 2px; transition: width .25s ease; }
.aptt-head-btn svg { width: 16px; height: 16px; }
@media (max-width: 860px) { .aptt-head-btn span { display: none; } .aptt-head-btn { min-width: 38px; justify-content: center; } }
/* Phones: the bubble is a bottom sheet, so give the page room to scroll targets above it. */
body:has(.aptt-bubble.aptt-sheet) #view, body:has(.aptt-bubble.aptt-sheet) .tp-body { padding-bottom: 58vh; }
