/* ==========================================
   VISUAL NOVO (v2) — MODAIS
   Novo cliente (index.html #client-modal-overlay), nova proposta
   (#np-picker-overlay), motivo de perda (#crm-motivo-overlay).
   ========================================== */
html[data-ui="v2"] body :is(#client-modal-overlay, #np-picker-overlay, #crm-motivo-overlay) { background: var(--v2-scrim) !important; backdrop-filter: none !important; }
html[data-ui="v2"] body :is(#client-modal-overlay, #np-picker-overlay, #crm-motivo-overlay) > div {
  background: var(--v2-card) !important; border: 0 !important; border-radius: 28px !important;
  box-shadow: var(--v2-shadow-pop) !important; max-width: 560px !important; color: var(--v2-ink);
}
html[data-ui="v2"] body #client-modal-overlay > div > div:first-child,
html[data-ui="v2"] body :is(#np-picker-overlay, #crm-motivo-overlay) > div > div:first-child {
  background: transparent !important; border-bottom: 0 !important; padding: 22px 20px 6px 24px !important;
  display: grid !important; grid-template-columns: auto 1fr auto; column-gap: 14px; align-items: center;
}
html[data-ui="v2"] .v2m-ic { grid-row: span 2; width: 48px; height: 48px; border-radius: 16px; background: var(--v2-blue); color: #fff; display: grid; place-items: center; }
html[data-ui="v2"] .v2m-ic svg { width: 22px; height: 22px; }
html[data-ui="v2"] body #client-modal-overlay h2 {
  font-size: 20px !important; font-weight: 800 !important; font-style: normal !important; letter-spacing: -.01em !important;
  text-transform: none !important; background: none !important; -webkit-text-fill-color: var(--v2-ink) !important; color: var(--v2-ink) !important; padding: 0 !important; margin: 0;
}
html[data-ui="v2"] .v2m-sub { grid-column: 2; font-size: 13px; color: var(--v2-gray); font-weight: 500; margin: 0; }
html[data-ui="v2"] body #client-modal-overlay > div > div:first-child > button { grid-column: 3; grid-row: 1 / span 2; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; color: var(--v2-gray) !important; }
html[data-ui="v2"] body #client-modal-overlay > div > div:first-child > button:hover { background: var(--v2-bg); color: var(--v2-ink) !important; }
html[data-ui="v2"] body #client-modal-overlay > div > div:first-child > button svg { width: 20px !important; height: 20px !important; }
html[data-ui="v2"] body #client-form { padding: 14px 24px 22px !important; }
html[data-ui="v2"] body #client-form label { font-size: 12px !important; font-weight: 700 !important; color: var(--v2-ink-2) !important; text-transform: none !important; letter-spacing: 0 !important; }
html[data-ui="v2"] body #client-form label span { color: var(--v2-gray) !important; font-weight: 500 !important; }
html[data-ui="v2"] body #client-form :is(input, select) {
  height: 48px; border-radius: 14px !important; font-size: 14px !important; font-weight: 600 !important; text-transform: none !important;
  font-family: inherit !important; letter-spacing: 0 !important; padding: 0 14px !important; border-width: 1.5px !important;
}
html[data-ui="v2"] body #client-form #client-origem { display: none; }
html[data-ui="v2"] .v2m-origs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
html[data-ui="v2"] .v2m-origs button {
  height: 38px; border: 1.5px solid var(--v2-line-strong); background: var(--v2-card); border-radius: 999px; padding: 0 14px;
  font-size: 13px; font-weight: 700; color: var(--v2-ink-2); display: inline-flex; gap: 6px; align-items: center; cursor: pointer; font-family: inherit;
}
html[data-ui="v2"] .v2m-origs button svg { width: 15px; height: 15px; }
html[data-ui="v2"] .v2m-origs button:hover { border-color: var(--v2-blue); }
html[data-ui="v2"] .v2m-origs button.on { border-color: var(--v2-blue); background: var(--v2-blue-50); color: var(--v2-blue-text); }
html[data-ui="v2"] body #client-form > .grid { grid-template-columns: 1fr !important; }
html[data-ui="v2"] body #client-dup-warning {
  border-radius: 14px !important; padding: 11px 12px !important; font-size: 13px !important; font-weight: 500 !important; line-height: 1.45;
  text-transform: none !important; letter-spacing: 0 !important; border: 0 !important; margin-top: 8px !important;
}
html[data-ui="v2"] body #client-cidade-hsp:not(.hidden) {
  display: inline-flex !important; margin-top: 8px; font-size: 12px !important; font-weight: 700 !important; text-transform: none !important; letter-spacing: 0 !important;
  background: var(--v2-orange-50); color: var(--v2-orange-text) !important; border-radius: 999px; padding: 5px 11px;
}
html[data-ui="v2"] body #btn-save-client {
  height: 50px; padding: 0 !important; border: 0 !important; border-radius: 14px !important; background: var(--v2-blue) !important; background-image: none !important;
  color: #fff !important; font-size: 15px !important; font-weight: 800 !important; letter-spacing: 0 !important; text-transform: none !important;
  box-shadow: 0 8px 20px rgba(0,143,212,.25) !important; display: flex; align-items: center; justify-content: center; gap: 8px; transform: none !important;
}
html[data-ui="v2"] body #btn-save-client svg { width: 18px; height: 18px; }
html[data-ui="v2"] body #btn-save-client:hover { background: var(--v2-blue-hover) !important; }
html[data-ui="v2"] body #btn-save-client:disabled { opacity: .45; box-shadow: none !important; }
@media (max-width: 760px) {
  html[data-ui="v2"] body #client-modal-overlay { align-items: flex-end !important; padding: 0 !important; }
  html[data-ui="v2"] body #client-modal-overlay > div { max-width: none !important; border-radius: 28px 28px 0 0 !important; max-height: 94vh !important; }
}

/* seletor "Nova proposta — para quem?" e motivo de perda: só moldura e tipografia */
html[data-ui="v2"] body :is(#np-picker-overlay, #crm-motivo-overlay) :is(p, h2, label) { text-transform: none !important; letter-spacing: 0 !important; }
html[data-ui="v2"] body :is(#np-picker-overlay, #crm-motivo-overlay) :is(p, h2) { font-size: 17px !important; font-weight: 800 !important; color: var(--v2-ink) !important; -webkit-text-fill-color: currentColor; }
html[data-ui="v2"] body #np-picker-list button { border-radius: 14px; margin: 2px 8px; width: calc(100% - 16px); border: 0 !important; }
html[data-ui="v2"] body #np-picker-list button:hover { background: var(--v2-blue-50) !important; }
html[data-ui="v2"] body #np-picker-list button span span:first-child { text-transform: none !important; font-size: 14px !important; font-weight: 700 !important; }
/* Nova proposta reaproveita o formulário do cadastro, com o cliente novo primeiro. */
html[data-ui="v2"] body #client-modal-overlay[data-proposal-flow="true"] .v2m-ic { grid-row: 1; }
html[data-ui="v2"] body #client-modal-overlay[data-proposal-flow="true"] > div > div:first-child > button { grid-row: 1; }
html[data-ui="v2"] body .np-picker-tabs { margin: 14px 24px 0; padding: 4px; gap: 4px; background: var(--v2-bg) !important; border-radius: 14px; }
html[data-ui="v2"] body .np-picker-tabs button {
  border: 0; border-radius: 10px; background: transparent !important; color: var(--v2-gray) !important;
  font-size: 13px; font-weight: 700; font-family: inherit; padding: 10px 12px; text-transform: none; letter-spacing: 0;
}
html[data-ui="v2"] body .np-picker-tabs button.on { background: var(--v2-card) !important; color: var(--v2-ink) !important; box-shadow: 0 1px 3px rgba(15,27,38,.1); }
html[data-ui="v2"] body #np-picker-existing > div:first-child { padding: 16px 24px 10px; }
html[data-ui="v2"] body #np-picker-existing > div:last-child { background: transparent !important; border-top: 1px solid var(--v2-line); padding: 12px 20px 18px; }
html[data-ui="v2"] body #np-picker-search { height: 48px; border-radius: 14px !important; font-size: 14px !important; text-transform: none !important; letter-spacing: 0 !important; }
html[data-ui="v2"] body #client-dup-warning.np-duplicate:not(.hidden) { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
html[data-ui="v2"] body #client-dup-warning.np-duplicate > span { flex: 1; min-width: 160px; }
html[data-ui="v2"] body #client-dup-warning.np-duplicate > button { flex-shrink: 0; font-size: 12px !important; white-space: nowrap; }
html[data-ui="v2"] body #crm-motivo-confirm { border-radius: 14px; background: #D14343 !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 14px !important; }

/* ---------- Contrato e procuração (documentos.js #doc-overlay): só aparência ---------- */
html[data-ui="v2"] body #doc-overlay { background: var(--v2-scrim) !important; backdrop-filter: none !important; }
html[data-ui="v2"] body #doc-overlay > div {
  background: var(--v2-card) !important; border: 0 !important; border-radius: 28px !important; box-shadow: var(--v2-shadow-pop) !important;
  max-width: 820px !important; color: var(--v2-ink); overflow: hidden;
}
html[data-ui="v2"] body #doc-overlay > div > div:first-child { background: transparent !important; border-bottom: 1px solid var(--v2-line) !important; padding: 20px 20px 16px 24px !important; }
html[data-ui="v2"] body #doc-overlay > div > div:first-child > div:first-child { position: relative; padding-left: 62px; min-height: 48px; display: flex; flex-direction: column; justify-content: center; }
html[data-ui="v2"] body #doc-overlay > div > div:first-child p:first-child { font-size: 20px !important; font-weight: 800 !important; letter-spacing: -.01em !important; text-transform: none !important; color: var(--v2-ink) !important; }
html[data-ui="v2"] body #doc-overlay > div > div:first-child p:first-child svg {
  position: absolute; left: 0; top: 50%; margin-top: -24px; box-sizing: content-box; width: 22px !important; height: 22px !important; padding: 13px; border-radius: 16px; background: var(--v2-blue); color: #fff;
}
html[data-ui="v2"] body #doc-overlay > div > div:first-child p.font-mono { font-family: inherit !important; font-size: 13px !important; font-weight: 500; color: var(--v2-gray) !important; margin-top: 2px !important; }
html[data-ui="v2"] body #doc-overlay > div > div:first-child > button { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; color: var(--v2-gray) !important; }
html[data-ui="v2"] body #doc-overlay > div > div:first-child > button:hover { background: var(--v2-bg); color: var(--v2-ink) !important; }
html[data-ui="v2"] body #doc-corpo { padding: 18px 20px !important; display: flex; flex-direction: column; gap: 14px; }
html[data-ui="v2"] body #doc-corpo > * { margin: 0 !important; }
html[data-ui="v2"] body #doc-corpo > section { background: var(--v2-soft); border-radius: 22px; padding: 18px; }
html[data-ui="v2"] body #doc-corpo > section > p:first-child {
  font-size: 15px !important; font-weight: 800 !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--v2-ink) !important; gap: 10px !important;
}
html[data-ui="v2"] body #doc-corpo > section > p:first-child svg {
  box-sizing: content-box; width: 16px !important; height: 16px !important; padding: 8px; border-radius: 11px; background: var(--v2-blue-50); color: var(--v2-blue-text);
}
html[data-ui="v2"] body #doc-overlay label { text-transform: none !important; letter-spacing: 0 !important; font-size: 12px !important; font-weight: 700 !important; color: var(--v2-ink-2) !important; }
html[data-ui="v2"] body #doc-overlay label.flex { font-size: 13px !important; font-weight: 600 !important; gap: 10px !important; }
html[data-ui="v2"] body #doc-overlay input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--v2-blue); flex-shrink: 0; }
html[data-ui="v2"] body #doc-overlay .crm360-input {
  height: 44px; border-radius: 12px !important; font-size: 14px !important; font-weight: 600 !important; padding: 0 12px !important;
  font-family: inherit !important; letter-spacing: 0 !important; font-variant-numeric: tabular-nums;
}
html[data-ui="v2"] body #doc-overlay .crm360-input:not(.uppercase) { text-transform: none !important; }
html[data-ui="v2"] body #doc-overlay textarea.crm360-input { height: auto; padding: 10px 12px !important; }
html[data-ui="v2"] body #doc-corpo p.text-neutral-400 { font-size: 13px !important; font-weight: 800 !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--v2-ink) !important; }
html[data-ui="v2"] body #doc-corpo p.text-neutral-500 { font-size: 12px !important; font-weight: 500; color: var(--v2-gray) !important; margin-left: 28px !important; }
html[data-ui="v2"] body #doc-corpo div.text-\[9px\] { font-size: 12px !important; font-weight: 700 !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--v2-gray) !important; }
html[data-ui="v2"] body #doc-corpo .border.p-3 { border: 0 !important; background: var(--v2-card); border-radius: 16px; padding: 12px !important; }
html[data-ui="v2"] body #doc-corpo .border.p-3 > div > span:first-child { color: var(--v2-blue-text) !important; font-size: 14px !important; }
html[data-ui="v2"] body #doc-corpo .border-l-2 { border: 0 !important; background: var(--v2-card); border-radius: 18px; padding: 16px !important; box-shadow: inset 0 0 0 1.5px var(--v2-orange); }
html[data-ui="v2"] body #doc-soma { font-family: inherit !important; font-size: 12.5px !important; font-weight: 700; }
html[data-ui="v2"] body #doc-overlay > div > div:last-child { background: transparent !important; border-top: 1px solid var(--v2-line) !important; padding: 14px 20px 18px !important; }
html[data-ui="v2"] body #doc-overlay > div > div:last-child > p {
  border: 0 !important; border-radius: 14px; background: var(--v2-orange-50) !important; color: var(--v2-orange-text) !important;
  font-size: 13px !important; font-weight: 600; line-height: 1.45; padding: 10px 12px !important;
}
html[data-ui="v2"] body :is(#doc-btn-contrato, #doc-btn-procuracao) {
  height: 50px; border-radius: 14px !important; font-size: 15px !important; font-weight: 800 !important; text-transform: none !important; letter-spacing: 0 !important;
  display: flex; align-items: center; justify-content: center; gap: 8px; background-image: none !important; transform: none !important;
}
html[data-ui="v2"] body #doc-btn-contrato { border: 0 !important; background: var(--v2-blue) !important; color: #fff !important; box-shadow: 0 8px 20px rgba(0,143,212,.25) !important; }
html[data-ui="v2"] body #doc-btn-contrato:hover { background: var(--v2-blue-hover) !important; }
html[data-ui="v2"] body #doc-btn-procuracao { border: 1.5px solid var(--v2-line-strong) !important; background: var(--v2-card) !important; color: var(--v2-ink) !important; box-shadow: none !important; }
html[data-ui="v2"] body #doc-btn-procuracao:hover { border-color: var(--v2-blue) !important; color: var(--v2-blue-text) !important; }
html[data-ui="v2"] body :is(#doc-btn-contrato, #doc-btn-procuracao) svg { width: 18px !important; height: 18px !important; }
html[data-ui="v2"] body #doc-corpo .btn { height: 40px; border-radius: 12px !important; font-size: 13px !important; font-weight: 700 !important; text-transform: none !important; letter-spacing: 0 !important; gap: 6px; }
html[data-ui="v2"] body #doc-corpo .btn.btn-icon { width: 40px; padding: 0 !important; justify-content: center; flex-shrink: 0; }
html[data-ui="v2"] body #doc-corpo .btn svg { width: 16px !important; height: 16px !important; }
html[data-ui="v2"] body #doc-corpo .btn-icon:hover { color: #D14343 !important; }
@media (max-width: 760px) {
  html[data-ui="v2"] body #doc-corpo input[id^="doc-pag-valor"] { width: 104px !important; }
  html[data-ui="v2"] body #doc-overlay { align-items: flex-end !important; padding: 0 !important; }
  html[data-ui="v2"] body #doc-overlay > div { border-radius: 28px 28px 0 0 !important; max-height: 96vh !important; }
  html[data-ui="v2"] body #doc-corpo { padding: 12px !important; }
  html[data-ui="v2"] body #doc-corpo > section { padding: 14px; border-radius: 18px; }
}

/* ---------- Meu perfil (profile.js #profile-modal): só aparência ---------- */
html[data-ui="v2"] body #profile-modal { background: var(--v2-scrim) !important; backdrop-filter: none !important; }
html[data-ui="v2"] body #profile-modal > div { background: var(--v2-card) !important; border: 0 !important; border-radius: 28px !important; box-shadow: var(--v2-shadow-pop) !important; max-width: 520px !important; color: var(--v2-ink); overflow: hidden; }
html[data-ui="v2"] body #profile-modal > div > div:first-child { border-bottom: 0 !important; padding: 22px 20px 8px 24px !important; }
html[data-ui="v2"] body #profile-modal-avatar { width: 52px !important; height: 52px !important; background: var(--v2-orange) !important; background-image: none !important; color: var(--v2-orange-ink) !important; font-size: 18px !important; font-weight: 800 !important; }
html[data-ui="v2"] body #profile-modal > div > div:first-child p:first-child { font-size: 19px !important; font-weight: 800 !important; text-transform: none !important; letter-spacing: -.01em !important; color: var(--v2-ink) !important; }
html[data-ui="v2"] body #profile-modal > div > div:first-child p + p { font-size: 13px !important; font-weight: 500 !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--v2-gray) !important; margin-top: 2px; }
html[data-ui="v2"] body #profile-modal > div > div:first-child > button { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; padding: 0 !important; color: var(--v2-gray) !important; }
html[data-ui="v2"] body #profile-modal > div > div:first-child > button:hover { background: var(--v2-bg); color: var(--v2-ink) !important; }
html[data-ui="v2"] body #profile-modal-tabs { margin: 8px 20px 0; padding: 4px !important; gap: 2px !important; background: var(--v2-bg); border-radius: 999px; overflow-x: auto; scrollbar-width: none; }
html[data-ui="v2"] body #profile-modal-tabs button {
  flex: 1; justify-content: center; white-space: nowrap; border: 0 !important; border-radius: 999px !important; padding: 8px 12px !important; box-shadow: none !important;
  background: transparent !important; color: var(--v2-gray) !important; font-size: 13px !important; font-weight: 700 !important; text-transform: none !important; letter-spacing: 0 !important;
}
html[data-ui="v2"] body #profile-modal-tabs button:hover { color: var(--v2-ink) !important; }
html[data-ui="v2"] body #profile-modal-tabs button.bg-orange-600 { background: var(--v2-card) !important; color: var(--v2-ink) !important; box-shadow: 0 1px 3px rgba(0,0,0,.1) !important; }
html[data-ui="v2"] body #profile-modal-tabs button svg { width: 15px !important; height: 15px !important; }
html[data-ui="v2"] body #profile-modal-body { padding: 20px 24px 24px !important; }
html[data-ui="v2"] body #profile-modal-body :is(label, p, span, button, div) { text-transform: none !important; letter-spacing: 0 !important; }
html[data-ui="v2"] body #profile-modal-body label.block { font-size: 12px !important; font-weight: 700 !important; color: var(--v2-ink-2) !important; margin-bottom: 6px !important; }
html[data-ui="v2"] body #profile-modal-body label.block span { color: var(--v2-gray) !important; font-weight: 500; }
html[data-ui="v2"] body #profile-modal-body p.text-\[9px\], html[data-ui="v2"] body #profile-modal-body p.text-\[10px\] { font-size: 12px !important; font-weight: 500 !important; color: var(--v2-gray) !important; line-height: 1.45; }
html[data-ui="v2"] body #profile-modal-body .rounded-full { width: 72px !important; height: 72px !important; background: var(--v2-orange) !important; background-image: none !important; color: var(--v2-orange-ink) !important; font-size: 26px !important; font-weight: 800 !important; --tw-ring-color: var(--v2-line) !important; }
html[data-ui="v2"] body #profile-modal-body label[for="avatar-upload"], html[data-ui="v2"] body #profile-modal-body button[onclick^="_removeAvatar"] {
  height: 38px; border-radius: 12px !important; padding: 0 14px !important; font-size: 13px !important; font-weight: 700 !important; display: inline-flex; align-items: center; gap: 6px;
}
html[data-ui="v2"] body #profile-modal-body label[for="avatar-upload"] { border: 1.5px solid var(--v2-line-strong) !important; background: var(--v2-card) !important; color: var(--v2-ink) !important; }
html[data-ui="v2"] body #profile-modal-body label[for="avatar-upload"]:hover { border-color: var(--v2-blue) !important; color: var(--v2-blue-text) !important; }
html[data-ui="v2"] body #profile-modal-body button[onclick^="_removeAvatar"] { color: #D14343 !important; }
html[data-ui="v2"] body #profile-modal-body button[onclick^="_removeAvatar"]:hover { background: rgba(229,72,77,.1); }
html[data-ui="v2"] body #profile-modal :is(label, button) svg { width: 16px !important; height: 16px !important; }
html[data-ui="v2"] body #profile-modal input:not([type="file"]) {
  height: 48px; border-radius: 14px !important; font-size: 14px !important; font-weight: 600 !important; padding: 0 14px !important; border-width: 1.5px !important; font-family: inherit !important;
}
html[data-ui="v2"] body #profile-modal input:disabled { opacity: .6; }
html[data-ui="v2"] body #profile-modal #mfa-code-input { font-size: 22px !important; font-weight: 800 !important; letter-spacing: .4em !important; font-variant-numeric: tabular-nums; }
html[data-ui="v2"] body #profile-modal-body button[onclick^="_setThemeFromProfile"] {
  border: 1.5px solid var(--v2-line-strong) !important; background: var(--v2-card) !important; color: var(--v2-ink-2) !important; box-shadow: none !important;
  border-radius: 999px !important; height: 40px; padding: 0 16px !important; font-size: 13px !important; font-weight: 700 !important;
}
html[data-ui="v2"] body #profile-modal-body button[onclick^="_setThemeFromProfile"].bg-orange-600 { border-color: var(--v2-blue) !important; background: var(--v2-blue-50) !important; color: var(--v2-blue-text) !important; }
html[data-ui="v2"] body #profile-modal-body button.bg-gradient-to-r {
  height: 50px; border: 0 !important; border-radius: 14px !important; background: var(--v2-blue) !important; background-image: none !important; color: #fff !important;
  font-size: 15px !important; font-weight: 800 !important; box-shadow: 0 8px 20px rgba(0,143,212,.25) !important; padding: 0 !important;
}
html[data-ui="v2"] body #profile-modal-body button.bg-gradient-to-r:hover { background: var(--v2-blue-hover) !important; }
html[data-ui="v2"] body #profile-modal-body button.bg-transparent.border { height: 46px; border-radius: 14px !important; border: 1.5px solid var(--v2-line-strong) !important; color: var(--v2-ink-2) !important; font-size: 14px !important; font-weight: 700 !important; }
html[data-ui="v2"] body #profile-modal-body button.bg-transparent.border:hover { border-color: #D14343 !important; color: #D14343 !important; }
html[data-ui="v2"] body #profile-modal-body button[onclick="_load2FAStatus()"] { font-size: 13px !important; font-weight: 700 !important; color: var(--v2-gray) !important; }
html[data-ui="v2"] body #profile-modal-body :is(.border.p-4, .border.p-3) { border: 0 !important; background: var(--v2-soft) !important; border-radius: 18px; }
html[data-ui="v2"] body #profile-modal-body .border.p-4 > svg:first-child { box-sizing: content-box; width: 20px !important; height: 20px !important; padding: 11px; border-radius: 14px; background: var(--v2-blue-50); color: var(--v2-blue-text) !important; }
html[data-ui="v2"] body #profile-modal-body .border.p-4 p.font-black { font-size: 15px !important; font-weight: 800 !important; color: var(--v2-ink) !important; }
html[data-ui="v2"] body #profile-modal-body .bg-green-950\/10 { background: rgba(31,169,113,.12) !important; }
html[data-ui="v2"] body #profile-modal-body .bg-green-950\/10 > svg:first-child { background: rgba(31,169,113,.18); color: #12764E !important; }
html[data-ui="v2"] body #profile-modal-body .bg-green-950\/10 p.font-black { color: #12764E !important; }
html[data-ui="v2"][data-theme="dark"] body #profile-modal-body .bg-green-950\/10 :is(p.font-black, svg) { color: #4FD49A !important; }
html[data-ui="v2"] body #profile-modal-body .bg-white.p-4 { border-radius: 18px !important; }
html[data-ui="v2"] body #profile-modal-body :is(#mfa-status-area, #passkey-status-area) { font-size: 13px !important; }
@media (max-width: 760px) {
  html[data-ui="v2"] body #profile-modal { align-items: flex-end !important; padding: 0 !important; }
  html[data-ui="v2"] body #profile-modal > div { max-width: none !important; border-radius: 28px 28px 0 0 !important; max-height: 94vh !important; }
  html[data-ui="v2"] body #profile-modal-tabs { margin: 8px 16px 0; }
  html[data-ui="v2"] body #profile-modal-tabs button { padding: 8px 6px !important; }
  html[data-ui="v2"] body #profile-modal-tabs button svg { display: none; }
  html[data-ui="v2"] body #profile-modal-body { padding: 18px 16px 22px !important; }
}

/* ---------- Kit / oferta (#modal-overlay) e equipamento (#equip-modal-overlay): só aparência ---------- */
html[data-ui="v2"] body :is(#modal-overlay, #equip-modal-overlay) { background: var(--v2-scrim) !important; backdrop-filter: none !important; }
html[data-ui="v2"] body :is(#modal-overlay, #equip-modal-overlay) > div {
  background: var(--v2-card) !important; border: 0 !important; border-radius: 28px !important; box-shadow: var(--v2-shadow-pop) !important;
  max-width: 560px !important; color: var(--v2-ink); overflow-x: hidden;
}
html[data-ui="v2"] body :is(#modal-overlay, #equip-modal-overlay) > div > div:first-child { background: transparent !important; border-bottom: 1px solid var(--v2-line) !important; padding: 20px 20px 16px 24px !important; }
html[data-ui="v2"] body :is(#modal-overlay, #equip-modal-overlay) h2 {
  font-size: 20px !important; font-weight: 800 !important; font-style: normal !important; letter-spacing: -.01em !important; text-transform: none !important;
  background: none !important; -webkit-text-fill-color: var(--v2-ink) !important; color: var(--v2-ink) !important; padding: 0 !important; gap: 14px !important;
}
html[data-ui="v2"] body :is(#modal-overlay, #equip-modal-overlay) h2 svg {
  box-sizing: content-box; width: 22px !important; height: 22px !important; padding: 13px; border-radius: 16px; background: var(--v2-blue); color: #fff !important; -webkit-text-fill-color: initial;
}
html[data-ui="v2"] body :is(#modal-overlay, #equip-modal-overlay) > div > div:first-child > button { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; color: var(--v2-gray) !important; }
html[data-ui="v2"] body :is(#modal-overlay, #equip-modal-overlay) > div > div:first-child > button:hover { background: var(--v2-bg); color: var(--v2-ink) !important; }
html[data-ui="v2"] body :is(#modal-overlay, #equip-modal-overlay) > div > div:first-child > button svg { width: 20px !important; height: 20px !important; }
html[data-ui="v2"] body :is(#product-form, #equip-form) { padding: 20px 24px 24px !important; }
html[data-ui="v2"] body :is(#product-form, #equip-form) label { font-size: 12px !important; font-weight: 700 !important; color: var(--v2-ink-2) !important; text-transform: none !important; letter-spacing: 0 !important; }
html[data-ui="v2"] body :is(#product-form, #equip-form) label span { font-size: 14px !important; font-weight: 700 !important; text-transform: none !important; color: var(--v2-ink) !important; }
html[data-ui="v2"] body :is(#product-form, #equip-form) :is(input:not([type="checkbox"]), select) {
  height: 48px; border-radius: 14px !important; font-size: 14px !important; font-weight: 600 !important; font-family: inherit !important;
  letter-spacing: 0 !important; padding: 0 14px !important; border-width: 1.5px !important; font-variant-numeric: tabular-nums;
}
html[data-ui="v2"] body :is(#product-form, #equip-form) :is(input:not([type="checkbox"]), select) { text-transform: none !important; }
html[data-ui="v2"] body :is(#form-price, #equip-preco) { color: #12764E !important; }
html[data-ui="v2"][data-theme="dark"] body :is(#form-price, #equip-preco) { color: #4FD49A !important; }
html[data-ui="v2"] body #form-listPrice { color: var(--v2-gray) !important; }
html[data-ui="v2"] body #equip-ativo { width: 18px; height: 18px; accent-color: var(--v2-blue); }
html[data-ui="v2"] body :is(#product-form, #equip-form) > div:last-child { padding-top: 6px !important; gap: 10px !important; }
html[data-ui="v2"] body :is(#product-form, #equip-form) > div:last-child > button {
  height: 50px; padding: 0 !important; border-radius: 14px !important; font-size: 15px !important; font-weight: 800 !important;
  text-transform: none !important; letter-spacing: 0 !important; transform: none !important; background-image: none !important;
}
html[data-ui="v2"] body :is(#product-form, #equip-form) > div:last-child > button[type="button"] { border: 1.5px solid var(--v2-line-strong) !important; background: var(--v2-card) !important; color: var(--v2-ink) !important; }
html[data-ui="v2"] body :is(#product-form, #equip-form) > div:last-child > button[type="button"]:hover { border-color: var(--v2-blue) !important; color: var(--v2-blue-text) !important; }
html[data-ui="v2"] body :is(#btn-save-modal, #equip-save-btn) { border: 0 !important; background: var(--v2-blue) !important; color: #fff !important; box-shadow: 0 8px 20px rgba(0,143,212,.25) !important; }
html[data-ui="v2"] body :is(#btn-save-modal, #equip-save-btn):hover { background: var(--v2-blue-hover) !important; }
@media (max-width: 760px) {
  html[data-ui="v2"] body :is(#modal-overlay, #equip-modal-overlay) { align-items: flex-end !important; padding: 0 !important; }
  html[data-ui="v2"] body :is(#modal-overlay, #equip-modal-overlay) > div { max-width: none !important; border-radius: 28px 28px 0 0 !important; max-height: 94vh !important; }
  html[data-ui="v2"] body :is(#product-form, #equip-form) { padding: 16px !important; }
  html[data-ui="v2"] body :is(#product-form, #equip-form) .grid { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
  html[data-ui="v2"] body #product-form > .grid:first-of-type { grid-template-columns: 1fr !important; }
}

/* ---------- lista de cidades (cidades.js .cidade-autocomplete-dropdown) ---------- */
html[data-ui="v2"] body .cidade-autocomplete-dropdown {
  top: calc(100% + 6px) !important; background: var(--v2-card) !important; border: 0 !important; border-radius: 16px !important;
  box-shadow: var(--v2-shadow-pop) !important; padding: 6px !important; max-height: 280px !important;
}
html[data-ui="v2"] body .cidade-autocomplete-dropdown .cidade-ac-item {
  display: flex !important; align-items: center; gap: 6px; border: 0 !important; border-radius: 11px !important; padding: 10px 12px !important;
  font-size: 14px !important; font-weight: 600 !important; text-transform: none !important; letter-spacing: 0 !important;
  color: var(--v2-ink) !important; background: transparent !important;
}
html[data-ui="v2"] body .cidade-autocomplete-dropdown .cidade-ac-item::before {
  content: ""; width: 16px; height: 16px; flex-shrink: 0; background: currentColor; opacity: .45;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 4.99-5.54 10.19-7.4 11.8a1 1 0 0 1-1.2 0C9.54 20.19 4 14.99 4 10a8 8 0 0 1 16 0'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 4.99-5.54 10.19-7.4 11.8a1 1 0 0 1-1.2 0C9.54 20.19 4 14.99 4 10a8 8 0 0 1 16 0'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}
html[data-ui="v2"] body .cidade-autocomplete-dropdown .cidade-ac-item span { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--v2-gray) !important; background: var(--v2-bg); border-radius: 999px; padding: 2px 8px; }
html[data-ui="v2"] body .cidade-autocomplete-dropdown .cidade-ac-item:hover { background: var(--v2-bg) !important; }
html[data-ui="v2"] body .cidade-autocomplete-dropdown .cidade-ac-item[class*="bg-orange"] { background: var(--v2-blue-50) !important; color: var(--v2-blue-text) !important; }
html[data-ui="v2"] body .cidade-autocomplete-dropdown .cidade-ac-item[class*="bg-orange"]::before { opacity: 1; }
html[data-ui="v2"] body .cidade-autocomplete-dropdown .cidade-ac-item[class*="bg-orange"] span { background: var(--v2-card); color: var(--v2-blue-text) !important; }

/* ---------- Meu perfil: movimento (ui-v2-modais.js) ---------- */
html[data-ui="v2"] body #profile-modal-tabs { position: relative; }
html[data-ui="v2"] body #profile-modal-tabs > .v2-pind {
  position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: var(--v2-card); box-shadow: 0 1px 3px rgba(0,0,0,.1);
  pointer-events: none; transition: left .32s cubic-bezier(.2,.8,.2,1), width .32s cubic-bezier(.2,.8,.2,1);
}
html[data-ui="v2"] body #profile-modal-tabs.has-pind button { position: relative; z-index: 1; transition: color .2s !important; }
html[data-ui="v2"] body #profile-modal-tabs.has-pind button.bg-orange-600 { background: transparent !important; box-shadow: none !important; }
html[data-ui="v2"] body #profile-modal > div.v2-hanim { transition: height .28s cubic-bezier(.2,.8,.2,1); }
@media (prefers-reduced-motion: no-preference) {
  html[data-ui="v2"] body #profile-modal { animation: v2-pfade .22s ease-out; }
  html[data-ui="v2"] body #profile-modal > div { animation: v2-pup .3s cubic-bezier(.2,.8,.2,1); }
  html[data-ui="v2"] body #profile-modal:not(.v2-sem-entrada) #profile-modal-body > * > * { animation: v2-pitem .3s both; }
  html[data-ui="v2"] body #profile-modal:not(.v2-sem-entrada) #profile-modal-body > * > :nth-child(2) { animation-delay: 40ms; }
  html[data-ui="v2"] body #profile-modal:not(.v2-sem-entrada) #profile-modal-body > * > :nth-child(3) { animation-delay: 80ms; }
  html[data-ui="v2"] body #profile-modal:not(.v2-sem-entrada) #profile-modal-body > * > :nth-child(4) { animation-delay: 120ms; }
  html[data-ui="v2"] body #profile-modal:not(.v2-sem-entrada) #profile-modal-body > * > :nth-child(n+5) { animation-delay: 160ms; }
  html[data-ui="v2"] body #profile-modal.v2-sem-entrada,
  html[data-ui="v2"] body #profile-modal.v2-sem-entrada > div { animation: none; }
  html[data-ui="v2"] body #profile-modal-body.v2-pin-r { animation: v2-pinr .26s cubic-bezier(.2,.8,.2,1); }
  html[data-ui="v2"] body #profile-modal-body.v2-pin-l { animation: v2-pinl .26s cubic-bezier(.2,.8,.2,1); }
  html[data-ui="v2"] body #profile-modal.v2-saindo { animation: v2-pfadeout .19s ease-in forwards; pointer-events: none; }
  html[data-ui="v2"] body #profile-modal.v2-saindo > div { animation: v2-pdown .19s ease-in forwards; }
}
@keyframes v2-pfade { from { opacity: 0; } to { opacity: 1; } }
@keyframes v2-pfadeout { from { opacity: 1; } to { opacity: 0; } }
@keyframes v2-pup { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes v2-pdown { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(8px) scale(.98); } }
@keyframes v2-pitem { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes v2-pinr { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes v2-pinl { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }

/* ---------- Registrar contato (crm-fila.js #fila-concluir-overlay): só aparência ---------- */
html[data-ui="v2"] body #fila-concluir-overlay { background: var(--v2-scrim) !important; backdrop-filter: none !important; }
html[data-ui="v2"] body #fila-concluir-overlay > div { background: var(--v2-card) !important; border: 0 !important; border-radius: 28px !important; box-shadow: var(--v2-shadow-pop) !important; color: var(--v2-ink); }
html[data-ui="v2"] body #fila-concluir-overlay > div > div:first-child { background: none !important; border-bottom: 0 !important; padding: 22px 20px 6px 24px !important; }
html[data-ui="v2"] body #fila-concluir-overlay > div > div:first-child p { font-size: 12px !important; font-weight: 700 !important; letter-spacing: 0 !important; text-transform: none !important; color: #12764E !important; }
html[data-ui="v2"] body #fila-concluir-overlay h2 { font-size: 19px !important; font-weight: 800 !important; text-transform: none !important; letter-spacing: -.01em !important; color: var(--v2-ink) !important; }
html[data-ui="v2"] body #fila-concluir-overlay > div > div:first-child > button { width: 36px; height: 36px; border-radius: 12px !important; display: grid; place-items: center; color: var(--v2-gray) !important; }
html[data-ui="v2"] body #fila-concluir-overlay > div > div:first-child > button:hover { background: var(--v2-bg); color: var(--v2-ink) !important; }
html[data-ui="v2"] body #fila-concluir-overlay > div > div:first-child > button svg { width: 20px !important; height: 20px !important; }
html[data-ui="v2"] body #fila-concluir-overlay > div > div + div { padding: 14px 24px 24px !important; }
html[data-ui="v2"] body #fila-concluir-overlay .border-t { border-color: var(--v2-line) !important; }
html[data-ui="v2"] body #fila-concluir-overlay p.text-\[10px\] { font-size: 12.5px !important; font-weight: 700 !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--v2-ink-2) !important; margin-bottom: 8px !important; }
html[data-ui="v2"] body #fila-concluir-overlay p.text-\[10px\] span { color: var(--v2-gray) !important; font-weight: 500; }
html[data-ui="v2"] body #fila-concluir-overlay :is(.fila-tipo-btn, .fila-prox-btn) {
  border: 1.5px solid var(--v2-line-strong) !important; background: var(--v2-card) !important; color: var(--v2-ink-2) !important; border-radius: 14px !important;
  font-size: 12.5px !important; font-weight: 700 !important; letter-spacing: 0 !important; text-transform: none !important; transition: border-color .15s, background .15s, color .15s;
}
html[data-ui="v2"] body #fila-concluir-overlay .fila-tipo-btn { padding: 12px 4px !important; gap: 6px !important; }
html[data-ui="v2"] body #fila-concluir-overlay .fila-tipo-btn svg { width: 18px !important; height: 18px !important; }
html[data-ui="v2"] body #fila-concluir-overlay .fila-prox-btn { height: 40px; padding: 0 4px !important; border-radius: 999px !important; }
html[data-ui="v2"] body #fila-concluir-overlay :is(.fila-tipo-btn, .fila-prox-btn):hover { border-color: var(--v2-blue) !important; color: var(--v2-ink) !important; }
html[data-ui="v2"] body #fila-concluir-overlay :is(.fila-tipo-btn.border-green-500, .fila-prox-btn.border-orange-500) { border-color: var(--v2-blue) !important; background: var(--v2-blue-50) !important; color: var(--v2-blue-text) !important; }
html[data-ui="v2"] body #fila-concluir-overlay :is(textarea, input) {
  border: 1.5px solid var(--v2-line-strong) !important; background: var(--v2-card) !important; color: var(--v2-ink) !important; border-radius: 14px !important;
  font-size: 14px !important; font-weight: 600 !important; padding: 11px 14px !important; font-family: inherit !important;
}
html[data-ui="v2"] body #fila-concluir-overlay input { height: 46px; }
html[data-ui="v2"] body #fila-concluir-overlay :is(textarea, input):focus { border-color: var(--v2-blue) !important; outline: 0; box-shadow: 0 0 0 3px color-mix(in srgb, var(--v2-blue) 25%, transparent) !important; }
html[data-ui="v2"] body #fila-concluir-overlay :is(textarea, input)::placeholder { color: var(--v2-gray) !important; font-weight: 500; }
html[data-ui="v2"] body #fila-concluir-overlay input:disabled { opacity: .5; }
html[data-ui="v2"] body #fila-concluir-overlay #fila-salvar { height: 50px; border: 0 !important; border-radius: 14px !important; background: var(--v2-blue) !important; color: #fff !important; font-size: 15px !important; font-weight: 800 !important; text-transform: none !important; letter-spacing: 0 !important; box-shadow: 0 6px 16px rgba(0,143,212,.25) !important; }
html[data-ui="v2"] body #fila-concluir-overlay #fila-salvar:hover { background: var(--v2-blue-hover) !important; }
html[data-ui="v2"] body #fila-concluir-overlay #fila-erro { border-radius: 12px; border: 0 !important; background: rgba(209,67,67,.1) !important; color: #B42318 !important; font-size: 13px !important; }
@media (prefers-reduced-motion: no-preference) {
  html[data-ui="v2"] body #fila-concluir-overlay { animation: v2-pfade .22s ease-out; }
  html[data-ui="v2"] body #fila-concluir-overlay > div { animation: v2-pup .3s cubic-bezier(.2,.8,.2,1) !important; }
}

/* ---------- aviso de nova versão (update-notice.js #update-notice-banner.v2-upd) ---------- */
html[data-ui="v2"] body .v2-upd {
  position: fixed; z-index: 99999; right: 20px; bottom: 20px; width: min(340px, calc(100% - 24px));
  display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: 22px;
  background: var(--v2-card); color: var(--v2-ink); box-shadow: var(--v2-shadow-pop); font-family: inherit;
  animation: v2-updin .4s cubic-bezier(.2,.8,.2,1) both;
}
html[data-ui="v2"] .v2-upd .h { display: flex; gap: 12px; align-items: flex-start; }
html[data-ui="v2"] .v2-upd .ic { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; flex-shrink: 0; background: var(--v2-blue-50); color: var(--v2-blue-text); }
html[data-ui="v2"] .v2-upd .ic svg { width: 19px; height: 19px; }
html[data-ui="v2"] .v2-upd .tx { flex: 1; min-width: 0; }
html[data-ui="v2"] .v2-upd b { display: block; font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
html[data-ui="v2"] .v2-upd p { margin: 3px 0 0; font-size: 13px; line-height: 1.45; font-weight: 500; color: var(--v2-ink-2); }
html[data-ui="v2"] body .v2-upd button { font-family: inherit; cursor: pointer; border: 0; }
html[data-ui="v2"] body .v2-upd .x { width: 30px; height: 30px; margin: -4px -4px 0 0; border-radius: 10px !important; display: grid; place-items: center; background: none; color: var(--v2-gray); padding: 0; flex-shrink: 0; }
html[data-ui="v2"] body .v2-upd .x:hover { background: var(--v2-bg); color: var(--v2-ink); }
html[data-ui="v2"] .v2-upd .x svg { width: 16px; height: 16px; }
html[data-ui="v2"] .v2-upd .a { display: flex; gap: 8px; }
html[data-ui="v2"] body .v2-upd .a button { flex: 1; height: 44px; border-radius: 13px !important; font-size: 13.5px; font-weight: 800; transition: background .15s, filter .15s; }
html[data-ui="v2"] body .v2-upd .l { background: var(--v2-bg); color: var(--v2-ink-2); }
html[data-ui="v2"] body .v2-upd .l:hover { color: var(--v2-ink); }
html[data-ui="v2"] body .v2-upd .r { background: var(--v2-blue); color: #fff; }
html[data-ui="v2"] body .v2-upd .r:hover { background: var(--v2-blue-hover); }
@keyframes v2-updin { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  /* celular: centralizado, acima da barra de navegação de baixo */
  html[data-ui="v2"] body .v2-upd { left: 12px; right: 12px; width: auto; bottom: calc(96px + env(safe-area-inset-bottom)); }
  html[data-ui="v2"] body:not(:has(#v2-mnav)) .v2-upd { bottom: calc(12px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { html[data-ui="v2"] body .v2-upd { animation: none; } }

/* ---------- precificação interna (orcamento-dre.js) no padrão Clara ---------- */
html[data-ui="v2"] body #orc-dre-overlay { background: var(--v2-scrim) !important; backdrop-filter: none !important; }
html[data-ui="v2"] body #orc-dre-overlay .orc-box { background: var(--v2-bg) !important; border: 0 !important; border-radius: 28px !important; overflow: hidden; box-shadow: var(--v2-shadow-pop) !important; }
html[data-ui="v2"] body #orc-dre-overlay .orc-head { background: var(--v2-card) !important; border-bottom: 1px solid var(--v2-line) !important; padding: 18px 24px !important; }
html[data-ui="v2"] body #orc-dre-overlay .orc-tag { display: inline-flex !important; width: fit-content; text-transform: none !important; letter-spacing: 0 !important; font-size: 12px !important; font-weight: 700 !important; color: var(--v2-blue-text) !important; background: var(--v2-blue-50); border-radius: 99px; padding: 3px 10px; }
html[data-ui="v2"] body #orc-dre-overlay .orc-title { color: var(--v2-ink) !important; font-size: 20px !important; font-weight: 800 !important; letter-spacing: -.01em; margin-top: 8px !important; text-transform: none !important; }
html[data-ui="v2"] body #orc-dre-overlay .orc-cli { color: var(--v2-ink-2) !important; font-size: 13px !important; font-weight: 600 !important; text-transform: none !important; }
html[data-ui="v2"] body #orc-dre-overlay #orc-salvo-info { font-size: 12px !important; font-weight: 500 !important; color: var(--v2-gray) !important; }
html[data-ui="v2"] body #orc-dre-overlay #orc-salvo-info.text-yellow-500 { color: var(--v2-orange-text) !important; }
html[data-ui="v2"] body #orc-dre-overlay .orc-x { width: 40px !important; height: 40px !important; border-radius: 12px !important; border: 0 !important; background: var(--v2-bg) !important; color: var(--v2-ink-2) !important; }
html[data-ui="v2"] body #orc-dre-overlay .orc-x:hover { background: var(--v2-blue-50) !important; color: var(--v2-blue-text) !important; }
html[data-ui="v2"] body #orc-dre-overlay .orc-dre { background: var(--v2-card) !important; border: 0 !important; border-radius: 24px !important; box-shadow: var(--v2-shadow); overflow: hidden; }
html[data-ui="v2"] body #orc-dre-overlay .orc-dre-h { background: var(--v2-card) !important; border-bottom: 1px solid var(--v2-line) !important; padding: 14px 20px !important; }
html[data-ui="v2"] body #orc-dre-overlay .orc-dre-t { text-transform: none !important; letter-spacing: 0 !important; font-size: 15px !important; font-weight: 800 !important; color: var(--v2-ink) !important; }
html[data-ui="v2"] body #orc-dre-overlay .orc-dre-s { text-transform: none !important; letter-spacing: 0 !important; font-size: 12px !important; font-weight: 600 !important; color: var(--v2-gray) !important; }
html[data-ui="v2"] body #orc-dre-overlay .orc-dre .divide-y > * + * { border-color: var(--v2-line) !important; }
html[data-ui="v2"] body #orc-dre-overlay .orc-row { padding: 8px 20px !important; }
html[data-ui="v2"] body #orc-dre-overlay .orc-lbl { color: var(--v2-ink) !important; font-size: 14px !important; font-weight: 600 !important; text-transform: none !important; }
html[data-ui="v2"] body #orc-dre-overlay .orc-lbl span { color: var(--v2-gray) !important; font-size: 12px !important; font-weight: 500 !important; }
html[data-ui="v2"] body #orc-dre-overlay .orc-row.rec .orc-lbl, html[data-ui="v2"] body #orc-dre-overlay .orc-row.tot .orc-lbl, html[data-ui="v2"] body #orc-dre-overlay .orc-row.fin .orc-lbl { font-weight: 800 !important; }
html[data-ui="v2"] body #orc-dre-overlay .orc-row.tot { background: var(--v2-soft) !important; }
html[data-ui="v2"] body #orc-dre-overlay .orc-row.fin { background: var(--v2-blue-50) !important; }
html[data-ui="v2"] body #orc-dre-overlay .orc-row.fin .orc-lbl { color: var(--v2-blue-text) !important; font-size: 15px !important; }
html[data-ui="v2"] body #orc-dre-overlay #orc-tot-custos, html[data-ui="v2"] body #orc-dre-overlay #orc-tot-lucroop { color: var(--v2-ink) !important; }
html[data-ui="v2"] body #orc-dre-overlay .orc-money input { border-radius: 12px !important; border: 1px solid var(--v2-line-strong) !important; background: var(--v2-card) !important; color: var(--v2-ink) !important; height: 36px; font-weight: 700 !important; }
html[data-ui="v2"] body #orc-dre-overlay .orc-money input:focus { border-color: var(--v2-blue) !important; box-shadow: 0 0 0 3px var(--v2-blue-50) !important; }
html[data-ui="v2"] body #orc-dre-overlay .orc-money > span { color: var(--v2-gray) !important; }
html[data-ui="v2"] body #orc-dre-overlay .orc-extras { background: var(--v2-soft) !important; padding: 12px 20px !important; }
html[data-ui="v2"] body #orc-dre-overlay .orc-sec, html[data-ui="v2"] body #orc-dre-overlay .orc-vazio { text-transform: none !important; letter-spacing: 0 !important; font-size: 12.5px !important; font-weight: 700 !important; color: var(--v2-ink-2) !important; }
html[data-ui="v2"] body #orc-dre-overlay .orc-vazio { font-weight: 500 !important; color: var(--v2-gray) !important; }
html[data-ui="v2"] body #orc-dre-overlay .orc-link { text-transform: none !important; letter-spacing: 0 !important; font-size: 13px !important; font-weight: 700 !important; color: var(--v2-blue-text) !important; }
html[data-ui="v2"] body #orc-dre-overlay .orc-extra :is(input, select) { border-radius: 10px !important; border: 1px solid var(--v2-line-strong) !important; background: var(--v2-card) !important; color: var(--v2-ink) !important; height: 34px; font-size: 13px !important; }
html[data-ui="v2"] body #orc-dre-overlay .orc-side { background: transparent !important; border-color: var(--v2-line) !important; }
html[data-ui="v2"] body #orc-dre-overlay .orc-kpi { background: var(--v2-card) !important; border: 0 !important; border-radius: 20px !important; box-shadow: var(--v2-shadow); padding: 14px 16px !important; }
html[data-ui="v2"] body #orc-dre-overlay .orc-kpi-l { text-transform: none !important; letter-spacing: 0 !important; font-size: 12px !important; font-weight: 600 !important; color: var(--v2-gray) !important; }
html[data-ui="v2"] body #orc-dre-overlay .orc-kpi .num { font-size: 20px !important; font-weight: 800 !important; letter-spacing: -.01em; }
html[data-ui="v2"] body #orc-dre-overlay #orc-k-receita, html[data-ui="v2"] body #orc-dre-overlay #orc-k-lucro, html[data-ui="v2"] body #orc-dre-overlay #orc-k-custos { color: var(--v2-ink) !important; }
html[data-ui="v2"] body #orc-dre-overlay .orc-alvo { background: var(--v2-card) !important; border: 0 !important; border-radius: 20px !important; box-shadow: var(--v2-shadow); padding: 14px 16px !important; }
html[data-ui="v2"] body #orc-dre-overlay .orc-alvo > span:first-child { color: var(--v2-ink-2) !important; font-size: 13px !important; font-weight: 600 !important; }
html[data-ui="v2"] body #orc-dre-overlay .orc-alvo b, html[data-ui="v2"] body #orc-dre-overlay #orc-venda-alvo { color: var(--v2-ink) !important; }
html[data-ui="v2"] body #orc-dre-overlay #orc-venda-alvo { font-size: 16px !important; font-weight: 800 !important; }
html[data-ui="v2"] body #orc-dre-overlay .orc-usar { border: 0 !important; border-radius: 10px !important; background: var(--v2-blue-50) !important; color: var(--v2-blue-text) !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 13px !important; font-weight: 700 !important; padding: 7px 14px !important; }
html[data-ui="v2"] body #orc-dre-overlay .orc-usar:hover { background: var(--v2-blue) !important; color: #fff !important; }
html[data-ui="v2"] body #orc-dre-overlay .orc-btn { min-height: 44px; border-radius: 14px !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 14px !important; font-weight: 700 !important; background: var(--v2-card) !important; border: 1px solid var(--v2-line-strong) !important; color: var(--v2-ink) !important; }
html[data-ui="v2"] body #orc-dre-overlay .orc-btn:hover { background: var(--v2-hover) !important; }
html[data-ui="v2"] body #orc-dre-overlay .orc-btn.pri { background: var(--v2-orange) !important; border-color: var(--v2-orange) !important; color: var(--v2-orange-ink) !important; }
html[data-ui="v2"] body #orc-dre-overlay .orc-btn.pri:hover { background: #F29A05 !important; }
html[data-ui="v2"] body #orc-dre-overlay .orc-nota { font-size: 12px !important; font-weight: 500 !important; color: var(--v2-gray) !important; }
/* Linhas de custo com % / R$ (centro de custo da unidade) */
html[data-ui="v2"] body #orc-dre-overlay .orc-money-sm { width: 104px; }
html[data-ui="v2"] body #orc-dre-overlay .orc-money-sm input { height: 34px; }
html[data-ui="v2"] body #orc-dre-overlay .orc-seg { display: inline-flex; border: 1px solid var(--v2-line-strong); border-radius: 99px; overflow: hidden; background: var(--v2-card); flex-shrink: 0; }
html[data-ui="v2"] body #orc-dre-overlay .orc-seg button { padding: 0 11px; height: 30px; font-size: 13px; font-weight: 700; color: var(--v2-ink-2); background: transparent; border: 0; }
html[data-ui="v2"] body #orc-dre-overlay .orc-seg button.on { background: var(--v2-blue); color: #fff; }
html[data-ui="v2"] body #orc-dre-overlay .orc-base { width: 112px; height: 34px; border-radius: 10px; border: 1px solid var(--v2-line-strong); background: var(--v2-card); color: var(--v2-ink); font-size: 12.5px; font-weight: 600; padding: 0 6px; }
html[data-ui="v2"] body #orc-dre-overlay .orc-base-fixo { display: inline-flex; align-items: center; border-color: transparent; background: transparent; color: var(--v2-gray); }
html[data-ui="v2"] body #orc-dre-overlay .orc-lock { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--v2-gray); }
html[data-ui="v2"] body #orc-dre-overlay .orc-adj { display: inline-flex; align-items: center; gap: 2px; font-size: 11px; font-weight: 700; color: var(--v2-orange-text); background: var(--v2-orange-50); border-radius: 99px; padding: 2px 4px 2px 8px; }
html[data-ui="v2"] body #orc-dre-overlay .orc-adj-x { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 99px; color: var(--v2-orange-text); }
html[data-ui="v2"] body #orc-dre-overlay .orc-adj-x:hover { background: var(--v2-orange); color: var(--v2-orange-ink); }
html[data-ui="v2"] body #orc-dre-overlay .orc-res { color: var(--v2-ink) !important; }
html[data-ui="v2"] body #orc-dre-overlay #orc-linhas .orc-row + .orc-row { border-top: 1px solid var(--v2-line); }
html[data-ui="v2"] body #orc-dre-overlay .orc-aviso { color: var(--v2-orange-text) !important; font-weight: 600; }
html[data-ui="v2"] body #orc-dre-overlay :is(#orc-k-margem, #orc-tot-lucroliq).text-emerald-400 { color: #12704A !important; }
html[data-ui="v2"][data-theme="dark"] body #orc-dre-overlay :is(#orc-k-margem, #orc-tot-lucroliq).text-emerald-400 { color: #7BE0B5 !important; }
html[data-ui="v2"] body #orc-dre-overlay :is(#orc-k-margem, #orc-tot-lucroliq).text-red-400 { color: var(--v2-red) !important; }
@media (max-width: 640px) {
  html[data-ui="v2"] body #orc-dre-overlay { padding: 8px !important; }
  html[data-ui="v2"] body #orc-dre-overlay .orc-box { border-radius: 22px !important; }
  html[data-ui="v2"] body #orc-dre-overlay .orc-head { padding: 14px 16px !important; }
  html[data-ui="v2"] body #orc-dre-overlay .orc-row { padding: 8px 12px !important; gap: 8px !important; }
  html[data-ui="v2"] body #orc-dre-overlay .orc-lbl { font-size: 13px !important; }
  html[data-ui="v2"] body #orc-dre-overlay .orc-money { width: 116px !important; }
  html[data-ui="v2"] body #orc-dre-overlay .orc-money-sm { width: 92px !important; }
  html[data-ui="v2"] body #orc-dre-overlay .orc-base { width: 100px; }
  html[data-ui="v2"] body #orc-dre-overlay .orc-dre-h { padding: 12px 14px !important; }
  html[data-ui="v2"] body #orc-dre-overlay .orc-extras { padding: 12px 14px !important; }
  html[data-ui="v2"] body #orc-dre-overlay .orc-kpi .num { font-size: 17px !important; }
}

/* ---------- precificação no celular (orcamento-dre.js → htmlMobile) ----------
   Tela cheia: resumo fixo no topo, cartões rolando, barra de ações embaixo. */
html[data-ui] body #orc-dre-overlay.orc-mob { display: flex; flex-direction: column; height: 100%; height: 100dvh; padding: 0 !important; background: var(--v2-bg) !important; backdrop-filter: none !important; color: var(--v2-ink); }
html[data-ui] body #orc-dre-overlay.orc-mob .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
html[data-ui] body #orc-dre-overlay.orc-mob input, html[data-ui] body #orc-dre-overlay.orc-mob select { font-size: 16px !important; } /* menor que 16px o iPhone dá zoom ao focar */
html[data-ui] body #orc-dre-overlay.orc-mob input:focus, html[data-ui] body #orc-dre-overlay.orc-mob select:focus { border-color: var(--v2-blue) !important; box-shadow: 0 0 0 3px var(--v2-blue-50) !important; outline: none; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-top { flex: none; background: var(--v2-card); border-bottom: 1px solid var(--v2-line); padding: 12px 12px 10px; padding-top: max(12px, env(safe-area-inset-top)); }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-head { display: flex; align-items: flex-start; gap: 10px; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-hx { flex: 1; min-width: 0; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; color: var(--v2-blue-text); background: var(--v2-blue-50); border-radius: 99px; padding: 2px 9px; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-tag svg { width: 12px; height: 12px; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-tit { font-size: 15.5px; font-weight: 800; margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-ui] body #orc-dre-overlay.orc-mob #orc-salvo-info { font-size: 12px; font-weight: 600; color: var(--v2-gray); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-ui] body #orc-dre-overlay.orc-mob #orc-salvo-info.text-yellow-500 { color: var(--v2-orange-text); }
html[data-ui] body #orc-dre-overlay.orc-mob #orc-salvo-info span { color: inherit; font-weight: 500; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-x { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--v2-bg); color: var(--v2-ink-2); }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-x svg { width: 18px; height: 18px; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-kpi { min-width: 0; background: var(--v2-bg); border-radius: 12px; padding: 7px 9px; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-kpi span { display: block; font-size: 11px; font-weight: 600; color: var(--v2-gray); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-kpi b { display: block; margin-top: 1px !important; font-size: 14.5px !important; font-weight: 800; color: var(--v2-ink); overflow: hidden; text-overflow: ellipsis; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-kpi-mg { background: color-mix(in srgb, #12A06A 12%, var(--v2-card)); }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-kpi-mg.baixa { background: color-mix(in srgb, var(--v2-red) 13%, var(--v2-card)); }

html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-corpo { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 10px 12px 16px; display: flex; flex-direction: column; gap: 10px; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-card { background: var(--v2-card); border-radius: 20px; padding: 12px 14px; box-shadow: var(--v2-shadow); }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-l { display: block; font-size: 12.5px; font-weight: 600; color: var(--v2-ink-2); }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-campo { position: relative; margin: 4px 0 10px; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-campo span { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 13px; font-weight: 700; color: var(--v2-gray); }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-campo input { width: 100%; height: 46px; padding: 0 12px 0 36px; border: 1px solid var(--v2-line-strong); border-radius: 12px; background: var(--v2-card); color: var(--v2-ink); text-align: right; font-size: 18px !important; font-weight: 800; font-variant-numeric: tabular-nums; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-dims { width: 100%; display: flex; align-items: center; gap: 8px; min-height: 44px; padding-top: 6px; border-top: 1px solid var(--v2-line); font-size: 13.5px; font-weight: 600; color: var(--v2-ink); text-align: left; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-dims > svg:first-child { width: 18px; height: 18px; color: var(--v2-blue); }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-dims span { flex: 1; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-ml-ch { width: 18px; height: 18px; flex: none; color: var(--v2-gray); transition: transform .15s; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-dims[aria-expanded="true"] .orc-ml-ch { transform: rotate(180deg); }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-dimgrid:not([hidden]) { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 6px; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-dimgrid label { font-size: 12px; font-weight: 600; color: var(--v2-gray); }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-dimgrid input, html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-pct input { width: 100%; height: 40px; margin-top: 3px; padding: 0 10px; border: 1px solid var(--v2-line-strong); border-radius: 10px; background: var(--v2-card); color: var(--v2-ink); text-align: right; font-weight: 700; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-alvo { display: flex; align-items: center; gap: 10px; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-alvo-tx { flex: 1; min-width: 0; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-pct { display: inline-flex; align-items: center; gap: 3px; font-weight: 800; color: var(--v2-ink); }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-pct input { width: 62px; height: 34px; margin: 0; text-align: center; }
html[data-ui] body #orc-dre-overlay.orc-mob #orc-venda-alvo { display: block; margin-top: 4px; white-space: normal; font-size: 17px !important; font-weight: 800; color: var(--v2-ink); }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-usar { flex: none; height: 42px; padding: 0 18px; border-radius: 12px; background: var(--v2-blue-50); color: var(--v2-blue-text); font-size: 14px; font-weight: 700; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-ch { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 15px; font-weight: 800; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-sub { margin-top: 2px; font-size: 12px; font-weight: 500; color: var(--v2-gray); }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-link { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; font-size: 14px; font-weight: 700; color: var(--v2-blue-text); }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-link svg { width: 16px; height: 16px; }

/* linhas de custo: resumo + editor que abre ao tocar */
html[data-ui] body #orc-dre-overlay.orc-mob #orc-linhas { margin-top: 4px; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-ml + .orc-ml { border-top: 1px solid var(--v2-line); }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-ml-top { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 9px 0; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-ml-top[data-orc-abrir] { cursor: pointer; -webkit-tap-highlight-color: transparent; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-ml-nome { flex: 1; min-width: 0; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-ml-t { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; font-size: 14px; font-weight: 700; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-ml-ic { width: 13px; height: 13px; color: var(--v2-gray); }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-ml-r { margin-top: 1px; font-size: 12px; font-weight: 500; color: var(--v2-gray); }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-ml-v { font-size: 14px; font-weight: 800; color: var(--v2-ink); }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-adj-x { width: 26px; height: 26px; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-ml-ed { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 -4px 10px; padding: 10px; border-radius: 14px; background: var(--v2-soft); }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-ml-ed .orc-seg button { height: 38px; padding: 0 16px; font-size: 14px; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-ml-ed .orc-money-sm { flex: 1; min-width: 110px; width: auto !important; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-ml-ed .orc-money-sm input { height: 40px !important; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-ml-ed .orc-base { width: 100% !important; height: 40px; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-ml-ed .orc-lock { font-size: 13px; }

html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-extras { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-extras .orc-extra { flex-wrap: wrap; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-extras .orc-extra select { flex: none; height: 40px !important; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-extras .orc-extra [data-orc-ex-field="valor"] { flex: 1; min-width: 0; width: auto !important; height: 40px !important; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-extras .orc-extra [data-orc-ex-field="rotulo"] { order: 3; flex: 1 1 100%; height: 40px !important; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-extras .orc-extra button { width: 40px; height: 40px; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-extras .orc-vazio { font-size: 12.5px !important; }

html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-res { padding: 8px 14px; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-rr { display: flex; align-items: center; gap: 8px; padding: 7px 0; font-size: 14px; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-rr span { flex: 1; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-rr b { width: auto !important; padding: 0 !important; font-size: 14.5px !important; font-weight: 800; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-rr.fin { margin: 4px -4px 2px; padding: 10px; border-radius: 12px; background: var(--v2-blue-50); }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-rr.fin span { font-size: 15px; font-weight: 800; color: var(--v2-blue-text); }
html[data-ui] body #orc-dre-overlay.orc-mob :is(#orc-tot-custos, #orc-tot-lucroop) { color: var(--v2-ink) !important; }
html[data-ui] body #orc-dre-overlay.orc-mob #orc-linha-ded .orc-ml { border-top: 1px solid var(--v2-line); }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-nota { margin: 0; padding: 0 6px; font-size: 12px; line-height: 1.5; color: var(--v2-gray); }

html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-bar { flex: none; background: var(--v2-card); border-top: 1px solid var(--v2-line); padding: 8px 12px; padding-bottom: max(10px, env(safe-area-inset-bottom)); }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-apl { display: flex; align-items: center; gap: 8px; padding: 0 2px 8px; font-size: 12.5px; color: var(--v2-ink-2); }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-apl > span { flex: 1; min-width: 0; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-apl b { color: var(--v2-ink); }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-apl button { flex: none; height: 36px; padding: 0 12px; border-radius: 10px; background: var(--v2-blue-50); color: var(--v2-blue-text); font-size: 13px; font-weight: 700; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-btns { display: flex; gap: 8px; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-mais { flex: none; width: 52px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: var(--v2-bg); color: var(--v2-ink-2); }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-salvar { flex: 1; height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 14px; background: var(--v2-orange); color: var(--v2-orange-ink); font-size: 15.5px; font-weight: 800; }
html[data-ui] body #orc-dre-overlay.orc-mob :is(.orc-m-salvar, .orc-m-mais) svg { width: 20px; height: 20px; }

html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-sheet { position: absolute; inset: 0; z-index: 5; display: flex; align-items: flex-end; background: var(--v2-scrim); }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-sheet[hidden] { display: none; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-sheet-in { width: 100%; display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; padding-bottom: max(16px, env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; background: var(--v2-card); }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-alca { width: 40px; height: 4px; margin: 0 auto 6px; border-radius: 9px; background: var(--v2-line-strong); }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-sheet-in > b { padding: 0 6px 4px; font-size: 15px; font-weight: 800; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-sheet-in button { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 14px; border-radius: 14px; background: var(--v2-bg); color: var(--v2-ink); font-size: 15px; font-weight: 700; text-align: left; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-sheet-in button svg { width: 18px; height: 18px; }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-sheet-in button.perigo { background: color-mix(in srgb, var(--v2-red) 12%, var(--v2-card)); color: var(--v2-red); }
html[data-ui] body #orc-dre-overlay.orc-mob .orc-m-sheet-in button.cancelar { justify-content: center; background: transparent; color: var(--v2-ink-2); }

/* ==========================================
   Painel "Proposta pronta!" (proposta-builder.js · showProposalSharePanel)
   WhatsApp é o único botão cheio; copiar/abrir/PDF viram quadrados lado a lado.
   ========================================== */
html[data-ui="v2"] body #pb-share-overlay {
  --pbs-green-50: rgba(31,169,113,.12); --pbs-green-text: #14774F;
  background: var(--v2-scrim) !important; backdrop-filter: none !important;
}
html[data-ui="v2"][data-theme="dark"] body #pb-share-overlay { --pbs-green-50: rgba(31,169,113,.18); --pbs-green-text: #4FD3A0; }
html[data-ui="v2"] body #pb-share-overlay .pbs-card {
  background: var(--v2-card) !important; border: 0 !important; border-radius: 28px !important;
  box-shadow: var(--v2-shadow-pop) !important; max-width: 420px !important; color: var(--v2-ink);
}
html[data-ui="v2"] body #pb-share-overlay .pbs-hd {
  display: grid !important; grid-template-columns: auto 1fr auto; column-gap: 14px; align-items: center;
  background: transparent !important; border: 0 !important; padding: 22px 20px 4px 24px !important;
}
html[data-ui="v2"] .pbs-ic { grid-row: span 2; width: 48px; height: 48px; border-radius: 16px; background: var(--v2-green); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(31,169,113,.28); }
html[data-ui="v2"] .pbs-ic svg { width: 24px; height: 24px; stroke-width: 3; }
html[data-ui="v2"] body #pb-share-overlay .pbs-tit {
  grid-column: 2; margin: 0 0 2px; font-size: 20px !important; line-height: 1.25 !important; font-weight: 800 !important; letter-spacing: -.01em !important;
  text-transform: none !important; color: var(--v2-ink) !important;
}
html[data-ui="v2"] body #pb-share-overlay .pbs-sub {
  grid-column: 2; margin: 0; font-size: 13px !important; font-weight: 500; line-height: 1.4; color: var(--v2-ink-2) !important;
}
html[data-ui="v2"] body #pb-share-overlay .pbs-sub b { color: var(--v2-ink); font-weight: 800; }
html[data-ui="v2"] body #pb-share-overlay .pbs-x { grid-column: 3; grid-row: 1 / span 2; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; color: var(--v2-gray) !important; }
html[data-ui="v2"] body #pb-share-overlay .pbs-x:hover { background: var(--v2-bg); color: var(--v2-ink) !important; }
html[data-ui="v2"] body #pb-share-overlay .pbs-body { padding: 16px 24px 20px !important; }
html[data-ui="v2"] body #pb-share-overlay .pbs-body > * + * { margin-top: 10px !important; }

html[data-ui="v2"] body #pb-share-overlay .pbs-wa {
  height: 54px; border: 0 !important; border-radius: 14px !important; background: var(--v2-green) !important; color: #fff !important;
  font-size: 15px !important; font-weight: 800 !important; letter-spacing: 0 !important; text-transform: none !important;
  box-shadow: 0 8px 20px rgba(31,169,113,.3) !important; display: flex; align-items: center; justify-content: center; gap: 8px; transform: none !important;
}
html[data-ui="v2"] body #pb-share-overlay .pbs-wa:hover { filter: brightness(.94); }
html[data-ui="v2"] body #pb-share-overlay .pbs-wa svg { width: 20px; height: 20px; }
html[data-ui="v2"] body #pb-share-overlay .pbs-aviso {
  margin: 0; border-radius: 14px; background: var(--v2-orange-50); color: var(--v2-orange-text) !important; padding: 11px 12px;
  font-size: 13px !important; font-weight: 600 !important; line-height: 1.45; text-transform: none !important; letter-spacing: 0 !important;
}

html[data-ui="v2"] body #pb-share-overlay .pbs-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
html[data-ui="v2"] body #pb-share-overlay .pbs-tiles > * { margin: 0 !important; }
html[data-ui="v2"] body #pb-share-overlay .pbs-tile {
  height: 76px; padding: 0 4px !important; border: 0 !important; border-radius: 14px !important;
  background: var(--v2-blue-50) !important; color: var(--v2-blue-text) !important; box-shadow: none !important;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  font-size: 12.5px !important; font-weight: 800 !important; letter-spacing: 0 !important; text-transform: none !important; transform: none !important;
}
html[data-ui="v2"] body #pb-share-overlay .pbs-tile svg { width: 22px; height: 22px; color: var(--v2-blue); margin: 0 !important; }
html[data-ui="v2"] body #pb-share-overlay .pbs-tile:hover { background: var(--v2-blue) !important; color: #fff !important; }
html[data-ui="v2"] body #pb-share-overlay .pbs-tile:hover svg { color: #fff; }
html[data-ui="v2"] body #pb-share-overlay .pbs-tile.ok { background: var(--pbs-green-50) !important; color: var(--pbs-green-text) !important; }
html[data-ui="v2"] body #pb-share-overlay .pbs-tile.ok svg { color: var(--v2-green); }

html[data-ui="v2"] body #pb-share-overlay .pb-share-next {
  display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px !important; padding-top: 16px !important; border-top: 1px solid var(--v2-line);
}
html[data-ui="v2"] body #pb-share-overlay .pb-share-next .btn {
  height: 42px; margin: 0; border-radius: 12px !important; background: var(--v2-bg) !important; color: var(--v2-ink) !important;
  font-size: 13px !important; font-weight: 700 !important; letter-spacing: 0 !important; text-transform: none !important;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
html[data-ui="v2"] body #pb-share-overlay .pb-share-next .btn:hover { background: var(--v2-hover) !important; }
html[data-ui="v2"] body #pb-share-overlay .pb-share-next .btn svg { width: 16px; height: 16px; color: var(--v2-ink-2); }

@media (max-width: 760px) {
  html[data-ui="v2"] body #pb-share-overlay { align-items: flex-end !important; padding: 0 !important; }
  html[data-ui="v2"] body #pb-share-overlay .pbs-card { max-width: none !important; border-radius: 28px 28px 0 0 !important; padding-bottom: env(safe-area-inset-bottom); }
  html[data-ui="v2"] body #pb-share-overlay .pbs-hd { padding-top: 26px !important; }
}
