/* =====================================================================
   Admin GeekHost — acabamento de formulários, botões, filtros e modais.
   Carrega DEPOIS de ui.css. Usa :where() (especificidade zero) para dar
   estilo a qualquer controle "solto" sem brigar com classes explícitas.
   ===================================================================== */

/* ---------- campos ---------- */
:where(.admin-main, .gh-modal) :where(
    input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]):not([type="file"]):not([type="submit"]):not([type="button"]),
    select, textarea) {
    font: inherit; font-size: 14px; line-height: 1.35;
    min-height: 40px; padding: 9px 12px; max-width: 100%;
    border: 1px solid var(--gh-line); border-radius: var(--gh-radius-sm);
    background-color: var(--gh-card); color: var(--gh-ink);
    box-shadow: inset 0 1px 0 rgba(15, 23, 42, .02);
}
:where(.admin-main, .gh-modal) :where(textarea) { min-height: 96px; resize: vertical; width: 100%; }
:where(.admin-main, .gh-modal) :where(input, select, textarea):hover:not(:focus):not([disabled]) { border-color: var(--gh-line-strong); }
:where(.admin-main, .gh-modal) :where(input, select, textarea)[disabled] { opacity: .6; cursor: not-allowed; }

/* select com seta própria (igual nos dois temas) */
:where(.admin-main, .gh-modal, .admin-topbar) select:not([multiple]) {
    -webkit-appearance: none; appearance: none; padding-right: 36px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238592a3' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
}
.admin-period select { min-height: 40px; padding: 8px 36px 8px 12px !important; border-radius: 999px !important; font-weight: 600; font-size: 13px; }

/* data: ícone do calendário visível no escuro */
html[data-theme="dark"] input[type="date"]::-webkit-calendar-picker-indicator,
html[data-theme="dark"] input[type="datetime-local"]::-webkit-calendar-picker-indicator,
html[data-theme="dark"] input[type="month"]::-webkit-calendar-picker-indicator { filter: invert(.8); }

/* arquivo */
:where(.admin-main, .gh-modal) input[type="file"] { font: inherit; font-size: 13px; color: var(--gh-muted); max-width: 100%; }
:where(.admin-main, .gh-modal) input[type="file"]::file-selector-button {
    font: inherit; font-weight: 600; margin-right: 10px; padding: 8px 12px; border-radius: 8px; cursor: pointer;
    border: 1px solid var(--gh-line); background: var(--gh-surface-2); color: var(--gh-ink);
}

/* checkbox / radio maiores e alinhados com o texto */
:where(.admin-main, .gh-modal) input[type="checkbox"], :where(.admin-main, .gh-modal) input[type="radio"] {
    width: 18px; height: 18px; margin: 0; flex: 0 0 auto; cursor: pointer; vertical-align: middle;
}
:where(.admin-main, .gh-modal) label:has(> input[type="checkbox"]), :where(.admin-main, .gh-modal) label:has(> input[type="radio"]) {
    display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 10px;
    font-weight: 500; cursor: pointer; grid-template-columns: none;
}
.admin-switch-row { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 10px 12px; border-radius: var(--gh-radius-sm); background: var(--gh-surface-2); border: 1px solid var(--gh-line); }

/* labels de formulário (bloco) */
:where(.admin-main, .gh-modal) :where(form) > label:not(:has(> input[type="checkbox"])):not(:has(> input[type="radio"])),
:where(.admin-main, .gh-modal) .admin-form-grid > label {
    display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--gh-ink);
}
:where(.admin-main, .gh-modal) label small, .admin-field-hint { font-weight: 400; color: var(--gh-muted); font-size: 12px; }

/* ---------- botões sem classe ---------- */
:where(.admin-main, .gh-modal) :where(button, input[type="submit"], input[type="button"]):not([class*="gh-"]):not([class*="admin-icon"]):not(.gh-modal-x):not(.theme-toggle):not([data-theme-toggle]):not(.password-toggle) {
    font: inherit; font-size: 13px; font-weight: 600; line-height: 1.2;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 34px; padding: 7px 12px; border-radius: 9px; cursor: pointer; white-space: nowrap;
    border: 1px solid var(--gh-line); background: var(--gh-card); color: var(--gh-ink);
    transition: background-color .15s, border-color .15s, transform .12s, box-shadow .15s;
}
:where(.admin-main, .gh-modal) :where(button, input[type="submit"]):not([class*="gh-"]):hover:not([disabled]) { background: var(--gh-surface-2); border-color: var(--gh-line-strong); }
:where(.admin-main, .gh-modal) :where(button):not([class*="gh-"]):active:not([disabled]) { transform: scale(.97); }
:where(.admin-main, .gh-modal) button.is-primary { background: linear-gradient(135deg, #22ee6e, var(--gh-green)); border-color: transparent; color: var(--gh-on-green); }
:where(.admin-main, .gh-modal) button.is-danger { color: var(--gh-danger); border-color: var(--gh-danger-line); background: var(--gh-danger-soft); }
:where(.admin-main, .gh-modal) button.is-danger:hover { background: var(--gh-danger); color: #fff; border-color: var(--gh-danger); }
.admin-main button i[data-lucide], .admin-main .gh-btn i[data-lucide], .gh-modal button i[data-lucide] { width: 16px; height: 16px; }
.gh-btn { min-height: 40px; justify-content: center; }
.gh-btn-sm, .admin-main .gh-btn.gh-btn-sm { min-height: 32px; padding: 6px 10px; font-size: 12px; }
.is-loading { pointer-events: none; opacity: .75; position: relative; }
.is-loading::after {
    content: ""; width: 14px; height: 14px; border-radius: 50%; margin-left: 6px;
    border: 2px solid currentColor; border-right-color: transparent; animation: gh-spin .7s linear infinite;
}
@keyframes gh-spin { to { transform: rotate(360deg); } }

/* Botão de enviar de formulário não estica a largura toda */
:where(.admin-main, .gh-modal) :where(form) > :is(button, .gh-btn) { justify-self: start; width: auto; }
.admin-form-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; align-items: center; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--gh-line); }
.admin-form-actions .gh-btn { min-width: 120px; }

/* links soltos */
.admin-main a:not([class]) { color: var(--gh-green-dark); font-weight: 600; text-decoration: none; }
.admin-main a:not([class]):hover { text-decoration: underline; }

/* ---------- barra de ferramentas do título e filtros ---------- */
.admin-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; margin: -4px 0 16px; }
.admin-filters {
    display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
    padding: 10px; border-radius: var(--gh-radius); background: var(--gh-card);
    border: 1px solid var(--gh-line); box-shadow: var(--gh-shadow); margin-bottom: 14px;
}
.admin-filters > input[type="search"], .admin-filters > input[name="q"] { flex: 1 1 240px; min-width: 0; }
.admin-filters > select { flex: 0 1 190px; }
.admin-filters > input[type="date"] { flex: 0 1 160px; }
.admin-filters .gh-btn, .admin-filters button { min-height: 40px; }
.admin-filters .admin-flag { margin-left: auto; padding: 0 6px; }

/* ---------- linhas de ação em tabelas ---------- */
.admin-row-actions { align-items: center; }
.admin-row-actions :is(button, a) { min-height: 32px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.admin-row-actions input:not([type="hidden"]) { min-height: 32px !important; padding: 6px 10px !important; font-size: 13px !important; }
.admin-actions-cell { white-space: nowrap; text-align: right; }
.admin-table td form { margin: 0; }

/* menu "Mais ações" (details) */
.admin-menu { position: relative; display: inline-block; }
.admin-menu > summary {
    list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 32px; padding: 6px 10px; border-radius: 9px; font-size: 13px; font-weight: 600;
    border: 1px solid var(--gh-line); background: var(--gh-card); color: var(--gh-ink); user-select: none;
}
.admin-menu > summary::-webkit-details-marker { display: none; }
.admin-menu > summary:hover, .admin-menu[open] > summary { background: var(--gh-surface-2); border-color: var(--gh-line-strong); }
.admin-menu-list {
    position: absolute; right: 0; top: calc(100% + 6px); z-index: 25; min-width: 230px; padding: 6px;
    background: var(--gh-card); border: 1px solid var(--gh-line); border-radius: 12px; box-shadow: var(--gh-shadow-lg);
    display: grid; gap: 2px; animation: gh-pop .16s var(--gh-ease);
}
.admin-menu-list form { display: contents; }
.admin-menu-list :is(button, a) {
    all: unset; box-sizing: border-box; display: flex !important; align-items: center; gap: 10px; width: 100%;
    padding: 9px 10px; border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--gh-ink); cursor: pointer;
}
.admin-menu-list :is(button, a):hover { background: var(--gh-surface-2); }
.admin-menu-list :is(button, a).is-danger { color: var(--gh-danger); }
.admin-menu-list :is(button, a).is-danger:hover { background: var(--gh-danger-soft); }
.admin-menu-list hr { border: 0; border-top: 1px solid var(--gh-line); margin: 4px 2px; }
.admin-menu-list i[data-lucide] { width: 16px; height: 16px; color: var(--gh-muted); }
@keyframes gh-pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- modal ---------- */
dialog.gh-modal {
    border: 0; padding: 0; background: transparent; color: var(--gh-ink);
    width: min(640px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 32px); overflow: visible;
}
dialog.gh-modal.is-lg { width: min(880px, calc(100vw - 24px)); }
dialog.gh-modal.is-sm { width: min(440px, calc(100vw - 24px)); }
dialog.gh-modal::backdrop { background: rgba(6, 10, 15, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
dialog.gh-modal[open] { animation: gh-modal-in .22s var(--gh-ease); }
@keyframes gh-modal-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.gh-modal-card {
    display: flex; flex-direction: column; max-height: calc(100dvh - 32px);
    background: var(--gh-card); border: 1px solid var(--gh-line); border-radius: 20px; box-shadow: var(--gh-shadow-lg); overflow: hidden;
}
.gh-modal-head {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
    padding: 18px 20px 14px; border-bottom: 1px solid var(--gh-line);
    background: linear-gradient(180deg, var(--gh-green-soft), transparent);
}
.gh-modal-head h2 { margin: 0; font-size: 18px; letter-spacing: -.01em; }
.gh-modal-head p { margin: 4px 0 0; color: var(--gh-muted); font-size: 13px; line-height: 1.5; }
.gh-modal-x {
    flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--gh-line);
    background: var(--gh-card); color: var(--gh-muted); font-size: 22px; line-height: 1; cursor: pointer;
}
.gh-modal-x:hover { color: var(--gh-ink); background: var(--gh-surface-2); }
.gh-modal-body { padding: 18px 20px 20px; overflow: auto; }
.gh-modal-body form { display: grid; gap: 14px; }
.gh-modal-body .admin-form-grid { margin: 0; align-items: start; }
.gh-modal-body .admin-checks { padding: 10px; border-radius: var(--gh-radius-sm); background: var(--gh-surface-2); border: 1px solid var(--gh-line); }
.gh-modal-body :where(input, select, textarea):not([type="checkbox"]):not([type="radio"]) { width: 100%; }
.gh-modal-confirm p { margin: 0 0 6px; line-height: 1.55; }
html.has-modal, html.has-modal body { overflow: hidden; }
@media (max-width: 560px) {
    dialog.gh-modal { width: 100vw; max-height: 100dvh; margin: auto 0 0; }
    .gh-modal-card { border-radius: 20px 20px 0 0; max-height: 92dvh; }
    dialog.gh-modal[open] { animation-name: gh-sheet-in; }
    @keyframes gh-sheet-in { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
    .admin-form-actions { justify-content: stretch; }
    .admin-form-actions .gh-btn { flex: 1 1 auto; }
}

/* ---------- vazio / alertas ---------- */
.admin-empty-state { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 32px 16px; color: var(--gh-muted); }
.admin-empty-state i[data-lucide] { width: 34px; height: 34px; color: var(--gh-line-strong); }
.admin-empty-state strong { color: var(--gh-ink); font-size: 15px; }
.gh-alert-warn { border-color: var(--gh-warn-line) !important; background: var(--gh-warn-soft) !important; color: var(--gh-ink); }
.gh-alert-ok { border-color: var(--gh-ok-line) !important; background: var(--gh-ok-soft) !important; }
.admin-provision-alert { align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 16px; }
.admin-provision-alert form { margin: 0; }
.admin-status-line { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* ---------- contas de hospedagem (lista) ---------- */
.admin-account-cell { display: grid; gap: 2px; }
.admin-account-cell code { font-size: 13px; font-weight: 700; }
.admin-account-cell small { color: var(--gh-muted); }

/* ---------- topo: papel traduzido, Sair ---------- */
.admin-account-btn small { text-transform: none; }

/* ---------- celular ---------- */
@media (max-width: 760px) {
    .admin-main { padding: 14px; }
    .admin-page-head h1 { font-size: 22px; }
    .admin-toolbar { justify-content: stretch; margin-top: 0; }
    .admin-toolbar > * { flex: 1 1 auto; }
    .admin-filters > * { flex: 1 1 100% !important; }
    .admin-filters .admin-flag { margin-left: 0; }
    .admin-menu-list { position: fixed; left: 12px; right: 12px; top: auto; bottom: 12px; min-width: 0; }
    .admin-tabs { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; }
    .admin-tabs a { white-space: nowrap; }
}

/* KPIs: selo de situação não estica */
.admin-kpi span.admin-badge { display: inline-flex; width: auto; margin: 2px 0 0; }
/* Tamanho de texto dos botões do admin padronizado */
.admin-main .gh-btn, .gh-modal .gh-btn, .admin-topbar .gh-btn { font-size: 14px; }
.admin-details > summary { font-size: 14px; }

/* ---------- Base de conhecimento (admin) ---------- */
.admin-row-saved td { animation: admin-saved 2.4s var(--gh-ease) both; }
@keyframes admin-saved { 0%, 40% { background: var(--gh-ok-soft); } 100% { background: transparent; } }
.admin-votes { display: inline-flex; gap: 10px; font-weight: 700; font-size: 13px; white-space: nowrap; }
.admin-votes .is-yes { color: var(--gh-ok); }
.admin-votes .is-no { color: var(--gh-danger); }
.admin-kb-comments { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.admin-kb-comments li { padding: 12px 14px; border-radius: var(--gh-radius-sm); background: var(--gh-surface-2); border: 1px solid var(--gh-line); }
.admin-kb-comments p { margin: 0 0 4px; color: var(--gh-ink); }
.admin-kb-comments small { color: var(--gh-muted); }
.admin-kb-help { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: -6px; color: var(--gh-muted); font-size: 12px; }
.admin-kb-help code { padding: 1px 6px; border-radius: 6px; background: var(--gh-surface-2); border: 1px solid var(--gh-line); color: var(--gh-ink); font-size: 12px; }
.admin-kb-words { margin-left: auto; font-weight: 700; color: var(--gh-ink); }
.gh-modal-body textarea[data-kb-body] { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; line-height: 1.6; min-height: 320px; }

/* ---------- Leads e recuperação de vendas ---------- */
.admin-pipeline { display: flex; gap: 6px; margin: 0 0 12px; padding: 6px; overflow-x: auto; border-radius: 999px; background: var(--gh-card); border: 1px solid var(--gh-line); box-shadow: var(--gh-shadow); scrollbar-width: thin; }
.admin-pipeline-step { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; color: var(--gh-muted); font-size: 13px; font-weight: 700; white-space: nowrap; transition: background-color .15s, color .15s; }
.admin-pipeline-step b { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--gh-surface-2); color: var(--gh-ink); font-size: 12px; text-align: center; }
.admin-pipeline-step:hover { color: var(--gh-ink); background: var(--gh-surface-2); }
.admin-pipeline-step.is-active { background: var(--gh-ink); color: var(--gh-card); }
.admin-pipeline-step.is-active b { background: var(--gh-green, #01e04f); color: #04210f; }
.admin-pipeline-step.stage-convertido.is-active { background: var(--gh-ok); }
.admin-pipeline-step.stage-perdido.is-active { background: var(--gh-danger); }
:where(.admin-main, .gh-modal) button.is-whats { background: #25d366; border-color: #25d366; color: #fff; }
:where(.admin-main, .gh-modal) button.is-whats:hover { background: #1ebe5b !important; border-color: #1ebe5b !important; color: #fff; }
.admin-fieldset { margin: 0; padding: 14px 16px 16px; border: 1px solid var(--gh-line); border-radius: var(--gh-radius-sm); display: grid; gap: 10px; }
.admin-fieldset legend { padding: 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--gh-muted); }
.admin-fieldset .admin-form-grid { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.lead-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 14px; color: var(--gh-muted); font-size: 14px; }
.lead-head b { color: var(--gh-ink); }
.lead-head form { margin-left: auto; }
.lead-box { padding: 16px; border-radius: var(--gh-radius-sm); border: 1px solid var(--gh-line); background: var(--gh-surface-2); margin-bottom: 12px; }
.lead-box h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 14px; color: var(--gh-ink); }
.lead-box h3 i, .lead-box h3 svg { width: 16px; height: 16px; color: var(--gh-green-dark); }
.lead-box h3 small { font-weight: 500; color: var(--gh-muted); }
.lead-box p { margin: 0 0 10px; color: var(--gh-muted); font-size: 13px; }
.lead-card-link { background: linear-gradient(120deg, var(--gh-green-soft), var(--gh-surface-2) 70%); border-color: var(--gh-ok-line, var(--gh-line)); }
.lead-link-copy { display: flex; gap: 6px; margin-bottom: 10px; }
.lead-link-copy input { flex: 1; min-width: 0; font-family: ui-monospace, monospace; font-size: 12px !important; }
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead-grid .lead-box { margin: 0; }
.lead-stage-form { display: grid; gap: 8px; }
.lead-stage-form > button { justify-self: start; }
.lead-stages { display: flex; flex-wrap: wrap; gap: 6px; }
.lead-stage { display: inline-flex !important; gap: 0 !important; }
.lead-stage input { position: absolute; opacity: 0; pointer-events: none; }
.lead-stage span { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--gh-line); background: var(--gh-card); font-size: 12px; font-weight: 700; color: var(--gh-muted); cursor: pointer; transition: all .15s; }
.lead-stage input:checked + span { background: var(--gh-ink); border-color: var(--gh-ink); color: var(--gh-card); }
.lead-stage.stage-convertido input:checked + span { background: var(--gh-ok); border-color: var(--gh-ok); color: #fff; }
.lead-stage.stage-perdido input:checked + span { background: var(--gh-danger); border-color: var(--gh-danger); color: #fff; }
.lead-stage input:focus-visible + span { outline: 2px solid var(--gh-green, #01e04f); outline-offset: 2px; }
.lead-timeline { list-style: none; margin: 0; padding: 0; max-height: 320px; overflow: auto; display: grid; gap: 0; }
.lead-timeline li { position: relative; display: grid; grid-template-columns: 14px 1fr; gap: 10px; padding: 0 0 12px; }
.lead-timeline li::before { content: ""; position: absolute; left: 6px; top: 14px; bottom: 0; width: 2px; background: var(--gh-line); }
.lead-timeline li:last-child::before { display: none; }
.lead-dot { width: 14px; height: 14px; margin-top: 3px; border-radius: 50%; background: var(--gh-card); border: 3px solid var(--gh-line-strong); position: relative; z-index: 1; }
.lead-timeline .ev-checkout_error .lead-dot, .lead-timeline .ev-order_unpaid .lead-dot { border-color: var(--gh-danger); }
.lead-timeline .ev-converted .lead-dot { border-color: var(--gh-ok); background: var(--gh-ok); }
.lead-timeline .ev-whatsapp .lead-dot { border-color: #25d366; }
.lead-timeline .ev-link .lead-dot, .lead-timeline .ev-link_opened .lead-dot, .lead-timeline .ev-email .lead-dot { border-color: var(--gh-green, #01e04f); }
.lead-timeline p { margin: 0 !important; color: var(--gh-ink) !important; font-size: 13px !important; }
.lead-timeline small { color: var(--gh-muted); font-size: 12px; }
.lead-data summary { cursor: pointer; list-style: none; }
.lead-data summary::-webkit-details-marker { display: none; }
.lead-data[open] summary { margin-bottom: 10px; }
.lead-tech code { word-break: break-word; }
@media (max-width: 760px) {
    .lead-grid { grid-template-columns: 1fr; }
    .lead-head form { margin-left: 0; }
    .admin-pipeline { border-radius: 14px; }
}
.admin-pipeline-step, .admin-pipeline-step:hover { text-decoration: none !important; }
.gh-modal-body form.admin-row-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-reason { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 320px; }
.admin-main button.is-whats, .gh-modal button.is-whats { background: #25d366 !important; border-color: #25d366 !important; color: #fff !important; }
.admin-main button.is-whats:hover, .gh-modal button.is-whats:hover { background: #1ebe5b !important; }

/* ---------- Status dos serviços (admin/status) ---------- */
.admin-status-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px 14px; }
.admin-status-checks label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.admin-status-incidents { display: grid; gap: 12px; padding: 4px 0; }
.admin-status-incident { display: grid; gap: 10px; padding: 14px 16px; border: 1px solid var(--gh-line); border-left: 4px solid var(--gh-warn, #f5b301); border-radius: var(--gh-radius-sm); background: var(--gh-surface-2); }
.admin-status-incident p { margin: 6px 0 0; font-size: 13px; color: var(--gh-ink); }
.admin-status-update { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.admin-status-bars { display: flex; gap: 2px; height: 22px; min-width: 150px; margin-bottom: 4px; }
.admin-status-bars i { flex: 1; min-width: 3px; border-radius: 2px; background: var(--gh-line); }
.admin-status-bars i.is-operational { background: #01e152; }
.admin-status-bars i.is-degraded { background: #f5b301; }
.admin-status-bars i.is-down { background: #f0453a; }
@media (max-width: 760px) {
    .admin-status-update { grid-template-columns: 1fr; }
}
