/* Visual da suíte nas telas de trabalho: mesma barra, marca e botões da página inicial. */

.aceite {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
.aceite input { margin-top: 3px; }
.aceite a { color: #1d4ed8; font-weight: 700; text-decoration: underline; }
.aceite a:hover { color: #1e3a8a; }

body.suite {
  background:
    radial-gradient(900px 420px at 8% -8%, rgba(37, 99, 235, 0.1), transparent 58%),
    radial-gradient(720px 380px at 100% 0%, rgba(13, 148, 136, 0.1), transparent 52%),
    #f8fafc;
  color: #0f172a;
  font-family: "Segoe UI", system-ui, sans-serif;
}

.suite-top {
  background: #081120;
  color: #94a3b8;
  font-size: 12px;
  padding: 7px 0;
}

.suite-top-inner,
.suite-header-inner {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.suite-top-inner {
  justify-content: flex-start;
}

.suite-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

.suite-top strong {
  color: #f8fafc;
  letter-spacing: 0.02em;
}

.suite-sep { color: #334155; }
.suite-badge { color: #38bdf8; font-weight: 700; }

.suite-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(16px);
}

.suite-header-inner { min-height: 76px; }

.suite-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.suite-symbol {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.suite-symbol img {
  width: 36px;
  height: 36px;
  object-fit: cover;
}

.suite-brand-text { display: flex; flex-direction: column; line-height: 1.05; }

.suite-title {
  display: inline-flex;
  gap: 4px;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.suite-mps { color: #0b1f4d; }
.suite-pdf {
  color: #c88616;
  background: linear-gradient(135deg, #e5a828 0%, #c88616 55%, #a86c0c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.suite-tag {
  margin-top: 3px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}

.suite-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.suite-link {
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 999px;
}

.suite-link:hover { color: #1d4ed8; background: #eff6ff; }

.suite-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.suite-pill:hover { transform: translateY(-2px); }

.suite-pill-blue {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}

.suite-pill-ghost {
  background: #fff;
  color: #0f172a;
  border-color: #cbd5e1;
}
button.suite-pill { font-family: inherit; cursor: pointer; }
/* Cabeçalho, 26/10/2026: todos os botões do alto (tema, Ver planos, Entrar / Cadastrar) com a mesma altura, fonte e padding. */
.suite-actions .suite-pill { box-sizing: border-box; height: 34px; padding: 0 12px; font-size: 12px; font-weight: 700; line-height: 1; }
.suite-actions .suite-pill .tema-icone { font-size: 12px; line-height: 1; }

.suite-pill-teal {
  background: #f0fdfa;
  color: #0f766e;
  border-color: #99f6e4;
}

.suite-pill-soft {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

body.suite h1 {
  letter-spacing: -0.03em;
  color: #0f172a;
}

body.suite h1 span {
  color: #0d9488 !important;
  background: none !important;
  -webkit-text-fill-color: #0d9488 !important;
}

body.suite .tab-btn {
  border-radius: 999px !important;
}

body.suite .tab-btn:hover {
  transform: none;
}

body.suite .bg-white.rounded-2xl,
body.suite .bg-white.rounded-3xl {
  border-radius: 22px !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

body.suite button.bg-blue-600:not(.tab-btn),
body.suite a.bg-blue-600,
body.suite button.bg-slate-900,
body.suite a.bg-slate-900 {
  border-radius: 999px !important;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%) !important;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.24);
}

body.suite button.bg-blue-600:not(.tab-btn):hover,
body.suite a.bg-blue-600:hover,
body.suite button.bg-slate-900:hover,
body.suite a.bg-slate-900:hover {
  transform: none;
}

body.suite button:hover,
body.suite a.rounded-full:hover,
body.suite a.rounded-xl:hover,
body.suite .bg-white.rounded-2xl:hover,
body.suite .bg-white.rounded-3xl:hover {
  transform: none;
}

body.suite .tab-btn.bg-blue-600,
body.suite .tab-btn.bg-blue-600:hover {
  background: #2563eb !important;
  color: #fff !important;
}

#account-api-result {
  overflow-wrap: anywhere;
  hyphens: manual;
  line-height: 1.45;
}

body.portal.suite {
  background:
    radial-gradient(900px 420px at 8% -8%, rgba(37, 99, 235, 0.1), transparent 58%),
    radial-gradient(720px 380px at 100% 0%, rgba(13, 148, 136, 0.1), transparent 52%),
    #f8fafc;
}

body.portal.suite .card {
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
}

body.portal.suite .side {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

body.portal.suite .side a.on,
body.portal.suite .side a:hover {
  background: #eff6ff;
  color: #1d4ed8;
}

body.portal.suite #gate {
  padding-top: 28px;
}

body.portal.suite #gate .card,
body.portal.suite .wrap.hero > .card {
  max-width: 460px;
  margin: 0 auto;
  padding: 32px 28px;
}
.form-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-stack .btn { width: 100%; }
.form-stack .suite-link { align-self: flex-start; padding-left: 0; }

.mps-aviso {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  align-items: safe center;
  justify-content: center;
  padding: 24px;
  overflow: auto;
  background: rgba(8, 17, 32, .55);
}
.mps-aviso.aberto { display: flex; }
.mps-aviso-caixa.com-previa { width: min(980px, 100%); }
.mps-aviso-corpo { display: block; }
.mps-aviso-caixa.com-previa .mps-aviso-corpo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 280px);
  gap: 18px;
  align-items: start;
}
#mps-aviso-previa {
  min-width: 0;
  min-height: 0;
  max-height: min(68vh, 720px);
  overflow: auto;
  overscroll-behavior: contain;
  background: #e2e8f0;
  border-radius: 14px;
  padding: 12px;
}
#mps-aviso-previa canvas {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto 12px;
  background: #fff;
}
.mps-aviso-caixa.com-previa .mps-aviso-lado {
  position: sticky;
  top: 0;
}
@media (max-width: 760px) {
  .mps-aviso-caixa.com-previa .mps-aviso-corpo { grid-template-columns: 1fr; }
  .mps-aviso-caixa.com-previa .mps-aviso-lado { order: -1; position: static; }
  #mps-aviso-previa { max-height: 38vh; }
}
.mps-aviso-caixa {
  box-sizing: border-box;
  width: min(460px, 100%);
  max-height: calc(100dvh - 48px);
  overflow: auto;
  background: #fff;
  color: #0f172a;
  border-radius: 24px;
  padding: 28px 26px 22px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .22);
  font-family: "Segoe UI", system-ui, sans-serif;
}
.mps-aviso-caixa h2 { margin: 0 0 8px; font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em; }
.mps-aviso-caixa p { margin: 0 0 16px; color: #475569; line-height: 1.45; white-space: pre-wrap; }
.mps-aviso-rotulo {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
}
.mps-aviso-caixa input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  font-size: 0.92rem;
}
.mps-aviso-acoes { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.mps-aviso-acoes button {
  width: 100%;
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.mps-aviso-primario,
.mps-aviso-secundario { background: #2563eb; color: #fff; border-color: transparent; }
.mps-aviso .hidden { display: none; }
input.travado { background: #f1f5f9; color: #334155; cursor: default; }
.telefone-linha { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 8px; }
.telefone-linha select, .telefone-linha input { width: 100%; box-sizing: border-box; }
.conta-acesso {
  width: min(420px, 100%);
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .12);
}
.conta-acesso-miolo { padding: 28px 28px 22px; }
.conta-acesso-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid #f1f5f9; }
.conta-acesso-marca { display: flex; align-items: center; gap: 12px; }
.conta-acesso-marca img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }
.conta-acesso-marca h1, .conta-acesso-marca h3 { margin: 0; font-size: 1rem; font-weight: 800; color: #0f172a; }
.conta-acesso-marca p { margin: 2px 0 0; font-size: 0.75rem; color: #64748b; }
.conta-fechar { border: 0; background: transparent; color: #94a3b8; font-size: 1.1rem; cursor: pointer; padding: 4px 8px; border-radius: 8px; }
.conta-tabs { display: flex; gap: 4px; padding: 4px; margin-bottom: 16px; background: #f1f5f9; border-radius: 12px; }
.conta-tabs button { flex: 1; border: 0; background: transparent; border-radius: 10px; padding: 8px; font-weight: 700; font-size: 0.8rem; color: #64748b; cursor: pointer; }
.conta-tabs button.on { background: #fff; color: #0f172a; box-shadow: 0 1px 2px rgba(15, 23, 42, .08); }
.conta-acesso .field, .conta-form .field { display: block; margin: 0 0 12px; font-size: 0.72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #334155; }
.conta-acesso .field input, .conta-acesso .field select, .conta-form .field input, .conta-form .field select { display: block; width: 100%; margin-top: 6px; box-sizing: border-box; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 12px; font: inherit; font-size: 0.9rem; font-weight: 500; text-transform: none; letter-spacing: 0; }
.conta-esqueci { display: inline-block; margin: 0 0 12px; font-size: 0.82rem; }
.conta-acesso #login-msg {
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.4;
  color: #334155;
}
.conta-acesso #login-msg:empty { display: none; }
#redefinir-msg.lead { margin: 14px 0 0; max-width: none; }
#redefinir-msg.lead:empty { display: none; }
.senha-regra {
  display: block;
  margin-top: 4px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #64748b;
  line-height: 1.35;
}
body.suite .conta-acesso h1.conta-titulo {
  margin: 0 0 8px;
  text-align: center;
  color: #2563eb;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.conta-lead {
  margin: 0 0 18px;
  text-align: center;
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.45;
}
.conta-acesso .hidden, .conta-form .hidden, .conta-esqueci.hidden { display: none !important; }
.conta-acesso .btn, .conta-form .btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 16px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.conta-acesso .btn-blue, .conta-form .btn-blue { background: #2563eb; color: #fff; }
.conta-acesso .btn-ghost, .conta-form .btn-ghost { background: #fff; color: #334155; border-color: #cbd5e1; }

body.suite .suite-foot {
  background: #fff;
  border-top: 1px solid #e2e8f0;
  color: #64748b;
  padding: 18px 0 22px;
  font-size: 13px;
}

#flow-acoes .acao-botoes { display: flex; flex-wrap: wrap; gap: 8px; }
#flow-acoes .acao-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; align-items: end; }
#flow-acoes .acao-larga { grid-column: 1 / -1; }
#flow-acoes .acao-linha { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 700; color: #334155; }
#flow-acoes .acao-controles { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; }
#flow-acoes .acao-tres { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
#flow-acoes .acao-campo { width: 100%; height: 40px; padding: 0 12px; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; font-size: 13px; font-weight: 500; color: #0f172a; }
.acao-btn { height: 36px; padding: 0 14px; border-radius: 8px; border: 1px solid transparent; font-size: 12px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.acao-btn-escuro { background: #2563eb; color: #fff; }
.acao-btn-claro { background: #fff; color: #1e293b; border-color: #cbd5e1; }
.acao-btn-perigo { background: #fff; color: #be123c; border-color: #fecdd3; }
body.suite button,
body.suite .suite-pill,
body.suite .tab-btn,
body.suite .acao-btn {
  border-radius: 8px !important;
}
body.suite button.bg-slate-900:not(.tab-btn),
body.suite button.bg-slate-800:not(.tab-btn),
body.suite button.bg-slate-700:not(.tab-btn),
body.suite button.bg-indigo-600:not(.tab-btn),
body.suite button.bg-blue-600:not(.tab-btn),
body.suite button.bg-emerald-600:not(.tab-btn),
body.suite button.bg-purple-600:not(.tab-btn),
body.suite button.bg-sky-700:not(.tab-btn),
body.suite button.bg-orange-600:not(.tab-btn),
body.suite button.bg-rose-600:not(.tab-btn),
body.suite .acao-btn-escuro {
  background: #2563eb !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: none !important;
  height: 36px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 700;
}
body.suite button.border-slate-300:not(.tab-btn),
body.suite button.border-slate-200:not(.tab-btn) {
  height: 36px;
  padding: 0 14px;
  background: #2563eb !important;
  color: #fff !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
  font-size: 12px;
  font-weight: 700;
}
body.suite input[type="file"]::file-selector-button {
  height: 36px;
  padding: 0 14px;
  margin-right: 10px;
  border: 0;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
body.suite button:not(.tab-btn):not(.suite-pill),
body.suite .acao-btn {
  height: 36px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 8px !important;
  background: #2563eb !important;
  color: #fff !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 700;
  line-height: 36px;
  cursor: pointer;
}
body.suite button:not(.tab-btn):not(.suite-pill):hover,
body.suite .acao-btn:hover {
  background: #1d4ed8 !important;
}
body.suite button.merge-tirar:not(.tab-btn):not(.suite-pill) {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  width: 16px;
  height: 16px;
  min-height: 16px;
  padding: 0;
  border-radius: 0 !important;
  background: transparent !important;
  color: #64748b !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 600;
  line-height: 16px;
}
body.suite button.merge-tirar:not(.tab-btn):not(.suite-pill):hover {
  background: transparent !important;
  color: #be123c !important;
  transform: none;
}
body.suite button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.gratuidade { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 8px; }
.gratuidade-linha, .owner-acoes { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.gratuidade select, .gratuidade input, .owner-acoes select {
  height: 36px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  padding: 0 10px;
  font-size: 12px;
  background: #fff;
  color: #0f172a;
}
.gratuidade input[data-free-reason] { width: min(420px, 100%); }
#account-privileged button {
  height: 36px;
  padding: 0 14px;
  border-radius: 8px !important;
  border: 1px solid transparent !important;
  background: #2563eb !important;
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
#account-privileged input[type="file"]::file-selector-button {
  height: 36px;
  padding: 0 14px;
  margin-right: 10px;
  border: 0;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.signer-row { position: relative; }
.arraste-signatario {
  position: absolute;
  left: 6px;
  top: 12px;
  color: #64748b;
  cursor: grab;
  font-weight: 700;
  letter-spacing: -2px;
}
.signer-row { padding-left: 28px; }
#flow-acoes .acao-ordem { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
#flow-acoes .acao-ordem p { font-size: 12px; font-weight: 700; color: #334155; }
#flow-order-list .acao-btn { height: 32px; }
@media (max-width: 720px) {
  #flow-acoes .acao-grade, #flow-acoes .acao-tres { grid-template-columns: 1fr; }
  #flow-acoes .acao-larga { grid-column: auto; }
}

@media (max-width: 720px) {
  .suite-title { font-size: 1.15rem; }
}
