/* ═══════════════════════════════════════════════
   Tollerud User Interface — Design Tokens
   Dark, monochrome + yellow accent system
   ═══════════════════════════════════════════════ */

:root {
  /* ── Brand ── */
  --tollerud-yellow:         #FFFF00;
  --tollerud-yellow-warm:    #E8D500;
  --tollerud-acid:           #FFFF00; /* Tollerud high-voltage yellow */
  --tollerud-yellow-dim:     #B8A800;
  --tollerud-amber:          #FFB800;
  --tollerud-amber-glow:     #FF8C00;

  /* ── Noir Palette ── */
  --tollerud-black:          #0A0A0A;
  --tollerud-noir-900:       #121212;
  --tollerud-noir-800:       #1A1A1A;
  --tollerud-noir-700:       #252525;
  --tollerud-noir-600:       #333333;
  --tollerud-noir-500:       #4A4A4A;
  --tollerud-noir-400:       #666666;
  --tollerud-noir-300:       #888888;
  --tollerud-noir-200:       #AAAAAA;
  --tollerud-noir-100:       #CCCCCC;
  --tollerud-noir-50:        #E5E5E5;
  --tollerud-white:          #F5F5F5;

  /* ── Surfaces ── */
  --tollerud-surface:        #0A0A0A;
  --tollerud-surface-raised:  #121212;
  --tollerud-surface-overlay: #1A1A1A;
  --tollerud-surface-hover:   #252525;

  /* ── Text ── */
  --tollerud-text-primary:   #F5F5F5;
  --tollerud-text-secondary: #AAAAAA;
  --tollerud-text-muted:     #666666;
  --tollerud-text-inverse:   #0A0A0A;

  /* ── Borders ── */
  --tollerud-border:         #333333;
  --tollerud-border-subtle:  #252525;
  --tollerud-border-accent:  #FFFF00;
  --tollerud-shimmer-highlight: #FFFDE6;

  /* ── States ── */
  --tollerud-success:        #22C55E;
  --tollerud-warning:        #E8D500;
  --tollerud-error:          #EF4444;
  --tollerud-info:           #3B82F6;

  /* ── Typography ── */
  --tollerud-font-sans:    'Inter', 'SF Pro', system-ui, sans-serif;
  --tollerud-font-mono:    'JetBrains Mono', 'Fira Code', monospace;
  --tollerud-font-display: 'Inter', 'SF Pro Display', system-ui, sans-serif;

  --tollerud-text-xs:     0.75rem;
  --tollerud-text-sm:     0.875rem;
  --tollerud-text-base:   1rem;
  --tollerud-text-lg:     1.125rem;
  --tollerud-text-xl:     1.25rem;
  --tollerud-text-2xl:    1.5rem;
  --tollerud-text-3xl:    1.875rem;
  --tollerud-text-4xl:    2.25rem;
  --tollerud-text-5xl:    3rem;
  --tollerud-text-6xl:    3.75rem;
  --tollerud-text-7xl:    4.5rem;

  /* ── Spacing ── */
  --tollerud-space-1:     0.25rem;
  --tollerud-space-2:     0.5rem;
  --tollerud-space-3:     0.75rem;
  --tollerud-space-4:     1rem;
  --tollerud-space-5:     1.25rem;
  --tollerud-space-6:     1.5rem;
  --tollerud-space-8:     2rem;
  --tollerud-space-10:    2.5rem;
  --tollerud-space-12:    3rem;
  --tollerud-space-16:    4rem;
  --tollerud-space-20:    5rem;
  --tollerud-space-24:    6rem;

  /* ── Radii ── */
  --tollerud-radius-none: 0;
  --tollerud-radius-sm:   0.125rem;
  --tollerud-radius:      0.25rem;
  --tollerud-radius-md:   0.375rem;
  --tollerud-radius-lg:   0.5rem;
  --tollerud-radius-xl:   0.75rem;
  --tollerud-radius-2xl:  1rem;

  /* ── Shadows ── */
  --tollerud-shadow-sm:   0 1px 2px 0 rgba(0,0,0,0.4);
  --tollerud-shadow:      0 1px 3px 0 rgba(0,0,0,0.5), 0 1px 2px -1px rgba(0,0,0,0.3);
  --tollerud-shadow-md:   0 4px 6px -1px rgba(0,0,0,0.5), 0 2px 4px -2px rgba(0,0,0,0.3);
  --tollerud-shadow-lg:   0 10px 15px -3px rgba(0,0,0,0.5), 0 4px 6px -4px rgba(0,0,0,0.3);
  --tollerud-shadow-glow: 0 0 15px rgba(255,255,0,0.3), 0 0 30px rgba(255,255,0,0.1);

  /* ── Grid ── */
  --tollerud-grid-color:     rgba(232, 213, 0, 0.03);
  --tollerud-grid-size:      40px;

  /* ── Terminal ── */
  --tollerud-terminal-prefix: '❯ ';
  --tollerud-terminal-color:  var(--tollerud-yellow);
  --tollerud-terminal-bg:     rgba(232, 213, 0, 0.04);

  /* ── Gradient Accents ── */
  --tollerud-gradient-yellow: linear-gradient(
    90deg,
    transparent,
    var(--tollerud-yellow) 35%,
    var(--tollerud-amber) 50%,
    var(--tollerud-yellow) 65%,
    transparent
  );
  --tollerud-gradient-btn:    linear-gradient(
    135deg,
    var(--tollerud-yellow),
    var(--tollerud-yellow-dim)
  );
  --tollerud-gradient-soft:   linear-gradient(
    135deg,
    rgba(232, 213, 0, 0.8),
    rgba(255, 184, 0, 0.4)
  );

  /* ── Transitions ── */
  --tollerud-transition-fast:   150ms cubic-bezier(0.4, 0, 0.2, 1);
  --tollerud-transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --tollerud-transition-slow:   350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Base Styles ── */
body {
  font-family: var(--tollerud-font-sans);
  font-size: var(--tollerud-text-base);
  color: var(--tollerud-text-primary);
  background-color: var(--tollerud-surface);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Selection ── */
::selection {
  background-color: rgba(232, 213, 0, 0.3);
  color: var(--tollerud-text-primary);
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--tollerud-surface);
}
::-webkit-scrollbar-thumb {
  background: var(--tollerud-noir-600);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--tollerud-noir-500);
}

/* ── Code Blocks ── */
code, pre {
  font-family: var(--tollerud-font-mono);
}

/* ── Utility: Focus Ring ── */
.tollerud-focus-ring:focus-visible {
  outline: 2px solid var(--tollerud-yellow);
  outline-offset: 2px;
}

/* ── Utility: Glow ── */
.tollerud-glow {
  box-shadow: var(--tollerud-shadow-glow);
}

/* ── Utility: Card ── */
.tollerud-card {
  background: var(--tollerud-surface-raised);
  border: 1px solid var(--tollerud-border);
  border-radius: var(--tollerud-radius-lg);
  padding: var(--tollerud-space-6);
}

/* ── Utility: Button ── */
.tollerud-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--tollerud-space-2);
  font-family: var(--tollerud-font-sans);
  font-weight: 600;
  border-radius: var(--tollerud-radius);
  transition: all var(--tollerud-transition-fast);
  cursor: pointer;
  border: 1px solid transparent;
}
.tollerud-btn:focus-visible {
  outline: 2px solid var(--tollerud-yellow);
  outline-offset: 2px;
}

.tollerud-btn--primary {
  background: var(--tollerud-yellow);
  color: var(--tollerud-black);
  border-color: var(--tollerud-yellow);
}
.tollerud-btn--primary:hover {
  background: var(--tollerud-yellow);
  box-shadow: var(--tollerud-shadow-glow);
}

.tollerud-btn--secondary {
  background: var(--surface-raised, var(--tollerud-surface-raised));
  color: var(--foreground, var(--tollerud-text-primary));
  border-color: var(--border, var(--tollerud-border));
}
.tollerud-btn--secondary:hover {
  border-color: var(--text-secondary, var(--tollerud-text-secondary));
  background: var(--surface-hover, var(--tollerud-surface-hover));
}

.tollerud-btn--ghost {
  background: transparent;
  color: var(--tollerud-text-secondary);
}
.tollerud-btn--ghost:hover {
  color: var(--tollerud-text-primary);
  background: var(--tollerud-surface-hover);
}

.tollerud-btn--ghost-destructive {
  background: transparent;
  color: var(--tollerud-text-secondary);
  border-color: transparent;
}
.tollerud-btn--ghost-destructive:hover,
.tollerud-btn--ghost-destructive:focus-visible {
  color: var(--tollerud-error);
  background: color-mix(in srgb, var(--tollerud-error) 10%, transparent);
  border-color: color-mix(in srgb, var(--tollerud-error) 30%, transparent);
}

.tollerud-btn--ghost-success {
  background: transparent;
  color: var(--tollerud-text-secondary);
  border-color: transparent;
}
.tollerud-btn--ghost-success:hover,
.tollerud-btn--ghost-success:focus-visible {
  color: var(--tollerud-success);
  background: color-mix(in srgb, var(--tollerud-success) 10%, transparent);
  border-color: color-mix(in srgb, var(--tollerud-success) 30%, transparent);
}

.tollerud-btn--ghost-warning {
  background: transparent;
  color: var(--tollerud-text-secondary);
  border-color: transparent;
}
.tollerud-btn--ghost-warning:hover,
.tollerud-btn--ghost-warning:focus-visible {
  color: var(--tollerud-warning);
  background: color-mix(in srgb, var(--tollerud-warning) 10%, transparent);
  border-color: color-mix(in srgb, var(--tollerud-warning) 30%, transparent);
}

.tollerud-btn--ghost-info {
  background: transparent;
  color: var(--tollerud-text-secondary);
  border-color: transparent;
}
.tollerud-btn--ghost-info:hover,
.tollerud-btn--ghost-info:focus-visible {
  color: var(--tollerud-info);
  background: color-mix(in srgb, var(--tollerud-info) 10%, transparent);
  border-color: color-mix(in srgb, var(--tollerud-info) 30%, transparent);
}

.tollerud-btn--sm  { height: 1.75rem; padding: 0 var(--tollerud-space-3); font-size: var(--tollerud-text-sm); line-height: 1; }
.tollerud-btn--md  { height: 2.5rem; padding: 0 var(--tollerud-space-4); font-size: var(--tollerud-text-base); line-height: 1; }
.tollerud-btn--lg  { height: 3rem; padding: 0 var(--tollerud-space-6); font-size: var(--tollerud-text-lg); line-height: 1; }

/* ── Utility: Input ── */
.tollerud-input {
  font-family: var(--tollerud-font-sans);
  font-size: var(--tollerud-text-base);
  padding: var(--tollerud-space-2) var(--tollerud-space-3);
  background: var(--tollerud-surface-raised);
  border: 1px solid var(--tollerud-border);
  border-radius: var(--tollerud-radius);
  color: var(--tollerud-text-primary);
  transition: border-color var(--tollerud-transition-fast);
}
.tollerud-input::placeholder {
  color: var(--tollerud-text-muted);
}
.tollerud-input:focus {
  outline: none;
  border-color: var(--tollerud-yellow);
  box-shadow: 0 0 0 1px var(--tollerud-yellow);
}

/* ── Utility: Badge ── */
.tollerud-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem var(--tollerud-space-2);
  font-size: var(--tollerud-text-xs);
  font-weight: 500;
  border-radius: var(--tollerud-radius);
  letter-spacing: 0.02em;
}
.tollerud-badge--default {
  background: var(--tollerud-noir-700);
  color: var(--tollerud-text-secondary);
}
.tollerud-badge--accent {
  background: rgba(232, 213, 0, 0.15);
  color: var(--tollerud-yellow);
}
.tollerud-badge--success {
  background: rgba(34, 197, 94, 0.15);
  color: var(--tollerud-success);
}
.tollerud-badge--error {
  background: rgba(239, 68, 68, 0.15);
  color: var(--tollerud-error);
}

/* ── Utility: Divider ── */
.tollerud-divider {
  border: none;
  border-top: 1px solid var(--tollerud-border);
  margin: var(--tollerud-space-6) 0;
}
.tollerud-divider--accent {
  border-color: var(--tollerud-yellow);
  width: 4rem;
}

/* ═══════════════════════════════════════════════
   Graphify-inspired Components
   ═══════════════════════════════════════════════ */

/* ── Noir Glow Background (Tollerud.no signature fallback) ── */
.tollerud-noir-glow-root { background: #000; isolation: isolate; }
.tollerud-noir-glow-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 75% at 100% 0%, hsl(56, 100%, 80%) 0%, transparent 70%),
    radial-gradient(80% 85% at 0% 100%, hsl(56, 100%, 50%) 0%, transparent 72%),
    radial-gradient(60% 65% at 0% 0%, hsl(54, 85%, 66%) 0%, transparent 68%),
    #000;
  opacity: .45;
  filter: saturate(1.05) contrast(1.02);
  transform: translateZ(0);
  animation: tollerud-noir-glow-drift 32s var(--tollerud-ease-in-out) infinite alternate;
}
.tollerud-noir-glow-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,.3) 0%, rgba(0,0,0,.08) 26%, rgba(0,0,0,.2) 58%, rgba(0,0,0,.64) 100%),
    linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.5));
}
.tollerud-noir-noise {
  position: absolute;
  inset: -20%;
  opacity: .16;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.85'/%3E%3C/svg%3E");
  animation: tollerud-noir-noise-shift 1.6s steps(2, end) infinite;
}
@keyframes tollerud-noir-glow-drift {
  0% { transform: scale(1.02) translate3d(-1.5%, -1%, 0) rotate(0deg); filter: saturate(1.05) contrast(1.04); }
  50% { transform: scale(1.07) translate3d(1.2%, .8%, 0) rotate(.8deg); filter: saturate(1.2) contrast(1.12); }
  100% { transform: scale(1.04) translate3d(1.8%, -1.4%, 0) rotate(-.6deg); filter: saturate(1.1) contrast(1.08); }
}
@keyframes tollerud-noir-noise-shift {
  0% { transform: translate3d(0,0,0); }
  25% { transform: translate3d(-2%,1%,0); }
  50% { transform: translate3d(1%,-2%,0); }
  75% { transform: translate3d(2%,2%,0); }
  100% { transform: translate3d(-1%,0,0); }
}
@media (prefers-reduced-motion: reduce) {
  .tollerud-noir-glow-bg,
  .tollerud-noir-noise { animation: none !important; }
  .tollerud-display-shimmer {
    animation: none !important;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    color: var(--tollerud-yellow);
  }
}

/* ── Background Grid ── */
.tollerud-grid-bg {
  pointer-events: none;
  background-image:
    linear-gradient(var(--tollerud-grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--tollerud-grid-color) 1px, transparent 1px);
  background-size: var(--tollerud-grid-size) var(--tollerud-grid-size);
}

/* ── Terminal Button ── */
.tollerud-btn--terminal {
  background: transparent;
  color: var(--tollerud-yellow);
  border: 1px solid rgba(232, 213, 0, 0.25);
  font-weight: 500;
  letter-spacing: normal;
  font-family: var(--tollerud-font-mono);
}
.tollerud-btn--terminal::before {
  content: var(--tollerud-terminal-prefix);
  color: var(--tollerud-terminal-color);
  opacity: 0.7;
}
.tollerud-btn--terminal:hover {
  border-color: var(--tollerud-yellow);
  box-shadow: var(--tollerud-shadow-glow);
  background: rgba(232, 213, 0, 0.05);
}

/* ── Pill Tag ── */
.tollerud-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 1rem;
  font-size: 0.6875rem;
  font-weight: 500;
  border-radius: 3px;
  border: 1px solid;
  letter-spacing: 0.01em;
}
.tollerud-pill--outline {
  background: rgba(232, 213, 0, 0.06);
  color: var(--tollerud-yellow);
  border-color: rgba(232, 213, 0, 0.35);
}
.tollerud-pill--muted {
  background: rgba(232, 213, 0, 0.03);
  color: rgba(232, 213, 0, 0.55);
  border-color: rgba(232, 213, 0, 0.15);
}
.tollerud-pill--success {
  background: rgba(34, 197, 94, 0.06);
  color: var(--success);
  border-color: rgba(34, 197, 94, 0.35);
}
.tollerud-pill--error {
  background: rgba(239, 68, 68, 0.06);
  color: var(--destructive);
  border-color: rgba(239, 68, 68, 0.35);
}

/* ── Gradient Accent Bar ── */
.tollerud-accent-bar {
  height: 1px;
  border: none;
  background: var(--tollerud-gradient-yellow);
  margin: var(--tollerud-space-12) 0;
}

/* ── Gradient Accent Text ── */
.tollerud-gradient-text {
  background: var(--tollerud-gradient-soft);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Display Heading ── */
.tollerud-display {
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: white;
}
.tollerud-display-shimmer {
  background: linear-gradient(
    100deg,
    var(--tollerud-yellow) 32%,
    var(--tollerud-shimmer-highlight) 50%,
    var(--tollerud-yellow) 68%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: tollerud-display-shimmer 5s linear infinite;
}
@keyframes tollerud-display-shimmer {
  to { background-position: -220% 0; }
}

/* ── Kbd (Keyboard Shortcut Chip) ── */
.tollerud-kbd { display: inline-flex; align-items: center; gap: 2px; }
.tollerud-kbd__key {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px; padding: 0 5px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; line-height: 1;
  color: var(--tollerud-noir-200); background: var(--tollerud-noir-800);
  border: 1px solid var(--tollerud-noir-600); border-radius: 4px;
  box-shadow: 0 1px 0 var(--tollerud-noir-600);
}
.tollerud-kbd--sm .tollerud-kbd__key { min-width: 18px; height: 18px; padding: 0 4px; font-size: 10px; }

/* ── Action Row ── */
.tollerud-action-row {
  display: flex; align-items: center; gap: 0.75rem;
  width: 100%; padding: 0.5rem 0.75rem;
  background: transparent; border: none; border-radius: 6px;
  cursor: pointer; text-align: left; font-family: var(--font-sans);
  transition: background var(--motion-duration-fast) var(--motion-ease-in-out);
}
.tollerud-action-row:hover,
.tollerud-action-row--highlighted { background: var(--tollerud-noir-700); }
.tollerud-action-row--disabled { opacity: .4; cursor: not-allowed; }
.tollerud-action-row__icon { flex-shrink: 0; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; color: var(--tollerud-yellow); }
.tollerud-action-row__icon svg { width: 18px; height: 18px; }
.tollerud-action-row__content { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.tollerud-action-row__label { font-size: 14px; font-weight: 500; color: var(--foreground); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tollerud-action-row__description { font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tollerud-action-row__shortcut { flex-shrink: 0; margin-left: auto; }

/* ── Command Menu ── */
.tollerud-cmd-overlay {
  position: fixed; inset: 0; z-index: var(--z-overlay);
  background: rgba(0,0,0,.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  animation: tollerud-cmd-overlay-in 150ms var(--motion-ease-out);
}
@keyframes tollerud-cmd-overlay-in { from { opacity: 0; } to { opacity: 1; } }
.tollerud-cmd {
  position: fixed; top: 15vh; left: 50%; transform: translateX(-50%);
  z-index: var(--z-modal);
  width: min(90vw, 640px); max-height: 70vh;
  display: flex; flex-direction: column;
  background: var(--surface-raised); border: 1px solid var(--tollerud-noir-600); border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0,0,0,.6);
  animation: tollerud-cmd-in 200ms var(--motion-ease-out); overflow: hidden;
}
@keyframes tollerud-cmd-in {
  from { opacity: 0; transform: translateX(-50%) scale(.96) translateY(-8px); }
  to   { opacity: 1; transform: translateX(-50%) scale(1) translateY(0); }
}
.tollerud-cmd__header { display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.tollerud-cmd__search-icon { flex-shrink: 0; color: var(--text-muted); display: flex; align-items: center; }
.tollerud-cmd__input { flex: 1; background: transparent; border: none; outline: none; color: var(--foreground); font-family: var(--font-sans); font-size: 16px; line-height: 1.5; }
.tollerud-cmd__input::placeholder { color: var(--text-muted); }
.tollerud-cmd__list { flex: 1; overflow-y: auto; padding: .5rem; display: flex; flex-direction: column; gap: .25rem; }
.tollerud-cmd__empty { padding: 2rem 1rem; text-align: center; font-size: 14px; color: var(--text-muted); }
.tollerud-cmd__group { display: flex; flex-direction: column; gap: 1px; }
.tollerud-cmd__group-label { padding: .5rem .75rem .25rem; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.tollerud-cmd__footer { display: flex; align-items: center; gap: .75rem; padding: .5rem 1rem; border-top: 1px solid var(--border); flex-shrink: 0; }
.tollerud-cmd__hint { display: inline-flex; align-items: center; gap: 4px; }
.tollerud-cmd__hint-text { font-size: 11px; color: var(--text-muted); }

/* ── Timeline ── */
.tollerud-timeline { display: flex; flex-direction: column; }
.tollerud-timeline__item { display: flex; gap: .75rem; }
.tollerud-timeline__marker { display: flex; flex-direction: column; align-items: center; width: 20px; flex-shrink: 0; }
.tollerud-timeline__dot-group { display: flex; flex-direction: column; align-items: center; }
.tollerud-timeline__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--tollerud-noir-500); flex-shrink: 0; }
.tollerud-timeline__dot--active { animation: tollerud-timeline-pulse 2s infinite; }
.tollerud-timeline__dot--online {
  background: var(--success);
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
}
.tollerud-timeline__dot--warning {
  background: var(--tollerud-yellow);
  box-shadow: 0 0 6px rgba(232, 213, 0, 0.5);
}
.tollerud-timeline__dot--offline { background: var(--destructive); }
.tollerud-timeline__dot--idle { background: var(--tollerud-noir-400); }
.tollerud-timeline__dot--info { background: var(--tollerud-info); box-shadow: 0 0 6px rgba(59, 130, 246, .5); }
@keyframes tollerud-timeline-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,0,.4); }
  50%      { box-shadow: 0 0 0 6px rgba(255,255,0,0); }
}
.tollerud-timeline__line { width: 1px; flex: 1; min-height: 8px; background: var(--tollerud-noir-600); margin-top: 4px; }
.tollerud-timeline--flat .tollerud-timeline__item { padding-bottom: .75rem; margin-bottom: .75rem; border-bottom: 1px solid var(--border); }
.tollerud-timeline--flat .tollerud-timeline__item:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: none; }
.tollerud-timeline__icon { width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; color: var(--tollerud-yellow); }
.tollerud-timeline__content { flex: 1; min-width: 0; padding-bottom: 1.25rem; }
.tollerud-timeline__title { font-size: .875rem; font-weight: 600; color: var(--foreground); }
.tollerud-timeline__time { font-size: .75rem; color: var(--text-muted); white-space: nowrap; flex-shrink: 0; }
.tollerud-timeline__time--below { margin-top: .125rem; }
.tollerud-timeline__description { font-size: .8125rem; color: var(--text-secondary); margin-top: .125rem; line-height: 1.4; }
.tollerud-timeline__meta { font-size: .6875rem; color: var(--text-muted); background: var(--tollerud-noir-800); padding: .125rem .375rem; border-radius: 3px; border: 1px solid var(--tollerud-noir-600); }

/* ── ButtonGroup fused children (beats standalone .tollerud-btn radius/border) ── */
.tollerud-button-group > .tollerud-btn.tollerud-btn--grouped {
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.tollerud-button-group:not(.tollerud-button-group--vertical) > .tollerud-btn.tollerud-btn--grouped:not(:first-child) {
  box-shadow: inset 1px 0 0 var(--tollerud-border);
}
.tollerud-button-group.tollerud-button-group--vertical > .tollerud-btn.tollerud-btn--grouped:not(:first-child) {
  box-shadow: inset 0 1px 0 var(--tollerud-border);
}
.tollerud-button-group:not(.tollerud-button-group--vertical) > .tollerud-btn.tollerud-btn--grouped:first-child {
  border-top-left-radius: var(--tollerud-radius-lg);
  border-bottom-left-radius: var(--tollerud-radius-lg);
}
.tollerud-button-group:not(.tollerud-button-group--vertical) > .tollerud-btn.tollerud-btn--grouped:last-child {
  border-top-right-radius: var(--tollerud-radius-lg);
  border-bottom-right-radius: var(--tollerud-radius-lg);
}
.tollerud-button-group.tollerud-button-group--vertical > .tollerud-btn.tollerud-btn--grouped:first-child {
  border-top-left-radius: var(--tollerud-radius-lg);
  border-top-right-radius: var(--tollerud-radius-lg);
}
.tollerud-button-group.tollerud-button-group--vertical > .tollerud-btn.tollerud-btn--grouped:last-child {
  border-bottom-left-radius: var(--tollerud-radius-lg);
  border-bottom-right-radius: var(--tollerud-radius-lg);
}
