/* Theme tokens */
@import url("https://fonts.googleapis.com/css2?family=Heebo:wght@400;600;700;800&family=Inter:wght@400;600;700;800&display=swap");

:root {
  --bg: #f6f9fc;
  --panel: #ffffff;
  --muted: #6b7280;
  --ink: #0b132b;
  --accent: #1e90ff;
  --Dash-Fill-Interactive-Strong: var(--accent);
  --hover: #f7faff;
  --shadow: 0 12px 30px rgba(27, 43, 83, 0.08);
  --radius: 16px;
  --container: min(96vw, 1800px);
  --line: #e8eef8;
  --line-soft: #eef2f7;
  --scrollbar-thumb: #d8e2f2;
  --warn-ink: #5a4a00;
  --warn-border: #f0d36b;
  --status-full: #e4f7f1;
  --status-med: #fef4e5;
  --status-low: #fff1ed;
  --status-non: #fceae8;
}

/* Base + layout */
* {
  box-sizing: border-box;
}
html {
  font-family: Heebo, Inter, Segoe UI, Arial, sans-serif;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: inherit;
}
button, input, select, textarea {
  font: inherit;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 12px;
  right: 12px;
  transform: translateY(-180%);
  background: var(--panel);
  color: var(--ink);
  border: 2px solid var(--accent);
  border-radius: 10px;
  padding: 10px 14px;
  z-index: 9999;
  text-decoration: none;
  font-weight: 700;
}
.skip-link:focus-visible {
  transform: translateY(0);
  outline: none;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 20%, transparent);
}
:focus-visible:where(a, button, input, select, textarea, [role="tab"], [tabindex]:not([tabindex="-1"]), .header, #page-content):not(.skip-link, .dash-dropdown-search) {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius);
}
.dash-dropdown:focus-within, .dash-dropdown[aria-expanded="true"] {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent);
}
.layout, .header, .mobile-note {
  width: var(--container);
  margin: 0 auto;
}
.layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 18px;
  align-items: start;
}
.layout > *, .page > * {
  min-width: 0;
}

/* Header */
.header {
  padding: 28px 32px;
  background: linear-gradient(135deg, #f8fbff, #eef6ff);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 5;
}
.header h1 {
  margin: 0 0 6px 0;
  font-weight: 800;
  font-size: clamp(2.1rem, 3.4vw, 2.8rem);
  background: linear-gradient(135deg, #11bfae, #0d998d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
}

/* Info button */
#info-btn {
  width: 42px;
  height: 42px;
  font-size: 24px;
  border-radius: 12px;
  font-weight: 800;
  border: 1px solid color-mix(in srgb, var(--accent) 20%, white);
  background: #f3f8ff;
  color: var(--accent);
  margin-top: 25px;
}
#info-btn:hover, #info-btn:focus-visible {
  background: var(--hover);
  filter: brightness(0.96);
}

/* Cards + KPIs + grids */
.page {
  display: grid;
  gap: 18px;
}
.card {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.kpi {
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--panel), #f6fbff);
  border: 1px solid var(--line-soft);
}
.kpi .kpi-title {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 6px;
}
.kpi .kpi-value {
  font-size: 28px;
  font-weight: 800;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}

/* Tabs (dcc.Tabs) */
#main-tabs {
  gap: 6px;
  padding: 0 4px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}
#main-tabs .tab {
  height: 42px;
  padding: 0 12px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-bottom: 2px solid transparent;
  border-radius: 10px 10px 0 0;
  background: var(--panel);
  color: var(--muted);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
#main-tabs .tab:hover {
  background: var(--hover);
  color: var(--accent);
}
#main-tabs .tab--selected {
  color: color-mix(in srgb, var(--accent) 82%, black);
  border-color: currentColor;
  border-bottom-color: currentColor;
}
#main-tabs .tab--selected > span {
  color: color-mix(in srgb, var(--accent) 82%, black);
}

/* Plotly containers */
.js-plotly-plot, .dash-graph {
  border-radius: var(--radius);
}
#pie, #bar, #counts_year, #slope_graph, #muni_pie, #muni_bar, #muni_counts_year, #muni_slope_graph, #gov_pie, #gov_bar {
  width: 100%;
  height: 450px !important;
}

/* Filters & controls (Dash v4 dropdown) */
.filters-grid {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-field, .slider-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.filters-grid.general-filters .filter-field {
  flex: 1 1 320px;
}
.filter-field > .dash-dropdown-wrapper {
  width: 100%;
}
.filters-grid .dash-dropdown-wrapper {
  width: min(333px, 100%);
}
.filters-grid.muni-filters {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
  gap: 12px 16px;
  align-items: center;
}
.filters-grid.muni-filters > * {
  min-width: 0;
}
.filters-grid.muni-filters #muni-reset {
  grid-column: 6;
  grid-row: 1 / span 2;
}
.mini-year > div, .mini-year .dash-dropdown-wrapper {
  width: 150px;
  min-width: 130px;
}
.mini-year .dash-dropdown-grid-container {
  display: flex;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 100%;
}
.mini-year .dash-dropdown-placeholder {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* dcc.Dropdown (Dash v4) */
.dash-dropdown {
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid #e3eaf4;
  padding: 0 10px;
  direction: rtl;
  text-align: right;
}
.dash-dropdown:hover {
  border-color: color-mix(in srgb, var(--accent) 20%, white);
  background: var(--hover);
}
.dash-dropdown-placeholder {
  color: var(--muted);
}
.dash-dropdown-trigger-icon, .dash-dropdown-clear {
  color: var(--muted);
}
input, textarea, .dash-dropdown, .dash-dropdown-content {
  font-size: 14px;
}
.dash-dropdown-content {
  border-radius: 10px;
  direction: rtl;
  text-align: right;
}

/* RangeSlider (Dash 4) */
.dash-slider-container {
  padding: 0 25px 25px;
}
.dash-slider-track {
  height: 6px;
}
.dash-slider-thumb {
  border: 2px solid var(--accent);
  background: var(--panel);
}
.dash-slider-mark::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--panel);
  margin-bottom: 12px;
}
.dash-slider-mark-outside-selection::before {
  background: color-mix(in srgb, var(--accent) 20%, var(--panel));
}
.dash-slider-mark-outside-selection {
  color: var(--muted);
}
/* AG Grid (Quartz) */
.custom-grid {
  height: 450px !important;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  --ag-active-color: var(--accent);
}

/* Header */
.ag-theme-quartz .ag-header {
  border-bottom: 1px solid var(--line);
  font-weight: 800;
  font-size: 16px;
}
.ag-theme-quartz :is(.ag-header-cell, .ag-row .ag-cell) {
  border-right: 1px solid var(--line);
}
.ag-theme-quartz :is(.ag-header-cell, .ag-row .ag-cell):last-child {
  border-right: none;
}

/* Body cell separators */
.ag-theme-quartz .ag-row .ag-cell {
  border-bottom: 1px solid var(--line);
}

/* RTL cell alignment */
.rtl-cell {
  direction: rtl;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Header alignment helpers */
.rtl-header .ag-header-cell-label {
  flex-direction: row-reverse;
  justify-content: flex-start;
  column-gap: 8px;
}
.right-header .ag-header-cell-text {
  text-align: right;
  width: 100%;
}
.right-header .ag-sort-indicator-container {
  order: -1;
}

/* Zebra rows only when no status tint */
.ag-theme-quartz .ag-row:not(:is(.row-full, .row-med, .row-low, .row-non)) .ag-cell {
  background: #fafcff;
}

/* Status coloring via rowClassRules */
.ag-theme-quartz .ag-row.row-full .ag-cell {
  background: var(--status-full) !important;
}
.ag-theme-quartz .ag-row.row-med .ag-cell {
  background: var(--status-med) !important;
}
.ag-theme-quartz .ag-row.row-low .ag-cell {
  background: var(--status-low) !important;
}
.ag-theme-quartz .ag-row.row-non .ag-cell {
  background: var(--status-non) !important;
}

/* Keep tint on hover */
.ag-theme-quartz .ag-row.ag-row-hover:is(.row-full, .row-med, .row-low, .row-non) .ag-cell {
  filter: brightness(0.98);
}

/* Map controls */
.map-ctrl-wrap {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  direction: rtl;
  padding: 6px 8px;
}
.map-ctrl-wrap > * {
  flex: 0 0 auto;
  min-width: 0;
}
.map-ctrl-wrap .filter-field {
  flex: 1 1 420px;
  min-width: 260px;
}
.map-ctrl-wrap .filter-field:nth-of-type(2) {
  flex: 0 0 220px;
  min-width: 220px;
}
#map-reset {
  white-space: nowrap;
}
#map {
  min-height: clamp(360px, 55vh, 666px);
}
.maplibregl-ctrl-attrib-inner {
  color: var(--muted);
}
.maplibregl-ctrl-attrib-inner a {
  color: color-mix(in srgb, var(--accent) 82%, black) !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

/* Δ controls */
#change-type, #muni-change-type, #muni-slope-group {
  width: min(333px, 100%);
}
#change-window, #muni-change-window {
  width: 100%;
  min-width: 0;
  direction: ltr;
}
.delta-card .filters-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 333px);
  gap: 12px 16px;
  align-items: start;
}
.delta-card .filters-grid > * {
  min-width: 0;
}

/* Δ tables + HTML table */
.delta-scroll {
  overflow-y: auto;
  max-height: 420px;
  padding-right: 6px;
  scrollbar-color: var(--scrollbar-thumb) transparent;
}
.delta-scroll::-webkit-scrollbar {
  width: 8px;
}
.delta-scroll::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 8px;
}
.delta-card .grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.delta-card .subcard {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.delta-card .subcard > .delta-scroll {
  flex: 1 1 auto;
  min-height: 260px;
}
.rtl-table {
  width: 100%;
  direction: rtl;
  margin: 0;
  border-collapse: collapse;
}
.rtl-table :is(th, td) {
  border: 1px solid var(--line);
  padding: 6px 8px;
}
.rtl-table :is(th, td):first-child {
  width: 220px;
  white-space: normal;
  word-break: break-word;
}
.rtl-table tbody tr:hover td:not(.status-cell) {
  background: var(--hover);
}

/* Sticky header row */
.sticky-header th {
  position: sticky;
  top: 0;
  background: var(--panel);
  z-index: 2;
}

/* Subcards */
.subcard {
  background: linear-gradient(180deg, var(--panel), #fbfdff);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 12px;
}
.subcard h2 {
  margin: 4px 0 10px;
}

/* Table status backgrounds */
.rtl-table td.status-cell.status-full {
  background: var(--status-full);
}
.rtl-table td.status-cell.status-med {
  background: var(--status-med);
}
.rtl-table td.status-cell.status-low {
  background: var(--status-low);
}
.rtl-table td.status-cell.status-non {
  background: var(--status-non);
}
.status-cell .small {
  color: color-mix(in srgb, var(--muted) 94%, black) !important;
}

/* Modal */
.rtl-modal-header {
  direction: rtl;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding-left: 56px;
}
.rtl-modal-header .btn-close {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  background: none;
  opacity: 1;
}
.rtl-modal-header .btn-close::before {
  content: "×";
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}
.rtl-modal-header .btn-close:hover::before, .rtl-modal-header .btn-close:focus-visible::before {
  filter: brightness(0.9);
}
.modal-content h2 {
  font-size: 1.25rem;
}

/* Empty states */
.empty-note {
  padding: 18px;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--status-med);
  border: 1px solid #ffe1b2;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.empty-note .icon {
  font-size: 20px;
}
.empty-state {
  height: 69px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Card headers & year badges */
.card .card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px;
  margin-bottom: 14px;
}
.card .card-head h2 {
  flex: 1 1 auto;
  min-width: 0;
}
.card h2 {
  font-size: 1.5rem;
  line-height: 1.25;
}
.card .card-head .mini-year {
  flex: 0 0 auto;
  min-width: 110px;
}

/* Utilities */
.small, .ag-theme-quartz.custom-grid .ag-overlay-no-rows-center {
  font-size: 15px;
  color: var(--muted);
  margin-top: 10px;
}
.tooltip .tooltip-inner {
  direction: rtl;
}

/* Badge chips */
.badge-neutral, .badge-override {
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  margin-inline-start: 8px;
  font-weight: 600;
  margin-top: 10px;
}
.badge-neutral {
  background: #e8f2ff;
  color: #1f2937;
  border: 1px solid #e5e7eb;
}
.badge-override, .mobile-note {
  color: var(--warn-ink);
  border: 1px solid var(--warn-border);
}
.badge-override {
  font-size: 15px;
  background: #fff4cc;
}

/* Hidden by default; shown only on small touch screens */
.mobile-note {
  display: none;
  background: var(--status-med);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: var(--shadow);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
  margin-top: 8px;
}

/* Responsive */
/* --- Up to 1600px --- */
@media (max-width: 1600px) {
  .filters-grid.general-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr)) auto;
    gap: 12px 16px;
    align-items: stretch;
    justify-items: stretch;
  }
  .filters-grid.general-filters > * {
    min-width: 0;
    width: 100%;
  }
  .filters-grid.general-filters :is(#general-reset, #gov-reset) {
    grid-column: 3;
    grid-row: 1 / span 2;
    justify-self: center;
    align-self: center;
  }
}

/* --- Laptop (<=1024px) --- */
@media (max-width: 1024px) {
  .layout {
    padding: 14px;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  #map-reset {
    margin-inline: auto;
  }
}

/* --- Tablet / Small Laptop (<=768px) --- */
@media (max-width: 768px) {
  .custom-grid {
    height: auto;
    max-height: 520px;
  }
  .map-ctrl-wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .map-ctrl-wrap .filter-field {
    flex: 0 0 auto !important;
    min-width: 0 !important;
    width: 100% !important;
  }
  #map-search .dash-dropdown-grid-container, #map-year .dash-dropdown-grid-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  #map-search .dash-dropdown-value, #map-year .dash-dropdown-value {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  #map-search .dash-dropdown-value-item, #map-year .dash-dropdown-value-item {
    display: flex !important;
    justify-content: center !important;
  }
  #map-reset {
    width: fit-content !important;
    align-self: center;
    padding: 6px 12px;
    line-height: 1.1;
  }
  .card .card-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .card .card-head > * {
    margin: 0;
  }
  .card .card-head h2 {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }
  .card .card-head h2 :is(.badge-neutral, .badge-override) {
    margin-inline-start: 0;
  }
  .card .card-head .mini-year {
    display: flex;
    justify-content: flex-start;
    min-width: 0;
    width: 100%;
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: 8px;
  }
  .mini-year > div, .mini-year .dash-dropdown-wrapper, #muni-slope-group {
    width: 100% !important;
    min-width: 0 !important;
  }
  .ag-theme-quartz :is(.ag-cell, .ag-cell-value), .rtl-cell {
    white-space: normal !important;
    overflow: visible;
    text-overflow: unset;
    line-height: 1.35;
    word-break: break-word;
    hyphens: auto;
  }
  .ag-theme-quartz .ag-cell {
    padding-block: 10px;
  }
  .delta-card .grid-2 {
    grid-template-columns: 1fr;
  }
  .delta-card .grid-2 > * {
    min-width: 0;
  }
  .delta-card .subcard {
    gap: 10px;
  }
  .delta-card .subcard + .subcard {
    margin-top: 12px;
  }
  .delta-card .delta-scroll {
    max-height: 320px;
  }
  .filters-grid.muni-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .filters-grid.muni-filters #muni-reset {
    grid-column: 1 / -1;
    grid-row: auto;
    justify-self: center;
    align-self: center;
  }
  .delta-card .filters-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .delta-card .filters-grid > * {
    width: 100% !important;
  }
  .delta-card .filters-grid .dash-dropdown-wrapper, .delta-card .filters-grid #change-type {
    width: 100% !important;
    max-width: none !important;
  }
  .delta-card .filters-grid > *:last-child {
    margin-bottom: 12px;
  }
  .delta-card .filters-grid :is(.dash-dropdown-grid-container, .dash-dropdown-value, .dash-dropdown-value-item) {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
}

/* --- Mobile Touch (<=640px, coarse pointer) --- */
@media (max-width: 640px) and (pointer: coarse) {
  .mobile-note {
    display: block;
  }
}

/* --- Narrow Phablet (<=600px) --- */
@media (max-width: 600px) {
  .ag-theme-quartz:where(#grid, #gov-grid) :is(.ag-header-cell, .ag-cell) {
    padding: 10px 12px;
    position: static !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    left: auto !important;
    flex: initial !important;
  }
  .ag-theme-quartz .ag-header-cell {
    line-height: 1.35;
  }
  .ag-theme-quartz:where(#grid) :is(.ag-header-row, .ag-row) {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ag-theme-quartz:where(#gov-grid) :is(.ag-header-row, .ag-row) {
    display: grid !important;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.6fr) minmax(0, 1fr);
  }
  .rtl-header .ag-header-cell-label {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 4px;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
  }
  .right-header .ag-header-cell-text {
    flex: 1 1 100%;
    min-width: 0;
    max-width: 100%;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.25;
  }
  #map {
    min-height: clamp(320px, 50vh, 540px);
  }
  .filters-grid.general-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 12px !important;
  }
  .filters-grid.general-filters .slider-field {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }
  .filters-grid.general-filters :is(#general-reset, #gov-reset) {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    width: fit-content !important;
    justify-self: center !important;
  }
  .filters-grid .dash-dropdown {
    height: auto;
    padding-block: 6px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .filters-grid .dash-dropdown-value.dash-dropdown-placeholder {
    white-space: normal !important;
    text-overflow: clip !important;
  }
  .filters-grid .dash-dropdown-value {
    width: 100%;
    text-align: center;
  }
  .filters-grid .dash-dropdown-value-item {
    display: block;
    width: 100%;
    text-align: center;
  }
  #general-year .dash-dropdown-clear {
    display: none;
  }
}

/* --- Phone Size (<=480px) --- */
@media (max-width: 480px) {
  .layout, .card, .kpi {
    padding: 10px;
  }
  .kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .kpis > :nth-child(3) {
    grid-column: 1 / -1;
  }
  .ag-theme-quartz :is(.ag-header-cell, .ag-cell) {
    font-size: 12px;
    padding: 8px 10px;
  }
  #map {
    min-height: 300px;
  }
  .modal-dialog {
    max-width: 100%;
    margin: 10px;
  }
  .modal-body {
    padding: 10px;
    overflow-y: auto;
    max-height: 70vh;
  }
  .rtl-modal-header {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .modal-body p, .modal-body li {
    word-wrap: break-word;
  }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Sienna Widget Accent Overrides --- */
.aws-filter .js-plotly-plot.js-plotly-plot svg, .aws-filter .dash-graph.dash-graph svg {
  background: transparent !important;
}
.asw-menu-btn.asw-menu-btn {
  width: 42px !important;
  height: 42px !important;
  outline: 5px solid var(--accent) !important;
}
.asw-menu-btn.asw-menu-btn, .asw-menu-header.asw-menu-header, .asw-menu-reset-footer-btn.asw-menu-reset-footer-btn {
  background: var(--accent) !important;
}
.asw-btn.asw-btn.asw-selected:after {
  background-color: var(--accent) !important;
}
.asw-menu-header.asw-menu-header svg, .asw-menu-header.asw-menu-header svg * {
  fill: var(--accent) !important;
}
.asw-btn.asw-btn:hover, .asw-btn.asw-btn.asw-selected, .asw-plus.asw-plus:hover, .asw-minus.asw-minus:hover {
  border-color: var(--accent) !important;
}
.asw-menu .asw-btn.asw-btn.asw-selected svg, .asw-menu .asw-btn.asw-btn.asw-selected svg *, .asw-menu .asw-btn.asw-btn.asw-selected span {
  fill: var(--accent) !important;
  color: var(--accent) !important;
}
.asw-footer {
  display: none;
}
