/* Portal do proprietário — camada visual própria (o painel interno usa só app.css) */
:root {
  --c1: #2A62A8;   /* série principal (validado: paleta categórica) */
  --c2: #B8862B;   /* segunda série / projeção */
  --c3: #3E9E7E;   /* terceira série */
  --pt-bg: #f3f4f6;
  --pt-ink-2: #475467;
  --pt-hover: #e9ebef;
  --ic-bg: #eef2f8;
  --doc-bg: #f2ecdc;
  --resp-bg: #f6f3ea;
}
:root[data-theme="dark"] {
  --c1: #4F86D0; --c2: #B4852F; --c3: #3A9F80;   /* validados contra #18202a */
  --pt-bg: #0f141b;
  --pt-ink-2: #c0c7d2;
  --pt-hover: #1c2530;
  --ic-bg: #1c2a3d;
  --doc-bg: #2e2716;
  --resp-bg: #262117;
}
body.pt { background: var(--pt-bg); }

/* ---------- cabeçalho ---------- */
.pt-head { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 30; box-shadow: 0 1px 0 rgba(184,154,74,.5); }
.pt-head .in { max-width: 1320px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 16px; }
.pt-head .brand { margin: 0; }
.pt-head .brand-name { color: #fff; }
.pt-head .brand-sub { color: #aeb8c8; }
.pt-head .sp { flex: 1; }
.pt-head select { width: auto; max-width: 300px; background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.2); }
.pt-head select option { color: #000; }
.pt-user { display: flex; align-items: center; gap: 10px; }
.pt-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--navy-2); display: grid; place-items: center; font-weight: 700; font-size: .9rem; flex: none; }
.pt-user .nm { font-size: .85rem; line-height: 1.2; }
.pt-user .nm small { display: block; color: #aeb8c8; font-size: .74rem; }
.pt-iconbtn { background: transparent; border: 1px solid rgba(255,255,255,.22); color: #fff; border-radius: 8px; padding: 7px 10px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; font: inherit; font-size: .82rem; }
.pt-iconbtn svg { width: 16px; height: 16px; flex: none; }
.pt-iconbtn:hover { background: rgba(255,255,255,.08); }

/* ---------- estrutura ---------- */
.pt-shell { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 232px 1fr; gap: 24px; padding: 22px 20px 70px; }
.pt-nav { position: sticky; top: 82px; align-self: start; }
.pt-nav a { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 9px; color: var(--pt-ink-2); text-decoration: none; font-weight: 500; font-size: .92rem; margin-bottom: 2px; }
.pt-nav a svg { width: 18px; height: 18px; flex: none; opacity: .8; }
.pt-nav a:hover { background: var(--pt-hover); color: var(--heading); }
.pt-nav a.on { background: var(--card); color: var(--heading); font-weight: 600; box-shadow: var(--shadow); }
.pt-nav a.on svg { color: var(--gold); opacity: 1; }
.pt-nav .cnt { margin-left: auto; background: var(--gold); color: #fff; border-radius: 999px; font-size: .7rem; font-weight: 700; padding: 1px 7px; }
.pt-nav .grp { font-size: .68rem; text-transform: uppercase; letter-spacing: .09em; color: #98a2b3; margin: 18px 12px 6px; font-weight: 600; }
.pt-help { margin-top: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-size: .82rem; color: var(--pt-ink-2); }
.pt-help b { color: var(--heading); display: block; margin-bottom: 4px; }
.pt-main { min-width: 0; }

.pt-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 2px 0 18px; }
.pt-title h1 { font-family: "Cormorant Garamond", Georgia, serif; font-size: 2rem; color: var(--heading); margin: 0; font-weight: 700; }
.pt-title .sub { color: var(--muted); font-size: .9rem; margin-top: 2px; }
.pt-title .acts { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- cartões ---------- */
.pc { background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 20px; margin-bottom: 18px; min-width: 0; }
.pc-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.pc-h h2 { font-size: 1.02rem; margin: 0; color: var(--heading); }
.pc-h > .btn, .pc-h > a.btn { white-space: nowrap; flex: none; }
.pc-h .d { color: var(--muted); font-size: .82rem; margin-top: 3px; }
.g2 { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; }
.g2e { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.g2 > .pc, .g2e > .pc { margin-bottom: 0; }
.row { margin-bottom: 18px; }

/* ---------- hero do imóvel ---------- */
.hero2 { position: relative; border-radius: 16px; overflow: hidden; min-height: 250px; background: var(--navy) center/cover no-repeat; color: #fff; margin-bottom: 18px; box-shadow: var(--shadow); display: flex; align-items: flex-end; }
.hero2::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(37,47,61,.15) 0%, rgba(37,47,61,.55) 45%, rgba(37,47,61,.94) 100%); }
.hero2 .in { position: relative; padding: 24px 26px; width: 100%; display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; }
.hero2 .eyebrow { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-2); font-weight: 600; }
.hero2 h1 { font-family: "Cormorant Garamond", Georgia, serif; font-size: 2.3rem; margin: 4px 0 4px; color: #fff; font-weight: 700; line-height: 1.05; }
.hero2 .addr { color: #d9dfe8; font-size: .92rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(4px); padding: 4px 10px; border-radius: 999px; font-size: .8rem; color: #fff; }
.chip svg { width: 14px; height: 14px; }
.hero2 .side-box { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(6px); border-radius: 12px; padding: 12px 16px; min-width: 210px; }
.hero2 .side-box .l { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: #c6cfdc; }
.hero2 .side-box .v { font-size: 1.35rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.st-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; margin-right: 6px; box-shadow: 0 0 0 3px rgba(74,222,128,.25); }

/* ---------- indicadores ---------- */
.mk { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.m { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); min-width: 0; }
.m .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.m .l { font-size: .8rem; color: var(--muted); font-weight: 500; }
.m .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--ic-bg); color: var(--c1); flex: none; }
.m .ic svg { width: 18px; height: 18px; }
.m .ic.gold { background: var(--gold-bg); color: var(--gold-ink); }
.m .ic.ok { background: var(--ok-bg); color: var(--ok); }
.m .ic.bad { background: var(--bad-bg); color: var(--bad); }
.m .v { font-size: 1.6rem; font-weight: 700; color: var(--text); margin-top: 8px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m .s { font-size: .8rem; color: var(--muted); margin-top: 2px; }
.m .s b { color: var(--text); font-weight: 600; }

/* ---------- gráficos ---------- */
.chart-box { position: relative; height: 260px; }
.chart-box.sm { height: 210px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .8rem; color: var(--pt-ink-2); margin-bottom: 10px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.legend i.ln { height: 2px; border-radius: 0; width: 16px; }
.legend i.dash { height: 0; border-top: 2px dashed; background: none !important; width: 16px; border-radius: 0; }
.compo { display: flex; height: 16px; border-radius: 6px; overflow: hidden; gap: 2px; background: var(--card); margin: 6px 0 14px; }
.compo div { height: 100%; }
.compo-l { display: grid; gap: 10px; }
.compo-l .it { display: flex; align-items: center; gap: 10px; font-size: .88rem; }
.compo-l .it i { width: 12px; height: 12px; border-radius: 3px; flex: none; }
.compo-l .it .n { color: var(--pt-ink-2); flex: 1; }
.compo-l .it .v { font-weight: 600; font-variant-numeric: tabular-nums; }
.compo-l .it .p { color: var(--muted); font-size: .78rem; width: 40px; text-align: right; }

/* ---------- linha do tempo do contrato ---------- */
.tl { position: relative; margin: 26px 6px 10px; }
.tl .bar { height: 8px; background: var(--line-2); border-radius: 99px; overflow: hidden; }
.tl .bar div { height: 100%; background: linear-gradient(90deg, var(--navy), var(--c1)); border-radius: 99px; }
.tl .mk2 { position: absolute; top: -22px; transform: translateX(-50%); font-size: .7rem; color: var(--muted); white-space: nowrap; }
.tl .pin { position: absolute; top: -3px; width: 14px; height: 14px; border-radius: 50%; background: var(--card); border: 3px solid var(--gold); transform: translateX(-50%); }
.tl-ends { display: flex; justify-content: space-between; font-size: .8rem; color: var(--pt-ink-2); margin-top: 8px; }
.tl-ends b { display: block; color: var(--text); }

/* ---------- listas ---------- */
.evs { display: grid; gap: 2px; }
.ev { display: flex; gap: 12px; align-items: center; padding: 10px 4px; border-bottom: 1px solid var(--line-2); }
.ev:last-child { border-bottom: 0; }
.ev .dt { width: 50px; flex: none; text-align: center; background: var(--surface-2); border-radius: 9px; padding: 5px 0; line-height: 1.1; }
.ev .dt b { display: block; font-size: 1.05rem; color: var(--heading); }
.ev .dt span { font-size: .66rem; text-transform: uppercase; color: var(--muted); letter-spacing: .05em; }
.ev .tx { flex: 1; min-width: 0; font-size: .9rem; }
.ev .tx small { display: block; color: var(--muted); font-size: .78rem; }
.ev .vl { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

.feed { position: relative; padding-left: 22px; }
.feed::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--line-2); }
.fi { position: relative; padding: 0 0 16px; }
.fi::before { content: ""; position: absolute; left: -21px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--card); border: 2px solid var(--c1); }
.fi.ok::before { border-color: var(--ok); }
.fi.warn::before { border-color: var(--gold); }
.fi.bad::before { border-color: var(--bad); }
.fi .w { font-size: .75rem; color: var(--muted); }
.fi .t { font-weight: 600; font-size: .9rem; }
.fi .x2 { font-size: .85rem; color: var(--pt-ink-2); margin-top: 2px; white-space: pre-wrap; }

/* ---------- ficha ---------- */
.spec { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.spec div { background: var(--surface-2); border-radius: 10px; padding: 12px; }
.spec div svg { width: 18px; height: 18px; color: var(--gold); }
.spec div b { display: block; font-size: 1.05rem; color: var(--heading); margin-top: 4px; }
.spec div span { font-size: .76rem; color: var(--muted); }

/* ---------- galeria / vistoria ---------- */
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.gal button { padding: 0; border: 0; background: var(--line-2); border-radius: 10px; overflow: hidden; aspect-ratio: 1; cursor: zoom-in; position: relative; }
.gal img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.gal button:hover img { transform: scale(1.04); }
.gal .more { position: absolute; inset: 0; background: rgba(37,47,61,.6); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.2rem; }
.amb { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; overflow: hidden; }
.amb-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.amb-h h3 { margin: 0; font-size: .98rem; color: var(--heading); }
.amb-b { padding: 14px 16px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 16px; }
.its { width: 100%; border-collapse: collapse; font-size: .86rem; }
.its td { padding: 7px 6px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.its tr:last-child td { border-bottom: 0; }
.its td:last-child { text-align: right; white-space: nowrap; }
.its small { display: block; color: var(--muted); }
.est-sum { display: flex; flex-wrap: wrap; gap: 8px; }
.est-sum div { background: var(--surface-2); border-radius: 10px; padding: 10px 14px; min-width: 110px; }
.est-sum b { display: block; font-size: 1.3rem; color: var(--heading); }
.est-sum span { font-size: .78rem; color: var(--muted); }

.lb { position: fixed; inset: 0; background: rgba(10,14,20,.92); z-index: 90; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px; }
.lb img { max-width: 100%; max-height: calc(100vh - 120px); border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.lb .cap { color: #e5e7eb; margin-top: 12px; font-size: .9rem; text-align: center; }
.lb .nv { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); border: 0; color: #fff; width: 46px; height: 46px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; }
.lb .nv:hover { background: rgba(255,255,255,.22); }
.lb .pv { left: 14px; } .lb .nx { right: 14px; }
.lb .cl { position: absolute; top: 14px; right: 14px; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 40px; height: 40px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }

/* ---------- manutenções / solicitações ---------- */
.tk { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; background: var(--card); }
.tk-h { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.tk-h b { color: var(--heading); }
.tk .meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .8rem; color: var(--muted); margin-top: 6px; }
.tk .ds { font-size: .88rem; color: var(--pt-ink-2); margin-top: 8px; white-space: pre-wrap; }
.tk .resp { margin-top: 10px; background: var(--resp-bg); border-left: 3px solid var(--gold); padding: 9px 12px; border-radius: 0 8px 8px 0; font-size: .87rem; white-space: pre-wrap; }
.tk .resp small { display: block; color: var(--gold-ink); font-weight: 600; font-size: .74rem; margin-bottom: 2px; text-transform: uppercase; letter-spacing: .05em; }
.steps { display: flex; gap: 4px; margin-top: 12px; }
.steps div { flex: 1; height: 5px; border-radius: 99px; background: var(--line-2); }
.steps div.on { background: var(--c1); }
.steps-l { display: flex; justify-content: space-between; font-size: .7rem; color: var(--muted); margin-top: 4px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.seg button { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: .82rem; cursor: pointer; color: var(--pt-ink-2); }
.seg button.on { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- documentos ---------- */
.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.doc { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 14px; text-decoration: none; color: inherit; background: var(--card); transition: box-shadow .15s, border-color .15s; }
.doc:hover { border-color: var(--gold-2); box-shadow: var(--shadow); }
.doc .fi2 { width: 42px; height: 48px; border-radius: 8px; background: var(--doc-bg); color: var(--gold-ink); display: grid; place-items: center; flex: none; font-size: .66rem; font-weight: 800; letter-spacing: .04em; }
.doc .fi2.img { background: var(--ic-bg); color: var(--c1); }
.doc b { display: block; font-size: .88rem; color: var(--heading); line-height: 1.3; }
.doc small { color: var(--muted); font-size: .76rem; }

.note { font-size: .8rem; color: var(--muted); margin-top: 10px; }
.empty2 { text-align: center; padding: 34px 16px; color: var(--muted); }
.empty2 svg { width: 36px; height: 36px; color: var(--line); margin-bottom: 6px; }

/* ---------- celular ---------- */
@media (max-width: 1100px) {
  .mk { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g2, .g2e { grid-template-columns: 1fr; }
  .amb-b { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .pt-shell { grid-template-columns: 1fr; padding: 0 0 70px; gap: 0; }
  .pt-nav { position: sticky; top: 59px; z-index: 20; background: var(--pt-bg); display: flex; overflow-x: auto; gap: 4px; padding: 10px 12px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .pt-nav::-webkit-scrollbar { display: none; }
  .pt-nav a { white-space: nowrap; margin: 0; padding: 8px 11px; font-size: .85rem; }
  .pt-nav .grp, .pt-help { display: none; }
  .pt-main { padding: 16px; }
  .pt-head .in { padding: 10px 16px; gap: 10px; }
  .pt-user .nm, .pt-head .brand-sub { display: none; }
  .pt-title h1 { font-size: 1.6rem; }
  .hero2 { min-height: 300px; }
  .hero2 h1 { font-size: 1.8rem; }
  .hero2 .in { padding: 18px; }
  .hero2 .side-box { width: 100%; }
  .pc { padding: 16px; }
}
@media (max-width: 520px) {
  .mk { gap: 10px; }
  .m { padding: 13px; }
  .m .v { font-size: 1.2rem; }
  .m .ic { display: none; }
  .pt-head .brand-name { font-size: .9rem; }
  .pt-iconbtn span { display: none; }
  .chart-box { height: 230px; }
}
@media print {
  .pt-head, .pt-nav, .pt-title .acts { display: none !important; }
  .pt-shell { display: block; padding: 0; }
  .pt-main { padding: 0; }
}

/* ---------- cabeçalho: casinha + saudação ---------- */
.pt-ola { display: flex; align-items: center; gap: 12px; min-width: 0; }
.casa3d { width: 48px; height: 48px; flex: none; filter: drop-shadow(0 4px 8px rgba(0,0,0,.25)); animation: flutua 4s ease-in-out infinite; }
@keyframes flutua { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .casa3d { animation: none; } }
.pt-ola .tx { min-width: 0; line-height: 1.25; }
.pt-ola b { display: block; font-size: 1.02rem; color: #fff; }
.pt-ola small { display: block; color: #c6cfdc; font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
:root[data-theme="dark"] .pt-head { background: #141b24; }
:root[data-theme="dark"] .hero2 { background-color: #141b24; }
@media (max-width: 520px) {
  .casa3d { width: 40px; height: 40px; }
  .pt-ola small { max-width: 150px; }
}

/* ---------- painel do inquilino ---------- */
.pix-linhas { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.pix-linhas td { padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--pt-ink-2); }
.pix-linhas td.num { text-align: right; color: var(--text); }
.pix-linhas tr.tot td { border-bottom: 0; padding-top: 12px; font-weight: 700; font-size: 1.15rem; color: var(--heading); }
.pix-box { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; align-items: start; }
.pix-qr { background: #fff; border-radius: 12px; padding: 8px; border: 1px solid var(--line); aspect-ratio: 1; display: grid; place-items: center; }
.pix-qr svg { width: 100%; height: auto; display: block; }
.pix-info { display: grid; gap: 4px; min-width: 0; }
.pix-info .l { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: 6px; }
.pix-info .v { font-size: 1.5rem; font-weight: 700; color: var(--heading); font-variant-numeric: tabular-nums; }
.pix-cod { width: 100%; font: .78rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; resize: none; margin: 10px 0 8px;
  background: var(--surface-2); color: var(--text); border: 1px solid var(--input-line); border-radius: 8px; padding: 8px 10px; }
.pix-info .btn { justify-self: start; display: inline-flex; gap: 6px; align-items: center; }
.pix-info .btn svg, .pt-main .btn svg { width: 16px; height: 16px; }
.pix-ok { display: flex; gap: 14px; align-items: center; }
.pix-ok > svg { width: 34px; height: 34px; flex: none; color: var(--ok); }
.recibo { background: #fff; color: #111; max-width: 760px; margin: 0 auto; padding: 44px 52px; border-radius: 6px; box-shadow: var(--shadow); line-height: 1.6; }
.recibo header { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 2px solid #B89A4A; padding-bottom: 14px; }
.recibo .rb-marca { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.6rem; font-weight: 700; color: #333F50; line-height: 1; }
.recibo .rb-sub { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: #6b7280; }
.recibo .rb-num { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.recibo h1 { text-align: center; font-size: 1.15rem; letter-spacing: .14em; margin: 26px 0 18px; color: #111; }
.recibo p { text-align: justify; text-indent: 1.5cm; margin: 0 0 12px; }
.recibo p.small, .recibo .rb-data { text-indent: 0; }
.recibo table { width: 100%; border-collapse: collapse; margin: 6px 0 16px; font-variant-numeric: tabular-nums; }
.recibo td { padding: 6px 0; border-bottom: 1px solid #e5e7eb; }
.recibo td.num { text-align: right; }
.recibo tr.tot td { font-weight: 700; border-bottom: 0; }
.recibo .rb-data { text-align: right; margin-top: 22px; }
.recibo footer { margin-top: 34px; padding-top: 10px; border-top: 1px solid #e5e7eb; font-size: .72rem; color: #6b7280; text-align: center; }
@media (max-width: 640px) {
  .pc-h.quebra { flex-direction: column; align-items: stretch; }
  .pc-h.quebra > .btn { white-space: normal; }
  .pix-box { grid-template-columns: 1fr; }
  .pix-qr { max-width: 240px; justify-self: center; width: 100%; }
  .recibo { padding: 26px 20px; }
  .recibo header { flex-direction: column; gap: 8px; }
  .recibo .rb-num { text-align: left; }
}
@media print {
  body.pt .pt-head, body.pt .pt-nav, .no-print { display: none !important; }
  body.pt .pt-shell { display: block; padding: 0; }
  .recibo { box-shadow: none; max-width: none; padding: 0; }
}
