/* /foundation/index.css */

:root {
  
  
  --sand-0: #FFFFFF;  --sand-1: #FBFAF8;  --sand-2: #F7F6F3;  --sand-3: #F6F5F2;
  --sand-4: #F4F3F0;  --sand-5: #F0EEEA;  --sand-6: #EEEDE9;  --sand-7: #E9E7E2;
  --sand-8: #DAD7D0;  --sand-9: #8C8880;  --sand-10: #6B6760; --sand-11: #57544E;
  --sand-12: #1D1C1A;
  
  --night-0: #151514; --night-1: #181817; --night-2: #1A1A19; --night-3: #1D1D1C;
  --night-4: #252523; --night-5: #252524; --night-6: #2C2B29; --night-7: #2D2D2B;
  --night-8: #3A3936; --night-9: #6F6C66; --night-10: #9A968F; --night-11: #B5B2AB;
  --night-12: #ECEAE5;

  
  --green-l: #25754B;  --green-d: #5CBA86;
  --amber-l: #8F5E0E;  --amber-d: #D8A443;
  --red-l: #B23C30;    --red-d: #E57D70;
  --blue-l: #3570C4;   --blue-d: #72A5EA;
  --violet-l: #7652C2; --violet-d: #A98DEB;
  --teal-l: #1E8580;   --teal-d: #58C0B6;
  --rose-l: #BC4270;   --rose-d: #E68AAB;
  --orange-l: #C0612B; --orange-d: #E3925F;
  --gray-l: #8A867E;   --gray-d: #8F8B84;

  
  --accent-indigo-l: #4B5BD6;   --accent-indigo-d: #8E9AF3;
  --accent-blue-l: #287CF0;     --accent-blue-d: #7AB0F8;
  --accent-violet-l: #7348CC;   --accent-violet-d: #AE93F0;
  --accent-teal-l: #1A7F7A;     --accent-teal-d: #5CC4BA;
  --accent-rose-l: #B93D68;     --accent-rose-d: #EC8DAE;
  --accent-graphite-l: #34332F; --accent-graphite-d: #D9D6CF;
  --accent-l: var(--accent-graphite-l);
  --accent-d: var(--accent-graphite-d);

  
  --state-backlog-l: #A29E96;  --state-backlog-d: #6F6C66;
  --state-todo-l: #7C7870;     --state-todo-d: #A6A39C;
  --state-progress-l: #C88A14; --state-progress-d: #D8A443;
  --state-review-l: #7652C2;   --state-review-d: #A98DEB;
  --state-done-l: #2E8456;     --state-done-d: #5CBA86;

  
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px;
  --space-6: 24px; --space-8: 32px; --space-10: 40px; --space-12: 48px;

  
  --radius-xs: 4px;    
  --radius-sm: 6px;    
  --radius-md: 8px;    
  --radius-lg: 10px;   
  --radius-xl: 12px;   
  --radius-full: 999px;

  
  --font-sans: "Geist", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-features: "ss01", "cv11";
  --text-2xs: 11px;    
  --text-xs: 12px;     
  --text-sm: 13px;     
  --text-base: 14px;   
  --text-md: 15px;     
  --text-lg: 16px;
  --text-xl: 19px;     
  --text-2xl: 23px;    
  --weight-regular: 400; --weight-book: 450; --weight-medium: 500; --weight-semibold: 600;
  --leading-tight: 1.2; --leading-snug: 1.3; --leading-normal: 1.45; --leading-relaxed: 1.55;
  
  --leading-control-sm: 16px; 
  --leading-control: 20px;    
  --tracking-page-title: -0.022em; --tracking-title: -0.018em; --tracking-tight: -0.01em; --tracking-caps: 0.06em;

  
  --control-xs: 22px; --control-sm: 26px; --control-md: 30px; --control-lg: 36px;
  --row-height: 40px; --card-padding: 10px;
  --sidebar-width: 252px; --sidebar-row: 32px; --topbar-height: 46px;
  --subsidebar-width: 220px; 
  --icon-sm: 12px; --icon-md: 14px; --icon-lg: 16px; --icon-stroke: 1.8;

  
  --ease-out: cubic-bezier(.23, 1, .32, 1);      
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1); 
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);    
  --duration-fade: 120ms;    
  --duration-state: 140ms;   
  --duration-pop: 160ms;     
  --duration-scrim: 180ms;
  --duration-toast: 200ms;
  --duration-modal: 260ms;   
  --duration-drawer: 340ms;
  --duration-enter: 360ms;   
  --delay-tooltip: 350ms;
  --motion-rise: 8px;        
  --motion-drop: -4px;       
  --motion-toast: 14px;
  --motion-drawer: 48px;
  --motion-scale-from: .97;
  --motion-press-scale: .97;
  --motion-shimmer: eb-shimmer;

  
  --z-sticky: 5; --z-bar: 40; --z-drawer-scrim: 49; --z-drawer: 50; --z-scrim: 60; --z-modal: 61;
  --z-nav: 70; --z-popover: 80; --z-palette: 90; --z-toast: 100; --z-tooltip: 200; --z-skip: 300;

  
  --color-bg: var(--sand-1);
  --color-bg-sidebar: var(--sand-4);
  --color-surface: var(--sand-0);
  --color-surface-2: var(--sand-3);
  --color-surface-3: var(--sand-6);
  --color-sunken: var(--sand-2);
  --color-overlay: rgba(24, 22, 19, .28);
  --color-border: var(--sand-7);
  --color-border-strong: var(--sand-8);
  --color-divider: var(--sand-5);
  --color-text: var(--sand-12);
  --color-text-2: var(--sand-11);
  --color-text-3: var(--sand-10);
  --color-text-4: var(--sand-9);
  --color-text-inverse: var(--sand-0);
  --color-accent: var(--accent-l);
  --color-on-accent: #FFFFFF;
  --color-success: var(--green-l);
  --color-warning: var(--amber-l);
  --color-danger: var(--red-l);
  --color-on-danger: #FFFFFF;
  --hue-green: var(--green-l); --hue-amber: var(--amber-l); --hue-red: var(--red-l); --hue-blue: var(--blue-l);
  --hue-violet: var(--violet-l); --hue-teal: var(--teal-l); --hue-rose: var(--rose-l); --hue-orange: var(--orange-l); --hue-gray: var(--gray-l);
  --hue-mix: 100%; 
  --color-state-backlog: var(--state-backlog-l); --color-state-todo: var(--state-todo-l);
  --color-state-progress: var(--state-progress-l); --color-state-review: var(--state-review-l); --color-state-done: var(--state-done-l);
  --shadow-sm: 0 1px 2px rgba(28, 25, 20, .05);
  --shadow-card: 0 1px 2px rgba(28, 25, 20, .04), 0 0 0 1px var(--color-border);
  --shadow-card-hover: 0 2px 6px -2px rgba(0, 0, 0, .08), 0 0 0 1px var(--color-border-strong);
  --shadow-raise: 0 4px 12px -6px rgba(0, 0, 0, .1);
  --shadow-pop: 0 12px 32px -8px rgba(28, 25, 20, .16), 0 2px 6px -2px rgba(28, 25, 20, .06), 0 0 0 1px var(--color-border);
  --shadow-drag: 0 16px 36px -10px rgba(28, 25, 20, .28), 0 0 0 1px var(--color-border-strong);
  --shadow-panel-edge: -18px 0 40px -24px rgba(0, 0, 0, .25);
  --shadow-selected: 0 1px 2px rgba(0, 0, 0, .05), 0 0 0 1px var(--color-border);
  --color-selected-surface: var(--color-surface); 
  color-scheme: light;

  
  --color-accent-soft: color-mix(in srgb, var(--color-accent) 10%, transparent);
  --color-accent-line: color-mix(in srgb, var(--color-accent) 38%, transparent);
  --color-accent-hover: color-mix(in srgb, var(--color-accent) 88%, var(--color-text));
  --color-accent-active: color-mix(in srgb, var(--color-accent) 78%, var(--color-text));
  --color-success-soft: color-mix(in srgb, var(--color-success) 11%, transparent);
  --color-warning-soft: color-mix(in srgb, var(--color-warning) 12%, transparent);
  --color-danger-soft: color-mix(in srgb, var(--color-danger) 10%, transparent);
  --color-danger-hover: color-mix(in srgb, var(--color-danger) 88%, #000);
  --color-selection: color-mix(in srgb, var(--color-accent) 22%, transparent);
  --color-border-hover: color-mix(in srgb, var(--color-border-strong) 60%, var(--color-text-3));
  --focus-ring: 2px solid var(--color-accent);
  --focus-ring-offset: 1px;
  --focus-halo: 0 0 0 3px var(--color-accent-soft);
  --focus-halo-danger: 0 0 0 3px var(--color-danger-soft);
}

:root[data-theme="dark"] {
  --color-bg: var(--night-2); --color-bg-sidebar: var(--night-0); --color-surface: var(--night-3);
  --color-surface-2: var(--night-5); --color-surface-3: var(--night-7); --color-sunken: var(--night-1);
  --color-overlay: rgba(0, 0, 0, .55);
  --color-border: var(--night-6); --color-border-strong: var(--night-8); --color-divider: var(--night-4);
  --color-text: var(--night-12); --color-text-2: var(--night-11); --color-text-3: var(--night-10); --color-text-4: var(--night-9);
  --color-text-inverse: var(--night-0);
  --color-accent: var(--accent-d); --color-on-accent: #12131C;
  --color-success: var(--green-d); --color-warning: var(--amber-d); --color-danger: var(--red-d); --color-on-danger: #12131C;
  --hue-green: var(--green-d); --hue-amber: var(--amber-d); --hue-red: var(--red-d); --hue-blue: var(--blue-d);
  --hue-violet: var(--violet-d); --hue-teal: var(--teal-d); --hue-rose: var(--rose-d); --hue-orange: var(--orange-d); --hue-gray: var(--gray-d);
  --hue-mix: 72%;
  --color-state-backlog: var(--state-backlog-d); --color-state-todo: var(--state-todo-d);
  --color-state-progress: var(--state-progress-d); --color-state-review: var(--state-review-d); --color-state-done: var(--state-done-d);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow-card: 0 0 0 1px var(--color-border);
  --shadow-pop: 0 16px 40px -10px rgba(0, 0, 0, .6), 0 0 0 1px var(--color-border-strong);
  --shadow-drag: 0 18px 40px -10px rgba(0, 0, 0, .7), 0 0 0 1px var(--color-border-strong);
  --shadow-selected: none;
  --color-selected-surface: var(--night-7);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --color-bg: var(--night-2); --color-bg-sidebar: var(--night-0); --color-surface: var(--night-3);
    --color-surface-2: var(--night-5); --color-surface-3: var(--night-7); --color-sunken: var(--night-1);
    --color-overlay: rgba(0, 0, 0, .55);
    --color-border: var(--night-6); --color-border-strong: var(--night-8); --color-divider: var(--night-4);
    --color-text: var(--night-12); --color-text-2: var(--night-11); --color-text-3: var(--night-10); --color-text-4: var(--night-9);
    --color-text-inverse: var(--night-0);
    --color-accent: var(--accent-d); --color-on-accent: #12131C;
    --color-success: var(--green-d); --color-warning: var(--amber-d); --color-danger: var(--red-d); --color-on-danger: #12131C;
    --hue-green: var(--green-d); --hue-amber: var(--amber-d); --hue-red: var(--red-d); --hue-blue: var(--blue-d);
    --hue-violet: var(--violet-d); --hue-teal: var(--teal-d); --hue-rose: var(--rose-d); --hue-orange: var(--orange-d); --hue-gray: var(--gray-d);
    --hue-mix: 72%;
    --color-state-backlog: var(--state-backlog-d); --color-state-todo: var(--state-todo-d);
    --color-state-progress: var(--state-progress-d); --color-state-review: var(--state-review-d); --color-state-done: var(--state-done-d);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
    --shadow-card: 0 0 0 1px var(--color-border);
    --shadow-pop: 0 16px 40px -10px rgba(0, 0, 0, .6), 0 0 0 1px var(--color-border-strong);
    --shadow-drag: 0 18px 40px -10px rgba(0, 0, 0, .7), 0 0 0 1px var(--color-border-strong);
    --shadow-selected: none;
    --color-selected-surface: var(--night-7);
    color-scheme: dark;
  }
}

:root[data-accent="indigo"] { --accent-l: var(--accent-indigo-l); --accent-d: var(--accent-indigo-d); }
:root[data-accent="blue"] { --accent-l: var(--accent-blue-l); --accent-d: var(--accent-blue-d); }
:root[data-accent="violet"] { --accent-l: var(--accent-violet-l); --accent-d: var(--accent-violet-d); }
:root[data-accent="teal"] { --accent-l: var(--accent-teal-l); --accent-d: var(--accent-teal-d); }
:root[data-accent="rose"] { --accent-l: var(--accent-rose-l); --accent-d: var(--accent-rose-d); }
:root[data-accent="graphite"] { --accent-l: var(--accent-graphite-l); --accent-d: var(--accent-graphite-d); }

:root[data-density="compact"] { --row-height: 34px; --card-padding: 8px; }
:root[data-sidebar="compact"] { --sidebar-row: 28px; }

@media (max-width: 640px) { :root { --topbar-height: 50px; } }

@media (prefers-reduced-motion: reduce) {
  :root:not([data-motion="full"]) {
    --motion-rise: 0px; --motion-drop: 0px; --motion-toast: 0px; --motion-drawer: 0px;
    --motion-scale-from: 1; --motion-press-scale: 1; --motion-shimmer: none;
    --duration-pop: 120ms; --duration-toast: 120ms; --duration-modal: 120ms; --duration-drawer: 120ms; --duration-enter: 120ms;
    --ease-spring: var(--ease-out);
  }
}
:root[data-motion="reduce"] {
  --motion-rise: 0px; --motion-drop: 0px; --motion-toast: 0px; --motion-drawer: 0px;
  --motion-scale-from: 1; --motion-press-scale: 1; --motion-shimmer: none;
  --duration-pop: 120ms; --duration-toast: 120ms; --duration-modal: 120ms; --duration-drawer: 120ms; --duration-enter: 120ms;
  --ease-spring: var(--ease-out);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  font-feature-settings: var(--font-features);
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
::selection { background: var(--color-selection); }
input, textarea, [contenteditable] { caret-color: var(--color-accent); }

[hidden]:not([hidden="until-found" i]) { display: none !important; }

:focus { outline: none; }
:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-ring-offset); border-radius: var(--radius-xs); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--color-border-strong); border-radius: 10px; border: 3px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background-color: var(--color-text-4); }
::-webkit-scrollbar-track { background: transparent; }

@keyframes eb-fade { from { opacity: 0; } }
@keyframes eb-rise { from { opacity: 0; transform: translateY(var(--motion-rise)); } }
@keyframes eb-pop-in { from { opacity: 0; transform: translateY(var(--motion-drop)) scale(var(--motion-scale-from)); } }
@keyframes eb-modal-in { from { opacity: 0; transform: translateY(var(--motion-rise)) scale(var(--motion-scale-from)); } }
@keyframes eb-drawer-in { from { opacity: 0; transform: translateX(var(--motion-drawer)); } }
@keyframes eb-toast-in { from { opacity: 0; transform: translateY(var(--motion-toast)) scale(calc(var(--motion-scale-from) - .01)); } }
@keyframes eb-toast-out { to { opacity: 0; transform: translateY(calc(var(--motion-toast) / 3.5)); } }
@keyframes eb-sheet-in { from { opacity: 0; transform: translateY(calc(var(--motion-rise) * 3)); } }
@keyframes eb-grow-x { from { transform: scaleX(0); } }
@keyframes eb-spin { to { transform: rotate(360deg); } }
@keyframes eb-shimmer { from { background-position: 120% 0; } to { background-position: -100% 0; } }
@keyframes eb-underline-in { from { transform: scaleX(.4); opacity: 0; } }

/* /component/index.css */

.eb-icon { display: block; flex-shrink: 0; stroke-width: var(--icon-stroke); }

.eb-btn {
  --eb-btn-h: var(--control-md);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: var(--eb-btn-h); padding: 0 11px;
  border: 1px solid transparent; border-radius: var(--radius-sm); background: none;
  font-size: var(--text-sm); font-weight: var(--weight-medium); line-height: var(--leading-control-sm); white-space: nowrap;
  cursor: pointer; user-select: none;
  transition-property: background, border-color, color, box-shadow, transform;
  transition-duration: var(--duration-state);
}
.eb-btn .eb-icon { opacity: .9; }
.eb-btn:active:not(:disabled) { transform: scale(var(--motion-press-scale)); }
.eb-btn--sm { --eb-btn-h: var(--control-sm); padding: 0 8px; font-size: var(--text-xs); }
.eb-btn--lg { --eb-btn-h: var(--control-lg); padding: 0 14px; font-size: var(--text-base); line-height: var(--leading-control); }
.eb-btn--block { width: 100%; }

.eb-btn--primary { background: var(--color-accent); color: var(--color-on-accent); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .12); }
.eb-btn--primary:hover { background: var(--color-accent-hover); }
.eb-btn--primary:active { background: var(--color-accent-active); }
.eb-btn--secondary { background: var(--color-surface); border-color: var(--color-border-strong); color: var(--color-text); box-shadow: var(--shadow-sm); }
.eb-btn--secondary:hover { background: var(--color-surface-2); }
.eb-btn--secondary:active { background: var(--color-surface-3); }
.eb-btn--ghost { color: var(--color-text-2); }
.eb-btn--ghost:hover { background: var(--color-surface-2); color: var(--color-text); }
.eb-btn--ghost:active, .eb-btn--ghost[aria-pressed="true"] { background: var(--color-surface-3); color: var(--color-text); }
.eb-btn--danger { background: var(--color-danger); color: var(--color-on-danger); }
.eb-btn--danger:hover { background: var(--color-danger-hover); }
.eb-btn--danger-ghost { color: var(--color-danger); }
.eb-btn--danger-ghost:hover { background: var(--color-danger-soft); }

.eb-btn:disabled { opacity: .45; pointer-events: none; box-shadow: none; }
.eb-btn.is-loading { color: transparent !important; cursor: default; }
.eb-btn.is-loading > * { visibility: hidden; }
.eb-btn.is-loading::after {
  content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--color-on-accent); border-right-color: transparent;
  animation: eb-spin .7s linear infinite;
}
.eb-btn--secondary.is-loading::after, .eb-btn--ghost.is-loading::after, .eb-btn--danger-ghost.is-loading::after { border-color: var(--color-text-2); border-right-color: transparent; }
.eb-btn--danger.is-loading::after { border-color: var(--color-on-danger); border-right-color: transparent; }

.eb-ibtn {
  position: relative; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: var(--control-md); height: var(--control-md); padding: 0;
  border: 0; border-radius: var(--radius-sm); background: none; color: var(--color-text-2);
  cursor: pointer;
  transition: background var(--duration-state), color var(--duration-state);
}
.eb-ibtn:hover { background: var(--color-surface-2); color: var(--color-text); }
.eb-ibtn:active, .eb-ibtn[aria-pressed="true"] { background: var(--color-surface-3); color: var(--color-text); }
.eb-ibtn--sm { width: var(--control-sm); height: var(--control-sm); }
.eb-ibtn--xs { width: var(--control-xs); height: var(--control-xs); border-radius: var(--radius-xs); }
.eb-ibtn:disabled { opacity: .4; pointer-events: none; }

.eb-spinner {
  display: inline-block; flex-shrink: 0;
  width: var(--eb-spinner-size, 14px); height: var(--eb-spinner-size, 14px);
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
  color: var(--color-text-3);
  animation: eb-spin .7s linear infinite;
}
@media (prefers-reduced-motion: reduce) { :root:not([data-motion="full"]) .eb-spinner { animation-duration: 1.6s; } }
:root[data-motion="reduce"] .eb-spinner { animation-duration: 1.6s; }

.eb-input, .eb-textarea, .eb-select {
  width: 100%; height: var(--control-md); padding: 0 10px;
  border: 1px solid var(--color-border-strong); border-radius: var(--radius-sm);
  background: var(--color-surface); color: var(--color-text);
  font-size: var(--text-base); line-height: var(--leading-control);
  transition: border-color var(--duration-state), box-shadow var(--duration-state);
}
.eb-input::placeholder, .eb-textarea::placeholder { color: var(--color-text-3); }
.eb-input:hover, .eb-textarea:hover, .eb-select:hover { border-color: var(--color-border-hover); }
.eb-input:focus, .eb-textarea:focus, .eb-select:focus { border-color: var(--color-accent); box-shadow: var(--focus-halo); outline: none; }
.eb-input[aria-invalid="true"], .eb-textarea[aria-invalid="true"], .eb-select[aria-invalid="true"] { border-color: var(--color-danger); box-shadow: var(--focus-halo-danger); }
.eb-input:disabled, .eb-textarea:disabled, .eb-select:disabled { background: var(--color-surface-2); color: var(--color-text-3); cursor: not-allowed; }

.eb-inwrap { position: relative; display: flex; align-items: center; width: 100%; }
.eb-inwrap--lg .eb-input { height: var(--control-lg); }
.eb-inwrap--sm .eb-input { height: var(--control-sm); font-size: var(--text-sm); }
.eb-inwrap__icon { position: absolute; left: 9px; display: flex; color: var(--color-text-4); pointer-events: none; }
.eb-inwrap--icon .eb-input { padding-left: 30px; }
.eb-inwrap__kbd { position: absolute; right: 7px; display: flex; pointer-events: none; }
.eb-inwrap--kbd .eb-input { padding-right: 36px; }

.eb-textarea { height: auto; min-height: 72px; padding: 8px 10px; resize: vertical; line-height: 1.5;  display: block; }

.eb-select {
  appearance: none; padding-right: 28px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239C988F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 9px center;
}
.eb-select--sm { height: var(--control-sm); font-size: var(--text-sm); }
.eb-select--lg { height: var(--control-lg); }

.eb-field { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; }
.eb-field__label { font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--color-text); }
.eb-field__req { color: var(--color-text-3); }
.eb-field__hint { font-size: var(--text-xs); color: var(--color-text-3); margin-top: calc(var(--space-1) * -1); }
.eb-field__error { font-size: var(--text-xs); color: var(--color-danger); display: flex; align-items: center; gap: 4px; margin-top: calc(var(--space-1) * -1); }

.eb-choice { display: inline-flex; align-items: flex-start; gap: var(--space-2); font-size: var(--text-base); color: var(--color-text); cursor: pointer; line-height: var(--leading-normal); }
.eb-choice > input { margin-top: calc((1lh - 15px) / 2); }
.eb-choice.is-disabled { opacity: .45; cursor: not-allowed; }
.eb-choice__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.eb-choice__desc { font-size: var(--text-xs); color: var(--color-text-3); }

.eb-check {
  appearance: none; margin: 0; flex-shrink: 0; cursor: pointer;
  width: 15px; height: 15px; border-radius: var(--radius-xs);
  border: 1.5px solid var(--color-border-strong); background: var(--color-surface);
  display: inline-grid; place-content: center;
  transition: background var(--duration-state), border-color var(--duration-state), transform .12s var(--ease-out);
}
.eb-check:hover { border-color: var(--color-text-4); }
.eb-check:active { transform: scale(.88); }
.eb-check:checked, .eb-check:indeterminate { background: var(--color-accent); border-color: var(--color-accent); }
.eb-check:checked::after { content: ""; width: 8px; height: 5px; border-left: 1.8px solid var(--color-on-accent); border-bottom: 1.8px solid var(--color-on-accent); transform: rotate(-45deg) translate(1px, -1px); }
.eb-check:indeterminate::after { content: ""; width: 7px; height: 1.8px; background: var(--color-on-accent); border: 0; transform: none; }
.eb-check--round { border-radius: 50%; width: 16px; height: 16px; }
.eb-check:disabled { cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) { :root:not([data-motion="full"]) .eb-check:active { transform: none; } }
:root[data-motion="reduce"] .eb-check:active { transform: none; }

.eb-radiogroup { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; gap: 10px; }
.eb-radiogroup--column { flex-direction: column; }
.eb-radiogroup--row { flex-direction: row; flex-wrap: wrap; gap: 16px; }
.eb-radiogroup__legend { padding: 0; margin-bottom: var(--space-2); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--color-text); }
.eb-radio {
  appearance: none; margin: 0; flex-shrink: 0; cursor: pointer;
  width: 15px; height: 15px; border-radius: 50%;
  border: 1.5px solid var(--color-border-strong); background: var(--color-surface);
  display: inline-grid; place-content: center;
  transition: border-color var(--duration-state);
}
.eb-radio:hover { border-color: var(--color-text-4); }
.eb-radio:checked { border-color: var(--color-accent); }
.eb-radio:checked::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--color-accent); }

.eb-choice--switch > input { margin-top: calc((1lh - 18px) / 2); }
.eb-toggle {
  appearance: none; margin: 0; flex-shrink: 0; cursor: pointer; position: relative;
  width: 30px; height: 18px; border-radius: 9px; background: var(--color-surface-3);
  box-shadow: inset 0 0 0 1px var(--color-border-strong);
  transition: background var(--duration-state), box-shadow var(--duration-state);
}
.eb-toggle::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
  transition: transform .28s var(--ease-spring);
}
.eb-toggle:checked { background: var(--color-success); box-shadow: none; }
.eb-toggle:checked::after { transform: translateX(12px); }
.eb-toggle:disabled { cursor: not-allowed; opacity: .45; }

.eb-kbds { display: inline-flex; gap: 3px; align-items: center; }
.eb-kbd {
  font-family: var(--font-mono); font-size: 11px; line-height: 1;
  min-width: 18px; height: 18px; padding: 0 5px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-border); border-bottom-width: 1.5px; border-radius: var(--radius-xs);
  background: var(--color-surface); color: var(--color-text-2);
}

.eb-badge {
  display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 7px;
  border: 1px solid var(--color-border); border-radius: 5px;
  background: var(--color-surface-2); color: var(--color-text-2);
  font-size: var(--text-xs); font-weight: var(--weight-medium); white-space: nowrap; line-height: var(--leading-control-sm);
}
.eb-badge__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.eb-badge--green { color: var(--color-success); background: var(--color-success-soft); border-color: transparent; }
.eb-badge--amber { color: var(--color-warning); background: var(--color-warning-soft); border-color: transparent; }
.eb-badge--red { color: var(--color-danger); background: var(--color-danger-soft); border-color: transparent; }
.eb-badge--accent { color: var(--color-accent); background: var(--color-accent-soft); border-color: transparent; }
.eb-badge--violet { color: var(--hue-violet); background: color-mix(in srgb, var(--hue-violet) 11%, transparent); border-color: transparent; }

.eb-tag {
  display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 7px 0 6px;
  border: 1px solid var(--color-border); border-radius: 5px; background: var(--color-surface);
  font-size: var(--text-xs); color: var(--color-text-2); white-space: nowrap; line-height: var(--leading-control-sm);
}
.eb-tag > i { width: 6px; height: 6px; border-radius: 2px; background: var(--eb-c); flex-shrink: 0; }

.eb-chip {
  display: inline-flex; align-items: center; gap: 6px; height: var(--control-sm); padding: 0 8px;
  border: 1px solid var(--color-accent-line); border-radius: var(--radius-sm);
  background: var(--color-accent-soft); color: var(--color-text); font-size: var(--text-xs); line-height: var(--leading-control-sm); white-space: nowrap;
}
.eb-chip--removable { padding-right: 4px; }
.eb-chip > b { font-weight: var(--weight-medium); color: var(--color-text-2); }
.eb-chip .eb-chip__x { width: 18px; height: 18px; color: var(--color-text-2); }

.eb-pillbtn {
  display: inline-flex; align-items: center; gap: 6px; height: var(--control-sm); padding: 0 7px; max-width: 100%;
  border: 0; border-radius: var(--radius-sm); background: none; color: var(--color-text);
  font-size: var(--text-sm); line-height: var(--leading-control-sm); white-space: nowrap; cursor: pointer;
  transition: background var(--duration-state);
}
.eb-pillbtn:hover, .eb-pillbtn[aria-expanded="true"] { background: var(--color-surface-2); }
.eb-pillbtn.is-empty { color: var(--color-text-3); }
.eb-pillbtn--bordered { border: 1px solid var(--color-border); }
.eb-pillbtn--danger { color: var(--color-danger); }
.eb-pillbtn:disabled { opacity: .45; pointer-events: none; }

.eb-av {
  --eb-sz: 22px;
  position: relative; flex-shrink: 0;
  width: var(--eb-sz); height: var(--eb-sz); border-radius: 50%;
  display: inline-grid; place-items: center;
  font-size: calc(var(--eb-sz) * .4); font-weight: var(--weight-semibold); letter-spacing: .01em; line-height: 1;
  background: color-mix(in srgb, var(--eb-c) 17%, var(--color-surface));
  color: color-mix(in srgb, var(--eb-c) 55%, var(--color-text));
  box-shadow: 0 0 0 1.5px var(--color-surface);
  user-select: none;
}
.eb-av--empty { background: transparent; border: 1.3px dashed var(--color-border-strong); color: var(--color-text-4); box-shadow: none; }
.eb-av--presence::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 30%; height: 30%; border-radius: 50%; background: var(--color-success); box-shadow: 0 0 0 2px var(--color-surface); }
.eb-avs { display: inline-flex; }
.eb-avs > .eb-av + .eb-av { margin-left: -5px; }

.eb-prog { display: block; flex: 1; min-width: 40px; height: 4px; border-radius: 4px; background: var(--color-surface-3); overflow: hidden; }
.eb-prog--lg { height: 6px; border-radius: 3px; }
.eb-prog > i {
  display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--color-accent);
  transform-origin: left; transform: scaleX(var(--eb-p, 0));
  transition: transform .3s var(--ease-out);
}
.eb-prog--green > i { background: var(--color-success); }
.eb-prog--amber > i { background: var(--color-warning); }
.eb-prog--red > i { background: var(--color-danger); }
.eb-prog--grow > i { animation: eb-grow-x .8s .12s var(--ease-out) both; }
@media (prefers-reduced-motion: reduce) { :root:not([data-motion="full"]) .eb-prog > i { animation: none; transition: none; } }
:root[data-motion="reduce"] .eb-prog > i { animation: none; transition: none; }

.eb-status-icon { display: block; flex-shrink: 0; }

.eb-priority-icon { display: block; flex-shrink: 0; }

.eb-sk {
  display: block; border-radius: 5px;
  background: linear-gradient(90deg, var(--color-surface-3) 0%, var(--color-surface-2) 45%, var(--color-surface-3) 90%);
  background-size: 220% 100%;
  animation: var(--motion-shimmer) 1.3s ease-in-out infinite;
}
.eb-sk-lines { display: flex; flex-direction: column; gap: 8px; width: 100%; }

.eb-alert {
  display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px;
  border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface);
  font-size: var(--text-sm); color: var(--color-text);
}
.eb-alert > .eb-icon { margin-top: 1px; color: var(--color-text-2); }
.eb-alert__body { flex: 1; min-width: 0; }
.eb-alert__body b { font-weight: var(--weight-semibold); }
.eb-alert__action { flex-shrink: 0; margin: -4px -4px -4px 0; }
.eb-alert--info { background: var(--color-accent-soft); border-color: transparent; }
.eb-alert--info > .eb-icon { color: var(--color-accent); }
.eb-alert--ok { background: var(--color-success-soft); border-color: transparent; }
.eb-alert--ok > .eb-icon { color: var(--color-success); }
.eb-alert--warn { background: var(--color-warning-soft); border-color: transparent; }
.eb-alert--warn > .eb-icon { color: var(--color-warning); }
.eb-alert--danger { background: var(--color-danger-soft); border-color: transparent; }
.eb-alert--danger > .eb-icon { color: var(--color-danger); }

.eb-skip {
  position: fixed; left: 12px; top: -60px; z-index: var(--z-skip);
  padding: 8px 12px; border-radius: var(--radius-sm);
  background: var(--color-text); color: var(--color-text-inverse);
  font-size: var(--text-sm); font-weight: var(--weight-medium); text-decoration: none;
  transition: top .15s var(--ease-out);
}
.eb-skip:focus { top: calc(8px + env(safe-area-inset-top, 0px)); }

.eb-tooltip {
  position: fixed; z-index: var(--z-tooltip);
  padding: 3px 7px; border-radius: 5px;
  background: var(--color-text); color: var(--color-text-inverse);
  font-size: 11px; font-weight: var(--weight-medium); line-height: 15px; white-space: nowrap;
  animation: eb-fade var(--duration-fade) both;
}

.eb-pop {
  position: fixed; z-index: var(--z-popover);
  min-width: 200px; max-width: 320px; max-height: min(420px, 70vh); overflow-y: auto;
  padding: 4px; border-radius: var(--radius-lg);
  background: var(--color-surface); box-shadow: var(--shadow-pop);
  font-size: var(--text-base); color: var(--color-text);
  transform-origin: top left;
}
.eb-pop[data-side="top"] { transform-origin: bottom left; }
.eb-pop.is-entering { animation: eb-pop-in var(--duration-pop) var(--ease-out) both; }
.eb-pop--flush { padding: 0; }
.eb-pop:focus { outline: none; }

.eb-menu { display: flex; flex-direction: column; outline: none; }
.eb-mi {
  display: flex; align-items: center; gap: 9px; width: 100%; min-height: 30px; padding: 0 8px;
  border: 0; border-radius: var(--radius-sm); background: none; color: var(--color-text);
  font-size: var(--text-base); line-height: var(--leading-control); text-align: left; white-space: nowrap; cursor: pointer;
}
.eb-mi:hover, .eb-mi:focus-visible, .eb-mi:focus { background: var(--color-surface-2); outline: none; }
.eb-mi > .eb-icon { color: var(--color-text-2); }
.eb-mi__label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.eb-mi__end { margin-left: auto; display: flex; gap: 4px; align-items: center; color: var(--color-text-3); font-size: var(--text-xs); }
.eb-mi__check { margin-left: auto; color: var(--color-accent); display: flex; }
.eb-mi__end + .eb-mi__check { margin-left: 4px; }
.eb-mi--danger, .eb-mi--danger > .eb-icon { color: var(--color-danger); }
.eb-mi[aria-disabled="true"] { opacity: .45; cursor: default; }
.eb-mi[aria-disabled="true"]:hover { background: none; }
.eb-mi--empty { color: var(--color-text-3); cursor: default; }
.eb-mi--empty:hover { background: none; }
.eb-msep { height: 1px; background: var(--color-divider); margin: 4px -4px; }
.eb-mh { font-size: var(--text-2xs); text-transform: uppercase; letter-spacing: var(--tracking-caps); font-weight: var(--weight-semibold); color: var(--color-text-3); padding: 8px 8px 4px; }
.eb-menu__pin { display: flex; align-items: center; gap: 4px; margin: -4px -4px 4px; padding: 8px 12px; border-bottom: 1px solid var(--color-divider); color: var(--color-text-3); }
.eb-menu__search { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: var(--text-base); padding: 0 4px; color: var(--color-text); }
.eb-menu__search::placeholder { color: var(--color-text-3); }

.eb-scrim { position: fixed; inset: 0; z-index: var(--z-scrim); background: var(--color-overlay); }
.eb-scrim.is-entering { animation: eb-fade var(--duration-scrim) ease both; }
.eb-modal-wrap { position: fixed; inset: 0; z-index: var(--z-modal); display: flex; align-items: flex-start; justify-content: center; padding: 10vh 16px 16px; overflow-y: auto; }
.eb-modal {
  display: flex; flex-direction: column; width: 100%; max-width: 560px; max-height: 80vh;
  border-radius: var(--radius-xl); background: var(--color-surface); box-shadow: var(--shadow-pop); color: var(--color-text);
}
.eb-modal:focus { outline: none; }
.eb-modal.is-entering { animation: eb-modal-in var(--duration-modal) var(--ease-out) both; }
.eb-modal--sm { max-width: 420px; }
.eb-modal--lg { max-width: 720px; }
.eb-modal--xl { max-width: 1120px; max-height: 84vh; }
.eb-modal__head { display: flex; align-items: center; gap: 8px; padding: 14px 16px 0; }
.eb-modal__title { margin: 0; font-size: var(--text-md); font-weight: var(--weight-semibold); }
.eb-modal__head .eb-ibtn { margin-left: auto; }
.eb-modal__body { display: flex; flex-direction: column; gap: 14px; padding: 14px 16px; overflow-y: auto; }
.eb-modal__desc { margin: 0; color: var(--color-text-2); font-size: var(--text-base); }
.eb-modal__foot { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--color-border); }
.eb-modal__foot > :first-child:not(:only-child) { margin-right: auto; }
.eb-modal__foot > :only-child { margin-left: auto; }

@media (max-width: 640px) {
  .eb-modal-wrap { padding: 0; align-items: flex-end; }
  .eb-modal { max-height: 92vh; border-radius: 14px 14px 0 0; }
  .eb-modal.is-entering { animation-name: eb-sheet-in; }
}

.eb-modal--sm .eb-modal__foot { justify-content: flex-end; }
.eb-modal--sm .eb-modal__foot > :first-child:not(:only-child) { margin-right: 0; margin-left: auto; }

@media (min-width: 641px) {
  .eb-modal-wrap:has(> .eb-confirm) { align-items: center; padding-top: 16px; }
}

.eb-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: var(--z-drawer);
  width: min(620px, 100vw); display: flex; flex-direction: column;
  background: var(--color-surface); color: var(--color-text);
  border-left: 1px solid var(--color-border); box-shadow: var(--shadow-panel-edge);
}
.eb-drawer:focus { outline: none; }
.eb-drawer.is-entering { animation: eb-drawer-in var(--duration-drawer) var(--ease-drawer) both; }
.eb-drawer.is-entering .eb-drawer__body > * { animation: eb-rise calc(var(--duration-enter) + 20ms) var(--ease-out) both; }
.eb-drawer.is-entering .eb-drawer__body > :nth-child(2) { animation-delay: 40ms; }
.eb-drawer.is-entering .eb-drawer__body > :nth-child(3) { animation-delay: 70ms; }
.eb-drawer.is-entering .eb-drawer__body > :nth-child(n+4) { animation-delay: 100ms; }
.eb-drawer__head { display: flex; align-items: center; gap: 4px; height: 46px; flex-shrink: 0; padding: 0 10px 0 16px; border-bottom: 1px solid var(--color-border); }
.eb-drawer__head-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; font-size: var(--text-sm); color: var(--color-text-2); overflow: hidden; }
.eb-drawer__actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.eb-drawer__body { flex: 1; overflow-y: auto; padding: 20px 24px 32px; }

.eb-drawer__foot { display: flex; align-items: center; gap: var(--space-2); flex-shrink: 0; padding: 12px 24px; border-top: 1px solid var(--color-border); background: var(--color-surface); }

.eb-drawer--full { width: min(980px, calc(100vw - 48px)); top: 24px; bottom: 24px; left: 0; right: 0; margin: 0 auto; border: 1px solid var(--color-border); border-radius: var(--radius-xl); }
.eb-drawer--full.is-entering { animation: eb-modal-in var(--duration-modal) var(--ease-out) both; }
.eb-drawer--full .eb-drawer__body { padding: 28px 48px 40px; }
.eb-drawer-scrim { position: fixed; inset: 0; z-index: var(--z-drawer-scrim); background: transparent; }
.eb-drawer-scrim--full { background: var(--color-overlay); }
.eb-drawer-scrim--full.is-entering { animation: eb-fade var(--duration-scrim) both; }

@media (max-width: 640px) {
  .eb-drawer, .eb-drawer--full { width: 100vw; left: 0; right: 0; top: 0; bottom: 0; margin: 0; border: 0; border-radius: 0; }
  .eb-drawer__body, .eb-drawer--full .eb-drawer__body { padding: 16px 16px 40px; }
  .eb-drawer__foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); }
}

.eb-toasts {
  position: fixed; right: 20px; bottom: 20px; z-index: var(--z-toast);
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px; pointer-events: none;
}

body:has(.eb-drawer__foot) .eb-toasts { bottom: 76px; }
.eb-toast {
  pointer-events: auto; display: flex; align-items: center; gap: 10px;
  min-height: 40px; max-width: 400px; padding: 8px 8px 8px 12px;
  border-radius: var(--radius-md); background: var(--color-text); color: var(--color-text-inverse);
  font-size: var(--text-sm); line-height: var(--leading-control-sm); box-shadow: var(--shadow-pop);
  animation: eb-toast-in var(--duration-toast) var(--ease-spring) both;
}
.eb-toast.is-leaving { animation: eb-toast-out var(--duration-pop) ease both; }
.eb-toast__msg { flex: 1; min-width: 0; }
.eb-toast__icon--ok { color: var(--color-success); }
.eb-toast__icon--err { color: var(--color-danger); }
.eb-toast__action {
  border: 0; background: none; color: var(--color-text-inverse); font-weight: var(--weight-semibold);
  padding: 3px 8px; border-radius: 5px; opacity: .9; cursor: pointer;
}
.eb-toast__action:hover { background: color-mix(in srgb, var(--color-text-inverse) 14%, transparent); opacity: 1; }
.eb-toast__x {
  display: inline-flex; align-items: center; justify-content: center; width: var(--control-xs); height: var(--control-xs);
  border: 0; border-radius: var(--radius-xs); background: none; color: inherit; opacity: .6; cursor: pointer;
}
.eb-toast__x:hover { opacity: 1; background: color-mix(in srgb, var(--color-text-inverse) 14%, transparent); }
.eb-toast :focus-visible { outline-color: var(--color-text-inverse); }
@media (max-width: 640px) { .eb-toasts { left: 16px; right: 16px; bottom: 76px; align-items: stretch; } .eb-toast { max-width: none; } }

.eb-scrim--palette { z-index: calc(var(--z-palette) - 1); }
.eb-palette {
  position: fixed; top: 12vh; left: 0; right: 0; margin: 0 auto; z-index: var(--z-palette);
  width: min(640px, calc(100vw - 32px)); max-height: 70vh; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius-xl); background: var(--color-surface); box-shadow: var(--shadow-pop); color: var(--color-text);
}
.eb-palette.is-entering { animation: eb-modal-in var(--duration-modal) var(--ease-out) both; }
.eb-palette__search { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 14px; border-bottom: 1px solid var(--color-border); color: var(--color-text-3); }
.eb-palette__input { flex: 1; height: 100%; border: 0; outline: 0; background: transparent; font-size: var(--text-md); color: var(--color-text); }
.eb-palette__input::placeholder { color: var(--color-text-3); }
.eb-palette__list { flex: 1; overflow-y: auto; padding: 6px; }
.eb-pal-group { padding-bottom: 4px; margin-bottom: 2px; border-bottom: 1px solid var(--color-divider); }
.eb-pal-group:last-child { border-bottom: 0; }
.eb-pal-sec { padding: 10px 10px 4px; font-size: var(--text-2xs); font-weight: var(--weight-semibold); text-transform: uppercase; letter-spacing: var(--tracking-caps); color: var(--color-text-3); }
.eb-pi { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 10px; border-radius: var(--radius-sm); font-size: var(--text-base); line-height: var(--leading-control); cursor: pointer; }
.eb-pi[aria-selected="true"] { background: var(--color-surface-2); }
.eb-pi > .eb-icon { color: var(--color-text-2); }
.eb-pi__label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eb-pi__label mark { background: transparent; color: var(--color-accent); font-weight: var(--weight-semibold); }
.eb-pi__sub { margin-left: 4px; color: var(--color-text-3); font-size: var(--text-xs); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eb-pi__end { margin-left: auto; display: flex; gap: 4px; align-items: center; color: var(--color-text-3); font-size: var(--text-xs); }
.eb-pal-empty { padding: 28px 16px; text-align: center; color: var(--color-text-3); font-size: var(--text-sm); }
.eb-palette__foot { display: flex; gap: 14px; padding: 8px 14px; border-top: 1px solid var(--color-border); background: var(--color-sunken); font-size: var(--text-xs); color: var(--color-text-3); }
.eb-palette__foot > span { display: inline-flex; align-items: center; gap: 5px; }

.eb-acc { display: grid; }
.eb-acc--framed { border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); overflow: hidden; }
.eb-acc__item + .eb-acc__item { border-top: 1px solid var(--color-divider); }
.eb-acc__heading { margin: 0; font-size: inherit; font-weight: inherit; }
.eb-acc__btn {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); width: 100%;
  min-height: var(--row-height); padding: var(--space-3) var(--space-4);
  border: 0; background: none; cursor: pointer; text-align: left;
  font: inherit; font-size: var(--text-base); font-weight: var(--weight-medium); color: var(--color-text);
}
.eb-acc__btn:hover { background: var(--color-surface-2); }
.eb-acc__btn:focus-visible { outline: var(--focus-ring); outline-offset: -2px; }
.eb-acc__btn:disabled { color: var(--color-text-4); cursor: default; }
.eb-acc__btn:disabled:hover { background: none; }
.eb-acc__btn > .eb-icon { flex: none; color: var(--color-text-3); transition: transform var(--duration-state) var(--ease-out); }
.eb-acc__item.is-open .eb-acc__btn > .eb-icon { transform: rotate(180deg); }
.eb-acc__body { padding: 0 var(--space-4) var(--space-4); font-size: var(--text-sm); color: var(--color-text-2); line-height: 1.55; }
.eb-acc__body > :first-child { margin-top: 0; }
.eb-acc__body > :last-child { margin-bottom: 0; }

.eb-seg { display: inline-flex; gap: 2px; padding: 2px; border-radius: var(--radius-sm); background: var(--color-surface-3); }
.eb-seg > button {
  display: inline-flex; align-items: center; gap: 5px; height: calc(var(--control-sm) - 2px); padding: 0 9px;
  border: 0; border-radius: 5px; background: none; color: var(--color-text-2);
  font-size: var(--text-xs); font-weight: var(--weight-medium); line-height: var(--leading-control-sm); cursor: pointer; white-space: nowrap;
  transition: background var(--duration-state), color var(--duration-state);
}
.eb-seg > button:hover { color: var(--color-text); }
.eb-seg > button[aria-checked="true"] { background: var(--color-surface); color: var(--color-text); box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 0 0 1px var(--color-border); }
.eb-seg--md > button { height: calc(var(--control-md) - 4px); font-size: var(--text-sm); }
.eb-seg > button:disabled { opacity: .45; cursor: default; }

.eb-tabs__list { display: flex; gap: 2px; border-bottom: 1px solid var(--color-border); overflow-x: auto; scrollbar-width: none; }
.eb-tabs__list::-webkit-scrollbar { display: none; }
.eb-tab {
  position: relative; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px;
  border: 0; background: none; color: var(--color-text-2); cursor: pointer; white-space: nowrap;
  font-size: var(--text-sm); font-weight: var(--weight-medium); line-height: var(--leading-control-sm);
  transition: color var(--duration-state);
}
.eb-tab:hover, .eb-tab[aria-selected="true"] { color: var(--color-text); }
.eb-tab[aria-selected="true"]::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--color-text); }
.eb-tab.is-new::after { animation: eb-underline-in var(--duration-modal) var(--ease-out); }
.eb-tab:focus-visible { outline-offset: -2px; }
.eb-tab__count { font-size: var(--text-2xs); font-weight: var(--weight-medium); color: var(--color-text-3); }
.eb-tabs__panel { padding-top: var(--space-4); }
.eb-tabs__panel:focus-visible { outline-offset: 2px; }

.eb-tabs--pill .eb-tabs__list { gap: var(--space-1); border-bottom: 0; }
.eb-tabs--pill .eb-tab { height: var(--control-sm); padding: 0 var(--space-3); border-radius: var(--radius-full); }
.eb-tabs--pill .eb-tab:hover { background: var(--color-surface-2); }
.eb-tabs--pill .eb-tab[aria-selected="true"] { background: var(--color-surface-3); color: var(--color-text); font-weight: var(--weight-semibold); }
.eb-tabs--pill .eb-tab[aria-selected="true"]::after { display: none; }
.eb-tabs--pill .eb-tab__count { font-size: var(--text-xs); font-variant-numeric: tabular-nums; }

.eb-combobox { display: flex; align-items: center; gap: var(--space-2); text-align: left; padding-right: 10px; background-image: none; }
.eb-combobox__text { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eb-combobox.is-placeholder .eb-combobox__text { color: var(--color-text-3); }
.eb-combobox__chev { flex: none; color: var(--color-text-3); }
.eb-combobox[aria-expanded="true"] { border-color: var(--color-accent); box-shadow: var(--focus-halo); }

.eb-pop[data-combobox] { max-width: min(var(--eb-pop-wide, 640px), calc(100vw - 16px)); }
.eb-pop[data-combobox] .eb-menu__pin { position: sticky; top: -4px; z-index: 1; background: var(--color-surface); }

.eb-crumbs { min-width: 0; font-size: var(--text-sm); color: var(--color-text-2); }
.eb-crumbs ol { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; min-width: 0; }
.eb-crumbs li { display: flex; align-items: center; gap: 2px; min-width: 0; }
.eb-crumbs__item {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 6px; border: 0; border-radius: 5px;
  background: none; color: inherit; font: inherit; line-height: var(--leading-control-sm); text-decoration: none; white-space: nowrap; cursor: pointer; min-width: 0;
}
.eb-crumbs__item:hover { background: var(--color-surface-2); color: var(--color-text); }
.eb-crumbs__item.is-current { color: var(--color-text); font-weight: var(--weight-medium); cursor: default; }
.eb-crumbs__item.is-current:hover { background: none; }
.eb-crumbs__text { overflow: hidden; text-overflow: ellipsis; }
.eb-crumbs__sep { color: var(--color-text-4); font-size: 12px; }

.eb-sidenav { display: flex; flex-direction: column; user-select: none; }
.eb-sidenav ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; } 
.eb-sgroup + .eb-sgroup { margin-top: 14px; }
.eb-sgroup__head { display: flex; align-items: center; height: 24px; padding: 0 8px; }
.eb-sgroup__head h3 { flex: 1; margin: 0; font-size: var(--text-2xs); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--color-text-3); }
.eb-sgroup__head .eb-ibtn { opacity: 0; transition: opacity var(--duration-state); }
.eb-sgroup:hover .eb-sgroup__head .eb-ibtn, .eb-sgroup__head .eb-ibtn:focus-visible { opacity: 1; }
.eb-sitem {
  position: relative; display: flex; align-items: center; gap: 9px; width: 100%; height: var(--sidebar-row); padding: 0 10px;
  border: 0; border-radius: var(--radius-sm); background: none; color: var(--color-text-2);
  font-size: var(--text-base); font-weight: var(--weight-book); line-height: var(--leading-control); text-align: left; white-space: nowrap; cursor: pointer;
  transition: background var(--duration-state), color var(--duration-state);
}
.eb-sitem > .eb-icon { color: var(--color-text-4); }
.eb-sitem:hover { background: var(--color-surface-3); color: var(--color-text); }
.eb-sitem:hover > .eb-icon, .eb-sitem.is-current > .eb-icon { color: var(--color-text-2); }
.eb-sitem.is-current { background: var(--color-selected-surface); color: var(--color-text); box-shadow: var(--shadow-selected); font-weight: var(--weight-medium); }
.eb-sitem__label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }

.eb-sitem__count { margin-left: auto; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--color-text) 5%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-text) 11%, transparent); color: var(--color-text-2); font-size: var(--text-2xs); font-weight: var(--weight-medium); line-height: var(--leading-control-sm); font-variant-numeric: tabular-nums;
  text-box: trim-both cap alphabetic; }
.eb-sitem__badge { margin-left: auto; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; display: grid; place-items: center; background: var(--color-accent); color: var(--color-on-accent); font-size: var(--text-2xs); font-weight: var(--weight-semibold); line-height: var(--leading-control-sm); font-variant-numeric: tabular-nums;
  
  text-box: trim-both cap alphabetic; }
.eb-sitem__tile { width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; flex-shrink: 0; background: color-mix(in srgb, var(--eb-c) 16%, transparent); color: color-mix(in srgb, var(--eb-c) var(--hue-mix), var(--color-text)); }
.eb-sitem__dot { width: 6px; height: 6px; border-radius: 50%; margin-left: auto; flex-shrink: 0; }
.eb-sitem__chev { color: var(--color-text-4); transition: transform var(--duration-state); }
.eb-sitem__chev.is-open { transform: rotate(90deg); }
.eb-sub { margin-left: 8px !important; padding-left: 14px !important; border-left: 1px solid var(--color-border); }

.eb-sidenav.is-collapsed { width: 36px; }

.eb-sidenav.is-collapsed .eb-sitem { justify-content: center; padding: 0; }
.eb-sidenav.is-collapsed .eb-sitem__label, .eb-sidenav.is-collapsed .eb-sitem__count, .eb-sidenav.is-collapsed .eb-sitem__badge, .eb-sidenav.is-collapsed .eb-sitem__dot, .eb-sidenav.is-collapsed .eb-sitem__chev, .eb-sidenav.is-collapsed .eb-sgroup__head { display: none; }
.eb-sidenav.is-collapsed .eb-sgroup + .eb-sgroup { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--color-border); }

.eb-skl { display: grid; gap: var(--space-2); padding: var(--space-3); }
.eb-skl.is-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--space-3); }
.eb-skl__row { display: flex; align-items: center; gap: var(--space-3); min-height: var(--row-height); }
.eb-skl__text { flex: 1; display: grid; gap: 7px; }

.eb-skl__tile { display: grid; justify-items: start; gap: 9px; padding: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }

.eb-tbl-wrap { overflow: auto; min-height: 0; border-top: 1px solid var(--color-border); }
.eb-tbl { border-collapse: separate; border-spacing: 0; table-layout: fixed; min-width: 100%; font-size: var(--text-base); }
.eb-tbl th, .eb-tbl td { border-right: 1px solid var(--color-divider); }
.eb-tbl thead th {
  position: sticky; top: 0; z-index: 3; height: 34px; padding: 0 10px;
  background: var(--color-surface); border-bottom: 1px solid var(--color-border);
  font-size: var(--text-xs); font-weight: var(--weight-medium); color: var(--color-text-2); text-align: left; white-space: nowrap; user-select: none;
}
.eb-tbl__sort { display: inline-flex; align-items: center; gap: 5px; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; overflow: hidden; }
.eb-tbl__sort:hover { color: var(--color-text); }
.eb-tbl__sort .eb-icon { color: var(--color-text-4); }
.eb-tbl__sort .eb-icon.is-on { color: var(--color-text-2); }
.eb-tbl td { box-sizing: border-box; height: var(--row-height); padding: 6px 10px; border-bottom: 1px solid var(--color-divider); background: var(--color-surface); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eb-tbl__cell { display: flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; }
.eb-tbl .is-right, .eb-tbl .is-right .eb-tbl__cell { text-align: right; justify-content: flex-end; }
.eb-tbl tbody tr:hover td { background: var(--color-surface-2); }
.eb-tbl tr.is-clickable { cursor: pointer; }
.eb-tbl tr.is-clickable:focus-visible { outline-offset: -2px; }
.eb-tbl .is-sticky { position: sticky; left: 0; z-index: 2; }
.eb-tbl thead th.is-sticky { z-index: 5; }
.eb-tbl__group th { height: 32px; padding: 0 10px; background: var(--color-sunken); border-bottom: 1px solid var(--color-divider); font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--color-text-2); text-align: left; }
.eb-tbl__glabel { display: flex; align-items: center; gap: 6px; }
.eb-tbl__count { margin-left: 2px; font-weight: var(--weight-medium); color: var(--color-text-3); }
.eb-tbl__empty { text-align: center; color: var(--color-text-3); height: 72px !important; }

.eb-pagination { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; }
.eb-pagination[hidden] { display: none; }
.eb-pagination__size { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); color: var(--color-text-2); font-variant-numeric: tabular-nums; }
.eb-pagination__size .eb-select { width: auto; }
.eb-pagination__nav { display: flex; align-items: center; gap: 2px; }
.eb-pagination__nav .eb-btn { min-width: var(--control-sm); font-variant-numeric: tabular-nums; }
.eb-pagination__nav .eb-btn[aria-current="page"] { background: var(--color-surface-3); color: var(--color-text); }
.eb-pagination__gap { width: var(--control-sm); text-align: center; color: var(--color-text-3); }

.eb-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 56px 24px; text-align: center; }
.eb-empty--sm { padding: 28px 16px; }
.eb-empty__glyph { display: grid; place-items: center; margin-bottom: 4px; color: var(--color-text-4); }
.eb-empty--error .eb-empty__glyph { color: var(--color-danger); }
.eb-empty__title { margin: 0; font-size: var(--text-md); font-weight: var(--weight-semibold); }
.eb-empty__text { margin: 0 0 10px; max-width: 340px; font-size: var(--text-sm); color: var(--color-text-2); }

.eb-kv { display: grid; grid-template-columns: var(--eb-kv-label, 112px) minmax(0, 1fr); row-gap: 2px; align-items: center; margin: 0; font-size: var(--text-sm); }
.eb-kv > dt { display: flex; align-items: center; gap: 7px; height: 30px; margin: 0; color: var(--color-text-2); }
.eb-kv > dt .eb-icon { color: var(--color-text-4); }
.eb-kv > dd { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; min-width: 0; min-height: 30px; margin: 0; }

.eb-feed { display: flex; flex-direction: column; }
.eb-feed__list { margin: 0; padding: 0; list-style: none; }
.eb-fitem { position: relative; display: flex; gap: 10px; padding: 9px 0; font-size: var(--text-sm); line-height: var(--leading-normal); }
.eb-fitem > .eb-av { margin-top: 1px; }
.eb-fitem__body { flex: 1; min-width: 0; }
.eb-fitem b { font-weight: var(--weight-medium); }
.eb-fitem time { font-size: var(--text-xs); color: var(--color-text-3); white-space: nowrap; }
.eb-feed--lined .eb-fitem:not(:last-child)::before { content: ""; position: absolute; left: 10px; top: 32px; bottom: -4px; width: 1px; background: var(--color-border); }
.eb-feed__day { margin: 0; padding: 14px 0 4px; font-size: var(--text-xs); font-weight: var(--weight-semibold); text-transform: uppercase; letter-spacing: var(--tracking-caps); color: var(--color-text-3); }

.eb-bulkbar {
  position: fixed; left: 0; right: 0; bottom: calc(24px + var(--eb-bottomnav-h, 0px)); margin: 0 auto; width: max-content; max-width: calc(100% - 2 * var(--space-4)); z-index: var(--z-bar);
  display: flex; align-items: center; gap: 4px; padding: 6px 6px 6px 14px;
  border-radius: var(--radius-lg); background: var(--color-text); color: var(--color-text-inverse);
  box-shadow: var(--shadow-pop); font-size: var(--text-sm);
  animation: eb-rise 280ms var(--ease-spring) both;
}
.eb-bulkbar--inline { position: relative; bottom: auto; margin: 0; max-width: 100%; }
.eb-bulkbar__count { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-weight: var(--weight-medium); white-space: nowrap; }
.eb-bulkbar__sep { width: 1px; height: 18px; margin: 0 4px; background: color-mix(in srgb, var(--color-text-inverse) 20%, transparent); }
.eb-bulkbar__btn {
  display: inline-flex; align-items: center; gap: 6px; height: var(--control-md); padding: 0 10px;
  border: 0; border-radius: var(--radius-sm); background: none; color: var(--color-text-inverse); opacity: .85;
  font-size: var(--text-sm); font-weight: var(--weight-medium); line-height: var(--leading-control-sm); cursor: pointer; white-space: nowrap;
}
.eb-bulkbar__btn:hover { background: color-mix(in srgb, var(--color-text-inverse) 14%, transparent); opacity: 1; }
.eb-bulkbar__x { width: var(--control-md); padding: 0; justify-content: center; }
.eb-bulkbar__x--hint { width: auto; padding: 0 8px; gap: 4px; }
.eb-bulkbar__hint { font-size: var(--text-2xs); opacity: .75; }
.eb-bulkbar__all {
  margin-left: 6px; padding: 0 4px; height: var(--control-sm); border: 0; border-radius: var(--radius-sm); background: none;
  color: var(--color-text-inverse); font: inherit; font-size: var(--text-sm); text-decoration: underline; text-underline-offset: 2px; opacity: .85; cursor: pointer; white-space: nowrap;
}
.eb-bulkbar__all:hover { opacity: 1; }
.eb-bulkbar :focus-visible { outline-color: var(--color-text-inverse); }

@media (max-width: 640px) {
  
  .eb-bulkbar:not(.eb-bulkbar--inline) { bottom: calc(var(--space-3) + var(--eb-bottomnav-h, env(safe-area-inset-bottom, 0px))); }
  .eb-bulkbar__btn:has(.eb-icon) { width: var(--control-md); padding: 0; justify-content: center; flex-shrink: 0; }
  .eb-bulkbar__btn:has(.eb-icon) .eb-bulkbar__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

.eb-tgrid { min-width: 0; }
.eb-tgrid__list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--eb-tgrid-min, 220px)), 1fr));
  gap: var(--space-4); margin: 0; padding: 0; list-style: none;
}
.eb-tgrid__item { min-width: 0; display: flex; }
.eb-tgrid__card {
  position: relative; display: flex; flex-direction: column; gap: var(--space-2); width: 100%; min-width: 0; padding: var(--space-2);
  border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); color: var(--color-text);
  font: inherit; text-align: left; cursor: pointer;
  transition: border-color var(--duration-state), box-shadow var(--duration-state);
}
.eb-tgrid__card:hover { border-color: var(--color-border-strong); box-shadow: var(--shadow-card-hover); }
.eb-tgrid__card:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-ring-offset); }
.eb-tgrid__card.is-selected { border-color: var(--color-accent); box-shadow: var(--focus-halo); }
.eb-tgrid__thumb {
  position: relative; display: flex; align-items: center; justify-content: center; width: 100%;
  aspect-ratio: var(--eb-tgrid-ratio, 16 / 9); overflow: hidden; border-radius: var(--radius-md);
  background: var(--color-surface-2); border: 1px solid var(--color-divider);
}
.eb-tgrid__thumb > img, .eb-tgrid__thumb > canvas, .eb-tgrid__thumb > svg { display: block; width: 100%; height: 100%; object-fit: contain; }
.eb-tgrid__skthumb { position: absolute; inset: 0; }
.eb-tgrid__fallback { display: inline-flex; flex-direction: column; align-items: center; gap: var(--space-1); color: var(--color-text-3); font-size: var(--text-xs); }
.eb-tgrid__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 0 var(--space-1) var(--space-1); }
.eb-tgrid__title { font-size: var(--text-base); font-weight: var(--weight-medium); overflow-wrap: anywhere; }
.eb-tgrid__sub { font-size: var(--text-sm); color: var(--color-text-2); overflow-wrap: anywhere; }
.eb-tgrid__meta { font-size: var(--text-xs); color: var(--color-text-3); }
.eb-tgrid__meta:empty { display: none; }
.eb-tgrid__badge {
  position: absolute; top: calc(var(--space-2) + 6px); right: calc(var(--space-2) + 6px); padding: 1px 6px; border-radius: var(--radius-full);
  background: var(--color-surface); color: var(--color-text-2); font-size: var(--text-2xs); box-shadow: var(--shadow-sm);
}
.eb-tgrid__item--sk .eb-tgrid__card { cursor: default; }

.eb-msgin {
  position: relative; display: flex; min-width: 0; align-items: flex-end;
  padding: 3px; 
  border: 1px solid var(--color-border-strong); border-radius: calc(var(--radius-xl) * 1.25); background: var(--color-surface);
  transition: border-color var(--duration-state), box-shadow var(--duration-state); cursor: text;
}
.eb-msgin:hover { border-color: var(--color-border-hover); }
.eb-msgin:focus-within { border-color: var(--color-accent); box-shadow: var(--focus-halo); }
.eb-msgin .eb-msgin__text {
  flex: 1; min-width: 0; width: 100%; min-height: 32px; max-height: 142px; padding: 5px 14px; resize: none; overflow-y: auto;
  border: 0; border-radius: 0; background: none; box-shadow: none; font-size: var(--text-base); line-height: 22px;
}
.eb-msgin .eb-msgin__text:focus, .eb-msgin .eb-msgin__text:focus-visible { outline: none; border: 0; box-shadow: none; }
.eb-msgin.has-send .eb-msgin__text { padding-right: 40px; } 
.eb-msgin__send.eb-ibtn { position: absolute; right: 3px; bottom: 3px; }

.eb-send-reveal.eb-ibtn {
  width: 32px; height: 32px; border-radius: var(--radius-full); background: var(--color-accent); color: var(--color-on-accent);
  transform: scale(1); opacity: 1; visibility: visible;
  transition: transform 300ms var(--ease-spring), opacity 200ms var(--ease-out), background var(--duration-state), visibility 0s;
}
.eb-send-reveal.eb-ibtn svg { stroke-width: 2.75; } 
.eb-send-reveal.eb-ibtn:hover:not(:disabled) { background: var(--color-accent-hover); color: var(--color-on-accent); }
.eb-send-reveal.eb-ibtn:active:not(:disabled) { transform: scale(var(--motion-press-scale)); }
.eb-send-reveal.eb-ibtn.is-hidden {
  transform: scale(.3); opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform 300ms var(--ease-spring), opacity 200ms var(--ease-out), visibility 0s 300ms; 
}
@media (prefers-reduced-motion: reduce) {
  .eb-send-reveal.eb-ibtn, .eb-send-reveal.eb-ibtn.is-hidden { transform: none; transition: opacity var(--duration-fade), visibility 0s; }
  .eb-send-reveal.eb-ibtn.is-hidden { transition: opacity var(--duration-fade), visibility 0s var(--duration-fade); }
}

.eb-datefield .eb-input { padding-right: 34px; }
.eb-datefield__btn {
  position: absolute; right: 3px; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 26px; height: 24px; padding: 0;
  border: 0; border-radius: var(--radius-xs); background: none; color: var(--color-text-3); cursor: pointer;
  transition: background var(--duration-state), color var(--duration-state);
}
.eb-datefield__btn:hover:not(:disabled), .eb-datefield__btn[aria-expanded="true"] { background: var(--color-surface-2); color: var(--color-text); }
.eb-datefield__btn:focus-visible { outline: var(--focus-ring); outline-offset: -2px; }
.eb-datefield__btn:disabled { cursor: not-allowed; opacity: .5; }

.eb-datefield__pop { max-width: none; padding: var(--space-2); }
.eb-dcal { display: grid; gap: var(--space-2); }
.eb-dcal__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.eb-dcal__title { font-size: var(--text-sm); font-weight: var(--weight-semibold); }
.eb-dcal__title::first-letter { text-transform: uppercase; }
.eb-dcal__nav {
  display: grid; place-items: center; width: 28px; height: 28px; padding: 0;
  border: 0; border-radius: var(--radius-sm); background: none; color: var(--color-text-2); cursor: pointer;
}
.eb-dcal__nav:hover { background: var(--color-surface-2); color: var(--color-text); }
.eb-dcal__nav:focus-visible { outline: var(--focus-ring); outline-offset: -2px; }
.eb-dcal__grid { display: grid; gap: 2px; }
.eb-dcal__row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.eb-dcal__dow { display: grid; place-items: center; height: 24px; font-size: var(--text-2xs); font-weight: var(--weight-medium); color: var(--color-text-3); text-transform: uppercase; }
.eb-dcal__day {
  display: grid; place-items: center; height: 34px; padding: 0;
  border: 0; border-radius: var(--radius-sm); background: none; color: var(--color-text);
  font: inherit; font-size: var(--text-sm); font-variant-numeric: tabular-nums; cursor: pointer;
  transition: background var(--duration-state), color var(--duration-state);
}
.eb-dcal__day:hover:not(:disabled) { background: var(--color-surface-2); }
.eb-dcal__day:focus-visible { outline: var(--focus-ring); outline-offset: -2px; }
.eb-dcal__day.is-out { color: var(--color-text-4); }
.eb-dcal__day.is-today { box-shadow: inset 0 0 0 1px var(--color-accent); color: var(--color-accent); font-weight: var(--weight-semibold); }
.eb-dcal__day.is-today:focus-visible { box-shadow: inset 0 0 0 1px var(--color-accent); }
.eb-dcal__day.is-chosen, .eb-dcal__day.is-chosen:hover { background: var(--color-accent); color: var(--color-on-accent); font-weight: var(--weight-semibold); }
.eb-dcal__day:disabled { color: var(--color-text-4); text-decoration: line-through; cursor: not-allowed; opacity: .6; }
.eb-dcal__foot { display: flex; flex-wrap: wrap; gap: var(--space-1); padding-top: var(--space-2); border-top: 1px solid var(--color-divider); }
.eb-dcal__quick {
  height: var(--control-sm); padding: 0 var(--space-2);
  border: 1px solid var(--color-border); border-radius: var(--radius-full); background: var(--color-surface);
  color: var(--color-text-2); font: inherit; font-size: var(--text-xs); cursor: pointer;
}
.eb-dcal__quick:hover:not(:disabled) { border-color: var(--color-border-hover); color: var(--color-text); }
.eb-dcal__quick:focus-visible { outline: var(--focus-ring); outline-offset: -2px; }
.eb-dcal__quick:disabled { opacity: .5; cursor: not-allowed; }
.eb-dcal__clear { margin-left: auto; border-color: transparent; background: none; }

.eb-timefield { cursor: text; }
.eb-timefield .eb-input { font-variant-numeric: tabular-nums; }
.eb-timefield.has-len .eb-input { padding-right: 76px; }
.eb-timefield__len {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  font-size: var(--text-xs); color: var(--color-text-3); pointer-events: none; white-space: nowrap;
}
.eb-timefield__pop { max-width: none; }
.eb-times { display: flex; flex-direction: column; max-height: 264px; overflow-y: auto; padding: 4px; overscroll-behavior: contain; }
.eb-times__opt {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-2); flex-shrink: 0;
  height: 30px; padding: 0 var(--space-2); border: 0; border-radius: var(--radius-sm); background: none;
  color: var(--color-text); font: inherit; font-size: var(--text-sm); font-variant-numeric: tabular-nums; text-align: left; cursor: pointer;
}
.eb-times__opt small { font-size: var(--text-xs); color: var(--color-text-3); }
.eb-times__opt:hover, .eb-times__opt.is-cursor { background: var(--color-surface-2); }
.eb-times__opt.is-on { color: var(--color-accent); font-weight: var(--weight-semibold); }

.eb-viewbar { display: inline-flex; align-items: center; gap: 2px; min-width: 0; padding: 2px; border-radius: var(--radius-md); background: var(--color-surface-2); }
.eb-viewbar__item {
  display: inline-flex; align-items: center; gap: 6px; height: calc(var(--control-md) - 4px); padding: 0 10px; min-width: 0;
  border: 1px solid transparent; border-radius: var(--radius-sm); background: none; color: var(--color-text-2);
  font: inherit; font-size: var(--text-sm); font-weight: var(--weight-medium); line-height: var(--leading-control-sm); white-space: nowrap; cursor: pointer;
  transition: background var(--duration-state), color var(--duration-state);
}
.eb-viewbar__item:hover { color: var(--color-text); }
.eb-viewbar__item[aria-checked="true"] { background: var(--color-surface); border-color: var(--color-border); color: var(--color-text); box-shadow: var(--shadow-sm); }
.eb-viewbar__label { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.eb-viewbar__count { color: var(--color-text-3); font-weight: var(--weight-regular); font-variant-numeric: tabular-nums; }

.eb-viewswitch {
  display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%; height: var(--control-md); padding: 0 8px;
  border: 0; border-radius: var(--radius-sm); background: none; color: var(--color-text);
  font: inherit; font-size: var(--text-sm); font-weight: var(--weight-medium); cursor: pointer;
}
.eb-viewswitch:hover { background: var(--color-surface-2); }
.eb-viewswitch__label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eb-viewswitch__count { color: var(--color-text-3); font-weight: var(--weight-regular); font-variant-numeric: tabular-nums; }
.eb-viewswitch__count:empty { display: none; }
.eb-viewswitch__chev { flex-shrink: 0; color: var(--color-text-3); }
.eb-viewswitch--lg { height: auto; padding: 2px 6px; margin-left: -6px; font-size: inherit; font-weight: inherit; letter-spacing: inherit; }

.eb-fm-btn { gap: 6px; }
.eb-fm-btn.is-active { border-color: var(--color-text-2); color: var(--color-text); }
.eb-fm-btn__count {
  display: inline-grid; place-items: center; min-width: 16px; height: 16px; padding: 0 4px; border-radius: var(--radius-full);
  background: var(--color-text); color: var(--color-text-inverse); font-size: var(--text-2xs); font-weight: var(--weight-semibold); font-variant-numeric: tabular-nums; line-height: 1;
}
.eb-fm-btn__count[hidden] { display: none; }

.eb-pop.eb-fm-pop { max-width: min(560px, calc(100vw - 16px)); min-width: 0; overflow: hidden; display: flex; }
.eb-fm { display: flex; align-items: stretch; max-height: min(420px, 70vh); }
.eb-fm__fields, .eb-fm__values { display: flex; flex-direction: column; min-height: 0; width: 240px; max-width: calc(100vw - 16px); }
.eb-fm__values { display: none; width: 280px; border-left: 1px solid var(--color-divider); }
.eb-fm.has-values .eb-fm__values { display: flex; }
.eb-fm__fields-list, .eb-fm__list { flex: 1; min-height: 0; overflow-y: auto; padding: 4px; }
.eb-fm__pin { display: flex; align-items: center; gap: 4px; padding: 8px 12px; border-bottom: 1px solid var(--color-divider); color: var(--color-text-3); flex-shrink: 0; }
.eb-fm__search { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0 4px; font: inherit; font-size: var(--text-base); color: var(--color-text); }
.eb-fm__search::placeholder { color: var(--color-text-3); }
.eb-fm__search::-webkit-search-cancel-button { display: none; }
.eb-fm__heading { padding: 6px 8px 4px; font-size: var(--text-2xs); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--color-text-3); }
.eb-fm__heading.eb-fm__heading--next { margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--color-divider); }   
.eb-fm__field, .eb-fm__value, .eb-fm__back {
  display: flex; align-items: center; gap: 9px; width: 100%; min-height: 30px; padding: 0 8px;
  border: 0; border-radius: var(--radius-sm); background: none; color: var(--color-text);
  font: inherit; font-size: var(--text-base); text-align: left; cursor: pointer;
}
.eb-fm__field:hover, .eb-fm__field:focus-visible, .eb-fm__field[aria-expanded="true"], .eb-fm__value:hover, .eb-fm__value:focus-within, .eb-fm__back:hover { background: var(--color-surface-2); }
.eb-fm__field:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--color-accent-line); }
.eb-fm__field > .eb-icon { color: var(--color-text-2); }
.eb-fm__field-label, .eb-fm__value-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eb-fm__field-n { min-width: 18px; padding: 0 5px; border-radius: var(--radius-full); background: var(--color-surface-3); color: var(--color-text-2); font-size: var(--text-2xs); text-align: center; font-variant-numeric: tabular-nums; }
.eb-fm__chev { flex-shrink: 0; color: var(--color-text-3); }
.eb-fm__value .eb-check { flex-shrink: 0; margin: 0; }
.eb-fm__value > .eb-icon { flex-shrink: 0; color: var(--color-text-2); }
.eb-fm__value-n { flex-shrink: 0; color: var(--color-text-3); font-size: var(--text-xs); font-variant-numeric: tabular-nums; }
.eb-fm__back { color: var(--color-text-2); font-size: var(--text-sm); border-bottom: 1px solid var(--color-divider); border-radius: 0; min-height: 34px; }
.eb-fm__empty { margin: 0; padding: 8px; color: var(--color-text-3); font-size: var(--text-sm); }

@media (max-width: 599px) {
  .eb-fm__fields, .eb-fm__values { width: min(300px, calc(100vw - 16px)); }
  .eb-fm.is-values .eb-fm__fields { display: none; }
  .eb-fm.is-values .eb-fm__values { border-left: 0; }
}

.eb-fchips { display: flex; align-items: flex-start; gap: var(--space-2) var(--space-4); min-width: 0; }
.eb-fchips[hidden] { display: none; }
.eb-fchips__list { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.eb-fchip {
  display: inline-flex; align-items: center; min-width: 0; max-width: 100%; height: var(--control-sm);
  border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-surface-2);
  font-size: var(--text-xs); line-height: var(--leading-control-sm);
}
.eb-fchip__edit {
  display: inline-flex; align-items: center; gap: 6px; min-width: 0; height: 100%; padding: 0 2px 0 8px;
  border: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); background: none; color: var(--color-text); font: inherit; cursor: pointer;
}
.eb-fchip__edit:hover { background: var(--color-surface-3); }
.eb-fchip__field { flex-shrink: 0; color: var(--color-text-3); }
.eb-fchip__value { min-width: 0; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: var(--weight-semibold); }
.eb-fchip__x {
  display: grid; place-items: center; flex-shrink: 0; width: 22px; height: 100%; padding: 0;
  border: 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: none; color: var(--color-text-4); cursor: pointer;
}
.eb-fchip__x:hover { color: var(--color-text); background: var(--color-surface-3); }
.eb-fchips__add, .eb-fchips__link {
  display: inline-flex; align-items: center; gap: 4px; height: var(--control-sm); padding: 0 6px;
  border: 0; border-radius: var(--radius-sm); background: none; color: var(--color-text-2); font: inherit; font-size: var(--text-xs); cursor: pointer; white-space: nowrap;
}
.eb-fchips__add:hover { background: var(--color-surface-2); color: var(--color-text); }
.eb-fchips__link { padding: 0 2px; text-decoration: underline; text-decoration-color: var(--color-border-strong); text-underline-offset: 2px; }
.eb-fchips__link:hover { color: var(--color-text); text-decoration-color: currentColor; }
.eb-fchips__end { display: flex; align-items: center; gap: 4px; flex-shrink: 0; height: var(--control-sm); color: var(--color-text-2); font-size: var(--text-xs); white-space: nowrap; }
.eb-fchips__count { font-variant-numeric: tabular-nums; }
.eb-fchips__dot { color: var(--color-text-4); }
@media (max-width: 640px) {
  .eb-fchips { flex-direction: column; align-items: stretch; }
  .eb-fchip__value { max-width: 160px; }
}

.eb-dm-btn { gap: 6px; }
.eb-pop.eb-dm-pop { padding: 0; }
.eb-dm { display: flex; flex-direction: column; }
.eb-dm__sec { display: grid; gap: 6px; padding: 10px 12px; }
.eb-dm__sec + .eb-dm__sec { border-top: 1px solid var(--color-divider); }
.eb-dm__sec--rows { gap: 2px; padding-block: 6px; }
.eb-dm__h { font-size: var(--text-2xs); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--color-text-3); }
.eb-seg.eb-dm__layout { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); width: 100%; }
.eb-seg.eb-dm__layout > button { justify-content: center; min-width: 0; }
.eb-dm__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: 32px; font-size: var(--text-sm); color: var(--color-text); }
.eb-dm__row--switch { cursor: pointer; }
.eb-dm__name { min-width: 0; }
.eb-dm__pick {
  display: inline-flex; align-items: center; gap: 4px; min-width: 0; max-width: 60%; height: var(--control-sm); padding: 0 6px;
  border: 0; border-radius: var(--radius-sm); background: none; color: var(--color-text-2); font: inherit; font-size: var(--text-sm); cursor: pointer;
}
.eb-dm__pick:hover { background: var(--color-surface-2); color: var(--color-text); }
.eb-dm__pick-v { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eb-dm__cols { display: grid; gap: 4px; }

.eb-ghead { display: flex; align-items: center; gap: 2px; margin: 0; min-height: 34px; padding: var(--space-3) 0 2px; border-bottom: 1px solid var(--color-divider); font-size: var(--text-2xs); font-weight: var(--weight-regular); }
.eb-ghead__toggle {
  display: inline-flex; align-items: center; gap: 5px; min-width: 0; height: 24px; padding: 0 6px; margin-left: -6px;
  border: 0; border-radius: var(--radius-sm); background: none; color: var(--color-text-3);
  font: inherit; font-size: var(--text-2xs); font-weight: var(--weight-medium); letter-spacing: var(--tracking-caps); text-transform: uppercase; cursor: pointer;
}
.eb-ghead__toggle:hover { color: var(--color-text-2); background: var(--color-surface-2); }
.eb-ghead__label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eb-ghead__count { flex-shrink: 0; font-variant-numeric: tabular-nums; }
.eb-ghead__chev { flex-shrink: 0; transition: transform var(--duration-state); }
.eb-ghead.is-collapsed .eb-ghead__chev { transform: rotate(-90deg); }
.eb-ghead__act {
  display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: var(--radius-sm);
  background: none; color: var(--color-text-3); cursor: pointer; opacity: 0; transition: opacity var(--duration-state);
}
.eb-ghead:hover .eb-ghead__act, .eb-ghead__act:focus-visible { opacity: 1; }
.eb-ghead__act:hover { background: var(--color-surface-2); color: var(--color-text); }
@media (hover: none) { .eb-ghead__act { opacity: 1; } }

.eb-sel { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; flex-shrink: 0; }
.eb-sel .eb-check { margin: 0; }

.eb-sel:not(.eb-sel--head) { opacity: 0; transition: opacity var(--duration-state); }
:is(li, tr, [data-id]):hover > * > .eb-sel, :is(li, tr, [data-id]):hover > .eb-sel,
.eb-sel:focus-within, .eb-sel-on .eb-sel, .eb-sel-row .eb-sel { opacity: 1; }
@media (hover: none) { .eb-sel:not(.eb-sel--head) { opacity: 1; } }
.eb-sel-row, .eb-sel-row:hover { background: var(--color-accent-soft); }

.eb-split { display: inline-flex; align-items: stretch; min-width: 0; }
.eb-split > .eb-btn { border-radius: 0; }
.eb-split > .eb-split__main { flex: 1; min-width: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.eb-split > .eb-split__toggle { flex-shrink: 0; width: calc(var(--eb-btn-h) - 2px); padding: 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.eb-split--primary > .eb-split__toggle { box-shadow: inset 1px 0 0 color-mix(in srgb, var(--color-on-accent) 28%, transparent); }
.eb-split--secondary > .eb-split__toggle { margin-left: -1px; }
.eb-split--block { display: flex; width: 100%; }

.eb-amark { display: inline-block; flex-shrink: 0; width: var(--eb-amark-sz, 26px); height: var(--eb-amark-sz, 26px); line-height: 0;
  --eb-amark-head: #1857E9; --eb-amark-eye: #FFFFFF; --eb-amark-ear-op: .618; --eb-amark-cheek: #FF8FB1; --eb-amark-sign: #FF8A3D; --eb-amark-drop: #9FD4FF; }
.eb-amark--white { --eb-amark-head: #FFFFFF; --eb-amark-eye: #0B0C10; --eb-amark-ear-op: .55; }
.eb-amark--black { --eb-amark-head: #141414; --eb-amark-eye: #FFFFFF; --eb-amark-ear-op: .55; }
.eb-amark__svg { display: block; width: 100%; height: 100%; overflow: visible; }

.eb-amark__body, .eb-amark__ears, .eb-amark__look, .eb-amark__face, .eb-amark__earturn { transform-box: view-box; transform-origin: 0 0; } 
.eb-amark__bob, .eb-amark__tilt, .eb-amark__lid { transform-box: fill-box; transform-origin: center; }
.eb-amark__ear { fill: var(--eb-amark-head); fill-opacity: var(--eb-amark-ear-op); }
.eb-amark__head { fill: var(--eb-amark-head); }
.eb-amark__look { fill: var(--eb-amark-eye); }
.eb-amark__smile { fill: none; stroke: var(--eb-amark-eye); stroke-width: 2.6; stroke-linecap: round; opacity: 0; }
.eb-amark__cheeks { fill: var(--eb-amark-cheek); opacity: 0; }
.eb-amark__drop { fill: var(--eb-amark-drop); opacity: 0; }
.eb-amark__ask, .eb-amark__bang, .eb-amark__zz { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.eb-amark__ask { stroke: var(--eb-amark-head); }
.eb-amark__bang { stroke: var(--eb-amark-sign); stroke-width: 3; }
.eb-amark__zz { stroke: var(--eb-amark-head); stroke-width: 1.8; }

@keyframes eb-amark-float { from { transform: translateY(1.6px); } to { transform: translateY(-1.6px); } }
@keyframes eb-amark-sway { from { transform: rotate(-6deg); } to { transform: rotate(6deg); } }
@keyframes eb-amark-blink { 0%, 44%, 52%, 100% { transform: scaleY(1); } 48% { transform: scaleY(.1); } }
@keyframes eb-amark-blink2 { 0%, 100% { transform: scaleY(1); } 20%, 60% { transform: scaleY(.1); } 40% { transform: scaleY(1); } }
@keyframes eb-amark-spin { to { transform: rotate(360deg); } }
@keyframes eb-amark-show { to { opacity: 1; } }

.eb-amark--idle .eb-amark__body { animation: eb-amark-float 2.4s ease-in-out infinite alternate; }
.eb-amark--idle .eb-amark__ears { animation: eb-amark-sway 3s ease-in-out infinite alternate; }
.eb-amark--idle .eb-amark__lid { animation: eb-amark-blink 4s ease-in-out infinite; }

.eb-amark--blink .eb-amark__lid { animation: eb-amark-blink2 .6s ease-in-out; }

@keyframes eb-amark-la-face { 0%, 100% { transform: none; } 15%, 35% { transform: translateX(-12.9px) scaleX(.883); } 55%, 80% { transform: translateX(12.9px) scaleX(.883); } }
@keyframes eb-amark-la-earturn { 0%, 100% { transform: none; } 15%, 35% { transform: translateX(4.2px) scaleX(.947); } 55%, 80% { transform: translateX(-4.2px) scaleX(.947); } }
@keyframes eb-amark-la-tilt { 0%, 100% { transform: rotate(0); } 15%, 35% { transform: rotate(-8deg); } 55%, 80% { transform: rotate(8deg); } }
@keyframes eb-amark-la-body { 0%, 100% { transform: rotate(0); } 15%, 35% { transform: rotate(-4deg); } 55%, 80% { transform: rotate(4deg); } }
@keyframes eb-amark-la-ears { 0%, 100% { transform: rotate(0); } 15%, 35% { transform: rotate(5deg); } 55%, 80% { transform: rotate(-5deg); } }
.eb-amark--look-around .eb-amark__face { animation: eb-amark-la-face 2.4s cubic-bezier(.5,0,.2,1); }
.eb-amark--look-around .eb-amark__earturn { animation: eb-amark-la-earturn 2.4s cubic-bezier(.5,0,.2,1); }
.eb-amark--look-around .eb-amark__tilt { animation: eb-amark-la-tilt 2.4s cubic-bezier(.5,0,.2,1); }
.eb-amark--look-around .eb-amark__body { animation: eb-amark-la-body 2.4s cubic-bezier(.5,0,.2,1); }
.eb-amark--look-around .eb-amark__ears { animation: eb-amark-la-ears 2.4s cubic-bezier(.5,0,.2,1); }

@keyframes eb-amark-nod { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(2px); } }
@keyframes eb-amark-zz { 0% { opacity: 0; transform: translate(0, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(4px, -8px); } }
.eb-amark--sleeping .eb-amark__lid { transform: scaleY(.1); }
.eb-amark--sleeping .eb-amark__look { transform: translateY(2px); }
.eb-amark--sleeping .eb-amark__body { animation: eb-amark-nod 2.8s ease-in-out infinite; }
.eb-amark--sleeping .eb-amark__ears { transform: translateY(2.5px) scaleY(.85); }
.eb-amark--sleeping .eb-amark__zz { animation: eb-amark-zz 2.8s ease-out infinite; }

@keyframes eb-amark-wave { 0%, 100% { transform: rotate(0); } 15%, 45%, 75% { transform: rotate(16deg); } 30%, 60% { transform: rotate(-16deg); } }
@keyframes eb-amark-hop { 0%, 100% { transform: translateY(0); } 30% { transform: translateY(-5px); } 55% { transform: translateY(0); } }
.eb-amark--greeting .eb-amark__look { opacity: 0; }
.eb-amark--greeting .eb-amark__smile { opacity: 1; }
.eb-amark--greeting .eb-amark__ears { animation: eb-amark-wave 1.6s ease-in-out; }
.eb-amark--greeting .eb-amark__body { animation: eb-amark-hop 1.6s ease-out; }

@keyframes eb-amark-bounce { 0%, 100% { transform: translateY(0) scale(1.05, .93); } 12% { transform: translateY(-1px) scale(1); } 50% { transform: translateY(-7px) scale(1); } 88% { transform: translateY(-1px) scale(1); } }
.eb-amark--loading .eb-amark__body { animation: eb-amark-bounce .9s ease-in-out infinite; transform-origin: 0 29px; }

@keyframes eb-amark-listen-eye { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.12, 1.18); } 60% { transform: scale(1.04, 1.06); } }
@keyframes eb-amark-listen-ear { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.08, 1.15); } }
.eb-amark--listening .eb-amark__look { animation: eb-amark-listen-eye 1.1s ease-in-out infinite; }
.eb-amark--listening .eb-amark__ears { animation: eb-amark-listen-ear 1.1s ease-in-out infinite; }
@keyframes eb-amark-li-face { 0%, 100% { transform: translateX(7.1px) scaleX(.966); } 50% { transform: translateX(-7.1px) scaleX(.966); } }
@keyframes eb-amark-li-earturn { 0%, 100% { transform: translateX(-2.3px) scaleX(.985); } 50% { transform: translateX(2.3px) scaleX(.985); } }
@keyframes eb-amark-li-body { 0%, 100% { transform: rotate(5deg); } 50% { transform: rotate(-5deg); } }
.eb-amark--listening .eb-amark__face { animation: eb-amark-li-face 4.4s ease-in-out infinite; }
.eb-amark--listening .eb-amark__earturn { animation: eb-amark-li-earturn 4.4s ease-in-out infinite; }
.eb-amark--listening .eb-amark__body { animation: eb-amark-li-body 4.4s ease-in-out infinite; }

@keyframes eb-amark-th-look { 0%, 100% { transform: translate(0, 0); } 25%, 75% { transform: translate(0, -4px); } }
@keyframes eb-amark-th-tilt { 0%, 100% { transform: rotate(0); } 25%, 75% { transform: rotate(12deg); } }
@keyframes eb-amark-th-body { 0%, 100% { transform: rotate(0); } 25%, 75% { transform: rotate(8deg); } }
@keyframes eb-amark-th-ears { 0%, 100% { transform: rotate(0); } 25%, 75% { transform: rotate(-14deg); } }
@keyframes eb-amark-th-face { 0%, 100% { transform: none; } 25%, 75% { transform: translateX(9.4px) scaleX(.94); } }
@keyframes eb-amark-th-earturn { 0%, 100% { transform: none; } 25%, 75% { transform: translateX(-3.1px) scaleX(.973); } }
.eb-amark--thinking .eb-amark__look { animation: eb-amark-th-look 2.6s ease-in-out infinite; }
.eb-amark--thinking .eb-amark__face { animation: eb-amark-th-face 2.6s ease-in-out infinite; }
.eb-amark--thinking .eb-amark__earturn { animation: eb-amark-th-earturn 2.6s ease-in-out infinite; }
.eb-amark--thinking .eb-amark__tilt { animation: eb-amark-th-tilt 2.6s ease-in-out infinite; }
.eb-amark--thinking .eb-amark__body { animation: eb-amark-th-body 2.6s ease-in-out infinite; }
.eb-amark--thinking .eb-amark__ears { animation: eb-amark-th-ears 2.6s ease-in-out infinite; }
.eb-amark--thinking .eb-amark__lid { animation: eb-amark-blink 2.6s ease-in-out infinite; }

@keyframes eb-amark-read-look { 0% { transform: translate(-4px, -2px); } 27% { transform: translate(4px, -2px); } 33.3% { transform: translate(-4px, .2px); } 60% { transform: translate(4px, .2px); } 66.6% { transform: translate(-4px, 2.4px); } 93% { transform: translate(4px, 2.4px); } 100% { transform: translate(-4px, -2px); } }
@keyframes eb-amark-read-tilt { 0%, 33.3%, 66.6%, 100% { transform: rotate(-12deg); } 27%, 60%, 93% { transform: rotate(12deg); } }
.eb-amark--reading .eb-amark__look { animation: eb-amark-read-look 2.4s linear infinite; }
.eb-amark--reading .eb-amark__tilt { animation: eb-amark-read-tilt 2.4s linear infinite; }

@keyframes eb-amark-follow { 0% { transform: translate(2.4px, -1.5px); } 25% { transform: translate(0, -.3px); } 50% { transform: translate(-2.4px, -1.5px); } 75% { transform: translate(0, -2.7px); } 100% { transform: translate(2.4px, -1.5px); } }
@keyframes eb-amark-follow-tilt { 0%, 100% { transform: rotate(11deg); } 25%, 75% { transform: rotate(0); } 50% { transform: rotate(-11deg); } }
.eb-amark--processing .eb-amark__ears { animation: eb-amark-spin 1.2s linear infinite; }
.eb-amark--processing .eb-amark__look { animation: eb-amark-follow 1.2s linear infinite; }
.eb-amark--processing .eb-amark__tilt { animation: eb-amark-follow-tilt 1.2s linear infinite; }

@keyframes eb-amark-bob { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-4px); } }
.eb-amark--typing .eb-amark__bob { animation: eb-amark-bob .6s ease-in-out infinite; }
.eb-amark--typing .eb-amark__bob--r { animation-delay: .15s; }

.eb-amark--step .eb-amark__ears { animation: eb-amark-spin 1.2s cubic-bezier(.65,0,.35,1); }

.eb-amark--waiting .eb-amark__look { animation: eb-amark-follow 2.4s linear infinite; }
.eb-amark--waiting .eb-amark__tilt { animation: eb-amark-follow-tilt 2.4s linear infinite; }
.eb-amark--waiting .eb-amark__ears { animation: eb-amark-sway 1.2s ease-in-out infinite alternate; }

@keyframes eb-amark-ask-nod { 0%, 20%, 50%, 100% { transform: translateY(0); } 35% { transform: translateY(2.5px); } }
.eb-amark--awaiting-approval .eb-amark__ears { transform: translateY(-2.5px) scaleY(1.08); }
.eb-amark--awaiting-approval .eb-amark__lid { transform: scaleY(1.08); }
.eb-amark--awaiting-approval .eb-amark__body { animation: eb-amark-ask-nod 2.4s ease-in-out infinite; }

.eb-amark--done .eb-amark__look { opacity: 0; }
.eb-amark--done .eb-amark__smile { opacity: 1; }
.eb-amark--done .eb-amark__body { animation: eb-amark-hop .8s ease-out; }

.eb-amark--thanks .eb-amark__look { opacity: 0; }
.eb-amark--thanks .eb-amark__smile { opacity: 1; }
.eb-amark--thanks .eb-amark__cheeks { opacity: .85; }
.eb-amark--thanks .eb-amark__body { animation: eb-amark-hop 1s ease-out; }
.eb-amark--thanks .eb-amark__ears { animation: eb-amark-sway .45s ease-in-out 4 alternate; }

@keyframes eb-amark-cf-body { 0%, 100% { transform: rotate(0); } 15%, 85% { transform: rotate(12deg); } }
@keyframes eb-amark-cf-ears { 0%, 100% { transform: rotate(0); } 15%, 85% { transform: rotate(-12deg); } }
@keyframes eb-amark-cf-look { 0%, 100% { transform: translate(0, 0); } 15%, 85% { transform: translate(-2px, -3px); } }
@keyframes eb-amark-cf-sign { 0%, 100% { opacity: 0; } 20%, 80% { opacity: 1; } 50% { opacity: .6; } }
.eb-amark--confused .eb-amark__body { animation: eb-amark-cf-body 2.2s ease-in-out; }
.eb-amark--confused .eb-amark__ears { animation: eb-amark-cf-ears 2.2s ease-in-out; }
.eb-amark--confused .eb-amark__look { animation: eb-amark-cf-look 2.2s ease-in-out; }
@keyframes eb-amark-cf-face { 0%, 100% { transform: none; } 15%, 85% { transform: translateX(-7.1px) scaleX(.966); } }
@keyframes eb-amark-cf-earturn { 0%, 100% { transform: none; } 15%, 85% { transform: translateX(2.3px) scaleX(.985); } }
.eb-amark--confused .eb-amark__face { animation: eb-amark-cf-face 2.2s ease-in-out; }
.eb-amark--confused .eb-amark__earturn { animation: eb-amark-cf-earturn 2.2s ease-in-out; }
.eb-amark--confused .eb-amark__bob--l .eb-amark__lid { transform: scaleY(.55); }
.eb-amark--confused .eb-amark__ask { animation: eb-amark-cf-sign 2.2s ease-in-out; }

@keyframes eb-amark-so-body { 0%, 100% { transform: translateY(0) rotate(0); } 15% { transform: translateY(2.5px) rotate(-4deg); } 30% { transform: translateY(4.5px) rotate(-4deg); } 45%, 85% { transform: translateY(2.5px) rotate(-4deg); } }
@keyframes eb-amark-so-drop { 0%, 25% { opacity: 0; transform: translateY(0); } 45% { opacity: 1; } 85% { opacity: 0; transform: translateY(6px); } 100% { opacity: 0; } }
.eb-amark--sorry .eb-amark__body { animation: eb-amark-so-body 2.4s ease-in-out; }
.eb-amark--sorry .eb-amark__look { transform: translate(-1px, 3px); }
.eb-amark--sorry .eb-amark__bob--l .eb-amark__tilt { transform: rotate(28deg); }
.eb-amark--sorry .eb-amark__bob--r .eb-amark__tilt { transform: rotate(-28deg); }
.eb-amark--sorry .eb-amark__lid { transform: scaleY(.68); }
.eb-amark--sorry .eb-amark__ears { transform: translateY(2.5px) scaleY(.8); }
.eb-amark--sorry .eb-amark__drop { animation: eb-amark-so-drop 2.4s ease-in-out; }

@keyframes eb-amark-shiver { 0%, 100% { transform: rotate(0); } 10%, 30%, 50%, 70% { transform: rotate(7deg); } 20%, 40%, 60%, 80% { transform: rotate(-7deg); } 90% { transform: rotate(0); } }
.eb-amark--alert .eb-amark__lid { transform: scale(1.12, 1.25); }
.eb-amark--alert .eb-amark__ears { animation: eb-amark-shiver .5s linear 2; }
.eb-amark--alert .eb-amark__bang { animation: eb-amark-cf-sign 1.6s ease-in-out; }

@keyframes eb-amark-shake { 0%, 100% { transform: rotate(0); } 12% { transform: rotate(-9deg); } 28% { transform: rotate(9deg); } 44% { transform: rotate(-6deg); } 60% { transform: rotate(4deg); } 76% { transform: rotate(0); } }
.eb-amark--no-access .eb-amark__lid { transform: scaleY(.1); }
.eb-amark--no-access .eb-amark__body { animation: eb-amark-shake 1.8s ease-in-out; }

.eb-amark--offline .eb-amark__body { opacity: .4; }
.eb-amark--offline .eb-amark__lid { transform: scaleY(.16); }
.eb-amark--offline .eb-amark__look { transform: translateY(2px); }

@media (prefers-reduced-motion: reduce) {
  :root:not([data-motion="full"]) .eb-amark * { animation: none !important; }
  :root:not([data-motion="full"]) .eb-amark--confused .eb-amark__ask,
  :root:not([data-motion="full"]) .eb-amark--alert .eb-amark__bang,
  :root:not([data-motion="full"]) .eb-amark--sorry .eb-amark__drop,
  :root:not([data-motion="full"]) .eb-amark--sleeping .eb-amark__zz { opacity: 1; }
}
:root[data-motion="reduce"] .eb-amark * { animation: none !important; }
:root[data-motion="reduce"] .eb-amark--confused .eb-amark__ask,
:root[data-motion="reduce"] .eb-amark--alert .eb-amark__bang,
:root[data-motion="reduce"] .eb-amark--sorry .eb-amark__drop,
:root[data-motion="reduce"] .eb-amark--sleeping .eb-amark__zz { opacity: 1; }

.eb-amark__earlight { fill: #fff; }
.eb-amark__glint { fill: #fff; }
.eb-amark__rim, .eb-amark__edge, .eb-amark__spec, .eb-amark__earlight, .eb-amark__glint { pointer-events: none; }
.eb-amark__look { filter: drop-shadow(.5px 1px .6px rgba(0, 0, 0, .25)); }
.eb-amark--white .eb-amark__look { filter: none; }

.eb-stackbar-wrap { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.eb-stackbar { display: flex; gap: 2px; height: 6px; border-radius: 6px; overflow: hidden; background: var(--color-surface-3); }
.eb-stackbar--sm { height: 4px; border-radius: 4px; }
.eb-stackbar > i { display: block; height: 100%; min-width: 2px; }
.eb-stackbar--grow > i { transform-origin: left; animation: eb-grow-x .8s .12s var(--ease-out) both; }
@media (prefers-reduced-motion: reduce) { :root:not([data-motion="full"]) .eb-stackbar--grow > i { animation: none; } }
:root[data-motion="reduce"] .eb-stackbar--grow > i { animation: none; }
.eb-stackbar__legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; padding: 0; list-style: none; font-size: var(--text-xs); color: var(--color-text-2); }
.eb-stackbar__legend li { display: inline-flex; align-items: center; gap: 6px; }
.eb-stackbar__legend i { width: 8px; height: 8px; border-radius: 3px; }
.eb-stackbar__legend b { font-weight: var(--weight-medium); color: var(--color-text); font-variant-numeric: tabular-nums; }

.eb-chart { container-type: inline-size; position: relative; display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; box-sizing: border-box; padding: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); box-shadow: var(--shadow-sm); }
.eb-chart--fill { height: 100%; }
.eb-chart--bare { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.eb-chart__head { display: flex; align-items: flex-start; gap: var(--space-2); min-width: 0; }
.eb-chart__titles { flex: 1 1 auto; min-width: 0; display: grid; gap: 2px; }
.eb-chart__title { margin: 0; font-size: var(--text-sm); font-weight: var(--weight-semibold); overflow-wrap: anywhere; }
.eb-chart__note { margin: 0; font-size: var(--text-xs); color: var(--color-text-3); overflow-wrap: anywhere; }
.eb-chart__tools { flex-shrink: 0; display: flex; align-items: center; gap: var(--space-1); }
.eb-chart__wrap { position: relative; min-width: 0; }
.eb-chart__wrap[hidden], .eb-chart__legend-host[hidden], .eb-chart__table-host[hidden] { display: none; }
.eb-chart__plot { min-width: 0; border-radius: var(--radius-sm); }
.eb-chart__plot:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-ring-offset); }
.eb-chart__plot > svg { display: block; max-width: 100%; overflow: visible; }
.eb-chart__state { display: grid; place-items: center; }
.eb-chart__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eb-chart svg text { fill: var(--color-text-3); font-size: 11px; font-family: inherit; font-variant-numeric: tabular-nums; paint-order: stroke; stroke: var(--color-surface); stroke-width: 3px; stroke-linejoin: round; }
.eb-chart svg text.is-strong { fill: var(--color-text); font-weight: var(--weight-medium); }
.eb-chart svg text.is-2 { fill: var(--color-text-2); }
.eb-chart svg text.is-inv { fill: var(--color-text-inverse); }
.eb-chart svg text.is-lg { font-size: 22px; font-weight: var(--weight-semibold); fill: var(--color-text); }
.eb-chart__grid { stroke: var(--color-divider); stroke-width: 1; shape-rendering: crispEdges; }
.eb-chart__axis { stroke: var(--color-border-strong); stroke-width: 1; shape-rendering: crispEdges; }
.eb-chart__ref { stroke: var(--color-text-2); stroke-width: 2; stroke-dasharray: 4 3; }
.eb-chart__hatch { fill: var(--color-surface); fill-opacity: .6; }
.eb-chart__mark { fill: var(--c); }
.eb-chart__line { fill: none; stroke: var(--c); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.eb-chart__line.is-dashed { stroke-dasharray: 5 4; }
.eb-chart__area { fill: var(--c); fill-opacity: .14; stroke: none; }
.eb-chart__area.is-stack { fill-opacity: .9; stroke: var(--color-surface); stroke-width: 1.5; }
.eb-chart__dot { fill: var(--c); stroke: var(--color-surface); stroke-width: 2; }
.eb-chart__cross { stroke: var(--color-text-3); stroke-width: 1; stroke-dasharray: 3 3; }
.eb-chart__hl { fill: var(--color-text); fill-opacity: .05; }
.eb-chart__hit { fill: transparent; }
.eb-chart.is-select .eb-chart__hit { cursor: pointer; }
.eb-chart__dim { opacity: .35; }
.eb-chart svg * { transition: opacity .12s; }

.eb-chart__legend { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-4); font-size: var(--text-xs); color: var(--color-text-2); }
.eb-chart__legend li { display: inline-flex; }
.eb-chart__legend-item, .eb-chart__legend-btn { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.eb-chart__legend-btn { font: inherit; color: inherit; background: none; border: 0; padding: 2px 4px; margin: -2px -4px; border-radius: var(--radius-xs); cursor: pointer; }
.eb-chart__legend-btn:hover { color: var(--color-text); background: var(--color-surface-2); }
.eb-chart__legend-btn:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-ring-offset); }
.eb-chart__legend li.is-off { opacity: .5; }
.eb-chart__legend li.is-off .eb-chart__lbl { text-decoration: line-through; }
.eb-chart__legend b { font-weight: var(--weight-medium); color: var(--color-text); font-variant-numeric: tabular-nums; }
.eb-chart__lbl { overflow-wrap: anywhere; }
.eb-chart__sw { flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.eb-chart__sw.is-dash { height: 0; width: 14px; border-radius: 0; background: none; border-top: 2px dashed var(--c, var(--color-text-2)); }
.eb-chart__sw.is-hatch { background: repeating-linear-gradient(135deg, var(--c) 0 2px, color-mix(in oklab, var(--c) 30%, var(--color-surface)) 2px 4px); }

.eb-chart__tip { position: absolute; z-index: 3; pointer-events: none; display: grid; gap: 3px; min-width: 120px; max-width: 280px; padding: var(--space-2) var(--space-3); border-radius: var(--radius-md); background: var(--color-text); color: var(--color-text-inverse); font-size: var(--text-xs); box-shadow: var(--shadow-pop); }
.eb-chart__tip[hidden] { display: none; }
.eb-chart__tip-t { font-weight: var(--weight-semibold); }
.eb-chart__tip-r { display: flex; align-items: center; gap: 6px; }
.eb-chart__tip-r > span { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; opacity: .85; }
.eb-chart__tip-r > b { font-weight: var(--weight-medium); font-variant-numeric: tabular-nums; white-space: nowrap; }
.eb-chart__tip-r.is-strong { margin-top: 2px; padding-top: 4px; border-top: 1px solid color-mix(in oklab, var(--color-text-inverse) 25%, transparent); }

.eb-chart__table { overflow-x: auto; }
.eb-chart__table table { width: 100%; border-collapse: collapse; font-size: var(--text-xs); }
.eb-chart__table th, .eb-chart__table td { padding: var(--space-1) var(--space-2); border-bottom: 1px solid var(--color-divider); text-align: left; white-space: nowrap; }
.eb-chart__table thead th { color: var(--color-text-2); font-weight: var(--weight-medium); }
.eb-chart__table tbody th { font-weight: var(--weight-regular); }
.eb-chart__table .is-num { text-align: right; font-variant-numeric: tabular-nums; }

@container (max-width: 420px) { .eb-chart__head { flex-wrap: wrap; } .eb-chart__titles { flex-basis: 100%; } .eb-chart__tools { margin-left: calc(var(--space-2) * -1); } }
@media (prefers-reduced-motion: reduce) { :root:not([data-motion="full"]) .eb-chart svg * { transition: none; } }
:root[data-motion="reduce"] .eb-chart svg * { transition: none; }
@media (forced-colors: active) { .eb-chart__mark, .eb-chart__sw { forced-color-adjust: none; border: 1px solid CanvasText; } }
@media print { .eb-chart__tools { display: none; } }

.eb-spark { display: block; width: 100%; min-width: 0; --c: var(--hue-blue); }
.eb-spark > svg { display: block; overflow: visible; }
.eb-spark__line { fill: none; stroke: var(--c); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.eb-spark__area { fill: var(--c); fill-opacity: .14; }
.eb-spark__dot { fill: var(--c); stroke: var(--color-surface); stroke-width: 2; }
.eb-spark__bar { fill: var(--c); }

.eb-chartgroup { display: grid; gap: var(--space-3); align-content: start; min-width: 0; }
.eb-chartgroup--fill { height: 100%; box-sizing: border-box; }

.eb-kpi { container-type: inline-size; min-width: 0; }
.eb-kpi__card { display: flex; align-items: stretch; gap: var(--space-3); min-width: 0; box-sizing: border-box; padding: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); box-shadow: var(--shadow-sm); }
.eb-kpi__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-1); margin: 0; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; }
button.eb-kpi__body { cursor: pointer; border-radius: var(--radius-sm); }
.eb-kpi__card.is-link:hover { background: var(--color-surface-2); }
button.eb-kpi__body:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-ring-offset); }
.eb-kpi__label { font-size: var(--text-xs); color: var(--color-text-2); overflow-wrap: anywhere; }
.eb-kpi__value { font-size: var(--text-2xl); font-weight: var(--weight-semibold); font-variant-numeric: tabular-nums; line-height: 1.15; letter-spacing: -0.01em; overflow-wrap: break-word; }
.eb-kpi__value small { margin-left: 4px; font-size: var(--text-sm); font-weight: var(--weight-regular); color: var(--color-text-3); }
.eb-kpi__delta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; font-size: var(--text-xs); font-variant-numeric: tabular-nums; }
.eb-kpi__delta b { font-weight: var(--weight-medium); }
.eb-kpi__delta.is-good { color: var(--color-success); }
.eb-kpi__delta.is-bad { color: var(--color-danger); }
.eb-kpi__delta.is-flat { color: var(--color-text-2); }
.eb-kpi__flat { display: inline-block; width: 13px; text-align: center; }
.eb-kpi__cmp, .eb-kpi__hint, .eb-kpi__tlabel, .eb-kpi__err { font-size: var(--text-xs); color: var(--color-text-3); }
.eb-kpi__target { display: grid; gap: 4px; align-self: stretch; margin-top: var(--space-1); }
.eb-kpi__track { display: block; height: 6px; border-radius: 6px; background: var(--color-surface-3); overflow: hidden; }
.eb-kpi__track > i { display: block; height: 100%; border-radius: 6px; background: var(--hue-blue); }
.eb-kpi__spark { flex: 0 1 38%; min-width: 64px; max-width: 140px; align-self: flex-end; }
@container (max-width: 340px) { .eb-kpi__card { flex-direction: column; } .eb-kpi__spark { flex: none; align-self: stretch; max-width: none; } }

.eb-funnel { display: grid; gap: 0; min-width: 0; }
.eb-funnel__row { display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr) auto; align-items: center; gap: var(--space-3); min-width: 0; padding: 3px var(--space-1); border: 0; border-radius: var(--radius-sm); background: none; font: inherit; color: inherit; text-align: left; }
button.eb-funnel__row { cursor: pointer; }
.eb-funnel__row:hover { background: color-mix(in oklab, var(--color-text) 5%, transparent); }
button.eb-funnel__row:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-ring-offset); }
.eb-funnel__lbl { font-size: var(--text-xs); color: var(--color-text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eb-funnel__track { display: block; height: 22px; min-width: 0; }
.eb-funnel__bar { display: block; height: 100%; border-radius: 0 4px 4px 0; min-width: 2px; }
.eb-funnel__val { display: grid; justify-items: end; min-width: 4.5rem; font-variant-numeric: tabular-nums; line-height: 1.2; }
.eb-funnel__val b { font-size: var(--text-xs); font-weight: var(--weight-medium); }
.eb-funnel__val small { font-size: 11px; color: var(--color-text-3); }
.eb-funnel__carry { padding: 2px 0 2px calc(9rem + var(--space-3) + var(--space-1)); font-size: 11px; color: var(--color-text-3); font-variant-numeric: tabular-nums; }
.eb-funnel__carry.is-worst { color: var(--color-text); font-weight: var(--weight-medium); }
@container (max-width: 420px) { .eb-funnel__row { grid-template-columns: minmax(0, 6rem) minmax(0, 1fr) auto; gap: var(--space-2); } .eb-funnel__carry { padding-left: calc(6rem + var(--space-2) + var(--space-1)); } }

.eb-heat-wrap { display: grid; gap: var(--space-3); min-width: 0; }
.eb-heat { display: grid; gap: 2px; min-width: 0; }
.eb-heat__col { font-size: 11px; color: var(--color-text-3); text-align: center; white-space: nowrap; overflow: hidden; }
.eb-heat__row { display: flex; align-items: center; justify-content: flex-end; padding-right: var(--space-2); font-size: 11px; color: var(--color-text-2); white-space: nowrap; overflow: hidden; }
.eb-heat__cell { display: grid; place-items: center; min-width: 0; height: 28px; padding: 0; border: 0; border-radius: 4px; font: inherit; font-size: 11px; font-variant-numeric: tabular-nums; color: var(--color-text); }
.eb-heat__cell.is-dark { color: var(--color-text-inverse); }
button.eb-heat__cell { cursor: pointer; }
button.eb-heat__cell:focus-visible { outline: var(--focus-ring); outline-offset: 1px; }
.eb-heat__cell:hover { box-shadow: 0 0 0 2px var(--color-text); }
.eb-heat__cell.is-empty { background: repeating-linear-gradient(135deg, var(--color-surface-3) 0 2px, var(--color-surface-2) 2px 5px); box-shadow: none; }
.eb-heat__key { display: flex; align-items: center; gap: var(--space-2); font-size: 11px; color: var(--color-text-3); font-variant-numeric: tabular-nums; }
.eb-heat__key > i { flex: 0 1 140px; height: 8px; border-radius: 4px; }
.eb-heat__nodata { display: inline-flex; align-items: center; gap: 6px; margin-left: var(--space-3); }
.eb-heat__nodata .eb-heat__cell { width: 14px; height: 10px; }

.eb-bullet { display: grid; gap: var(--space-2); min-width: 0; }
.eb-bullet__row { display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr) auto; align-items: center; gap: var(--space-3); min-width: 0; padding: 2px var(--space-1); border: 0; border-radius: var(--radius-sm); background: none; font: inherit; color: inherit; text-align: left; }
button.eb-bullet__row { cursor: pointer; }
.eb-bullet__row:hover { background: color-mix(in oklab, var(--color-text) 5%, transparent); }
button.eb-bullet__row:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-ring-offset); }
.eb-bullet__lbl { font-size: var(--text-xs); color: var(--color-text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eb-bullet__track { position: relative; display: block; height: 20px; min-width: 0; }
.eb-bullet__band { position: absolute; top: 0; bottom: 0; background: var(--color-surface-3); }
.eb-bullet__band.is-3 { background: color-mix(in oklab, var(--color-text) 14%, var(--color-surface)); }
.eb-bullet__band.is-2 { background: color-mix(in oklab, var(--color-text) 8%, var(--color-surface)); }
.eb-bullet__band.is-1 { background: color-mix(in oklab, var(--color-text) 4%, var(--color-surface)); }
.eb-bullet__bar { position: absolute; left: 0; top: 6px; bottom: 6px; border-radius: 0 3px 3px 0; background: var(--hue-blue); min-width: 2px; }
.eb-bullet__tick { position: absolute; top: 2px; bottom: 2px; width: 2px; margin-left: -1px; background: var(--color-text); border-radius: 1px; }
.eb-bullet__val { display: grid; justify-items: end; min-width: 4rem; font-variant-numeric: tabular-nums; line-height: 1.2; }
.eb-bullet__val b { font-size: var(--text-xs); font-weight: var(--weight-medium); }
.eb-bullet__val small { font-size: 11px; color: var(--color-text-3); }
@container (max-width: 420px) { .eb-bullet__row { grid-template-columns: minmax(0, 6rem) minmax(0, 1fr) auto; gap: var(--space-2); } }

.eb-stretch { position: static; border: 0; padding: 0; margin: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; text-decoration: none; }
.eb-stretch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 0; }
.eb-stretch:focus-visible { outline: none; }
.eb-stretch:focus-visible::after { outline: var(--focus-ring); outline-offset: var(--focus-ring-offset); }
.eb-above { position: relative; z-index: 1; }

.eb-panel { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); min-width: 0; }
.eb-panel__head { display: flex; align-items: center; gap: 8px; padding: 12px 14px 10px; }
.eb-panel__head > h2, .eb-panel__head > h3, .eb-panel__head > h4 { margin: 0; font-size: var(--text-base); font-weight: var(--weight-semibold); }
.eb-panel__actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.eb-panel__body { padding: 0 14px 14px; }
.eb-panel--flush .eb-panel__body { padding: 0; }

.eb-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; background: var(--color-surface); }
.eb-stat-cell + .eb-stat-cell { border-left: 1px solid var(--color-border); }
.eb-stat { container-type: inline-size; display: flex; flex-direction: column; gap: 6px; width: 100%; height: 100%; padding: 14px 16px; border: 0; background: none; color: inherit; font: inherit; text-align: left; transition: background var(--duration-state); }
button.eb-stat { cursor: pointer; }
button.eb-stat:hover { background: var(--color-surface-2); }
button.eb-stat:focus-visible { outline-offset: -2px; }
.eb-stat__k { display: flex; align-items: center; gap: 6px; font-size: var(--text-sm); color: var(--color-text-2); }
.eb-stat__v { font-size: clamp(12px, calc(100cqi / (var(--chars, 8) * .62)), 22px); white-space: nowrap; font-weight: var(--weight-semibold); letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.eb-stat__d { font-size: var(--text-xs); color: var(--color-text-3); }
.eb-stat__d.is-up { color: var(--color-success); }
.eb-stat__d.is-bad { color: var(--color-danger); }
@media (max-width: 900px) {
  .eb-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eb-stat-cell:nth-child(3) { border-left: 0; }
  .eb-stat-cell:nth-child(n+3) { border-top: 1px solid var(--color-border); }
}

.eb-scard {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 14px; min-width: 0;
  border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface);
  transition: border-color var(--duration-state), box-shadow .2s var(--ease-out), transform .2s var(--ease-out);
}
.eb-scard:hover { border-color: var(--color-border-strong); box-shadow: var(--shadow-raise); transform: translateY(-2px); }
.eb-scard:focus-within { border-color: var(--color-border-strong); }
@media (prefers-reduced-motion: reduce) { :root:not([data-motion="full"]) .eb-scard:hover { transform: none; } }
:root[data-motion="reduce"] .eb-scard:hover { transform: none; }
.eb-scard__head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.eb-tile { --eb-sz: 28px; width: var(--eb-sz); height: var(--eb-sz); border-radius: 7px; flex-shrink: 0; display: grid; place-items: center; background: color-mix(in srgb, var(--eb-c) 14%, transparent); color: color-mix(in srgb, var(--eb-c) var(--hue-mix), var(--color-text)); }
.eb-scard__name { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; }
.eb-scard__name h3 { margin: 0; min-width: 0; font-size: 14px; font-weight: var(--weight-semibold); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eb-scard__fav { color: var(--color-warning); }
.eb-scard__lock { color: var(--color-text-3); }
.eb-pstatus { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 7px; border: 1px solid var(--color-border); border-radius: 5px; font-size: var(--text-xs); font-weight: var(--weight-medium); line-height: var(--leading-control-sm); white-space: nowrap; flex-shrink: 0; }
.eb-pstatus > i { width: 6px; height: 6px; border-radius: 50%; }
.eb-scard__desc { margin: 0; min-height: 2.9em; font-size: var(--text-sm); line-height: 1.45; color: var(--color-text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.eb-scard__progress { display: flex; align-items: center; gap: 10px; }
.eb-scard__progress > span { font-size: var(--text-xs); font-weight: var(--weight-medium); font-variant-numeric: tabular-nums; }
.eb-scard__foot { display: flex; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid var(--color-divider); font-size: var(--text-xs); color: var(--color-text-3); }
.eb-scard__meta { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.eb-scard__sp { flex: 1; }
.eb-scard__more { position: absolute; top: 10px; right: 10px; z-index: 1; opacity: 0; background: var(--color-surface); box-shadow: 0 0 0 1px var(--color-border); }
.eb-scard:hover .eb-scard__more, .eb-scard__more:focus-visible, .eb-scard__more[aria-expanded="true"] { opacity: 1; }
@media (hover: none) { .eb-scard__more { opacity: 1; } }

.eb-kcard {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  padding: var(--card-padding) calc(var(--card-padding) + 2px);
  border-radius: var(--radius-md); background: var(--color-surface); box-shadow: var(--shadow-card);
  transition: box-shadow var(--duration-state), transform .18s var(--ease-out);
}
.eb-kcard:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { :root:not([data-motion="full"]) .eb-kcard:hover { transform: none; } }
:root[data-motion="reduce"] .eb-kcard:hover { transform: none; }
.eb-kcard.is-dragging { opacity: .35; }
.eb-kcard__labels { display: flex; flex-wrap: wrap; gap: 4px; }
.eb-kcard__top { display: flex; align-items: flex-start; }
.eb-kcard__done { margin: 2px 7px 0 0; }
.eb-kcard__title { flex: 1; min-width: 0; font-size: var(--text-base); line-height: 1.4; font-weight: var(--weight-book); overflow-wrap: anywhere; }
.eb-kcard.is-done .eb-kcard__title { color: var(--color-text-3); text-decoration: line-through; }
.eb-kcard__sub { display: flex; align-items: center; gap: 8px; font-size: var(--text-2xs); color: var(--color-text-3); font-variant-numeric: tabular-nums; }
.eb-kcard__meta { display: flex; align-items: center; gap: 10px; font-size: var(--text-xs); color: var(--color-text-3); }
.eb-kcard__m { display: inline-flex; align-items: center; gap: 3px; }
.eb-kcard__key { font-family: var(--font-mono); font-size: 11px; color: var(--color-text-3); }
.eb-kcard__av { margin-left: auto; }
.eb-pdot { width: 8px; height: 8px; border-radius: 3px; background: var(--eb-c); flex-shrink: 0; display: inline-block; }
.eb-due { display: inline-flex; align-items: center; gap: 4px; font-size: var(--text-xs); color: var(--color-text-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.eb-due.is-over { color: var(--color-danger); }
.eb-due.is-soon { color: var(--color-warning); }
.eb-kcard__actions { position: absolute; top: 6px; right: 6px; z-index: 1; display: none; gap: 1px; padding: 1px; border-radius: var(--radius-sm); background: var(--color-surface); box-shadow: 0 0 0 1px var(--color-border); }
.eb-kcard:hover .eb-kcard__actions, .eb-kcard:focus-within .eb-kcard__actions { display: flex; }

.eb-fcard { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); transition: border-color var(--duration-state); }
.eb-fcard:hover, .eb-fcard:focus-within { border-color: var(--color-border-strong); }
.eb-fcard__prev { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; background: var(--color-sunken); border-bottom: 1px solid var(--color-border); }
.eb-fcard__prev img { width: 100%; height: 100%; object-fit: cover; }
.eb-fcard__art { position: absolute; inset: 14px 18px; display: flex; flex-direction: column; gap: 5px; padding: 10px; border-radius: 4px; background: var(--color-surface); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.eb-fcard__art i { display: block; height: 4px; border-radius: 2px; background: var(--color-surface-3); }
.eb-fcard__art i.is-h { height: 7px; width: 55%; background: var(--color-border-strong); }
.eb-fcard__ext { position: absolute; right: 8px; bottom: 8px; padding: 2px 5px; border-radius: 4px; background: color-mix(in srgb, var(--eb-c) 88%, #000); color: #fff; font-family: var(--font-mono); font-size: 11px; font-weight: var(--weight-medium); text-transform: uppercase; }
:root[data-theme="dark"] .eb-fcard__ext { background: var(--eb-c); color: var(--color-bg-sidebar); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .eb-fcard__ext { background: var(--eb-c); color: var(--color-bg-sidebar); } }
.eb-fcard__info { display: flex; flex-direction: column; gap: 2px; padding: 9px 10px; }
.eb-fcard__name { font-size: var(--text-sm); font-weight: var(--weight-medium); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eb-fcard__meta { font-size: var(--text-2xs); color: var(--color-text-3); }
.eb-fcard__more { position: absolute; top: 6px; right: 6px; z-index: 1; opacity: 0; background: var(--color-surface); box-shadow: 0 0 0 1px var(--color-border); }
.eb-fcard:hover .eb-fcard__more, .eb-fcard__more:focus-visible, .eb-fcard__more[aria-expanded="true"] { opacity: 1; }
@media (hover: none) { .eb-fcard__more { opacity: 1; } }
.eb-fcard--sm { border-radius: var(--radius-md); }
.eb-fcard--sm .eb-fcard__prev { aspect-ratio: 16 / 9; }
.eb-fcard--sm .eb-fcard__art { inset: 10px 14px; padding: 7px; gap: 4px; }
.eb-fcard--sm .eb-fcard__info { padding: 7px 9px; }

.eb-choicecard {
  position: relative; display: flex; flex-direction: column; gap: 8px; padding: 14px 12px; min-width: 0;
  border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface);
  text-align: left; cursor: pointer;
  transition: border-color var(--duration-state), box-shadow var(--duration-state), background var(--duration-state);
}
.eb-choicecard:hover { border-color: var(--color-border-strong); }
.eb-choicecard > .eb-icon { color: var(--color-text-2); }
.eb-choicecard.is-on { border-color: var(--color-accent); box-shadow: var(--focus-halo); }
.eb-choicecard.is-on > .eb-icon { color: var(--color-accent); }
.eb-choicecard:has(input:focus-visible) { outline: var(--focus-ring); outline-offset: var(--focus-ring-offset); }
.eb-choicecard.is-disabled { opacity: .45; cursor: not-allowed; }
.eb-choicecard__title { font-size: var(--text-base); font-weight: var(--weight-medium); }
.eb-choicecard__desc { font-size: var(--text-xs); color: var(--color-text-3); }
.eb-choicecard__preview { margin: -6px -4px 0; }
.eb-choicecard__extra { font-size: var(--text-sm); color: var(--color-text-2); }

.eb-board { display: flex; align-items: flex-start; gap: 12px; padding: 14px 20px 24px; overflow-x: auto; min-height: 0; }
.eb-board::after { content: ""; flex: 0 0 8px; }
.eb-bcol { width: 284px; flex-shrink: 0; display: flex; flex-direction: column; max-height: 100%; border: 1px solid var(--color-divider); border-radius: var(--radius-lg); background: var(--color-sunken); transition: background var(--duration-state), border-color var(--duration-state); }
.eb-bcol.is-over { background: color-mix(in srgb, var(--color-accent) 6%, var(--color-sunken)); border-color: var(--color-accent-line); }
.eb-bcol__head { display: flex; align-items: center; gap: 7px; padding: 10px 8px 6px 12px; font-size: var(--text-sm); font-weight: var(--weight-semibold); }
.eb-bcol__head h3 { margin: 0; font: inherit; }
.eb-bcol__count { color: var(--color-text-3); font-weight: var(--weight-medium); }
.eb-bcol__acts { margin-left: auto; display: flex; opacity: .55; transition: opacity var(--duration-state); }
.eb-bcol:hover .eb-bcol__acts, .eb-bcol__acts:focus-within { opacity: 1; }
.eb-bcol__body { flex: 1; display: flex; flex-direction: column; gap: 6px; min-height: 60px; padding: 4px 8px 8px; overflow-y: auto; }
.eb-addcard { display: flex; align-items: center; gap: 6px; width: 100%; height: 30px; flex-shrink: 0; padding: 0 8px; border: 0; border-radius: var(--radius-sm); background: none; color: var(--color-text-3); font-size: var(--text-sm); line-height: var(--leading-control-sm); text-align: left; cursor: pointer; }
.eb-addcard:hover { background: var(--color-surface-3); color: var(--color-text); }
.eb-drop-line { height: 2px; margin: -4px 2px; flex-shrink: 0; border-radius: 2px; background: var(--color-accent); }
@keyframes eb-land { 0% { transform: scale(1.04) rotate(-1.2deg); box-shadow: var(--shadow-drag); } 100% { transform: none; } }
.eb-kcard.is-landed { animation: eb-land .5s var(--ease-spring) both; }
@media (prefers-reduced-motion: reduce) { :root:not([data-motion="full"]) .eb-kcard.is-landed { animation: eb-fade var(--duration-fade) both; } }
:root[data-motion="reduce"] .eb-kcard.is-landed { animation: eb-fade var(--duration-fade) both; }
@media (max-width: 900px) { .eb-board { padding: 12px 16px 24px; } }

.eb-cal { display: flex; flex-direction: column; min-height: 0; background: var(--color-surface); }
.eb-cal__head { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-bottom: 1px solid var(--color-border); }
.eb-cal__head > div { padding: 8px 10px; font-size: var(--text-xs); font-weight: var(--weight-medium); color: var(--color-text-3); }
.eb-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-auto-rows: minmax(112px, 1fr); flex: 1; margin: 0; padding: 0; list-style: none; }
.eb-cday { position: relative; display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 6px; border-right: 1px solid var(--color-divider); border-bottom: 1px solid var(--color-divider); transition: background var(--duration-state); }
.eb-cday:nth-child(7n) { border-right: 0; }
.eb-cday.is-out { background: var(--color-sunken); }
.eb-cday__n { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; font-size: var(--text-xs); font-weight: var(--weight-medium); color: var(--color-text-2); font-variant-numeric: tabular-nums; }
.eb-cday.is-out .eb-cday__n { color: var(--color-text-3); }
.eb-cday.is-today .eb-cday__n { background: var(--color-accent); color: var(--color-on-accent); }
.eb-cday__add { position: absolute; top: 5px; right: 5px; opacity: 0; }
.eb-cday:hover .eb-cday__add, .eb-cday__add:focus-visible { opacity: 1; }
@media (hover: none) { .eb-cday__add { display: none; } }
.eb-cev {
  display: flex; align-items: center; gap: 5px; width: 100%; min-width: 0; height: 24px; padding: 0 6px;
  border: 1px solid color-mix(in srgb, var(--eb-c) 22%, transparent); border-radius: 5px;
  background: color-mix(in srgb, var(--eb-c) 11%, var(--color-surface)); color: var(--color-text);
  font-size: var(--text-xs); line-height: var(--leading-control-sm); text-align: left; cursor: pointer;
}
.eb-cev:hover { background: color-mix(in srgb, var(--eb-c) 18%, var(--color-surface)); }
.eb-cev__t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eb-cev.is-done { color: var(--color-text-2); background: color-mix(in srgb, var(--eb-c) 5%, var(--color-surface)); }
.eb-cev.is-done .eb-cev__t { text-decoration: line-through; }
.eb-cev.is-event { background: transparent; border-style: dashed; border-color: color-mix(in srgb, var(--eb-c) 45%, transparent); }
.eb-cmore { min-height: 24px; padding: 0 6px; line-height: var(--leading-control-sm); border: 0; background: none; color: var(--color-text-2); font-size: var(--text-2xs); text-align: left; cursor: pointer; }
.eb-cmore:hover { color: var(--color-text); }
@media (max-width: 640px) {
  .eb-cal__grid { grid-auto-rows: minmax(72px, 1fr); }
  .eb-cev { height: 8px; padding: 0; border-radius: 3px; background: var(--eb-c); }
  .eb-cev__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}

.eb-shell {
  position: relative; display: grid; grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  height: 100%; min-height: 0; overflow: hidden; background: var(--color-bg); color: var(--color-text);
  overflow: clip; 
}
.eb-shell.is-collapsed { grid-template-columns: 52px minmax(0, 1fr); }

.eb-shell__side {
  display: flex; flex-direction: column; min-height: 0; overflow: hidden; user-select: none;
  background: var(--color-bg-sidebar); border-right: 1px solid var(--color-border);
}
.eb-shell__side-top { display: flex; align-items: center; gap: 2px; padding: 8px 8px 4px; }
.eb-shell__brand {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 5px 6px;
  border: 0; border-radius: var(--radius-sm); background: none; color: var(--color-text); font: inherit; text-align: left;
  transition: background var(--duration-state);
}
button.eb-shell__brand { cursor: pointer; }
button.eb-shell__brand:hover { background: var(--color-surface-3); }
.eb-shell__logo { display: grid; place-items: center; width: 22px; height: 22px; flex-shrink: 0; border-radius: var(--radius-sm); overflow: hidden; }
.eb-shell__brand-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--text-base); font-weight: var(--weight-semibold); }
.eb-shell__chev { flex-shrink: 0; color: var(--color-text-4); }
.eb-shell__side-scroll { flex: 1; min-height: 0; overflow: hidden auto; padding: 4px 8px 12px; }
.eb-shell__side-bot { display: grid; gap: 2px; padding: 6px 8px 8px; border-top: 1px solid var(--color-border); }
.eb-shell__side-bot[hidden] { display: none; }
.eb-shell__notice {
  margin-bottom: 4px; padding: var(--space-2); border-radius: var(--radius-md);
  background: var(--color-surface-3); color: var(--color-text-2); font-size: var(--text-xs); line-height: var(--leading-snug);
}
.eb-shell__user {
  display: flex; align-items: center; gap: 9px; width: 100%; min-height: 36px; padding: 3px 8px;
  border: 0; border-radius: var(--radius-sm); background: none; color: var(--color-text); font: inherit; text-align: left; cursor: pointer;
  transition: background var(--duration-state);
}
.eb-shell__user:hover { background: var(--color-surface-3); }
.eb-shell__user-text { flex: 1; min-width: 0; display: grid; }
.eb-shell__user-name, .eb-shell__user-detail { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eb-shell__user-name { font-size: var(--text-base); font-weight: var(--weight-medium); line-height: var(--leading-control); }
.eb-shell__user-detail { font-size: var(--text-2xs); color: var(--color-text-3); }

.is-collapsed .eb-shell__side-top { flex-direction: column; gap: 4px; }
.is-collapsed .eb-shell__brand { justify-content: center; padding: 5px 0; flex: none; width: 100%; }
.is-collapsed .eb-shell__brand-name, .is-collapsed .eb-shell__chev,
.is-collapsed .eb-shell__user-text, .is-collapsed .eb-shell__notice { display: none; }
.is-collapsed .eb-shell__user { justify-content: center; padding: 3px 0; }

.is-collapsed .eb-shell__side-scroll { scrollbar-width: none; }
.is-collapsed .eb-shell__side-scroll::-webkit-scrollbar { display: none; }

.eb-shell.is-right { grid-template-columns: minmax(0, 1fr) var(--sidebar-width); }
.eb-shell.is-right.is-collapsed { grid-template-columns: minmax(0, 1fr) 52px; }
.eb-shell.is-right .eb-shell__side { order: 2; border-right: 0; border-left: 1px solid var(--color-border); }
.eb-shell.is-right .eb-shell__collapse .eb-icon { transform: scaleX(-1); }

.eb-shell.is-top, .eb-shell.is-top.is-right { grid-template-columns: minmax(0, 1fr); }
.eb-shell.is-top .eb-shell__side { display: none; }
.eb-shell__topnav {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0; min-width: 0; height: var(--topbar-height); padding: 0 10px 0 8px;
  background: var(--color-bg-sidebar); border-bottom: 1px solid var(--color-border); user-select: none;
}
.eb-shell__topnav[hidden] { display: none; }
.eb-shell__topnav .eb-shell__brand { flex: 0 1 auto; max-width: 200px; }
.eb-topnav { flex: 1; min-width: 0; }
.eb-topnav__list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.eb-topnav__list > li { display: flex; flex-shrink: 0; }
.eb-topnav__list > li[hidden] { display: none; }
.eb-topnav__item {
  position: relative; display: inline-flex; align-items: center; gap: 7px; height: var(--sidebar-row); padding: 0 9px;
  border: 0; border-radius: var(--radius-sm); background: none; color: var(--color-text-2);
  font: inherit; font-size: var(--text-base); font-weight: var(--weight-book); line-height: var(--leading-control); white-space: nowrap; cursor: pointer;
  transition: background var(--duration-state), color var(--duration-state);
}
.eb-topnav__item > .eb-icon { color: var(--color-text-4); }
.eb-topnav__item:hover, .eb-topnav__item[aria-expanded="true"] { background: var(--color-surface-3); color: var(--color-text); }
.eb-topnav__item:hover > .eb-icon, .eb-topnav__item.is-current > .eb-icon { color: var(--color-text-2); }
.eb-topnav__item.is-current { background: var(--color-selected-surface); color: var(--color-text); box-shadow: var(--shadow-selected); font-weight: var(--weight-medium); }
.eb-topnav__item.has-menu { padding-right: 6px; gap: 5px; }
.eb-topnav__chev { color: var(--color-text-4); }
.eb-topnav__badge { min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; display: grid; place-items: center; background: var(--color-accent); color: var(--color-on-accent); font-size: var(--text-2xs); font-weight: var(--weight-semibold); line-height: var(--leading-control-sm); font-variant-numeric: tabular-nums; text-box: trim-both cap alphabetic; }
.eb-topnav__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); flex-shrink: 0; }
.eb-topnav__dot[hidden] { display: none; }
.eb-shell__topnav-end { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }
.eb-shell__user.is-compact { width: auto; min-height: 32px; padding: 3px; }

.eb-shell__work { min-width: 0; min-height: 0; display: flex; flex-direction: column; background: var(--color-surface); }
.eb-shell__topbar {
  position: relative; z-index: var(--z-sticky); display: flex; align-items: center; gap: 6px; flex-shrink: 0;
  height: var(--topbar-height); padding: 0 12px 0 14px; border-bottom: 1px solid var(--color-border); background: var(--color-surface);
}
.eb-shell__menubtn { display: none; }
.eb-shell__top-start { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; }
.eb-shell__top-end { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.eb-shell__main { flex: 1; min-height: 0; min-width: 0; display: flex; flex-direction: column; overflow: auto; outline: none; }
.eb-shell__scrim, .eb-shell__bottomnav { display: none; }

@media (max-width: 900px) {
  .eb-shell, .eb-shell.is-collapsed { grid-template-columns: minmax(0, 1fr); }
  .eb-shell__side {
    position: absolute; inset: 0 auto 0 0; z-index: var(--z-nav); width: min(280px, 86%);
    transform: translateX(-100%); visibility: hidden; box-shadow: var(--shadow-pop);
    transition: transform var(--duration-drawer) var(--ease-drawer), visibility 0s linear var(--duration-drawer);
  }
  .eb-shell.is-right, .eb-shell.is-right.is-collapsed { grid-template-columns: minmax(0, 1fr); }
  .eb-shell.is-right .eb-shell__side { inset: 0 0 0 auto; transform: translateX(100%); border-left: 0; }
  .eb-shell.is-right .eb-shell__menubtn { order: 3; }
  .is-nav-open .eb-shell__side, .eb-shell.is-right.is-nav-open .eb-shell__side { transform: none; visibility: visible; transition: transform var(--duration-drawer) var(--ease-drawer); }
  .eb-shell__collapse { display: none; }
  .eb-shell__menubtn { display: inline-flex; }
  .eb-shell__scrim { display: block; position: absolute; inset: 0; z-index: calc(var(--z-nav) - 1); background: var(--color-overlay); animation: eb-fade var(--duration-scrim) var(--ease-out) both; }
  .eb-shell__scrim[hidden] { display: none; }
}

@media (max-width: 640px) {
  
  :root:has(.eb-shell.has-bottomnav) { --eb-bottomnav-h: calc(57px + env(safe-area-inset-bottom, 0px)); }
  .eb-shell__topbar { padding: 0 8px; }
  .eb-shell__bottomnav {
    display: flex; position: absolute; left: 0; right: 0; bottom: 0; z-index: var(--z-bar);
    padding: 4px 6px calc(4px + env(safe-area-inset-bottom, 0px));
    background: var(--color-surface); border-top: 1px solid var(--color-border);
  }
  .eb-shell__bottomnav[hidden] { display: none; }
  .eb-shell__tab {
    position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 48px; padding: 5px 0;
    border: 0; border-radius: var(--radius-sm); background: none; color: var(--color-text-3); font: inherit; font-size: var(--text-2xs); cursor: pointer;
  }
  .eb-shell__tab[aria-current="page"] { color: var(--color-text); }
  .eb-shell__tab-dot { position: absolute; top: 3px; left: calc(50% + 6px); width: 7px; height: 7px; border-radius: 50%; background: var(--color-accent); }
  .eb-shell.has-bottomnav .eb-shell__main { padding-bottom: var(--eb-bottomnav-h); }
}

@supports not selector(::-webkit-scrollbar) {
  .eb-shell__side-scroll { scrollbar-width: thin; scrollbar-color: var(--color-border-strong) transparent; }
}

.eb-subside {
  display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; min-height: 0;
  overflow: hidden auto; padding: var(--space-3) var(--space-2);
  background: var(--color-bg-sidebar); border-right: 1px solid var(--color-border);
}
.eb-subside--flush { gap: 0; padding: 0; }
.eb-subside__head { display: grid; gap: var(--space-2); padding: 0 var(--space-1); }

.eb-subside__top { display: grid; gap: var(--space-3); padding: 0 var(--space-1); margin-bottom: var(--space-1); }

.eb-subside--flush > .eb-subside__top { padding: var(--space-3) calc(var(--space-2) + var(--space-1)) 0; margin-bottom: 0; }
.eb-subside__title { margin: var(--space-1) var(--space-1) 0; font-size: var(--text-md); font-weight: var(--weight-semibold); line-height: var(--leading-snug); color: var(--color-text); }
.eb-subside__foot { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: var(--space-2) var(--space-1) 0; border-top: 1px solid var(--color-divider); }

.eb-subside-host { display: grid; min-width: 0; min-height: 0; grid-template-columns: var(--subsidebar-width) var(--subside-rest, minmax(0, 1fr)); }
:where(.eb-shell.is-right) .eb-subside-host { grid-template-columns: var(--subside-rest, minmax(0, 1fr)) var(--subsidebar-width); }
:where(.eb-shell.is-right) .eb-subside-host > .eb-subside { order: 2; border-right: 0; border-left: 1px solid var(--color-border); }
.eb-subside-host.is-subside-off { grid-template-columns: var(--subside-rest, minmax(0, 1fr)); }
.eb-subside-host.is-subside-off > .eb-subside { display: none; }

@media (max-width: 1280px) {
  .eb-subside-host[data-subside-hide="1280"] { grid-template-columns: var(--subside-rest, minmax(0, 1fr)); }
  .eb-subside-host[data-subside-hide="1280"] > .eb-subside { display: none; }
}
@media (max-width: 1100px) {
  .eb-subside-host[data-subside-hide="1100"] { grid-template-columns: var(--subside-rest, minmax(0, 1fr)); }
  .eb-subside-host[data-subside-hide="1100"] > .eb-subside { display: none; }
}
@media (max-width: 900px) {
  .eb-subside-host:not([data-subside-hide]), .eb-subside-host[data-subside-hide="900"] { grid-template-columns: var(--subside-rest, minmax(0, 1fr)); }
  .eb-subside-host:not([data-subside-hide]) > .eb-subside, .eb-subside-host[data-subside-hide="900"] > .eb-subside { display: none; }
}

@supports not selector(::-webkit-scrollbar) {
  .eb-subside { scrollbar-width: thin; scrollbar-color: var(--color-border-strong) transparent; }
}

.eb-lh { container: eb-lh / inline-size; display: grid; gap: var(--space-2); min-width: 0; }
.eb-lh__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-4); min-width: 0; }
.eb-lh__lead { display: flex; align-items: center; gap: var(--space-3); min-width: 0; flex: 0 1 auto; }
.eb-lh__title { margin: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--text-2xl); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-page-title); }
.eb-lh__title:focus { outline: none; }
.eb-lh__tools { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-2); flex: 1 1 420px; min-width: 0; }   
.eb-lh__tools > * { flex-shrink: 0; }

.eb-inwrap.eb-lh__search { --eb-lh-search-basis: clamp(240px, var(--eb-lh-search-w, 240px), 360px); flex: 0 1 var(--eb-lh-search-basis); width: var(--eb-lh-search-basis); min-width: 120px; flex-shrink: 1; }
.eb-lh__search .eb-input::-webkit-search-cancel-button { appearance: none; display: none; }   
.eb-lh__viewswitch { display: none; }
.eb-lh.is-sets-folded .eb-lh__viewbar { display: none; }   
.eb-lh.is-sets-folded .eb-lh__viewswitch { display: inline-flex; }
.eb-lh.is-two-rows .eb-lh__tools { flex-basis: 100%; }   
.eb-lh.is-two-rows .eb-inwrap.eb-lh__search { flex: 1 1 240px; width: auto; max-width: none; }
.eb-lh__chips { min-width: 0; }

@container eb-lh (max-width: 720px) {
  .eb-lh__viewbar { display: none; }
  .eb-lh__viewswitch { display: inline-flex; }
}
@container eb-lh (max-width: 560px) {
  .eb-lh__row { align-items: stretch; }
  .eb-lh__tools { flex-wrap: wrap; justify-content: flex-start; width: 100%; flex-basis: 100%; }
  .eb-inwrap.eb-lh__search { flex: 1 1 100%; width: auto; }
  .eb-lh__title { font-size: var(--text-xl); }
  
  .eb-lh:not(.eb-lh--column) .eb-lh__row { align-items: center; }
  .eb-lh:not(.eb-lh--column) .eb-lh__tools:has(> .eb-lh__primary) { display: contents; }
  .eb-lh:not(.eb-lh--column) .eb-lh__tools:has(> .eb-lh__primary) > * { order: 3; }
  .eb-lh:not(.eb-lh--column) .eb-lh__row:has(.eb-lh__primary) > .eb-lh__lead { order: 0; flex: 1 1 0; }
  .eb-lh:not(.eb-lh--column) .eb-lh__tools > .eb-lh__primary { order: 1; }
  .eb-lh:not(.eb-lh--column) .eb-lh__tools:has(> .eb-lh__primary) > .eb-inwrap.eb-lh__search { order: 2; flex: 1 1 100%; width: auto; }
  .eb-lh:not(.eb-lh--column) .eb-lh__row:has(.eb-lh__primary) { justify-content: flex-start; }
  .eb-lh__lead { flex-wrap: wrap; row-gap: var(--space-1); }
  .eb-lh__title { flex-shrink: 0; max-width: 100%; }   
  .eb-lh:not(.eb-lh--column) .eb-btn.eb-btn--primary.eb-lh__primary { width: var(--control-md); padding: 0; gap: 0; justify-content: center; border-radius: var(--radius-full); font-size: 0; }   
  .eb-lh:not(.eb-lh--column) .eb-split.eb-lh__primary > .eb-split__main { flex: none; width: var(--control-md); padding: 0; gap: 0; justify-content: center; font-size: 0; }   
}

.eb-lh__status { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1); margin-top: var(--space-1); font-size: var(--text-sm); color: var(--color-text-3); }
.eb-lh__stat { font: inherit; color: inherit; background: none; border: 0; padding: 2px 4px; margin: 0 -4px; border-radius: var(--radius-sm); cursor: pointer; }
.eb-lh__stat:hover { color: var(--color-text); background: var(--color-surface-2); }
.eb-lh__stat:focus-visible { outline: 2px solid var(--color-focus, var(--color-accent)); outline-offset: 1px; }
.eb-lh__stat.is-danger { color: var(--color-danger); }
.eb-lh__stat.is-warning { color: var(--color-warning); }
.eb-lh__stat.is-active { color: var(--color-text); font-weight: var(--weight-semibold); text-decoration: underline; text-underline-offset: 3px; }
.eb-lh__stat.is-danger.is-active { color: var(--color-danger); }
.eb-lh__dot { color: var(--color-text-4); }

.eb-lh__title { display: flex; align-items: center; gap: var(--space-2); }
.eb-lh__title-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eb-lh__title-text:empty, .eb-lh__title[hidden] { display: none; }
.eb-btn.eb-lh__primary--icon { width: var(--control-md); padding: 0; justify-content: center; border-radius: var(--radius-full); }   

.eb-lh--column { gap: var(--space-2); }
.eb-lh--column .eb-lh__row { flex-wrap: nowrap; align-items: flex-start; gap: var(--space-2); }
.eb-lh--column .eb-lh__lead { flex: 1 1 auto; flex-wrap: wrap; gap: var(--space-2) var(--space-3); min-height: var(--control-md); }
.eb-lh--column .eb-lh__title { font-size: var(--text-xl); letter-spacing: var(--tracking-title); line-height: var(--control-md); }
.eb-lh--column .eb-lh__end { display: flex; align-items: center; gap: var(--space-1); flex-shrink: 0; }
.eb-lh--column .eb-lh__end > * { flex-shrink: 0; }
.eb-lh__search input { text-overflow: ellipsis; }   
.eb-lh--column .eb-lh__tools { flex: none; width: 100%; justify-content: flex-start; flex-wrap: nowrap; }
.eb-lh--column .eb-inwrap.eb-lh__search { flex: 1 1 auto; width: auto; min-width: 0; }
.eb-lh--column .eb-lh__status { margin-top: calc(-1 * var(--space-1)); }

.eb-lh--column.is-tools-icons .eb-lh__tools > :is(.eb-fm-btn, .eb-dm-btn) { width: var(--control-md); min-width: var(--control-md); padding: 0; justify-content: center; }
.eb-lh--column.is-tools-icons .eb-lh__tools > .eb-fm-btn.is-active { width: auto; padding: 0 var(--space-2); }
.eb-lh--column.is-tools-icons .eb-lh__tools :is(.eb-fm-btn__label, .eb-dm-btn > span) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@container eb-lh (max-width: 720px) {
  .eb-lh--column .eb-lh__viewbar { display: inline-flex; }
  .eb-lh--column .eb-lh__viewswitch { display: none; }
}
@container eb-lh (max-width: 560px) {
  .eb-lh--column .eb-lh__row { align-items: flex-start; }
  .eb-lh--column .eb-lh__tools { flex-wrap: nowrap; width: 100%; }
  .eb-lh--column .eb-inwrap.eb-lh__search { flex: 1 1 auto; }
  .eb-lh--column .eb-lh__title { font-size: var(--text-xl); }
}
@container eb-lh (max-width: 260px) {
  .eb-lh--column .eb-lh__viewbar { display: none; }
  .eb-lh--column .eb-lh__viewswitch { display: inline-flex; }
}

.eb-lh__title > .eb-viewswitch--lg { margin-left: 0; }

.eb-lh__tools > .eb-ibtn, .eb-lh__tools > :not(.eb-inwrap) > .eb-ibtn, .eb-lh__end > .eb-ibtn { background: var(--color-surface); border: 1px solid var(--color-border-strong); box-shadow: var(--shadow-sm); color: var(--color-text); }
.eb-lh .eb-lh__findbtn { display: none; width: var(--control-md); min-width: var(--control-md); padding: 0; justify-content: center; }   
.eb-lh.is-find-compact:not(.is-find-open) .eb-inwrap.eb-lh__search { display: none; }
.eb-lh.is-find-compact:not(.is-find-open) .eb-lh__findbtn { display: inline-flex; }
.eb-lh.is-find-compact .eb-inwrap.eb-lh__search { flex: 0 1 220px; width: 220px; min-width: 0; }   
@container eb-lh (max-width: 560px) {
  .eb-lh.is-find-compact:not(.eb-lh--column) .eb-lh__tools:has(> .eb-lh__primary) > .eb-inwrap.eb-lh__search { order: 3; flex: 0 1 220px; width: 220px; min-width: 0; }
}

.eb-glist { display: grid; min-width: 0; }
.eb-glist__items { list-style: none; margin: 0; padding: 0; min-width: 0; }
.eb-glist__group.is-collapsed .eb-glist__items { display: none; }
.eb-glist__more-row { border-bottom: 1px solid var(--color-divider); }
.eb-glist__more {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 var(--space-3);
  border: 0; background: none; color: var(--color-text-2); font: inherit; font-size: var(--text-sm); cursor: pointer;
}
.eb-glist__more:hover { color: var(--color-text); text-decoration: underline; text-underline-offset: 2px; }

.eb-glist__add-row { border-bottom: 1px solid var(--color-divider); }
.eb-glist__add {
  display: inline-flex; align-items: center; gap: var(--space-2); min-height: 34px; padding: 0 var(--space-3) 0 var(--eb-glist-add-indent, var(--space-3));
  border: 0; background: none; color: var(--color-text-3); font: inherit; font-size: var(--text-sm); cursor: pointer;
}
.eb-glist__add:hover { color: var(--color-text); }
.eb-glist__add:focus-visible { outline: var(--focus-ring); outline-offset: -2px; border-radius: var(--radius-sm); }

.eb-peek__key { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eb-peek__full {
  display: inline-flex; align-items: center; gap: 4px; height: var(--control-sm); padding: 0 8px; margin: 0 2px;
  border-radius: var(--radius-sm); color: var(--color-text-2); font-size: var(--text-xs); font-weight: var(--weight-medium); text-decoration: none; white-space: nowrap;
}
.eb-peek__full:hover { background: var(--color-surface-2); color: var(--color-text); }

.eb-peekdock {
  position: fixed; right: var(--space-4); bottom: 0; z-index: var(--z-drawer);   
  display: flex; align-items: flex-end; gap: var(--space-2); max-width: calc(100vw - 2 * var(--space-4));
  transition: right var(--duration-drawer) var(--ease-drawer);
}
.eb-peekbar {
  display: flex; align-items: center; flex: 0 1 240px; width: 240px; min-width: 120px;
  border: 1px solid var(--color-border); border-bottom: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--color-surface); box-shadow: var(--shadow-pop);
  animation: eb-rise var(--duration-enter) var(--ease-out) both;
}
.eb-peekbar__open {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 4px 0 12px;
  border-radius: var(--radius-lg) 0 0 0; color: var(--color-text); text-decoration: none; font-size: var(--text-sm);
}
.eb-peekbar__open:hover { background: var(--color-surface-2); }
.eb-peekbar__key { flex-shrink: 0; font-family: var(--font-mono); font-size: var(--text-2xs); color: var(--color-text-3); }
.eb-peekbar__title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: var(--weight-medium); }
.eb-peekbar__up { display: grid; place-items: center; flex-shrink: 0; color: var(--color-text-3); }
.eb-peekbar__x {
  display: grid; place-items: center; flex-shrink: 0; width: 26px; height: 26px; margin: 0 6px 0 2px; padding: 0;
  border: 0; border-radius: var(--radius-sm); background: none; color: var(--color-text-3); cursor: pointer;
}
.eb-peekbar__x:hover { background: var(--color-surface-3); color: var(--color-text); }

body:has(.eb-peekdock) .eb-toasts { bottom: 56px; }
@media (max-width: 640px) {
  .eb-peekdock { right: var(--space-2) !important; left: var(--space-2); max-width: none !important; bottom: 64px; justify-content: flex-end; }
  .eb-peekbar { width: auto; flex: 0 1 180px; border-bottom: 1px solid var(--color-border); border-radius: var(--radius-lg); }
}

/* /platform/component/index.css */

.ec-page {
  display: flex; flex-direction: column; gap: var(--space-5);
  width: 100%; padding: var(--space-6) var(--space-6) var(--space-10);
  animation: eb-fade var(--duration-enter) var(--ease-out) both;
}
.ec-page--center { flex: 1; align-items: center; justify-content: center; }

.ec-page [hidden], .ec-form [hidden] { display: none; }

.ec-header { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-4) var(--space-6); flex-wrap: wrap; }
.ec-header__main { display: flex; align-items: flex-start; gap: var(--space-3); min-width: 0; flex: 1 1 320px; }
.ec-header__lead { flex-shrink: 0; display: flex; }
.ec-header__text { min-width: 0; display: grid; gap: var(--space-1); }
.ec-header__title { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
.ec-header__title h1 {
  margin: 0; font-size: var(--text-2xl); font-weight: var(--weight-semibold);
  line-height: var(--leading-tight); letter-spacing: var(--tracking-page-title);
}

.ec-page h1:focus { outline: none; }
.ec-header__desc { margin: 0; max-width: 72ch; font-size: var(--text-base); color: var(--color-text-2); }
.ec-header__actions { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }

.ec-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; }

a.eb-btn { text-decoration: none; }

.ec-link {
  display: inline-flex; align-items: center; gap: var(--space-1);
  color: var(--color-text-2); font-size: var(--text-sm); font-weight: var(--weight-medium); text-decoration: none; white-space: nowrap;
  border-radius: var(--radius-xs); transition: color var(--duration-state);
}
.ec-link:hover { color: var(--color-text); }
.ec-link--mono { font-family: var(--font-mono); font-weight: var(--weight-regular); }

.ec-page .eb-tbl { width: 100%; }
.ec-truncate { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ec-facts.eb-kv { grid-template-columns: repeat(var(--ec-facts-cols, 2), var(--eb-kv-label, 112px) minmax(0, 1fr)); column-gap: var(--space-4); }
.ec-facts--strip { --ec-facts-cols: 3; padding: var(--space-2) var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); }

.ec-form { display: grid; gap: var(--space-4); }
.ec-form__actions { display: flex; justify-content: flex-end; gap: var(--space-2); padding-top: var(--space-2); }
.ec-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }

.ec-choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--space-3); margin: 0; padding: 0; border: 0; min-width: 0; }
.ec-choices__legend { padding: 0; margin-bottom: var(--space-2); font-size: var(--text-sm); font-weight: var(--weight-medium); }
.ec-form__note { margin: 0; font-size: var(--text-sm); color: var(--color-text-3); }

.ec-drawer__title { font-size: var(--text-md); font-weight: var(--weight-semibold); color: var(--color-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ec-code {
  margin: 0; padding: var(--space-3) var(--space-4); overflow: auto;
  border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-sunken);
  font-family: var(--font-mono); font-size: var(--text-xs); line-height: var(--leading-relaxed); color: var(--color-text); tab-size: 2;
}
.ec-mono { font-family: var(--font-mono); font-size: var(--text-xs); }

@media (max-width: 1100px) {
  .ec-facts--strip { --ec-facts-cols: 2; }
}
@media (max-width: 640px) {
  .ec-facts.eb-kv, .ec-facts--strip { --ec-facts-cols: 1; }
  .ec-form__row { grid-template-columns: minmax(0, 1fr); }
  .ec-page { padding: var(--space-4) var(--space-4) var(--space-8); gap: var(--space-4); }
  .ec-header__actions { width: 100%; }
}

.ec-catalog-body { padding: var(--space-4); }

.ec-list__card { min-width: 0; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); overflow: hidden; }

.ec-list__toolbar { padding: var(--space-3); }
.ec-list__spacer { flex: 1; }   
.ec-list__lead:empty, .ec-list__meta:empty { display: none; }
.ec-list__lead { display: inline-flex; flex-shrink: 0; }
.ec-list__meta { display: inline-flex; align-items: center; gap: var(--space-2); min-width: 0; flex-wrap: wrap; }
.ec-list__end { display: contents; }
.ec-list__lh--bare .eb-lh__title { display: none; }

.ec-list__content { min-width: 0; border-top: 1px solid var(--color-border); }
.ec-list__content > .eb-tbl-wrap { border-top: 0; }
.ec-list__content .eb-tbl td:last-child, .ec-list__content .eb-tbl th:last-child { border-right: 0; }
.ec-list__content .eb-tbl tbody tr:last-child td { border-bottom: 0; }

.ec-list__name { color: var(--color-text); font-weight: var(--weight-medium); text-decoration: none; overflow: hidden; text-overflow: ellipsis; }
.ec-list__name:hover { text-decoration: underline; }
.ec-list__message { padding: var(--space-4); }
.ec-list__skeleton-row { display: flex; align-items: center; height: var(--row-height); padding: 0 var(--space-3); border-bottom: 1px solid var(--color-divider); }
.ec-list__skeleton-row:last-child { border-bottom: 0; }
.ec-list__skeleton-row:nth-child(even) > .eb-sk { width: 72% !important; }
.ec-list__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--space-4); padding: var(--space-4); }

.ec-list__footer { padding: var(--space-2) var(--space-3); border-top: 1px solid var(--color-border); }

.ec-list--embedded { display: flex; flex-direction: column; gap: var(--space-5); min-width: 0; }
.ec-list--embedded [hidden] { display: none; }

@media (min-width: 901px) {
  .ec-list__stats[data-n="1"] .eb-stats { grid-template-columns: minmax(0, 1fr); }
  .ec-list__stats[data-n="2"] .eb-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ec-list__stats[data-n="3"] .eb-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.ec-list__lh .eb-lh__tools .eb-select { width: auto; max-width: 200px; flex-shrink: 1; }

.ec-list__setsrow { display: flex; min-width: 0; width: fit-content; max-width: 100%; overflow-x: auto; border-radius: var(--radius-md); }   
.ec-list__setsbar { flex: none; }
.ec-list__setsbar .eb-viewbar__item { flex: none; white-space: nowrap; }
.ec-list__setsbar .eb-viewbar__label { overflow: visible; text-overflow: clip; }
.ec-list__setsrow[hidden] { display: none; }

.ec-list__toolbar[hidden] + .ec-list__content { border-top: 0; }

@media (max-width: 560px) { .ec-list__content .eb-tbl td, .ec-list__content .eb-tbl th { border-right: 0; } }

.ec-list__lh .eb-lh__lead { flex-shrink: 0; max-width: 100%; }
.ec-list__lh .eb-lh__tools { flex-basis: auto; }

.ec-detail__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); align-items: start; }
.ec-detail__body.has-aside { grid-template-columns: minmax(0, 1fr) 320px; }
.ec-detail__main, .ec-detail__aside { min-width: 0; display: flex; flex-direction: column; gap: var(--space-4); }

@media (max-width: 1100px) {
  .ec-detail__body.has-aside { grid-template-columns: minmax(0, 1fr); }
}

.ec-lines { margin: 0; padding: 0; list-style: none; }
.ec-line { display: flex; align-items: center; gap: var(--space-2); min-height: var(--control-lg); font-size: var(--text-sm); }
.ec-line + .ec-line { border-top: 1px solid var(--color-divider); }
.ec-line > .eb-icon { flex-shrink: 0; color: var(--color-text-4); }
.ec-line__label { flex: 1; min-width: 0; display: flex; align-items: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--color-text-2); }
.ec-line__label a { color: inherit; text-decoration: none; border-radius: var(--radius-xs); }
.ec-line__label a:hover { color: var(--color-text); text-decoration: underline; }
.ec-line__value { display: inline-flex; min-width: 0; font-weight: var(--weight-medium); font-variant-numeric: tabular-nums; }
.ec-line > .eb-badge, .ec-line > .eb-tag { flex-shrink: 0; }
.ec-line--two { min-height: calc(var(--control-lg) + var(--space-2)); }
.ec-line--two > .ec-line__label { flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; }
.ec-line--two > .ec-line__label > * { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.ec-line__sub { font-family: var(--font-mono); font-size: var(--text-2xs); color: var(--color-text-3); }

.ec-drop {
  display: flex; flex-direction: column; align-items: center; gap: var(--space-1); padding: var(--space-6) var(--space-4);
  border: 1px dashed var(--color-border-strong); border-radius: var(--radius-lg); background: var(--color-sunken);
  color: var(--color-text-2); text-align: center; cursor: pointer;
  transition: border-color var(--duration-state), background var(--duration-state);
}
.ec-drop:hover, .ec-drop.is-over { border-color: var(--color-accent); background: var(--color-accent-soft); }
.ec-drop:has(input:focus-visible) { outline: var(--focus-ring); outline-offset: var(--focus-ring-offset); }
.ec-drop > .eb-icon { color: var(--color-text-4); margin-bottom: var(--space-1); }
.ec-drop__title { font-size: var(--text-base); font-weight: var(--weight-medium); color: var(--color-text); }
.ec-drop__hint { font-size: var(--text-xs); color: var(--color-text-3); }
.ec-drop__hint[hidden] { display: none; }

.ecw-att { display: grid; gap: var(--space-2); min-width: 0; border-radius: var(--radius-md); }
.ecw-att.is-over { outline: 2px dashed var(--color-accent); outline-offset: 4px; }
.ecw-att__bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); min-width: 0; }
.ecw-att__hint { color: var(--color-text-3); font-size: var(--text-xs); }
.ecw-att__err { margin: 0; color: var(--color-danger); font-size: var(--text-sm); }
.ecw-att__err:empty { display: none; }
.ecw-att__list { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: 0; list-style: none; min-width: 0; }
.ecw-att__chip { display: inline-flex; align-items: center; gap: var(--space-2); max-width: 100%; min-width: 0; padding: var(--space-1) var(--space-2); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); font-size: var(--text-sm); }
.ecw-att__thumb { width: 22px; height: 22px; border-radius: var(--radius-sm); object-fit: cover; flex: none; }
.ecw-att__link { display: inline-flex; min-width: 0; color: inherit; }
.ecw-att__name { min-width: 0; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ecw-att__size { color: var(--color-text-3); font-size: var(--text-xs); white-space: nowrap; }

.ec-ai {
  display: flex; flex-direction: column; min-width: 0; min-height: 0; height: 100%;
  border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); overflow: hidden;
}
.ec-ai__head { display: flex; align-items: flex-start; gap: var(--space-2); padding: var(--space-3) var(--space-2) var(--space-3) var(--space-3); border-bottom: 1px solid var(--color-divider); }
.ec-ai__mark { display: grid; place-items: center; flex-shrink: 0; width: var(--control-sm); height: var(--control-sm); background: none; color: var(--color-accent); } 
.ec-ai__title { flex: 1; min-width: 0; }
.ec-ai__title h2 { margin: 0; font-size: var(--text-base); font-weight: var(--weight-semibold); line-height: var(--leading-control); }
.ec-ai__context { margin: 0; font-size: var(--text-xs); color: var(--color-text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ec-ai__body { flex: 1; min-height: 0; overflow-y: auto; padding: var(--space-3); display: flex; flex-direction: column; gap: var(--space-3); }
.ec-ai__log { display: flex; flex-direction: column; gap: var(--space-3); }
.ec-ai__intro { margin: 0; font-size: var(--text-sm); color: var(--color-text-2); }
.ec-ai__chips { display: flex; flex-wrap: wrap; gap: var(--space-1); }
.ec-ai__chip {
  display: inline-flex; align-items: center; gap: var(--space-1); min-height: var(--control-sm); padding: 0 var(--space-2);
  border: 1px solid var(--color-border-strong); border-radius: var(--radius-full); background: var(--color-surface); color: var(--color-text-2);
  font-size: var(--text-xs); font-weight: var(--weight-medium); line-height: var(--leading-control-sm); cursor: pointer;
  transition: background var(--duration-state), color var(--duration-state), border-color var(--duration-state);
}
.ec-ai__chip > .eb-icon { color: var(--color-accent); }
.ec-ai__chip:hover { background: var(--color-accent-soft); border-color: var(--color-accent-line); color: var(--color-text); }
.ec-ai__chip:disabled { opacity: .5; cursor: default; }

.ec-ai__msg { max-width: 100%; font-size: var(--text-sm); line-height: var(--leading-normal); overflow-wrap: anywhere; }
.ec-ai__msg p { margin: 0; }
.ec-ai__msg.is-user { align-self: flex-end; max-width: 85%; padding: var(--space-2) var(--space-3); border-radius: var(--radius-lg); border-bottom-right-radius: var(--radius-xs); background: var(--color-surface-3); }
.ec-ai__msg.is-assistant { display: grid; gap: var(--space-2); color: var(--color-text); }

.ec-ai__msg.is-assistant > p { white-space: pre-line; }
.ec-ai__msg.is-thinking { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--color-text-3); }
.ec-ai__msg.is-error { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; padding: var(--space-2) var(--space-3); border-radius: var(--radius-md); background: var(--color-danger-soft); color: var(--color-danger); }
.ec-ai__msg.is-error > span { flex: 1; color: var(--color-text); }
.ec-ai__dots { display: inline-flex; gap: 3px; }
.ec-ai__dots i { width: 5px; height: 5px; border-radius: var(--radius-full); background: currentColor; animation: ec-ai-dot 1s var(--ease-out) infinite; }
.ec-ai__dots i:nth-child(2) { animation-delay: .15s; }
.ec-ai__dots i:nth-child(3) { animation-delay: .3s; }
@keyframes ec-ai-dot { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { :root:not([data-motion="full"]) .ec-ai__dots i { animation: none; opacity: .6; } }
:root[data-motion="reduce"] .ec-ai__dots i { animation: none; opacity: .6; }

.ec-ai__card { display: grid; gap: var(--space-2); padding: var(--space-3); border: 1px solid var(--color-accent-line); border-radius: var(--radius-md); background: color-mix(in srgb, var(--color-accent) 4%, var(--color-surface)); }
.ec-ai__card-title { display: flex; align-items: center; gap: var(--space-1); font-size: var(--text-sm); }
.ec-ai__card-title > .eb-icon { color: var(--color-accent); }
.ec-ai__changes { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-1); font-size: var(--text-sm); }
.ec-ai__changes li { display: flex; align-items: flex-start; gap: var(--space-1); }
.ec-ai__ctext { flex: 1; min-width: 0; }
.ec-ai__field { color: var(--color-text-2); }
.ec-ai__old { color: var(--color-text-3); text-decoration: line-through; }
.ec-ai__new { font-weight: var(--weight-medium); }
.ec-ai__plus { font-weight: var(--weight-semibold); color: var(--color-success); }
.ec-ai__hint { margin: 0; font-size: var(--text-xs); color: var(--color-text-3); }
.ec-ai__card-actions { display: flex; flex-wrap: wrap; gap: var(--space-1); }
.ec-ai__card.is-applied { border-color: transparent; background: var(--color-success-soft); font-size: var(--text-sm); }
.ec-ai__applied { display: flex; align-items: center; gap: var(--space-2); color: var(--color-success); }
.ec-ai__applied > span { color: var(--color-text); }
.ec-ai__links { margin: 0; padding: 0 0 0 var(--space-5); list-style: none; display: grid; gap: var(--space-1); }
.ec-ai__card.is-discarded { border-style: dashed; border-color: var(--color-border); background: none; font-size: var(--text-sm); color: var(--color-text-3); }

.ec-ai__compose { display: grid; gap: var(--space-1); padding: var(--space-2) var(--space-3) var(--space-3); border-top: 1px solid var(--color-divider); }
.ec-ai__compose .eb-textarea { min-height: 56px; resize: none; }
.ec-ai__compose-bar { display: flex; align-items: center; gap: 2px; }
.ec-ai__compose-bar .eb-ibtn[aria-disabled="true"] { opacity: .5; cursor: default; }

.eb-drawer .ec-ai { border: 0; border-radius: 0; height: 100%; }
.eb-drawer .ec-ai__head > .eb-ibtn { display: none; }
.eb-drawer:has(.ec-ai) .eb-drawer__body { display: flex; flex-direction: column; padding: 0; overflow: hidden; }

.ec-ai > .eb-tabs { padding: 0 var(--space-3); }
.ec-ai > .eb-tabs[hidden], .ec-ai__extra[hidden], .ec-ai__body[hidden], .ec-ai__compose[hidden] { display: none; }
.ec-ai__extra { flex: 1; min-height: 0; overflow-y: auto; padding: var(--space-3); }
.ec-ai__changes .eb-badge { margin-left: auto; }
.ec-ai__blocked { display: flex; gap: var(--space-1); align-items: flex-start; margin: 0; font-size: var(--text-xs); color: var(--color-text-2); }
.ec-ai__blocked .eb-icon { flex: none; margin-top: 2px; }
.ec-ai__card .eb-alert { font-size: var(--text-xs); }
.ec-ai__table { width: 100%; border-collapse: collapse; font-size: var(--text-xs); }
.ec-ai__table th, .ec-ai__table td { padding: 2px var(--space-1); text-align: left; vertical-align: top; border-bottom: 1px solid var(--color-divider); overflow-wrap: anywhere; }
.ec-ai__table th { color: var(--color-text-3); font-weight: var(--weight-medium); }
.ec-ai__records { display: grid; gap: var(--space-1); margin: var(--space-2) 0 0; padding: 0; list-style: none; }
.ec-ai__records li { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); padding: var(--space-1) var(--space-2); border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-sunken); }
.ec-ai__records code { overflow-wrap: anywhere; font-size: var(--text-xs); }

.ec-env > .eb-badge__dot { background: var(--hue-gray); }
.ec-env--production > .eb-badge__dot { background: var(--hue-green); }
.ec-env--staging > .eb-badge__dot { background: var(--hue-blue); }
.ec-env--development > .eb-badge__dot { background: var(--hue-violet); }
.ec-env--internal > .eb-badge__dot { background: var(--hue-teal); }
.ec-env--test > .eb-badge__dot { background: var(--hue-gray); }

.ec-tile {
  display: inline-grid; place-items: center; flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--ec-c) 14%, var(--color-surface));
  color: color-mix(in srgb, var(--ec-c) var(--hue-mix), var(--color-text));
  font-weight: var(--weight-semibold); line-height: 1;
}
.ec-tile--sm { width: var(--control-xs); height: var(--control-xs); font-size: var(--text-xs); }
.ec-tile--md { width: var(--control-md); height: var(--control-md); font-size: var(--text-base); }
.ec-tile--lg { width: var(--control-lg); height: var(--control-lg); font-size: var(--text-md); border-radius: var(--radius-md); }

.ec-ed { position: relative; flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.ec-ed[hidden] { display: none; }
.ec-ed__scroll { flex: 1; min-height: 0; overflow: auto; background: var(--color-surface); }
.ec-ed__inner { display: flex; min-width: max-content; min-height: 100%; }
.ec-ed__gutter, .ec-ed__paint, .ec-ed__marks, .ec-ed__input {
  margin: 0; border: 0;
  font-family: var(--font-mono); font-size: var(--text-sm); line-height: var(--leading-control);
  letter-spacing: 0; tab-size: 2; white-space: pre;
}
.ec-ed__gutter {
  position: sticky; left: 0; z-index: 1; flex-shrink: 0;
  min-width: 5ch; padding: var(--space-3) var(--space-3) var(--space-3) var(--space-4);
  text-align: right; color: var(--color-text-4); background: var(--color-surface);
  border-right: 1px solid var(--color-divider); user-select: none;
}
.ec-ed__code { position: relative; flex: 1; }
.ec-ed__paint, .ec-ed__marks { position: absolute; top: 0; left: 0; padding: var(--space-3) var(--space-4); pointer-events: none; color: var(--color-text); }
.ec-ed__marks { color: transparent; }
.ec-ed__marks mark { color: transparent; background: color-mix(in srgb, var(--hue-amber) 26%, transparent); border-radius: var(--radius-xs); }
.ec-ed__marks mark.is-current { background: color-mix(in srgb, var(--hue-amber) 55%, transparent); }
.ec-ed__input {
  position: relative; display: block; min-width: 100%; padding: var(--space-3) var(--space-4);
  resize: none; overflow: hidden; outline: none;
  background: transparent; color: transparent; caret-color: var(--color-text);
}
.ec-ed__input::selection { background: var(--color-selection); color: transparent; }
.ec-ed__current { position: absolute; top: 0; left: 0; right: 0; height: var(--leading-control); background: var(--color-sunken); pointer-events: none; opacity: 0; }
.ec-ed:focus-within .ec-ed__current { opacity: 1; }
.ec-ed__find {
  position: absolute; top: var(--space-2); right: var(--space-4); z-index: 2;
  display: flex; align-items: center; gap: var(--space-1); padding: var(--space-1);
  background: var(--color-surface); border-radius: var(--radius-md); box-shadow: var(--shadow-pop);
}
.ec-ed__find[hidden] { display: none; }
.ec-ed__find .eb-inwrap { width: 180px; }
.ec-ed__count { min-width: 8ch; font-size: var(--text-xs); color: var(--color-text-3); white-space: nowrap; }

.tk-k { color: color-mix(in srgb, var(--hue-violet) var(--hue-mix), var(--color-text)); }
.tk-s { color: color-mix(in srgb, var(--hue-green) var(--hue-mix), var(--color-text)); }
.tk-n { color: color-mix(in srgb, var(--hue-orange) var(--hue-mix), var(--color-text)); }
.tk-f { color: color-mix(in srgb, var(--hue-blue) var(--hue-mix), var(--color-text)); }
.tk-c { color: var(--color-text-3); font-style: italic; }

.ec-ws {
  position: relative; display: flex; height: 100%; min-height: 0; overflow: hidden;
  border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface);
}
.ec-ws [hidden] { display: none; }
.ec-ws__activity {
  display: flex; flex-direction: column; align-items: center; gap: var(--space-1); flex-shrink: 0;
  padding: var(--space-2) var(--space-1); background: var(--color-sunken); border-right: 1px solid var(--color-divider);
}
.ec-ws__side { flex: 0 0 232px; display: flex; min-width: 0; border-right: 1px solid var(--color-divider); background: var(--color-surface); }
.ec-ws__pane { display: flex; flex-direction: column; flex: 1; min-width: 0; min-height: 0; }
.ec-ws__pane-head { display: flex; align-items: center; gap: var(--space-1); min-height: var(--control-lg); padding: 0 var(--space-2) 0 var(--space-3); }
.ec-ws__pane-head h3 { margin: 0; font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--color-text-3); }
.ec-ws__tree { flex: 1; min-height: 0; overflow: auto; margin: 0; padding: 0 var(--space-1) var(--space-2); list-style: none; }
.ec-ws__row {
  display: flex; align-items: center; gap: var(--space-1); min-height: var(--control-sm);
  padding: 0 var(--space-2) 0 calc((var(--ec-level, 1) - 1) * var(--space-3) + var(--space-1));
  border-radius: var(--radius-xs); font-size: var(--text-sm); color: var(--color-text-2); cursor: pointer; user-select: none;
}
.ec-ws__row:hover { background: var(--color-surface-2); color: var(--color-text); }
.ec-ws__row.is-active { background: var(--color-accent-soft); color: var(--color-text); }
.ec-ws__row:focus-visible { outline: var(--focus-ring); outline-offset: calc(var(--focus-ring-offset) * -2); }
.ec-ws__row .eb-icon { flex-shrink: 0; color: var(--color-text-3); }
.ec-ws__row.is-editing { cursor: default; align-items: flex-start; padding-top: var(--space-1); padding-bottom: var(--space-1); }
.ec-ws__row.is-editing:hover { background: none; }
.ec-ws__twisty { width: 12px; flex-shrink: 0; }
.ec-ws__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ec-ws__edit { flex: 1; min-width: 0; display: grid; gap: var(--space-1); }
.ec-ws__rename { width: 100%; height: var(--control-xs); padding: 0 var(--space-1); font-size: var(--text-sm); }
.ec-ws__error { margin: 0; font-size: var(--text-xs); color: var(--color-danger); white-space: normal; }
.ec-ws__dot { flex-shrink: 0; width: var(--space-2); height: var(--space-2); margin-left: auto; border-radius: 50%; background: var(--color-text-2); }
.ec-ws__row .ec-ws__dot { margin-left: auto; }
.ec-ws__none { margin: 0; padding: var(--space-2) var(--space-3); font-size: var(--text-sm); color: var(--color-text-3); }
.ec-ws__search { padding: 0 var(--space-2) var(--space-2); }
.ec-ws__results { flex: 1; min-height: 0; overflow: auto; padding: 0 var(--space-1) var(--space-2); }
.ec-ws__summary { margin: 0; padding: 0 var(--space-2) var(--space-2); font-size: var(--text-xs); color: var(--color-text-3); }
.ec-ws__group h4 { display: flex; align-items: center; gap: var(--space-1); margin: var(--space-1) 0 0; padding: var(--space-1) var(--space-2); font-size: var(--text-sm); font-weight: var(--weight-medium); }
.ec-ws__hits { margin-left: auto; padding: 0 var(--space-1); border-radius: var(--radius-full); background: var(--color-surface-3); font-size: var(--text-xs); color: var(--color-text-2); }
.ec-ws__hit {
  display: flex; gap: var(--space-2); width: 100%; padding: calc(var(--space-1) / 2) var(--space-2) calc(var(--space-1) / 2) var(--space-5); border: 0; border-radius: var(--radius-xs);
  background: none; text-align: left; font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-text-2); cursor: pointer;
}
.ec-ws__hit:hover { background: var(--color-surface-2); color: var(--color-text); }
.ec-ws__hit:focus-visible { outline: var(--focus-ring); outline-offset: -2px; }
.ec-ws__ln { flex-shrink: 0; min-width: 3ch; text-align: right; color: var(--color-text-4); }
.ec-ws__snip { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: pre; }
.ec-ws__snip mark { background: color-mix(in srgb, var(--hue-amber) 30%, transparent); color: inherit; border-radius: var(--radius-xs); }

.ec-ws__main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ec-ws__bar { display: flex; align-items: stretch; flex-shrink: 0; min-height: var(--control-lg); background: var(--color-sunken); border-bottom: 1px solid var(--color-divider); }
.ec-ws__tabs { display: flex; flex: 1; min-width: 0; overflow-x: auto; }
.ec-ws__tabs-end { display: flex; align-items: center; gap: var(--space-1); padding: 0 var(--space-2); flex-shrink: 0; }
.ec-ws__tabs-end:empty { display: none; }
.ec-ws__tab { display: flex; align-items: center; flex-shrink: 0; border-right: 1px solid var(--color-divider); color: var(--color-text-3); }
.ec-ws__tab.is-active { background: var(--color-surface); color: var(--color-text); box-shadow: inset 0 -1px 0 var(--color-surface); }
.ec-ws__tabname {
  display: flex; align-items: center; gap: var(--space-1); height: 100%; padding: 0 var(--space-1) 0 var(--space-3);
  border: 0; background: none; color: inherit; font: inherit; font-size: var(--text-sm); cursor: pointer; white-space: nowrap;
}
.ec-ws__tabname .ec-ws__dot { margin-left: var(--space-1); }
.ec-ws__tabname:focus-visible, .ec-ws__close:focus-visible { outline: var(--focus-ring); outline-offset: -2px; border-radius: var(--radius-xs); }
.ec-ws__close {
  display: grid; place-items: center; width: var(--control-xs); height: var(--control-xs); margin-right: var(--space-1);
  border: 0; border-radius: var(--radius-xs); background: none; color: var(--color-text-3); cursor: pointer; opacity: 0;
}
.ec-ws__tab.is-active .ec-ws__close, .ec-ws__tab:hover .ec-ws__close, .ec-ws__close:focus-visible { opacity: 1; }
.ec-ws__close:hover { background: var(--color-surface-3); color: var(--color-text); }
.ec-ws__editor { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.ec-ws__editor:focus-within { box-shadow: inset 0 0 0 1px var(--color-accent-line); }
.ec-ws__empty { flex: 1; display: grid; place-content: center; justify-items: center; gap: var(--space-2); padding: var(--space-6); text-align: center; color: var(--color-text-3); }
.ec-ws__empty p { margin: 0; max-width: 32ch; font-size: var(--text-sm); }
.ec-ws__status {
  display: flex; align-items: center; gap: var(--space-4); flex-shrink: 0; min-height: var(--control-xs); padding: 0 var(--space-3);
  overflow: hidden; white-space: nowrap; background: var(--color-sunken); border-top: 1px solid var(--color-divider);
  font-size: var(--text-xs); color: var(--color-text-3);
}
.ec-ws__path { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-family: var(--font-mono); }
.ec-ws__state.is-dirty { color: color-mix(in srgb, var(--hue-amber) var(--hue-mix), var(--color-text)); font-weight: var(--weight-medium); }
.ec-ws__panel { flex: 0 0 360px; min-width: 0; display: flex; flex-direction: column; border-left: 1px solid var(--color-divider); background: var(--color-surface); }

@media (max-width: 1599px) {
  .ec-ws__side { flex-basis: 208px; }
  .ec-ws__panel { flex-basis: 340px; }
}

@media (max-width: 900px) {
  .ec-ws__side { position: absolute; top: 0; bottom: 0; left: calc(var(--control-md) + var(--space-2) + 1px); z-index: 3; width: min(260px, calc(100% - var(--control-md) - var(--space-4))); box-shadow: var(--shadow-pop); }
}
@media (max-width: 640px) {
  .ec-ws__status > :nth-child(4), .ec-ws__status > :nth-child(5) { display: none; }
  .ec-ws__status { gap: var(--space-3); }
}

.ecw-stepper {
  display: inline-flex; align-items: center; gap: var(--space-1); padding: 2px;
  border: 1px solid var(--color-border-strong); border-radius: var(--radius-md); background: var(--color-surface);
}
.ecw-stepper__input {
  width: 56px; border: 0; background: none; text-align: center;
  font: inherit; font-size: var(--text-base); font-variant-numeric: tabular-nums; color: var(--color-text);
}
.ecw-stepper__input:focus { outline: none; }
.ecw-stepper:has(.ecw-stepper__input:focus-visible) { outline: var(--focus-ring); outline-offset: var(--focus-ring-offset); }
.ecw-stepper.is-disabled { opacity: 0.6; }

.ecw-meter { display: grid; gap: var(--space-1); }
.ecw-meter__row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-2); }
.ecw-meter__label { font-size: var(--text-sm); font-weight: 600; color: var(--color-text); }
.ecw-meter__value { font-size: var(--text-xs); color: var(--color-text-2); font-variant-numeric: tabular-nums; }
.ecw-meter[data-level='warn'] .ecw-meter__value { color: var(--color-warning); font-weight: 600; }
.ecw-meter[data-level='full'] .ecw-meter__value { color: var(--color-danger); font-weight: 600; }
.ecw-meter__hint { margin: 0; font-size: var(--text-xs); color: var(--color-text-3); }
.ecw-meter__hint[hidden] { display: none; }

.ecw-cp { display: grid; gap: var(--space-3); padding: var(--space-3); }

.ecw-cp__area {
  position: relative; height: 140px; border-radius: var(--radius-md); cursor: crosshair; touch-action: none;
  background:
    linear-gradient(to top, #000, transparent),
    linear-gradient(to right, #fff, hsl(var(--ecw-cp-h, 0) 100% 50%));
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
}
.ecw-cp__area:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-ring-offset); }
.ecw-cp__thumb {
  position: absolute; width: 14px; height: 14px; transform: translate(-50%, -50%); pointer-events: none;
  border-radius: var(--radius-full); box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(0, 0, 0, .25), 0 1px 3px rgba(0, 0, 0, .3);
}

.ecw-cp__hue {
  -webkit-appearance: none; appearance: none; width: 100%; height: 12px; margin: 0; border-radius: var(--radius-full); cursor: pointer;
  background: linear-gradient(to right, hsl(0 100% 50%), hsl(60 100% 50%), hsl(120 100% 50%), hsl(180 100% 50%), hsl(240 100% 50%), hsl(300 100% 50%), hsl(360 100% 50%));
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
}
.ecw-cp__hue:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-ring-offset); }
.ecw-cp__hue::-webkit-slider-thumb {
  -webkit-appearance: none; width: 16px; height: 16px; border-radius: var(--radius-full); border: 0;
  background: hsl(var(--ecw-cp-h, 0) 100% 50%); box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(0, 0, 0, .25), 0 1px 3px rgba(0, 0, 0, .3);
}
.ecw-cp__hue::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: var(--radius-full); border: 0;
  background: hsl(var(--ecw-cp-h, 0) 100% 50%); box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(0, 0, 0, .25), 0 1px 3px rgba(0, 0, 0, .3);
}
.ecw-cp__hue::-moz-range-track { background: transparent; }

.ecw-cp__row { display: flex; align-items: center; gap: var(--space-2); }
.ecw-cp__preview { flex: none; width: var(--control-sm); height: var(--control-sm); border-radius: var(--radius-sm); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.ecw-cp__hex { flex: 1; min-width: 0; }
.ecw-cp__hex .eb-input { font-family: var(--font-mono); letter-spacing: .02em; text-transform: uppercase; }

.ecw-cp__contrast { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); margin: 0; font-size: var(--text-xs); color: var(--color-text-3); }

.ecw-cp__swatches { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; padding-top: var(--space-2); border-top: 1px solid var(--color-divider); }
.ecw-cp__swatch {
  aspect-ratio: 1; padding: 0; border: 0; border-radius: var(--radius-full); cursor: pointer;
  background: var(--ecw-cp-c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1);
  transition: transform var(--duration-state), box-shadow var(--duration-state);
}
.ecw-cp__swatch:hover { transform: scale(1.12); }
.ecw-cp__swatch.is-on { box-shadow: 0 0 0 2px var(--color-surface), 0 0 0 3.5px var(--ecw-cp-c); }
.ecw-cp__swatch:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-ring-offset); }

.ecw-ms__trigger { display: flex; align-items: center; gap: var(--space-2); width: 100%; min-width: 0; text-align: left; font: inherit; color: var(--color-text); }
.ecw-ms__text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ecw-ms__text.is-placeholder { color: var(--color-text-4); }
.ecw-ms__more { flex: none; color: var(--color-text-3); font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.ecw-ms__more:empty { display: none; }

.ecw-ms__panel { display: flex; flex-direction: column; max-height: min(420px, 70vh); }
.ecw-ms__search { padding: var(--space-2); border-bottom: 1px solid var(--color-border); }
.ecw-ms__list { flex: 1; min-height: 0; overflow-y: auto; padding: var(--space-1); }
.ecw-ms__opt { padding: var(--space-2); border-radius: var(--radius-md); }
.ecw-ms__opt:hover { background: var(--color-surface-2); }
.ecw-ms__empty { margin: 0; padding: var(--space-3); font-size: var(--text-sm); color: var(--color-text-3); }
.ecw-ms__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); min-height: 36px; padding: var(--space-1) var(--space-2) var(--space-1) var(--space-3); border-top: 1px solid var(--color-border); }
.ecw-ms__count { font-size: var(--text-xs); color: var(--color-text-3); }

.ecw-iconlib { display: flex; flex-direction: column; max-height: min(420px, 70vh); }
.ecw-iconlib__search { padding: var(--space-2); border-bottom: 1px solid var(--color-border); }
.ecw-iconlib__grid { flex: 1; min-height: 0; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(36px, 1fr)); gap: var(--space-1); padding: var(--space-2); }
.ecw-iconlib__btn { display: grid; place-items: center; height: 36px; border: 1px solid transparent; border-radius: var(--radius-md); background: none; color: var(--color-text-2); cursor: pointer; }
.ecw-iconlib__btn:hover { background: var(--color-surface-2); color: var(--color-text); }
.ecw-iconlib__btn:focus-visible { outline: var(--focus-ring); outline-offset: 1px; }
.ecw-iconlib__btn[aria-pressed="true"] { border-color: var(--color-accent); color: var(--color-accent); box-shadow: var(--focus-halo); }
.ecw-iconlib__empty { grid-column: 1 / -1; margin: 0; padding: var(--space-2); font-size: var(--text-sm); color: var(--color-text-3); }

/* /patterns/EbigLanding/landing.css */

.el-page {
  --bg: #ffffff; --bg-subtle: #f0f0f0;
  --ink: #080808; --ink-muted: #5a5a5a; --ink-faint: #757575;
  --line: #d8d8d8; --line-strong: #898989;
  --brand: #1857e9; --brand-hover: #0f46c8; --on-brand: #ffffff;
  --brand-ink: #1857e9; --brand-soft: #e8eefd;
  --band: #080808; --on-band: #ffffff; --on-band-muted: #ababab;
  --success: #0e7a38; --danger: #c8281c;
  --shadow-media: 0 24px 48px -12px rgba(8, 8, 8, 0.18);

  --font-sans: "Geist", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --radius-sm: 4px; --radius-md: 8px; --radius-pill: 1440px;
  --container: 1440px; --nav-height: 68px;

  --el-fs-display: clamp(3rem, 1.857rem + 5.714vw, 7rem);
  --el-fs-h1: clamp(2.75rem, 2.107rem + 3.214vw, 5rem);
  --el-fs-h2: clamp(2rem, 1.571rem + 2.143vw, 3.5rem);
  --el-fs-h3: clamp(1.75rem, 1.536rem + 1.071vw, 2.5rem);
  --el-fs-h4: clamp(1.375rem, 1.196rem + 0.893vw, 2rem);
  --el-fs-h6: clamp(1.125rem, 1.089rem + 0.179vw, 1.25rem);
  --el-fs-eyebrow: clamp(1rem, 0.929rem + 0.357vw, 1.25rem);
  --el-fs-body-xl: clamp(1.25rem, 1.036rem + 1.071vw, 2rem);
  --el-fs-body-lg: clamp(1.1rem, 1.057rem + 0.214vw, 1.25rem);
  --el-xs: clamp(0.375rem, 0.339rem + 0.179vw, 0.5rem);
  --el-sm: clamp(0.625rem, 0.518rem + 0.536vw, 1rem);
  --el-md: clamp(1.25rem, 1.179rem + 0.357vw, 1.5rem);
  --el-lg: clamp(1.75rem, 1.679rem + 0.357vw, 2rem);
  --el-xl: clamp(2.25rem, 2.036rem + 1.071vw, 3rem);
  --el-gap-xl: clamp(2.5rem, 1.786rem + 3.571vw, 5rem);
  --el-section-sm: clamp(3rem, 2.429rem + 2.857vw, 5rem);
  --el-section-md: clamp(3rem, 1.286rem + 8.571vw, 9rem);
  --el-section-lg: clamp(3rem, -0.429rem + 17.143vw, 15rem);
  --el-gutter: clamp(16px, 5.4vw, 80px);
  --el-card-pad: clamp(1rem, 0.857rem + 0.714vw, 1.5rem);
  --el-dur-1: 150ms; --el-dur-2: 300ms;

  background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased; color-scheme: light;
}
:root[data-theme="dark"] .el-page {
  --bg: #080808; --bg-subtle: #171717;
  --ink: #ffffff; --ink-muted: #ababab; --ink-faint: #8a8a8a;
  --line: #363636; --line-strong: #757575;
  --brand-hover: #2b6af0; --brand-ink: #7aa6ff; --brand-soft: #0f1d3d;
  --band: #171717; --success: #4ed08a; --danger: #ff7b70;
  --shadow-media: 0 24px 48px -12px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .el-page {
    --bg: #080808; --bg-subtle: #171717;
    --ink: #ffffff; --ink-muted: #ababab; --ink-faint: #8a8a8a;
    --line: #363636; --line-strong: #757575;
    --brand-hover: #2b6af0; --brand-ink: #7aa6ff; --brand-soft: #0f1d3d;
    --band: #171717; --success: #4ed08a; --danger: #ff7b70;
    --shadow-media: 0 24px 48px -12px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}

.el-page :where(h1, h2, h3, h4, h5, h6, p, ul, ol, figure) { margin: 0; }
.el-display, .el-h1, .el-h2, .el-h3, .el-h4, .el-h6 { font-weight: 600; text-wrap: balance; }
.el-display { font-size: var(--el-fs-display); line-height: 1.04; letter-spacing: -0.03em; }
.el-h1 { font-size: var(--el-fs-h1); line-height: 1.04; letter-spacing: -0.025em; }
.el-h2 { font-size: var(--el-fs-h2); line-height: 1.04; letter-spacing: -0.02em; }
.el-h3 { font-size: var(--el-fs-h3); line-height: 1.2; letter-spacing: -0.015em; }
.el-h4 { font-size: var(--el-fs-h4); line-height: 1.2; letter-spacing: -0.01em; }
.el-h6 { font-size: var(--el-fs-h6); line-height: 1.4; }
.el-subheading { font-size: 1.25rem; line-height: 1.4; font-weight: 500; }
.el-eyebrow { font-size: var(--el-fs-eyebrow); line-height: 1.4; font-weight: 500; color: var(--ink-muted); }
.el-body-xl { font-size: var(--el-fs-body-xl); line-height: 1.4; }
.el-body-lg { font-size: var(--el-fs-body-lg); line-height: 1.5; }
.el-body-sm { font-size: 0.875rem; line-height: 1.6; }
.el-caption { font-size: 0.8rem; line-height: 1.2; font-weight: 550; }
.el-muted { color: var(--ink-muted); }
.el-part { display: inline-block; }

.el-container { width: min(100% - 2 * var(--el-gutter), var(--container)); margin-inline: auto; }
.el-section { padding-block: var(--el-section-sm); scroll-margin-top: var(--nav-height); }
.el-section--md { padding-block: var(--el-section-md); }
.el-band { background: var(--band); color: var(--on-band); }
.el-band .el-eyebrow, .el-band .el-muted { color: var(--on-band-muted); }
.el-stack { display: grid; gap: var(--el-xl); }

.el-page :focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 2px; }
.el-page main:focus { outline: none; }

.el-skip { position: absolute; left: var(--el-gutter); top: -100px; z-index: 30; background: var(--brand); color: var(--on-brand); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 500; text-decoration: none; }
.el-skip:focus { top: 8px; }

.el-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 1rem/1.2 var(--font-sans); letter-spacing: -0.01em; white-space: nowrap;
  padding: 1em 1.5em; border: 0; border-radius: var(--radius-sm);
  background: var(--brand); color: var(--on-brand); text-decoration: none; cursor: pointer;
  transition: background-color var(--el-dur-1) ease;
}
.el-btn:hover { background: var(--brand-hover); }
.el-btn--secondary { background: var(--bg-subtle); color: var(--ink); }
.el-btn--secondary:hover { background: var(--line); }
.el-btn--sm { padding: 0.75em 1.25em; }
.el-actions { display: flex; flex-wrap: wrap; gap: var(--el-sm); align-items: center; }

.el-link { display: inline-flex; align-items: center; gap: 6px; font: 500 1rem/1.2 var(--font-sans); color: var(--brand-ink); text-decoration: none; }
.el-link::after { content: "→"; transition: transform var(--el-dur-1) ease; }
.el-link:hover::after { transform: translateX(3px); }

.el-tag { display: inline-block; font: 500 10px/1 var(--font-sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-ink); background: var(--brand-soft); padding: 4px 6px; border-radius: var(--radius-sm); }

.el-announce { display: block; background: var(--brand); color: var(--on-brand); text-align: center; text-decoration: none; font: 500 0.875rem/1.4 var(--font-sans); padding: 12px var(--el-gutter); }
.el-announce:hover span { text-decoration: underline; text-underline-offset: 3px; }

.el-nav { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.el-nav__in { display: flex; align-items: center; gap: var(--el-lg); height: var(--nav-height); }
.el-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font: 600 22px/1 var(--font-sans); letter-spacing: -0.03em; flex: none; }
.el-brand img { width: 28px; height: 28px; display: block; }
.el-nav__links { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; min-width: 0; }
.el-nav__links a { display: inline-flex; padding: 8px 12px; color: var(--ink); text-decoration: none; font: 500 1rem/1.2 var(--font-sans); border-radius: var(--radius-sm); white-space: nowrap; }
.el-nav__links a:hover { background: var(--bg-subtle); }
.el-nav__end { margin-left: auto; display: flex; align-items: center; gap: var(--el-md); }
.el-nav__text { color: var(--ink); text-decoration: none; font: 500 1rem/1.2 var(--font-sans); white-space: nowrap; }
.el-nav__text:hover { color: var(--brand-ink); }

.el-nav__acct-wrap { position: relative; }
.el-nav__avatar { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--brand-soft); color: var(--brand-ink); font: 600 .8125rem/1 var(--font-sans); letter-spacing: .02em; cursor: pointer; }
.el-nav__avatar:hover, .el-nav__avatar[aria-expanded="true"] { border-color: var(--line-strong); }
.el-nav__avatar:focus-visible, .el-nav__acct-item:focus-visible, .el-nav__signout:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.el-nav__acct { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 240px; max-width: min(320px, 90vw); display: grid; padding: 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); box-shadow: var(--shadow-media); }
.el-nav__acct[hidden] { display: none; }
.el-nav__acct-who { display: grid; gap: 2px; margin: 0; padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; min-width: 0; }
.el-nav__acct-who b { font: 600 .9375rem/1.3 var(--font-sans); color: var(--ink); overflow-wrap: anywhere; }
.el-nav__acct-who span { font: 400 .8125rem/1.3 var(--font-sans); color: var(--ink-muted); overflow-wrap: anywhere; }
.el-nav__acct-item { display: block; width: 100%; text-align: left; padding: 9px 10px; border: 0; border-radius: 8px; background: none; color: var(--ink); font: 500 .9375rem/1.2 var(--font-sans); text-decoration: none; cursor: pointer; }
.el-nav__acct-item:hover { background: var(--bg-subtle); }
.el-nav__signout { border: 0; background: none; padding: 0; cursor: pointer; }

.el-lang { position: relative; display: inline-flex; }
.el-lang__btn { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 8px 0 9px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: none; color: var(--ink-muted); font: 500 0.8rem/1 var(--font-sans); cursor: pointer; }
.el-lang__btn:hover, .el-lang__btn[aria-expanded="true"] { color: var(--ink); border-color: var(--ink); }
.el-lang__btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.el-lang__btn svg { width: 15px; height: 15px; flex: none; }
.el-lang__btn svg:last-child { width: 12px; height: 12px; transition: transform var(--el-dur-1) ease; }
.el-lang__btn[aria-expanded="true"] svg:last-child { transform: rotate(180deg); }
.el-lang__menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 200px; max-height: min(70vh, 480px); overflow-y: auto; margin: 0; padding: 6px; list-style: none;
  border-radius: 12px; border: 1px solid var(--line); background: var(--bg); box-shadow: var(--shadow-media); }
.el-lang__menu[hidden] { display: none; }
.el-lang__menu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 10px; border-radius: 8px; color: var(--ink); font: 400 .9375rem/1.2 var(--font-sans); text-decoration: none; white-space: nowrap; }
.el-lang__menu a:hover { background: var(--bg-subtle); }
.el-lang__menu a:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.el-lang__menu a[aria-current="true"] { font-weight: 600; }
.el-lang__menu a svg { width: 16px; height: 16px; color: var(--brand-ink); }

.el-nav__panel .el-lang__menu { left: 0; right: auto; top: auto; bottom: calc(100% + 8px); }
.el-nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--bg); color: var(--ink); cursor: pointer; place-items: center; }
.el-nav__toggle svg { width: 20px; height: 20px; }
.el-nav__panel { border-top: 1px solid var(--line); padding-block: var(--el-md); display: grid; gap: var(--el-md); }
.el-nav__panel ul { list-style: none; padding: 0; display: grid; gap: 4px; }
.el-nav__panel ul a { display: block; padding: 10px 0; color: var(--ink); text-decoration: none; font: 500 1.125rem/1.2 var(--font-sans); }
.el-nav__panel .el-actions .el-btn { flex: 1 1 160px; }

.el-nav__panel ul.el-lang__menu { display: block; padding: 6px; gap: 0; }
.el-nav__panel ul.el-lang__menu a { display: flex; padding: 9px 10px; font: 400 .9375rem/1.2 var(--font-sans); }
.el-nav__panel ul.el-lang__menu a[aria-current="true"] { font-weight: 600; }
@media (max-width: 1100px) { .el-nav__links { display: none; } }
@media (max-width: 720px) {
  .el-nav__end > :not(.el-nav__toggle) { display: none; }
  .el-nav__toggle { display: inline-grid; }
}
@media (min-width: 721px) { .el-nav__panel { display: none; } }

.el-hero { padding-block: var(--el-section-sm) 0; }
.el-hero__copy { display: grid; gap: var(--el-md); max-width: 920px; min-width: 0; }
.el-hero__copy .el-body-lg { max-width: 36em; }
.el-hero__actions { margin-top: var(--el-sm); }
.el-hero__media { margin-top: var(--el-xl); }
.el-shot { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--bg-subtle); }
.el-shot:is(img) { object-fit: cover; object-position: left top; }   
.el-hero__media .el-shot { box-shadow: var(--shadow-media); }

.el-head { display: grid; gap: var(--el-sm); max-width: 820px; }
.el-head .el-body-lg { color: var(--ink-muted); max-width: 36em; }
.el-intro { display: grid; justify-items: center; text-align: center; gap: var(--el-sm); }
.el-intro .el-body-lg, .el-intro .el-body-xl { max-width: 36em; color: var(--ink-muted); }

.el-feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--el-gap-xl); align-items: center; }
.el-feature--reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }   
.el-feature--reverse .el-feature__copy { order: 2; }
.el-feature__copy { display: grid; gap: var(--el-md); min-width: 0; justify-items: start; }
.el-feature__copy > .el-muted { max-width: 34em; }
.el-feature__media { min-width: 0; }
.el-checks { list-style: none; padding: 0; display: grid; gap: var(--el-sm); }
.el-checks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; }
.el-checks svg { width: 20px; height: 20px; margin-top: 3px; color: var(--brand-ink); }
.el-checks b { font-weight: 600; }
@media (max-width: 900px) {
  .el-feature, .el-feature--reverse { grid-template-columns: minmax(0, 1fr); }
  .el-feature--reverse .el-feature__copy { order: 0; }
}

.el-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: var(--el-md); }
.el-stat { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: var(--el-xs); min-height: 300px; padding: var(--el-card-pad); border-radius: var(--radius-md); background: var(--band); color: var(--on-band); text-decoration: none; }
.el-stat__num { font: 600 var(--el-fs-h3)/1.2 var(--font-sans); letter-spacing: -0.015em; font-variant-numeric: tabular-nums; }
.el-stat__label { font: 500 1.25rem/1.4 var(--font-sans); }
.el-stat__text { font: 400 1rem/1.6 var(--font-sans); color: var(--on-band-muted); margin-top: var(--el-xs); padding-right: 44px; min-height: 3.2em; }
.el-stat__go { position: absolute; right: var(--el-card-pad); bottom: var(--el-card-pad); width: 32px; height: 32px; border-radius: var(--radius-pill); border: 1px solid var(--on-band-muted); display: grid; place-items: center; color: var(--on-band); font: 500 14px/1 var(--font-sans); transition: background-color var(--el-dur-1) ease, color var(--el-dur-1) ease; }
a.el-stat:hover .el-stat__go { background: var(--on-band); color: var(--band); }

.el-ctas { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: var(--el-xl) var(--el-lg); }
.el-cta { display: grid; gap: var(--el-sm); padding-top: var(--el-md); border-top: 1px solid var(--line); align-content: start; }
.el-cta .el-muted { max-width: 30em; }
.el-cta__n { font: 500 0.875rem/1 var(--font-mono); color: var(--brand-ink); }

.el-steps { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--el-xl) var(--el-gap-xl); align-items: start; }
.el-steps ol { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.el-steps li { display: grid; grid-template-columns: 3rem minmax(0, 14rem) minmax(0, 1fr); gap: var(--el-xs) var(--el-md); align-items: baseline; padding-block: var(--el-md); border-bottom: 1px solid var(--line); }
@media (max-width: 900px) { .el-steps { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .el-steps li { grid-template-columns: 2.5rem minmax(0, 1fr); } .el-steps li p { grid-column: 2; } }

.el-plan { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--el-md); align-items: start; }
.el-plan__card { display: grid; gap: var(--el-md); align-content: start; padding: var(--el-xl); border-radius: var(--radius-md); background: var(--bg-subtle); }
.el-plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.el-plan__amount { font: 600 var(--el-fs-h1)/1 var(--font-sans); letter-spacing: -0.025em; font-variant-numeric: tabular-nums; }
.el-plan__side { display: grid; gap: var(--el-sm); align-content: start; padding: var(--el-xl); border-radius: var(--radius-md); border: 1px solid var(--line); }
.el-plan__mail { font: 500 1rem/1.4 var(--font-mono); color: var(--ink); user-select: all; overflow-wrap: anywhere; }
@media (max-width: 900px) { .el-plan { grid-template-columns: minmax(0, 1fr); } }

.el-faq { border-top: 1px solid var(--line); }
.el-faq details { border-bottom: 1px solid var(--line); }
.el-faq summary { display: flex; justify-content: space-between; gap: var(--el-md); align-items: center; padding-block: var(--el-md); cursor: pointer; list-style: none; font: 500 1.25rem/1.4 var(--font-sans); }
.el-faq summary::-webkit-details-marker { display: none; }
.el-faq summary::after { content: "+"; flex: none; font: 400 1.5rem/1 var(--font-sans); color: var(--ink-muted); transition: transform var(--el-dur-1) ease; }
.el-faq details[open] summary::after { transform: rotate(45deg); }
.el-faq details p { padding-bottom: var(--el-md); color: var(--ink-muted); max-width: 46em; }

.el-final { display: grid; justify-items: center; text-align: center; gap: var(--el-md); }
.el-final .el-body-lg { color: var(--ink-muted); max-width: 32em; }
.el-final .el-actions { justify-content: center; }
.el-final__note { color: var(--ink-faint); }

.el-footer { padding-block: var(--el-section-sm) var(--el-lg); border-top: 1px solid var(--line); }
.el-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: var(--el-xl) var(--el-lg); }
.el-footer__col h2 { font: 500 1.25rem/1.4 var(--font-sans); margin-bottom: var(--el-md); }
.el-footer__col ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.el-footer__col a { color: var(--ink-muted); text-decoration: none; }
.el-footer__col a:hover { color: var(--ink); }
.el-footer__base { margin-top: var(--el-section-sm); padding-top: var(--el-md); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: var(--el-sm) var(--el-lg); align-items: center; justify-content: space-between; color: var(--ink-faint); font: 550 0.8rem/1.2 var(--font-sans); }
.el-footer__base ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--el-md); }
.el-footer__base a:not(.el-brand) { color: var(--ink-faint); text-decoration: none; }
.el-footer__base a:not(.el-brand):hover { color: var(--ink); }

/* /patterns/EbigLanding/sections/sections.css */

.els-stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--el-xl); }
.els-center { display: grid; justify-items: center; }
.els-headrow { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--el-md) var(--el-lg); }
.els-headrow > .el-head { flex: 1 1 420px; min-width: 0; }

.els-nav { position: sticky; }
.els-nav__menu { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border: 0; background: none; color: var(--ink); font: 500 1rem/1.2 var(--font-sans); border-radius: var(--radius-sm); cursor: pointer; white-space: nowrap; }
.els-nav__menu:hover, .els-nav__menu[aria-expanded="true"] { background: var(--bg-subtle); }
.els-nav__menu svg { width: 16px; height: 16px; transition: transform var(--el-dur-1) ease; }
.els-nav__menu[aria-expanded="true"] svg { transform: rotate(180deg); }
.els-mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px -16px rgba(8, 8, 8, 0.25); }
.els-mega__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: var(--el-sm); padding-block: var(--el-md); }
.els-mega__item { display: grid; align-content: start; gap: 4px; padding: var(--el-sm) var(--el-md); border-radius: var(--radius-md); color: var(--ink); text-decoration: none; }
.els-mega__item:hover { background: var(--bg-subtle); }

@media (min-width: 900px) { .els-mega__in { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.els-mega__item b { font-weight: 600; }
.els-mega__item span { color: var(--ink-muted); font-size: 0.9rem; line-height: 1.5; }
@media (max-width: 1100px) { .els-mega { display: none; } }

.el-btn--onband { background: transparent; color: var(--on-band); box-shadow: inset 0 0 0 1px var(--on-band-muted); }
.el-btn--onband:hover { background: rgba(255, 255, 255, 0.08); }
.el-band .el-final .el-body-lg { color: var(--on-band-muted); }

.els-hero { padding-block: var(--el-section-md) var(--el-xl); }
.els-hero__in { gap: var(--el-md); }
.els-hero__in .el-display { max-width: 14ch; }
.els-hero__in .el-h1 { max-width: 20ch; }
.els-hero__in .el-actions { justify-content: center; margin-top: var(--el-xs); }

.els-statsbar { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); margin: 0; border-block: 1px solid var(--line); }
.els-statsbar__item { display: flex; flex-direction: column-reverse; gap: 4px; padding: var(--el-md) var(--el-sm); text-align: center; min-width: 0; }
.els-statsbar__item + .els-statsbar__item { border-left: 1px solid var(--line); }
.els-statsbar dd { margin: 0; font: 600 var(--el-fs-h4)/1.1 var(--font-sans); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.els-statsbar dt { color: var(--ink-muted); font-size: 0.9rem; }
@media (max-width: 600px) { .els-statsbar { grid-template-columns: repeat(2, minmax(0, 1fr)); } .els-statsbar__item:nth-child(odd) { border-left: 0; } .els-statsbar__item:nth-child(n+3) { border-top: 1px solid var(--line); } }

.els-tabs { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 4px; border-radius: var(--radius-pill); background: var(--bg-subtle); max-width: 100%; }
.els-tab { border: 0; background: transparent; color: var(--ink-muted); font: 500 0.95rem/1 var(--font-sans); padding: 10px 18px; border-radius: var(--radius-pill); cursor: pointer; white-space: nowrap; }
.els-tab:hover { color: var(--ink); }
.els-tab[aria-selected="true"] { background: var(--bg); color: var(--ink); box-shadow: 0 1px 3px rgba(8, 8, 8, 0.14); }
.els-tabpanel { display: grid; gap: var(--el-md); justify-items: center; width: 100%; min-width: 0; }
.els-tabpanel:focus-visible { outline-offset: 6px; }

.els-platforms { padding-top: var(--el-xl); }
.els-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.els-chip { display: inline-flex; padding: 8px 14px; border-radius: var(--radius-pill); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font: 500 0.9rem/1.2 var(--font-sans); white-space: nowrap; }
.els-chip:hover { border-color: var(--ink); }
.els-tabcaption { text-align: center; max-width: 46em; }
.els-shotframe { width: 100%; min-width: 0; }
.els-shotframe .el-shot { box-shadow: var(--shadow-media); }

.el-clip { object-fit: cover; object-position: left top; transition: opacity .24s ease; }
.el-clip.is-restart { opacity: .2; }   

.els-cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--el-sm); }
@media (max-width: 1100px) { .els-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .els-cards { grid-template-columns: minmax(0, 1fr); } .els-card { min-height: 0; } }
.els-cards > li { display: grid; min-width: 0; }
.els-card { display: grid; grid-template-rows: auto auto 1fr auto; gap: var(--el-xs); padding: var(--el-card-pad); border-radius: var(--radius-md); background: var(--bg-subtle); color: var(--ink); text-decoration: none; min-height: 190px; transition: background-color var(--el-dur-1) ease; }
.els-card:hover { background: var(--line); }
.els-card__meta { display: flex; justify-content: space-between; gap: 8px; font: 500 0.75rem/1.3 var(--font-mono); color: var(--ink-faint); }
.els-card__meta span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.els-stepbar { display: flex; gap: 4px; margin-top: var(--el-sm); }
.els-stepbar i { flex: 1; height: 6px; border-radius: 3px; background: var(--brand); opacity: 0.85; }

.els-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--el-md); }
.els-two__item { display: grid; gap: var(--el-sm); align-content: start; justify-items: start; padding: var(--el-card-pad); border-radius: var(--radius-md); background: var(--bg-subtle); min-width: 0; }
.els-two__item figure { width: 100%; margin-bottom: var(--el-xs); }
.els-two__item .el-muted { max-width: 34em; }
@media (max-width: 800px) { .els-two { grid-template-columns: minmax(0, 1fr); } }

.els-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--el-sm); }
.els-bento__big { grid-column: span 2; grid-row: span 2; display: grid; gap: var(--el-xs); align-content: start; padding: var(--el-card-pad); border-radius: var(--radius-md); background: var(--bg-subtle); min-width: 0; }
.els-tile { display: grid; gap: 6px; align-content: start; padding: var(--el-card-pad); border-radius: var(--radius-md); border: 1px solid var(--line); color: var(--ink); text-decoration: none; min-width: 0; transition: border-color var(--el-dur-1) ease; }
.els-tile:hover { border-color: var(--ink); }
@media (max-width: 900px) { .els-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .els-bento__big { grid-row: auto; } }
@media (max-width: 600px) { .els-bento { grid-template-columns: minmax(0, 1fr); } .els-bento__big { grid-column: auto; } }

.els-chat { display: grid; gap: var(--el-sm); margin-top: var(--el-sm); padding: var(--el-md); border-radius: var(--radius-md); background: var(--bg); border: 1px solid var(--line); }
.els-chat__q { justify-self: end; max-width: 80%; padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: var(--ink); color: var(--bg); font-size: 0.95rem; }
.els-chat__a { display: grid; gap: 8px; max-width: 92%; padding: 12px 14px; border-radius: 16px 16px 16px 4px; background: var(--bg-subtle); font-size: 0.95rem; }
.els-chat__a ul { list-style: none; padding: 0; display: grid; }
.els-chat__a li { display: flex; justify-content: space-between; gap: var(--el-sm); padding-block: 8px; border-top: 1px solid var(--line); }
.els-chat__a li span:first-child { min-width: 0; }
.els-chat__a li span:last-child { color: var(--ink-faint); white-space: nowrap; font-variant-numeric: tabular-nums; }
.els-chat__in { display: flex; align-items: center; gap: var(--el-sm); padding: 6px 6px 6px 16px; border-radius: var(--radius-pill); border: 1px solid var(--line); color: var(--ink-faint); font-size: 0.95rem; }
.els-chat__in span:first-child { flex: 1; min-width: 0; }
.els-chat__send { padding: 8px 16px; border-radius: var(--radius-pill); background: var(--brand); color: var(--on-brand); font-weight: 500; }

.els-run { list-style: none; padding: 0; display: grid; gap: 8px; margin-top: var(--el-sm); }
.els-run__step { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: var(--el-sm); align-items: center; padding: 12px 14px; border-radius: var(--radius-md); background: var(--bg); border: 1px solid var(--line); }
.els-run__dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-strong); }
.els-run__step.is-done .els-run__dot { background: var(--success); border-color: var(--success); }
.els-run__step.is-now { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.els-run__step.is-now .els-run__dot { border-color: var(--brand); }
.els-run__step.is-todo .els-run__name { color: var(--ink-muted); }
.els-run__meta { color: var(--ink-faint); font-size: 0.85rem; white-space: nowrap; }

.els-timeline { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--el-lg); border-top: 1px solid var(--line); }
@media (max-width: 900px) { .els-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .els-timeline { grid-template-columns: minmax(0, 1fr); } }
.els-timeline li { display: grid; gap: 6px; align-content: start; padding-block: var(--el-md); border-bottom: 1px solid var(--line); min-width: 0; }
.els-timeline time { font: 500 0.8rem/1 var(--font-mono); color: var(--brand-ink); }

.els-fields__list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: var(--el-sm) var(--el-lg); }
.els-fields__list li { display: grid; gap: 4px; align-content: start; padding-top: var(--el-sm); border-top: 1px solid var(--line); min-width: 0; }
.els-fields__list span { color: var(--ink-muted); font-size: 0.9rem; line-height: 1.5; }

.els-stories { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--el-sm); width: 100%; }
@media (max-width: 900px) { .els-stories { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .els-stories { grid-template-columns: minmax(0, 1fr); } }
.els-story { display: grid; gap: var(--el-xs); align-content: start; justify-items: start; padding: var(--el-card-pad); border-radius: var(--radius-md); border: 1px solid var(--line); min-width: 0; }

.els-points { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: var(--el-lg); }
.els-points li { display: grid; gap: var(--el-xs); align-content: start; }
.els-points__icon { width: 40px; height: 40px; border-radius: var(--radius-md); background: var(--brand-soft); color: var(--brand-ink); display: grid; place-items: center; margin-bottom: var(--el-xs); }
.els-points__icon svg { width: 20px; height: 20px; }

.els-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.els-tab[aria-pressed="true"] { background: var(--bg); color: var(--ink); box-shadow: 0 1px 3px rgba(8, 8, 8, 0.14); }
.els-chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
button.els-chip { background: var(--bg); cursor: pointer; }

.els-fields__title { font-weight: 600; color: var(--ink); text-decoration: none; }
.els-fields__list span a { color: var(--ink-muted); text-decoration: none; }
.els-fields__list a:hover { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }

.els-pagehero { padding-block: var(--el-section-sm) var(--el-md); }
.els-pagehero__in { display: grid; gap: var(--el-sm); justify-items: start; }
.els-pagehero__in .el-h1 { max-width: 20ch; }
.els-pagehero__in .el-body-lg { max-width: 40em; }
.els-pagehero__in .el-actions { margin-top: var(--el-xs); }
.els-crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.9rem; color: var(--ink-muted); }
.els-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--ink-faint); }
.els-crumbs a { color: var(--ink-muted); text-decoration: none; }
.els-crumbs a:hover { color: var(--ink); }
.els-facts { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.els-facts li { padding: 6px 12px; border-radius: var(--radius-pill); background: var(--bg-subtle); font-size: 0.9rem; font-variant-numeric: tabular-nums; }

.els-dir { padding-top: var(--el-md); }
.els-dir__bar { display: flex; flex-wrap: wrap; gap: var(--el-sm); }
.els-dir__field { flex: 1 1 320px; min-width: 0; }
.els-dir__search, .els-dir__select { width: 100%; height: 48px; padding: 0 16px; border-radius: var(--radius-md); border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); font: 400 1rem/1.2 var(--font-sans); }
.els-dir__select { flex: 1 1 240px; width: 100%; min-width: 0; max-width: 360px; }
@media (max-width: 600px) { .els-dir__select { max-width: none; } }
.els-dir__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.els-dir__count { color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.els-dir__list .els-card { min-height: 0; }
.els-dir__empty { grid-column: 1 / -1; padding: var(--el-lg); border: 1px dashed var(--line-strong); border-radius: var(--radius-md); color: var(--ink-muted); text-align: center; }
.els-dir__more { justify-self: center; }
.els-dir__more[hidden] { display: none; }

.els-related { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--el-sm); }
.els-related a { display: grid; gap: 4px; padding: var(--el-sm) var(--el-md); border-radius: var(--radius-md); border: 1px solid var(--line); color: var(--ink); text-decoration: none; min-width: 0; height: 100%; }
.els-related a:hover { border-color: var(--ink); }
.els-related span { color: var(--ink-muted); font-size: 0.9rem; }
@media (max-width: 900px) { .els-related { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .els-related { grid-template-columns: minmax(0, 1fr); } }

.els-phases { list-style: none; padding: 0; display: grid; gap: var(--el-md); }
.els-phase { display: grid; gap: var(--el-sm); padding: var(--el-card-pad); border-radius: var(--radius-md); background: var(--bg-subtle); }
.els-phase__head { display: flex; align-items: center; gap: var(--el-sm); }
.els-phase__n { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font: 600 0.85rem/1 var(--font-mono); flex: none; }
.els-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: var(--el-xs); }
.els-step { display: grid; gap: 4px; align-content: start; padding: 12px 14px; border-radius: var(--radius-md); background: var(--bg); border: 1px solid var(--line); min-width: 0; }
.els-step.is-approval { border-color: var(--brand); }
.els-step__kind { font: 500 0.72rem/1 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); }
.els-step.is-approval .els-step__kind { color: var(--brand-ink); }
.els-step__role { color: var(--ink-muted); font-size: 0.9rem; }
.els-step__tasks { margin: 4px 0 0; padding-left: 18px; color: var(--ink-muted); font-size: 0.85rem; display: grid; gap: 2px; }

.els-factgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: var(--el-lg); }
.els-factgrid__col { display: grid; gap: var(--el-xs); align-content: start; min-width: 0; }
.els-factgrid__col ul { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.els-factgrid__col li { display: flex; justify-content: space-between; gap: var(--el-sm); padding-block: 10px; border-bottom: 1px solid var(--line); }
.els-factgrid__col li > span:first-child { min-width: 0; }
.els-factgrid__meta { color: var(--ink-faint); font: 500 0.8rem/1.6 var(--font-mono); white-space: nowrap; }

.els-areas { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--el-sm); }
.els-areas > li { display: grid; min-width: 0; }
.els-area { display: grid; gap: var(--el-xs); align-content: start; padding: var(--el-card-pad); border-radius: var(--radius-md); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.els-area:hover { border-color: var(--ink); }
@media (max-width: 1100px) { .els-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .els-areas { grid-template-columns: minmax(0, 1fr); } }

.els-plans { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--el-sm); align-items: start; }
.els-plan { display: grid; gap: var(--el-sm); align-content: start; justify-items: start; padding: var(--el-lg); border-radius: var(--radius-md); border: 1px solid var(--line); min-width: 0; }
.els-plan.is-main { border: 2px solid var(--ink); }
.els-plan.is-estimate { background: var(--bg-subtle); border-color: transparent; }
.els-plan .el-checks { width: 100%; }
.els-plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.els-plan__amount { font: 600 var(--el-fs-h2)/1 var(--font-sans); letter-spacing: -0.025em; font-variant-numeric: tabular-nums; }

.els-range { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; margin: 0; background: transparent; cursor: pointer; --fill: 50%; }
.els-range::-webkit-slider-runnable-track { height: 6px; border-radius: 9999px; border: 0; background: linear-gradient(to right, var(--brand) var(--fill), var(--line) var(--fill)); }
.els-range::-moz-range-track { height: 6px; border-radius: 9999px; border: 0; background: var(--line); }
.els-range::-moz-range-progress { height: 6px; border-radius: 9999px; background: var(--brand); }
.els-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; margin-top: -7px; border: 0; border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 2px var(--brand), 0 1px 3px rgba(0, 0, 0, 0.3); }
.els-range::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 2px var(--brand), 0 1px 3px rgba(0, 0, 0, 0.3); }
.els-range:focus-visible { outline: none; }
.els-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 2px var(--brand), 0 0 0 6px color-mix(in srgb, var(--brand) 35%, transparent); }
.els-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 2px var(--brand), 0 0 0 6px color-mix(in srgb, var(--brand) 35%, transparent); }
.els-plan__seats { font-weight: 600; font-variant-numeric: tabular-nums; }

.els-plans.is-two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: 880px; margin-inline: auto; align-items: stretch; }
@media (max-width: 960px) { .els-plans, .els-plans.is-two { grid-template-columns: minmax(0, 1fr); } }

.els-tablewrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-md); }
.els-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.95rem; }
.els-table th, .els-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.els-table thead th { font-weight: 600; background: var(--bg-subtle); }
.els-table tbody th { font-weight: 500; color: var(--ink-muted); }
.els-table tr:last-child th, .els-table tr:last-child td { border-bottom: 0; }

.els-footer { position: relative; overflow: hidden; padding-bottom: 0; }
.els-footer__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--el-xl) var(--el-gap-xl); align-items: start; }
.els-footer__brand { display: grid; gap: var(--el-sm); justify-items: start; max-width: 26rem; }
.els-footer__brand .el-brand { font-size: 1.5rem; }
.els-footer__tagline { margin: 0; font-size: var(--el-fs-h4); font-weight: 300; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.els-footer__contact { margin: var(--el-xs) 0 0; display: grid; gap: 2px; font-size: .875rem; color: var(--ink-faint); }
.els-footer__contact .els-footer__mail { color: var(--ink); font-size: .9375rem; }
.els-footer__address address { font-style: normal; color: var(--ink); font-size: .9375rem; line-height: 1.45; }
.els-footer .el-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--el-lg); }
.els-footer .el-footer__col h2 { font-size: .8125rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: var(--el-sm); }
.els-footer .el-footer__col ul { gap: 12px; }
.els-footer .el-footer__col a { color: var(--ink); }
.els-footer .el-footer__col a:hover { color: var(--ink-muted); }
.els-footer .el-footer__base { margin-top: var(--el-section-sm); }

.els-footer__mark { margin: var(--el-lg) 0 -0.16em; padding-inline: var(--el-gutter); font: 600 clamp(6rem, 36vw, 40rem)/0.8 var(--font-sans); letter-spacing: -0.07em; text-align: center; white-space: nowrap; user-select: none;
  background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 16%, transparent), transparent 92%); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 900px) {
  .els-footer__top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .els-footer .el-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.els-footer__mail { font-family: var(--font-mono); user-select: all; }

.els-group { display: grid; gap: var(--el-sm); }
.els-group__title { display: flex; align-items: baseline; gap: var(--el-sm); padding-bottom: var(--el-xs); border-bottom: 1px solid var(--line); }
.els-group__title span { color: var(--ink-faint); font: 500 0.8rem/1 var(--font-mono); }
.els-card--compact { min-height: 0; grid-template-rows: auto auto 1fr; }

.el-page [data-cols] { grid-template-columns: repeat(var(--cw, 3), minmax(0, 1fr)); }
@media (max-width: 1100px) { .el-page [data-cols] { grid-template-columns: repeat(var(--cm, 2), minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .el-page [data-cols] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .el-page [data-cols] > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .el-page [data-cols] { grid-template-columns: minmax(0, 1fr); } }

.els-statsbar { gap: 1px; background: var(--line); }
.els-statsbar__item { background: var(--bg); }
.els-statsbar__item + .els-statsbar__item { border-left: 0; }
@media (max-width: 600px) { .els-statsbar__item:nth-child(n+3) { border-top: 0; } }

@media (max-width: 900px) and (min-width: 601px) { .els-bento > .els-tile:last-child:nth-child(even) { grid-column: 1 / -1; } }

.el-page .els-final { position: relative; isolation: isolate; overflow: hidden; background: #050608; padding-block: clamp(3.5rem, 2.4rem + 4.5vw, 6.5rem); }

.el-page .el-section.el-band.els-final { margin-inline: auto; width: min(var(--container), calc(100% - 2 * var(--el-gutter))); }
.el-page .els-final .el-container { width: 100%; padding-inline: clamp(20px, 4vw, 56px); }
.els-final__pat { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.els-final__glow { position: absolute; left: 50%; top: 45%; z-index: -1; width: min(900px, 110%); aspect-ratio: 12 / 7; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(40, 110, 255, .35), rgba(40, 110, 255, .08) 60%, transparent); }

/* /patterns/EbigLanding/sections/blocks.css */

.els-ehero { position: relative; }
.els-ehero.is-static, .els-ehero:not(.eh) { background: #050608; color: #fff; padding: clamp(56px, 8vw, 120px) 16px clamp(48px, 6vw, 96px); text-align: center; }
.els-ehero:not(.eh) .eh-title { margin: 0 auto; max-width: 1100px; font-size: clamp(40px, 6.2vw, 92px); line-height: 1.02; font-weight: 600; letter-spacing: -0.045em; }
.els-ehero__cta { position: relative; z-index: 3; display: grid; justify-items: center; gap: var(--el-sm); margin-top: var(--el-md); padding-inline: max(16px, env(safe-area-inset-left, 0px)); }
.els-ehero__cta .el-actions { justify-content: center; }
.els-ehero .el-btn:not(.el-btn--onband) { background: var(--eh-ink, #fff); color: var(--eh-bg, #050608); }
.els-ehero .el-btn:not(.el-btn--onband):hover { background: color-mix(in srgb, var(--eh-ink, #fff) 86%, var(--eh-bg, #050608)); }
.els-ehero .el-btn--onband { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45); background: transparent; }
.els-ehero .el-btn--onband:hover { background: rgba(255, 255, 255, 0.1); }
.els-ehero__lead { font-size: 1.125rem; color: #fff; margin: var(--el-xs) 0 0; }
.els-ehero__note { font-size: 0.9rem; color: rgba(255, 255, 255, 0.66); margin: 0; }

.els-media { display: grid; gap: var(--el-md); }
.els-media__item { display: grid; gap: var(--el-sm); align-content: start; justify-items: start; padding: var(--el-card-pad); border-radius: var(--radius-md); background: var(--bg-subtle); min-width: 0; }
.els-media__item figure { width: 100%; margin-bottom: var(--el-xs); }
.els-closing { font-size: var(--el-fs-h4); line-height: 1.3; text-align: center; text-wrap: balance; max-width: 30ch; margin-inline: auto; }

.els-textgrid { list-style: none; padding: 0; display: grid; gap: var(--el-lg) var(--el-md); }
.els-textgrid li { display: grid; gap: var(--el-xs); align-content: start; padding-top: var(--el-sm); border-top: 1px solid var(--line); min-width: 0; }

.els-shotgrid__grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--el-sm); }
.els-shotgrid__cell { display: grid; grid-template-rows: auto 1fr; gap: 4px; min-width: 0; padding: var(--el-sm); border-radius: var(--radius-md); background: var(--bg-subtle); overflow: hidden; }
.els-shotgrid__line { color: var(--ink-muted); }
.els-shotgrid__media { margin-top: var(--el-xs); min-height: 0; }
.els-shotgrid__media .el-shot { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; }
.els-shotgrid__cell.is-big { grid-column: span 2; grid-row: span 2; }
.els-shotgrid__cell.is-big .el-h6 { font-size: 1.25rem; }
.els-shotgrid__cell.is-big .el-shot { aspect-ratio: auto; min-height: 260px; }
.els-shotgrid__cell.is-text { grid-column: 1 / -1; grid-template-rows: auto; align-content: center; }
.el-page .el-band.els-shotgrid .el-body-lg, .el-page .el-band .els-shotgrid__line { color: var(--on-band-muted); }
.el-page .el-band .els-shotgrid__cell { background: color-mix(in srgb, var(--on-band) 7%, var(--band)); }
.el-page .el-band .els-shotgrid__media .el-shot { border-color: color-mix(in srgb, var(--on-band) 14%, var(--band)); }
.el-page .el-band.els-shotgrid .el-link { color: var(--on-band); text-decoration-color: var(--on-band-muted); }
.el-page .el-band.els-shotgrid .el-link:hover { text-decoration-color: var(--on-band); }
.els-cardgrid__icon { display: block; margin-bottom: var(--el-xs); }
.el-doodle { display: block; flex: none; max-width: 100%; height: auto; }
.els-shotgrid__copy { display: grid; gap: 4px; align-content: start; min-width: 0; }
@media (max-width: 1100px) {
  .els-shotgrid__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .els-shotgrid__cell.is-big { grid-row: auto; }
  .els-shotgrid__cell.is-big .el-shot { min-height: 0; aspect-ratio: 16 / 10; }
  
  .els-shotgrid__cell:nth-child(even):has(+ .is-text) { grid-column: 1 / -1; }
  .els-shotgrid__cell:nth-child(even):has(+ .is-text) .el-shot { aspect-ratio: 16 / 7; }
}
@media (max-width: 560px) {
  .els-shotgrid__grid { grid-template-columns: minmax(0, 1fr); }
  .els-shotgrid__cell.is-big { grid-column: auto; }
}

.els-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--el-gap-xl); align-items: center; }
.els-split__list { list-style: none; padding: 0; display: grid; gap: var(--el-md); }
.els-split__list li { display: grid; gap: 6px; padding-left: var(--el-sm); border-left: 2px solid var(--line); }
.els-split__media { min-width: 0; }
.els-split__media .el-shot { box-shadow: var(--shadow-media); }
.els-guarantees { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--el-sm); }
.els-guarantees p { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; padding: var(--el-card-pad); border-radius: var(--radius-md); background: var(--bg-subtle); font-size: 0.95rem; }
.els-guarantees svg { width: 20px; height: 20px; color: var(--ink); margin-top: 2px; }
.els-guarantees b { font-weight: 600; }
@media (max-width: 900px) { .els-split { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) { .els-guarantees { grid-template-columns: minmax(0, 1fr); } }

.els-picker { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--el-gap-xl); align-items: start; }
.els-picker__list { list-style: none; padding: 0; display: grid; gap: 8px; }
.els-picker__row { border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow var(--el-dur-1) ease, background-color var(--el-dur-1) ease; }
.els-picker__row.is-open { box-shadow: inset 0 0 0 2px var(--ink); background: var(--bg); }
.els-picker__head { display: block; width: 100%; text-align: left; padding: 18px 20px; border: 0; background: none; color: var(--ink); font: 600 1rem/1.4 var(--font-sans); cursor: pointer; border-radius: var(--radius-md); }
.els-picker__row:not(.is-open) .els-picker__head:hover { background: var(--bg-subtle); }
.els-picker__panel { display: grid; gap: 10px; padding: 0 20px 20px; }
.els-picker__media { position: sticky; top: calc(var(--nav-height) + 24px); min-width: 0; }
.els-picker__media .el-shot { box-shadow: var(--shadow-media); }
.els-placeholder { display: grid; place-content: center; gap: 6px; aspect-ratio: 16 / 10; max-width: 100%; border-radius: var(--radius-md); border: 1.5px dashed var(--line-strong); background: var(--bg-subtle); color: var(--ink-muted); text-align: center; padding: var(--el-md); }
.els-placeholder span { font-weight: 600; color: var(--ink); }

.els-scrolly { display: grid; grid-template-columns: minmax(220px, 3fr) minmax(0, 9fr); gap: clamp(24px, 3vw, 48px); }
.els-scrolly__steps { list-style: none; margin: 0; padding: 0; display: grid; }
.els-scrolly__step { position: relative; display: grid; gap: 6px; align-content: center; min-height: min(60vh, 540px); padding: 20px 0 20px 18px; border-left: 2px solid var(--line); opacity: .42; transition: opacity var(--el-dur-2, .3s) ease, border-color var(--el-dur-2, .3s) ease; }
.els-scrolly__step.is-on { opacity: 1; border-left-color: var(--ink); }
.els-scrolly__menu { margin: 0; font-size: .8125rem; line-height: 1.5; color: var(--ink-muted); }
.els-scrolly__menu b { font-weight: 500; color: var(--ink); }
.els-scrolly__inline { display: none; }
.els-scrolly__stage { position: sticky; top: calc(var(--nav-height) + max(24px, (100vh - var(--nav-height) - 620px) / 2)); align-self: start; margin: 0; min-width: 0; }
.els-scrolly__slot { position: relative; }
.els-scrolly__slot > * { animation: els-scrolly-in .35s ease both; }

.els-scrolly__frame { position: relative; isolation: isolate; overflow: hidden; padding: clamp(14px, 6%, 56px);    border-radius: 20px; background-color: var(--bg-subtle); }
.els-stage-bg { position: absolute; inset: -4%; z-index: -1; background: var(--bg, none) center / cover no-repeat; pointer-events: none; transform: translate(calc(var(--p, 0) * -2%), calc(var(--p, 0) * 2%)) scale(1.04); transition: background-image .6s ease, transform .7s ease-out; }
.els-scrolly__frame .el-shot { position: relative; border: 0; box-shadow: var(--shadow-media); }   
@keyframes els-scrolly-in { from { opacity: 0; } to { opacity: 1; } }
.els-scrolly__phones { display: flex; align-items: center; justify-content: center; gap: 7%; aspect-ratio: 16 / 10; max-width: 100%; padding: 4% 6%; }

.els-scrolly__device { position: relative; height: 100%; aspect-ratio: 481 / 1020; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 16% / 7.6%; background: #050505; box-shadow: var(--shadow-media), 0 30px 60px -30px rgba(0, 0, 0, .7); }
.els-scrolly__device + .els-scrolly__device { height: 90%; }

.els-scrolly__phones.is-single { padding: 2% 0; } .els-scrolly__phones.is-single .els-scrolly__device { height: 100%; }
.els-scrolly__device img, .els-scrolly__device video { display: block; width: 95.84%; height: auto; aspect-ratio: 461 / 1000; object-fit: cover; object-position: top; border-radius: 14.4% / 6.6%; }
.els-scrolly__device::after { content: ""; position: absolute; top: 2.6%; left: 50%; width: 30%; height: 3.4%; transform: translateX(-50%); border-radius: 99px; background: #050505; }
@media (max-width: 900px) {
  .els-scrolly { grid-template-columns: minmax(0, 1fr); }
  .els-scrolly__stage { display: none; }
  .els-scrolly__steps { gap: var(--el-lg, 40px); }
  .els-scrolly__step { min-height: 0; padding: 0; border-left: 0; opacity: 1; }
  .els-scrolly__inline { display: block; margin-top: 8px; }
}
@media (max-width: 900px) { .els-picker { grid-template-columns: minmax(0, 1fr); } .els-picker__media { position: static; } }

.els-dept__stories { display: grid; gap: var(--el-sm); justify-items: start; }
.els-dept__stories .els-tabpanel { justify-items: start; }
.els-scenario { display: flex; flex-wrap: wrap; align-items: center; gap: 10px var(--el-sm); padding: var(--el-sm) var(--el-md); border-radius: var(--radius-md); background: var(--bg-subtle); font-size: 1.05rem; max-width: 100%; }
.els-dept { list-style: none; padding: 0; display: grid; gap: var(--el-sm); }
.els-dept__card { display: grid; gap: var(--el-xs); align-content: start; padding: var(--el-card-pad); border-radius: var(--radius-md); background: var(--bg-subtle); min-width: 0; }
.els-dept__card .els-card__meta { font-variant-numeric: tabular-nums; }
.els-dept__top { display: flex; align-items: center; justify-content: space-between; gap: var(--el-xs); margin-bottom: var(--el-xs); }
.els-dept__card.is-more { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-strong); grid-template-columns: minmax(0, 1fr); }
.els-dept__card.is-more p { max-width: 60ch; }

.els-ladder { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--el-xs); align-items: end; }
.els-ladder__step { display: grid; gap: 6px; align-content: start; min-height: calc(170px + var(--i) * 30px); padding: var(--el-sm); border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px var(--line); background: var(--bg); min-width: 0; }
.els-ladder__step.is-here { box-shadow: inset 0 0 0 2px var(--ink); }
.els-ladder__step .el-tag { justify-self: start; margin-top: auto; }
.els-ladder__n { font: 500 0.78rem/1 var(--font-mono); color: var(--ink-faint); }
.els-ladder h3 { overflow-wrap: anywhere; }
@media (max-width: 1000px) { .els-ladder { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; } .els-ladder__step { min-height: 0; } }
@media (max-width: 600px) { .els-ladder { grid-template-columns: minmax(0, 1fr); } }

.els-setup__steps { position: relative; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.els-setup__step { position: relative; display: grid; align-content: start; gap: 6px; min-width: 0; }
.els-setup__step::before { content: ""; position: absolute; top: 18px; left: 44px; right: calc(-1 * clamp(12px, 1.6vw, 24px)); height: 1px; background: linear-gradient(90deg, var(--line), color-mix(in srgb, var(--brand) 40%, var(--line))); }
.els-setup__step:last-child::before { content: none; }
.els-setup__n { width: 36px; height: 36px; margin-bottom: 8px; border-radius: 50%; display: grid; place-items: center; font: 600 0.95rem/1 var(--font-mono); color: var(--ink); background: color-mix(in srgb, var(--brand) 16%, var(--bg-subtle)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 45%, var(--line)); }
.els-setup__t { font-size: 1.0625rem; font-weight: 600; line-height: 1.3; }
.els-setup__media { min-width: 0; margin: clamp(28px, 4vw, 48px) 0 0; }
.els-setup__media .els-scrolly__frame { padding: clamp(14px, 4.5%, 56px); }
.els-setup__media .el-shot { display: block; width: 100%; height: auto; }
.els-setup__actions { justify-content: center; margin-top: clamp(24px, 3vw, 36px); }
@media (max-width: 1100px) { .els-setup__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; } .els-setup__step:nth-child(3n)::before { content: none; } }
@media (max-width: 640px) {
  .els-setup__steps { grid-template-columns: minmax(0, 1fr); row-gap: 18px; }
  .els-setup__step { grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; }
  .els-setup__n { grid-row: span 2; margin: 0; }
  .els-setup__step::before, .els-setup__step:nth-child(3n)::before { content: ""; top: 44px; bottom: -14px; left: 18px; right: auto; width: 1px; height: auto; background: var(--line); }
  .els-setup__step:last-child::before { content: none; }
}

.els-devices { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--el-gap-xl); align-items: center; }
.els-devices__copy { display: grid; gap: var(--el-md); align-content: start; justify-items: start; }
.els-devices__platforms { justify-content: flex-start; }
.els-devices__media { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--el-sm); align-items: end; min-width: 0; }
.els-devices__web .el-shot { box-shadow: var(--shadow-media); }
.els-devices__phone img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 0 0 1px var(--line), var(--shadow-media); }
@media (max-width: 900px) { .els-devices { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .els-devices__media { grid-template-columns: repeat(2, minmax(0, 1fr)); } .els-devices__web { grid-column: 1 / -1; } }

@media (max-width: 560px) { .el-page .els-statsbar[data-cols] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (max-width: 1100px) and (min-width: 821px) {
  .els-nav .el-nav__links { display: flex; }
  .els-nav .els-mega:not([hidden]) { display: block; }
}
@media (max-width: 820px) {
  .els-nav .el-nav__links { display: none; }
  .els-nav .el-nav__end > :not(.el-nav__toggle) { display: none; }
  .els-nav .el-nav__toggle { display: inline-grid; }
  .els-nav .el-nav__panel:not([hidden]) { display: grid; }
}

.els-phero { padding-block: var(--el-section-sm) var(--el-md); }
.els-phero__in { display: grid; gap: var(--el-md); justify-items: start; }
.els-phero__in .el-h1 { max-width: 20ch; }
.els-phero__in > .el-body-lg { max-width: 40em; }
.els-phero__points { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--el-md); width: min(100%, 980px); }
.els-phero__points li { display: grid; gap: 4px; align-content: start; padding-top: var(--el-sm); border-top: 2px solid var(--ink); }
.els-phero__points b { font-weight: 600; font-size: 1.05rem; }
.els-phero__points span { color: var(--ink-muted); font-size: 0.95rem; }
.els-phero__media { width: 100%; margin-top: var(--el-sm); }
.els-phero__media .el-shot { box-shadow: var(--shadow-media); }
@media (max-width: 760px) { .els-phero__points { grid-template-columns: minmax(0, 1fr); } }

.els-cardgrid { list-style: none; padding: 0; display: grid; gap: var(--el-sm); }
.els-cardgrid__item { display: grid; gap: var(--el-xs); align-content: start; padding: var(--el-card-pad); border-radius: var(--radius-md); background: var(--bg-subtle); min-width: 0; }
.els-cardgrid__item .els-card__meta { font-variant-numeric: tabular-nums; }

.els-stages { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--el-sm); }
.els-stage { display: grid; gap: var(--el-xs); align-content: start; padding: var(--el-card-pad); border-radius: var(--radius-md); background: var(--bg-subtle); min-width: 0; }
.els-stage__n { font: 500 0.8rem/1 var(--font-mono); color: var(--ink-faint); }
.els-stage__items { margin: var(--el-xs) 0 0; padding-left: 18px; display: grid; gap: 4px; font-size: 0.9rem; color: var(--ink-muted); }
@media (max-width: 1100px) { .els-stages { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .els-stages { grid-template-columns: minmax(0, 1fr); } }

.els-flowex { display: grid; gap: var(--el-md); }
.els-flowex__phase { display: grid; gap: var(--el-sm); padding: var(--el-card-pad); border-radius: var(--radius-md); background: var(--bg-subtle); }
.els-flowex .els-run { margin-top: 0; }
.els-flowex__what { display: grid; gap: 2px; min-width: 0; }
.els-flowex__what span { color: var(--ink-muted); font-size: 0.9rem; }

.els-levels { list-style: none; padding: 0; display: grid; gap: var(--el-sm); }
.els-level { display: grid; gap: var(--el-xs); align-content: start; padding: var(--el-lg); border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.els-level .el-checks { margin-top: var(--el-xs); font-size: 0.95rem; }

.els-statement .el-intro .el-body-lg { max-width: 40em; text-wrap: balance; }   

.el-page :is(p, li) { text-wrap: pretty; }
.els-fineprint ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px var(--el-lg); color: var(--ink-muted); font-size: 0.9rem; }
.els-fineprint { padding-bottom: var(--el-section-sm); }

.els-contact { border: 0; margin: 0; padding: var(--el-lg); border-radius: var(--radius-md); background: var(--bg-subtle); display: grid; gap: var(--el-md); min-width: 0; }
.els-contact legend { padding: 0; float: left; width: 100%; }
.els-contact__choices { display: grid; gap: var(--el-sm); clear: both; }
.els-contact__choice { display: grid; gap: var(--el-xs); align-content: start; justify-items: start; padding: var(--el-card-pad); border-radius: var(--radius-md); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.els-contact__choice .el-btn { margin-top: var(--el-xs); }
.els-contact__mail { color: var(--ink-muted); }

.els-stepper { display: inline-flex; align-items: center; gap: var(--el-sm); padding: 4px; border-radius: var(--radius-pill); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.els-stepper__btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--bg-subtle); color: var(--ink); font: 500 1.25rem/1 var(--font-sans); cursor: pointer; display: grid; place-items: center; }
.els-stepper__btn:hover:not(:disabled) { background: var(--line); }
.els-stepper__btn:disabled { opacity: 0.4; cursor: not-allowed; }
.els-stepper .els-plan__seats { min-width: 3ch; text-align: center; font-size: 1.15rem; }

.els-cd { display: grid; grid-template-columns: minmax(240px, 4fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.els-cd__list { position: relative; display: grid; gap: 4px; }
.els-cd__item { position: relative; display: grid; gap: 4px; padding: 14px 0 14px 22px; border: 0; background: none; color: var(--ink-faint); font: inherit; text-align: left; cursor: pointer; border-radius: 6px; }
.els-cd__item:hover { color: var(--ink-muted); }
.els-cd__item:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.els-cd__item.is-on { color: var(--ink); }
.els-cd__title { font-size: var(--el-fs-h4); font-weight: 400; line-height: 1.15; letter-spacing: -0.02em; }
.els-cd__sub { font-size: 1rem; line-height: 1.4; color: var(--ink-faint); }
.els-cd__item.is-on .els-cd__sub { color: var(--ink-muted); }
.els-cd__bar { position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; overflow: hidden; }
.els-cd__item.is-on .els-cd__bar { background: color-mix(in srgb, var(--ink) 14%, transparent); }
.els-cd__item.is-on .els-cd__bar::after { content: ""; position: absolute; inset: 0; background: var(--brand); transform-origin: top; transform: scaleY(var(--p, 0)); }
.els-cd__stage { position: relative; isolation: isolate; overflow: hidden; margin: 0; min-width: 0; padding: clamp(14px, 3vw, 36px); border-radius: 20px; background-color: color-mix(in srgb, var(--brand) 9%, var(--bg-subtle)); }
.els-cl__media { position: relative; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; height: min(560px, 62vh); }
.els-cl__media .el-shot { width: auto; height: auto; max-width: 100%; max-height: 100%; aspect-ratio: auto; border: 0; border-radius: 12px; box-shadow: var(--shadow-media); }
.els-cl__media .els-scrolly__phones { position: absolute; inset: 0; aspect-ratio: auto; padding: 2% 0; align-items: center; }
.els-cd__stage.els-cl { padding-top: 64px; }
.els-cl .els-cd__toggle { top: 14px; right: 14px; }
.els-cl__media .els-scrolly__device { height: 96%; } .els-cl__media .els-scrolly__device + .els-scrolly__device { height: 86%; }

.els-cl__media:has(> .els-scrolly__phones.is-single) { position: static; }
.els-cl__media .els-scrolly__phones.is-single { inset: 18px 0; padding: 0; }
.els-cl__media .els-scrolly__phones.is-single .els-scrolly__device { height: 100%; }
.els-scrolly__device[hidden] { display: none; }
.els-cd__toggle { position: absolute; z-index: 2; top: calc(clamp(14px, 3vw, 36px) + 8px); right: calc(clamp(14px, 3vw, 36px) + 12px); display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: conic-gradient(var(--brand) calc(var(--p, 0) * 360deg), color-mix(in srgb, var(--ink) 16%, transparent) 0); }
.els-cd__toggle::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--bg); }
.els-cd__toggle::after { content: ""; position: relative; width: 10px; height: 11px; background: linear-gradient(90deg, var(--ink) 0 35%, transparent 35% 65%, var(--ink) 65%); }
.els-cd__toggle.is-paused::after { width: 0; height: 0; margin-left: 3px; background: none; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent var(--ink); }
.els-cd__toggle:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

@media (min-width: 901px) {
  .els-cd:has(> .els-cl) { align-items: start; }
  .els-cd:has(> .els-cl) .els-cd__item { padding-block: 10px; }
  .els-cd:has(> .els-cl) .els-cd__bar { top: 10px; bottom: 10px; }
  .els-cd:has(> .els-cl) .els-cd__item:not(.is-on) .els-cd__sub { display: none; }
}
@media (max-width: 900px) {
  .els-cd { grid-template-columns: minmax(0, 1fr); }
  .els-cd__list { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .els-cd__item { flex: none; padding: 10px 14px 12px; }
  .els-cd__title { font-size: 1rem; font-weight: 500; }
  .els-cd__sub { display: none; }
  .els-cd__bar { left: 14px; right: 14px; top: auto; bottom: 2px; width: auto; height: 2px; }
  .els-cd__item.is-on .els-cd__bar::after { transform-origin: left; transform: scaleX(var(--p, 0)); }
  
  .els-cl__media { height: 440px; }
  .els-cl__media .el-shot { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 0 0); }
  .els-cd__stage.els-cl { padding-top: 56px; }
}

.els-doc__in { display: grid; grid-template-columns: minmax(180px, 240px) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.els-doc__toc { position: sticky; top: calc(var(--nav-height) + 24px); display: grid; gap: 2px; font-size: .92rem; }
.els-doc__toc .el-eyebrow { margin-bottom: 8px; font-size: .85rem; }
.els-doc__toc a { display: block; padding: 6px 10px; border-left: 2px solid var(--line); color: var(--ink-muted); text-decoration: none; line-height: 1.35; }
.els-doc__toc a:hover { color: var(--ink); }
.els-doc__toc a[aria-current] { color: var(--ink); border-left-color: var(--brand); }
.els-doc__toc a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.els-doc__body { display: grid; gap: clamp(40px, 5vw, 64px); min-width: 0; max-width: 820px; }
.els-doc__part { display: grid; gap: 16px; min-width: 0; scroll-margin-top: calc(var(--nav-height) + 16px); }
.els-doc__part > p { color: var(--ink-muted); max-width: 70ch; }
.els-doc__part > p b, .els-doc__list b { color: var(--ink); font-weight: 600; }
.els-doc__list { display: grid; gap: 8px; padding-left: 1.3em; color: var(--ink-muted); max-width: 70ch; }
.els-doc__table { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.els-doc__table:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.els-doc__table table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.els-doc__table th, .els-doc__table td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.els-doc__table tr:last-child > * { border-bottom: 0; }
.els-doc__table thead th { font-weight: 600; color: var(--ink-muted); font-size: .8rem; background: var(--bg-subtle); white-space: nowrap; }
.els-doc__table tbody th { font-weight: 600; min-width: 9rem; }
.els-doc__table td { color: var(--ink-muted); min-width: 12rem; }
@media (max-width: 900px) {
  .els-doc__in { grid-template-columns: minmax(0, 1fr); }
  .els-doc__toc { position: static; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 4px 12px; }
  .els-doc__toc .el-eyebrow { grid-column: 1 / -1; }
}

.els-docs { padding-block: clamp(24px, 4vw, 48px) var(--el-section-sm); }
.els-docs__in { display: grid; grid-template-columns: minmax(200px, 250px) minmax(0, 1fr) minmax(160px, 200px); gap: clamp(20px, 4vw, 56px); align-items: start; }
.els-docs__side { position: sticky; top: calc(var(--nav-height) + 16px); max-height: calc(100vh - var(--nav-height) - 32px); overflow-y: auto; display: grid; gap: 14px; padding-right: 4px; }
.els-docs__find { display: block; }
.els-docs__search { width: 100%; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); font: inherit; font-size: .9rem; }
.els-docs__search:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.els-docs__nav { display: grid; gap: 14px; font-size: .9rem; }
.els-docs__grp { display: grid; gap: 1px; }
.els-docs__grp > p { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-faint, var(--ink-muted)); font-weight: 600; padding: 0 10px 4px; }
.els-docs__nav a { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; padding: 4px 10px; border-radius: 8px; color: var(--ink-muted); text-decoration: none; line-height: 1.35; }
.els-docs__nav a:hover { color: var(--ink); background: var(--bg-subtle); }
.els-docs__nav a[aria-current="page"] { color: var(--ink); background: var(--bg-subtle); font-weight: 500; }
.els-docs__nav a:focus-visible, .els-docs__toc a:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.els-docs__home { font-weight: 500; }
.els-docs__menu > summary { display: none; }
.els-docs__draft { font-size: .68rem; padding: 0 6px; border-radius: 99px; border: 1px solid var(--line-strong); color: var(--ink-muted); white-space: nowrap; }
.els-docs__main { min-width: 0; max-width: 820px; }
.els-docs__page { display: grid; gap: 16px; }
.els-docs__page > h2 { margin-top: 12px; scroll-margin-top: calc(var(--nav-height) + 16px); }
.els-docs__page > p:not(.el-eyebrow):not(.el-body-lg) { color: var(--ink-muted); max-width: 70ch; }
.els-docs__page > p b { color: var(--ink); font-weight: 600; }
.els-docs__tag { margin-left: 10px; vertical-align: 2px; font-size: .7rem; font-weight: 500; padding: 1px 8px; border-radius: 99px; border: 1px solid var(--line-strong); color: var(--ink-muted); white-space: nowrap; }
.els-docs__tag.is-proposed { border-color: var(--danger); color: var(--danger); }
.els-docs__page > .els-docs__updated { font-size: .85rem; color: var(--ink-faint, var(--ink-muted)); }
.els-docs__note { border-left: 3px solid var(--brand); background: var(--brand-soft); border-radius: 0 10px 10px 0; padding: 10px 14px; max-width: 70ch; }
.els-docs__pn { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: 24px; }
.els-docs__pn a { display: grid; gap: 2px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; color: var(--ink); text-decoration: none; }
.els-docs__pn a:hover { border-color: var(--line-strong); }
.els-docs__pn a span { font-size: .8rem; color: var(--ink-muted); }
.els-docs__pn a.is-next { text-align: right; }
.els-docs__toc { position: sticky; top: calc(var(--nav-height) + 24px); display: grid; gap: 6px; font-size: .82rem; }
.els-docs__toc p { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-faint, var(--ink-muted)); font-weight: 600; }
.els-docs__toc a { color: var(--ink-muted); text-decoration: none; line-height: 1.35; }
.els-docs__toc a:hover { color: var(--ink); }
.els-docs__start { display: grid; gap: 14px; }
.els-docs__cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 14px; }
.els-docs__card { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: grid; gap: 10px; align-content: start; }
.els-docs__card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.els-docs__card li { display: grid; gap: 2px; }
.els-docs__card a { color: var(--ink); font-weight: 500; text-decoration: none; }
.els-docs__card a:hover { text-decoration: underline; }
.els-docs__card li span { font-size: .85rem; color: var(--ink-muted); line-height: 1.45; }
.els-docs__results { display: grid; gap: 10px; }
.els-docs__hit { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; }
.els-docs__hit span { color: var(--ink-muted); font-size: .9rem; }
.els-docs__hit:hover { border-color: var(--line-strong); }
.els-docs__empty { display: grid; gap: 10px; }
@media (max-width: 1100px) {
  .els-docs__in { grid-template-columns: minmax(200px, 240px) minmax(0, 1fr); }
  .els-docs__toc { display: none; }
}
@media (max-width: 760px) {
  .els-docs__in { grid-template-columns: minmax(0, 1fr); }
  .els-docs__side { position: static; max-height: none; overflow: visible; }
  .els-docs__menu { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
  .els-docs__menu > summary { display: list-item; cursor: pointer; font-weight: 500; padding: 2px 0; }
  .els-docs__menu[open] > summary { margin-bottom: 10px; }
}

.els-film { display: grid; gap: var(--el-md); }
.els-film--list { grid-template-columns: minmax(0, 3fr) minmax(220px, 1fr); align-items: start; }
.els-film__frame { margin: 0; min-width: 0; border-radius: var(--radius-md); overflow: hidden; position: relative; background: #000; box-shadow: var(--shadow-media); aspect-ratio: 16 / 9; }
.els-film__video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.els-film__video::cue { font-size: clamp(14px, 1.6vw, 22px); line-height: 1.35; background: rgba(0, 0, 0, .72); }
.els-film__list { display: grid; gap: 4px; align-content: start; min-width: 0; }
.els-film__item { display: grid; gap: 2px; text-align: left; padding: 12px 14px; border: 0; border-left: 2px solid var(--line); background: none; color: var(--ink-muted); font: inherit; cursor: pointer; border-radius: 0 8px 8px 0; min-width: 0; }
.els-film__item:hover { color: var(--ink); background: var(--bg-subtle); }
.els-film__item[aria-pressed="true"] { color: var(--ink); border-left-color: var(--brand); background: var(--bg-subtle); }
.els-film__item:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.els-film__title { font-weight: 600; font-size: 1rem; overflow-wrap: anywhere; }
.els-film__meta { font-size: .88rem; color: var(--ink-muted); }

.el-shot.el-clip--film { aspect-ratio: 16 / 9; object-fit: cover; object-position: center; }
@media (max-width: 900px) {
  .els-film--list { grid-template-columns: minmax(0, 1fr); }
  .els-film__list { grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .els-film__item { border-left: 0; border-top: 2px solid var(--line); border-radius: 0 0 8px 8px; }
  .els-film__item[aria-pressed="true"] { border-top-color: var(--brand); }
}

.els-featcards { display: grid; gap: var(--el-sm, 16px); list-style: none; margin: 0; padding: 0; }
.els-featcards--1 { grid-template-columns: minmax(0, 1fr); }
.els-featcards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.els-featcards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.els-featcard { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: clamp(20px, 2.4vw, 32px); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--bg-subtle); }
.els-featcard .el-checks { margin-top: auto; padding-top: 8px; }
@media (max-width: 900px) { .els-featcards--2, .els-featcards--3 { grid-template-columns: minmax(0, 1fr); } }

@media (min-width: 901px) {
  .els-scrolly--phones .els-scrolly__stage { top: calc(var(--nav-height) + 20px); }
  .els-scrolly--phones .els-scrolly__frame { height: min(calc(100vh - var(--nav-height) - 40px), 900px); max-width: 640px; margin-inline: auto; padding: clamp(16px, 3%, 32px); }
  .els-scrolly--phones .els-scrolly__slot, .els-scrolly--phones .els-scrolly__slot > .els-scrolly__phones { height: 100%; }
  .els-scrolly--phones .els-scrolly__phones { aspect-ratio: auto; padding: 0; }
  
  .els-scrolly--phones .els-scrolly__step { min-height: min(calc(100vh - var(--nav-height) - 40px), 900px); }
  .els-scrolly--phones .els-scrolly__steps { padding-bottom: 48px; }
}

@media (max-width: 900px) { .els-scrolly__inline .els-scrolly__phones.is-single { aspect-ratio: 4 / 5; } }

.els-flowd { position: relative; margin: 0; padding: clamp(20px, 3vw, 40px); border-radius: 24px; overflow: hidden; isolation: isolate;
  background: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--ink) 12%, transparent) 1px, transparent 0) 0 0 / 22px 22px, var(--bg-subtle); }
.els-flowd::before { content: ""; position: absolute; inset: -30% 30% auto -10%; height: 80%; z-index: -1; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 22%, transparent), transparent); pointer-events: none; }
.els-flowd__bands, .els-flowd__steps { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); column-gap: 36px; }
.els-flowd__bands { margin-bottom: 16px; }
.els-flowd__band { grid-column: var(--from) / var(--to); display: flex; align-items: center; gap: 10px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-muted); }
.els-flowd__band::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.els-flowd__steps { list-style: none; margin: 0; padding: 0; align-items: stretch; }
.els-flowd__step { position: relative; display: flex; min-width: 0; }

.els-flowd__step:not(:last-child)::after { content: ""; position: absolute; top: 34px; left: 100%; width: 36px; height: 2px; background: var(--line); }
.els-flowd__step:not(:last-child)::before { content: ""; position: absolute; top: 30px; left: calc(100% + 28px); width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 7px; border-color: transparent transparent transparent var(--line); z-index: 1; }
.els-flowd__step.is-done:not(:last-child)::after { background: color-mix(in srgb, #3fbf7f 70%, var(--line)); }
.els-flowd__step.is-done:not(:last-child)::before { border-left-color: color-mix(in srgb, #3fbf7f 70%, var(--line)); }
.els-flowd__card { flex: 1; display: grid; align-content: start; gap: 6px; min-width: 0; padding: 16px 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); box-shadow: 0 12px 30px -18px rgb(0 0 0 / .45); }
.els-flowd__step.is-now .els-flowd__card { border-color: color-mix(in srgb, var(--brand) 70%, var(--line)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent), 0 18px 40px -18px color-mix(in srgb, var(--brand) 55%, transparent); }
.els-flowd__step.is-todo .els-flowd__card { background: color-mix(in srgb, var(--bg) 60%, transparent); }
.els-flowd__step.is-optional .els-flowd__card { border-style: dashed; }
.els-flowd__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.els-flowd__mark { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--line); }
.els-flowd__mark.is-done { border: 0; background: #3fbf7f; color: #fff; } .els-flowd__mark.is-done svg { width: 14px; height: 14px; }
.els-flowd__mark.is-now { border-color: var(--brand); box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 60%, transparent); animation: els-flowd-pulse 1.8s ease-out infinite; }
@keyframes els-flowd-pulse { to { box-shadow: 0 0 0 10px transparent; } }
.els-flowd__state { font-size: 0.75rem; color: var(--ink-faint); white-space: nowrap; }
.els-flowd__step.is-now .els-flowd__state { color: var(--brand); font-weight: 600; }
.els-flowd__name { font-size: 1rem; line-height: 1.3; }
.els-flowd__role { justify-self: start; max-width: 100%; padding: 2px 8px; border-radius: 999px; font-size: 0.75rem; color: var(--ink-muted); background: color-mix(in srgb, var(--ink) 7%, transparent); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.els-flowd__text { font-size: 0.875rem; line-height: 1.45; color: var(--ink-muted); }

@media (max-width: 1100px) {
  .els-flowd__bands { display: none; }
  .els-flowd__steps { grid-template-columns: minmax(0, 1fr); row-gap: 22px; }
  .els-flowd__step.is-phase-start { margin-top: 10px; }
  .els-flowd__step:not(:last-child)::after { top: 100%; left: 26px; width: 2px; height: 22px; }
  .els-flowd__step:not(:last-child)::before { top: calc(100% + 14px); left: 22px; border-width: 7px 5px 0 5px; border-color: var(--line) transparent transparent transparent; }
  .els-flowd__step.is-done:not(:last-child)::before { border-left-color: transparent; border-top-color: color-mix(in srgb, #3fbf7f 70%, var(--line)); }
}

.els-flowd--setup { margin: 0; }
.els-flowd--setup .els-setup__n { margin: 0; }
.els-flowd--setup .els-flowd__top { margin-bottom: 2px; }
.els-flowd--setup .els-flowd__step:not(:last-child)::after { top: 36px; background: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.els-flowd--setup .els-flowd__step:not(:last-child)::before { top: 32px; border-left-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
@media (max-width: 1100px) {
  .els-flowd--setup .els-flowd__step:not(:last-child)::after { top: 100%; }
  .els-flowd--setup .els-flowd__step:not(:last-child)::before { top: calc(100% + 14px); border-left-color: transparent; border-top-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
}
.els-feature-frame { padding: clamp(14px, 4%, 40px); }
.els-feature-frame .el-shot { position: relative; border: 0; box-shadow: var(--shadow-media); }
.els-feature-frame img.el-shot { aspect-ratio: auto; width: auto; max-width: 100%; height: auto; max-height: 760px; }   

.els-feature-frame { display: grid; place-items: center; padding: clamp(12px, 3%, 24px); }
.els-feature-frame video.el-clip { aspect-ratio: var(--clip-ar, 16 / 10); width: auto; max-width: 100%; height: auto; max-height: 760px; border: 0; }
.els-feature-frame video.el-clip:not([style*="--clip-ar"]) { width: 100%; }
.els-scrolly__slot:has(> video.el-clip) { display: grid; place-items: center; aspect-ratio: 16 / 10; }   
.els-scrolly__frame:has(video.el-clip) { padding: clamp(10px, 3%, 28px); }
.els-scrolly__frame video.el-clip { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; background: transparent; border: 0; border-radius: 0; box-shadow: none; filter: drop-shadow(0 18px 40px rgb(0 0 0 / .45)); }

.els-scrolly__frame.els-feature-frame video.el-clip { aspect-ratio: var(--clip-ar, 16 / 10); width: auto; max-width: 100%; height: auto; max-height: 760px; object-fit: fill; filter: drop-shadow(0 18px 40px rgb(0 0 0 / .45)); }

.els-media__item figure .el-shot, .els-picker__media img.el-shot { object-fit: cover; object-position: top center; }

/* /patterns/EbigLanding/sections/soft.css */

.el-page[data-style="soft"] {
  --bg: #fdfcfc; --bg-subtle: #f5f3f1; --bg-card: #f5f3f1;
  --ink: #000000; --ink-muted: #59544f; --ink-faint: #8a847e;
  --line: #e9e5e1; --line-strong: #cfc9c3;
  --band: #0c0b0a; --on-band: #ffffff; --on-band-muted: #b4ada6;
  --radius-sm: 9999px; --radius-md: 20px;
  --shadow-media: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px -16px rgba(60, 40, 20, 0.18);
  --el-fs-display: clamp(2.5rem, 2.05rem + 1.9vw, 3.75rem);
  --el-fs-h1: clamp(2.25rem, 1.95rem + 1.3vw, 3rem);
  --el-fs-h2: clamp(1.875rem, 1.68rem + 0.8vw, 2.375rem);
  --el-fs-h3: clamp(1.5rem, 1.39rem + 0.5vw, 1.875rem);
  --el-fs-h4: clamp(1.25rem, 1.19rem + 0.25vw, 1.5rem);
  --el-fs-body-lg: 1.125rem;
  font-size: 1.0625rem;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .el-page[data-style="soft"] {
    --bg: #050608; --bg-subtle: #131418; --bg-card: #131418;
    --ink: #f7f5f3; --ink-muted: #b4ada6; --ink-faint: #8a847e;
    --line: #24262b; --line-strong: #3f424a; --band: #131418;
    --shadow-media: 0 12px 32px -16px rgba(0, 0, 0, 0.6);
  }
}
:root[data-theme="dark"] .el-page[data-style="soft"] {
  --bg: #050608; --bg-subtle: #131418; --bg-card: #131418;
  --ink: #f7f5f3; --ink-muted: #b4ada6; --ink-faint: #8a847e;
  --line: #24262b; --line-strong: #3f424a; --band: #131418;
  --shadow-media: 0 12px 32px -16px rgba(0, 0, 0, 0.6);
}

.el-page[data-style="soft"] :is(.el-display, .el-h1, .el-h2, .el-h3) { font-weight: 300; letter-spacing: -0.02em; line-height: 1.1; }
.el-page[data-style="soft"] :is(.el-h4, .el-h6) { font-weight: 500; letter-spacing: -0.01em; }
.el-page[data-style="soft"] .el-eyebrow { font-size: 0.95rem; color: var(--ink-muted); }

.el-page[data-style="soft"] .el-btn { border-radius: 9999px; padding: 0.7em 1.35em; font-weight: 450; font-size: 1rem; background: var(--ink); color: var(--bg); }
.el-page[data-style="soft"] .el-btn--secondary { background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.el-page[data-style="soft"] .el-btn--onband { background: transparent; color: var(--on-band); box-shadow: inset 0 0 0 1px var(--on-band-muted); }
.el-page[data-style="soft"] .el-band .el-btn:not(.el-btn--onband) { background: var(--on-band); color: var(--band); }

.el-page[data-style="soft"] .el-btn:hover { background: color-mix(in srgb, var(--ink) 82%, var(--bg)); }
.el-page[data-style="soft"] .el-btn--secondary:hover { background: var(--bg-subtle); }
.el-page[data-style="soft"] .el-btn--onband:hover { background: color-mix(in srgb, var(--on-band) 12%, transparent); }
.el-page[data-style="soft"] .el-band .el-btn:not(.el-btn--onband):hover { background: color-mix(in srgb, var(--on-band) 85%, var(--band)); }
.el-page[data-style="soft"] .el-link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.el-page[data-style="soft"] .el-link:hover { text-decoration-color: var(--ink); }

.el-page[data-style="soft"] .el-link { position: relative; padding-right: 1.35em; width: fit-content; }
.el-page[data-style="soft"] .el-link::after { position: absolute; right: 0; }

.el-page[data-style="soft"] .el-announce { background: var(--bg-subtle); color: var(--ink); font-weight: 400; }
.el-page[data-style="soft"] .el-nav { background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); border-bottom-color: transparent; }
.el-page[data-style="soft"] .el-nav__links a, .el-page[data-style="soft"] .els-nav__menu { font-weight: 400; font-size: 0.95rem; }
.el-page[data-style="soft"] .el-lang__btn { border-radius: 9999px; }

@media (min-width: 900px) {
  .el-page[data-style="soft"] .els-hero__in {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--el-gap-xl); row-gap: var(--el-md);
    justify-items: start; text-align: left; align-items: start;
  }
  .el-page[data-style="soft"] .els-hero__in > .el-eyebrow { grid-column: 1; }
  .el-page[data-style="soft"] .els-hero__in > h1 { grid-column: 1; max-width: 16ch; }
  .el-page[data-style="soft"] .els-hero__in > .el-body-lg { grid-column: 2; grid-row: 1 / span 2; align-self: start; margin: 0; padding-top: 0.5em; color: var(--ink); }
  .el-page[data-style="soft"] .els-hero__in > .el-actions { grid-column: 1; justify-content: flex-start; }
  .el-page[data-style="soft"] .els-hero__in > .el-body-sm { grid-column: 1; }
}
.el-page[data-style="soft"] .els-hero { padding-block: var(--el-section-sm) var(--el-lg); }

.el-page[data-style="soft"] :is(.els-card, .els-two__item, .els-bento__big, .els-phase, .els-plan.is-estimate) { background: var(--bg-card); box-shadow: inset 0 0 0 1px var(--line); border-radius: 20px; }
.el-page[data-style="soft"] :is(.els-tile, .els-story, .els-area, .els-related a, .els-plan, .els-run__step, .els-step, .els-chat) { border-color: var(--line); border-radius: 16px; }
.el-page[data-style="soft"] .els-plan.is-main { border: 1px solid var(--ink); }
.el-page[data-style="soft"] .el-shot { border-radius: 16px; border-color: var(--line); }
.el-page[data-style="soft"] .els-shotframe { padding: var(--el-sm); border-radius: 24px; background: var(--bg-subtle); box-shadow: inset 0 0 0 1px var(--line); }
.el-page[data-style="soft"] .els-shotframe .el-shot { box-shadow: var(--shadow-media); }
.el-page[data-style="soft"] .els-card:hover { background: color-mix(in srgb, var(--bg-card) 80%, var(--line)); }
.el-page[data-style="soft"] .els-stepbar i { background: var(--ink); opacity: 0.18; }
.el-page[data-style="soft"] .els-stepbar i:first-child { background: var(--brand); opacity: 1; }
.el-page[data-style="soft"] .els-statsbar { border-color: var(--line); }
.el-page[data-style="soft"] .els-statsbar dd { font-weight: 300; }
.el-page[data-style="soft"] .els-tabs { border-radius: 16px; padding: 4px; background: var(--bg-subtle); box-shadow: inset 0 0 0 1px var(--line); }
.el-page[data-style="soft"] .els-tab { border-radius: 12px; }
.el-page[data-style="soft"] .els-chip { font-weight: 400; border-color: var(--line); }
.el-page[data-style="soft"] .els-chat__send { background: var(--ink); color: var(--bg); }
.el-page[data-style="soft"] .els-points__icon { background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); border-radius: 10px; }
.el-page[data-style="soft"] .el-checks svg { color: var(--ink); }
.el-page[data-style="soft"] .els-timeline time { color: var(--ink-faint); }
.el-page[data-style="soft"] .el-tag { background: var(--bg); color: var(--ink-muted); box-shadow: inset 0 0 0 1px var(--line); border-radius: 9999px; padding: 4px 8px; }
.el-page[data-style="soft"] .el-band { border-radius: 28px; margin-inline: max(12px, calc(var(--el-gutter) / 2)); }
.el-page[data-style="soft"] .el-footer { border-top-color: transparent; }

/* /patterns/EbigLanding/vendor/ebig-hero/ebig-hero.css */

.eh{--eh-bg:#050608;--eh-ink:#fff;--eh-mute:rgba(255,255,255,.6);--eh-blue:#4C7DF0;--eh-blue-2:#1240C4;--eh-line:rgba(150,180,255,.30);
  position:relative;overflow:hidden;isolation:isolate;background:var(--eh-bg);color:var(--eh-ink);
  padding:clamp(56px,8vw,120px) 16px clamp(48px,6vw,96px);text-align:center;-webkit-font-smoothing:antialiased}
.eh *{box-sizing:border-box}
.eh-pat{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}
.eh-glow{position:absolute;left:50%;width:min(1200px,120vw);aspect-ratio:12/7;transform:translate(-50%,-50%);border-radius:50%;z-index:0;pointer-events:none;
  background:radial-gradient(closest-side,rgba(40,110,255,.35),rgba(40,110,255,.08) 60%,transparent);opacity:0;animation:eh-fade 1.6s ease .6s forwards}
.eh-copy{position:relative;z-index:3;max-width:1100px;margin:0 auto}
.eh-title{margin:0;font-size:clamp(40px,6.2vw,92px);line-height:1.02;font-weight:600;letter-spacing:-.045em}
.eh-title .eh-w{display:inline-block;opacity:0;filter:blur(14px);transform:translateY(26px);animation:eh-word .9s cubic-bezier(.2,.8,.2,1) var(--d) forwards}
.eh-grad,.eh-grad .eh-w{background:linear-gradient(180deg,#fff 15%,#8FAEFF);-webkit-background-clip:text;background-clip:text;color:transparent}
.eh-title .eh-grad:has(.eh-w){background:none}
.eh-stage{position:relative;z-index:2;width:min(100%,1920px);margin:clamp(8px,2vw,24px) auto 0;aspect-ratio:1920/640;overflow:visible}
.eh-world{position:absolute;left:0;top:0;width:1920px;height:640px;transform-origin:0 0;transform:scale(var(--eh-k,1))}
.eh-orbits{position:absolute;inset:0;overflow:visible}
.eh-orbits ellipse{fill:none;stroke-width:1.4;opacity:0;stroke-dasharray:4400;stroke-dashoffset:4400;animation:eh-draw 1.6s cubic-bezier(.5,0,.2,1) var(--d) forwards}
.eh-bot{position:absolute;left:850px;top:132px;width:220px;height:220px;z-index:22;opacity:0;transform:scale(.4);animation:eh-pop .8s cubic-bezier(.2,.8,.2,1.25) .7s forwards;
  filter:drop-shadow(0 0 36px rgba(60,130,255,.55))}
.eh-bot svg{display:block;width:100%;height:100%;overflow:visible}
.eh-name{position:absolute;left:760px;top:374px;transform-origin:50% 0;width:400px;z-index:22;font-size:30px;font-weight:600;letter-spacing:-.02em;white-space:nowrap;
  background:linear-gradient(180deg,#fff,#A9C0FF);-webkit-background-clip:text;background-clip:text;color:transparent;opacity:0;transform:translateY(12px);animation:eh-up .7s cubic-bezier(.2,.8,.2,1) 1.3s forwards}
.eh-chip{position:absolute;left:0;top:0;display:flex;align-items:center;gap:12px;height:58px;padding:0 22px 0 10px;border-radius:999px;
  background:rgba(20,24,34,.78);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.14),0 16px 40px rgba(0,0,0,.5);
  font-size:20px;font-weight:550;white-space:nowrap;opacity:0;will-change:transform,opacity;transition:box-shadow .3s}
.eh-chip i{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,var(--eh-blue),var(--eh-blue-2));display:grid;place-items:center}
.eh-chip.is-seen{box-shadow:inset 0 0 0 1.5px rgba(140,180,255,.8),0 0 30px rgba(76,125,240,.45),0 16px 40px rgba(0,0,0,.5)}
@keyframes eh-fade{to{opacity:1}}
@keyframes eh-up{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes eh-word{to{opacity:1;filter:none;transform:none}}
@keyframes eh-draw{to{opacity:1;stroke-dashoffset:0}}
@keyframes eh-pop{to{opacity:1;transform:none}}

@media (max-width:640px){.eh-chip[data-ring="1"]{display:none}.eh-orbits .eh-outer{display:none}}
