/*
 * Assine Já — camada visual da plataforma (vale para os dois temas, o painel, o assistente e as telas públicas).
 * Vem depois dos temas e do Bootstrap e é sem @layer, então vence o CSS em camadas do Tailwind dos temas.
 *
 * Princípios: menos peso (negrito só onde ajuda), sem sombra nas caixas, menos caixas e fundos,
 * três níveis de texto bem distintos e menu lateral colorido com contraste conferido (WCAG AA).
 *
 * Paleta (do logotipo):
 *   azul #2563EB · azul escuro #1D4ED8 · verde-petróleo #0F766E · azul-noturno #0F172A
 *   cinza claro #F1F5F9 (fundo) · borda #E2E8F0 · azul suave #DBEAFE
 *
 * Contrastes conferidos (razão): menu #CBD5E1 em #0F172A = 12,0 · legenda do menu #94A3B8 = 7,0 · item ativo
 * branco em #1D4ED8 = 6,7 · título #0F172A = 17,9 · texto #1E293B = 14,6 · apoio #5B6B80 = 5,4 (branco) e 5,0 (fundo cinza).
 */

:root {
  --aj-blue: #2563eb;
  --aj-blue-dark: #1d4ed8;
  --aj-teal: #0f766e;
  --aj-navy: #0f172a;
  --aj-bg: #f1f5f9;
  --aj-border: #e2e8f0;
  --aj-soft: #dbeafe;

  /* três níveis de texto */
  --aj-ink-1: #0f172a; /* títulos */
  --aj-ink-2: #1e293b; /* texto corrido */
  --aj-ink-3: #5b6b80; /* apoio: datas, legendas, rótulos secundários */

  /* peso da letra */
  --aj-w-text: 400;
  --aj-w-medium: 500;
  --aj-w-strong: 600;

  --aj-menu-text: #cbd5e1;
  --aj-menu-caption: #94a3b8;
}

/* ---------- Texto: níveis e pesos (modo claro) ---------- */
html:not([data-pc-theme="dark"]):not(.dark-theme) {
  --ab-muted: var(--aj-ink-3);
  --color-theme-headings: var(--aj-ink-1);
  --color-theme-bodycolor: var(--aj-ink-2);
  --color-theme-secondarytextcolor: var(--aj-ink-3);
  --color-theme-bodybg: var(--aj-bg);
}
html:not([data-pc-theme="dark"]):not(.dark-theme) body { color: var(--aj-ink-2); }
html:not([data-pc-theme="dark"]):not(.dark-theme) body :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .card-title, .ab-page-title, .ab-kpi-value, .modal-title) { color: var(--aj-ink-1); }
html:not([data-pc-theme="dark"]):not(.dark-theme) body :is(.text-secondary, .text-muted, small, .small, .form-text, .ab-muted) { color: var(--aj-ink-3) !important; }

/* títulos e destaques ficam mais leves; o corpo é regular */
html body :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .card-title, .modal-title, .ab-page-title, .ab-kpi-value, .ab-card-head h5, .ab-dd-head h6, .wz-h1, .wz-h2) { font-weight: var(--aj-w-medium); }
html body :is(strong, b, .fw-bold, .font-bold, .fw-bolder) { font-weight: var(--aj-w-strong); }
html body :is(.fw-semibold, .font-semibold, .font-medium, th, label, .form-label, .btn, .badge, .nav-link, .ab-link, .ab-brand-name, .ab-user-name) { font-weight: var(--aj-w-medium); }
html body :is(.fw-medium) { font-weight: var(--aj-w-medium); }

/* ---------- Caixas: sem sombra, borda fina ---------- */
html body :is(.card, .ab-card, .pc-header, .wz-card, .alert, .list-group, .table-responsive, [class*="shadow"], .btn, .form-control, .form-select, .input-group-text) { box-shadow: none; }
html body .card { border: 1px solid var(--aj-border); background-clip: border-box; }
html body .card-header { background: transparent; border-bottom: 1px solid var(--aj-border); }
html body .card-footer { background: transparent; border-top: 1px solid var(--aj-border); }
/* caixa dentro de caixa vira só conteúdo */
html body .card .card { border: 0; background: transparent; }
html body .card .card > .card-body { padding-left: 0; padding-right: 0; }
/* só o que flutua mantém uma sombra leve, para separar do fundo */
html body :is(.dropdown-menu, .modal-content, .wz-pop, .wz-modal, .toast) { box-shadow: 0 8px 24px rgba(15, 23, 42, .12); border-color: var(--aj-border); }

/* ---------- Tabelas: linhas finas, sem faixas de fundo ---------- */
html body .table { --bs-table-striped-bg: transparent; --bs-table-hover-bg: rgba(15, 23, 42, .03); }
html body .table > :not(caption) > * > * { background-color: transparent; border-bottom-color: var(--aj-border); box-shadow: none; }
html body .table > thead > tr > th { color: var(--aj-ink-3); font-size: .8125rem; border-bottom: 1px solid var(--aj-border); background: transparent; text-transform: none; letter-spacing: 0; }

/* ---------- Fundo e campos ---------- */
html:not([data-pc-theme="dark"]):not(.dark-theme) body,
html:not([data-pc-theme="dark"]):not(.dark-theme) .pc-container { background-color: var(--aj-bg); }
html body :is(.form-control, .form-select) { border-color: var(--aj-border); }
html body :is(.form-control:focus, .form-select:focus) { border-color: var(--aj-blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--aj-blue) 18%, transparent); }

/* ---------- Menu lateral colorido (Able) ---------- */
html body .pc-sidebar { background: var(--aj-navy); border-right: 0; box-shadow: none; color: var(--aj-menu-text); }
html body .pc-sidebar :is(.navbar-wrapper, .navbar-content, .m-header) { background: transparent; border: 0; }
html body .pc-sidebar .ab-brand,
html body .pc-sidebar .ab-brand-name { color: #fff; }
html body .pc-sidebar .ab-brand img { background: #fff; border-radius: 8px; padding: 4px 8px; }
html body .pc-sidebar .ab-user-card { background: rgba(255, 255, 255, .06); }
html body .pc-sidebar .ab-user-card .ab-user-name { color: #fff; }
html body .pc-sidebar .ab-user-card small { color: var(--aj-menu-caption); }
html body .pc-sidebar .pc-navbar .pc-caption label { color: var(--aj-menu-caption); font-weight: var(--aj-w-medium); }
html body .pc-sidebar .pc-navbar .pc-link { color: var(--aj-menu-text); font-weight: var(--aj-w-text); border-radius: 8px; }
html body .pc-sidebar .pc-navbar .pc-link .pc-micon { color: var(--aj-menu-caption); }
html body .pc-sidebar .pc-navbar .pc-link .pc-arrow { color: var(--aj-menu-caption); }
html body .pc-sidebar .pc-navbar .pc-link:hover { background: rgba(255, 255, 255, .07); color: #fff; }
html body .pc-sidebar .pc-navbar .pc-link:hover .pc-micon { color: #fff; }
html body .pc-sidebar .pc-navbar > .pc-item.active > .pc-link,
html body .pc-sidebar .pc-navbar .pc-submenu .pc-item.active > .pc-link { background: var(--aj-blue-dark); color: #fff; font-weight: var(--aj-w-medium); }
html body .pc-sidebar .pc-navbar > .pc-item.active > .pc-link .pc-micon,
html body .pc-sidebar .pc-navbar > .pc-item.active > .pc-link .pc-arrow { color: #fff; }
/* item pai aberto (tem filho ativo): só um leve destaque, sem competir com o filho */
html body .pc-sidebar .pc-navbar > .pc-item.pc-hasmenu.active > .pc-link { background: rgba(255, 255, 255, .07); }
html body .pc-sidebar .pc-navbar .pc-submenu .pc-link { color: var(--aj-menu-text); }
html body .pc-sidebar .pc-navbar .pc-submenu .pc-link::after { background-color: var(--aj-menu-caption); }
html body .pc-sidebar .pc-navbar .pc-submenu .pc-item.active > .pc-link::after { background-color: #fff; }

/* cabeçalho do painel: sem linha pesada nem sombra */
html body .pc-header { background: var(--aj-bg); border-bottom: 0; }

/* ---------- Assistente de criar documento ---------- */
html body .wz { --wz-brand: var(--aj-blue); }
html body .wz :is(.wz-btn, .wz-again, .wz-link) { font-weight: var(--aj-w-medium); }

/* ---------- Botões ---------- */
html body :is(.btn-primary) { background-color: var(--aj-blue); border-color: var(--aj-blue); color: #fff; }
html body :is(.btn-primary:hover, .btn-primary:focus-visible) { background-color: var(--aj-blue-dark); border-color: var(--aj-blue-dark); }
html body :is(.btn-success) { background-color: var(--aj-teal); border-color: var(--aj-teal); color: #fff; }
html body :is(.btn-success:hover) { background-color: color-mix(in srgb, var(--aj-teal) 85%, #000); border-color: color-mix(in srgb, var(--aj-teal) 85%, #000); }

@media (prefers-reduced-motion: reduce) { html body * { scroll-behavior: auto; } }

/* ---------- Tema W3 CRM: o mesmo visual (menu azul-noturno, sem sombras, pesos e textos) ---------- */
html body[data-layout] { font-weight: var(--aj-w-text); color: var(--aj-ink-2); background-color: var(--aj-bg); }
html body[data-layout] #main-wrapper :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .card-title, .modal-title) { font-weight: var(--aj-w-medium); color: var(--aj-ink-1); }
html body[data-layout] #main-wrapper :is(strong, b, .fw-bold) { font-weight: var(--aj-w-strong); }
html body[data-layout] #main-wrapper :is(th, label, .btn, .badge, .w3-btn, .nav-link) { font-weight: var(--aj-w-medium); }
html body[data-layout] #main-wrapper :is(.text-secondary, .text-muted, small, .small) { color: var(--aj-ink-3) !important; }
html body[data-layout] #main-wrapper :is(.card, .w3-card, .widget-stat, .header, .nav-header, .deznav, [class*="shadow"]) { box-shadow: none !important; }
html body[data-layout] #main-wrapper .card { border: 1px solid var(--aj-border); }
html body[data-layout] #main-wrapper .card-header { background: transparent; border-bottom: 1px solid var(--aj-border); }
html body[data-layout] #main-wrapper .card .card { border: 0; background: transparent; }
html body[data-layout] #main-wrapper .content-body { background: var(--aj-bg); }

html body[data-layout] #main-wrapper :is(.header, .nav-header) { background: var(--aj-navy); border: 0; }
html body[data-layout] #main-wrapper .deznav { background: var(--aj-navy); border-right: 0; }
html body[data-layout] #main-wrapper .deznav .menu-title { color: var(--aj-menu-caption); font-weight: var(--aj-w-medium); }
html body[data-layout] #main-wrapper .deznav .metismenu a { color: var(--aj-menu-text); font-weight: var(--aj-w-text); border-radius: 8px; background: transparent; }
html body[data-layout] #main-wrapper .deznav .metismenu a i { color: var(--aj-menu-caption); }
html body[data-layout] #main-wrapper .deznav .metismenu a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
html body[data-layout] #main-wrapper .deznav .metismenu a:hover i { color: #fff; }
html body[data-layout] #main-wrapper .deznav .metismenu .sub-menu { background: transparent; }
html body[data-layout] #main-wrapper .deznav .metismenu .sub-menu a { color: var(--aj-menu-text); }
html body[data-layout] #main-wrapper .deznav .metismenu > li.mm-active > a,
html body[data-layout] #main-wrapper .deznav .metismenu > li.active-no-child > a,
html body[data-layout] #main-wrapper .deznav .metismenu .sub-menu a.mm-active { background: var(--aj-blue-dark); color: #fff; font-weight: var(--aj-w-medium); }
html body[data-layout] #main-wrapper .deznav .metismenu > li.mm-active > a i,
html body[data-layout] #main-wrapper .deznav .metismenu > li.active-no-child > a i { color: #fff; }
/* item pai aberto (tem filho ativo): só um leve destaque */
html body[data-layout] #main-wrapper .deznav .metismenu > li.mm-active:has(> .sub-menu) > a { background: rgba(255, 255, 255, .07); }

/* ---------- Avisos e confirmações próprios (assinaja-ui.js) ---------- */
.aj-toasts { position: fixed; top: 16px; right: 16px; z-index: 3000; display: flex; flex-direction: column; gap: 8px; width: min(380px, calc(100vw - 32px)); }
.aj-toast { display: flex; align-items: flex-start; gap: 10px; background: #fff; color: var(--aj-ink-2); border: 1px solid var(--aj-border); border-left: 4px solid var(--aj-blue); border-radius: 10px; padding: 12px 14px; box-shadow: 0 8px 24px rgba(15, 23, 42, .12); font-size: 14px; line-height: 1.45; }
.aj-toast.aj-error { border-left-color: #dc2626; }
.aj-toast.aj-success { border-left-color: var(--aj-teal); }
.aj-toast-body { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.aj-toast-title { display: block; margin-bottom: 2px; color: var(--aj-ink-1); font-weight: var(--aj-w-medium); }
.aj-x { flex: 0 0 auto; border: 0; background: transparent; color: var(--aj-ink-3); font-size: 20px; line-height: 1; cursor: pointer; padding: 0 2px; border-radius: 6px; }
.aj-x:hover { color: var(--aj-ink-1); }
.aj-back { position: fixed; inset: 0; z-index: 3100; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(15, 23, 42, .5); }
.aj-dialog { width: min(440px, 100%); background: #fff; color: var(--aj-ink-2); border-radius: 14px; padding: 22px 22px 18px; box-shadow: 0 16px 48px rgba(15, 23, 42, .25); }
.aj-title { margin: 0 0 8px; font-size: 1.125rem; font-weight: var(--aj-w-medium); color: var(--aj-ink-1); }
.aj-msg { margin: 0 0 18px; line-height: 1.5; overflow-wrap: anywhere; }
.aj-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.aj-btn { border: 1px solid transparent; border-radius: 999px; padding: 9px 20px; font: inherit; font-weight: var(--aj-w-medium); cursor: pointer; min-height: 42px; }
.aj-btn:focus-visible { outline: 2px solid var(--aj-blue); outline-offset: 2px; }
.aj-pri { background: var(--aj-blue); color: #fff; }
.aj-pri:hover { background: var(--aj-blue-dark); }
.aj-danger { background: #dc2626; color: #fff; }
.aj-danger:hover { background: #b91c1c; }
.aj-sec { background: #fff; color: var(--aj-ink-2); border-color: var(--aj-border); }
.aj-sec:hover { background: var(--aj-bg); }
body.aj-open { overflow: hidden; }
html[data-pc-theme="dark"] .aj-toast, html[data-pc-theme="dark"] .aj-dialog { background: #1e293b; color: #e2e8f0; border-color: #334155; }
html[data-pc-theme="dark"] .aj-title, html[data-pc-theme="dark"] .aj-toast-title { color: #f8fafc; }
html[data-pc-theme="dark"] .aj-sec { background: transparent; color: #e2e8f0; border-color: #475569; }
@media (max-width: 575.98px) { .aj-toasts { top: auto; bottom: 12px; right: 12px; left: 12px; width: auto; } }

/* Página final da assinatura (sign/done): ícone, título e dois cartões simples, sem sombra. */
.sd { padding: 8px 0 24px; }
.sd-hero { text-align: center; padding: 24px 8px 18px; }
.sd-shield { color: #22c55e; margin-bottom: 14px; }
.sd-shield-no { color: #ef4444; }
.sd-title { font-size: 1.35rem; font-weight: 600; margin: 0 0 6px; }
.sd-doc { color: var(--bs-secondary-color); margin: 0 0 10px; overflow-wrap: anywhere; }
.sd-text { color: var(--bs-body-color); font-size: .95rem; line-height: 1.6; margin: 0; }
.sd-checks { color: var(--bs-secondary-color); font-size: .82rem; margin: 10px 0 0; }
.sd-checks .bx { color: #22c55e; vertical-align: -2px; margin-right: 2px; }
.sd-card { background: var(--bs-body-bg); border: 1px solid var(--bs-border-color); border-radius: 12px; padding: 16px 18px; margin-top: 12px; }
.sd-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sd-card-title { font-size: 1rem; font-weight: 600; margin: 0 0 6px; }
.sd-people, .sd-list { list-style: none; margin: 0; padding: 0; }
.sd-people li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--bs-border-color); font-size: .92rem; }
.sd-people li:first-child { border-top: 0; }
.sd-person { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.sd-state { color: var(--bs-secondary-color); font-size: .82rem; white-space: nowrap; }
.sd-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--bs-border-color); }
.sd-list li:first-child { border-top: 0; }
.sd-file { min-width: 0; overflow-wrap: anywhere; }
.sd-file-actions { display: flex; gap: 8px; }
.sd-wait { color: var(--bs-secondary-color); font-size: .85rem; }
.sd-all { display: inline-flex; align-items: center; gap: 6px; color: var(--bs-primary); font-size: .9rem; text-decoration: none; white-space: nowrap; }
.sd-all:hover { text-decoration: underline; }
.sd-verify { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--bs-border-color); color: var(--bs-secondary-color); font-size: .85rem; }
html body .sd-verify code { color: var(--bs-body-color); font-size: .9rem; letter-spacing: .04em; }
@media (max-width: 575.98px) { .sd-file-actions { width: 100%; } .sd-file-actions .btn { flex: 1 1 auto; } }

/* Lista de documentos: linha no estilo "cartão" (número, data, quem criou, título e signatários com bolinha da situação) */
.aj-doc-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; padding: .25rem .25rem .5rem; border-bottom: 1px solid var(--aj-border, #e5e7eb); }
.aj-doc-list { display: flex; flex-direction: column; }
.aj-doc { display: flex; align-items: flex-start; gap: .75rem; padding: .75rem .25rem; border-bottom: 1px solid var(--aj-border, #e5e7eb); }
.aj-doc:hover { background: rgba(11, 99, 199, .04); }
.aj-doc-check { margin-top: .3rem; flex: 0 0 auto; width: 1.15rem; height: 1.15rem; }
.aj-doc-main { flex: 1 1 auto; min-width: 0; }
.aj-doc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .9rem; font-size: .8rem; color: var(--aj-ink-3, #6b7280); }
.aj-doc-meta .bx { vertical-align: -1px; }
.aj-doc-title { display: block; margin: .2rem 0 .25rem; font-weight: 700; color: var(--aj-ink, #111827); overflow-wrap: anywhere; }
.aj-doc-title:hover { text-decoration: underline; }
.aj-doc-people { display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: .85rem; }
.aj-dot-wrap { display: inline-flex; align-items: center; gap: .35rem; }
.aj-dot { display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; flex: 0 0 auto; }
.aj-dot--ok { background: #16a34a; }
.aj-dot--seen { background: #eab308; }
.aj-dot--none { background: #9ca3af; }
.aj-dot--no { background: #dc2626; }
.aj-doc-legend { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.aj-doc-legend .aj-dot { margin-left: .5rem; }
.aj-doc-summary { margin-top: .25rem; font-size: .78rem; color: var(--aj-ink-3, #6b7280); }
.aj-doc-actions { flex: 0 0 auto; }
.aj-bulk { position: sticky; top: .5rem; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .5rem 0; padding: .5rem .75rem; border-radius: .6rem; background: var(--bs-body-bg, #fff); box-shadow: 0 4px 16px rgba(15, 23, 42, .12); border: 1px solid var(--aj-border, #e5e7eb); }
.aj-bulk[hidden] { display: none; }
.aj-bulk-form { display: flex; align-items: center; gap: .35rem; margin: 0; }
.aj-pick-list { max-height: 55vh; overflow-y: auto; }
.aj-pick-list .list-group-item { cursor: pointer; }

/* Foto de pessoa na lateral das telas de entrar e cadastro: encostada no rodapé, maior, com um círculo suave atrás.
   Não é espelhada (a assinatura e o cadeado ficariam invertidos). */
.auth-cover-photo { position: relative; overflow: hidden; min-height: 100vh; align-items: flex-end; justify-content: center; background: linear-gradient(180deg, #f7f7ff 0%, #eef2ff 100%); }
.auth-cover-photo::before { content: ""; position: absolute; left: 50%; bottom: 8vh; width: min(72vh, 82%); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 50% 45%, rgba(37, 99, 235, .16), rgba(37, 99, 235, .05) 62%, transparent 72%); }
.auth-img-person { position: relative; display: block; height: 86vh; width: auto; max-width: 94%; object-fit: contain; object-position: bottom center; }
html.dark-theme .auth-cover-photo { background: linear-gradient(180deg, #0f1316 0%, #131a2a 100%); }

/* Tela Aparência (super admin): busca de fontes, cores e prévia ao vivo */
.ap-font { position: relative; }
.ap-font-list { position: absolute; z-index: 20; left: calc(var(--bs-gutter-x) * .5); right: calc(var(--bs-gutter-x) * .5); max-height: 280px; overflow-y: auto; box-shadow: 0 8px 24px rgba(15, 23, 42, .14); }
.ap-color { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ap-color .form-control-color { width: 42px; height: 32px; padding: 2px; }
.ap-color-hex { width: 104px; font-family: ui-monospace, Consolas, monospace; }
@media (min-width: 1200px) { .ap-sticky { position: sticky; top: 1rem; } }
.ap-preview { display: flex; gap: 14px; font-family: var(--pv-font); font-size: var(--pv-size); font-weight: var(--pv-w-body); color: var(--pv-text); background: var(--pv-bg); border: 1px solid #e5e7eb; border-radius: 12px; padding: 18px; line-height: 1.5; }
.ap-pv-h { font-family: var(--pv-font-head); color: var(--pv-heading); font-size: calc(1.5em * var(--pv-head-scale)); margin: 0 0 4px; }
.ap-pv-p { margin: 0 0 10px; }
.ap-pv-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 14px; }
.ap-pv-mid, .ap-pv-h.ap-pv-mid { font-weight: var(--pv-w-mid); }
.ap-pv-label { font-size: .88em; margin: 0 0 4px; }
.ap-pv-input { border: 1px solid #d1d5db; border-radius: 6px; padding: 6px 10px; margin: 0 0 12px; color: #64748b; }
.ap-pv-b { font-weight: var(--pv-w-bold); font-size: var(--pv-bold-size); }
.ap-pv-a { color: var(--pv-link); }
.ap-pv-small { font-size: .88em; color: #64748b; margin: 0 0 12px; }
.ap-pv-btn { display: inline-block; padding: 7px 14px; border-radius: 6px; background: var(--pv-primary); color: #fff; }
.ap-pv-btn2 { display: inline-block; padding: 7px 14px; border-radius: 6px; border: 1px solid #cbd5e1; margin-left: 6px; }
.ap-pv-side { flex: 0 0 120px; display: flex; flex-direction: column; gap: 4px; padding: 10px 8px; border-radius: 10px; background: var(--pv-side); color: var(--pv-side-text); font-size: .88em; }
.ap-pv-side-item { padding: 6px 8px; border-radius: 6px; }
.ap-pv-side-on { background: var(--pv-primary); color: #fff; }
.ap-pv-main { flex: 1 1 auto; min-width: 0; }
@media (max-width: 575.98px) { .ap-pv-side { display: none; } }
