@import url("./access-management.css");
@import url("./bottom-navigation.css");
@import url("./scanner-control.css");
@import url("./theme-toggle.css");

:root {
  --eds-bg: #f5f5f7;
  --eds-surface-1: #ffffff;
  --eds-surface-2: rgba(255, 255, 255, .88);
  --eds-surface-3: #f0f1f3;
  --eds-panel: rgba(255, 255, 255, .88);
  --eds-panel-solid: #fff;
  --eds-text: #1d1d1f;
  --eds-text-1: #1d1d1f;
  --eds-text-2: #6e6e73;
  --eds-text-3: #8e8e93;
  --eds-text-inverse: #ffffff;
  --eds-muted: #6e6e73;
  --eds-line: rgba(60, 60, 67, .13);
  --eds-line-strong: rgba(60, 60, 67, .22);
  --eds-accent: #007aff;
  --eds-accent-soft: rgba(0, 122, 255, .11);
  --eds-brand-accent: #6f3cff;
  --eds-brand-accent-soft: #f0eaff;
  --eds-green: #34c759;
  --eds-green-soft: rgba(52, 199, 89, .13);
  --eds-orange: #ff9500;
  --eds-orange-soft: rgba(255, 149, 0, .15);
  --eds-yellow: #9a7200;
  --eds-yellow-soft: rgba(255, 204, 0, .18);
  --eds-amber: #b35c00;
  --eds-amber-soft: rgba(255, 179, 0, .17);
  --eds-coral: #c84c32;
  --eds-coral-soft: rgba(255, 107, 74, .15);
  --eds-vermilion: #b83c26;
  --eds-vermilion-soft: rgba(239, 79, 49, .15);
  --eds-red: #ff3b30;
  --eds-red-soft: rgba(255, 59, 48, .13);
  --eds-info: #5ac8fa;
  --eds-info-soft: rgba(90, 200, 250, .14);
  --eds-success: var(--eds-green);
  --eds-success-soft: var(--eds-green-soft);
  --eds-warning: var(--eds-orange);
  --eds-warning-soft: var(--eds-orange-soft);
  --eds-danger: var(--eds-red);
  --eds-danger-soft: var(--eds-red-soft);
  --eds-shadow-card: 0 1px 2px rgba(0, 0, 0, .035), 0 14px 34px rgba(0, 0, 0, .07);
  --eds-shadow-card-hover: 0 2px 4px rgba(0, 0, 0, .045), 0 18px 44px rgba(0, 0, 0, .095);
  --eds-shadow-control: 0 1px 2px rgba(0, 0, 0, .05), 0 8px 22px rgba(0, 122, 255, .18);
  --eds-shadow-float: 0 18px 54px rgba(0, 0, 0, .13);
  --eds-shadow-1: 0 4px 16px rgba(15, 23, 42, .06);
  --eds-shadow-2: 0 12px 32px rgba(15, 23, 42, .10);
  --eds-shadow-3: 0 20px 48px rgba(15, 23, 42, .14);
  --eds-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --eds-mono: "SF Mono", "JetBrains Mono", "Roboto Mono", monospace;
  --eds-fs-11: 11px;
  --eds-fs-13: 13px;
  --eds-fs-14: 14px;
  --eds-fs-16: 16px;
  --eds-fs-20: 20px;
  --eds-fs-24: 24px;
  --eds-fs-32: 32px;
  --eds-fs-40: 40px;
  --eds-xs: 12px;
  --eds-sm: 13px;
  --eds-md: 15px;
  --eds-lg: 17px;
  --eds-title: 22px;
  --eds-display: 34px;
  --eds-number: 32px;
  --eds-space-4: 4px;
  --eds-space-8: 8px;
  --eds-space-12: 12px;
  --eds-space-16: 16px;
  --eds-space-20: 20px;
  --eds-space-24: 24px;
  --eds-space-32: 32px;
  --eds-space-40: 40px;
  --eds-space-48: 48px;
  --eds-space-64: 64px;
  --eds-radius-12: 12px;
  --eds-radius-14: 14px;
  --eds-radius-16: 16px;
  --eds-radius-20: 20px;
  --eds-radius-24: 24px;
  --eds-radius-32: 32px;
  --eds-radius-pill: 999px;
  --eds-radius: 20px;
  --eds-gap: 10px;
  --eds-gap-lg: 12px;
  --eds-control-sm: 36px;
  --eds-control-md: 44px;
  --eds-control-lg: 52px;
  --eds-focus-ring: 0 0 0 3px rgba(0, 122, 255, .34);
  --eds-fast: 120ms;
  --eds-base: 180ms;
  --eds-slow: 240ms;
  --eds-ease: cubic-bezier(.2, .8, .2, 1);
  --eds-z-header: 10;
  --eds-z-sidebar: 20;
  --eds-z-overlay: 40;
  --eds-z-modal: 50;
  --eds-z-popover: 80;
  --eds-z-toast: 90;
  --eds-safe-top: max(env(safe-area-inset-top, 0px), var(--tg-safe-area-inset-top, 0px));
  --eds-safe-bottom: max(env(safe-area-inset-bottom, 0px), var(--tg-safe-area-inset-bottom, 0px), var(--tg-content-safe-area-inset-bottom, 0px));
  --eds-safe-right: max(env(safe-area-inset-right, 0px), var(--tg-safe-area-inset-right, 0px));
  --eds-safe-left: max(env(safe-area-inset-left, 0px), var(--tg-safe-area-inset-left, 0px));
  --eds-container-phone: 460px;
  --eds-bottom-nav-width: 300px;
  --eds-container-content: 1200px;
  --eds-sidebar-w: 248px;
  --eds-sidebar-collapsed-w: 76px;
  --eds-sidebar-collapsed-mark-background: #1d1d1f;
  --eds-sidebar-collapsed-mark-foreground: #ffffff;
  --eds-sidebar-control-gap: 8px;
  --eds-sidebar-section-gap: 14px;
  --eds-sidebar-system-height: 36px;
  --eds-sidebar-system-icon-size: 20px;
  --eds-sidebar-system-label-size: 12px;
  --eds-sidebar-system-visible-rows: 3;
}

[data-theme="dark"] {
  --eds-bg: #0f1115;
  --eds-surface-1: #16181d;
  --eds-surface-2: rgba(22, 24, 29, .88);
  --eds-surface-3: #1d2128;
  --eds-panel: rgba(22, 24, 29, .88);
  --eds-panel-solid: #16181d;
  --eds-text: #f5f5f7;
  --eds-text-1: #f5f5f7;
  --eds-text-2: #b4b4b8;
  --eds-text-3: #8b8b91;
  --eds-text-inverse: #111216;
  --eds-muted: #b4b4b8;
  --eds-line: rgba(255, 255, 255, .10);
  --eds-line-strong: rgba(255, 255, 255, .18);
  --eds-shadow-card: 0 1px 2px rgba(0, 0, 0, .28), 0 14px 34px rgba(0, 0, 0, .32);
  --eds-shadow-card-hover: 0 2px 4px rgba(0, 0, 0, .32), 0 18px 44px rgba(0, 0, 0, .42);
  --eds-shadow-1: 0 4px 16px rgba(0, 0, 0, .24);
  --eds-shadow-2: 0 12px 32px rgba(0, 0, 0, .32);
  --eds-shadow-3: 0 20px 48px rgba(0, 0, 0, .42);
  --bg: var(--eds-bg);
  --panel: var(--eds-surface-1);
  --panel-solid: var(--eds-surface-1);
  --text: var(--eds-text-1);
  --muted: var(--eds-text-2);
  --line: var(--eds-line);
  --accent: var(--eds-accent);
  --accent2: var(--eds-accent-soft);
}

[data-host="telegram"] {
  --eds-bg: var(--tg-theme-bg-color, var(--eds-bg));
  --eds-surface-1: var(--tg-theme-secondary-bg-color, var(--eds-surface-1));
  --eds-surface-2: var(--tg-theme-secondary-bg-color, var(--eds-surface-2));
  --eds-panel: var(--tg-theme-secondary-bg-color, var(--eds-panel));
  --eds-panel-solid: var(--tg-theme-secondary-bg-color, var(--eds-panel-solid));
  --eds-text: var(--tg-theme-text-color, var(--eds-text));
  --eds-text-1: var(--tg-theme-text-color, var(--eds-text-1));
  --eds-text-2: var(--tg-theme-subtitle-text-color, var(--eds-text-2));
  --eds-muted: var(--tg-theme-subtitle-text-color, var(--eds-muted));
  --eds-accent: var(--tg-theme-button-color, var(--eds-accent));
  --eds-text-inverse: var(--tg-theme-button-text-color, var(--eds-text-inverse));
  --eds-safe-top: max(env(safe-area-inset-top, 0px), var(--tg-safe-area-inset-top, 0px), var(--tg-content-safe-area-inset-top, 0px));
  --eds-safe-bottom: max(env(safe-area-inset-bottom, 0px), var(--tg-safe-area-inset-bottom, 0px), var(--tg-content-safe-area-inset-bottom, 0px));
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  scroll-behavior: smooth;
}

body.eds-body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  background: linear-gradient(180deg, #fbfbfd 0, #f5f5f7 260px, var(--eds-bg) 100%);
  color: var(--eds-text);
  font-family: var(--eds-font);
  font-size: var(--eds-md);
  font-weight: 400;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[data-theme="dark"] body.eds-body {
  background: var(--eds-bg);
}

.eds-body button,
.eds-body input,
.eds-body textarea {
  font: inherit;
  line-height: 1.2;
}

.eds-body a, .eds-body a:hover, .eds-body a:focus-visible, .eds-body a:active { text-decoration: none !important; }

.eds-shell {
  display: block;
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  overflow-x: hidden;
}

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

.eds-sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: var(--eds-z-sidebar);
  width: var(--eds-sidebar-w);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: calc(32px + var(--eds-safe-top)) 24px 32px;
  border-right: 1px solid var(--eds-line);
  background: rgba(247, 247, 250, .88);
  backdrop-filter: blur(24px);
  box-shadow: 8px 0 32px rgba(0, 0, 0, .035);
}

.eds-sidebar,
.eds-page {
  transition:
    width var(--eds-slow) var(--eds-ease),
    max-width var(--eds-slow) var(--eds-ease),
    margin-left var(--eds-slow) var(--eds-ease),
    padding var(--eds-slow) var(--eds-ease);
}

.eds-sidebar-head {
  position: relative;
  display: block;
  flex: 0 0 auto;
  box-sizing: border-box;
  height: 96px;
  min-height: 90px;
  margin: 0 0 10px;
  padding-right: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--eds-line);
}

.eds-logo {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  min-width: 0;
  height: 81px;
  min-height: 81px;
  margin: 0;
  overflow: hidden;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.08;
}

.eds-sidebar-head .eds-logo {
  margin: 0;
  border-bottom: 0;
  padding-bottom: 0;
}

.eds-logo span {
  display: block;
  width: 100%;
  max-width: 157px;
  overflow: hidden;
  white-space: nowrap;
}

.eds-logo::before {
  content: attr(data-eds-product-mark);
  position: absolute;
  top: 0;
  left: 50%;
  display: inline-grid;
  place-items: center;
  box-sizing: border-box;
  width: 48px;
  height: 48px;
  border: 1px solid var(--eds-sidebar-collapsed-mark-background);
  border-radius: 16px;
  background: var(--eds-sidebar-collapsed-mark-background);
  color: var(--eds-sidebar-collapsed-mark-foreground);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  opacity: 0;
  transform: translateX(-50%);
  pointer-events: none;
  transition: opacity var(--eds-slow) var(--eds-ease);
}

.sidebar-brand-title {
  margin: 0;
  color: var(--eds-text);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.08;
}

.sidebar-brand-subtitle {
  margin-top: 3px;
  color: var(--eds-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.22;
}

.eds-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  min-height: 28px;
  margin-bottom: 8px;
  color: var(--eds-accent);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
}

.eds-back-link:hover,
.eds-back-link:focus-visible {
  color: #0062cc;
  text-decoration: none;
  outline: none;
}

.eds-back-link-icon {
  display: inline-block;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='m15%2018-6-6%206-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='m15%2018-6-6%206-6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.eds-action-link { color: var(--eds-accent); font-size: var(--eds-xs); font-weight: 500; text-decoration: none; }

.eds-lucide-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: var(--eds-icon-mask) center / contain no-repeat;
  mask: var(--eds-icon-mask) center / contain no-repeat;
}

.eds-icon-monitor {
  --eds-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect width='20' height='14' x='2' y='3' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M8 21h8M12 17v4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.eds-icon-smartphone {
  --eds-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect width='14' height='20' x='5' y='2' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='12' cy='18' r='1' fill='black'/%3E%3C/svg%3E");
}

.eds-icon-sun {
  --eds-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.93 4.93l1.42 1.42M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41'/%3E%3C/svg%3E");
}

.eds-icon-moon {
  --eds-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9'/%3E%3C/svg%3E");
}

.eds-icon-chevron-up {
  --eds-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m18 15-6-6-6 6'/%3E%3C/svg%3E");
}

.eds-icon-chevron-down {
  --eds-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

.eds-icon-x {
  --eds-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
}

.eds-icon-expand {
  --eds-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 3 6 0 0 6M14 10l7-7M9 21H3v-6M10 14l-7 7'/%3E%3C/svg%3E");
}

.control-nav-icon::before,
.control-nav-icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.control-nav-icon::before {
  width: 20px;
  height: 20px;
  inset: 1px;
  background: currentColor;
}

.control-nav-icon::after {
  display: none;
}

.control-nav-icon-users::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M3.5 20v-1.5A4.5 4.5 0 0 1 8 14h2a4.5 4.5 0 0 1 4.5 4.5V20'/%3E%3Cpath d='M15.5 5.3a3 3 0 0 1 0 5.4M17 14a4.5 4.5 0 0 1 3.5 4.4V20'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M3.5 20v-1.5A4.5 4.5 0 0 1 8 14h2a4.5 4.5 0 0 1 4.5 4.5V20'/%3E%3Cpath d='M15.5 5.3a3 3 0 0 1 0 5.4M17 14a4.5 4.5 0 0 1 3.5 4.4V20'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.control-nav-icon-applications::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.control-nav-icon-registry::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8'%3E%3Cellipse cx='12' cy='5' rx='8' ry='3'/%3E%3Cpath d='M4 5v7c0 1.7 3.6 3 8 3s8-1.3 8-3V5M4 12v7c0 1.7 3.6 3 8 3s8-1.3 8-3v-7'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8'%3E%3Cellipse cx='12' cy='5' rx='8' ry='3'/%3E%3Cpath d='M4 5v7c0 1.7 3.6 3 8 3s8-1.3 8-3V5M4 12v7c0 1.7 3.6 3 8 3s8-1.3 8-3v-7'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.control-nav-icon-links::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m9.5 14.5 5-5'/%3E%3Cpath d='m7.2 17.8-1 .9a3.5 3.5 0 0 1-5-5l4-4a3.5 3.5 0 0 1 5 0' transform='translate(3 0)'/%3E%3Cpath d='m16.8 6.2 1-.9a3.5 3.5 0 0 1 5 5l-4 4a3.5 3.5 0 0 1-5 0' transform='translate(-3 0)'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m9.5 14.5 5-5'/%3E%3Cpath d='m7.2 17.8-1 .9a3.5 3.5 0 0 1-5-5l4-4a3.5 3.5 0 0 1 5 0' transform='translate(3 0)'/%3E%3Cpath d='m16.8 6.2 1-.9a3.5 3.5 0 0 1 5 5l-4 4a3.5 3.5 0 0 1-5 0' transform='translate(-3 0)'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.control-nav-icon-sync::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 7h14'/%3E%3Cpath d='m15 3 4 4-4 4'/%3E%3Cpath d='M19 17H5'/%3E%3Cpath d='m9 13-4 4 4 4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 7h14'/%3E%3Cpath d='m15 3 4 4-4 4'/%3E%3Cpath d='M19 17H5'/%3E%3Cpath d='m9 13-4 4 4 4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.eds-body .nav-icon-overview::before {
  inset: 1px;
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 0;
  background: currentColor;
  box-shadow: none;
  transform: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='12' width='4' height='8' rx='1'/%3E%3Crect x='10' y='7' width='4' height='13' rx='1'/%3E%3Crect x='17' y='3' width='4' height='17' rx='1'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='12' width='4' height='8' rx='1'/%3E%3Crect x='10' y='7' width='4' height='13' rx='1'/%3E%3Crect x='17' y='3' width='4' height='17' rx='1'/%3E%3C/svg%3E") center / contain no-repeat;
}

.eds-body .nav-icon-overview::after {
  display: none;
}

.eds-body .event-row-actions > .action-menu-trigger::after {
  transform: translate(-50%, -50%);
}

.eds-body .settings-sidebar-visibility-icon {
  width: 19px;
  height: 19px;
  border: 0;
  border-radius: 0;
  background: currentColor;
  color: var(--eds-text-3);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.1 12s3.6-7 9.9-7 9.9 7 9.9 7-3.6 7-9.9 7-9.9-7-9.9-7'/%3E%3Ccircle cx='12' cy='12' r='2.8'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.1 12s3.6-7 9.9-7 9.9 7 9.9 7-3.6 7-9.9 7-9.9-7-9.9-7'/%3E%3Ccircle cx='12' cy='12' r='2.8'/%3E%3C/svg%3E") center / contain no-repeat;
}

.eds-body .settings-sidebar-visibility-icon::before,
.eds-body .settings-sidebar-visibility-icon::after {
  content: none;
  display: none;
}

.eds-body .settings-sidebar-enabled:not(:has(input:checked)) .settings-sidebar-visibility-icon {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 3 18 18'/%3E%3Cpath d='M10.6 5.2A10.5 10.5 0 0 1 12 5c6.3 0 9.9 7 9.9 7a15.8 15.8 0 0 1-2.1 3.1M6.2 6.2C3.5 8.1 2.1 12 2.1 12s3.6 7 9.9 7a9.9 9.9 0 0 0 4.1-.9M9.9 9.9a3 3 0 0 0 4.2 4.2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 3 18 18'/%3E%3Cpath d='M10.6 5.2A10.5 10.5 0 0 1 12 5c6.3 0 9.9 7 9.9 7a15.8 15.8 0 0 1-2.1 3.1M6.2 6.2C3.5 8.1 2.1 12 2.1 12s3.6 7 9.9 7a9.9 9.9 0 0 0 4.1-.9M9.9 9.9a3 3 0 0 0 4.2 4.2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.eds-body .settings-sidebar-enabled:has(input:checked) .settings-sidebar-visibility-icon {
  color: var(--eds-accent);
}

:is([data-theme="dark"] .eds-body, .eds-body[data-theme="dark"]) :is(
  .settings-sidebar-color-trigger,
  .settings-sidebar-color-panel,
  .settings-sidebar-enabled,
  .settings-sidebar-delete
) {
  border-color: var(--eds-line);
  background: var(--eds-surface-2);
  color: var(--eds-text-1);
}

.control-nav-icon-audit::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='5' y='4' width='14' height='17' rx='2'/%3E%3Cpath d='M9 4V2h6v2M9 9h6M9 13h6M9 17h4'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='5' y='4' width='14' height='17' rx='2'/%3E%3Cpath d='M9 4V2h6v2M9 9h6M9 13h6M9 17h4'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.eds-nav {
  display: grid;
  flex: 0 0 auto;
  width: 100%;
  max-height: calc((44px * 8) + (8px * 7));
  gap: 8px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(60, 60, 67, .18) transparent;
}

.eds-nav button,
.eds-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--eds-muted);
  padding: 0 14px;
  text-align: left;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--eds-fast) var(--eds-ease), color var(--eds-fast) var(--eds-ease), transform var(--eds-fast) var(--eds-ease);
}

.eds-nav-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 22px;
  width: 22px;
  min-width: 22px;
  height: 22px;
  min-height: 22px;
  color: currentColor;
}

.eds-nav-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eds-sidebar-toggle,
.sidebar-toggle {
  position: absolute;
  top: 56px;
  right: 0;
  bottom: auto;
  display: inline-grid;
  place-items: center;
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  margin: 0;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: var(--eds-muted);
  padding: 0;
  cursor: pointer;
}

.eds-sidebar-toggle:hover,
.eds-sidebar-toggle:focus-visible,
.sidebar-toggle:hover,
.sidebar-toggle:focus-visible {
  background: var(--eds-accent-soft);
  color: var(--eds-accent);
  outline: none;
}

.eds-sidebar-toggle-icon,
.sidebar-toggle-icon {
  position: relative;
  display: block;
  width: 18px;
  height: 16px;
  border: 1.6px solid currentColor;
  border-radius: 5px;
}

.eds-sidebar-toggle-icon::before,
.sidebar-toggle-icon::before {
  content: "";
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 6px;
  width: 1.5px;
  border-radius: var(--eds-radius-pill);
  background: currentColor;
}

.side-links.eds-sidebar-actions {
  display: grid;
  flex: 0 1 auto;
  width: 100%;
  min-height: 0;
  max-height: calc(
    var(--eds-sidebar-section-gap) +
    (var(--eds-sidebar-system-height) * var(--eds-sidebar-system-visible-rows)) +
    (var(--eds-sidebar-control-gap) * (var(--eds-sidebar-system-visible-rows) - 1)) +
    1px
  );
  justify-items: stretch;
  align-content: start;
  gap: var(--eds-sidebar-control-gap);
  margin-top: auto;
  padding-top: var(--eds-sidebar-section-gap);
  border-top: 1px solid rgba(60, 60, 67, .11);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(60, 60, 67, .18) transparent;
}

.side-links.eds-sidebar-actions::-webkit-scrollbar {
  width: 3px;
}

.side-links.eds-sidebar-actions::-webkit-scrollbar-thumb {
  border-radius: var(--eds-radius-pill);
  background: rgba(60, 60, 67, .18);
}

.side-links.eds-sidebar-actions .side-system-link {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: var(--eds-sidebar-system-height);
  min-height: var(--eds-sidebar-system-height);
  max-height: var(--eds-sidebar-system-height);
  padding: 0 9px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--eds-muted);
  text-align: left;
  text-decoration: none;
  font-size: var(--eds-sidebar-system-label-size);
  font-weight: 500;
  line-height: 1.15;
  box-shadow: none;
  transition:
    padding var(--eds-slow) var(--eds-ease),
    gap var(--eds-slow) var(--eds-ease),
    background-color var(--eds-fast) var(--eds-ease),
    border-color var(--eds-fast) var(--eds-ease),
    color var(--eds-fast) var(--eds-ease);
}

.side-links.eds-sidebar-actions .side-system-link:hover,
.side-links.eds-sidebar-actions .side-system-link:focus-visible {
  border-color: transparent;
  background: rgba(60, 60, 67, .055);
  color: var(--eds-text);
}

.side-system-icon {
  display: inline-grid;
  place-items: center;
  width: var(--eds-sidebar-system-icon-size);
  min-width: var(--eds-sidebar-system-icon-size);
  height: var(--eds-sidebar-system-icon-size);
  min-height: var(--eds-sidebar-system-icon-size);
  border-radius: 6px;
  background: rgba(0, 122, 255, .11);
  color: var(--eds-accent);
  font-size: 8px;
  font-weight: 600;
  line-height: 1;
}

.side-system-link[data-icon-tone="blue"] .side-system-icon {
  background: rgba(0, 122, 255, .13);
  color: rgb(0, 101, 214);
}

.side-system-link[data-icon-tone="platform"] .side-system-icon,
.side-system-platform .side-system-icon {
  background: #1d1d1f;
  color: #fff;
}

.side-system-link[data-icon-tone="peach"] .side-system-icon,
.side-system-costume .side-system-icon {
  border: 1px solid color-mix(in srgb, #eb9f75 50%, transparent);
  background: color-mix(in srgb, #eb9f75 12%, transparent);
  color: #b45f38;
}

.side-system-link[data-icon-tone="impulse"] .side-system-icon,
.side-system-impulse .side-system-icon {
  border: 1px solid color-mix(in srgb, #1473e6 48%, transparent);
  background: color-mix(in srgb, #1473e6 12%, transparent);
  color: #0e62c6;
  font-size: 10px;
}

.side-system-label {
  display: block;
  flex: 0 1 160px;
  width: auto;
  max-width: 160px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eds-body.eds-sidebar-collapsed,
.eds-body.sidebar-collapsed {
  --eds-sidebar-w: var(--eds-sidebar-collapsed-w);
}

.eds-body.eds-sidebar-collapsed .eds-sidebar,
.eds-body.sidebar-collapsed .eds-sidebar {
  padding-right: 12px;
  padding-left: 12px;
}

.eds-body.eds-sidebar-collapsed .eds-sidebar-head,
.eds-body.sidebar-collapsed .eds-sidebar-head {
  display: block;
  height: 96px;
  min-height: 90px;
  margin-bottom: 10px;
  padding-right: 0;
  padding-bottom: 14px;
}

.eds-body.eds-sidebar-collapsed .eds-sidebar-toggle,
.eds-body.sidebar-collapsed .eds-sidebar-toggle,
.eds-body.eds-sidebar-collapsed .sidebar-toggle,
.eds-body.sidebar-collapsed .sidebar-toggle {
  position: absolute;
  top: 56px;
  right: 9px;
  bottom: auto;
  margin: 0;
}

.eds-body.eds-sidebar-collapsed .eds-logo,
.eds-body.sidebar-collapsed .eds-logo {
  display: block;
  min-height: 81px;
  margin: 0;
  overflow: hidden;
  color: transparent;
  font-size: 0;
}

.eds-body.eds-sidebar-collapsed .eds-logo::before,
.eds-body.sidebar-collapsed .eds-logo::before {
  opacity: 1;
}

.eds-body.eds-sidebar-collapsed .eds-logo span,
.eds-body.sidebar-collapsed .eds-logo span,
.eds-body.eds-sidebar-collapsed .eds-logo .sidebar-brand-title,
.eds-body.sidebar-collapsed .eds-logo .sidebar-brand-title {
  display: none;
}

.eds-body.eds-sidebar-collapsed .side-links.eds-sidebar-actions,
.eds-body.sidebar-collapsed .side-links.eds-sidebar-actions {
  display: grid;
  flex: 0 1 auto;
  justify-items: stretch;
  align-content: start;
  gap: var(--eds-sidebar-control-gap);
  width: 100%;
  min-height: 0;
  margin-top: auto;
  padding-top: var(--eds-sidebar-section-gap);
}

.eds-body.eds-sidebar-collapsed .side-links.eds-sidebar-actions .side-system-link,
.eds-body.sidebar-collapsed .side-links.eds-sidebar-actions .side-system-link {
  justify-content: flex-start;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: var(--eds-sidebar-system-height);
  min-height: var(--eds-sidebar-system-height);
  max-height: var(--eds-sidebar-system-height);
  gap: 0;
  padding: 0 0 0 calc((100% - var(--eds-sidebar-system-icon-size)) / 2 - 1px);
  border-radius: 10px;
}

.eds-body.eds-sidebar-collapsed .side-system-label,
.eds-body.sidebar-collapsed .side-system-label {
  display: block;
  flex-basis: 0;
  width: auto;
  max-width: 0;
  margin: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateX(-4px);
  pointer-events: none;
}

.eds-body.eds-sidebar-collapsed .eds-nav,
.eds-body.sidebar-collapsed .eds-nav {
  justify-items: center;
}

.eds-body.eds-sidebar-collapsed .eds-nav a,
.eds-body.sidebar-collapsed .eds-nav a,
.eds-body.eds-sidebar-collapsed .eds-nav button,
.eds-body.sidebar-collapsed .eds-nav button {
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  padding: 0;
  font-size: 0;
}

.eds-body.eds-sidebar-collapsed .eds-nav-label,
.eds-body.sidebar-collapsed .eds-nav-label {
  display: none;
}

.eds-body.eds-sidebar-collapsed .eds-nav-icon,
.eds-body.sidebar-collapsed .eds-nav-icon {
  flex: 0 0 22px;
  width: 22px;
  min-width: 22px;
  height: 22px;
  min-height: 22px;
}


.eds-nav button:hover,
.eds-nav a:hover {
  background: rgba(0, 0, 0, .045);
  color: var(--eds-text);
}

.eds-nav .is-active {
  background: var(--eds-accent-soft);
  color: var(--eds-accent);
}

.eds-side-actions {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.eds-side-actions button,
.eds-side-actions a {
  min-height: 44px;
  border: 1px solid var(--eds-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
  color: var(--eds-text);
  padding: 12px;
  text-align: left;
  text-decoration: none;
  font-size: var(--eds-md);
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .035), 0 8px 20px rgba(0, 0, 0, .035);
}

.eds-page {
  width: calc(100% - var(--eds-sidebar-w));
  max-width: calc(100vw - var(--eds-sidebar-w));
  min-width: 0;
  margin-left: var(--eds-sidebar-w);
  padding: 32px;
  overflow: visible;
}

.eds-topbar {
  position: sticky;
  top: 0;
  z-index: var(--eds-z-header);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin: -32px -32px 24px;
  padding: calc(32px + var(--eds-safe-top)) 32px 20px;
  border-bottom: 1px solid var(--eds-line);
  background: rgba(245, 245, 247, .82);
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .035);
}

.eds-topbar > div {
  min-width: 0;
}

.eds-topbar-actions,
.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--eds-space-8);
}

.eds-h1,
.eds-h2 {
  margin: 0;
  letter-spacing: 0;
}

.eds-h1 {
  font-size: var(--eds-display);
  font-weight: 600;
  line-height: 1.12;
}

.eds-h2 {
  font-size: var(--eds-title);
  font-weight: 600;
  line-height: 1.2;
}

.eds-subtitle {
  max-width: 760px;
  margin-top: 8px;
  color: var(--eds-muted);
  font-size: var(--eds-md);
  font-weight: 400;
  line-height: 1.45;
}

@media (min-width: 901px) {
  .eds-topbar {
    align-items: center;
    min-height: 124px;
    margin: -32px -32px 0;
  }

  .eds-topbar > div:first-child {
    display: grid;
    align-content: center;
    gap: 6px;
  }

  .eds-h1 {
    font-size: 28px;
    line-height: 1.12;
  }

  .eds-subtitle {
    margin: 0;
    font-size: 14px;
    line-height: 1.42;
  }

  main.eds-page > .eds-topbar + * {
    margin-top: 24px;
  }

  .eds-topbar-actions,
  .topbar-actions {
    align-self: center;
  }
}

.eds-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--eds-control-sm);
  border: 0;
  border-radius: var(--eds-radius-12);
  background: var(--eds-accent);
  color: #fff;
  padding: 0 12px;
  font-size: var(--eds-sm);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--eds-shadow-control);
  transition: transform var(--eds-fast) var(--eds-ease), box-shadow var(--eds-fast) var(--eds-ease), background var(--eds-fast) var(--eds-ease);
}

.eds-button:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, .06), 0 12px 28px rgba(0, 122, 255, .24);
}

.eds-button:active,
.eds-clickable:active {
  transform: scale(.985);
}

.eds-button:disabled,
.eds-button[aria-disabled="true"] {
  opacity: .48;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

[data-ui-component="Checkbox"][data-ui-variant="selection-row"] {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
}

[data-ui-component="SelectableList"][data-ui-variant="participant-list"]
  .participant-person-list {
  row-gap: 9px;
}

.eds-button:focus-visible,
.eds-body button:focus-visible,
.eds-body input:focus-visible,
.eds-body textarea:focus-visible {
  outline: 3px solid rgba(0, 122, 255, .34);
  box-shadow: var(--eds-focus-ring);
  outline-offset: 2px;
}

.eds-button-secondary {
  border: 1px solid var(--eds-line);
  background: rgba(255, 255, 255, .78);
  color: var(--eds-text);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 20px rgba(0, 0, 0, .035);
}

.eds-button-danger {
  border: 1px solid rgba(255, 59, 48, .24);
  background: var(--eds-danger);
  color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 8px 22px rgba(255, 59, 48, .18);
}

.eds-button-danger:hover {
  background: #e9352b;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .06), 0 12px 28px rgba(255, 59, 48, .24);
}

.eds-button-small {
  min-height: var(--eds-control-sm);
  padding: 0 12px;
  border-radius: 12px;
  font-size: var(--eds-sm);
}

@media (max-width: 720px) {
  .eds-button,
  .eds-button-small {
    min-height: var(--eds-control-md);
  }
}

/* Shared dark compatibility layer. Product-local surfaces extend this in their
   own final CSS layer, but may not replace the token contract. */
:is([data-theme="dark"] .eds-body, .eds-body[data-theme="dark"]) .eds-sidebar,
:is([data-theme="dark"] .eds-body, .eds-body[data-theme="dark"]) .eds-topbar,
:is([data-theme="dark"] .eds-body, .eds-body[data-theme="dark"]) .eds-bottom-nav,
:is([data-theme="dark"] .eds-body, .eds-body[data-theme="dark"]) .mobile-bottom-nav-scroll {
  border-color: var(--eds-line);
  background: color-mix(in srgb, var(--eds-surface-1) 92%, transparent);
  color: var(--eds-text-1);
}

:is([data-theme="dark"] .eds-body, .eds-body[data-theme="dark"]) :is(
  .eds-card,
  .stat-card,
  .profile-card,
  .popover-panel,
  .eds-select-menu,
  .eds-date-popover,
  .event-list-row,
  .attendance-row,
  .participant-person-row,
  .number-row,
  .item-row,
  .admin-user-card,
  .admin-role-card
) {
  border-color: var(--eds-line);
  background: var(--eds-surface-1);
  color: var(--eds-text-1);
}

:is([data-theme="dark"] .eds-body, .eds-body[data-theme="dark"])
  .filter-menu[open]
  > :is(.filter-menu-panel, .popover-panel.filter-menu-panel),
:is([data-theme="dark"] .eds-body, .eds-body[data-theme="dark"])
  .sort-menu[open]
  > :is(.sort-menu-panel, .popover-panel.sort-menu-panel) {
  border-color: var(--eds-line);
  background: var(--eds-surface-1);
  color: var(--eds-text-1);
}

:is([data-theme="dark"] .eds-body, .eds-body[data-theme="dark"])
  .list-toolbar.filter-bar
  .eds-filter-search
  .eds-input,
:is([data-theme="dark"] .eds-body, .eds-body[data-theme="dark"])
  .list-toolbar.filter-bar
  .filter-toolbar
  .eds-input {
  border-color: var(--eds-line-strong);
  background: var(--eds-surface-3);
  color: var(--eds-text-1);
}

:is([data-theme="dark"] .eds-body, .eds-body[data-theme="dark"]) :is(
  .eds-input,
  .eds-select-button,
  .eds-date-button,
  input:not([type="checkbox"]):not([type="radio"]),
  textarea,
  select
) {
  border-color: var(--eds-line-strong);
  background: var(--eds-surface-3);
  color: var(--eds-text-1);
}

:is([data-theme="dark"] .eds-body, .eds-body[data-theme="dark"]) :is(
  .eds-button-secondary,
  .eds-button-ghost,
  .permission-chip,
  .account-menu-trigger
) {
  border-color: var(--eds-line-strong);
  background: var(--eds-surface-3);
  color: var(--eds-text-1);
}

:is([data-theme="dark"] .eds-body, .eds-body[data-theme="dark"])
  .admin-users-page
  .admin-permission-fieldset {
  border-color: var(--eds-line);
  background: var(--eds-surface-2);
}

:is([data-theme="dark"] .eds-body, .eds-body[data-theme="dark"]) :is(
  .eds-meta,
  small,
  .eds-field-label
) {
  color: var(--eds-text-2);
}

.eds-grid {
  display: grid;
  gap: var(--eds-gap);
  min-width: 0;
}

.eds-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: var(--eds-gap);
  margin-bottom: var(--eds-gap-lg);
}

.eds-dashboard-row {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, .75fr);
  gap: var(--eds-gap);
  align-items: stretch;
  min-width: 0;
  margin-bottom: var(--eds-gap);
}

.eds-equal-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--eds-gap);
  min-width: 0;
  margin-bottom: var(--eds-gap);
}

.eds-activity-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--eds-gap);
}

.eds-card {
  position: relative;
  container-type: inline-size;
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(60, 60, 67, .11);
  border-radius: var(--eds-radius);
  background: var(--eds-panel);
  backdrop-filter: blur(16px);
  box-shadow: var(--eds-shadow-card);
  cursor: default;
  transition: box-shadow var(--eds-base) var(--eds-ease), border-color var(--eds-base) var(--eds-ease);
}

.eds-card--compact,
.eds-card[data-density="compact"] {
  padding: var(--eds-space-16);
  border-radius: var(--eds-radius-16);
}

.eds-card--regular,
.eds-card[data-density="regular"] {
  padding: var(--eds-space-24);
  border-radius: var(--eds-radius-20);
}

.eds-card--spacious,
.eds-card[data-density="spacious"] {
  padding: var(--eds-space-32);
  border-radius: var(--eds-radius-24);
}

.eds-card:has(input:focus-visible),
.eds-card:has(.eds-select-button:focus-visible),
.eds-card:has(.eds-date-button:focus-visible) {
  border-color: rgba(0, 122, 255, .18);
  box-shadow: var(--eds-shadow-card-hover);
}

.eds-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.eds-card-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: none;
}

.eds-card--compact .eds-card-header,
.eds-card[data-density="compact"] .eds-card-header {
  gap: var(--eds-space-8);
  margin-bottom: var(--eds-space-12);
}

.eds-card--spacious .eds-card-header,
.eds-card[data-density="spacious"] .eds-card-header {
  gap: var(--eds-space-16);
  margin-bottom: var(--eds-space-20);
}

.eds-label {
  margin-bottom: 8px;
  color: var(--eds-muted);
  font-size: var(--eds-sm);
  font-weight: 500;
}

.eds-value {
  font-size: var(--eds-number);
  font-weight: 600;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.eds-meta {
  margin-top: 6px;
  color: var(--eds-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

.eds-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--eds-accent-soft);
  color: var(--eds-accent);
  font-size: var(--eds-xs);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.eds-tag-green {
  background: var(--eds-green-soft);
  color: var(--eds-green);
}

.eds-tag-orange {
  background: var(--eds-orange-soft);
  color: var(--eds-orange);
}

.eds-tag-red {
  background: var(--eds-red-soft);
  color: var(--eds-red);
}

.eds-tag[data-ui-variant="task-inspection"] {
  background: var(--eds-yellow-soft);
  color: var(--eds-yellow);
}

.eds-tag[data-ui-variant="task-care"] {
  background: var(--eds-amber-soft);
  color: var(--eds-amber);
}

.eds-tag[data-ui-variant="task-repair"] {
  background: var(--eds-orange-soft);
  color: var(--eds-orange);
}

.eds-tag[data-ui-variant="task-loss"] {
  background: var(--eds-red-soft);
  color: var(--eds-red);
}

.eds-tag[data-ui-variant="task-duplicate"] {
  background: var(--eds-coral-soft);
  color: var(--eds-coral);
}

.eds-tag[data-ui-variant="task-multiple"] {
  background: var(--eds-vermilion-soft);
  color: var(--eds-vermilion);
}

.eds-info-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(60, 60, 67, .11);
  border-radius: 999px;
  background: rgba(255, 255, 255, .56);
  color: rgba(60, 60, 67, .58);
  font-size: 0;
  font-weight: 600;
  line-height: 1;
  cursor: help;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .018);
  transition: background var(--eds-fast) var(--eds-ease), border-color var(--eds-fast) var(--eds-ease), color var(--eds-fast) var(--eds-ease), box-shadow var(--eds-fast) var(--eds-ease);
}

.eds-info-button::before {
  content: "?";
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: inherit;
  font-size: 12px;
  line-height: 1;
}

.eds-info-button:hover,
.eds-info-button:focus-visible {
  border-color: rgba(0, 122, 255, .26);
  background: #fff;
  color: var(--eds-accent);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 22px rgba(0, 0, 0, .08);
}

.eds-info-corner {
  position: absolute;
  right: 6px;
  top: 6px;
}

.eds-popover-help {
  position: fixed;
  left: var(--eds-float-left);
  top: var(--eds-float-top);
  z-index: var(--eds-z-popover);
  width: min(244px, calc(100vw - 32px));
  padding: 10px 12px;
  border: 1px solid rgba(60, 60, 67, .13);
  border-radius: 14px;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(18px);
  color: var(--eds-text);
  font-size: var(--eds-sm);
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .055), 0 14px 36px rgba(0, 0, 0, .14);
  opacity: 0;
  transform: translateY(-4px) scale(.985);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity var(--eds-base) var(--eds-ease), transform var(--eds-base) var(--eds-ease);
}

.eds-popover-help.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.eds-list {
  display: grid;
  gap: 12px;
}

.eds-list-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.eds-filter-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  width: 100%;
  min-width: 0;
  height: var(--eds-control-sm);
}

.eds-filter-search .eds-input,
.eds-list-toolbar .eds-input[type="search"] {
  box-sizing: border-box;
  height: var(--eds-control-sm);
  min-height: var(--eds-control-sm);
  border-radius: var(--eds-radius-12);
  padding: 0 12px;
  font-size: var(--eds-sm);
}

.eds-filter-search[data-ui-variant="toolbar-search-clearable"] {
  position: relative;
}

.eds-filter-search[data-ui-variant="toolbar-search-clearable"] .eds-input {
  padding-right: 40px;
}

.eds-filter-search-clear {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 6px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: rgba(60, 60, 67, .58);
  cursor: pointer;
  transform: translateY(-50%);
}

.eds-filter-search-clear[hidden] {
  display: none !important;
}

.eds-filter-search-clear:hover,
.eds-filter-search-clear:focus-visible {
  background: rgba(60, 60, 67, .08);
  color: rgba(60, 60, 67, .82);
  outline: none;
}

.eds-filter-search-clear .eds-lucide-icon {
  width: 12px;
  height: 12px;
}

.eds-filter-menu {
  position: relative;
  justify-self: end;
  align-self: center;
  display: grid;
  place-items: center;
  width: var(--eds-control-sm);
  min-width: var(--eds-control-sm);
  height: var(--eds-control-sm);
  min-height: var(--eds-control-sm);
  margin: 0;
  padding: 0;
  overflow: visible;
  z-index: var(--eds-z-popover);
}

.eds-filter-trigger {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--eds-control-sm);
  min-width: var(--eds-control-sm);
  height: var(--eds-control-sm);
  min-height: var(--eds-control-sm);
  border: 1px solid var(--eds-line);
  border-radius: var(--eds-radius-12);
  background: rgba(255, 255, 255, .78);
  color: var(--eds-muted);
  padding: 0;
  cursor: pointer;
  list-style: none;
}

.eds-filter-trigger::-webkit-details-marker {
  display: none;
}

.eds-filter-trigger:hover,
.eds-filter-trigger:focus-visible,
.eds-filter-menu[open] > .eds-filter-trigger,
.eds-filter-menu.is-filtered > .eds-filter-trigger {
  border-color: rgba(0, 122, 255, .24);
  background: var(--eds-accent-soft);
  color: var(--eds-accent);
  outline: none;
}

.eds-filter-icon {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
}

.eds-filter-icon::before,
.eds-filter-icon::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  height: 1.6px;
  border-radius: var(--eds-radius-pill);
  background: currentColor;
  box-shadow: 0 6px 0 currentColor, 0 12px 0 currentColor;
}

.eds-filter-icon::before {
  top: 2px;
}

.eds-filter-icon::after {
  top: 0;
  width: 4px;
  height: 4px;
  border: 1.4px solid currentColor;
  border-radius: var(--eds-radius-pill);
  background: #fff;
  box-shadow: 8px 6px 0 -1.4px #fff, 8px 6px 0 0 currentColor, 0 12px 0 -1.4px #fff, 0 12px 0 0 currentColor;
}

.eds-filter-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: var(--eds-z-popover);
  display: none;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  width: min(360px, calc(100vw - 40px));
  max-width: calc(100vw - 40px);
  max-height: min(520px, calc(100vh - 120px));
  overflow: auto;
  border: 1px solid rgba(60, 60, 67, .12);
  border-radius: var(--eds-radius-16);
  background: rgba(255, 255, 255, .97);
  box-shadow: var(--eds-shadow-float);
  padding: 12px;
}

.eds-filter-menu[open] > .eds-filter-panel {
  display: grid;
}

.eds-filter-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 24px;
  gap: 12px;
}

.eds-filter-panel-head strong {
  font-size: var(--eds-sm);
  font-weight: 600;
}

.eds-filter-reset {
  color: var(--eds-accent);
  font-size: var(--eds-xs);
  font-weight: 500;
  text-decoration: none;
}

.eds-filter-group {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.eds-filter-group-title {
  color: var(--eds-muted);
  font-size: var(--eds-fs-11);
  font-weight: 500;
}

.eds-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
}

.eds-filter-chip {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  max-width: 100%;
  border: 1px solid var(--eds-line);
  border-radius: var(--eds-radius-pill);
  background: rgba(255, 255, 255, .78);
  color: var(--eds-text);
  padding: 0 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: var(--eds-xs);
  font-weight: 500;
  line-height: 30px;
  text-decoration: none;
}

.eds-filter-chip:hover,
.eds-filter-chip:focus-visible,
.eds-filter-chip.is-active {
  border-color: rgba(0, 122, 255, .28);
  background: var(--eds-accent-soft);
  color: var(--eds-accent);
  outline: none;
}

.eds-item-row {
  position: relative;
  container-type: inline-size;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(60, 60, 67, .10);
  border-radius: 18px;
  background: rgba(255, 255, 255, .58);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .025), 0 8px 18px rgba(0, 0, 0, .025);
  overflow: hidden;
  text-align: left;
  transition: background var(--eds-fast) var(--eds-ease), border-color var(--eds-fast) var(--eds-ease), box-shadow var(--eds-fast) var(--eds-ease), transform var(--eds-fast) var(--eds-ease);
}

.eds-item-row--compact,
.eds-item-row[data-density="compact"] {
  gap: var(--eds-space-12);
  padding: var(--eds-space-8) var(--eds-space-12);
  border-radius: var(--eds-radius-14);
}

.eds-item-row--spacious,
.eds-item-row[data-density="spacious"] {
  gap: var(--eds-space-20);
  padding: var(--eds-space-16);
  border-radius: var(--eds-radius-20);
}

button.eds-item-row,
.eds-item-row[role="button"] {
  width: 100%;
  cursor: pointer;
}

button.eds-item-row:hover,
.eds-item-row[role="button"]:hover {
  border-color: rgba(0, 122, 255, .18);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .035), 0 12px 24px rgba(0, 0, 0, .055);
  transform: scale(1.002);
}

.eds-item-row.is-selected {
  border-color: rgba(0, 122, 255, .20);
  background: rgba(0, 122, 255, .055);
}

.eds-item-row.is-selected::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 999px;
  background: var(--eds-accent);
}

.eds-date-chip {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 2px;
  min-width: 72px;
  min-height: 64px;
  border-radius: 16px;
  background: rgba(0, 122, 255, .10);
  color: var(--eds-accent);
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.eds-date-chip strong {
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
}

.eds-date-chip span {
  font-size: var(--eds-xs);
  font-weight: 500;
}

/* EventRow / DateChip canonical contract.
   Measured from the accepted Performance event list and shared by products. */
[data-ui-component="DateChip"] {
  box-sizing: border-box;
  display: grid;
  grid-template-rows: auto auto;
  align-content: center;
  place-items: center;
  gap: 2px;
  width: 58px;
  min-width: 58px;
  max-width: 58px;
  height: 58px;
  min-height: 58px;
  max-height: 58px;
  padding: 6px 4px;
  overflow: hidden;
  border: 1px solid rgba(0, 122, 255, .22);
  border-radius: 14px;
  background: rgba(0, 122, 255, .08);
  color: var(--eds-accent);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}

[data-ui-component="DateChip"] strong {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  color: var(--eds-accent);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

[data-ui-component="DateChip"] span {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 3px 0 0;
  overflow: hidden;
  color: color-mix(in srgb, var(--eds-accent) 74%, var(--eds-muted));
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.05;
  text-align: center;
  text-overflow: clip;
  white-space: nowrap;
}

[data-ui-component="EventDateSection"] {
  display: grid;
  gap: 8px;
}

[data-ui-component="EventDateSection"] + [data-ui-component="EventDateSection"] {
  margin-top: 12px;
}

[data-ui-component="EventDateSection"] > .event-date-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 28px;
  padding: 5px 8px;
  border-radius: 10px;
  background: rgba(242, 242, 247, .56);
}

[data-ui-component="EventDateSection"] > .event-date-section-head strong {
  color: var(--eds-text);
  font-size: 12px;
  font-weight: 600;
}

[data-ui-component="EventDateSection"] > .event-date-section-head span {
  color: var(--eds-muted);
  font-size: 11px;
  font-weight: 500;
}

[data-ui-component="EventRow"] {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(150px, auto);
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 66px;
  padding: 9px 12px;
  border: 1px solid rgba(60, 60, 67, .10);
  border-radius: 16px;
  background: rgba(255, 255, 255, .68);
  color: var(--eds-text);
  text-decoration: none;
}

[data-ui-component="EventRow"][data-ui-variant="event-list"] {
  gap: 14px;
  min-height: 99px;
  padding: 11px 12px;
}

[data-ui-component="EventRow"]:hover,
[data-ui-component="EventRow"]:focus-visible {
  border-color: rgba(0, 122, 255, .22);
  background: rgba(0, 122, 255, .045);
  box-shadow: 0 10px 28px rgba(0, 122, 255, .07);
  outline: none;
}

[data-ui-component="EventRow"].is-past-event {
  opacity: .78;
}

[data-ui-component="EventRow"].is-past-event:hover,
[data-ui-component="EventRow"].is-past-event:focus-visible {
  opacity: 1;
}

[data-ui-component="EventRow"].is-today-event {
  border-color: rgba(0, 122, 255, .18);
  background: linear-gradient(135deg, rgba(0, 122, 255, .08), rgba(255, 255, 255, .88));
}

[data-ui-component="EventRow"] .event-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}

[data-ui-component="EventRow"] .event-main > strong,
[data-ui-component="EventRow"] .event-main .meta {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

[data-ui-component="EventRow"] .event-main > strong {
  margin: 0;
  color: var(--eds-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.22;
}

[data-ui-component="EventRow"] .event-main .meta {
  margin: 6px 0 0;
  color: var(--eds-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

[data-ui-component="EventRow"] .event-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin: 2px 0 0;
  color: var(--eds-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

[data-ui-component="EventRow"] [data-block="shared-status-tag"] {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-width: 0;
  max-width: 100%;
  height: 26px;
  min-height: 26px;
  max-height: 26px;
  padding: 0 9px;
  overflow: hidden;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 12px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

[data-ui-component="EventRow"] .team-label-tag {
  border: 1px solid rgba(60, 60, 67, .10);
  background: rgba(242, 242, 247, .90);
  color: rgb(99, 99, 102);
  font-weight: 600;
  box-shadow: none;
}

[data-ui-component="EventRow"] .event-side {
  display: grid;
  justify-items: end;
  gap: 5px;
  min-width: 0;
  color: var(--eds-muted);
  font-size: 12px;
  text-align: right;
  white-space: nowrap;
}

[data-ui-component="EventRow"] .participant-count {
  max-width: 180px;
  overflow: hidden;
  color: var(--eds-muted);
  font-size: 13px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eds-form {
  display: grid;
  gap: 12px;
}

/* CreateForm keeps every create-object surface on one compact geometry.
   Product classes may arrange fields, but may not redefine their visual scale. */
.eds-create-form {
  display: grid;
  gap: var(--eds-space-12);
  min-width: 0;
}

.eds-create-form .form-grid {
  gap: var(--eds-space-12);
}

.eds-create-form .form-section {
  gap: var(--eds-space-8);
}

.eds-create-form .form-row {
  gap: var(--eds-space-8);
}

.eds-create-form .eds-field {
  gap: 6px;
  min-width: 0;
}

.eds-create-form .eds-field-label {
  font-size: var(--eds-xs);
  line-height: 1.2;
}

.eds-create-form .eds-input,
.eds-create-form .eds-select-button,
.eds-create-form .eds-date-button {
  min-height: var(--eds-control-sm);
  padding: 7px 10px;
  font-size: var(--eds-sm);
}

.eds-create-form textarea.eds-input {
  min-height: 64px;
  resize: vertical;
}

.eds-create-form > .eds-button[type="submit"] {
  justify-self: start;
  min-height: var(--eds-control-sm);
}

/* Choice groups are inline form content, not nested surfaces. */
.eds-create-form [data-ui-component="CheckboxGroup"] {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

@media (max-width: 720px) {
  .eds-create-form .eds-input,
  .eds-create-form .eds-select-button,
  .eds-create-form .eds-date-button,
  .eds-create-form > .eds-button[type="submit"] {
    min-height: var(--eds-control-md);
  }

  .eds-create-form .eds-input,
  .eds-create-form .eds-select-button,
  .eds-create-form .eds-date-button {
    padding: 9px 12px;
  }

  .eds-create-form textarea.eds-input {
    min-height: 72px;
  }
}

/* EDS-COMPONENT: DataTable */
.eds-body .eds-data-table[data-ui-component="DataTable"] {
  display: grid;
  min-width: 0;
  width: 100%;
}

.eds-body .eds-data-table-row {
  display: grid;
  grid-template-columns: minmax(150px, .9fr) repeat(4, minmax(0, 1fr));
  min-width: 0;
  border-bottom: 1px solid var(--eds-line);
}

.eds-body .eds-data-table-row > * {
  min-width: 0;
  padding: var(--eds-space-12);
  font-size: var(--eds-sm);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.eds-body .eds-data-table-header > * {
  color: var(--eds-text-2);
  font-size: var(--eds-xs);
}

.eds-body .app-table[data-ui-component="DataTable"] {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.eds-body .app-table[data-ui-component="DataTable"] th,
.eds-body .app-table[data-ui-component="DataTable"] td {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  border-bottom: 1px solid var(--eds-line);
  padding: var(--eds-space-12);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  white-space: normal;
}

.eds-body .app-table[data-ui-component="DataTable"] th {
  color: var(--eds-text-2);
  font-size: var(--eds-xs);
  font-weight: 600;
}

.eds-body .app-table[data-ui-component="DataTable"] td {
  font-size: var(--eds-sm);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .eds-body .eds-data-table-header {
    display: none;
  }

  .eds-body .eds-data-table-row {
    display: block;
    padding-block: var(--eds-space-8);
  }

  .eds-body .eds-data-table-row > * {
    display: block;
    padding: var(--eds-space-4) 0;
  }

  .eds-body .eds-data-table-row [role="cell"][data-label]::before {
    content: attr(data-label) " · ";
    color: var(--eds-text-2);
    font-weight: 600;
  }

  .eds-body .app-table[data-ui-component="DataTable"],
  .eds-body .app-table[data-ui-component="DataTable"] tbody,
  .eds-body .app-table[data-ui-component="DataTable"] tr,
  .eds-body .app-table[data-ui-component="DataTable"] th,
  .eds-body .app-table[data-ui-component="DataTable"] td {
    display: block;
  }

  .eds-body .app-table[data-ui-component="DataTable"] thead {
    display: none;
  }

  .eds-body .app-table[data-ui-component="DataTable"] tr {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    border-bottom: 1px solid var(--eds-line);
    padding-block: var(--eds-space-8);
  }

  .eds-body .app-table[data-ui-component="DataTable"] th,
  .eds-body .app-table[data-ui-component="DataTable"] td {
    border-bottom: 0;
    padding: var(--eds-space-4) 0;
  }

  .eds-body .app-table[data-ui-component="DataTable"] td[data-label]::before {
    content: attr(data-label) " · ";
    color: var(--eds-text-2);
    font-weight: 600;
  }

  .eds-body .app-table[data-ui-component="DataTable"] .eds-data-table-primary-link { display: inline-flex; align-items: center; min-width: var(--eds-control-md); min-height: var(--eds-control-md); }
}

.eds-form-stretch {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
}

.eds-form-stretch > .eds-button:last-child {
  width: 100%;
  margin-top: auto;
}

.eds-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.eds-field-label {
  color: var(--eds-muted);
  font-size: var(--eds-sm);
  font-weight: 500;
  line-height: 1.2;
}

.eds-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.eds-input,
.eds-select-button,
.eds-date-button {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--eds-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .86);
  color: var(--eds-text);
  padding: 12px 16px;
  font-size: var(--eds-md);
  font-weight: 400;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .02), 0 1px 2px rgba(0, 0, 0, .025);
  transition: border-color var(--eds-fast) var(--eds-ease), box-shadow var(--eds-fast) var(--eds-ease), background var(--eds-fast) var(--eds-ease);
}

.eds-input:hover,
.eds-select-button:hover,
.eds-date-button:hover {
  border-color: rgba(60, 60, 67, .2);
  background: #fff;
}

.eds-input:focus-visible,
.eds-select-button:focus-visible,
.eds-date-button:focus-visible {
  background: #fff;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .02), 0 0 0 4px rgba(0, 122, 255, .13);
}

@media (max-width: 720px) {
  .eds-create-form .eds-input,
  .eds-create-form .eds-select-button,
  .eds-create-form .eds-date-button {
    font-size: var(--eds-fs-16);
  }
}

.eds-select,
.eds-date {
  position: relative;
  min-width: 0;
}

.eds-select-button,
.eds-date-button {
  position: relative;
  padding-right: 44px;
  text-align: left;
  cursor: pointer;
}

.eds-select-button::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.8px solid var(--eds-muted);
  border-bottom: 1.8px solid var(--eds-muted);
  transform: translateY(-65%) rotate(45deg);
  transition: transform var(--eds-base) var(--eds-ease);
}

.eds-select.is-open .eds-select-button::after {
  transform: translateY(-35%) rotate(225deg);
}

.eds-date-button {
  font-variant-numeric: tabular-nums;
}

.eds-date-button::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 14px;
  height: 14px;
  border: 1.7px solid var(--eds-muted);
  border-top-width: 4px;
  border-radius: 4px;
  transform: translateY(-50%);
  opacity: .78;
}

.eds-select-menu,
.eds-date-popover {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: var(--eds-z-popover);
  border: 1px solid rgba(60, 60, 67, .13);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 18px 48px rgba(0, 0, 0, .18);
  opacity: 0;
  transform: translateY(-4px) scale(.985);
  pointer-events: none;
  transform-origin: top left;
  transition: opacity var(--eds-base) var(--eds-ease), transform var(--eds-base) var(--eds-ease);
}

.eds-select-menu {
  right: 0;
  display: grid;
  gap: 4px;
  max-height: 220px;
  overflow: auto;
  padding: 6px;
  border-radius: 16px;
}

.eds-date-popover {
  width: 296px;
  padding: 16px;
  border-radius: 18px;
}

.eds-select.is-open .eds-select-menu,
.eds-date.is-open .eds-date-popover {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.eds-select-menu.is-floating,
.eds-date-popover.is-floating {
  position: fixed;
  left: var(--eds-float-left);
  right: auto;
  top: var(--eds-float-top);
  z-index: calc(var(--eds-z-popover) + 200);
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.eds-select-menu.is-floating {
  width: var(--eds-float-width);
}

.eds-popover-above {
  transform-origin: bottom left;
}

.eds-select-option {
  min-height: 40px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--eds-text);
  padding: 8px 12px;
  text-align: left;
  font-size: var(--eds-sm);
  font-weight: 500;
  cursor: pointer;
  transition: background var(--eds-fast) var(--eds-ease), color var(--eds-fast) var(--eds-ease);
}

.eds-select-option:hover {
  background: rgba(0, 122, 255, .08);
  color: var(--eds-accent);
}

.eds-select-option.is-active {
  background: var(--eds-accent-soft);
  color: var(--eds-accent);
}

.eds-date-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.eds-date-title {
  font-size: var(--eds-md);
  font-weight: 600;
}

.eds-date-nav {
  display: flex;
  gap: 8px;
}

.eds-date-nav button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--eds-line);
  border-radius: 10px;
  background: rgba(242, 242, 247, .74);
  color: var(--eds-muted);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.eds-weekdays,
.eds-date-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.eds-weekdays span {
  padding: 4px 0;
  color: var(--eds-muted);
  font-size: 11px;
  font-weight: 500;
  text-align: center;
}

.eds-date-day {
  height: 34px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--eds-text);
  font-size: var(--eds-sm);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}

.eds-date-day:hover {
  background: rgba(0, 122, 255, .08);
  color: var(--eds-accent);
}

.eds-date-day.is-muted {
  color: rgba(60, 60, 67, .42);
}

.eds-date-day.is-today {
  box-shadow: inset 0 0 0 1px rgba(0, 122, 255, .32);
  color: var(--eds-accent);
}

.eds-date-day.is-selected {
  background: var(--eds-accent);
  color: #fff;
  box-shadow: 0 6px 14px rgba(0, 122, 255, .22);
}

.eds-date-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--eds-line);
}

.eds-date-foot button {
  min-height: 32px;
  border: 0;
  background: transparent;
  color: var(--eds-accent);
  font-size: var(--eds-sm);
  font-weight: 600;
  cursor: pointer;
}

.eds-disclosure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 32px;
  align-items: start;
}

.eds-disclosure-card {
  min-width: 0;
  border: 1px solid var(--eds-line);
  border-radius: var(--eds-radius-16);
  background: rgba(255, 255, 255, .72);
  overflow: hidden;
}

.eds-disclosure-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
}

.eds-disclosure-summary::-webkit-details-marker {
  display: none;
}

.eds-disclosure-summary:hover,
.eds-disclosure-summary:focus-visible {
  background: rgba(0, 122, 255, .045);
  outline: none;
}

.eds-disclosure-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.eds-disclosure-copy strong {
  overflow: hidden;
  color: var(--eds-text);
  font-size: var(--eds-sm);
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eds-disclosure-copy small {
  overflow: hidden;
  color: var(--eds-muted);
  font-size: var(--eds-xs);
  font-weight: 400;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eds-disclosure-chevron {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--eds-line);
  border-radius: var(--eds-radius-pill);
  background: rgba(255, 255, 255, .82);
  color: var(--eds-muted);
}

.eds-disclosure-chevron::before {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--eds-base) var(--eds-ease);
}

.eds-disclosure-card[open] .eds-disclosure-chevron {
  border-color: rgba(0, 122, 255, .24);
  background: var(--eds-accent-soft);
  color: var(--eds-accent);
}

.eds-disclosure-card[open] .eds-disclosure-chevron::before {
  transform: translateY(2px) rotate(225deg);
}

.eds-disclosure-body {
  display: grid;
  gap: 10px;
  padding: 0 14px 14px;
}

/* EDS-COMPOSITION: SettingsDictionaries compact */ .eds-body .settings-eds-page:has([data-ui-component="SettingsDictionaries"][data-ui-variant="compact"]) [data-block="settings-layout"] > .stack { gap: 10px !important; }
.eds-body .settings-eds-page [data-ui-component="SettingsDictionaries"][data-ui-variant="compact"] { display: grid !important; gap: 8px !important; margin-top: 0 !important; }
.eds-body .settings-eds-page [data-ui-component="SettingsDictionaries"][data-ui-variant="compact"] :is(.section-heading, .section-heading h2) { margin: 0 !important; }
.eds-body .settings-eds-page [data-ui-component="SettingsDictionaries"][data-ui-variant="compact"] .settings-dict-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; column-gap: 16px !important; row-gap: 8px !important; }
.eds-body .settings-eds-page [data-ui-component="SettingsDictionaries"][data-ui-variant="compact"] .settings-dict-column { display: grid !important; align-content: start !important; gap: 8px !important; }
@media (max-width: 900px) {
  .eds-body .settings-eds-page [data-ui-component="SettingsDictionaries"][data-ui-variant="compact"] .settings-dict-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 8px !important; }
  .eds-body .settings-eds-page [data-ui-component="SettingsDictionaries"][data-ui-variant="compact"] .settings-dict-column { gap: 8px !important; }
}

.eds-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--eds-z-overlay);
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(24, 22, 29, .42);
  animation: edsFadeIn var(--eds-base) var(--eds-ease);
}

.eds-modal-overlay[hidden],
.eds-hidden {
  display: none !important;
}

.eds-modal {
  position: relative;
  z-index: var(--eds-z-modal);
  display: flex;
  flex-direction: column;
  width: min(680px, 100%);
  max-height: 90vh;
  overflow: hidden;
  border-radius: 26px;
  background: var(--eds-panel-solid);
  box-shadow: var(--eds-shadow-float);
  animation: edsSheetIn var(--eds-slow) var(--eds-ease);
}

.eds-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex: none;
  padding: 24px 24px 16px;
}

.eds-modal-body {
  min-height: 0;
  overflow: auto;
  padding: 0 24px 24px;
}

.eds-toast {
  position: fixed;
  right: 24px;
  bottom: calc(24px + var(--eds-safe-bottom));
  z-index: var(--eds-z-toast);
  padding: 12px 16px;
  border-radius: 16px;
  background: #18161d;
  color: #fff;
  box-shadow: var(--eds-shadow-float);
  font-size: 14px;
  font-weight: 500;
}

.eds-metric-group {
  container-type: inline-size;
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: var(--eds-space-12);
}

.eds-metric-row {
  display: grid;
  gap: var(--eds-space-4);
  min-width: 0;
  padding: var(--eds-space-12);
  border: 1px solid var(--eds-line);
  border-radius: var(--eds-radius-16);
  background: var(--eds-surface-2);
}

.eds-metric-row > span,
.eds-metric-row > strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.eds-metric-row > span {
  color: var(--eds-text-2);
  font-size: var(--eds-xs);
}

.eds-metric-group--compact,
.eds-metric-group[data-density="compact"] {
  gap: var(--eds-space-8);
}

.eds-metric-group--spacious,
.eds-metric-group[data-density="spacious"] {
  gap: var(--eds-space-16);
}

.eds-metric-row--compact,
.eds-metric-row[data-density="compact"] {
  padding: var(--eds-space-8) var(--eds-space-12);
}

.eds-metric-row--spacious,
.eds-metric-row[data-density="spacious"] {
  padding: var(--eds-space-16);
  border-radius: var(--eds-radius-20);
}

/* EDS-2026-0019: operational states are not KPI tiles. The group retains
   desktop scanability and becomes one divided work surface on compact widths. */
[data-ui-component="OperationalStatusGroup"] {
  container-type: inline-size;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--eds-space-12);
}

[data-ui-component="OperationalStatusGroup"] [data-ui-part="status-row"] {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--eds-space-8) var(--eds-space-12);
  min-width: 0;
  min-height: 92px;
  padding: var(--eds-space-12);
  border: 1px solid var(--eds-line);
  border-radius: var(--eds-radius-12);
  background: var(--eds-surface-2);
}

[data-ui-component="OperationalStatusGroup"] [data-ui-part="identity"] { min-width: 0; }
[data-ui-component="OperationalStatusGroup"] [data-ui-part="identity"] strong,
[data-ui-component="OperationalStatusGroup"] [data-ui-part="lifecycle"],
[data-ui-component="OperationalStatusGroup"] [data-ui-part="secondary-detail"] { display: block; }
[data-ui-component="OperationalStatusGroup"] [data-ui-part="identity"] strong { overflow-wrap: anywhere; }
[data-ui-component="OperationalStatusGroup"] [data-ui-part="lifecycle"],
[data-ui-component="OperationalStatusGroup"] [data-ui-part="secondary-detail"] { color: var(--eds-text-2); font-size: var(--eds-xs); }
[data-ui-component="OperationalStatusGroup"] [data-ui-part="lifecycle"] { margin-top: var(--eds-space-4); }
[data-ui-component="OperationalStatusGroup"] [data-ui-part="secondary-detail"] { grid-column: 1 / -1; }

@media (max-width: 720px) {
  [data-ui-component="OperationalStatusGroup"] {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: var(--eds-space-4);
    border: 1px solid var(--eds-line);
    border-radius: var(--eds-radius-18);
    background: var(--eds-surface-2);
    box-shadow: var(--eds-shadow-1);
  }
  [data-ui-component="OperationalStatusGroup"] [data-ui-part="status-row"] {
    min-height: 56px;
    padding: var(--eds-space-8) var(--eds-space-12);
    border: 0;
    border-bottom: 1px solid var(--eds-line);
    border-radius: var(--eds-radius-12);
    background: transparent;
    box-shadow: none;
  }
  [data-ui-component="OperationalStatusGroup"] [data-ui-part="status-row"]:last-child { border-bottom: 0; }
  [data-ui-component="OperationalStatusGroup"] [data-ui-part="secondary-detail"] { display: none; }
}

.eds-mobile-fab {
  position: fixed;
  left: min(calc(100vw - 66px), 324px);
  bottom: calc(66px + var(--eds-safe-bottom));
  z-index: var(--eds-z-toast);
  display: none;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 18px;
  background: var(--eds-accent);
  color: var(--eds-text-inverse);
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .08), 0 14px 30px rgba(0, 122, 255, .24);
  cursor: pointer;
  transition: transform var(--eds-fast) var(--eds-ease), box-shadow var(--eds-fast) var(--eds-ease);
}

.eds-mobile-fab:active {
  transform: scale(.96);
}

.mobile-product-title {
  display: none;
}

.eds-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: calc(var(--eds-z-popover) + 300);
  display: none;
  padding: 6px 8px calc(6px + var(--eds-safe-bottom));
  border-top: 1px solid var(--eds-line);
  background: color-mix(in srgb, var(--eds-bg) 92%, transparent);
  backdrop-filter: blur(20px);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, .06);
}

.eds-bottom-nav__bar {
  display: grid;
  grid-template-columns: repeat(var(--eds-bottom-nav-count, 4), minmax(0, 1fr));
  gap: 4px;
  width: var(--eds-bottom-nav-width);
  max-width: var(--eds-container-phone);
  margin: 0;
}

.eds-bottom-nav__item {
  display: grid;
  place-items: center;
  gap: 2px;
  width: auto;
  min-width: 0;
  min-height: 50px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--eds-muted);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
}

.eds-bottom-nav__item.is-active {
  background: var(--eds-accent-soft);
  color: var(--eds-accent);
}

.eds-bottom-nav__item[aria-current="page"] {
  background: var(--eds-accent-soft);
  color: var(--eds-accent);
}

.mobile-bottom-nav-scroll {
  gap: 4px;
}

/* EDS-2026-0016: optional dense rail for a large mobile information space.
   The variant retains the full-width BottomNavigation surface; only its
   destinations may be horizontally explored. */
@media (max-width: 760px) {
  .eds-bottom-nav[data-eds-variant~="raised-horizontal-rail"] {
    bottom: var(--eds-space-8);
    padding-top: var(--eds-space-4);
    padding-bottom: calc(var(--eds-space-4) + var(--eds-safe-bottom));
    transition: padding var(--eds-fast) var(--eds-ease), bottom var(--eds-fast) var(--eds-ease);
  }

  .eds-bottom-nav[data-eds-variant~="raised-horizontal-rail"] .eds-bottom-nav__bar {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: var(--eds-space-4);
    max-width: none;
    width: 100%;
  }

  .eds-bottom-nav[data-eds-variant~="raised-horizontal-rail"] .mobile-bottom-nav-home {
    width: 76px;
    min-width: 76px;
  }

  .eds-bottom-nav[data-eds-variant~="raised-horizontal-rail"] .mobile-bottom-nav-scroll {
    display: flex;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
  }

  .eds-bottom-nav[data-eds-variant~="raised-horizontal-rail"] .mobile-bottom-nav-scroll::-webkit-scrollbar {
    display: none;
  }

  .eds-bottom-nav[data-eds-variant~="raised-horizontal-rail"] .mobile-bottom-nav-scroll .eds-bottom-nav__item {
    flex: 0 0 76px;
    scroll-snap-align: start;
  }

  .eds-bottom-nav[data-eds-variant~="raised-horizontal-rail"].is-compact .eds-bottom-nav__item {
    min-height: 38px;
  }

  .eds-bottom-nav[data-eds-variant~="raised-horizontal-rail"] .eds-bottom-nav__item > span:last-child {
    display: block;
    max-height: 1.4em;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
    transition: max-height var(--eds-fast) var(--eds-ease), opacity var(--eds-fast) var(--eds-ease), transform var(--eds-fast) var(--eds-ease);
  }

  .eds-bottom-nav[data-eds-variant~="raised-horizontal-rail"].is-compact .eds-bottom-nav__item > span:last-child {
    max-height: 0;
    opacity: 0;
    transform: translateY(-3px);
  }
}

.eds-bottom-nav__separator {
  display: block;
  flex: 0 0 1px;
  align-self: stretch;
  width: 1px;
  min-width: 1px;
  margin: 8px 4px;
  background: var(--eds-line);
}

.eds-body .eds-bottom-nav__system .side-system-icon {
  box-sizing: border-box;
  width: 22px;
  min-width: 22px;
  height: 22px;
  min-height: 22px;
  margin: 0 auto 2px;
  border-radius: 7px;
  font-size: 8px;
}

.eds-body .eds-bottom-nav__system[data-icon-tone="platform"] .side-system-icon {
  border: 1px solid #1d1d1f;
  background: #1d1d1f;
  color: #fff;
}

.eds-body .eds-bottom-nav__system[data-icon-tone="peach"] .side-system-icon,
.eds-body .eds-bottom-nav__system.side-system-costume .side-system-icon {
  border: 1px solid color-mix(in srgb, #eb9f75 50%, transparent);
  background: color-mix(in srgb, #eb9f75 12%, transparent);
  color: #b45f38;
}

.eds-body .eds-bottom-nav__system[data-icon-tone="impulse"] .side-system-icon,
.eds-body .eds-bottom-nav__system.side-system-impulse .side-system-icon {
  border: 1px solid color-mix(in srgb, #1473e6 48%, transparent);
  background: color-mix(in srgb, #1473e6 12%, transparent);
  color: #0e62c6;
  font-size: 10px;
}

@container (max-width: 360px) {
  .eds-metric-group {
    grid-template-columns: 1fr;
    gap: 0;
    padding: var(--eds-space-4);
    border: 1px solid var(--eds-line);
    border-radius: var(--eds-radius-20);
    background: var(--eds-surface-2);
    box-shadow: var(--eds-shadow-1);
  }

  .eds-metric-row {
    min-height: 52px;
    padding: 8px 10px;
    border: 0;
    border-bottom: 1px solid var(--eds-line);
    border-radius: 12px;
    background: transparent;
    box-shadow: none;
  }

  .eds-metric-row:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 1250px) {
  .eds-dashboard-row,
  .eds-equal-row,
  .eds-activity-row {
    grid-template-columns: 1fr;
  }

  .eds-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body.eds-body {
    overflow-x: hidden;
  }

  .eds-sidebar {
    display: none !important;
  }

  .eds-page {
    width: 100% !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    padding: 12px 12px calc(86px + var(--eds-safe-bottom)) !important;
  }

  .eds-topbar {
    position: sticky;
    top: 0;
    z-index: var(--eds-z-header);
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    min-height: auto !important;
    margin: -12px -12px 12px !important;
    padding: calc(12px + var(--eds-safe-top)) 12px 12px !important;
    border-bottom: 1px solid rgba(60, 60, 67, .09);
    background: rgba(245, 245, 247, .9);
    backdrop-filter: blur(18px);
  }

  .eds-topbar > div {
    min-width: 0;
  }

  .eds-topbar > div:first-child {
    grid-column: 1;
    grid-row: 1;
    padding-right: 6px;
  }

  .eds-topbar-actions,
  .topbar-actions {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    justify-self: end;
    gap: 6px;
  }

  .mobile-product-title {
    display: block;
    margin-bottom: 5px;
    color: var(--eds-muted);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
  }

  .eds-h1 {
    font-size: 24px;
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  .eds-subtitle {
    max-width: 36ch;
    margin-top: 5px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: var(--eds-muted);
    font-size: 12px;
    line-height: 1.35;
  }

  .toplink {
    display: inline-flex;
    margin-bottom: 8px;
    font-size: 12px;
  }

  .eds-topbar .eds-button {
    width: 100%;
    min-height: 44px;
  }

  .eds-topbar .eds-topbar-actions > .eds-button,
  .eds-topbar .topbar-actions > .eds-button {
    display: none;
  }

  .eds-body .eds-topbar .account-menu-trigger {
    min-width: 38px;
    min-height: 38px;
    padding: 4px;
  }

  .eds-body .eds-topbar .account-menu-trigger .account-user {
    display: none;
  }

  .eds-card {
    padding: 16px;
    border-radius: 18px;
  }

  .eds-form-row,
  .eds-disclosure-grid {
    grid-template-columns: 1fr;
  }

  .eds-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eds-list-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .eds-filter-panel {
    right: 0;
    width: min(340px, calc(100vw - 32px));
    max-height: min(460px, calc(100dvh - 120px));
  }

  .eds-filter-chips {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  /* EDS-2026-0020: an operational Radio group keeps its fast, three-way
     choice on narrow screens. Long labels wrap inside their own target rather
     than being ellipsized or forcing the group outside the viewport. */
  .eds-filter-chips[data-ui-component="Radio"][data-ui-variant="segmented-choice-mobile"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .eds-filter-chips[data-ui-component="Radio"][data-ui-variant="segmented-choice-mobile"] .eds-filter-chip {
    justify-content: center;
    min-height: 44px;
    padding: 4px 6px;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    line-height: 16px;
    text-align: center;
  }

  .eds-stats-grid {
    gap: 0;
    margin-bottom: var(--eds-space-12);
    padding: var(--eds-space-4);
    border: 1px solid rgba(60, 60, 67, .10);
    border-radius: 18px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .025), 0 8px 22px rgba(0, 0, 0, .055);
  }

  .eds-stats-grid > .eds-card {
    display: block;
    min-height: 52px;
    padding: 8px 10px;
    border: 0;
    border-bottom: 1px solid rgba(60, 60, 67, .09);
    border-radius: 12px;
    background: transparent;
    box-shadow: inset 0 0 0 1px rgba(60, 60, 67, .09);
    overflow: hidden;
  }

  .eds-stats-grid > .eds-card:nth-child(odd),
  .eds-stats-grid > .eds-card:nth-last-child(-n + 2) {
    border: 0;
  }

  .eds-stats-grid .eds-label {
    margin-bottom: 3px;
    padding-right: 0;
    font-size: 12px;
    line-height: 1.2;
  }

  .eds-stats-grid .eds-value {
    font-size: 23px;
    line-height: 1.05;
  }

  .eds-stats-grid .eds-meta {
    margin-top: 2px;
    overflow: hidden;
    color: var(--eds-muted);
    font-size: 11px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .eds-stats-grid .eds-info-corner {
    display: none;
  }

  .eds-card-tools .eds-button-small {
    display: none;
  }

  .eds-bottom-nav {
    --eds-bottom-nav-width: 100%;
    display: block !important;
  }

  .eds-bottom-nav__bar {
    display: grid !important;
    grid-template-columns: 82px minmax(0, 1fr) !important;
    gap: 4px;
    width: 100% !important;
    max-width: none !important;
    margin: 0;
  }

  .mobile-bottom-nav-home {
    width: 82px !important;
    min-width: 82px !important;
  }

  .mobile-bottom-nav-scroll {
    display: flex;
    min-width: 0;
    border-radius: 18px;
    background:
      linear-gradient(90deg, rgba(242, 242, 247, .9), rgba(242, 242, 247, .22) 18px, rgba(242, 242, 247, .22) calc(100% - 18px), rgba(242, 242, 247, .9)),
      rgba(242, 242, 247, .42);
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: rgba(60, 60, 67, .22) transparent;
    -webkit-overflow-scrolling: touch;
    padding-right: 4px;
  }

  .mobile-bottom-nav-scroll::-webkit-scrollbar {
    height: 3px;
  }

  .mobile-bottom-nav-scroll::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(60, 60, 67, .22);
  }

  .mobile-bottom-nav-scroll .eds-bottom-nav__item {
    flex: 0 0 82px;
    scroll-snap-align: start;
  }

  .eds-bottom-nav__bar > *,
  .mobile-bottom-nav-scroll > * {
    min-width: 0;
  }

  .eds-bottom-nav .eds-bottom-nav__item {
    box-sizing: border-box;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 3px;
    width: 100%;
    min-width: 0;
    min-height: 56px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: var(--eds-muted);
    padding: 4px 2px;
    text-align: center;
    text-decoration: none;
    font-size: 9.5px;
    font-weight: 500;
    line-height: 1.08;
    list-style: none;
  }

  .eds-bottom-nav .nav-icon {
    display: grid !important;
    place-items: center !important;
    width: 22px !important;
    min-width: 22px !important;
    height: 22px !important;
    min-height: 22px !important;
    margin: 0 auto 2px !important;
  }

  .eds-bottom-nav .nav-icon-home::before {
    width: 16px;
    height: 18px;
    inset: 2px auto auto 50%;
    transform: translateX(-50%);
  }

  .eds-bottom-nav .nav-icon-checkin::before,
  .eds-bottom-nav .nav-icon-events::before,
  .eds-bottom-nav .nav-icon-expcheck::before,
  .eds-bottom-nav .nav-icon-settings::before {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .eds-bottom-nav .nav-icon-events::after {
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
  }

  .eds-bottom-nav .nav-icon-checkin::after {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -48%) rotate(-45deg);
  }

  .eds-bottom-nav .nav-icon-expcheck::after {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -46%) rotate(-45deg);
  }

  .eds-bottom-nav .nav-icon-participants::before,
  .eds-bottom-nav .nav-icon-numbers::before {
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
  }

  .eds-bottom-nav .nav-icon-participants::after,
  .eds-bottom-nav .nav-icon-numbers::after {
    right: auto;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
  }

  .eds-bottom-nav .nav-icon-overview::before {
    top: auto;
    bottom: 4px;
    left: 4px;
    transform: none;
  }

  .eds-bottom-nav .eds-bottom-nav__item > span:last-child {
    display: block;
    max-width: 78px;
    overflow: visible;
    overflow-wrap: anywhere;
    line-height: 1.2;
    text-overflow: clip;
    white-space: normal;
  }

  .eds-bottom-nav .is-active,
  .eds-bottom-nav [aria-current="page"] {
    background: var(--eds-accent-soft);
    color: var(--eds-accent);
  }

  .eds-modal-overlay {
    align-items: end;
    padding: 0;
  }

  .eds-date-popover.is-floating {
    left: 12px !important;
    right: auto !important;
    top: auto !important;
    bottom: calc(12px + var(--eds-safe-bottom));
    width: 296px;
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - 96px);
    overflow: auto;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08), 0 18px 48px rgba(0, 0, 0, .18);
    transform: translateY(0) scale(1);
    transform-origin: bottom left;
  }

  .eds-select-menu.is-floating:not([data-ui-variant="mobile-anchored"]) {
    left: 12px !important;
    right: auto !important;
    top: auto !important;
    bottom: calc(12px + var(--eds-safe-bottom));
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px);
    max-height: min(420px, calc(100dvh - 96px)) !important;
    overflow: auto;
    border-radius: 20px;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08), 0 18px 48px rgba(0, 0, 0, .18);
    transform: translateY(0) scale(1);
    transform-origin: bottom left;
  }

  .eds-body > .eds-select-menu[data-ui-variant="mobile-anchored"].is-floating {
    left: var(--eds-float-left);
    right: auto;
    top: var(--eds-float-top);
    bottom: auto;
    width: var(--eds-float-width);
    max-width: var(--eds-float-width);
    max-height: 220px;
    border-radius: 16px;
    transform-origin: top left;
  }

  .eds-select-option {
    min-height: 44px;
  }

  .eds-modal {
    width: 100%;
    max-height: 88vh;
    border-radius: 26px 26px 0 0;
  }

  .eds-modal-header {
    padding: 18px 16px 12px;
  }

  .eds-modal-body {
    padding: 0 16px calc(18px + var(--eds-safe-bottom));
  }
}

/* MetadataList: compact facts inside detail cards. */
.eds-body [data-ui-component="MetadataList"] { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 16px; min-width: 0; margin: 0; }
.eds-body [data-ui-component="MetadataList"] [data-ui-part="fact-item"] { display: grid; gap: 3px; min-width: 0; border-bottom: 1px solid rgba(60, 60, 67, .1); padding: 9px 0; }
.eds-body [data-ui-component="MetadataList"] [data-ui-part="label"] { min-width: 0; overflow: hidden; color: var(--muted, var(--eds-text-2)); font-size: 11px; font-weight: var(--fw-medium, 500); line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.eds-body [data-ui-component="MetadataList"] [data-ui-part="value"] { min-width: 0; margin: 0; overflow: hidden; color: var(--text, var(--eds-text)); font-size: 13px; font-weight: var(--fw-semibold, 650); line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 901px) { .eds-body [data-ui-component="MetadataList"][data-ui-variant="grid"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .eds-body [data-ui-component="MetadataList"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid rgba(60, 60, 67, .1); border-radius: 18px; background: rgba(255, 255, 255, .82); padding: 4px; }
  .eds-body [data-ui-component="MetadataList"] [data-ui-part="fact-item"] { min-height: 52px; border: 0; border-bottom: 1px solid rgba(60, 60, 67, .09); border-radius: 12px; padding: 8px 10px; }
  .eds-body [data-ui-component="MetadataList"] [data-ui-part="fact-item"]:nth-child(odd) { border-right: 1px solid rgba(60, 60, 67, .09); }
  .eds-body [data-ui-component="MetadataList"] [data-ui-part="fact-item"]:last-child, .eds-body [data-ui-component="MetadataList"] [data-ui-part="fact-item"]:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
  .eds-body .eds-stats-grid[data-ui-component="MetricGroup"]:is([data-ui-variant="segmented-2x2"], [data-ui-variant="segmented-2-column"]) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-bottom: 12px; border: 1px solid rgba(60, 60, 67, .10); border-radius: 18px; background: rgba(255, 255, 255, .82); padding: 4px; box-shadow: none; }
  .eds-body .eds-stats-grid[data-ui-component="MetricGroup"]:is([data-ui-variant="segmented-2x2"], [data-ui-variant="segmented-2-column"]) > .eds-card.stat-card { min-height: 52px; border: 0; border-radius: 0; background: transparent; padding: 8px 10px; box-shadow: none; }
  .eds-body .eds-stats-grid[data-ui-component="MetricGroup"]:is([data-ui-variant="segmented-2x2"], [data-ui-variant="segmented-2-column"]) > .eds-card.stat-card p { overflow: visible; text-overflow: clip; white-space: normal; }
  .eds-body .eds-stats-grid[data-ui-component="MetricGroup"]:is([data-ui-variant="segmented-2x2"], [data-ui-variant="segmented-2-column"]) > .eds-card.stat-card:nth-child(odd) { border-right: 1px solid rgba(60, 60, 67, .09); }
  .eds-body .eds-stats-grid[data-ui-component="MetricGroup"]:is([data-ui-variant="segmented-2x2"], [data-ui-variant="segmented-2-column"]) > .eds-card.stat-card:nth-last-child(n + 3) { border-bottom: 1px solid rgba(60, 60, 67, .09); }

  /* EDS-2026-0020: registered Performance mobile repair. */
  .eds-body .eds-stats-grid[data-ui-component="MetricGroup"]:is([data-ui-variant="segmented-2x2"], [data-ui-variant="segmented-2-column"]) > .eds-card.stat-card {
    min-width: 0 !important;
    height: auto !important;
    max-height: none !important;
  }

  .eds-body .eds-stats-grid[data-ui-component="MetricGroup"]:is([data-ui-variant="segmented-2x2"], [data-ui-variant="segmented-2-column"]) > .eds-card.stat-card > span {
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
  }

  .eds-body [data-ui-component="CheckboxGroup"][data-ui-variant="stage-tags"] > label.stage-tag {
    min-height: 44px !important;
    height: 44px !important;
    max-height: 44px !important;
  }

  .eds-body .settings-sidebar-row:has(> [data-ui-component="Button"][data-ui-variant="dictionary-order"]) {
    grid-template-columns: 44px minmax(0, 1fr) !important;
  }

  .eds-body .settings-sidebar-row > [data-ui-component="Button"][data-ui-variant="dictionary-order"].settings-sidebar-drag-handle {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
  }
}

@keyframes edsFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes edsSheetIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

/* SearchCombobox owns visibility: ranked-out options never remain in layout. */
[data-ui-component="SearchCombobox"] [role="option"][hidden] {
  display: none !important;
}

[data-live-search-item][hidden] {
  display: none !important;
}

/* EDS-COMPONENT: PersonRow */
.eds-body [data-ui-component="PersonRow"] {
  box-sizing: border-box; display: grid;
  grid-template-columns: minmax(240px, 1.5fr) minmax(120px, .6fr) minmax(150px, .8fr) minmax(112px, auto);
  grid-template-areas: "identity state tags contacts";
  align-items: center; gap: 10px; width: 100%; min-width: 0; min-height: 58px;
  border: 1px solid rgba(60, 60, 67, .1); border-radius: 16px;
  background: rgba(255, 255, 255, .68); padding: 10px 12px;
  color: inherit; cursor: pointer; box-shadow: none;
}

.eds-body [data-ui-component="PersonRow"]:hover,
.eds-body [data-ui-component="PersonRow"]:focus-visible {
  border-color: rgba(0, 122, 255, .22); background: rgba(0, 122, 255, .045);
  box-shadow: 0 10px 28px rgba(0, 122, 255, .07); outline: none;
}

.eds-body [data-ui-component="PersonRow"] .participant-person-main { grid-area: identity; display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 10px; min-width: 0; }
.eds-body [data-ui-component="PersonRow"] .avatar { width: 40px; min-width: 40px; height: 40px; }
.eds-body [data-ui-component="PersonRow"] .participant-person-state { grid-area: state; min-width: 0; }
.eds-body [data-ui-component="PersonRow"] .participant-person-tags { grid-area: tags; min-width: 0; }

.eds-body [data-ui-component="PersonRow"] .participant-contact-row,
.eds-body [data-ui-component="PersonRow"] .row-actions {
  grid-area: contacts; justify-self: end;
}

.eds-body [data-ui-component="PersonRow"] .participant-person-title { display: flex; align-items: center; gap: 6px; min-width: 0; }
.eds-body [data-ui-component="PersonRow"] .table-link { flex: 0 1 auto; min-width: 0; overflow: hidden; color: var(--text, var(--eds-text)); font-size: 14px; font-weight: var(--fw-semibold, 650); line-height: 1.2; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }

/* EDS-COMPONENT: SelectableList */
.eds-body [data-ui-component="SelectableList"] {
  box-sizing: border-box;
  display: grid;
  gap: 9px;
  min-width: 0;
}

.eds-body [data-ui-component="SelectableList"] [data-list-selection-row] {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.eds-body [data-ui-component="SelectableList"] [data-list-selection-row].is-selected {
  border-color: rgba(52, 199, 89, .28);
  background: rgba(52, 199, 89, .07);
}

.eds-body [data-ui-component="SelectableList"][data-selection-highlight="none"]
  [data-list-selection-row].is-selected,
.eds-body [data-ui-component="SelectableList"][data-selection-highlight="none"]
  [data-list-selection-row].is-selected .eds-item-row {
  border-color: var(--eds-line);
  background: transparent;
}

.eds-body [data-ui-component="SelectableList"] > .list-column-header {
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  padding-inline: 10px;
}

.eds-body [data-ui-component="SelectableList"]
  > .list-column-header
  .list-column-header-select {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 28px auto;
  align-items: center;
  gap: 10px;
  width: max-content;
}

.eds-body [data-ui-component="SelectableList"]
  > .list-column-header
  .list-column-header-select > input {
  justify-self: center;
}

.eds-body [data-ui-component="SelectableList"] [data-list-selection-summary] {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 36px;
  padding: 4px 8px;
  border: 1px solid rgba(52, 199, 89, .2);
  border-radius: 10px;
  background: rgba(52, 199, 89, .07);
  font-size: 11px;
}

.eds-body [data-ui-component="SelectableList"] [data-list-selection-summary][hidden] {
  display: none !important;
}

/* EDS-COMPONENT: ParticipantProfileShell */
.eds-body [data-ui-component="ParticipantProfileShell"] { box-sizing: border-box; min-width: 0; }
.eds-body [data-ui-component="ParticipantProfileShell"] [data-ui-part="profile-summary-grid"],
.eds-body [data-ui-component="ParticipantProfileShell"] .participant-profile-overview-grid {
  box-sizing: border-box; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; gap: 10px; min-width: 0;
}
.eds-body [data-ui-component="ParticipantProfileShell"] [data-ui-part="summary-panel"],
.eds-body [data-ui-component="ParticipantProfileShell"] .participant-summary-panel {
  position: relative; box-sizing: border-box; display: grid; align-content: start; gap: 9px; min-width: 0; height: 100%; padding: 10px;
  border: 1px solid rgba(60, 60, 67, .11); border-radius: 10px; background: rgba(242, 242, 247, .3);
}
.eds-body [data-ui-component="ParticipantProfileShell"] .participant-profile-work { background: rgba(255, 255, 255, .72); }
.eds-body [data-ui-component="ParticipantProfileShell"] .participant-profile-sync { align-self: stretch; }
.eds-body [data-ui-component="ParticipantProfileShell"] .participant-summary-panel-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; min-height: 32px; padding-right: 70px;
}
.eds-body [data-ui-component="ParticipantProfileShell"] .participant-summary-panel:not(.participant-profile-work) .participant-summary-panel-head { padding-right: 0; }
.eds-body [data-ui-component="ParticipantProfileShell"] .participant-summary-panel-head > div { display: grid; gap: 2px; min-width: 0; }

.eds-body [data-ui-component="ParticipantProfileShell"] .participant-summary-panel-head strong {
  color: var(--text, var(--eds-text)); font-size: 12px; font-weight: var(--fw-semibold, 650); line-height: 1.2;
}

.eds-body [data-ui-component="ParticipantProfileShell"] .participant-summary-panel-head span { color: var(--muted, var(--eds-text-2)); font-size: 10.5px; line-height: 1.2; }

.eds-body [data-ui-component="ParticipantProfileShell"] .participant-summary-rows { display: grid; gap: 0; min-width: 0; margin: 0; }

.eds-body [data-ui-component="ParticipantProfileShell"] .participant-summary-rows > div {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, auto); align-items: center;
  gap: 8px; min-width: 0; min-height: 29px; padding: 5px 0; border-bottom: 1px solid rgba(60, 60, 67, .07);
}

.eds-body [data-ui-component="ParticipantProfileShell"] .participant-summary-rows > div:last-child { border-bottom: 0; }

.eds-body [data-ui-component="ParticipantProfileShell"] .participant-summary-rows dt,
.eds-body [data-ui-component="ParticipantProfileShell"] .participant-summary-rows dd { min-width: 0; margin: 0; }

.eds-body [data-ui-component="ParticipantProfileShell"] .participant-summary-rows dt { color: var(--muted, var(--eds-text-2)); font-size: 11px; line-height: 1.22; }

.eds-body [data-ui-component="ParticipantProfileShell"] .participant-summary-rows dd {
  display: grid; justify-items: end; gap: 2px; color: var(--text, var(--eds-text)); font-size: 12px; line-height: 1.2; text-align: right;
}

.eds-body [data-ui-component="ParticipantProfileShell"] .participant-summary-rows dd strong,
.eds-body [data-ui-component="ParticipantProfileShell"] .participant-summary-rows dd small {
  min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.eds-body [data-ui-component="ParticipantProfileShell"] .participant-summary-rows dd small { color: var(--muted, var(--eds-text-2)); font-size: 10px; }

.eds-body [data-ui-component="ParticipantProfileShell"] dd,
.eds-body [data-ui-component="ParticipantProfileShell"] strong,
.eds-body [data-ui-component="ParticipantProfileShell"] small { min-width: 0; overflow-wrap: anywhere; }

/* EDS-COMPONENT: PeriodFilter */
.eds-body [data-ui-component="PeriodFilter"] {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px 36px auto;
  align-items: end;
  gap: 8px;
  min-width: 0;
}

.eds-body [data-ui-component="PeriodFilter"] [data-ui-part="period-trigger"],
.eds-body [data-ui-component="PeriodFilter"] [data-ui-part="search-submit"] {
  box-sizing: border-box;
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
}

/* EDS-COMPONENT: InlineEditActions */
.eds-body [data-ui-component="InlineEditActions"] {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}

.eds-body [data-ui-component="InlineEditActions"] .eds-button {
  min-height: 32px;
}

@media (max-width: 720px) {
  .eds-body [data-ui-component="PersonRow"] {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "identity contacts"
      "state tags";
    gap: 6px 8px;
    min-height: 62px;
    padding: 9px 10px;
  }

  .eds-body [data-ui-component="PersonRow"] .participant-person-main { grid-template-columns: 34px minmax(0, 1fr); gap: 8px; }
  .eds-body [data-ui-component="PersonRow"] .avatar { width: 34px; min-width: 34px; height: 34px; min-height: 34px; font-size: 12px; }
  .eds-body [data-ui-component="PersonRow"] .table-link { overflow: visible; overflow-wrap: anywhere; text-overflow: clip; white-space: normal; }

  .eds-body [data-ui-component="PersonRow"] .participant-person-state {
    justify-self: start;
  }

  .eds-body [data-ui-component="PersonRow"] .participant-person-tags,
  .eds-body [data-ui-component="PersonRow"] .participant-contact-row,
  .eds-body [data-ui-component="PersonRow"] .row-actions {
    justify-self: end;
  }

  .eds-body [data-ui-component="ParticipantProfileShell"] [data-ui-part="profile-summary-grid"],
  .eds-body [data-ui-component="ParticipantProfileShell"] .participant-profile-overview-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .eds-body [data-ui-component="InlineEditActions"] { position: static; justify-content: flex-start; margin-bottom: 10px; }
}
