/* ──────────────────────────────────────────────────────────────────────────
   V.A. Hoffman — ServiceBox Operations Portal
   Brand: VAH Purple + Steel Grey + Libre Baskerville / Inter typography
   Breakpoints:
     Desktop  > 1024px
     Tablet   768 – 1024px  → hamburger drawer
     Phone   ≤ 767px       → mobile-warning, stacked layouts, write-action hides
   ────────────────────────────────────────────────────────────────────────── */

/* ── CSS variables / theme ── */
:root {
  --color-primary:       #3d1580;   /* VAH purple */
  --color-accent:        #7c3aed;   /* mid-purple accent */
  --color-primary-light: #6b35b8;
  --color-primary-deep:  #260d55;
  --error:               #dc2626;

  --bg:                 #F8F8FB;
  --bg-elev:            #FFFFFF;
  --bg-tile:            #FFFFFF;
  --bg-tile-hover:      #F4F2FA;

  --text:        #1a1828;
  --text-muted:  #6b7080;
  --border:      #dddbe8;

  --blue-pale:   #ede9fe;
  --blue-deep:   #3d1580;
  --accent-pale: #f5f3ff;

  --radius:      4px;
  --shadow:      0 1px 3px rgba(61, 21, 128, 0.08);

  --serif: 'Libre Baskerville', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --btn-contrast: #fff;
  --color-primary-text: #3d1580;  /* heading/accent text — lightens in dark mode */
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e0d17; --bg-elev: #151322; --bg-tile: #1c1933; --bg-tile-hover: #232042;
    --text: #ede9fe; --text-muted: #9490b0; --border: #312c52;
    --blue-pale: #2d1b69;
    --color-primary-text: #c4b5fd;
  }
}
:root[data-theme="dark"] {
  --bg: #0e0d17; --bg-elev: #151322; --bg-tile: #1c1933; --bg-tile-hover: #232042;
  --text: #ede9fe; --text-muted: #9490b0; --border: #312c52;
  --blue-pale: #2d1b69;
  --color-primary-text: #c4b5fd;
}
:root[data-theme="light"] {
  --bg: #F8F8FB; --bg-elev: #FFFFFF; --bg-tile: #FFFFFF; --bg-tile-hover: #F4F2FA;
}

* { box-sizing: border-box; }
body {
  margin: 0; font-family: var(--sans); font-size: 14px;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ── Layout shell ── */
.main { max-width: 1200px; margin: 0 auto; padding: 32px 28px; min-height: calc(100vh - 140px); }
.footer { padding: 16px 28px; text-align: center; font-size: 12px; color: var(--text-muted); border-top: 1px solid var(--border); }

.page-header { margin-bottom: 24px; }
.page-header h1 { font-family: var(--serif); font-size: 32px; color: var(--color-primary-text); font-weight: 400; line-height: 1.15; margin: 0 0 4px; }
.page-header p  { color: var(--text-muted); font-size: 14px; margin: 0; }

/* ── Nav (desktop = inline; ≤1024px collapses to hamburger drawer) ── */
.nav { background: var(--color-primary); display: flex; align-items: center; justify-content: space-between; padding: 0 28px; height: 56px; }
.nav-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: #fff; }
.nav-logo { height: 34px; width: auto; display: block; }
.nav-sep { opacity: .35; margin: 0 2px; }
.nav-product { font-size: 13px; font-weight: 300; opacity: .75; letter-spacing: .03em; }
.nav-right {
  position: fixed; top: 0; right: -320px; bottom: 0;
  width: 288px; max-width: 80vw;
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-deep) 100%);
  flex-direction: column; align-items: stretch; justify-content: flex-start;
  padding: 64px 18px 24px; gap: 4px;
  transition: right .25s ease;
  z-index: 999; overflow-y: auto;
  box-shadow: -4px 0 24px rgba(0,0,0,.25);
  display: flex;
}
.nav-right.open { right: 0; }
.nav-user { font-size: 13px; opacity: .65; padding-right: 12px; border-right: 1px solid rgba(255,255,255,.2); margin-right: 8px; color: #fff; }
.nav-link { color: rgba(255,255,255,.75); text-decoration: none; font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: var(--radius); transition: background .15s, color .15s; }
.nav-link:hover, .nav-link.active { background: rgba(255,255,255,.12); color: #fff; }
.nav-logout { color: rgba(255,255,255,.5); margin-left: 8px; }

/* ── Hamburger / drawer — always active ── */
.nav-hamburger { display: block; background: none; border: none; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; padding: 6px 10px; border-radius: var(--radius); }
.nav-hamburger:hover { background: rgba(255,255,255,.12); }
.nav-drawer-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 998; opacity: 0; transition: opacity .25s; }
.nav-drawer-backdrop.open { display: block; opacity: 1; }
.nav-new-btn { font-size: 13px !important; padding: 6px 14px !important; white-space: nowrap; }
.nav-bar-right { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-shrink: 0; }
.nav-desktop-links { display: flex; align-items: center; gap: 2px; }

.theme-toggle { background: transparent; border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.75); cursor: pointer; padding: 6px 10px; border-radius: var(--radius); font-size: 12px; font-family: inherit; margin-left: 8px; }
.theme-toggle:hover { background: rgba(255,255,255,.1); color: #fff; }

/* ── Nav global search ── */
.nav-search-wrap {
  position: relative;
  flex: 1;
  max-width: 480px;
  min-width: 140px;
  margin-left: 16px;
}
.nav-search-icon {
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,.5); font-size: 16px; pointer-events: none; line-height: 1;
}
.nav-search-input {
  width: 100%; padding: 7px 12px 7px 30px;
  border: 1px solid rgba(255,255,255,.22); border-radius: 20px;
  background: rgba(255,255,255,.1); color: #fff;
  font-family: inherit; font-size: 13px; outline: none;
  transition: background .2s, border-color .2s, width .2s;
}
.nav-search-input::placeholder { color: rgba(255,255,255,.45); }
.nav-search-input:focus { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.4); }
.nav-search-input::-webkit-search-cancel-button { filter: invert(1) opacity(.5); }
.nav-search-dropdown {
  position: absolute; top: calc(100% + 8px);
  left: 50%; transform: translateX(-50%);
  width: 420px; max-width: 92vw;
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,.18); z-index: 600;
  max-height: 520px; overflow-y: auto;
}
.search-results-body { padding: 6px 0; }
.search-group { }
.search-group-label {
  padding: 8px 14px 4px; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted);
  border-top: 1px solid var(--border);
}
.search-group:first-child .search-group-label { border-top: none; }
.search-result-item {
  display: block; padding: 8px 14px;
  text-decoration: none; color: var(--text);
  transition: background .1s;
}
.search-result-item:hover, .search-result-item.kbd-focus { background: var(--bg-tile-hover); }
.search-result-title { font-size: 13px; font-weight: 500; color: var(--text); line-height: 1.35; }
.search-result-meta {
  font-size: 12px; color: var(--text-muted);
  display: flex; gap: 0; flex-wrap: wrap; margin-top: 2px;
}
.search-result-meta span + span::before { content: " · "; white-space: pre; opacity: .6; }
.search-result-snippet { font-style: italic; }
.search-no-results { padding: 20px 14px; font-size: 13px; color: var(--text-muted); text-align: center; }
mark { background: #fef08a; color: inherit; border-radius: 2px; padding: 0 1px; }

/* ── Nav dropdown (Create New) ── */
.nav-dropdown-wrap { position: relative; }
.nav-dropdown-trigger { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.25); font-weight: 600; cursor: pointer; }
.nav-dropdown-trigger:hover { background: rgba(255,255,255,.25); }
.nav-dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  padding-top: 6px;
  background: transparent; min-width: 160px; z-index: 500;
}
.nav-dropdown-menu-inner {
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,.12); overflow: hidden;
}
.nav-dropdown-wrap:hover .nav-dropdown-menu,
.nav-dropdown-wrap:focus-within .nav-dropdown-menu { display: block; }
.nav-dropdown-item { display: block; padding: 10px 16px; color: var(--text); text-decoration: none; font-size: 13px; font-weight: 500; transition: background .1s; }
.nav-dropdown-item:hover { background: var(--bg-tile-hover); color: var(--color-primary-text); }

/* ── Cards ── */
.card { background: var(--bg-tile); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 32px; margin-bottom: 20px; }
.card-title { font-family: var(--serif); font-size: 20px; color: var(--color-primary-text); margin: 0 0 4px; font-weight: 400; }
.card-subtitle { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 18px; border-radius: var(--radius); font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; border: 1px solid transparent; font-family: inherit; transition: background .15s, color .15s, border-color .15s; }
.btn-primary   { background: var(--color-primary); color: var(--btn-contrast); }
.btn-primary:hover { background: var(--color-primary-deep); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border); }
.btn-secondary:hover { background: var(--bg-tile-hover); }
.btn-danger    { background: var(--error); color: #fff; border-color: var(--error); }
.btn-danger:hover { background: #b91c1c; }
.btn-gold      { background: var(--color-accent); color: #fff; }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ── Stats / metrics ── */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 28px; }
.stat-box { background: var(--bg-tile); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; text-align: center; }
.stat-number { font-family: var(--serif); font-size: 36px; color: var(--color-primary-text); line-height: 1; }
.stat-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; margin-top: 8px; }

/* ── Badges + chips ── */
.badge { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.badge-draft     { background: #f3f4f6; color: #4b5563; }
.badge-assigned  { background: #fef3c7; color: #92400e; }
.badge-submitted { background: #ede9fe; color: #5b21b6; }
.badge-returned  { background: #fee2e2; color: #991b1b; }
.badge-approved  { background: #dcfce7; color: #166534; }
.badge-info      { background: #e0f2fe; color: #0369a1; }
.badge-urgent    { background: #fef2f2; color: #dc2626; border: 1px solid #fca5a5; }
.tag-chip { display: inline-block; padding: 3px 10px; background: var(--blue-pale); color: var(--color-primary-text); border-radius: 12px; font-size: 12px; font-weight: 600; }

/* ── Dark-mode badge + flash overrides ── */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    .badge-draft     { background: #1f2937; color: #d1d5db; }
    .badge-assigned  { background: #3b2000; color: #fcd34d; }
    .badge-submitted { background: #2d1b69; color: #c4b5fd; }
    .badge-returned  { background: #450a0a; color: #fca5a5; }
    .badge-approved  { background: #052e16; color: #86efac; }
    .badge-info      { background: #0c2340; color: #7dd3fc; }
    .badge-urgent    { background: #450a0a; color: #f87171; border-color: #7f1d1d; }
    .flash-success { background: #052e16; border-color: #166534; color: #86efac; }
    .flash-warning { background: #3b2000; border-color: #92400e; color: #fcd34d; }
    .flash-error   { background: #450a0a; border-color: #991b1b; color: #fca5a5; }
  }
}
:root[data-theme="dark"] {
  .badge-draft     { background: #1f2937; color: #d1d5db; }
  .badge-assigned  { background: #3b2000; color: #fcd34d; }
  .badge-submitted { background: #2d1b69; color: #c4b5fd; }
  .badge-returned  { background: #450a0a; color: #fca5a5; }
  .badge-approved  { background: #052e16; color: #86efac; }
  .badge-info      { background: #0c2340; color: #7dd3fc; }
  .badge-urgent    { background: #450a0a; color: #f87171; border-color: #7f1d1d; }
  .flash-success { background: #052e16; border-color: #166534; color: #86efac; }
  .flash-warning { background: #3b2000; border-color: #92400e; color: #fcd34d; }
  .flash-error   { background: #450a0a; border-color: #991b1b; color: #fca5a5; }
}

/* ── Forms ── */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius);
  font-family: var(--sans); font-size: 14px; color: var(--text); background: var(--bg-elev);
  transition: border-color .15s;
}
.form-group textarea { min-height: 100px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--color-primary); }
.form-group input[readonly], .form-group textarea[readonly] { background: var(--bg); color: var(--text-muted); }
.form-hint { font-size: 12px; color: var(--text-muted); margin: 4px 0 0; }
.form-row, .form-row-3, .form-row-4 { display: grid; gap: 16px; margin-bottom: 16px; }
.form-row   { grid-template-columns: 1fr 1fr; }
.form-row-3 { grid-template-columns: repeat(3, 1fr); }
.form-row-4 { grid-template-columns: repeat(4, 1fr); }

/* ── Tables ── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
table thead th { text-align: left; font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; padding: 12px 16px; background: var(--bg); border-bottom: 1px solid var(--border); }
table tbody td { padding: 12px 16px; border-bottom: 1px solid var(--border); }
table tbody tr:hover { background: var(--bg-tile-hover); }

/* ── Flashes ── */
.flash-container { margin-bottom: 16px; display: flex; flex-direction: column; gap: 8px; }
.flash { padding: 10px 16px; border-radius: var(--radius); font-size: 13px; font-weight: 500; }
.flash-success { background: #f0fdf4; border: 1px solid #86efac; color: #166534; }
.flash-warning { background: #fffbeb; border: 1px solid #fcd34d; color: #92400e; }
.flash-error   { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }

/* ── Login layout ── */
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; background: var(--bg); }
.login-card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 12px; padding: 40px 36px; max-width: 380px; width: 100%; text-align: center; box-shadow: 0 4px 30px rgba(0,0,0,.06); }
.login-card h1 { font-family: var(--serif); font-size: 26px; color: var(--color-primary-text); font-weight: 400; margin-bottom: 4px; }
.login-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 32px; }

/* ── Reusable grid utilities (collapse on ≤1024px) ── */
.split-2-col  { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.review-2-col { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.review-action-panel { position: sticky; top: 72px; }

/* ── Mobile patterns: write-action hide + readonly notice ── */
.mobile-readonly-notice { display: none; }

.mobile-only { display: none; }

/* ── Mobile plan-card list (pair with .desktop-only on the table) ── */
.plan-cards-list { display: none; }
.plan-card { display: block; text-decoration: none; color: var(--text); background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); transition: border-color .15s, box-shadow .15s; }
.plan-card:active { border-color: var(--color-primary); }
.plan-card-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan-card-customer { font-weight: 700; font-size: 15px; line-height: 1.25; color: var(--text); }
.plan-card-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12.5px; color: var(--text-muted); margin-top: 4px; }
.plan-card-meta span:not(:first-child)::before { content: "·"; margin-right: 8px; opacity: .5; }
.plan-card-divider { height: 1px; background: var(--border); margin: 10px 0; }

/* ──────────────────────────────────────────────────────────────────────────
   Responsive
   ────────────────────────────────────────────────────────────────────────── */

/* Drawer inner styles — always applied since drawer is always active */
.nav-app .nav-user {
  border-right: none; border-bottom: 1px solid rgba(255,255,255,.2);
  padding: 0 0 12px; margin: 0 0 12px; font-size: 14px; opacity: .95; color: #fff;
}
.nav-app .nav-link { padding: 12px 14px; font-size: 14px; border-radius: var(--radius); color: rgba(255,255,255,.85); }
.nav-app .nav-logout { margin-left: 0; margin-top: 12px; border-top: 1px solid rgba(255,255,255,.2); padding-top: 18px; }
.nav-app .theme-toggle { align-self: flex-start; margin-top: 8px; }

@media (max-width: 1024px) {
  /* Hide desktop shortcut links — drawer handles navigation */
  .nav-desktop-links { display: none; }

  /* Stack two-column layouts on tablet */
  .split-2-col  { grid-template-columns: 1fr; }
  .review-2-col { grid-template-columns: 1fr; }
  .review-action-panel { position: static; }
}

@media (max-width: 900px) {
  .form-row, .form-row-3, .form-row-4 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .main { padding: 24px 16px; }
  .nav { padding: 0 12px; }
  /* Search stays visible — shrinks to fit beside hamburger */
  .nav-search-wrap { flex: 1; min-width: 0; }
  .nav-search-input { font-size: 12px; padding: 6px 10px 6px 28px; }
}

@media (max-width: 767px) {
  /* Phone: swap dashboard tables for stacked cards */
  .desktop-only { display: none !important; }
  .mobile-only  { display: block !important; }
  .plan-cards-list { display: flex; flex-direction: column; gap: 10px; }

  /* Phone: hide write-action elements, show readonly notice */
  .write-action { display: none !important; }
  .mobile-readonly-notice {
    display: block;
    background: #fffbeb; border: 1px solid #fcd34d; border-left: 4px solid #f59e0b;
    border-radius: var(--radius); padding: 12px 16px; margin-bottom: 18px;
    font-size: 13px; color: #78350f; line-height: 1.5;
  }
  .mobile-readonly-notice strong { color: #78350f; }
}

/* Print: blank for users we don't want exporting form contents.
   Wrap the body or main content in a parent with class `print-blocked` on a
   per-user basis (e.g. via {% if current_user.role == 'rep' %}) to enable. */
@media print {
  .print-blocked { display: none !important; }
}

/* ── Call tray (lower-right persistent widget) ── */
@media (max-width: 1024px) { .call-tray { display: none !important; } }

.call-tray {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 320px;
  width: 100%;
  pointer-events: none;
}
.call-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,.15);
  pointer-events: all;
  animation: call-slide-in 0.2s ease;
}
@keyframes call-slide-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.call-card--ringing { border-left: 3px solid #f59e0b; }
.call-card--active  { border-left: 3px solid #22c55e; }

.call-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-muted);
}
.call-card-indicator {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #f59e0b;
  flex-shrink: 0;
}
.call-card--active .call-card-indicator {
  background: #22c55e;
  animation: pulse-green 1.4s infinite;
}
.call-card--ringing .call-card-indicator {
  animation: pulse-amber 0.8s infinite;
}
@keyframes pulse-green {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}
@keyframes pulse-amber {
  0%, 100% { opacity: 1; }
  50%       { opacity: .3; }
}
.call-card-ext { margin-left: auto; }

.call-card-cid {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 14px;
}
.call-card-number { font-size: 12px; color: var(--text-muted); }

.call-card-actions {
  display: flex;
  gap: 6px;
}

/* ── Color tokens used in settings test result ── */
:root {
  --color-success: #16a34a;
  --color-warning: #d97706;
  --color-danger:  #dc2626;
}

/* ── Time Tracking Tray ── */
@media (max-width: 1024px) { .tt-tray { display: none !important; } }

.tt-tray {
  position: fixed;
  bottom: 0;
  left: 24px;
  z-index: 490;
  width: 340px;
}

.tt-tab-btn {
  width: 100%;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 10px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  font-family: inherit;
  transition: background .15s, color .15s, border-color .15s;
  box-shadow: 0 -2px 8px rgba(0,0,0,.07);
}
.tt-tab-btn:hover { background: var(--bg-tile-hover); color: var(--text); }
.tt-tray.tt-running .tt-tab-btn {
  background: #15803d;
  color: #fff;
  border-color: #166534;
}

.tt-drawer {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 20px;
  box-shadow: 0 -4px 24px rgba(0,0,0,.14);
}
.tt-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.tt-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1;
  padding: 2px 6px;
  border-radius: var(--radius);
  font-family: inherit;
}
.tt-close-btn:hover { background: var(--bg-tile-hover); color: var(--text); }

.tt-pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  animation: pulse-green 1.4s infinite;
}
