/* Fast Car — identidade: preto, laranja e branco */
:root {
  --bg: #0b0b0c;
  --bg-2: #111113;
  --surface: #17171a;
  --surface-2: #1e1e22;
  --border: #2a2a2f;
  --border-strong: #3a3a41;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --faint: #71717a;
  --orange: #ff6600;
  --orange-2: #ff7d26;
  --orange-soft: rgba(255, 102, 0, 0.14);
  --green: #22c55e;
  --blue: #3b82f6;
  --yellow: #eab308;
  --red: #ef4444;
  --purple: #a855f7;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --nav-h: 68px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.45; }
body { min-height: 100dvh; overscroll-behavior-y: contain; }
a { color: var(--orange-2); text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- splash ---------- */
.splash { position: fixed; inset: 0; display: grid; place-items: center; background: var(--bg); z-index: 100; transition: opacity .3s; }
.splash img { width: min(70vw, 320px); }
.splash .bar { width: 120px; height: 3px; margin: 28px auto 0; border-radius: 3px; background: var(--border); overflow: hidden; position: relative; }
.splash .bar::after { content: ""; position: absolute; inset: 0 60% 0 0; background: var(--orange); animation: load 1s ease-in-out infinite; }
@keyframes load { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }

/* ---------- layout ---------- */
.app { display: flex; min-height: 100dvh; }
.sidebar { display: none; }
.main { flex: 1; min-width: 0; padding: calc(var(--safe-t) + 0px) 0 calc(var(--nav-h) + var(--safe-b) + 16px); }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: calc(var(--safe-t) + 12px) 16px 12px;
  background: rgba(11, 11, 12, 0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.topbar .brand { height: 26px; width: auto; }
.topbar h1 { font-size: 18px; margin: 0; font-weight: 700; letter-spacing: -.01em; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .back { margin-left: -6px; }
.content { padding: 16px; max-width: 1180px; margin: 0 auto; }
.content.narrow { max-width: 760px; }

.bottomnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; height: calc(var(--nav-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  display: flex; background: rgba(17, 17, 19, 0.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--border); }
.bottomnav a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--muted); font-size: 11px; font-weight: 600; }
.bottomnav a svg { width: 24px; height: 24px; }
.bottomnav a.active { color: var(--orange); }
.bottomnav a.fab { flex: 0 0 76px; }
.bottomnav a.fab span.circle { width: 52px; height: 52px; border-radius: 50%; background: var(--orange); color: #111; display: grid; place-items: center; margin-top: -22px;
  box-shadow: 0 8px 22px rgba(255, 102, 0, .45); border: 4px solid var(--bg); }
.bottomnav a.fab svg { width: 26px; height: 26px; }

@media (min-width: 1024px) {
  .bottomnav { display: none; }
  .main { padding-bottom: 32px; }
  .sidebar { display: flex; flex-direction: column; width: 248px; flex-shrink: 0; position: sticky; top: 0; height: 100dvh; padding: 20px 14px; border-right: 1px solid var(--border); background: var(--bg-2); }
  .sidebar .brand { width: 180px; margin: 4px 8px 24px; }
  .sidebar nav { display: flex; flex-direction: column; gap: 2px; }
  .sidebar nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 15px; }
  .sidebar nav a svg { width: 20px; height: 20px; }
  .sidebar nav a:hover { background: var(--surface); color: var(--text); }
  .sidebar nav a.active { background: var(--orange-soft); color: var(--orange-2); }
  .sidebar .new { margin: 0 0 18px; }
  .sidebar .who { margin-top: auto; padding: 12px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
  .sidebar .who strong { display: block; color: var(--text); font-size: 14px; }
  .topbar .brand { display: none; }
  .content { padding: 24px 28px; }
}

/* ---------- componentes ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.card + .card { margin-top: 12px; }
.card h2, .section-title { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 12px; font-weight: 700; }
.card h3 { margin: 0 0 4px; font-size: 16px; }
.stack > * + * { margin-top: 12px; }
.row { display: flex; gap: 10px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.mono { font-variant-numeric: tabular-nums; }
.grid { display: grid; gap: 12px; }
.grid.kpis { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .grid.kpis { grid-template-columns: repeat(3, 1fr); } .grid.two { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .grid.kpis { grid-template-columns: repeat(6, 1fr); } .grid.main-side { grid-template-columns: 1.4fr 1fr; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--border-strong);
  background: var(--surface-2); color: var(--text); font-weight: 650; font-size: 15px; cursor: pointer; transition: background .15s, border-color .15s, transform .05s; white-space: nowrap; }
.btn:hover { border-color: var(--faint); }
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; }
.btn.primary { background: var(--orange); border-color: var(--orange); color: #111; }
.btn.primary:hover { background: var(--orange-2); }
.btn.danger { background: transparent; border-color: rgba(239, 68, 68, .5); color: #fca5a5; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn.ghost:hover { color: var(--text); background: var(--surface); }
.btn.block { width: 100%; }
.btn.lg { min-height: 54px; font-size: 16px; border-radius: 14px; }
.btn.sm { min-height: 34px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.btn.icon { width: 44px; padding: 0; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn.loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.loading::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-color: rgba(255,255,255,.35); border-top-color: #fff; animation: spin .7s linear infinite; }
.btn.primary.loading::after { border-color: rgba(0,0,0,.25); border-top-color: #111; }
@keyframes spin { to { transform: rotate(360deg); } }

/* formulários */
.field { display: block; }
.field + .field { margin-top: 14px; }
.field > span.label { display: block; font-size: 13px; font-weight: 650; color: var(--muted); margin-bottom: 6px; }
.field > span.label .req { color: var(--orange); margin-left: 2px; }
.input, select.input, textarea.input { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--bg-2);
  color: var(--text); font-size: 16px; outline: none; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
textarea.input { min-height: 88px; resize: vertical; }
select.input { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
.input.upper { text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.field .help { display: block; font-size: 12px; color: var(--faint); margin-top: 5px; }
.field .error { display: block; font-size: 13px; color: #fca5a5; margin-top: 6px; font-weight: 600; }
.field.invalid .input { border-color: var(--red); }
.form-grid { display: grid; gap: 14px; }
.form-grid .field + .field { margin-top: 0; }
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } .form-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; } .form-grid .span-2 { grid-column: span 2; } }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-weight: 550; }
.check input { width: 22px; height: 22px; accent-color: var(--orange); flex-shrink: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radios label { position: relative; }
.radios input { position: absolute; opacity: 0; inset: 0; }
.radios span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--bg-2); font-weight: 600; font-size: 14px; cursor: pointer; }
.radios input:checked + span { border-color: var(--orange); background: var(--orange-soft); color: var(--orange-2); }
.radios input:focus-visible + span { box-shadow: 0 0 0 3px var(--orange-soft); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--bg-2);
  font-weight: 600; font-size: 14px; cursor: pointer; user-select: none; }
.chip.on { border-color: var(--orange); background: var(--orange-soft); color: var(--orange-2); }
.chip.slot { min-height: 38px; border-radius: 10px; font-variant-numeric: tabular-nums; }
.chip svg { width: 16px; height: 16px; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.agendado { color: #93c5fd; background: rgba(59,130,246,.12); border-color: rgba(59,130,246,.3); }
.badge.confirmado { color: #86efac; background: rgba(34,197,94,.12); border-color: rgba(34,197,94,.3); }
.badge.chegou { color: #fde047; background: rgba(234,179,8,.12); border-color: rgba(234,179,8,.3); }
.badge.em_atendimento { color: var(--orange-2); background: var(--orange-soft); border-color: rgba(255,102,0,.35); }
.badge.concluido { color: #d4d4d8; background: rgba(161,161,170,.12); border-color: rgba(161,161,170,.3); }
.badge.cancelado, .badge.falhou { color: #fca5a5; background: rgba(239,68,68,.12); border-color: rgba(239,68,68,.3); }
.badge.nao_compareceu { color: #d8b4fe; background: rgba(168,85,247,.12); border-color: rgba(168,85,247,.3); }
.badge.enviado, .badge.entregue { color: #86efac; background: rgba(34,197,94,.12); border-color: rgba(34,197,94,.3); }
.badge.pendente, .badge.enviando { color: #93c5fd; background: rgba(59,130,246,.12); border-color: rgba(59,130,246,.3); }
.badge.ignorado, .badge.expirado { color: var(--faint); }

.kpi { padding: 14px; }
.kpi .v { font-size: 30px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.kpi .l { font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 4px; }
.kpi.accent { border-color: rgba(255,102,0,.4); background: linear-gradient(160deg, rgba(255,102,0,.16), var(--surface) 60%); }
.kpi.accent .v { color: var(--orange-2); }

.bar { height: 10px; border-radius: 6px; background: var(--bg-2); border: 1px solid var(--border); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 6px; }

.list { display: flex; flex-direction: column; gap: 10px; }
.appt { display: flex; gap: 12px; padding: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); position: relative; overflow: hidden; }
.appt::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--mc, var(--orange)); }
.appt .time { min-width: 56px; font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }
.appt .time small { display: block; font-size: 12px; color: var(--faint); font-weight: 600; }
.appt .who { font-weight: 700; }
.appt .car { color: var(--muted); font-size: 14px; }
.appt .plate { display: inline-block; padding: 1px 7px; border-radius: 5px; border: 1px solid var(--border-strong); font-size: 12px; font-weight: 800; letter-spacing: .06em; color: var(--text); background: var(--bg-2); }
.appt .svc { font-size: 13px; color: var(--muted); margin-top: 4px; }
.appt:hover { border-color: var(--border-strong); }
.appt.dim { opacity: .55; }

.empty { text-align: center; padding: 36px 16px; color: var(--muted); }
.empty svg { width: 42px; height: 42px; color: var(--faint); margin: 0 auto 10px; display: block; }
.empty strong { display: block; color: var(--text); margin-bottom: 4px; font-size: 16px; }

.skeleton { background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 37%, var(--surface) 63%); background-size: 400% 100%; animation: sk 1.3s ease infinite; border-radius: var(--radius); }
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

.tabs { display: flex; gap: 4px; padding: 4px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; overflow-x: auto; }
.tabs button { flex: 1; min-height: 38px; border: 0; background: transparent; color: var(--muted); border-radius: 9px; font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; padding: 0 12px; }
.tabs button.on { background: var(--surface-2); color: var(--text); box-shadow: 0 1px 0 rgba(255,255,255,.04) inset; }

.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 15px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; word-break: break-word; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 14px 20px; font-size: 14px; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.timeline li::after { content: ""; position: absolute; left: 7px; top: 18px; bottom: 0; width: 2px; background: var(--border); }
.timeline li:last-child::after { display: none; }

.notice { display: flex; gap: 12px; padding: 14px; border-radius: var(--radius); border: 1px solid rgba(234,179,8,.35); background: rgba(234,179,8,.08); color: #fde68a; font-size: 14px; }
.notice.info { border-color: rgba(59,130,246,.35); background: rgba(59,130,246,.08); color: #bfdbfe; }
.notice.danger { border-color: rgba(239,68,68,.35); background: rgba(239,68,68,.08); color: #fecaca; }
.notice.ok { border-color: rgba(34,197,94,.35); background: rgba(34,197,94,.08); color: #bbf7d0; }
.notice svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }

.status-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.status-actions .btn { min-height: 56px; white-space: normal; text-align: center; line-height: 1.2; }
.status-actions .btn.next { grid-column: 1 / -1; min-height: 62px; font-size: 17px; }

/* ---------- agenda ---------- */
.agenda-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.agenda-toolbar .date-label { font-weight: 800; font-size: 17px; min-width: 0; flex: 1 1 180px; }
.dayview { position: relative; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: auto; max-height: calc(100dvh - 250px); }
.dayview .grid-wrap { display: flex; min-width: max-content; position: relative; }
.dayview .hours { position: sticky; left: 0; z-index: 3; width: 52px; flex-shrink: 0; background: var(--surface); border-right: 1px solid var(--border); }
.dayview .col { width: 168px; flex-shrink: 0; border-right: 1px solid var(--border); position: relative; }
@media (min-width: 1100px) { .dayview .col { width: auto; flex: 1 0 170px; } .dayview .grid-wrap { min-width: 100%; } }
.dayview .head { position: sticky; top: 0; z-index: 2; height: 46px; display: flex; align-items: center; gap: 8px; padding: 0 10px; background: var(--surface-2); border-bottom: 1px solid var(--border); font-weight: 700; font-size: 14px; }
.dayview .hours .head { z-index: 4; }
.dayview .dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dayview .slots { position: relative; }
.dayview .hl { position: absolute; left: 0; right: 0; border-top: 1px solid var(--border); }
.dayview .hl.half { border-top-style: dashed; border-color: rgba(42,42,47,.6); }
.dayview .hours .lbl { position: absolute; right: 8px; font-size: 11px; color: var(--faint); transform: translateY(-50%); font-variant-numeric: tabular-nums; }
.dayview .hours .lbl:first-child { transform: translateY(3px); }
.dayview .hours .lbl:last-child { transform: translateY(-110%); }
.dayview .closed { position: absolute; left: 0; right: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 8px, transparent 8px 16px); }
.dayview .ev { position: absolute; left: 4px; right: 4px; border-radius: 9px; padding: 6px 8px; font-size: 12px; overflow: hidden; cursor: pointer; color: var(--text);
  background: color-mix(in srgb, var(--mc) 22%, var(--surface-2)); border: 1px solid color-mix(in srgb, var(--mc) 60%, transparent); border-left: 4px solid var(--mc); }
.dayview .ev b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dayview .ev span { display: block; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dayview .ev.dim { opacity: .45; }
.dayview .tap { position: absolute; left: 0; right: 0; cursor: copy; }
.dayview .tap:hover { background: rgba(255,102,0,.06); }
.dayview .now { position: absolute; left: 0; right: 0; height: 2px; background: var(--red); z-index: 1; }

.weekview { display: grid; gap: 10px; }
@media (min-width: 900px) { .weekview { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.weekview .day { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px; min-height: 90px; }
.weekview .day.today { border-color: rgba(255,102,0,.55); }
.weekview .day h4 { margin: 0 0 8px; font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; cursor: pointer; }
.weekview .mini { display: block; padding: 7px 8px; border-radius: 8px; background: var(--bg-2); border-left: 3px solid var(--mc); margin-top: 6px; font-size: 12px; color: var(--text); }
.weekview .mini b { font-variant-numeric: tabular-nums; }
.weekview .mini.dim { opacity: .45; }

.monthview { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.monthview .wd { text-align: center; font-size: 11px; color: var(--faint); font-weight: 700; padding: 4px 0; text-transform: uppercase; }
.monthview .cell { aspect-ratio: 1 / 1.05; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 6px; cursor: pointer; display: flex; flex-direction: column; min-width: 0; }
.monthview .cell.out { opacity: .35; }
.monthview .cell.today { border-color: var(--orange); }
.monthview .cell .n { font-size: 13px; font-weight: 700; }
.monthview .cell .c { margin-top: auto; font-size: 12px; font-weight: 800; color: var(--orange-2); }
.monthview .cell .dots { display: flex; flex-wrap: wrap; gap: 2px; margin-top: 4px; }
.monthview .cell .dots i { width: 6px; height: 6px; border-radius: 50%; }
@media (min-width: 900px) { .monthview .cell { aspect-ratio: auto; min-height: 92px; } }

/* ---------- modal / toast ---------- */
.overlay { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.6); display: flex; align-items: flex-end; justify-content: center; animation: fade .15s; }
@keyframes fade { from { opacity: 0; } }
.sheet { width: 100%; max-width: 560px; max-height: 92dvh; overflow: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 20px 20px 0 0; padding: 20px 18px calc(18px + var(--safe-b)); animation: up .2s ease-out; }
@keyframes up { from { transform: translateY(30px); opacity: .6; } }
.sheet:focus { outline: none; }
.sheet h2 { margin: 0 0 6px; font-size: 19px; }
.sheet .actions { display: flex; gap: 10px; margin-top: 18px; }
.sheet .actions .btn { flex: 1; }
@media (min-width: 640px) { .overlay { align-items: center; } .sheet { border-radius: 20px; } }
.toasts { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--nav-h) + var(--safe-b) + 14px); z-index: 80; display: flex; flex-direction: column; gap: 8px; width: min(92vw, 440px); pointer-events: none; }
@media (min-width: 1024px) { .toasts { bottom: 24px; } }
.toast { padding: 13px 16px; border-radius: 12px; background: #26262b; border: 1px solid var(--border-strong); box-shadow: var(--shadow); font-weight: 600; font-size: 14px; animation: up .2s; pointer-events: auto; }
.toast.ok { border-color: rgba(34,197,94,.5); }
.toast.err { border-color: rgba(239,68,68,.6); background: #2a1717; }

/* ---------- login ---------- */
.login { min-height: 100dvh; display: grid; place-items: center; padding: 24px 18px calc(24px + var(--safe-b)); background:
  radial-gradient(1200px 500px at 50% -10%, rgba(255,102,0,.18), transparent 60%), var(--bg); }
.login .box { width: 100%; max-width: 400px; }
.login .logo { width: 260px; margin: 0 auto 30px; }
.login .card { padding: 22px; }
.login h1 { font-size: 20px; margin: 0 0 4px; }

.service-block { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; background: var(--bg-2); }
.service-block + .service-block { margin-top: 10px; }
.service-block h4 { margin: 0 0 10px; display: flex; align-items: center; gap: 8px; font-size: 15px; }
.service-block h4::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.service-block .desc { font-size: 13px; color: var(--muted); margin: -4px 0 12px; }

.sticky-actions { position: sticky; bottom: calc(var(--nav-h) + var(--safe-b) + 8px); z-index: 10; margin-top: 16px; padding: 12px; background: rgba(23,23,26,.95); backdrop-filter: blur(10px); border: 1px solid var(--border); border-radius: var(--radius); display: flex; gap: 10px; }
.sticky-actions .btn { flex: 1; }
@media (min-width: 1024px) { .sticky-actions { bottom: 16px; } }

.menu-list a, .menu-list button { display: flex; align-items: center; gap: 14px; width: 100%; padding: 15px 4px; border: 0; border-bottom: 1px solid var(--border); background: none; color: var(--text); font-weight: 600; font-size: 16px; text-align: left; cursor: pointer; }
.menu-list a:last-child, .menu-list button:last-child { border-bottom: 0; }
.menu-list svg { width: 22px; height: 22px; color: var(--orange-2); }
.menu-list .chev { margin-left: auto; color: var(--faint); }

table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
table.tbl th { text-align: left; color: var(--muted); font-weight: 650; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; padding: 8px; border-bottom: 1px solid var(--border); }
table.tbl td { padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
.scroll-x { overflow-x: auto; }
.swatch { width: 14px; height: 14px; border-radius: 4px; display: inline-block; vertical-align: middle; }
input[type="color"].input { padding: 4px; height: 48px; }
.pw-box { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 22px; font-weight: 800; letter-spacing: .04em; text-align: center; padding: 16px; border-radius: 12px; background: var(--bg-2); border: 1px dashed var(--orange); color: var(--orange-2); user-select: all; }
.offline { position: fixed; top: calc(var(--safe-t) + 8px); left: 50%; transform: translateX(-50%); z-index: 90; padding: 6px 14px; border-radius: 999px; background: #3f1d1d; border: 1px solid var(--red); font-size: 13px; font-weight: 700; }

/* ---------- marca Conac Flow ---------- */
.cf-band { display: flex; align-items: center; justify-content: center; gap: 14px; padding: calc(var(--safe-t) + 14px) 16px 14px;
  background: linear-gradient(90deg, #120b1f 0%, #1b0f2e 50%, #120b1f 100%); border-bottom: 1px solid rgba(236, 72, 153, .25); }
.cf-band img { height: 46px; width: auto; }
.cf-band span { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: #c4b5fd; font-weight: 700; }
.main > .cf-band + .topbar { padding-top: 12px; }
.login .cf-band { border-radius: 16px; margin: 0 0 26px; padding: 14px 16px; border: 1px solid rgba(236, 72, 153, .25); }
.login .cf-band img { height: 52px; }
.cf-foot { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; margin: 28px 16px 8px; padding: 22px 16px;
  border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; }
.cf-foot img { height: 54px; width: auto; }
.cf-foot .small { font-size: 12px; color: var(--faint, #8a8a8f); }
.login .cf-foot { margin: 22px 0 0; }
.cf-side { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px 4px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.cf-side img { width: 150px; height: auto; }
@media (max-width: 420px) { .cf-band { gap: 10px; } .cf-band img { height: 40px; } .cf-band span { font-size: 9.5px; letter-spacing: .1em; } }
@media (min-width: 1024px) { .cf-band img { height: 52px; } }
