.atvncg-page,
.atvncg-data-page,
.atvncg-participants-page {
    --atv-navy: #14213d;
    --atv-blue: #2563eb;
    --atv-green: #0f9f6e;
    --atv-orange: #d97706;
    --atv-red: #dc2626;
    max-width: 1440px;
    margin: 0 auto;
    padding: 28px;
    color: #172033;
}

.atvncg-hero,
.atvncg-status,
.atvncg-action-card,
.atvncg-browser-card > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.atvncg-hero { margin-bottom: 22px; }
.atvncg-eyebrow { color: var(--atv-blue); font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.atvncg-hero h1 { margin: 6px 0; font-size: clamp(28px, 4vw, 42px); color: var(--atv-navy); letter-spacing: -.04em; }
.atvncg-hero p { margin: 0; color: #667085; }

.atvncg-btn {
    border: 0;
    border-radius: 10px;
    padding: 11px 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.atvncg-btn:hover:not(:disabled) { transform: translateY(-1px); }
.atvncg-btn:disabled { cursor: not-allowed; opacity: .55; }
.atvncg-btn.primary { background: var(--atv-blue); color: #fff; box-shadow: 0 8px 18px rgba(37, 99, 235, .22); }
.atvncg-btn.secondary { background: #fff; color: #344054; border: 1px solid #d0d5dd; }
.atvncg-btn.danger { color: var(--atv-red); }
.atvncg-btn.ghost { background: #fff; border: 1px solid #fecaca; }
.atvncg-btn i { margin-right: 7px; }

.atvncg-status {
    position: relative;
    overflow: hidden;
    padding: 26px;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(125deg, #172554, #1d4ed8);
    box-shadow: 0 20px 50px rgba(23, 37, 84, .18);
}
.atvncg-status::after { content: ""; position: absolute; right: -60px; top: -110px; width: 280px; height: 280px; border: 55px solid rgba(255,255,255,.06); border-radius: 50%; }
.atvncg-status[data-state="ready"] { background: linear-gradient(125deg, #064e3b, #0f9f6e); }
.atvncg-status[data-state="expiring"] { background: linear-gradient(125deg, #7c2d12, #d97706); }
.atvncg-status-mark { z-index: 1; display: grid; place-items: center; width: 58px; height: 58px; flex: 0 0 58px; border-radius: 15px; background: rgba(255,255,255,.16); font-size: 23px; }
.atvncg-status-copy { z-index: 1; flex: 1; }
.atvncg-status-copy span, .atvncg-countdown span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .72; }
.atvncg-status-copy h2 { margin: 4px 0; font-size: 24px; }
.atvncg-status-copy p { margin: 0; opacity: .8; }
.atvncg-countdown { z-index: 1; min-width: 210px; padding-left: 26px; border-left: 1px solid rgba(255,255,255,.2); }
.atvncg-countdown strong { display: block; margin-top: 5px; font: 700 30px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; }

.atvncg-meta-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 18px 0; }
.atvncg-meta-grid article { display: grid; grid-template-columns: 38px 1fr; column-gap: 10px; padding: 17px; border: 1px solid #e4e7ec; border-radius: 13px; background: #fff; }
.atvncg-meta-grid i { grid-row: 1 / 3; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: var(--atv-blue); background: #eff6ff; }
.atvncg-meta-grid span { color: #667085; font-size: 12px; }
.atvncg-meta-grid strong { overflow: hidden; color: #1d2939; font-size: 14px; text-overflow: ellipsis; }

.atvncg-action-card, .atvncg-browser-card { margin-top: 18px; border: 1px solid #e4e7ec; border-radius: 16px; background: #fff; box-shadow: 0 8px 25px rgba(16,24,40,.05); }
.atvncg-action-card { padding: 23px; }
.atvncg-action-card > div:first-child, .atvncg-browser-card > header > div { display: flex; align-items: center; gap: 14px; }
.atvncg-action-card h2, .atvncg-browser-card h2 { margin: 0 0 4px; color: var(--atv-navy); font-size: 19px; }
.atvncg-action-card p, .atvncg-browser-card p { margin: 0; color: #667085; }
.atvncg-step { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--atv-blue); background: #eff6ff; font-weight: 800; }
.atvncg-actions { display: flex; gap: 10px; }

.atvncg-browser-card { overflow: hidden; }
.atvncg-browser-card > header { padding: 18px 20px; border-bottom: 1px solid #e4e7ec; }
.atvncg-browser-actions { display: flex; align-items: center; gap: 10px; }
.atvncg-live-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--atv-green); box-shadow: 0 0 0 6px rgba(15,159,110,.13); }
.atvncg-instruction { display: flex; align-items: center; gap: 10px; padding: 12px 20px; color: #854d0e; background: #fffbeb; border-bottom: 1px solid #fde68a; font-size: 13px; }
.atvncg-viewer { height: min(82vh, 900px); min-height: 640px; background: #111827; }
.atvncg-viewer:fullscreen,
.atvncg-viewer:-webkit-full-screen { width: 100vw; height: 100vh; min-height: 0; background: #111827; }
.atvncg-viewer iframe { width: 100%; height: 100%; border: 0; background: #111827; }
.atvncg-viewer-empty { display: grid; place-items: center; align-content: center; gap: 12px; min-height: 300px; color: #667085; }
.atvncg-viewer-empty i { font-size: 28px; color: var(--atv-blue); }
.atvncg-note { display: flex; align-items: flex-start; gap: 11px; margin-top: 18px; padding: 14px 16px; color: #475467; background: #f8fafc; border-radius: 12px; }
.atvncg-note i { margin-top: 3px; color: var(--atv-blue); }
.atvncg-note p { margin: 0; }

.atvncg-modal-backdrop {
    position: fixed;
    z-index: 1200;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(15, 23, 42, .62);
    backdrop-filter: blur(3px);
}
.atvncg-crawl-modal { width: min(760px, 100%); max-height: calc(100vh - 48px); overflow: auto; border-radius: 18px; background: #fff; box-shadow: 0 28px 80px rgba(15,23,42,.32); }
.atvncg-crawl-modal > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 24px 26px 18px; border-bottom: 1px solid #e4e7ec; }
.atvncg-crawl-modal h2 { margin: 5px 0; color: var(--atv-navy); font-size: 24px; }
.atvncg-crawl-modal header p { margin: 0; color: #667085; }
.atvncg-modal-close { border: 0; background: transparent; color: #667085; font-size: 30px; line-height: 1; cursor: pointer; }
.atvncg-crawl-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 22px 26px; }
.atvncg-crawl-options label { position: relative; cursor: pointer; }
.atvncg-crawl-options input { position: absolute; opacity: 0; pointer-events: none; }
.atvncg-crawl-options span { display: grid; grid-template-columns: 34px 1fr; gap: 2px 10px; min-height: 88px; padding: 15px; border: 1px solid #d0d5dd; border-radius: 12px; transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.atvncg-crawl-options input:checked + span { border-color: var(--atv-blue); background: #eff6ff; box-shadow: 0 0 0 2px rgba(37,99,235,.12); }
.atvncg-crawl-options i { grid-row: 1 / 3; display: grid; place-items: center; width: 34px; height: 34px; color: var(--atv-blue); background: #dbeafe; border-radius: 9px; }
.atvncg-crawl-options strong { color: #1d2939; }
.atvncg-crawl-options small { color: #667085; overflow-wrap: anywhere; }
.atvncg-crawl-progress { display: grid; gap: 12px; padding: 22px 26px; }
.atvncg-crawl-progress article { display: grid; grid-template-columns: 1fr auto; gap: 10px 18px; padding: 15px 16px; border: 1px solid #e4e7ec; border-radius: 12px; }
.atvncg-crawl-progress .copy { display: grid; gap: 2px; }
.atvncg-crawl-progress .copy span, .atvncg-crawl-progress .numbers small { color: #667085; font-size: 12px; }
.atvncg-crawl-progress .numbers { display: grid; justify-items: end; }
.atvncg-crawl-progress .numbers em { color: #667085; font-style: normal; }
.atvncg-crawl-progress .bar { grid-column: 1 / -1; height: 7px; overflow: hidden; border-radius: 99px; background: #eaecf0; }
.atvncg-crawl-progress .bar span { display: block; height: 100%; min-width: 0; border-radius: inherit; background: var(--atv-blue); transition: width .25s ease; }
.atvncg-crawl-progress article[data-state="completed"] .bar span { background: var(--atv-green); }
.atvncg-crawl-progress article[data-state="failed"] { border-color: #fecaca; background: #fff7f7; }
.atvncg-crawl-progress article[data-state="failed"] .bar span { background: var(--atv-red); }
.atvncg-crawl-message { margin: 2px 0 0; padding: 11px 13px; color: #344054; background: #f8fafc; border-radius: 9px; }
.atvncg-crawl-modal > footer { display: flex; justify-content: flex-end; gap: 10px; padding: 17px 26px 22px; border-top: 1px solid #e4e7ec; }

.atvncg-data-page { max-width: 1600px; margin: 0 auto; padding: 28px; color: #172033; }
.atvncg-data-hero, .atvncg-data-title, .atvncg-data-toolbar, .atvncg-data-summary { display: flex; align-items: center; }
.atvncg-data-hero { justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.atvncg-data-title { gap: 15px; }
.atvncg-data-title h1 { margin: 3px 0; color: var(--atv-navy); font-size: clamp(27px, 4vw, 38px); letter-spacing: -.03em; }
.atvncg-data-title p { margin: 0; color: #667085; }
.atvncg-data-icon { display: grid; place-items: center; width: 54px; height: 54px; flex: 0 0 54px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, #1d4ed8, #2563eb); font-size: 21px; box-shadow: 0 10px 24px rgba(37,99,235,.2); }
.atvncg-data-toolbar { justify-content: space-between; gap: 18px; margin-bottom: 15px; padding: 15px; border: 1px solid #e4e7ec; border-radius: 14px; background: #fff; }
.atvncg-data-search { display: flex; align-items: center; gap: 8px; flex: 1; max-width: 720px; }
.atvncg-data-search > i { color: #98a2b3; }
.atvncg-data-search input { width: 100%; min-width: 160px; padding: 10px 12px; border: 1px solid #d0d5dd; border-radius: 9px; outline: none; }
.atvncg-data-search input:focus { border-color: var(--atv-blue); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.atvncg-data-search .clear { border: 0; color: #667085; background: transparent; cursor: pointer; }
.atvncg-data-summary { gap: 18px; color: #475467; white-space: nowrap; }
.atvncg-data-summary label { display: flex; align-items: center; gap: 6px; }
.atvncg-data-summary select { padding: 7px; border: 1px solid #d0d5dd; border-radius: 8px; background: #fff; }
.atvncg-data-card { position: relative; min-height: 220px; overflow: hidden; border: 1px solid #e4e7ec; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(16,24,40,.05); }
.atvncg-data-table-wrap { overflow: auto; max-height: calc(100vh - 285px); }
.atvncg-data-table { width: max-content; min-width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; }
.atvncg-data-table th { position: sticky; z-index: 2; top: 0; padding: 11px 13px; border-bottom: 1px solid #d0d5dd; color: #344054; background: #f8fafc; text-align: left; white-space: nowrap; }
.atvncg-data-table td { max-width: 340px; padding: 10px 13px; border-bottom: 1px solid #f0f1f3; color: #475467; white-space: nowrap; }
.atvncg-data-table td span { display: block; overflow: hidden; text-overflow: ellipsis; }
.atvncg-data-table tbody tr:hover td { background: #f8fbff; }
.atvncg-data-table .row-number { position: sticky; z-index: 1; left: 0; min-width: 58px; color: #667085; background: #fff; text-align: center; }
.atvncg-data-table th.row-number { z-index: 3; background: #f8fafc; }
.atvncg-data-table .empty-row { padding: 46px; color: #667085; text-align: center; }
.atvncg-data-loading, .atvncg-data-empty { display: grid; place-items: center; align-content: center; gap: 12px; min-height: 240px; color: #667085; }
.atvncg-data-empty { border: 1px dashed #cbd5e1; border-radius: 14px; background: #f8fafc; text-align: center; }
.atvncg-data-empty i { color: var(--atv-blue); font-size: 30px; }
.atvncg-data-empty h2, .atvncg-data-empty p { margin: 0; }
.atvncg-data-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.atvncg-data-pagination button { min-width: 36px; height: 36px; border: 1px solid #d0d5dd; border-radius: 8px; color: #344054; background: #fff; cursor: pointer; }
.atvncg-data-pagination button.active { border-color: var(--atv-blue); color: #fff; background: var(--atv-blue); }
.atvncg-data-pagination button:disabled { opacity: .45; cursor: not-allowed; }

.atvncg-participants-page { max-width: 1680px; margin: 0 auto; padding: 26px 24px 34px; color: #172033; }
.atvncg-participants-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.atvncg-participants-heading h1 { margin: 4px 0; color: var(--atv-navy); font-size: clamp(28px, 3.2vw, 38px); line-height: 1.05; letter-spacing: -.035em; }
.atvncg-participants-heading p { max-width: 700px; margin: 0; color: #667085; line-height: 1.55; text-wrap: pretty; }
.atvncg-download-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1px solid #b8d8c3; border-radius: 9px; color: #17683a; background: #f2fbf5; font-weight: 700; cursor: pointer; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.atvncg-download-btn:hover:not(:disabled) { transform: translateY(-1px); border-color: #6fbd89; background: #e8f8ed; }
.atvncg-download-btn:active:not(:disabled) { transform: translateY(1px); }
.atvncg-download-btn:focus-visible { outline: 3px solid rgba(39,133,75,.2); outline-offset: 2px; }
.atvncg-download-btn:disabled { opacity: .55; cursor: not-allowed; }
.atvncg-participant-workspace { overflow: hidden; border: 1px solid #e1e7ef; border-radius: 14px; background: #fff; box-shadow: 0 12px 34px rgba(31,47,71,.07); }
.atvncg-participant-toolbar { display: grid; grid-template-columns: max-content minmax(190px, 1.2fr) repeat(2, minmax(135px, .9fr)) repeat(3, minmax(118px, .72fr)) minmax(125px, .72fr) auto minmax(125px, .72fr) 38px; align-items: end; gap: 10px; padding: 18px; border-bottom: 1px solid #e7ebf0; background: #fbfcfe; }
.atvncg-participant-count { display: flex; align-items: baseline; gap: 6px; min-height: 38px; padding: 8px 4px 7px 0; white-space: nowrap; }
.atvncg-participant-count span { color: #596579; font-weight: 650; }
.atvncg-participant-count strong { color: #15233b; font-variant-numeric: tabular-nums; }
.atvncg-participant-search { position: relative; }
.atvncg-participant-search input { width: 100%; height: 40px; padding: 0 42px 0 12px; border: 1px solid #cfd6df; border-radius: 8px; color: #25324a; background: #fff; outline: none; transition: border-color .18s ease, box-shadow .18s ease; }
.atvncg-participant-search input:focus { border-color: #7891b5; box-shadow: 0 0 0 3px rgba(75,103,145,.11); }
.atvncg-participant-search button { position: absolute; top: 1px; right: 1px; width: 39px; height: 38px; border: 0; color: #26344a; background: transparent; cursor: pointer; }
.atvncg-filter-field, .atvncg-date-field { position: relative; display: block; }
.atvncg-filter-field > span, .atvncg-date-field > span { position: absolute; z-index: 1; top: -7px; left: 10px; padding: 0 4px; color: #778397; background: #fbfcfe; font-size: 10px; line-height: 1; }
.atvncg-filter-field select, .atvncg-date-field input { width: 100%; height: 40px; padding: 6px 28px 4px 11px; border: 1px solid #cfd6df; border-radius: 7px; color: #344054; background-color: #fff; outline: none; font-size: 12px; }
.atvncg-filter-field select:focus, .atvncg-date-field input:focus { border-color: #7891b5; box-shadow: 0 0 0 3px rgba(75,103,145,.1); }
.atvncg-date-field input { padding-right: 7px; }
.atvncg-date-separator { align-self: center; padding-bottom: 2px; color: #98a2b3; }
.atvncg-filter-reset { display: grid; place-items: center; width: 38px; height: 40px; border: 1px solid #f2c8bb; border-radius: 8px; color: #d84d2f; background: #fff8f5; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.atvncg-filter-reset:hover { transform: rotate(-12deg); background: #fff0ea; }
.atvncg-filter-reset:focus-visible { outline: 3px solid rgba(216,77,47,.16); outline-offset: 2px; }
.atvncg-participant-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 7px 18px; border-bottom: 1px solid #edf0f4; color: #7b8799; font-size: 12px; }
.atvncg-participant-meta label { display: flex; align-items: center; gap: 6px; }
.atvncg-participant-meta select { padding: 5px 24px 5px 8px; border: 1px solid #d7dde5; border-radius: 6px; color: #475467; background: #fff; }
.atvncg-participant-table-wrap { max-height: calc(100dvh - 285px); min-height: 360px; overflow: auto; }
.atvncg-participant-table { width: max-content; min-width: 100%; border-collapse: separate; border-spacing: 0; color: #425575; font-size: 12px; }
.atvncg-participant-table th { position: sticky; z-index: 3; top: 0; min-width: 128px; padding: 15px 13px; border-bottom: 1px solid #dfe5ec; color: #172033; background: #fff; font-weight: 700; text-align: left; white-space: normal; }
.atvncg-participant-table th[data-column="avatar"] { min-width: 78px; }
.atvncg-participant-table td { height: 82px; max-width: 240px; padding: 12px 13px; border-bottom: 1px solid #e7ebf0; background: #fff; vertical-align: middle; }
.atvncg-participant-table tbody tr:hover > td { background: #f8fafc; }
.atvncg-participant-table td > span:not(.atvncg-participant-badge) { display: block; overflow: hidden; text-overflow: ellipsis; white-space: normal; line-height: 1.45; }
.atvncg-participant-table .sequence { position: sticky; z-index: 1; left: 0; min-width: 56px; width: 56px; color: #8a96a8; background: #fff; text-align: center; font-variant-numeric: tabular-nums; }
.atvncg-participant-table th.sequence { z-index: 5; }
.atvncg-participant-table .actions { position: sticky; z-index: 2; right: 0; min-width: 112px; width: 112px; border-left: 1px solid #edf0f4; background: #fff; }
.atvncg-participant-table th.actions { z-index: 5; }
.atvncg-participant-table .actions button { display: inline-flex; align-items: center; gap: 7px; border: 0; color: #d54a2c; background: transparent; font-size: 11px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.atvncg-participant-table .actions button:hover, .atvncg-participant-table .actions button.open { color: #a83620; }
.atvncg-avatar-cell { display: grid; place-items: center; width: 52px; height: 52px; overflow: hidden; border-radius: 10px; color: #8b97a8; background: #eef2f6; }
.atvncg-avatar-cell img { width: 100%; height: 100%; object-fit: cover; }
.atvncg-participant-badge { display: inline-flex; align-items: center; min-height: 20px; padding: 3px 7px; border-radius: 5px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.atvncg-participant-badge.success { color: #176b3a; background: #dff4e7; }
.atvncg-participant-badge.warning { color: #8a5b00; background: #fff0bf; }
.atvncg-participant-badge.danger { color: #a33a32; background: #fde5e2; }
.atvncg-participant-badge.neutral { color: #5f6c7c; background: #edf1f5; }
.participant-detail-row td { height: auto; padding: 0; background: #f8fafc !important; }
.atvncg-participant-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 18px 24px 22px 76px; }
.atvncg-participant-detail-grid article { min-width: 0; padding: 14px; border-left: 3px solid #9badc5; background: #fff; }
.atvncg-participant-detail-grid article > span { color: #344054; font-weight: 700; }
.atvncg-participant-detail-grid pre { max-height: 180px; margin: 9px 0 0; overflow: auto; color: #596579; font: 12px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; word-break: break-word; }
.atvncg-participant-detail-grid dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 12px; margin: 9px 0 0; }
.atvncg-participant-detail-grid dt { color: #7b8799; font-weight: 500; }
.atvncg-participant-detail-grid dd { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.atvncg-participant-table .empty-row { height: 180px; color: #7b8799; text-align: center; }
.skeleton-row td { height: 82px; padding: 18px !important; }
.skeleton-row span { display: block; height: 18px; border-radius: 5px; background: linear-gradient(90deg, #eef1f5 25%, #f8fafc 45%, #eef1f5 65%); background-size: 220% 100%; animation: atvncg-skeleton 1.25s ease-in-out infinite; }
@keyframes atvncg-skeleton { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.participant-empty { margin: 24px; }
.atvncg-scan-summary { padding: 20px; border-bottom: 1px solid #e7ebf0; }
.atvncg-scan-summary h2 { margin: 0 0 8px; font-size: 18px; color: #172033; }
.atvncg-scan-summary p { color: #667085; margin: 0 0 14px; }
.atvncg-scan-chart { position: relative; min-height: 220px; min-width: 0; }
.atvncg-scan-summary-details summary { cursor: pointer; padding: 10px 0; }
.atvncg-scan-summary-details table { width: 100%; border-collapse: collapse; overflow-wrap: anywhere; }
.atvncg-scan-summary-details th, .atvncg-scan-summary-details td { padding: 8px; border-bottom: 1px solid #e7ebf0; text-align: left; font-variant-numeric: tabular-nums; }
.atvncg-specialized-page .atvncg-participants-heading { margin-bottom: 16px; }
.atvncg-specialized-page .atvncg-participants-heading h1 { font-size: clamp(27px, 3vw, 36px); }
.atvncg-specialized-page .atvncg-participant-toolbar { min-height: 78px; }
.store-toolbar { grid-template-columns: max-content minmax(260px, 420px) 38px; justify-content: start; }
.scan-toolbar { grid-template-columns: max-content minmax(210px, 1fr) minmax(185px, .85fr) minmax(130px, .55fr) minmax(125px, .56fr) auto minmax(125px, .56fr) 38px; }
.scan-store-filter select { text-overflow: ellipsis; }
.specialized-table td { height: 68px; }
.specialized-table td > span { white-space: nowrap !important; }
.store-table { width: 100%; table-layout: fixed; }
.store-table th { min-width: 0; }
.store-table th.sequence { width: 64px; }
.store-table th[data-column="_id"] { width: 28%; }
.store-table th[data-column="name"] { width: 28%; }
.store-table th[data-column="status"] { width: 16%; }
.store-table th[data-column="createdAt"], .store-table th[data-column="updatedAt"] { width: 22%; }
.store-table td { max-width: none; }
.store-table-wrap { min-height: 300px; }
.scan-history-table th[data-column="_id"], .scan-history-table th[data-column="digital_campaign_user_id"] { min-width: 190px; }
.scan-history-table th[data-column="code"] { min-width: 160px; }
.scan-history-table th[data-column="store_id"] { min-width: 130px; }
.scan-history-table th[data-column="userAvatar"] { min-width: 92px; }
.scan-history-table th[data-column="userName"] { min-width: 165px; }
.scan-history-table th[data-column="userPhone"] { min-width: 120px; }
.scan-history-table th[data-column="status"] { min-width: 120px; }
.scan-history-table th[data-column="createdAt"], .scan-history-table th[data-column="updatedAt"] { min-width: 172px; }
.scan-history-table .atvncg-avatar-cell { width: 54px; height: 54px; border-radius: 8px; }

@media (max-width: 1800px) {
    .participant-filter-toolbar {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    .participant-filter-toolbar > * { min-width: 0; }
    .participant-filter-toolbar .atvncg-participant-search { grid-column: span 2; }
    .participant-filter-toolbar .atvncg-date-separator { display: none; }
}

@media (max-width: 1200px) {
    .participant-filter-toolbar {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .participant-filter-toolbar .atvncg-participant-count { grid-column: span 1; }
    .participant-filter-toolbar .atvncg-participant-search { grid-column: span 2; }
    .participant-filter-toolbar .atvncg-filter-reset { width: 100%; }
}

@media (max-width: 900px) {
    .atvncg-page { padding: 18px; }
    .atvncg-meta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .atvncg-status, .atvncg-action-card { align-items: flex-start; flex-wrap: wrap; }
    .atvncg-countdown { width: 100%; padding: 16px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.2); }
    .atvncg-crawl-options { grid-template-columns: 1fr; }
    .atvncg-data-page { padding: 18px; }
    .atvncg-data-toolbar { align-items: stretch; flex-direction: column; }
    .atvncg-data-search { max-width: none; }
    .atvncg-data-summary { justify-content: space-between; }
    .atvncg-participants-page { padding: 18px; }
    .atvncg-participant-toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; }
    .store-toolbar, .scan-toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .atvncg-participant-count, .atvncg-participant-search { grid-column: 1 / -1; }
    .participant-filter-toolbar .atvncg-participant-count,
    .participant-filter-toolbar .atvncg-participant-search { grid-column: 1 / -1; }
    .atvncg-date-separator { display: none; }
    .atvncg-filter-reset { grid-column: 1 / -1; width: 100%; }
    .participant-filter-toolbar .atvncg-filter-reset { grid-column: 1 / -1; }
    .atvncg-participant-detail-grid { grid-template-columns: 1fr; padding-left: 24px; }
}

@media (max-width: 600px) {
    .atvncg-hero { align-items: flex-start; flex-direction: column; }
    .atvncg-meta-grid { grid-template-columns: 1fr; }
    .atvncg-actions { width: 100%; flex-direction: column-reverse; }
    .atvncg-actions .atvncg-btn { width: 100%; }
    .atvncg-browser-actions { width: 100%; flex-wrap: wrap; }
    .atvncg-viewer { min-height: 480px; }
    .atvncg-modal-backdrop { padding: 10px; }
    .atvncg-crawl-modal { max-height: calc(100vh - 20px); }
    .atvncg-crawl-modal > header, .atvncg-crawl-options, .atvncg-crawl-progress { padding-left: 18px; padding-right: 18px; }
    .atvncg-data-hero { align-items: flex-start; flex-direction: column; }
    .atvncg-data-search { flex-wrap: wrap; }
    .atvncg-data-search .atvncg-btn { width: 100%; }
    .atvncg-data-summary { align-items: flex-start; flex-direction: column; gap: 8px; }
    .atvncg-participants-heading { align-items: stretch; flex-direction: column; }
    .atvncg-download-btn { width: 100%; }
    .atvncg-participant-toolbar { grid-template-columns: 1fr; }
    .store-toolbar, .scan-toolbar { grid-template-columns: 1fr; }
    .atvncg-participant-meta { align-items: flex-start; flex-direction: column; padding-top: 10px; padding-bottom: 10px; }
    .atvncg-participant-count, .atvncg-participant-search, .atvncg-filter-reset { grid-column: auto; }
    .participant-filter-toolbar .atvncg-participant-count,
    .participant-filter-toolbar .atvncg-participant-search,
    .participant-filter-toolbar .atvncg-filter-reset { grid-column: auto; }
}

/* Zalo OA image columns use the same thumbnails as Event ATVNCG. */
.zalo-oa-images { display: flex; gap: 8px; max-width: 224px; overflow-x: auto; }
.zalo-oa-images > * { flex-shrink: 0; }
.zalo-oa-images .zalo-oa-cover { width: 104px; }
.zalo-oa-images a:focus-visible { outline: 2px solid #2275ae; outline-offset: -2px; }
