/* =============================================================
   Next System · Painel Game Pass — sistema visual (mesmo do Painel Epic)
   Marca: verde #28F969 · roxo #740ABC · preto #0C0D0E · branco
   Fontes: Fredoka (títulos/números) · Nunito Sans (UI) · JetBrains Mono (emails/senhas)
   Princípios: superfícies chapadas, uma hairline, zero glow/degradê;
   verde = "pronto/ir"; roxo = "em andamento"; âmbar = "aguardando"; vermelho = erro.

   Este arquivo tem duas partes:
   1) o sistema (tokens + componentes, idêntico ao Epic);
   2) uma camada de compatibilidade pros nomes que os templates deste painel já
      usam (.btn.primary, .badge.ok, .stat .n, .progress-wrap, .live-panel…),
      pra toda página mudar de cara sem mexer em ID/JS.
   ============================================================= */

:root {
  --preto:  #0C0D0E;
  --verde:  #28F969;
  --roxo:   #740ABC;
  --branco: #FFFFFF;

  --ink-1:  #131417;
  --ink-2:  #1A1C20;
  --ink-3:  #22252A;
  --line:   #24272D;
  --line-2: #32363D;
  --text:   #F2F3F5;
  --text-2: #A3A7B1;
  --text-3: #6B7079;
  --verde-2: #1FD659;
  --verde-tint: rgba(40, 249, 105, .12);
  --roxo-2: #A97BF5;
  --roxo-tint: rgba(169, 123, 245, .14);
  --warn:   #F7B955;
  --warn-tint: rgba(247, 185, 85, .13);
  --err:    #FF5F72;
  --err-tint: rgba(255, 95, 114, .12);
  --info:   #6AB8FF;
  --laranja: #FF9F43;

  --r-hero: 24px;
  --r-panel: 16px;
  --r-el: 10px;
  --r-pill: 999px;
  --sidebar-w: 236px;

  --font-head: "Fredoka", "Nunito Sans", system-ui, sans-serif;
  --font-sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  /* ---- aliases que os templates deste painel usam em estilos inline ---- */
  --bg: var(--preto);        --bg-2: var(--ink-2);     --bg-soft: var(--ink-2);
  --card: var(--ink-1);      --border: var(--line);    --border-strong: var(--line-2);
  --fg: var(--text);         --fg-dim: var(--text-2);  --muted: var(--text-3);
  --accent: var(--verde);    --accent-2: var(--roxo-2);
  --danger: var(--err);      --ok: var(--verde);
  --shadow: 0 12px 32px rgba(0,0,0,.45); --shadow-lg: 0 24px 60px rgba(0,0,0,.6);
}

*, *::before, *::after { box-sizing: border-box; }

/* ------------------------------------------------------------- base */
html { font-size: 14px; -webkit-text-size-adjust: 100%; }
html, body {
  margin: 0; padding: 0;
  background: var(--preto);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body { min-height: 100vh; }

::selection { background: var(--verde); color: var(--preto); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--ink-3); border-radius: 10px; border: 2px solid var(--preto); }
::-webkit-scrollbar-thumb:hover { background: var(--line-2); }

:focus-visible { outline: 2px solid var(--verde); outline-offset: 2px; border-radius: 6px; }

a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color .15s, text-decoration-color .15s;
}
a:hover { color: var(--verde); text-decoration-color: var(--verde); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--text);
}
h1 { font-size: 1.86rem; }
h2 { font-size: 1.22rem; }
h3 { font-size: 1rem; font-family: var(--font-sans); font-weight: 700; }
h4 { font-size: .93rem; font-family: var(--font-sans); font-weight: 700; }
p { margin: 0 0 10px; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }
small { font-size: .86em; }

.muted { color: var(--text-2); }
.tiny { font-size: .82rem; }
.mono { font-family: var(--font-mono); font-size: .9em; }
.accent { color: var(--verde); }
.right { float: right; }
.gap-sm { gap: 8px; }

code {
  font-family: var(--font-mono);
  font-size: .86em;
  color: var(--roxo-2);
  background: var(--ink-2);
  border: 1px solid var(--line);
  padding: 1px 6px;
  border-radius: 6px;
  word-break: break-all;
}
pre, pre.code-block {
  margin: 0;
  background: var(--preto);
  border: 1px solid var(--line);
  border-radius: var(--r-el);
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: .86rem;
  line-height: 1.55;
  overflow-x: auto;
  color: var(--text-2);
  white-space: pre-wrap;
}
pre code { background: none; border: 0; padding: 0; color: inherit; }

hr { border: 0; height: 1px; background: var(--line); margin: 22px 0; }

details { border-radius: var(--r-el); }
details > summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; gap: 8px;
  color: var(--text-2); font-weight: 600; font-size: .93rem;
  padding: 4px 0;
}
details > summary::-webkit-details-marker { display: none; }
details > summary::before {
  content: ""; flex: 0 0 auto; width: 14px; height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .18s;
}
details[open] > summary::before { transform: rotate(90deg); }
details[open] > summary { color: var(--text); }
details > summary::marker { content: ""; }

.ic { flex: 0 0 auto; vertical-align: -3px; }
@keyframes ic-spin { to { transform: rotate(360deg); } }
.ic.spin { animation: ic-spin .9s linear infinite; }
[hidden] { display: none !important; }

/* ------------------------------------------------------------- app shell */
.app { display: flex; min-height: 100vh; }

.sidebar {
  flex: 0 0 var(--sidebar-w);
  width: var(--sidebar-w);
  position: sticky; top: 0;
  height: 100vh;
  display: flex; flex-direction: column;
  background: var(--preto);
  border-right: 1px solid var(--line);
  padding: 18px 12px 14px;
  overflow-y: auto;
  z-index: 50;
}
.sb-top {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 4px 8px 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 10px;
}
.sb-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); min-width: 0; }
.sb-brand:hover { color: var(--text); text-decoration: none; }
.sb-brand img.sb-fox { height: 40px; width: 40px; object-fit: contain; display: block; }
.sb-brand img.sb-word { height: 15px; width: auto; display: block; }
.sb-brand .sb-sub { display: block; margin-top: 4px; color: var(--text-3); font-size: .78rem; font-weight: 600; }

.sb-group { padding: 10px 10px 4px; color: var(--text-3); font-size: .72rem; font-weight: 700; letter-spacing: .04em; }

.sb-nav { display: flex; flex-direction: column; gap: 2px; }
.sb-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  border-radius: var(--r-el);
  color: var(--text-2);
  font-weight: 600; font-size: .93rem;
  text-decoration: none;
  position: relative;
  transition: background .15s, color .15s;
}
.sb-nav a .ic { color: var(--text-3); transition: color .15s; }
.sb-nav a:hover { background: var(--ink-2); color: var(--text); }
.sb-nav a:hover .ic { color: var(--text-2); }
.sb-nav a.active { background: var(--ink-2); color: var(--text); }
.sb-nav a.active .ic { color: var(--verde); }
.sb-nav a.active::before {
  content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px;
  background: var(--verde); border-radius: 0 3px 3px 0;
}
.sb-nav .sb-count {
  margin-left: auto; font-size: .72rem; font-weight: 700;
  background: var(--ink-3); color: var(--text-2);
  padding: 1px 7px; border-radius: var(--r-pill);
}
.sb-nav .sb-count.is-alert { background: var(--err); color: var(--branco); }

/* /admin/codigos: alertas de "Solicitar código" (IPs diferentes no mesmo pedido) */
.code-alerts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.code-alert {
  display: flex; gap: 14px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap;
  padding: 12px 14px; background: var(--ink-2);
  border: 1px solid var(--line); border-left: 3px solid var(--line-2); border-radius: var(--r-el);
}
.code-alert.is-high { border-left-color: var(--err); }
.code-alert.is-warn { border-left-color: var(--warn); }
.code-alert-main { flex: 1 1 320px; min-width: 0; display: grid; gap: 8px; }
.code-alert-top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.code-alert-reasons { margin: 0; padding-left: 18px; font-size: .92rem; }
.code-alert-reasons li { margin: 2px 0; }
.code-alert-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.code-alert-actions form { margin: 0; }

.sb-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.sb-foot form { margin: 0; }
.sb-foot .btn-ghost, .sb-foot .btn { width: 100%; justify-content: flex-start; }
.sb-user { display: block; padding: 0 10px 8px; color: var(--text-3); font-size: .8rem; word-break: break-all; }

.content { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.menu-toggle { display: none; }

.main { width: 100%; max-width: 1320px; margin: 0 auto; padding: 28px 32px 48px; }
/* páginas sem sidebar (login, index) centralizam no mesmo trilho */
.content.bare .main { max-width: 1320px; }
footer.footer {
  margin-top: auto;
  padding: 18px 32px 22px;
  color: var(--text-3);
  font-size: .8rem;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
}
footer.footer img { height: 14px; opacity: .55; }

/* ------------------------------------------------------------- flash */
.flash-container { max-width: 1320px; margin: 0 auto; padding: 20px 32px 0; width: 100%; }
.flash {
  padding: 11px 14px 11px 16px;
  border-radius: 12px;
  margin: 0 0 10px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--text-3);
  background: var(--ink-1);
  color: var(--text);
  font-weight: 600;
  font-size: .93rem;
  line-height: 1.45;
  animation: flashIn .25s ease;
}
.flash.ok, .flash-ok       { border-left-color: var(--verde); }
.flash.error, .flash-error { border-left-color: var(--err); color: #FFD5DA; }
.flash.warn, .flash-warn   { border-left-color: var(--warn); }
@keyframes flashIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------- page header */
.page-header {
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px; flex-wrap: wrap;
  margin-bottom: 22px;
}
.page-header h1 { margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.page-header h1 .ic { color: var(--text-3); }
.page-header .sub { color: var(--text-2); font-size: .93rem; margin-top: 4px; }
.actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.actions form { margin: 0; }

/* ------------------------------------------------------------- buttons */
.btn-primary, .btn-ghost, .btn-danger, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 15px;
  border-radius: var(--r-el);
  font-family: var(--font-sans);
  font-weight: 700; font-size: .9rem; line-height: 1.2;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, transform .08s;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary, .btn.primary { background: var(--verde); color: var(--preto); border-color: var(--verde); }
.btn-primary:hover, .btn.primary:hover { background: var(--verde-2); border-color: var(--verde-2); color: var(--preto); text-decoration: none; }
.btn-primary:active, .btn.primary:active { transform: translateY(1px); }
.btn-primary .ic, .btn.primary .ic { color: var(--preto); }

.btn-ghost, .btn, .btn.secondary { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover, .btn:hover, .btn.secondary:hover { background: var(--ink-2); color: var(--text); border-color: var(--line-2); text-decoration: none; }
.btn-ghost:active, .btn:active { transform: translateY(1px); }
.btn-ghost .ic, .btn .ic { color: var(--text-2); }

.btn-danger, .btn.danger { background: transparent; color: var(--err); border-color: rgba(255, 95, 114, .35); }
.btn-danger:hover, .btn.danger:hover { background: var(--err-tint); color: var(--err); border-color: var(--err); text-decoration: none; }
.btn-danger .ic, .btn.danger .ic { color: var(--err); }

.btn.warn { background: transparent; color: var(--warn); border-color: rgba(247, 185, 85, .4); }
.btn.warn:hover { background: var(--warn-tint); color: var(--warn); border-color: var(--warn); }

.btn-primary:disabled, .btn-ghost:disabled, .btn-danger:disabled, .btn:disabled,
.btn-primary[disabled], .btn-ghost[disabled], .btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

.big { padding: 12px 20px; font-size: 1rem; border-radius: 12px; }
.btn.sm, .btn-ghost.sm, .btn-primary.sm, .btn-danger.sm { padding: 5px 10px; font-size: .84rem; border-radius: 8px; }

/* botões compactos dentro de tabelas */
.table .actions-cell, table .actions-cell { white-space: nowrap; }
table td > .btn, table td > a.btn, table td form .btn { padding: 5px 9px; font-size: .84rem; border-radius: 8px; }
table td form { margin: 0; display: inline-block; }

/* ------------------------------------------------------------- cards */
.card {
  background: var(--ink-1);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  padding: 20px 22px;
  margin: 0 0 18px;
}
.card > h2:first-child, .card > h3:first-child { margin-top: 0; }
.card h2 { font-size: 1.22rem; }
.card h3 { font-size: 1rem; color: var(--text); margin: 0 0 10px; }
.card-header {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; flex-wrap: wrap;
  margin-bottom: 14px;
}
.card-header h2, .card-header h3 { margin: 0; display: flex; align-items: center; gap: 8px; }
.card-header h2 .ic { color: var(--text-3); }
.card-header form { margin: 0; }
.muted-card { background: transparent; border-style: dashed; }
.danger-zone { border-color: rgba(255, 95, 114, .3); }
.accent-glow { border-color: rgba(40, 249, 105, .4); }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 18px; margin-bottom: 18px; }
.grid-2 > .card { margin-bottom: 0; }

/* layout simples usado pelos templates (.row/.col) */
.row { display: flex; gap: 14px; flex-wrap: wrap; }
.col { flex: 1 1 260px; min-width: 0; }
.row > form { margin: 0; }

/* ------------------------------------------------------------- stats */
.stat-grid, .grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.stat-group { margin-bottom: 18px; }
.stat-group-title {
  display: flex; align-items: center; gap: 8px;
  color: var(--text-3); font-size: .8rem; font-weight: 700;
  margin: 0 0 8px 2px;
}
.stat-group-title .ic { color: var(--text-3); }
.stat {
  background: var(--ink-1);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  padding: 16px 18px 14px;
  display: flex; flex-direction: column; gap: 6px;
  min-height: 96px;
  position: relative;
  overflow: hidden;
}
.card .stat { background: var(--ink-2); }
.stat-label, .stat .l { color: var(--text-2); font-size: .86rem; font-weight: 600; }
.stat-value, .stat .n {
  font-family: var(--font-head);
  font-size: 2rem; font-weight: 600;
  letter-spacing: -.02em; line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  word-break: break-word;
}
/* nos templates o .n vem ANTES do .l; mantemos a ordem visual valor → label */
.stat .n + .l { order: 2; }
.stat .n { order: 1; }
.stat .l:first-child { order: 0; }
.stat .n .badge { font-family: var(--font-sans); font-size: .82rem; letter-spacing: 0; vertical-align: middle; }
.stat-foot { display: flex; gap: 12px; margin-top: 2px; font-size: .8rem; color: var(--text-2); flex-wrap: wrap; }
/* blocos chapados da marca: só um ou dois por página */
.stat.accent { background: var(--verde); border-color: var(--verde); color: var(--preto); }
.stat.accent .stat-label, .stat.accent .l { color: rgba(12, 13, 14, .72); }
.stat.accent .stat-value, .stat.accent .n { color: var(--preto); }
.stat.accent .stat-foot, .stat.accent .stat-foot * { color: rgba(12, 13, 14, .72) !important; }
.stat.ok { border-color: rgba(40, 249, 105, .45); }
.stat.ok .stat-value, .stat.ok .n { color: var(--verde); }
.stat.roxo { background: var(--roxo); border-color: var(--roxo); }
.stat.roxo .stat-label, .stat.roxo .l { color: rgba(255,255,255,.78); }
.stat.roxo .stat-value, .stat.roxo .n { color: var(--branco); }
.stat.warn .stat-value, .stat.warn .n { color: var(--warn); }
.stat.err .stat-value, .stat.err .n { color: var(--err); }
.stat.purple .stat-value, .stat.purple .n { color: var(--roxo-2); }
.stat.dim .stat-value, .stat.dim .n { color: var(--text-3); }

/* ------------------------------------------------------------- tables */
.table, table { width: 100%; border-collapse: collapse; margin: 0; font-size: .93rem; }
.table th, .table td, table th, table td {
  padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle;
}
.table th, table th {
  color: var(--text-3); font-weight: 700; font-size: .8rem;
  letter-spacing: .01em; white-space: nowrap;
  border-bottom: 1px solid var(--line-2);
}
.table tbody tr:last-child td, table tr:last-child td { border-bottom: 0; }
.table tbody tr, table tr { transition: background .12s; }
.table tbody tr:hover, table tr:hover { background: var(--ink-2); }
table tr:has(th):hover { background: transparent; }
.table td.num, table td.num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.table td code, table td code { font-size: .8rem; white-space: nowrap; word-break: normal; }
.card > table, .card > form > table, .card > .table { margin: 0 -22px -20px; width: calc(100% + 44px); }
.card > table th:first-child, .card > table td:first-child,
.card > form > table th:first-child, .card > form > table td:first-child { padding-left: 22px; }
.card > table th:last-child, .card > table td:last-child,
.card > form > table th:last-child, .card > form > table td:last-child { padding-right: 22px; }
.card > .card-header + table { margin-top: 0; }
.table-wrap { overflow-x: auto; }
.main > table { background: var(--ink-1); border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden; }
/* tabelas pequenas dentro de blocos (ex: scheduler) não vazam a margem */
.card .inner table, table.inner { margin: 0; width: 100%; font-size: .86rem; }
.card .inner table th:first-child, table.inner th:first-child,
.card .inner table td:first-child, table.inner td:first-child { padding-left: 0; }
.card .inner table th:last-child, table.inner th:last-child,
.card .inner table td:last-child, table.inner td:last-child { padding-right: 0; }

/* ------------------------------------------------------------- state pills (.state no Epic, .badge aqui) */
.state, .badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px 3px 8px;
  border-radius: var(--r-pill);
  font-size: .78rem; font-weight: 700; line-height: 1.4;
  background: var(--ink-2); color: var(--text-2);
  border: 1px solid var(--line);
  white-space: nowrap;
  vertical-align: middle;
}
.state::before, .badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }
.state.big { padding: 6px 14px 6px 12px; font-size: .9rem; }
.state.big::before { width: 8px; height: 8px; }
.badge.tiny { padding: 1px 7px 1px 6px; font-size: .72rem; }
.badge.tiny::before { width: 5px; height: 5px; }

.badge.ok, .state-available, .state-delivered, .state-done, .state-ready, .state-replaced, .state-renewed, .state-will_auto_renew
  { background: var(--verde-tint); color: var(--verde); border-color: rgba(40,249,105,.3); }
.badge.info, .state-rented, .state-running, .state-preparing
  { background: var(--roxo-tint); color: var(--roxo-2); border-color: rgba(169,123,245,.3); }
.state-running::before, .state-preparing::before, .badge.live::before { animation: pulse 1.2s ease-in-out infinite; }
.badge.warn, .state-paid, .state-reserved, .state-needs_disconnect, .state-queued, .state-verified_ok, .state-not_renewed, .state-pending, .state-grace, .state-at_risk
  { background: var(--warn-tint); color: var(--warn); border-color: rgba(247,185,85,.3); }
.badge.err, .state-failed, .state-cancelled, .state-unusable, .state-no_gamepass, .state-disabled, .state-verified_broken, .state-expired
  { background: var(--err-tint); color: var(--err); border-color: rgba(255,95,114,.3); }
.badge.muted, .state-cooldown-off { background: var(--ink-2); color: var(--text-3); border-color: var(--line); }
.badge.purple { background: var(--roxo-tint); color: var(--roxo-2); border-color: rgba(169,123,245,.3); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* badge de contagem (sólido) — igual ao Epic */
.badge-ok   { display: inline-flex; align-items: center; padding: 2px 9px; margin-left: 6px; border-radius: var(--r-pill); font-size: .74rem; font-weight: 700; line-height: 1.5; vertical-align: middle; background: var(--verde); color: var(--preto); }
.badge-fail { display: inline-flex; align-items: center; padding: 2px 9px; margin-left: 6px; border-radius: var(--r-pill); font-size: .74rem; font-weight: 700; line-height: 1.5; vertical-align: middle; background: var(--err); color: var(--branco); }

/* ------------------------------------------------------------- forms */
form { margin: 0; }
label {
  display: flex; flex-direction: column; gap: 6px;
  margin: 0 0 14px;
  font-weight: 600; font-size: .9rem; color: var(--text-2);
}
label.inline, .form-inline label { flex-direction: row; align-items: center; gap: 8px; }
input[type="text"], input[type="password"], input[type="number"],
input[type="email"], input[type="date"], input[type="file"], input[type="url"],
input:not([type]), textarea, select {
  width: 100%;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-el);
  padding: 10px 13px;
  font-family: var(--font-sans);
  font-size: .97rem;
  color: var(--text);
  transition: border-color .15s, box-shadow .15s, background .15s;
  -webkit-appearance: none; appearance: none;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A3A7B1' stroke-width='2' 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 10px center; background-size: 16px;
  padding-right: 34px;
}
select option { background: var(--ink-2); color: var(--text); }
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--verde);
  box-shadow: 0 0 0 3px var(--verde-tint);
}
input::placeholder, textarea::placeholder { color: var(--text-3); }
input[disabled], select[disabled], textarea[disabled] { opacity: .55; cursor: not-allowed; }
textarea { font-family: var(--font-mono); font-size: .9rem; resize: vertical; min-height: 110px; line-height: 1.5; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--verde); width: 16px; height: 16px; cursor: pointer; }

.form-inline { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.form-inline label { flex: 1 1 180px; margin: 0; }

/* barra de filtro (busca + estado) */
.filter-bar, .orders-filter {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  margin-bottom: 14px;
  padding: 12px 14px;
  background: var(--ink-1);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
}
.filter-bar input[type="text"], .filter-bar input:not([type]) { flex: 1 1 240px; width: auto; }
.filter-bar select { flex: 0 1 200px; width: auto; }
.filter-bar .count { color: var(--text-3); font-size: .86rem; margin-left: auto; white-space: nowrap; }
.card .filter-bar { background: var(--ink-2); }

/* ------------------------------------------------------------- chips / pills */
.chip, .pill, .stat-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; margin: 2px 4px 2px 0;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: .82rem; font-weight: 600;
  color: var(--text-2);
  text-decoration: none;
  font-family: var(--font-sans);
  transition: background .15s, color .15s, border-color .15s;
}
.chip strong, .pill strong, .stat-chip strong { color: var(--text); font-weight: 700; }
.stat-chip .ic { color: var(--verde); }
a.chip:hover { color: var(--text); border-color: var(--line-2); text-decoration: none; background: var(--ink-3); }
.chip.active { background: var(--verde); color: var(--preto); border-color: var(--verde); }
.chip-row, .filters { display: flex; gap: 6px; flex-wrap: wrap; }

/* ------------------------------------------------------------- kv / lists */
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 8px 14px; margin: 0; align-items: start; }
.kv dt { color: var(--text-3); font-size: .86rem; font-weight: 600; padding-top: 2px; }
.kv dd { margin: 0; word-break: break-word; font-size: .95rem; }
.item-list { margin: 0; padding-left: 20px; }
.item-list li { margin: 6px 0; }

.sched-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.sched-grid > div {
  background: var(--ink-2); border: 1px solid var(--line);
  border-radius: var(--r-el); padding: 14px;
  display: flex; flex-direction: column; gap: 5px;
}
.sched-grid > div > .muted:first-child { font-size: .74rem; font-weight: 700; letter-spacing: .02em; color: var(--text-3); }
.sched-grid form { margin-top: 4px; }

.empty { text-align: center; padding: 52px 20px; color: var(--text-2); }
.empty .btn-primary, .empty .btn { margin-top: 16px; }
.empty img { width: 120px; height: 120px; object-fit: contain; margin-bottom: 12px; opacity: .95; }

.pagination { display: flex; gap: 12px; align-items: center; justify-content: center; margin: 18px 0 0; }

/* ------------------------------------------------------------- credenciais (admin: perfil da conta) */
.credential-box {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 0;
}
.credential-box .k { color: var(--text-3); font-size: .78rem; font-weight: 700; }
.credential-box .v {
  font-family: var(--font-mono); font-size: .95rem; color: var(--text);
  word-break: break-all; margin-top: 2px;
}
.credential-box .k + .v + .k { margin-top: 10px; }

.code-pill {
  display: inline-block; font-family: var(--font-mono);
  font-size: 1.5rem; letter-spacing: 4px; background: var(--ink-2); padding: 10px 18px;
  border: 1px solid rgba(40,249,105,.4); border-radius: 10px; color: var(--verde);
}

/* ------------------------------------------------------------- progresso de ação (perfil da conta) */
.progress-wrap {
  background: var(--ink-2); border: 1px solid var(--line); border-left: 3px solid var(--roxo-2);
  border-radius: 12px; padding: 14px 16px; margin: 0 0 16px; display: none;
}
.progress-wrap.visible { display: block; animation: cpIn .25s ease; }
@keyframes cpIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.progress-wrap .head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.progress-wrap .head > div:first-child { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.progress-wrap .head .title { font-weight: 700; color: var(--text); }
.progress-wrap .head .pct { color: var(--text-2); font-variant-numeric: tabular-nums; font-family: var(--font-head); font-size: 1.05rem; }
.progress-bar { position: relative; height: 8px; background: var(--ink-3); border-radius: var(--r-pill); overflow: hidden; }
.progress-bar .fill { position: absolute; top: 0; left: 0; height: 100%; background: var(--verde); width: 0; transition: width .4s ease; border-radius: var(--r-pill); }
.progress-bar .fill.indet { width: 30% !important; animation: slide 1.4s ease-in-out infinite; }
@keyframes slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(400%); } }
.progress-wrap .step-line { margin-top: 10px; font-size: .86rem; color: var(--text-2); }
.progress-wrap .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--roxo-2); margin-right: 6px; animation: pulse 1s infinite; vertical-align: middle; }
.progress-wrap.err { border-left-color: var(--err); }
.progress-wrap.err .fill { background: var(--err); animation: none; }
.progress-wrap.err .dot { background: var(--err); animation: none; }
.progress-wrap.done { border-left-color: var(--verde); }
.progress-wrap.done .dot { background: var(--verde); animation: none; }
.progress-wrap .action-tag {
  font-size: .74rem; font-weight: 700; padding: 2px 9px; border-radius: var(--r-pill);
  background: var(--roxo-tint); color: var(--roxo-2); white-space: nowrap;
}
.progress-wrap.done .action-tag { background: var(--verde-tint); color: var(--verde); }
.progress-wrap.err .action-tag { background: var(--err-tint); color: var(--err); }
.progress-wrap .elapsed-timer { font-size: .82rem; color: var(--text-3); font-variant-numeric: tabular-nums; }
.progress-wrap .result-box {
  margin-top: 12px; padding: 10px 12px; border-radius: 10px; font-size: .93rem; line-height: 1.5;
  background: var(--ink-1); border: 1px solid var(--line);
}
.progress-wrap .result-box .res-ok { color: var(--verde); }
.progress-wrap .result-box .res-err { color: var(--err); }
.progress-wrap .result-box code.reveal {
  background: var(--preto); border: 1px solid var(--line-2); border-radius: 8px; padding: 4px 10px;
  font-size: 1rem; color: var(--text); letter-spacing: .5px; user-select: all;
}

/* ------------------------------------------------------------- painel ao vivo (workers) */
.live-panel {
  background: var(--ink-1); border: 1px solid var(--line); border-left: 3px solid var(--verde);
  border-radius: var(--r-panel); padding: 16px 18px; margin: 14px 0 16px; position: relative;
}
.live-panel.idle { border-left-color: var(--line-2); }
.live-panel .head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.live-panel .head h3 { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; display: flex; align-items: center; gap: 8px; }
.live-panel .pulse-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--verde); animation: pulse 1.4s ease-in-out infinite; }
.live-panel.idle .pulse-dot { background: var(--text-3); animation: none; }
.live-panel .head > div { color: var(--text-2); }
.live-panel .head strong { color: var(--text); font-family: var(--font-head); font-weight: 600; }

.live-progress { position: relative; height: 8px; background: var(--ink-3); border-radius: var(--r-pill); overflow: visible; margin: 22px 0 14px; }
.live-progress .fill { position: absolute; top: 0; left: 0; height: 100%; background: var(--verde); border-radius: var(--r-pill); transition: width .6s ease; width: 0; }
.live-progress .label { position: absolute; top: -20px; right: 0; font-size: .8rem; color: var(--text-3); font-variant-numeric: tabular-nums; }

.workers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.worker-card { background: var(--ink-2); border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; }
.worker-card.active { border-color: rgba(169,123,245,.45); }
.worker-card .wid { font-size: .74rem; font-weight: 700; color: var(--text-3); margin-bottom: 4px; }
.worker-card .email { font-family: var(--font-mono); font-size: .82rem; color: var(--text); word-break: break-all; margin-bottom: 6px; }
.worker-card .step { font-size: .82rem; color: var(--roxo-2); display: flex; align-items: center; gap: 6px; font-weight: 600; }
.worker-card .step .mini-spin { display: inline-block; width: 8px; height: 8px; border-radius: 50%; border: 2px solid rgba(169,123,245,.3); border-top-color: var(--roxo-2); animation: ic-spin .8s linear infinite; }
.worker-card .elapsed { font-size: .76rem; color: var(--text-3); margin-top: 4px; font-variant-numeric: tabular-nums; }
.worker-card.idle { opacity: .45; }
.worker-card.idle .step { color: var(--text-3); }
.worker-card.idle .mini-spin { animation: none; border-color: var(--line-2); border-top-color: var(--text-3); }

.feed { max-height: 240px; overflow-y: auto; margin-top: 10px; border: 1px solid var(--line); border-radius: 10px; }
.feed .item { display: flex; justify-content: space-between; align-items: center; padding: 7px 10px; border-bottom: 1px solid var(--line); font-size: .84rem; animation: cpIn .3s ease; }
.feed .item:last-child { border-bottom: 0; }
.feed .item:hover { background: var(--ink-2); }
.feed .item .left { display: flex; align-items: center; gap: 8px; min-width: 0; }
.feed .item .email-txt { font-family: var(--font-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
.feed .item .meta { font-size: .76rem; color: var(--text-3); white-space: nowrap; }
.feed .ev-done { color: var(--verde); font-weight: 800; }
.feed .ev-rate_limit, .feed .ev-retry { color: var(--warn); font-weight: 800; }
.feed .ev-failed { color: var(--err); font-weight: 800; }
.feed .ev-start { color: var(--text-3); }

.throbber-btn { position: relative; }
.throbber-btn.loading::after { content: ''; position: absolute; top: 50%; right: 8px; margin-top: -6px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(0,0,0,.2); border-top-color: #000; animation: ic-spin .6s linear infinite; }

/* barra de seleção (checkboxes da tabela de contas) */
.sel-bar {
  display: none; gap: 8px; align-items: center; flex-wrap: wrap;
  margin: 0 0 12px; padding: 10px 12px;
  background: var(--verde-tint); border: 1px solid rgba(40,249,105,.35); border-radius: 12px;
}
.sel-bar strong { color: var(--verde); }

/* ------------------------------------------------------------- banner (status) */
.banner {
  display: flex; gap: 14px; align-items: center;
  background: var(--ink-1);
  border: 1px solid var(--line);
  border-left: 3px solid var(--text-3);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 0 0 16px;
}
.banner-icon {
  width: 44px; height: 44px; border-radius: 12px; flex: 0 0 auto;
  background: var(--ink-2); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; color: var(--text-2);
}
.banner-title { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; line-height: 1.2; }
.banner-sub { font-size: .9rem; margin-top: 2px; }
.banner-info { border-left-color: var(--roxo-2); }
.banner-info .banner-icon { color: var(--roxo-2); }
.banner-warn { border-left-color: var(--warn); }
.banner-warn .banner-icon { color: var(--warn); background: var(--warn-tint); border-color: rgba(247,185,85,.3); }
.banner-ok   { border-left-color: var(--verde); }
.banner-ok .banner-icon { background: var(--verde-tint); border-color: rgba(40,249,105,.3); color: var(--verde); }
.banner-err  { border-left-color: var(--err); }
.banner-err .banner-icon { background: var(--err-tint); border-color: rgba(255,95,114,.3); color: var(--err); }
.banner p:last-child { margin: 0; }

/* ------------------------------------------------------------- login */
.login-wrap, .auth-wrap { min-height: calc(100vh - 80px); display: flex; align-items: center; justify-content: center; padding: 32px 20px; }
.login-card, .auth-wrap > .card {
  width: 100%; max-width: 440px;
  margin: 0 auto;
  background: var(--ink-1);
  border: 1px solid var(--line);
  border-radius: var(--r-hero);
  padding: 32px 30px 28px;
}
.login-card h1, .auth-wrap h2 { text-align: center; font-size: 1.5rem; margin-bottom: 6px; font-family: var(--font-head); }
.login-card > .muted, .auth-wrap .card > .muted { text-align: center; margin-bottom: 20px; }
.login-card .btn-primary.big, .login-card .btn.primary, .auth-wrap .btn.primary { width: 100%; margin-top: 4px; }
.login-brand { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 0 0 22px; }
.login-brand img { display: block; }
.login-brand .login-fox { height: 72px; width: auto; }
.login-brand .login-word { height: 18px; width: auto; }
.login-brand .login-sub { color: var(--text-3); font-size: .82rem; font-weight: 600; }
.login-card label { margin-bottom: 12px; }
.login-card input.otp { font-family: var(--font-mono); font-size: 1.35rem; letter-spacing: .3em; text-align: center; }

/* ------------------------------------------------------------- hero (index) */
.hero { text-align: center; padding: 56px 20px 48px; }
.hero-mascote { width: 180px; height: 180px; object-fit: contain; margin: 0 auto 18px; display: block; }
.hero h1 { font-size: 2.6rem; line-height: 1.05; max-width: 760px; margin: 0 auto 14px; letter-spacing: -.02em; }
.hero .lead { font-size: 1.12rem; color: var(--text-2); max-width: 540px; margin: 0 auto 26px; line-height: 1.55; }
.cta-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ============================================================= */
/*  PÁGINA DO CLIENTE (pedido da Central Cart)                    */
/* ============================================================= */
body.customer-page { font-size: 15.5px; }
.customer-main { max-width: 640px; margin: 0 auto; padding: 28px 18px 48px; }
.customer-header { margin-bottom: 18px; }
.customer-header h1 { font-size: 2rem; margin: 8px 0 6px; }
.customer-header .muted { font-size: .9rem; }
.brand-row { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-weight: 700; font-size: .86rem; }
.brand-row img { height: 26px; width: 26px; object-fit: contain; }

/* linha de estado (#state-row) — pequena e discreta, o banner conta a história */
.state-line { color: var(--text-3); font-size: .86rem; margin: 0 0 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.state-line .badge { text-transform: none; }

/* preparando a conta */
/* Passos da entrega (mesmo stepper da página de V-Bucks do epic_site) */
.stepper {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 6px; padding: 0; margin: 0 0 20px; list-style: none;
  position: relative;
}
.stepper::before {
  content: ""; position: absolute; left: 14px; right: 14px; top: 14px; height: 2px;
  background: var(--line-2); z-index: 0;
}
.stepper li { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 7px; position: relative; z-index: 1; min-width: 0; }
.stepper .dot {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink-2); border: 2px solid var(--line-2);
  color: var(--text-3); font-weight: 700; font-size: .86rem;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s, color .2s;
}
.stepper .lbl { font-size: .72rem; font-weight: 600; color: var(--text-3); text-align: center; line-height: 1.2; }
.stepper li.done .dot { background: var(--verde); border-color: var(--verde); color: var(--preto); font-size: 0; }
.stepper li.done .dot::after { content: "✓"; font-size: 14px; font-weight: 800; }
.stepper li.done .lbl { color: var(--text-2); }
.stepper li.active .dot { background: var(--preto); border-color: var(--verde); color: var(--verde); box-shadow: 0 0 0 4px var(--verde-tint); }
.stepper li.active .lbl { color: var(--text); }

.prep-card { border-color: rgba(169,123,245,.4); }
.prep-card h2 { display: flex; align-items: center; gap: 10px; }
.prep-card h2 .ic { color: var(--roxo-2); }
.prep-card .progress-bar { height: 10px; margin-top: 14px; }
.prep-card .progress-bar .fill.indet { background: var(--roxo-2); }

/* O CARTÃO DE CREDENCIAIS — o elemento memorável da página */
.cred-hero {
  background: var(--ink-1);
  border: 2px solid var(--verde);
  border-radius: var(--r-hero);
  padding: 22px 22px 20px;
  margin: 0 0 16px;
  position: relative;
}
.cred-ready {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--verde); color: var(--preto);
  font-weight: 800; font-size: .86rem;
  padding: 6px 12px 6px 10px; border-radius: var(--r-pill);
  margin: 0 0 14px;
}
.cred-ready .ic { color: var(--preto); }
.cred-hero h2 { font-size: 1.35rem; margin: 0 0 4px; }
.cred-hero .cred-help { color: var(--text-2); font-size: .93rem; margin: 0 0 16px; }
.cred-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.cred-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cred-item:last-child { border-bottom: 0; }
.cred-item .k { color: var(--text-3); font-size: .82rem; font-weight: 700; }
.cred-item .v { font-family: var(--font-mono); font-size: 1.05rem; color: var(--text); word-break: break-all; line-height: 1.35; }
.cred-item.pw .v { font-size: 1.3rem; font-weight: 600; letter-spacing: .02em; color: var(--verde); }
.cred-item .v .muted { font-family: var(--font-sans); font-size: .82rem; }
.cred-copy {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 6px 10px; border-radius: 8px;
  background: transparent; color: var(--text-2);
  border: 1px solid var(--line-2); cursor: pointer;
  font-family: var(--font-sans); font-weight: 700; font-size: .8rem;
  transition: background .15s, color .15s, border-color .15s;
}
.cred-copy:hover { background: var(--ink-2); color: var(--text); }
.cred-copy.copied { background: var(--verde); color: var(--preto); border-color: var(--verde); }
.cred-note { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--ink-2); border: 1px solid var(--line); color: var(--text-2); font-size: .88rem; }
.cred-note strong { color: var(--text); }

/* "alguma coisa errada" — discreto, só se precisar */
.help-card { background: transparent; border-style: dashed; }
.help-card h2 { font-size: 1.1rem; }
.help-card .btn, .help-card .btn-ghost { margin-top: 4px; }

.other-card h2 { display: flex; align-items: center; gap: 8px; }

.customer-footer { margin-top: 26px; text-align: center; color: var(--text-3); font-size: .86rem; }
.customer-footer details { text-align: left; background: var(--ink-1); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; margin: 14px 0; }
.footer-brand { color: var(--text-3); font-weight: 600; }
.faq { color: var(--text-2); font-size: .9rem; padding: 6px 0 4px; }
.faq p { margin: 0 0 12px; }
.faq strong { color: var(--text); }

/* ============================================================= */
/*  RESPONSIVO                                                   */
/* ============================================================= */
@media (max-width: 1100px) {
  :root { --sidebar-w: 212px; }
  .main { padding: 22px 22px 40px; }
  .flash-container { padding: 16px 22px 0; }
}

@media (max-width: 860px) {
  .app { flex-direction: column; }
  .sidebar {
    position: static; width: 100%; height: auto; flex: none;
    border-right: 0; border-bottom: 1px solid var(--line);
    padding: 10px 14px;
  }
  .sb-top { border: 0; margin: 0; padding: 2px 0; }
  .sb-brand img.sb-fox { height: 34px; width: 34px; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--ink-2); border: 1px solid var(--line); color: var(--text);
    cursor: pointer;
  }
  .sb-nav, .sb-foot, .sb-group { display: none; }
  .sidebar.open .sb-nav { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 4px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
  .sidebar.open .sb-foot { display: block; }
  .sidebar.open .sb-group { grid-column: 1 / -1; }
  .sb-nav a.active::before { display: none; }
  .main { padding: 18px 16px 36px; }
  .flash-container { padding: 14px 16px 0; }
  footer.footer { padding: 16px; }
  .hero { padding: 36px 12px 28px; }
  .hero h1 { font-size: 2.15rem; }
  .card { padding: 16px; }
  .card > table, .card > form > table, .card > .table { margin: 0 -16px -16px; width: calc(100% + 32px); display: block; overflow-x: auto; }
  .card > table th:first-child, .card > table td:first-child,
  .card > form > table th:first-child, .card > form > table td:first-child { padding-left: 16px; }
  .card > table th:last-child, .card > table td:last-child,
  .card > form > table th:last-child, .card > form > table td:last-child { padding-right: 16px; }
  .kv { grid-template-columns: 1fr; gap: 2px 0; }
  .kv dt { margin-top: 8px; }
  .cred-item { grid-template-columns: 1fr auto; }
  .cred-item .k { grid-column: 1 / -1; }
  .customer-main { padding: 20px 16px 40px; }
  .filter-bar .count { margin-left: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
}

@media print {
  .sidebar, footer.footer, .flash-container, .btn-ghost, .btn-primary, .btn-danger, .btn { display: none !important; }
  body { background: #fff; color: #000; }
  .card { border-color: #ccc; }
}
