/* EASTO Radar — Recruit-style dashboard shell on @ecec/design-system product-shell. */

.login-note {
  margin: 0;
  font-size: var(--font-size-sm);
  color: var(--color-fg-muted);
}

/* ---- Recruiter dashboard shell (from Recruit globals) ---- */
.dashboard-root {
  --dashboard-sidebar-width: calc(var(--space-24) * 3);
  position: relative;
  z-index: var(--z-base);
  min-height: 100dvh;
  background: var(--color-bg-subtle);
}

.dashboard-sidebar {
  position: fixed;
  inset-block: 0;
  inset-inline-start: 0;
  z-index: var(--z-sticky);
  width: var(--dashboard-sidebar-width);
  display: flex;
  flex-direction: column;
  padding: var(--space-4);
  color: var(--color-fg-default);
  background: var(--color-bg-default);
  border-inline-end: 1px solid var(--color-border);
}

.dashboard-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: var(--space-16);
  padding: var(--space-2);
  border-bottom: 1px solid var(--surface-hairline);
}

.dashboard-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 4.5rem;
  background: transparent;
  color: var(--color-accent-strong);
}

/* Match Recruit: fill mark width; portrait asset grows taller than 56px */
.dashboard-brand-mark img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.dashboard-brand-name,
.dashboard-brand-subtitle,
.dashboard-topbar-copy p,
.dashboard-topbar-copy span {
  margin: 0;
}

.dashboard-brand-name {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
}

.dashboard-brand-subtitle {
  font-size: var(--font-size-xs);
  color: var(--color-fg-muted);
}

.dashboard-sidebar-close,
.dashboard-menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: var(--space-12);
  height: var(--space-12);
  border: 0;
  border-radius: var(--radius-md);
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.dashboard-sidebar-close {
  margin-inline-start: auto;
}

.dashboard-sidebar-close svg,
.dashboard-menu-button svg,
.dashboard-nav-link svg {
  width: var(--space-6);
  height: var(--space-6);
  flex: 0 0 auto;
}

.dashboard-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding-block: var(--space-6);
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.dashboard-nav-section {
  margin: var(--space-4) var(--space-3) var(--space-1);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-fg-muted);
}

.dashboard-nav-section:first-child {
  margin-top: 0;
}

.dashboard-nav-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: var(--space-12);
  padding: var(--space-3);
  border: 0;
  border-radius: var(--radius-md);
  border-inline-start: 3px solid transparent;
  color: var(--color-fg-muted);
  background: transparent;
  font: inherit;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  text-align: start;
  text-decoration: none;
  cursor: pointer;
  width: 100%;
  transition:
    color var(--motion-duration-fast) var(--motion-ease-standard),
    background var(--motion-duration-fast) var(--motion-ease-standard);
}

.dashboard-nav-link .nav-soon {
  font-style: normal;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-fg-muted);
}

.dashboard-nav-link:hover,
.dashboard-nav-link:focus-visible {
  color: var(--color-accent-strong);
  background: var(--color-bg-subtle);
  outline: none;
}

.dashboard-nav-link.is-active {
  color: var(--color-accent-strong);
  background: var(--color-accent-subtle);
  border-inline-start-color: var(--color-accent);
}

.dashboard-nav-link.is-disabled {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

.dashboard-sidebar-footer {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--surface-hairline);
}

.dashboard-main {
  min-height: 100dvh;
  margin-inline-start: var(--dashboard-sidebar-width);
}

.dashboard-topbar {
  position: sticky;
  inset-block-start: 0;
  z-index: var(--z-sticky);
  min-height: var(--space-16);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding-inline: var(--space-8);
  border-bottom: 1px solid var(--color-border);
  background: color-mix(in srgb, var(--color-bg-raised) 92%, transparent);
  backdrop-filter: blur(var(--space-3));
}

.dashboard-topbar-copy {
  display: flex;
  flex-direction: column;
}

.dashboard-topbar-copy p {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
}

.dashboard-topbar-copy span {
  font-size: var(--font-size-xs);
  color: var(--color-fg-muted);
}

.dashboard-topbar .locale-switcher {
  margin-inline-start: auto;
  flex-shrink: 0;
}

.dashboard-content {
  width: 100%;
  max-width: calc(var(--space-24) * 14);
  margin-inline: auto;
  padding: var(--space-8);
}

.dashboard-content--wide {
  max-width: calc(var(--space-24) * 20);
}

.dashboard-page {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  animation: dashboard-enter var(--motion-duration-base) var(--motion-ease-emphasized) both;
}

.dashboard-page-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}

.dashboard-title {
  margin: 0;
  font-size: clamp(var(--font-size-xl), 3vw, var(--font-size-2xl));
  line-height: var(--line-height-tight);
  color: var(--color-fg-default);
}

.dashboard-lead {
  margin: var(--space-2) 0 0;
  color: var(--color-fg-muted);
  max-width: calc(var(--space-24) * 7);
}

.dashboard-scrim[hidden] {
  display: none;
}

@media (max-width: 56rem) {
  .dashboard-sidebar {
    z-index: var(--z-modal);
    transform: translateX(-100%);
    transition: transform var(--motion-duration-base) var(--motion-ease-emphasized);
  }

  [dir="rtl"] .dashboard-sidebar {
    transform: translateX(100%);
  }

  .dashboard-sidebar.is-open {
    transform: translateX(0);
  }

  .dashboard-main {
    margin-inline-start: 0;
  }

  .dashboard-menu-button,
  .dashboard-sidebar-close {
    display: inline-flex;
  }

  .dashboard-scrim:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: var(--z-overlay);
    display: block;
    border: 0;
    background: color-mix(in srgb, var(--color-fg-default) 45%, transparent);
  }

  .dashboard-content,
  .dashboard-topbar {
    padding-inline: var(--space-4);
  }
}

/* ---- Radar widgets ---- */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: var(--space-3);
}

.kpi-tile {
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-bg-raised);
  box-shadow: var(--shadow-1);
}

.kpi-tile strong {
  display: block;
  font-size: clamp(var(--font-size-2xl), 4vw, var(--font-size-3xl));
  line-height: var(--line-height-tight);
  color: var(--color-accent-strong);
}

.kpi-tile--positive strong {
  color: #16a34a;
}

.kpi-tile--negative strong {
  color: #dc2626;
}

.kpi-tile--review strong {
  color: #ea580c;
}

.kpi-tile--closed strong {
  color: #64748b;
}

.kpi-tile span {
  display: block;
  margin-top: var(--space-1);
  font-size: var(--font-size-sm);
  color: var(--color-fg-muted);
}

.kpi-grid--overview {
  margin-block: var(--space-5) var(--space-4);
  padding-block-start: var(--space-5);
  border-block-start: 1px solid var(--surface-hairline);
}

/* ---- Overview filters (global + per-chart) ---- */
.overview-filters.dashboard-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.overview-filters-title {
  margin: 0;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
}

.overview-filters-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-4);
}

.overview-filters-grid--global {
  align-items: flex-end;
}

.overview-filters-grid--global > .observe-field {
  flex: 1 1 8.5rem;
  min-width: 7.5rem;
  max-width: 12rem;
}

.overview-filters-grid--global > .observe-field:has(select[name="platform"]),
.overview-filters-grid--global > .observe-field:has(select[name="market"]) {
  flex: 1.2 1 9rem;
  max-width: none;
}

.overview-filters-grid--global > .overview-field--presets {
  flex: 0 1 auto;
  min-width: 10.5rem;
  max-width: 13.5rem;
}

.overview-field--presets .overview-preset-group {
  width: 100%;
  box-sizing: border-box;
  justify-content: stretch;
}

.overview-field--presets .overview-preset {
  flex: 1 1 0;
  min-width: 0;
  padding-inline: var(--space-2);
}

.overview-filters .observe-field > span,
.overview-chart-filter-field > span {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-fg-muted);
}

.overview-filters .observe-field input,
.overview-filters .observe-field select,
.overview-chart-filter-field select {
  width: 100%;
  box-sizing: border-box;
  min-height: var(--space-12);
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-default);
  color: var(--color-fg-default);
  font: inherit;
  font-size: var(--font-size-sm);
  transition:
    border-color var(--motion-duration-fast) var(--motion-ease-standard),
    box-shadow var(--motion-duration-fast) var(--motion-ease-standard);
}

.overview-filters .observe-field select,
.overview-chart-filter-field select {
  appearance: none;
  padding-inline-end: var(--space-10);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - var(--space-3)) center;
  background-size: var(--space-4);
  cursor: pointer;
}

:dir(rtl) .overview-filters .observe-field select,
:dir(rtl) .overview-chart-filter-field select {
  background-position: var(--space-3) center;
}

.overview-filters .observe-field input:focus-visible,
.overview-filters .observe-field select:focus-visible,
.overview-chart-filter-field select:focus-visible {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent) 22%, transparent);
}

.overview-preset-group {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: var(--space-1);
  padding: var(--space-1);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-subtle);
  width: fit-content;
  max-width: 100%;
}

.overview-preset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--space-10);
  min-width: var(--space-14);
  padding: var(--space-1) var(--space-4);
  border: 0;
  border-radius: calc(var(--radius-md) - var(--space-1));
  background: transparent;
  color: var(--color-fg-muted);
  font: inherit;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition:
    background var(--motion-duration-fast) var(--motion-ease-standard),
    color var(--motion-duration-fast) var(--motion-ease-standard),
    box-shadow var(--motion-duration-fast) var(--motion-ease-standard);
}

.overview-preset:hover {
  color: var(--color-fg-default);
  background: color-mix(in srgb, var(--color-bg-default) 85%, transparent);
}

.overview-preset:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--color-accent);
}

@media (max-width: 36rem) {
  .overview-filters-grid--global > .observe-field,
  .overview-filters-grid--global > .overview-field--presets {
    flex: 1 1 100%;
    max-width: none;
  }
}

.overview-preset.is-active {
  background: var(--color-bg-default);
  color: var(--color-accent-strong);
  font-weight: var(--font-weight-semibold);
  box-shadow: var(--shadow-1);
}

.overview-chart-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--surface-hairline);
}

.overview-chart-heading {
  margin: 0;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-fg-default);
}

.overview-chart-filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-2);
}

.overview-chart-filter {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--space-10);
  padding: var(--space-1) var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-bg-default);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-fg-muted);
  cursor: pointer;
  user-select: none;
  transition:
    border-color var(--motion-duration-fast) var(--motion-ease-standard),
    background var(--motion-duration-fast) var(--motion-ease-standard),
    color var(--motion-duration-fast) var(--motion-ease-standard);
}

.overview-chart-filter:has(input:checked) {
  border-color: color-mix(in srgb, var(--color-accent) 55%, var(--color-border));
  background: var(--color-accent-subtle);
  color: var(--color-accent-strong);
}

.overview-chart-filter:has(input:focus-visible) {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent) 22%, transparent);
}

.overview-chart-filter input {
  width: var(--space-4);
  height: var(--space-4);
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--color-accent);
  cursor: pointer;
}

.overview-chart-filter-field {
  margin: 0;
  min-width: 6.5rem;
}

.overview-chart-card > .overview-chart-heading {
  margin-bottom: var(--space-2);
}

.overview-chart-note {
  margin: 0 0 var(--space-2);
  font-size: var(--font-size-xs);
  color: var(--color-fg-muted);
}

.overview-chart-card--country.is-market-filter-active,
.overview-chart-card--platform.is-platform-filter-active {
  box-shadow:
    var(--shadow-1),
    inset 0 0 0 2px color-mix(in srgb, var(--color-accent) 35%, transparent);
}

.overview-chart-card--country .overview-chart-wrap,
.overview-chart-card--platform .overview-chart-wrap {
  cursor: pointer;
}

.overview-charts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.overview-chart-card--wide {
  grid-column: 1 / -1;
}

.overview-chart-card.dashboard-panel {
  padding: var(--space-3) var(--space-4) var(--space-4);
}

.overview-chart-wrap {
  position: relative;
  width: 100%;
  min-height: 17.5rem;
  height: min(22rem, 48vw);
}

.overview-chart-wrap--compact {
  min-height: 14rem;
  height: min(18rem, 40vw);
}

.overview-charts-hint {
  margin-top: var(--space-3);
  margin-bottom: 0;
}

@media (max-width: 48rem) {
  .overview-charts-grid {
    grid-template-columns: 1fr;
  }

  .overview-chart-card--wide {
    grid-column: auto;
  }
}

.sentiment-pill {
  display: inline-block;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
}

.sentiment-pill--positive {
  background: color-mix(in srgb, var(--color-success) 18%, var(--color-bg-raised));
  color: var(--color-success);
}

.sentiment-pill--negative {
  background: color-mix(in srgb, var(--color-danger) 15%, var(--color-bg-raised));
  color: var(--color-danger);
}

.sentiment-pill--neutral {
  background: color-mix(in srgb, var(--color-fg-muted) 14%, var(--color-bg-raised));
  color: var(--color-fg-muted);
}

.sentiment-pill--inquiry {
  background: var(--color-accent-subtle);
  color: var(--color-accent-strong);
}

.overview-chart-filters-split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-3);
}

.overview-chart-filter-sublabel {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-fg-muted);
  margin-inline-end: var(--space-1);
}

.overview-chart-toolbar--split .overview-chart-filter-group {
  flex-wrap: nowrap;
}

@media (max-width: 40rem) {
  .overview-chart-toolbar--split {
    flex-direction: column;
    align-items: stretch;
  }

  .overview-chart-filters-split {
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
  }
}

.status-pill--legal {
  background: color-mix(in srgb, var(--color-danger) 12%, var(--color-bg-raised));
  color: var(--color-danger);
}

.status-pill--sent {
  background: color-mix(in srgb, var(--color-success) 15%, var(--color-bg-raised));
  color: var(--color-success);
}

/* Mentions workflow columns — Recruit phase-pill pattern (single line, compact) */
.mentions-table th,
.mentions-table td {
  vertical-align: middle;
}

.mentions-table thead th {
  background: var(--color-bg-subtle);
  color: var(--color-fg-muted);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.02em;
  border-color: var(--color-border);
  border-bottom-width: 2px;
}

.mentions-table tbody tr:hover td {
  background: color-mix(in srgb, var(--color-accent) 4%, var(--color-bg-default));
}

.mentions-table td.mentions-cell--pill {
  width: 1%;
  white-space: nowrap;
}

.mentions-col-legal {
  min-width: 7rem;
  text-align: center;
}

.mentions-cell--legal-flag {
  text-align: center;
  vertical-align: middle;
}

.mentions-legal-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: var(--radius-full, 999px);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  color: var(--color-success-fg, #fff);
  background: var(--color-success, #16a34a);
}

.mentions-legal-check--no {
  background: transparent;
  width: auto;
  height: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mentions-table .sentiment-pill,
.workflow-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  line-height: 1.25;
  white-space: nowrap;
  border: 1px solid transparent;
}

.workflow-pill--train {
  color: var(--color-fg-default);
  background: color-mix(in srgb, var(--color-warning) 12%, transparent);
  border-color: color-mix(in srgb, var(--color-warning) 28%, transparent);
}

.workflow-pill--dispatch {
  color: var(--color-accent-strong);
  background: color-mix(in srgb, var(--color-accent) 12%, transparent);
  border-color: color-mix(in srgb, var(--color-accent) 22%, transparent);
}

.workflow-pill--legal {
  color: var(--color-danger);
  background: color-mix(in srgb, var(--color-danger) 10%, transparent);
  border-color: color-mix(in srgb, var(--color-danger) 22%, transparent);
}

.workflow-pill--review {
  color: var(--color-fg-default);
  background: var(--color-bg-subtle);
  border-color: var(--color-border);
}

.workflow-pill--sent {
  color: var(--color-success);
  background: color-mix(in srgb, var(--color-success) 12%, transparent);
  border-color: color-mix(in srgb, var(--color-success) 24%, transparent);
}

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

.filter-bar a {
  display: inline-flex;
  align-items: center;
  min-height: var(--space-8);
  padding: var(--space-1) var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  color: var(--color-fg-muted);
  text-decoration: none;
}

.filter-bar a.is-active {
  border-color: var(--color-accent);
  background: var(--color-accent-subtle);
  color: var(--color-accent-strong);
  font-weight: var(--font-weight-semibold);
}

.table-scroll {
  overflow-x: auto;
  margin-top: var(--space-2);
}

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

/* ---- Users admin ---- */
.users-notice {
  margin: 0;
}

.users-add-panel h2,
.dashboard-panel h2 {
  margin: 0 0 var(--space-4);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
}

.users-admin-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.users-admin-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: var(--space-4);
}

.users-admin-form .observe-field select {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-default);
  color: var(--color-fg-default);
  padding: var(--space-2) var(--space-3);
  font: inherit;
  min-height: var(--space-12);
}

.users-checkbox {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--color-fg-default);
  cursor: pointer;
  width: fit-content;
}

.users-setup-hint {
  margin: 0 0 var(--space-3);
  max-width: 36rem;
}

.users-password-wrap {
  margin-bottom: var(--space-3);
}

.users-checkbox input {
  width: var(--space-4);
  height: var(--space-4);
  margin: 0;
  accent-color: var(--color-accent);
}

.users-invite-form {
  margin: 0;
}

.users-actions-cell {
  white-space: nowrap;
}

.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--space-10);
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-default);
  color: var(--color-fg-default);
  font: inherit;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
}

.button-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-strong);
}

/* ---- Mentions table row actions (Recruit pattern) ---- */
.screening-row-actions {
  display: flex;
  justify-content: flex-end;
  min-width: var(--space-8);
}

.mentions-table th:last-child,
.mentions-table td.mentions-row-actions-cell {
  width: 1%;
  white-space: nowrap;
  vertical-align: middle;
}

.table-row-actions-menu {
  display: inline-flex;
}

.table-row-actions-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--space-8);
  height: var(--space-8);
  min-width: var(--space-8);
  min-height: var(--space-8);
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-raised);
  color: var(--color-fg-muted);
  cursor: pointer;
  transition:
    color var(--motion-duration-fast) var(--motion-ease-standard),
    border-color var(--motion-duration-fast) var(--motion-ease-standard),
    background var(--motion-duration-fast) var(--motion-ease-standard);
}

.table-row-actions-trigger:hover,
.table-row-actions-trigger:focus-visible,
.table-row-actions-trigger[aria-expanded="true"] {
  color: var(--color-fg);
  border-color: var(--color-border-strong);
  background: var(--color-bg-subtle);
  outline: none;
}

.table-row-actions-ellipsis {
  display: block;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  line-height: 1;
  letter-spacing: 0.08em;
}

.table-row-actions-dropdown {
  position: fixed;
  z-index: var(--z-dropdown);
  min-width: 12rem;
  padding: var(--space-1);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  background: var(--color-bg-raised);
  box-shadow: var(--shadow-3);
}

.table-row-actions-dropdown.is-portal {
  margin: 0;
}

.table-row-actions-item {
  display: flex;
  width: 100%;
  align-items: center;
  padding: var(--space-2) var(--space-3);
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-fg);
  font: inherit;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  text-align: start;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.table-row-actions-item:hover,
.table-row-actions-item:focus-visible {
  background: var(--color-bg-subtle);
  outline: none;
}

.table-row-actions-item.is-danger {
  color: var(--color-danger);
}

.empty-state {
  margin: var(--space-2) 0 0;
  color: var(--color-fg-muted);
  font-size: var(--font-size-sm);
}