/* ==========================================================================
   Rodaz — tokens e componentes visuais (identidade "Giro")
   ========================================================================== */
/* Paleta: petróleo (marca), lima (acento), noite (texto), menta (fundo) e cores de situação.
   Toda cor do sistema sai daqui; o modo escuro só redefine as variáveis. */
:root {
  --bg: #F2F5EE; --surface: #FFFFFF; --surface2: #F7F9F5; --hover: #EBF0E8; --track: #E1E8DF;
  --ink: #0B1F1A; --ink2: #22362F; --muted: #4F6660;
  --line: #D9E2DA; --line2: #EAEFE8; --input: #C7D2C9; --input-strong: #8FA198;
  --pri: #145C4C; --pri-ink: #0F3D33; --pri-soft: #E2EEE6; --pri-bg: #EEF5EF; --pri-line: #C5DCCD; --on-pri: #FFFFFF;
  --lima: #C6F432; --on-lima: #0F3D33;
  --ok: #1E6B33; --ok-bg: #E3F1E6; --ok-fill: #2E8B4A;
  --warn: #8F4A06; --warn-bg: #FCEFD9; --warn-fill: #E09A2C; --warn-line: #EBC9A0;
  --bad: #A61B1B; --bad-bg: #FAE6E6; --bad-line: #EBC4C4;
  --info: #1D4E89; --info-bg: #E3ECF8; --info-fill: #B9CDE8;
  --neu: #4A5753; --neu-bg: #E6ECE7; --neu-fill: #A6B3AD;
  --sel: #E4EFE7;
  --plate-bg: #FFFFFF; --plate-ink: #111A18; --plate-blue: #1D4E89;
  --marca-bg: #0F3D33; --marca-ink: #F2F5EE; --marca-muted: #A9C2B8;
  --logo-bg: #0F3D33; --logo-ink: #C6F432;
  --scrim: rgba(11,31,26,.38); --shadow-1: 0 1px 2px rgba(11,31,26,.1); --shadow-2: 0 10px 40px rgba(11,31,26,.18);
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --text: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --plate-font: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B1814; --surface: #10211C; --surface2: #132621; --hover: #172D27; --track: #1C342D;
    --ink: #E8EFEA; --ink2: #C9D6CF; --muted: #93A89F;
    --line: #22392F; --line2: #1A2F28; --input: #33493F; --input-strong: #557064;
    --pri: #C6F432; --pri-ink: #D9FA78; --pri-soft: #22351A; --pri-bg: #15281C; --pri-line: #3A5226; --on-pri: #0F3D33;
    --ok: #6CC488; --ok-bg: #16301F; --ok-fill: #3FA460;
    --warn: #F0A53A; --warn-bg: #3A2A12; --warn-fill: #D89030; --warn-line: #6A4A1A;
    --bad: #F08080; --bad-bg: #3A1A1A; --bad-line: #6A2A2A;
    --info: #8DB5EA; --info-bg: #18263A; --info-fill: #35557F;
    --neu: #B2C0BA; --neu-bg: #1F332D; --neu-fill: #5B6E66;
    --sel: #1D3324;
    --plate-blue: #2F64AD;
    --logo-bg: #C6F432; --logo-ink: #0F3D33;
    --scrim: rgba(0,0,0,.55); --shadow-1: 0 1px 2px rgba(0,0,0,.4); --shadow-2: 0 10px 40px rgba(0,0,0,.5);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html, body { background: var(--bg); }
body { margin: 0; color: var(--ink); font-family: var(--text); font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
a { color: var(--pri); text-decoration: none; }
a:hover { color: var(--pri-ink); text-decoration: underline; }
h1:focus { outline: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Paleta escura do MudBlazor já no CSS: telas renderizadas no servidor (login, conta) e o primeiro
   carregamento ficam escuros antes do tema interativo assumir. Mesmos valores de PaletteDark (MainLayout). */
@media (prefers-color-scheme: dark) {
  :root:root {
    --mud-palette-black: rgba(39,39,47,1);
    --mud-palette-white: rgba(255,255,255,1);
    --mud-palette-primary: rgba(198,244,50,1);
    --mud-palette-primary-rgb: 198,244,50;
    --mud-palette-primary-text: rgba(15,61,51,1);
    --mud-palette-primary-darken: rgb(217,250,120);
    --mud-palette-primary-lighten: rgb(212,247,110);
    --mud-palette-primary-hover: rgba(198,244,50,0.058823529411764705);
    --mud-palette-secondary: rgba(141,181,234,1);
    --mud-palette-secondary-rgb: 141,181,234;
    --mud-palette-secondary-text: rgba(255,255,255,1);
    --mud-palette-secondary-darken: rgb(108,160,228);
    --mud-palette-secondary-lighten: rgb(177,205,241);
    --mud-palette-secondary-hover: rgba(141,181,234,0.058823529411764705);
    --mud-palette-tertiary: rgba(147,168,159,1);
    --mud-palette-tertiary-rgb: 147,168,159;
    --mud-palette-tertiary-text: rgba(255,255,255,1);
    --mud-palette-tertiary-darken: rgb(128,152,142);
    --mud-palette-tertiary-lighten: rgb(168,186,178);
    --mud-palette-tertiary-hover: rgba(147,168,159,0.058823529411764705);
    --mud-palette-info: rgba(141,181,234,1);
    --mud-palette-info-rgb: 141,181,234;
    --mud-palette-info-text: rgba(255,255,255,1);
    --mud-palette-info-darken: rgb(108,160,228);
    --mud-palette-info-lighten: rgb(177,205,241);
    --mud-palette-info-hover: rgba(141,181,234,0.058823529411764705);
    --mud-palette-success: rgba(108,196,136,1);
    --mud-palette-success-rgb: 108,196,136;
    --mud-palette-success-text: rgba(255,255,255,1);
    --mud-palette-success-darken: rgb(80,185,113);
    --mud-palette-success-lighten: rgb(138,208,161);
    --mud-palette-success-hover: rgba(108,196,136,0.058823529411764705);
    --mud-palette-warning: rgba(240,165,58,1);
    --mud-palette-warning-rgb: 240,165,58;
    --mud-palette-warning-text: rgba(255,255,255,1);
    --mud-palette-warning-darken: rgb(237,146,18);
    --mud-palette-warning-lighten: rgb(243,179,89);
    --mud-palette-warning-hover: rgba(240,165,58,0.058823529411764705);
    --mud-palette-error: rgba(240,128,128,1);
    --mud-palette-error-rgb: 240,128,128;
    --mud-palette-error-text: rgba(255,255,255,1);
    --mud-palette-error-darken: rgb(236,91,91);
    --mud-palette-error-lighten: rgb(244,164,164);
    --mud-palette-error-hover: rgba(240,128,128,0.058823529411764705);
    --mud-palette-dark: rgba(7,16,13,1);
    --mud-palette-dark-rgb: 7,16,13;
    --mud-palette-dark-text: rgba(255,255,255,1);
    --mud-palette-dark-darken: rgb(0,0,0);
    --mud-palette-dark-lighten: rgb(22,38,33);
    --mud-palette-dark-hover: rgba(7,16,13,0.058823529411764705);
    --mud-palette-text-primary: rgba(232,239,234,1);
    --mud-palette-text-secondary: rgba(147,168,159,1);
    --mud-palette-text-disabled: rgba(101,122,113,1);
    --mud-palette-action-default: rgba(147,168,159,1);
    --mud-palette-action-default-hover: rgba(147,168,159,0.058823529411764705);
    --mud-palette-action-disabled: rgba(85,112,100,1);
    --mud-palette-action-disabled-background: rgba(28,52,45,1);
    --mud-palette-surface: rgba(16,33,28,1);
    --mud-palette-background: rgba(11,24,20,1);
    --mud-palette-background-gray: rgba(19,38,33,1);
    --mud-palette-drawer-background: rgba(16,33,28,1);
    --mud-palette-drawer-text: rgba(255,255,255,0.4980392156862745);
    --mud-palette-drawer-icon: rgba(255,255,255,0.4980392156862745);
    --mud-palette-appbar-background: rgba(16,33,28,1);
    --mud-palette-appbar-text: rgba(232,239,234,1);
    --mud-palette-lines-default: rgba(34,57,47,1);
    --mud-palette-lines-inputs: rgba(51,73,63,1);
    --mud-palette-table-lines: rgba(26,47,40,1);
    --mud-palette-table-striped: rgba(19,38,33,1);
    --mud-palette-table-hover: rgba(23,45,39,1);
    --mud-palette-divider: rgba(34,57,47,1);
    --mud-palette-divider-light: rgba(26,47,40,1);
    --mud-palette-skeleton: rgba(255,255,255,0.10980392156862745);
    --mud-palette-gray-default: #9E9E9E;
    --mud-palette-gray-light: #BDBDBD;
    --mud-palette-gray-lighter: #E0E0E0;
    --mud-palette-gray-dark: #757575;
    --mud-palette-gray-darker: #616161;
    --mud-palette-overlay-dark: rgba(0,0,0,0.55);
    --mud-palette-overlay-light: rgba(255,255,255,0.4980392156862745);
  }
}

/* ---------- base (substitui o reboot do Bootstrap, que saiu) ---------- */
h1, h2, h3, h4, h5, h6 { margin-top: 0; margin-bottom: .5rem; font-weight: 600; line-height: 1.2; }
p { margin-top: 0; margin-bottom: 1rem; }
ul, ol { margin-top: 0; margin-bottom: 1rem; padding-left: 2rem; }
b, strong { font-weight: 700; }
small { font-size: .875em; }
code { font-size: .875em; color: var(--pri-ink); }
img, svg { vertical-align: middle; }
table { caption-side: bottom; border-collapse: collapse; }
th { text-align: inherit; }
label { display: inline-block; }
input, button, select, optgroup, textarea { margin: 0; font-family: inherit; font-size: inherit; line-height: inherit; }
button, select { text-transform: none; }
fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
hr { margin: 1rem 0; color: inherit; border: 0; border-top: 1px solid var(--line); }
[hidden] { display: none !important; }

/* ---------- telas de conta (geradas pelo Identity) sem Bootstrap ---------- */
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.py-5 { padding-top: 48px; padding-bottom: 48px; }
.row { display: flex; flex-wrap: wrap; gap: 24px; }
.row > [class*="col-"] { flex: 1 1 100%; min-width: 0; }
@media (min-width: 768px) { .row > .col-md-4 { flex: 0 1 calc(33.333% - 16px); } }
@media (min-width: 1200px) { .row > .col-xl-6 { flex: 0 1 calc(50% - 12px); } }
.mb-3 { margin-bottom: 16px; } .mt-3 { margin-top: 16px; }
.w-100 { width: 100%; }
.form-floating { display: flex; flex-direction: column-reverse; gap: 6px; }
.form-floating > .form-control::placeholder { color: transparent; }
.form-label, .control-label { font-size: 13px; font-weight: 600; color: var(--ink2); margin: 0; }
.form-control { display: block; width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--input); border-radius: 10px; background: var(--surface); color: var(--ink); font: inherit; }
.form-control:focus { outline: 2px solid var(--pri); outline-offset: 1px; border-color: var(--pri); }
.form-control:disabled { background: var(--surface2); color: var(--muted); }
.checkbox label { display: inline-flex; gap: 8px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--input); background: var(--surface); color: var(--ink); font: 600 15px var(--text); cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--hover); text-decoration: none; color: var(--ink); }
.btn-lg { min-height: 46px; }
.btn-primary { background: var(--pri); border-color: var(--pri); color: var(--on-pri); }
.btn-primary:hover { background: var(--pri-ink); border-color: var(--pri-ink); color: var(--on-pri); }
.btn-danger { background: var(--bad); border-color: var(--bad); color: var(--surface); }
.btn-danger:hover { filter: brightness(.92); background: var(--bad); color: var(--surface); }
.alert { padding: 12px 14px; border-radius: 10px; font-size: 14px; margin-bottom: 16px; background: var(--info-bg); color: var(--info); }
.alert-warning { background: var(--warn-bg); color: var(--warn); }
.alert-danger { background: var(--bad-bg); color: var(--bad); }
.alert-success { background: var(--ok-bg); color: var(--ok); }
.text-danger { color: var(--bad); font-size: 13px; }
.text-info { color: var(--info); }
.glyphicon { display: none; }
.validation-message { color: var(--bad); font-size: 13px; }
ul.text-danger, .validation-errors { padding-left: 18px; }

/* ---------- estrutura da aplicação ---------- */
.app { display: flex; min-height: 100vh; background: var(--bg); }
.app-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.content { padding: 24px 32px 48px; max-width: 1440px; width: 100%; display: flex; flex-direction: column; gap: 20px; flex: 1 0 auto; }
.rodape-versao { padding: 8px 32px 16px; font-size: 12px; color: var(--muted); opacity: .8; }
#menu-toggle { display: none; }

/* menu lateral */
.side { width: 248px; flex: 0 0 248px; background: var(--surface); border-right: 1px solid var(--line); padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; position: sticky; top: 0; height: 100vh; overflow-y: auto; z-index: 30; }
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 14px; color: var(--ink); }
.brand:hover { text-decoration: none; color: var(--ink); }
.logo { width: 36px; height: 36px; border-radius: 11px; background: var(--logo-bg); color: var(--logo-ink); display: flex; align-items: center; justify-content: center; flex: none; }
.brand b { font: 800 25px/1 var(--display); display: block; letter-spacing: -.035em; }
.brand small { display: block; font-size: 12px; color: var(--muted); }
.side-sec { font-size: 13px; font-weight: 600; color: var(--muted); padding: 16px 10px 4px; }
.nv { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 0 10px; border-radius: 9px; color: var(--ink2); font-weight: 500; font-size: 14px; }
.nv .mud-icon-root { font-size: 20px; color: var(--muted); }
.nv:hover { background: var(--hover); text-decoration: none; color: var(--ink); }
.nv.active { background: var(--pri-soft); color: var(--pri-ink); font-weight: 600; }
.nv.active .mud-icon-root { color: var(--pri-ink); }
.nv .nb { margin-left: auto; font-size: 11px; font-weight: 700; background: var(--bad-bg); color: var(--bad); border-radius: 999px; padding: 1px 7px; }
.side-foot { margin-top: auto; padding: 14px 4px 0; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.side-foot form { margin: 0; }
.side-scrim { display: none; }

/* barra superior */
.top { display: flex; align-items: center; gap: 12px; padding: 12px 32px; border-bottom: 1px solid var(--line); background: var(--surface); min-height: 65px; position: sticky; top: 0; z-index: 20; }
.top .menu-btn { display: none; }
.crumb { font-size: 13px; color: var(--muted); display: flex; gap: 6px; align-items: center; margin-right: auto; min-width: 0; white-space: nowrap; }
.crumb b { color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.busca-global { width: 380px; max-width: 100%; }
.busca-global .mud-input-outlined-border { border-color: var(--line); }
.busca-global .mud-input.mud-input-outlined { background: var(--bg); }
kbd { font: 600 11px var(--text); border: 1px solid var(--input); border-bottom-width: 2px; border-radius: 5px; padding: 0 5px; color: var(--muted); background: var(--bg); }
.dot { position: absolute; top: 8px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--bad); border: 2px solid var(--surface); }

/* navegação inferior (celular) */
.bottom-nav { display: none; }

@media (max-width: 959.98px) {
  .side { position: fixed; left: 0; top: 0; transform: translateX(-100%); transition: transform .2s ease; box-shadow: var(--shadow-2); }
  #menu-toggle:checked ~ .side { transform: none; }
  #menu-toggle:checked ~ .side-scrim { display: block; position: fixed; inset: 0; background: var(--scrim); z-index: 25; }
  .top { padding: 10px 16px; }
  .top .menu-btn { display: inline-flex; }
  .crumb span, .crumb .sep { display: none; }
  .busca-global { width: auto; flex: 1 1 auto; }
  .busca-global .atalho { display: none; }
  .content { padding: 16px 16px 24px; }
  .rodape-versao { padding: 4px 16px 96px; }
  .bottom-nav { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--surface); border-top: 1px solid var(--line); padding: 4px 6px calc(8px + env(safe-area-inset-bottom)); }
  .bottom-nav a, .bottom-nav label { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; font-size: 11px; font-weight: 600; color: var(--muted); cursor: pointer; }
  .bottom-nav a:hover { text-decoration: none; }
  .bottom-nav a.active { color: var(--pri-ink); }
  .bottom-nav .mud-icon-root { font-size: 22px; }
  .savebar { bottom: 64px; }
}

/* ---------- cabeçalho de página ---------- */
.ph { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.ph h1 { font-family: var(--display); font-size: 28px; line-height: 1.15; margin: 0; font-weight: 700; letter-spacing: -.025em; }
.ph .sub { margin: 4px 0 0; color: var(--muted); font-size: 14px; max-width: 760px; }
.ph-title { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.back { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); margin-bottom: 6px; min-height: 28px; }
.back .mud-icon-root { font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* ---------- grade ---------- */
.split { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.split > .l { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.split > .r { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.split > .r.sticky { position: sticky; top: 85px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.hrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; align-items: start; }
.form.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form.c1 { grid-template-columns: minmax(0, 1fr); }
.form .full { grid-column: 1 / -1; }
.form .w2 { grid-column: span 2; }
@media (max-width: 640px) { .form .w2 { grid-column: auto; } .form.c2 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- texto ---------- */
.muted { color: var(--muted); }
.s, .sub-t { font-size: 12px; color: var(--muted); }
.sub { display: block; color: var(--muted); font-size: 12px; }
.tn { font-variant-numeric: tabular-nums; }
.pos, .valor-pos { color: var(--ok); }
.neg, .valor-neg { color: var(--bad); }
.big { font-family: var(--display); font-size: 32px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.over { font-size: 13px; font-weight: 600; color: var(--muted); }
.lab { font-size: 13px; font-weight: 600; color: var(--ink2); }
.h2 { font-family: var(--display); font-size: 17px; line-height: 1.3; margin: 0; font-weight: 700; }

/* ---------- cartões ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.card-h h2 { font-family: var(--display); font-size: 17px; line-height: 1.3; margin: 0; font-weight: 700; }
.card-h p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.card.flush { padding: 0; gap: 0; overflow: hidden; }
.card.flush > .card-h { padding: 16px 20px; }
.card.soft { background: var(--pri-bg); border-color: var(--pri-line); }
.card.danger { border-color: var(--bad-line); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; min-width: 0; color: var(--ink); }
a.kpi:hover { text-decoration: none; color: var(--ink); border-color: var(--input-strong); }
.kpi .lb { font-size: 13px; color: var(--muted); font-weight: 500; display: flex; align-items: center; gap: 6px; }
.kpi .lb .mud-icon-root { font-size: 16px; }
.kpi .v { font-family: var(--display); font-size: 28px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi .v small { font-size: 18px; color: var(--muted); font-weight: 500; }
.kpi .ft { font-size: 13px; color: var(--muted); }
.kpi.bad { border-color: var(--bad-line); } .kpi.bad .lb { color: var(--bad); }
.kpi.warn { border-color: var(--warn-line); } .kpi.warn .lb { color: var(--warn); }

/* ---------- status ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; background: var(--neu-bg); color: var(--neu); line-height: 18px; }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.chip.nodot { padding-left: 10px; } .chip.nodot::before { display: none; }
.t-ok { background: var(--ok-bg); color: var(--ok); }
.t-warn { background: var(--warn-bg); color: var(--warn); }
.t-bad { background: var(--bad-bg); color: var(--bad); }
.t-info { background: var(--info-bg); color: var(--info); }
.t-pri { background: var(--pri-soft); color: var(--pri-ink); }
.note { display: flex; gap: 10px; padding: 12px 14px; border-radius: 10px; font-size: 13px; line-height: 1.5; align-items: flex-start; }
.note .mud-icon-root { font-size: 18px; margin-top: 1px; }
/* Placa no padrão Mercosul: faixa azul em cima, fundo branco nos dois temas. A borda mostra o status da moto. */
.plate { display: inline-block; border: 1.5px solid var(--plate-ink); border-top: 5px solid var(--plate-blue); border-radius: 5px; padding: 1px 7px 2px; font: 700 14px/1.2 var(--plate-font); letter-spacing: .09em; background: var(--plate-bg); color: var(--plate-ink); white-space: nowrap; }
a.plate:hover { text-decoration: none; color: var(--plate-ink); border-color: var(--pri); border-top-color: var(--plate-blue); }
.plate.lg { font-size: 22px; padding: 2px 11px 3px; border-top-width: 8px; border-width: 2px; border-top-width: 8px; border-radius: 7px; }
.plate.disponivel { border-color: var(--ok-fill); border-width: 2px; border-top-width: 5px; }
.plate.manutencao { border-color: var(--warn-fill); border-style: dashed; border-top-style: solid; border-width: 2px; border-top-width: 5px; }
.plate.fora { opacity: .55; }
.av { width: 32px; height: 32px; border-radius: 50%; background: var(--pri-soft); color: var(--pri-ink); font-weight: 700; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.av.lg { width: 48px; height: 48px; font-size: 16px; }
.av.off { background: var(--neu-bg); color: var(--neu); }
.who { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--ink); }
a.who:hover { text-decoration: none; color: var(--pri-ink); }
.cell2 { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.badge-ico { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.badge-ico .mud-icon-root { font-size: 20px; }

/* ---------- barras ---------- */
.bar { height: 8px; border-radius: 999px; background: var(--track); overflow: hidden; min-width: 80px; flex: 1; }
.bar > i { display: block; height: 100%; background: var(--pri); border-radius: 999px; }
.bar > i.bad { background: var(--bad); } .bar > i.ok { background: var(--ok); }
.bar.lg { height: 12px; }
.meter { display: flex; align-items: center; gap: 10px; min-width: 150px; }
.meter b { font-variant-numeric: tabular-nums; font-size: 13px; min-width: 38px; text-align: right; }
.sbar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; gap: 2px; background: var(--track); }
.sbar > i { display: block; height: 100%; }
.weeks { display: grid; grid-template-columns: repeat(auto-fill, minmax(18px, 1fr)); gap: 4px; }
.weeks > i { display: block; height: 28px; border-radius: 6px; background: var(--track); }
.weeks > i.paga { background: var(--ok-fill); } .weeks > i.hoje { background: var(--warn-fill); } .weeks > i.atrasada { background: var(--bad); }
.weeks > i.parcial { background: var(--warn-fill); opacity: .6; } .weeks > i.aberta { background: var(--info-fill); }
.legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 12px; color: var(--neu); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* ---------- filtros ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--track); border-radius: 12px; }
.seg button { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 9px; color: var(--neu); font: 600 13px var(--text); border: 0; background: transparent; cursor: pointer; }
.seg button:hover { color: var(--ink); }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.seg .n { font-size: 12px; color: var(--muted); font-weight: 600; background: var(--track); padding: 0 7px; border-radius: 999px; line-height: 20px; }
.search { flex: 0 1 340px; min-width: 240px; }
.toolbar-dir { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: flex-end; flex: 1 1 auto; }
.filtro-venc { display: flex; align-items: center; gap: 6px; }
.filtro-venc .mud-input-control { width: 150px; flex: none; }
@media (max-width: 760px) { .search { flex: 1 1 100%; min-width: 0; } .toolbar-dir { justify-content: stretch; } .filtro-venc { flex: 1 1 100%; } .filtro-venc .mud-input-control { flex: 1 1 0; width: auto; min-width: 0; } }
.campo-periodo.mud-input-control, .campo-periodo .mud-input-control { width: 270px; flex: none; }
@media (max-width: 760px) { .campo-periodo.mud-input-control, .campo-periodo .mud-input-control { flex: 1 1 100%; width: auto; } }

/* ---------- tabelas (HTML e MudTable) ---------- */
.tw { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
.t th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--surface2); }
.t td { padding: 11px 12px; border-bottom: 1px solid var(--line2); vertical-align: middle; white-space: nowrap; }
.t tbody tr:last-child td { border-bottom: 0; }
.t th:first-child, .t td:first-child { padding-left: 20px; }
.t th:last-child, .t td:last-child { padding-right: 20px; }
.t .num { text-align: right; font-variant-numeric: tabular-nums; }
.t tbody tr:hover { background: var(--hover); }
.t tr.sel, .t tr.sel:hover { background: var(--sel); }
.t tr.sub td { background: var(--surface2); white-space: normal; }
.tfoot { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding: 12px 20px; border-top: 1px solid var(--line2); color: var(--muted); font-size: 13px; }
.clicavel tbody tr { cursor: pointer; }

.mud-table-cell { white-space: nowrap; }
.tabela .mud-table-container { overflow-x: auto; }
.tabela .mud-table-head .mud-table-cell { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--surface2); padding: 10px 12px; border-bottom: 1px solid var(--line); line-height: 1.4; }
.tabela .mud-table-body .mud-table-cell { padding: 11px 12px; border-bottom: 1px solid var(--line2); font-size: 14px; line-height: 1.4; }
.tabela .mud-table-row .mud-table-cell:first-child { padding-left: 20px; }
.tabela .mud-table-row .mud-table-cell:last-child { padding-right: 20px; }
.tabela .mud-table-body .mud-table-row:last-child .mud-table-cell { border-bottom: 0; }
.tabela .mud-table-pagination { border-top: 1px solid var(--line2); }
.tabela .mud-table-row.sel { background: var(--sel) !important; }
.tabela .num { text-align: right; font-variant-numeric: tabular-nums; }
.vazio { padding: 28px 20px; text-align: center; color: var(--muted); }
/* Colunas de texto longo podem quebrar linha: evita rolagem lateral no desktop. */
.tabela .mud-table-body .mud-table-cell.quebra { white-space: normal; min-width: 160px; }
@media (max-width: 599.98px) {
  .tabela .mud-table-body .mud-table-cell { white-space: normal; padding: 6px 16px; border-bottom: 0; }
  .tabela .mud-table-body .mud-table-row { border-bottom: 1px solid var(--line2); display: block; padding: 8px 0; }
}

/* ---------- formulários ---------- */
.radio-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.rc { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--input); border-radius: 12px; background: var(--surface); cursor: pointer; font-size: 14px; text-align: left; font-family: inherit; color: var(--ink); width: 100%; }
.rc:hover { border-color: var(--input-strong); }
.rc.on { border-color: var(--pri); background: var(--pri-bg); box-shadow: 0 0 0 1px var(--pri); }
/* Escolha compacta (locatário e moto no contrato): busca com lista rica e, depois de escolhido, um resumo de uma linha. */
.escolha-par { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px 20px; }
.escolha { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.escolha-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.escolhido { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 12px; min-height: 58px; border: 1px solid var(--pri); border-radius: 12px; background: var(--pri-bg); box-shadow: 0 0 0 1px var(--pri); }
.escolhido .cell2, .opcao .cell2 { display: flex; flex-direction: column; line-height: 1.3; }
.escolhido .cell2 { flex: 1; }
.opcao { display: flex; align-items: center; gap: 10px; padding: 2px 0; width: 100%; }
.opcao.off { opacity: .65; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--pri); color: var(--on-pri); font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; flex: none; letter-spacing: .02em; }
.avatar.sm { width: 30px; height: 30px; font-size: 11px; background: var(--pri-soft); color: var(--pri-ink); }
.opcao.off .avatar.sm { background: var(--line2); color: var(--muted); }
.linha-tempo { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.linha-tempo li { position: relative; display: flex; flex-direction: column; gap: 3px; font-size: 14px; }
.linha-tempo li::before { content: ""; position: absolute; left: -25px; top: 3px; width: 10px; height: 10px; border-radius: 50%; background: var(--surface); border: 2px solid var(--pri); }
.linha-tempo li:last-child::before { background: var(--pri); }
.trunc { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc.off { opacity: .7; cursor: not-allowed; background: var(--surface2); }
.rc .radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--input-strong); flex: none; margin-top: 1px; display: inline-flex; align-items: center; justify-content: center; }
.rc.on .radio { border-color: var(--pri); }
.rc.on .radio::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pri); }
.sec { display: flex; align-items: center; gap: 12px; }
.step { width: 28px; height: 28px; border-radius: 50%; background: var(--pri); color: var(--on-pri); display: inline-flex; align-items: center; justify-content: center; font: 700 13px var(--display); flex: none; }
.savebar { position: sticky; bottom: 0; z-index: 15; background: var(--surface); border-top: 1px solid var(--line); padding: 12px 32px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-top: auto; }
@media (max-width: 959.98px) { .savebar { padding: 12px 16px; } }
.dropzone { border: 1.5px dashed var(--input); border-radius: 10px; padding: 14px; text-align: center; color: var(--muted); font-size: 12px; transition: background .15s, border-color .15s; }
.dropzone.arrastando { border-color: var(--pri); background: var(--pri-bg); color: var(--pri-ink); }

/* linhas rótulo/valor */
.rows { display: flex; flex-direction: column; }
.rw, .linha { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line2); font-size: 14px; align-items: center; }
.rw:last-child, .linha:last-child { border-bottom: 0; }
.rw .k { color: var(--muted); }
.rw .v { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.rw.tot, .linha.total { border-top: 1.5px solid var(--ink); border-bottom: 0; padding-top: 12px; margin-top: 4px; font-weight: 700; font-size: 15px; }
.rw.tot .k { color: var(--ink); }
.preview { background: var(--bg); border-radius: 10px; padding: 4px 14px; }

/* listas */
.list { display: flex; flex-direction: column; }
.li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line2); min-width: 0; }
.li:last-child { border-bottom: 0; }
.li .grow { flex: 1; min-width: 0; }

/* abas */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs button { padding: 0 14px; color: var(--muted); font: 600 14px var(--text); border: 0; background: transparent; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.tabs button.on { color: var(--ink); border-color: var(--pri); }
.tabs button:hover { color: var(--ink); }

/* ---------- ajustes no MudBlazor ---------- */
.mud-button-root { text-transform: none; letter-spacing: 0; }
.mud-button-filled, .mud-button-outlined, .mud-button-text { font-weight: 600; }
.mud-button-outlined.mud-button-outlined-default { border-color: var(--input); }
.mud-paper-outlined { border-color: var(--line); border-radius: 16px; }
.mud-input-label { font-weight: 500; }
.mud-alert { border-radius: 10px; }
.mud-tabs-toolbar { border-bottom: 1px solid var(--line); background: transparent !important; }
.mud-tab { text-transform: none; font-weight: 600; min-height: 44px; }
.mud-snackbar { border-radius: 10px; }
.mud-toggle-group { background: var(--track); border: 0 !important; border-radius: 12px; padding: 4px; gap: 4px; }
.mud-toggle-group .mud-toggle-item { border: 0 !important; border-radius: 9px !important; text-transform: none; font-weight: 600; color: var(--neu); }
.mud-toggle-group .mud-toggle-item-selected { background: var(--surface) !important; color: var(--ink) !important; box-shadow: var(--shadow-1); }

/* ---------- acesso (login e conta) ---------- */
.acesso { display: flex; flex-wrap: wrap; min-height: 100vh; background: var(--bg); }
.acesso-marca { flex: 1 1 480px; background: var(--marca-bg); color: var(--marca-ink); padding: 56px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.acesso-marca h2 { font: 700 40px/1.1 var(--display); margin: 0 0 16px; }
.acesso-marca p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--marca-muted); }
.acesso-form { flex: 1 1 480px; display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.acesso-form form, .acesso-form .caixa { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 18px; }
.acesso-form h1 { font: 700 28px var(--display); margin: 0; }
@media (max-width: 760px) { .acesso-marca { padding: 32px 24px; flex-basis: 100%; gap: 24px; } .acesso-marca h2 { font-size: 28px; } .acesso-marca .slogan p { display: none; } }
.campo { display: flex; flex-direction: column; gap: 6px; }
.campo label { font-size: 13px; font-weight: 600; color: var(--ink2); }
.in { min-height: 44px; border: 1px solid var(--input); border-radius: 10px; padding: 0 12px; font: inherit; color: var(--ink); background: var(--surface); width: 100%; }
.in:focus { outline: 2px solid var(--pri); outline-offset: 1px; border-color: var(--pri); }
.btn-p { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--pri); background: var(--pri); color: var(--on-pri); font: 600 15px var(--text); cursor: pointer; width: 100%; }
.btn-p:hover { background: var(--pri-ink); color: var(--on-pri); text-decoration: none; }
.conta { max-width: 960px; display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.conta-nav { flex: 1 1 220px; padding: 8px; gap: 2px; }
.conta-corpo { flex: 999 1 420px; padding: 28px; gap: 16px; }
.conta-corpo h3 { font: 700 24px var(--display); margin: 0 0 8px; }
.conta-corpo .form-control { min-height: 44px; border-radius: 10px; border-color: var(--input); }
.conta-corpo .btn-primary { background: var(--pri); border-color: var(--pri); border-radius: 10px; min-height: 44px; font-weight: 600; }
.conta-corpo .btn-primary:hover { background: var(--pri-ink); border-color: var(--pri-ink); }
.login-box { max-width: 420px; margin: 8vh auto; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 32px; }
.login-box h1 { font-family: var(--display); font-weight: 700; }

/* ---------- impressão ---------- */
@media print {
  .side, .top, .bottom-nav, .savebar, .actions, .no-print, .rodape-versao { display: none !important; }
  .content { padding: 0; }
  .card { break-inside: avoid; }
}

/* Aviso de reconexão (substitui o padrão em inglês do Blazor) */
.reconexao { display: none; position: fixed; inset: 0; z-index: 3000; background: var(--scrim); align-items: center; justify-content: center; }
.reconexao.components-reconnect-show, .reconexao.components-reconnect-failed, .reconexao.components-reconnect-rejected { display: flex; }
.reconexao-caixa { background: var(--surface); border-radius: 12px; padding: 24px 28px; max-width: 420px; font-size: 15px; }
.reconexao-caixa p { margin: 0; display: none; }
.components-reconnect-show .reconexao-tentando, .components-reconnect-failed .reconexao-falhou, .components-reconnect-rejected .reconexao-rejeitada { display: block; }

#blazor-error-ui { background: var(--bad-bg); bottom: 0; box-shadow: var(--shadow-1); display: none; left: 0; padding: .6rem 1.25rem .7rem 1.25rem; position: fixed; width: 100%; z-index: 2000; }
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: .75rem; top: .5rem; }

/* ---------- janela modal (Janela.razor) ---------- */
.janela.mud-dialog { border-radius: 16px; }
.janela .mud-dialog-title { padding: 18px 56px 8px 24px; }
.janela-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.janela-h h2 { font-family: var(--display); font-size: 18px; line-height: 1.3; margin: 0; font-weight: 700; }
.janela-h p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.janela .mud-dialog-content { padding: 8px 24px 24px; }
.janela-c { display: flex; flex-direction: column; gap: 16px; }
.janela-c .card { padding: 16px; }
.janela-c .sec { display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line2); }
.janela-c .sec > h3, .janela-c .sec > .lab { font-family: var(--display); font-size: 15px; margin: 0; font-weight: 700; }
@media (max-width: 599.98px) { .janela .mud-dialog-title { padding: 16px 52px 6px 16px; } .janela .mud-dialog-content { padding: 6px 16px 16px; } }

/* ---------- caixa: conferência com o banco, dia a dia ---------- */
.cf { display: grid; grid-template-columns: 250px minmax(0, 1fr); }
.cf-dias { display: flex; flex-direction: column; gap: 10px; padding: 16px 12px; border-right: 1px solid var(--line2); background: var(--surface2); min-width: 0; }
.cf-lista { display: flex; flex-direction: column; gap: 4px; max-height: 560px; overflow-y: auto; }
.cf-dia { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.cf-dia:hover { background: var(--line2); }
.cf-dia.on { background: var(--pri-soft); border-color: var(--pri); }
.cf-dia:focus-visible { outline: 2px solid var(--pri); outline-offset: 1px; }
.cf-dia-t small { display: block; color: var(--muted); font-size: 12px; }
.cf-painel { display: flex; flex-direction: column; gap: 20px; padding: 20px; min-width: 0; }
.cf-passo { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; }
.cf-num { width: 24px; height: 24px; border-radius: 50%; background: var(--pri-soft); color: var(--pri-ink); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.cf-passo-c { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cf-banco.mud-input-control { max-width: 260px; }
.cf-movs { border: 1px solid var(--line2); border-radius: 10px; overflow: hidden; margin-top: 4px; }
.cf-movs-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 4px 8px 4px 12px; min-height: 40px; background: var(--surface2); border-bottom: 1px solid var(--line2); font-size: 13px; color: var(--muted); }
.cf-mov { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line2); cursor: pointer; }
.cf-mov:last-child { border-bottom: 0; }
.cf-mov:hover { background: var(--hover); }
.cf-mov input { width: 18px; height: 18px; margin: 0; accent-color: var(--ok); cursor: pointer; }
.cf-mov.ok b { color: var(--muted); font-weight: 500; }
.cf-mov.sug { background: var(--warn-bg); }
.cf-dica { font-size: 12px; font-weight: 600; color: var(--warn); }
.cf-valor { font-weight: 600; white-space: nowrap; }
.cf-res { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 10px; background: var(--line2); }
.cf-res.ok { background: var(--ok-bg); }
.cf-res.warn { background: var(--warn-bg); }
.cf-big { font-family: var(--display); font-size: 24px; font-weight: 700; line-height: 1.2; }
.cf-res.ok .cf-big { color: var(--ok); }
.cf-res.warn .cf-big { color: var(--warn); }
.cf-res .mud-button-root { margin-top: 6px; }
.cf-rodape { display: flex; justify-content: flex-end; border-top: 1px solid var(--line2); padding-top: 16px; }
@media (max-width: 900px) {
  .cf { grid-template-columns: minmax(0, 1fr); }
  .cf-dias { border-right: 0; border-bottom: 1px solid var(--line2); }
  .cf-lista { flex-direction: row; overflow-x: auto; max-height: none; }
  .cf-dia { flex: none; min-width: 150px; }
}
@media (max-width: 599.98px) { .cf-painel { padding: 16px; } .cf-passo { grid-template-columns: minmax(0, 1fr); } .cf-num { display: none; } }
.ext .ext-ck { width: 44px; }
.ext .ext-ck input { width: 18px; height: 18px; margin: 0; accent-color: var(--ok); cursor: pointer; vertical-align: middle; }
.ext td.quebra { white-space: normal; }
.ext tr.ext-dia td { font-weight: 600; }
.ext-dia-b { border: 0; background: none; padding: 0; margin-right: 8px; font: inherit; font-weight: 700; color: var(--pri); cursor: pointer; }
.ext-dia-b:hover { text-decoration: underline; }

/* Calendário do campo de data: largura própria, sem herdar a do campo (que pode ser estreito). */
.mud-picker-popover-paper .mud-picker-content, .mud-popover .mud-picker-content { max-width: none; min-width: 300px; }
.mud-popover:has(.mud-picker-content) { min-width: 310px !important; max-width: none !important; }
/* Campo de data mais curto: limite no campo, nunca via Style no CampoData (o Style vai também para o calendário). */
.campo-curto { max-width: 240px; }

/* ---------- seletor de categoria em árvore (SeletorCategoria.razor) ---------- */
.cat-arvore .mud-list-item { padding-top: 4px; padding-bottom: 4px; min-height: 0; }
.cat-item { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 30px; line-height: 1.3; }
.cat-pai .cat-nome { font-weight: 600; color: var(--ink); }
.cat-filho { padding-left: 22px; }
.cat-filho .cat-nome { color: var(--ink2); }
.cat-ramo { width: 10px; height: 14px; margin-top: -10px; border-left: 1.5px solid var(--input); border-bottom: 1.5px solid var(--input); border-bottom-left-radius: 3px; flex: none; }
.cat-grupo { margin-left: auto; padding-left: 12px; font-size: 11px; color: var(--muted); white-space: nowrap; }
.cat-arvore .mud-list-item:has(.cat-pai):not(:first-child) { border-top: 1px solid var(--line2); }


/* ---------- resultado do mês por categoria (Relatórios) ---------- */
.dre-arv { display: flex; flex-direction: column; max-width: 860px; }
.dre-sec { border-bottom: 1px solid var(--line); }
.dre-sec.fora { opacity: .85; }
.dre-l { display: flex; align-items: center; gap: 6px; width: 100%; padding: 9px 4px; border: 0; border-top: 1px solid var(--line2); background: none; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.dre-l:hover { background: var(--hover); }
.dre-l .nome { flex: 1; min-width: 0; }
.dre-l .val, .dre-lanc .val { margin-left: auto; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dre-l.n0 { border-top: 0; padding: 12px 4px; font-family: var(--display); font-size: 16px; font-weight: 700; }
.dre-l.n1 { padding-left: 24px; font-weight: 600; }
.dre-l.n2 { padding-left: 48px; }
.dre-lanc { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 6px 4px; font-size: 13px; border-top: 1px dashed var(--line2); }
.dre-lanc.n2 { padding-left: 50px; }
.dre-lanc.n3 { padding-left: 74px; }
.dre-lanc .desc { display: flex; flex-direction: column; min-width: 0; }
.dre-lanc .desc b { font-weight: 500; }
.dre-vazio { padding: 8px 28px 12px; color: var(--muted); font-size: 13px; }
.dre-res { display: flex; justify-content: space-between; padding: 14px 4px; border-bottom: 2px solid var(--ink); font-family: var(--display); font-size: 17px; font-weight: 700; }
@media (max-width: 599.98px) { .dre-l.n1 { padding-left: 12px; } .dre-l.n2 { padding-left: 24px; } .dre-lanc.n2, .dre-lanc.n3 { padding-left: 20px; grid-template-columns: 44px minmax(0, 1fr) auto; } }

/* ---------- utilitários (substituem estilos soltos nas páginas) ---------- */
.u-end { justify-content: flex-end; }
.u-between { justify-content: space-between; }
.u-top { align-items: flex-start; }
.m0 { margin: 0; }
.mt4 { margin-top: 4px; } .mt8 { margin-top: 8px; } .mt12 { margin-top: 12px; }
.ws-normal { white-space: normal; }
.tc { text-align: center; }
.grow { flex: 1; } .min0 { min-width: 0; }
.nowrap { flex-wrap: nowrap; } .wrap { flex-wrap: wrap; }
.g2 { gap: 2px; } .g3 { gap: 3px; } .g4 { gap: 4px; } .g6 { gap: 6px; } .g8 { gap: 8px; } .g10 { gap: 10px; }
.g12 { gap: 12px; } .g14 { gap: 14px; } .g20 { gap: 20px; } .g24 { gap: 24px; }
.fs13 { font-size: 13px; } .fs14 { font-size: 14px; }
.t-ink { color: var(--ink); } .t-warn-c { color: var(--warn); } .t-pri-c { color: var(--pri); } .t-inherit { color: inherit; }
.col-tight { display: flex; flex-direction: column; line-height: 1.25; }
.caixinha { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.pad-8-12 { padding: 8px 12px; }
.legend i.ok { background: var(--ok-fill); } .legend i.warn { background: var(--warn-fill); } .legend i.bad { background: var(--bad); }
.legend i.info { background: var(--info-fill); } .legend i.pri { background: var(--pri); } .legend i.futura { background: var(--track); border: 1px solid var(--input); }
.sbar > i.alugada { background: var(--info); } .sbar > i.disponivel { background: var(--ok-fill); } .sbar > i.manutencao { background: var(--warn-fill); } .sbar > i.transferida { background: var(--neu-fill); }
.sbar > i.ok { background: var(--ok-fill); } .sbar > i.bad { background: var(--bad); }
.w-full { width: 100%; }
.icon-btn { position: relative; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; color: var(--neu); cursor: pointer; }
.icon-btn:hover { background: var(--hover); color: var(--ink); text-decoration: none; }
.ico-muted { color: var(--muted) !important; }
.busca-vazio { padding: 8px 16px; }
.side-foot .eu { color: var(--ink); font-weight: 600; font-size: 14px; }
.acesso-marca .logo { background: var(--lima); color: var(--on-lima); border-radius: 13px; width: 44px; height: 44px; }
.acesso-marca .nome { font: 800 34px/1 var(--display); letter-spacing: -.04em; }
.acesso-marca .slogan { max-width: 460px; }
.acesso-marca .rodape { font-size: 13px; color: var(--marca-muted); opacity: .85; }
.regras-senha { margin: 4px 0 0; padding-left: 18px; display: grid; gap: 2px; }
.inline-form { display: inline-block; }
.conta-nav .over { padding: 8px 10px; }
.cat-sub { padding-left: 44px !important; }
.estornado { text-decoration: line-through; color: var(--muted); }
.conf-nav { flex: 0 1 230px; position: sticky; top: 85px; }
.card.menu-sec { padding: 8px; gap: 2px; }
.link-forte { font-weight: 700; color: var(--ink); font-size: 16px; }
.w220 { min-width: 220px; } .w180 { min-width: 180px; } .w260 { min-width: 260px; }
.max220 { max-width: 220px; } .max420 { max-width: 420px; } .max720 { max-width: 720px; }
.pad-y8 { padding-top: 8px; padding-bottom: 8px; }
.form.f170 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); align-items: center; }
.hist-det { background: var(--surface2); padding: 0 20px 16px !important; white-space: normal; }
.t.embutida { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; margin-top: 4px; }
.diff-de, .diff-para { padding: 2px 6px; border-radius: 4px; }
.diff-de { background: var(--bad-bg); color: var(--bad); text-decoration: line-through; }
.diff-para { background: var(--ok-bg); color: var(--ok); }
.radio-cards.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .radio-cards.c3 { grid-template-columns: minmax(0, 1fr); } }
.kpi.span2 { grid-column: span 2; }
@media (max-width: 640px) { .kpi.span2 { grid-column: auto; } }
.grid2.g190 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.grid2.g260 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 4px 16px; }
.sep-top { border-top: 1px solid var(--line2); padding-top: 12px; }
.acoes-dir { display: flex; gap: 8px; align-items: center; flex: 1 1 280px; justify-content: flex-end; }
.rows.pad-card { padding: 0 16px 12px; }
.doc-card { border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 14px; gap: 6px; }
.doc-card.warn { border-color: var(--warn-line); background: var(--warn-bg); }
.doc-card.bad { border-color: var(--bad-line); background: var(--bad-bg); }
.actions.sobe { justify-content: flex-end; margin-top: -8px; }
.toolbar.g8-12 { gap: 8px 12px; }
.bar.fina { height: 6px; }
.rot-mes { min-width: 150px; text-align: center; }
.s.sec-gap { margin: 16px 0 4px; }
.codigo { font-size: 15px; font-weight: 700; }
.pre-line { white-space: pre-line; min-width: 220px; }
.janela-larga { min-width: min(520px, 80vw); }
.seletor-linha { display: flex; gap: 4px; align-items: flex-start; min-width: 0; }

/* ---------- painel ---------- */
.dias-wrap { overflow-x: auto; border-top: 1px solid var(--line2); }
.dias { display: grid; grid-template-columns: repeat(7, minmax(104px, 1fr)); }
.dia { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px 14px; border-right: 1px solid var(--line2); color: var(--ink); min-width: 0; }
.dia:last-child { border-right: 0; }
.dia:hover { background: var(--hover); text-decoration: none; color: var(--ink); }
.dia-q { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 600; color: var(--muted); }
.dia-q b { font: 700 24px/1 var(--display); color: var(--ink); }
.dia-v { font: 600 18px/1.1 var(--display); }
.dia.hoje { background: var(--warn-bg); }
.dia.hoje .dia-q { color: var(--warn); }
.pts { display: flex; flex-wrap: wrap; gap: 3px; min-height: 10px; }
.pts i { width: 10px; height: 10px; border-radius: 3px; background: var(--track); }
.pts i.paga { background: var(--ok-fill); } .pts i.atrasada { background: var(--bad); } .pts i.hoje { background: var(--warn-fill); } .pts i.aberta { background: var(--info-fill); }
.fila { display: flex; flex-direction: column; }
.fila-i { display: grid; grid-template-columns: 4px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 10px 20px 10px 0; border-top: 1px solid var(--line2); }
.fila-tarja { align-self: stretch; border-radius: 0 3px 3px 0; background: var(--neu-fill); }
.fila-tarja.bad { background: var(--bad); } .fila-tarja.warn { background: var(--warn-fill); } .fila-tarja.info { background: var(--info); }
.fila-q { display: flex; flex-direction: column; min-width: 0; }
.fila-q b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fila-v { font: 600 18px var(--display); text-align: right; white-space: nowrap; }
@media (max-width: 599.98px) { .fila-i { grid-template-columns: 4px minmax(0, 1fr) auto; padding-right: 16px; } .fila-i .mud-button-root { grid-column: 2 / -1; justify-self: start; } }
.mes { display: flex; flex-direction: column; gap: 14px; }
.mes-l { display: grid; grid-template-columns: 76px minmax(0, 1fr); grid-template-areas: "k r" "b b"; gap: 6px 12px; align-items: baseline; color: var(--ink); }
.mes-l:hover { text-decoration: none; color: var(--ink); }
.mes-k { grid-area: k; font-weight: 600; }
.mes-r { grid-area: r; text-align: right; color: var(--muted); font-size: 14px; }
.mes-r b { color: var(--ink); font: 700 19px var(--display); }
.regua { grid-area: b; display: block; height: 10px; border-radius: 999px; background: var(--track); overflow: hidden; }
.regua > i { display: block; height: 100%; border-radius: 999px; background: var(--pri); }
.regua > i.ok { background: var(--ok-fill); } .regua > i.bad { background: var(--bad); }
.mes-saldo { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px; border-top: 2px solid var(--ink); padding-top: 12px; font-weight: 600; }
.mes-saldo b { font: 700 26px var(--display); }
.frota-res { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--muted); }
.frota-res b { font: 700 18px var(--display); color: var(--ink); margin-right: 2px; }
.frota-res b.pos { color: var(--ok); } .frota-res b.t-warn-c { color: var(--warn); }
.quadro { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.legend i.plate-amostra { width: 16px; height: 11px; border-radius: 2px; background: var(--plate-bg); border: 1.5px solid var(--plate-ink); border-top: 3px solid var(--plate-blue); }
.legend i.plate-amostra.disponivel { border-color: var(--ok-fill); border-top-color: var(--plate-blue); }
.legend i.plate-amostra.manutencao { border-color: var(--warn-fill); border-style: dashed; border-top-style: solid; border-top-color: var(--plate-blue); }

/* ---------- lista com painel ao lado (PainelLateral) ---------- */
.com-painel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.painel-lat { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; display: flex; flex-direction: column; min-width: 0; outline: none; }
.painel-lat-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; padding: 16px 12px 8px 20px; border-bottom: 1px solid var(--line2); }
.painel-lat-h h2 { font: 700 21px/1.15 var(--display); margin: 0; }
.painel-lat-h p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.painel-lat-topo { margin-top: 8px; }
.painel-lat-c { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 16px; }
.painel-lat-c .sec { display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line2); }
.painel-lat-c .sec > h3 { font: 700 17px var(--display); margin: 0; }
@media (min-width: 1200px) {
  .com-painel.aberto { grid-template-columns: minmax(0, 1fr) 440px; }
  .painel-lat { position: sticky; top: 85px; max-height: calc(100vh - 105px); overflow-y: auto; }
}
@media (max-width: 1199.98px) {
  .painel-lat { position: fixed; inset: 0; z-index: 1100; border-radius: 0; border: 0; overflow-y: auto; padding-bottom: env(safe-area-inset-bottom); }
  .painel-lat-h { position: sticky; top: 0; background: var(--surface); z-index: 1; }
}
.com-painel.aberto .tabela .mud-table-cell.quebra { min-width: 140px; }

/* grupos por semana e gravidade da linha */
.tabela .grupo-semana .mud-table-cell { background: var(--bg); font-size: 13px; font-weight: 600; color: var(--ink2); padding: 8px 12px 8px 20px; border-bottom: 1px solid var(--line); }
.tabela .mud-table-row.r-atrasada .mud-table-cell:first-child { box-shadow: inset 4px 0 0 var(--bad); }
.tabela .mud-table-row.r-hoje .mud-table-cell:first-child { box-shadow: inset 4px 0 0 var(--warn-fill); }
.tabela .mud-table-row.r-paga .mud-table-cell { color: var(--muted); }
.tabela .mud-table-row.r-paga .mud-table-cell:first-child { box-shadow: inset 4px 0 0 var(--ok-fill); }

/* resumo em uma linha (no lugar dos cartões de número) */
.resumo-linha { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: baseline; padding: 2px 0; }
.resumo-linha > span { display: inline-flex; align-items: baseline; gap: 6px; color: var(--muted); font-size: 14px; }
.resumo-linha b { font: 700 24px/1 var(--display); color: var(--ink); }
.resumo-linha small { font-size: 13px; }
.resumo-linha .bad b { color: var(--bad); } .resumo-linha .warn b { color: var(--warn); } .resumo-linha .ok b { color: var(--ok); }

/* ---------- etapa 5: demais telas ---------- */
.faixa-mini { display: flex; align-items: center; gap: 10px; min-width: 160px; }
.faixa-mini .sbar { flex: 1; height: 8px; }
.faixa-mini .sbar > i:not([class]) { background: transparent; }
.faixa-mini b { font-size: 13px; min-width: 40px; text-align: right; }
.quadro-motos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; padding: 16px 20px; }
.placa-cartao { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px; border: 1px solid var(--line2); border-radius: 12px; color: var(--ink); min-width: 0; }
.placa-cartao:hover { background: var(--hover); border-color: var(--line); text-decoration: none; color: var(--ink); }
.placa-cartao .plate { font-size: 17px; }
.placa-modelo { font-weight: 600; font-size: 14px; margin-top: 4px; }
.placa-cartao .s { max-width: 100%; }
.retorno-n { display: flex; flex-wrap: wrap; gap: 12px 40px; }
.retorno-n > div { display: flex; flex-direction: column; gap: 2px; }
.retorno-n b { font: 700 26px/1.1 var(--display); }
.t tr.r-atrasada td:first-child { box-shadow: inset 4px 0 0 var(--bad); }
.t tr.r-hoje td:first-child { box-shadow: inset 4px 0 0 var(--warn-fill); }
.prazo { display: inline-flex; font-size: 12px; font-weight: 600; color: var(--muted); padding: 1px 8px; border-radius: 999px; background: var(--neu-bg); margin-top: 2px; }
.prazo.warn { background: var(--warn-bg); color: var(--warn); }
.prazo.bad { background: var(--bad-bg); color: var(--bad); }
.prazo { display: inline-flex; font-size: 12px; font-weight: 600; color: var(--muted); padding: 1px 8px; border-radius: 999px; background: var(--neu-bg); margin-top: 2px; }
.prazo.warn { background: var(--warn-bg); color: var(--warn); }
.prazo.bad { background: var(--bad-bg); color: var(--bad); }
.grafico-fluxo { display: flex; align-items: stretch; gap: 6px; height: 180px; padding: 8px 20px 12px; border-top: 1px solid var(--line2); overflow-x: auto; background-image: linear-gradient(var(--line2) 1px, transparent 1px); background-size: 100% 25%; background-position: 0 8px; }
.gf-sem { flex: 1 0 34px; display: flex; flex-direction: column; gap: 6px; min-width: 34px; }
.gf-barras { flex: 1; display: flex; align-items: flex-end; justify-content: center; gap: 3px; }
.gf-barras > i { display: block; width: 12px; min-height: 1px; border-radius: 3px 3px 0 0; }
.gf-barras > i.ok { background: var(--ok-fill); } .gf-barras > i.bad { background: var(--bad); }
.gf-rot { font-size: 11px; color: var(--muted); text-align: center; white-space: nowrap; }
.faixa-novo { display: flex; flex-direction: column; gap: 10px; padding: 0 20px 16px; }
.weeks > i.retirada { background: var(--pri); }
.retorno .bar { flex: none; width: 100%; }

/* ---------- revisão (frontend-design) ---------- */

/* Resumo em linha: grade de colunas iguais (nada sobra sozinho na linha de baixo). Número em cima, legenda embaixo. */
.resumo-linha { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px 28px; align-items: start; padding: 2px 0; }
.resumo-linha > span { display: flex; flex-direction: column; gap: 2px; color: var(--muted); font-size: 14px; min-width: 0; }
.resumo-linha small { font-size: 12px; }
@media (max-width: 599.98px) { .resumo-linha { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; } .resumo-linha b { font-size: 21px; } }

/* Com o painel lateral aberto, colunas secundárias saem para a lista continuar legível. */
@media (min-width: 1200px) { .com-painel.aberto .col-sec { display: none !important; } }

/* Celular: cada cobrança/conta vira um cartão de duas linhas (quem + valor; descrição + situação) e a data embaixo. */
@media (max-width: 599.98px) {
  .tabela.compacta .mud-table-body .mud-table-row:has(.m-titulo) {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t v" "s x" "d d";
    gap: 4px 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line2);
  }
  .tabela.compacta .mud-table-body .mud-table-row:has(.m-titulo) .mud-table-cell { display: block; padding: 0 !important; border: 0; min-width: 0; text-align: left; white-space: normal; }
  .tabela.compacta .mud-table-body .mud-table-row:has(.m-titulo) .mud-table-cell::before { display: none !important; }
  .tabela.compacta .m-titulo { grid-area: t; }
  .tabela.compacta .m-valor { grid-area: v; text-align: right !important; font-weight: 700; font-variant-numeric: tabular-nums; }
  .tabela.compacta .m-sub { grid-area: s; font-size: 13px; color: var(--muted); }
  .tabela.compacta .m-sub .sub { display: none; }
  .tabela.compacta .m-sit { grid-area: x; justify-self: end; }
  .tabela.compacta .m-sit .sub { display: none; }
  .tabela.compacta .m-data { grid-area: d; font-size: 12px; color: var(--muted); }
  .tabela.compacta .m-ocultar { display: none !important; }
  .tabela.compacta .mud-table-row.r-atrasada { box-shadow: inset 4px 0 0 var(--bad); }
  .tabela.compacta .mud-table-row.r-hoje { box-shadow: inset 4px 0 0 var(--warn-fill); }
  .tabela.compacta .mud-table-row.r-paga { box-shadow: inset 4px 0 0 var(--ok-fill); }
  .tabela.compacta .mud-table-row .mud-table-cell:first-child { box-shadow: none !important; }
  .tabela.compacta .grupo-semana .mud-table-cell { justify-content: flex-start; }
  .tabela.compacta .grupo-semana .mud-table-cell::before { display: none; }
}

/* Faixa de semanas do contrato: linhas iguais (colunas calculadas na página). */
.weeks.fixa { grid-template-columns: repeat(var(--cols, 26), minmax(0, 44px)); }
@media (max-width: 640px) { .weeks.fixa { grid-template-columns: repeat(var(--cols-m, 13), minmax(0, 1fr)); } .weeks.fixa > i { height: 22px; } }

/* Painel: a faixa de dias é o destaque da tela (fundo petróleo claro, sem a moldura dos cartões). */
.faixa-hero { background: var(--pri-bg); border-radius: 18px; display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.faixa-hero > .card-h { padding: 16px 20px 12px; }
.faixa-hero .dias-wrap { border-top: 1px solid var(--pri-line); position: relative; }
.faixa-hero .dia { border-right-color: var(--pri-line); }
.faixa-hero .dia:hover { background: var(--pri-soft); }
.faixa-hero .dia.hoje { background: var(--warn-bg); }
/* O mês fica sem moldura: título, duas réguas e o saldo. */
.mes-solto { display: flex; flex-direction: column; gap: 14px; padding: 4px 4px 8px; }
.mes-solto .card-h h2 { font-family: var(--display); font-size: 19px; line-height: 1.3; margin: 0; font-weight: 700; }

/* Fila "Resolver agora": placa como etiqueta e o atraso em destaque. */
.fila-d { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; }
.fila-x { font-size: 13px; font-weight: 600; color: var(--muted); }
.fila-x.bad { color: var(--bad); } .fila-x.warn { color: var(--warn); }
.plate.sm { font-size: 11px; padding: 0 5px 1px; border-width: 1px; border-top-width: 3px; border-radius: 4px; letter-spacing: .07em; }

/* Gráfico do fluxo de caixa: valor no topo de cada coluna; colunas acima da escala ficam com o topo cortado. */
.gf-nota { margin: 0; padding: 0 20px 4px; }
.grafico-fluxo { height: 210px; }
.gf-sem { flex: 1 0 70px; min-width: 70px; }
.gf-barras { gap: 4px; }
.gf-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; height: 100%; width: 26px; }
.gf-col > i { display: block; width: 14px; min-height: 1px; border-radius: 3px 3px 0 0; }
.gf-col > i.ok { background: var(--ok-fill); } .gf-col > i.bad { background: var(--bad); }
.gf-col > i.cortada { border-top: 3px dashed var(--surface); border-radius: 0; }
.gf-v { font-size: 10px; font-weight: 600; color: var(--muted); white-space: nowrap; line-height: 1; }

/* Foco visível para quem navega pelo teclado (os campos do MudBlazor têm o próprio). */
:where(a, button, summary, [tabindex]:not([tabindex="-1"])):focus-visible { outline: 2px solid var(--pri); outline-offset: 2px; border-radius: 6px; }
.dia:focus-visible, .placa-cartao:focus-visible, .seg button:focus-visible { outline: 2px solid var(--pri); outline-offset: -2px; }
.painel-lat:focus, .painel-lat:focus-visible { outline: none; }

/* Quem pede menos movimento no sistema não vê as transições (menu lateral, etc.). */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
.so-cel { display: none; }
@media (max-width: 599.98px) { .so-cel { display: inline; } }
.grupo-semana .s { margin-left: 4px; }

/* Configurações → Asaas: passo a passo do webhook */
.passos-acao { margin-top: 8px; }
.passos-box { background: var(--surface2); border: 1px solid var(--line2); border-radius: 10px; padding: 10px 14px; font-size: 14px; }
.passos-box > summary { cursor: pointer; font-weight: 600; padding: 2px 0; }
.passos-box[open] > summary { margin-bottom: 8px; }
.passos { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; line-height: 1.5; }
.passos ul { margin: 6px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 3px; }
.passos .eventos li code { font-weight: 600; }
.passos .eventos .s { margin-left: 6px; }
.passos-box > .s { margin: 10px 0 2px; }
.rw .v code { word-break: break-all; }
.passos code { word-break: break-all; }
.passos .eventos { margin-bottom: 6px; }

/* ---------- identidade Rodaz ("Giro") ---------- */
.marca-giro { display: block; flex: none; }
.brand small { margin-top: 3px; }
/* Item ativo do menu: além do fundo, um traço à esquerda na cor da marca (petróleo no claro, lima no escuro). */
.nv.active { position: relative; }
.nv.active::before { content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 4px; border-radius: 0 4px 4px 0; background: var(--pri); }
/* Login: a segunda frase do slogan em lima. */
.acesso-marca h2 em { font-style: normal; color: var(--lima); }
/* Títulos de página com a fonte da marca levemente mais firmes. */
.card-h h2, .janela-h h2, .painel-lat-h h2 { letter-spacing: -.015em; }
