/* Sysand Index - Light/Dark Design System */
/* Bootstrap 5.3 overrides via CSS custom properties */

/* Self-hosted fonts (see scripts/fetch-vendor-assets.sh) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../vendor/fonts/inter/inter-latin-variable.260c81a4759b.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../vendor/fonts/jetbrains-mono/jetbrains-mono-latin-variable.b636a65da4f0.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* === Light theme (baseline) === */

:root {
  --si-bg: #ffffff;
  --si-surface: #f6f8fa;
  --si-surface-hover: #eef1f5;
  --si-border: #d1d9e0;
  --si-border-subtle: #e8ecf0;
  --si-text: #1f2328;
  --si-text-secondary: #57606a;
  --si-text-muted: #6e7781;
  --si-accent: #c2410c;
  --si-accent-subtle: rgba(237, 137, 54, 0.12);
  --si-accent-hover: rgba(237, 137, 54, 0.18);
  --si-danger: #cf222e;
  --si-danger-subtle: rgba(207, 34, 46, 0.1);
  --si-warning: #9a6700;
  --si-warning-subtle: rgba(154, 103, 0, 0.1);
  --si-success: #1a7f37;
  --si-success-subtle: rgba(26, 127, 55, 0.1);
  --si-info: #0969da;
  --si-info-subtle: rgba(9, 105, 218, 0.1);
  --si-btn-primary-bg: #c2410c;
  --si-btn-primary-hover: #9a3412;
  --si-btn-danger-bg: #cf222e;
  --si-btn-warning-bg: #9a6700;
  --si-muted-subtle: rgba(110, 119, 129, 0.12);
  --si-focus-ring: rgba(237, 137, 54, 0.4);
}

/* === Dark theme === */

[data-bs-theme="dark"] {
  --si-bg: #0d1117;
  --si-surface: #161b22;
  --si-surface-hover: #1c2128;
  --si-border: #30363d;
  --si-border-subtle: #21262d;
  --si-text: #e6edf3;
  --si-text-secondary: #8b949e;
  --si-text-muted: #484f58;
  --si-accent: #ed8936;
  --si-accent-subtle: rgba(237, 137, 54, 0.15);
  --si-accent-hover: rgba(237, 137, 54, 0.25);
  --si-danger: #f85149;
  --si-danger-subtle: rgba(248, 81, 73, 0.15);
  --si-warning: #d29922;
  --si-warning-subtle: rgba(210, 153, 34, 0.15);
  --si-success: #3fb950;
  --si-success-subtle: rgba(63, 185, 80, 0.15);
  --si-info: #58a6ff;
  --si-info-subtle: rgba(88, 166, 255, 0.15);
  --si-btn-primary-bg: #c2410c;
  --si-btn-primary-hover: #dd6b20;
  --si-btn-danger-bg: #da3633;
  --si-btn-warning-bg: #d29922;
  --si-muted-subtle: rgba(139, 148, 158, 0.15);
  --si-focus-ring: rgba(237, 137, 54, 0.35);
}

/* === Base === */

body {
  background-color: var(--si-bg);
  color: var(--si-text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.2s, color 0.2s;
}

/* Prevent theme flash-of-unstyled-content on initial load */
body.si-no-transitions,
body.si-no-transitions * {
  transition: none !important;
}

a {
  color: var(--si-accent);
  text-decoration: none;
}

a:hover {
  color: var(--si-accent);
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  color: var(--si-text);
  letter-spacing: -0.02em;
  text-transform: capitalize;
}

/* Opt-out for dynamic content headings and user-authored markdown */
.si-preserve-case,
.si-markdown h1,
.si-markdown h2,
.si-markdown h3,
.si-markdown h4,
.si-markdown h5,
.si-markdown h6 {
  text-transform: none;
}

code, pre {
  font-family: 'JetBrains Mono', monospace;
  font-variant-ligatures: none;
}

code {
  color: var(--si-accent);
}

/* Required-field asterisk (auto-applied via :has; skip crispy-forms labels) */
label.form-label:not(:has(.asteriskField)):has(~ input:required, ~ select:required, ~ textarea:required)::after,
label.form-label:not(:has(.asteriskField)):has(~ .form-control:required, ~ .form-select:required)::after {
  content: " *";
  color: var(--si-danger);
}

.asteriskField {
  color: var(--si-danger);
  margin-left: 0.15em;
}

/* === Bootstrap overrides === */

.text-muted {
  color: var(--si-text-secondary) !important;
}

[data-bs-theme="dark"] .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

.nav-link {
  color: var(--si-text-secondary);
}

.nav-link:hover {
  color: var(--si-accent);
}

.nav-link.active {
  color: var(--si-accent);
}

/* === Navbar === */

.si-navbar {
  background-color: var(--si-surface);
  border-bottom: 1px solid var(--si-border);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background-color 0.2s, border-color 0.2s;
}

.si-navbar .container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.si-brand {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--si-text) !important;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  padding: 0.45rem 0;
}

.si-brand-logo {
  height: 28px;
  width: auto;
}

.si-nav-search {
  order: 2;
  flex: 1 0 200px;
}

.si-nav-search input {
  width: 100%;
  background: var(--si-bg);
  border: 1px solid var(--si-border);
  border-radius: 6px;
  color: var(--si-text);
  padding: 0.45rem 0.75rem 0.45rem 2.25rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.si-nav-search input::placeholder {
  color: var(--si-text-secondary);
}

.si-nav-search input:focus {
  outline: none;
  border-color: var(--si-accent);
  box-shadow: 0 0 0 3px var(--si-focus-ring);
}

.si-nav-search-wrap {
  position: relative;
}

.si-nav-search-wrap::before {
  content: "\F52A";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--si-text-muted);
  font-size: 0.875rem;
  pointer-events: none;
}

.si-nav-links {
  order: 3;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  flex-shrink: 0;
}

.si-theme-toggle {
  background: transparent;
  border: none;
  color: var(--si-text-secondary);
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
  display: flex;
  align-items: center;
  transition: color 0.15s, background-color 0.15s;
}

.si-theme-toggle:hover {
  color: var(--si-text);
  background-color: var(--si-accent-subtle);
}

.si-nav-user {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--si-text) !important;
  text-decoration: none !important;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
  transition: background-color 0.15s;
}

.si-nav-user:hover {
  background-color: var(--si-accent-subtle);
}

.si-nav-avatar {
  border-radius: 50%;
}

.si-nav-username {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.si-nav-links > a:not(.si-btn) {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--si-text-secondary);
  text-decoration: none;
  transition: color 0.15s;
  text-transform: capitalize;
}

.si-nav-links > a:not(.si-btn):hover,
.si-nav-links > a:not(.si-btn).active {
  color: var(--si-text);
  text-decoration: none;
}

.si-nav-links > a:not(.si-btn).active {
  color: var(--si-accent);
}


/* === Buttons === */

.si-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none !important;
  white-space: nowrap;
}

.si-btn-primary {
  background-color: var(--si-btn-primary-bg);
  color: #fff;
  border-color: var(--si-btn-primary-bg);
}

.si-btn-primary:hover {
  background-color: var(--si-btn-primary-hover);
  border-color: var(--si-btn-primary-hover);
  color: #fff;
}

.si-btn-outline {
  background: transparent;
  color: var(--si-text-secondary);
  border-color: var(--si-border);
}

.si-btn-outline:hover {
  color: var(--si-text);
  border-color: var(--si-text-secondary);
  background: var(--si-surface-hover);
}

.si-btn-ghost {
  background: transparent;
  color: var(--si-text-secondary);
  border: none;
  padding: 0.4rem 0.6rem;
}

.si-btn-ghost:hover {
  color: var(--si-text);
  background: var(--si-accent-subtle);
}

.si-btn-danger {
  background-color: var(--si-btn-danger-bg);
  color: #fff;
  border-color: var(--si-btn-danger-bg);
}

.si-btn-danger:hover {
  filter: brightness(1.15);
  color: #fff;
}

.si-btn-warning {
  background-color: var(--si-btn-warning-bg);
  color: #fff;
  border-color: var(--si-btn-warning-bg);
}

.si-btn-warning:hover {
  filter: brightness(1.15);
  color: #fff;
}

.si-btn-sm {
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
}

/* Loading state for buttons */
.si-btn-loading {
  pointer-events: none;
  opacity: 0.75;
  position: relative;
}

.si-btn-loading::after {
  content: "";
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  margin-left: 0.4em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: si-spin 0.6s linear infinite;
}

@keyframes si-spin {
  to { transform: rotate(360deg); }
}

/* === Cards === */

.si-card {
  background: var(--si-surface);
  border: 1px solid var(--si-border);
  border-radius: 8px;
  transition: background-color 0.2s, border-color 0.2s;
}

.si-card-hover {
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.si-card-hover:hover {
  border-color: var(--si-accent);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* === Normalized handles (@username, @org-name) === */

.si-handle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85em;
}

/* Inline si-handle elements get @ via CSS; block-level ones keep @ in template text */
a.si-handle::before,
span.si-handle::before {
  content: "@";
}

.si-handle a {
  color: var(--si-accent);
}

/* === Badges === */

.si-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: var(--si-accent-subtle);
  color: var(--si-accent);
  white-space: nowrap;
}

.si-badge + .si-badge {
  margin-left: 0.25rem;
}

.si-badge-muted {
  background: none;
  color: var(--si-text-muted);
  font-size: 0.85em;
}

.si-badge-success {
  background: var(--si-success-subtle);
  color: var(--si-success);
}

.si-badge-warning {
  background: var(--si-warning-subtle);
  color: var(--si-warning);
}

.si-badge-danger {
  background: var(--si-danger-subtle);
  color: var(--si-danger);
}

/* === Section titles === */

.si-section-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  font-weight: 500;
  color: var(--si-text-secondary);
  letter-spacing: -0.01em;
  margin-top: 1.5rem;
}

/* Auto-separator for non-first section titles */
.si-section-title ~ .si-section-title {
  border-top: 1px solid var(--si-border);
  padding-top: 1.25rem;
  margin-top: 1.25rem;
}

/* === Layout === */

.si-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
}

.si-section {
  padding: 3rem 0;
}

/* === Hero === */

.si-hero {
  text-align: center;
  padding: 3.5rem 0 2rem;
}

.si-hero h1 {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.si-hero .si-accent {
  color: var(--si-accent);
}

.si-hero p {
  color: var(--si-text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* === Stats bar === */

.si-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 2rem 0;
  border-top: 1px solid var(--si-border-subtle);
  border-bottom: 1px solid var(--si-border-subtle);
}

.si-stat {
  text-align: center;
}

.si-stat-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--si-accent);
}

.si-stat-label {
  font-size: 0.8rem;
  color: var(--si-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.15rem;
}

/* === Featured projects === */

.si-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  gap: 1rem;
  flex-wrap: nowrap;
}

.si-section-header .si-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

.si-section-header h2 {
  font-size: 1.15rem;
  margin: 0;
}

/* === Search Results === */

.si-search-header {
  padding: 0.5rem 0 1.5rem;
  border-bottom: 1px solid var(--si-border-subtle);
}

.si-search-header h1 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.si-search-meta {
  color: var(--si-text-secondary);
  font-size: 0.9rem;
}

.si-search-meta strong {
  color: var(--si-text);
}

.si-result-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.si-result-item {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--si-border-subtle);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.si-result-item:last-child {
  border-bottom: none;
}

.si-result-content {
  flex: 1;
}

.si-result-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  font-weight: 600;
  color: var(--si-accent);
  margin-bottom: 0.15rem;
}

.si-result-title a {
  color: var(--si-accent);
}

.si-result-publisher {
  font-size: 0.8rem;
  color: var(--si-text-muted);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 0.4rem;
}

.si-result-desc {
  font-size: 0.875rem;
  color: var(--si-text-secondary);
  margin-bottom: 0.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.si-result-meta {
  font-size: 0.8rem;
  color: var(--si-text-muted);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 0.4rem;
}

.si-result-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

/* === Home columns === */

.si-home-column {
  min-width: 0;
}

.si-home-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* === Pagination === */

.si-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  padding: 2rem 0 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
}

.si-pagination a,
.si-pagination-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.5rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.si-pagination a {
  color: var(--si-text-secondary);
}

.si-pagination a:hover {
  background: var(--si-accent-subtle);
  color: var(--si-accent);
  text-decoration: none;
}

.si-pagination-current {
  background: var(--si-accent);
  color: #fff;
  font-weight: 600;
}

.si-pagination-ellipsis {
  color: var(--si-text-muted);
  padding: 0 0.25rem;
}

.si-pagination-info {
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--si-text-muted);
  padding-bottom: 1rem;
}

/* === Result count === */

.si-result-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--si-text-muted);
}

/* Sort controls */
.si-sort-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--si-text-muted);
}

.si-sort-controls a {
  color: var(--si-text-secondary);
  text-decoration: none;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--si-border);
  border-radius: 4px;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.si-sort-controls a:hover {
  color: var(--si-text);
  background: var(--si-surface-hover);
  text-decoration: none;
}

.si-sort-controls a.active {
  color: var(--si-accent);
  background: var(--si-accent-subtle);
  border-color: transparent;
}

.si-result-version {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--si-text-muted);
  white-space: nowrap;
}

/* Active filters */
.si-active-filters {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--si-text-muted);
}

.si-filter-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.5rem;
  background: var(--si-accent-subtle);
  color: var(--si-accent);
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.8rem;
  transition: background 0.15s;
}

.si-filter-badge:hover {
  background: var(--si-accent);
  color: #fff;
  text-decoration: none;
}

.si-filter-badge .bi-x {
  font-size: 0.9rem;
  margin-left: 0.1rem;
}

.si-result-publisher a {
  color: var(--si-text-muted);
  text-decoration: none;
}

.si-result-publisher a:hover {
  color: var(--si-accent);
  text-decoration: none;
}

/* === Project Detail === */

.si-project-header {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--si-border-subtle);
}

/* Page header: shared layout for view + manage pages */
.si-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.si-page-header-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 0;
}

.si-manage-header {
  font-family: 'Inter', sans-serif;
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}

.si-publisher {
  font-size: 0.85rem;
  color: var(--si-text-secondary);
}

.si-version-select {
  background: var(--si-surface);
  border: 1px solid var(--si-border);
  border-radius: 6px;
  color: var(--si-text);
  padding: 0.35rem 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  cursor: pointer;
}

.si-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--si-border);
  margin-bottom: 1.5rem;
}

.si-tab {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  padding: 0.75rem 1rem;
  color: var(--si-text-secondary);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  text-decoration: none !important;
  text-transform: capitalize;
  white-space: nowrap;
}

.si-tab:hover {
  color: var(--si-text);
}

.si-tab.active {
  color: var(--si-accent);
  border-bottom-color: var(--si-accent);
}

/* Dropdown items */
.dropdown-item {
  text-transform: capitalize;
}

.dropdown-item.active-nav {
  color: var(--si-accent);
  font-weight: 600;
}

/* Tables */
.table-responsive {
  background: var(--si-surface);
  border: 1px solid var(--si-border);
  border-radius: 8px;
  overflow: hidden;
}

.table-responsive > .table > :last-child > tr:last-child > *,
.table-responsive > .si-table > tbody > tr:last-child > td {
  border-bottom: 0;
}

.card .table-responsive {
  background: none;
  border: none;
  border-radius: 0;
}

.table-responsive > .table,
.table-responsive > .si-table {
  margin-bottom: 0;
}

/* Info table */
.si-info-table {
  width: 100%;
  table-layout: fixed;
}

.si-info-table tr {
  border-bottom: 1px solid var(--si-border-subtle);
}

.si-info-table tr:last-child {
  border-bottom: none;
}

.si-info-table th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--si-text-muted);
  padding: 0.6rem 1rem 0.6rem 0;
  width: 110px;
  vertical-align: top;
}

.si-info-table td {
  padding: 0.6rem 0;
  font-size: 0.9rem;
  color: var(--si-text-secondary);
  overflow-wrap: break-word;
}

/* Icon-only header cells in sidebar info table */
.si-info-table-icons th {
  width: 2rem;
  padding: 0.6rem 0.5rem 0.6rem 0;
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0;
}

/* Release history */
.si-release-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--si-border-subtle);
}

.si-release-item:last-child {
  border-bottom: none;
}

.si-release-version {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--si-text);
  min-width: 80px;
}

.si-release-date {
  font-size: 0.8rem;
  color: var(--si-text-muted);
  font-family: 'JetBrains Mono', monospace;
}

.si-release-downloads {
  font-size: 0.75rem;
  color: var(--si-text-muted);
  font-family: 'JetBrains Mono', monospace;
  margin-left: auto;
  white-space: nowrap;
}

/* File listing */
.si-file-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--si-border-subtle);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
}

.si-file-item:last-child {
  border-bottom: none;
}

.si-file-icon {
  color: var(--si-text-muted);
}

.si-file-details {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.si-file-name {
  color: var(--si-accent);
}

.si-file-meta {
  font-size: 0.75rem;
  color: var(--si-text-muted);
}

.si-file-size {
  color: var(--si-text-muted);
  font-size: 0.75rem;
}

/* Install snippet */
.si-install {
  background: var(--si-bg);
  border: 1px solid var(--si-border);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--si-text-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
}

.si-install code {
  color: var(--si-text);
}

.si-install code::before {
  content: "$ ";
  color: var(--si-accent);
}

/* Copy button feedback */
.si-btn-copied {
  color: var(--si-success) !important;
}

/* === Markdown content === */

.si-markdown {
  color: var(--si-text-secondary);
  line-height: 1.7;
}

.si-markdown h1,
.si-markdown h2,
.si-markdown h3,
.si-markdown h4,
.si-markdown h5,
.si-markdown h6 {
  color: var(--si-text);
}

.si-markdown h2 {
  font-size: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--si-border-subtle);
  margin: 1.5rem 0 0.75rem;
}

.si-markdown h3 {
  font-size: 1rem;
  margin: 1.25rem 0 0.5rem;
}

.si-markdown p {
  margin-bottom: 0.75rem;
}

.si-markdown a {
  color: var(--si-accent);
}

.si-markdown code {
  background: var(--si-accent-subtle);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.85em;
  color: var(--si-accent);
}

.si-markdown pre {
  background: var(--si-bg);
  border: 1px solid var(--si-border);
  border-radius: 6px;
  padding: 1rem;
  overflow-x: auto;
  margin-bottom: 1rem;
}

.si-markdown pre code {
  background: none;
  padding: 0;
  color: var(--si-text);
  font-size: 0.85rem;
}

.si-markdown ul,
.si-markdown ol {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.si-markdown li {
  margin-bottom: 0.25rem;
}

.si-markdown blockquote {
  padding: 0 1em;
  color: var(--si-text-muted);
  border-left: 0.25em solid var(--si-border);
  margin-bottom: 1rem;
}

.si-markdown table {
  border-collapse: collapse;
  margin-bottom: 1em;
}

.si-markdown table th,
.si-markdown table td {
  padding: 6px 13px;
  border: 1px solid var(--si-border);
}

.si-markdown table th {
  background-color: var(--si-surface);
  font-weight: 600;
}

.si-markdown table tr:nth-child(2n) {
  background-color: var(--si-surface);
}

.si-markdown img {
  max-width: 100%;
  height: auto;
}

.si-markdown hr {
  height: 0.25em;
  padding: 0;
  margin: 24px 0;
  background-color: var(--si-border);
  border: 0;
}

/* Project detail layout */
.si-project-layout {
  display: flex;
  gap: 2rem;
}

.si-project-main {
  flex: 1;
  min-width: 0;
}

.si-project-sidebar {
  width: 280px;
  flex-shrink: 0;
}

.si-sidebar-heading {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--si-text-muted);
  margin-bottom: 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
}

/* Recently updated list items */
.si-recent-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--si-border-subtle);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
}

.si-recent-item:last-child {
  border-bottom: none;
}

.si-recent-name {
  color: var(--si-accent);
  font-size: 0.9rem;
  flex: 1;
}

.si-recent-meta {
  margin-left: auto;
  color: var(--si-text-muted);
  font-size: 0.8rem;
}

/* === Alert overrides === */

.si-alert {
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  border: 1px solid;
}

.si-alert-success {
  background: var(--si-success-subtle);
  border-color: rgba(63, 185, 80, 0.3);
  color: var(--si-success);
}

.si-alert-warning {
  background: var(--si-warning-subtle);
  border-color: rgba(210, 153, 34, 0.3);
  color: var(--si-warning);
}

.si-alert-warning a {
  color: var(--si-accent);
  font-weight: 600;
}

.si-alert-info {
  background: var(--si-info-subtle);
  border-color: var(--si-info);
  color: var(--si-info);
}

.si-alert-danger {
  background: var(--si-danger-subtle);
  border-color: rgba(207, 34, 46, 0.3);
  color: var(--si-danger);
}

/* Messages at the top of the page */
.alert.rounded-0 {
  border-left: none;
  border-right: none;
  border-top: none;
  text-align: center;
  position: relative;
}

.alert.rounded-0 .btn-close {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

/* Empty state */
.si-empty-state {
  text-align: center;
  padding: 3rem 0;
  color: var(--si-text-muted);
}

.si-empty-state i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

/* === Footer === */

.si-footer {
  border-top: 1px solid var(--si-border-subtle);
  padding: 2rem 0;
  margin-top: 3rem;
  color: var(--si-text-muted);
  font-size: 0.8rem;
  font-family: 'JetBrains Mono', monospace;
}

.si-footer-columns {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  text-align: left;
}

.si-footer-column h6 {
  color: var(--si-text-secondary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.si-footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.si-footer-column li {
  margin-bottom: 0.25rem;
}

.si-footer-column a {
  color: var(--si-text-muted);
  text-decoration: none;
}

.si-footer-column a:hover {
  color: var(--si-text-secondary);
  text-decoration: underline;
}

.si-footer-copyright {
  color: var(--si-text-muted);
  margin-top: 0;
}

@media (max-width: 576px) {
  .si-footer-columns {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* === Utilities === */

.si-text-accent { color: var(--si-accent); }

/* Autocomplete states */
.si-autocomplete-loading::after {
  content: "";
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1em;
  height: 1em;
  border: 2px solid var(--si-text-muted);
  border-right-color: transparent;
  border-radius: 50%;
  animation: si-spin 0.6s linear infinite;
}

.si-autocomplete-empty {
  padding: 0.5rem 0.75rem;
  color: var(--si-text-muted);
  font-size: 0.875rem;
}


/* === Syntax highlighting (GitHub-style for light theme) === */

.si-markdown pre .hll { background-color: #ffffcc }
.si-markdown pre .c { color: #6a737d; font-style: italic } /* Comment */
.si-markdown pre .err { color: #cb2431 } /* Error */
.si-markdown pre .k { color: #d73a49; font-weight: bold } /* Keyword */
.si-markdown pre .o { color: #24292e } /* Operator */
.si-markdown pre .ch { color: #6a737d; font-style: italic } /* Comment.Hashbang */
.si-markdown pre .cm { color: #6a737d; font-style: italic } /* Comment.Multiline */
.si-markdown pre .cp { color: #6a737d; font-style: italic } /* Comment.Preproc */
.si-markdown pre .cpf { color: #6a737d; font-style: italic } /* Comment.PreprocFile */
.si-markdown pre .c1 { color: #6a737d; font-style: italic } /* Comment.Single */
.si-markdown pre .cs { color: #6a737d; font-style: italic } /* Comment.Special */
.si-markdown pre .gd { color: #cb2431 } /* Generic.Deleted */
.si-markdown pre .ge { font-style: italic } /* Generic.Emph */
.si-markdown pre .ges { font-weight: bold; font-style: italic } /* Generic.EmphStrong */
.si-markdown pre .gr { color: #cb2431 } /* Generic.Error */
.si-markdown pre .gh { color: #24292e; font-weight: bold } /* Generic.Heading */
.si-markdown pre .gi { color: #22863a } /* Generic.Inserted */
.si-markdown pre .go { color: #6a737d } /* Generic.Output */
.si-markdown pre .gp { color: #005cc5; font-weight: bold } /* Generic.Prompt */
.si-markdown pre .gs { font-weight: bold } /* Generic.Strong */
.si-markdown pre .gu { color: #6a737d; font-weight: bold } /* Generic.Subheading */
.si-markdown pre .gt { color: #cb2431 } /* Generic.Traceback */
.si-markdown pre .kc { color: #005cc5; font-weight: bold } /* Keyword.Constant */
.si-markdown pre .kd { color: #d73a49; font-weight: bold } /* Keyword.Declaration */
.si-markdown pre .kn { color: #d73a49; font-weight: bold } /* Keyword.Namespace */
.si-markdown pre .kp { color: #005cc5 } /* Keyword.Pseudo */
.si-markdown pre .kr { color: #d73a49; font-weight: bold } /* Keyword.Reserved */
.si-markdown pre .kt { color: #005cc5 } /* Keyword.Type */
.si-markdown pre .m { color: #005cc5 } /* Literal.Number */
.si-markdown pre .s { color: #032f62 } /* Literal.String */
.si-markdown pre .na { color: #6f42c1 } /* Name.Attribute */
.si-markdown pre .nb { color: #005cc5 } /* Name.Builtin */
.si-markdown pre .nc { color: #6f42c1; font-weight: bold } /* Name.Class */
.si-markdown pre .no { color: #005cc5 } /* Name.Constant */
.si-markdown pre .nd { color: #6f42c1 } /* Name.Decorator */
.si-markdown pre .ni { color: #24292e; font-weight: bold } /* Name.Entity */
.si-markdown pre .ne { color: #6f42c1; font-weight: bold } /* Name.Exception */
.si-markdown pre .nf { color: #6f42c1 } /* Name.Function */
.si-markdown pre .nl { color: #24292e } /* Name.Label */
.si-markdown pre .nn { color: #24292e; font-weight: bold } /* Name.Namespace */
.si-markdown pre .nt { color: #22863a; font-weight: bold } /* Name.Tag */
.si-markdown pre .nv { color: #953800 } /* Name.Variable */
.si-markdown pre .ow { color: #d73a49; font-weight: bold } /* Operator.Word */
.si-markdown pre .w { color: #6a737d } /* Text.Whitespace */
.si-markdown pre .mb { color: #005cc5 } /* Literal.Number.Bin */
.si-markdown pre .mf { color: #005cc5 } /* Literal.Number.Float */
.si-markdown pre .mh { color: #005cc5 } /* Literal.Number.Hex */
.si-markdown pre .mi { color: #005cc5 } /* Literal.Number.Integer */
.si-markdown pre .mo { color: #005cc5 } /* Literal.Number.Oct */
.si-markdown pre .sa { color: #032f62 } /* Literal.String.Affix */
.si-markdown pre .sb { color: #032f62 } /* Literal.String.Backtick */
.si-markdown pre .sc { color: #032f62 } /* Literal.String.Char */
.si-markdown pre .dl { color: #032f62 } /* Literal.String.Delimiter */
.si-markdown pre .sd { color: #032f62; font-style: italic } /* Literal.String.Doc */
.si-markdown pre .s2 { color: #032f62 } /* Literal.String.Double */
.si-markdown pre .se { color: #005cc5; font-weight: bold } /* Literal.String.Escape */
.si-markdown pre .sh { color: #032f62 } /* Literal.String.Heredoc */
.si-markdown pre .si { color: #032f62; font-weight: bold } /* Literal.String.Interpol */
.si-markdown pre .sx { color: #032f62 } /* Literal.String.Other */
.si-markdown pre .sr { color: #032f62 } /* Literal.String.Regex */
.si-markdown pre .s1 { color: #032f62 } /* Literal.String.Single */
.si-markdown pre .ss { color: #032f62 } /* Literal.String.Symbol */
.si-markdown pre .bp { color: #005cc5 } /* Name.Builtin.Pseudo */
.si-markdown pre .fm { color: #6f42c1 } /* Name.Function.Magic */
.si-markdown pre .vc { color: #953800 } /* Name.Variable.Class */
.si-markdown pre .vg { color: #953800 } /* Name.Variable.Global */
.si-markdown pre .vi { color: #953800 } /* Name.Variable.Instance */
.si-markdown pre .vm { color: #953800 } /* Name.Variable.Magic */
.si-markdown pre .il { color: #005cc5 } /* Literal.Number.Integer.Long */

/* === Syntax highlighting (Monokai-style for dark theme) === */

[data-bs-theme="dark"] .si-markdown pre .hll { background-color: #49483e }
[data-bs-theme="dark"] .si-markdown pre .c { color: #75715e; font-style: italic }
[data-bs-theme="dark"] .si-markdown pre .err { color: #f92672 }
[data-bs-theme="dark"] .si-markdown pre .k { color: #66d9ef; font-weight: bold }
[data-bs-theme="dark"] .si-markdown pre .o { color: #f8f8f2 }
[data-bs-theme="dark"] .si-markdown pre .ch { color: #75715e; font-style: italic }
[data-bs-theme="dark"] .si-markdown pre .cm { color: #75715e; font-style: italic }
[data-bs-theme="dark"] .si-markdown pre .cp { color: #75715e; font-style: italic }
[data-bs-theme="dark"] .si-markdown pre .cpf { color: #75715e; font-style: italic }
[data-bs-theme="dark"] .si-markdown pre .c1 { color: #75715e; font-style: italic }
[data-bs-theme="dark"] .si-markdown pre .cs { color: #75715e; font-style: italic }
[data-bs-theme="dark"] .si-markdown pre .gd { color: #f92672 }
[data-bs-theme="dark"] .si-markdown pre .ge { font-style: italic }
[data-bs-theme="dark"] .si-markdown pre .ges { font-weight: bold; font-style: italic }
[data-bs-theme="dark"] .si-markdown pre .gr { color: #f92672 }
[data-bs-theme="dark"] .si-markdown pre .gh { color: #e6edf3; font-weight: bold }
[data-bs-theme="dark"] .si-markdown pre .gi { color: #a6e22e }
[data-bs-theme="dark"] .si-markdown pre .go { color: #8b949e }
[data-bs-theme="dark"] .si-markdown pre .gp { color: #66d9ef; font-weight: bold }
[data-bs-theme="dark"] .si-markdown pre .gs { font-weight: bold }
[data-bs-theme="dark"] .si-markdown pre .gu { color: #75715e; font-weight: bold }
[data-bs-theme="dark"] .si-markdown pre .gt { color: #f92672 }
[data-bs-theme="dark"] .si-markdown pre .kc { color: #66d9ef; font-weight: bold }
[data-bs-theme="dark"] .si-markdown pre .kd { color: #66d9ef; font-weight: bold }
[data-bs-theme="dark"] .si-markdown pre .kn { color: #f92672; font-weight: bold }
[data-bs-theme="dark"] .si-markdown pre .kp { color: #66d9ef }
[data-bs-theme="dark"] .si-markdown pre .kr { color: #66d9ef; font-weight: bold }
[data-bs-theme="dark"] .si-markdown pre .kt { color: #66d9ef }
[data-bs-theme="dark"] .si-markdown pre .m { color: #ae81ff }
[data-bs-theme="dark"] .si-markdown pre .s { color: #e6db74 }
[data-bs-theme="dark"] .si-markdown pre .na { color: #a6e22e }
[data-bs-theme="dark"] .si-markdown pre .nb { color: #f8f8f2 }
[data-bs-theme="dark"] .si-markdown pre .nc { color: #a6e22e; font-weight: bold }
[data-bs-theme="dark"] .si-markdown pre .no { color: #66d9ef }
[data-bs-theme="dark"] .si-markdown pre .nd { color: #a6e22e }
[data-bs-theme="dark"] .si-markdown pre .ni { color: #f8f8f2; font-weight: bold }
[data-bs-theme="dark"] .si-markdown pre .ne { color: #a6e22e; font-weight: bold }
[data-bs-theme="dark"] .si-markdown pre .nf { color: #a6e22e }
[data-bs-theme="dark"] .si-markdown pre .nl { color: #f8f8f2 }
[data-bs-theme="dark"] .si-markdown pre .nn { color: #f8f8f2; font-weight: bold }
[data-bs-theme="dark"] .si-markdown pre .nt { color: #f92672; font-weight: bold }
[data-bs-theme="dark"] .si-markdown pre .nv { color: #f8f8f2 }
[data-bs-theme="dark"] .si-markdown pre .ow { color: #f92672; font-weight: bold }
[data-bs-theme="dark"] .si-markdown pre .w { color: #8b949e }
[data-bs-theme="dark"] .si-markdown pre .mb { color: #ae81ff }
[data-bs-theme="dark"] .si-markdown pre .mf { color: #ae81ff }
[data-bs-theme="dark"] .si-markdown pre .mh { color: #ae81ff }
[data-bs-theme="dark"] .si-markdown pre .mi { color: #ae81ff }
[data-bs-theme="dark"] .si-markdown pre .mo { color: #ae81ff }
[data-bs-theme="dark"] .si-markdown pre .sa { color: #e6db74 }
[data-bs-theme="dark"] .si-markdown pre .sb { color: #e6db74 }
[data-bs-theme="dark"] .si-markdown pre .sc { color: #e6db74 }
[data-bs-theme="dark"] .si-markdown pre .dl { color: #e6db74 }
[data-bs-theme="dark"] .si-markdown pre .sd { color: #e6db74; font-style: italic }
[data-bs-theme="dark"] .si-markdown pre .s2 { color: #e6db74 }
[data-bs-theme="dark"] .si-markdown pre .se { color: #ae81ff; font-weight: bold }
[data-bs-theme="dark"] .si-markdown pre .sh { color: #e6db74 }
[data-bs-theme="dark"] .si-markdown pre .si { color: #e6db74; font-weight: bold }
[data-bs-theme="dark"] .si-markdown pre .sx { color: #e6db74 }
[data-bs-theme="dark"] .si-markdown pre .sr { color: #e6db74 }
[data-bs-theme="dark"] .si-markdown pre .s1 { color: #e6db74 }
[data-bs-theme="dark"] .si-markdown pre .ss { color: #e6db74 }
[data-bs-theme="dark"] .si-markdown pre .bp { color: #f8f8f2 }
[data-bs-theme="dark"] .si-markdown pre .fm { color: #a6e22e }
[data-bs-theme="dark"] .si-markdown pre .vc { color: #f8f8f2 }
[data-bs-theme="dark"] .si-markdown pre .vg { color: #f8f8f2 }
[data-bs-theme="dark"] .si-markdown pre .vi { color: #f8f8f2 }
[data-bs-theme="dark"] .si-markdown pre .vm { color: #f8f8f2 }
[data-bs-theme="dark"] .si-markdown pre .il { color: #ae81ff }

/* === Browsing lists (si-list) === */

.si-list {
  display: flex;
  flex-direction: column;
  background: var(--si-surface);
  border: 1px solid var(--si-border);
  border-radius: 8px;
}

.si-list-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--si-border-subtle);
}

.si-list-item:last-child {
  border-bottom: none;
}

.si-list-item-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  min-width: 0;
}

.si-list-item-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--si-accent);
}

.si-list-item-title a {
  color: var(--si-accent);
}

.si-list-item-meta {
  font-size: 0.8rem;
  color: var(--si-text-muted);
  font-family: 'JetBrains Mono', monospace;
}

.si-list-item-desc {
  font-size: 0.875rem;
  color: var(--si-text-secondary);
  width: 100%;
}

.si-list-item-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 0;
}

/* === Management tables (si-table) === */

.si-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.si-table thead th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--si-text-muted);
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--si-border);
  white-space: nowrap;
}

.si-table tbody td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--si-border-subtle);
  color: var(--si-text-secondary);
  vertical-align: middle;
}

.si-table tbody tr:last-child td {
  border-bottom: none;
}

.si-table-compact thead th,
.si-table-compact tbody td {
  padding: 0.4rem 0.6rem;
  font-size: 0.8rem;
}

/* === Member avatars === */

.si-members-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.si-member-avatar {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
}

.si-avatar-img {
  border-radius: 50%;
  border: 1px solid var(--si-border);
}

.si-member-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none !important;
  color: var(--si-text-secondary);
}

.si-member-link:hover {
  color: var(--si-accent);
}

/* === Responsive === */

@media (max-width: 480px) {
  .si-brand-text {
    visibility: hidden;
    width: 0;
    overflow: hidden;
  }
}

@media (max-width: 768px) {
  .si-home-columns {
    grid-template-columns: 1fr;
  }

  .si-navbar .container {
    gap: 0.5rem;
  }

  .si-nav-links {
    order: 1;
    gap: 0.5rem;
  }

  .si-nav-search {
    order: 10;
    flex-basis: 100%;
    max-width: none;
  }

  .si-nav-username {
    display: none;
  }

  .si-hero h1 {
    font-size: 1.75rem;
  }

  .si-hero {
    padding: 2rem 0 1.5rem;
  }

  .si-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .si-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
  }

  .si-tabs::-webkit-scrollbar {
    display: none;
  }

  .si-tabs-wrapper {
    position: relative;
    min-width: 0;
  }

  .si-tabs-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 2rem;
    background: linear-gradient(to right, transparent, var(--si-bg));
    pointer-events: none;
    z-index: 1;
  }

  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }


  .si-tab {
    flex-shrink: 0;
    padding: 0.6rem 0.75rem;
    font-size: 0.75rem;
  }

  .si-card {
    overflow-x: auto;
  }

  .si-project-layout {
    flex-direction: column;
  }

  .si-project-sidebar {
    width: 100%;
  }

  .si-page-header {
    flex-wrap: wrap;
  }

  .si-page-header-actions {
    margin-left: auto;
  }

  .si-project-header {
    display: flex;
    flex-direction: column;
  }

  .si-list-item {
    gap: 0.5rem;
  }

  .si-list-item-actions {
    flex-shrink: 0;
  }

  .si-release-item {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .si-release-version {
    min-width: auto;
  }

  .si-release-date {
    margin-left: auto;
  }
}
