/* Estilos compartidos de las pantallas de administración (diseño v33). */

.ad-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.ad-filter { display: flex; align-items: center; gap: 10px; }
.ad-filter label { font-size: 14px; font-weight: 700; color: var(--brand-muted); }
.ad-filter .inp-tv { width: auto; }

.ad-loading { display: flex; justify-content: center; padding: 64px 0; color: var(--brand-muted); }

/* KPIs */
.ad-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-bottom: 20px; }
.ad-kpi { display: flex; align-items: center; gap: 16px; }
.ad-kpi-ico {
    flex: none; width: 52px; height: 52px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 22px;
}
.ad-kpi-val  { font-size: 28px; font-weight: 800; line-height: 1.1; color: var(--brand-title); }
.ad-kpi-lbl  { font-size: 14px; color: var(--brand-muted); }
.ad-kpi-note { font-size: 13px; font-weight: 700; color: var(--brand-ok-fg); }

/* Filas de tarjetas */
.ad-row { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 20px; }
.ad-row > .card-tv { min-width: 0; }
.ad-w7 { flex: 7 1 420px; }
.ad-w5 { flex: 5 1 320px; }
.ad-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.ad-card-head h2 { margin: 0; }
.ad-empty { margin: 0; padding: 24px 0; text-align: center; color: var(--brand-muted); }

/* Barras de ingresos */
.ad-bars { display: flex; align-items: flex-end; gap: 14px; height: 220px; padding-top: 8px; }
.ad-bar-col { flex: 1 1 0; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.ad-bar-val { font-size: 12px; font-weight: 700; color: var(--brand-muted); white-space: nowrap; }
.ad-bar { width: 100%; max-width: 56px; min-height: 4px; border-radius: 10px 10px 0 0; background: var(--brand-bar); }
.ad-bar-lbl { font-size: 13px; font-weight: 700; color: var(--brand-title); white-space: nowrap; }

/* Estado de cotizaciones */
.ad-prog { display: flex; flex-direction: column; gap: 16px; }
.ad-prog-top { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 14px; }
.ad-prog-top span:first-child { color: var(--brand-muted); }
.ad-prog-top span:last-child  { font-weight: 800; color: var(--brand-title); }
.ad-prog-track { height: 10px; border-radius: 999px; background: var(--brand-line2); overflow: hidden; }
.ad-prog-fill  { height: 100%; border-radius: 999px; }
.ad-total { margin: 16px 0 0; font-size: 14px; color: var(--brand-muted); }

/* Top eventos */
.ad-top { display: flex; flex-direction: column; gap: 16px; }
.ad-top-item { display: flex; align-items: center; gap: 14px; }
.ad-pos {
    flex: none; width: 32px; height: 32px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 800;
    background: var(--brand-neu-bg); color: var(--brand-neu-fg);
}
.ad-pos-1 { background: var(--brand-warn-bg); color: var(--brand-warn-fg); }
.ad-top-info { flex: 1; min-width: 0; }
.ad-top-info strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--brand-title); }
.ad-top-info small  { color: var(--brand-muted); font-size: 13px; }
.ad-top-amt { font-weight: 800; color: var(--brand-ok-fg); white-space: nowrap; }

/* Tabla */
.ad-table-wrap { overflow-x: auto; }
.tbl-tv tbody tr.ad-click { cursor: pointer; }
.tbl-tv tbody tr.ad-click:hover td { background: var(--brand-active); }
.tbl-tv td small { display: block; color: var(--brand-muted); font-size: 13px; }

/* Listados de admin: filtros, acciones, tabla en tarjeta */
.ad-filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.ad-f2 { flex: 2 1 280px; }
.ad-f1 { flex: 1 1 180px; }
.ad-table-card { padding: 8px 8px 0; overflow: hidden; }
.ad-ev-name { display: block; font-weight: 800; color: var(--brand-title); }
.ad-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.ad-actions { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.ad-cupo-track { width: 80px; height: 6px; margin: 6px auto 0; }
.ad-pos-txt { color: var(--brand-ok-fg); }
.ad-neg-txt { color: var(--brand-bad-fg); }
.tbl-tv tfoot td { padding: 14px; background: var(--brand-head); color: var(--brand-title); border-top: 1px solid var(--brand-line); }

/* Formularios de admin (crear/editar evento) */
.ad-head-form { justify-content: flex-start; align-items: center; flex-wrap: nowrap; }
.ad-head-form > div { min-width: 0; }
.ad-form-card { padding: 0; overflow: hidden; }
.ad-tabs-head { padding: 0 16px; border-bottom: 1px solid var(--brand-line); overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; }
.ad-form-body { padding: 24px; }
.ad-form-foot { display: flex; justify-content: flex-end; gap: 12px; padding: 16px 24px; border-top: 1px solid var(--brand-line); background: var(--brand-head); }
.inp-tv-sm { min-height: 40px; font-size: 14px; }
textarea.inp-tv { min-height: 0; padding: 12px 16px; resize: vertical; }
.inp-tv[type=file] { padding: 8px 12px; }
.ad-readonly { display: flex; align-items: center; justify-content: center; background: var(--brand-head); text-align: center; font-weight: 800; }
.ad-req { color: var(--brand-bad-fg); }
.ad-err { display: block; margin-top: 4px; font-size: 13px; color: var(--brand-bad-fg); }
.ad-ig { display: flex; }
.ad-ig .inp-tv { flex: 1 1 auto; min-width: 0; }
.ad-ig > .ad-ig-t:first-child { border-radius: 14px 0 0 14px; border-right: 0; }
.ad-ig > .ad-ig-t:last-child { border-radius: 0 14px 14px 0; border-left: 0; }
.ad-ig > .ad-ig-t:first-child + .inp-tv { border-radius: 0 14px 14px 0; }
.ad-ig > .inp-tv:not(:last-child) { border-radius: 14px 0 0 14px; }
.ad-ig-t { display: flex; align-items: center; padding: 0 14px; border: 1.5px solid var(--brand-border); background: var(--brand-head); color: var(--brand-muted); font-weight: 700; }
.ad-thumb { border: 1px solid var(--brand-line); border-radius: 10px; object-fit: cover; }
.btn-tv.ad-ico { padding-left: 10px; padding-right: 10px; }
.tbl-tv tbody tr.ad-row-sel td { background: var(--brand-active); }
.tbl-tv tbody tr.ad-row-off { opacity: .6; }
.ad-mb { margin-bottom: 16px; }
.ad-dia { font-weight: 800; }
.ad-subform { margin-top: 12px; padding: 20px; border: 1px solid var(--brand-line); border-radius: 14px; background: var(--brand-head); }
.ad-subform-title { margin: 0 0 16px; font-size: 16px; font-weight: 800; color: var(--brand-title); }
.ad-note { margin-top: 8px; padding: 10px 14px; border-radius: 10px; font-size: 14px; background: var(--brand-warn-bg); color: var(--brand-warn-fg); }
.ad-alert { display: flex; align-items: flex-start; gap: 14px; margin-top: 12px; padding: 14px 16px; border-radius: 12px; }
.ad-alert > i { font-size: 20px; margin-top: 2px; }
.ad-alert p { margin: 4px 0 10px; font-size: 14px; }
.ad-alert .btn-tv { margin-right: 8px; }
.ad-alert-warn { background: var(--brand-warn-bg); color: var(--brand-warn-fg); }
.ad-alert-bad { background: var(--brand-bad-bg); color: var(--brand-bad-fg); }
.ad-alert .ad-err { color: inherit; font-weight: 800; }
.ad-form-body input[type=checkbox] { accent-color: var(--brand-cta); }
@media (max-width: 640px) {
    .ad-form-body { padding: 16px; }
    .ad-form-foot { padding: 12px 16px; }
}
.ad-f-clear { display: flex; align-items: flex-end; }

/* Detalle de cotización */
.ad-dcard { padding: 0; overflow: hidden; margin-bottom: 16px; }
.ad-dcard-bad  { border-color: var(--brand-bad-fg); }
.ad-dcard-warn { border-color: var(--brand-warn-fg); }
.ad-dcard-ok   { border-color: var(--brand-ok-fg); }
.ad-dhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px 12px; font-size: 18px; font-weight: 800; color: var(--brand-title); }
.ad-dhead > span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.ad-dhead i { color: var(--brand-cta); }
.ad-dbody { padding: 0 24px 24px; }
.ad-dbody-top { padding: 20px 24px; }
.ad-dcenter { padding-top: 24px; text-align: center; }
.ad-dcenter h2 { margin: 8px 0 12px; }
.ad-big { display: block; font-size: 40px; margin-bottom: 4px; }
.ad-cols { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.ad-col-l { flex: 7 1 480px; min-width: 0; }
.ad-col-r { flex: 5 1 340px; min-width: 0; }
.ad-top-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.ad-folio { text-align: right; }
.ad-folio p { margin: 4px 0 0; }
.ad-b-lg { font-size: 14px; padding: 8px 16px; }
.ad-steps { display: flex; flex: 1 1 320px; max-width: 600px; }
.ad-step { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ad-step-line { position: absolute; top: 17px; left: -50%; width: 100%; height: 2px; background: var(--brand-line); }
.ad-step-dot { position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--brand-neu-bg); color: var(--brand-muted); }
.ad-step-lbl { font-size: 12px; color: var(--brand-muted); white-space: nowrap; }
.ad-step.on .ad-step-line { background: var(--brand-ok-fg); }
.ad-step.on .ad-step-dot { background: var(--brand-ok-fg); color: var(--brand-ok-bg); }
.ad-step.on .ad-step-lbl { color: var(--brand-title); }
.ad-step.cur .ad-step-lbl { font-weight: 800; }
.ad-info-txt { color: var(--brand-info-fg); }
.ad-warn-txt { color: var(--brand-warn-fg); }
.ad-evt { margin: 0 0 4px; font-size: 20px; font-weight: 800; color: var(--brand-fg); }
.ad-evt-sub { margin: 0 0 14px; }
.ad-paq { padding: 14px 16px; margin-bottom: 14px; border-radius: 14px; background: var(--brand-head); border: 1px solid var(--brand-line); }
.ad-paq-t { margin: 0 0 8px; font-weight: 800; color: var(--brand-title); }
.ad-paq .b { margin: 0 4px 4px 0; }
.ad-okbox { padding: 14px 16px; border-radius: 14px; background: var(--brand-ok-bg); color: var(--brand-ok-fg); }
.ad-okbox .muted-tv { color: inherit; opacity: .85; }
.ad-diablk { margin-bottom: 16px; }
.ad-act { margin-top: 8px; padding: 10px 14px; border-left: 3px solid var(--brand-cta); border-radius: 0 10px 10px 0; background: var(--brand-head); }
.ad-act p { margin: 0; }
.ad-ul { margin: 0; padding: 0; list-style: none; }
.ad-li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--brand-line2); }
.ad-li-last { border-bottom: 0; }
.ad-times { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--brand-line); }
.ad-times p { margin: 0 0 4px; font-size: 14px; }
.ad-note-ok { background: var(--brand-ok-bg); color: var(--brand-ok-fg); }
.ad-alert-neu { background: var(--brand-neu-bg); color: var(--brand-neu-fg); margin-bottom: 16px; }
.ad-alert-neu p { margin: 4px 0 0; }
.ad-dbody .ad-note { margin: 0 0 12px; }
.ad-dbody .mb-3 { margin-bottom: 16px !important; }
.tbl-tv .btn-tv { white-space: nowrap; text-align: center; }

/* Usuarios: clientes, agentes y administradores */
.ad-person { display: flex; align-items: center; gap: 12px; }
.ad-person > div { min-width: 0; }
.ad-person strong { display: block; }
.ad-person-tag { margin-top: 4px; }
.ad-avatar {
    flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--brand-neu-bg); color: var(--brand-neu-fg); font-weight: 800; font-size: 14px;
}
.ad-avatar-cta { background: var(--brand-cta); color: #fff; }
.ad-avatar-xl { width: 80px; height: 80px; font-size: 28px; }
.ad-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tbl-tv td .ad-actions { justify-content: flex-end; }
.ad-actions-end { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.ad-stack-lg { display: flex; flex-direction: column; gap: 24px; }
.ad-stack { display: flex; flex-direction: column; gap: 14px; }
.ad-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.ad-fields > div { min-width: 0; }
.ad-hint { margin: 8px 0 0; font-size: 13px; }
.ad-photo { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.ad-file { cursor: pointer; }
.ad-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.ad-pill {
    min-height: 40px; padding: 0 16px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 700;
    border: 2px solid var(--brand-border); background: transparent; color: var(--brand-fg); cursor: pointer;
}
.ad-pill.on { border-color: var(--brand-cta); background: var(--brand-cta); color: #fff; }
.ad-switch { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; cursor: pointer; }
.ad-switch input { width: 20px; height: 20px; accent-color: var(--brand-cta); }

/* Detalle de agente */
.ad-person-lg { align-items: flex-start; gap: 20px; }
.ad-contact { display: flex; flex-wrap: wrap; gap: 16px; margin: 12px 0 0; }
.ad-list-head { padding: 16px 16px 8px; }
.ad-list-search { max-width: 280px; }
.ad-kpis .ad-kpi { margin: 0; }

/* Administradores */
.ad-split { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.ad-split-main { flex: 3 1 460px; min-width: 0; }
.ad-split-side { flex: 2 1 320px; min-width: 0; }
.ad-side-note { margin: 0; font-size: 13px; }
.ad-promo { margin-bottom: 20px; }
.ad-promo-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.ad-promo-head h2 { margin: 0; }
.ad-promo-note { margin: 0 0 16px; font-size: 14px; }
.ad-promo-search { max-width: 480px; margin-bottom: 16px; }
.ad-ig-btn { border-radius: 0 14px 14px 0; }
.ad-results { list-style: none; margin: 0; padding: 0; max-width: 640px; border: 1px solid var(--brand-line); border-radius: 14px; overflow: hidden; }
.ad-results li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--brand-line2); }
.ad-results li:last-child { border-bottom: 0; }
.ad-results small { display: block; color: var(--brand-muted); font-size: 13px; }

/* ── Tours a medida ─────────────────────────────────────────────────────── */
.ad-head-left { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; min-width: 0; }
.ad-b-lg { font-size: 14px; padding: 8px 16px; }
.ad-tour { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; border-left: 6px solid var(--brand-muted); }
.ad-tour-warn { border-left-color: var(--brand-warn-fg); }
.ad-tour-ok   { border-left-color: var(--brand-ok-fg); }
.ad-tour-bad  { border-left-color: var(--brand-bad-fg); }
.ad-tour-main { flex: 3 1 300px; display: flex; align-items: flex-start; gap: 14px; min-width: 0; }
.ad-tour-ico { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 48px; height: 48px; border-radius: 14px; background: var(--brand-neu-bg); color: var(--brand-neu-fg); font-size: 22px; }
.ad-tour-info { min-width: 0; }
.ad-tour-info .ad-chips { align-items: center; margin-bottom: 4px; }
.ad-tour-tipo { font-size: 13px; }
.ad-tour-dest { font-size: 18px; font-weight: 800; color: var(--brand-title); }
.ad-tour-dl { flex: 3 1 260px; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; font-size: 14px; }
.ad-tour-dl dt { display: inline; color: var(--brand-muted); font-weight: 400; }
.ad-tour-dl dd { display: inline; margin: 0; font-weight: 700; }
.ad-pill .b { margin-left: 8px; }

.ad-tdet { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px; }
.ad-tdet-side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.ad-tdet-main { flex: 2 1 480px; min-width: 0; }
.ad-sub { margin: -8px 0 16px; }
.ad-dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ad-dl dt { font-size: 13px; color: var(--brand-muted); }
.ad-dl dd { margin: 2px 0 0; font-weight: 700; }
.ad-dl-full { grid-column: 1 / -1; }
.ad-dl .ad-dl-big { font-size: 18px; font-weight: 800; color: var(--brand-title); }
.ad-dl-cap { margin: 16px 0 6px; font-size: 13px; }
.ad-note-box { margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--brand-page); line-height: 1.5; white-space: pre-wrap; }
.ad-dl-foot { margin-top: 14px; align-items: center; }
.ad-contact-name { font-weight: 800; }
.ad-actions-start { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.ad-fields-wide { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.ad-span2 { grid-column: span 2; }
.ad-span-all { grid-column: 1 / -1; }
.ad-ta { min-height: 0; padding-top: 12px; padding-bottom: 12px; resize: vertical; }
.ad-calc { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-top: 20px; padding: 16px; border-radius: 16px; background: var(--brand-page); }
.ad-calc-v { font-size: 22px; font-weight: 800; color: var(--brand-title); }
.ad-calc-v.ad-ok  { color: var(--brand-ok-fg); }
.ad-calc-v.ad-bad { color: var(--brand-bad-fg); }
.ad-publicar { margin-top: 20px; }
.ad-tdet-foot { margin-top: 20px; }
@media (max-width: 640px) { .ad-span2 { grid-column: 1 / -1; } }

/* ── Notificaciones ─────────────────────────────────────────────────────── */
.ad-notifs { padding: 0; overflow: hidden; }
.ad-notif { display: flex; align-items: flex-start; gap: 16px; width: 100%; padding: 18px 20px; border: 0; border-bottom: 1px solid var(--brand-line2); background: transparent; color: var(--brand-fg); font: inherit; text-align: left; cursor: pointer; }
.ad-notif:last-child { border-bottom: 0; }
.ad-notif:hover { background: var(--brand-head); }
.ad-notif-new { background: var(--brand-active); }
.ad-notif-ico { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; height: 44px; border-radius: 50%; color: #fff; font-size: 20px; background: var(--brand-hero, #6A4390); }
.ad-nc-ok   { background: #2E9E63; }
.ad-nc-bad  { background: #C03A4D; }
.ad-nc-warn { background: #B7791F; }
.ad-nc-info { background: #2D7FB8; }
.ad-nc-cta  { background: var(--brand-cta); }
.ad-nc-neu  { background: #6B5E80; }
.ad-nc-hero { background: #6A4390; }
.ad-notif-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ad-notif-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.ad-notif-top strong { font-size: 15px; color: var(--brand-title); }
.ad-notif-time { font-size: 13px; }
.ad-notif-msg { font-size: 14px; color: var(--brand-fg); }
.ad-notif-dot { flex: 0 0 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--brand-cta); }

/* ── Configuración ──────────────────────────────────────────────────────── */
.ad-cfg { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: start; }
.ad-cfg-side { display: flex; flex-direction: column; gap: 24px; }
.ad-cfg-full { grid-column: 1 / -1; }
.ad-cfg .ad-card-head .ad-sub { margin: 0; }
.ad-cfg-main .ad-actions-end { margin-top: 24px; }
.ad-file { position: relative; overflow: hidden; }
.ad-file input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 0; }
.ad-file:focus-within { outline: 3px solid var(--brand-cta); outline-offset: 2px; }
.ad-file.is-disabled { opacity: .6; pointer-events: none; }
.ad-logo-box { display: flex; align-items: center; justify-content: center; min-height: 120px; padding: 16px; margin-bottom: 16px; border: 1px dashed var(--brand-border); border-radius: 14px; background: var(--brand-head); }
.ad-logo-box img { max-height: 100px; max-width: 100%; object-fit: contain; }
.ad-logo-empty { text-align: center; }
.ad-logo-empty span { font-size: 40px; }
.ad-logo-empty p { margin: 4px 0 0; font-size: 14px; }
.ad-gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; margin-top: 16px; }
.ad-gal-item { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: var(--brand-head); }
.ad-gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad-gal-x { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: #C03A4D; color: #fff; font-size: 18px; line-height: 1; font-weight: 700; cursor: pointer; }
.ad-gal-x:hover { background: #A52E40; }
.ad-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 20px; }
.ad-stat { padding: 16px; text-align: center; border: 1px solid var(--brand-line); border-radius: 14px; background: var(--brand-head); }
.ad-stat-v { font-size: 26px; font-weight: 800; color: var(--brand-title); }
.ad-stat-l { margin-top: 2px; font-size: 13px; color: var(--brand-muted); }
.ad-stat-warn { border-color: var(--brand-warn-fg); }
.ad-stat-warn .ad-stat-v { color: var(--brand-warn-fg); }
.ad-cfg .ad-alert { margin-bottom: 20px; }
@media (max-width: 900px) { .ad-cfg { grid-template-columns: minmax(0, 1fr); } }
