/* [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";
}

/* [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;
    }
  }
}

@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-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 {
  .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);
  }

  .flex {
    display: flex;
  }

  .grid {
    display: grid;
  }

  .hidden {
    display: none;
  }

  .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-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-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, );
  }

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

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

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

  .items-center {
    align-items: center;
  }

  .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-3 {
    padding: calc(var(--spacing) * 3);
  }

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

  .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;
  }

  .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 {
  --bg: #08090a;
  --surface: #191a1b;
  --fg: #f7f8f8;
  --fg-2: #d0d6e0;
  --muted: #8a8f98;
  --meta: #62666d;
  --border: #ffffff14;
  --border-soft: #ffffff0d;
  --accent: #5e6ad2;
  --accent-on: #fff;
  --accent-hover: #828fff;
  --accent-active: #4752c4;
  --success: #27a644;
  --warn: #eab308;
  --danger: #dc2626;
  --font-display: var(--font-inter), "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;
}

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 {
  max-width: var(--container-max);
  height: 56px;
  padding: 0 var(--space-6);
  align-items: center;
  gap: var(--space-8);
  margin: 0 auto;
  display: flex;
}

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

.topnav-mark {
  border-radius: var(--radius-sm);
  background: var(--accent);
  width: 24px;
  height: 24px;
  font-family: var(--font-display);
  color: var(--accent-on);
  place-items: center;
  font-size: 12px;
  font-weight: 590;
  display: grid;
}

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

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

.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: #ffffff0d;
}

.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);
}

.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 {
  border-radius: var(--radius-md);
  background: var(--accent);
  width: 40px;
  height: 40px;
  font-family: var(--font-display);
  font-weight: 590;
  font-size: var(--text-lg);
  color: var(--accent-on);
  box-shadow: 0 0 0 1px #ffffff14, 0 8px 20px var(--accent);
  place-items: center;
  display: grid;
}

@supports (color: color-mix(in lab, red, red)) {
  .login-mark {
    box-shadow: 0 0 0 1px #ffffff14, 0 8px 20px color-mix(in oklab, var(--accent), transparent 60%);
  }
}

.login-mark {
  margin-bottom: var(--space-2);
}

.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;
}

.topbar {
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: var(--space-8);
  display: flex;
}

.brand {
  align-items: center;
  gap: var(--space-4);
  display: flex;
}

.brand-mark {
  border-radius: var(--radius-md);
  background: var(--accent);
  width: 40px;
  height: 40px;
  font-family: var(--font-display);
  font-weight: 590;
  font-size: var(--text-lg);
  color: var(--accent-on);
  flex-shrink: 0;
  place-items: center;
  display: grid;
}

.brand-text h1 {
  font-size: var(--text-xl);
  line-height: var(--leading-tight);
  letter-spacing: -.288px;
}

.brand-text p {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-top: 2px;
}

.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: #62666d;
}

.c-validado {
  background: #8a8f98;
}

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

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

.c-semresposta {
  background: #3e3e44;
}

.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);
  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;
}

.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);
}

.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);
  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%);
  }
}

@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: #3e3e44;
}

.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;
}

.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%);
  }
}

.badge-respondeu {
  letter-spacing: .02em;
  color: #fde68a;
  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;
  }
}

@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
}

/*# sourceMappingURL=%5Broot-of-the-server%5D__0_zbhso._.css.map*/