/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --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-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@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, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    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 {
    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;
@import url('https://fonts.bunny.net/css?family=plus-jakarta-sans:400,500,600,700,800|inter:400,500,600,700&display=swap');
:root {
  --color-primary: #E8590C;
  --color-primary-hover: #CF4C06;
  --color-primary-active: #B84305;
  --color-primary-text: #B84305;
  --color-primary-tint: #FFF1E8;
  --color-primary-tint-2: #FDDCC6;
  --color-primary-tint-3: #FBC3A0;
  --color-on-primary: #FFFFFF;
  --color-secondary: #111214;
  --color-secondary-hover: #2A2C31;
  --color-on-secondary: #FFFFFF;
  --color-tertiary: #5B4BC4;
  --color-tertiary-tint: #EFECFC;
  --color-on-tertiary: #FFFFFF;
  --color-bg-app: #E9EAEE;
  --color-surface: #FFFFFF;
  --color-surface-muted: #F7F7F9;
  --color-surface-sunken: #F1F2F5;
  --color-border: #E6E7EB;
  --color-border-strong: #D2D4DA;
  --color-text: #15171A;
  --color-text-secondary: #4B5058;
  --color-text-muted: #6B7079;
  --color-text-disabled: #A3A7B0;
  --color-text-inverse: #FFFFFF;
  --color-success: #178A4B;
  --color-success-tint: #E3F6EB;
  --color-warning: #A8680A;
  --color-warning-tint: #FFF3D6;
  --color-error: #C7312B;
  --color-error-tint: #FDE7E5;
  --color-info: #1F65C9;
  --color-info-tint: #E5EEFC;
  --sidebar-bg: #FFFFFF;
  --sidebar-text: #3C4047;
  --sidebar-text-muted: #8A8F98;
  --sidebar-item-hover-bg: #F4F5F7;
  --sidebar-item-active-bg: #FFFFFF;
  --sidebar-item-active-text: #15171A;
  --sidebar-item-active-indicator: #E8590C;
  --sidebar-border: #E6E7EB;
  --navbar-bg: #FFFFFF;
  --navbar-text: #15171A;
  --navbar-border: #E6E7EB;
  --navbar-search-bg: #F7F7F9;
  --modal-bg: #FFFFFF;
  --modal-overlay: rgba(17, 18, 20, 0.45);
  --drawer-bg: #FFFFFF;
  --agent-bg: #F6F3FF;
  --agent-border: #DDD6F8;
  --agent-text: #2D2470;
  --table-header-bg: #F7F7F9;
  --table-row-hover-bg: #FFF8F3;
  --tooltip-bg: #111214;
  --tooltip-text: #FFFFFF;
  --font-heading: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-size-xs: 11px;
  --font-size-sm: 12.5px;
  --font-size-base: 14px;
  --font-size-md: 15px;
  --font-size-lg: 18px;
  --font-size-xl: 24px;
  --font-size-2xl: 30px;
  --font-size-kpi: 28px;
  --spacing-page: 24px;
  --spacing-section: 20px;
  --spacing-card: 20px;
  --spacing-card-sm: 14px;
  --gap-xs: 6px;
  --gap-sm: 10px;
  --gap-md: 16px;
  --gap-lg: 24px;
  --app-frame-gap: 16px;
  --height-navbar: 68px;
  --width-sidebar: 248px;
  --width-sidebar-collapsed: 76px;
  --width-drawer: 440px;
  --width-agent-panel: 420px;
  --height-control: 38px;
  --height-control-sm: 32px;
  --pad-control-x: 14px;
  --pad-control-x-sm: 10px;
  --pad-cell-y: 12px;
  --pad-cell-x: 14px;
  --pad-badge-y: 3px;
  --pad-badge-x: 8px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(17, 18, 20, 0.05);
  --shadow-md: 0 4px 14px rgba(17, 18, 20, 0.08);
  --shadow-lg: 0 18px 48px rgba(17, 18, 20, 0.16);
  --transition-fast: 120ms ease;
  --transition-normal: 220ms ease;
  --transition-slow: 380ms ease;
  --chart-1: #E8590C;
  --chart-2: #F59A62;
  --chart-3: #FBC9A8;
  --chart-4: #23262B;
  --chart-5: #5B4BC4;
  --chart-6: #1A9E8F;
  --chart-grid: #ECEDF0;
  --chart-axis-text: #6B7079;
}
@layer base {
  html {
    font-size: 14px;
  }
  body {
    background: var(--color-bg-app);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
  }
  h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
  }
  h1 {
    font-size: var(--font-size-xl);
  }
  h2 {
    font-size: var(--font-size-lg);
  }
  h3 {
    font-size: var(--font-size-md);
  }
  a {
    color: inherit;
    text-decoration: none;
  }
  ::selection {
    background: var(--color-primary-tint-2);
  }
  *::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }
  *::-webkit-scrollbar-track {
    background: transparent;
  }
  *::-webkit-scrollbar-thumb {
    background: var(--color-border-strong);
    border-radius: var(--radius-pill);
  }
  *::-webkit-scrollbar-thumb:hover {
    background: var(--color-text-disabled);
  }
  :focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
}
@layer components {
  .card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
  }
  .card-raised {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
  }
  .card-muted {
    background: var(--color-surface-muted);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
  }
  .card-interactive {
    cursor: pointer;
    transition: box-shadow var(--transition-normal), border-color var(--transition-normal);
  }
  .card-interactive:hover {
    border-color: var(--color-primary-tint-3);
    box-shadow: var(--shadow-md);
  }
  .card-agent {
    background: var(--agent-bg);
    border: 1px solid var(--agent-border);
    border-radius: var(--radius-lg);
    color: var(--agent-text);
  }
  .divider {
    border-top: 1px solid var(--color-border);
  }
  .text-title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text);
  }
  .text-muted {
    color: var(--color-text-muted);
  }
  .text-secondary {
    color: var(--color-text-secondary);
  }
  .text-eyebrow {
    color: var(--color-text-muted);
    font-size: var(--font-size-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .kpi-value {
    font-family: var(--font-heading);
    font-size: var(--font-size-kpi);
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
    line-height: 1.1;
  }
  .num {
    font-variant-numeric: tabular-nums;
  }
  .link {
    color: var(--color-primary-text);
    font-weight: 600;
    cursor: pointer;
    transition: color var(--transition-fast);
  }
  .link:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
  }
  .btn {
    height: var(--height-control);
    padding: 0 var(--pad-control-x);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
  }
  .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
  .btn-primary {
    background: var(--color-primary);
    color: var(--color-on-primary);
  }
  .btn-primary:hover:not(:disabled) {
    background: var(--color-primary-hover);
  }
  .btn-primary:active:not(:disabled) {
    background: var(--color-primary-active);
  }
  .btn-dark {
    background: var(--color-secondary);
    color: var(--color-on-secondary);
  }
  .btn-dark:hover:not(:disabled) {
    background: var(--color-secondary-hover);
  }
  .btn-outline {
    background: var(--color-surface);
    color: var(--color-text);
    border-color: var(--color-border-strong);
  }
  .btn-outline:hover:not(:disabled) {
    background: var(--color-surface-muted);
    border-color: var(--color-text-disabled);
  }
  .btn-ghost {
    background: transparent;
    color: var(--color-text-secondary);
  }
  .btn-ghost:hover:not(:disabled) {
    background: var(--color-surface-sunken);
    color: var(--color-text);
  }
  .btn-soft {
    background: var(--color-primary-tint);
    color: var(--color-primary-text);
  }
  .btn-soft:hover:not(:disabled) {
    background: var(--color-primary-tint-2);
  }
  .btn-agent {
    background: var(--color-tertiary);
    color: var(--color-on-tertiary);
  }
  .btn-agent:hover:not(:disabled) {
    background: var(--agent-text);
  }
  .btn-danger {
    background: var(--color-error);
    color: var(--color-text-inverse);
  }
  .btn-danger:hover:not(:disabled) {
    background: var(--color-error);
    filter: brightness(0.92);
  }
  .btn-sm {
    height: var(--height-control-sm);
    padding: 0 var(--pad-control-x-sm);
    font-size: var(--font-size-sm);
    border-radius: var(--radius-sm);
  }
  .btn-icon {
    width: var(--height-control);
    height: var(--height-control);
    padding: 0;
    border-radius: var(--radius-md);
  }
  .label {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-text-secondary);
  }
  .hint {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
  }
  .input, .textarea, .select {
    width: 100%;
    height: var(--height-control);
    padding: 0 var(--pad-control-x);
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  }
  .input::placeholder, .textarea::placeholder {
    color: var(--color-text-disabled);
  }
  .input:focus, .textarea:focus, .select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-tint-2);
  }
  .input:disabled, .textarea:disabled, .select:disabled {
    background: var(--color-surface-sunken);
    color: var(--color-text-disabled);
    cursor: not-allowed;
  }
  .input-error {
    border-color: var(--color-error);
  }
  .input-sm, .select-sm {
    height: var(--height-control-sm);
    font-size: var(--font-size-sm);
  }
  .textarea {
    height: auto;
    padding: 10px var(--pad-control-x);
    line-height: 1.5;
    resize: vertical;
  }
  .select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 36px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7079' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
  }
  .checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 1.5px solid var(--color-border-strong);
    border-radius: 4px;
    background: var(--color-surface);
    cursor: pointer;
    vertical-align: middle;
    transition: background var(--transition-fast), border-color var(--transition-fast);
  }
  .checkbox:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
  }
  .toggle {
    appearance: none;
    -webkit-appearance: none;
    width: 36px;
    height: 20px;
    border-radius: var(--radius-pill);
    background: var(--color-border-strong);
    position: relative;
    cursor: pointer;
    transition: background var(--transition-fast);
  }
  .toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast);
  }
  .toggle:checked {
    background: var(--color-success);
  }
  .toggle:checked::after {
    transform: translateX(16px);
  }
  .range {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: var(--radius-pill);
    background: var(--color-primary-tint-2);
    cursor: pointer;
  }
  .range::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-primary);
    border: 3px solid var(--color-surface);
    box-shadow: var(--shadow-md);
  }
  .range::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-primary);
    border: 3px solid var(--color-surface);
    box-shadow: var(--shadow-md);
  }
  .chip {
    height: var(--height-control-sm);
    padding: 0 12px;
    border-radius: var(--radius-pill);
    background: var(--color-surface);
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border-strong);
    font-size: var(--font-size-sm);
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
  }
  .chip:hover {
    border-color: var(--color-primary-tint-3);
    background: var(--color-primary-tint);
  }
  .chip-active {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-on-secondary);
  }
  .chip-active:hover {
    background: var(--color-secondary-hover);
    border-color: var(--color-secondary-hover);
  }
  .tab {
    padding: 10px 14px;
    color: var(--color-text-muted);
    font-weight: 600;
    font-size: var(--font-size-base);
    border-bottom: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: color var(--transition-fast), border-color var(--transition-fast);
  }
  .tab:hover {
    color: var(--color-text);
  }
  .tab-active {
    color: var(--color-primary-text);
    border-bottom-color: var(--color-primary);
  }
  .tab-list {
    border-bottom: 1px solid var(--color-border);
  }
  .segmented {
    background: var(--color-surface-sunken);
    border-radius: var(--radius-md);
  }
  .segmented-item {
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
  }
  .segmented-item-active {
    background: var(--color-surface);
    color: var(--color-text);
    box-shadow: var(--shadow-sm);
  }
  .badge {
    padding: var(--pad-badge-y) var(--pad-badge-x);
    border-radius: var(--radius-pill);
    font-size: var(--font-size-xs);
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    background: var(--color-surface-sunken);
    color: var(--color-text-secondary);
  }
  .badge-success {
    background: var(--color-success-tint);
    color: var(--color-success);
  }
  .badge-warning {
    background: var(--color-warning-tint);
    color: var(--color-warning);
  }
  .badge-error {
    background: var(--color-error-tint);
    color: var(--color-error);
  }
  .badge-info {
    background: var(--color-info-tint);
    color: var(--color-info);
  }
  .badge-primary {
    background: var(--color-primary-tint);
    color: var(--color-primary-text);
  }
  .badge-agent {
    background: var(--color-tertiary-tint);
    color: var(--color-tertiary);
  }
  .badge-neutral {
    background: var(--color-surface-sunken);
    color: var(--color-text-secondary);
  }
  .delta-up {
    background: var(--color-success-tint);
    color: var(--color-success);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 600;
  }
  .delta-down {
    background: var(--color-error-tint);
    color: var(--color-error);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 600;
  }
  .delta-flat {
    background: var(--color-surface-sunken);
    color: var(--color-text-muted);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 600;
  }
  .dot-success {
    background: var(--color-success);
    border-radius: 50%;
  }
  .dot-warning {
    background: var(--color-warning);
    border-radius: 50%;
  }
  .dot-error {
    background: var(--color-error);
    border-radius: 50%;
  }
  .dot-muted {
    background: var(--color-text-disabled);
    border-radius: 50%;
  }
  .dot-primary {
    background: var(--color-primary);
    border-radius: 50%;
  }
  .progress {
    background: var(--color-primary-tint-2);
    border-radius: var(--radius-pill);
    overflow: hidden;
  }
  .progress-bar {
    background: var(--color-primary);
    border-radius: var(--radius-pill);
    transition: width var(--transition-slow);
  }
  .progress-bar-success {
    background: var(--color-success);
  }
  .progress-bar-warning {
    background: var(--color-warning);
  }
  .progress-bar-error {
    background: var(--color-error);
  }
  .table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: var(--font-size-base);
    color: var(--color-text);
  }
  .table thead th {
    background: var(--table-header-bg);
    color: var(--color-text-muted);
    font-size: var(--font-size-xs);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: left;
    padding: 10px var(--pad-cell-x);
    border-bottom: 1px solid var(--color-border);
    white-space: nowrap;
  }
  .table thead th.sortable {
    cursor: pointer;
    user-select: none;
  }
  .table thead th.sortable:hover {
    color: var(--color-text);
  }
  .table tbody td {
    padding: var(--pad-cell-y) var(--pad-cell-x);
    border-bottom: 1px solid var(--color-border);
    vertical-align: middle;
  }
  .table tbody tr {
    transition: background var(--transition-fast);
  }
  .table tbody tr:hover {
    background: var(--table-row-hover-bg);
  }
  .table tbody tr.clickable {
    cursor: pointer;
  }
  .table tbody tr:last-child td {
    border-bottom: none;
  }
  .table .num-cell {
    text-align: right;
    font-variant-numeric: tabular-nums;
  }
  .table-wrap {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    overflow: hidden;
  }
  .avatar {
    border-radius: 50%;
    background: var(--color-primary-tint-2);
    color: var(--color-primary-text);
    font-weight: 700;
    font-size: var(--font-size-xs);
    border: 2px solid var(--color-surface);
    object-fit: cover;
  }
  .icon-tile {
    background: var(--color-primary-tint);
    color: var(--color-primary-text);
    border-radius: var(--radius-md);
  }
  .icon-tile-agent {
    background: var(--color-tertiary-tint);
    color: var(--color-tertiary);
    border-radius: var(--radius-md);
  }
  .alert {
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    font-size: var(--font-size-base);
  }
  .alert-warning {
    background: var(--color-warning-tint);
    border-color: var(--color-warning);
    color: var(--color-warning);
  }
  .alert-error {
    background: var(--color-error-tint);
    border-color: var(--color-error);
    color: var(--color-error);
  }
  .alert-success {
    background: var(--color-success-tint);
    border-color: var(--color-success);
    color: var(--color-success);
  }
  .alert-info {
    background: var(--color-info-tint);
    border-color: var(--color-info);
    color: var(--color-info);
  }
  .skeleton {
    background: linear-gradient(90deg, var(--color-surface-sunken) 25%, var(--color-border) 50%, var(--color-surface-sunken) 75%);
    background-size: 200% 100%;
    border-radius: var(--radius-sm);
    animation: skeleton-shimmer 1.4s infinite linear;
  }
  .skeleton-text {
    height: 12px;
  }
  .skeleton-block {
    height: 120px;
    border-radius: var(--radius-md);
  }
  .empty-state {
    color: var(--color-text-muted);
    border: 1px dashed var(--color-border-strong);
    border-radius: var(--radius-lg);
    background: var(--color-surface-muted);
    text-align: center;
  }
  .tooltip {
    background: var(--tooltip-bg);
    color: var(--tooltip-text);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    box-shadow: var(--shadow-md);
  }
  .kbd {
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-sm);
    background: var(--color-surface);
    color: var(--color-text-muted);
    font-size: var(--font-size-xs);
    font-weight: 600;
    padding: 1px 6px;
  }
  .msg-user {
    background: var(--color-secondary);
    color: var(--color-on-secondary);
    border-radius: var(--radius-lg) var(--radius-lg) 4px var(--radius-lg);
  }
  .msg-agent {
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 4px;
  }
  .step-done {
    color: var(--color-success);
  }
  .step-active {
    color: var(--color-tertiary);
  }
  .action-proposal {
    background: var(--color-surface);
    border: 1px solid var(--agent-border);
    border-left: 4px solid var(--color-tertiary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
  }
  .chart-box {
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
  }
  .legend-swatch {
    border-radius: 3px;
  }
  @keyframes skeleton-shimmer {
    0% {
      background-position: 200% 0;
    }
    100% {
      background-position: -200% 0;
    }
  }
}
