/* Painel de Produção — LPL Química
 * Identidade tirada de lplquimica.com.br (19/10/2026):
 *   azul LPL #006eb5 (cabeçalho), azul vivo #0b96ef (botões, pílula),
 *   marinho #1c2a45 (texto e rodapé), cinza-azulado #f1f5f8 (fundo), Poppins.
 * Vermelho e âmbar ficam só para alerta (falta / atraso).
 */
:root {
  --lpl: #006eb5;
  --lpl-escuro: #00578f;
  --lpl-vivo: #0b96ef;
  --lpl-vivo-hover: #0a84d3;
  --marinho: #1c2a45;
  --marinho-2: #2a3d61;
  --bg: #f1f5f8;
  --surface: #ffffff;
  --ink: #1c2a45;
  --ink-2: #4b5a73;
  --ink-3: #7f8ba0;
  --line: #dfe6ee;
  --line-2: #edf1f6;
  --tint: #eaf3fa;
  --tint-2: #f5f9fd;
  --accent: var(--lpl-vivo);
  --red: #d33a35;
  --red-bg: #fdeceb;
  --amber: #b46400;
  --amber-bg: #fff2dc;
  --blue-bg: #e3f1fc;
  --green: #17865a;
  --green-bg: #e3f5ec;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(28, 42, 69, .05), 0 4px 14px rgba(28, 42, 69, .05);
  --shadow-up: 0 10px 30px rgba(28, 42, 69, .12);
  --titulo: Poppins, Inter, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 14px/1.45 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
button, input, select { font: inherit; color: inherit; }
.content { max-width: 1480px; width: 100%; margin: 0 auto; padding: 20px; flex: 1; }

/* ---------- cabeçalho (azul LPL, como o site) ---------- */
.topbar { background: var(--lpl); color: #fff; position: sticky; top: 0; z-index: 20; box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.topbar-inner { max-width: 1480px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; min-width: 0; }
.brand-logo { height: 40px; width: auto; display: block; }
.brand-sep { width: 1px; height: 28px; background: rgba(255,255,255,.35); }
.brand-text { font-family: var(--titulo); font-weight: 500; font-size: 15px; letter-spacing: .2px; white-space: nowrap; }
.topbar-user { display: flex; align-items: center; gap: 8px; }
.user-name { opacity: .9; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; }
.topbar .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.topbar .btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.inline-form { display: inline; margin: 0; }

/* ---------- faixa de destaque ---------- */
.hero {
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(11,150,239,.35) 0%, rgba(11,150,239,0) 55%),
    linear-gradient(115deg, var(--marinho) 0%, #173a63 45%, var(--lpl) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -40px; top: -60px; width: 340px; height: 340px;
  background: url("marca/molecula-branca.png") center / contain no-repeat; opacity: .07; pointer-events: none;
}
.hero-inner { max-width: 1480px; margin: 0 auto; padding: 26px 20px 74px; position: relative; z-index: 1; }
.hero + .content { margin-top: -54px; position: relative; z-index: 2; }

.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.page-eyebrow { margin: 0 0 4px; font-size: 12px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: #9fd3fb; }
.page-title { margin: 0; font-family: var(--titulo); font-size: 28px; font-weight: 600; letter-spacing: -.3px; }
.ultima { margin: 8px 0 0; font-size: 13px; color: rgba(255,255,255,.78); }
.ultima b { color: #fff; font-weight: 600; }
.ultima .neg { color: #ffb4b0; }
.ultima-velha b { color: #ffb4b0; }
.head-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.06); }
.hero .btn-ghost:hover:not(:disabled) { background: rgba(255,255,255,.14); border-color: #fff; }

/* ---------- botões (pílula, como o site) ---------- */
.btn { border: 1px solid transparent; border-radius: 999px; padding: 9px 18px; cursor: pointer; font-weight: 500; background: var(--surface); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; line-height: 1.2; transition: background .15s, border-color .15s, box-shadow .15s; }
.btn:disabled { opacity: .5; cursor: default; }
.btn-small { padding: 7px 15px; font-size: 13px; }
.btn-primary { background: var(--lpl-vivo); color: #fff; box-shadow: 0 4px 12px rgba(11,150,239,.3); }
.btn-primary:hover:not(:disabled) { background: var(--lpl-vivo-hover); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink-2); }
.btn-ghost:hover:not(:disabled) { background: var(--line-2); }
.btn-danger { background: var(--red); color: #fff; }
.btn-ok { background: var(--green); color: #fff; }
.btn-block { width: 100%; justify-content: center; margin-top: 20px; padding: 11px 18px; }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 500; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill-ok { background: var(--green-bg); color: var(--green); }
.pill-warn { background: var(--amber-bg); color: var(--amber); }
.pill-err { background: var(--red-bg); color: var(--red); }
.pill-run { background: var(--blue-bg); color: var(--lpl); }
.pill-run::before { animation: pulse 1s infinite alternate; }
.pill-muted { background: rgba(255,255,255,.14); color: #fff; }
@keyframes pulse { from { opacity: .3; } to { opacity: 1; } }

.avisos { margin-top: 16px; display: grid; gap: 6px; }
.aviso { background: rgba(255,255,255,.96); color: #8a1f1b; border-left: 4px solid var(--red); border-radius: 10px; padding: 9px 12px; font-size: 13px; }

/* ---------- indicadores ---------- */
.kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 13px; box-shadow: var(--shadow-up); text-align: left; display: flex; flex-direction: column; gap: 2px; min-width: 0; position: relative; overflow: hidden; }
.kpi::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--line); }
.kpi-falta::before { background: var(--red); }
.kpi-atraso::before { background: #e7962a; }
.kpi-minimo::before { background: var(--lpl); }
.kpi-prod::before, .kpi-ped::before, .kpi-op::before { background: var(--lpl-vivo); opacity: .55; }
button.kpi { cursor: pointer; transition: transform .15s, border-color .15s; }
button.kpi:hover { border-color: #b9cfe4; transform: translateY(-1px); }
.kpi.on { border-color: var(--lpl); box-shadow: 0 0 0 2px var(--lpl), var(--shadow-up); }
.kpi-label { font-size: 11.5px; color: var(--ink-3); font-weight: 600; text-transform: uppercase; letter-spacing: .6px; }
.kpi-num { font-family: var(--titulo); font-size: 30px; font-weight: 600; letter-spacing: -.5px; font-variant-numeric: tabular-nums; line-height: 1.2; }
.kpi-foot { font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi-falta .kpi-num { color: var(--red); }
.kpi-atraso .kpi-num { color: var(--amber); }
.kpi-minimo .kpi-num { color: var(--lpl); }

/* ---------- filtros ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.toolbar { padding: 14px 16px; margin-bottom: 16px; display: grid; gap: 12px; }
.seg { display: inline-flex; flex-wrap: wrap; background: var(--tint); border-radius: 999px; padding: 4px; gap: 2px; justify-self: start; }
.seg button { border: 0; background: transparent; padding: 7px 15px; border-radius: 999px; cursor: pointer; color: var(--ink-2); font-weight: 500; font-size: 13px; }
.seg button:hover { color: var(--lpl); }
.seg button.on { background: var(--lpl); color: #fff; box-shadow: 0 2px 8px rgba(0,110,181,.3); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.f { display: grid; gap: 4px; font-size: 12px; color: var(--ink-3); font-weight: 500; }
.f-grow { flex: 1 1 240px; }
.f input, .f select { border: 1px solid var(--line); border-radius: 10px; padding: 8px 11px; background: #fff; font-size: 13.5px; min-width: 150px; max-width: 100%; color: var(--ink); }
.f-grow input { width: 100%; }
.f input:focus, .f select:focus, .field-input:focus { outline: 3px solid rgba(11,150,239,.2); border-color: var(--lpl-vivo); }
.toggles { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: 13px; color: var(--ink-2); }
.toggles-label { color: var(--ink-3); font-size: 12px; font-weight: 500; }
.chk { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.chk input { accent-color: var(--lpl); width: 15px; height: 15px; }

/* ---------- tabela ---------- */
.table-card { overflow: hidden; }
.table-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.table-title { margin: 0; font-family: var(--titulo); font-size: 16px; font-weight: 600; }
.table-count { color: var(--ink-3); font-size: 12.5px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

table.grid { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.grid > thead > tr > th { position: sticky; top: 0; background: var(--tint); color: var(--marinho-2); font-weight: 600; font-size: 11.5px; line-height: 1.25; text-align: left; padding: 10px 8px; border-bottom: 1px solid #d3e3f1; white-space: normal; vertical-align: bottom; cursor: pointer; user-select: none; }
.grid > thead > tr > th:hover { color: var(--lpl); }
.grid > thead > tr > th.c-exp { cursor: default; width: 28px; }
.grid > thead > tr > th.sorted { color: var(--lpl); }
.grid > thead > tr > th.sorted.asc::after { content: " ▲"; font-size: 9px; }
.grid > thead > tr > th.sorted.desc::after { content: " ▼"; font-size: 9px; }
.grid > tbody > tr > td { padding: 10px 8px; border-bottom: 1px solid var(--line-2); white-space: nowrap; vertical-align: top; }
.grid .n, .tl .n { text-align: right; }
.grid tr.row { cursor: pointer; }
.grid tr.row:hover td { background: var(--tint-2); }
.grid tr.row:focus { outline: 2px solid rgba(11,150,239,.4); outline-offset: -2px; }
.grid tr.row.open td { background: var(--tint); border-bottom-color: transparent; }
.c-desc { white-space: normal !important; min-width: 210px; max-width: 380px; font-weight: 500; }
.grid > thead > tr > th.n { max-width: 84px; }
.m-cod { display: none; font-family: var(--mono); font-size: 11.5px; color: var(--lpl); }
.c-desc small { display: block; color: var(--ink-3); font-size: 11.5px; margin-top: 1px; font-weight: 400; }
.mono { font-family: var(--mono); font-size: 12.5px; color: var(--lpl); }
.zero { color: #bcc6d3; }
.muted { color: var(--ink-3); }
.strong { font-weight: 600; }
.saldo { font-weight: 700; }
.neg { color: var(--red); font-weight: 600; }
.pos { color: var(--green); }
.warn { color: var(--amber); }
.empty { text-align: center; color: var(--ink-3); padding: 40px 10px !important; white-space: normal !important; }
.chev { display: inline-block; width: 8px; height: 8px; border-right: 2px solid var(--lpl); border-bottom: 2px solid var(--lpl); transform: rotate(-45deg); transition: transform .15s; margin-left: 2px; opacity: .7; }
tr.open .chev { transform: rotate(45deg); opacity: 1; }
.grid tr.sit-falta td:first-child { box-shadow: inset 4px 0 var(--red); }
.grid tr.sit-atraso td:first-child { box-shadow: inset 4px 0 #e7962a; }
.grid tr.sit-abaixo_minimo td:first-child { box-shadow: inset 4px 0 var(--lpl); }
.rupt { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.rupt-falta { background: var(--red-bg); color: var(--red); }
.rupt-atraso { background: var(--amber-bg); color: var(--amber); }

/* ---------- detalhe do produto ---------- */
.grid > tbody > tr.detail > td { background: var(--tint); padding: 0 16px 18px 38px; border-bottom: 1px solid var(--line); white-space: normal; }
.det { min-width: 0; max-width: 100%; overflow: hidden; background: var(--surface); border: 1px solid #d3e3f1; border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow); }
.det-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.det-locais { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-block; background: var(--line-2); border-radius: 999px; padding: 3px 10px; font-size: 12px; color: var(--ink-2); margin-right: 4px; }
.badge { display: inline-block; border-radius: 999px; padding: 3px 11px; font-size: 12px; font-weight: 600; margin-right: 6px; }
.badge.sit-falta { background: var(--red-bg); color: var(--red); }
.badge.sit-atraso { background: var(--amber-bg); color: var(--amber); }
.badge.sit-abaixo_minimo { background: var(--blue-bg); color: var(--lpl); }
.badge.sit-ok { background: var(--green-bg); color: var(--green); }
.det-nums { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; margin-bottom: 12px; }
.det-nums div { background: var(--tint-2); border: 1px solid var(--line-2); border-radius: 10px; padding: 8px 11px; }
.det-nums span { display: block; font-size: 11px; color: var(--ink-3); }
.det-nums b { font-family: var(--titulo); font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
table.tl { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.tl th { text-align: left; font-weight: 600; color: var(--ink-3); font-size: 11.5px; padding: 7px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; text-transform: uppercase; letter-spacing: .4px; }
.tl td { padding: 7px 8px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.tl tr.tl-ini td { color: var(--marinho); font-weight: 600; background: var(--tint-2); }
.tipo { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 2px 9px; border-radius: 999px; }
.tipo-pedido { background: #efe8fb; color: #6a3aa8; }
.tipo-op { background: var(--green-bg); color: var(--green); }
.tipo-compra { background: var(--blue-bg); color: var(--lpl); }
.tipo-solicitacao { background: #eef1f4; color: var(--ink-2); }
.tag-atraso { background: var(--amber-bg); color: var(--amber); font-size: 11px; border-radius: 999px; padding: 0 7px; margin-left: 4px; }
.det-nota { margin: 12px 0 0; font-size: 13px; color: var(--ink-2); }
.aviso-mini { background: var(--amber-bg); color: #6f4100; border-radius: 10px; padding: 8px 12px; font-size: 12.5px; margin-bottom: 12px; }

/* ---------- rodapé (marinho, como o site) ---------- */
.site-footer { background: var(--marinho); color: rgba(255,255,255,.7); margin-top: 28px; }
.footer-inner { max-width: 1480px; margin: 0 auto; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; font-family: var(--titulo); font-size: 13px; }
.footer-brand img { height: 32px; width: auto; opacity: .95; }
.footer-fontes { margin: 0; font-size: 12px; max-width: 900px; }

/* ---------- login ---------- */
body.pagina-login { background: var(--surface); }
body.pagina-login .content { max-width: none; padding: 0; display: flex; }
.login-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); flex: 1; min-height: 100vh; }
.login-marca {
  background:
    radial-gradient(120% 120% at 100% 100%, rgba(11,150,239,.45) 0%, rgba(11,150,239,0) 55%),
    linear-gradient(150deg, var(--marinho) 0%, #16406e 50%, var(--lpl) 100%);
  color: #fff; padding: 48px 56px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden;
}
.login-logo { height: 64px; width: auto; align-self: flex-start; position: relative; z-index: 1; }
.login-marca-texto { position: relative; z-index: 1; max-width: 520px; }
.login-eyebrow { margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: #9fd3fb; }
.login-marca h1 { font-family: var(--titulo); font-size: 34px; line-height: 1.25; font-weight: 600; margin: 0 0 14px; letter-spacing: -.3px; }
.login-desc { margin: 0; color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.55; }
.login-molecula { position: absolute; right: -70px; bottom: -40px; height: 420px; width: auto; opacity: .1; pointer-events: none; }
.login-form-lado { display: grid; place-items: center; padding: 40px 24px; }
.login-card { width: min(380px, 100%); }
.login-title { margin: 0; font-family: var(--titulo); font-size: 26px; font-weight: 600; }
.login-sub { margin: 6px 0 22px; color: var(--ink-3); }
.login-rodape { margin: 28px 0 0; font-size: 12px; color: var(--ink-3); text-align: center; }

/* ---------- formulários / admin ---------- */
.field-label { display: block; font-size: 12.5px; color: var(--ink-2); font-weight: 500; margin: 14px 0 5px; }
.field-input { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fff; }
.field-input-small { width: auto; padding: 6px 10px; }
.alert { border-radius: 10px; padding: 9px 12px; margin-bottom: 12px; font-size: 13px; }
.alert-error { background: var(--red-bg); color: #8a1f1b; }
.alert-success { background: var(--green-bg); color: var(--green); }
.admin-section { margin-bottom: 26px; }
.section-title { font-family: var(--titulo); font-size: 18px; font-weight: 600; margin: 0 0 12px; }
.form-card { padding: 18px 20px; max-width: 460px; }
.users-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.users-table th, .users-table td { padding: 10px 12px; border-bottom: 1px solid var(--line-2); text-align: left; font-size: 13px; vertical-align: middle; }
.users-table th { color: var(--marinho-2); font-weight: 600; background: var(--tint); font-size: 12px; }
.actions-cell { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.reset-details summary { list-style: none; }
.reset-details summary::-webkit-details-marker { display: none; }
.reset-form { display: inline-flex; gap: 6px; margin-top: 6px; }
.tag { border-radius: 999px; padding: 2px 9px; font-size: 12px; font-weight: 600; }
.tag-admin { background: var(--blue-bg); color: var(--lpl); }
.tag-consulta { background: var(--line-2); color: var(--ink-2); }
.badge-ok { background: var(--green-bg); color: var(--green); }
.badge-off { background: var(--line-2); color: var(--ink-3); }
.empty-row { text-align: center; color: var(--ink-3); }
.cell-data { color: var(--ink-3); font-size: 12px; }

/* ---------- responsivo ---------- */
@media (max-width: 1180px) { .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .login-split { grid-template-columns: 1fr; min-height: 0; }
  .login-marca { padding: 28px 24px 30px; }
  .login-marca h1 { font-size: 22px; margin-top: 18px; }
  .login-desc, .login-molecula { display: none; }
  .login-logo { height: 48px; }
}
@media (max-width: 640px) {
  .content { padding: 14px 16px; }
  .topbar-inner { padding: 10px 16px; }
  .brand-logo { height: 32px; }
  .brand-sep, .brand-text, .user-name { display: none; }
  .hero-inner { padding: 20px 16px 64px; }
  .page-title { font-size: 23px; }
  .hero::after { width: 220px; height: 220px; right: -60px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .kpi { padding: 12px 12px 11px; }
  .kpi-num { font-size: 24px; }
  .f, .f input, .f select { width: 100%; min-width: 0; }
  .seg { border-radius: 16px; }
  .seg button { padding: 7px 12px; }
  .filters { display: grid; grid-template-columns: 1fr 1fr; }
  .f-grow { grid-column: 1 / -1; }
  .c-hm { display: none; }
  /* No celular cada produto vira um cartão: descrição | saldo + ruptura. */
  .grid, .grid > tbody, .grid > tbody > tr.detail, .grid > tbody > tr.detail > td { display: block; width: 100%; }
  .grid > thead { display: none; }
  .grid > tbody > tr.row { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; grid-template-areas: "exp desc saldo" "exp desc rupt"; column-gap: 8px; row-gap: 4px; padding: 11px 10px; border-bottom: 1px solid var(--line-2); }
  .grid > tbody > tr.row > td { display: block; padding: 0; border: 0; white-space: normal; }
  .grid > tbody > tr.row > td.c-hm { display: none; }
  .grid > tbody > tr.row > td.c-exp { grid-area: exp; padding-top: 3px; }
  .grid > tbody > tr.row > td.c-desc { grid-area: desc; }
  .grid > tbody > tr.row > td.saldo { grid-area: saldo; font-size: 17px; font-family: var(--titulo); }
  .grid > tbody > tr.row > td.c-rupt { grid-area: rupt; }
  .grid > tbody > tr.row > td.c-rupt:empty { display: none; }
  .grid tr.sit-falta { box-shadow: inset 4px 0 var(--red); }
  .grid tr.sit-atraso { box-shadow: inset 4px 0 #e7962a; }
  .grid tr.sit-abaixo_minimo { box-shadow: inset 4px 0 var(--lpl); }
  .grid > tbody > tr.row > td:first-child { box-shadow: none !important; }
  .grid > tbody > tr.detail > td { padding: 0 6px 12px; }
  .m-cod { display: block !important; }
  .rupt { font-size: 11.5px; }
  .empty { display: block; }
  .c-desc { min-width: 0; max-width: none; }
  .grid > tbody > tr > td.c-desc { font-size: 13px; }
  .det-nums { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-inner { padding: 16px; }
  .users-table thead { display: none; }
  .users-table tr { display: block; border-bottom: 1px solid var(--line); }
  .users-table td { display: flex; justify-content: space-between; border: 0; }
  .users-table td::before { content: attr(data-label); color: var(--ink-3); font-size: 12px; }
}

/* ---------- página de usuários ---------- */
.hero-inner.hero-curta { padding-bottom: 64px; }
.link-claro { color: #fff; text-decoration: none; opacity: .85; }
.link-claro:hover { opacity: 1; text-decoration: underline; }
.admin-card { padding: 20px 22px; }
.admin-card .form-card { box-shadow: none; background: var(--tint-2); }
