/* ============================================================
   ChatBase — 🏢 HQ Command Center (admincorp.js + admindir.js)
   ============================================================ */
:root {
    --hq-ok: #34e8b0; --hq-warn: #ffb443; --hq-bad: #ff5a7a; --hq-info: #8ab4ff;
    --hq-line: var(--neo-line, rgba(255,255,255,.08));
    --hq-dim: var(--neo-dim, rgba(235,235,245,.6));
}

/* Command bar */
.hq-bar {
    position: relative; z-index: 25;   /* above the sticky page tabs (z 20) so search results show on top */
    display: grid; grid-template-columns: auto minmax(200px, 1fr) auto; gap: 14px; align-items: center;
    padding: 12px 16px;
    border-radius: 20px;
    border: 1px solid var(--hq-line);
    background: linear-gradient(120deg, rgba(20,24,40,.92), rgba(14,14,22,.92));
    -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
    box-shadow: 0 10px 40px rgba(0,0,0,.25);
}
.hq-brand { display: flex; align-items: center; gap: 10px; }
.hq-logo { font-size: 26px; }
.hq-brand b { display: block; font-size: 15px; letter-spacing: -0.01em; }
.hq-brand small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--hq-dim); }
.hq-env { padding: 3px 9px; border-radius: 6px; background: rgba(52,232,176,.12); color: var(--hq-ok); font-size: 10.5px; font-weight: 800; letter-spacing: .1em; }
.hq-search { position: relative; }
.hq-search input {
    width: 100%; box-sizing: border-box;
    padding: 10px 14px; border-radius: 12px;
    border: 1px solid var(--neo-line-hi, rgba(255,255,255,.16));
    background: rgba(255,255,255,.05); color: #fff; font: inherit; font-size: 13.5px; outline: none;
}
.hq-search input:focus { border-color: var(--neo-accent, #8ab4ff); background: rgba(255,255,255,.08); }
.hq-results {
    position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30;
    max-height: 360px; overflow-y: auto;
    padding: 6px; border-radius: 14px;
    border: 1px solid var(--neo-line-hi, rgba(255,255,255,.16));
    background: rgba(16,16,24,.98); box-shadow: 0 20px 50px rgba(0,0,0,.5);
}
.hq-results[hidden] { display: none; }
.hq-results h4 { margin: 8px 8px 4px; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--hq-dim); }
.hq-results button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 10px; border: 0; border-radius: 9px; background: transparent; color: #fff; font: inherit; font-size: 13.5px; text-align: left; cursor: pointer; }
.hq-results button:hover { background: rgba(255,255,255,.07); }
.hq-results small { margin-left: auto; color: var(--hq-dim); }
.hq-dot { width: 8px; height: 8px; border-radius: 50%; background: #64748b; flex: 0 0 auto; }
.hq-dot.on { background: var(--hq-ok); }
.hq-tag { font-style: normal; font-size: 10px; font-weight: 800; padding: 1px 6px; border-radius: 999px; text-transform: uppercase; }
.hq-tag.red { background: rgba(255,90,122,.18); color: #ff8aa0; }
.hq-muted { margin: 8px; font-size: 13px; color: var(--hq-dim); }
.hq-meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--hq-dim); white-space: nowrap; }
.hq-conn { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.hq-conn i { width: 8px; height: 8px; border-radius: 50%; background: var(--hq-ok); box-shadow: 0 0 0 3px rgba(52,232,176,.2); }
.hq-conn.ok { color: var(--hq-ok); }
.hq-conn.bad { color: var(--hq-bad); }
.hq-conn.bad i { background: var(--hq-bad); box-shadow: 0 0 0 3px rgba(255,90,122,.2); }
.hq-clock { font-variant-numeric: tabular-nums; font-weight: 700; color: #fff; }
.hq-btn {
    padding: 8px 12px; border-radius: 10px;
    border: 1px solid var(--neo-line-hi, rgba(255,255,255,.16));
    background: rgba(255,255,255,.06); color: #fff;
    font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer;
}
.hq-btn:hover { background: rgba(255,255,255,.12); }

/* Executive scorecards */
.hq-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.hq-card {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; gap: 4px;
    padding: 14px 14px 0;
    border-radius: 16px;
    border: 1px solid var(--hq-line);
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
}
.hq-card.warn { border-color: rgba(255,180,67,.45); }
.hq-card-top { font-size: 12px; font-weight: 650; color: var(--hq-dim); }
.hq-card-v { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.hq-card-d { display: flex; gap: 10px; font-size: 11.5px; padding-bottom: 10px; }
.hq-card-d > span { display: flex; flex-direction: column; }
.hq-card-d small { font-size: 10px; color: var(--neo-faint, rgba(235,235,245,.4)); }
.hq-delta { font-weight: 800; font-variant-numeric: tabular-nums; }
.hq-delta.up { color: var(--hq-ok); }
.hq-delta.down { color: var(--hq-bad); }
.hq-delta.flat { color: var(--hq-dim); }
.hq-spark { display: block; width: calc(100% + 28px); height: 34px; margin: 0 -14px; }
.hq-spark-line { fill: none; stroke: var(--neo-accent, #8ab4ff); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.hq-spark-area { fill: var(--neo-accent, #8ab4ff); opacity: .14; }
.hq-spark-base { stroke: rgba(255,255,255,.1); stroke-dasharray: 2 3; vector-effect: non-scaling-stroke; }

/* Panels */
.hq-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 12px; margin-top: 12px; }
.hq-panel { padding: 14px; border-radius: 16px; border: 1px solid var(--hq-line); background: rgba(255,255,255,.025); min-width: 0; }
.hq-exec > .hq-panel { margin-top: 12px; }
.hq-panel-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.hq-panel-h h3 { margin: 0; font-size: 14px; }

/* Alerts */
.hq-alerts { display: flex; flex-direction: column; gap: 6px; max-height: 420px; overflow-y: auto; }
.hq-alert { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; border-left: 3px solid var(--hq-info); background: rgba(255,255,255,.03); }
.hq-alert.crit { border-left-color: var(--hq-bad); background: rgba(255,90,122,.07); }
.hq-alert.warn { border-left-color: var(--hq-warn); background: rgba(255,180,67,.06); }
.hq-alert.acked { opacity: .5; }
.hq-sev { font-size: 9.5px; font-weight: 900; letter-spacing: .1em; color: var(--hq-info); }
.crit .hq-sev { color: var(--hq-bad); }
.warn .hq-sev { color: var(--hq-warn); }
.hq-alert-t { display: flex; flex-direction: column; min-width: 0; }
.hq-alert-t b { font-size: 13.5px; }
.hq-alert-t small { font-size: 12px; color: var(--hq-dim); overflow-wrap: anywhere; }
.hq-acked { color: var(--hq-ok) !important; }
.hq-alert-a { display: flex; gap: 8px; align-items: center; }
.hq-allclear { padding: 18px; border-radius: 12px; background: rgba(52,232,176,.08); color: var(--hq-ok); font-weight: 700; text-align: center; }

/* Status board */
.hq-overall { padding: 10px 12px; margin-bottom: 8px; border-radius: 12px; font-weight: 800; font-size: 13.5px; }
.hq-overall.ok { background: rgba(52,232,176,.1); color: var(--hq-ok); }
.hq-overall.degraded { background: rgba(255,180,67,.1); color: var(--hq-warn); }
.hq-overall.down { background: rgba(255,90,122,.12); color: var(--hq-bad); }
.hq-svc { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto 92px; gap: 10px; align-items: center; padding: 8px 4px; border-bottom: 1px solid var(--hq-line); }
.hq-svc:last-child { border-bottom: 0; }
.hq-svc-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--hq-ok); }
.hq-svc-dot.degraded { background: var(--hq-warn); }
.hq-svc-dot.down { background: var(--hq-bad); animation: hqBlink 1s steps(1) infinite; }
.hq-svc-dot.ext { background: #64748b; }
@keyframes hqBlink { 50% { opacity: .3; } }
.hq-svc-t { display: flex; flex-direction: column; min-width: 0; }
.hq-svc-t b { font-size: 13px; }
.hq-svc-t small { font-size: 11px; color: var(--hq-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hq-uptime { display: flex; gap: 2px; }
.hq-uptime i { width: 4px; height: 18px; border-radius: 2px; background: var(--hq-ok); opacity: .8; }
.hq-uptime i.degraded { background: var(--hq-warn); }
.hq-uptime i.down { background: var(--hq-bad); }
.hq-svc-st { display: flex; flex-direction: column; align-items: flex-end; font-size: 12px; font-weight: 800; color: var(--hq-ok); }
.hq-svc-st.degraded { color: var(--hq-warn); }
.hq-svc-st.down { color: var(--hq-bad); }
.hq-svc-st.ext { color: var(--hq-dim); }
.hq-svc-st small { font-size: 10.5px; font-weight: 500; color: var(--hq-dim); }

/* Goals */
.hq-goals { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.hq-goal { padding: 12px; border-radius: 12px; background: rgba(255,255,255,.03); }
.hq-goal-h { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 650; margin-bottom: 8px; }
.hq-goal-st { font-style: normal; font-size: 11px; font-weight: 800; }
.hq-goal-st.hit, .hq-goal-st.ok { color: var(--hq-ok); }
.hq-goal-st.risk { color: var(--hq-warn); }
.hq-goal-st.off { color: var(--hq-bad); }
.hq-goal-bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: hidden; margin-bottom: 6px; }
.hq-goal-bar i { display: block; height: 100%; border-radius: 999px; background: var(--hq-ok); }
.hq-goal-bar i.risk { background: var(--hq-warn); }
.hq-goal-bar i.off { background: var(--hq-bad); }
.hq-goal small { font-size: 11.5px; color: var(--hq-dim); }
.hq-goal-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; align-items: end; }
.hq-goal-form label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: var(--hq-dim); }
.hq-goal-form input { padding: 9px 12px; border-radius: 10px; border: 1px solid var(--neo-line-hi, rgba(255,255,255,.16)); background: rgba(255,255,255,.06); color: #fff; font: inherit; }

/* Directory */
.hq-dir-tools { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }
.hq-chip { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--neo-line-hi, rgba(255,255,255,.16)); background: transparent; color: var(--hq-dim); font: inherit; font-size: 12.5px; cursor: pointer; }
.hq-chip.on { background: rgba(255,255,255,.12); color: #fff; border-color: var(--neo-accent, #8ab4ff); }
.hq-bulk { position: sticky; top: 64px; z-index: 5; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 12px; margin-bottom: 10px; border-radius: 14px; background: rgba(138,180,255,.14); border: 1px solid rgba(138,180,255,.4); }
.hq-bulk[hidden] { display: none; }
.hq-bulk b { margin-right: 4px; }
.hq-table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--hq-line); }
.hq-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 13px; }
.hq-table th { position: sticky; top: 0; padding: 10px; text-align: left; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--hq-dim); background: rgba(20,20,30,.98); border-bottom: 1px solid var(--hq-line); cursor: pointer; white-space: nowrap; user-select: none; }
.hq-table th.on { color: #fff; }
.hq-table td { padding: 8px 10px; border-bottom: 1px solid var(--hq-line); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hq-table tbody tr { cursor: pointer; }
.hq-table tbody tr:hover { background: rgba(255,255,255,.04); }
.hq-table .hq-cb { width: 34px; cursor: default; }
.hq-user { display: flex; align-items: center; gap: 8px; }
.hq-user b { max-width: 180px; overflow: hidden; text-overflow: ellipsis; font-weight: 650; }
.hq-on { color: var(--hq-ok); font-weight: 700; }
.hq-empty { text-align: center; padding: 30px !important; color: var(--hq-dim); }
.hq-pager { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 12px; }
.hq-pager .ad-btn[disabled] { opacity: .4; cursor: default; }

/* Report document (white paper) */
.hq-doc { padding: 36px 40px; border-radius: 6px; background: #fff; color: #1a1d24; font-family: Georgia, 'Times New Roman', serif; line-height: 1.5; box-shadow: 0 10px 40px rgba(0,0,0,.35); }
.hq-doc-head { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 3px solid #1a1d24; }
.hq-doc-logo { font-family: -apple-system, system-ui, sans-serif; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #5b6170; }
.hq-doc h1 { margin: 4px 0; font-size: 30px; letter-spacing: -0.02em; }
.hq-doc h2 { margin: 26px 0 10px; font-size: 18px; border-bottom: 1px solid #d8dbe2; padding-bottom: 4px; }
.hq-doc h2 small { font-weight: 400; color: #6b7280; font-size: 13px; }
.hq-doc p { margin: 4px 0; }
.hq-doc-meta { font-family: -apple-system, system-ui, sans-serif; font-size: 12px; color: #5b6170; text-align: right; }
.hq-doc-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; font-family: -apple-system, system-ui, sans-serif; }
.hq-doc-kpis div { padding: 12px; border: 1px solid #d8dbe2; border-radius: 8px; }
.hq-doc-kpis b { display: block; font-size: 24px; }
.hq-doc-kpis span { font-size: 12px; color: #5b6170; }
.hq-doc-table { width: 100%; border-collapse: collapse; font-family: -apple-system, system-ui, sans-serif; font-size: 13px; }
.hq-doc-table th, .hq-doc-table td { padding: 7px 8px; border-bottom: 1px solid #e5e7eb; text-align: left; }
.hq-doc-table th { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: #5b6170; border-bottom: 2px solid #1a1d24; }
.hq-doc-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.hq-doc-table .muted { color: #6b7280; font-size: 12px; }
.hq-doc .hq-delta.up { color: #059669; }
.hq-doc .hq-delta.down { color: #dc2626; }
.hq-doc .hq-delta.flat { color: #6b7280; }
.hq-doc-list { margin: 6px 0; padding-left: 22px; }
.hq-doc-list li { margin: 3px 0; }
.hq-doc-foot { margin-top: 26px !important; font-size: 11.5px; color: #6b7280; font-style: italic; }

/* Content */
.hq-con-row { display: flex; align-items: center; gap: 10px; padding: 7px 4px; border-bottom: 1px solid var(--hq-line); font-size: 13px; }
.hq-con-row:last-child { border-bottom: 0; }
.hq-con-row > b { min-width: 40px; font-variant-numeric: tabular-nums; }
.hq-con-row.sus { background: rgba(255,180,67,.08); border-radius: 8px; }
.hq-votes { color: var(--hq-warn); }
.hq-con-t { flex: 1; min-width: 0; display: flex; flex-direction: column; overflow-wrap: anywhere; }
.hq-con-t small { font-size: 11.5px; color: var(--hq-dim); }
.hq-pixels { display: block; width: 100%; max-width: 256px; aspect-ratio: 1; image-rendering: pixelated; border-radius: 8px; background: #0d0f17; }

/* Team */
.hq-owners { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin-bottom: 12px; }
.hq-owner { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; border: 1px solid var(--hq-line); background: rgba(255,255,255,.03); }
.hq-owner.duty { border-color: rgba(52,232,176,.5); box-shadow: 0 0 0 1px rgba(52,232,176,.2) inset; }
.hq-owner > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hq-owner b { font-size: 15px; }
.hq-owner span { font-size: 12.5px; color: var(--hq-dim); }
.hq-owner small { font-size: 11.5px; color: var(--neo-faint, rgba(235,235,245,.45)); }
.hq-duty { color: var(--hq-ok) !important; font-weight: 700; }
.hq-note-form { display: flex; gap: 8px; margin-bottom: 10px; }
.hq-notes { display: flex; flex-direction: column; gap: 4px; max-height: 300px; overflow-y: auto; }
.hq-note { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; background: rgba(255,214,102,.06); border-left: 3px solid #ffd666; }
.hq-note.done { opacity: .5; }
.hq-note.done b { text-decoration: line-through; }
.hq-note > span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hq-note b { font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.hq-note small { font-size: 11px; color: var(--hq-dim); }
.hq-note-check { width: 22px; height: 22px; flex: 0 0 auto; border-radius: 6px; border: 1.5px solid var(--neo-line-hi, rgba(255,255,255,.3)); background: transparent; color: var(--hq-ok); font-weight: 900; cursor: pointer; }

/* 📺 TV mode */
.hq-tv { position: fixed; inset: 0; z-index: 99999; overflow: auto; padding: 24px 28px; background: radial-gradient(circle at 10% 0%, #13213f, #05060b 60%); color: #fff; font-size: 16px; }
.hq-tv[hidden] { display: none; }
.hq-tv-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.hq-tv-top > div:first-child { display: flex; align-items: center; gap: 12px; font-size: 22px; }
.hq-tv-clock { font-size: 40px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.hq-tv-kpis { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-bottom: 16px; }
.hq-tv-kpi { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 20px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); }
.hq-tv-kpi.warn { border-color: rgba(255,180,67,.6); background: rgba(255,180,67,.08); }
.hq-tv-kpi span { font-size: 15px; color: rgba(235,235,245,.7); }
.hq-tv-kpi b { font-size: clamp(36px, 4.5vw, 64px); font-weight: 900; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; line-height: 1.05; }
.hq-tv-kpi small { font-size: 14px; color: rgba(235,235,245,.6); }
.hq-tv-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hq-tv-panel { padding: 18px; border-radius: 20px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.035); min-width: 0; }
.hq-tv-panel.wide { grid-column: span 2; }
.hq-tv-panel:first-child { grid-column: span 2; }
.hq-tv-panel h3 { margin: 0 0 12px; font-size: 16px; color: rgba(235,235,245,.75); }
.hq-spark.tv { width: 100%; height: 140px; margin: 0; }
.hq-tv-alert { padding: 10px 12px; margin-bottom: 6px; border-radius: 10px; border-left: 4px solid var(--hq-info); background: rgba(255,255,255,.04); font-weight: 650; }
.hq-tv-alert.crit { border-left-color: var(--hq-bad); background: rgba(255,90,122,.1); }
.hq-tv-alert.warn { border-left-color: var(--hq-warn); }
.hq-tv-alert.acked { opacity: .45; }
.hq-tv-online { display: flex; flex-wrap: wrap; gap: 6px; }
.hq-tv-online span { padding: 5px 10px; border-radius: 999px; background: rgba(52,232,176,.12); color: #c8fbe9; font-size: 14px; }
.hq-tv-row { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.hq-tv-row b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hq-tv-row small { color: rgba(235,235,245,.55); white-space: nowrap; }

@media (max-width: 1100px) {
    .hq-tv-kpis { grid-template-columns: repeat(3, 1fr); }
    .hq-tv-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .hq-bar { grid-template-columns: 1fr; }
    .hq-meta { flex-wrap: wrap; }
    .hq-split { grid-template-columns: 1fr; }
    .hq-doc { padding: 20px; }
    .hq-doc-head { flex-direction: column; }
    .hq-doc-meta { text-align: left; }
    .hq-doc-kpis { grid-template-columns: repeat(2, 1fr); }
    .hq-tv-kpis, .hq-tv-grid { grid-template-columns: 1fr; }
    .hq-tv-panel.wide, .hq-tv-panel:first-child { grid-column: auto; }
    .hq-alert { grid-template-columns: 1fr; }
    .hq-svc { grid-template-columns: 12px minmax(0, 1fr) 84px; }
    .hq-uptime { display: none; }
}

/* Printing the executive report: hide everything except the document */
@media print {
    body.hq-printing * { visibility: hidden !important; }
    body.hq-printing #hqReportDoc, body.hq-printing #hqReportDoc * { visibility: visible !important; }
    body.hq-printing #hqReportDoc { position: absolute; left: 0; top: 0; width: 100%; box-shadow: none; padding: 0; }
    body.hq-printing { background: #fff !important; }
}

#hqTeamTop { margin-top: 16px; }

/* 🔍 Search-everything results */
.hq-results { max-height: min(70vh, 560px); }
.hq-results mark { background: rgba(250,204,21,.32); color: #fff; border-radius: 3px; padding: 0 1px; }
.hq-results button { flex-wrap: wrap; }
.hq-results .hq-snip { flex: 1 1 100%; order: 3; margin-left: 16px; font-style: normal; font-size: 12px; color: var(--hq-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hq-results h4 span { text-transform: none; letter-spacing: 0; opacity: .7; }
.hq-results .hq-sum { padding: 6px 10px 2px; font-size: 12px; color: var(--hq-dim); }
.hq-results .hq-sum b { color: #fff; }
.hq-flash { outline: 2px solid #facc15 !important; outline-offset: 3px; border-radius: 8px; animation: hqFlash 2.4s ease; }
@keyframes hqFlash { 0%, 40% { background-color: rgba(250,204,21,.22); } 100% { background-color: transparent; } }

/* Account email column (owners + full admins only) */
.hq-email { font-size: 12px; opacity: .8; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
