/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', Arial,
    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-teal-100: #D9EBE5;
    --color-teal-200: #AACFC5;
    --color-teal-400: #66A99B;
    --color-teal-500: #43897C;
    --color-teal-600: #336D63;
    --color-teal-700: #26544D;
    --color-teal-800: #1C3F3A;
    --color-teal-900: #10231F;
    --color-teal-950: #0C1917;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
    --color-lime-cream: #E2F577;
    --color-bone: #DFDBCF;
    --color-grey-olive: #84948E;
    --color-burnt-tangerine: #E04429;
    --color-fiery-terracotta: #E55D45;
    --color-pine-teal: #26544D;
    --color-dark-slate: #1C3F3A;
    --color-n-0: #FCFAF5;
    --color-n-50: #F5F2E9;
    --color-n-100: #ECE8DD;
    --color-n-200: #DFDBCF;
    --color-n-300: #C9C7BC;
    --color-n-400: #A8ADA5;
    --color-n-500: #84948E;
    --color-n-550: #74837C;
    --color-n-600: #616E67;
    --color-n-700: #505E58;
    --color-n-800: #38443F;
    --color-n-900: #242E2B;
    --color-n-950: #161E1C;
    --color-teal-850: #163029;
    --color-or-900: #6E1D0C;
    --color-or-800: #8E2712;
    --color-or-700: #B03318;
    --color-or-600: #C63C22;
    --color-or-500: #E04429;
    --color-or-400: #E55D45;
    --color-or-300: #F08A76;
    --color-or-200: #F7BFB2;
    --color-or-100: #FCE6DF;
    --color-li-900: #3B4A08;
    --color-li-800: #55680F;
    --color-li-700: #71881A;
    --color-li-600: #93AD28;
    --color-li-500: #B6D242;
    --color-li-400: #E2F577;
    --color-li-300: #EAF89A;
    --color-li-100: #F5FCCE;
    --color-rosa: #D3919F;
    --color-rosa-ink: #6E2E3C;
    --color-rosa-soft: #F2DCE0;
    --color-rosa-dim: #3A222A;
    --color-ambar: #DFAE55;
    --color-ambar-ink: #6A4910;
    --color-ambar-soft: #F7E9CC;
    --color-ambar-dim: #3A2E14;
    --color-azul: #93B2C6;
    --color-azul-ink: #294758;
    --color-azul-soft: #DCE8EE;
    --color-azul-dim: #1E2F39;
    --color-lilas: #AFA1C4;
    --color-lilas-ink: #3F2F55;
    --color-lilas-soft: #E5E0EE;
    --color-lilas-dim: #2A2337;
    --color-pessego: #E3BC9B;
    --color-pessego-ink: #6D451F;
    --color-pessego-soft: #F6E7D9;
    --color-pessego-dim: #3A2A1C;
    --font-title: 'Alan Sans', sans-serif;
    --font-body: 'Figtree', sans-serif;
    --radius-pill: 999px;
    --sp-1: 4px;
    --sp-2: 8px;
    --sp-3: 12px;
    --sp-4: 16px;
    --sp-5: 20px;
    --sp-6: 24px;
    --sp-7: 32px;
    --sp-8: 40px;
    --sp-9: 56px;
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', Arial, 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;
    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 {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :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)) {
        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, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-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']), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden='until-found'])) {
    display: none !important;
  }
}
@layer utilities {
  .visible {
    visibility: visible;
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
  }
  .fixed {
    position: fixed;
  }
  .static {
    position: static;
  }
  .container {
    width: 100%;
    @media (width >= 40rem) {
      max-width: 40rem;
    }
    @media (width >= 48rem) {
      max-width: 48rem;
    }
    @media (width >= 64rem) {
      max-width: 64rem;
    }
    @media (width >= 80rem) {
      max-width: 80rem;
    }
    @media (width >= 96rem) {
      max-width: 96rem;
    }
  }
  .block {
    display: block;
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .inline {
    display: inline;
  }
  .table {
    display: table;
  }
  .w-full {
    width: 100%;
  }
  .flex-shrink {
    flex-shrink: 1;
  }
  .grow {
    flex-grow: 1;
  }
  .resize {
    resize: both;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .blur {
    --tw-blur: blur(8px);
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .filter {
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .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));
  }
}
@layer base {
  :root {
    color-scheme: light;
    --bg: var(--color-n-50);
    --surface: var(--color-n-0);
    --surface-2: var(--color-n-100);
    --surface-sunk: rgba(236, 232, 221, 0.55);
    --field: #FDFCF7;
    --text: var(--color-n-900);
    --text-muted: var(--color-n-600);
    --text-faint: var(--color-n-550);
    --border: var(--color-n-200);
    --border-soft: var(--color-n-100);
    --focus-border: var(--color-teal-600);
    --focus-ring: rgba(51, 109, 99, 0.18);
    --structure: var(--color-teal-800);
    --on-structure: #DCE8E3;
    --on-structure-strong: #FFFFFF;
    --accent: var(--color-or-500);
    --accent-solid: var(--color-or-600);
    --accent-hover: var(--color-or-700);
    --accent-on: #FFFFFF;
    --accent-soft: var(--color-or-100);
    --accent-soft-ink: var(--color-or-800);
    --ok: var(--color-li-600);
    --ok-soft: var(--color-li-100);
    --ok-ink: var(--color-li-900);
    --warn: var(--color-ambar);
    --warn-soft: var(--color-ambar-soft);
    --warn-ink: var(--color-ambar-ink);
    --bad: var(--color-or-500);
    --bad-soft: var(--color-or-100);
    --bad-ink: var(--color-or-900);
    --info: var(--color-teal-700);
    --info-soft: var(--color-teal-100);
    --info-ink: var(--color-teal-900);
    --off: var(--color-n-500);
    --off-soft: var(--color-n-100);
    --off-ink: var(--color-n-800);
    --cat-rosa: var(--color-rosa);
    --cat-rosa-bg: var(--color-rosa-soft);
    --cat-rosa-ink: var(--color-rosa-ink);
    --cat-ambar: var(--color-ambar);
    --cat-ambar-bg: var(--color-ambar-soft);
    --cat-ambar-ink: var(--color-ambar-ink);
    --cat-azul: var(--color-azul);
    --cat-azul-bg: var(--color-azul-soft);
    --cat-azul-ink: var(--color-azul-ink);
    --cat-lilas: var(--color-lilas);
    --cat-lilas-bg: var(--color-lilas-soft);
    --cat-lilas-ink: var(--color-lilas-ink);
    --cat-pessego: var(--color-pessego);
    --cat-pessego-bg: var(--color-pessego-soft);
    --cat-pessego-ink: var(--color-pessego-ink);
    --cat-teal: var(--color-teal-700);
    --cat-teal-bg: var(--color-teal-100);
    --cat-teal-ink: var(--color-teal-900);
    --cat-oliva: var(--color-grey-olive);
    --cat-oliva-bg: var(--color-n-100);
    --cat-oliva-ink: var(--color-n-800);
    --overlay: rgba(22, 30, 28, 0.5);
    --shadow-sm: 0 1px 3px rgba(36, 46, 43, 0.1);
    --shadow-md: 0 3px 8px rgba(36, 46, 43, 0.16);
  }
  :root[data-theme="dark"] {
    color-scheme: dark;
    --bg: var(--color-teal-900);
    --surface: var(--color-teal-850);
    --surface-2: var(--color-teal-800);
    --surface-sunk: rgba(12, 25, 23, 0.5);
    --field: #0F2320;
    --text: #E9EFEB;
    --text-muted: #94A8A0;
    --text-faint: #74887F;
    --border: #2A4A43;
    --border-soft: #22403A;
    --focus-border: var(--color-teal-400);
    --focus-ring: rgba(102, 169, 155, 0.22);
    --structure: var(--color-teal-950);
    --accent: var(--color-or-400);
    --accent-solid: var(--color-or-400);
    --accent-hover: var(--color-or-300);
    --accent-on: #2A0E06;
    --accent-soft: #43201A;
    --accent-soft-ink: var(--color-or-300);
    --ok: var(--color-li-400);
    --ok-soft: #2B3A10;
    --ok-ink: var(--color-li-300);
    --warn: var(--color-ambar);
    --warn-soft: var(--color-ambar-dim);
    --warn-ink: #F0CE8E;
    --bad: var(--color-or-400);
    --bad-soft: #43201A;
    --bad-ink: var(--color-or-300);
    --info: var(--color-teal-400);
    --info-soft: #17332E;
    --info-ink: var(--color-teal-200);
    --off: var(--color-n-500);
    --off-soft: #223B35;
    --off-ink: var(--color-n-300);
    --cat-rosa-bg: var(--color-rosa-dim);
    --cat-rosa-ink: var(--color-rosa);
    --cat-ambar-bg: var(--color-ambar-dim);
    --cat-ambar-ink: var(--color-ambar);
    --cat-azul-bg: var(--color-azul-dim);
    --cat-azul-ink: var(--color-azul);
    --cat-lilas-bg: var(--color-lilas-dim);
    --cat-lilas-ink: var(--color-lilas);
    --cat-pessego-bg: var(--color-pessego-dim);
    --cat-pessego-ink: var(--color-pessego);
    --cat-teal: var(--color-teal-400);
    --cat-teal-bg: #17332E;
    --cat-teal-ink: var(--color-teal-200);
    --cat-oliva-bg: #263A35;
    --cat-oliva-ink: var(--color-n-300);
    --overlay: rgba(6, 14, 13, 0.66);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.34);
    --shadow-md: 0 3px 10px rgba(0, 0, 0, 0.44);
  }
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  html {
    font-size: 16px;
  }
  body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
  }
  h1, h2, h3, .num {
    font-family: var(--font-title);
  }
  .num, .t-right, .metrica-valor, .pc-value, .money-value {
    font-variant-numeric: tabular-nums;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
}
@layer components {
  .app {
    display: flex;
    min-height: 100vh;
  }
  .sidebar {
    width: 228px;
    flex-shrink: 0;
    background: var(--structure);
    color: var(--on-structure);
    display: flex;
    flex-direction: column;
    padding: 20px 14px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    transition: width 0.18s ease;
  }
  .logo-row {
    display: flex;
    align-items: center;
    padding-bottom: 16px;
  }
  .logo {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--on-structure-strong);
    padding: 4px 0 4px 12px;
    letter-spacing: -0.02em;
  }
  .logo-dot {
    color: var(--color-or-400);
  }
  .logo-mark {
    display: none;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--color-or-400);
  }
  .sidebar-toggle {
    margin-left: auto;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    border: 0;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(233, 240, 236, 0.7);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
  }
  .sidebar-toggle svg {
    width: 14px;
    height: 14px;
  }
  .sidebar-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
  }
  .nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
    margin-right: -6px;
    padding-right: 6px;
  }
  .nav-item, .nav-sub, .nav-group-label {
    flex-shrink: 0;
  }
  .nav::-webkit-scrollbar {
    width: 6px;
  }
  .nav::-webkit-scrollbar-track {
    background: transparent;
  }
  .nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
  }
  .nav::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.28);
  }
  .nav-group-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(233, 240, 236, 0.4);
    padding: 16px 12px 5px;
  }
  .nav-group-label:first-child {
    padding-top: 2px;
  }
  .nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 0.92rem;
    color: rgba(233, 240, 236, 0.78);
    border: 0;
    background: none;
    font-family: inherit;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: background 0.15s, color 0.15s;
    position: relative;
  }
  .nav-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
  }
  .nav-item.is-active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: 500;
  }
  .nav-ico {
    width: 18px;
    height: 18px;
    display: inline-flex;
    flex-shrink: 0;
  }
  .nav-ico svg {
    width: 100%;
    height: 100%;
  }
  .nav-tick {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-left: auto;
    opacity: 0;
  }
  .nav-item.is-active .nav-tick {
    opacity: 1;
  }
  .nav-badge {
    background: var(--accent-solid);
    color: var(--accent-on);
    font-size: 0.68rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav-branch {
    display: contents;
  }
  .nav-caret {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: 6px;
    flex-shrink: 0;
    opacity: 0.5;
    border-radius: 4px;
    transition: transform 0.18s ease, opacity 0.15s;
  }
  .nav-caret svg {
    width: 13px;
    height: 13px;
  }
  .nav-caret:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
  }
  .nav-branch.is-open .nav-caret {
    transform: rotate(180deg);
  }
  .nav-sub {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin: 0 0 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease, margin-bottom 0.2s ease;
  }
  .nav-branch.is-open > .nav-sub {
    max-height: 260px;
    margin-bottom: 4px;
  }
  .nav-sub-item {
    display: block;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.83rem;
    color: rgba(233, 240, 236, 0.6);
    transition: background 0.15s, color 0.15s;
  }
  .nav-sub-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
  }
  .nav-sub-item.is-active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: 500;
  }
  .money-value {
    transition: filter 0.1s;
  }
  .tema-toggle .ico-sol {
    display: none;
  }
  :root[data-theme="dark"] .tema-toggle .ico-sol {
    display: block;
  }
  :root[data-theme="dark"] .tema-toggle .ico-lua {
    display: none;
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  .topbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--sp-2);
    padding: var(--sp-3) var(--sp-8);
    border-bottom: 1px solid var(--border-soft);
    flex-shrink: 0;
  }
  .topbar-divider {
    width: 1px;
    height: 22px;
    background: var(--border-soft);
    margin: 0 2px;
  }
  .icon-btn {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    background: var(--surface);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
  }
  .icon-btn svg {
    width: 18px;
    height: 18px;
  }
  .icon-btn:hover {
    background: var(--surface-sunk);
    color: var(--text);
    border-color: var(--border);
  }
  .money-toggle .eye-slash {
    opacity: 0;
    transition: opacity 0.15s;
  }
  .money-toggle.is-hidden .eye-slash {
    opacity: 1;
  }
  .money-toggle.is-hidden {
    color: var(--accent-solid);
    border-color: var(--accent);
  }
  .topbar-profile {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    padding: 4px 10px 4px 4px;
    border-radius: var(--radius-pill);
    transition: background 0.15s;
  }
  .topbar-profile:hover {
    background: var(--surface-sunk);
  }
  .topbar-profile .avatar {
    width: 34px;
    height: 34px;
    font-size: 0.76rem;
  }
  .topbar-profile-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
  }
  .topbar-profile-name {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text);
  }
  .topbar-profile-email {
    font-size: 0.72rem;
    color: var(--text-muted);
  }
  .main {
    flex: 1;
    padding: var(--sp-7) var(--sp-8) var(--sp-9);
    min-width: 0;
  }
  .page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--sp-4);
    margin-bottom: var(--sp-6);
    flex-wrap: wrap;
  }
  .page-head h1 {
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: -0.02em;
  }
  .page-sub {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-top: 3px;
  }
  .page-actions {
    display: flex;
    gap: var(--sp-2);
    align-items: center;
    flex-wrap: wrap;
  }
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 9px 18px;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, transform 0.05s;
    white-space: nowrap;
  }
  .btn:active {
    transform: scale(0.98);
  }
  .btn-coral {
    background: var(--accent-solid);
    color: var(--accent-on);
  }
  .btn-coral:hover {
    background: var(--accent-hover);
  }
  .btn-dark {
    background: var(--structure);
    color: var(--on-structure);
  }
  .btn-dark:hover {
    background: var(--color-teal-700);
  }
  .btn-ghost {
    background: transparent;
    border-color: var(--border);
    color: var(--text);
  }
  .btn-ghost:hover {
    background: var(--surface);
    border-color: var(--text-muted);
  }
  .btn-danger {
    background: transparent;
    border-color: var(--bad);
    color: var(--bad-ink);
  }
  .btn-danger:hover {
    background: var(--bad-soft);
    border-color: var(--bad);
    color: var(--bad-ink);
  }
  .btn-sm {
    padding: 5px 12px;
    font-size: 0.82rem;
  }
  .card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--sp-5);
  }
  .card + .card {
    margin-top: var(--sp-4);
  }
  .card-atraso {
    border-color: var(--accent);
    border-left-width: 3px;
  }
  .atencao-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
  }
  .atencao-coral {
    background: var(--accent);
  }
  .atencao-amarelo {
    background: var(--warn);
  }
  .atencao-rosa {
    background: var(--cat-rosa);
  }
  .card-title {
    font-size: 1.02rem;
    font-weight: 700;
    font-family: var(--font-title);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--sp-3);
    margin-bottom: var(--sp-3);
  }
  .card-head > .card-title {
    margin-bottom: 0;
  }
  .card-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
  }
  .card-head-actions {
    display: flex;
    gap: var(--sp-2);
    align-items: center;
    flex-shrink: 0;
  }
  .card--table {
    padding: var(--sp-2) var(--sp-4);
  }
  .stat-card {
    border: 0;
    border-radius: var(--radius-lg);
    padding: var(--sp-5);
  }
  .stat-card .stat-label {
    font-size: 0.82rem;
    font-weight: 500;
  }
  .stat-card .stat-value {
    font-family: var(--font-title);
    font-weight: 700;
    line-height: 1.15;
    margin-top: 2px;
    font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem);
    font-variant-numeric: tabular-nums;
  }
  .stat-card .stat-note {
    font-size: 0.78rem;
    margin-top: 2px;
  }
  .stat-value-row {
    display: flex;
    align-items: baseline;
    gap: var(--sp-2);
    flex-wrap: wrap;
  }
  .delta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: var(--radius-pill);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }
  .delta-seta {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
  }
  .delta.is-up .delta-seta {
    border-bottom: 5px solid currentColor;
  }
  .delta.is-down .delta-seta {
    border-top: 5px solid currentColor;
  }
  .delta-bom {
    background: var(--ok-soft);
    color: var(--ok-ink);
  }
  .delta-ruim {
    background: var(--bad-soft);
    color: var(--bad-ink);
  }
  .delta-neutro {
    background: var(--off-soft);
    color: var(--off-ink);
  }
  .stat-rosa {
    background: var(--cat-rosa-bg);
  }
  .stat-rosa .stat-label, .stat-rosa .stat-note, .stat-rosa .stat-value {
    color: var(--cat-rosa-ink);
  }
  .stat-amarelo, .stat-ambar {
    background: var(--cat-ambar-bg);
  }
  .stat-amarelo .stat-label, .stat-amarelo .stat-note, .stat-amarelo .stat-value, .stat-ambar .stat-label, .stat-ambar .stat-note, .stat-ambar .stat-value {
    color: var(--cat-ambar-ink);
  }
  .stat-azul {
    background: var(--cat-azul-bg);
  }
  .stat-azul .stat-label, .stat-azul .stat-note, .stat-azul .stat-value {
    color: var(--cat-azul-ink);
  }
  .stat-lilas {
    background: var(--cat-lilas-bg);
  }
  .stat-lilas .stat-label, .stat-lilas .stat-note, .stat-lilas .stat-value {
    color: var(--cat-lilas-ink);
  }
  .stat-pessego {
    background: var(--cat-pessego-bg);
  }
  .stat-pessego .stat-label, .stat-pessego .stat-note, .stat-pessego .stat-value {
    color: var(--cat-pessego-ink);
  }
  .stat-teal {
    background: var(--cat-teal-bg);
  }
  .stat-teal .stat-label, .stat-teal .stat-note, .stat-teal .stat-value {
    color: var(--cat-teal-ink);
  }
  .stat-oliva {
    background: var(--cat-oliva-bg);
  }
  .stat-oliva .stat-label, .stat-oliva .stat-note, .stat-oliva .stat-value {
    color: var(--cat-oliva-ink);
  }
  .stat-lima {
    background: var(--ok-soft);
  }
  .stat-lima .stat-label, .stat-lima .stat-note, .stat-lima .stat-value {
    color: var(--ok-ink);
  }
  .stat-coral {
    background: var(--bad-soft);
  }
  .stat-coral .stat-label, .stat-coral .stat-note, .stat-coral .stat-value {
    color: var(--bad-ink);
  }
  .stat-petrol {
    background: var(--structure);
  }
  .stat-petrol .stat-label, .stat-petrol .stat-note {
    color: var(--on-structure);
    opacity: 0.8;
  }
  .stat-petrol .stat-value {
    color: var(--on-structure-strong);
  }
  .bento, .dash-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--sp-4);
    grid-auto-rows: min-content;
  }
  .bento > .b-3, .dash-grid > .w-stat.w-quarter {
    grid-column: span 3;
  }
  .bento > .b-4, .dash-grid > .w-stat {
    grid-column: span 4;
  }
  .bento > .b-6, .dash-grid > .w-half {
    grid-column: span 6;
  }
  .bento > .b-8 {
    grid-column: span 8;
  }
  .bento > .b-12, .dash-grid > .w-full {
    grid-column: span 12;
  }
  .bento > .b-tall {
    grid-row: span 2;
  }
  @media (min-width: 901px) {
    :root[data-sidebar="collapsed"] .sidebar {
      width: 72px;
      padding-left: 10px;
      padding-right: 10px;
    }
    :root[data-sidebar="collapsed"] .logo-row {
      flex-direction: column;
      gap: 10px;
      padding-bottom: 12px;
    }
    :root[data-sidebar="collapsed"] .sidebar-toggle {
      margin-left: 0;
    }
    :root[data-sidebar="collapsed"] .logo {
      display: none;
    }
    :root[data-sidebar="collapsed"] .logo-mark {
      display: block;
    }
    :root[data-sidebar="collapsed"] .nav-label, :root[data-sidebar="collapsed"] .nav-group-label, :root[data-sidebar="collapsed"] .nav-tick, :root[data-sidebar="collapsed"] .nav-caret, :root[data-sidebar="collapsed"] .nav-sub {
      display: none;
    }
    :root[data-sidebar="collapsed"] .nav-item {
      justify-content: center;
      padding: 9px;
      gap: 0;
    }
    :root[data-sidebar="collapsed"] .sidebar-toggle svg {
      transform: scaleX(-1);
    }
    :root[data-sidebar="collapsed"] .nav-badge {
      position: absolute;
      top: 6px;
      right: 12px;
      width: 8px;
      height: 8px;
      min-width: 0;
      padding: 0;
      font-size: 0;
    }
    :root[data-sidebar="collapsed"] .nav-branch {
      display: block;
    }
    :root[data-sidebar="collapsed"] .nav-branch.is-flyout-open .nav-sub {
      display: flex;
      flex-direction: column;
      gap: 1px;
      max-height: none;
      overflow: visible;
      margin: 0;
      min-width: 172px;
      background: var(--structure);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: var(--radius-md);
      padding: 6px;
      box-shadow: var(--shadow-md);
      z-index: 60;
    }
  }
  @media (max-width: 900px) {
    .sidebar-toggle {
      display: none;
    }
    .bento > .b-3, .bento > .b-4, .bento > .b-6, .bento > .b-8, .dash-grid > .w-stat, .dash-grid > .w-stat.w-quarter, .dash-grid > .w-half {
      grid-column: span 12;
    }
    .bento > .b-tall {
      grid-row: auto;
    }
    .main {
      padding: var(--sp-5) var(--sp-4) var(--sp-8);
    }
    .app {
      flex-direction: column;
    }
    .sidebar {
      width: 100%;
      height: auto;
      position: static;
      overflow: visible;
      flex-direction: row;
      align-items: center;
      flex-wrap: wrap;
      gap: 8px;
      padding: 10px 14px;
    }
    .logo {
      flex: 1;
      padding: 0;
      font-size: 1.15rem;
    }
    .nav {
      flex-basis: 100%;
      flex-direction: row;
      flex-wrap: nowrap;
      align-items: center;
      min-height: auto;
      overflow-x: auto;
      overflow-y: hidden;
      margin-right: 0;
      padding: 0 0 2px;
      scrollbar-width: none;
    }
    .nav::-webkit-scrollbar {
      display: none;
    }
    .nav-item {
      width: auto;
      white-space: nowrap;
    }
    .nav-tick {
      margin-left: 6px;
    }
    .nav-group-label {
      padding: 0 4px 0 10px;
      align-self: center;
      white-space: nowrap;
    }
    .nav-group-label:first-child {
      padding-top: 0;
    }
    .nav-sub {
      display: none;
      max-height: none;
      overflow: visible;
      flex-direction: row;
      margin: 0 0 0 4px;
      gap: 2px;
    }
    .nav-branch.is-open > .nav-sub {
      display: flex;
      margin-bottom: 0;
    }
    .topbar {
      padding: var(--sp-2) var(--sp-4);
    }
    .topbar-profile {
      padding: 4px;
    }
    .topbar-profile-info {
      display: none;
    }
  }
  .tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.76rem;
    font-weight: 500;
    padding: 3px 11px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
  }
  .tag-rosa {
    background: var(--cat-rosa-bg);
    color: var(--cat-rosa-ink);
  }
  .tag-amarelo, .tag-ambar {
    background: var(--cat-ambar-bg);
    color: var(--cat-ambar-ink);
  }
  .tag-azul {
    background: var(--cat-azul-bg);
    color: var(--cat-azul-ink);
  }
  .tag-lilas {
    background: var(--cat-lilas-bg);
    color: var(--cat-lilas-ink);
  }
  .tag-pessego {
    background: var(--cat-pessego-bg);
    color: var(--cat-pessego-ink);
  }
  .tag-teal {
    background: var(--cat-teal-bg);
    color: var(--cat-teal-ink);
  }
  .tag-oliva {
    background: var(--cat-oliva-bg);
    color: var(--cat-oliva-ink);
  }
  .tag-lima, .tag-ok {
    background: var(--ok-soft);
    color: var(--ok-ink);
  }
  .tag-aviso {
    background: var(--warn-soft);
    color: var(--warn-ink);
  }
  .tag-coral, .tag-erro {
    background: var(--bad-soft);
    color: var(--bad-ink);
  }
  .tag-info {
    background: var(--info-soft);
    color: var(--info-ink);
  }
  .tag-cinza {
    background: var(--off-soft);
    color: var(--off-ink);
  }
  .tag-petrol {
    background: var(--structure);
    color: var(--on-structure);
  }
  .tag-petrol-soft {
    background: var(--color-teal-700);
    color: var(--on-structure);
  }
  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .table-wrap .table {
    min-width: max-content;
  }
  .table--sticky th:first-child, .table--sticky td:first-child {
    position: sticky;
    left: 0;
    background: var(--surface);
    box-shadow: 1px 0 0 var(--border-soft);
  }
  .table--sticky tbody tr:hover td:first-child {
    background: var(--surface-2);
  }
  .table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
  }
  .table th {
    text-align: left;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    font-weight: 600;
    padding: 8px 12px;
    border-bottom: 1px solid var(--border);
  }
  .table td {
    padding: 12px;
    border-bottom: 1px solid var(--border-soft);
    vertical-align: middle;
  }
  .table tr:last-child td {
    border-bottom: 0;
  }
  .table tbody tr {
    transition: background 0.1s;
  }
  .table tbody tr:hover {
    background: var(--surface-2);
  }
  .table input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
    cursor: pointer;
  }
  .table tbody tr[draggable] {
    cursor: grab;
  }
  .table tbody tr.is-dragging {
    opacity: 0.4;
  }
  .table .drag-handle {
    color: var(--text-faint);
    cursor: grab;
    user-select: none;
    width: 1%;
  }
  .parcelas-table input[type="text"], .parcelas-table input[type="date"] {
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.88rem;
    padding: 7px 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--field);
    color: var(--text);
  }
  .parcelas-table input:focus {
    outline: none;
    border-color: var(--focus-border);
    box-shadow: 0 0 0 3px var(--focus-ring);
  }
  .parcelas-table .col-real {
    display: none;
  }
  .parcelas-table.is-pix .col-real {
    display: table-cell;
  }
  .parcelas-table .parcela-num {
    color: var(--text-muted);
    font-size: 0.85rem;
  }
  .t-strong {
    font-weight: 600;
  }
  .t-muted {
    color: var(--text-muted);
    font-size: 0.84rem;
  }
  .t-right {
    text-align: right;
  }
  .t-coral {
    color: var(--accent-solid);
    font-weight: 600;
  }
  .pc-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
  }
  .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
  }
  .form-grid .span-2 {
    grid-column: span 2;
  }
  @media (max-width: 700px) {
    .form-grid {
      grid-template-columns: 1fr;
    }
    .form-grid .span-2 {
      grid-column: span 1;
    }
  }
  .field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--text);
  }
  .field input, .field select, .field textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.92rem;
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--field);
    color: var(--text);
    transition: border-color 0.15s, box-shadow 0.15s;
  }
  .field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--focus-border);
    box-shadow: 0 0 0 3px var(--focus-ring);
  }
  .field textarea {
    resize: vertical;
    min-height: 90px;
  }
  .briefing-field .briefing-question {
    display: block;
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 3px;
  }
  .briefing-field .briefing-hint {
    font-size: 0.76rem;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.45;
    margin: 0 0 10px;
  }
  .briefing-field textarea {
    min-height: 110px;
  }
  .briefing-check-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 2px 0;
  }
  .form-foot {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    align-items: center;
  }
  .step-block {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--sp-3);
    background: var(--surface-sunk);
  }
  .step-block-head {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    margin-bottom: var(--sp-2);
  }
  .step-block-head input[type="text"] {
    flex: 1;
  }
  .qpick-list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-1);
    margin-bottom: var(--sp-2);
  }
  .qpick-empty {
    font-size: 0.8rem;
    color: var(--text-faint);
    padding: var(--sp-1) var(--sp-2);
  }
  .qpick-row {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-2) var(--sp-3);
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
  }
  .qpick-row.is-dragging {
    opacity: 0.4;
  }
  .qpick-handle {
    color: var(--text-faint);
    cursor: grab;
    flex-shrink: 0;
    line-height: 1;
    user-select: none;
  }
  .qpick-text {
    flex: 1;
  }
  .qpick-remove {
    background: transparent;
    border: 0;
    color: var(--text-faint);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 0 2px;
    flex-shrink: 0;
  }
  .qpick-remove:hover {
    color: var(--bad);
  }
  .qpick-search-wrap {
    position: relative;
  }
  .qpick-search-wrap input {
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.85rem;
    padding: var(--sp-2) var(--sp-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--field);
    color: var(--text);
  }
  .qpick-search-wrap input:focus {
    outline: none;
    border-color: var(--focus-border);
    box-shadow: 0 0 0 3px var(--focus-ring);
  }
  .qpick-results {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    z-index: 5;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    max-height: 200px;
    overflow-y: auto;
  }
  .qpick-result {
    padding: var(--sp-2) var(--sp-3);
    font-size: 0.85rem;
    cursor: pointer;
    border-bottom: 1px solid var(--border-soft);
  }
  .qpick-result:last-child {
    border-bottom: 0;
  }
  .qpick-result:hover, .qpick-result.is-active {
    background: var(--surface-2);
  }
  .qpick-result--criar {
    color: var(--accent-soft-ink);
    font-weight: 500;
  }
  .qpick-create {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
    padding: var(--sp-3);
  }
  .qpick-create-question, .qpick-create-type, .qpick-create-options {
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.85rem;
    padding: var(--sp-2) var(--sp-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--field);
    color: var(--text);
  }
  .qpick-create-question:focus, .qpick-create-type:focus, .qpick-create-options:focus {
    outline: none;
    border-color: var(--focus-border);
    box-shadow: 0 0 0 3px var(--focus-ring);
  }
  .qpick-create-options {
    min-height: 64px;
    resize: vertical;
  }
  .qpick-create-actions {
    display: flex;
    gap: var(--sp-2);
    justify-content: flex-end;
  }
  .form-tabs-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
  }
  .form-tabs {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    flex: 1;
  }
  .form-tab {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 9px 14px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    margin-bottom: -1px;
    transition: color 0.15s, border-color 0.15s;
  }
  .form-tab:hover {
    color: var(--text);
  }
  .form-tab.is-active {
    color: var(--text);
    border-bottom-color: var(--accent);
  }
  .form-tab-panel[hidden] {
    display: none;
  }
  .step-nav.form-tabs-bar {
    border-bottom: 0;
    margin-top: 36px;
    margin-bottom: 36px;
    align-items: flex-start;
  }
  .step-nav .form-tabs {
    gap: 0;
  }
  .step-nav .form-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 0;
    margin: 0;
    border: 0;
    position: relative;
    text-align: center;
    font-size: 0.72rem;
    line-height: 1.25;
  }
  .step-nav .form-tab:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 14px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--border);
    z-index: 0;
  }
  .step-nav .form-tab .step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    background: var(--surface);
    border: 2px solid var(--border);
    color: var(--text-muted);
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.85rem;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
  }
  .step-nav .form-tab .step-label {
    color: var(--text-muted);
    font-weight: 600;
    transition: color 0.15s;
  }
  .step-nav .form-tab.is-active .step-num {
    background: var(--accent-solid);
    border-color: var(--accent-solid);
    color: var(--accent-on);
  }
  .step-nav .form-tab.is-active .step-label {
    color: var(--text);
  }
  .step-nav .form-tab.is-done .step-num {
    background: var(--ok);
    border-color: var(--ok);
    color: var(--ok-ink);
  }
  .step-current-label {
    display: none;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    text-align: center;
    margin: -18px 0 20px;
  }
  @media (max-width: 560px) {
    .step-nav .form-tab .step-label {
      display: none;
    }
    .step-nav .form-tab .step-num {
      width: 26px;
      height: 26px;
      font-size: 0.8rem;
    }
    .step-nav .form-tab:not(:last-child)::after {
      top: 13px;
    }
    .step-nav.form-tabs-bar {
      margin-bottom: 14px;
    }
    .step-current-label {
      display: block;
    }
  }
  .tab-arrow {
    flex-shrink: 0;
    font-size: 1rem;
    line-height: 1;
  }
  .icon-btn.is-disabled {
    opacity: 0.3;
    pointer-events: none;
  }
  .icon-btn-danger:hover {
    border-color: var(--bad);
    color: var(--bad-ink);
  }
  .filters {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
  }
  .filters input[type="search"] {
    font-family: var(--font-body);
    font-size: 0.88rem;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: var(--surface);
    min-width: 220px;
  }
  .filters input[type="search"]:focus {
    outline: none;
    border-color: var(--focus-border);
  }
  .filters select {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--text);
    padding: 8px 34px 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background-color: var(--surface);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A857A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
  }
  .filters select:focus {
    outline: none;
    border-color: var(--focus-border);
  }
  .chip {
    font-size: 0.82rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
  }
  .chip:hover {
    border-color: var(--text-muted);
    color: var(--text);
  }
  .chip.is-on {
    background: var(--structure);
    border-color: var(--structure);
    color: var(--on-structure);
  }
  .progress {
    background: var(--border-soft);
    border-radius: var(--radius-pill);
    height: 8px;
    overflow: hidden;
  }
  .progress-bar {
    height: 100%;
    background: var(--ok);
    border-radius: var(--radius-pill);
    transition: width 0.3s;
  }
  .donut {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: conic-gradient(var(--donut-stops, var(--border-soft) 0 100%));
  }
  .donut span {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: var(--surface);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .donut-total {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.3rem;
    font-variant-numeric: tabular-nums;
  }
  .donut-total-label {
    font-size: 0.7rem;
    color: var(--text-muted);
  }
  .donut-row {
    display: flex;
    align-items: center;
    gap: var(--sp-5);
    flex-wrap: wrap;
  }
  .donut-legend {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
    flex: 1;
    min-width: 140px;
  }
  .donut-legend-item {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: 0.85rem;
  }
  .donut-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
  }
  .donut-legend-label {
    flex: 1;
    color: var(--text-muted);
  }
  .donut-legend-value {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
  }
  .pipeline {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(230px, 1fr);
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    align-items: start;
  }
  .pipe-col {
    background: var(--surface-sunk);
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: 12px;
    min-height: 140px;
  }
  .pipe-col.drag-over {
    border-color: var(--accent);
    background: var(--accent-soft);
  }
  .pipe-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    padding: 0 2px;
  }
  .pipe-count {
    color: var(--text-muted);
    font-weight: 500;
  }
  .pipe-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px;
    margin-bottom: 8px;
    cursor: grab;
    display: block;
  }
  .pipe-card:active {
    cursor: grabbing;
  }
  .pipe-card .pc-title {
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.35;
  }
  .pipe-card .pc-client {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2px;
  }
  .pipe-card .pc-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    gap: 8px;
  }
  .pipe-card .pc-value {
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 700;
  }
  .week-strip {
    display: flex;
    gap: 2px;
    margin-bottom: var(--sp-3);
  }
  .week-strip-day {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 2px;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: background 0.15s;
  }
  .week-strip-day:hover {
    background: var(--surface-sunk);
  }
  .week-strip-name {
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    text-transform: uppercase;
  }
  .week-strip-num {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text);
  }
  .week-strip-day.is-today .week-strip-num {
    background: var(--ok);
    color: var(--ok-ink);
  }
  .week-strip-day.has-events::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
  }
  .week-strip-day.is-today.has-events::after {
    background: var(--ok-ink);
    opacity: 0.6;
  }
  .week-agenda-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: var(--sp-3) 0 var(--sp-1);
  }
  .week-agenda-label:first-of-type {
    margin-top: 0;
  }
  .cal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
  }
  .cal-title {
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: capitalize;
  }
  .cal-nav {
    display: flex;
    gap: 6px;
  }
  .calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
  }
  .cal-dow {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    text-align: center;
    padding: 4px 0;
  }
  .cal-day {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    min-height: 108px;
    padding: 8px;
    font-size: 0.8rem;
    display: block;
    transition: border-color 0.15s;
  }
  .cal-day:hover {
    border-color: var(--focus-border);
  }
  .cal-day.is-out {
    opacity: 0.42;
    background: transparent;
  }
  .cal-day.is-today {
    border-color: var(--accent);
    border-width: 2px;
  }
  .cal-day.is-sel {
    background: var(--structure);
    color: var(--on-structure);
  }
  .cal-day.is-sel .cal-ev {
    filter: saturate(1.1);
  }
  .cal-num {
    font-weight: 600;
    font-family: var(--font-title);
  }
  .cal-day.is-today .cal-num {
    color: var(--accent-solid);
  }
  .cal-day.is-sel .cal-num {
    color: var(--on-structure);
  }
  .cal-ev {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    padding: 3px 7px;
    border-radius: 6px;
    margin-top: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .cal-more {
    font-size: 0.66rem;
    color: var(--text-muted);
    margin-top: 2px;
    display: block;
  }
  .ev-item {
    display: flex;
    gap: 12px;
    padding: 11px 0 11px 10px;
    border-bottom: 1px solid var(--border-soft);
    border-left: 3px solid transparent;
    align-items: flex-start;
  }
  .ev-item:last-child {
    border-bottom: 0;
  }
  .ev-item.ur-media {
    border-left-color: var(--warn);
  }
  .ev-item.ur-alta {
    border-left-color: var(--accent);
  }
  .ev-item.is-done {
    border-left-color: transparent;
  }
  .ev-time {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.85rem;
    min-width: 46px;
    padding-top: 1px;
  }
  .ev-body {
    flex: 1;
  }
  .ev-title {
    font-size: 0.9rem;
    font-weight: 500;
  }
  .ev-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 1px;
  }
  .ev-item.is-done .ev-title {
    text-decoration: line-through;
    color: var(--text-muted);
  }
  .ev-actions {
    display: flex;
    gap: 4px;
    align-items: center;
  }
  .ev-ico {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .ev-ico svg {
    width: 18px;
    height: 18px;
  }
  .ev-end {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    flex-shrink: 0;
  }
  .ev-chevron {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--text-faint);
  }
  .ev-chevron svg {
    width: 100%;
    height: 100%;
  }
  a.ev-item--link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
  }
  a.ev-item--link:hover {
    background: var(--surface-2);
  }
  .icon-btn {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: transparent;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.15s;
  }
  .icon-btn:hover {
    border-color: var(--focus-border);
    color: var(--text);
  }
  .icon-btn svg {
    width: 15px;
    height: 15px;
  }
  .icon-btn.done {
    background: var(--ok);
    border-color: var(--ok);
    color: var(--ok-ink);
  }
  .flash {
    padding: 12px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 18px;
    font-size: 0.9rem;
    font-weight: 500;
  }
  .flash-ok {
    background: var(--ok-soft);
    color: var(--ok-ink);
  }
  .flash-erro {
    background: var(--bad-soft);
    color: var(--bad-ink);
  }
  .login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--structure);
    position: relative;
    overflow: hidden;
  }
  .login-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.25;
  }
  .login-card {
    background: var(--surface);
    border-radius: 20px;
    padding: 40px 36px;
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 1;
    margin: 20px;
  }
  .login-head {
    text-align: center;
    margin-bottom: 26px;
  }
  .login-logo {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: -0.02em;
  }
  .login-sub {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 6px;
  }
  .login-card .field {
    margin-bottom: 14px;
  }
  .login-card .btn {
    width: 100%;
    justify-content: center;
    padding: 12px;
    font-size: 0.95rem;
  }
  .check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    color: var(--text);
    margin: 4px 0 18px;
    cursor: pointer;
    user-select: none;
  }
  .check input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: var(--accent);
    cursor: pointer;
  }
  .two-col {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--sp-4);
    align-items: start;
  }
  @media (max-width: 900px) {
    .two-col {
      grid-template-columns: 1fr;
    }
  }
  .agenda-3col {
    display: grid;
    grid-template-columns: minmax(0, 65fr) minmax(0, 35fr);
    gap: var(--sp-4);
    align-items: stretch;
  }
  @media (max-width: 1000px) {
    .agenda-3col {
      grid-template-columns: 1fr;
    }
  }
  .agenda-col-left {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
  }
  .agenda-week-card {
    display: flex;
    flex-direction: column;
  }
  .agenda-week-card .week-scroll {
    flex: 1;
  }
  .mini-cal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
  }
  .mini-cal-title {
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: capitalize;
  }
  .mini-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
  }
  .mini-cal-dow {
    font-size: 0.64rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    padding-bottom: 4px;
  }
  .mini-cal-day {
    position: relative;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.78rem;
    text-decoration: none;
    color: var(--text);
    transition: background 0.15s;
  }
  .mini-cal-day.is-out {
    visibility: hidden;
  }
  .mini-cal-day:hover {
    background: var(--border-soft);
  }
  .mini-cal-day.is-today {
    background: var(--ok);
    color: var(--ok-ink);
    font-weight: 700;
  }
  .mini-cal-day.is-sel {
    background: var(--structure);
    color: var(--on-structure);
    font-weight: 700;
  }
  .mini-cal-day.has-events::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
  }
  .mini-cal-day.is-sel.has-events::after, .mini-cal-day.is-today.has-events::after {
    background: currentColor;
    opacity: 0.6;
  }
  .week-scroll {
    overflow-x: auto;
  }
  .week-grid {
    display: grid;
    grid-template-columns: 56px repeat(7, minmax(120px, 1fr));
  }
  .week-day-head {
    padding: 10px 4px;
    text-align: center;
    border-left: 1px solid var(--border-soft);
  }
  .week-day-head a {
    display: block;
    text-decoration: none;
    color: inherit;
  }
  .week-day-head.is-today .week-day-num {
    color: var(--accent-solid);
  }
  .week-day-head.is-sel {
    background: var(--structure);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  }
  .week-day-head.is-sel .week-day-name, .week-day-head.is-sel .week-day-num {
    color: var(--on-structure);
  }
  .week-day-name {
    display: block;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    text-transform: uppercase;
  }
  .week-day-head.is-sel .week-day-name {
    color: rgba(233, 240, 236, 0.7);
  }
  .week-day-num {
    display: block;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.05rem;
    margin-top: 2px;
  }
  .week-allday-label {
    font-size: 0.64rem;
    color: var(--text-muted);
    padding: 6px 8px 6px 0;
  }
  .week-allday-col {
    padding: 4px;
    border-left: 1px solid var(--border-soft);
    border-top: 1px solid var(--border-soft);
    display: flex;
    flex-direction: column;
    gap: 3px;
  }
  .week-chip {
    position: relative;
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    padding: 4px 8px 4px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .week-chip.is-done {
    opacity: 0.55;
    text-decoration: line-through;
  }
  .week-chip .week-urgency-dot {
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
  }
  .week-time-col {
    position: relative;
  }
  .week-hour-label {
    font-size: 0.68rem;
    color: var(--text-muted);
    padding: 0 8px 0 0;
    text-align: right;
    box-sizing: border-box;
    transform: translateY(-7px);
  }
  .week-day-col {
    position: relative;
    border-left: 1px solid var(--border-soft);
  }
  .week-hour-line {
    position: absolute;
    left: 0;
    right: 0;
    border-top: 1px solid var(--border-soft);
  }
  .week-day-col.drag-over, .week-allday-col.drag-over {
    background: var(--accent-soft);
  }
  .week-event {
    cursor: grab;
    position: absolute;
    left: 3px;
    right: 3px;
    border-radius: 8px;
    overflow: hidden;
    font-size: 0.72rem;
    text-decoration: none;
    color: inherit;
    padding: 4px 8px 4px 16px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.15s, transform 0.1s;
  }
  .week-event:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
  }
  .week-event.is-done {
    opacity: 0.5;
  }
  .week-event-time {
    display: block;
    font-weight: 700;
    font-size: 0.64rem;
  }
  .week-event-title {
    display: block;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .week-urgency-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
  }
  .week-urgency-dot.dot-media {
    background: var(--warn);
  }
  .week-urgency-dot.dot-alta {
    background: var(--accent);
  }
  .week-event .week-urgency-dot, .week-chip .week-urgency-dot {
    position: absolute;
    top: 6px;
    left: 5px;
  }
  .week-event .week-urgency-dot {
    top: 5px;
  }
  .def-list {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 18px;
    font-size: 0.9rem;
  }
  .def-list dt {
    color: var(--text-muted);
  }
  .def-list dd {
    font-weight: 500;
  }
  .empty {
    text-align: center;
    color: var(--text-muted);
    padding: 34px 20px;
    font-size: 0.9rem;
  }
  .empty .btn {
    margin-top: 12px;
  }
  .avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.82rem;
    font-family: var(--font-title);
    object-fit: cover;
  }
  .modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: var(--overlay);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 6vh 20px 40px;
    overflow-y: auto;
    animation: fadeIn 0.18s ease-out;
  }
  .modal-box {
    background: var(--surface);
    border-radius: 20px;
    padding: 28px;
    width: 100%;
    max-width: 720px;
    animation: slideUp 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .modal-title {
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .modal-sub {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 20px;
  }
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  @keyframes slideUp {
    from {
      opacity: 0;
      transform: translateY(18px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .mt-xs {
    margin-top: var(--sp-2);
  }
  .mt-sm {
    margin-top: var(--sp-4);
  }
  .mt-md {
    margin-top: var(--sp-6);
  }
  .flex {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .grow {
    flex: 1;
  }
  .only-desktop {
    display: block;
  }
  .only-mobile {
    display: none;
  }
  @media (max-width: 700px) {
    .only-desktop {
      display: none;
    }
    .only-mobile {
      display: block;
    }
  }
  .brand-grid {
    columns: 2;
    column-gap: 14px;
  }
  .brand-grid .brand-section {
    break-inside: avoid;
    margin-bottom: var(--sp-4);
  }
  @media (max-width: 1000px) {
    .brand-grid {
      columns: 1;
    }
  }
  .brand-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-soft);
  }
  .brand-item:last-of-type {
    border-bottom: 0;
  }
  .brand-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
  }
  .brand-q .btn {
    flex-shrink: 0;
  }
  .brand-a {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--text);
    white-space: pre-line;
    margin-top: 6px;
  }
  .brand-hint {
    font-size: 0.84rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 4px;
  }
  .brand-item.is-done .brand-q {
    color: var(--text);
  }
  .brand-swatches {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
  }
  .brand-swatch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    font-weight: 500;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 3px 10px 3px 4px;
  }
  .brand-swatch span {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid rgba(0, 0, 0, 0.08);
  }
  .proposal-page {
    min-height: 100vh;
    background: var(--color-n-50);
    padding: 48px 20px 80px;
  }
  .proposal-brand {
    max-width: 640px;
    margin: 0 auto 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-teal-800);
  }
  .proposal-brand .logo-dot {
    color: var(--accent);
  }
  .proposal-wrap {
    max-width: 640px;
    margin: 0 auto;
  }
  .proposal-card {
    background: var(--surface);
    border-radius: 20px;
    padding: 40px;
  }
  @media (max-width: 600px) {
    .proposal-card {
      padding: 28px 22px;
    }
  }
  .proposal-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
  }
  .proposal-card h1 {
    font-size: 1.75rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
  }
  .proposal-scope {
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--text);
    white-space: pre-line;
    margin-bottom: 28px;
  }
  .proposal-value-box {
    background: var(--structure);
    color: var(--on-structure);
    border-radius: 16px;
    padding: 22px 26px;
    margin-bottom: 20px;
  }
  .proposal-value-label {
    font-size: 0.82rem;
    color: rgba(233, 240, 236, 0.75);
    margin-bottom: 4px;
  }
  .proposal-value-amount {
    font-family: var(--font-title);
    font-size: 2.2rem;
    font-weight: 700;
  }
  .proposal-value-terms {
    font-size: 0.85rem;
    color: rgba(233, 240, 236, 0.8);
    margin-top: 8px;
  }
  .proposal-valid-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
  }
  .proposal-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 15px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-pill);
    background: var(--accent-solid);
    color: var(--accent-on);
    border: 0;
    cursor: pointer;
    font-family: var(--font-body);
    transition: background 0.15s, transform 0.05s;
  }
  .proposal-cta:hover {
    background: var(--accent-hover);
  }
  .proposal-cta:active {
    transform: scale(0.98);
  }
  .proposal-accepted {
    background: var(--ok);
    color: var(--ok-ink);
    border-radius: 16px;
    padding: 20px 24px;
    text-align: center;
    font-weight: 500;
  }
  .proposal-foot {
    text-align: center;
    margin-top: 24px;
    color: var(--text-muted);
    font-size: 0.82rem;
  }
  .whatsapp-link {
    color: #25D366;
    font-weight: 600;
    text-decoration: underline;
  }
  .whatsapp-link:hover {
    color: #1DA851;
  }
  .expired-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--structure);
    padding: 20px;
  }
  .expired-card {
    background: var(--surface);
    border-radius: 20px;
    padding: 44px 36px;
    max-width: 440px;
    text-align: center;
  }
  .expired-card .ico {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: var(--text-muted);
  }
  .expired-card h1 {
    font-size: 1.4rem;
    margin-bottom: 8px;
  }
  .expired-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
  }
  .chart-box {
    position: relative;
    height: 260px;
  }
  .chart-box.is-tall {
    height: 320px;
  }
  .chart-note {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-top: -6px;
    margin-bottom: 14px;
  }
  .tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 16px;
  }
  .tool-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .tool-card-thumb {
    position: relative;
    height: 130px;
    background: var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .tool-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .tool-card-noimg {
    color: var(--text-muted);
    font-size: 0.8rem;
  }
  .tool-card-badge {
    position: absolute;
    top: 8px;
    right: 8px;
  }
  .tool-card-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
  }
  .tool-card-title {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.98rem;
  }
  .tool-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }
  .tool-card-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
  }
  .tool-card-actions .tool-copy-btn {
    flex: 1;
    border: 1.5px solid transparent;
    transition: filter 0.12s, border-color 0.12s;
  }
  .tool-card-actions .tool-copy-btn:hover {
    filter: brightness(0.95);
  }
  .tool-copy-btn[data-type="json"] {
    background: var(--cat-ambar-bg);
    color: var(--cat-ambar-ink);
  }
  .tool-copy-btn[data-type="html"] {
    background: var(--bad-soft);
    color: var(--bad-ink);
  }
  .tool-copy-btn[data-type="css"] {
    background: var(--cat-azul-bg);
    color: var(--cat-azul-ink);
  }
  .tool-copy-btn[data-type="js"] {
    background: var(--ok-soft);
    color: var(--ok-ink);
  }
  .tool-copy-btn[data-type="php"] {
    background: var(--cat-lilas-bg);
    color: var(--cat-lilas-ink);
  }
  .tool-copy-btn[data-type="outro"] {
    background: var(--off-soft);
    color: var(--off-ink);
  }
  .tool-copy-btn[data-type="json"]:hover {
    border-color: var(--cat-ambar-ink);
  }
  .tool-copy-btn[data-type="html"]:hover {
    border-color: var(--bad-ink);
  }
  .tool-copy-btn[data-type="css"]:hover {
    border-color: var(--cat-azul-ink);
  }
  .tool-copy-btn[data-type="js"]:hover {
    border-color: var(--ok-ink);
  }
  .tool-copy-btn[data-type="php"]:hover {
    border-color: var(--cat-lilas-ink);
  }
  .tool-copy-btn[data-type="outro"]:hover {
    border-color: var(--off-ink);
  }
  .tag-input {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 8px 10px;
  }
  .tag-input input {
    border: 0;
    outline: none;
    flex: 1;
    min-width: 120px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    background: transparent;
  }
  .tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--structure);
    color: var(--on-structure);
    border-radius: 999px;
    padding: 4px 6px 4px 10px;
    font-size: 0.8rem;
    white-space: nowrap;
  }
  .tag-chip-remove {
    background: transparent;
    border: 0;
    color: var(--on-structure);
    opacity: 0.7;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 0 2px;
  }
  .tag-chip-remove:hover {
    opacity: 1;
  }
  .tag-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-top: 8px;
  }
  .tag-suggestion {
    background: var(--border-soft);
    border: 0;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.78rem;
    color: var(--text);
    cursor: pointer;
  }
  .tag-suggestion:hover {
    background: var(--border);
  }
  .code-type-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .code-type-btn {
    border: 1.5px solid transparent;
    border-radius: 999px;
    padding: 7px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.12s, border-color 0.12s, border-width 0.12s;
  }
  .code-type-btn:focus {
    outline: none;
  }
  .code-type-btn:hover {
    filter: brightness(0.95);
  }
  .code-type-btn.is-active {
    border-width: 3px;
  }
  .code-type-btn[data-type="json"] {
    background: var(--cat-ambar-bg);
    color: var(--cat-ambar-ink);
  }
  .code-type-btn[data-type="html"] {
    background: var(--bad-soft);
    color: var(--bad-ink);
  }
  .code-type-btn[data-type="css"] {
    background: var(--cat-azul-bg);
    color: var(--cat-azul-ink);
  }
  .code-type-btn[data-type="js"] {
    background: var(--ok-soft);
    color: var(--ok-ink);
  }
  .code-type-btn[data-type="php"] {
    background: var(--cat-lilas-bg);
    color: var(--cat-lilas-ink);
  }
  .code-type-btn[data-type="outro"] {
    background: var(--off-soft);
    color: var(--off-ink);
  }
  .code-type-btn[data-type="json"]:hover, .code-type-btn[data-type="json"].is-active {
    border-color: var(--cat-ambar-ink);
  }
  .code-type-btn[data-type="html"]:hover, .code-type-btn[data-type="html"].is-active {
    border-color: var(--bad-ink);
  }
  .code-type-btn[data-type="css"]:hover, .code-type-btn[data-type="css"].is-active {
    border-color: var(--cat-azul-ink);
  }
  .code-type-btn[data-type="js"]:hover, .code-type-btn[data-type="js"].is-active {
    border-color: var(--ok-ink);
  }
  .code-type-btn[data-type="php"]:hover, .code-type-btn[data-type="php"].is-active {
    border-color: var(--cat-lilas-ink);
  }
  .code-type-btn[data-type="outro"]:hover, .code-type-btn[data-type="outro"].is-active {
    border-color: var(--off-ink);
  }
  .field .code-editor {
    font-family: 'Cascadia Code', 'Fira Code', ui-monospace, 'SF Mono', Consolas, 'Courier New', monospace;
    font-size: 0.86rem;
    min-height: 240px;
    tab-size: 2;
    white-space: pre;
    overflow-wrap: normal;
    overflow-x: auto;
  }
  .image-dropzone {
    border: 2px dashed var(--border);
    border-radius: var(--radius-md);
    padding: 18px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
  }
  .image-dropzone:hover, .image-dropzone:focus {
    border-color: var(--focus-border);
    outline: none;
  }
  .image-dropzone.drag-over {
    border-color: var(--accent);
    background: var(--accent-soft);
  }
  .image-dropzone-text {
    color: var(--text-muted);
    font-size: 0.85rem;
  }
  .image-dropzone-preview {
    max-width: 120px;
    max-height: 120px;
    border-radius: var(--radius-md);
    object-fit: cover;
  }
  .chart-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 70px 20px;
    font-size: 0.88rem;
  }
  .raiox-screenshot {
    max-width: 220px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    display: block;
    margin-bottom: 16px;
  }
  .raiox-spinner {
    width: 28px;
    height: 28px;
    margin: 0 auto 12px;
    border: 3px solid var(--border-soft);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: girar 0.8s linear infinite;
  }
  @keyframes girar {
    to {
      transform: rotate(360deg);
    }
  }
  .nota-bom {
    --nota-cor: var(--ok);
    --nota-fundo: var(--ok-soft);
    --nota-tinta: var(--ok-ink);
  }
  .nota-medio {
    --nota-cor: var(--warn);
    --nota-fundo: var(--warn-soft);
    --nota-tinta: var(--warn-ink);
  }
  .nota-ruim {
    --nota-cor: var(--bad);
    --nota-fundo: var(--bad-soft);
    --nota-tinta: var(--bad-ink);
  }
  .nota-vazio {
    --nota-cor: var(--border);
    --nota-fundo: var(--off-soft);
    --nota-tinta: var(--text-muted);
  }
  .notas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
  }
  .nota-bloco {
    text-align: center;
  }
  .nota-ring {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: conic-gradient(var(--nota-cor) calc(var(--p, 0) * 1%), var(--border-soft) 0);
  }
  .nota-ring span {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--nota-tinta);
  }
  .nota-rotulo {
    font-size: 0.8rem;
    color: var(--text-muted);
  }
  .nota-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.85rem;
    background: var(--nota-fundo);
    color: var(--nota-tinta);
  }
  .nota-texto-bom {
    color: var(--ok-ink);
  }
  .nota-texto-medio {
    color: var(--warn-ink);
  }
  .nota-texto-ruim {
    color: var(--bad-ink);
  }
  .nota-texto-vazio {
    color: var(--text-muted);
  }
  .metricas-lista {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2px 16px;
  }
  .metrica {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid var(--border-soft);
  }
  .metrica-rotulo {
    font-size: 0.85rem;
    color: var(--text-muted);
  }
  .metrica-valor {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.88rem;
  }
  .campo-titulo {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.9rem;
    margin: 18px 0 8px;
  }
  .campo-box {
    border-top: 1px solid var(--border-soft);
    margin-top: 6px;
  }
  .oportunidades {
    border-top: 1px solid var(--border-soft);
    margin-top: 6px;
  }
  .oportunidade {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid var(--border-soft);
  }
  .oportunidade:last-child {
    border-bottom: 0;
  }
  .oportunidade-titulo {
    font-size: 0.88rem;
  }
  .card-comparacao {
    border-left: 3px solid var(--cat-lilas);
    border-radius: var(--radius-lg);
  }
  .comparacao-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
  }
  .comparacao-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .comparacao-rotulo {
    font-size: 0.78rem;
    color: var(--text-muted);
  }
  .setup-list {
    margin: 10px 0 10px 20px;
    font-size: 0.9rem;
  }
  .setup-list li {
    margin-bottom: 6px;
  }
  .setup-code {
    background: var(--structure);
    color: var(--on-structure);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    font-family: monospace;
    font-size: 0.82rem;
    overflow-x: auto;
    margin-bottom: 12px;
  }
  .relatorio-data {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: -12px;
    margin-bottom: 18px;
  }
  .relatorio-resumo {
    font-size: 1.02rem;
    line-height: 1.6;
    margin-bottom: 26px;
  }
  .relatorio-bloco {
    border-top: 1px solid var(--border-soft);
    padding-top: 20px;
    margin-bottom: 22px;
  }
  .relatorio-bloco h2 {
    font-size: 1.1rem;
    margin-bottom: 14px;
  }
  .relatorio-legenda {
    border-top: 1px solid var(--border-soft);
    padding-top: 16px;
    font-size: 0.88rem;
    line-height: 1.6;
  }
  .relatorio-legenda ul {
    margin: 8px 0 10px 20px;
  }
  .relatorio-legenda li {
    margin-bottom: 4px;
  }
  .relatorio-cta {
    border-top: 1px solid var(--border-soft);
    margin-top: 22px;
    padding-top: 20px;
    text-align: center;
  }
  .relatorio-cta p {
    margin-bottom: 14px;
  }
  @media (max-width: 640px) {
    .notas-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  .swatch-group-title {
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin: var(--sp-4) 0 var(--sp-2);
  }
  .swatch-group-title:first-child {
    margin-top: 0;
  }
  .swatch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
    gap: var(--sp-3);
  }
  .swatch {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--surface);
    cursor: pointer;
    transition: border-color 0.15s;
  }
  .swatch:hover {
    border-color: var(--border);
  }
  .swatch-color {
    height: 52px;
  }
  .swatch-info {
    padding: 6px 8px;
  }
  .swatch-name {
    display: block;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .swatch-hex {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
  }
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@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-border-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
    }
  }
}
