@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600&display=swap");
:root {
  --ink: #19221e;
  --forest: #153f31;
  --lime: #c9ff62;
  --cream: #f7f6f1;
  --paper: #fffefa;
  --line: #e5e7df;
  --muted: #78827d;
  --red: #bd3b31;
  --amber: #aa6900;
}
* {
  box-sizing: border-box;
}
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font:
    15px "DM Sans",
    sans-serif;
}
main {
  min-height: 100vh;
}
.layout {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: 100vh;
}
aside {
  background: #193f31;
  color: #eaf2eb;
  padding: 28px 17px;
  display: flex;
  flex-direction: column;
}
.brand {
  font: 600 23px "Playfair Display";
  padding: 0 10px 37px;
  letter-spacing: 0.4px;
}
.logo {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: var(--lime);
  color: #173d30;
  border-radius: 9px;
  font: 700 15px "DM Sans";
  margin-right: 7px;
}
.side-label,
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.3px;
  color: #7e9b8d;
}
.side-label {
  padding: 0 11px;
  margin: 0 0 10px;
}
.navlink {
  background: transparent;
  color: #c2d3ca;
  text-align: left;
  padding: 12px 11px;
  margin: 2px 0;
  border-radius: 9px;
  font-weight: 500;
  width: 100%;
}
.navlink span {
  margin-left: 9px;
}
.navlink.selected,
.navlink:hover {
  background: #2a5948;
  color: white;
}
.side-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  padding: 15px 10px;
  gap: 10px;
  border-top: 1px solid #416553;
}
.logout {
  padding: 0;
  background: transparent;
  color: #c2d3ca;
  text-align: left;
  font-size: 13px;
}
.workspace {
  max-width: 1240px;
  min-width: 0;
  width: 100%;
  padding: 0 48px 60px;
  margin: auto;
}
.topbar {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.topbar > div {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 0;
}
.topbar b {
  font-size: 13px;
  color: #617069;
}
.profile {
  background: var(--lime);
  color: #1c3c31;
  border-radius: 50%;
  height: 38px;
  width: 38px;
  padding: 0;
  flex: none;
}
.hero {
  background: #193f31;
  color: white;
  border-radius: 22px;
  padding: 46px 50px;
  min-height: 288px;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}
.hero h1 {
  font: 600 42px/1.04 "Playfair Display";
  margin: 10px 0;
}
.hero em {
  color: var(--lime);
  font-style: normal;
}
.hero p {
  color: #c5d6cd;
  max-width: 390px;
  margin-bottom: 25px;
}
.hero button,
button {
  border: 0;
  border-radius: 9px;
  background: var(--forest);
  color: white;
  font: 700 12px "DM Sans";
  letter-spacing: 0.35px;
  padding: 13px 18px;
  cursor: pointer;
}
.hero button {
  background: var(--lime);
  color: #153f31;
}
.hero-orb {
  font-size: 154px;
  color: #b8ef59;
  opacity: 0.22;
  line-height: 1;
  align-self: center;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 42px;
}
.metrics > div,
.campaign-card,
.data-card,
.card,
.empty {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 4px 20px #24372a08;
}
.metrics > div {
  padding: 19px;
}
.metrics span,
.metrics small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.metrics b {
  font-size: 20px;
  display: block;
  margin: 8px 0 3px;
}
.section-head,
.page-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 0 0 14px;
  gap: 15px;
}
.section-head h2,
.page-title h1 {
  font: 600 27px "Playfair Display";
  margin: 0 0 4px;
}
.section-head p,
.page-title p {
  margin: 0;
}
.secondary {
  background: #edf1eb !important;
  color: #294b3c !important;
}
.campaign-card {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 15px;
  margin: 9px 0;
}
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: #e0f4df;
  color: #216246;
}
.campaign-main {
  flex: 1;
  min-width: 0;
}
.campaign-main b,
.campaign-main span {
  display: block;
}
.campaign-main span {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.status {
  font-size: 11px;
  font-weight: 700;
  padding: 6px 9px;
  border-radius: 99px;
  background: #edf1eb;
  color: #557164;
  white-space: nowrap;
}
.status.running {
  background: #e2f6df;
  color: #20824c;
}
.status.paused {
  background: #fff2d4;
  color: #9b6700;
}
.status.completed {
  background: #e3edf9;
  color: #3571a8;
}
.empty {
  text-align: center;
  padding: 46px;
  color: var(--muted);
}
.empty div {
  font-size: 32px;
  color: #3b7a5c;
}
.data-card {
  padding: 7px 20px;
  overflow-x: auto;
}
.table {
  width: 100%;
  border-collapse: collapse;
}
.table td,
.table th {
  padding: 15px 6px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.ok {
  color: #168153;
}
.bad {
  color: var(--red);
}
.wait {
  color: var(--amber);
}
.connect-wrap {
  max-width: 590px;
  margin: 48px auto;
  text-align: center;
}
.connect-wrap h1 {
  font: 600 39px "Playfair Display";
  margin: 10px;
}
.connect-wrap p {
  color: var(--muted);
  line-height: 1.65;
}
.qrbox {
  min-height: 310px;
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 21px;
  margin: 27px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.qrbox img {
  height: 210px;
  width: 210px;
}
.qr-placeholder {
  font-size: 70px;
  color: #497662;
}
.qrbox small {
  color: var(--muted);
}
.card {
  padding: 26px;
  margin: 15px 0;
}
.login {
  max-width: 420px;
  margin: 12vh auto;
}
.login h1,
h1 {
  font: 600 34px "Playfair Display";
  margin: 0 0 8px;
}
.muted {
  color: var(--muted);
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.stat {
  padding: 20px;
}
.stat b {
  font-size: 26px;
  display: block;
  margin-top: 8px;
}
input,
textarea,
select {
  width: 100%;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  margin: 7px 0 16px;
}
textarea {
  min-height: 130px;
  resize: vertical;
}
.steps {
  display: flex;
  gap: 8px;
  color: #6e7c74;
  font-size: 14px;
  margin: 25px 0;
  flex-wrap: wrap;
}
.steps b {
  color: var(--forest);
}
.row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.right {
  margin-left: auto;
}
.progress {
  height: 12px;
  background: #e8eeea;
  border-radius: 99px;
  overflow: hidden;
}
.progress i {
  height: 100%;
  display: block;
  background: linear-gradient(90deg, #1e8a61, #46b981);
  border-radius: 99px;
}
.notice {
  padding: 13px;
  border-radius: 10px;
  background: #fff8e8;
  color: #805300;
  margin: 12px 0;
}
.actions {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
}
@media (max-width: 760px) {
  .layout {
    display: block;
  }
  aside {
    padding: 14px;
    position: sticky;
    top: 0;
    z-index: 2;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
  }
  .brand {
    padding: 0;
    margin-right: auto;
    white-space: nowrap;
  }
  .side-label,
  .side-bottom {
    display: none;
  }
  .navlink {
    width: auto;
    padding: 8px;
    flex: none;
  }
  .navlink span {
    display: none;
  }
  .workspace {
    padding: 0 16px 42px;
  }
  .topbar {
    height: 66px;
  }
  .topbar b {
    display: none;
  }
  .hero {
    padding: 29px;
    min-height: 245px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero-orb {
    display: none;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 28px;
  }
  .campaign-card {
    gap: 10px;
    flex-wrap: wrap;
  }
  .campaign-card .secondary {
    padding: 9px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .table {
    font-size: 12px;
  }
  .hide-sm {
    display: none;
  }
  .section-head,
  .page-title {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}

/* Design system — Sender CRM */
:root {
  --ink: #172b22;
  --forest: #155c45;
  --forest-deep: #103f31;
  --lime: #b9f55d;
  --cream: #f6f8f5;
  --paper: #fff;
  --line: #dce5de;
  --line-strong: #c9d8ce;
  --muted: #5b7063;
  --danger: #b4423b;
  --radius: 16px;
  --shadow: 0 10px 28px rgba(17, 54, 38, 0.07);
  --shadow-hover: 0 14px 34px rgba(17, 54, 38, 0.13);
}
body {
  background: linear-gradient(135deg, #f8faf7, #f1f5f1);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}
.layout {
  grid-template-columns: 266px minmax(0, 1fr);
}
aside {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 25px 16px;
  background: linear-gradient(180deg, #103f31, #123a2e);
  box-shadow: inset -1px 0 rgba(255, 255, 255, 0.08);
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 11px 32px;
  color: #fff;
  font-size: 25px;
}
.logo {
  margin: 0;
  width: 31px;
  height: 31px;
  border-radius: 10px;
  box-shadow: 0 5px 14px rgba(185, 245, 93, 0.18);
}
.workspace-badge {
  margin: 0 5px 24px !important;
  padding: 13px 14px !important;
  border: 1px solid rgba(190, 230, 203, 0.2) !important;
  border-radius: 13px !important;
  background: rgba(255, 255, 255, 0.08) !important;
}
.workspace-badge small {
  color: #a9cabb !important;
}
.workspace-badge b {
  color: #f5fff7 !important;
  font-size: 12px !important;
}
.side-label {
  margin: 0 0 7px;
  padding: 0 11px;
  color: #91b5a4;
}
.navlink {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 43px;
  margin: 3px 0;
  padding: 11px 12px;
  color: #bdd2c6;
  border-radius: 11px;
  font-size: 13px;
  transition: 0.16s;
}
.navlink:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  transform: translateX(2px);
}
.navlink.selected {
  background: rgba(185, 245, 93, 0.15);
  color: #efffcf;
  box-shadow: inset 3px 0 var(--lime);
}
.navlink span {
  margin-left: 10px;
}
.workspace {
  max-width: 1500px;
  padding: 0 42px 64px;
}
.topbar {
  height: 84px;
}
.profile {
  height: 40px;
  width: 40px;
  box-shadow: 0 5px 14px rgba(115, 154, 42, 0.17);
}
.page-title,
.opportunity-head {
  align-items: center;
  margin: 4px 0 22px;
}
.page-title h1,
.section-head h2,
.opportunity-head h1 {
  font:
    600 30px/1.15 "Playfair Display",
    serif;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.page-title p,
.opportunity-head p {
  max-width: 660px;
  color: var(--muted);
  font-size: 14px;
}
.eyebrow {
  color: #4e8270;
  font-size: 10px;
  letter-spacing: 0.14em;
}
.hero {
  min-height: 270px;
  padding: 42px 46px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  background: radial-gradient(
    circle at 90% 0%,
    #27765b 0%,
    #15513e 38%,
    #103f31 100%
  );
  box-shadow: 0 18px 40px rgba(13, 59, 44, 0.13);
}
.hero h1 {
  font-size: 43px;
  letter-spacing: -0.035em;
}
.metrics {
  gap: 14px;
  margin: 18px 0 35px;
}
.metrics > div {
  min-height: 118px;
  padding: 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: 0.16s;
}
.metrics > div:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.metrics span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.metrics b {
  font-size: 25px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
button {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--forest);
  box-shadow: 0 2px 5px rgba(12, 56, 40, 0.12);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.035em;
  transition: 0.15s;
}
button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 7px 16px rgba(12, 56, 40, 0.18);
}
button:disabled {
  opacity: 0.52;
}
.secondary {
  background: #f1f5f1 !important;
  border-color: #d7e2d9 !important;
  color: #285340 !important;
  box-shadow: none;
}
.danger {
  background: var(--danger) !important;
}
.icon-btn {
  display: inline-grid !important;
  place-items: center;
  min-width: 34px;
  min-height: 34px;
  border: 1px solid #d9e4dc !important;
  border-radius: 9px !important;
  background: #f6f9f6 !important;
  color: #315843 !important;
  box-shadow: none !important;
}
.data-card,
.card,
.campaign-card,
.empty,
.company-create,
.quick-form,
.deal-create,
.activity-create,
.contact-summary > section,
.task-section,
.attention-card {
  border-color: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--paper);
}
.data-card {
  padding: 16px 20px;
}
.card {
  padding: 26px;
}
.campaign-card {
  border-left: 4px solid transparent;
  padding: 17px;
}
.campaign-card:hover {
  border-left-color: #74b894;
  box-shadow: var(--shadow-hover);
}
.status {
  border: 1px solid transparent;
  font-size: 10px;
  letter-spacing: 0.04em;
}
.status.running {
  background: #e6f8eb;
  color: #16743e;
  border-color: #cdebd5;
}
.status.paused {
  background: #fff5dc;
  color: #8b5905;
  border-color: #f4dfae;
}
.status.completed {
  background: #e9f2fb;
  color: #28649a;
  border-color: #d5e5f4;
}
.status.failed {
  background: #fff0ef;
  color: #a73e37;
  border-color: #f1d0ce;
}
input,
textarea,
select {
  min-height: 43px;
  margin: 6px 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  transition: 0.15s;
}
input::placeholder,
textarea::placeholder {
  color: #829287;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #268562;
  outline: none;
  box-shadow: 0 0 0 3px rgba(79, 180, 135, 0.18);
}
label {
  font-size: 12px;
  font-weight: 700;
  color: #365547;
}
.notice {
  border: 1px solid #f1dfa8;
  background: #fff9e9;
  color: #725419;
}
.table {
  min-width: 640px;
}
.table th {
  padding: 12px 9px;
  color: #5c7467;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}
.table td {
  padding: 15px 9px;
  color: #263e32;
}
.table tbody tr:hover {
  background: #f4f9f5;
}
.company-create,
.quick-form,
.deal-create,
.activity-create {
  padding: 16px;
}
.company-detail-grid,
.contact-360-grid,
.deal-detail-grid {
  gap: 16px;
}
.company-detail-grid h2,
.contact-360-grid h2,
.deal-detail-grid h2 {
  font-size: 21px;
}
.company-detail-grid p,
.company-item small {
  color: #627a6d;
}
.professional-kanban,
.deal-board {
  gap: 14px;
}
.professional-kanban .deal-column,
.deal-column {
  border-color: var(--line);
  border-radius: 15px;
  background: #f2f6f2;
}
.professional-kanban .deal-column > header,
.deal-column header {
  padding: 14px;
  background: #fff;
  border-bottom: 1px solid #e3ebe4;
}
.deal-card.compact,
.deal-card {
  border-color: #dfe8e1;
  border-radius: 12px;
  box-shadow: 0 2px 7px rgba(18, 54, 39, 0.06);
}
.deal-card.compact:hover {
  border-color: #7db595;
  box-shadow: 0 8px 18px rgba(18, 54, 39, 0.12);
}
/* Área comercial: muitos leads devem ser trabalháveis, não uma página infinita. */
.opportunity-workspace-head {
  align-items: flex-end;
}
.opportunity-workspace-head p {
  margin: 7px 0 0;
}
.opportunity-workspace-head p b {
  color: #1a5e44;
}
.professional-kanban {
  align-items: start;
  overflow-x: auto;
  padding: 2px 2px 14px;
  scroll-snap-type: x proximity;
}
.professional-kanban .deal-column {
  display: flex;
  flex: 0 0 min(330px, calc(100vw - 64px));
  flex-direction: column;
  max-height: calc(100vh - 235px);
  min-height: 430px;
  scroll-snap-align: start;
  overflow: hidden;
}
.professional-kanban .deal-column > header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}
.professional-kanban .deal-column > header > span {
  width: 9px;
  height: 32px;
  border-radius: 999px;
}
.professional-kanban .deal-column > header div {
  display: grid;
  gap: 2px;
}
.professional-kanban .deal-column > header small,
.professional-kanban .deal-column > header strong {
  color: #6a7d70;
  font-size: 11px;
}
.professional-kanban .deal-column > header strong {
  color: #1f4736;
  font-size: 12px;
}
.professional-kanban .deal-cards {
  display: grid;
  align-content: start;
  gap: 9px;
  min-height: 0;
  overflow-y: auto;
  padding: 11px;
  scrollbar-color: #9bc5ad transparent;
  scrollbar-width: thin;
}
.professional-kanban .deal-card.compact {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 13px;
  background: #fffefa;
  cursor: pointer;
}
.deal-card-title,
.deal-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
}
.deal-card-title b {
  overflow: hidden;
  color: #173d30;
  font-size: 13px;
  line-height: 1.28;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.professional-kanban .deal-card small {
  overflow: hidden;
  color: #667b6e;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.deal-status {
  flex: none;
  border-radius: 999px;
  padding: 3px 6px;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.deal-status.unassigned {
  background: #fff1d8;
  color: #8a5907;
}
.deal-status.assigned {
  background: #def3e5;
  color: #16623e;
}
.professional-kanban .deal-card strong {
  color: #173d30;
  font-size: 13px;
}
.professional-kanban .deal-card em {
  overflow: hidden;
  color: #537265;
  font-size: 10px;
  font-style: normal;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.professional-kanban .deal-card em.late {
  color: #b53c32;
}
.deal-empty {
  min-height: 90px;
  display: grid;
  align-content: center;
  margin: 0;
  padding: 14px;
  border: 1px dashed #c5d6ca;
  border-radius: 10px;
  text-align: center;
}
.campaign-audience-intro {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.campaign-audience-intro h1 {
  margin-bottom: 5px;
}
.campaign-audience-intro p {
  max-width: 610px;
  margin: 0;
}
.audience-summary {
  flex: none;
  max-width: 270px;
  border: 1px solid #b9d9c1;
  border-radius: 12px;
  background: #edf8ef;
  color: #195d3d;
  padding: 11px 13px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}
.campaign-audience .pick-grid {
  align-items: start;
}
.campaign-audience .pick-grid > section {
  display: grid;
  gap: 11px;
  min-width: 0;
}
.pick-section-head h3 {
  margin: 0 0 3px;
  color: #1a4635;
}
.pick-section-head small {
  color: #6b8073;
  font-size: 11px;
}
.campaign-pick-list {
  max-height: 390px;
  overflow: auto;
  border: 1px solid #e0e9e1;
  border-radius: 12px;
  background: #fbfdfb;
  padding: 5px;
  scrollbar-color: #9bc5ad transparent;
  scrollbar-width: thin;
}
.campaign-pick-list .pick {
  margin: 0;
}
@media (max-width: 760px) {
  .campaign-audience-intro {
    display: grid;
  }
  .audience-summary {
    max-width: none;
  }
  .campaign-pick-list {
    max-height: 320px;
  }
}
.contact-tabs {
  padding: 5px;
  background: #ebf1ec;
  border-radius: 12px;
  width: max-content;
  max-width: 100%;
}
.contact-tabs button {
  border: 0;
  background: transparent;
  color: #496456;
  box-shadow: none;
}
.contact-tabs button.selected {
  background: #fff;
  color: #195e44;
  box-shadow: 0 2px 6px rgba(20, 62, 44, 0.09);
}
@media (max-width: 1080px) {
  .layout {
    grid-template-columns: 225px minmax(0, 1fr);
  }
  .workspace {
    padding-inline: 28px;
  }
  .metrics.operational {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  body {
    font-size: 14px;
  }
  .layout {
    display: block;
  }
  aside {
    position: sticky;
    height: 64px;
    padding: 8px 10px;
    flex-direction: row;
    overflow-x: auto;
    white-space: nowrap;
  }
  .brand {
    padding: 0 5px;
    font-size: 20px;
  }
  .logo {
    width: 28px;
    height: 28px;
  }
  .workspace {
    padding: 0 16px 46px;
  }
  .topbar {
    height: 62px;
  }
  .page-title,
  .opportunity-head {
    align-items: flex-start;
    gap: 12px;
  }
  .page-title h1,
  .opportunity-head h1 {
    font-size: 27px;
  }
  .hero {
    min-height: 210px;
    padding: 28px;
    border-radius: 17px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .metrics {
    gap: 10px;
  }
  .metrics > div {
    min-height: 96px;
    padding: 14px;
  }
  .metrics b {
    font-size: 21px;
  }
  .card {
    padding: 19px;
  }
  .data-card {
    padding: 12px 15px;
  }
  .table {
    font-size: 12px;
  }
  .contact-tabs {
    width: 100%;
    overflow: auto;
  }
}

.lead-profile-card {
  margin: 18px 0;
}
.lead-profile-grid,
.lead-edit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 18px;
}
.lead-profile-grid p {
  margin: 0;
  display: grid;
  gap: 4px;
}
.lead-profile-grid b {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.lead-profile-grid span {
  overflow-wrap: anywhere;
}
.lead-notes {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  white-space: pre-wrap;
}
.lead-edit-grid label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}
.lead-edit-grid input,
.lead-edit-grid textarea {
  width: 100%;
  box-sizing: border-box;
}
.lead-edit-notes {
  grid-column: 1/-1;
}
.lead-edit-notes textarea {
  min-height: 92px;
  resize: vertical;
}
.sales-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}
.sales-mini-grid p {
  margin: 0;
  display: grid;
  gap: 3px;
  min-width: 0;
}
.sales-mini-grid b {
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}
.sales-mini-grid span,
.sales-mini-grid a,
.lead-profile-grid a {
  overflow-wrap: anywhere;
}
.sales-mini-grid a,
.lead-profile-grid a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}
.opportunity-lead-card {
  margin: 18px 0;
  padding: 18px;
  border: 1px solid #dce9df;
  border-radius: 14px;
  background: #f8fcf8;
}
.opportunity-lead-card h3 {
  margin: 4px 0 0;
  font-size: 17px;
}
.opportunity-lead-card .section-head {
  align-items: flex-start;
  margin-bottom: 14px;
}

/* Estrutura visual única do SaaS: agrupa a operação sem alterar os fluxos. */
.product-sidebar {
  gap: 0;
  padding: 24px 14px;
  height: 100vh;
  min-height: 0;
  position: sticky;
  top: 0;
  align-self: start;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.product-sidebar .brand {
  padding: 2px 10px 22px;
  font-size: 25px;
}
.sidebar-group {
  margin: 13px 0 0;
}
.sidebar-group > span {
  display: block;
  padding: 0 11px 7px;
  color: #85a697;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
}
.product-sidebar .navlink {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  margin: 1px 0;
  padding: 8px 11px;
  color: #c9d9d0;
  font-size: 13px;
  transition:
    background 0.16s,
    color 0.16s,
    transform 0.16s;
}
.product-sidebar .navlink i {
  width: 18px;
  color: #9ecab0;
  font-style: normal;
  text-align: center;
}
.product-sidebar .navlink b {
  font-weight: 600;
}
.product-sidebar .navlink:hover {
  transform: none;
  box-shadow: none;
  background: #245241;
}
.product-sidebar .navlink.selected {
  background: #2e6751;
  box-shadow: inset 3px 0 0 var(--lime);
  color: #fff;
}
.product-sidebar .navlink.selected i {
  color: var(--lime);
}
.product-sidebar .side-bottom {
  flex-shrink: 0;
  margin-top: 14px;
}
.product-layout .workspace {
  max-width: 1440px;
}
@media (max-width: 760px) {
  .product-sidebar {
    gap: 8px;
    padding: 8px 10px;
  }
  .product-sidebar .workspace-badge,
  .product-sidebar .sidebar-group > span,
  .product-sidebar .side-bottom {
    display: none;
  }
  .product-sidebar .sidebar-group {
    display: flex;
    margin: 0;
  }
  .product-sidebar .navlink {
    width: auto;
    min-height: 42px;
    padding: 8px 10px;
  }
  .product-sidebar .navlink b {
    display: none;
  }
}
@media (max-width: 760px) {
  .lead-profile-grid,
  .lead-edit-grid {
    grid-template-columns: 1fr;
  }
}

/* Tipografia operacional: uma única família sans e títulos compactos. */
body,
button,
input,
textarea,
select,
h1,
h2,
h3,
h4,
.brand,
.page-title h1,
.section-head h2,
.opportunity-head h1,
.company-detail-grid h2,
.contact-360-grid h2,
.deal-detail-grid h2 {
  font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif !important;
}
.page-title h1,
.section-head h2,
.opportunity-head h1 {
  font-size: clamp(22px, 2.1vw, 28px) !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;
}
.hero {
  min-height: 0;
  padding: 26px 30px;
  border-radius: 16px;
}
.hero.compact {
  min-height: 0;
}
.hero h1 {
  font-size: clamp(25px, 2.8vw, 34px) !important;
  font-weight: 700 !important;
}
.hero-orb {
  display: none;
}
