.hidden { display: none !important; }

.page-primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 24px;
  border: 1px solid var(--primary);
  border-radius: var(--pill);
  background: var(--primary);
  color: var(--surface);
  font-size: 14px;
  font-weight: 500;
  box-shadow: none;
  transition: all 0.2s ease;
}

.page-primary-action:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
}

.page-primary-action:active {
  transform: translateY(0);
}

.header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.header-btn:hover {
  border-color: var(--text-muted);
  background: var(--surface-muted);
  color: var(--text);
  transform: translateY(-1px);
}

.header-btn:active {
  transform: translateY(0);
}

.export-merged-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.export-merged-btn:hover {
  border-color: var(--primary);
  background: var(--surface-muted);
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.export-merged-btn:active {
  transform: translateY(0);
}

.table-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  background: var(--surface);
  color: var(--text-soft);
  transition: all 0.2s ease;
}

.table-action-icon:hover {
  border-color: var(--text-muted);
  background: var(--surface-muted);
  color: var(--text);
  transform: translateY(-1px);
}

.table-action-icon:active {
  transform: translateY(0);
}

.flash-msg {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--success-line);
  border-radius: var(--radius);
  background: var(--success-soft);
  color: var(--success);
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
}

.responsive-table {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line-strong) !important;
  border-radius: var(--radius-lg) !important;
  background: var(--surface) !important;
  box-shadow: none !important;
}

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

.responsive-table thead {
  background: var(--surface-subtle) !important;
  border-bottom: 1px solid var(--line-strong);
}

.responsive-table th {
  padding: 14px 20px;
  color: var(--text-soft) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.responsive-table td {
  padding: 16px 20px;
  color: var(--text-soft) !important;
  vertical-align: middle;
  font-size: 14px;
}

.responsive-table tr + tr td {
  border-top: 1px solid var(--line);
}

.responsive-table tbody tr {
  transition: background 0.2s ease;
}

.responsive-table tbody tr:hover {
  background: var(--surface-muted);
}

.table-action-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.table-action-group form {
  margin: 0;
}

.table-action-view {
  color: var(--text-soft);
}

.table-action-users {
  color: var(--text-soft);
}

.table-action-delete {
  color: var(--danger);
}

.table-action-view:hover {
  border-color: var(--line-strong);
  background: var(--surface-muted);
  color: var(--text);
}

.table-action-users:hover {
  border-color: var(--line-strong);
  background: var(--surface-muted);
  color: var(--primary, #2563eb);
}

.table-action-delete:hover {
  border-color: var(--danger-line);
  background: var(--danger-soft);
  color: var(--danger);
}

.admin-pagination {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-soft);
}

.admin-pagination a,
.admin-pagination span.rounded-md {
  display: inline-flex;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong) !important;
  border-radius: var(--pill) !important;
  background: var(--surface) !important;
  color: var(--text-soft) !important;
  padding: 0 16px !important;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.admin-pagination a:hover {
  border-color: var(--text-muted) !important;
  background: var(--surface-muted) !important;
  color: var(--text) !important;
  transform: translateY(-1px);
}

.deadline-indicator { display: flex; min-width: 0; align-items: center; gap: 10px; color: var(--text-soft); }
.deadline-ring { position: relative; width: 42px; height: 42px; flex: 0 0 42px; }
.deadline-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.deadline-ring circle { fill: none; stroke-width: 4; }
.deadline-ring-track { stroke: var(--surface-strong); }
.deadline-ring-value { stroke: var(--primary); stroke-dasharray: var(--deadline-progress) 100; stroke-linecap: round; }
.deadline-ring-percent { position: absolute; inset: 0; display: grid; place-items: center; font-size: 8px; font-weight: 800; }
.deadline-copy { min-width: 0; }
.deadline-remaining { color: var(--text); font-size: 12px; font-weight: 800; white-space: nowrap; }
.deadline-date { color: var(--text-muted); font-size: 10px; white-space: nowrap; }
.deadline-indicator--compact .deadline-ring { width: 34px; height: 34px; flex-basis: 34px; }
[data-deadline-state="overdue"] .deadline-ring-value { stroke: var(--danger); }
[data-deadline-state="overdue"] .deadline-remaining { color: var(--danger); }
[data-deadline-state="due_soon"] .deadline-ring-value { stroke: var(--warning); }

.task-notification-popover { position: relative; }
.task-notification-trigger { position: relative; }
.task-notification-badge { display: inline-grid; min-width: 17px; height: 17px; place-items: center; border-radius: var(--pill); background: var(--danger); color: #fff; padding: 0 4px; font-size: 9px; }

/* Mobile layout fixes for notification badge */
.mobile-icon-btn {
  position: relative;
}
.mobile-icon-btn .task-notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  border: 2px solid var(--surface);
}
.task-notification-menu { position: absolute; top: calc(100% + 9px); right: 0; z-index: 60; width: min(340px, calc(100vw - 24px)); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-lg); }
.task-notification-menu-header, .task-notification-menu-footer { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; font-size: 12px; font-weight: 800; }
.task-notification-menu-header { border-bottom: 1px solid var(--line); }
.task-notification-menu-footer { border-top: 1px solid var(--line); color: var(--primary); }
.task-notification-menu-item { display: flex; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.task-notification-menu-item:hover { background: var(--surface-subtle); }
.task-notification-menu-icon { display: grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; border-radius: 9px; background: var(--primary-soft); color: var(--primary); }
.task-notification-menu-copy { display: grid; gap: 2px; min-width: 0; }
.task-notification-menu-copy strong { color: var(--text); font-size: 12px; }
.task-notification-menu-copy span, .task-notification-menu-copy small { overflow: hidden; color: var(--text-muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.task-notification-empty { padding: 24px 14px; color: var(--text-muted); text-align: center; }

.admin-expandable-text { border: 0 !important; background: transparent !important; box-shadow: none !important; }
.admin-expandable-text summary { cursor: pointer; list-style: none; }
.admin-expandable-text summary::-webkit-details-marker { display: none; }
.admin-expandable-text-action { display: inline-block; margin-left: 5px; color: var(--primary); font-size: 11px; font-weight: 800; }
.admin-expandable-text-less { display: none; }
.admin-expandable-text[open] .admin-expandable-text-preview, .admin-expandable-text[open] .admin-expandable-text-more { display: none; }
.admin-expandable-text[open] .admin-expandable-text-less { display: inline; }
.admin-expandable-text-full { white-space: pre-wrap; overflow-wrap: anywhere; }

.workspace-nav { border-color: var(--line) !important; }
.workspace-nav a, .workspace-nav button { border-radius: var(--radius-sm) !important; }

@media (max-width: 767px) {
  .responsive-table.mobile-cards, .responsive-table.mobile-cards table, .responsive-table.mobile-cards tbody { display: block; }
  .task-notification-menu { position: fixed; top: 64px; right: 12px; }
}
/* Responsive single-choice dropdowns. */
.dhdt-select {
  position: relative;
  width: 100%;
  min-width: 0;
}

.dhdt-select-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.dhdt-select-trigger {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm) !important;
  background: var(--surface);
  color: var(--text);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  text-align: start;
  box-shadow: var(--shadow-xs);
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.dhdt-select-trigger:hover {
  border-color: var(--text-faint);
}

.dhdt-select-trigger:focus-visible,
.dhdt-select.is-open .dhdt-select-trigger {
  border-color: var(--line-focus);
  outline: none;
  box-shadow: 0 0 0 3px rgb(37 99 235 / 12%);
}

.dhdt-select-trigger:disabled {
  cursor: not-allowed;
  opacity: .58;
}

.dhdt-select-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dhdt-select-value.is-placeholder {
  color: var(--text-faint);
}

.dhdt-select-chevron {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  margin: -3px 2px 0 0;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  color: var(--text-muted);
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.dhdt-select.is-open .dhdt-select-chevron {
  margin-top: 3px;
  transform: rotate(225deg);
}

.dhdt-select-menu {
  position: fixed;
  z-index: 1000;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  padding: 6px;
  box-shadow: var(--shadow-lg);
  overscroll-behavior: contain;
  animation: dhdt-select-in 150ms ease-out both;
}

.dhdt-select.opens-up .dhdt-select-menu {
  transform-origin: bottom center;
}

.dhdt-select-group {
  padding: 7px 9px 4px;
  color: var(--text-faint);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.dhdt-select-option {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 8px !important;
  background: transparent;
  color: var(--text-soft);
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.35;
  text-align: start;
}

.dhdt-select-option > span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.dhdt-select-option:hover,
.dhdt-select-option:focus-visible {
  border-color: var(--primary-line);
  outline: none;
  background: var(--primary-soft);
  color: var(--primary);
}

.dhdt-select-option.is-selected {
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 750;
}

.dhdt-select-option:disabled {
  opacity: .45;
}

.dhdt-select-check {
  visibility: hidden;
  flex: 0 0 auto;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
}

.dhdt-select-option.is-selected .dhdt-select-check {
  visibility: visible;
}

@keyframes dhdt-select-in {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 640px) {
  .dhdt-select-trigger {
    min-height: 44px;
    font-size: 14px;
  }

  .dhdt-select-menu {
    border-radius: 10px;
    padding: 5px;
  }

  .dhdt-select-option {
    min-height: 44px;
    font-size: 14px;
  }
}
/* Balanced workspace navigation controls. */
.workspace-nav {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-color: var(--line) !important;
}

.workspace-nav > :first-child {
  color: var(--text-muted) !important;
  font-size: 11px !important;
  font-weight: 700;
}

.workspace-nav-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(112px, 1fr));
  gap: 8px !important;
}

.workspace-nav-actions > a,
.workspace-nav-actions > button {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  justify-content: center;
  border: 1px solid var(--line-strong) !important;
  border-radius: 10px !important;
  padding: 0 14px !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  transition: transform 130ms ease, border-color 150ms ease, background 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.workspace-nav-actions > a[data-workspace-previous] {
  background: var(--surface) !important;
  color: var(--text-soft) !important;
}

.workspace-nav-actions > a[data-workspace-previous]:hover {
  border-color: var(--primary-line) !important;
  background: var(--primary-soft) !important;
  color: var(--primary) !important;
}

.workspace-nav-actions > button:not([data-workspace-submit]) {
  background: var(--surface-muted) !important;
  color: var(--text-faint) !important;
}

.workspace-nav-actions > [data-workspace-submit] {
  border-color: var(--primary) !important;
  background: var(--primary) !important;
  color: #fff !important;
  box-shadow: 0 7px 18px rgb(37 99 235 / 20%);
}

.workspace-nav-actions > [data-workspace-submit]:hover {
  border-color: var(--primary-hover) !important;
  background: var(--primary-hover) !important;
}

.workspace-nav-actions > a:active,
.workspace-nav-actions > button:active {
  transform: translateY(1px) scale(.985);
}

@media (max-width: 640px) {
  .workspace-nav {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 9px !important;
  }

  .workspace-nav-actions {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workspace-nav-actions > a,
  .workspace-nav-actions > button {
    min-height: 44px;
    padding-inline: 10px !important;
  }
}
/* Modern header utility buttons. */
.header-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong) !important;
  border-radius: 50% !important;
  background: var(--surface) !important;
  padding: 0 !important;
  color: var(--text-soft) !important;
  box-shadow: none !important;
  transition: all 0.2s ease;
}

.header-btn-icon:hover {
  border-color: var(--text-muted) !important;
  background: var(--surface-muted) !important;
  color: var(--text) !important;
  transform: translateY(-1px);
}

.header-btn-icon:active {
  transform: translateY(0) scale(.97);
}

.header-btn-icon svg,
.task-notification-trigger svg {
  stroke-width: 1.8;
}

.task-notification-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong) !important;
  border-radius: 50% !important;
  background: var(--surface) !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: var(--text-soft) !important;
  transition: all 0.2s ease;
}

.task-notification-trigger:hover {
  border-color: var(--text-muted) !important;
  background: var(--surface-muted) !important;
  color: var(--text) !important;
  transform: translateY(-1px);
}

/* ── Active Users Popover ──────────────────────────────────── */
.active-users-popover { position: relative; }

.active-users-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong) !important;
  border-radius: 50% !important;
  background: var(--surface) !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: var(--text-soft) !important;
  transition: all 0.2s ease;
}
.active-users-trigger svg { stroke-width: 1.8; }
.active-users-trigger:hover {
  border-color: var(--text-muted) !important;
  background: var(--surface-muted) !important;
  color: var(--text) !important;
  transform: translateY(-1px);
}

.active-users-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  display: inline-grid;
  min-width: 17px;
  height: 17px;
  place-items: center;
  border-radius: var(--pill);
  background: #22c55e;
  color: #fff;
  padding: 0 4px;
  font-size: 9px;
  font-weight: 700;
  border: 2px solid var(--surface);
}

.mobile-icon-btn .active-users-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  border: 2px solid var(--surface);
}

.active-users-menu {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  z-index: 60;
  width: min(300px, calc(100vw - 24px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.active-users-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 800;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.active-users-count-label {
  color: #22c55e;
  font-weight: 600;
  font-size: 11px;
}

.active-users-menu-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  border-top: 1px solid var(--line);
  color: var(--primary);
  text-decoration: none;
  transition: background 0.15s ease;
}
.active-users-menu-footer:hover { background: var(--surface-subtle); }

.active-users-list {
  max-height: 260px;
  overflow-y: auto;
}

.active-users-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s ease;
}
.active-users-menu-item:last-child { border-bottom: none; }
.active-users-menu-item:hover { background: var(--surface-subtle); }

.active-users-menu-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border-radius: 9px;
  background: var(--primary-soft);
  color: var(--primary);
}
.active-users-menu-icon.active-users-admin {
  background: hsl(280 60% 92%);
  color: hsl(280 60% 45%);
}
[data-theme="dark"] .active-users-menu-icon.active-users-admin {
  background: hsl(280 40% 20%);
  color: hsl(280 60% 70%);
}

.active-users-menu-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
  flex: 1;
}
.active-users-menu-copy strong {
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.active-users-menu-copy small {
  color: var(--text-muted);
  font-size: 11px;
}

.active-users-status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
}

.active-users-empty {
  padding: 24px 14px;
  color: var(--text-muted);
  text-align: center;
  font-size: 12px;
}

@media (max-width: 767px) {
  .active-users-menu { position: fixed; top: 64px; right: 12px; }
}

/* Readonly banner */
.readonly-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-muted);
  color: var(--text-soft);
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
}

/* Tasks Finished Success Card */
.tasks-finished-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  max-width: 576px;
  margin: 40px auto;
  box-shadow: var(--shadow-md);
  animation: cardFadeIn 0.4s ease-out;
}

.finished-icon-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: var(--pill);
  background: var(--success-soft);
  border: 1px solid var(--success-line);
  color: var(--success);
  margin-bottom: 24px;
  animation: iconScaleUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.finished-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.finished-description {
  font-size: 15px;
  color: var(--text-soft);
  max-width: 400px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.finished-action-btn {
  display: inline-flex;
  height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: var(--pill);
  background: var(--primary);
  color: var(--surface);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s ease;
  text-decoration: none;
}

.finished-action-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.finished-action-btn:active {
  transform: translateY(0);
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes iconScaleUp {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Language Filter Segmented Controls */
.language-filter-tabs {
  display: inline-flex;
  background: var(--surface-muted);
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  gap: 2px;
}

.language-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 16px;
  border-radius: calc(var(--radius-sm) - 4px);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
  border: none;
  background: transparent;
}

.language-filter-btn:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.02);
}

html[data-theme="dark"] .language-filter-btn:hover {
  background: rgba(255, 255, 255, 0.02);
}

.language-filter-btn.active {
  background: var(--surface);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 640px) {
  .language-filter-tabs {
    display: flex;
    width: 100%;
  }
  .language-filter-btn {
    flex: 1;
    font-size: 12px;
    padding: 0 8px;
  }
}