@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap');
:root {
    --bg-page: #ffffff;
    --cream: #f4f2e8;
    --cream-alt: #f9f7ef;
    --navy: #16233d;
    --gold: #af8428;
    --red: #c63828;
    --green: #2f8f52;
    --tx-main: #232323;
    --tx-muted: #8a919e;
    --border: #e9e4d8;
}
* { box-sizing: border-box; }
body { font-family: 'DM Sans', sans-serif; background: #eceae3; color: var(--tx-main); margin: 0; padding: 24px 0; font-size: 15px; }
.page { max-width: 900px; margin: 0 auto; background: var(--bg-page); border-radius: 6px; box-shadow: 0 1px 8px rgba(0,0,0,0.06); overflow: hidden; }
.page-inner { padding: 30px 40px 10px; }
.header-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.logo-img { height: 130px; width: auto; display: block; }
.header-right { text-align: right; }
.acioly-logo { height: 74px; width: auto; margin-bottom: 10px; }
.eyebrow { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; margin-bottom: 4px; }
.header-date { color: var(--tx-muted); font-size: 13px; margin-top: 2px; }
.title-row { margin-top: 18px; }
.title-row h1 { margin: 0; font-size: 28px; font-weight: 800; color: var(--tx-main); line-height: 1.15; }
.title-row p { margin: 4px 0 0; font-size: 14px; color: var(--tx-muted); }
hr.divider { border: none; border-top: 1px solid var(--border); margin: 18px 0; }
.badge-pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--gold); background: var(--cream); color: var(--gold); border-radius: 20px; padding: 7px 16px; font-size: 12px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; }
.controls-bar { margin: 18px 0 6px; padding: 12px 16px; background: #fbfaf7; border: 1px solid var(--border); border-radius: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between; }
.controls-left { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.control-group { display: flex; align-items: center; gap: 8px; }
.control-group label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--tx-muted); }
.control-group select { font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600; color: var(--tx-main); padding: 8px 12px; border-radius: 5px; border: 1px solid var(--border); background: #fff; cursor: pointer; min-width: 210px; }
.status-ms { position: relative; }
.status-ms-btn { font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600; color: var(--tx-main); padding: 8px 12px; border-radius: 5px; border: 1px solid var(--border); background: #fff; cursor: pointer; min-width: 210px; text-align: left; display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; }
.status-ms-btn::after { content: "▾"; color: var(--tx-muted); font-size: 11px; }
/* position:fixed + centralizado por transform (não mais position:absolute ancorado no botão) —
   pedido explícito do usuário ("aumente esses menus para preencher toda a tela de cada
   dispositivo"), e de quebra resolve de vez um bug real: um painel ancorado por posição relativa
   ao botão, com uma lista longa (ex.: ~105 fornecedores no painel Beta), podia abrir cortado por
   qualquer ancestral com altura/scroll próprios (aqui, .admin-card) sem nenhum jeito de rolar até
   ele — mesma causa-raiz já corrigida antes no overlay do hub de login (ver .login-overlay).
   position:fixed é sempre relativo ao viewport, nunca a um ancestral — testado ao vivo (mobile e
   desktop) antes de aplicar. */
.status-ms-panel {
  display: none;
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 200;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.3);
  padding: 14px;
  width: min(96vw, 340px);
  max-height: 92vh;
  overflow-y: auto;
  flex-direction: column;
}
.status-ms-panel.open { display: flex; }
/* .ms-search-panel = variante com busca (fornecedor/varejo/vendedor/loja, listas grandes,
   3-100+ itens) — essa sim precisa preencher quase a tela toda; a variante simples sem busca
   (ex.: filtro de Status, só 4 opções fixas) fica no tamanho pequeno acima, não faz sentido ela
   virar uma caixa gigante quase vazia. */
.ms-search-panel { width: min(96vw, 900px); }
.status-ms-panel label.status-ms-option { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 4px; font-size: 13.5px; font-weight: 500; text-transform: none; letter-spacing: normal; color: var(--tx-main); cursor: pointer; white-space: nowrap; }
.status-ms-panel label.status-ms-option:hover { background: var(--cream-alt); }
.status-ms-option input { cursor: pointer; accent-color: var(--gold); }
.ms-search-widget .status-ms-btn { min-width: 220px; }
.ms-search-input { width: 100%; box-sizing: border-box; font-family: 'DM Sans', sans-serif; font-size: 13px; padding: 7px 10px; border-radius: 4px; border: 1px solid var(--border); margin-bottom: 6px; }
.ms-search-input:focus { outline: none; border-color: var(--gold); }
.ms-actions { display: flex; justify-content: flex-end; margin-bottom: 4px; }
.ms-action-btn { font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 700; color: var(--gold); background: none; border: none; cursor: pointer; padding: 2px 4px; text-transform: none; letter-spacing: normal; }
.ms-action-btn:hover { text-decoration: underline; }
.ms-options { flex: 1 1 auto; min-height: 0; max-height: none; overflow-y: auto; }
.ms-options .status-ms-option.ms-hidden { display: none; }
.ms-empty-msg { padding: 8px; font-size: 12.5px; color: var(--tx-muted); font-style: italic; text-align: center; }
.export-actions { display: flex; align-items: center; gap: 8px; }
button#btnPdf, button#btnPrint { font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 700; border-radius: 5px; cursor: pointer; padding: 10px 18px; }
button#btnPdf { color: #fff; background: var(--navy); border: none; }
button#btnPdf:hover { background: #1f3252; }
button#btnPdf:disabled { opacity: 0.65; cursor: wait; }
button#btnPrint { color: var(--navy); background: #fff; border: 1px solid var(--navy); }
button#btnPrint:hover { background: var(--cream-alt); }
button#btnClearFilters { color: var(--tx-muted); background: #fff; border: 1px solid var(--border); }
button#btnClearFilters:hover { background: var(--cream-alt); color: var(--tx-main); }
body.pdf-exporting .controls-bar { display: none !important; }
body.pdf-exporting details:not([open]) > *:not(summary) { display: none !important; }
.kpi-box { margin-top: 18px; background: var(--cream); border-radius: 6px; padding: 20px 24px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-left: 5px solid var(--red); }
.kpi-box.on-target { border-left-color: var(--green); }
.kpi-left { display: flex; flex-direction: column; gap: 4px; min-width: 240px; }
.kpi-line { display: flex; align-items: baseline; gap: 10px; }
.kpi-label { font-size: 14px; font-weight: 700; color: var(--tx-main); min-width: 120px; }
.kpi-value { font-size: 17px; font-weight: 800; color: var(--tx-main); }
.kpi-value.green { color: var(--green); }
.kpi-value.red { color: var(--red); }
.kpi-sub { font-size: 11.5px; color: var(--tx-muted); margin: -1px 0 6px 0; }
.dot-red { width: 8px; height: 8px; border-radius: 50%; background: var(--red); display: inline-block; }
.dot-green { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; }
.kpi-right { text-align: right; min-width: 130px; }
.big-pct { font-size: 42px; font-weight: 800; line-height: 1; }
.big-pct.green { color: var(--green); }
.big-pct.red { color: var(--red); }
.pct-label { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-top: 4px; }
.pct-label.green { color: var(--green); }
.pct-label.red { color: var(--red); }
.premissas-kpi { margin-top: 12px; font-size: 12px; color: var(--tx-muted); line-height: 1.5; }
.premissas-kpi .count-ok { font-weight: 800; color: var(--tx-main); }
.premissas-kpi .count-missing { font-weight: 800; color: var(--red); }
.premissas-flag { display: inline-flex; align-items: center; gap: 5px; background: #e2f2e7; color: var(--green); font-weight: 800; font-size: 11.5px; padding: 5px 12px; border-radius: 999px; }
.premissas-note { margin-top: 14px; font-size: 11.5px; color: var(--tx-muted); }
.progress-track { margin-top: 14px; background: #eae5db; border-radius: 5px; height: 12px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 5px; transition: width 0.3s ease; }
.content-inner { padding: 6px 40px 30px; }
.varejo-block { margin-top: 22px; border-radius: 6px; overflow: hidden; border: 1px solid var(--border); }
.varejo-header { background: var(--navy); color: #fff; padding: 10px 18px; font-weight: 700; font-size: 14px; letter-spacing: 0.4px; }
.tbl { display: flex; flex-direction: column; }
.tr { display: grid; grid-template-columns: 2.1fr 1fr 1fr 1fr 0.8fr; align-items: center; border-bottom: 1px solid var(--border); }
.tr:nth-child(even):not(.header-r):not(.fechamento-row) { background: var(--cream-alt); }
.tr.header-r { background: #fff; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; color: var(--tx-muted); }
.tr.fechamento-row { background: var(--cream); font-weight: 800; border-top: 2px solid var(--navy); }
.td { padding: 10px 14px; font-size: 13.5px; text-align: right; }
.td.tx-l { text-align: left; }
.gap-pos { color: var(--green); font-weight: 700; }
.gap-neg { color: var(--red); font-weight: 700; }
.pct-pos { color: var(--green); font-weight: 800; }
.pct-neg { color: var(--red); font-weight: 800; }
.tr.excluded-row .note { grid-column: 2 / 6; text-align: right; color: var(--tx-muted); font-style: italic; font-size: 12.5px; padding: 11px 18px; }

.view-toggle { display: inline-flex; border: 1px solid var(--border); border-radius: 5px; overflow: hidden; }
.view-toggle-btn { font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600; color: var(--tx-muted); background: #fff; border: none; padding: 8px 14px; cursor: pointer; white-space: nowrap; }
.view-toggle-btn + .view-toggle-btn { border-left: 1px solid var(--border); }
.view-toggle-btn.active { background: var(--navy); color: #fff; font-weight: 700; }
.view-toggle-btn:hover:not(.active) { background: var(--cream-alt); }
summary.row-summary { cursor: pointer; list-style: none; }
summary.row-summary::-webkit-details-marker { display: none; }
.sub-tbl { margin: 0 18px 8px 40px; border-left: 2px solid var(--border); padding-left: 12px; }
.sub-tr { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 4px; font-size: 12.5px; color: var(--tx-main); }
.sub-tr-clickable { cursor: pointer; }
.sub-name { color: var(--tx-muted); }
.sub-val { font-weight: 600; white-space: nowrap; color: var(--tx-main); }
.sub-empty { margin: 0 18px 8px 40px; padding: 6px 4px; font-size: 12px; color: var(--tx-muted); font-style: italic; }
.sub-group-label { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.3px; color: var(--gold); padding: 8px 4px 3px; }
.sub-group-label:first-child { padding-top: 4px; }
.tr-detail .td { font-size: 12.5px; padding: 8px 14px; }
.tr-detail .td.tx-l { font-weight: 500; }
.row-details-nested > summary.sub-tr { list-style: none; }
.row-details-nested > summary.sub-tr::-webkit-details-marker { display: none; }
.premissas-empty { padding: 24px; text-align: center; color: var(--tx-muted); font-style: italic; }
.footer { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--tx-muted); margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--border); }
.disclaimer { background: var(--cream); color: var(--tx-muted); font-size: 11px; text-align: center; padding: 8px; }
.page-premissas { margin-top: 24px; }
.premissas-title h2 { margin: 18px 0 4px; font-size: 22px; font-weight: 800; color: var(--navy); }
.premissas-title p { margin: 0; font-size: 13px; color: var(--tx-muted); }
.tr-p { display: grid; grid-template-columns: 1fr 2.9fr 0.6fr 0.85fr 0.7fr 0.85fr; border-bottom: 1px solid var(--border); align-items: center; }
.tr-p.table-header-row { background: #fff; }
.tr-p .td { padding: 11px 10px; text-align: right; font-size: 12.5px; color: var(--tx-main); min-width: 0; overflow-wrap: break-word; white-space: normal; }
.tr-p .td.tx-l { text-align: left; font-weight: 600; }
.tr-p .td.th { color: var(--tx-muted); font-weight: 700; font-size: 9.5px; text-transform: uppercase; padding: 12px 8px; letter-spacing: 0.2px; text-align: right; white-space: nowrap; min-width: 0; }
.tr-p .td.th.tx-l { text-align: left; }

.badge { display: inline-block; padding: 4px 11px; border-radius: 12px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px; white-space: nowrap; }
.badge-g { background: #e2f2e7; color: var(--green); }
.badge-a { background: #faf0dc; color: var(--gold); }
.badge-r { background: #fbe5e2; color: var(--red); }
summary.tr-p { cursor: pointer; list-style: none; }
summary.tr-p::-webkit-details-marker { display: none; }
.arr { display: inline-block; margin-right: 6px; color: var(--gold); font-size: 10px; transition: transform 0.15s ease; }
details[open] .arr { transform: rotate(90deg); }
details > .tr-p { background: var(--cream-alt); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 0; text-align: left; }
.chip { font-size: 11.5px; line-height: 1.55; padding: 8px 12px; border-radius: 6px; background: #fff; border: 1px solid var(--border); max-width: 230px; text-align: left; }
.chip-g { border-left: 3px solid var(--green); }
.chip-a { border-left: 3px solid var(--gold); }
.chip-r { border-left: 3px solid var(--red); }
.chip-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.2px; color: var(--tx-main); margin-bottom: 4px; }

.prod-details { margin-top: 6px; }
.prod-summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; font-size: 12px; color: var(--gold); font-weight: 700; }
.prod-summary::-webkit-details-marker { display: none; }
.prod-details[open] .prod-summary .arr { transform: rotate(90deg); }
.prod-list { margin-top: 4px; }
.prod-item { font-size: 12px; color: var(--tx-muted); padding: 1px 0; }

@media print {
  html, body { background: #fff; padding: 0; margin: 0; }
  .page { max-width: none; box-shadow: none; border-radius: 0; margin: 0; }
  .page-inner { padding: 0 4mm 6px; }
  .content-inner { padding: 6px 4mm 10px; }
  .controls-bar, .export-actions { display: none !important; }
  .page-premissas { margin-top: 0; page-break-before: always; break-before: page; }
  #sessionBar, .login-overlay { display: none !important; }
}

/* ===== Login / controle de acesso / painel admin ===== */
#appContent { display: none; }
#sessionBar { display: none; position: sticky; top: 0; z-index: 40; background: var(--navy); color: #fff; }
.session-bar-inner { max-width: 900px; margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.session-left { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.session-role-badge { background: var(--gold); color: var(--navy); font-weight: 800; font-size: 11px; letter-spacing: 0.5px; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.session-right { display: flex; gap: 8px; }
.session-btn { font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 700; border-radius: 5px; cursor: pointer; padding: 8px 14px; border: 1px solid rgba(255,255,255,0.35); background: rgba(255,255,255,0.08); color: #fff; }
.session-btn:hover { background: rgba(255,255,255,0.18); }
.session-btn-ghost { background: transparent; }
/* overflow-y:auto (em vez de só align-items:center) + margin:auto 0 no cartão — com poucos itens
   centraliza igual antes; com a lista de menus (.hub-card) mais alta que a tela (achado real: o
   botão "Sair" existia mas ficava cortado, invisível, com align-items:center sem scroll nenhum),
   ancora no topo e deixa rolar até o fim, nunca escondendo nada abaixo da dobra. */
.login-overlay { display: none; position: fixed; inset: 0; z-index: 100; background: rgba(22,35,61,0.75); justify-content: center; padding: 20px; overflow-y: auto; }
.login-card { background: #fff; border-radius: 8px; padding: 36px 34px; width: 100%; max-width: 380px; box-shadow: 0 12px 40px rgba(0,0,0,0.25); margin: auto 0; }
.login-logo { display: block; height: 78px; width: auto; max-width: 100%; margin: 0 auto 20px; }
.login-eyebrow { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; margin-bottom: 8px; }
.login-title { margin: 0 0 4px; font-size: 20px; font-weight: 800; color: var(--navy); line-height: 1.25; }
.login-sub { margin: 0 0 22px; font-size: 13px; color: var(--tx-muted); }
.login-field { margin-bottom: 14px; display: flex; flex-direction: column; gap: 5px; }
.login-field label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--tx-muted); }
.login-field input, .login-field select { font-family: 'DM Sans', sans-serif; font-size: 14px; padding: 9px 12px; border-radius: 5px; border: 1px solid var(--border); }
.login-field input:focus, .login-field select:focus { outline: none; border-color: var(--gold); }
.checkbox-field label { display: flex; align-items: center; gap: 8px; text-transform: none; font-size: 13.5px; font-weight: 600; color: var(--tx-main); }
.login-error { background: #fbe9e7; color: var(--red); border: 1px solid #f3c9c2; font-size: 12.5px; font-weight: 600; padding: 9px 12px; border-radius: 5px; margin-bottom: 12px; }
.login-btn { width: 100%; font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 700; color: #fff; background: var(--navy); border: none; border-radius: 5px; padding: 11px; cursor: pointer; }
.login-btn:hover { background: #1f3252; }
/* Menu de sistemas em grade (pedido do usuário): ocupa a largura da tela e quebra em quantas colunas couberem;
   no celular cai pra 1 coluna sozinho (auto-fill + minmax). */
.hub-card { max-width: 960px; text-align: center; }
.hub-menu-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.hub-menu-item { display: block; text-align: left; padding: 18px 20px; border: 1px solid var(--border); border-radius: 8px; text-decoration: none; color: var(--tx-main); transition: 0.15s; }
/* "Sair" do menu inicial: os .session-btn são brancos (feitos pra barra escura) e sumiam no cartão branco. */
.hub-logout { display: block; margin: 22px auto 0; min-width: 160px; font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 700; color: var(--navy); background: #fff; border: 1.5px solid var(--navy); border-radius: 6px; padding: 10px 28px; cursor: pointer; transition: 0.15s; }
.hub-logout:hover { background: var(--navy); color: #fff; }
.hub-menu-item:hover { border-color: var(--gold); background: var(--cream-alt); }
.hub-menu-item .hub-menu-title { font-weight: 800; color: var(--navy); font-size: 15px; }
.hub-menu-item .hub-menu-desc { font-size: 12.5px; color: var(--tx-muted); margin-top: 2px; }
.admin-card { background: #fff; border-radius: 8px; width: 100%; max-width: 920px; max-height: 88vh; overflow-y: auto; box-shadow: 0 12px 40px rgba(0,0,0,0.25); }
.admin-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 26px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: #fff; z-index: 2; }
.admin-header h2 { margin: 0; font-size: 19px; color: var(--navy); }
.admin-close { border: none; background: none; font-size: 18px; cursor: pointer; color: var(--tx-muted); }
.admin-tabs { display: flex; gap: 4px; padding: 14px 26px 0; border-bottom: 1px solid var(--border); }
.admin-tab { font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 700; color: var(--tx-muted); background: none; border: none; padding: 8px 14px; cursor: pointer; border-bottom: 2px solid transparent; text-decoration: none; display: inline-block; }
.admin-tab.active { color: var(--navy); border-bottom-color: var(--gold); }
/* Painel do Administrador como página de verdade (não mais pop-up). As regras .admin-card/
   .admin-header/.admin-tabs/.admin-body acima foram feitas pra um diálogo estreito (.admin-overlay)
   — reaproveitadas aqui, mas o "cartão dentro do cartão" (sombra + borda arredondada do .admin-card
   por cima da sombra do .page que já envolve a página toda) e o padding duplicado (do .page-inner +
   do .admin-header/.admin-tabs/.admin-body) deixavam a tela com aparência bagunçada — corrigido
   abaixo removendo a "caixa" duplicada e o padding lateral redundante. */
.admin-page-card { max-height: none; overflow: visible; margin: 0; background: transparent; box-shadow: none; border-radius: 0; }
.admin-page-card .admin-header { padding: 0 0 16px; position: static; background: transparent; }
.admin-page-card .admin-tabs { padding: 0; margin-bottom: 22px; flex-wrap: wrap; }
.admin-page-card .admin-warning { margin: 14px 0 0; }
.admin-page-card .admin-body { padding: 20px 0 0; }
.admin-page-card .admin-import-box { padding: 20px 0 0; }
/* Página própria (não precisa caber nos 900px do dashboard da campanha) — mais largura pra tabela
   de usuários/cargos e o formulário ficarem lado a lado sem espremer. */
.admin-page-wide { max-width: 1180px; }
/* Sem isso, uma tabela larga (muitas colunas) força a coluna do grid a crescer além do 1.3fr e
   empurra o formulário da direita pra fora da tela — item de grid não encolhe abaixo do tamanho do
   conteúdo por padrão (mesmo motivo do comentário em .shell > main acima). A tabela ganha sua própria
   rolagem horizontal em vez de estourar o layout. */
.admin-users-list { min-width: 0; overflow-x: auto; }
.admin-warning { margin: 14px 26px 0; font-size: 12.5px; color: var(--tx-muted); background: var(--cream); border-radius: 5px; padding: 10px 14px; }
.admin-body { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; padding: 20px 26px 26px; }
@media (max-width: 760px) { .admin-body { grid-template-columns: 1fr; } }
.user-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.user-table th, .user-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); }
.user-table th { text-transform: uppercase; font-size: 10.5px; letter-spacing: 0.4px; color: var(--tx-muted); }
.status-active { color: var(--green); font-weight: 700; }
.status-inactive { color: var(--tx-muted); font-weight: 700; }
.user-row-actions { white-space: nowrap; }
.admin-link-btn { font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 700; color: var(--navy); background: none; border: none; cursor: pointer; padding: 2px 4px; }
.admin-link-btn:hover { text-decoration: underline; }
.admin-link-danger { color: var(--red); }
.admin-form-box h3 { margin: 0 0 14px; font-size: 15px; color: var(--navy); }
.admin-vend-checklist { max-height: 180px; overflow-y: auto; border: 1px solid var(--border); border-radius: 5px; padding: 8px; }
.admin-vend-item { display: block; font-size: 12.5px; font-weight: 500; padding: 3px 0; cursor: pointer; }
.admin-hint { font-size: 12px; color: var(--tx-muted); margin: -6px 0 12px; }
.admin-form-actions { display: flex; gap: 10px; margin-top: 4px; }
.admin-form-actions .login-btn { width: auto; padding: 10px 20px; }
.admin-import-box { padding: 20px 26px 26px; display: flex; flex-direction: column; gap: 10px; }
.campaign-meta { font-size: 12.5px; color: var(--tx-muted); background: var(--cream-alt); border-radius: 5px; padding: 8px 12px; }
.admin-import-box textarea { font-family: 'DM Sans', monospace; font-size: 12px; padding: 10px; border-radius: 5px; border: 1px solid var(--border); width: 100%; resize: vertical; }
.campaign-ok { background: #e2f2e7; color: var(--green); font-weight: 700; font-size: 12.5px; padding: 9px 12px; border-radius: 5px; }
