/* [next]/internal/font/google/inter_fe8b9d92.module.css [app-client] (css) */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/2c55a0e60120577a-s.0-dom-5bn10r2.woff2") format("woff2");
  unicode-range: U+460-52F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/9c72aa0f40e4eef8-s.1y4-pdgsjb-pw.woff2") format("woff2");
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/ad66f9afd8947f86-s.3lvt2whj97whp.woff2") format("woff2");
  unicode-range: U+1F??;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/5476f68d60460930-s.2uwcyprjm3xu3.woff2") format("woff2");
  unicode-range: U+370-377, U+37A-37F, U+384-38A, U+38C, U+38E-3A1, U+3A3-3FF;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/2bbe8d2671613f1f-s.0k62hbripvv8p.woff2") format("woff2");
  unicode-range: U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/1bffadaabf893a1e-s.3-6t-g6q0vh0a.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/83afe278b6a6bb3c-s.p.2bn3s6zvc0dyp.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Inter Fallback;
  src: local(Arial);
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0.0%;
  size-adjust: 107.12%;
}

.inter_fe8b9d92-module__LINzvG__className {
  font-family: Inter, Inter Fallback;
  font-style: normal;
}

.inter_fe8b9d92-module__LINzvG__variable {
  --font-inter: "Inter", "Inter Fallback";
}

/* [next]/internal/font/google/baloo_2_983e77fa.module.css [app-client] (css) */
@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../media/3c30d2e0bea83d70-s.3wiqdwqz1gfqe.woff2") format("woff2");
  unicode-range: U+900-97F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}

@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../media/e045b8a36dafeb96-s.1znw80anc03tc.woff2") format("woff2");
  unicode-range: U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../media/921864ee6019b767-s.0dpkqgqz79smb.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../media/d7d9c82e455b419c-s.p.2zp15__9k16__.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../media/3c30d2e0bea83d70-s.3wiqdwqz1gfqe.woff2") format("woff2");
  unicode-range: U+900-97F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}

@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../media/e045b8a36dafeb96-s.1znw80anc03tc.woff2") format("woff2");
  unicode-range: U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../media/921864ee6019b767-s.0dpkqgqz79smb.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../media/d7d9c82e455b419c-s.p.2zp15__9k16__.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Baloo 2 Fallback";
  src: local(Arial);
  ascent-override: 112.55%;
  descent-override: 54.71%;
  line-gap-override: 0.0%;
  size-adjust: 95.78%;
}

.baloo_2_983e77fa-module__PkDbkW__className {
  font-family: "Baloo 2", "Baloo 2 Fallback";
  font-style: normal;
}

.baloo_2_983e77fa-module__PkDbkW__variable {
  --font-baloo: "Baloo 2", "Baloo 2 Fallback";
}

/* [project]/src/app/globals.css [app-client] (css) */
@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *, :before, :after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
      --tw-font-weight: initial;
      --tw-outline-style: solid;
    }
  }
}

@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --color-red-50: #fef2f2;
    --color-red-600: #e40014;
    --color-red-700: #bf000f;
    --color-zinc-50: #fafafa;
    --color-zinc-500: #71717b;
    --color-zinc-600: #52525c;
    --color-black: #000;
    --color-white: #fff;
    --spacing: .25rem;
    --container-xs: 20rem;
    --container-md: 28rem;
    --container-3xl: 48rem;
    --container-4xl: 56rem;
    --text-xs: .75rem;
    --text-xs--line-height: calc(1 / .75);
    --text-sm: .875rem;
    --text-sm--line-height: calc(1.25 / .875);
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --leading-tight: 1.25;
    --radius-sm: .25rem;
    --radius-md: .375rem;
    --radius-lg: .5rem;
    --default-transition-duration: .15s;
    --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }

  @supports (color: lab(0% 0 0)) {
    :root, :host {
      --color-red-50: lab(96.5005% 4.18508 1.52328);
      --color-red-600: lab(48.4493% 77.4328 61.5452);
      --color-red-700: lab(40.4273% 67.2623 53.7441);
      --color-zinc-50: lab(98.26% 0 0);
      --color-zinc-500: lab(47.8878% 1.65477 -5.77283);
      --color-zinc-600: lab(35.1166% 1.78212 -6.1173);
    }
  }
}

@layer base {
  *, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }

  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }

  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }

  b, strong {
    font-weight: bolder;
  }

  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }

  small {
    font-size: 80%;
  }

  sub, sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  :-moz-focusring {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

  ol, ul, menu {
    list-style: none;
  }

  img, svg, video, canvas, audio, iframe, embed, object {
    vertical-align: middle;
    display: block;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
  }

  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }

    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }

  textarea {
    resize: vertical;
  }

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

  :-moz-ui-invalid {
    box-shadow: none;
  }

  button, input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

  ::-webkit-inner-spin-button {
    height: auto;
  }

  ::-webkit-outer-spin-button {
    height: auto;
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}

@layer components;

@layer utilities {
  .fixed {
    position: fixed;
  }

  .container {
    width: 100%;
  }

  @media (min-width: 40rem) {
    .container {
      max-width: 40rem;
    }
  }

  @media (min-width: 48rem) {
    .container {
      max-width: 48rem;
    }
  }

  @media (min-width: 64rem) {
    .container {
      max-width: 64rem;
    }
  }

  @media (min-width: 80rem) {
    .container {
      max-width: 80rem;
    }
  }

  @media (min-width: 96rem) {
    .container {
      max-width: 96rem;
    }
  }

  .mx-auto {
    margin-inline: auto;
  }

  .mt-2 {
    margin-top: calc(var(--spacing) * 2);
  }

  .mb-1 {
    margin-bottom: var(--spacing);
  }

  .mb-2 {
    margin-bottom: calc(var(--spacing) * 2);
  }

  .mb-6 {
    margin-bottom: calc(var(--spacing) * 6);
  }

  .block {
    display: block;
  }

  .flex {
    display: flex;
  }

  .grid {
    display: grid;
  }

  .hidden {
    display: none;
  }

  .inline {
    display: inline;
  }

  .inline-flex {
    display: inline-flex;
  }

  .table {
    display: table;
  }

  .h-full {
    height: 100%;
  }

  .max-h-96 {
    max-height: calc(var(--spacing) * 96);
  }

  .min-h-full {
    min-height: 100%;
  }

  .w-full {
    width: 100%;
  }

  .max-w-3xl {
    max-width: var(--container-3xl);
  }

  .max-w-4xl {
    max-width: var(--container-4xl);
  }

  .max-w-\[220px\] {
    max-width: 220px;
  }

  .max-w-md {
    max-width: var(--container-md);
  }

  .max-w-xs {
    max-width: var(--container-xs);
  }

  .flex-1 {
    flex: 1;
  }

  .flex-shrink {
    flex-shrink: 1;
  }

  .transform {
    transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );
  }

  .resize {
    resize: both;
  }

  .grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flex-col {
    flex-direction: column;
  }

  .flex-wrap {
    flex-wrap: wrap;
  }

  .items-end {
    align-items: flex-end;
  }

  .gap-1 {
    gap: var(--spacing);
  }

  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }

  .gap-4 {
    gap: calc(var(--spacing) * 4);
  }

  .gap-6 {
    gap: calc(var(--spacing) * 6);
  }

  .overflow-x-auto {
    overflow-x: auto;
  }

  .overflow-y-auto {
    overflow-y: auto;
  }

  .rounded {
    border-radius: .25rem;
  }

  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }

  .border-t {
    border-top-style: var(--tw-border-style);
    border-top-width: 1px;
  }

  .bg-black {
    background-color: var(--color-black);
  }

  .bg-red-50 {
    background-color: var(--color-red-50);
  }

  .bg-zinc-50 {
    background-color: var(--color-zinc-50);
  }

  .p-8 {
    padding: calc(var(--spacing) * 8);
  }

  .px-2 {
    padding-inline: calc(var(--spacing) * 2);
  }

  .px-3 {
    padding-inline: calc(var(--spacing) * 3);
  }

  .px-4 {
    padding-inline: calc(var(--spacing) * 4);
  }

  .py-1 {
    padding-block: var(--spacing);
  }

  .py-2 {
    padding-block: calc(var(--spacing) * 2);
  }

  .text-left {
    text-align: left;
  }

  .text-right {
    text-align: right;
  }

  .text-2xl {
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--line-height));
  }

  .text-lg {
    font-size: var(--text-lg);
    line-height: var(--tw-leading, var(--text-lg--line-height));
  }

  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }

  .text-xs {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }

  .font-medium {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }

  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }

  .whitespace-nowrap {
    white-space: nowrap;
  }

  .text-red-600 {
    color: var(--color-red-600);
  }

  .text-red-700 {
    color: var(--color-red-700);
  }

  .text-white {
    color: var(--color-white);
  }

  .text-zinc-500 {
    color: var(--color-zinc-500);
  }

  .text-zinc-600 {
    color: var(--color-zinc-600);
  }

  .antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .opacity-50 {
    opacity: .5;
  }

  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }

  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  @media (hover: hover) {
    .hover\:text-red-600:hover {
      color: var(--color-red-600);
    }
  }

  .disabled\:opacity-50:disabled {
    opacity: .5;
  }

  @media (min-width: 40rem) {
    .sm\:grid-cols-4 {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }
}

:root {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
  --bg: #070f10;
  --surface: #10201f;
  --fg: #f6f9f9;
  --fg-2: #cfdcdb;
  --muted: #82989a;
  --meta: #5f7476;
  --border: #a4cbce29;
  --border-soft: #a4cbce14;
  --ink: #004159;
  --ink-2: #0a5674;
  --accent: #4fa9c4;
  --accent-on: #fff;
  --accent-hover: #6cbdd6;
  --accent-active: #2f8fae;
  --rosa: #cc8c99;
  --laranja: #ffa26c;
  --salvia: #a4cbce;
  --success: #3fae7a;
  --warn: #ffa26c;
  --danger: #d9636f;
  --info: #4fa9c4;
  --font-display: var(--font-baloo), "SF Pro Display", -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
  --font-body: var(--font-inter), "SF Pro Display", -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Berkeley Mono", ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: 24px;
  --text-2xl: 32px;
  --leading-body: 1.5;
  --leading-tight: 1;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 9999px;
  --elev-raised: #0006 0px 2px 4px, 0 0 0 1px #ffffff0d;
  --focus-ring: 0 0 0 2px var(--accent), 0 4px 12px #0000001a;
}

@supports (color: color-mix(in lab, red, red)) {
  :root {
    --focus-ring: 0 0 0 2px color-mix(in oklab, var(--accent), transparent 30%), 0 4px 12px #0000001a;
  }
}

:root {
  --motion-fast: .15s;
  --motion-base: .2s;
  --ease-standard: cubic-bezier(.2, 0, 0, 1);
  --container-max: 1240px;
  --card-bg: #ffffff06;
  --card-bg-hover: #ffffff0a;
  --row-bg-hover: #ffffff08;
}

:root[data-theme="light"] {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  --bg: #eef4f4;
  --surface: #e2edec;
  --fg: #052b36;
  --fg-2: #2a4a52;
  --muted: #5c7679;
  --meta: #7e9598;
  --border: #00415924;
  --border-soft: #00415912;
  --ink: #004159;
  --ink-2: #0a5674;
  --accent: #1f7d9c;
  --accent-on: #fff;
  --accent-hover: #156a85;
  --accent-active: #0f5670;
  --rosa: #a8586b;
  --laranja: #c97830;
  --salvia: #4f8b90;
  --success: #1f8a5c;
  --warn: #c97830;
  --danger: #b83e4d;
  --info: #1f7d9c;
  --elev-raised: #0041591f 0px 2px 4px, 0 0 0 1px #0041590f;
  --card-bg: #00415908;
  --card-bg-hover: #0041590d;
  --row-bg-hover: #0041590a;
}

body {
  background: var(--bg);
  color: var(--fg-2);
  font-family: var(--font-body);
  font-feature-settings: "cv01", "ss03";
  -webkit-font-smoothing: antialiased;
  font-size: var(--text-base);
  line-height: var(--leading-body);
}

::selection {
  background: var(--accent);
}

@supports (color: color-mix(in lab, red, red)) {
  ::selection {
    background: color-mix(in oklab, var(--accent), transparent 65%);
  }
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--fg);
  font-weight: 510;
}

.mono {
  font-family: var(--font-mono);
  font-feature-settings: normal;
  letter-spacing: 0;
}

.topnav {
  z-index: 30;
  background: var(--bg);
  position: sticky;
  top: 0;
}

@supports (color: color-mix(in lab, red, red)) {
  .topnav {
    background: color-mix(in oklab, var(--bg), transparent 8%);
  }
}

.topnav {
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-soft);
}

.topnav-inner {
  height: 56px;
  padding: 0 var(--space-6);
  align-items: center;
  gap: var(--space-5);
  display: flex;
}

.topnav-brand {
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
  display: flex;
}

.topnav-mark {
  width: auto;
  height: 26px;
  display: block;
}

.topnav-word {
  font-size: var(--text-sm);
  color: var(--fg);
  white-space: nowrap;
  font-weight: 510;
}

.topnav-links {
  scrollbar-width: none;
  flex: auto;
  align-items: center;
  gap: 2px;
  min-width: 0;
  list-style: none;
  display: flex;
  overflow-x: auto;
}

.topnav-links li {
  flex-shrink: 0;
}

.topnav-links::-webkit-scrollbar {
  display: none;
}

.topnav-links a {
  font-size: var(--text-sm);
  color: var(--muted);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color var(--motion-fast) var(--ease-standard), background var(--motion-fast) var(--ease-standard);
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  font-weight: 510;
  display: inline-flex;
}

.topnav-links a:hover {
  color: var(--fg-2);
}

.topnav-links a.is-active {
  color: var(--fg);
  background: var(--row-bg-hover);
}

.topnav-user {
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
  margin-left: auto;
  display: flex;
}

.topnav-user-nome {
  font-size: var(--text-sm);
  color: var(--muted);
  white-space: nowrap;
}

.topnav-logout {
  font-size: var(--text-sm);
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color var(--motion-fast) var(--ease-standard), border-color var(--motion-fast) var(--ease-standard);
  background: none;
  padding: 6px 12px;
  font-weight: 510;
}

.topnav-logout:hover {
  color: var(--fg);
  border-color: var(--border-soft);
}

.topnav-theme {
  font-size: var(--text-sm);
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color var(--motion-fast) var(--ease-standard), border-color var(--motion-fast) var(--ease-standard);
  background: none;
  padding: 6px 10px;
  line-height: 1;
}

.topnav-theme:hover {
  color: var(--fg);
  border-color: var(--border-soft);
}

@media (max-width: 640px) {
  .topnav-inner {
    height: auto;
    min-height: 56px;
    padding: 8px var(--space-4);
    flex-wrap: wrap;
    row-gap: 6px;
  }

  .topnav-links {
    flex: 1 0 100%;
    order: 3;
  }

  .topnav-user-nome {
    display: none;
  }
}

.login-shell {
  min-height: 100vh;
  padding: var(--space-6);
  justify-content: center;
  align-items: center;
  display: flex;
  position: relative;
  overflow: hidden;
}

.login-glow {
  background: radial-gradient(circle, var(--accent), transparent 70%);
  width: 720px;
  height: 720px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@supports (color: color-mix(in lab, red, red)) {
  .login-glow {
    background: radial-gradient(circle, color-mix(in oklab, var(--accent), transparent 78%), transparent 70%);
  }
}

.login-glow {
  pointer-events: none;
}

.login-form {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 380px;
  padding: var(--space-8);
  box-shadow: var(--elev-raised);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  position: relative;
}

.login-brand {
  text-align: center;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
  flex-direction: column;
  display: flex;
}

.login-mark {
  width: auto;
  height: 64px;
  margin-bottom: var(--space-2);
  display: block;
}

.login-title {
  font-size: var(--text-xl);
  color: var(--fg);
  font-weight: 590;
}

.login-subtitle {
  font-size: var(--text-sm);
  color: var(--muted);
}

.login-erro {
  color: var(--danger);
  font-size: var(--text-sm);
  background: var(--danger);
}

@supports (color: color-mix(in lab, red, red)) {
  .login-erro {
    background: color-mix(in oklab, var(--danger), transparent 88%);
  }
}

.login-erro {
  border: 1px solid var(--danger);
}

@supports (color: color-mix(in lab, red, red)) {
  .login-erro {
    border: 1px solid color-mix(in oklab, var(--danger), transparent 70%);
  }
}

.login-erro {
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-3);
  margin-bottom: var(--space-5);
}

.login-submit {
  width: 100%;
  margin-top: var(--space-2);
}

.login-footer {
  margin-top: var(--space-6);
  text-align: center;
  font-size: var(--text-xs);
  color: var(--meta);
}

.nav-badge {
  font-family: var(--font-mono);
  border-radius: var(--radius-pill);
  min-width: 18px;
  height: 18px;
  color: var(--fg-2);
  background: #ffffff14;
  justify-content: center;
  align-items: center;
  padding: 0 5px;
  font-size: 11px;
  display: inline-flex;
}

.shell {
  max-width: var(--container-max);
  padding: var(--space-8) var(--space-6) var(--space-12);
  margin: 0 auto;
}

.shell--wide {
  max-width: 100%;
}

.sync-status {
  flex-direction: column;
  flex-shrink: 0;
  align-items: flex-end;
  gap: 6px;
  display: flex;
}

.sync-pill {
  align-items: center;
  gap: var(--space-2);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--card-bg);
  font-size: var(--text-xs);
  color: var(--fg-2);
  padding: 6px 12px 6px 10px;
  font-weight: 510;
  display: inline-flex;
}

.sync-dot {
  background: var(--success);
  width: 7px;
  height: 7px;
  animation: pulse-dot 2.2s var(--ease-standard) infinite;
  border-radius: 50%;
  box-shadow: 0 0 #27a64480;
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 #27a64473;
  }

  70% {
    box-shadow: 0 0 0 6px #27a64400;
  }

  100% {
    box-shadow: 0 0 #27a64400;
  }
}

.sync-meta {
  font-size: var(--text-xs);
  color: var(--meta);
}

.sync-meta .mono {
  color: var(--meta);
}

.section {
  margin-bottom: var(--space-12);
}

.section-head {
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  display: flex;
}

.section-head h2 {
  font-size: var(--text-base);
  letter-spacing: -.1px;
  font-weight: 590;
}

.section-sub {
  font-size: var(--text-xs);
  color: var(--meta);
}

.stat-grid {
  gap: var(--space-4);
  grid-template-columns: repeat(4, 1fr);
  display: grid;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  gap: var(--space-2);
  transition: background var(--motion-base) var(--ease-standard), border-color var(--motion-base) var(--ease-standard), transform var(--motion-base) var(--ease-standard), box-shadow var(--motion-base) var(--ease-standard);
  flex-direction: column;
  display: flex;
  position: relative;
}

.stat-card.is-link {
  text-align: left;
  cursor: pointer;
  width: 100%;
  display: flex;
}

.stat-card.is-link:hover {
  background: var(--card-bg-hover);
  box-shadow: var(--elev-raised);
  border-color: #ffffff24;
  transform: translateY(-2px);
}

.stat-label {
  font-size: var(--text-xs);
  color: var(--muted);
  letter-spacing: .02em;
  font-weight: 510;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: var(--text-2xl);
  color: var(--fg);
  letter-spacing: -.01em;
  font-weight: 400;
  line-height: var(--leading-tight);
}

.stat-foot {
  font-size: var(--text-xs);
  color: var(--meta);
}

.stat-foot .up {
  color: var(--success);
  font-weight: 510;
}

.stat-card--alert {
  border-color: var(--warn);
}

@supports (color: color-mix(in lab, red, red)) {
  .stat-card--alert {
    border-color: color-mix(in oklab, var(--warn), transparent 55%);
  }
}

.stat-card--alert {
  background: var(--warn);
}

@supports (color: color-mix(in lab, red, red)) {
  .stat-card--alert {
    background: color-mix(in oklab, var(--warn), var(--card-bg) 92%);
  }
}

.stat-card--alert {
  text-align: left;
  width: 100%;
}

.stat-card--alert.is-link:hover {
  background: var(--warn);
}

@supports (color: color-mix(in lab, red, red)) {
  .stat-card--alert.is-link:hover {
    background: color-mix(in oklab, var(--warn), var(--card-bg) 86%);
  }
}

.stat-card--alert.is-link:hover {
  border-color: var(--warn);
}

@supports (color: color-mix(in lab, red, red)) {
  .stat-card--alert.is-link:hover {
    border-color: color-mix(in oklab, var(--warn), transparent 35%);
  }
}

.alert-badge {
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #1a1300;
  background: var(--warn);
  border-radius: var(--radius-pill);
  align-self: flex-start;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 590;
}

.stat-card--alert .stat-value {
  color: var(--fg);
}

.stat-card--alert .stat-foot {
  color: var(--warn);
}

@supports (color: color-mix(in lab, red, red)) {
  .stat-card--alert .stat-foot {
    color: color-mix(in oklab, var(--warn), var(--fg-2) 35%);
  }
}

.funnel-bar {
  border-radius: var(--radius-pill);
  background: var(--border-soft);
  width: 100%;
  height: 10px;
  margin-bottom: var(--space-5);
  display: flex;
  overflow: hidden;
}

.funnel-seg {
  height: 100%;
}

.funnel-legend {
  gap: var(--space-3);
  grid-template-columns: repeat(7, 1fr);
  display: grid;
}

.funnel-item {
  padding: var(--space-3);
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.funnel-dot-label {
  font-size: var(--text-xs);
  color: var(--fg-2);
  align-items: center;
  gap: 6px;
  font-weight: 510;
  display: flex;
}

.funnel-dot {
  border-radius: 50%;
  flex-shrink: 0;
  width: 7px;
  height: 7px;
}

.funnel-count {
  font-family: var(--font-mono);
  font-size: var(--text-lg);
  color: var(--fg);
}

.funnel-pct {
  color: var(--meta);
  font-size: 11px;
}

.c-novo {
  background: var(--meta);
}

.c-validado {
  background: var(--muted);
}

.c-sequencia {
  background: var(--accent);
}

.c-respondeu {
  background: var(--success);
}

.c-semresposta {
  background: #2a3a3b;
}

.c-descartado {
  background: var(--danger);
}

@supports (color: color-mix(in lab, red, red)) {
  .c-descartado {
    background: color-mix(in oklab, var(--danger), var(--meta) 50%);
  }
}

.c-optout {
  background: var(--danger);
}

.grid-2 {
  gap: var(--space-6);
  grid-template-columns: 1.1fr 1fr;
  align-items: start;
  display: grid;
}

.panel {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.panel-head {
  padding: var(--space-5) var(--space-5) var(--space-4);
  border-bottom: 2px solid var(--ink);
  justify-content: space-between;
  align-items: baseline;
  display: flex;
}

.panel-head h2 {
  font-size: var(--text-base);
  font-weight: 590;
}

.lead-row {
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid var(--border-soft);
  transition: background var(--motion-fast) var(--ease-standard);
  grid-template-columns: 1.4fr 1fr 1.2fr auto;
  align-items: center;
  display: grid;
}

.lead-row:hover {
  background: var(--row-bg-hover);
}

.lead-company {
  font-size: var(--text-sm);
  color: var(--fg);
  font-weight: 510;
}

.lead-city {
  font-size: var(--text-xs);
  color: var(--muted);
}

.lead-campaign {
  font-size: var(--text-xs);
  color: var(--fg-2);
}

.lead-days {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}

.lead-days b {
  color: var(--fg-2);
  font-weight: 400;
}

.cell-progresso {
  font-size: var(--text-xs);
  color: var(--meta);
  margin-top: 2px;
}

.cell-bypass-alerta {
  font-size: var(--text-xs);
  color: var(--warn);
  margin-top: 2px;
}

.panel .campaign-row {
  padding: var(--space-5);
  border-top: 1px solid var(--border-soft);
}

.panel .campaign-row:first-of-type {
  border-top: none;
}

.campaign-top {
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  display: flex;
}

.panel .campaign-name {
  font-size: var(--text-sm);
  color: var(--fg);
  font-weight: 510;
}

.tag-row {
  margin-top: 4px;
  margin-bottom: var(--space-2);
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

.tag {
  letter-spacing: .02em;
  color: var(--fg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  padding: 2px 9px;
  font-size: 11px;
  font-weight: 510;
}

.tag--segment-varejo {
  color: var(--accent-hover);
  border-color: var(--accent);
}

@supports (color: color-mix(in lab, red, red)) {
  .tag--segment-varejo {
    border-color: color-mix(in oklab, var(--accent), transparent 45%);
  }
}

.tag--segment-distribuidor {
  color: var(--fg-2);
}

.tag--atencao {
  color: var(--accent-on);
  background: var(--accent);
  border-color: var(--accent);
}

.campaign-progress-num {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--fg);
  white-space: nowrap;
}

.campaign-progress-num span {
  color: var(--meta);
}

.progress-track {
  border-radius: var(--radius-pill);
  background: var(--border-soft);
  height: 6px;
  overflow: hidden;
}

.progress-fill {
  background: var(--accent);
  border-radius: var(--radius-pill);
  height: 100%;
}

.page-head {
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--ink);
  display: flex;
}

.page-head h1 {
  font-size: var(--text-2xl);
  line-height: var(--leading-tight);
  letter-spacing: -.704px;
}

.page-head p {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-top: 6px;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-on);
  font-size: var(--text-sm);
  border-radius: var(--radius-sm);
  transition: background var(--motion-fast) var(--ease-standard);
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  font-weight: 510;
  display: inline-flex;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.table-panel {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.table-panel .campaign-row {
  gap: var(--space-6);
  padding: var(--space-5);
  border-top: 1px solid var(--border-soft);
  grid-template-columns: 1.6fr 1fr auto;
  align-items: center;
  display: grid;
}

.table-panel .campaign-row:first-of-type {
  border-top: none;
}

.table-panel .campaign-name {
  font-size: var(--text-base);
  color: var(--fg);
  transition: color var(--motion-fast) var(--ease-standard);
  margin-bottom: 6px;
  font-weight: 590;
  display: inline-block;
}

.table-panel .campaign-name:hover {
  color: var(--accent-hover);
}

.campaign-templates-link {
  font-size: var(--text-xs);
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  transition: color var(--motion-fast) var(--ease-standard), border-color var(--motion-fast) var(--ease-standard);
  padding: 2px 9px;
}

.campaign-templates-link:hover {
  color: var(--accent-hover);
  border-color: var(--accent);
}

@supports (color: color-mix(in lab, red, red)) {
  .campaign-templates-link:hover {
    border-color: color-mix(in oklab, var(--accent), transparent 45%);
  }
}

.table-panel .campaign-progress-num {
  margin-bottom: 8px;
}

.last-search {
  font-size: var(--text-xs);
  color: var(--meta);
}

.last-search--none {
  color: var(--meta);
  font-style: normal;
}

.search-cities {
  font-size: var(--text-xs);
  color: var(--meta);
  margin-top: 2px;
}

.campaign-actions {
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  display: flex;
}

.btn-ghost {
  color: var(--fg-2);
  border: 1px solid var(--border);
  font-size: var(--text-xs);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background var(--motion-fast) var(--ease-standard), border-color var(--motion-fast) var(--ease-standard);
  background: #ffffff05;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  font-weight: 510;
  display: inline-flex;
}

.btn-ghost:hover {
  background: #ffffff0d;
  border-color: #ffffff24;
}

.btn-ghost--ultima-fonte {
  color: var(--success);
  border-color: var(--success);
}

@supports (color: color-mix(in lab, red, red)) {
  .btn-ghost--ultima-fonte {
    border-color: color-mix(in oklab, var(--success), transparent 45%);
  }
}

.btn-ghost--ultima-fonte {
  background: var(--success);
}

@supports (color: color-mix(in lab, red, red)) {
  .btn-ghost--ultima-fonte {
    background: color-mix(in oklab, var(--success), transparent 90%);
  }
}

.btn-ghost--ultima-fonte:hover {
  background: var(--success);
}

@supports (color: color-mix(in lab, red, red)) {
  .btn-ghost--ultima-fonte:hover {
    background: color-mix(in oklab, var(--success), transparent 82%);
  }
}

.btn-ghost--buscando {
  color: var(--success);
  border-color: var(--success);
}

@supports (color: color-mix(in lab, red, red)) {
  .btn-ghost--buscando {
    border-color: color-mix(in oklab, var(--success), transparent 30%);
  }
}

.btn-ghost--buscando {
  background: var(--success);
}

@supports (color: color-mix(in lab, red, red)) {
  .btn-ghost--buscando {
    background: color-mix(in oklab, var(--success), transparent 80%);
  }
}

.btn-danger {
  color: var(--danger);
  border: 1px solid var(--danger);
  background: none;
  align-items: center;
  gap: 6px;
  display: inline-flex;
}

@supports (color: color-mix(in lab, red, red)) {
  .btn-danger {
    border: 1px solid color-mix(in oklab, var(--danger), transparent 35%);
  }
}

.btn-danger {
  font-size: var(--text-xs);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background var(--motion-fast) var(--ease-standard);
  padding: 7px 12px;
  font-weight: 510;
}

.btn-danger:hover {
  background: var(--danger);
}

@supports (color: color-mix(in lab, red, red)) {
  .btn-danger:hover {
    background: color-mix(in oklab, var(--danger), transparent 90%);
  }
}

.btn-link {
  color: var(--accent);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-size: 12px;
  text-decoration: underline;
}

.input-date {
  background: var(--surface);
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  padding: 4px 8px;
  font-size: 12px;
}

.lista-vendas {
  border-bottom: 1px solid var(--border);
  margin: 0 0 10px;
  padding: 0 0 8px;
  list-style: none;
}

table.tabela-vendas {
  table-layout: auto;
}

table.tabela-vendas th:first-child, table.tabela-vendas td:first-child, table.tabela-vendas th:nth-child(3), table.tabela-vendas td:nth-child(3) {
  width: auto;
}

.trilha-toggle {
  border-radius: var(--radius-pill);
  cursor: pointer;
  width: 40px;
  height: 22px;
  transition: background var(--motion-fast) var(--ease-standard), border-color var(--motion-fast) var(--ease-standard);
  background: #ffffff1f;
  border: 1.5px solid #ffffff40;
  flex-shrink: 0;
  position: relative;
}

.trilha-toggle:disabled {
  opacity: .6;
  cursor: default;
}

.trilha-toggle--on {
  background: var(--accent);
  border-color: var(--accent);
}

.trilha-toggle__knob {
  width: 16px;
  height: 16px;
  transition: transform var(--motion-fast) var(--ease-standard);
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transform: translateX(18px);
}

.trilha-toggle--on .trilha-toggle__knob {
  transform: translateX(0);
}

.trilha-toggle--lg {
  border-width: 2px;
  width: 60px;
  height: 33px;
}

.trilha-toggle--lg .trilha-toggle__knob {
  width: 25px;
  height: 25px;
  top: 2px;
  transform: translateX(29px);
}

.trilha-toggle--lg.trilha-toggle--on .trilha-toggle__knob {
  transform: translateX(0);
}

.trilha-toggle--perigo:not(.trilha-toggle--on) {
  background: var(--danger);
  border-color: var(--danger);
}

.topnav-agente {
  align-items: center;
  gap: var(--space-3);
  padding-right: var(--space-4);
  border-right: 1px solid var(--border);
  display: flex;
}

.topnav-agente-label {
  font-size: var(--text-sm);
  color: var(--muted);
  white-space: nowrap;
}

.at-midia {
  margin-bottom: var(--space-2);
  display: block;
}

.at-midia--img {
  border-radius: var(--radius-sm);
  cursor: pointer;
  max-width: 240px;
  max-height: 300px;
}

.at-midia--audio {
  width: 240px;
}

.at-midia--video {
  border-radius: var(--radius-sm);
  max-width: 240px;
}

.at-midia-link {
  margin-bottom: var(--space-2);
  color: var(--accent);
  font-size: var(--text-sm);
  display: inline-block;
}

.cidades-custom-field {
  gap: var(--space-2);
  flex-direction: column;
  display: flex;
}

.cidades-custom-input-row {
  gap: var(--space-2);
  display: flex;
}

.cidades-custom-tags {
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-top: 2px;
  display: flex;
}

.cidades-custom-tag {
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  color: var(--fg);
  background: #ffffff12;
  align-items: center;
  gap: 5px;
  padding: 3px 10px 3px 12px;
  display: inline-flex;
}

.cidades-custom-tag button {
  color: var(--meta);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-size: 15px;
  line-height: 1;
}

.cidades-custom-tag button:hover {
  color: var(--danger);
}

@media (max-width: 768px) {
  .table-panel .campaign-row {
    gap: var(--space-3);
    grid-template-columns: 1fr;
  }

  .campaign-actions {
    flex-flow: wrap;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .page-head {
    align-items: flex-start;
    gap: var(--space-3);
    flex-direction: column;
  }
}

.summary-grid {
  gap: var(--space-4);
  grid-template-columns: repeat(4, 1fr);
  display: grid;
}

.summary-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}

.summary-label {
  font-size: var(--text-xs);
  color: var(--muted);
  margin-bottom: var(--space-2);
  font-weight: 510;
}

.summary-value {
  font-family: var(--font-mono);
  font-size: var(--text-xl);
  color: var(--fg);
  margin-bottom: var(--space-3);
}

.channel-row {
  font-size: var(--text-xs);
  color: var(--fg-2);
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  display: flex;
}

.channel-row .mono {
  color: var(--fg);
}

.channel-bar {
  margin-top: var(--space-3);
  border-radius: var(--radius-pill);
  background: var(--border-soft);
  height: 6px;
  display: flex;
  overflow: hidden;
}

.channel-bar > span:first-child {
  background: var(--accent);
}

.channel-bar > span:last-child {
  background: #2a3a3b;
}

.summary-line {
  color: var(--muted);
  margin-top: 4px;
  font-size: 13px;
}

.summary-line .mono {
  color: var(--fg);
  font-weight: 590;
}

.summary-line .sep {
  margin: 0 6px;
}

.toolbar {
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  display: flex;
}

.toolbar-search {
  flex: 1;
  position: relative;
}

.toolbar-search svg {
  color: var(--muted);
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
}

.toolbar-search input {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 100%;
  color: var(--fg);
  padding: 9px 12px 9px 36px;
  font-size: 13px;
}

.toolbar-search input:focus {
  border-color: var(--accent);
  outline: none;
}

.toolbar select {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--fg);
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%238b8b94' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  padding: 9px 32px 9px 12px;
  font-size: 13px;
}

.toolbar select:focus {
  border-color: var(--accent);
  outline: none;
}

.seg-group {
  border-bottom: 1px solid var(--border);
}

.seg-group:last-child {
  border-bottom: none;
}

.seg-summary {
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  cursor: pointer;
  list-style: none;
  display: flex;
}

.seg-summary::-webkit-details-marker {
  display: none;
}

.seg-summary-name {
  font-size: 14px;
  font-weight: 590;
}

.seg-summary-count {
  color: var(--muted);
  background: var(--row-bg-hover);
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 12px;
}

.seg-chevron {
  color: var(--muted);
  margin-left: auto;
  transition: transform .15s;
}

.seg-group[open] > .seg-summary .seg-chevron {
  transform: rotate(180deg);
}

table {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
}

thead th {
  text-align: left;
  color: var(--muted);
  padding: var(--space-2) var(--space-5);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  font-weight: 590;
}

thead th:first-child, tbody td:first-child {
  width: 55%;
}

thead th.col-campaign, tbody td.col-campaign {
  width: 20%;
}

thead th:nth-child(3), tbody td:nth-child(3) {
  width: 25%;
}

tbody td {
  padding: var(--space-3) var(--space-5);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

tbody tr:last-child td {
  border-bottom: none;
}

tbody tr:hover {
  background: var(--row-bg-hover);
}

.cell-company {
  color: var(--fg);
  font-weight: 540;
  text-decoration: none;
  display: block;
}

.cell-company:hover {
  text-decoration: underline;
}

.cell-city {
  color: var(--muted);
  margin-top: 2px;
  font-size: 12px;
}

.cell-origem {
  color: var(--meta);
  margin-top: 2px;
  font-size: 11px;
}

.cell-campaign--none {
  color: var(--muted);
}

.status-pill {
  align-items: center;
  gap: 6px;
  display: inline-flex;
}

.status-dot {
  border-radius: 50%;
  flex-shrink: 0;
  width: 7px;
  height: 7px;
}

.pagination {
  padding: var(--space-3) var(--space-5);
  color: var(--muted);
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  display: flex;
}

.page-controls {
  gap: var(--space-2);
  display: flex;
}

.page-controls button, .page-controls a {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--fg);
  cursor: pointer;
  padding: 5px 12px;
  font-size: 12px;
}

.page-controls button:hover:not(:disabled), .page-controls a:hover:not([aria-disabled="true"]) {
  background: var(--row-bg-hover);
}

.page-controls button:disabled, .page-controls a[aria-disabled="true"] {
  color: var(--muted);
  cursor: not-allowed;
  opacity: .6;
  pointer-events: none;
}

.page-container {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.page-container .page-head {
  text-align: center;
  flex-direction: column;
  align-items: center;
}

.tab-strip {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  margin: 0 auto var(--space-6);
  background: #ffffff05;
  justify-content: center;
  gap: 2px;
  width: fit-content;
  padding: 3px;
  display: flex;
}

.tab-btn {
  font-size: var(--text-sm);
  color: var(--muted);
  border-radius: var(--radius-sm);
  transition: color var(--motion-fast) var(--ease-standard), background var(--motion-fast) var(--ease-standard);
  padding: 8px 16px;
  font-weight: 510;
}

.tab-btn:hover {
  color: var(--fg-2);
}

.tab-btn.is-active {
  color: var(--fg);
  background: #ffffff0f;
}

.form-panel {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  padding: var(--space-8);
}

.field-group {
  margin-bottom: var(--space-5);
}

.field-group label {
  font-size: var(--text-xs);
  color: var(--fg-2);
  margin-bottom: 6px;
  font-weight: 510;
  display: block;
}

.field-optional {
  color: var(--meta);
  text-transform: none;
  font-weight: 400;
}

.field-group input, .field-group select, .field-group textarea {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 100%;
  padding: 10px var(--space-3);
  font: inherit;
  font-size: var(--text-sm);
  color: var(--fg);
  appearance: none;
  background: #ffffff05;
}

.field-group textarea {
  resize: vertical;
}

.field-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%238a8f98' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  padding-right: 32px;
}

.field-group input::placeholder, .field-group textarea::placeholder {
  color: var(--meta);
}

.field-group input:focus-visible, .field-group select:focus-visible, .field-group textarea:focus-visible {
  border-color: var(--accent);
}

@supports (color: color-mix(in lab, red, red)) {
  .field-group input:focus-visible, .field-group select:focus-visible, .field-group textarea:focus-visible {
    border-color: color-mix(in oklab, var(--accent), transparent 30%);
  }
}

.field-hint {
  color: var(--meta);
  margin-top: 6px;
  font-size: 12px;
}

.field-row-2 {
  gap: var(--space-4);
  grid-template-columns: 1fr 1fr;
  display: grid;
}

.checkbox-row {
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--fg-2);
  margin-bottom: var(--space-5);
  display: flex;
}

.checkbox-row input {
  width: auto;
}

.form-panel .btn-primary {
  margin-top: var(--space-2);
  padding: 10px 18px;
}

.shell > .form-panel {
  max-width: 640px;
  margin: 0 auto;
}

.templates-panel .seg-group {
  border-top: 1px solid var(--border-soft);
  border-bottom: none;
}

.templates-panel .seg-group:first-of-type {
  border-top: none;
}

.templates-panel .seg-summary {
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  -webkit-tap-highlight-color: transparent;
}

.templates-panel .seg-summary:hover {
  background: var(--row-bg-hover);
}

.templates-panel .seg-summary-name {
  font-size: var(--text-sm);
  color: var(--fg);
}

.templates-panel .seg-summary-count {
  font-family: var(--font-mono);
  background: var(--border-soft);
  border-radius: var(--radius-pill);
  padding: 2px 9px;
}

.seg-summary-variants {
  font-size: var(--text-xs);
  color: var(--muted);
}

.templates-panel .seg-chevron {
  width: 14px;
  height: 14px;
  stroke: var(--meta);
}

.seg-body {
  padding: 0 var(--space-5) var(--space-5);
}

.template-block {
  padding-top: var(--space-5);
}

.template-block + .template-block {
  border-top: 1px solid var(--border-soft);
  margin-top: var(--space-2);
}

.template-block-head {
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  display: flex;
}

.template-block-head h3 {
  font-size: var(--text-base);
  font-weight: 590;
}

.template-block-sub {
  font-size: var(--text-xs);
  color: var(--meta);
}

.template-steps {
  gap: var(--space-4);
  flex-direction: column;
  display: flex;
}

.step-card {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  background: #ffffff04;
}

.step-head {
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  display: flex;
}

.step-meta {
  align-items: center;
  gap: var(--space-2);
  display: flex;
}

.step-day {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--fg-2);
  font-weight: 510;
}

.step-channel-tag {
  letter-spacing: .02em;
  color: var(--fg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 2px 9px;
  font-size: 11px;
  font-weight: 510;
}

.step-badge-encerramento {
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--meta);
  border-radius: var(--radius-pill);
  background: #ffffff0f;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 590;
}

.step-delete {
  font-size: var(--text-xs);
  color: var(--muted);
  cursor: pointer;
  transition: color var(--motion-fast) var(--ease-standard);
  background: none;
  border: none;
}

.step-delete:hover {
  color: var(--danger);
}

.step-field {
  margin-bottom: var(--space-3);
}

.step-field label {
  color: var(--meta);
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 510;
  display: block;
}

.step-field input {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 100%;
  padding: 8px var(--space-3);
  font: inherit;
  font-size: var(--text-sm);
  color: var(--fg);
  background: #ffffff05;
}

.step-field input:focus-visible {
  border-color: var(--accent);
}

@supports (color: color-mix(in lab, red, red)) {
  .step-field input:focus-visible {
    border-color: color-mix(in oklab, var(--accent), transparent 30%);
  }
}

.step-midia-section {
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border-soft);
}

.step-midia-preview {
  margin-bottom: var(--space-2);
}

.step-arquivo-link {
  font-size: var(--text-sm);
  color: var(--accent-hover);
  align-items: center;
  gap: 6px;
  display: inline-flex;
}

.step-midia-form {
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  display: flex;
}

.step-midia-form input[type="file"] {
  color: var(--muted);
  max-width: 100%;
  font-size: 12px;
}

.step-midia-form .checkbox-row {
  margin-bottom: 0;
  font-size: 12px;
}

.step-textarea {
  resize: vertical;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 100%;
  min-height: 84px;
  padding: var(--space-3);
  font: inherit;
  font-size: var(--text-sm);
  color: var(--fg);
  background: #ffffff05;
  line-height: 1.5;
}

.step-textarea:focus-visible {
  border-color: var(--accent);
}

@supports (color: color-mix(in lab, red, red)) {
  .step-textarea:focus-visible {
    border-color: color-mix(in oklab, var(--accent), transparent 30%);
  }
}

.step-view-assunto {
  font-size: var(--text-sm);
  color: var(--fg-2);
  margin-bottom: var(--space-2);
}

.step-view-assunto strong {
  color: var(--fg);
  font-weight: 510;
}

.step-view-conteudo {
  font-size: var(--text-sm);
  color: var(--fg-2);
  line-height: var(--leading-body);
  white-space: pre-wrap;
}

.step-foot {
  margin-top: var(--space-3);
  justify-content: flex-end;
  display: flex;
}

.btn-save {
  color: var(--accent-on);
  background: var(--accent);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--motion-fast) var(--ease-standard);
  border: none;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 510;
}

.btn-save:hover {
  background: var(--accent-hover);
}

.new-template-head {
  font-size: var(--text-lg);
  margin: 40px 0 var(--space-4);
  text-align: center;
}

.campanhas-fixas-head {
  font-size: var(--text-sm);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: var(--space-3);
  font-weight: 510;
}

.seq-empty {
  padding: var(--space-5) 0;
  color: var(--muted);
  font-size: var(--text-sm);
}

.table-panel .seq-empty {
  padding: var(--space-5);
}

.cadencia-card-form {
  align-items: center;
  gap: var(--space-2);
  display: flex;
}

.cadencia-card-form label {
  font-size: var(--text-xs);
  color: var(--meta);
}

.cadencia-card-form input[type="number"] {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 56px;
  padding: 6px var(--space-2);
  font-size: var(--text-sm);
  color: var(--fg);
  background: #ffffff05;
}

.cadencia-card-form button {
  margin-left: auto;
}

.resp-row {
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid var(--border-soft);
  display: flex;
}

.resp-row:first-of-type {
  border-top: none;
}

.resp-row-left {
  min-width: 0;
  transition: opacity var(--motion-fast) var(--ease-standard);
  flex-direction: column;
  flex: 1;
  gap: 4px;
  display: flex;
}

.resp-row-left:hover {
  opacity: .85;
}

.resp-row-top {
  align-items: center;
  gap: var(--space-3);
  display: flex;
}

.resp-name {
  font-size: var(--text-sm);
  color: var(--fg);
  font-weight: 510;
}

.resp-campaign {
  font-size: var(--text-xs);
  color: var(--muted);
}

.resp-message {
  font-size: var(--text-sm);
  color: var(--fg-2);
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 520px;
  font-style: italic;
  overflow: hidden;
}

.resp-row-right {
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
  display: flex;
}

.resp-agent {
  flex-direction: column;
  align-items: center;
  gap: 4px;
  display: flex;
}

.resp-agent-label {
  font-size: var(--text-xs);
  color: var(--muted);
}

.resp-agent--master {
  gap: 6px;
}

.resp-agent-label--master {
  font-size: var(--text-sm);
  color: var(--fg);
  font-weight: 600;
}

.resp-agent-hint {
  color: var(--muted);
  font-size: 10px;
}

.btn-whatsapp {
  font-size: var(--text-xs);
  color: var(--success);
  border: 1px solid var(--success);
  align-items: center;
  gap: 6px;
  font-weight: 510;
  display: inline-flex;
}

@supports (color: color-mix(in lab, red, red)) {
  .btn-whatsapp {
    border: 1px solid color-mix(in oklab, var(--success), transparent 55%);
  }
}

.btn-whatsapp {
  border-radius: var(--radius-sm);
  transition: background var(--motion-fast) var(--ease-standard);
  flex-shrink: 0;
  padding: 6px 12px;
}

.btn-whatsapp:hover {
  background: var(--success);
}

@supports (color: color-mix(in lab, red, red)) {
  .btn-whatsapp:hover {
    background: color-mix(in oklab, var(--success), transparent 90%);
  }
}

.btn-atendido {
  font-size: var(--text-xs);
  color: var(--accent);
  border: 1px solid var(--accent);
  background: none;
  align-items: center;
  font-weight: 510;
  display: inline-flex;
}

@supports (color: color-mix(in lab, red, red)) {
  .btn-atendido {
    border: 1px solid color-mix(in oklab, var(--accent), transparent 55%);
  }
}

.btn-atendido {
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--motion-fast) var(--ease-standard);
  flex-shrink: 0;
  padding: 6px 12px;
}

.btn-atendido:hover {
  background: var(--accent);
}

@supports (color: color-mix(in lab, red, red)) {
  .btn-atendido:hover {
    background: color-mix(in oklab, var(--accent), transparent 90%);
  }
}

.badge-respondeu {
  letter-spacing: .02em;
  color: var(--warn);
  background: var(--warn);
  font-size: 11px;
  font-weight: 590;
}

@supports (color: color-mix(in lab, red, red)) {
  .badge-respondeu {
    background: color-mix(in oklab, var(--warn), transparent 80%);
  }
}

.badge-respondeu {
  border: 1px solid var(--warn);
}

@supports (color: color-mix(in lab, red, red)) {
  .badge-respondeu {
    border: 1px solid color-mix(in oklab, var(--warn), transparent 55%);
  }
}

.badge-respondeu {
  border-radius: var(--radius-pill);
  white-space: nowrap;
  flex-shrink: 0;
  padding: 3px 10px;
}

.dec-row {
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid var(--border-soft);
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-4);
  display: flex;
}

.dec-row:first-of-type {
  border-top: none;
}

.dec-name {
  font-size: var(--text-sm);
  color: var(--fg);
  font-weight: 510;
}

.dec-meta-1 {
  font-size: var(--text-xs);
  color: var(--muted);
  margin-top: 2px;
}

.dec-meta-2 {
  color: var(--meta);
  margin-top: 4px;
  font-size: 11px;
}

.dec-transition {
  font-size: var(--text-sm);
  color: var(--fg-2);
  margin-top: var(--space-2);
}

.dec-transition b {
  color: var(--fg);
  font-weight: 590;
}

.dec-motivo {
  font-size: var(--text-sm);
  color: var(--fg-2);
  margin-top: 4px;
}

.btn-outline {
  font-size: var(--text-xs);
  color: var(--fg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background var(--motion-fast) var(--ease-standard);
  flex-shrink: 0;
  padding: 6px 12px;
  font-weight: 510;
}

.btn-outline:hover {
  background: #ffffff0d;
}

.dec-desfeita {
  font-size: var(--text-xs);
  color: var(--meta);
  white-space: nowrap;
  flex-shrink: 0;
}

.lead-detail-head {
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  display: flex;
}

.lead-detail-sub {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-top: var(--space-1);
}

.info-grid {
  gap: var(--space-4) var(--space-6);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  margin-bottom: var(--space-6);
  grid-template-columns: 1fr 1fr;
  display: grid;
}

.info-grid dt {
  font-size: var(--text-xs);
  color: var(--muted);
  margin-bottom: 2px;
}

.info-grid dd {
  font-size: var(--text-sm);
  color: var(--fg);
}

.info-grid .whatsapp-link {
  margin-left: var(--space-2);
  color: var(--success);
  font-size: var(--text-xs);
}

.status-form {
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  display: flex;
}

.status-form label {
  font-size: var(--text-sm);
  color: var(--fg-2);
}

.status-form select {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px var(--space-3);
  font: inherit;
  font-size: var(--text-sm);
  color: var(--fg);
  appearance: none;
  background: #ffffff05 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%238a8f98' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 10px center no-repeat;
  padding-right: 28px;
}

.status-form select:focus-visible {
  border-color: var(--accent);
}

@supports (color: color-mix(in lab, red, red)) {
  .status-form select:focus-visible {
    border-color: color-mix(in oklab, var(--accent), transparent 30%);
  }
}

.conversation-head {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}

.msg-list {
  gap: var(--space-2);
  flex-direction: column;
  display: flex;
}

.msg-bubble {
  border-radius: var(--radius-md);
  max-width: 80%;
  padding: var(--space-3);
  font-size: var(--text-sm);
  line-height: var(--leading-body);
}

.msg-bubble--enviada {
  background: var(--accent);
  color: var(--accent-on);
  align-self: flex-end;
}

.msg-bubble--enviada .msg-meta {
  color: #ffffffbf;
}

.msg-bubble--recebida {
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--fg-2);
  align-self: flex-start;
}

.msg-bubble--recebida .msg-meta {
  color: var(--meta);
}

.msg-meta {
  margin-bottom: 4px;
  font-size: 11px;
}

.msg-midia {
  margin-bottom: var(--space-2);
}

.msg-midia img, .msg-midia video {
  border-radius: var(--radius-sm);
  max-height: 192px;
}

@media (max-width: 1024px) {
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .funnel-legend {
    grid-template-columns: repeat(4, 1fr);
  }

  .summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .col-campaign {
    display: none;
  }
}

@media (max-width: 640px) {
  .shell {
    padding: var(--space-6) var(--space-4) var(--space-8);
  }

  .topbar {
    align-items: stretch;
    gap: var(--space-4);
    flex-direction: column;
  }

  .sync-status {
    align-items: flex-start;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .funnel-legend {
    grid-template-columns: repeat(2, 1fr);
  }

  .lead-row {
    grid-template-columns: 1fr;
    row-gap: 2px;
  }

  .lead-days {
    text-align: left;
  }

  .summary-grid {
    grid-template-columns: 1fr;
  }

  table {
    font-size: 13px;
  }

  .form-panel {
    padding: var(--space-6);
  }

  .step-head {
    gap: var(--space-2);
    flex-wrap: wrap;
  }

  .field-row-2 {
    grid-template-columns: 1fr;
  }

  .seq-row, .resp-row {
    flex-wrap: wrap;
  }

  .resp-message {
    max-width: 100%;
  }

  .dec-row {
    flex-wrap: wrap;
  }
}

.funil-board {
  gap: var(--space-3);
  padding-bottom: var(--space-3);
  align-items: flex-start;
  display: flex;
  overflow-x: auto;
}

.funil-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  flex-direction: column;
  flex: 1 0 240px;
  max-height: 72vh;
  display: flex;
}

.funil-col-head {
  padding: var(--space-3);
  border-bottom: 1px solid var(--border);
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.funil-col-nome {
  font-weight: 590;
  font-size: var(--text-sm);
}

.funil-col-count {
  font-size: var(--text-xs);
  color: var(--muted);
  background: var(--border-soft);
  border-radius: var(--radius-pill);
  padding: 1px 8px;
}

.funil-col-body {
  gap: var(--space-2);
  padding: var(--space-3);
  flex-direction: column;
  display: flex;
  overflow-y: auto;
}

.funil-col-vazio {
  color: var(--meta);
  font-size: var(--text-sm);
  text-align: center;
  padding: var(--space-2) 0;
}

.funil-card {
  padding: var(--space-3);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--motion-fast) var(--ease-standard);
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  display: flex;
}

.funil-card:hover {
  border-color: var(--accent);
}

.funil-card-nome {
  color: var(--fg);
  font-size: var(--text-sm);
  font-weight: 510;
}

.funil-card-meta {
  color: var(--muted);
  font-size: var(--text-xs);
}

.funil-card-seg {
  color: var(--meta);
  font-size: var(--text-xs);
}

.funil-card-ver {
  margin-top: var(--space-1);
  color: var(--accent);
  font-size: var(--text-xs);
}

.funil-arquivo {
  margin-top: var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.funil-arquivo-body {
  gap: var(--space-2);
  padding: var(--space-3);
  flex-wrap: wrap;
  display: flex;
}

.funil-arquivo-body .funil-card {
  flex: 0 0 220px;
}

.funil-select {
  background: var(--surface);
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
}

.funil-card[draggable="true"] {
  cursor: grab;
}

.funil-card[draggable="true"]:active {
  cursor: grabbing;
}

.funil-col--alvo {
  outline: 2px dashed var(--accent);
  outline-offset: -2px;
}

.funil-card-ver {
  text-decoration: none;
}

.nota-venda {
  gap: var(--space-3);
  flex-direction: column;
  max-width: 640px;
  display: flex;
}

.nota-venda-input {
  background: var(--surface);
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  resize: vertical;
}

.nota-venda-acoes {
  align-items: center;
  gap: var(--space-3);
  display: flex;
}

.nota-venda-ok {
  color: var(--success);
  font-size: var(--text-sm);
}

.nota-venda .btn-primary.venda-feita {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

.nota-venda .btn-danger.venda-perdida {
  background: var(--danger);
  border-color: var(--danger);
  color: #fff;
}

.at-shell {
  background: var(--bg);
  grid-template-columns: 344px minmax(0, 1fr) 312px;
  height: calc(100dvh - 56px);
  display: grid;
  overflow: hidden;
}

.at-avatar {
  color: #fff;
  border-radius: 50%;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  font-size: 15px;
  font-weight: 650;
  display: grid;
}

.at-avatar--sm {
  width: 38px;
  height: 38px;
  font-size: 14px;
}

.at-avatar--lg {
  width: 60px;
  height: 60px;
  font-size: 22px;
}

.at-list {
  background: var(--surface);
  border-right: 1px solid var(--border-soft);
  flex-direction: column;
  min-height: 0;
  display: flex;
}

.at-list-head {
  flex-direction: column;
  gap: 11px;
  padding: 14px 14px 10px;
  display: flex;
}

.at-cat-select {
  width: 100%;
}

.at-search {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--muted);
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  display: flex;
}

.at-search input {
  font: inherit;
  color: var(--fg);
  background: none;
  border: 0;
  outline: none;
  width: 100%;
}

.at-tabs {
  flex-wrap: wrap;
  gap: 6px 8px;
  display: flex;
}

.at-tab {
  white-space: nowrap;
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: var(--radius-pill);
  background: none;
  flex: none;
  padding: 5px 12px;
  font-size: 12.5px;
  font-weight: 550;
  text-decoration: none;
}

.at-tab--active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.at-tab-n {
  opacity: .8;
}

.at-threads {
  flex: 1;
  padding: 4px 8px 12px;
  overflow-y: auto;
}

.at-thread {
  width: 100%;
  color: inherit;
  border-radius: var(--radius-lg);
  grid-template-rows: auto auto;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  column-gap: 11px;
  padding: 10px;
  text-decoration: none;
  display: grid;
}

.at-thread:hover {
  background: var(--card-bg);
}

.at-thread--active {
  background: var(--card-bg-hover);
}

.at-thread .at-avatar {
  grid-row: 1 / 3;
  position: relative;
}

.at-thread-pin {
  background: var(--danger);
  border: 2px solid var(--surface);
  border-radius: 50%;
  width: 11px;
  height: 11px;
  position: absolute;
  top: -2px;
  right: -2px;
}

.at-thread-name {
  letter-spacing: -.01em;
  color: var(--fg);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
}

.at-thread-time {
  color: var(--meta);
  font-variant-numeric: tabular-nums;
  font-size: 11.5px;
}

.at-thread-preview {
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  grid-column: 2 / 3;
  font-size: 12.5px;
  overflow: hidden;
}

.at-thread-meta {
  grid-column: 3 / 4;
  justify-self: end;
  align-items: center;
  gap: 6px;
  display: flex;
}

.at-flag {
  letter-spacing: .03em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  background: var(--warn);
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 700;
}

@supports (color: color-mix(in lab, red, red)) {
  .at-flag {
    background: color-mix(in oklab, var(--warn), transparent 86%);
  }
}

.at-flag {
  color: var(--warn);
  white-space: nowrap;
}

.at-flag--bot {
  background: var(--muted);
}

@supports (color: color-mix(in lab, red, red)) {
  .at-flag--bot {
    background: color-mix(in oklab, var(--muted), transparent 88%);
  }
}

.at-flag--bot {
  color: var(--muted);
}

.at-flag--negociacao {
  background: var(--accent);
}

@supports (color: color-mix(in lab, red, red)) {
  .at-flag--negociacao {
    background: color-mix(in oklab, var(--accent), transparent 84%);
  }
}

.at-flag--negociacao {
  color: var(--accent);
}

.at-flag--indicado {
  background: var(--success);
}

@supports (color: color-mix(in lab, red, red)) {
  .at-flag--indicado {
    background: color-mix(in oklab, var(--success), transparent 84%);
  }
}

.at-flag--indicado {
  color: var(--success);
}

.at-selo {
  letter-spacing: .03em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 700;
  transition: background .12s, color .12s, border-color .12s;
}

.at-selo--ativo {
  background: var(--warn);
}

@supports (color: color-mix(in lab, red, red)) {
  .at-selo--ativo {
    background: color-mix(in oklab, var(--warn), transparent 86%);
  }
}

.at-selo--ativo {
  border-color: var(--warn);
}

@supports (color: color-mix(in lab, red, red)) {
  .at-selo--ativo {
    border-color: color-mix(in oklab, var(--warn), transparent 55%);
  }
}

.at-selo--ativo {
  color: var(--warn);
}

.at-empty-list {
  color: var(--meta);
  font-size: var(--text-sm);
  padding: 16px;
}

.at-conv {
  background: var(--bg);
  flex-direction: column;
  min-height: 0;
  display: flex;
}

.at-empty {
  color: var(--muted);
  flex-direction: column;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 10px;
  display: flex;
}

.at-empty-mark {
  opacity: .55;
  font-size: 40px;
}

.at-conv-head {
  background: var(--surface);
  border-bottom: 1px solid var(--border-soft);
  flex: none;
  align-items: center;
  gap: 12px;
  padding: 9px 18px;
  display: flex;
}

.at-conv-title {
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  display: flex;
}

.at-conv-name {
  letter-spacing: -.01em;
  color: var(--fg);
  font-weight: 600;
  text-decoration: none;
}

.at-conv-name:hover {
  text-decoration: underline;
}

.at-conv-sub {
  color: var(--muted);
  align-items: center;
  gap: 7px;
  font-size: 12px;
  display: flex;
}

.at-chip {
  border-radius: var(--radius-pill);
  background: var(--accent);
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
}

@supports (color: color-mix(in lab, red, red)) {
  .at-chip {
    background: color-mix(in oklab, var(--accent), transparent 85%);
  }
}

.at-chip {
  color: var(--accent-hover);
}

.at-spacer {
  flex: 1;
}

.at-agent-toggle {
  color: var(--muted);
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 12.5px;
  display: flex;
}

.at-switch {
  border-radius: var(--radius-pill);
  cursor: pointer;
  background: #34363a;
  border: 0;
  width: 38px;
  height: 22px;
  transition: background .15s;
  position: relative;
}

.at-switch--on {
  background: var(--accent);
}

.at-switch:after {
  content: "";
  background: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  transition: transform .15s;
  position: absolute;
  top: 2px;
  left: 2px;
  box-shadow: 0 1px 2px #00000059;
}

.at-switch--on:after {
  transform: translateX(16px);
}

.at-messages {
  flex-direction: column;
  flex: 1;
  gap: 3px;
  padding: 20px 22px;
  display: flex;
  overflow-y: auto;
}

.at-row {
  margin-top: 9px;
  display: flex;
}

.at-row--in {
  justify-content: flex-start;
}

.at-row--out {
  justify-content: flex-end;
}

.at-bubble {
  border-radius: 12px;
  max-width: 68%;
  padding: 8px 12px 7px;
}

.at-row--in .at-bubble {
  border: 1px solid var(--border);
  color: var(--fg);
  background: #ffffff0d;
  border-top-left-radius: 5px;
}

.at-row--out .at-bubble {
  background: var(--accent);
}

@supports (color: color-mix(in lab, red, red)) {
  .at-row--out .at-bubble {
    background: color-mix(in oklab, var(--accent), transparent 83%);
  }
}

.at-row--out .at-bubble {
  border: 1px solid var(--accent);
}

@supports (color: color-mix(in lab, red, red)) {
  .at-row--out .at-bubble {
    border: 1px solid color-mix(in oklab, var(--accent), transparent 66%);
  }
}

.at-row--out .at-bubble {
  color: var(--fg);
  border-top-right-radius: 5px;
}

.at-who {
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-bottom: 3px;
  font-size: 10.5px;
  font-weight: 700;
  display: inline-block;
}

.at-who--agent {
  color: var(--accent-hover);
}

.at-who--human {
  color: #4fd08a;
}

.at-who--auto {
  color: var(--meta);
}

.at-who--email {
  color: #e0a458;
}

.at-entrega {
  font-size: 10px;
}

.at-entrega--read {
  color: #4a9eff;
}

.at-entrega--failed {
  color: var(--danger);
  font-weight: 600;
}

.at-bubble--email {
  border: 1px dashed #e0a45873;
  border: 1px dashed lab(72.0878% 17.1183 47.8487 / .45);
}

.at-bubble p {
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, SF Pro Text, Segoe UI, system-ui, Roboto, Helvetica, sans-serif;
  font-size: 14.5px;
  line-height: 1.55;
}

.at-time {
  text-align: right;
  color: var(--meta);
  font-variant-numeric: tabular-nums;
  margin-top: 3px;
  font-size: 10.5px;
  display: block;
}

.at-card--stack {
  flex-direction: column;
  gap: 10px;
  display: flex;
}

.at-template-select {
  box-sizing: border-box;
  border: 1px solid var(--border);
  background: var(--surface);
  width: 100%;
  color: var(--fg);
  border-radius: var(--radius-md);
  font-size: 12px;
  font: inherit;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238a8f98' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 9px center;
  background-repeat: no-repeat;
  outline: none;
  padding: 6px 26px 6px 9px;
}

.at-template-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);
}

@supports (color: color-mix(in lab, red, red)) {
  .at-template-select:focus {
    box-shadow: 0 0 0 2px color-mix(in oklab, var(--accent), transparent 70%);
  }
}

.at-composer {
  background: var(--surface);
  border-top: 1px solid var(--border-soft);
  flex: none;
  align-items: flex-end;
  gap: 10px;
  padding: 12px 16px;
  display: flex;
}

.at-composer-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  flex: 1;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  display: flex;
}

.at-composer-box input, .at-composer-box textarea {
  font: inherit;
  color: var(--fg);
  resize: none;
  background: none;
  border: 0;
  outline: none;
  flex: 1;
  font-size: 14px;
}

.at-send {
  border-radius: var(--radius-lg);
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  border: 0;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  font-size: 17px;
  display: grid;
}

.at-send:hover:not(:disabled) {
  background: var(--accent-hover);
}

.at-send:disabled {
  opacity: .55;
  cursor: default;
}

.at-attach {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card-bg);
  width: 42px;
  height: 42px;
  color: var(--muted);
  cursor: pointer;
  flex: none;
  place-items: center;
  font-size: 17px;
  line-height: 1;
  display: grid;
}

.at-attach:hover:not(:disabled) {
  background: var(--card-bg-hover);
  color: var(--fg-2);
}

.at-attach:disabled {
  opacity: .55;
  cursor: default;
}

.at-context {
  background: var(--surface);
  border-left: 1px solid var(--border-soft);
  flex-direction: column;
  gap: 16px;
  padding: 18px 16px;
  display: flex;
  overflow-y: auto;
}

.at-ctx-id {
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  display: flex;
}

.at-ctx-name {
  letter-spacing: -.01em;
  color: var(--fg);
  font-size: 15px;
  font-weight: 600;
}

.at-ctx-loc {
  color: var(--muted);
  font-size: 12.5px;
}

.at-eyebrow {
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--meta);
  margin-bottom: 8px;
  font-size: 10.5px;
  font-weight: 700;
}

.at-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 12px 13px;
}

.at-kv {
  justify-content: space-between;
  align-items: baseline;
  padding: 5px 0;
  font-size: 13px;
  display: flex;
}

.at-kv + .at-kv {
  border-top: 1px dashed var(--border);
}

.at-k {
  color: var(--muted);
}

.at-v {
  color: var(--fg);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.at-v--hot {
  color: var(--warn);
}

.at-stage {
  align-items: center;
  gap: 8px;
  font-weight: 600;
  display: inline-flex;
}

.at-pin {
  background: var(--accent);
  width: 9px;
  height: 9px;
  box-shadow: 0 0 0 3px var(--accent);
  border-radius: 50%;
}

@supports (color: color-mix(in lab, red, red)) {
  .at-pin {
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent), transparent 85%);
  }
}

.at-note {
  color: var(--muted);
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
}

.at-ctx-actions {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.at-btn {
  border: 1px solid var(--border);
  background: var(--card-bg);
  border-radius: var(--radius-md);
  color: var(--fg-2);
  text-align: center;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 550;
  text-decoration: none;
}

.at-btn:hover {
  background: var(--card-bg-hover);
}

.at-btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.at-btn--primary:hover {
  background: var(--accent-hover);
}

@media (max-width: 1080px) {
  .at-shell {
    grid-template-columns: 312px minmax(0, 1fr);
  }

  .at-context {
    display: none;
  }
}

.at-back {
  display: none;
}

@media (max-width: 640px) {
  .at-shell {
    grid-template-columns: 1fr;
    height: calc(100dvh - 82px);
  }

  .at-shell--lista .at-conv, .at-shell--conversa .at-list {
    display: none;
  }

  .at-list, .at-conv {
    width: 100%;
    min-width: 0;
  }

  .at-back {
    border-radius: var(--radius-md);
    width: 32px;
    height: 32px;
    color: var(--fg-2);
    flex: none;
    place-items: center;
    font-size: 18px;
    text-decoration: none;
    display: grid;
  }

  .at-back:hover {
    background: var(--card-bg-hover);
  }

  .at-conv-head {
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .at-conv-title {
    flex: auto;
    min-width: 0;
  }

  .at-conv-name {
    -webkit-line-clamp: 2;
    white-space: normal;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
  }

  .at-spacer {
    flex-basis: 100%;
    height: 0;
  }

  .at-thread-name {
    text-overflow: ellipsis;
    overflow: hidden;
  }
}

.em-shell {
  grid-template-columns: 320px minmax(0, 1fr);
  height: calc(100dvh - 56px);
  display: grid;
}

.em-back {
  display: none;
}

.em-list {
  border-right: 1px solid var(--border);
  background: var(--surface);
  min-height: 0;
  overflow-y: auto;
}

.em-empty, .em-vazio {
  color: var(--muted);
  padding: 24px;
  font-size: 13px;
}

.em-item {
  border-bottom: 1px solid var(--border);
  color: inherit;
  gap: 10px;
  padding: 12px 14px;
  text-decoration: none;
  display: flex;
}

.em-item.is-sel {
  background: var(--bg);
}

.em-avatar {
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  place-items: center;
  width: 34px;
  height: 34px;
  font-size: 12px;
  display: grid;
}

.em-item-body {
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  display: flex;
}

.em-item-top {
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  display: flex;
}

.em-item-nome {
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 13.5px;
  font-weight: 600;
  overflow: hidden;
}

.em-flag {
  color: var(--accent);
  border: 1px solid var(--accent);
  white-space: nowrap;
  border-radius: 8px;
  padding: 0 5px;
  font-size: 10px;
}

.em-item-assunto {
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12.5px;
  font-weight: 500;
  overflow: hidden;
}

.em-item-trecho {
  color: var(--muted);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12px;
  overflow: hidden;
}

.em-main {
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  display: flex;
}

.em-topbar {
  border-bottom: 1px solid var(--border);
  justify-content: flex-end;
  padding: 8px 12px;
  display: flex;
}

.em-templates-btn {
  border: 1px solid var(--border);
  color: var(--fg);
  background: var(--surface);
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 12.5px;
  text-decoration: none;
}

.em-head {
  border-bottom: 1px solid var(--border);
  padding: 14px 20px;
}

.em-subject {
  color: var(--fg);
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
}

.em-head-contact {
  align-items: center;
  gap: 10px;
  display: flex;
}

.em-head-info {
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.em-head-nome {
  color: var(--fg);
  font-size: 13px;
  font-weight: 600;
}

.em-head-email {
  color: var(--muted);
  font-size: 12px;
}

.em-head-seg {
  color: var(--muted);
  border: 1px solid var(--border);
  white-space: nowrap;
  border-radius: 8px;
  margin-left: auto;
  padding: 2px 8px;
  font-size: 11.5px;
}

.em-thread {
  flex-direction: column;
  flex: 1;
  gap: 12px;
  padding: 16px;
  display: flex;
  overflow-y: auto;
}

.em-bubble {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  max-width: 78%;
  padding: 10px 12px;
  font-size: 13.5px;
}

.em-bubble.is-out {
  background: var(--accent);
  color: #fff;
  border-color: #0000;
  align-self: flex-end;
}

.em-bubble-de {
  opacity: .75;
  margin-bottom: 4px;
  font-size: 11.5px;
  font-weight: 600;
}

.em-bubble-corpo {
  white-space: pre-wrap;
}

.em-bubble-anexo {
  margin-top: 6px;
  font-size: 12px;
  display: inline-block;
}

.em-bubble-hora {
  opacity: .6;
  text-align: right;
  margin-top: 6px;
  font-size: 10.5px;
}

.em-composer {
  border-top: 1px solid var(--border);
  flex-direction: column;
  gap: 8px;
  padding: 12px 16px;
  display: flex;
}

.em-composer-erro {
  color: var(--danger);
  font-size: 12.5px;
}

.em-composer-row {
  gap: 8px;
  display: flex;
}

.em-assunto {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--fg);
  border-radius: 8px;
  flex: 1;
  padding: 7px 10px;
  font-size: 13px;
}

.em-template-sel {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--fg);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 12.5px;
}

.em-texto {
  box-sizing: border-box;
  border: 1px solid var(--border);
  background: var(--surface);
  width: 100%;
  color: var(--fg);
  resize: vertical;
  border-radius: 8px;
  padding: 10px;
  font-family: inherit;
  font-size: 13.5px;
}

.em-composer-actions {
  align-items: center;
  gap: 12px;
  display: flex;
}

.em-anexo-btn {
  cursor: pointer;
  color: var(--fg);
  font-size: 12.5px;
}

.em-anexo-count {
  color: var(--muted);
  font-size: 12px;
}

.em-enviar {
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  margin-left: auto;
  padding: 8px 20px;
  font-size: 13px;
}

.em-enviar:disabled {
  opacity: .6;
}

@media (max-width: 640px) {
  .em-shell {
    grid-template-columns: 1fr;
    height: calc(100dvh - 82px);
  }

  .em-shell--lista .em-main, .em-shell--detalhe .em-list {
    display: none;
  }

  .em-list, .em-main {
    width: 100%;
    min-width: 0;
  }

  .em-topbar {
    justify-content: space-between;
  }

  .em-back {
    border-radius: var(--radius-md);
    width: 32px;
    height: 32px;
    color: var(--fg-2);
    place-items: center;
    font-size: 18px;
    text-decoration: none;
    display: grid;
  }

  .em-back:hover {
    background: var(--card-bg-hover);
  }

  .em-head-seg {
    display: none;
  }
}

.ast-shell {
  height: calc(100dvh - 56px);
  max-width: var(--container-max);
  flex-direction: column;
  width: 100%;
  margin: 0 auto;
  display: flex;
}

@media (max-width: 640px) {
  .ast-shell {
    height: calc(100dvh - 82px);
  }
}

.ast-toolbar {
  justify-content: flex-end;
  padding: 10px 20px 0;
  display: flex;
}

.ast-mensagens {
  flex-direction: column;
  flex: 1;
  gap: 16px;
  min-height: 0;
  padding: 24px 20px;
  display: flex;
  overflow-y: auto;
}

.ast-vazio {
  text-align: center;
  color: var(--muted);
  max-width: 560px;
  margin: auto;
}

.ast-vazio-mark {
  color: var(--accent);
  margin-bottom: 8px;
  font-size: 34px;
}

.ast-vazio h2 {
  color: var(--fg);
  margin-bottom: 6px;
  font-size: 20px;
}

.ast-vazio p {
  margin-bottom: 18px;
  font-size: 14px;
}

.ast-sugestoes {
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  display: flex;
}

.ast-chip {
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--fg-2);
  border-radius: var(--radius-pill);
  cursor: pointer;
  padding: 8px 14px;
  font-size: 13px;
}

.ast-chip:hover {
  border-color: var(--accent);
  color: var(--fg);
}

.ast-msg {
  display: flex;
}

.ast-msg--user {
  justify-content: flex-end;
}

.ast-msg--assistant {
  justify-content: flex-start;
}

.ast-bolha {
  white-space: pre-wrap;
  word-break: break-word;
  border-radius: 14px;
  max-width: 80%;
  padding: 11px 15px;
  font-size: 14.5px;
  line-height: 1.5;
}

.ast-msg--user .ast-bolha {
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.ast-msg--assistant .ast-bolha {
  background: var(--surface);
  border: 1px solid var(--border);
  max-width: min(92%, 760px);
  box-shadow: var(--elev-raised);
  color: var(--fg);
  border-bottom-left-radius: 4px;
}

.ast-pensando {
  color: var(--muted);
  font-style: italic;
}

.ast-erro {
  color: var(--danger);
  text-align: center;
  font-size: 13px;
}

.ast-composer {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 14px;
  flex: none;
  align-items: flex-end;
  gap: 8px;
  margin: 0 16px 200px;
  padding: 10px 12px;
  display: flex;
}

.ast-composer textarea {
  resize: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--card-bg);
  max-height: 160px;
  color: var(--fg);
  font: inherit;
  outline: none;
  flex: 1;
  padding: 10px 13px;
  font-size: 14.5px;
  line-height: 1.4;
}

.ast-send {
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  border: none;
  border-radius: 10px;
  flex: none;
  width: 40px;
  height: 40px;
  font-size: 16px;
}

.ast-send:disabled {
  opacity: .5;
  cursor: default;
}

.ast-md {
  white-space: normal;
}

.ast-md > :first-child {
  margin-top: 0;
}

.ast-md > :last-child {
  margin-bottom: 0;
}

.ast-md p {
  margin: 0 0 8px;
}

.ast-md h1, .ast-md h2, .ast-md h3 {
  margin: 14px 0 6px;
  font-weight: 650;
  line-height: 1.3;
}

.ast-md h1 {
  font-size: 18px;
}

.ast-md h2 {
  font-size: 16px;
}

.ast-md h3 {
  font-size: 14.5px;
}

.ast-md ul, .ast-md ol {
  margin: 4px 0 8px;
  padding-left: 20px;
}

.ast-md li {
  margin: 2px 0;
}

.ast-md strong {
  font-weight: 650;
}

.ast-md a {
  color: var(--accent);
  text-underline-offset: 2px;
  font-weight: 550;
  text-decoration: underline;
}

.ast-md code {
  background: var(--muted);
}

@supports (color: color-mix(in lab, red, red)) {
  .ast-md code {
    background: color-mix(in oklab, var(--muted), transparent 85%);
  }
}

.ast-md code {
  border-radius: 5px;
  padding: 1px 5px;
  font-size: .9em;
}

.ast-md hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 14px 0;
}

.ast-md table {
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin: 8px 0;
  font-size: 13.5px;
  display: block;
  overflow-x: auto;
}

.ast-md th, .ast-md td {
  border-bottom: 1px solid var(--border-soft);
  text-align: left;
  white-space: nowrap;
  padding: 7px 12px;
}

.ast-md tbody tr:last-child td {
  border-bottom: none;
}

.ast-md th {
  background: var(--muted);
}

@supports (color: color-mix(in lab, red, red)) {
  .ast-md th {
    background: color-mix(in oklab, var(--muted), transparent 88%);
  }
}

.ast-md th {
  color: var(--fg-2);
  font-weight: 650;
}

.ast-anexo {
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  color: var(--fg-2);
  border-radius: 8px;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  margin: 0 16px 8px;
  padding: 6px 10px;
  font-size: 13px;
  display: flex;
}

.ast-anexo button {
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: none;
  font-size: 15px;
}

.ast-msg-acoes {
  margin-top: 4px;
}

.ast-relatorio-btn {
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: var(--radius-pill);
  cursor: pointer;
  background: none;
  padding: 3px 10px;
  font-size: 12px;
}

.ast-relatorio-btn:hover {
  border-color: var(--accent);
  color: var(--fg-2);
}

.hero-body {
  padding: 0 var(--space-5) var(--space-5);
}

.money-value {
  font-family: var(--font-mono);
  letter-spacing: -.02em;
  color: var(--fg);
  margin: var(--space-2) 0 var(--space-5);
  font-size: 40px;
  line-height: 1;
}

.hero-subgrid {
  gap: var(--space-4);
  border-top: 1px solid var(--border-soft);
  padding-top: var(--space-4);
  grid-template-columns: repeat(3, 1fr);
  display: grid;
}

.mini-label {
  letter-spacing: .08em;
  color: var(--meta);
  font-size: 10px;
  font-weight: 590;
}

.mini-value {
  font-family: var(--font-mono);
  font-size: var(--text-lg);
  color: var(--fg);
  margin-top: 4px;
}

.mini-x {
  color: var(--meta);
  font-size: var(--text-sm);
}

.action-list {
  flex-direction: column;
  display: flex;
}

.action-row {
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid var(--border-soft);
  color: var(--fg-2);
  transition: background var(--motion-fast) var(--ease-standard);
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.action-row:hover {
  background: var(--accent);
}

@supports (color: color-mix(in lab, red, red)) {
  .action-row:hover {
    background: color-mix(in oklab, var(--accent), transparent 92%);
  }
}

.action-label {
  font-size: var(--text-sm);
}

.action-count {
  font-family: var(--font-mono);
  font-size: var(--text-lg);
  color: var(--fg);
  text-align: right;
  min-width: 34px;
}

.action-row.is-hot .action-count {
  color: var(--warn);
}

.action-row.is-hot .action-label {
  color: var(--fg);
}

.aging {
  padding: 0 var(--space-5) var(--space-5);
  gap: var(--space-3);
  flex-direction: column;
  display: flex;
}

.aging-row {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.aging-when {
  font-size: var(--text-sm);
  color: var(--fg-2);
  align-items: center;
  gap: 9px;
  display: flex;
}

.aging-when:before {
  content: "";
  border-radius: 50%;
  flex: none;
  width: 8px;
  height: 8px;
}

.aging-row.ok .aging-when:before {
  background: var(--success);
}

.aging-row.warn .aging-when:before {
  background: var(--warn);
}

.aging-row.danger .aging-when:before {
  background: var(--danger);
}

.aging-when small {
  color: var(--meta);
  margin-left: 6px;
}

.aging-count {
  font-family: var(--font-mono);
  font-size: var(--text-xl);
  color: var(--fg);
}

.aging-row.danger .aging-count {
  color: var(--danger);
}

.aging-note {
  font-size: var(--text-xs);
  color: var(--meta);
  margin: var(--space-2) 0 0;
}

.motor-grid {
  background: var(--border-soft);
  border-top: 1px solid var(--border-soft);
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  display: grid;
}

.motor {
  background: var(--card-bg);
  padding: var(--space-4) var(--space-5) var(--space-5);
}

.motor-title {
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
  align-items: center;
  gap: 7px;
  font-weight: 590;
  display: flex;
}

.motor-title:before {
  content: "";
  border-radius: 50%;
  width: 8px;
  height: 8px;
}

.motor-title.frio {
  color: var(--laranja);
}

.motor-title.frio:before {
  background: var(--laranja);
}

.motor-title.recompra {
  color: var(--rosa);
}

.motor-title.recompra:before {
  background: var(--rosa);
}

.motor-stat {
  font-size: var(--text-sm);
  color: var(--muted);
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  display: flex;
}

.motor-stat b {
  color: var(--fg);
  font-family: var(--font-mono);
  font-weight: 400;
}

.motor-stat.sale {
  border-top: 1px solid var(--border-soft);
  margin-top: 4px;
  padding-top: 10px;
}

.motor-stat.sale b {
  color: var(--success);
}

.delivery {
  gap: var(--space-6);
  padding: 0 var(--space-5) var(--space-5);
  grid-template-columns: 1.2fr 1fr;
  display: grid;
}

.delivery-pct {
  font-family: var(--font-mono);
  color: var(--fg);
  letter-spacing: -.02em;
  font-size: 40px;
  line-height: 1;
}

.delivery-bar {
  border-radius: var(--radius-pill);
  background: var(--border-soft);
  height: 8px;
  margin-top: var(--space-4);
  display: flex;
  overflow: hidden;
}

.delivery-bar .d-read {
  background: var(--success);
}

.delivery-bar .d-deliv {
  background: var(--success);
}

@supports (color: color-mix(in lab, red, red)) {
  .delivery-bar .d-deliv {
    background: color-mix(in oklab, var(--success), var(--card-bg) 45%);
  }
}

.delivery-bar .d-fail {
  background: var(--danger);
}

.delivery-side {
  border-left: 1px solid var(--border-soft);
  padding-left: var(--space-6);
}

.delivery-erow, .delivery-bot {
  font-size: var(--text-sm);
  color: var(--muted);
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  display: flex;
}

.delivery-erow b, .delivery-bot b {
  color: var(--fg-2);
  font-family: var(--font-mono);
  font-weight: 400;
}

.delivery-bot {
  border-top: 1px solid var(--border-soft);
  margin-top: var(--space-2);
}

.delivery-empty {
  font-size: var(--text-sm);
  color: var(--success);
  margin: var(--space-3) 0 0;
}

@media (max-width: 720px) {
  .hero-subgrid {
    gap: var(--space-3);
    grid-template-columns: 1fr;
  }

  .motor-grid, .delivery {
    grid-template-columns: 1fr;
  }

  .delivery-side {
    border-left: none;
    border-top: 1px solid var(--border-soft);
    padding-left: 0;
    padding-top: var(--space-4);
  }
}

.seletor-cidades-ufs {
  gap: var(--space-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-2);
  background: var(--surface);
  flex-wrap: wrap;
  display: flex;
}

.uf-chip {
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--fg);
  font-size: var(--text-xs);
  cursor: pointer;
  transition: background var(--motion-fast), border-color var(--motion-fast);
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-weight: 600;
  display: inline-flex;
}

.uf-chip:hover {
  border-color: var(--accent);
}

.uf-chip.aberta {
  background: var(--accent);
  color: var(--accent-on);
  border-color: var(--accent);
}

.uf-chip.tem-selecao {
  border-color: var(--accent-forte, var(--accent-active));
}

.uf-chip-contador {
  background: var(--accent-forte, var(--accent-active));
  color: #fff;
  border-radius: var(--radius-pill);
  text-align: center;
  min-width: 15px;
  padding: 0 5px;
  font-size: 10px;
  line-height: 15px;
}

.seletor-cidades-painel {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-top: var(--space-2);
  background: var(--surface);
}

.seletor-cidades-cabeca {
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-bottom: 1px solid var(--border-soft);
  flex-wrap: wrap;
  display: flex;
}

.seletor-cidades-meta {
  font-size: var(--text-xs);
  color: var(--muted);
}

.seletor-cidades-acoes {
  gap: var(--space-1);
  margin-left: auto;
  display: flex;
}

.seletor-cidades-acoes .btn-ghost {
  font-size: var(--text-xs);
  padding: 2px 8px;
}

.seletor-cidades-busca {
  border: 0;
  border-bottom: 1px solid var(--border-soft);
  width: 100%;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  color: var(--fg);
  background: none;
}

.seletor-cidades-busca:focus {
  box-shadow: var(--focus-ring);
  outline: none;
}

.seletor-cidades-lista {
  gap: 2px var(--space-3);
  max-height: 260px;
  padding: var(--space-2) var(--space-3);
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  display: grid;
  overflow-y: auto;
}

.seletor-cidades-item {
  font-size: var(--text-sm);
  cursor: pointer;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
  display: flex;
}

.seletor-cidades-item span {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.seletor-cidades-vazio {
  font-size: var(--text-sm);
  color: var(--muted);
  margin: 0;
}

.seletor-cidades-total {
  font-size: var(--text-xs);
  color: var(--muted);
  margin: var(--space-2) 0 0;
}

@property --tw-rotate-x {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-y {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-z {
  syntax: "*";
  inherits: false
}

@property --tw-skew-x {
  syntax: "*";
  inherits: false
}

@property --tw-skew-y {
  syntax: "*";
  inherits: false
}

@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-font-weight {
  syntax: "*";
  inherits: false
}

@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

/*# sourceMappingURL=%5Broot-of-the-server%5D__139avh0._.css.map*/