/*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */
@layer properties;
@media screen {
  :root {
    --dashboard-sidebar: #151c31;
    --prospect-card: #f8fafc;
    --prospect-border: #e2e8f0;
    --prospect-focus: #2563eb;
    --assistant-pill: #eef2ff;
    --assistant-ink: #374bad;
    --dashboard-sidebar-text: #cdd6e7;
    --dashboard-sidebar-active: #4157be;
    --dashboard-active-badge: #d8f5e8;
    --dashboard-active-ink: #075b40;
    --dashboard-pending-badge: #fff0cc;
    --dashboard-pending-ink: #754600;
  }
  :root:not([data-theme="dark"]) {
    --canvas: #f2f4f8;
    --surface-raised: #f7f8fc;
    --surface-hover: #eef1fc;
    --ink: #151c31;
    --line: #dde2ed;
    --accent: #394eaf;
    --accent-fill: var(--dashboard-sidebar-active);
    --focus: #4157be;
    --track: #e8ebf4;
    --chart-color: #4157be;
    --gauge-color: #4157be;
  }
  :root[data-theme="dark"] {
    --prospect-card: #1c2641;
    --prospect-border: #34405c;
    --prospect-focus: #93b7ff;
    --assistant-pill: #28365d;
    --assistant-ink: #d8e1ff;
    --canvas: #0f1526;
    --surface: #151c31;
    --surface-raised: #1c2641;
    --surface-hover: #253251;
    --line: #34405c;
    --accent: #bac5ff;
    --accent-fill: var(--dashboard-sidebar-active);
    --accent-ink: #fff;
    --focus: #a5b3ff;
    --chart-color: #9cafff;
    --gauge-color: #9cafff;
    --dashboard-active-badge: #174e3b;
    --dashboard-active-ink: #b1f2d5;
    --dashboard-pending-badge: #55401f;
    --dashboard-pending-ink: #ffe1a3;
  }
  body > header {
    background: var(--dashboard-sidebar) !important;
    border-bottom-color: #28374f !important;
  }
  body > header .brand-title {
    --tw-tracking: var(--tracking-tight, -0.025em);
    letter-spacing: var(--tracking-tight, -0.025em);
    display: flex;
    align-items: center;
    gap: .65rem;
  }
  .dashboard-brand-icon {
    display: inline-flex;
    width: calc(var(--spacing, 0.25rem) * 8);
    height: calc(var(--spacing, 0.25rem) * 8);
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg, 0.5rem);
    background: var(--dashboard-sidebar-active);
  }
  .dashboard-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
  main#market-main {
    display: grid;
    align-items: flex-start;
    gap: 1rem;
    grid-template-columns: 12.5rem minmax(0, 1fr);
  }
  #market-main > section {
    min-width: 0px;
    grid-column: 2;
  }
  #market-main > nav {
    position: sticky;
    top: calc(var(--spacing, 0.25rem) * 4);
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: var(--spacing, 0.25rem);
    border-radius: var(--radius-xl, 0.75rem);
    grid-column: 1;
    grid-row: 1;
    padding: .9rem .1875rem;
    margin: 0;
    background: var(--dashboard-sidebar);
    border-color: transparent;
  }
  #market-main > nav button {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing, 0.25rem) * 4);
    border-radius: var(--radius-xl, 0.75rem);
    padding-inline: calc(var(--spacing, 0.25rem) * 4);
    padding-block: calc(var(--spacing, 0.25rem) * 3);
    text-align: left;
    font-size: var(--text-base, 1rem);
    line-height: var(--tw-leading, var(--text-base--line-height, calc(1.5 / 1)));
    --tw-font-weight: var(--font-weight-semibold, 600);
    font-weight: var(--font-weight-semibold, 600);
    background: transparent;
    color: var(--dashboard-sidebar-text);
    min-height: 3.125rem;
    line-height: 1.45;
    white-space: normal;
  }
  #market-main > nav button::before {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    content: "";
    background: currentColor;
    mask: var(--dashboard-nav-icon) center / contain no-repeat;
  }
  #market-main > nav [data-tab="overview"] {
    --dashboard-nav-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20width%3D%227%22%20height%3D%229%22%20x%3D%223%22%20y%3D%223%22%20rx%3D%221%22%2F%3E%3Crect%20width%3D%227%22%20height%3D%225%22%20x%3D%2214%22%20y%3D%223%22%20rx%3D%221%22%2F%3E%3Crect%20width%3D%227%22%20height%3D%229%22%20x%3D%2214%22%20y%3D%2212%22%20rx%3D%221%22%2F%3E%3Crect%20width%3D%227%22%20height%3D%225%22%20x%3D%223%22%20y%3D%2216%22%20rx%3D%221%22%2F%3E%3C%2Fsvg%3E");
  }
  #market-main > nav [data-tab="history"] {
    --dashboard-nav-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2016v5%22%2F%3E%3Cpath%20d%3D%22M16%2014v7%22%2F%3E%3Cpath%20d%3D%22M20%2010v11%22%2F%3E%3Cpath%20d%3D%22m22%203-8.646%208.646a.5.5%200%200%201-.708%200L9.354%208.354a.5.5%200%200%200-.707%200L2%2015%22%2F%3E%3Cpath%20d%3D%22M4%2018v3%22%2F%3E%3Cpath%20d%3D%22M8%2014v7%22%2F%3E%3C%2Fsvg%3E");
  }
  #market-main > nav [data-tab="directory"][data-role="0"] {
    --dashboard-nav-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2016h.01%22%2F%3E%3Cpath%20d%3D%22M16%2016h.01%22%2F%3E%3Cpath%20d%3D%22M3%2019a2%202%200%200%200%202%202h14a2%202%200%200%200%202-2V8.5a.5.5%200%200%200-.769-.422l-4.462%202.844A.5.5%200%200%201%2015%2010.5v-2a.5.5%200%200%200-.769-.422L9.77%2010.922A.5.5%200%200%201%209%2010.5V5a2%202%200%200%200-2-2H5a2%202%200%200%200-2%202z%22%2F%3E%3Cpath%20d%3D%22M8%2016h.01%22%2F%3E%3C%2Fsvg%3E");
  }
  #market-main > nav [data-tab="directory"][data-role="1"] {
    --dashboard-nav-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%2019H4.815a1.83%201.83%200%200%201-1.57-.881%201.785%201.785%200%200%201-.004-1.784L7.196%209.5%22%2F%3E%3Cpath%20d%3D%22M11%2019h8.203a1.83%201.83%200%200%200%201.556-.89%201.784%201.784%200%200%200%200-1.775l-1.226-2.12%22%2F%3E%3Cpath%20d%3D%22m14%2016-3%203%203%203%22%2F%3E%3Cpath%20d%3D%22M8.293%2013.596%207.196%209.5%203.1%2010.598%22%2F%3E%3Cpath%20d%3D%22m9.344%205.811%201.093-1.892A1.83%201.83%200%200%201%2011.985%203a1.784%201.784%200%200%201%201.546.888l3.943%206.843%22%2F%3E%3Cpath%20d%3D%22m13.378%209.633%204.096%201.098%201.097-4.096%22%2F%3E%3C%2Fsvg%3E");
  }
  #market-main > nav [data-tab="directory"][data-role="2"] {
    --dashboard-nav-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%2018V6a2%202%200%200%200-2-2H4a2%202%200%200%200-2%202v11a1%201%200%200%200%201%201h2%22%2F%3E%3Cpath%20d%3D%22M15%2018H9%22%2F%3E%3Cpath%20d%3D%22M19%2018h2a1%201%200%200%200%201-1v-3.65a1%201%200%200%200-.22-.624l-3.48-4.35A1%201%200%200%200%2017.52%208H14%22%2F%3E%3Ccircle%20cx%3D%2217%22%20cy%3D%2218%22%20r%3D%222%22%2F%3E%3Ccircle%20cx%3D%227%22%20cy%3D%2218%22%20r%3D%222%22%2F%3E%3C%2Fsvg%3E");
  }
  #market-main > nav [data-tab="commercial"] {
    --dashboard-nav-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m11%2017%202%202a1%201%200%201%200%203-3%22%2F%3E%3Cpath%20d%3D%22m14%2014%202.5%202.5a1%201%200%201%200%203-3l-3.88-3.88a3%203%200%200%200-4.24%200l-.88.88a1%201%200%201%201-3-3l2.81-2.81a5.79%205.79%200%200%201%207.06-.87l.47.28a2%202%200%200%200%201.42.25L21%204%22%2F%3E%3Cpath%20d%3D%22m21%203%201%2011h-2%22%2F%3E%3Cpath%20d%3D%22M3%203%202%2014l6.5%206.5a1%201%200%201%200%203-3%22%2F%3E%3Cpath%20d%3D%22M3%204h8%22%2F%3E%3C%2Fsvg%3E");
  }
  #market-main > nav [data-tab="comparison"] {
    --dashboard-nav-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%203v16a2%202%200%200%200%202%202h16%22%2F%3E%3Cpath%20d%3D%22M18%2017V9%22%2F%3E%3Cpath%20d%3D%22M13%2017V5%22%2F%3E%3Cpath%20d%3D%22M8%2017v-3%22%2F%3E%3C%2Fsvg%3E");
  }
  #market-main > nav [data-tab="waste-catalog"] {
    --dashboard-nav-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%205h13%22%2F%3E%3Cpath%20d%3D%22M13%2012h8%22%2F%3E%3Cpath%20d%3D%22M13%2019h8%22%2F%3E%3Cpath%20d%3D%22M3%2010a2%202%200%200%200%202%202h3%22%2F%3E%3Cpath%20d%3D%22M3%205v12a2%202%200%200%200%202%202h3%22%2F%3E%3C%2Fsvg%3E");
  }
  #market-main > nav button:hover {
    background: #24304c;
    color: #fff;
  }
  #market-main > nav button[aria-selected="true"] {
    background: var(--dashboard-sidebar-active) !important;
    box-shadow: none;
  }
  #market-main #cards.indicator-panel {
    gap: calc(var(--spacing, 0.25rem) * 3);
  }
  #market-main #cards .indicator-row {
    gap: calc(var(--spacing, 0.25rem) * 2);
    border-radius: var(--radius-xl, 0.75rem);
    padding: calc(var(--spacing, 0.25rem) * 4);
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    min-height: 6.25rem;
    text-align: left;
  }
  #market-main #cards .indicator-row strong {
    --tw-font-weight: var(--font-weight-bold, 700);
    font-weight: var(--font-weight-bold, 700);
    --tw-tracking: var(--tracking-tight, -0.025em);
    letter-spacing: var(--tracking-tight, -0.025em);
    --tw-numeric-spacing: tabular-nums;
    font-variant-numeric: var(--tw-ordinal, ) var(--tw-slashed-zero, ) var(--tw-numeric-figure, ) var(--tw-numeric-spacing, ) var(--tw-numeric-fraction, );
  }
  #market-main :is(#directory-form .tools, .history-controls, #catalog-movement-form) {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: calc(var(--spacing, 0.25rem) * 3);
    border-radius: var(--radius-xl, 0.75rem);
    border-style: var(--tw-border-style);
    border-width: 1px;
    padding: calc(var(--spacing, 0.25rem) * 3);
    border-color: var(--line);
    background: var(--surface-raised);
  }
  #market-main :is(#directory-form .tools, .history-controls, #catalog-movement-form) > div {
    flex: 1 1 9rem;
    min-width: 0;
  }
  #market-main :is(#directory-form .tools, .history-controls, #catalog-movement-form) :is(select, input:not([type="checkbox"]):not([type="radio"])) {
    width: 100%;
    min-width: 0px;
  }
  #market-main :is(.history-controls, #catalog-movement-form) > button {
    min-height: 36px;
  }
  #prospect-form {
    display: grid;
    gap: calc(var(--spacing, 0.25rem) * 4);
  }
  #prospect-form :is(.prospect-own-card, .prospect-filter-card) {
    border-radius: var(--radius-xl, 0.75rem);
    border-style: var(--tw-border-style);
    border-width: 1px;
    padding: calc(var(--spacing, 0.25rem) * 4);
    border-color: var(--prospect-border);
  }
  #prospect-form .prospect-own-card {
    background: var(--prospect-card);
  }
  #prospect-form .prospect-own-card > .tools:first-child {
    align-items: flex-end;
    gap: calc(var(--spacing, 0.25rem) * 2);
  }
  #prospect-form .prospect-own-card > .tools:first-child > div {
    flex: 1 1 16rem;
    max-width: 26rem;
  }
  #prospect-form :is(#prospect-own-cnpj-help, #prospect-own-status) {
    font-size: var(--text-sm, 0.875rem);
    line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
    --tw-leading: var(--leading-snug, 1.375);
    line-height: var(--leading-snug, 1.375);
    margin: .5rem 0 0;
  }
  #prospect-form :is(#prospect-own-status, #prospect-own-options, #prospect-own-selected):empty {
    display: none;
  }
  #prospect-form .prospect-fields {
    margin: 0px;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    align-items: flex-end;
    gap: calc(var(--spacing, 0.25rem) * 4);
  }
  @media (min-width: 768px) {
    #prospect-form .prospect-fields {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }
  #market-main #prospect-form :is(input[type="search"], select) {
    height: calc(var(--spacing, 0.25rem) * 10);
    min-height: calc(var(--spacing, 0.25rem) * 10);
    width: 100%;
    min-width: 0px;
    border-radius: var(--radius-lg, 0.5rem);
    border-style: var(--tw-border-style);
    border-width: 1px;
    --tw-border-style: solid;
    border-style: solid;
    padding-left: calc(var(--spacing, 0.25rem) * 2.5);
    font-size: var(--text-sm, 0.875rem);
    line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
    box-sizing: border-box;
    border-color: var(--prospect-border);
  }
  #market-main #prospect-form select {
    padding-right: calc(var(--spacing, 0.25rem) * 1.5);
  }
  #market-main #prospect-form :is(input[type="search"], select):focus {
    border-color: var(--prospect-focus);
    outline: 2px solid var(--prospect-focus);
    outline-offset: 1px;
  }
  #prospect-form .prospect-filter-actions {
    margin-top: calc(var(--spacing, 0.25rem) * 4);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: calc(var(--spacing, 0.25rem) * 2);
    border-top-style: var(--tw-border-style);
    border-top-width: 1px;
    padding-top: calc(var(--spacing, 0.25rem) * 3);
    border-color: var(--prospect-border);
  }
  #prospect-form .prospect-filter-actions button, #account-bar :is(#ai-open, #account-logout) {
    display: inline-flex;
    width: auto;
    align-items: center;
    justify-content: center;
    gap: calc(var(--spacing, 0.25rem) * 1.5);
    padding-inline: calc(var(--spacing, 0.25rem) * 3);
    padding-block: calc(var(--spacing, 0.25rem) * 1.5);
  }
  .dashboard-action-icon {
    width: calc(var(--spacing, 0.25rem) * 4);
    height: calc(var(--spacing, 0.25rem) * 4);
    flex-shrink: 0;
  }
  #account-bar #ai-open {
    border-radius: calc(infinity * 1px);
    --tw-font-weight: var(--font-weight-semibold, 600);
    font-weight: var(--font-weight-semibold, 600);
    background: var(--assistant-pill);
    border-color: transparent;
    color: var(--assistant-ink);
  }
  #account-bar #account-logout {
    background: transparent;
    border-color: transparent;
    color: var(--muted);
  }
  #account-bar #account-logout:hover {
    background: var(--surface-hover);
    color: var(--ink);
  }
  #market-main .scroll:has(> table), #admin-dialog .scroll:has(> table), #destination-details-dialog .scroll:has(> table) {
    overflow-x: auto;
    border-radius: var(--radius-xl, 0.75rem);
    border-style: var(--tw-border-style);
    border-width: 1px;
    border-color: var(--line);
  }
  #market-main table :is(th, td), #admin-dialog table :is(th, td), #destination-details-dialog table :is(th, td) {
    padding-inline: calc(var(--spacing, 0.25rem) * 3.5);
    padding-block: calc(var(--spacing, 0.25rem) * 3);
    font-size: var(--text-sm, 0.875rem);
    line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
    border-bottom: 1px solid var(--line);
  }
  #market-main tbody tr:last-child > td, #admin-dialog tbody tr:last-child > td, #destination-details-dialog tbody tr:last-child > td {
    border-bottom: 0;
  }
  #market-main tbody tr:nth-child(even), #admin-dialog tbody tr:nth-child(even) {
    background: var(--surface-raised);
  }
  #market-main tbody tr:hover, #admin-dialog tbody tr:hover {
    background: var(--surface-hover);
  }
  .dashboard-status {
    display: inline-flex;
    border-radius: calc(infinity * 1px);
    padding-inline: calc(var(--spacing, 0.25rem) * 2.5);
    padding-block: var(--spacing, 0.25rem);
    font-size: var(--text-xs, 0.75rem);
    line-height: var(--tw-leading, var(--text-xs--line-height, calc(1 / 0.75)));
    --tw-font-weight: var(--font-weight-semibold, 600);
    font-weight: var(--font-weight-semibold, 600);
    white-space: nowrap;
    background: var(--dashboard-pending-badge);
    color: var(--dashboard-pending-ink);
  }
  .dashboard-status[data-status="active"] {
    background: var(--dashboard-active-badge);
    color: var(--dashboard-active-ink);
  }
  @media (width > 1023px) {
    #market-main > nav button {
      gap: .625rem;
      padding-inline: .625rem;
      font-size: .875rem;
    }
  }
  @media (max-width: 1023px) {
    main#market-main {
      grid-template-columns: repeat(1, minmax(0, 1fr));
      gap: calc(var(--spacing, 0.25rem) * 3);
    }
    #market-main > nav {
      position: static;
      display: grid;
      min-height: 0px;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      padding: calc(var(--spacing, 0.25rem) * 2);
      grid-column: 1;
    }
    #market-main > nav button {
      gap: calc(var(--spacing, 0.25rem) * 2);
      padding-inline: calc(var(--spacing, 0.25rem) * 2);
      padding-block: calc(var(--spacing, 0.25rem) * 2);
      font-size: var(--text-sm, 0.875rem);
      line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
    }
    #market-main > section {
      grid-column: 1;
    }
  }
  @media (max-width: 600px) {
    #market-main > nav {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      padding: calc(var(--spacing, 0.25rem) * 2);
    }
    #market-main > nav button {
      min-height: calc(var(--spacing, 0.25rem) * 11);
      padding-inline: calc(var(--spacing, 0.25rem) * 2);
      padding-block: calc(var(--spacing, 0.25rem) * 2);
    }
    #market-main #cards .indicator-row {
      padding: calc(var(--spacing, 0.25rem) * 3);
    }
    #market-main :is(#directory-form .tools, .history-controls, #catalog-movement-form) > div {
      flex-basis: 8rem;
    }
  }
}
@property --tw-tracking {
  syntax: "*";
  inherits: false;
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}
@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ordinal {
  syntax: "*";
  inherits: false;
}
@property --tw-slashed-zero {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-figure {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-spacing {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-fraction {
  syntax: "*";
  inherits: false;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-leading {
  syntax: "*";
  inherits: false;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-tracking: initial;
      --tw-font-weight: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-ordinal: initial;
      --tw-slashed-zero: initial;
      --tw-numeric-figure: initial;
      --tw-numeric-spacing: initial;
      --tw-numeric-fraction: initial;
      --tw-border-style: solid;
      --tw-leading: initial;
    }
  }
}

@media screen {
  :root:not([data-theme="dark"]) {
    --panel-accent: #2449d8;
    --panel-accent-dark: #203bb2;
    --panel-edge: #d6e1f6;
    --panel-tint: #f0f5ff;
    --panel-text: #192950;
  }

  :root:not([data-theme="dark"]) body {
    background: #f3f6fc;
  }

  :root:not([data-theme="dark"]) :is(#market-main > nav, #account-bar, #market-main .panel:not(.indicator-panel)) {
    border: 1px solid var(--panel-edge);
    border-radius: 1.125rem;
    background: white;
    box-shadow: 0 6px 22px #2449a314;
  }

  :root:not([data-theme="dark"]) #market-main .panel:not(.indicator-panel) {
    padding: clamp(1rem, 2vw, 1.5rem);
  }

  :root:not([data-theme="dark"]) #market-main h2 {
    color: var(--panel-text);
    font-size: clamp(1.125rem, 1.7vw, 1.375rem);
  }

  :root:not([data-theme="dark"]) #market-main :is(#directory-form .tools, .history-controls, #catalog-movement-form, .prospect-fields, #market-history-insights) {
    border: 1px solid var(--panel-edge);
    border-radius: 1rem;
    background: var(--panel-tint);
  }

  :root:not([data-theme="dark"]) #market-main :is(input:not([type="checkbox"]):not([type="radio"]), select, #directory-tech-summary) {
    border-color: #bacbed;
    border-radius: .75rem;
  }

  #market-main #catalog-chapter {
    max-width: 100%;
  }

  :root:not([data-theme="dark"]) :is(#market-main, #account-bar) button:not(:disabled) {
    cursor: pointer;
  }

  :root:not([data-theme="dark"]) :is(#market-main, #account-bar) button:not(:disabled):focus-visible,
  :root:not([data-theme="dark"]) #market-main summary:focus-visible {
    outline: 3px solid #4367ef;
    outline-offset: 3px;
  }

  :root:not([data-theme="dark"]) #market-main :is(.primary, #directory-submit) {
    border-color: var(--panel-accent);
    border-radius: .8rem;
    background: var(--panel-accent);
    color: white;
  }

  :root:not([data-theme="dark"]) #market-main :is(.primary, #directory-submit):not(:disabled):hover {
    background: var(--panel-accent-dark);
  }

  :root:not([data-theme="dark"]) :is(#market-main, #account-bar) button:not(:disabled):not(.primary):not(#directory-submit):hover {
    border-color: #8da9f6;
    background-color: #e8efff;
    color: var(--panel-accent-dark);
  }

  :root:not([data-theme="dark"]) #market-main > nav button[aria-selected="true"] {
    background: linear-gradient(130deg, #294eda, #6238c7) !important;
    color: white !important;
  }

  :root:not([data-theme="dark"]) #market-main #cards .indicator-row {
    background: linear-gradient(155deg, white 45%, var(--panel-tint));
    border-color: var(--panel-edge);
    border-radius: 1rem;
  }

  :root:not([data-theme="dark"]) #market-main #cards .indicator-row:is(:hover, [aria-pressed="true"]) {
    background: #e8efff;
    border-color: var(--tone, var(--panel-accent));
  }

  :root:not([data-theme="dark"]) #market-main .market-history-summary .history-kpi {
    background: linear-gradient(135deg, #284fc9, #4232a6);
    border-radius: 1rem;
  }

  :root:not([data-theme="dark"]) #market-main .market-history-summary .history-kpi:nth-child(2) {
    background: linear-gradient(135deg, #08706a, #125a81);
  }

  :root:not([data-theme="dark"]) #market-main .market-history-summary .history-kpi:nth-child(3) {
    background: linear-gradient(135deg, #7534b2, #5235b1);
  }

  :root:not([data-theme="dark"]) #market-main .market-history-summary .history-kpi :is(span, strong) {
    color: white;
  }

  :root:not([data-theme="dark"]) #market-main table th {
    background: #e9efff;
    color: var(--panel-text);
  }

  :root:not([data-theme="dark"]) #market-main tbody tr:hover {
    background: #e8efff;
  }
}

@media screen {
  #market-main :is(#directory-form > .tools, .prospect-filter-card, #comparison-form, .history-controls, .catalog-filter-fields, #catalog-movement-form) {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-raised);
    padding: 10px;
    box-shadow: 0 4px 14px #224d9210;
  }

  #market-main .market-filter-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 0 100%;
    grid-column: 1 / -1;
    padding: 8px 12px;
    margin-bottom: 4px;
    border-radius: 10px;
    background: linear-gradient(115deg, #0864dc, #153b9d);
    color: white;
    font-size: .875rem;
    font-weight: 700;
  }

  #market-main :is(.history-controls, .catalog-filter-fields, #catalog-movement-form) > .market-filter-heading {
    flex: 1 0 100%;
  }

  #market-main :is(#directory-form > .tools, .prospect-filter-card .prospect-fields, #comparison-form .prospect-fields, .history-controls, .catalog-filter-fields, #catalog-movement-form) {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
  }

  #market-main :is(#directory-form > .tools, .prospect-filter-card .prospect-fields, #comparison-form .prospect-fields, .history-controls, .catalog-filter-fields, #catalog-movement-form) > div:not(.market-filter-heading) {
    grid-column: span 3;
    min-width: 0;
  }

  #market-main :is(#directory-form > .tools, .prospect-filter-card .prospect-fields) > div:has(> :is(#directory-query, #prospect-query)) {
    grid-column: span 5;
    order: -8;
  }

  #market-main :is(#directory-year-field, #prospect-year-field) {
    order: -7;
  }

  #market-main :is(#directory-form > .tools, .prospect-filter-card .prospect-fields) > div:has(> :is(#destination-tech, #prospect-tech)) {
    grid-column: span 4;
    order: -6;
  }

  #market-main :is(#directory-form > .tools, .prospect-fields, .history-controls, .catalog-filter-fields) > div:has(> .ibama-picker) {
    grid-column: span 6;
    min-width: 0;
  }

  #market-main :is(#directory-form > .tools, .prospect-filter-card .prospect-fields) > div:has(> .ibama-picker) {
    order: -5;
  }

  #market-main :is(#directory-form > .tools, .prospect-filter-card .prospect-fields) > div:has(> :is(#directory-region, #directory-uf, #directory-city, #prospect-region, #prospect-uf, #prospect-city)) {
    grid-column: span 2;
    order: -4;
  }

  #market-main #directory-form .market-filter-heading,
  #market-main .history-controls .market-filter-heading {
    order: -10;
  }

  #market-main #directory-form > .tools > button {
    grid-column: span 2;
    align-self: end;
  }

  #market-main :is(.history-controls, #catalog-movement-form) > button {
    grid-column: span 3;
    align-self: end;
  }

  #market-main :is(#directory-form, .prospect-filter-card, #comparison-form, .history-controls, .catalog-filter-fields, #catalog-movement-form) :is(input:not([hidden]):not([type="hidden"]):not([type="checkbox"]):not([type="radio"]), select, #directory-tech-summary) {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    border-radius: 10px;
    box-sizing: border-box;
  }

  #market-main :is(#directory-submit, #market-history-search, .prospect-filter-actions .primary) {
    background: #1252cf;
    border-color: #1252cf;
    color: white;
  }

  #market-main :is(#directory-submit, #market-history-search, .prospect-filter-actions .primary):hover {
    background: #103caa;
  }

  #market-main .ibama-picker {
    position: relative;
    min-width: 0;
    max-width: 100%;
  }

  #market-main .ibama-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    min-height: 42px;
    padding: 3px 7px;
    box-sizing: border-box;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
  }

  #market-main .ibama-box:focus-within {
    outline: 2px solid var(--focus);
    outline-offset: 1px;
  }

  #market-main .ibama-box .ibama-editor {
    flex: 1 1 13rem;
    width: 100%;
    min-width: 0;
    min-height: 32px;
    padding: 4px 6px;
    border: 0;
    outline: none;
    box-shadow: none;
  }

  #market-main .ibama-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }

  #market-main .ibama-chips:empty { display: none; }

  #market-main .ibama-chip {
    padding: 4px 8px;
    min-height: 28px;
    border-radius: 999px;
    background: var(--surface-raised);
    color: var(--ink);
    font-size: .8125rem;
  }

  #market-main .ibama-footer {
    display: flex;
    gap: 8px;
    align-items: center;
    color: var(--muted);
    font-size: .8125rem;
  }

  #market-main .ibama-picker [hidden],
  #market-main input:has(+ .ibama-picker)[hidden] {
    display: none !important;
  }

  #market-main .ibama-clear {
    border: 0;
    background: transparent;
    color: var(--accent);
    text-decoration: underline;
    font-size: inherit;
  }

  #market-main .ibama-status:not(:empty) {
    font-size: .8125rem;
    color: var(--ink);
  }

  #market-main .ibama-options {
    position: absolute;
    inset: 100% 0 auto;
    z-index: 20;
    max-height: 16rem;
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    box-shadow: 0 6px 20px #152a5540;
  }

  #market-main .ibama-option {
    width: 100%;
    text-align: left;
    padding: 8px 10px;
    border: 0;
  }

  @media (max-width: 720px) {
    #market-main :is(#directory-form > .tools, .prospect-filter-card .prospect-fields, #comparison-form .prospect-fields, .history-controls, .catalog-filter-fields, #catalog-movement-form) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #market-main :is(#directory-form > .tools, .prospect-filter-card .prospect-fields, #comparison-form .prospect-fields, .history-controls, .catalog-filter-fields, #catalog-movement-form) > :is(div, button):not(.market-filter-heading) {
      grid-column: span 1 !important;
    }

    #market-main :is(#directory-form > .tools, .prospect-filter-card .prospect-fields, #comparison-form .prospect-fields, .history-controls, .catalog-filter-fields) > div:has(> .ibama-picker) {
      grid-column: 1 / -1 !important;
    }
  }
}

@media screen {
  #prospect-own-count {
    margin: .65rem 0 .4rem;
    color: var(--ink);
    font-size: .875rem;
    font-weight: 700;
  }

  #prospect-own-selected button {
    max-width: 100%;
    border-radius: 12px;
    border-color: var(--line);
    background: var(--surface);
    color: var(--accent);
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  #prospect-own-options:not([hidden]):not(:empty) {
    margin-top: .6rem;
    padding-top: .55rem;
    border-top: 1px solid var(--line);
  }
}

@media screen {
  #comparison-form > .comparison-lookup-fields > div:first-child { grid-column: span 6; }
  #comparison-form .comparison-lookup-actions { margin-top: 10px; }
  #comparison-unit-actions {
    margin-block: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--surface-raised);
  }
  #comparison-unit-count { font-weight: 700; }
  #comparison-unit-table { overflow-x: auto; }
  #comparison-unit-table table {
    width: 100%;
    min-width: 680px;
    table-layout: fixed;
  }
  #comparison-unit-table th:first-child { width: 7%; }
  #comparison-unit-table th:nth-child(2) { width: 23%; }
  #comparison-unit-table th:nth-child(3) { width: 15%; }
  #comparison-unit-table th:nth-child(4) { width: 13%; }
  #comparison-unit-table th:nth-child(5) { width: 12%; }
  #comparison-unit-table th:nth-child(6) { width: 14%; }
  #comparison-unit-table :is(th, td) {
    vertical-align: top;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  #comparison-unit-table td:first-child { text-align: center; }
  #comparison-unit-table td:nth-child(2) { font-weight: 650; }
  #comparison-unit-table tr:has(input:checked) td { background: var(--surface-hover); }
  #comparison-unit-rows input { width: 1rem; height: 1rem; min-width: 0; }
  #comparison-unit-rows td:nth-child(6) { font-variant-numeric: tabular-nums; }
  #comparison-unit-selected button { max-width: 100%; white-space: normal; text-align: left; }
  #comparison .comparison-group-member {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    margin-block: 6px;
  }
  #comparison :is(#comparison-unit-table, #comparison-unit-actions, #comparison-unit-pages)[hidden] { display: none; }
  @media (max-width: 720px) {
    #comparison-form > .comparison-lookup-fields > div:first-child { grid-column: 1 / -1 !important; }
  }
}

@media screen {
  #market-main > nav [data-tab="institucional"] {
    --dashboard-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='3' x2='21' y1='22' y2='22'/%3E%3Cline x1='6' x2='6' y1='18' y2='11'/%3E%3Cline x1='10' x2='10' y1='18' y2='11'/%3E%3Cline x1='14' x2='14' y1='18' y2='11'/%3E%3Cline x1='18' x2='18' y1='18' y2='11'/%3E%3Cpolygon points='12 2 20 7 4 7'/%3E%3C/svg%3E");
  }
}
