/* Ajeito: acabamento visual por cima das telas da None 3.2.7 (carregado por último).
   Não muda fluxo nem posição de nada: tipografia, cantos, sombras, transições e animações.
   As cores azuis da None já chegam trocadas pelo verde-petróleo na montagem (scripts/cores.mjs). */

:root {
  --aj-font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --aj-radius: 14px;
  --aj-radius-sm: 10px;
  --aj-ease: cubic-bezier(.2, .7, .2, 1);
  --aj-shadow: 0 1px 2px rgba(27, 13, 46, .04), 0 6px 20px -8px rgba(27, 13, 46, .12);
  --aj-shadow-hover: 0 2px 4px rgba(27, 13, 46, .05), 0 16px 36px -14px rgba(27, 13, 46, .24);
  --aj-ring: 0 0 0 3px color-mix(in srgb, var(--blue, #4e2495) 22%, transparent);
  font-family: var(--aj-font) !important;
}

/* Tipografia: uma família só, números alinhados nos valores e títulos mais firmes */
body, button, input, select, textarea { font-family: var(--aj-font) !important; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; letter-spacing: -.003em; }
h1, h2, h3, .page-heading h1 { letter-spacing: -.022em; }
.page-heading h1 { font-weight: 800; }
b, strong, .analytics-card, .op-summary, .metric-grid, .attendance-summary, table { font-variant-numeric: tabular-nums; }

/* Entrada suave de cada tela e dos blocos dentro dela */
@keyframes ajIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes ajFade { from { opacity: 0; } to { opacity: 1; } }
.page { animation: ajIn .38s var(--aj-ease) backwards; }
.page > * { animation: ajIn .42s var(--aj-ease) backwards; }
.page > *:nth-child(2) { animation-delay: .04s; }
.page > *:nth-child(3) { animation-delay: .08s; }
.page > *:nth-child(4) { animation-delay: .12s; }
.page > *:nth-child(n+5) { animation-delay: .16s; }

/* Menu lateral */
.sidebar { background: linear-gradient(180deg, var(--navy, #1c0a35) 0%, var(--navy-2, #2d1057) 100%) !important; }
.sidebar .brand { border-radius: var(--aj-radius) !important; box-shadow: 0 8px 22px -12px rgba(0, 0, 0, .45); transition: transform .2s var(--aj-ease); }
.sidebar .brand:hover { transform: translateY(-1px); }
.brand__logo { height: 38px !important; width: auto !important; max-width: 100% !important; object-fit: contain; }
.sidebar__nav a, .sidebar__nav button { border-radius: var(--aj-radius-sm) !important; transition: background-color .18s ease, color .18s ease, transform .18s var(--aj-ease) !important; }
.sidebar__nav a:hover, .sidebar__nav button:hover { transform: translateX(2px); }
.sidebar__nav .active { box-shadow: 0 8px 20px -10px color-mix(in srgb, var(--blue, #4e2495) 80%, transparent); }
.sidebar__new { border-radius: var(--aj-radius-sm) !important; transition: transform .18s var(--aj-ease), box-shadow .18s ease !important; }
.sidebar__new:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .5); }
.sidebar__account { border-radius: var(--aj-radius) !important; }

/* Cartões e painéis: cantos e sombra iguais em todo o sistema */
.panel, .analytics-card, .attendance-column, .attendance-card, .metric-grid > *, .attendance-summary > * {
  border-radius: var(--aj-radius) !important;
}
.panel, .analytics-card, .attendance-summary > * { box-shadow: var(--aj-shadow) !important; }
.analytics-card, .attendance-summary > *, .metric-grid > * { transition: transform .22s var(--aj-ease), box-shadow .22s ease !important; }
.analytics-card:hover, .attendance-summary > *:hover, .metric-grid > *:hover { transform: translateY(-2px); box-shadow: var(--aj-shadow-hover) !important; }

/* Quadro de atendimentos */
.attendance-column { transition: background-color .2s ease; }
.attendance-card { transition: transform .2s var(--aj-ease), box-shadow .2s ease, border-color .2s ease !important; animation: ajIn .35s var(--aj-ease) backwards; }
.attendance-card:hover { transform: translateY(-3px); box-shadow: var(--aj-shadow-hover) !important; }
.attendance-card__arrow { transition: transform .2s var(--aj-ease); }
.attendance-card:hover .attendance-card__arrow { transform: translateX(3px); }
.attendance-chip { border-radius: 999px !important; }

/* Botões */
.button { border-radius: var(--aj-radius-sm) !important; transition: transform .15s var(--aj-ease), box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease !important; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:active:not(:disabled) { transform: translateY(0) scale(.98); }
.button--primary { background-image: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0)) !important; box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--blue, #4e2495) 90%, transparent) !important; }
.button--primary:hover:not(:disabled) { box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--blue, #4e2495) 95%, transparent) !important; }
button:focus-visible, a:focus-visible, .button:focus-visible { outline: none !important; box-shadow: var(--aj-ring) !important; }

/* Campos */
input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea {
  border-radius: var(--aj-radius-sm) !important;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease !important;
}
input:not([type=checkbox]):not([type=radio]):focus, select:focus, textarea:focus { box-shadow: var(--aj-ring) !important; outline: none !important; }

/* Barra superior e busca */
.admin-topbar { backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.global-search-trigger { border-radius: 12px !important; transition: box-shadow .18s ease, border-color .18s ease !important; }
.global-search-trigger:hover { box-shadow: var(--aj-shadow) !important; }

/* Tabelas */
.op-table tbody tr, table tbody tr { transition: background-color .15s ease; }

/* Janelas (modais) */
[role=dialog], .modal, .dialog { animation: ajIn .28s var(--aj-ease) backwards; }

/* Barras de rolagem discretas */
* { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--muted, #667085) 45%, transparent) transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--muted, #667085) 40%, transparent); border-radius: 99px; border: 3px solid transparent; background-clip: padding-box; }
*::-webkit-scrollbar-thumb:hover { background-color: color-mix(in srgb, var(--muted, #667085) 65%, transparent); }

/* Seleção de texto na cor da marca */
::selection { background: color-mix(in srgb, var(--blue, #4e2495) 22%, transparent); }

/* Quem prefere menos movimento não vê animação */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Gráficos de Indicadores (ajeito/graficos.js) */
.aj-charts { padding: 20px 22px !important; margin-bottom: 18px; }
.aj-charts__head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 14px; }
.aj-charts__head h2 { margin: 2px 0 0; font-size: 19px; }
.aj-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue, #4e2495); }
.aj-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 16px; }
.aj-kpi { padding: 14px 16px; border-radius: 12px; background: var(--n-soft-2, #faf8f5); border: 1px solid var(--line, #e3ddeb); animation: ajIn .4s var(--aj-ease) backwards; }
.aj-kpi small { display: block; font-size: 12px; font-weight: 700; color: var(--muted, #667085); }
.aj-kpi b { display: block; margin: 4px 0 2px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--ink, #241735); }
.aj-kpi span { font-size: 12px; color: var(--muted, #667085); }
.aj-kpi.is-up span { color: var(--success, #15803d); font-weight: 700; }
.aj-kpi.is-down span { color: var(--danger, #c13a31); font-weight: 700; }
.aj-charts__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.aj-chart { padding: 14px 16px 10px; border-radius: 12px; border: 1px solid var(--line, #e3ddeb); background: var(--surface, #fff); color: var(--blue, #4e2495); }
.aj-chart h3 { margin: 0; font-size: 14px; font-weight: 800; color: var(--ink, #241735); }
.aj-legend { display: flex; align-items: center; gap: 6px; margin: 4px 0 6px; font-size: 12px; color: var(--muted, #667085); }
.aj-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-left: 6px; }
.aj-legend i:first-child { margin-left: 0; }
.aj-svg { display: block; width: 100%; height: auto; overflow: visible; }
.aj-axis { stroke: var(--line, #e3ddeb); stroke-width: 1; }
.aj-lbl { font-size: 11px; fill: var(--muted, #667085); text-anchor: middle; }
.aj-val { font-size: 10.5px; font-weight: 700; fill: var(--ink, #241735); text-anchor: middle; }
.aj-c0 { fill: var(--blue, #4e2495); background: var(--blue, #4e2495); }
.aj-c1 { fill: #d9962b; background: #d9962b; }
@keyframes ajGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.aj-bar { transform-origin: 0 156px; transform-box: view-box; animation: ajGrow .6s var(--aj-ease) backwards; }
.aj-line { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.aj-dot { fill: var(--surface, #fff); stroke: currentColor; stroke-width: 2.5; }
.aj-area, .aj-line, .aj-dot { animation: ajFade .7s ease backwards; }
.aj-rank { list-style: none; margin: 10px 0 4px; padding: 0; display: grid; gap: 10px; }
.aj-rank li { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 13px; color: var(--ink, #241735); animation: ajIn .4s var(--aj-ease) backwards; }
.aj-rank__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aj-rank__bar { height: 8px; border-radius: 99px; background: var(--n-soft-2, #efeaf3); overflow: hidden; }
.aj-rank__bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--blue, #4e2495), color-mix(in srgb, var(--blue, #4e2495) 60%, #fff)); }
.aj-empty { margin: 12px 0; font-size: 13px; color: var(--muted, #667085); }
@keyframes ajShimmer { from { background-position: -400px 0; } to { background-position: 400px 0; } }
.aj-skeleton { height: 110px; margin-bottom: 12px; border-radius: 12px; background: linear-gradient(90deg, var(--n-soft-2, #f4f0ea) 0%, #fff 50%, var(--n-soft-2, #f4f0ea) 100%); background-size: 800px 100%; animation: ajShimmer 1.2s linear infinite; }
@media (max-width: 640px) { .aj-charts { padding: 14px !important; } .aj-kpis { grid-template-columns: 1fr 1fr; gap: 8px; } .aj-kpi { padding: 10px 12px; } .aj-kpi b { font-size: 20px; } .aj-kpi span { font-size: 11px; } .aj-charts__grid { grid-template-columns: 1fr; } }

/* Caixinhas de marcar e opções: a None dava 42px de altura a todo campo, o que deixava a caixinha esticada */
input[type=checkbox], input[type=radio] {
  width: 18px !important; height: 18px !important; min-height: 0 !important; min-width: 18px !important;
  margin: 0 !important; padding: 0 !important; flex: none !important; box-shadow: none !important;
  accent-color: var(--blue, #4e2495); cursor: pointer; vertical-align: middle;
}
input[type=checkbox]:focus-visible, input[type=radio]:focus-visible { outline: 2px solid color-mix(in srgb, var(--blue, #4e2495) 60%, transparent) !important; outline-offset: 2px; }
label:has(> input[type=checkbox]), label:has(> input[type=radio]) { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }

/* Telas simplificadas (ajeito/simples.js): o que não é mais pedido some da tela */
.aj-hide { display: none !important; }
/* Escolha de problemas: uma lista só (sem o bloco "mais usados" repetindo os mesmos itens) */
.problem-picker__menu > .problem-picker__group { display: none !important; }

/* WhatsApp no celular (ajeito/whatsapp-celular.js) */
.aj-wa-sheet { position: fixed; inset: 0; z-index: 10001; display: flex; align-items: flex-end; justify-content: center; background: rgba(27, 13, 46, .45); animation: ajFade .2s ease backwards; }
.aj-wa-sheet__box { width: 100%; max-width: 440px; margin: 0 12px 12px; padding: 18px 16px 12px; border-radius: 18px; background: var(--surface, #fff); display: grid; gap: 10px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .5); animation: ajIn .28s var(--aj-ease) backwards; font-family: var(--aj-font); }
.aj-wa-sheet__box strong { font-size: 16px; color: var(--ink, #241735); }
.aj-wa-sheet__box button[data-app] { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 16px; border: 1px solid var(--line, #e3ddeb); border-radius: 14px; background: var(--surface, #fff); font: 700 15px/1 var(--aj-font); color: var(--ink, #241735); }
.aj-wa-sheet__box button[data-app]:active { transform: scale(.98); }
.aj-wa-dot { width: 26px; height: 26px; border-radius: 50%; background: #25d366; box-shadow: inset 0 0 0 5px #fff, 0 0 0 1px #25d366; }
.aj-wa-dot--b { background: #128c7e; box-shadow: inset 0 0 0 5px #fff, 0 0 0 1px #128c7e; }
.aj-wa-sheet__box label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted, #667085); }
.aj-wa-sheet__box small { font-size: 12px; color: var(--muted, #667085); }
.aj-wa-cancel { height: 44px; border: 0; background: none; font: 700 14px/1 var(--aj-font); color: var(--muted, #667085); }
.aj-wa-pref { padding: 16px 18px !important; margin-bottom: 14px; }
.aj-wa-pref h3 { margin: 0 0 4px; font-size: 16px; }
.aj-wa-pref p { margin: 0 0 12px; font-size: 13px; color: var(--muted, #667085); }
.aj-wa-pref__opts { display: flex; flex-wrap: wrap; gap: 8px; }

/* Configurações → Personalizar (ajeito/personalizar.js) */
.aj-pers { display: grid; gap: 14px; }
.aj-pers[hidden] { display: none !important; }
.aj-pers__loading { color: var(--muted, #667085); }
.aj-pers__card { padding: 18px 20px !important; }
.aj-pers__title h2 { margin: 0; font-size: 17px; }
.aj-pers__title p { margin: 4px 0 14px; font-size: 13px; color: var(--muted, #667085); }
.aj-pers__label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: var(--ink, #241735); }
.aj-pers__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.aj-pers__swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.aj-sw { width: 34px; height: 34px; padding: 0; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line, #e3ddeb); cursor: pointer; transition: transform .15s var(--aj-ease); }
.aj-sw:hover { transform: scale(1.08); }
.aj-sw.is-on { box-shadow: 0 0 0 2px var(--ink, #241735); }
.aj-sw--pick { position: relative; display: inline-grid; place-items: center; overflow: hidden; background: conic-gradient(#ef4444, #eab308, #22c55e, #06b6d4, #3b82f6, #a855f7, #ef4444); }
.aj-sw--pick input { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; cursor: pointer; }
.aj-small { min-height: 34px !important; padding: 0 12px !important; font-size: 13px !important; }
.aj-pers__logobox { display: grid; place-items: center; height: 96px; margin-bottom: 10px; padding: 10px; border: 1px dashed var(--line, #ddd5e8); border-radius: var(--aj-radius-sm); background: var(--n-soft-2, #f9f7f4); }
.aj-pers__logobox img { max-width: 100%; max-height: 76px; object-fit: contain; }
.aj-pers__logobox span { font-size: 13px; color: var(--muted, #667085); text-align: center; }
.aj-pers__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.aj-pers__actions label { cursor: pointer; }
.aj-pers small { font-size: 12px; color: var(--muted, #667085); }
.aj-pers__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 16px; align-items: end; }
.aj-pers__grid label:not(.aj-check), .aj-cf__grid label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink, #241735); }
.aj-pers__grid .aj-wide { grid-column: 1 / -1; }
.aj-pers__grid label[hidden] { display: none !important; }
.aj-pers__foot { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 14px; }
.aj-msg, .aj-cf__msg { font-size: 13px; color: var(--muted, #667085); }
.aj-err { color: #b3261e !important; }
.aj-pers__group { margin-top: 6px; }
.aj-pers__group + .aj-pers__group { margin-top: 16px; }
.aj-pers__group h3, .aj-newfield h3 { margin: 0 0 8px; font-size: 14px; }
.aj-check { display: flex !important; width: fit-content; padding: 6px 0; font-size: 14px; font-weight: 500; }
.aj-fields { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line, #e3ddeb); border-radius: var(--aj-radius-sm); overflow: hidden; }
.aj-fields li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; }
.aj-fields li + li { border-top: 1px solid var(--line, #e3ddeb); }
.aj-fields li div { display: grid; gap: 2px; min-width: 0; }
.aj-fields li strong { font-size: 14px; overflow: hidden; text-overflow: ellipsis; }
.aj-fields li span { display: flex; gap: 4px; flex: none; }
.aj-fields .aj-empty { margin: 0; }
.aj-icon { min-width: 32px; height: 32px; padding: 0 8px; border: 1px solid var(--line, #e3ddeb); border-radius: 8px; background: var(--surface, #fff); font: 700 13px/1 var(--aj-font); color: var(--ink, #241735); cursor: pointer; }
.aj-icon:disabled { opacity: .35; cursor: default; }
.aj-icon--del { color: #b3261e; }
.aj-newfield { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line, #e3ddeb); }
/* Campos próprios dentro dos formulários e na OS */
.aj-cf { margin: 14px 0; padding: 14px 16px; border: 1px solid var(--line, #e3ddeb); border-radius: var(--aj-radius-sm); background: var(--surface, #fff); }
.aj-cf--detail { margin: 14px 0 !important; }
.aj-cf__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.aj-cf__head h3 { margin: 0; font-size: 15px; }
.aj-cf__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px 16px; }
.aj-cf .aj-cf__save { margin-top: 12px; }
/* Logo enviado pela loja: inteiro, sem esticar */
img.brand__logo[src^="http"], .cv-document__brand img[src^="http"] { object-fit: contain; object-position: left center; }
/* Dados da loja nos documentos do cliente */
.aj-doc-info { display: grid; gap: 3px; width: 100%; margin-bottom: 12px; padding: 12px 14px; border-radius: var(--aj-radius-sm); background: var(--n-soft-2, #f9f7f4); font-size: 13px; color: var(--ink, #241735); }
.aj-doc-info p { margin: 4px 0 0; color: var(--muted, #667085); white-space: pre-line; }
@media (max-width: 640px) { .aj-pers__card { padding: 14px !important; } .aj-pers__foot { flex-direction: column-reverse; align-items: stretch; } .aj-pers__foot .button { width: 100%; } .aj-fields li { flex-wrap: wrap; } }

/* Marca (ajeito/marca.js): logo da loja inteiro e encaixado, ou inicial + nome, ou a marca Ajeito */
.brand.aj-brand-on { width: auto !important; height: auto !important; min-height: 0 !important; padding: 0 !important; background: none !important; box-shadow: none !important; border: 0 !important; display: flex !important; align-items: center; overflow: visible !important; }
.brand.aj-brand-on > img.brand__logo, .brand.aj-brand-on > :not(.aj-mark) { display: none !important; }
.aj-mark { display: inline-flex; align-items: center; gap: 10px; min-width: 0; max-width: 100%; color: #2a1445; font-family: var(--aj-font); }
.aj-mark__icon { width: 34px; height: 34px; flex: none; }
.aj-mark__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 19px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.aj-mark--ajeito .aj-mark__name { font-size: 24px; font-weight: 700; letter-spacing: -.03em; }
.aj-mark__tile { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--blue, #4e2495); color: #fff; font-size: 18px; font-weight: 800; }
.aj-mark__frame { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.aj-mark__frame img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
/* Menu lateral (fundo escuro) */
.sidebar .brand.aj-brand-on { margin: 2px 4px 6px !important; width: calc(100% - 8px) !important; }
.sidebar .aj-mark, .mobile-bar .aj-mark, .aj-auth-side .aj-mark { color: #faf6f0; }
.sidebar .aj-mark__tile, .mobile-bar .aj-mark__tile { background: #f2694b; color: #fff; box-shadow: 0 6px 16px -8px rgba(242, 105, 75, .8); }
.sidebar .aj-mark--logo, .mobile-bar .aj-mark--logo { width: 100%; }
.sidebar .aj-mark--logo .aj-mark__frame { height: 64px; padding: 8px 12px; border-radius: 14px; background: #fff; box-shadow: 0 8px 22px -12px rgba(0, 0, 0, .5); }
.mobile-bar .brand.aj-brand-on { max-width: 60vw; }
.mobile-bar .aj-mark--logo .aj-mark__frame { height: 38px; padding: 4px 8px; border-radius: 10px; background: #fff; }
.mobile-bar .aj-mark__name { font-size: 16px; }
.mobile-bar .aj-mark__tile { width: 32px; height: 32px; border-radius: 10px; font-size: 15px; }
.mobile-bar .aj-mark__icon { width: 28px; height: 28px; }
/* Documento do cliente (topo claro) */
.public-topbar .aj-mark--logo .aj-mark__frame { height: 44px; max-width: 200px; }
.public-topbar .aj-mark__name { font-size: 17px; }

/* Login com a marca Ajeito */
.auth-page.aj-auth { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch !important; justify-items: stretch !important; padding: 0 !important; min-height: 100vh; background: #faf6f0 !important; }
.aj-auth > .auth-card { align-self: center; justify-self: center; width: min(420px, calc(100% - 32px)) !important; margin: 32px 16px; border: 1px solid #ece4f2 !important; box-shadow: 0 30px 60px -36px rgba(42, 20, 69, .35) !important; }
.aj-auth .auth-card .brand.aj-brand-on { display: none !important; }
.aj-auth .auth-card .eyebrow { color: #f2694b !important; }
.aj-auth .auth-card__title h1, .aj-auth .auth-card h1 { color: #2a1445 !important; }
.aj-auth-side { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 56px clamp(32px, 6vw, 88px); background: radial-gradient(120% 90% at 0% 0%, #3a1d5e 0%, #2a1445 55%, #1f0f35 100%); color: #faf6f0; }
.aj-auth-side__brand { display: flex; align-items: center; gap: 16px; font-size: clamp(40px, 5vw, 58px); font-weight: 700; letter-spacing: -.035em; line-height: 1; position: relative; }
.aj-auth-side__brand .aj-mark__icon { width: clamp(52px, 6vw, 70px); height: clamp(52px, 6vw, 70px); }
.aj-auth-side__tag { margin: 0; font-size: 17px; color: rgba(250, 246, 240, .78); position: relative; }
.aj-auth-side ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; position: relative; }
.aj-auth-side li { display: flex; gap: 12px; align-items: baseline; font-size: 15px; color: rgba(250, 246, 240, .9); }
.aj-auth-side li::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 50%; background: #f2694b; transform: translateY(-1px); }
.aj-auth-side__art { position: absolute; right: -12%; bottom: -18%; width: 70%; max-width: 520px; pointer-events: none; }
@media (max-width: 860px) {
  .auth-page.aj-auth { grid-template-columns: 1fr; align-content: start; }
  .aj-auth-side { padding: 36px 24px 30px; gap: 10px; }
  .aj-auth-side ul, .aj-auth-side__art { display: none; }
  .aj-auth-side__brand { font-size: 38px; }
  .aj-auth-side__tag { font-size: 14px; }
  .aj-auth > .auth-card { margin: -18px auto 32px; }
}

/* Conta no rodapé do menu */
.sidebar__account { margin: 12px 4px 4px !important; padding: 10px 10px !important; border: 1px solid rgba(250, 246, 240, .1) !important; border-radius: 14px !important; background: rgba(250, 246, 240, .06) !important; grid-template-columns: 38px minmax(0, 1fr) 34px !important; gap: 10px !important; transition: background-color .18s ease; }
.sidebar__account:hover { background: rgba(250, 246, 240, .1) !important; }
.sidebar__account .account-avatar { width: 38px !important; height: 38px !important; border-radius: 12px !important; display: grid; place-items: center; background: linear-gradient(145deg, #f2694b, #d9512f) !important; color: #fff !important; font-weight: 800 !important; font-size: 15px !important; box-shadow: 0 6px 14px -8px rgba(242, 105, 75, .9); }
.sidebar__account strong { color: #faf6f0 !important; font-size: 13.5px !important; font-weight: 700 !important; }
.sidebar__account span { color: rgba(250, 246, 240, .62) !important; font-size: 11.5px !important; }
.sidebar__account button { width: 34px; height: 34px; border-radius: 10px !important; color: rgba(250, 246, 240, .75) !important; transition: background-color .15s ease, color .15s ease; }
.sidebar__account button:hover { background: rgba(242, 105, 75, .18) !important; color: #fff !important; }

/* Financeiro trancado (ajeito/financeiro.js) */
.aj-fin-gate { display: flex; gap: 16px; align-items: flex-start; max-width: 560px; margin: 18px 0; padding: 22px 24px; border: 1px solid var(--line, #e3ddeb); border-radius: var(--aj-radius); background: var(--surface, #fff); box-shadow: var(--aj-shadow); }
.page > .aj-fin-gate, .aj-fin-gate { animation: none !important; opacity: 1 !important; }
.aj-fin-gate--small { max-width: none; margin: 14px 0; padding: 14px 16px; align-items: center; }
.aj-fin-gate__icon { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 14px; background: #2a1445; color: #faf6f0; }
.aj-fin-gate--small .aj-fin-gate__icon { width: 36px; height: 36px; border-radius: 11px; }
.aj-fin-gate__icon svg { width: 20px; height: 20px; }
.aj-fin-gate__body { flex: 1; min-width: 0; display: grid; gap: 6px; }
.aj-fin-gate__body strong { font-size: 16px; color: var(--ink, #241735); }
.aj-fin-gate__body p { margin: 0; font-size: 13px; color: var(--muted, #667085); }
.aj-fin-gate__form { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.aj-fin-gate__form input { flex: 1 1 180px; min-width: 0; }
.aj-fin-gate__msg { font-size: 13px; color: #b3261e; min-height: 1em; }
.aj-fin-gate--small .aj-fin-gate__body { grid-template-columns: auto 1fr; align-items: center; column-gap: 14px; }
.aj-fin-gate--small .aj-fin-gate__form { margin: 0; }
.aj-fin-gate--small .aj-fin-gate__msg { grid-column: 1 / -1; }
.aj-fin-lock-now { position: fixed; right: 14px; bottom: 58px; z-index: 9998; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 0; border-radius: 12px; background: #2a1445; color: #faf6f0; font: 700 13px/1 var(--aj-font); box-shadow: 0 10px 24px -12px rgba(27, 13, 46, .7); cursor: pointer; }
.aj-fin-lock-now svg { width: 16px; height: 16px; color: #f2694b; }
.aj-fin-lock-now:hover { transform: translateY(-1px); }
.aj-switch { display: flex !important; align-items: center; gap: 14px; padding: 12px 0; cursor: pointer; }
.aj-switch input { position: absolute; opacity: 0; pointer-events: none; }
.aj-switch__track { position: relative; width: 46px; height: 26px; flex: none; border-radius: 99px; background: #d8d0e2; transition: background-color .2s ease; }
.aj-switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s var(--aj-ease); }
.aj-switch input:checked + .aj-switch__track { background: var(--blue, #4e2495); }
.aj-switch input:checked + .aj-switch__track::after { transform: translateX(20px); }
.aj-switch input:focus-visible + .aj-switch__track { box-shadow: var(--aj-ring); }
.aj-switch strong { display: block; font-size: 15px; color: var(--ink, #241735); }
.aj-switch small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted, #667085); }
.aj-fin-form { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line, #e3ddeb); display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px 16px; }
.aj-fin-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink, #241735); }
.aj-fin-form .aj-pers__foot { grid-column: 1 / -1; margin-top: 4px; }
.aj-fin-actions { flex-wrap: wrap; }
@media (max-width: 640px) { .aj-fin-gate { flex-direction: column; } .aj-fin-gate--small .aj-fin-gate__body { grid-template-columns: 1fr; } .aj-fin-lock-now { bottom: 76px; } }
/* Login pelo endereço da loja */
.aj-auth-side__shop { display: flex; align-items: center; gap: 16px; font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; position: relative; }
.aj-auth-side__shop .aj-mark__tile { width: clamp(52px, 6vw, 68px); height: clamp(52px, 6vw, 68px); border-radius: 18px; font-size: clamp(24px, 3vw, 32px); background: #f2694b; color: #fff; }
.aj-auth-side__logo { display: flex; align-items: center; justify-content: center; height: clamp(90px, 12vw, 130px); max-width: min(420px, 100%); padding: 16px 22px; border-radius: 20px; background: #fff; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .6); }
.aj-auth-side__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.aj-auth-side__by { display: flex; align-items: center; gap: 8px; margin: 26px 0 0; font-size: 13px; font-weight: 600; color: rgba(250, 246, 240, .6); position: relative; }
.aj-auth-side__by .aj-mark__icon { width: 18px; height: 18px; }
@media (max-width: 860px) { .aj-auth-side__shop { font-size: 28px; } .aj-auth-side__logo { height: 76px; padding: 10px 14px; } .aj-auth-side__by { margin-top: 10px; } }
