:root,
:host {
  --color-bg: #f4f4f5;
  --color-surface: #ffffff;
  --color-text: #111111;
  --color-text-muted: #525252;
  --color-border: #e4e4e7;
  --color-button: #111111;
  --color-button-text: #ffffff;
  --color-user-bubble: #111111;
  --color-user-bubble-text: #ffffff;
  --color-focus: #111111;
  --font-size: 16px;
  --font-small: 13px;
  --font-title: 20px;
  --radius-card: 12px;
  --shadow-card: 0 1px 2px rgb(0 0 0 / 6%);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --font-sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --font-body: 14px;
  --font-small: 12px;
  --font-menu: 14px;
  --font-title: 22px;
  --font-section: 16px;
  --font-kpi: 22px;
  --font-table: 12px;
  --icon-size: 16px;
  --touch-min: 44px;
  --sidebar-width: 220px;
  --line: 1.5;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: var(--font-body);
  line-height: var(--line);
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

.shell {
  min-height: 100vh;
}

.sidebar {
  background: var(--color-surface);
  border-right: 1px solid var(--color-border);
  bottom: 0;
  display: flex;
  flex-direction: column;
  left: 0;
  max-width: 100%;
  position: fixed;
  top: 0;
  transform: translateX(-100%);
  width: min(var(--sidebar-width), 100%);
  z-index: 4;
}

.sidebar.is-open {
  box-shadow: 0 0 0 100vmax color-mix(in srgb, var(--color-text) 40%, transparent);
  transform: none;
}

.nav-close {
  margin: 0 var(--space-3) var(--space-2);
}

.brand {
  align-items: center;
  display: flex;
  font-weight: 650;
  gap: var(--space-2);
  min-height: var(--touch-min);
  padding: var(--space-3) var(--space-4);
  text-decoration: none;
}

.nav-label {
  color: var(--color-text-muted);
  display: none;
  font-size: var(--font-small);
  letter-spacing: 0.04em;
  margin: var(--space-4) 0 var(--space-1);
  padding: 0 var(--space-3);
  text-transform: uppercase;
}

.nav-list {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0 var(--space-2) var(--space-4);
}

.sidebar.is-open .nav-label,
.sidebar.is-open .nav-list {
  display: block;
}

.nav-list a {
  align-items: center;
  border-radius: 999px;
  display: flex;
  font-size: var(--font-menu);
  gap: var(--space-2);
  min-height: var(--touch-min);
  padding: var(--space-2) var(--space-3);
  text-decoration: none;
}

.nav-list a[aria-current="page"] {
  background: var(--color-bg);
  font-weight: 650;
}

.icon {
  flex: 0 0 auto;
  height: var(--icon-size);
  width: var(--icon-size);
}

.topbar {
  align-items: center;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  gap: var(--space-2);
  min-height: var(--touch-min);
  padding: var(--space-2) var(--space-3);
  position: sticky;
  top: 0;
}

.search {
  display: flex;
  flex: 1;
}

.search input {
  flex: 1;
  min-width: 0;
}

.user-menu {
  position: relative;
}

.user-menu summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: var(--space-2);
  list-style: none;
  min-height: var(--touch-min);
  padding: 0 var(--space-2);
}

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

.user-menu form,
.user-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  display: grid;
  min-width: 200px;
  padding: var(--space-2);
  position: absolute;
  right: 0;
  z-index: 3;
}

.content {
  min-width: 0;
  padding: var(--space-4);
}

.sheet {
  max-width: none;
}

label.field:has(:required) > span:first-child::after,
.field.required > span:first-child::after {
  color: var(--color-required, #d92d20);
  content: " *";
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  margin-bottom: var(--space-4);
  padding: var(--space-4);
}

h1,
h2 {
  font-size: var(--font-title);
  font-weight: 650;
  line-height: var(--line);
  margin: 0 0 var(--space-4);
}

h2 {
  font-size: var(--font-section);
}

p {
  margin: 0 0 var(--space-4);
}

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

.grid {
  display: grid;
  gap: var(--space-4);
}

.button,
button,
.topbar a.button {
  align-items: center;
  background: var(--color-button);
  border: 1px solid var(--color-button);
  border-radius: var(--radius-card);
  color: var(--color-button-text);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  justify-content: center;
  min-height: var(--touch-min);
  padding: var(--space-2) var(--space-4);
  text-decoration: none;
}

.button.secondary,
button.secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border-color: var(--color-border);
}

.button.destructive,
button.destructive {
  background: var(--color-surface);
  border-color: var(--color-text);
  color: var(--color-text);
  font-weight: 700;
}

.page-actions {
  background: var(--color-bg);
  margin-bottom: var(--space-4);
  position: sticky;
  top: 0;
  z-index: 2;
}

.page-actions .spacer {
  flex: 1;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: var(--font-kpi);
  line-height: 1.2;
  margin: var(--space-2) 0;
}

.form-grid {
  display: grid;
  gap: var(--space-4);
}

.search-open {
  display: none;
}

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

.actions h1 {
  margin: 0;
}

label.field {
  display: grid;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
}

.search label.field {
  align-items: center;
  display: flex;
  flex: 1;
  gap: var(--space-2);
  margin: 0;
}

input,
select,
textarea {
  accent-color: var(--color-button);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  color: var(--color-text);
  font: inherit;
  min-height: var(--touch-min);
  padding: var(--space-2) var(--space-3);
  width: 100%;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.picker {
  position: relative;
  width: 100%;
}

.picker-native {
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  left: 0;
  min-height: 0;
  opacity: 0;
  padding: 0;
  pointer-events: none;
  position: absolute;
  bottom: 0;
  width: 1px;
}

.picker-trigger {
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  font: inherit;
  font-weight: 400;
  gap: var(--space-2);
  justify-content: space-between;
  min-height: var(--touch-min);
  padding: var(--space-2) var(--space-3);
  text-align: left;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}

.picker-trigger:hover {
  background: var(--color-surface);
  border-color: #d0d5dd;
}

.picker-trigger:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.picker-trigger::after {
  border-bottom: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  content: "";
  flex: none;
  height: 7px;
  margin: -4px 2px 0 0;
  opacity: 0.5;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  width: 7px;
}

.picker-value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.picker.is-empty .picker-value {
  color: var(--color-text-muted);
}

.picker.is-open .picker-trigger {
  border-color: var(--color-text-muted);
  box-shadow: 0 0 0 3px rgb(16 24 40 / 6%);
}

.picker.is-open .picker-trigger::after {
  margin-top: 4px;
  transform: rotate(-135deg);
}

.picker.is-invalid .picker-trigger {
  border-color: #fda29b;
  box-shadow: 0 0 0 3px rgb(240 68 56 / 10%);
}

.picker-list {
  animation: picker-in 0.12s ease-out;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgb(16 24 40 / 14%), 0 2px 6px rgb(16 24 40 / 6%);
  display: grid;
  gap: 2px;
  left: 0;
  max-height: 280px;
  overflow: auto;
  padding: 6px;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 30;
}

.picker-list[hidden] {
  display: none;
}

.picker-search {
  background: var(--color-surface);
  border-radius: 9px;
  margin-bottom: 4px;
  min-height: 36px;
  padding: 6px 10px;
  position: sticky;
  top: 0;
  z-index: 1;
}

.picker-option {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 9px;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  font: inherit;
  font-weight: 400;
  justify-content: space-between;
  min-height: 38px;
  padding: 8px 12px;
  text-align: left;
  width: 100%;
}

.picker-option[hidden] {
  display: none;
}

.picker-option:hover,
.picker-option:focus-visible {
  background: var(--color-bg, #f4f4f5);
  outline: none;
}

.picker-option:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.picker-option[aria-selected="true"] {
  font-weight: 600;
}

.picker-option[aria-selected="true"]::after {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  flex: none;
  height: 10px;
  margin-right: 4px;
  transform: rotate(45deg) translateY(-2px);
  width: 5px;
}

.picker-empty {
  color: var(--color-text-muted);
  margin: 0;
  padding: 8px 12px;
}

@keyframes picker-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.error {
  color: var(--color-text);
  font-weight: 650;
}

.color-pair {
  display: flex;
  gap: var(--space-2);
}

.color-pair input[type="color"] {
  flex: 0 0 var(--touch-min);
  padding: var(--space-1);
  width: var(--touch-min);
}

.widget-preview {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  color: var(--color-text);
  font-size: var(--font-size);
  margin-bottom: var(--space-4);
  max-width: 320px;
  padding: var(--space-3);
}

.widget-preview .preview-bar {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  margin: calc(var(--space-3) * -1) calc(var(--space-3) * -1) var(--space-3);
  padding: var(--space-3);
}

.widget-preview .preview-name {
  font-size: var(--font-size, var(--font-title));
}

.widget-preview .preview-user,
.widget-preview .preview-assistant {
  border-radius: var(--radius-card);
  margin: 0 0 var(--space-2);
  padding: var(--space-2) var(--space-3);
}

.widget-preview .preview-user {
  background: var(--color-user-bubble);
  color: var(--color-user-bubble-text);
  margin-left: var(--space-5);
}

.widget-preview .preview-assistant {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: var(--font-small, var(--font-table));
  margin-right: var(--space-5);
}

.editor.is-invalid {
  box-shadow: inset 0 0 0 2px var(--color-text);
}

.page-head {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

.page-head h1,
.page-head p {
  margin: 0;
}

.page-head .muted {
  margin-top: var(--space-1);
}

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

.save-bar {
  display: none;
}

.toast {
  align-items: center;
  background: var(--color-success-bg, #ecfdf3);
  border: 1px solid var(--color-success-border, #abefc6);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  color: var(--color-success-text, #067647);
  font-weight: 600;
  margin: 0;
  max-width: min(360px, calc(100vw - 32px));
  padding: var(--space-3) var(--space-4);
  pointer-events: none;
  position: fixed;
  right: 16px;
  top: 16px;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 60;
  animation: toast-in 0.25s ease-out;
}

.toast.is-danger {
  background: #fef3f2;
  border-color: #fecdca;
  color: #b42318;
}

.toast.is-leaving {
  opacity: 0;
  transform: translateY(-8px);
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .toast { animation: none; transition: none; }
}

.badge {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-size: var(--font-small);
  font-weight: 600;
  gap: var(--space-1);
  line-height: 1;
  padding: 5px 10px;
  white-space: nowrap;
}

.badge.is-success {
  background: #ecfdf3;
  border-color: #abefc6;
  color: #067647;
}

.badge.is-info {
  background: #eff8ff;
  border-color: #b2ddff;
  color: #175cd3;
}

.badge.is-danger {
  background: #fef3f2;
  border-color: #fecdca;
  color: #b42318;
}

.badge.is-neutral {
  background: #f4f4f5;
  border-color: var(--color-border);
  color: var(--color-text-muted);
}

.content,
td,
th,
p {
  overflow-wrap: break-word;
}

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

th,
td {
  padding: var(--space-2) var(--space-3);
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--color-text-muted);
  font-size: var(--font-table);
  font-weight: 500;
}

tbody tr {
  min-height: 42px;
}

td.num,
th.num {
  font-family: var(--font-mono);
  text-align: right;
}

td.num:first-child,
th.num:first-child {
  text-align: left;
  white-space: nowrap;
  width: 1%;
}

.sr-only {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

td.row-actions,
th.row-actions {
  text-align: right;
  white-space: nowrap;
  width: 1%;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.tabs a {
  background: transparent;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: var(--color-text-muted);
  min-height: var(--touch-min);
  padding: var(--space-2) var(--space-3);
  text-decoration: none;
}

.tabs a[aria-current="page"] {
  border-bottom-color: var(--color-text);
  color: var(--color-text);
  font-weight: 650;
}

.dialog {
  background: color-mix(in srgb, var(--color-text) 40%, transparent);
  inset: 0;
  position: fixed;
  z-index: 5;
}

.dialog .card {
  margin: var(--space-6) auto;
  max-width: 520px;
}

.editor {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  height: 280px;
  margin-bottom: var(--space-4);
  overflow: auto;
  width: 100%;
}

.status {
  font-weight: 650;
}

.login {
  margin: var(--space-6) auto;
  max-width: 420px;
}

@media (max-width: 1023px) {
  .save-bar {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    bottom: 0;
    display: flex;
    margin: 0 calc(var(--space-4) * -1);
    padding: var(--space-3) var(--space-4);
    position: sticky;
    z-index: 2;
  }

  .primary-save {
    display: none;
  }

  table.stack thead {
    display: none;
  }

  table.stack,
  table.stack tbody,
  table.stack tr,
  table.stack td {
    display: block;
    width: 100%;
  }

  table.stack tr {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    margin-bottom: var(--space-3);
    padding: var(--space-3);
  }

  table.stack td {
    display: flex;
    gap: var(--space-3);
    justify-content: space-between;
    padding: var(--space-2) 0;
  }

  table.stack td::before {
    color: var(--color-text-muted);
    content: attr(data-label);
    flex: 1 1 auto;
    min-width: 0;
  }
}

@media (max-width: 719px) {
  .shell {
    overflow-x: hidden;
  }

  #nav-collapse {
    display: none;
  }

  .search {
    display: none;
    flex-basis: 100%;
  }

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

  .topbar.is-searching {
    flex-wrap: wrap;
  }

  .topbar.is-searching .search {
    display: flex;
  }
}

@media (min-width: 720px) {
  .shell {
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr;
    grid-template-rows: auto 1fr;
  }

  .sidebar {
    border-bottom: 0;
    box-shadow: none;
    grid-row: 1 / span 2;
    align-self: start;
    height: 100vh;
    height: 100dvh;
    position: sticky;
    top: 0;
    transform: none;
    width: auto;
  }

  .nav-open,
  .nav-close,
  .search-open {
    display: none;
  }

  .nav-label,
  .nav-list {
    display: block;
  }

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

  .form-grid .wide {
    grid-column: 1 / -1;
  }

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

  .grid.stats {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .shell.is-collapsed {
    grid-template-columns: 64px 1fr;
  }

  .shell.is-collapsed .nav-label,
  .shell.is-collapsed .brand span,
  .shell.is-collapsed .nav-list span,
  .shell.is-collapsed .sidebar-user span,
  .shell.is-collapsed .lang-switch,
  .shell.is-collapsed .brand {
    display: none;
  }

  .shell.is-collapsed .brand-row {
    justify-content: center;
    padding: var(--space-3) 0 var(--space-2);
  }

  .shell.is-collapsed .nav-toggle .icon {
    transform: rotate(180deg);
  }
}

@media (min-width: 1024px) {
  :root {
    --touch-min: 36px;
  }

  .grid.stats {
    grid-template-columns: repeat(5, 1fr);
  }
}

.sidebar-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.sidebar-scroll::-webkit-scrollbar {
  display: none;
}

.sidebar-top {
  flex: none;
}

.brand-row {
  align-items: flex-start;
  display: flex;
  gap: var(--space-2);
  justify-content: space-between;
  padding: var(--space-3) var(--space-3) var(--space-2) 0;
}

.brand {
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-1);
  min-width: 0;
  padding-right: 0;
}

.brand-logo {
  display: block;
  max-height: 48px;
  max-width: 100%;
  object-fit: contain;
}

.brand-name {
  overflow-wrap: anywhere;
}

.brand.has-logo .brand-name {
  color: var(--color-text-muted);
  font-size: var(--font-small);
  font-weight: 500;
}

.nav-toggle {
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  flex: none;
  height: 32px;
  justify-content: center;
  min-height: 32px;
  padding: 0;
  transition: background-color 0.15s ease;
  width: 32px;
}

.nav-toggle:hover {
  background: var(--color-bg);
}

.nav-toggle .icon {
  opacity: 0.6;
  transition: transform 0.2s ease;
}

.login-brand {
  display: grid;
  gap: var(--space-2);
  justify-items: start;
}

.login-logo {
  max-height: 64px;
  max-width: 240px;
  object-fit: contain;
}

.logo-preview img {
  background: var(--color-bg);
  border-radius: var(--radius-card);
  max-height: 64px;
  max-width: 240px;
  object-fit: contain;
  padding: var(--space-2);
}

.sidebar-user {
  border-top: 1px solid var(--color-border);
  margin-top: auto;
  padding: var(--space-2);
}

.sidebar-user summary {
  align-items: center;
  display: flex;
  gap: var(--space-2);
  min-height: var(--touch-min);
}

.lang-switch {
  padding: 0 var(--space-3) var(--space-2);
}

.narrow {
  max-width: 480px;
}

.narrow .split,
.narrow .form-grid {
  grid-template-columns: 1fr;
}

.mono {
  font-family: var(--font-mono);
  font-size: var(--font-table);
}

.status {
  align-items: center;
  display: inline-flex;
  font-weight: 450;
  gap: var(--space-2);
}

.dot {
  background: var(--color-text);
  border-radius: 50%;
  height: 8px;
  width: 8px;
}

.dot.is-hollow {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--color-text);
}

.icon-button {
  background: transparent;
  border-color: transparent;
  color: var(--color-text);
  min-width: var(--touch-min);
  padding: 0;
}

.segment {
  display: inline-flex;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
}

.segment a {
  border: 1px solid var(--color-border);
  border-radius: 999px;
  min-height: var(--touch-min);
  padding: var(--space-2) var(--space-3);
  text-decoration: none;
}

.segment a[aria-current="page"] {
  background: var(--color-bg);
  font-weight: 650;
}

.spark {
  display: block;
  height: 28px;
  width: 96px;
}

.spark polyline {
  fill: none;
  stroke: var(--color-text);
  stroke-width: 1.5;
}

.bar-row,
.budget-line {
  align-items: center;
  display: grid;
  gap: var(--space-2);
  grid-template-columns: 88px 1fr auto;
  margin-bottom: var(--space-2);
}

.bar,
.budget-track {
  background: var(--color-bg);
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}

.bar span,
.budget-track span {
  background: var(--color-text);
  display: block;
  height: 100%;
}

label.field input[type="checkbox"],
label.check input[type="checkbox"] {
  appearance: none;
  background:
    radial-gradient(circle at 10px 50%, #fff 0 7px, transparent 7.5px),
    #d4d4d8;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  flex: none;
  height: 20px;
  margin: 0;
  min-height: 20px;
  padding: 0;
  transition: background-color 0.15s ease;
  width: 34px;
}

label.field input[type="checkbox"]:hover,
label.check input[type="checkbox"]:hover {
  background-color: #c4c4c9;
}

label.field input[type="checkbox"]:checked,
label.check input[type="checkbox"]:checked {
  background:
    radial-gradient(circle at 24px 50%, #fff 0 7px, transparent 7.5px),
    #2f6feb;
}

label.field input[type="checkbox"]:focus-visible,
label.check input[type="checkbox"]:focus-visible {
  outline: 2px solid #2f6feb;
  outline-offset: 2px;
}

label.check {
  align-items: center;
  display: inline-flex;
  gap: var(--space-2);
}

.filters {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.filters input {
  max-width: 280px;
}

button.danger {
  background: var(--color-surface, #fff);
  border-color: #fecdca;
  color: #b42318;
}

button.danger:hover {
  background: #fef3f2;
}

.report {
  background: var(--color-success-bg, #ecfdf3);
  border: 1px solid var(--color-success-border, #abefc6);
  border-radius: var(--radius-card);
  color: var(--color-success-text, #067647);
  margin: 0 0 var(--space-4);
  padding: var(--space-3) var(--space-4);
}
