/* Lottus · Backoffice
   Fundo bege, área de trabalho num painel branco arredondado, menu de ícones.
   Grafite para ações e texto; rosa só para o que pede atenção. */

:root {
  --bg: #f5f2eb;          /* creme */
  --surface: #ffffff;     /* painel principal */
  --card: #ffffff;
  --soft: #faf8f4;        /* cartões de indicador */
  --field: #eae6df;       /* campos e abas */
  --hover: #f3efe8;
  --ink: #2b2321;         /* grafite */
  --muted: #6b605a;
  --faint: #9a8f88;
  --line: #ece8e1;
  --line-strong: #8a7f78;
  --action: #2b2321;
  --on-action: #ffffff;
  --rosa: #c73053;
  --rosa-tint: #f8e1e6;
  --success: #2e7a57;
  --success-tint: #e3f1ea;
  --warning: #9a5a0c;
  --warning-tint: #f6ead8;
  --danger: #b3261e;
  --danger-tint: #f7e1df;
  --shadow: 0 1px 2px rgba(43, 35, 33, 0.04), 0 4px 20px rgba(43, 35, 33, 0.04);
  --focus: 0 0 0 3px rgba(199, 48, 83, 0.32);
  color-scheme: light;
}
:root[data-theme='dark'] {
  --bg: #171210;
  --surface: #221b19;
  --card: #2b2321;
  --soft: #2b2321;
  --field: #3a302d;
  --hover: #322926;
  --ink: #f5f2eb;
  --muted: #b5aba3;
  --faint: #8a7f78;
  --line: #3d3330;
  --action: #f5f2eb;
  --on-action: #2b2321;
  --rosa: #e06783;
  --rosa-tint: #4a2a31;
  --success: #6fc59b;
  --success-tint: #23382e;
  --warning: #e8b25d;
  --warning-tint: #3d3122;
  --danger: #f08a7e;
  --danger-tint: #432826;
  --shadow: none;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root[data-theme='system'] {
    --bg: #171210;
    --surface: #221b19;
    --card: #2b2321;
    --soft: #2b2321;
    --field: #3a302d;
    --hover: #322926;
    --ink: #f5f2eb;
    --muted: #b5aba3;
    --faint: #8a7f78;
    --line: #3d3330;
    --action: #f5f2eb;
    --on-action: #2b2321;
    --rosa: #e06783;
    --rosa-tint: #4a2a31;
    --success: #6fc59b;
    --success-tint: #23382e;
    --warning: #e8b25d;
    --warning-tint: #3d3122;
    --danger: #f08a7e;
    --danger-tint: #432826;
    --shadow: none;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'tnum' 1, 'cv11' 1;
}
a { color: inherit; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: none; box-shadow: var(--focus); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.2; }
h1 { font-size: 30px; font-weight: 700; }
h2 { font-size: 17px; font-weight: 700; }
h3 { font-size: 15px; font-weight: 700; }
b { font-weight: 600; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.center { text-align: center; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; word-break: break-all; }
.num { text-align: right; white-space: nowrap; }
.nowrap { white-space: nowrap; }
.stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.stack-sm { display: flex; flex-direction: column; gap: 8px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }

/* ---------- Estrutura: trilho de seções + painel ---------- */
.shell { display: flex; height: 100vh; overflow: hidden; }
.sidenav { width: 84px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 26px; padding: 26px 0 22px; position: relative; z-index: 40; }
.sidenav-mark { width: 40px; height: 40px; background: var(--logo-mark) no-repeat center / contain; display: block; }
.sidenav-items { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.nav-sec { position: relative; }
.nav-btn {
  position: relative; width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; color: var(--muted);
  text-decoration: none; transition: background-color 0.15s ease, color 0.15s ease;
}
.nav-btn .ico { width: 21px; height: 21px; }
.nav-sec:hover .nav-btn, .nav-sec:focus-within .nav-btn, .nav-sec.open .nav-btn { background: var(--field); color: var(--ink); }
.nav-btn.active, .nav-sec:hover .nav-btn.active, .nav-sec:focus-within .nav-btn.active { background: var(--action); color: var(--on-action); box-shadow: 0 6px 14px rgba(43, 35, 33, 0.22); }
.nav-count {
  position: absolute; top: -4px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: #c73053; color: #fff; font-size: 10.5px; font-weight: 700; line-height: 18px; text-align: center; border: 2px solid var(--bg);
}
/* Painel que abre ao lado */
.flyout {
  position: absolute; left: 100%; top: -8px; margin-left: 10px; min-width: 220px; padding: 10px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 40px -12px rgba(43, 35, 33, 0.28);
  display: flex; flex-direction: column; gap: 2px; opacity: 0; visibility: hidden; transform: translateX(-6px);
  transition: opacity 0.14s ease, transform 0.14s ease, visibility 0.14s; z-index: 60;
}
.flyout::before { content: ""; position: absolute; left: -14px; top: 0; bottom: 0; width: 14px; } /* ponte para o mouse não perder o painel */
.nav-sec:hover .flyout, .nav-sec:focus-within .flyout, .nav-sec.open .flyout { opacity: 1; visibility: visible; transform: none; }
.flyout-title { font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); padding: 6px 10px 8px; }
.nav-sec.single .flyout { min-width: 0; padding: 8px 12px; top: 6px; border-radius: 12px; }
.nav-sec.single .flyout-title { padding: 0; text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--ink); white-space: nowrap; }
.fly-item { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 10px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 14px; white-space: nowrap; }
.fly-item .ico { width: 18px; height: 18px; color: var(--muted); }
.fly-item span:not(.nav-count) { flex: 1; }
.fly-item:hover, .fly-item:focus-visible { background: var(--field); }
.fly-item.active { background: var(--rosa-tint); color: var(--rosa); font-weight: 600; }
.fly-item.active .ico { color: var(--rosa); }
.fly-item .nav-count { position: static; border: 0; }

.frame { flex: 1; min-width: 0; padding: 24px 24px 24px 0; display: flex; }
.surface {
  flex: 1; min-width: 0; background: var(--surface); border-radius: 32px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; overflow: hidden;
}
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 32px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.org { display: flex; align-items: center; gap: 12px; }
.org-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-weight: 700; }
.org-name { font-weight: 700; font-size: 14px; line-height: 1.25; }
.org-sub { font-size: 12px; color: var(--muted); }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.theme-toggle { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--field); }
.theme-toggle button { width: 32px; height: 28px; border-radius: 999px; border: none; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.theme-toggle button svg { width: 16px; height: 16px; }
.theme-toggle button:hover { color: var(--ink); }
.theme-toggle button[aria-pressed='true'] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(43, 35, 33, 0.14); }
.profile { position: relative; }
.avatar { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--rosa-tint); color: var(--rosa); font-weight: 700; cursor: pointer; }
.menu { position: absolute; right: 0; top: 48px; width: 230px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 32px rgba(43, 35, 33, 0.14); z-index: 45; overflow: hidden; }
.menu-head { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.menu-name { font-weight: 700; }
.menu-sub { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.menu-item { width: 100%; display: flex; align-items: center; gap: 8px; padding: 12px 16px; border: none; background: transparent; cursor: pointer; font-weight: 600; text-align: left; }
.menu-item svg { width: 16px; height: 16px; }
.menu-item:hover { background: var(--hover); }
.menu-item.danger { color: var(--danger); }
.content { flex: 1; overflow-y: auto; padding: 8px 40px 48px; }
.content::-webkit-scrollbar { width: 8px; }
.content::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px 0 24px; }
.page-sub { color: var(--muted); margin-top: 6px; font-size: 13px; }
.page-sub::first-letter { text-transform: uppercase; }
.back { display: inline-block; margin-bottom: 10px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 13px; }
.back:hover { color: var(--ink); }
.section-title { margin-bottom: 14px; }

/* ---------- Cartões ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 22px 24px; }
.card.flush { padding: 0; overflow: hidden; }
.card > h2, .card > h3 { margin-bottom: 14px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.card-head h2, .card-head h3 { margin: 0; }
.card-pad-head { padding: 20px 24px 6px; }
.panel { background: var(--soft); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.kv { display: grid; grid-template-columns: minmax(150px, max-content) 1fr; gap: 8px 24px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; min-width: 0; }
.kv dd .tag { white-space: normal; height: auto; line-height: 1.4; padding-top: 3px; padding-bottom: 3px; }
@media (max-width: 560px) { .kv { grid-template-columns: minmax(84px, max-content) minmax(0, 1fr); gap: 8px 14px; } }
.list { display: flex; flex-direction: column; }
.list-row { display: flex; align-items: flex-start; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.list-row:first-child { border-top: none; padding-top: 0; }

/* Indicadores do painel */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 32px; }
.kpi { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 24px; background: var(--soft); border: 1px solid var(--line); text-decoration: none; transition: box-shadow 0.15s ease; }
.kpi:hover { box-shadow: 0 6px 20px rgba(43, 35, 33, 0.06); }
.kpi-label { font-weight: 700; font-size: 13.5px; }
.kpi-value { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.kpi.alert { background: var(--rosa-tint); border-color: color-mix(in srgb, var(--rosa) 22%, transparent); }
.kpi.alert .kpi-label, .kpi.alert .kpi-value { color: var(--rosa); }
.split { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 24px; align-items: start; }
.queue-row {
  display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 8px;
  padding: 16px 24px; text-decoration: none; border-top: 1px solid var(--line);
}
.queue-row:first-child { border-top: none; }
.queue-row:hover { background: var(--hover); }
.queue-count { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; color: var(--rosa); line-height: 1; }
.queue-label { font-size: 14.5px; font-weight: 600; }
.queue-go { font-size: 22px; color: var(--faint); line-height: 1; }
.recent { display: flex; flex-direction: column; gap: 8px; padding: 14px; }
.recent-row { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; }
.recent-row:hover { background: var(--hover); }
.recent-name { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Tabelas */
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: 12px; font-weight: 700; color: var(--muted); padding: 14px 20px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--soft); }
td { padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child td { border-bottom: none; }
tr.link { cursor: pointer; }
tr.link:hover td { background: var(--hover); }
.table-wrap { overflow-x: auto; }
.empty { padding: 40px 24px; text-align: center; color: var(--faint); }

/* ---------- Detalhe da operação ---------- */
.detail { display: grid; grid-template-columns: 340px 1fr; gap: 20px; align-items: start; }
.rail { position: sticky; top: 8px; display: flex; flex-direction: column; gap: 16px; }
.rail-card { display: flex; flex-direction: column; gap: 12px; }
.rail-card > h3 { margin: 0; }
.rail-amount { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-top: 6px; }
.rail-amount-label { color: var(--muted); margin-top: -8px; }
.rail-actions { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.lines { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 0; padding-top: 12px; border-top: 1px solid var(--line); }
.lines dt { color: var(--muted); }
.lines dd { margin: 0; text-align: right; font-weight: 500; }
.list-row.dup { display: grid; grid-template-columns: minmax(0, 1fr) 100px 120px 96px; align-items: center; gap: 4px 16px; }
.dup-amount { text-align: right; }
.dup-actions { grid-column: 1 / -1; display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.dup-actions:empty { display: none; }

/* ---------- Etiquetas ---------- */
.tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 8px; font-size: 11.5px; font-weight: 700; white-space: nowrap; background: var(--field); color: var(--ink); align-self: flex-start; }
.tag.success { background: var(--success-tint); color: var(--success); }
.tag.warning { background: var(--warning-tint); color: var(--warning); }
.tag.danger { background: var(--danger-tint); color: var(--danger); }
.tag.brand { background: var(--rosa-tint); color: var(--rosa); }
.check { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.check.ok { color: var(--success); }
.check.no { color: var(--danger); }

/* ---------- Botões e campos ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: 12px; border: 1px solid transparent; cursor: pointer;
  font-weight: 700; font-size: 13.5px; background: var(--action); color: var(--on-action); text-decoration: none; white-space: nowrap;
  transition: background-color 0.15s ease, opacity 0.15s ease;
}
.btn:hover { opacity: 0.88; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn.secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.secondary:hover { background: var(--hover); opacity: 1; }
.btn.ghost { background: transparent; color: var(--muted); }
.btn.ghost:hover { background: var(--hover); color: var(--ink); opacity: 1; }
.btn.danger { background: transparent; color: var(--danger); border-color: color-mix(in srgb, var(--danger) 40%, transparent); }
.btn.danger:hover { background: var(--danger-tint); opacity: 1; }
.btn.brand { background: var(--rosa); color: #fff; }
.btn.sm { padding: 6px 12px; font-size: 12.5px; border-radius: 10px; }
.btn.block { width: 100%; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: 12px; color: var(--muted); }
.input, select.input, textarea.input {
  width: 100%; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--soft); outline: none;
}
.input:focus { border-color: var(--rosa); box-shadow: var(--focus); }
textarea.input { min-height: 88px; resize: vertical; }
.help { font-size: 12.5px; color: var(--muted); }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.search { width: 320px; max-width: 100%; }

/* Abas: controle segmentado */
.tabs { display: inline-flex; gap: 2px; padding: 4px; background: var(--field); border-radius: 999px; flex-wrap: wrap; }
.tabs button { padding: 7px 14px; border-radius: 999px; border: none; background: transparent; cursor: pointer; font-weight: 700; font-size: 12.5px; color: var(--muted); }
.tabs button:hover { color: var(--ink); }
.tabs button.active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(43, 35, 33, 0.14); }

/* ---------- Login e autenticador ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(380px, 0.9fr) minmax(0, 1.1fr); padding: 14px; gap: 14px; }
.auth-side {
  position: relative; overflow: hidden; border-radius: 32px; padding: 44px; display: flex; flex-direction: column; gap: 28px;
  background: #2b2321; color: #f5f2eb;
  background-image: radial-gradient(60% 60% at 100% 0%, rgba(199, 48, 83, 0.45), transparent 70%), radial-gradient(50% 50% at 0% 100%, rgba(199, 48, 83, 0.18), transparent 70%);
}
.auth-logo { width: 150px; height: 40px; background: url(img/logo-creme.png) no-repeat left center / contain; }
.auth-side-copy { margin-top: auto; display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.auth-side-copy h2 { font-size: clamp(36px, 4vw, 52px); letter-spacing: -0.04em; line-height: 1.05; font-weight: 800; }
.auth-side-copy p { color: #cdbfb6; font-size: 16px; max-width: 30ch; }
.auth-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; position: relative; z-index: 1; }
.auth-points li { display: flex; align-items: center; gap: 12px; color: #e6dcd3; font-size: 14.5px; }
.auth-points .ico { width: 34px; height: 34px; padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); color: #f2a6b8; flex-shrink: 0; }
.auth-blob { position: absolute; right: -90px; top: 22%; width: 340px; height: 340px; background: url(img/mark-creme.png) no-repeat center / contain; opacity: 0.05; pointer-events: none; }
.auth-main { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 32px 16px; }
.auth-logo-sm { display: none; width: 130px; height: 36px; background: var(--logo) no-repeat center / contain; }
.auth-card { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 18px; }
.auth-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 6px; }
.auth-title { font-size: 32px; letter-spacing: -0.035em; font-weight: 800; }
.auth-badge { width: 48px; height: 48px; border-radius: 16px; background: var(--rosa-tint); color: var(--rosa); display: grid; place-items: center; margin-bottom: 8px; }
.auth-badge .ico { width: 24px; height: 24px; }
.auth-foot { font-size: 12.5px; color: var(--muted); text-align: center; max-width: 360px; }
.input-ico { position: relative; }
.input-ico > .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.input-ico .input { padding-left: 42px; height: 50px; }
.input-ico .pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 12px; border: 0; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.input-ico .pw-toggle:hover, .input-ico .pw-toggle[aria-pressed="true"] { background: var(--field); color: var(--ink); }
.input-ico .pw-toggle .ico { width: 18px; height: 18px; }
.input-ico:has(.pw-toggle) .input { padding-right: 50px; }
.btn.lg { height: 52px; font-size: 15.5px; gap: 8px; }
.btn .ico { width: 18px; height: 18px; }
.btn.loading { opacity: 0.7; pointer-events: none; }
.btn.loading::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* código do autenticador: um quadradinho por dígito */
.otp { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.otp-box {
  width: 100%; aspect-ratio: 1 / 1.15; border-radius: 16px; border: 1.5px solid var(--line); background: var(--field); color: var(--ink);
  text-align: center; font-family: inherit; font-size: 26px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; caret-color: var(--rosa); transition: border-color 0.12s, background-color 0.12s, box-shadow 0.12s;
}

.otp-box:focus { outline: none; border-color: var(--rosa); background: var(--surface); box-shadow: 0 0 0 4px var(--rosa-tint); }
.otp-box.filled { border-color: var(--ink); background: var(--surface); }
.otp.shake { animation: shake 0.35s ease; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.enroll { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.enroll li { display: flex; gap: 12px; font-size: 14px; color: var(--muted); }
.enroll span { width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 700; display: grid; place-items: center; flex-shrink: 0; }
.qr { background: #fff; padding: 12px; border-radius: 18px; width: 188px; height: 188px; margin: 4px auto; border: 1px solid var(--line); }
.qr img { width: 100%; height: 100%; }
.secret { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.secret code { background: var(--field); border-radius: 8px; padding: 4px 8px; font-size: 12px; }
.brand:not(.tag) { display: flex; align-items: center; gap: 10px; }
@media (max-width: 900px) {
  .auth { grid-template-columns: minmax(0, 1fr); padding: 0; }
  .auth-side { display: none; }
  .auth-logo-sm { display: block; }
  .auth-main { min-height: 100vh; justify-content: flex-start; padding-top: 48px; }
}
@media (prefers-reduced-motion: reduce) { .otp.shake { animation: none; } }
.error-box { padding: 10px 14px; border-radius: 12px; background: var(--danger-tint); color: var(--danger); font-weight: 600; }
.note-box { padding: 10px 14px; border-radius: 12px; background: var(--warning-tint); color: var(--warning); font-weight: 600; }

/* ---------- Modal ---------- */
.modal-backdrop { position: fixed; inset: 0; background: rgba(23, 18, 16, 0.45); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 24px; z-index: 50; }
.modal { background: var(--card); border-radius: 24px; width: 100%; max-width: 520px; max-height: calc(100vh - 48px); overflow-y: auto; padding: 26px; box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25); animation: modal-in 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
.modal.wide { max-width: 1080px; }
@keyframes modal-in { from { opacity: 0; transform: scale(0.97) translateY(12px); } to { opacity: 1; transform: none; } }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.modal-head .muted { margin-top: 4px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.media { background: var(--soft); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.media img { width: 100%; height: 340px; object-fit: contain; background: #1a1513; cursor: zoom-in; }
.media .cap { padding: 8px 14px; font-weight: 700; font-size: 13px; display: flex; justify-content: space-between; }

/* ---------- Avisos ---------- */
#toast-root { position: fixed; top: 20px; right: 20px; z-index: 60; display: flex; flex-direction: column; gap: 10px; width: min(380px, calc(100vw - 40px)); pointer-events: none; }
.toast { pointer-events: auto; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 30px rgba(43, 35, 33, 0.14); overflow: hidden; animation: toast-in 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
.toast.out { animation: toast-out 0.2s ease forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(-8px) scale(0.98); } }
.toast-body { display: flex; align-items: flex-start; gap: 12px; padding: 14px; }
.toast-icon { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.toast-icon svg { width: 15px; height: 15px; }
.toast.ok .toast-icon { background: var(--success-tint); color: var(--success); }
.toast.error .toast-icon { background: var(--danger-tint); color: var(--danger); }
.toast-text { flex: 1; min-width: 0; }
.toast-title { font-weight: 700; }
.toast-msg { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.toast-close { border: none; background: transparent; color: var(--faint); cursor: pointer; }
.toast-bar { height: 3px; transform-origin: left; animation: toast-bar linear forwards; }
.toast.ok .toast-bar { background: var(--success); }
.toast.error .toast-bar { background: var(--danger); }
@keyframes toast-bar { from { transform: scaleX(1); } to { transform: scaleX(0); } }

.spinner { width: 24px; height: 24px; border-radius: 50%; border: 2.5px solid var(--line); border-top-color: var(--rosa); animation: spin 0.8s linear infinite; margin: 64px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
details { border-top: 1px solid var(--line); padding-top: 12px; }
details:first-child { border-top: none; padding-top: 0; }
details summary { cursor: pointer; font-weight: 700; }
.contract-box { background: var(--soft); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; max-height: 62vh; overflow-y: auto; }
.contract { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; line-height: 1.6; }
.contract .contract-title { font-size: 16px; line-height: 1.35; }
.contract h4 { font-size: 13.5px; font-weight: 700; margin-top: 8px; }
.contract p { margin: 0; }
.contract mark { background: var(--rosa-tint); color: var(--rosa); border-radius: 4px; padding: 0 3px; font-size: 12px; }
button.list-row { width: 100%; text-align: left; background: none; border: 0; font: inherit; color: inherit; cursor: pointer; }
pre.json { background: var(--soft); border: 1px solid var(--line); padding: 14px; border-radius: 12px; overflow-x: auto; font-size: 12px; max-height: 360px; }
.divider { height: 1px; background: var(--line); margin: 4px 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation-duration: 0.01ms !important; }
}
@media (max-width: 1180px) {
  .detail, .split { grid-template-columns: 1fr; }
  .rail { position: static; }
}
@media (max-width: 760px) {
  .shell { flex-direction: column; height: auto; overflow: visible; }
  .sidenav { width: 100%; max-width: 100vw; box-sizing: border-box; min-width: 0; flex-direction: row; padding: 10px 14px; gap: 14px; overflow-x: auto; scrollbar-width: none; }
  .sidenav::-webkit-scrollbar { display: none; }
  .sidenav-mark { flex-shrink: 0; }
  .sidenav-items { flex-direction: row; gap: 6px; }
  .flyout { position: fixed; left: 12px; right: 12px; top: 70px; margin: 0; transform: translateY(-6px); }
  .flyout::before { display: none; }
  .nav-sec:hover .flyout { opacity: 0; visibility: hidden; }
  .nav-sec.open .flyout, .nav-sec:focus-within .flyout { opacity: 1; visibility: visible; transform: none; }
  .frame { padding: 0 8px 8px; }
  .surface { border-radius: 24px; }
  .topbar { padding: 14px 16px; }
  .org-sub { display: none; }
  .content { padding: 4px 16px 40px; overflow: visible; }
  h1 { font-size: 24px; }
  .list-row.dup { grid-template-columns: 1fr auto; }
}

/* ---------- Logo da Lottus (arquivos em img/) ---------- */
:root { --logo: url(img/logo-rosa.png); --logo-mark: url(img/mark-rosa.png); }
:root[data-theme='dark'] { --logo: url(img/logo-creme.png); --logo-mark: url(img/mark-creme.png); }
@media (prefers-color-scheme: dark) { :root[data-theme='system'] { --logo: url(img/logo-creme.png); --logo-mark: url(img/mark-creme.png); } }
.brand-logo { display: block; width: 150px; height: 40px; background: var(--logo) no-repeat left center / contain; }
@media (max-width: 760px) {
    }
.org-mark.logo { background: var(--logo-mark) no-repeat center / 78% auto; }
.link-btn { background: none; border: 0; padding: 6px; color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; align-self: center; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--ink); }

/* ---------- Fundos: lista em cartões ---------- */
.fund-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.fund-card { display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: inherit; transition: border-color 0.15s, transform 0.15s; }
.fund-card:hover { border-color: var(--ink); transform: translateY(-1px); }
.fund-top { display: flex; align-items: center; gap: 12px; }
.fund-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--rosa-tint); color: var(--rosa); display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.fund-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px; border-radius: 14px; background: var(--field); }
.fund-stats div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fund-stats span { font-size: 11.5px; color: var(--muted); }
.fund-stats b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.narrow { max-width: 760px; }

/* ---------- Fundos: o que falta para operar ---------- */
.ready { border: 1px solid var(--line); background: var(--surface); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.ready.ok { border-color: color-mix(in srgb, var(--success) 40%, var(--line)); }
.ready-head { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.ready-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ready-step { display: flex; gap: 10px; align-items: flex-start; text-align: left; padding: 12px; border-radius: 14px; border: 1px dashed var(--line); background: transparent; color: var(--ink); font: inherit; cursor: pointer; }
.ready-step:hover { border-color: var(--ink); }
.ready-step b { display: block; font-size: 13.5px; }
.ready-step small { display: block; font-size: 12px; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.ready-step.done { border-style: solid; background: var(--field); }
.ready-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); flex-shrink: 0; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; }
.ready-step.done .ready-dot { background: var(--success); border-color: var(--success); }
@media (max-width: 900px) { .ready-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Formulários enxutos ---------- */
.save-bar { display: flex; justify-content: flex-end; padding-top: 8px; border-top: 1px solid var(--line); }
.switch-row { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; padding: 6px 0; }
.switch-row input { position: absolute; opacity: 0; pointer-events: none; }
.switch { width: 38px; height: 22px; border-radius: 999px; background: var(--line); position: relative; flex-shrink: 0; transition: background-color 0.15s; margin-top: 1px; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform 0.15s; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); }
.switch-row input:checked + .switch { background: var(--rosa); }
.switch-row input:checked + .switch::after { transform: translateX(16px); }
.switch-row input:focus-visible + .switch { outline: 3px solid var(--rosa-tint); outline-offset: 2px; }
.switch-row input:disabled ~ * { opacity: 0.6; }
.switch-row b { display: block; font-size: 14px; }
.switch-row small { display: block; font-size: 12.5px; color: var(--muted); }
.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.choice { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--rosa); background: var(--rosa-tint); }
.choice input { accent-color: var(--rosa); margin-top: 3px; }
.choice b { display: block; font-size: 14px; }
.choice small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
@media (max-width: 760px) { .choices { grid-template-columns: minmax(0, 1fr); } }
.copy-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--field); min-width: 0; }
.copy-row span { font-size: 12px; font-weight: 700; color: var(--muted); width: 44px; flex-shrink: 0; }
.copy-row code { flex: 1; min-width: 0; font-size: 12px; overflow-wrap: anywhere; }

/* ---------- Acesso ---------- */
.empty-cta { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 32px 16px; }
.empty-cta .ico { width: 32px; height: 32px; color: var(--muted); margin-bottom: 4px; }
.list-row.member { align-items: center; }
.avatar-sm { width: 36px; height: 36px; border-radius: 50%; background: var(--field); display: grid; place-items: center; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.row-actions { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat span { font-size: 12.5px; color: var(--muted); }
.stat b { font-size: 22px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat small { font-size: 12.5px; color: var(--muted); }
@media (max-width: 760px) { .stat-row { grid-template-columns: minmax(0, 1fr); } .list-row.member { flex-wrap: wrap; } }
[hidden] { display: none !important; }
.choice { font-weight: 400; }
.choice small { font-weight: 400; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }

/* Documentos exigidos (operação e jurídico) */
.doc-checks { display: grid; gap: 2px; margin-top: 10px; }
.doc-check { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.doc-check:last-child { border-bottom: 0; }
.doc-ico { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.doc-check.ok .doc-ico { background: var(--success-tint, #e3f1e7); color: var(--success, #2f7a4a); }
.doc-check.no .doc-ico { background: var(--danger-tint, #f8e1e1); color: var(--danger, #b42318); }
.doc-check.wait .doc-ico { background: var(--brand-tint, #fdf0f3); color: var(--brand, #c73053); }
.contract-scroll { max-height: 52vh; overflow: auto; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: var(--surface-2, transparent); }
.legal-filters { align-items: flex-end; flex-wrap: wrap; }
.legal-filters .field.grow { flex: 1 1 260px; }
a.list-row { text-decoration: none; color: inherit; }

/* Motor de crédito */
.credit-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.credit-score { display: flex; gap: 20px; align-items: center; }
.score-ring { --p: 50; width: 112px; height: 112px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--brand, #c73053) calc(var(--p) * 1%), var(--line) 0); }
.score-ring > div { width: 88px; height: 88px; border-radius: 50%; background: var(--surface, #fff); display: grid; place-items: center; align-content: center; }
.score-ring b { font-size: 28px; line-height: 1; letter-spacing: -0.02em; }
.score-ring span { font-size: 11px; color: var(--muted); }
.credit-offer { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cov-bar { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; margin-top: 4px; max-width: 280px; }
.cov-bar span { display: block; height: 100%; background: var(--brand, #c73053); border-radius: inherit; }
.missing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 10px; margin-top: 12px; }
.missing { display: grid; gap: 2px; padding: 12px 14px; border: 1px dashed var(--line); border-radius: 12px; text-decoration: none; color: inherit; }
.missing:hover { border-color: var(--brand, #c73053); }
.cd-sec { border-top: 1px solid var(--line); padding: 12px 0; }
.cd-sec summary { cursor: pointer; font-weight: 700; display: flex; justify-content: space-between; align-items: center; list-style: none; }
.cd-sec summary::-webkit-details-marker { display: none; }
.cd-sec[open] summary { margin-bottom: 12px; }
.input.sm { height: 34px; padding: 4px 10px; font-size: 14px; max-width: 120px; }
@media (max-width: 900px) { .credit-hero { grid-template-columns: minmax(0, 1fr); } }
.stack > *, .grid-2 > *, .grid-3 > * { min-width: 0; }
.switch-row { position: relative; }

.notice-frame { width: 100%; height: 60vh; border: 1px solid var(--line); border-radius: 12px; background: #f5f2eb; }

/* ===================================================== Lottus Partners: painel */
.action-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; margin-bottom: 20px; }
.action-card { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 20px; background: var(--rosa-tint);
  border: 1px solid color-mix(in srgb, var(--rosa) 22%, transparent); color: var(--ink); text-decoration: none; transition: transform 0.12s ease, box-shadow 0.15s ease; }
.action-card:hover { box-shadow: 0 6px 20px rgba(43, 35, 33, 0.08); transform: translateY(-1px); }
.action-card .grow { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.action-count { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; color: var(--rosa); min-width: 34px; }
.action-go { font-weight: 700; font-size: 13.5px; white-space: nowrap; }

.dash-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 16px; margin-bottom: 16px; }
.hero-card { display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.hero-value { font-size: 48px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.status-line { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 10px 12px; border-radius: 14px; font-size: 13.5px; }
.status-line.danger { background: var(--danger-tint); color: var(--danger); }
.status-line.ok { background: var(--success-tint); color: var(--success); }
.status-ico { width: 22px; height: 22px; border-radius: 11px; display: inline-grid; place-items: center; font-weight: 800; font-size: 12px; flex: none;
  background: color-mix(in srgb, currentColor 16%, transparent); }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 20px; background: var(--soft); border: 1px solid var(--line); min-width: 0; }
.tile-value { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; overflow-wrap: anywhere; }
.dash-charts, .dash-conc { margin-bottom: 16px; }
.dash-charts .card-head { margin-bottom: 8px; }

/* Gráfico de colunas */
.chart-host { position: relative; }
.chart { position: relative; width: 100%; }
.chart svg { display: block; overflow: visible; }
.chart-grid { stroke: var(--line); stroke-width: 1; }
.chart-base { stroke: var(--line-strong); stroke-opacity: 0.5; stroke-width: 1; }
.chart-axis { fill: var(--faint); font-size: 11px; font-variant-numeric: tabular-nums; }
.chart-value { fill: var(--muted); font-size: 11.5px; font-weight: 700; }
.chart-bar { fill: var(--rosa); transition: opacity 0.12s ease; }
.chart svg.hovering .chart-bar:not(.on) { opacity: 0.45; }
.chart-hit { fill: transparent; cursor: default; outline: none; }
.chart-hit:focus-visible { stroke: var(--rosa); stroke-width: 1.5; stroke-dasharray: none; }
.chart-tip { position: absolute; z-index: 2; pointer-events: none; display: flex; flex-direction: column; gap: 1px; padding: 8px 12px; border-radius: 12px;
  background: var(--card); border: 1px solid var(--line); box-shadow: 0 6px 24px rgba(43, 35, 33, 0.12); white-space: nowrap; font-size: 12.5px; }
.chart-tip[hidden] { display: none; }
.chart-tip strong { font-size: 15px; color: var(--ink); }
.chart-tip span { color: var(--muted); }
.chart-tip .chart-tip-sub { color: var(--faint); }
.chart-table { margin-top: 6px; }
.chart-table summary { cursor: pointer; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.chart-table table { margin-top: 8px; font-size: 13px; }
.chart-table td, .chart-table th { padding: 6px 4px; }

/* Concentração */
.conc { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.conc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; }
.conc-name, .conc-val { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.conc-name b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conc-val { text-align: right; }
.meter { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--rosa-tint); overflow: hidden; }
.meter span { display: block; height: 100%; border-radius: 3px; background: var(--rosa); }

/* ================================================ Lottus Partners: operações */
.ops-bar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.ops-table td { vertical-align: top; }
.ops-table .ops-name { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ops-table td.go { color: var(--faint); font-size: 18px; width: 24px; text-align: right; vertical-align: middle; }
.ops-table tr.link:focus-visible td { background: var(--hover); outline: none; }

.pager { display: flex; align-items: center; gap: 6px; }
.pager .btn.disabled { opacity: 0.35; pointer-events: none; }
.decide { list-style: none; margin: 4px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.decide li { display: flex; gap: 10px; align-items: flex-start; }
.decide li > span:last-child { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.decide .ci { width: 22px; height: 22px; border-radius: 11px; display: inline-grid; place-items: center; font-weight: 800; font-size: 12px; flex: none; }
.decide .ok .ci { background: var(--success-tint); color: var(--success); }
.decide .no .ci { background: var(--danger-tint); color: var(--danger); }
.decide .info .ci { background: var(--field); color: var(--muted); }
.pay-box { margin-top: 4px; border-top: 1px solid var(--line); padding-top: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: var(--soft); color: var(--ink); border-radius: 999px; padding: 7px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.chip:hover { background: var(--hover); }
.chip.on { border-color: var(--rosa); background: var(--rosa-tint); color: var(--ink); font-weight: 600; }
.decision-bar { display: none; }

@media (max-width: 1000px) {
  .dash-top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .hero-value { font-size: 38px; }
  .tile-value { font-size: 20px; }
  .tiles { gap: 10px; }
  .tile { padding: 14px 16px; }
  .ops-bar .search { width: 100%; }
  /* Lista vira cartões */
  .ops-table thead { display: none; }
  .ops-table, .ops-table tbody, .ops-table tr, .ops-table td { display: block; width: 100%; }
  .ops-table tr { position: relative; padding: 14px 40px 14px 16px; border-top: 1px solid var(--line); }
  .ops-table tbody tr:first-child { border-top: none; }
  .ops-table td { padding: 0; border: none; text-align: left; }
  .ops-table td.num { text-align: left; }
  .ops-table td[data-label="Cedente"] { margin-bottom: 8px; }
  .ops-table td[data-label="Duplicatas"], .ops-table td[data-label="Situação"] { display: inline-block; width: auto; vertical-align: top; margin-right: 14px; }
  .ops-table td[data-label="Líquido"], .ops-table td[data-label="1º vencimento"] { display: none; }
  .ops-table td[data-label="Pedida"] { position: absolute; top: 14px; right: 40px; width: auto; font-size: 12px; color: var(--faint); }
  .ops-table td.go { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: auto; }
  .pager .small { display: none; }
  /* Barra fixa com a decisão */
  .decision-bar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(8px); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(43, 35, 33, 0.06); }
  .detail:has(~ .decision-bar) { padding-bottom: 84px; }
  .ops-table tr.link:hover td { background: transparent; }
  .ops-table tr.link:hover, .ops-table tr.link:active { background: var(--hover); }
  .page-head .tabs { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .page-head .tabs::-webkit-scrollbar { display: none; }
  .page-head .tabs button { white-space: nowrap; flex: none; }
  .decision-bar .btn { flex: 1; }
  .decision-bar .btn:last-child { flex: 1.6; }
  #acts { display: none; }
}
