/* =====================================================================
   ANJE Digital 360° — Design System
   Cores derivadas do logótipo oficial (vermelho institucional + grafite).
   ===================================================================== */
:root {
  --brand: #c8142a;
  --brand-600: #a80f22;
  --brand-700: #870c1b;
  --brand-50: #fdf1f2;
  --brand-100: #fbdfe2;
  --ink: #231a24;
  --ink-2: #3b3340;
  --muted: #6b6470;
  --line: #e9e5ea;
  --line-2: #f2eff3;
  --bg: #ffffff;
  --bg-soft: #faf8f9;
  --bg-tint: #f6f2f3;
  --ok: #157a4a; --ok-bg: #e8f6ee;
  --warn: #9a5b00; --warn-bg: #fff4e0;
  --info: #1f5fa8; --info-bg: #eaf2fc;
  --danger: #b3261e; --danger-bg: #fdecea;
  --radius: 14px; --radius-sm: 9px; --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(35,26,36,.06), 0 1px 1px rgba(35,26,36,.04);
  --shadow: 0 10px 30px -12px rgba(35,26,36,.18), 0 2px 6px rgba(35,26,36,.05);
  --shadow-lg: 0 30px 60px -25px rgba(35,26,36,.35);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --fs-xs: .78rem; --fs-sm: .875rem; --fs-md: 1rem; --fs-lg: 1.125rem;
  --fs-h3: clamp(1.15rem, 1rem + .6vw, 1.35rem);
  --fs-h2: clamp(1.55rem, 1.2rem + 1.4vw, 2.25rem);
  --fs-h1: clamp(2.1rem, 1.4rem + 3vw, 3.6rem);
}
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: var(--fs-md); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-700); }
h1,h2,h3,h4 { line-height: 1.18; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: var(--fs-h1); font-weight: 800; }
h2 { font-size: var(--fs-h2); font-weight: 800; }
h3 { font-size: var(--fs-h3); font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid #1f5fa8; outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; color: #fff; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }
.xs { font-size: var(--fs-xs); }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.split { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 960px) { .split { grid-template-columns: 1.4fr 1fr; } .split.rev { grid-template-columns: 1fr 1.4fr; } .split.side { grid-template-columns: 260px 1fr; } }

/* ---------- Faixa de demonstração ---------- */
.demo-ribbon { background: var(--ink); color: #f6eef0; font-size: var(--fs-xs); text-align: center; padding: 6px 16px; }
.demo-ribbon strong { color: #ffb4bd; }

/* ---------- Painel de utilidades ---------- */
.util-panel { display: none; border-bottom: 1px solid var(--line); background: #fff; }
.util-panel.open { display: block; }
.util-panel .wrap { padding-top: 16px; padding-bottom: 16px; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: var(--fs-sm); padding: 11px 18px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: background .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px -8px rgba(200,20,42,.7); }
.btn-primary:hover { background: var(--brand-600); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-2); color: var(--ink); }
.btn-soft { background: var(--brand-50); color: var(--brand-700); }
.btn-soft:hover { background: var(--brand-100); color: var(--brand-700); }
.btn-sm { padding: 7px 13px; font-size: var(--fs-xs); }
.btn-lg { padding: 14px 24px; font-size: var(--fs-md); }
.btn[disabled], .btn.disabled { opacity: .55; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--brand-600); cursor: pointer; text-decoration: underline; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, rgba(200,20,42,.12), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(35,26,36,.08), transparent 60%), var(--bg-soft); border-bottom: 1px solid var(--line-2); }
.hero .wrap { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1.15fr 1fr; } }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-600); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.hero h1 span { color: var(--brand); }
.hero .lead { font-size: clamp(1.02rem, .95rem + .4vw, 1.22rem); color: var(--ink-2); max-width: 60ch; }
.hero-search { display: flex; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px; box-shadow: var(--shadow); max-width: 560px; margin-top: 26px; }
.hero-search input { flex: 1; border: 0; font: inherit; padding: 8px 14px; background: transparent; min-width: 0; }
.hero-search input:focus { outline: none; }
.hero-visual { position: relative; aspect-ratio: 5/4; border-radius: var(--radius-lg); background: linear-gradient(140deg, #2b1f2c, #4b1a26 55%, var(--brand) 120%); box-shadow: var(--shadow-lg); overflow: hidden; color: #fff; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; }
.hero-visual::before { content: ""; position: absolute; inset: 0; background: url("../brand/anje-logo-negativo.png") no-repeat 92% 10% / 46%; opacity: .14; }
.hero-visual .glass { position: relative; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); border-radius: var(--radius); padding: 18px; }
.hero-visual .glass b { font-size: 1.05rem; display: block; }
.hero-visual .note { position: relative; font-size: var(--fs-xs); opacity: .75; margin-top: 10px; }

/* ---------- Secções ---------- */
.section { padding: clamp(48px, 6vw, 88px) 0; }
.section.tint { background: var(--bg-soft); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.section.dark { background: var(--ink); color: #eee7ea; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head p { color: var(--muted); max-width: 62ch; margin: 0; }
.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line-2); padding: 40px 0 34px; }
.page-head h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.7rem); }
.page-head p { color: var(--ink-2); max-width: 70ch; margin: 0; }
.crumbs { font-size: var(--fs-xs); color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }

/* ---------- Cartões ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); position: relative; transition: box-shadow .2s, transform .2s, border-color .2s; }
a.card, .card.hover { text-decoration: none; color: inherit; display: block; }
a.card:hover, .card.hover:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #ddd5dc; }
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
.card .meta { font-size: var(--fs-xs); color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.card-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); margin-bottom: 14px; }
.card-icon svg { width: 22px; height: 22px; }
.card.feature { padding: 26px; }
.card.flat { box-shadow: none; }
.panel { background: var(--bg-soft); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 20px; }
.stat { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.stat .v { font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; }
.stat .l { color: var(--muted); font-size: var(--fs-sm); }

/* ---------- Etiquetas de proveniência / estado ---------- */
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: .7rem; font-weight: 700; letter-spacing: .02em; padding: 3px 9px; border-radius: 999px; background: var(--bg-tint); color: var(--ink-2); white-space: nowrap; vertical-align: middle; }
.tag-verificado { background: var(--ok-bg); color: var(--ok); }
.tag-pendente { background: var(--warn-bg); color: var(--warn); }
.tag-demonstracao { background: var(--info-bg); color: var(--info); }
.tag-proposta { background: #f1ecf7; color: #5b3a8a; }
.tag-dependencia { background: #fbeee6; color: #8a3b0c; }
.tag-brand { background: var(--brand-50); color: var(--brand-700); }
.st { display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--bg-tint); color: var(--ink-2); }
.st-aprovado,.st-activo,.st-pago,.st-confirmado,.st-publicado,.st-resolvido,.st-concluido,.st-seleccionado,.st-aberta,.st-presente { background: var(--ok-bg); color: var(--ok); }
.st-rejeitado,.st-falhado,.st-suspenso,.st-cancelado,.st-encerrada,.st-desistiu { background: var(--danger-bg); color: var(--danger); }
.st-pendente,.st-pendente_documentos,.st-pendente_decisao,.st-aguarda_cliente,.st-revisao,.st-lista_espera,.st-em_preparacao { background: var(--warn-bg); color: var(--warn); }
.st-submetido,.st-em_analise,.st-triagem,.st-avaliacao,.st-novo,.st-em_execucao,.st-cotacao { background: var(--info-bg); color: var(--info); }

/* ---------- Formulários ---------- */
.form { display: grid; gap: 16px; }
.field label, .label { display: block; font-weight: 600; font-size: var(--fs-sm); margin-bottom: 6px; color: var(--ink); }
.field .hint { font-size: var(--fs-xs); color: var(--muted); margin-top: 4px; }
.input, .field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea { width: 100%; font: inherit; font-size: var(--fs-sm); padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 120px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(200,20,42,.12); }
.field.error input, .field.error select, .field.error textarea { border-color: var(--danger); }
.field .err { color: var(--danger); font-size: var(--fs-xs); margin-top: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--brand); }
.fgrid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.filters { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-bottom: 22px; }
.filters .input { padding: 9px 11px; }

/* ---------- Alertas ---------- */
.alert { border-radius: var(--radius-sm); padding: 13px 16px; font-size: var(--fs-sm); border: 1px solid transparent; margin-bottom: 16px; }
.alert-ok { background: var(--ok-bg); color: #0d5232; border-color: #c6e8d5; }
.alert-error { background: var(--danger-bg); color: #7d1a14; border-color: #f4c7c2; }
.alert-info { background: var(--info-bg); color: #163f6e; border-color: #cfe0f6; }
.alert-warn { background: var(--warn-bg); color: #6b4100; border-color: #f6dfb3; }

/* ---------- Tabelas ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.table th { text-align: left; font-weight: 700; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: var(--bg-soft); padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: #fcfbfc; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 26px 18px; }
.timeline li::before { content: ""; position: absolute; left: -29px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); }
.timeline .when { font-weight: 800; color: var(--brand-600); font-size: var(--fs-sm); }

/* ---------- Jornadas ---------- */
.journey { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); counter-reset: j; }
.journey a { counter-increment: j; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: relative; transition: .2s; }
.journey a::before { content: counter(j, decimal-leading-zero); display: block; font-size: var(--fs-xs); font-weight: 800; color: var(--brand); margin-bottom: 6px; }
.journey a:hover, .journey a[aria-current="true"] { border-color: var(--brand); box-shadow: var(--shadow); }

/* ---------- Cartão de associado ---------- */
.member-card { width: 100%; max-width: 420px; aspect-ratio: 1.586; border-radius: 20px; padding: 22px; color: #fff; position: relative; overflow: hidden; background: linear-gradient(135deg, #231a24 0%, #4a1c27 55%, #c8142a 130%); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; justify-content: space-between; }
.member-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.07); }
.member-card .mc-top { display: flex; justify-content: space-between; align-items: start; position: relative; z-index: 1; }
.member-card img.mc-logo { height: 34px; }
.member-card .mc-name { font-size: 1.15rem; font-weight: 800; }
.member-card .mc-num { font-variant-numeric: tabular-nums; letter-spacing: .08em; font-size: .9rem; opacity: .9; }
.member-card .mc-qr { background: #fff; padding: 6px; border-radius: 10px; width: 92px; height: 92px; }
.member-card .mc-bottom { display: flex; justify-content: space-between; align-items: end; gap: 12px; position: relative; z-index: 1; }

/* ---------- Portal / Admin ---------- */
.app-shell { display: grid; grid-template-columns: 1fr; min-height: 70vh; }
@media (min-width: 960px) { .app-shell { grid-template-columns: 250px 1fr; } }
.sidenav { background: var(--bg-soft); border-right: 1px solid var(--line-2); padding: 20px 12px; }
.sidenav h5 { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 18px 10px 6px; }
.sidenav a { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--ink-2); font-size: var(--fs-sm); font-weight: 500; }
.sidenav a:hover { background: #fff; color: var(--ink); }
.sidenav a.active { background: #fff; color: var(--brand-700); font-weight: 700; box-shadow: var(--shadow-sm); }
@media (max-width: 959px) { .sidenav { display: flex; gap: 4px; overflow-x: auto; padding: 10px; border-right: 0; border-bottom: 1px solid var(--line-2); } .sidenav h5 { display: none; } .sidenav a { white-space: nowrap; } }
.app-main { padding: 28px clamp(16px, 3vw, 36px); min-width: 0; }
.kpis { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-bottom: 24px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.kpi .v { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; }
.kpi .l { font-size: var(--fs-xs); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.bar { height: 10px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.hbars { display: grid; gap: 10px; }
.hbars .hb { display: grid; grid-template-columns: minmax(110px, 180px) 1fr 48px; gap: 10px; align-items: center; font-size: var(--fs-sm); }
.hbars .hb .bar { height: 12px; }
.hbars .hb .n { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }

/* ---------- Chat IA ---------- */
.chat { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; min-height: 520px; }
.chat-head { padding: 16px 20px; border-bottom: 1px solid var(--line-2); display: flex; gap: 12px; align-items: center; background: linear-gradient(90deg, var(--brand-50), #fff); }
.ai-badge { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand), #6d1222); font-weight: 800; font-size: .85rem; }
.chat-log { flex: 1; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; max-height: 60vh; }
.msg { max-width: 85%; padding: 12px 15px; border-radius: 16px; font-size: var(--fs-sm); white-space: pre-wrap; }
.msg.user { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.msg.bot { align-self: flex-start; background: var(--bg-tint); border-bottom-left-radius: 4px; }
.msg .src { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); font-size: var(--fs-xs); white-space: normal; }
.msg .src a { display: block; }
.chat-form { display: flex; gap: 8px; padding: 14px; border-top: 1px solid var(--line-2); }
.chat-form textarea { flex: 1; resize: none; min-height: 46px; max-height: 140px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: var(--fs-xs); background: #fff; cursor: pointer; font: inherit; font-size: var(--fs-xs); color: var(--ink-2); }
.chip:hover { border-color: var(--brand); color: var(--brand-700); }

/* ---------- Diversos ---------- */
.map { height: 460px; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; background: var(--bg-tint); }
.prose { max-width: 75ch; }
.prose p, .prose li { color: var(--ink-2); }
.pagination { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 26px; list-style: none; padding: 0; }
.pagination a, .pagination span { display: inline-block; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--line); text-decoration: none; font-size: var(--fs-sm); color: var(--ink-2); background: #fff; }
.pagination .active span { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { text-align: center; padding: 48px 20px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); background: var(--bg-soft); }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; font-size: var(--fs-sm); margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; }
.logo-wall { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.logo-wall div { border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 18px; text-align: center; color: var(--muted); font-size: var(--fs-xs); background: #fff; }
.newsletter-box { border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 48px); background: linear-gradient(120deg, var(--ink), #4a1c27); color: #fff; display: grid; gap: 20px; align-items: center; }
@media (min-width: 860px) { .newsletter-box { grid-template-columns: 1.2fr 1fr; } }
.newsletter-box h2 { color: #fff; }
.newsletter-box form { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter-box input { flex: 1; min-width: 200px; border-radius: 999px; border: 0; padding: 13px 18px; font: inherit; }
.weather-days { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; }
.weather-days div { background: var(--bg-soft); border-radius: 10px; padding: 8px; text-align: center; font-size: var(--fs-xs); }
.steps { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; font-size: var(--fs-xs); padding: 6px 12px; border-radius: 999px; background: var(--bg-tint); color: var(--muted); }
.steps li::before { content: counter(s) ". "; font-weight: 700; }
.steps li.on { background: var(--ink); color: #fff; }
.ticket { border: 1px solid var(--line); border-radius: var(--radius); display: grid; grid-template-columns: 1fr auto; overflow: hidden; background: #fff; box-shadow: var(--shadow); max-width: 640px; }
.ticket .tk-main { padding: 22px; border-right: 2px dashed var(--line); }
.ticket .tk-qr { padding: 18px; display: grid; place-items: center; background: var(--bg-soft); }
@media print { .hx, .hx-util, .hx-drawer, .ft, .footer, .demo-ribbon, .no-print, .util-panel { display: none !important; } body { background: #fff; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.hc { --muted: #3b3340; --line: #8e8590; }
.hc body, body.hc { color: #000; }

/* .section anulava o padding lateral de .wrap quando usados em conjunto */
.wrap.section { padding-left: 20px; padding-right: 20px; }
