/* =========================================================================
   FixUp — identidade visual
   Paleta azul do FixUp, tipografia Plus Jakarta Sans, cantos arredondados e sombras leves.
   Temas claro e escuro: todas as cores vêm dos tokens abaixo.
   ========================================================================= */

:root {
  /* Paleta FixUp */
  --fx-1: #0303B5;
  --fx-2: #0404E2;
  --fx-3: #4040FB;
  --fx-4: #6565FF;
  --fx-5: #8787FB;

  /* Papéis das cores */
  --primary: #0404E2;            /* preenchimentos: botões, seleção, marcadores */
  --primary-2: #4040FB;          /* segundo tom: degradês, foco, detalhes */
  --accent: #0404E2;             /* texto e ícones de destaque sobre as superfícies */
  --accent-strong: #0303B5;      /* texto sobre fundos tingidos */
  --tint: #E7E7FF;               /* fundo tingido */
  --tint-2: #F2F2FF;             /* fundo tingido bem leve */
  --tint-3: #C9C9FF;             /* tingido mais forte: bordas e trilhos */
  --grad: linear-gradient(120deg, #0404E2 0%, #4040FB 100%);
  --grad-hero: linear-gradient(155deg, #4040FB 0%, #0404E2 46%, #0303B5 100%);
  --grad-deep: linear-gradient(140deg, #0303B5 0%, #07074A 100%);
  --ring: 4 4 226;

  --ink: #0B0B2B;
  --ink-2: #4A4A6A;
  --ink-3: #8787A6;
  --line: #E4E4F3;
  --line-2: #D2D2E8;
  --bg: #F5F5FC;
  --card: #FFFFFF;
  --bar: rgba(245, 245, 252, .92);
  --bar-solid: rgba(255, 255, 255, .95);
  --bubble: #EDEDF9;
  --toast: #07073F;
  --map-bg: #E6E7F8;
  --route: #0404E2;
  --route-bg: #B4B4FF;

  --stage: #EEEEFA;
  --stage-a: #DCDCFF;
  --stage-b: #E1E6FF;
  --frame: #0A0A22;
  --frame-ring: #2B2B55;

  --ok: #0E9F6E;
  --ok-bg: #E2F6EE;
  --ok-ink: #0B6B4B;
  --warn: #F2A20C;
  --bad: #E5484D;
  --bad-bg: #FDECEC;

  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --sh-1: 0 1px 2px rgba(11, 11, 43, .05), 0 2px 8px rgba(4, 4, 120, .05);
  --sh-2: 0 6px 20px rgba(4, 4, 120, .11);
  --sh-3: 0 18px 50px rgba(4, 4, 120, .22);
  --sh-primary: 0 8px 20px rgba(4, 4, 226, .28);

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

:root[data-fx-theme="dark"] {
  color-scheme: dark;

  --primary: #4040FB;
  --primary-2: #6565FF;
  --accent: #9A9AFF;
  --accent-strong: #BDBDFF;
  --tint: #23234F;
  --tint-2: #1B1B3E;
  --tint-3: #363670;
  --grad: linear-gradient(120deg, #3636F0 0%, #6565FF 100%);
  --grad-hero: linear-gradient(155deg, #3A3AF0 0%, #1B1BC2 48%, #0E0E72 100%);
  --grad-deep: linear-gradient(140deg, #1C1C8F 0%, #0D0D3F 100%);
  --ring: 101 101 255;

  --ink: #EEEEFF;
  --ink-2: #B5B5D6;
  --ink-3: #8080A8;
  --line: #2A2A4E;
  --line-2: #3B3B68;
  --bg: #0B0B1E;
  --card: #15152F;
  --bar: rgba(11, 11, 30, .88);
  --bar-solid: rgba(21, 21, 47, .95);
  --bubble: #23234A;
  --toast: #2B2B60;
  --map-bg: #14142B;
  --route: #8787FB;
  --route-bg: #34346C;

  --stage: #070714;
  --stage-a: #15154A;
  --stage-b: #101038;
  --frame: #04040E;
  --frame-ring: #2A2A55;

  --ok: #34D399;
  --ok-bg: #0F3A2E;
  --ok-ink: #86EBC4;
  --warn: #F7B93B;
  --bad: #FF6B70;
  --bad-bg: #40181C;

  --sh-1: 0 1px 2px rgba(0, 0, 0, .35), 0 2px 8px rgba(0, 0, 0, .25);
  --sh-2: 0 6px 20px rgba(0, 0, 0, .4);
  --sh-3: 0 18px 50px rgba(0, 0, 0, .55);
  --sh-primary: 0 8px 20px rgba(64, 64, 251, .3);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: var(--font); font-size: 15px; line-height: 1.45; color: var(--ink);
  background: var(--bg); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; text-align: inherit; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, dl, dd, ol, ul { margin: 0; padding: 0; }
small { font-size: 12.5px; }
:focus-visible { outline: 2.5px solid var(--fx-4); outline-offset: 2px; }

.ic { width: 20px; height: 20px; flex: none; stroke-width: 2; }
.muted { color: var(--ink-2); }
.muted.sm { font-size: 12.5px; }
.muted.pad { padding: 16px; }
.muted-ic { color: var(--ink-3); width: 18px; height: 18px; }
.link { color: var(--accent); font-weight: 700; font-size: 13.5px; }
.spacer { height: 28px; flex: none; }

/* =========================================================================
   Estrutura do app
   Celular: tela cheia, com a barra de navegação embaixo.
   Tablet e computador (a partir de 768px): barra lateral, conteúdo em várias colunas e
   telas de lista + detalhe lado a lado. Essas regras ficam no fim deste arquivo.
   ========================================================================= */

.app {
  --safe-top: env(safe-area-inset-top, 0px); --safe-bottom: env(safe-area-inset-bottom, 0px); --gx: 16px;
  position: relative; height: 100vh; height: 100dvh; display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
  background: var(--bg);
}

.screen { position: relative; flex: 1; min-height: 0; overflow-x: hidden; overflow-y: auto; scrollbar-width: none; }
.screen::-webkit-scrollbar { display: none; }
.view { min-height: 100%; display: flex; flex-direction: column; }
.view.enter { animation: viewIn .26s cubic-bezier(.2, .7, .2, 1); }
.splash { height: 100%; display: grid; place-items: center; }

/* Lista + detalhe (conversas, pedidos). No celular aparece um de cada vez. */
.view-chats, .view-chat, .view-proChats, .view-proChat, .view-orders, .view-receipt { position: absolute; inset: 0; min-height: 0; }
.md { position: absolute; inset: 0; display: flex; }
.md-list { flex: 1; min-width: 0; overflow-y: auto; scrollbar-width: none; }
.md-list::-webkit-scrollbar { display: none; }
.md-detail { position: relative; display: none; min-width: 0; overflow-y: auto; scrollbar-width: none; }
.md-detail::-webkit-scrollbar { display: none; }
.md.has-detail .md-list { display: none; }
.md.has-detail .md-detail { display: block; flex: 1; }
.md-empty { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 32px; text-align: center; color: var(--ink-2); }
.md-empty h3 { font-size: 17px; color: var(--ink); }
.md-empty p { max-width: 300px; font-size: 13.5px; }

/* =========================================================================
   Abertura animada (o logo se monta enquanto o app carrega)
   O desenho e o movimento do logo ficam em img/abertura.svg; aqui ficam o fundo,
   o nome do app e a saída. Quem decide a hora de sair é js/app.js.
   ========================================================================= */

.abertura {
  position: absolute; inset: 0; z-index: 70; display: grid; place-items: center; cursor: pointer;
  padding: var(--safe-top) 24px var(--safe-bottom); color: #fff; overflow: hidden;
  background: radial-gradient(130% 85% at 50% 42%, #7C82FF 0%, #6870FB 42%, #4C54EC 100%);
  animation: abSeguro .3s 8s forwards;   /* garantia: some sozinha se o app não carregar */
  will-change: opacity;
}
.ab-centro { display: flex; flex-direction: column; align-items: center; text-align: center; transform: translateY(-3%); will-change: transform; }
.ab-logo { display: block; width: 200px; max-width: 56vw; height: auto; }
.ab-logo .g { fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.ab-logo .ave { transform-box: fill-box; transform-origin: 50% 100%; transform: translateY(105%); will-change: transform; }
.ab-logo .bico { transform-box: fill-box; transform-origin: 0% 100%; will-change: transform; }
.ab-logo .chave { transform-box: fill-box; transform-origin: 50% 50%; transform: rotate(-200deg) scale(0); will-change: transform; }
.ab-logo .faisca { stroke: #fff; stroke-width: 6; stroke-linecap: round; fill: none; opacity: 0; transform-box: view-box; transform-origin: 340px 181px; will-change: transform, opacity; }
.abertura.pronto .ab-logo .d1 { animation: abRisco .30s .15s cubic-bezier(.5, 0, .3, 1) both; }
.abertura.pronto .ab-logo .d2 { animation: abRisco .55s .40s cubic-bezier(.45, 0, .25, 1) both; }
.abertura.pronto .ab-logo .d3 { animation: abRisco .22s .88s cubic-bezier(.4, 0, .2, 1) both; }
.abertura.pronto .ab-logo .d4 { animation: abRisco .22s .90s cubic-bezier(.4, 0, .2, 1) both; }
.abertura.pronto .ab-logo .ave { animation: abSobe .62s .75s cubic-bezier(.22, 1.15, .36, 1) both; }
.abertura.pronto .ab-logo .bico { animation: abBica .62s 1.45s ease-in-out both; }
.abertura.pronto .ab-logo .chave { animation: abGira .58s 1.15s cubic-bezier(.3, 1.4, .5, 1) both; }
.abertura.pronto .ab-logo .faisca { animation: abBrilho .31s 1.52s ease-out 2 both; }
.ab-marca { margin-top: 14px; font: 800 40px/1 var(--font); letter-spacing: -.035em; opacity: 0; will-change: transform, opacity; }
.ab-frase { margin-top: 10px; font-size: 14px; font-weight: 600; letter-spacing: .005em; opacity: 0; will-change: transform, opacity; }
.abertura.pronto .ab-marca { animation: abMarca .55s 1.42s cubic-bezier(.2, .9, .25, 1.15) both; }
.abertura.pronto .ab-frase { animation: abFrase .5s 1.68s ease-out both; }
.abertura.saindo { animation: abSai .45s cubic-bezier(.4, 0, .2, 1) forwards; pointer-events: none; }
.abertura.saindo .ab-centro { animation: abCresce .45s cubic-bezier(.4, 0, .2, 1) forwards; }

@keyframes abRisco { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes abSobe { from { transform: translateY(105%); } to { transform: none; } }
@keyframes abGira { from { transform: rotate(-200deg) scale(0); } to { transform: none; } }
@keyframes abBica {
  0%, 50%, 100% { transform: none; }
  18%, 68% { transform: rotate(7deg); }
  30%, 80% { transform: rotate(-1deg); }
}
@keyframes abBrilho { 0% { opacity: 0; transform: scale(.4); } 25% { opacity: 1; } 100% { opacity: 0; transform: scale(1.25); } }
@keyframes abMarca { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes abFrase { from { opacity: 0; transform: translateY(8px); } to { opacity: .88; transform: none; } }
@keyframes abSai { to { opacity: 0; visibility: hidden; } }
@keyframes abCresce { from { transform: translateY(-3%); } to { transform: translateY(-3%) scale(1.1); } }
@keyframes abSeguro { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* =========================================================================
   Navegação (barra inferior no celular; barra lateral no tablet e no computador)
   ========================================================================= */

.tabbar { flex: none; display: flex; padding: 8px 6px calc(8px + var(--safe-bottom)); background: var(--card); border-top: 1px solid var(--line); }
.tabbar[hidden] { display: none; }
.nav-items { flex: 1; display: flex; }
.nav-brand, .nav-foot { display: none; }
.tab { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 5px 0; border-radius: 12px; font-size: 10.5px; font-weight: 600; color: var(--ink-3); transition: color .15s, background .15s; }
.tab .ic { width: 22px; height: 22px; }
.tab.active { color: var(--accent); }
.tab.active .ic { stroke-width: 2.4; }
.tab-dot { position: absolute; top: 3px; left: calc(50% + 7px); width: 8px; height: 8px; border-radius: 50%; background: var(--primary-2); border: 2px solid var(--card); box-sizing: content-box; }

/* =========================================================================
   Componentes
   ========================================================================= */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px;
  border-radius: 14px; font-weight: 700; font-size: 15px; white-space: nowrap; position: relative;
  transition: transform .12s, background .2s, box-shadow .2s, filter .2s;
}
.btn:active { transform: scale(.98); }
.btn .ic { width: 19px; height: 19px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--sh-primary); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-soft { background: var(--tint); color: var(--accent-strong); }
.btn-soft:hover { background: var(--tint-3); }
.btn-outline { background: var(--card); color: var(--ink); border: 1.5px solid var(--line-2); }
.btn-outline:hover { border-color: var(--ink-3); }
.btn-ghost { color: var(--ink-2); }
.btn-danger { background: var(--bad); color: #fff; }
.btn-white { background: #fff; color: #0303B5; height: 42px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-lg { height: 54px; border-radius: 16px; font-size: 15.5px; }
.btn-sm { height: 38px; font-size: 13.5px; }
.btn.grow { flex: 1; min-width: 0; padding: 0 14px; }
.cta-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.btn.loading { color: transparent !important; pointer-events: none; }
.btn.loading::after { content: ''; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .7s linear infinite; }
.btn-soft.loading::after { border-color: var(--tint-3); border-top-color: var(--primary); }

.icon-btn { position: relative; width: 40px; height: 40px; flex: none; border-radius: 13px; display: grid; place-items: center; background: var(--card); color: var(--ink); box-shadow: var(--sh-1); }
.icon-btn.ghost { visibility: hidden; }
.icon-btn.glass { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: none; }
.icon-btn.soft { background: var(--tint-2); color: var(--accent-strong); box-shadow: none; }
.icon-btn.primary { background: var(--grad); color: #fff; box-shadow: none; }
.icon-btn.round { border-radius: 50%; }
.icon-btn.fav { color: var(--bad); }
.icon-btn.fav svg { fill: currentColor; }
.badge-dot { position: absolute; top: 9px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: #FFD166; border: 2px solid #2A2AEE; box-sizing: content-box; }

.avatar {
  width: var(--s); height: var(--s); flex: none; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; font-size: calc(var(--s) * .36); letter-spacing: .01em; color: #fff;
  background: linear-gradient(140deg, hsl(var(--h) 90% 66%), hsl(calc(var(--h) + 12) 82% 42%));
}

.card { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--sh-1); padding: 16px; }
.card.flush { padding: 0; overflow: hidden; }
.card.flush > * + * { border-top: 1px solid var(--line); }

.row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; text-align: left; }
button.row:hover, .method:hover { background: var(--tint-2); }
.card.row { padding: 14px 16px; }
.row-ic { width: 38px; height: 38px; flex: none; border-radius: 12px; background: var(--tint-2); color: var(--accent); display: grid; place-items: center; font-weight: 800; }
.row-ic .ic { width: 19px; height: 19px; }
.row-ic.in { background: var(--ok-bg); color: var(--ok); }
.row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.row-main strong { font-size: 14.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-main strong.wrap { white-space: normal; }
.row-main small { color: var(--ink-2); line-height: 1.35; }

.radio { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; transition: border-color .15s; }
.radio::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); transform: scale(0); transition: transform .15s; }
.selected > .radio { border-color: var(--primary); }
.selected > .radio::after { transform: scale(1); }

.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px; }
.chips::-webkit-scrollbar { display: none; }
.chips.tight { margin: 0; padding: 2px 0; }
.chips.wrap { flex-wrap: wrap; justify-content: center; margin: 0; padding: 0; overflow: visible; }
.chips.wrap.left { justify-content: flex-start; }
.chip { flex: none; height: 38px; padding: 0 15px; border-radius: 999px; background: var(--card); box-shadow: var(--sh-1); font-size: 13.5px; font-weight: 600; color: var(--ink-2); transition: background .15s, color .15s; }
.chip.sm { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px; font-size: 13px; box-shadow: none; border: 1.5px solid var(--line); }
.chip.sm .ic { width: 15px; height: 15px; }
.chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.chip.strong { background: var(--tint); color: var(--accent-strong); border-color: transparent; font-weight: 700; }

.seg { display: inline-flex; padding: 4px; border-radius: 14px; background: var(--card); box-shadow: var(--sh-1); }
.seg button { height: 36px; padding: 0 18px; border-radius: 10px; font-weight: 700; font-size: 14px; color: var(--ink-2); transition: background .15s, color .15s; }
.seg button.active { background: var(--primary); color: #fff; }
.seg-icons { flex: none; }
.seg-icons button { width: 38px; padding: 0; display: grid; place-items: center; }
.showcase .theme-seg button { padding: 0 14px; font-size: 13.5px; }

.star { display: inline-flex; align-items: center; gap: 3px; font-weight: 700; color: var(--ink); }
.star .ic { width: 13px; height: 13px; color: var(--warn); fill: var(--warn); }
.stars { display: inline-flex; gap: 1px; }
.stars .ic { width: 13px; height: 13px; color: var(--warn); fill: var(--warn); }
.stars .ic.off { color: var(--line-2); fill: var(--line-2); }

.status-pill { flex: none; display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.status-pill.ok { background: var(--ok-bg); color: var(--ok-ink); }
.status-pill.bad { background: var(--bad-bg); color: var(--bad); }
.status-pill.live { background: var(--tint); color: var(--accent-strong); }

.avail { position: relative; padding-left: 12px; color: var(--ink-2); font-weight: 600; }
.avail::before { content: ''; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--ink-3); }
.avail.on { color: var(--ok); }
.avail.on::before { background: var(--ok); }
.avail.pill { display: inline-block; padding: 5px 12px 5px 24px; border-radius: 999px; background: var(--line); font-size: 12.5px; }
.avail.pill::before { left: 11px; }
.avail.pill.on { background: var(--ok-bg); color: var(--ok-ink); }

.textarea { width: 100%; padding: 13px 14px; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--card); resize: none; outline: none; transition: border-color .15s, box-shadow .15s; }
.textarea:focus { border-color: var(--primary-2); box-shadow: 0 0 0 4px var(--tint); }
.textarea::placeholder, input::placeholder { color: var(--ink-3); }

.form-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.form-field input, .form-field select { width: 100%; height: 46px; padding: 0 14px; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font-weight: 500; font-size: 14.5px; outline: 0; transition: border-color .15s, box-shadow .15s; }
.form-field .textarea { font-weight: 500; font-size: 14.5px; color: var(--ink); }
.form-field input:focus, .form-field select:focus { border-color: var(--primary-2); box-shadow: 0 0 0 4px var(--tint); }
.form-row { display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px; }

.hint { font-size: 12.5px; color: var(--ink-3); text-align: center; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--tint-3); border-top-color: var(--primary); animation: spin .7s linear infinite; }
.spinner.big { width: 30px; height: 30px; border-width: 3px; }

.empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 40px 28px; text-align: center; }
.empty.small { padding: 26px 20px; }
.empty-ic { width: 60px; height: 60px; border-radius: 20px; background: var(--tint); color: var(--accent); display: grid; place-items: center; margin-bottom: 4px; }
.empty-ic .ic { width: 26px; height: 26px; }
.empty h3 { font-size: 17px; }
.empty .btn { margin-top: 8px; }

.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--tint); color: var(--accent-strong); font-size: 12px; font-weight: 700; }
.tag.ok { background: var(--ok-bg); color: var(--ok-ink); }
.tag.off { background: var(--line); color: var(--ink-2); }

.note { display: flex; gap: 10px; margin-top: 12px; padding: 12px 14px; border-radius: var(--r); background: var(--tint); color: var(--accent-strong); font-size: 12.5px; line-height: 1.45; }
.section > .note:first-child { margin-top: 0; }
.note .ic { width: 18px; height: 18px; margin-top: 1px; }

/* =========================================================================
   Estrutura das telas
   ========================================================================= */

.topbar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px;
  padding: calc(var(--safe-top) + 8px) 16px 10px; background: var(--bar); backdrop-filter: blur(14px);
}
.topbar h2 { flex: 1; text-align: center; font-size: 16.5px; font-weight: 700; }
.topbar.plain { padding-bottom: 6px; }
.topbar.plain h1 { font-size: 27px; font-weight: 800; letter-spacing: -.02em; }
.topbar.col { flex-direction: column; align-items: stretch; gap: 12px; padding-bottom: 12px; }

.section { padding: 0 16px; margin-top: 24px; }
.section.first { margin-top: 10px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.section-head h3, .h3 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.h3 { margin-bottom: 12px; }
.h3.tight { margin: 2px 0 0; }
.h3 small { font-weight: 500; color: var(--ink-3); margin-left: 6px; }
.body { color: var(--ink-2); }
.list, .svc-list, .reviews, .jobs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.list + .btn, .jobs + .btn { margin-top: 12px; }

.cta-bar {
  position: sticky; bottom: 0; z-index: 15; margin-top: auto; display: flex; align-items: center; gap: 10px;
  padding: 12px 16px calc(12px + var(--safe-bottom)); background: var(--bar-solid); backdrop-filter: blur(14px); border-top: 1px solid var(--line);
}
.view > .section:has(+ .cta-bar) { margin-bottom: 24px; }

/* =========================================================================
   Início
   ========================================================================= */

.hero {
  position: relative; overflow: hidden; flex: none; color: #fff; border-radius: 0 0 28px 28px;
  padding: calc(var(--safe-top) + 10px) 18px 22px; background: var(--grad-hero);
}
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { width: 260px; height: 260px; right: -90px; top: -110px; background: rgba(255, 255, 255, .08); }
.hero::after { width: 180px; height: 180px; left: -70px; bottom: -110px; background: rgba(255, 255, 255, .06); }
.hero > * { position: relative; z-index: 1; }
.hero-pro { background: var(--grad-deep); }
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hero-title { margin-top: 20px; font-size: 26px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }

.loc { display: flex; align-items: center; gap: 10px; min-width: 0; }
.loc-ic { width: 38px; height: 38px; border-radius: 12px; background: rgba(255, 255, 255, .16); display: grid; place-items: center; flex: none; }
.loc-text { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.loc-text small { font-size: 11.5px; opacity: .8; }
.loc-text strong { font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.loc > .ic { width: 16px; height: 16px; opacity: .85; }

.searchbar { margin-top: 18px; width: 100%; height: 52px; display: flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: 16px; background: var(--card); color: var(--ink-3); font-weight: 500; box-shadow: 0 10px 26px rgba(3, 3, 80, .28); }
.searchbar .ic { color: var(--accent); }
.hero-chips { display: flex; gap: 8px; margin: 12px -18px 0; padding: 0 18px; overflow-x: auto; scrollbar-width: none; }
.hero-chips::-webkit-scrollbar { display: none; }
.hero-chips button { flex: none; height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.hero-chips button:hover { background: rgba(255, 255, 255, .24); }

.banner-slot:not(:empty) { padding: 0 16px; margin-top: 16px; }
.active-banner { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-lg); background: var(--grad-deep); color: #fff; box-shadow: var(--sh-2); }
.active-banner .avatar { box-shadow: 0 0 0 2px rgba(255, 255, 255, .25); }
.ab-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ab-text strong { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ab-text small { opacity: .75; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ab-go { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 700; color: #C9C9FF; }
.ab-go .ic { width: 16px; height: 16px; }

.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 6px; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 7px; min-width: 0; font-size: 11.5px; font-weight: 600; line-height: 1.2; text-align: center; color: var(--ink-2); }
.cat-ic { width: 60px; height: 60px; border-radius: 19px; background: var(--card); color: var(--accent); display: grid; place-items: center; box-shadow: var(--sh-1); transition: transform .15s, background .15s, color .15s; }
.cat-ic.alt { background: var(--tint); box-shadow: none; }
.cat-ic .ic { width: 25px; height: 25px; stroke-width: 1.9; }
.cat:hover .cat-ic { background: var(--primary); color: #fff; transform: translateY(-2px); }
/* Ilustrações do pica-pau (img/categorias): o desenho ocupa o bloco inteiro. */
.cat-ic.art { width: 100%; max-width: 84px; height: auto; aspect-ratio: 1; border-radius: 22px; overflow: hidden; }
.cat-ic.alt { width: 100%; max-width: 84px; height: auto; aspect-ratio: 1; border-radius: 22px; }
.cat-art { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; user-select: none; }
.cat:hover .cat-ic.art { background: var(--tint); }
.cat:hover .cat-art { transform: scale(1.06); }
.cat-art { transition: transform .2s; }
@media (prefers-reduced-motion: reduce) { .cat-art { transition: none; } .cat:hover .cat-art { transform: none; } }

.trust { width: 100%; display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: var(--r-lg); background: var(--grad-deep); color: #fff; text-align: left; }
.trust-ic { width: 46px; height: 46px; flex: none; border-radius: 14px; background: rgba(255, 255, 255, .14); display: grid; place-items: center; }
.trust-ic .ic { width: 24px; height: 24px; }
.trust-text { display: flex; flex-direction: column; gap: 2px; }
.trust strong { font-size: 15px; line-height: 1.25; }
.trust-text span { font-size: 12.5px; opacity: .84; line-height: 1.4; }

/* Mapas */
.map { position: relative; z-index: 0; isolation: isolate; width: 100%; height: 100%; background: var(--map-bg); font-family: var(--font); }
.map-card { position: relative; height: 158px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); margin-bottom: 12px; }
.map-card.flat { height: 128px; border-radius: 0; box-shadow: none; margin: 0; }
.map-card.tall { height: 184px; margin-bottom: 0; }
.map-cover { position: absolute; inset: 0; z-index: 2; }
.map-chip { position: absolute; left: 10px; top: 10px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 999px; background: var(--card); font-size: 12px; font-weight: 700; color: var(--accent-strong); box-shadow: var(--sh-2); pointer-events: none; }
.map-chip .ic { width: 14px; height: 14px; }
.map-fallback { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--ink-3); font-size: 13px; }
.leaflet-container { font-family: var(--font); background: var(--map-bg); }
/* Deixa o mapa base nas cores do app: claro e azulado no tema claro, escuro no tema escuro. */
.leaflet-tile-pane { filter: grayscale(1) sepia(.3) hue-rotate(196deg) saturate(1.5) brightness(1.08) contrast(.86); }
:root[data-fx-theme="dark"] .leaflet-tile-pane { filter: invert(1) grayscale(1) sepia(.4) hue-rotate(196deg) saturate(1.9) brightness(.86) contrast(.9); }
.map-demo .leaflet-tile-pane, :root[data-fx-theme="dark"] .map-demo .leaflet-tile-pane { filter: none; }   /* o mapa ilustrativo já é desenhado nas cores do app */
.leaflet-container .leaflet-control-attribution { font-size: 9px; line-height: 1.5; padding: 0 5px; background: var(--bar); color: var(--ink-3); }
.leaflet-control-attribution a { color: inherit; }

.pin-wrap { background: none; border: 0; }
.pin { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); }
.pin-user { width: 20px; height: 20px; border-radius: 50%; background: var(--primary); border: 3.5px solid #fff; animation: ring 2.2s ease-out infinite; }
.pin-dest { width: 20px; height: 20px; border-radius: 7px; background: #07074A; border: 3.5px solid #fff; box-shadow: 0 3px 10px rgba(3, 3, 80, .4); }
.pin-dot { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3.5px solid var(--primary-2); box-shadow: 0 1px 5px rgba(3, 3, 80, .35); }
.pin-dot.off { border-color: #A6A6C4; }
.pin-price { padding: 5px 10px; border-radius: 999px; background: var(--card); color: var(--ink); font: 700 12px var(--font); white-space: nowrap; box-shadow: 0 3px 10px rgba(3, 3, 80, .3); cursor: pointer; transition: background .15s, color .15s; }
.pin-price.active { background: var(--primary); color: #fff; transform: translate(-50%, -50%) scale(1.12); }
.pin-pro .avatar { border: 3px solid #fff; box-shadow: 0 4px 14px rgba(3, 3, 80, .42); }

/* Cartão de profissional */
.pro-card { width: 100%; display: flex; flex-direction: column; gap: 10px; padding: 14px; background: var(--card); border-radius: var(--r-lg); box-shadow: var(--sh-1); text-align: left; transition: box-shadow .2s, transform .15s; }
.pro-card:hover { box-shadow: var(--sh-2); }
.pro-card:active { transform: scale(.99); }
.pro-row { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pro-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pro-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.pro-name { display: flex; align-items: center; gap: 5px; min-width: 0; font-weight: 700; font-size: 15px; white-space: nowrap; }
.pro-name > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pro-val { flex: none; font-size: 16px; font-weight: 800; color: var(--accent-strong); white-space: nowrap; }
.pro-from { flex: none; font-size: 10.5px; color: var(--ink-3); white-space: nowrap; }
.verified { width: 16px; height: 16px; color: var(--accent); }
.pro-meta { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; min-width: 0; }
.pro-cat { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pro-meta .star, .pro-meta .count { flex: none; }
.pro-meta .count { color: var(--ink-3); }
.pro-tags { display: flex; align-items: center; gap: 0; font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; }
.pro-tags > span + span::before { content: '·'; margin: 0 6px; color: var(--ink-3); }
.pro-match { display: flex; align-items: center; gap: 4px; min-width: 0; margin-top: 3px; font-size: 12px; font-weight: 600; color: var(--accent-strong); white-space: nowrap; }
.pro-match > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pro-match .ic { width: 13px; height: 13px; stroke-width: 3; }

/* Trabalhos parecidos encontrados pela busca */
.pro-hit { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--tint-2); }
.hit-head { display: flex; align-items: center; gap: 6px; font-size: 12.5px; }
.hit-head .ic { width: 15px; height: 15px; color: var(--accent); }
.hit-head b { font-weight: 700; color: var(--accent-strong); }
.hit-head i { margin-left: auto; font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.hit-job { font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.hit-when { font-size: 12px; color: var(--ink-3); }
.pro-hit.same { background: var(--ok-bg); }
.pro-hit.same .hit-head .ic { color: var(--ok); }
.pro-hit.same .hit-head b { color: var(--ok-ink); }

/* =========================================================================
   Busca
   ========================================================================= */

.search-row { display: flex; gap: 10px; align-items: center; }
.field { flex: 1; min-width: 0; height: 46px; display: flex; align-items: center; gap: 10px; padding: 0 14px; background: var(--card); border-radius: 14px; box-shadow: var(--sh-1); border: 1.5px solid transparent; transition: border-color .15s, box-shadow .15s; }
.field:focus-within { border-color: var(--primary-2); box-shadow: 0 0 0 4px var(--tint); }
.field .ic { color: var(--accent); }
.field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-weight: 500; }
.field input::-webkit-search-cancel-button { display: none; }

.results.list { padding: 4px 16px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.results.map { flex: 1; display: flex; }
.count-line { font-size: 12.5px; font-weight: 600; color: var(--ink-3); margin-top: 2px; }
.quick { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r-lg); background: var(--grad); color: #fff; box-shadow: var(--sh-primary); text-align: left; }
.quick-ic { width: 42px; height: 42px; border-radius: 13px; background: rgba(255, 255, 255, .16); display: grid; place-items: center; flex: none; }
.quick-ic .ic { fill: currentColor; }
.quick-text { flex: 1; display: flex; flex-direction: column; }
.quick-text strong { font-size: 15px; }
.quick-text small { opacity: .84; }

.understood { display: grid; gap: 8px; padding: 12px 14px; border-radius: var(--r); background: var(--tint-2); border: 1px solid var(--tint); }
.u-head { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--accent-strong); }
.u-head .ic { width: 15px; height: 15px; }
.u-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.u-chip { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 999px; background: var(--card); font-size: 12.5px; font-weight: 600; color: var(--ink); box-shadow: var(--sh-1); }
.u-chip.k-device { background: var(--primary); color: #fff; box-shadow: none; }
.u-chip.k-symptom { color: var(--ink-2); }
.understood small { color: var(--ink-2); line-height: 1.4; }
.understood small b { color: var(--ink); }
.examples { display: grid; gap: 8px; }
.examples small { font-weight: 600; color: var(--ink-3); }

.search-mapwrap { position: relative; flex: 1; min-height: 380px; }
.search-mapwrap .map { position: absolute; inset: 0; height: auto; }
.map-float { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 5; }
.map-float .pro-card { box-shadow: var(--sh-3); }
.map-empty { padding: 14px; border-radius: var(--r); background: var(--card); box-shadow: var(--sh-2); text-align: center; font-weight: 600; color: var(--ink-2); font-size: 13.5px; }

/* =========================================================================
   Perfil do profissional e trabalhos realizados
   ========================================================================= */

.profile-head { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 16px 0; text-align: center; }
.profile-head .avatar { box-shadow: 0 10px 26px rgba(4, 4, 226, .28); margin-bottom: 8px; }
.profile-head h1 { display: flex; align-items: center; gap: 6px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.profile-head .verified { width: 20px; height: 20px; }
.profile-head .avail { margin-top: 8px; }
.stats { width: 100%; margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--card); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.stats > div { padding: 14px 6px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.stats > div + div { border-left: 1px solid var(--line); }
.stats strong { display: inline-flex; align-items: center; gap: 4px; font-size: 16.5px; font-weight: 800; }
.stats small { font-size: 11.5px; color: var(--ink-2); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.badges span { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--tint); color: var(--accent-strong); font-size: 12.5px; font-weight: 600; }
.badges .ic { width: 15px; height: 15px; }

.match-box { display: grid; gap: 12px; padding: 14px; border-radius: var(--r-lg); background: var(--card); border: 1.5px solid var(--tint-3); box-shadow: var(--sh-1); }
.mb-head { display: flex; align-items: flex-start; gap: 10px; }
.mb-head > .ic { width: 36px; height: 36px; padding: 8px; border-radius: 12px; background: var(--ok-bg); color: var(--ok); }
.mb-head > div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mb-head strong { font-size: 15px; line-height: 1.25; }
.mb-head small { color: var(--ink-2); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.match-box .job, .sheet .job { background: var(--bg); box-shadow: none; }

.job { padding: 12px 14px; border-radius: var(--r); background: var(--card); box-shadow: var(--sh-1); }
.job-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.job-top strong { font-size: 14.5px; line-height: 1.3; }
.job-top b { flex: none; font-size: 14px; font-weight: 800; color: var(--accent-strong); white-space: nowrap; }
.job-dev { margin-top: 1px; font-size: 12.5px; font-weight: 600; color: var(--accent-strong); }
.job-problem { margin-top: 5px; font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.job-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 7px; font-size: 12px; color: var(--ink-3); }
.job-meta .star { font-size: 12px; }
.lvl { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; background: var(--tint); color: var(--accent-strong); font-size: 11px; font-weight: 700; }
.lvl.same { background: var(--ok-bg); color: var(--ok-ink); }

.kinds { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.kinds span { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 5px 0 11px; border-radius: 999px; background: var(--card); box-shadow: var(--sh-1); font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.kinds b { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--tint); color: var(--accent-strong); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.sheet .kinds span { background: var(--bg); box-shadow: none; }
.sheet .kinds { margin-bottom: 0; }

.svc { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r); background: var(--card); border: 1.5px solid transparent; box-shadow: var(--sh-1); transition: border-color .15s, background .15s; }
.svc.selected { border-color: var(--primary); background: var(--tint-2); }
.svc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.svc-main strong { font-size: 14.5px; }
.svc-main small { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-2); }
.svc-main .ic { width: 13px; height: 13px; }
.svc b { font-size: 15px; font-weight: 800; white-space: nowrap; }
.ask { width: 100%; margin-top: 10px; display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: var(--r); background: var(--tint-2); text-align: left; }
.ask > .ic:first-child { color: var(--accent); }
.ask > .ic:last-child { width: 18px; height: 18px; color: var(--ink-3); }
.ask span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ask strong { font-size: 14px; }
.ask small { color: var(--ink-2); }

.review { padding: 14px; background: var(--card); border-radius: var(--r); box-shadow: var(--sh-1); }
.review-top { display: flex; justify-content: space-between; align-items: center; }
.review p { margin: 6px 0 4px; font-size: 14px; color: var(--ink-2); }
.review small { color: var(--ink-3); }

/* =========================================================================
   Pagamento
   ========================================================================= */

.summary { display: flex; align-items: center; gap: 12px; }
.summary b { font-size: 16px; font-weight: 800; }
.summary .row-main strong { white-space: normal; line-height: 1.3; }
.method { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; text-align: left; }
.bill { display: grid; gap: 10px; }
.bill > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.bill dt { color: var(--ink-2); }
.bill dt small { color: var(--ink-3); }
.bill dd { font-weight: 600; }
.bill-total { padding-top: 12px; border-top: 1px dashed var(--line-2); }
.bill-total dt { color: var(--ink); font-weight: 700; }
.bill-total dd { font-size: 18px; font-weight: 800; color: var(--accent-strong); }
.bars + .bill { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.paid-with { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.paid-with .ic { width: 17px; height: 17px; color: var(--accent); }

.pix { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.qr { width: 184px; height: 184px; padding: 12px; border-radius: 18px; background: #fff; border: 1.5px solid var(--line); }
.qr svg { width: 100%; height: 100%; display: block; }
.pix-amount { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.pix-code { width: 100%; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r); background: var(--tint-2); color: var(--accent-strong); }
.pix-code span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 12.5px ui-monospace, Menlo, Consolas, monospace; }
.pix-wait { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink-2); }
.pix-wait.ok { color: var(--ok); }
.amounts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.amount { height: 56px; border-radius: var(--r); background: var(--tint-2); color: var(--accent-strong); font-weight: 800; font-size: 16px; text-align: center; border: 1.5px solid transparent; }
.amount:hover { border-color: var(--primary); }

/* =========================================================================
   Acompanhamento ao vivo
   ========================================================================= */

.view-track { position: absolute; inset: 0; min-height: 0; }
.track { position: absolute; inset: 0; }
.track > .map { position: absolute; inset: 0; height: auto; }
.track .leaflet-bottom.leaflet-right { bottom: auto; top: calc(var(--safe-top) + 56px); }
.track-top { position: absolute; z-index: 5; top: calc(var(--safe-top) + 8px); left: 16px; right: 16px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.track-top > * { pointer-events: auto; box-shadow: var(--sh-2); }
.track-code { height: 36px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; background: var(--card); font-size: 13px; font-weight: 700; }
.track-panel { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 14px; padding: 10px 18px calc(16px + var(--safe-bottom)); background: var(--card); border-radius: 26px 26px 0 0; box-shadow: 0 -12px 40px rgba(3, 3, 80, .18); }
.grip { width: 40px; height: 4.5px; margin: 0 auto 2px; border-radius: 4px; background: var(--line-2); flex: none; }
.tp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.tp-head h2 { font-size: 19px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.tp-head p { margin-top: 3px; font-size: 13.5px; }
.eta { flex: none; height: 34px; display: inline-flex; align-items: center; padding: 0 13px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 13px; font-weight: 800; white-space: nowrap; }

.steps { list-style: none; display: flex; }
.steps li { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--ink-3); }
.steps li::before { content: ''; position: absolute; top: 9px; right: 50%; width: 100%; height: 2.5px; background: var(--line); }
.steps li:first-child::before { display: none; }
.steps .bullet { position: relative; z-index: 1; width: 20px; height: 20px; border-radius: 50%; background: var(--card); border: 2.5px solid var(--line-2); display: grid; place-items: center; color: #fff; }
.steps .bullet .ic { width: 11px; height: 11px; stroke-width: 4; }
.steps li.done { color: var(--ink); }
.steps li.done .bullet { background: var(--primary); border-color: var(--primary); }
.steps li.done::before, .steps li.now::before { background: var(--primary); }
.steps li.now { color: var(--accent-strong); }
.steps li.now .bullet { border-color: var(--primary); animation: ring 1.8s ease-out infinite; }

.tp-pro { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: var(--r); background: var(--bg); }
.tp-pay { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.tp-pay .ic { width: 16px; height: 16px; color: var(--ok); }
.tp-pay strong { color: var(--ink); }
.track-panel .btn-ghost { margin: -6px 0 -8px; }

/* =========================================================================
   Conversas e proposta personalizada
   ========================================================================= */

.view-chat, .view-proChat { position: absolute; inset: 0; min-height: 0; }
.chat { position: absolute; inset: 0; display: flex; flex-direction: column; padding-top: calc(var(--safe-top) + 8px); background: var(--bg); }
.chat-head { flex: none; margin: 0 12px; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.chat-id { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.chat-id strong { font-size: 16px; font-weight: 800; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-id small { color: var(--accent-strong); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill-btn { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 13px; border-radius: 999px; background: var(--tint-2); color: var(--accent-strong); font-size: 13px; font-weight: 700; white-space: nowrap; }
.pill-btn .ic { width: 15px; height: 15px; }

.chat-body { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; display: flex; flex-direction: column; gap: 10px; padding: 16px 14px 10px; }
.chat-body::-webkit-scrollbar { display: none; }
.chat-body > * { flex: none; }
.msg { max-width: 84%; padding: 11px 15px; border-radius: 18px; font-size: 14.5px; line-height: 1.42; overflow-wrap: anywhere; }
.msg.me { align-self: flex-end; background: var(--grad); color: #fff; border-bottom-right-radius: 6px; }
.msg.them { align-self: flex-start; background: var(--bubble); color: var(--ink); border-bottom-left-radius: 6px; }
.msg-sys { align-self: center; max-width: 94%; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 14px; background: var(--ok-bg); color: var(--ok-ink); font-size: 12px; font-weight: 600; line-height: 1.35; }
.msg-sys .ic { width: 14px; height: 14px; }
.typing { display: inline-flex; align-items: center; gap: 4px; padding: 15px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: blink 1.2s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .18s; }
.typing i:nth-child(3) { animation-delay: .36s; }
.chat-intro { margin: auto; max-width: 290px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 13.5px; color: var(--ink-2); }
.chat-intro strong { font-size: 16px; color: var(--ink); }

.proposal { align-self: stretch; display: grid; gap: 8px; padding: 14px; border-radius: 20px; background: var(--card); border: 2px solid var(--primary-2); box-shadow: var(--sh-1); }
.proposal.accepted { border-color: var(--ok); }
.proposal.declined, .proposal.replaced, .proposal.cancelled { border-color: var(--line-2); box-shadow: none; }
.proposal.declined > :not(.pp-top), .proposal.replaced > :not(.pp-top), .proposal.cancelled > :not(.pp-top) { opacity: .62; }
.pp-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pp-label { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-strong); }
.pp-label .ic { width: 15px; height: 15px; }
.pp-status { flex: none; display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.pp-status.wait { background: var(--primary); color: #fff; }
.pp-status.ok { background: var(--ok-bg); color: var(--ok-ink); }
.pp-status.off { background: var(--line); color: var(--ink-2); }
.proposal h4 { font-size: 16px; font-weight: 800; letter-spacing: -.01em; line-height: 1.28; }
.pp-desc { font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.pp-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.pp-when { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.pp-when .ic { width: 15px; height: 15px; color: var(--accent); }
.pp-line strong { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.pp-actions { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; margin-top: 4px; }
.pp-actions .btn { height: 46px; padding: 0 16px; font-size: 14px; }
.pp-earn { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-2); }
.pp-earn .ic { width: 15px; height: 15px; color: var(--ok); }
.pp-earn strong { color: var(--ink); }

.chat-quick { flex: none; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 14px 8px; }
.chat-quick::-webkit-scrollbar { display: none; }
.chat-quick .chip.sm { background: var(--card); }
.chat-quick .chip.strong { background: var(--tint); }
.chat-compose { flex: none; display: flex; gap: 10px; padding: 2px 14px calc(12px + var(--safe-bottom)); }
.chat-compose input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--card); outline: 0; font-size: 14.5px; transition: border-color .15s, box-shadow .15s; }
.chat-compose input:focus { border-color: var(--primary-2); box-shadow: 0 0 0 4px var(--tint); }
.chat-compose .send { width: 48px; height: 48px; border-radius: 16px; }

.chat-row { width: 100%; display: flex; align-items: center; gap: 12px; padding: 13px 14px; background: var(--card); border-radius: var(--r-lg); box-shadow: var(--sh-1); text-align: left; }
.chat-row .row-main small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-row .cr-sub { font-size: 12px; font-weight: 600; color: var(--accent-strong); }
.chat-row.unread .cr-last { color: var(--ink); font-weight: 600; }
.chat-side { flex: none; align-self: flex-start; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.chat-side small { font-size: 11.5px; color: var(--ink-3); }
.chat-side .count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; font-style: normal; display: grid; place-items: center; }

/* Avaliação e diálogos */
.rate, .dialog, .match { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.rate > .btn, .dialog > .btn, .match > .btn, .rate > .textarea, .dialog > .earn { width: 100%; }
.rate h3, .dialog h3, .match h3 { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.dialog > .btn-ghost { margin-top: -6px; }
.match-ok { width: 60px; height: 60px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); display: grid; place-items: center; margin-top: 6px; }
.match-ok .ic { width: 30px; height: 30px; }
.match-card { width: 100%; text-align: left; }
.match-card .pro-card { background: var(--bg); box-shadow: none; }
.rate-pro { display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px 14px; border-radius: var(--r); background: var(--bg); width: 100%; }
.rate-stars { display: flex; gap: 6px; }
.rate-stars button { padding: 4px; color: var(--line-2); transition: transform .12s, color .12s; }
.rate-stars button .ic { width: 36px; height: 36px; fill: currentColor; }
.rate-stars button.on { color: var(--warn); }
.rate-stars button:active { transform: scale(.9); }

/* =========================================================================
   Pedidos, comprovante e carteira
   ========================================================================= */

.order-card { width: 100%; min-width: 0; text-align: left; display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--card); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.order-right { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.order-right strong { font-size: 14.5px; font-weight: 800; }

.receipt-head { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 16px 0; text-align: center; }
.receipt-head h1 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.receipt-ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 8px; background: var(--tint); color: var(--accent); }
.receipt-ic .ic { width: 32px; height: 32px; }
.receipt-head.ok .receipt-ic { background: var(--ok-bg); color: var(--ok); }
.receipt-head.bad .receipt-ic { background: var(--bad-bg); color: var(--bad); }

.split-bar { height: 10px; border-radius: 6px; background: var(--tint-3); overflow: hidden; margin-bottom: 14px; }
.split-bar span { display: block; height: 100%; border-radius: 6px; background: var(--primary); }
.split-row { display: flex; align-items: center; justify-content: space-between; font-size: 14.5px; }
.split-row + .split-row { margin-top: 8px; }
.split-row span { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.a { background: var(--primary); }
.dot.b { background: var(--tint-3); }

.timeline { list-style: none; position: relative; padding: 16px; background: var(--card); border-radius: var(--r-lg); box-shadow: var(--sh-1); display: grid; gap: 14px; }
.timeline li { position: relative; display: flex; justify-content: space-between; gap: 12px; padding-left: 24px; font-size: 13.5px; }
.timeline li::before { content: ''; position: absolute; left: 3px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: var(--primary); z-index: 1; }
.timeline li + li::after { content: ''; position: absolute; left: 6.5px; bottom: calc(100% - 5px); width: 2px; height: calc(14px + 100%); background: var(--tint-3); }
.timeline small { color: var(--ink-3); flex: none; }

.wallet-card { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 20px; border-radius: 24px; color: #fff; background: linear-gradient(135deg, #4040FB, #0303B5); box-shadow: 0 16px 34px rgba(4, 4, 226, .30); }
.wallet-card::after { content: ''; position: absolute; width: 220px; height: 220px; right: -70px; top: -90px; border-radius: 50%; background: rgba(255, 255, 255, .09); }
.wallet-card.dark { background: var(--grad-deep); box-shadow: 0 16px 34px rgba(3, 3, 80, .34); }
.wallet-card small { opacity: .82; font-size: 13px; }
.wallet-card strong { font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.wallet-card .btn { margin-top: 14px; position: relative; z-index: 1; }

.tx { display: flex; align-items: center; gap: 12px; padding: 13px 16px; }
.tx b { flex: none; font-size: 14px; font-weight: 800; white-space: nowrap; }
.tx b.pos { color: var(--ok); }
.tx b.void { color: var(--ink-3); text-decoration: line-through; }
.tx .row-main small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.user-card { display: flex; align-items: center; gap: 14px; }
.user-card strong { font-size: 17px; }
.mode-card { width: 100%; display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r-lg); background: linear-gradient(135deg, #0303B5, #4040FB); color: #fff; box-shadow: var(--sh-2); text-align: left; }
.mode-card .row-main small { color: rgba(255, 255, 255, .84); }
.mode-card .row-main strong { white-space: normal; font-size: 15.5px; }
.mode-ic { width: 46px; height: 46px; flex: none; border-radius: 14px; background: rgba(255, 255, 255, .16); display: grid; place-items: center; }
/* Blocos de destaque com o pica-pau (ui.ppTile): o desenho ocupa o quadrado inteiro. */
.trust-ic.art, .quick-ic.art, .mode-ic.art, .feature-ic.art, .pp-hero-ic { width: 58px; height: 58px; flex: none; display: block; background: none; border-radius: 0; overflow: visible; }
.pp-tile { display: block; width: 100%; height: 100%; overflow: visible; }
/* Pica-pau sólido (sem contorno) em azul-marinho levemente translúcido, rosto e símbolo em branco suave. */
.pp-tile .ppt-body { fill: rgba(4, 4, 48, .78); }
.pp-tile .ppt-w { fill: #EEF0FF; }
.pp-tile .ppt-glyph { fill: #F2F3FF; stroke: #F2F3FF; }
.pp-tile .ppt-glass { fill: rgba(255, 255, 255, .22); }
.pp-tile .ppt-cut { stroke: rgba(4, 4, 48, .85); }
.pp-tile .ppt-cut-fill { fill: rgba(4, 4, 48, .85); stroke: none; }
.pp-tile .ppt-speed { fill: none; stroke: #F2F3FF; stroke-linecap: round; }

/* ---------- Blocos "Agendamentos" e "Seguro e confiável" (início) ---------- */
.feature { width: 100%; min-width: 0; display: flex; gap: 14px; align-items: center; padding: 14px 14px 14px 16px; border-radius: var(--r-lg); color: #fff; text-align: left; transition: transform .15s; }
.feature.light { background: var(--grad); box-shadow: var(--sh-primary); }
.feature.deep { background: var(--grad-deep); }
.feature:hover { transform: translateY(-2px); }
.feature-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.feature-text strong { font-size: 15px; line-height: 1.25; }
.feature-text span { font-size: 12.5px; opacity: .84; line-height: 1.35; }
.feature > .ic { flex: none; width: 20px; height: 20px; opacity: .85; }
/* Versão menor (Seguro e confiável, no fim do início) */
.feature.small { gap: 12px; padding: 10px 12px 10px 14px; }
.feature.small .feature-ic.art { width: 44px; height: 44px; }
.feature.small .feature-text strong { font-size: 14px; }
.feature.small .feature-text span { font-size: 12px; }
.feature.small > .ic { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) { .feature { transition: none; } .feature:hover { transform: none; } }

/* Cabeçalho com o pica-pau sobre fundo azul (tela de Agendamentos e janela de segurança). */
.pp-hero { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--r-lg); background: var(--grad-deep); color: #fff; }
.pp-hero-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pp-hero-text strong { font-size: 15px; line-height: 1.25; }
.pp-hero-text small { font-size: 12.5px; opacity: .84; line-height: 1.4; }
.sheet .pp-hero { margin-bottom: 14px; }
.safety .row-main small { white-space: normal; }
.safety + .btn { margin-top: 14px; }

/* ---------- Agendamento: quando, dias e horários ---------- */
.when-seg { display: flex; width: 100%; }
.when-seg button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.when-seg button .ic { width: 16px; height: 16px; }
.when-seg button:disabled { opacity: .45; cursor: not-allowed; }
#co-when .hint { margin: 10px 2px 0; }
.sched-days { margin-top: 14px; padding-top: 4px; padding-bottom: 6px; }
.day-chip { flex: none; width: 60px; height: 72px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; border-radius: 16px; background: var(--card); box-shadow: var(--sh-1); color: var(--ink-2); transition: background .15s, color .15s; }
.day-chip small { font-size: 11px; font-weight: 600; line-height: 1.2; }
.day-chip b { font-size: 20px; line-height: 1.1; color: var(--ink); }
.day-chip.active { background: var(--primary); color: #fff; }
.day-chip.active b { color: #fff; }
.slot-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.slot-grid .chip { justify-content: center; padding: 0; background: var(--card); }
.slot-grid .chip.active { background: var(--primary); }
.slot-grid .chip:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.mv-pick .chips { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
.mv-pick + .btn { margin-top: 16px; }
.when-sum { display: flex; gap: 9px; align-items: flex-start; margin-top: 12px; font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.when-sum .ic { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--accent); }
.when-sum strong { color: var(--ink); }

/* Pedido agendado: data em bloco, cartão e ações */
.sched-card { width: 100%; display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--sh-1); text-align: left; }
.sched-card .row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.track-panel .sched-card { background: var(--bg); box-shadow: none; margin-top: 4px; }
.sched-date { flex: none; width: 54px; height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 14px; background: var(--primary); color: #fff; }
.sched-date small { font-size: 10.5px; font-weight: 700; line-height: 1.2; opacity: .88; }
.sched-date b { font-size: 21px; line-height: 1.05; }
.ok-text { color: var(--ok-ink) !important; font-weight: 600; }
.eta.ok { background: var(--ok-bg); color: var(--ok-ink); }
.sched-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.sched-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.demo-btn { margin-top: 6px; color: var(--ink-3); font-weight: 600; }
.demo-btn .ic { width: 15px; height: 15px; }

/* Passo a passo numerado */
.how { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.how li { display: flex; gap: 12px; align-items: flex-start; }
.how b { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--tint); color: var(--accent-strong); font-size: 13.5px; }
.how span { display: flex; flex-direction: column; gap: 2px; }
.how strong { font-size: 14.5px; }
.how small { color: var(--ink-2); font-size: 13px; line-height: 1.4; }
.how + .note { margin-top: 16px; }
.theme-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.theme-card .seg { flex: 1; background: var(--bg); box-shadow: none; }
.theme-card .seg button { flex: 1; padding: 0; text-align: center; font-size: 13.5px; }
.fine-print { margin-top: 16px; text-align: center; font-size: 12px; color: var(--ink-3); }
.notifs { display: grid; margin: 0 -16px; }
.notifs .row-main strong { white-space: normal; }

.release { display: grid; gap: 8px; }
.release + .release { padding-top: 14px; border-top: 1px solid var(--line); }
.rel-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.rel-head strong { font-size: 15px; }
.rel-head small { margin-left: auto; color: var(--ink-3); }
.release ul { padding-left: 18px; display: grid; gap: 5px; }
.release li { font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.db-stats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
.db-stats > div { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: var(--r); background: var(--bg); }
.db-stats strong { font-size: 21px; font-weight: 800; letter-spacing: -.02em; color: var(--accent-strong); }
.db-stats small { font-size: 11.5px; line-height: 1.3; color: var(--ink-2); }

/* =========================================================================
   Modo profissional
   ========================================================================= */

.pro-id { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pro-id .avatar { box-shadow: 0 0 0 2px rgba(255, 255, 255, .28); }
.pro-id > span:not(.avatar) { min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.pro-id strong { font-size: 15.5px; }
.pro-id small { opacity: .78; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.switch { flex: none; display: flex; align-items: center; gap: 9px; height: 38px; padding: 0 5px 0 13px; border-radius: 999px; background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .2); color: #fff; font-size: 13px; font-weight: 700; transition: background .2s, border-color .2s; }
.switch .knob { width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .55); transition: background .2s; }
.switch.on { background: #0E9F6E; border-color: #0E9F6E; }
.switch.on .knob { background: #fff; }

.kpis { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 8px; margin-top: 18px; }
.kpis > div { display: flex; flex-direction: column; gap: 1px; padding: 11px 12px; border-radius: 14px; background: rgba(255, 255, 255, .1); }
.kpis small { font-size: 11px; opacity: .78; }
.kpis strong { font-size: 17px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }

.empty-card, .radar-card, .req-card, .job-card { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--sh-1); padding: 18px; }
.empty-card { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.empty-card h3, .radar-card h3 { font-size: 17px; }
.empty-card p, .radar-card p { color: var(--ink-2); font-size: 13.5px; }
.empty-card .btn { margin-top: 8px; }
.radar-card { display: flex; align-items: center; gap: 18px; padding: 22px 20px; }

.radar { position: relative; flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; }
.radar i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--primary-2); opacity: 0; animation: radar 2.4s ease-out infinite; }
.radar i:nth-child(2) { animation-delay: .8s; }
.radar i:nth-child(3) { animation-delay: 1.6s; }
.radar.big { width: 68px; height: 68px; margin: 30px 0 22px; }
.radar .ic { position: relative; }

.req-card, .job-card { display: flex; flex-direction: column; gap: 12px; animation: viewIn .28s cubic-bezier(.2, .7, .2, 1); }
.req-card { border: 1.5px solid var(--tint-3); box-shadow: var(--sh-2); }
.req-card h3, .job-card h3 { font-size: 18px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.req-timer { height: 4px; border-radius: 4px; background: var(--tint); overflow: hidden; }
.req-timer span { display: block; height: 100%; background: var(--primary); transform-origin: left; animation: shrink linear forwards; }
.req-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.req-dist { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.req-dist .ic { width: 14px; height: 14px; color: var(--accent); }
.req-client { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; color: var(--ink-2); margin-top: -4px; }
.req-client span { display: inline-flex; align-items: center; gap: 7px; }
.req-client .ic { width: 15px; height: 15px; color: var(--ink-3); }

.earn { display: grid; gap: 8px; padding: 14px; border-radius: var(--r); background: var(--bg); text-align: left; }
.earn > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--ink-2); }
.earn b { font-weight: 600; color: var(--ink); }
.earn-total { padding-top: 10px; border-top: 1px dashed var(--line-2); }
.earn .earn-total span { color: var(--ink); font-weight: 700; }
.earn .earn-total b { font-size: 19px; font-weight: 800; color: var(--ok); }
.earn-inline { display: flex; align-items: center; gap: 8px; padding: 11px 12px; border-radius: var(--r); background: var(--ok-bg); color: var(--ok-ink); font-size: 12.5px; }
.earn-inline .ic { width: 17px; height: 17px; }
.row-2 { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }

.fee-note { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: var(--r); background: var(--tint); color: var(--accent-strong); font-size: 13px; line-height: 1.4; }
.fee-note .ic { width: 20px; height: 20px; color: var(--accent); }

.bars { display: flex; align-items: flex-end; gap: 8px; height: 104px; }
.bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 7px; }
.bar span { width: 100%; max-width: 30px; border-radius: 8px 8px 4px 4px; background: var(--tint-3); }
.bar.today span { background: var(--primary); }
.bar small { font-size: 11px; font-weight: 600; color: var(--ink-3); }
.bar.today small { color: var(--accent-strong); }

/* =========================================================================
   Painel inferior e avisos
   ========================================================================= */

.sheet-root { position: absolute; inset: 0; z-index: 60; display: none; }
.sheet-root.open { display: block; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(4, 4, 30, .52); animation: fadeIn .2s; }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 90%; overflow-y: auto; scrollbar-width: none;
  display: flex; flex-direction: column; gap: 14px; padding: 10px 18px calc(18px + var(--safe-bottom));
  background: var(--card); border-radius: 26px 26px 0 0; box-shadow: 0 -12px 40px rgba(4, 4, 30, .28);
  animation: sheetUp .28s cubic-bezier(.2, .8, .2, 1);
}
.sheet::-webkit-scrollbar { display: none; }
.sheet > * { flex: none; }
.sheet-root.closing .sheet { animation: sheetDown .2s ease-in forwards; }
.sheet-root.closing .sheet-backdrop { animation: fadeOut .2s forwards; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sheet-head h3 { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.sheet .card { background: var(--bg); box-shadow: none; }
.sheet .note { margin-top: 0; }
.sheet .cats { padding-bottom: 6px; }
.sheet .cat-ic { background: var(--bg); box-shadow: none; }

.toast-root { position: absolute; z-index: 90; left: 14px; right: 14px; top: calc(var(--safe-top) + 62px); display: flex; justify-content: center; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; max-width: 100%; padding: 12px 15px; border-radius: 15px; background: var(--toast); color: #fff; font-size: 13.5px; font-weight: 600; line-height: 1.35; box-shadow: var(--sh-3); animation: toastIn .28s cubic-bezier(.2, .8, .2, 1); transition: opacity .3s, transform .3s; }
.toast .ic { width: 18px; height: 18px; color: #B4B4FF; }
.toast.ok .ic { color: #4ADE9F; }
.toast.bad .ic { color: #FF8A8E; }
.toast.out { opacity: 0; transform: translateY(-8px); }

/* =========================================================================
   Animações
   ========================================================================= */

@keyframes viewIn { from { opacity: .35; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes sheetUp { from { transform: translateY(100%); } }
@keyframes sheetDown { to { transform: translateY(100%); } }
@keyframes toastIn { from { opacity: 0; transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shrink { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgb(var(--ring) / .42); } 100% { box-shadow: 0 0 0 16px rgb(var(--ring) / 0); } }
@keyframes radar { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.3); opacity: 0; } }
@keyframes blink { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }

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

/* =========================================================================
   Margens laterais (uma variável só, maior em telas largas)
   ========================================================================= */

.section, .topbar, .results.list, .cta-bar, .profile-head, .receipt-head, .banner-slot:not(:empty) { padding-left: var(--gx); padding-right: var(--gx); }
.chips:not(.tight):not(.wrap) { margin-left: calc(var(--gx) * -1); margin-right: calc(var(--gx) * -1); padding-left: var(--gx); padding-right: var(--gx); }

/* =========================================================================
   Tablet e computador (a partir de 768px)
   ========================================================================= */

@media (min-width: 768px) {
  .app { --gx: 28px; display: grid; grid-template-columns: 92px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
  .screen { grid-column: 2; grid-row: 1; }
  .screen, .md-list, .md-detail { scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }

  /* Barra lateral */
  .tabbar, .tabbar[hidden] { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px 10px calc(14px + var(--safe-bottom)); border-top: 0; border-right: 1px solid var(--line); overflow-y: auto; scrollbar-width: none; }
  .nav-brand { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 2px 0 14px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
  .nav-brand img { display: block; filter: drop-shadow(0 4px 10px rgba(4, 4, 120, .18)); }
  .nav-brand span { display: none; }
  .nav-items { flex: none; flex-direction: column; gap: 4px; }
  .nav-foot { display: flex; flex-direction: column; gap: 4px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
  .tab { flex: none; padding: 10px 4px; border-radius: 14px; font-size: 11px; line-height: 1.15; text-align: center; }
  .tab:hover { background: var(--tint-2); color: var(--ink-2); }
  .tab.active, .tab.active:hover { background: var(--tint); color: var(--accent-strong); }
  .tab-dot { top: 7px; left: calc(50% + 8px); }

  /* Largura do conteúdo */
  .view { width: 100%; max-width: 1240px; margin-inline: auto; }
  .view-profile, .view-wallet, .view-checkout, .view-proEarnings, .view-account, .view-proEdit { max-width: 800px; }
  .view-proProfile { max-width: 980px; }
  .view-chats, .view-chat, .view-proChats, .view-proChat, .view-orders, .view-receipt, .view-track { max-width: none; }
  .topbar { padding-top: calc(var(--safe-top) + 18px); }
  .topbar.plain h1 { font-size: 30px; }
  .section { margin-top: 28px; }
  .section.first { margin-top: 12px; }

  /* Início */
  .hero { margin: 18px var(--gx) 0; border-radius: 28px; padding: 26px 28px 28px; }
  .hero-title { font-size: 32px; }
  .hero .searchbar { max-width: 640px; }
  .hero-chips { margin: 14px 0 0; padding: 0; flex-wrap: wrap; }
  .cats { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .sheet .cats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .map-card { height: 250px; }
  .map-card.flat { height: 190px; }
  .map-card.tall { height: 300px; }
  .view-proHome { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-content: start; align-items: start; }
  .view-proHome > .hero, .view-proHome > .spacer { grid-column: 1 / -1; }
  .view-proHome > .section { margin-top: 20px; }
  .view-proHome > .section.first { padding-right: 0; }

  /* Listas em colunas */
  .list, .jobs, .reviews, .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .sheet .list, .sheet .jobs, .md-list .list, .match-box .jobs, .map-float .list, .match-card .list { grid-template-columns: minmax(0, 1fr); }
  .results.list { padding-bottom: 32px; }
  .results.list > .quick, .results.list > .understood, .results.list > .examples { max-width: 720px; }

  /* Lista + detalhe lado a lado */
  .md-list, .md.has-detail .md-list { display: block; flex: none; width: 348px; border-right: 1px solid var(--line); }
  .md-detail, .md.has-detail .md-detail { display: block; flex: 1; }
  .md-detail .topbar > .icon-btn[data-action="back"], .md-detail .chat-head > .icon-btn[data-action="back"] { display: none; }
  .md-detail .topbar h2 { text-align: left; font-size: 19px; }
  .md-detail > .chat { max-width: 860px; margin-inline: auto; }
  .md-list .chat-row.active, .md-list .order-card.active { box-shadow: 0 0 0 2px var(--primary-2), var(--sh-1); }
  .md-detail > :not(.chat):not(.md-empty) { max-width: 760px; margin-inline: auto; }

  /* Mapa com painel flutuante */
  .map-float { left: var(--gx); right: auto; bottom: 24px; width: 380px; }
  .track-top { left: 24px; right: 24px; top: calc(var(--safe-top) + 18px); }
  .track-panel { left: 24px; right: auto; bottom: 24px; width: 400px; border-radius: 26px; padding-bottom: 18px; }
  .track-panel > .grip { display: none; }

  /* Painéis viram janelas centralizadas */
  .sheet { left: 50%; right: auto; top: 50%; bottom: auto; width: min(540px, calc(100% - 48px)); max-height: 86%; border-radius: 26px; padding: 22px 24px 24px; transform: translate(-50%, -50%); animation: modalIn .22s cubic-bezier(.2, .8, .2, 1); }
  .sheet > .grip { display: none; }
  .sheet-root.closing .sheet { animation: modalOut .18s ease-in forwards; }
  .toast-root { top: calc(var(--safe-top) + 20px); }
  .cta-bar { border-radius: 20px 20px 0 0; }
}

@media (min-width: 1024px) {
  .list, .jobs, .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .view-proProfile .jobs, .view-proProfile .reviews, .view-proProfile .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md-list, .md.has-detail .md-list { width: 380px; }
}

@media (min-width: 1280px) {
  .app { grid-template-columns: 240px minmax(0, 1fr); }
  .tabbar, .tabbar[hidden] { padding: 18px 14px calc(16px + var(--safe-bottom)); }
  .nav-brand { justify-content: flex-start; padding: 2px 8px 16px; }
  .nav-brand span { display: inline; }
  .tab { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 11px 12px; font-size: 14px; text-align: left; }
  .tab-dot { position: static; margin-left: auto; border: 0; }
}

@keyframes modalIn { from { opacity: 0; transform: translate(-50%, -46%) scale(.97); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes modalOut { to { opacity: 0; transform: translate(-50%, -47%) scale(.98); } }

/* Em 3 colunas estreitas, o cartão dispensa o rótulo do preço para o nome da categoria caber. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .list .pro-from { display: none; }
}

/* =========================================================================
   Mascote (pica-pau): selo de verificado, estados vazios, carregamento e títulos
   ========================================================================= */

.pp { display: inline-block; flex: none; vertical-align: middle; }
.pp-badge .pp-bg, .pp-loader .pp-bg { fill: var(--primary); }
.pp-badge .pp-n, .pp-loader .pp-n { fill: #fff; }
.pp-badge .pp-w, .pp-loader .pp-w { fill: var(--primary); }
.pp-empty .pp-bg { fill: var(--tint); }
.pp-empty .pp-n { fill: var(--accent-strong); }
.pp-empty .pp-w { fill: var(--card); }
.pp-mark { color: var(--accent); }
.pp-verified { display: inline-flex; flex: none; }
.pp-title { display: inline-flex; align-items: center; gap: 8px; }
.pp-loading { display: inline-grid; place-items: center; border-radius: 50%; animation: ring 1.6s ease-out infinite; }
.pp-loading .pp-bird { transform-box: view-box; transform-origin: 30% 85%; animation: ppPeck .72s ease-in-out infinite; }
.seal { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px 0 5px; border-radius: 999px; background: var(--tint); color: var(--accent-strong); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.empty > .pp-empty, .md-empty > .pp-empty, .empty-card > .pp-empty { margin-bottom: 4px; }
.match > .pp-loading { margin: 26px 0 18px; }
.pix-wait .pp-loading { animation: none; }
@keyframes ppPeck { 0%, 100% { transform: none; } 38% { transform: rotate(9deg); } 58% { transform: rotate(-1.5deg); } }
@media (prefers-reduced-motion: reduce) { .pp-loading, .pp-loading .pp-bird { animation: none; } }
.badges .seal { padding-left: 5px; }
.profile-head h1 .pp-verified { margin-left: 2px; }

/* =========================================================================
   Identificação: fotos de rosto e retratos ilustrativos
   ========================================================================= */

.face { display: block; flex: none; border-radius: 50%; object-fit: cover; background: var(--tint); }
.face.big { box-shadow: 0 0 0 3px var(--card), 0 8px 22px rgba(4, 4, 120, .22); }
.profile-head .face { margin-bottom: 8px; }
.id-card { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r); background: var(--bg); }
.id-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.id-main small { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-strong); }
.id-main strong { display: flex; align-items: center; gap: 5px; font-size: 15.5px; }
.id-main > span { font-size: 12.5px; color: var(--ink-2); }
.id-me { flex: none; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; color: var(--ink-3); }
.id-actions { flex: none; display: flex; gap: 8px; }
.id-note { display: flex; align-items: center; gap: 8px; margin-top: -4px; font-size: 12.5px; color: var(--ink-2); }

/* Verificação de segurança */
.guard-ic { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; margin-top: 6px; background: var(--tint); color: var(--accent); }
.guard-ic .ic { width: 30px; height: 30px; }
.guard-ic.bad { background: var(--bad-bg); color: var(--bad); }
.guard-list { width: 100%; text-align: left; }
.guard-why { width: 100%; display: flex; gap: 8px; padding: 12px 14px; border-radius: var(--r); background: var(--bad-bg); color: var(--bad); font-size: 13.5px; font-weight: 600; text-align: left; }
.guard-why .ic { width: 18px; height: 18px; margin-top: 1px; }
.msg-sys.bad { background: var(--bad-bg); color: var(--bad); }

/* Conta e segurança */
.sec-card { display: flex; align-items: center; gap: 14px; }
.sec-card .row-main strong { font-size: 17px; }
.sec-status { display: flex; align-items: flex-start; gap: 12px; margin-top: 12px; padding: 13px 14px; border-radius: var(--r); font-size: 13px; }
.sec-status > .ic { width: 22px; height: 22px; margin-top: 1px; }
.sec-status div { display: flex; flex-direction: column; gap: 2px; }
.sec-status strong { font-size: 14.5px; }
.sec-status.ok { background: var(--ok-bg); color: var(--ok-ink); }
.sec-status.warn { background: var(--tint); color: var(--accent-strong); }
.sec-status.bad { background: var(--bad-bg); color: var(--bad); }
.field-msg { min-height: 18px; margin: 6px 0 10px; font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.field-msg.ok { color: var(--ok); }
.field-msg.bad { color: var(--bad); }
.face-card { display: flex; flex-direction: column; gap: 12px; }
.face-preview { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px 0; }
.face-preview small { font-size: 11.5px; color: var(--ink-3); }
.notice { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r); background: var(--tint); color: var(--accent-strong); font-size: 13px; font-weight: 700; line-height: 1.4; }
.notice .ic { width: 20px; height: 20px; }
.face-card .field-msg { margin: 0; min-height: 0; }
.rep-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.rep-grid > div { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: var(--r); background: var(--card); box-shadow: var(--sh-1); }
.rep-grid strong { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.rep-grid small { font-size: 12px; color: var(--ink-2); }
.rep-grid .ok strong { color: var(--ok); }
.rep-grid .warn strong { color: var(--warn); }
.rep-grid .bad strong { color: var(--bad); }
.hint.left { text-align: left; margin-top: 10px; }
.row-2.even { grid-template-columns: 1fr 1fr; }
.row-2 .btn-sm { padding: 0 10px; }
.user-card .seal, .user-card .status-pill { margin-left: auto; }

/* Formulários do perfil profissional */
.form-stack { display: flex; flex-direction: column; gap: 12px; }
.form-row.three { grid-template-columns: 1.4fr .8fr .8fr; }
.readonly { display: flex; align-items: center; height: 46px; padding: 0 14px; border-radius: var(--r); background: var(--bg); font-weight: 800; font-size: 16px; color: var(--ink); }
.add-course { margin-top: 10px; }
.courses { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.course { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r); background: var(--card); box-shadow: var(--sh-1); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--tint); color: var(--accent-strong); font-size: 13px; font-weight: 600; }
.tags.editable span { padding-right: 4px; }
.tags.editable button { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: var(--accent-strong); }
.tags.editable button:hover { background: var(--tint-3); }
.tags.editable .ic { width: 14px; height: 14px; }
.tag-add { display: flex; gap: 8px; margin-top: 10px; }
.tag-add input { flex: 1; min-width: 0; height: 40px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); outline: 0; }
.tag-add input:focus { border-color: var(--primary-2); }
.cats-served { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.cats-served span { display: inline-flex; align-items: center; gap: 6px; }
.cats-served .ic { width: 16px; height: 16px; color: var(--accent); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.facts > div { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: var(--r); background: var(--card); box-shadow: var(--sh-1); }
.facts .ic { width: 18px; height: 18px; color: var(--accent); margin-bottom: 4px; }
.facts strong { font-size: 16px; font-weight: 800; }
.facts small { font-size: 11.5px; line-height: 1.3; color: var(--ink-2); }
.pf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 10px 0 12px; }

/* Abas do perfil profissional */
.ptabs { position: sticky; top: 0; z-index: 12; display: flex; gap: 6px; margin-top: 18px; padding: 10px var(--gx); overflow-x: auto; scrollbar-width: none; background: var(--bar); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.ptabs::-webkit-scrollbar { display: none; }
.ptabs button { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.ptabs button .ic { width: 16px; height: 16px; }
.ptabs button:hover { background: var(--tint-2); }
.ptabs button.active { background: var(--primary); color: #fff; }
.profile-head .badges { justify-content: center; }

/* =========================================================================
   Fotos dos serviços: miniaturas, galeria e tela cheia
   ========================================================================= */

.shots { display: flex; gap: 6px; margin-top: 8px; }
.shots.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.shot { position: relative; overflow: hidden; flex: none; width: 64px; aspect-ratio: 1; max-width: 100%; border-radius: 12px; background: var(--tint); }
.shots.sm .shot { width: 52px; border-radius: 10px; }
.shots.grid .shot { width: 100%; border-radius: 14px; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot.demo, .lb-photo.demo { background: linear-gradient(140deg, var(--fx-4), var(--fx-2)); color: #fff; display: grid; place-items: center; }
.shot.demo.before, .lb-photo.demo.before { background: linear-gradient(140deg, #8C8CA8, #4A4A6A); }
.shot-art { display: grid; place-items: center; width: 100%; height: 100%; }
.shot-art .ic { width: 40%; height: 40%; min-width: 18px; min-height: 18px; opacity: .9; }
.shot-tag { position: absolute; left: 5px; bottom: 5px; padding: 1px 6px; border-radius: 6px; background: rgba(0, 0, 0, .38); font-size: 9.5px; font-weight: 700; letter-spacing: .02em; }
.shot-note { display: none; }
.shots.grid .shot-tag { font-size: 11px; left: 7px; bottom: 7px; }
.shot-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(4, 4, 30, .55); color: #fff; font-weight: 800; font-size: 15px; }
.review-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 8px; }
.ok-mark { display: inline-flex; align-items: center; gap: 4px; color: var(--ok); font-weight: 700; }
.ok-mark .ic { width: 14px; height: 14px; }

.lightbox-root { position: fixed; inset: 0; z-index: 120; display: none; }
.lightbox-root.open { display: block; }
.lightbox { position: absolute; inset: 0; display: flex; flex-direction: column; background: rgba(3, 3, 18, .94); color: #fff; animation: fadeIn .18s; }
.lb-close { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 14px); right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); }
.lb-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 64px 12px 12px; }
.lb-photo { position: relative; overflow: hidden; width: min(640px, 100%); max-height: 100%; aspect-ratio: 4 / 3; border-radius: 18px; }
.lb-photo img { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.lb-photo .shot-art .ic { width: 22%; height: 22%; }
.lb-photo .shot-tag { left: 14px; bottom: 14px; font-size: 13px; padding: 3px 10px; }
.lb-photo .shot-note { display: block; position: absolute; right: 14px; bottom: 14px; font-size: 12px; opacity: .85; }
.lb-nav { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); }
.lb-meta { display: flex; flex-direction: column; gap: 6px; width: min(640px, 100%); margin: 0 auto; padding: 14px 18px calc(env(safe-area-inset-bottom, 0px) + 20px); }
.lb-meta strong { font-size: 16px; }
.lb-meta p { font-size: 14px; opacity: .9; }
.lb-meta small { font-size: 12px; opacity: .7; }
.lb-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 13px; }
.lb-line b { font-weight: 700; }
.seal.ok { background: rgba(52, 211, 153, .16); color: #86EBC4; align-self: flex-start; }
@media (max-width: 560px) { .lb-nav { position: absolute; top: 50%; margin-top: -22px; } .lb-nav.prev { left: 8px; } .lb-nav.next { right: 8px; } }

/* Envio de fotos */
.up-box { width: 100%; display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: var(--r); border: 1.5px dashed var(--line-2); text-align: left; }
.up-head { display: flex; flex-direction: column; gap: 2px; }
.up-head small { color: var(--ink-2); line-height: 1.35; }
.up-list { display: flex; flex-wrap: wrap; gap: 8px; }
.up-list:empty { display: none; }
.up-thumb { position: relative; width: 64px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--tint); }
.up-thumb.big { width: 100%; }
.up-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.up-thumb button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .55); color: #fff; }
.up-thumb button .ic { width: 14px; height: 14px; }
.up-box .btn { align-self: flex-start; }
.paid-seg { width: 100%; }
.paid-seg button { flex: 1; height: auto; min-height: 36px; padding: 6px 10px; font-size: 12.5px; line-height: 1.25; white-space: normal; }

/* =========================================================================
   Deslocamento e valores
   ========================================================================= */

.bill-note { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12.5px; color: var(--ok); font-weight: 600; }
.bill-note .ic { width: 15px; height: 15px; }
.pp-travel { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.pp-travel .ic { width: 15px; height: 15px; color: var(--accent); }
.pp-amount { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.pp-amount small { font-size: 11px; color: var(--ink-3); font-weight: 600; }
.travel-field small { display: flex; align-items: flex-start; gap: 6px; font-weight: 500; line-height: 1.4; color: var(--ink-2); }
.travel-field small .ic { width: 15px; height: 15px; margin-top: 1px; color: var(--accent); }
.travel-field.locked input { background: var(--bg); color: var(--ink-3); cursor: not-allowed; }
.travel-field.wait { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-size: 13px; color: var(--ink-2); }
.tx-btn { width: 100%; text-align: left; }
.tx-btn:hover { background: var(--tint-2); }

/* =========================================================================
   Comprovantes
   ========================================================================= */

.rcpt { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.rcpt-mark { position: absolute; right: -54px; bottom: -40px; opacity: .07; color: var(--accent); pointer-events: none; }
.rcpt-mark svg { width: 260px; height: 260px; }
.rcpt > * { position: relative; }
.rcpt > .rcpt-mark { position: absolute; }
.rcpt-head { display: flex; align-items: center; gap: 12px; }
.rcpt-head img { flex: none; }
.rcpt-head div { display: flex; flex-direction: column; }
.rcpt-head strong { font-size: 16px; line-height: 1.25; }
.rcpt-head small { color: var(--ink-2); }
.rcpt-value { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 16px; background: var(--tint-2); }
.rcpt-value small { color: var(--ink-2); }
.rcpt-value strong { font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: var(--accent-strong); }
.rcpt-ok { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--ok); }
.rcpt-ok .ic { width: 16px; height: 16px; }
.rcpt-data { display: grid; gap: 10px; }
.rcpt-data > div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 9px; border-bottom: 1px dashed var(--line-2); font-size: 13.5px; }
.rcpt-data dt { color: var(--ink-2); }
.rcpt-data dd { text-align: right; font-weight: 600; }
.rcpt-data dd small { display: block; font-weight: 500; color: var(--ink-3); }
.rcpt-auth { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.rcpt-auth div { display: flex; flex-direction: column; align-items: flex-end; }
.rcpt-auth small { color: var(--ink-2); font-size: 11.5px; }
.rcpt-auth b { font-size: 13px; letter-spacing: .02em; }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; }
.rcpt-mini { display: flex; flex-direction: column; gap: 12px; }
.rm-top, .cr-top { display: flex; align-items: center; gap: 12px; }
.rm-top div, .cr-top div { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.rm-top small, .cr-top small { color: var(--ink-2); line-height: 1.35; }
.chat-rcpt { align-self: stretch; display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 20px; background: var(--card); border: 2px solid var(--ok); }
.chat-rcpt p { font-size: 13px; color: var(--ink-2); }
.rcpt-btns .btn { white-space: normal; line-height: 1.2; text-align: center; }

#print-root { display: none; }
@media print {
  body.printing > :not(#print-root) { display: none !important; }
  body.printing #print-root { display: block; padding: 24px; }
  body.printing #print-root .rcpt { max-width: 560px; margin: 0 auto; border: 1px solid #ccc; }
  body.printing { background: #fff; }
}

@media (min-width: 768px) {
  .rep-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .shots.grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pf-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .courses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .view-proProfile .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .shots.grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* A barra de abas para logo abaixo do cabeçalho com o botão de voltar. */
.ptabs { top: calc(var(--safe-top) + 58px); }
@media (min-width: 768px) { .ptabs { top: calc(var(--safe-top) + 68px); } }
.face-empty { display: grid; place-items: center; flex: none; border-radius: 50%; border: 2px dashed var(--line-2); background: var(--tint-2); color: var(--ink-3); }
.face-empty .ic { width: 34%; height: 34%; }
