/* =====================================
   THEME TOKENS
===================================== */

:root {
  color-scheme: light;

  --bg: #f8f8fc;
  --surface: #ffffff;
  --border: #e7e4f2;

  --text: #171a2b;
  --text-muted: #6d6a86;

  --primary: #6a3fe0;
  --primary-hover: #582fc4;
  --primary-contrast: #ffffff;
  --primary-soft: rgba(106, 63, 224, 0.14);

  --accent: #e83e8c;
  --accent-hover: #d62d7d;
  --accent-soft: rgba(232, 62, 140, 0.14);
  --on-accent: #ffffff;

  --step-bg: #f3f0fa;
  --step-text: #433b62;
  --step-completed-bg: rgba(91, 60, 196, 0.12);
  --step-completed-text: #4a2fa5;

  --toast-bg: rgba(26, 20, 44, 0.95);
  --toast-text: #ffffff;

  --chip-news-bg: rgba(91, 60, 196, 0.12);
  --chip-news-text: #4a2fa5;
  --chip-event-bg: rgba(232, 62, 140, 0.14);
  --chip-event-text: #b42368;

  --map-muted: #6d6a86;
  --map-surface-2: #f3f0fa;
  --pin-base: #ffffff;

  --pin-news-1: #5b3cc4;
  --pin-news-2: #8a6cff;
  --pin-event-1: #e83e8c;
  --pin-event-2: #ff6aa9;

  --cluster-border: #ffffff;
  --cluster-text: #ffffff;

  --icon-hover: #241d3d;

  --badge-blue-bg: rgba(91, 60, 196, 0.12);
  --badge-blue-text: #4a2fa5;

  --badge-green-bg: rgba(16, 185, 129, 0.14);
  --badge-green-text: #065f46;

  --badge-red-bg: rgba(239, 68, 68, 0.14);
  --badge-red-text: #7f1d1d;

  --badge-yellow-bg: rgba(245, 158, 11, 0.16);
  --badge-yellow-text: #78350f;

  --badge-gray-bg: rgba(148, 163, 184, 0.18);
  --badge-gray-text: #433b62;

  --shadow-1: 0 8px 25px rgba(33, 20, 66, 0.10);
  --shadow-2: 0 4px 12px rgba(33, 20, 66, 0.28);
  --shadow-3: 0 3px 10px rgba(33, 20, 66, 0.18);
  --control-shadow: 0 2px 6px rgba(33, 20, 66, 0.15);

  --pin-icon: #ffffff;

  --success: #16a34a;
  --warning: #f59e0b;
  --danger: #e11d48;
  --info: #6a3fe0;

  --success-soft: rgba(22, 163, 74, 0.14);
  --warning-soft: rgba(245, 158, 11, 0.16);
  --danger-soft: rgba(225, 29, 72, 0.14);
  --info-soft: rgba(106, 63, 224, 0.14);

  --on-success: #ffffff;
  --on-warning: #0b1220;
  --on-danger: #ffffff;
  --on-info: #ffffff;
}

:root[data-theme="dark"] {
  color-scheme: dark;

  --bg: #0d0b17;
  --surface: #151222;
  --border: #27223a;

  --text: #f1effa;
  --text-muted: #aea8c7;

  --primary: #9a7cff;
  --primary-hover: #8666f5;
  --primary-contrast: #0d0b17;
  --primary-soft: rgba(154, 124, 255, 0.18);

  --accent: #ff5ca8;
  --accent-hover: #f04394;
  --accent-soft: rgba(255, 92, 168, 0.18);
  --on-accent: #0d0b17;

  --step-bg: #211c31;
  --step-text: #d9d3f2;
  --step-completed-bg: rgba(138, 108, 255, 0.18);
  --step-completed-text: #f1effa;

  --toast-bg: rgba(0, 0, 0, 0.82);
  --toast-text: #f1effa;

  --chip-news-bg: rgba(138, 108, 255, 0.18);
  --chip-news-text: #ddd3ff;
  --chip-event-bg: rgba(255, 92, 168, 0.18);
  --chip-event-text: #ffc4de;

  --map-muted: #aea8c7;
  --map-surface-2: #110f1b;
  --pin-base: #151222;

  --pin-news-1: #8a6cff;
  --pin-news-2: #a891ff;
  --pin-event-1: #ff5ca8;
  --pin-event-2: #ff7dbb;

  --cluster-border: #151222;
  --cluster-text: #0d0b17;

  --icon-hover: #ffffff;

  --badge-blue-bg: rgba(138, 108, 255, 0.18);
  --badge-blue-text: #ddd3ff;

  --badge-green-bg: rgba(52, 211, 153, 0.16);
  --badge-green-text: #a7f3d0;

  --badge-red-bg: rgba(248, 113, 113, 0.18);
  --badge-red-text: #fecaca;

  --badge-yellow-bg: rgba(251, 191, 36, 0.16);
  --badge-yellow-text: #fde68a;

  --badge-gray-bg: rgba(148, 163, 184, 0.16);
  --badge-gray-text: #ece8fb;

  --shadow-1: 0 10px 30px rgba(0, 0, 0, 0.55);
  --shadow-2: 0 6px 16px rgba(0, 0, 0, 0.60);
  --shadow-3: 0 4px 12px rgba(0, 0, 0, 0.55);
  --control-shadow: 0 6px 16px rgba(0, 0, 0, 0.55);

  --pin-icon: #0d0b17;

  --success: #34d399;
  --warning: #fbbf24;
  --danger: #fb7185;
  --info: #9a7cff;

  --success-soft: rgba(52, 211, 153, 0.16);
  --warning-soft: rgba(251, 191, 36, 0.16);
  --danger-soft: rgba(251, 113, 133, 0.16);
  --info-soft: rgba(154, 124, 255, 0.18);

  --on-success: #0d0b17;
  --on-warning: #0d0b17;
  --on-danger: #0d0b17;
  --on-info: #0d0b17;
}

.bg-app { background: var(--bg); }

.bg-surface { background: var(--surface); }

.text-app { color: var(--text); }

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

.border-app { border-color: var(--border); }

.bg-success { background: var(--success); }

.bg-warning { background: var(--warning); }

.bg-danger  { background: var(--danger); }

.bg-info    { background: var(--info); }

.bg-success-soft { background: var(--success-soft); }

.bg-warning-soft { background: var(--warning-soft); }

.bg-danger-soft  { background: var(--danger-soft); }

.bg-info-soft    { background: var(--info-soft); }

.text-success { color: var(--success); }

.text-warning { color: var(--warning); }

.text-danger  { color: var(--danger); }

.text-info    { color: var(--info); }

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: var(--surface);
  padding: 0.25rem;
}

.language-switcher__item {
  display: inline-flex;
  min-width: 2.5rem;
  min-height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.language-switcher__item:hover,
.language-switcher__item:focus-visible {
  color: var(--text);
}

.language-switcher__item:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.language-switcher__item.is-active {
  background: var(--primary);
  color: var(--primary-contrast);
}

.language-dropdown {
  position: relative;
  display: inline-flex;
}

.language-dropdown summary {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: var(--surface);
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.language-dropdown summary::-webkit-details-marker {
  display: none;
}

.language-dropdown summary::marker {
  content: "";
  font-size: 0;
}

.language-dropdown summary:hover,
.language-dropdown[open] summary {
  background: var(--step-bg);
  color: var(--primary-hover);
}

.language-dropdown__icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.language-dropdown__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  z-index: 60;
  display: grid;
  width: 12rem;
  gap: 0.25rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--surface);
  padding: 0.45rem;
  box-shadow: var(--shadow-1);
}

.language-dropdown__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-radius: 0.55rem;
  padding: 0.55rem 0.65rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 650;
  text-decoration: none;
}

.language-dropdown__item span:last-child {
  color: inherit;
  font-size: 0.72rem;
  font-weight: 800;
}

.language-dropdown__item:hover,
.language-dropdown__item.is-active {
  background: var(--primary-soft);
  color: var(--primary);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.75rem;
}

.footer-social__item {
  display: inline-flex;
  width: 2.45rem;
  height: 2.45rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: var(--surface);
  color: var(--text-muted);
  text-decoration: none;
}

.footer-social__text-link {
  width: auto;
  min-width: 2.45rem;
  padding: 0 0.85rem;
  font-size: 0.86rem;
  font-weight: 700;
}

.footer-social__icon {
  width: 1.12rem;
  height: 1.12rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.footer-social__icon path,
.footer-social__icon rect,
.footer-social__icon circle {
  vector-effect: non-scaling-stroke;
}

.footer-social__item[aria-label="Facebook"] .footer-social__icon {
  fill: currentColor;
  stroke: none;
}

.site-footer {
  padding: 1.25rem 1rem;
}

.site-footer__inner {
  display: grid;
  width: min(100%, 78rem);
  margin-inline: auto;
  gap: 1.1rem;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.newsletter-signup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 28rem);
  gap: 1rem;
  align-items: center;
  scroll-margin-top: 7rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: color-mix(in srgb, var(--step-bg), var(--surface) 56%);
  padding: 1rem;
  text-align: left;
}

.newsletter-signup__copy {
  min-width: 0;
}

.newsletter-signup__eyebrow {
  margin: 0 0 0.35rem;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.newsletter-signup h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1.18;
  font-weight: 800;
}

.newsletter-signup__copy p:not(.newsletter-signup__eyebrow) {
  margin: 0.45rem 0 0;
  max-width: 42rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.newsletter-signup__form {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
}

.newsletter-signup__field {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.newsletter-signup__label {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
}

.newsletter-signup__controls {
  display: flex;
  gap: 0.45rem;
  min-width: 0;
}

.newsletter-signup__select,
.newsletter-signup__input {
  min-width: 0;
  height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  padding: 0 0.85rem;
  font-size: 0.95rem;
  outline: none;
}

.newsletter-signup__input {
  flex: 1 1 auto;
}

.newsletter-signup__select {
  width: 100%;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:
    calc(100% - 1.05rem) 1.15rem,
    calc(100% - 0.78rem) 1.15rem;
  background-size: 0.28rem 0.28rem, 0.28rem 0.28rem;
  background-repeat: no-repeat;
  padding-right: 2.1rem;
}

.newsletter-signup__language-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.newsletter-signup__select:focus,
.newsletter-signup__input:focus {
  border-color: color-mix(in srgb, var(--primary), var(--border) 38%);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.newsletter-signup__button {
  display: inline-flex;
  min-height: 2.75rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: var(--primary);
  color: var(--primary-contrast);
  padding: 0 1rem;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

.newsletter-signup__button:hover,
.newsletter-signup__button:focus-visible {
  background: var(--primary-hover);
}

.newsletter-signup__notice {
  display: none;
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
}

.newsletter-signup__notice.is-success,
.newsletter-signup__notice.is-warning,
.newsletter-signup__notice.is-error {
  display: block;
}

.newsletter-signup__notice.is-success {
  background: var(--success-soft);
  color: var(--success);
}

.newsletter-signup__notice.is-warning {
  background: var(--warning-soft);
  color: var(--warning);
}

.newsletter-signup__notice.is-error {
  background: var(--danger-soft);
  color: var(--danger);
}

.newsletter-signup__fine-print {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

@media (max-width: 760px) {
  .site-footer__bottom {
    justify-content: center;
    text-align: center;
  }

  .newsletter-signup {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .newsletter-signup__copy p:not(.newsletter-signup__eyebrow) {
    margin-inline: auto;
  }

  .newsletter-signup__controls {
    flex-direction: column;
  }

  .newsletter-signup__button {
    width: 100%;
  }
}

a.footer-social__item:hover {
  border-color: color-mix(in srgb, var(--primary), transparent 70%);
  background: var(--primary-soft);
  color: var(--primary);
}

/* Token-based pills (no Tailwind needed for colors) */

.tl-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.375rem 0.625rem;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

.tl-success { background: var(--success-soft); color: var(--success); }

.tl-danger  { background: var(--danger-soft);  color: var(--danger); }

.tl-warning { background: var(--warning-soft); color: var(--warning); }

.tl-neutral { background: var(--step-bg);      color: var(--text); }

.tl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;

  padding: 0.625rem 1.25rem;
  border-radius: 0.75rem;

  font-weight: 600;
  font-size: 0.875rem;

  transition: all 150ms ease;
  cursor: pointer;
}

.tl-btn-icon {
  min-width: 2.75rem;
  padding-inline: 0.8rem;
}

.tl-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

button:disabled,
[role="button"][aria-disabled="true"],
[data-tl-loading="true"] {
  opacity: 0.72;
  cursor: wait;
}

[data-tl-loading="true"] {
  pointer-events: none;
}

.tl-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  color: var(--text-muted);
  background: transparent;
  transition: background 150ms ease, color 150ms ease, transform 150ms ease;
}

.tl-icon-button:hover {
  background: var(--step-bg);
  color: var(--primary);
}

.tl-icon-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
}

.tl-icon-button.is-danger:hover {
  color: var(--danger);
}

.tl-icon-button.is-success:hover {
  color: var(--success);
}

.tl-icon-button.is-warning:hover {
  color: var(--warning);
}

.tl-icon-button.is-active {
  background: var(--step-bg);
  color: var(--primary);
}

.tl-btn-neutral {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.tl-btn-neutral:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.tl-btn-primary {
  background: var(--primary);
  color: white;
  border: 1px solid var(--primary);
}

.tl-btn-primary:hover {
  opacity: 0.9;
}

.tl-btn-success {
  background: var(--success-soft);
  color: var(--success);
  border: 1px solid var(--success-soft);
}

.tl-btn-success:hover {
  opacity: 0.9;
}

.tl-btn-warning {
  background: var(--warning-soft);
  color: var(--warning);
  border: 1px solid var(--warning-soft);
}

.tl-btn-warning:hover {
  opacity: 0.9;
}

.tl-btn-danger {
  background: var(--danger-soft);
  color: var(--danger);
  border: 1px solid var(--danger-soft);
}

.tl-btn-danger:hover {
  background: var(--danger);
  color: white;
}

.tl-btn-accent {
  background: var(--accent);
  color: var(--on-accent);
  border: 1px solid var(--accent);
}

.tl-btn-accent:hover {
  background: var(--accent-hover);
}

.tl-flash-stack {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.tl-flash {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}

.tl-flash-icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  flex: 0 0 auto;
}

.tl-flash-success .tl-flash-icon {
  background: var(--success-soft);
  color: var(--success);
}

.tl-flash-error .tl-flash-icon {
  background: var(--danger-soft);
  color: var(--danger);
}

.tl-flash-warning .tl-flash-icon {
  background: var(--warning-soft);
  color: var(--warning);
}

.tl-flash-info .tl-flash-icon {
  background: var(--info-soft);
  color: var(--info);
}

.tl-flash-success {
  border-color: color-mix(in srgb, var(--success) 18%, var(--border));
}

.tl-flash-error {
  border-color: color-mix(in srgb, var(--danger) 18%, var(--border));
}

.tl-flash-warning {
  border-color: color-mix(in srgb, var(--warning) 18%, var(--border));
}

.tl-flash-info {
  border-color: color-mix(in srgb, var(--info) 18%, var(--border));
}

.tl-toast {
  background: var(--surface);
}

.tl-toast-icon {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
}

.tl-toast[data-tone="success"] .tl-toast-icon {
  background: var(--success-soft);
  color: var(--success);
}

.tl-toast[data-tone="error"] .tl-toast-icon {
  background: var(--danger-soft);
  color: var(--danger);
}

.tl-toast[data-tone="warning"] .tl-toast-icon {
  background: var(--warning-soft);
  color: var(--warning);
}

.tl-toast[data-tone="info"] .tl-toast-icon {
  background: var(--info-soft);
  color: var(--info);
}

.tl-inline-spinner {
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 9999px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  display: inline-block;
  flex: 0 0 auto;
  animation: tl-spin 0.6s linear infinite;
}

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

.tl-page-shell {
  width: min(100%, 72rem);
  margin-inline: auto;
  padding-block: 2.5rem;
}

.tl-page-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.tl-page-intro {
  max-width: 44rem;
}

.tl-page-title {
  margin: 0;
  color: var(--text);
  font-size: clamp(2rem, 1.25rem + 1.7vw, 2.75rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 760;
}

.tl-page-description {
  margin-top: 0.8rem;
  max-width: 42rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.tl-chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.tl-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 0.55rem 0.9rem;
  font-size: 0.78rem;
  line-height: 1;
  font-weight: 600;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}

.tl-chip:hover {
  background: var(--step-bg);
}

.tl-chip i {
  font-size: 0.75rem;
}

.tl-chip.is-active {
  background: var(--step-bg);
}

.tl-panel {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-1);
}

.tl-panel-body {
  padding: 1.25rem;
}

.tl-filter-surface {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-1);
  padding: 1rem 1.25rem;
}

.tl-section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

.tl-section-title {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.5rem, 1.2rem + 0.6vw, 1.8rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 720;
}

.tl-section-caption {
  margin-top: 0.4rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.tl-section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 9999px;
  padding: 0.65rem 0.95rem;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 650;
  transition: background 150ms ease, color 150ms ease;
}

.tl-section-link:hover {
  background: var(--step-bg);
  color: var(--primary-hover);
}

.homepage-list-workspace {
  display: grid;
  gap: 1rem;
}

.homepage-candidate-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.homepage-candidate-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-muted);
  padding: 0.45rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.homepage-candidate-tab:hover,
.homepage-candidate-tab:focus-visible {
  border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
  color: var(--text);
  outline: none;
}

.homepage-candidate-tab.is-active {
  border-color: color-mix(in srgb, var(--primary) 48%, var(--border));
  background: color-mix(in srgb, var(--primary) 12%, var(--surface));
  color: var(--text);
  box-shadow: 0 10px 22px color-mix(in srgb, var(--primary) 10%, transparent);
}

.homepage-list-workspace--inline {
  margin-top: 0.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.homepage-list-inline-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.85rem;
}

.homepage-list-inline-header h3 {
  margin: 0.18rem 0 0;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.25;
  font-weight: 740;
}

.homepage-list-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: start;
}

.homepage-list-board--stacked {
  grid-template-columns: 1fr;
}

.homepage-list-column {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--surface);
  box-shadow: var(--shadow-1);
}

.homepage-list-column__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--step-bg) 62%, var(--surface));
}

.homepage-list-column__header h3 {
  margin: 0.2rem 0 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 740;
}

.homepage-list-column__count {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 1.75rem;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: var(--surface);
  color: var(--text-muted);
  padding: 0.35rem 0.65rem;
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 700;
}

.homepage-list-rows {
  display: grid;
}

.homepage-list-row {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.75rem 0.85rem;
  background: var(--surface);
}

.homepage-list-row + .homepage-list-row {
  border-top: 1px solid var(--border);
}

.homepage-list-row.is-filled {
  background: color-mix(in srgb, var(--primary-soft) 28%, var(--surface));
}

.homepage-list-position {
  display: flex;
  justify-content: center;
}

.homepage-list-position span {
  display: inline-flex;
  width: 1.85rem;
  height: 1.85rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.82rem;
  line-height: 1;
  font-weight: 760;
}

.homepage-list-control {
  min-width: 0;
  display: grid;
  gap: 0.45rem;
}

.homepage-list-control label {
  color: var(--text-muted);
  font-size: 0.68rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.homepage-list-control select {
  width: 100%;
  min-height: 2.45rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--surface);
  color: var(--text);
  padding: 0.55rem 0.7rem;
  font-size: 0.88rem;
  line-height: 1.3;
  font-weight: 600;
}

.homepage-list-control select:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--primary) 42%, var(--border));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 16%, transparent);
}

.homepage-list-current {
  min-width: 0;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.homepage-list-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.homepage-list-action {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.82rem;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.homepage-list-action:hover:not(:disabled),
.homepage-list-action:focus-visible:not(:disabled) {
  transform: translateY(-1px);
}

.homepage-list-action:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 16%, transparent);
}

.homepage-list-action:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.homepage-list-action--save:not(:disabled) {
  border-color: color-mix(in srgb, var(--success) 34%, var(--border));
  background: var(--success-soft);
  color: var(--success);
}

.homepage-list-action--clear:not(:disabled):hover,
.homepage-list-action--clear:not(:disabled):focus-visible {
  border-color: color-mix(in srgb, var(--danger) 34%, var(--border));
  background: var(--danger-soft);
  color: var(--danger);
}

.tl-archive-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: var(--shadow-1);
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.tl-archive-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  border-color: color-mix(in srgb, var(--primary) 18%, var(--border));
}

.tl-archive-card-body {
  padding: 1.1rem;
  display: grid;
  gap: 0.55rem;
}

.tl-eyebrow {
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.25;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.editor-mode-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.editor-mode-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  padding: 0.6rem 1rem;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 650;
  text-decoration: none;
  transition: background 150ms ease, color 150ms ease;
}

.editor-mode-link:hover {
  background: var(--step-bg);
  color: var(--primary);
}

.editor-mode-link.is-current,
.editor-mode-link[aria-selected="true"] {
  background: var(--step-bg);
  color: var(--primary);
}

.editor-mode-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding-inline: 0.35rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.editor-jump-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.editor-jump-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 0.55rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}

.editor-jump-link:hover {
  background: var(--step-bg);
  color: var(--primary);
  border-color: color-mix(in srgb, var(--primary) 18%, var(--border));
}

.editor-history-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--sidebar) 18%, transparent);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.editor-history-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.editor-history-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 70;
  width: min(42rem, 100vw);
  height: 100vh;
  background: var(--bg);
  border-left: 1px solid var(--border);
  box-shadow: var(--shadow-2);
  transform: translateX(100%);
  transition: transform 220ms ease;
  display: flex;
  flex-direction: column;
}

.editor-history-drawer.is-open {
  transform: translateX(0);
}

.editor-history-drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.editor-history-drawer-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 1.5rem;
}

.tl-card-title {
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1.35;
  font-weight: 720;
}

.tl-card-summary {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.tl-card-meta {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.tl-empty-state {
  border: 1px dashed var(--border);
  background: var(--surface);
  border-radius: 1.5rem;
  padding: 2rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.7;
}

.tl-stat-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
}

.tl-stat-card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-1);
  padding: 1.25rem;
}

.tl-stat-label {
  color: var(--text-muted);
  font-size: 0.72rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tl-stat-value {
  margin-top: 0.45rem;
  color: var(--text);
  font-size: clamp(2rem, 1.4rem + 1.2vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 760;
}

.tl-article-shell {
  max-width: 48rem;
  margin-inline: auto;
  padding-inline: 1rem;
  padding-block: 2.5rem;
}

.tl-article-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.tl-article-kicker {
  margin-bottom: 0.55rem;
}

.tl-article-title {
  color: var(--text);
  font-size: clamp(2rem, 1.35rem + 1.3vw, 2.65rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 760;
}

.tl-article-subtitle {
  margin-top: 0.8rem;
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.65;
  font-weight: 500;
}

.tl-article-meta {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.tl-summary-lead {
  margin-top: 1.5rem;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.8;
}

.tl-info-panel {
  margin-top: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--surface);
  padding: 1.25rem;
  box-shadow: var(--shadow-1);
}

.tl-info-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

.tl-info-card {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--step-bg);
  padding: 1rem;
}

.tl-info-label {
  color: var(--text-muted);
  font-size: 0.72rem;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.tl-info-value {
  margin-top: 0.35rem;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.55;
  font-weight: 650;
}

.tl-event-shell {
  max-width: 72rem;
}

.tl-event-shell .tl-article-header,
.tl-event-shell > [data-content-cover-photo] {
  max-width: 48rem;
}

.tl-event-facts-strip {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
}

.tl-event-fact {
  display: flex;
  min-height: 4.75rem;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface);
  padding: 0.9rem 1rem;
  box-shadow: var(--shadow-1);
  color: var(--text);
}

.tl-event-fact span {
  color: var(--text-muted);
  font-size: 0.68rem;
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tl-event-fact strong {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.35;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.tl-event-fact-link {
  position: relative;
  border-color: color-mix(in srgb, var(--primary) 45%, var(--border));
  background: color-mix(in srgb, var(--primary) 8%, var(--surface));
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.tl-event-fact-link:hover {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 13%, var(--surface));
}

.tl-event-fact-link:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 35%, transparent);
  outline-offset: 3px;
}

.tl-event-fact-link strong {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.tl-event-fact-link em {
  display: inline-flex;
  width: -moz-fit-content;
  width: fit-content;
  border: 1px solid color-mix(in srgb, var(--primary) 45%, var(--border));
  border-radius: 999px;
  background: var(--surface);
  padding: 0.18rem 0.5rem;
  color: var(--primary);
  font-size: 0.68rem;
  line-height: 1.2;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tl-event-layout {
  margin-top: 1.5rem;
}

.tl-event-story-column {
  min-width: 0;
}

.tl-event-story-column .tl-summary-lead {
  margin-top: 0;
}

.tl-event-story-column .content-body {
  margin-top: 2rem;
}

.tl-event-sidebar {
  margin-top: 2rem;
}

.tl-event-sidebar-panel:first-child {
  margin-top: 0;
}

.tl-event-sidebar-panel[id] {
  scroll-margin-top: 6rem;
}

.tl-event-sidebar-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
}

.tl-event-sidebar-row {
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
}

.tl-event-sidebar-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.tl-event-sidebar-row strong {
  margin-top: 0.35rem;
  display: block;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 750;
}

.tl-event-sidebar-row strong span {
  display: block;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.tl-event-series-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.65rem;
}

.tl-event-series-item {
  display: block;
  border: 1px solid var(--border);
  border-radius: 0.95rem;
  background: var(--step-bg);
  padding: 0.85rem 0.9rem;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.tl-event-series-item:hover {
  border-color: var(--primary);
  background: var(--surface);
}

.tl-event-series-title {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.35;
  font-weight: 750;
}

.tl-event-series-time,
.tl-event-series-location {
  margin-top: 0.2rem;
  display: block;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.45;
  font-weight: 600;
}

.tl-event-parent-link {
  margin-top: 0.8rem;
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.6rem 0.9rem;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.35;
  font-weight: 750;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.tl-event-parent-link:hover {
  border-color: var(--primary);
  background: var(--step-bg);
}

@media (min-width: 1024px) {
  .tl-event-facts-strip {
    display: none;
  }

  .tl-event-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 22rem);
    gap: 2rem;
    align-items: start;
  }

  .tl-event-sidebar {
    position: sticky;
    top: 6rem;
    max-height: calc(100vh - 7rem);
    margin-top: 0;
    overflow: auto;
    padding-right: 0.2rem;
  }

  .tl-event-series-list {
    max-height: 28rem;
    overflow: auto;
    padding-right: 0.15rem;
  }
}

/* ================================
   STEPPER COMPONENT
================================ */

.step-pill{
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  padding:.55rem .9rem;
  border-radius:9999px;
  border:1px solid var(--border);
  background:var(--surface);
  color:var(--text);
  font-weight:600;
  font-size:.95rem;
  transition: all .15s ease;
}

.step-pill:hover{
  background:var(--step-bg);
}

.step-pill[aria-current="step"]{
  border-color:var(--primary);
  box-shadow:0 0 0 3px color-mix(in srgb, var(--primary) 20%, transparent);
}

.step-pill[aria-disabled="true"]{
  opacity:.45;
  cursor:not-allowed;
}

.step-num{
  width:1.7rem;
  height:1.7rem;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:9999px;
  background:var(--step-bg);
  color:var(--text);
  font-size:.85rem;
  font-weight:800;
}

.step-pill[aria-current="step"] .step-num{
  background:var(--primary-soft);
  color:var(--primary);
}

.step-lock{
  font-size:.95rem;
  opacity:.85;
}

.step-nav-btn{
  padding:.55rem 1rem;
  border-radius:.75rem;
  border:1px solid var(--border);
  background:var(--surface);
  font-size:.9rem;
  font-weight:700;
  color:var(--text);
  transition:background .15s ease;
}

.step-nav-btn:hover{
  background:var(--step-bg);
}

.step-nav-btn:disabled{
  opacity:.45;
  cursor:not-allowed;
}

body {
  background-color: var(--bg);
  color: var(--text);
}

.editor-shell {
  display: grid;
  gap: 1.5rem;
}

.editor-shell__main,
.editor-shell__assistant {
  min-width: 0;
}

@media (min-width: 1240px) {
  .editor-shell {
    grid-template-columns: minmax(0, 1fr) 22rem;
    align-items: start;
  }

  .editor-shell__assistant {
    position: sticky;
    top: 6rem;
    max-height: calc(100vh - 7rem);
    overflow-y: auto;
    padding-right: 0.25rem;
  }
}

@media (max-width: 1120px) {
  .homepage-list-board {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .tl-page-shell,
  .tl-article-shell {
    padding-block: 1.8rem;
  }

  .tl-page-header {
    margin-bottom: 1.5rem;
  }

  .tl-article-header {
    flex-direction: column;
  }

  .homepage-list-row {
    grid-template-columns: 2rem minmax(0, 1fr);
  }

  .homepage-list-actions {
    grid-column: 2;
    justify-content: flex-end;
  }
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #0d0b17;
    --surface: #151222;
    --border: #27223a;

    --text: #f1effa;
    --text-muted: #aea8c7;

    --primary: #8a6cff;
    --primary-hover: #7455ee;
    --primary-contrast: #0d0b17;
    --primary-soft: rgba(138, 108, 255, 0.16);

    --accent: #c94c86;
    --accent-hover: #b43f76;
    --on-accent: #ffffff;


    --step-bg: #211c31;
    --step-text: #d9d3f2;
    --step-completed-bg: rgba(138, 108, 255, 0.18);
    --step-completed-text: #f1effa;
  }
}

/* ================================
   Global Product Base
   ================================ */

html, body { height: 100%; }

body {
  background-color: var(--bg);
  color: var(--text);

  /* Optional but usually helps with mixed Tailwind/custom CSS */
  margin: 0;
}

/* Keep main flex layouts happy */

main { min-height: 0; }

/* Reusable card (used beyond editor) */

.card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.app-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Links should not become “mystery blue” in dark mode */

a {
  color: var(--primary);
}

a:hover {
  color: var(--primary-hover);
}

/* Form controls: otherwise they stay bright in dark mode on some browsers */

input, textarea, select, button {
  color: inherit;
}

/* Optional: selection highlight looks nicer in both themes */

::-moz-selection {
  background: color-mix(in srgb, var(--primary) 25%, transparent);
}

::selection {
  background: color-mix(in srgb, var(--primary) 25%, transparent);
}

/* RTL helpers */

[dir="rtl"] { direction: rtl; }

[dir="rtl"] .text-left { text-align: right; }

[dir="rtl"] .ml-auto { margin-left: 0; margin-right: auto; }

/* IMPORTANT:
   Avoid overriding Tailwind's .container globally unless you're sure.
   If you *need* a custom container, rename it to .app-container instead.
*/

/* ======================================================
   BetaVoices Editorial Content Typography
   Used by News, Events, Figures
====================================================== */

.content-body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  max-width: 760px;
  word-break: break-word;
}

/* -----------------------------
   Paragraphs → justified
------------------------------*/

.content-body p {
  margin-bottom: 1rem;
  text-align: justify;
  hyphens: auto;
}

/* -----------------------------
   Headings
------------------------------*/

.content-body h2 {
  font-size: 1.5rem;
  margin: 1.75rem 0 0.75rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  color: var(--text);
}

.content-body h3 {
  font-size: 1.25rem;
  margin: 1.5rem 0 0.625rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  color: var(--text);
}

/* -----------------------------
   Lists
------------------------------*/

.content-body ul,
.content-body ol {
  margin: 0 0 1rem 1.25rem;
}

.content-body li {
  margin-bottom: 0.4rem;
  text-align: justify;
  hyphens: auto;
}

/* -----------------------------
   Blockquotes
------------------------------*/

.content-body blockquote {
  margin: 1.25rem 0;
  padding-left: 1rem;
  border-left: 3px solid var(--border);
  color: var(--text-muted);
  font-style: italic;
  text-align: justify;
  hyphens: auto;
  background: color-mix(in srgb, var(--primary-soft) 35%, transparent);
  border-radius: 0 10px 10px 0;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  padding-right: 0.75rem;
}

.content-body .bv-block {
  margin: 1.5rem 0;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: color-mix(in srgb, var(--step-bg) 78%, white);
}

.content-body .bv-block h3 {
  margin-top: 0;
}

.content-body .bv-block-pull-quote {
  border-left: 4px solid var(--primary);
  background: color-mix(in srgb, var(--primary-soft) 70%, white);
  color: var(--text);
  font-style: normal;
}

.content-body .bv-block-fact-box,
.content-body .bv-block-what-we-know,
.content-body .bv-block-source-box {
  background: color-mix(in srgb, var(--step-bg) 72%, white);
}

.content-body .bv-block-media-note {
  background: color-mix(in srgb, var(--primary-soft) 42%, white);
  border-style: dashed;
}

.content-body .bv-block-timeline {
  background: color-mix(in srgb, var(--step-bg) 58%, white);
}

.content-body .bv-block-timeline-item {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.content-body .bv-block-timeline-item:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.content-body figure.bv-block-inline-media {
  margin: 1.5rem 0;
}

.bv-media-placeholder {
  margin: 1.1rem 0;
  padding: 0.85rem 1rem;
  border: 1px dashed color-mix(in srgb, var(--primary) 35%, var(--border));
  border-radius: 16px;
  background: color-mix(in srgb, var(--primary-soft) 55%, white);
}

.bv-media-placeholder p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  font-style: italic;
}

.bv-media-placeholder.is-highlighted {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
}

.content-body figure.bv-block-inline-media + h2,
.content-body .bv-block-source-box + h2 {
  margin-top: 2rem;
}

.content-body figcaption,
.content-body .bv-block-caption {
  margin-top: 0.65rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.content-body .bv-block-source-box ul {
  margin: 0.75rem 0 0 1.1rem;
}

.content-body .bv-block-source-box li {
  margin-bottom: 0.5rem;
}

/* -----------------------------
   Links
------------------------------*/

.content-body a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--primary) 45%, transparent);
  text-underline-offset: 2px;
}

.content-body a:hover {
  color: var(--primary-hover);
  text-decoration-color: var(--primary-hover);
}

/* -----------------------------
   Images if allowed later
------------------------------*/

.content-body img {
  margin: 1.5rem auto;
  display: block;
  max-width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--step-bg);
}

.content-body video {
  margin: 1.5rem auto;
  display: block;
  width: 100%;
  max-width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #000;
  overflow: hidden;
}

/* -----------------------------
   Tables
------------------------------*/

.content-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  overflow: hidden;
  border-radius: 12px;
}

.content-body th,
.content-body td {
  border: 1px solid var(--border);
  padding: 0.5rem 0.75rem;
}

.content-body th {
  background: var(--step-bg);
  font-weight: 600;
  color: var(--text);
}

.content-body td {
  color: var(--text);
}

/*
 * Material 3 system tokens (everything except color).
 *
 * Color roles live in colors.css (generated from the default seed) and are
 * replaced per tenant by product/_site_theme.html. Components and the
 * Tailwind preset only read --md-sys-* tokens, never raw values.
 */

:root {
  /* ---- Typeface ---------------------------------------------------- */
  --md-ref-typeface-brand: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Vazirmatn", Tahoma, sans-serif;
  --md-ref-typeface-plain: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Vazirmatn", Tahoma, sans-serif;
  --md-ref-typeface-weight-regular: 400;
  --md-ref-typeface-weight-medium: 500;
  --md-ref-typeface-weight-bold: 700;

  /* ---- Type scale (M3 baseline, rem at 16px) ------------------------ */
  --md-sys-typescale-display-large-font: var(--md-ref-typeface-brand);
  --md-sys-typescale-display-large-size: 3.5625rem;
  --md-sys-typescale-display-large-line-height: 4rem;
  --md-sys-typescale-display-large-weight: 400;
  --md-sys-typescale-display-large-tracking: -0.015625rem;
  --md-sys-typescale-display-medium-font: var(--md-ref-typeface-brand);
  --md-sys-typescale-display-medium-size: 2.8125rem;
  --md-sys-typescale-display-medium-line-height: 3.25rem;
  --md-sys-typescale-display-medium-weight: 400;
  --md-sys-typescale-display-medium-tracking: 0;
  --md-sys-typescale-display-small-font: var(--md-ref-typeface-brand);
  --md-sys-typescale-display-small-size: 2.25rem;
  --md-sys-typescale-display-small-line-height: 2.75rem;
  --md-sys-typescale-display-small-weight: 400;
  --md-sys-typescale-display-small-tracking: 0;

  --md-sys-typescale-headline-large-font: var(--md-ref-typeface-brand);
  --md-sys-typescale-headline-large-size: 2rem;
  --md-sys-typescale-headline-large-line-height: 2.5rem;
  --md-sys-typescale-headline-large-weight: 400;
  --md-sys-typescale-headline-large-tracking: 0;
  --md-sys-typescale-headline-medium-font: var(--md-ref-typeface-brand);
  --md-sys-typescale-headline-medium-size: 1.75rem;
  --md-sys-typescale-headline-medium-line-height: 2.25rem;
  --md-sys-typescale-headline-medium-weight: 400;
  --md-sys-typescale-headline-medium-tracking: 0;
  --md-sys-typescale-headline-small-font: var(--md-ref-typeface-brand);
  --md-sys-typescale-headline-small-size: 1.5rem;
  --md-sys-typescale-headline-small-line-height: 2rem;
  --md-sys-typescale-headline-small-weight: 400;
  --md-sys-typescale-headline-small-tracking: 0;

  --md-sys-typescale-title-large-font: var(--md-ref-typeface-brand);
  --md-sys-typescale-title-large-size: 1.375rem;
  --md-sys-typescale-title-large-line-height: 1.75rem;
  --md-sys-typescale-title-large-weight: 400;
  --md-sys-typescale-title-large-tracking: 0;
  --md-sys-typescale-title-medium-font: var(--md-ref-typeface-plain);
  --md-sys-typescale-title-medium-size: 1rem;
  --md-sys-typescale-title-medium-line-height: 1.5rem;
  --md-sys-typescale-title-medium-weight: 500;
  --md-sys-typescale-title-medium-tracking: 0.009375rem;
  --md-sys-typescale-title-small-font: var(--md-ref-typeface-plain);
  --md-sys-typescale-title-small-size: 0.875rem;
  --md-sys-typescale-title-small-line-height: 1.25rem;
  --md-sys-typescale-title-small-weight: 500;
  --md-sys-typescale-title-small-tracking: 0.00625rem;

  --md-sys-typescale-body-large-font: var(--md-ref-typeface-plain);
  --md-sys-typescale-body-large-size: 1rem;
  --md-sys-typescale-body-large-line-height: 1.5rem;
  --md-sys-typescale-body-large-weight: 400;
  --md-sys-typescale-body-large-tracking: 0.03125rem;
  --md-sys-typescale-body-medium-font: var(--md-ref-typeface-plain);
  --md-sys-typescale-body-medium-size: 0.875rem;
  --md-sys-typescale-body-medium-line-height: 1.25rem;
  --md-sys-typescale-body-medium-weight: 400;
  --md-sys-typescale-body-medium-tracking: 0.015625rem;
  --md-sys-typescale-body-small-font: var(--md-ref-typeface-plain);
  --md-sys-typescale-body-small-size: 0.75rem;
  --md-sys-typescale-body-small-line-height: 1rem;
  --md-sys-typescale-body-small-weight: 400;
  --md-sys-typescale-body-small-tracking: 0.025rem;

  --md-sys-typescale-label-large-font: var(--md-ref-typeface-plain);
  --md-sys-typescale-label-large-size: 0.875rem;
  --md-sys-typescale-label-large-line-height: 1.25rem;
  --md-sys-typescale-label-large-weight: 500;
  --md-sys-typescale-label-large-tracking: 0.00625rem;
  --md-sys-typescale-label-medium-font: var(--md-ref-typeface-plain);
  --md-sys-typescale-label-medium-size: 0.75rem;
  --md-sys-typescale-label-medium-line-height: 1rem;
  --md-sys-typescale-label-medium-weight: 500;
  --md-sys-typescale-label-medium-tracking: 0.03125rem;
  --md-sys-typescale-label-small-font: var(--md-ref-typeface-plain);
  --md-sys-typescale-label-small-size: 0.6875rem;
  --md-sys-typescale-label-small-line-height: 1rem;
  --md-sys-typescale-label-small-weight: 500;
  --md-sys-typescale-label-small-tracking: 0.03125rem;

  /* ---- Shape ------------------------------------------------------- */
  --md-sys-shape-corner-none: 0;
  --md-sys-shape-corner-extra-small: 4px;
  --md-sys-shape-corner-small: 8px;
  --md-sys-shape-corner-medium: 12px;
  --md-sys-shape-corner-large: 16px;
  --md-sys-shape-corner-large-increased: 20px;
  --md-sys-shape-corner-extra-large: 28px;
  --md-sys-shape-corner-extra-large-increased: 32px;
  --md-sys-shape-corner-extra-extra-large: 48px;
  --md-sys-shape-corner-full: 9999px;

  /* ---- Elevation (shadow tinted by the shadow role) ------------------ */
  --md-sys-elevation-key: color-mix(in srgb, var(--md-sys-color-shadow) 30%, transparent);
  --md-sys-elevation-ambient: color-mix(in srgb, var(--md-sys-color-shadow) 15%, transparent);
  --md-sys-elevation-level0: none;
  --md-sys-elevation-level1: 0 1px 2px 0 var(--md-sys-elevation-key), 0 1px 3px 1px var(--md-sys-elevation-ambient);
  --md-sys-elevation-level2: 0 1px 2px 0 var(--md-sys-elevation-key), 0 2px 6px 2px var(--md-sys-elevation-ambient);
  --md-sys-elevation-level3: 0 1px 3px 0 var(--md-sys-elevation-key), 0 4px 8px 3px var(--md-sys-elevation-ambient);
  --md-sys-elevation-level4: 0 2px 3px 0 var(--md-sys-elevation-key), 0 6px 10px 4px var(--md-sys-elevation-ambient);
  --md-sys-elevation-level5: 0 4px 4px 0 var(--md-sys-elevation-key), 0 8px 12px 6px var(--md-sys-elevation-ambient);

  /* ---- Motion -------------------------------------------------------- */
  --md-sys-motion-easing-linear: cubic-bezier(0, 0, 1, 1);
  --md-sys-motion-easing-standard: cubic-bezier(0.2, 0, 0, 1);
  --md-sys-motion-easing-standard-accelerate: cubic-bezier(0.3, 0, 1, 1);
  --md-sys-motion-easing-standard-decelerate: cubic-bezier(0, 0, 0, 1);
  --md-sys-motion-easing-emphasized: cubic-bezier(0.2, 0, 0, 1);
  --md-sys-motion-easing-emphasized-accelerate: cubic-bezier(0.3, 0, 0.8, 0.15);
  --md-sys-motion-easing-emphasized-decelerate: cubic-bezier(0.05, 0.7, 0.1, 1);
  --md-sys-motion-duration-short1: 50ms;
  --md-sys-motion-duration-short2: 100ms;
  --md-sys-motion-duration-short3: 150ms;
  --md-sys-motion-duration-short4: 200ms;
  --md-sys-motion-duration-medium1: 250ms;
  --md-sys-motion-duration-medium2: 300ms;
  --md-sys-motion-duration-medium3: 350ms;
  --md-sys-motion-duration-medium4: 400ms;
  --md-sys-motion-duration-long1: 450ms;
  --md-sys-motion-duration-long2: 500ms;
  --md-sys-motion-duration-long3: 550ms;
  --md-sys-motion-duration-long4: 600ms;
  --md-sys-motion-duration-extra-long1: 700ms;
  --md-sys-motion-duration-extra-long2: 800ms;
  --md-sys-motion-duration-extra-long3: 900ms;
  --md-sys-motion-duration-extra-long4: 1000ms;

  /* ---- States -------------------------------------------------------- */
  --md-sys-state-hover-state-layer-opacity: 0.08;
  --md-sys-state-focus-state-layer-opacity: 0.1;
  --md-sys-state-pressed-state-layer-opacity: 0.1;
  --md-sys-state-dragged-state-layer-opacity: 0.16;
  --md-sys-state-disabled-container-opacity: 0.12;
  --md-sys-state-disabled-content-opacity: 0.38;
  --md-sys-state-focus-indicator-thickness: 3px;
  --md-sys-state-focus-indicator-outer-offset: 2px;
  --md-sys-state-focus-indicator-color: var(--md-sys-color-secondary);

  /* ---- Layout (window size classes) ----------------------------------- */
  /* compact < 600px, medium 600-839, expanded 840-1199, large 1200-1599, extra-large >= 1600 */
  --md-sys-layout-margin: 16px;
  --md-sys-layout-pane-gap: 24px;
  --md-sys-layout-max-width: 1440px;
  --md-sys-layout-touch-target: 48px;

  /* ---- Density ------------------------------------------------------- */
  /* 0 is default; -1, -2, -3 shrink component heights by 4px per step. */
  --md-sys-density: 0;
  --md-sys-density-step: 4px;
}

@media (min-width: 600px) {
  :root { --md-sys-layout-margin: 24px; }
}

.md-density-n1 { --md-sys-density: -1; }

.md-density-n2 { --md-sys-density: -2; }

.md-density-n3 { --md-sys-density: -3; }

.md-density-0 { --md-sys-density: 0; }

@media (prefers-reduced-motion: reduce) {
  :root {
    --md-sys-motion-duration-short1: 1ms;
    --md-sys-motion-duration-short2: 1ms;
    --md-sys-motion-duration-short3: 1ms;
    --md-sys-motion-duration-short4: 1ms;
    --md-sys-motion-duration-medium1: 1ms;
    --md-sys-motion-duration-medium2: 1ms;
    --md-sys-motion-duration-medium3: 1ms;
    --md-sys-motion-duration-medium4: 1ms;
    --md-sys-motion-duration-long1: 1ms;
    --md-sys-motion-duration-long2: 1ms;
    --md-sys-motion-duration-long3: 1ms;
    --md-sys-motion-duration-long4: 1ms;
    --md-sys-motion-duration-extra-long1: 1ms;
    --md-sys-motion-duration-extra-long2: 1ms;
    --md-sys-motion-duration-extra-long3: 1ms;
    --md-sys-motion-duration-extra-long4: 1ms;
  }
}

/*
 * Generated by `python manage.py build_m3_tokens`. Do not edit by hand.
 * Default Material 3 color roles from seed #6A3FE0 (brand).
 * Tenants override these at runtime from their own seed
 * (product/_site_theme.html).
 */

:root {
  --md-sys-color-primary: #673BDD;
  --md-sys-color-on-primary: #FFFFFF;
  --md-sys-color-primary-container: #E7DEFF;
  --md-sys-color-on-primary-container: #4F16C5;
  --md-sys-color-secondary: #62597D;
  --md-sys-color-on-secondary: #FFFFFF;
  --md-sys-color-secondary-container: #E7DEFF;
  --md-sys-color-on-secondary-container: #4A4264;
  --md-sys-color-tertiary: #8B4964;
  --md-sys-color-on-tertiary: #FFFFFF;
  --md-sys-color-tertiary-container: #FFD9E4;
  --md-sys-color-on-tertiary-container: #6F324C;
  --md-sys-color-error: #BA1A1A;
  --md-sys-color-on-error: #FFFFFF;
  --md-sys-color-error-container: #FFDAD6;
  --md-sys-color-on-error-container: #93000A;
  --md-sys-color-primary-fixed: #E7DEFF;
  --md-sys-color-primary-fixed-dim: #CDBDFF;
  --md-sys-color-on-primary-fixed: #20005F;
  --md-sys-color-on-primary-fixed-variant: #4F16C5;
  --md-sys-color-secondary-fixed: #E7DEFF;
  --md-sys-color-secondary-fixed-dim: #CCC1EA;
  --md-sys-color-on-secondary-fixed: #1E1636;
  --md-sys-color-on-secondary-fixed-variant: #4A4264;
  --md-sys-color-tertiary-fixed: #FFD9E4;
  --md-sys-color-tertiary-fixed-dim: #FFB0CC;
  --md-sys-color-on-tertiary-fixed: #3A0620;
  --md-sys-color-on-tertiary-fixed-variant: #6F324C;
  --md-sys-color-inverse-primary: #CDBDFF;
  --md-sys-color-surface: #FDF7FF;
  --md-sys-color-surface-dim: #DDD8E0;
  --md-sys-color-surface-bright: #FDF7FF;
  --md-sys-color-surface-container-lowest: #FFFFFF;
  --md-sys-color-surface-container-low: #F7F2FA;
  --md-sys-color-surface-container: #F2ECF4;
  --md-sys-color-surface-container-high: #ECE6EE;
  --md-sys-color-surface-container-highest: #E6E1E9;
  --md-sys-color-on-surface: #1C1B20;
  --md-sys-color-surface-variant: #E6E0EC;
  --md-sys-color-on-surface-variant: #48454E;
  --md-sys-color-inverse-surface: #312F35;
  --md-sys-color-inverse-on-surface: #F4EFF7;
  --md-sys-color-outline: #79757F;
  --md-sys-color-outline-variant: #CAC4CF;
  --md-sys-color-background: #FDF7FF;
  --md-sys-color-on-background: #1C1B20;
  --md-sys-color-shadow: #000000;
  --md-sys-color-scrim: #000000;
  --md-sys-color-success: #006D43;
  --md-sys-color-on-success: #FFFFFF;
  --md-sys-color-success-container: #84F9B8;
  --md-sys-color-on-success-container: #005231;
  --md-sys-color-warning: #974806;
  --md-sys-color-on-warning: #FFFFFF;
  --md-sys-color-warning-container: #FFDBC8;
  --md-sys-color-on-warning-container: #743500;
  --md-sys-color-info: #4056BB;
  --md-sys-color-on-info: #FFFFFF;
  --md-sys-color-info-container: #DEE1FF;
  --md-sys-color-on-info-container: #253CA2;
  --md-sys-color-surface-tint: #673BDD;
}

:root[data-theme="dark"] {
  --md-sys-color-primary: #CDBDFF;
  --md-sys-color-on-primary: #370096;
  --md-sys-color-primary-container: #4F16C5;
  --md-sys-color-on-primary-container: #E7DEFF;
  --md-sys-color-secondary: #CCC1EA;
  --md-sys-color-on-secondary: #332B4C;
  --md-sys-color-secondary-container: #4A4264;
  --md-sys-color-on-secondary-container: #E7DEFF;
  --md-sys-color-tertiary: #FFB0CC;
  --md-sys-color-on-tertiary: #541C35;
  --md-sys-color-tertiary-container: #6F324C;
  --md-sys-color-on-tertiary-container: #FFD9E4;
  --md-sys-color-error: #FFB4AB;
  --md-sys-color-on-error: #690005;
  --md-sys-color-error-container: #93000A;
  --md-sys-color-on-error-container: #FFDAD6;
  --md-sys-color-primary-fixed: #E7DEFF;
  --md-sys-color-primary-fixed-dim: #CDBDFF;
  --md-sys-color-on-primary-fixed: #20005F;
  --md-sys-color-on-primary-fixed-variant: #4F16C5;
  --md-sys-color-secondary-fixed: #E7DEFF;
  --md-sys-color-secondary-fixed-dim: #CCC1EA;
  --md-sys-color-on-secondary-fixed: #1E1636;
  --md-sys-color-on-secondary-fixed-variant: #4A4264;
  --md-sys-color-tertiary-fixed: #FFD9E4;
  --md-sys-color-tertiary-fixed-dim: #FFB0CC;
  --md-sys-color-on-tertiary-fixed: #3A0620;
  --md-sys-color-on-tertiary-fixed-variant: #6F324C;
  --md-sys-color-inverse-primary: #673BDD;
  --md-sys-color-surface: #141318;
  --md-sys-color-surface-dim: #141318;
  --md-sys-color-surface-bright: #3A383E;
  --md-sys-color-surface-container-lowest: #0F0D13;
  --md-sys-color-surface-container-low: #1C1B20;
  --md-sys-color-surface-container: #201F24;
  --md-sys-color-surface-container-high: #2B292F;
  --md-sys-color-surface-container-highest: #36343A;
  --md-sys-color-on-surface: #E6E1E9;
  --md-sys-color-surface-variant: #48454E;
  --md-sys-color-on-surface-variant: #CAC4CF;
  --md-sys-color-inverse-surface: #E6E1E9;
  --md-sys-color-inverse-on-surface: #312F35;
  --md-sys-color-outline: #938F99;
  --md-sys-color-outline-variant: #48454E;
  --md-sys-color-background: #141318;
  --md-sys-color-on-background: #E6E1E9;
  --md-sys-color-shadow: #000000;
  --md-sys-color-scrim: #000000;
  --md-sys-color-success: #67DC9E;
  --md-sys-color-on-success: #003921;
  --md-sys-color-success-container: #005231;
  --md-sys-color-on-success-container: #84F9B8;
  --md-sys-color-warning: #FFB68A;
  --md-sys-color-on-warning: #522300;
  --md-sys-color-warning-container: #743500;
  --md-sys-color-on-warning-container: #FFDBC8;
  --md-sys-color-info: #B9C3FF;
  --md-sys-color-on-info: #00228B;
  --md-sys-color-info-container: #253CA2;
  --md-sys-color-on-info-container: #DEE1FF;
  --md-sys-color-surface-tint: #CDBDFF;
}

@media (prefers-contrast: more) {
  :root:not([data-theme="dark"]):not([data-contrast]) {
    --md-sys-color-primary: #32008A;
    --md-sys-color-on-primary: #FFFFFF;
    --md-sys-color-primary-container: #511BC7;
    --md-sys-color-on-primary-container: #FFFFFF;
    --md-sys-color-secondary: #2F2748;
    --md-sys-color-on-secondary: #FFFFFF;
    --md-sys-color-secondary-container: #4C4467;
    --md-sys-color-on-secondary-container: #FFFFFF;
    --md-sys-color-tertiary: #4F1831;
    --md-sys-color-on-tertiary: #FFFFFF;
    --md-sys-color-tertiary-container: #72354E;
    --md-sys-color-on-tertiary-container: #FFFFFF;
    --md-sys-color-error: #600004;
    --md-sys-color-on-error: #FFFFFF;
    --md-sys-color-error-container: #98000A;
    --md-sys-color-on-error-container: #FFFFFF;
    --md-sys-color-primary-fixed: #511BC7;
    --md-sys-color-primary-fixed-dim: #39009B;
    --md-sys-color-on-primary-fixed: #FFFFFF;
    --md-sys-color-on-primary-fixed-variant: #FFFFFF;
    --md-sys-color-secondary-fixed: #4C4467;
    --md-sys-color-secondary-fixed-dim: #352E4F;
    --md-sys-color-on-secondary-fixed: #FFFFFF;
    --md-sys-color-on-secondary-fixed-variant: #FFFFFF;
    --md-sys-color-tertiary-fixed: #72354E;
    --md-sys-color-tertiary-fixed-dim: #571E37;
    --md-sys-color-on-tertiary-fixed: #FFFFFF;
    --md-sys-color-on-tertiary-fixed-variant: #FFFFFF;
    --md-sys-color-inverse-primary: #CDBDFF;
    --md-sys-color-surface: #FDF7FF;
    --md-sys-color-surface-dim: #BCB7BF;
    --md-sys-color-surface-bright: #FDF7FF;
    --md-sys-color-surface-container-lowest: #FFFFFF;
    --md-sys-color-surface-container-low: #F4EFF7;
    --md-sys-color-surface-container: #E6E1E9;
    --md-sys-color-surface-container-high: #D8D3DB;
    --md-sys-color-surface-container-highest: #CAC5CD;
    --md-sys-color-on-surface: #000000;
    --md-sys-color-surface-variant: #E6E0EC;
    --md-sys-color-on-surface-variant: #000000;
    --md-sys-color-inverse-surface: #312F35;
    --md-sys-color-inverse-on-surface: #FFFFFF;
    --md-sys-color-outline: #2D2B33;
    --md-sys-color-outline-variant: #4B4851;
    --md-sys-color-background: #FDF7FF;
    --md-sys-color-on-background: #000000;
    --md-sys-color-shadow: #000000;
    --md-sys-color-scrim: #000000;
    --md-sys-color-success: #00341D;
    --md-sys-color-on-success: #FFFFFF;
    --md-sys-color-success-container: #005433;
    --md-sys-color-on-success-container: #FFFFFF;
    --md-sys-color-warning: #4B2000;
    --md-sys-color-on-warning: #FFFFFF;
    --md-sys-color-warning-container: #783600;
    --md-sys-color-on-warning-container: #FFFFFF;
    --md-sys-color-info: #001E81;
    --md-sys-color-on-info: #FFFFFF;
    --md-sys-color-info-container: #283FA4;
    --md-sys-color-on-info-container: #FFFFFF;
    --md-sys-color-surface-tint: #32008A;
  }
  :root[data-theme="dark"]:not([data-contrast]) {
    --md-sys-color-primary: #F5EEFF;
    --md-sys-color-on-primary: #000000;
    --md-sys-color-primary-container: #CABAFF;
    --md-sys-color-on-primary-container: #0D0033;
    --md-sys-color-secondary: #F5EEFF;
    --md-sys-color-on-secondary: #000000;
    --md-sys-color-secondary-container: #C9BEE7;
    --md-sys-color-on-secondary-container: #0D0525;
    --md-sys-color-tertiary: #FFECF0;
    --md-sys-color-on-tertiary: #000000;
    --md-sys-color-tertiary-container: #FFACCA;
    --md-sys-color-on-tertiary-container: #20000E;
    --md-sys-color-error: #FFEDEA;
    --md-sys-color-on-error: #000000;
    --md-sys-color-error-container: #FFB0A6;
    --md-sys-color-on-error-container: #210001;
    --md-sys-color-primary-fixed: #E7DEFF;
    --md-sys-color-primary-fixed-dim: #CDBDFF;
    --md-sys-color-on-primary-fixed: #000000;
    --md-sys-color-on-primary-fixed-variant: #140043;
    --md-sys-color-secondary-fixed: #E7DEFF;
    --md-sys-color-secondary-fixed-dim: #CCC1EA;
    --md-sys-color-on-secondary-fixed: #000000;
    --md-sys-color-on-secondary-fixed-variant: #130B2B;
    --md-sys-color-tertiary-fixed: #FFD9E4;
    --md-sys-color-tertiary-fixed-dim: #FFB0CC;
    --md-sys-color-on-tertiary-fixed: #000000;
    --md-sys-color-on-tertiary-fixed-variant: #2A0015;
    --md-sys-color-inverse-primary: #511BC7;
    --md-sys-color-surface: #141318;
    --md-sys-color-surface-dim: #141318;
    --md-sys-color-surface-bright: #524F55;
    --md-sys-color-surface-container-lowest: #000000;
    --md-sys-color-surface-container-low: #201F24;
    --md-sys-color-surface-container: #312F35;
    --md-sys-color-surface-container-high: #3D3A41;
    --md-sys-color-surface-container-highest: #48464C;
    --md-sys-color-on-surface: #FFFFFF;
    --md-sys-color-surface-variant: #48454E;
    --md-sys-color-on-surface-variant: #FFFFFF;
    --md-sys-color-inverse-surface: #E6E1E9;
    --md-sys-color-inverse-on-surface: #000000;
    --md-sys-color-outline: #F5EEFA;
    --md-sys-color-outline-variant: #C4BFCA;
    --md-sys-color-background: #141318;
    --md-sys-color-on-background: #FFFFFF;
    --md-sys-color-shadow: #000000;
    --md-sys-color-scrim: #000000;
    --md-sys-color-success: #C0FFD6;
    --md-sys-color-on-success: #000000;
    --md-sys-color-success-container: #64D99B;
    --md-sys-color-on-success-container: #000E05;
    --md-sys-color-warning: #FFEDE5;
    --md-sys-color-on-warning: #000000;
    --md-sys-color-warning-container: #FFB284;
    --md-sys-color-on-warning-container: #180600;
    --md-sys-color-info: #F0EFFF;
    --md-sys-color-on-info: #000000;
    --md-sys-color-info-container: #B6C0FF;
    --md-sys-color-on-info-container: #00062F;
    --md-sys-color-surface-tint: #F5EEFF;
  }
}

:root:not([data-theme="dark"])[data-contrast="medium"] {
  --md-sys-color-primary: #3E00A7;
  --md-sys-color-on-primary: #FFFFFF;
  --md-sys-color-primary-container: #764DED;
  --md-sys-color-on-primary-container: #FFFFFF;
  --md-sys-color-secondary: #3A3253;
  --md-sys-color-on-secondary: #FFFFFF;
  --md-sys-color-secondary-container: #71688D;
  --md-sys-color-on-secondary-container: #FFFFFF;
  --md-sys-color-tertiary: #5C233C;
  --md-sys-color-on-tertiary: #FFFFFF;
  --md-sys-color-tertiary-container: #9D5873;
  --md-sys-color-on-tertiary-container: #FFFFFF;
  --md-sys-color-error: #750006;
  --md-sys-color-on-error: #FFFFFF;
  --md-sys-color-error-container: #CF2C27;
  --md-sys-color-on-error-container: #FFFFFF;
  --md-sys-color-primary-fixed: #764DED;
  --md-sys-color-primary-fixed-dim: #5D2ED3;
  --md-sys-color-on-primary-fixed: #FFFFFF;
  --md-sys-color-on-primary-fixed-variant: #FFFFFF;
  --md-sys-color-secondary-fixed: #71688D;
  --md-sys-color-secondary-fixed-dim: #585073;
  --md-sys-color-on-secondary-fixed: #FFFFFF;
  --md-sys-color-on-secondary-fixed-variant: #FFFFFF;
  --md-sys-color-tertiary-fixed: #9D5873;
  --md-sys-color-tertiary-fixed-dim: #80405A;
  --md-sys-color-on-tertiary-fixed: #FFFFFF;
  --md-sys-color-on-tertiary-fixed-variant: #FFFFFF;
  --md-sys-color-inverse-primary: #CDBDFF;
  --md-sys-color-surface: #FDF7FF;
  --md-sys-color-surface-dim: #CAC5CD;
  --md-sys-color-surface-bright: #FDF7FF;
  --md-sys-color-surface-container-lowest: #FFFFFF;
  --md-sys-color-surface-container-low: #F7F2FA;
  --md-sys-color-surface-container: #ECE6EE;
  --md-sys-color-surface-container-high: #E0DBE3;
  --md-sys-color-surface-container-highest: #D5D0D8;
  --md-sys-color-on-surface: #121016;
  --md-sys-color-surface-variant: #E6E0EC;
  --md-sys-color-on-surface-variant: #38363E;
  --md-sys-color-inverse-surface: #312F35;
  --md-sys-color-inverse-on-surface: #F4EFF7;
  --md-sys-color-outline: #54515A;
  --md-sys-color-outline-variant: #6F6B75;
  --md-sys-color-background: #FDF7FF;
  --md-sys-color-on-background: #121016;
  --md-sys-color-shadow: #000000;
  --md-sys-color-scrim: #000000;
  --md-sys-color-success: #004025;
  --md-sys-color-on-success: #FFFFFF;
  --md-sys-color-success-container: #007D4E;
  --md-sys-color-on-success-container: #FFFFFF;
  --md-sys-color-warning: #5C2800;
  --md-sys-color-on-warning: #FFFFFF;
  --md-sys-color-warning-container: #AA5617;
  --md-sys-color-on-warning-container: #FFFFFF;
  --md-sys-color-info: #0E2A92;
  --md-sys-color-on-info: #FFFFFF;
  --md-sys-color-info-container: #5065CB;
  --md-sys-color-on-info-container: #FFFFFF;
  --md-sys-color-surface-tint: #3E00A7;
}

:root[data-theme="dark"][data-contrast="medium"] {
  --md-sys-color-primary: #E2D7FF;
  --md-sys-color-on-primary: #2B007A;
  --md-sys-color-primary-container: #9A7BFF;
  --md-sys-color-on-primary-container: #000000;
  --md-sys-color-secondary: #E2D7FF;
  --md-sys-color-on-secondary: #282141;
  --md-sys-color-secondary-container: #958BB2;
  --md-sys-color-on-secondary-container: #000000;
  --md-sys-color-tertiary: #FFD1DF;
  --md-sys-color-on-tertiary: #47112A;
  --md-sys-color-tertiary-container: #C57A96;
  --md-sys-color-on-tertiary-container: #000000;
  --md-sys-color-error: #FFD3CD;
  --md-sys-color-on-error: #540003;
  --md-sys-color-error-container: #FF5449;
  --md-sys-color-on-error-container: #000000;
  --md-sys-color-primary-fixed: #E7DEFF;
  --md-sys-color-primary-fixed-dim: #CDBDFF;
  --md-sys-color-on-primary-fixed: #140043;
  --md-sys-color-on-primary-fixed-variant: #3E00A7;
  --md-sys-color-secondary-fixed: #E7DEFF;
  --md-sys-color-secondary-fixed-dim: #CCC1EA;
  --md-sys-color-on-secondary-fixed: #130B2B;
  --md-sys-color-on-secondary-fixed-variant: #3A3253;
  --md-sys-color-tertiary-fixed: #FFD9E4;
  --md-sys-color-tertiary-fixed-dim: #FFB0CC;
  --md-sys-color-on-tertiary-fixed: #2A0015;
  --md-sys-color-on-tertiary-fixed-variant: #5C233C;
  --md-sys-color-inverse-primary: #511BC7;
  --md-sys-color-surface: #141318;
  --md-sys-color-surface-dim: #141318;
  --md-sys-color-surface-bright: #46434A;
  --md-sys-color-surface-container-lowest: #08070C;
  --md-sys-color-surface-container-low: #1E1D22;
  --md-sys-color-surface-container: #29272D;
  --md-sys-color-surface-container-high: #343238;
  --md-sys-color-surface-container-highest: #3F3D43;
  --md-sys-color-on-surface: #FFFFFF;
  --md-sys-color-surface-variant: #48454E;
  --md-sys-color-on-surface-variant: #E0DBE6;
  --md-sys-color-inverse-surface: #E6E1E9;
  --md-sys-color-inverse-on-surface: #2B292F;
  --md-sys-color-outline: #B6B1BC;
  --md-sys-color-outline-variant: #938F99;
  --md-sys-color-background: #141318;
  --md-sys-color-on-background: #FFFFFF;
  --md-sys-color-shadow: #000000;
  --md-sys-color-scrim: #000000;
  --md-sys-color-success: #7EF3B3;
  --md-sys-color-on-success: #002D19;
  --md-sys-color-success-container: #25A46B;
  --md-sys-color-on-success-container: #000000;
  --md-sys-color-warning: #FFD4BC;
  --md-sys-color-on-warning: #421B00;
  --md-sys-color-warning-container: #D67838;
  --md-sys-color-on-warning-container: #000000;
  --md-sys-color-info: #D6DBFF;
  --md-sys-color-on-info: #001971;
  --md-sys-color-info-container: #7589F2;
  --md-sys-color-on-info-container: #000000;
  --md-sys-color-surface-tint: #E2D7FF;
}

:root:not([data-theme="dark"])[data-contrast="high"] {
  --md-sys-color-primary: #32008A;
  --md-sys-color-on-primary: #FFFFFF;
  --md-sys-color-primary-container: #511BC7;
  --md-sys-color-on-primary-container: #FFFFFF;
  --md-sys-color-secondary: #2F2748;
  --md-sys-color-on-secondary: #FFFFFF;
  --md-sys-color-secondary-container: #4C4467;
  --md-sys-color-on-secondary-container: #FFFFFF;
  --md-sys-color-tertiary: #4F1831;
  --md-sys-color-on-tertiary: #FFFFFF;
  --md-sys-color-tertiary-container: #72354E;
  --md-sys-color-on-tertiary-container: #FFFFFF;
  --md-sys-color-error: #600004;
  --md-sys-color-on-error: #FFFFFF;
  --md-sys-color-error-container: #98000A;
  --md-sys-color-on-error-container: #FFFFFF;
  --md-sys-color-primary-fixed: #511BC7;
  --md-sys-color-primary-fixed-dim: #39009B;
  --md-sys-color-on-primary-fixed: #FFFFFF;
  --md-sys-color-on-primary-fixed-variant: #FFFFFF;
  --md-sys-color-secondary-fixed: #4C4467;
  --md-sys-color-secondary-fixed-dim: #352E4F;
  --md-sys-color-on-secondary-fixed: #FFFFFF;
  --md-sys-color-on-secondary-fixed-variant: #FFFFFF;
  --md-sys-color-tertiary-fixed: #72354E;
  --md-sys-color-tertiary-fixed-dim: #571E37;
  --md-sys-color-on-tertiary-fixed: #FFFFFF;
  --md-sys-color-on-tertiary-fixed-variant: #FFFFFF;
  --md-sys-color-inverse-primary: #CDBDFF;
  --md-sys-color-surface: #FDF7FF;
  --md-sys-color-surface-dim: #BCB7BF;
  --md-sys-color-surface-bright: #FDF7FF;
  --md-sys-color-surface-container-lowest: #FFFFFF;
  --md-sys-color-surface-container-low: #F4EFF7;
  --md-sys-color-surface-container: #E6E1E9;
  --md-sys-color-surface-container-high: #D8D3DB;
  --md-sys-color-surface-container-highest: #CAC5CD;
  --md-sys-color-on-surface: #000000;
  --md-sys-color-surface-variant: #E6E0EC;
  --md-sys-color-on-surface-variant: #000000;
  --md-sys-color-inverse-surface: #312F35;
  --md-sys-color-inverse-on-surface: #FFFFFF;
  --md-sys-color-outline: #2D2B33;
  --md-sys-color-outline-variant: #4B4851;
  --md-sys-color-background: #FDF7FF;
  --md-sys-color-on-background: #000000;
  --md-sys-color-shadow: #000000;
  --md-sys-color-scrim: #000000;
  --md-sys-color-success: #00341D;
  --md-sys-color-on-success: #FFFFFF;
  --md-sys-color-success-container: #005433;
  --md-sys-color-on-success-container: #FFFFFF;
  --md-sys-color-warning: #4B2000;
  --md-sys-color-on-warning: #FFFFFF;
  --md-sys-color-warning-container: #783600;
  --md-sys-color-on-warning-container: #FFFFFF;
  --md-sys-color-info: #001E81;
  --md-sys-color-on-info: #FFFFFF;
  --md-sys-color-info-container: #283FA4;
  --md-sys-color-on-info-container: #FFFFFF;
  --md-sys-color-surface-tint: #32008A;
}

:root[data-theme="dark"][data-contrast="high"] {
  --md-sys-color-primary: #F5EEFF;
  --md-sys-color-on-primary: #000000;
  --md-sys-color-primary-container: #CABAFF;
  --md-sys-color-on-primary-container: #0D0033;
  --md-sys-color-secondary: #F5EEFF;
  --md-sys-color-on-secondary: #000000;
  --md-sys-color-secondary-container: #C9BEE7;
  --md-sys-color-on-secondary-container: #0D0525;
  --md-sys-color-tertiary: #FFECF0;
  --md-sys-color-on-tertiary: #000000;
  --md-sys-color-tertiary-container: #FFACCA;
  --md-sys-color-on-tertiary-container: #20000E;
  --md-sys-color-error: #FFEDEA;
  --md-sys-color-on-error: #000000;
  --md-sys-color-error-container: #FFB0A6;
  --md-sys-color-on-error-container: #210001;
  --md-sys-color-primary-fixed: #E7DEFF;
  --md-sys-color-primary-fixed-dim: #CDBDFF;
  --md-sys-color-on-primary-fixed: #000000;
  --md-sys-color-on-primary-fixed-variant: #140043;
  --md-sys-color-secondary-fixed: #E7DEFF;
  --md-sys-color-secondary-fixed-dim: #CCC1EA;
  --md-sys-color-on-secondary-fixed: #000000;
  --md-sys-color-on-secondary-fixed-variant: #130B2B;
  --md-sys-color-tertiary-fixed: #FFD9E4;
  --md-sys-color-tertiary-fixed-dim: #FFB0CC;
  --md-sys-color-on-tertiary-fixed: #000000;
  --md-sys-color-on-tertiary-fixed-variant: #2A0015;
  --md-sys-color-inverse-primary: #511BC7;
  --md-sys-color-surface: #141318;
  --md-sys-color-surface-dim: #141318;
  --md-sys-color-surface-bright: #524F55;
  --md-sys-color-surface-container-lowest: #000000;
  --md-sys-color-surface-container-low: #201F24;
  --md-sys-color-surface-container: #312F35;
  --md-sys-color-surface-container-high: #3D3A41;
  --md-sys-color-surface-container-highest: #48464C;
  --md-sys-color-on-surface: #FFFFFF;
  --md-sys-color-surface-variant: #48454E;
  --md-sys-color-on-surface-variant: #FFFFFF;
  --md-sys-color-inverse-surface: #E6E1E9;
  --md-sys-color-inverse-on-surface: #000000;
  --md-sys-color-outline: #F5EEFA;
  --md-sys-color-outline-variant: #C4BFCA;
  --md-sys-color-background: #141318;
  --md-sys-color-on-background: #FFFFFF;
  --md-sys-color-shadow: #000000;
  --md-sys-color-scrim: #000000;
  --md-sys-color-success: #C0FFD6;
  --md-sys-color-on-success: #000000;
  --md-sys-color-success-container: #64D99B;
  --md-sys-color-on-success-container: #000E05;
  --md-sys-color-warning: #FFEDE5;
  --md-sys-color-on-warning: #000000;
  --md-sys-color-warning-container: #FFB284;
  --md-sys-color-on-warning-container: #180600;
  --md-sys-color-info: #F0EFFF;
  --md-sys-color-on-info: #000000;
  --md-sys-color-info-container: #B6C0FF;
  --md-sys-color-on-info-container: #00062F;
  --md-sys-color-surface-tint: #F5EEFF;
}

/*
 * Material 3 components, built in-house on --md-sys-* tokens.
 * Markup comes from templates/m3/components/*.html ({% m3 %} tags).
 *
 * Conventions:
 * - Every class starts with md-. Modifiers use --, parts use __.
 * - Interactive surfaces get .md-state: a ::before state layer in the
 *   content color, at the M3 hover/focus/pressed opacities.
 * - Heights respond to density: calc(base + var(--md-sys-density) * 4px).
 * - Logical properties (inline/block) so RTL (Persian) works unchanged.
 */

/* ===== Foundations helpers ============================================= */

.md-typescale-display-large { font: var(--md-sys-typescale-display-large-weight) var(--md-sys-typescale-display-large-size) / var(--md-sys-typescale-display-large-line-height) var(--md-sys-typescale-display-large-font); letter-spacing: var(--md-sys-typescale-display-large-tracking); }

.md-typescale-display-medium { font: var(--md-sys-typescale-display-medium-weight) var(--md-sys-typescale-display-medium-size) / var(--md-sys-typescale-display-medium-line-height) var(--md-sys-typescale-display-medium-font); letter-spacing: var(--md-sys-typescale-display-medium-tracking); }

.md-typescale-display-small { font: var(--md-sys-typescale-display-small-weight) var(--md-sys-typescale-display-small-size) / var(--md-sys-typescale-display-small-line-height) var(--md-sys-typescale-display-small-font); letter-spacing: var(--md-sys-typescale-display-small-tracking); }

.md-typescale-headline-large { font: var(--md-sys-typescale-headline-large-weight) var(--md-sys-typescale-headline-large-size) / var(--md-sys-typescale-headline-large-line-height) var(--md-sys-typescale-headline-large-font); letter-spacing: var(--md-sys-typescale-headline-large-tracking); }

.md-typescale-headline-medium { font: var(--md-sys-typescale-headline-medium-weight) var(--md-sys-typescale-headline-medium-size) / var(--md-sys-typescale-headline-medium-line-height) var(--md-sys-typescale-headline-medium-font); letter-spacing: var(--md-sys-typescale-headline-medium-tracking); }

.md-typescale-headline-small { font: var(--md-sys-typescale-headline-small-weight) var(--md-sys-typescale-headline-small-size) / var(--md-sys-typescale-headline-small-line-height) var(--md-sys-typescale-headline-small-font); letter-spacing: var(--md-sys-typescale-headline-small-tracking); }

.md-typescale-title-large { font: var(--md-sys-typescale-title-large-weight) var(--md-sys-typescale-title-large-size) / var(--md-sys-typescale-title-large-line-height) var(--md-sys-typescale-title-large-font); letter-spacing: var(--md-sys-typescale-title-large-tracking); }

.md-typescale-title-medium { font: var(--md-sys-typescale-title-medium-weight) var(--md-sys-typescale-title-medium-size) / var(--md-sys-typescale-title-medium-line-height) var(--md-sys-typescale-title-medium-font); letter-spacing: var(--md-sys-typescale-title-medium-tracking); }

.md-typescale-title-small { font: var(--md-sys-typescale-title-small-weight) var(--md-sys-typescale-title-small-size) / var(--md-sys-typescale-title-small-line-height) var(--md-sys-typescale-title-small-font); letter-spacing: var(--md-sys-typescale-title-small-tracking); }

.md-typescale-body-large { font: var(--md-sys-typescale-body-large-weight) var(--md-sys-typescale-body-large-size) / var(--md-sys-typescale-body-large-line-height) var(--md-sys-typescale-body-large-font); letter-spacing: var(--md-sys-typescale-body-large-tracking); }

.md-typescale-body-medium { font: var(--md-sys-typescale-body-medium-weight) var(--md-sys-typescale-body-medium-size) / var(--md-sys-typescale-body-medium-line-height) var(--md-sys-typescale-body-medium-font); letter-spacing: var(--md-sys-typescale-body-medium-tracking); }

.md-typescale-body-small { font: var(--md-sys-typescale-body-small-weight) var(--md-sys-typescale-body-small-size) / var(--md-sys-typescale-body-small-line-height) var(--md-sys-typescale-body-small-font); letter-spacing: var(--md-sys-typescale-body-small-tracking); }

.md-typescale-label-large { font: var(--md-sys-typescale-label-large-weight) var(--md-sys-typescale-label-large-size) / var(--md-sys-typescale-label-large-line-height) var(--md-sys-typescale-label-large-font); letter-spacing: var(--md-sys-typescale-label-large-tracking); }

.md-typescale-label-medium { font: var(--md-sys-typescale-label-medium-weight) var(--md-sys-typescale-label-medium-size) / var(--md-sys-typescale-label-medium-line-height) var(--md-sys-typescale-label-medium-font); letter-spacing: var(--md-sys-typescale-label-medium-tracking); }

.md-typescale-label-small { font: var(--md-sys-typescale-label-small-weight) var(--md-sys-typescale-label-small-size) / var(--md-sys-typescale-label-small-line-height) var(--md-sys-typescale-label-small-font); letter-spacing: var(--md-sys-typescale-label-small-tracking); }

.md-visually-hidden {
  position: absolute !important;
  inline-size: 1px;
  block-size: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.md-icon {
  display: inline-block;
  flex: none;
  inline-size: var(--md-icon-size, 24px);
  block-size: var(--md-icon-size, 24px);
  fill: currentColor;
  vertical-align: middle;
}

[dir="rtl"] .md-icon--mirror { transform: scaleX(-1); }

.md-focus-ring:focus-visible,
.md-state:focus-visible {
  outline: var(--md-sys-state-focus-indicator-thickness) solid var(--md-sys-state-focus-indicator-color);
  outline-offset: var(--md-sys-state-focus-indicator-outer-offset);
}

/* State layer: a ::before overlay in currentColor. */

.md-state {
  position: relative;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
}

.md-state::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: currentColor;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--md-sys-motion-duration-short2) var(--md-sys-motion-easing-standard);
}

.md-state:hover::before { opacity: var(--md-sys-state-hover-state-layer-opacity); }

.md-state:focus-visible::before { opacity: var(--md-sys-state-focus-state-layer-opacity); }

.md-state:active::before { opacity: var(--md-sys-state-pressed-state-layer-opacity); }

.md-state:is(:disabled, [aria-disabled="true"])::before { opacity: 0; }

.md-elevation-0 { box-shadow: var(--md-sys-elevation-level0); }

.md-elevation-1 { box-shadow: var(--md-sys-elevation-level1); }

.md-elevation-2 { box-shadow: var(--md-sys-elevation-level2); }

.md-elevation-3 { box-shadow: var(--md-sys-elevation-level3); }

.md-elevation-4 { box-shadow: var(--md-sys-elevation-level4); }

.md-elevation-5 { box-shadow: var(--md-sys-elevation-level5); }

/* ===== Button ========================================================== */

.md-button {
  --md-icon-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  min-inline-size: 48px;
  block-size: calc(40px + var(--md-sys-density) * var(--md-sys-density-step));
  padding-inline: 24px;
  border: 0;
  border-radius: var(--md-sys-shape-corner-full);
  font: var(--md-sys-typescale-label-large-weight) var(--md-sys-typescale-label-large-size) / var(--md-sys-typescale-label-large-line-height) var(--md-sys-typescale-label-large-font);
  letter-spacing: var(--md-sys-typescale-label-large-tracking);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: box-shadow var(--md-sys-motion-duration-short4) var(--md-sys-motion-easing-standard);
}

/* Keep a 48px touch target even when the visual button is smaller. */

.md-button::after,
.md-icon-button::after,
.md-chip::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block: 50%;
  min-block-size: var(--md-sys-layout-touch-target);
  transform: translateY(-50%);
}

.md-icon-button::after { inset-inline: 50%; min-inline-size: var(--md-sys-layout-touch-target); transform: translate(-50%, -50%); }

[dir="rtl"] .md-icon-button::after { transform: translate(50%, -50%); }

.md-button--has-icon { padding-inline: 16px 24px; }

.md-button--trailing-icon { padding-inline: 24px 16px; }

.md-button--filled { background: var(--md-sys-color-primary); color: var(--md-sys-color-on-primary); }

.md-button--filled:hover { box-shadow: var(--md-sys-elevation-level1); }

.md-button--tonal { background: var(--md-sys-color-secondary-container); color: var(--md-sys-color-on-secondary-container); }

.md-button--tonal:hover { box-shadow: var(--md-sys-elevation-level1); }

.md-button--elevated { background: var(--md-sys-color-surface-container-low); color: var(--md-sys-color-primary); box-shadow: var(--md-sys-elevation-level1); }

.md-button--elevated:hover { box-shadow: var(--md-sys-elevation-level2); }

.md-button--outlined { background: transparent; color: var(--md-sys-color-primary); border: 1px solid var(--md-sys-color-outline-variant); }

.md-button--text { background: transparent; color: var(--md-sys-color-primary); padding-inline: 12px; }

.md-button--text.md-button--has-icon { padding-inline: 12px 16px; }

.md-button--danger.md-button--filled { background: var(--md-sys-color-error); color: var(--md-sys-color-on-error); }

.md-button--danger:not(.md-button--filled) { color: var(--md-sys-color-error); }

.md-button:is(:disabled, [aria-disabled="true"]) {
  cursor: default;
  box-shadow: none;
  background: color-mix(in srgb, var(--md-sys-color-on-surface) calc(var(--md-sys-state-disabled-container-opacity) * 100%), transparent);
  color: color-mix(in srgb, var(--md-sys-color-on-surface) calc(var(--md-sys-state-disabled-content-opacity) * 100%), transparent);
}

.md-button--text:is(:disabled, [aria-disabled="true"]),
.md-button--outlined:is(:disabled, [aria-disabled="true"]) { background: transparent; }

.md-button--outlined:is(:disabled, [aria-disabled="true"]) {
  border-color: color-mix(in srgb, var(--md-sys-color-on-surface) calc(var(--md-sys-state-disabled-container-opacity) * 100%), transparent);
}

/* ===== Icon button ===================================================== */

.md-icon-button {
  --md-icon-size: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  inline-size: calc(40px + var(--md-sys-density) * var(--md-sys-density-step));
  block-size: calc(40px + var(--md-sys-density) * var(--md-sys-density-step));
  padding: 0;
  border: 0;
  border-radius: var(--md-sys-shape-corner-full);
  background: transparent;
  color: var(--md-sys-color-on-surface-variant);
  cursor: pointer;
  text-decoration: none;
}

.md-icon-button--standard[aria-pressed="true"] { color: var(--md-sys-color-primary); }

.md-icon-button--filled { background: var(--md-sys-color-primary); color: var(--md-sys-color-on-primary); }

.md-icon-button--filled[aria-pressed="false"] { background: var(--md-sys-color-surface-container-highest); color: var(--md-sys-color-primary); }

.md-icon-button--tonal { background: var(--md-sys-color-secondary-container); color: var(--md-sys-color-on-secondary-container); }

.md-icon-button--tonal[aria-pressed="false"] { background: var(--md-sys-color-surface-container-highest); color: var(--md-sys-color-on-surface-variant); }

.md-icon-button--outlined { border: 1px solid var(--md-sys-color-outline-variant); }

.md-icon-button--outlined[aria-pressed="true"] { border: 0; background: var(--md-sys-color-inverse-surface); color: var(--md-sys-color-inverse-on-surface); }

.md-icon-button:is(:disabled, [aria-disabled="true"]) {
  cursor: default;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) calc(var(--md-sys-state-disabled-content-opacity) * 100%), transparent);
}

.md-icon-button--filled:is(:disabled, [aria-disabled="true"]),
.md-icon-button--tonal:is(:disabled, [aria-disabled="true"]) {
  background: color-mix(in srgb, var(--md-sys-color-on-surface) calc(var(--md-sys-state-disabled-container-opacity) * 100%), transparent);
}

/* ===== FAB ============================================================= */

.md-fab {
  --md-icon-size: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-sizing: border-box;
  inline-size: 56px;
  block-size: 56px;
  padding: 0;
  border: 0;
  border-radius: var(--md-sys-shape-corner-large);
  background: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
  box-shadow: var(--md-sys-elevation-level3);
  cursor: pointer;
  text-decoration: none;
  font: var(--md-sys-typescale-label-large-weight) var(--md-sys-typescale-label-large-size) / var(--md-sys-typescale-label-large-line-height) var(--md-sys-typescale-label-large-font);
  transition: box-shadow var(--md-sys-motion-duration-short4) var(--md-sys-motion-easing-standard);
}

.md-fab:hover { box-shadow: var(--md-sys-elevation-level4); }

.md-fab--small { inline-size: 40px; block-size: 40px; border-radius: var(--md-sys-shape-corner-medium); }

.md-fab--large { --md-icon-size: 36px; inline-size: 96px; block-size: 96px; border-radius: var(--md-sys-shape-corner-extra-large); }

.md-fab--extended { inline-size: auto; min-inline-size: 80px; padding-inline: 16px 20px; }

.md-fab--secondary { background: var(--md-sys-color-secondary-container); color: var(--md-sys-color-on-secondary-container); }

.md-fab--tertiary { background: var(--md-sys-color-tertiary-container); color: var(--md-sys-color-on-tertiary-container); }

.md-fab--surface { background: var(--md-sys-color-surface-container-high); color: var(--md-sys-color-primary); }

.md-fab--lowered { box-shadow: var(--md-sys-elevation-level1); }

.md-fab--lowered:hover { box-shadow: var(--md-sys-elevation-level2); }

/* ===== Segmented button ================================================ */

.md-segmented {
  display: inline-flex;
  border: 0;
  margin: 0;
  padding: 0;
}

.md-segmented__segment {
  --md-icon-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1 1 0;
  min-inline-size: 48px;
  block-size: calc(40px + var(--md-sys-density) * var(--md-sys-density-step));
  padding-inline: 12px;
  border: 1px solid var(--md-sys-color-outline);
  color: var(--md-sys-color-on-surface);
  font: var(--md-sys-typescale-label-large-weight) var(--md-sys-typescale-label-large-size) / var(--md-sys-typescale-label-large-line-height) var(--md-sys-typescale-label-large-font);
  cursor: pointer;
  white-space: nowrap;
}

.md-segmented__segment + .md-segmented__segment { margin-inline-start: -1px; }

.md-segmented__segment:first-of-type { border-start-start-radius: var(--md-sys-shape-corner-full); border-end-start-radius: var(--md-sys-shape-corner-full); }

.md-segmented__segment:last-of-type { border-start-end-radius: var(--md-sys-shape-corner-full); border-end-end-radius: var(--md-sys-shape-corner-full); }

.md-segmented__segment input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }

.md-segmented__check { display: none; }

.md-segmented__segment:has(input:checked) { background: var(--md-sys-color-secondary-container); color: var(--md-sys-color-on-secondary-container); }

.md-segmented__segment:has(input:checked) .md-segmented__check { display: inline-block; }

.md-segmented__segment:has(input:checked) .md-segmented__icon { display: none; }

.md-segmented__segment:has(input:focus-visible) {
  outline: var(--md-sys-state-focus-indicator-thickness) solid var(--md-sys-state-focus-indicator-color);
  outline-offset: var(--md-sys-state-focus-indicator-outer-offset);
  z-index: 1;
}

.md-segmented__segment:has(input:disabled) {
  cursor: default;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) calc(var(--md-sys-state-disabled-content-opacity) * 100%), transparent);
  border-color: color-mix(in srgb, var(--md-sys-color-on-surface) calc(var(--md-sys-state-disabled-container-opacity) * 100%), transparent);
}

/* ===== Chips =========================================================== */

.md-chip {
  --md-icon-size: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  block-size: calc(32px + var(--md-sys-density) * var(--md-sys-density-step));
  padding-inline: 16px;
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-small);
  background: transparent;
  color: var(--md-sys-color-on-surface-variant);
  font: var(--md-sys-typescale-label-large-weight) var(--md-sys-typescale-label-large-size) / var(--md-sys-typescale-label-large-line-height) var(--md-sys-typescale-label-large-font);
  letter-spacing: var(--md-sys-typescale-label-large-tracking);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.md-chip--has-leading { padding-inline-start: 8px; }

.md-chip--has-trailing { padding-inline-end: 8px; }

.md-chip--assist { color: var(--md-sys-color-on-surface); }

.md-chip--assist .md-icon { color: var(--md-sys-color-primary); }

.md-chip--elevated { border-color: transparent; background: var(--md-sys-color-surface-container-low); box-shadow: var(--md-sys-elevation-level1); }

.md-chip input[type="checkbox"] { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }

.md-chip__check { display: none; }

.md-chip--filter:has(input:checked) {
  border-color: transparent;
  background: var(--md-sys-color-secondary-container);
  color: var(--md-sys-color-on-secondary-container);
  padding-inline-start: 8px;
}

.md-chip--filter:has(input:checked) .md-chip__check { display: inline-block; }

.md-chip--filter:has(input:focus-visible) {
  outline: var(--md-sys-state-focus-indicator-thickness) solid var(--md-sys-state-focus-indicator-color);
  outline-offset: var(--md-sys-state-focus-indicator-outer-offset);
}

.md-chip--input .md-chip__avatar { inline-size: 24px; block-size: 24px; border-radius: 50%; -o-object-fit: cover; object-fit: cover; }

.md-chip__remove {
  --md-icon-size: 18px;
  position: relative;
  display: inline-flex;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.md-chip:is([aria-disabled="true"], :has(input:disabled)) {
  cursor: default;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) calc(var(--md-sys-state-disabled-content-opacity) * 100%), transparent);
  border-color: color-mix(in srgb, var(--md-sys-color-on-surface) calc(var(--md-sys-state-disabled-container-opacity) * 100%), transparent);
}

.md-chip-set { display: flex; flex-wrap: wrap; gap: 8px; }

/* ===== Card ============================================================ */

.md-card {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  border-radius: var(--md-sys-shape-corner-medium);
  color: var(--md-sys-color-on-surface);
  overflow: hidden;
  text-decoration: none;
}

.md-card--elevated { background: var(--md-sys-color-surface-container-low); box-shadow: var(--md-sys-elevation-level1); }

.md-card--filled { background: var(--md-sys-color-surface-container-highest); }

.md-card--outlined { background: var(--md-sys-color-surface); border: 1px solid var(--md-sys-color-outline-variant); }

a.md-card--elevated:hover { box-shadow: var(--md-sys-elevation-level2); }

a.md-card--filled:hover { box-shadow: var(--md-sys-elevation-level1); }

.md-card__media { display: block; inline-size: 100%; aspect-ratio: 16 / 9; -o-object-fit: cover; object-fit: cover; }

.md-card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px; }

.md-card__header { display: flex; flex-direction: column; gap: 4px; }

.md-card__headline { margin: 0; font: var(--md-sys-typescale-title-medium-weight) var(--md-sys-typescale-title-medium-size) / var(--md-sys-typescale-title-medium-line-height) var(--md-sys-typescale-title-medium-font); letter-spacing: var(--md-sys-typescale-title-medium-tracking); }

.md-card__subhead { margin: 0; color: var(--md-sys-color-on-surface-variant); font: var(--md-sys-typescale-body-medium-weight) var(--md-sys-typescale-body-medium-size) / var(--md-sys-typescale-body-medium-line-height) var(--md-sys-typescale-body-medium-font); }

.md-card__content { color: var(--md-sys-color-on-surface-variant); font: var(--md-sys-typescale-body-medium-weight) var(--md-sys-typescale-body-medium-size) / var(--md-sys-typescale-body-medium-line-height) var(--md-sys-typescale-body-medium-font); }

.md-card__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 0 16px 16px; }

/* ===== Text field (filled, outlined) and select ======================== */

.md-field {
  --md-field-height: calc(56px + var(--md-sys-density) * var(--md-sys-density-step));
  --md-field-label-bg: var(--md-sys-color-surface);
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  min-inline-size: 210px;
  color: var(--md-sys-color-on-surface);
}

.md-field--block { display: flex; inline-size: 100%; }

.md-field__box {
  --md-icon-size: 24px;
  position: relative;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  min-block-size: var(--md-field-height);
  border-radius: var(--md-sys-shape-corner-extra-small);
  color: var(--md-sys-color-on-surface-variant);
}

.md-field--filled .md-field__box {
  background: var(--md-sys-color-surface-container-highest);
  border-end-start-radius: 0;
  border-end-end-radius: 0;
  box-shadow: inset 0 -1px 0 var(--md-sys-color-on-surface-variant);
}

.md-field--filled .md-field__box:hover { box-shadow: inset 0 -1px 0 var(--md-sys-color-on-surface); }

.md-field--filled .md-field__box:focus-within { box-shadow: inset 0 -3px 0 var(--md-sys-color-primary); }

.md-field--outlined .md-field__box { box-shadow: inset 0 0 0 1px var(--md-sys-color-outline); }

.md-field--outlined .md-field__box:hover { box-shadow: inset 0 0 0 1px var(--md-sys-color-on-surface); }

.md-field--outlined .md-field__box:focus-within { box-shadow: inset 0 0 0 3px var(--md-sys-color-primary); }

.md-field__input {
  flex: 1;
  min-inline-size: 0;
  box-sizing: border-box;
  block-size: var(--md-field-height);
  margin: 0;
  padding: 24px 16px 8px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--md-sys-color-on-surface);
  caret-color: var(--md-sys-color-primary);
  font: var(--md-sys-typescale-body-large-weight) var(--md-sys-typescale-body-large-size) / var(--md-sys-typescale-body-large-line-height) var(--md-sys-typescale-body-large-font);
  letter-spacing: var(--md-sys-typescale-body-large-tracking);
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.md-field--outlined .md-field__input { padding-block: 16px; }

textarea.md-field__input { block-size: auto; min-block-size: calc(var(--md-field-height) * 2); resize: vertical; }

select.md-field__input { padding-inline-end: 48px; cursor: pointer; }

.md-field__input::-moz-placeholder { color: var(--md-sys-color-on-surface-variant); opacity: 1; }

.md-field__input::placeholder { color: var(--md-sys-color-on-surface-variant); opacity: 1; }

.md-field__input:placeholder-shown::-moz-placeholder { color: transparent; }

.md-field__input:-moz-placeholder::placeholder { color: transparent; }

.md-field__input:placeholder-shown::placeholder { color: transparent; }

.md-field__input:focus::-moz-placeholder { color: var(--md-sys-color-on-surface-variant); }

.md-field__input:focus::placeholder { color: var(--md-sys-color-on-surface-variant); }

.md-field__leading { margin-inline-start: 12px; }

.md-field__leading + .md-field__input,
.md-field__leading ~ .md-field__label { padding-inline-start: 0; }

.md-field__trailing { margin-inline-end: 12px; }

.md-field__select-arrow { position: absolute; inset-inline-end: 12px; pointer-events: none; }

.md-field__label {
  position: absolute;
  inset-inline-start: 16px;
  inset-block-start: 50%;
  transform: translateY(-50%);
  max-inline-size: calc(100% - 32px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--md-sys-color-on-surface-variant);
  pointer-events: none;
  font: var(--md-sys-typescale-body-large-weight) var(--md-sys-typescale-body-large-size) / var(--md-sys-typescale-body-large-line-height) var(--md-sys-typescale-body-large-font);
  transition:
    inset-block-start var(--md-sys-motion-duration-short4) var(--md-sys-motion-easing-standard),
    font-size var(--md-sys-motion-duration-short4) var(--md-sys-motion-easing-standard);
}

.md-field__box--has-leading .md-field__label { inset-inline-start: 52px; }

.md-field__box--has-leading .md-field__input { padding-inline-start: 16px; }

/* Floated label: focused, filled in, a select, or a textarea. */

.md-field__input:not(:-moz-placeholder) ~ .md-field__label {
  inset-block-start: 8px;
  transform: none;
  font-size: var(--md-sys-typescale-body-small-size);
  line-height: var(--md-sys-typescale-body-small-line-height);
}

.md-field__box:focus-within .md-field__label,
.md-field__input:not(:placeholder-shown) ~ .md-field__label,
.md-field__box--float .md-field__label {
  inset-block-start: 8px;
  transform: none;
  font-size: var(--md-sys-typescale-body-small-size);
  line-height: var(--md-sys-typescale-body-small-line-height);
}

.md-field--outlined .md-field__input:not(:-moz-placeholder) ~ .md-field__label {
  inset-block-start: -8px;
  inset-inline-start: 12px;
  padding-inline: 4px;
  background: var(--md-field-label-bg);
}

.md-field--outlined .md-field__box:focus-within .md-field__label,
.md-field--outlined .md-field__input:not(:placeholder-shown) ~ .md-field__label,
.md-field--outlined .md-field__box--float .md-field__label {
  inset-block-start: -8px;
  inset-inline-start: 12px;
  padding-inline: 4px;
  background: var(--md-field-label-bg);
}

.md-field__box:focus-within .md-field__label { color: var(--md-sys-color-primary); }

.md-field__supporting {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-inline: 16px;
  color: var(--md-sys-color-on-surface-variant);
  font: var(--md-sys-typescale-body-small-weight) var(--md-sys-typescale-body-small-size) / var(--md-sys-typescale-body-small-line-height) var(--md-sys-typescale-body-small-font);
  letter-spacing: var(--md-sys-typescale-body-small-tracking);
}

.md-field--error .md-field__label,
.md-field--error .md-field__supporting,
.md-field--error .md-field__trailing { color: var(--md-sys-color-error); }

.md-field--error.md-field--filled .md-field__box { box-shadow: inset 0 -1px 0 var(--md-sys-color-error); }

.md-field--error.md-field--filled .md-field__box:focus-within { box-shadow: inset 0 -3px 0 var(--md-sys-color-error); }

.md-field--error.md-field--outlined .md-field__box { box-shadow: inset 0 0 0 1px var(--md-sys-color-error); }

.md-field--error.md-field--outlined .md-field__box:focus-within { box-shadow: inset 0 0 0 3px var(--md-sys-color-error); }

.md-field--error .md-field__input { caret-color: var(--md-sys-color-error); }

.md-field--disabled { opacity: var(--md-sys-state-disabled-content-opacity); }

.md-field--disabled .md-field__input { cursor: default; }

/* ===== Checkbox ======================================================== */

.md-check-row {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--md-sys-color-on-surface);
  font: var(--md-sys-typescale-body-large-weight) var(--md-sys-typescale-body-large-size) / var(--md-sys-typescale-body-large-line-height) var(--md-sys-typescale-body-large-font);
  cursor: pointer;
}

.md-check-row:has(:disabled) { cursor: default; opacity: var(--md-sys-state-disabled-content-opacity); }

.md-check-row__control {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 40px;
  block-size: 40px;
  border-radius: 50%;
  color: var(--md-sys-color-on-surface);
}

.md-check-row__control::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: currentColor;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--md-sys-motion-duration-short2) var(--md-sys-motion-easing-standard);
}

.md-check-row:hover .md-check-row__control::before { opacity: var(--md-sys-state-hover-state-layer-opacity); }

.md-check-row__control:has(:focus-visible)::before { opacity: var(--md-sys-state-focus-state-layer-opacity); }

.md-check-row__control:has(:checked) { color: var(--md-sys-color-primary); }

.md-checkbox {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  position: relative;
  box-sizing: border-box;
  inline-size: 18px;
  block-size: 18px;
  margin: 0;
  border: 2px solid var(--md-sys-color-on-surface-variant);
  border-radius: 2px;
  background: transparent;
  cursor: inherit;
  transition: background-color var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard);
}

.md-checkbox:is(:checked, :indeterminate) { border-color: var(--md-sys-color-primary); background: var(--md-sys-color-primary); }

.md-checkbox:checked::after {
  content: "";
  position: absolute;
  inset-inline-start: 4px;
  inset-block-start: 0;
  inline-size: 5px;
  block-size: 10px;
  border: solid var(--md-sys-color-on-primary);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.md-checkbox:indeterminate::after {
  content: "";
  position: absolute;
  inset-inline: 2px;
  inset-block-start: 6px;
  block-size: 2px;
  background: var(--md-sys-color-on-primary);
}

.md-checkbox:focus-visible { outline: none; }

.md-check-row__control:has(:focus-visible) {
  outline: var(--md-sys-state-focus-indicator-thickness) solid var(--md-sys-state-focus-indicator-color);
  outline-offset: calc(var(--md-sys-state-focus-indicator-outer-offset) * -1);
}

.md-checkbox[aria-invalid="true"] { border-color: var(--md-sys-color-error); }

.md-checkbox[aria-invalid="true"]:checked { background: var(--md-sys-color-error); }

/* ===== Radio =========================================================== */

.md-radio {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  position: relative;
  box-sizing: border-box;
  inline-size: 20px;
  block-size: 20px;
  margin: 0;
  border: 2px solid var(--md-sys-color-on-surface-variant);
  border-radius: 50%;
  background: transparent;
  cursor: inherit;
}

.md-radio:checked { border-color: var(--md-sys-color-primary); }

.md-radio:checked::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--md-sys-color-primary);
}

.md-radio:focus-visible { outline: none; }

/* ===== Switch ========================================================== */

.md-switch {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  position: relative;
  flex: none;
  box-sizing: border-box;
  inline-size: 52px;
  block-size: 32px;
  margin: 0;
  border: 2px solid var(--md-sys-color-outline);
  border-radius: var(--md-sys-shape-corner-full);
  background: var(--md-sys-color-surface-container-highest);
  cursor: pointer;
  transition: background-color var(--md-sys-motion-duration-short4) var(--md-sys-motion-easing-standard);
}

.md-switch::before {
  content: "";
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 6px;
  inline-size: 16px;
  block-size: 16px;
  border-radius: 50%;
  background: var(--md-sys-color-outline);
  transform: translateY(-50%);
  transition:
    inset-inline-start var(--md-sys-motion-duration-medium1) var(--md-sys-motion-easing-emphasized-decelerate),
    inline-size var(--md-sys-motion-duration-short4) var(--md-sys-motion-easing-standard),
    block-size var(--md-sys-motion-duration-short4) var(--md-sys-motion-easing-standard),
    box-shadow var(--md-sys-motion-duration-short2) var(--md-sys-motion-easing-standard);
}

.md-switch:checked { border-color: var(--md-sys-color-primary); background: var(--md-sys-color-primary); }

.md-switch:checked::before {
  inset-inline-start: 22px;
  inline-size: 24px;
  block-size: 24px;
  background: var(--md-sys-color-on-primary);
}

.md-switch:active::before { inline-size: 28px; block-size: 28px; }

.md-switch:checked:active::before { inset-inline-start: 18px; }

.md-switch:hover::before { box-shadow: 0 0 0 8px color-mix(in srgb, var(--md-sys-color-on-surface) 8%, transparent); }

.md-switch:checked:hover::before { box-shadow: 0 0 0 8px color-mix(in srgb, var(--md-sys-color-primary) 8%, transparent); }

.md-switch:focus-visible {
  outline: var(--md-sys-state-focus-indicator-thickness) solid var(--md-sys-state-focus-indicator-color);
  outline-offset: var(--md-sys-state-focus-indicator-outer-offset);
}

.md-switch:disabled { cursor: default; opacity: var(--md-sys-state-disabled-content-opacity); }

.md-switch-row { display: inline-flex; align-items: center; gap: 16px; cursor: pointer; color: var(--md-sys-color-on-surface); font: var(--md-sys-typescale-body-large-weight) var(--md-sys-typescale-body-large-size) / var(--md-sys-typescale-body-large-line-height) var(--md-sys-typescale-body-large-font); }

/* ===== Slider ========================================================== */

.md-slider {
  --md-slider-value: 50%;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  inline-size: 100%;
  min-inline-size: 160px;
  block-size: 44px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}

.md-slider::-webkit-slider-runnable-track {
  block-size: 4px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--md-sys-color-primary) var(--md-slider-value), var(--md-sys-color-secondary-container) var(--md-slider-value));
}

[dir="rtl"] .md-slider::-webkit-slider-runnable-track {
  background: linear-gradient(to left, var(--md-sys-color-primary) var(--md-slider-value), var(--md-sys-color-secondary-container) var(--md-slider-value));
}

.md-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
          appearance: none;
  inline-size: 20px;
  block-size: 20px;
  margin-block-start: -8px;
  border: 0;
  border-radius: 50%;
  background: var(--md-sys-color-primary);
  box-shadow: var(--md-sys-elevation-level1);
}

.md-slider::-moz-range-track { block-size: 4px; border-radius: 2px; background: var(--md-sys-color-secondary-container); }

.md-slider::-moz-range-progress { block-size: 4px; border-radius: 2px; background: var(--md-sys-color-primary); }

.md-slider::-moz-range-thumb { inline-size: 20px; block-size: 20px; border: 0; border-radius: 50%; background: var(--md-sys-color-primary); }

.md-slider:focus-visible { outline: none; }

.md-slider:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 10px color-mix(in srgb, var(--md-sys-color-primary) 10%, transparent); outline: 3px solid var(--md-sys-state-focus-indicator-color); outline-offset: 2px; }

.md-slider:focus-visible::-moz-range-thumb { outline: 3px solid var(--md-sys-state-focus-indicator-color); outline-offset: 2px; }

.md-slider:disabled { cursor: default; opacity: var(--md-sys-state-disabled-content-opacity); }

/* ===== Badge =========================================================== */

.md-badge-anchor { position: relative; display: inline-flex; }

.md-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-inline-size: 16px;
  block-size: 16px;
  padding-inline: 4px;
  border-radius: var(--md-sys-shape-corner-full);
  background: var(--md-sys-color-error);
  color: var(--md-sys-color-on-error);
  font: var(--md-sys-typescale-label-small-weight) var(--md-sys-typescale-label-small-size) / var(--md-sys-typescale-label-small-line-height) var(--md-sys-typescale-label-small-font);
}

.md-badge--small { min-inline-size: 6px; block-size: 6px; padding: 0; }

.md-badge-anchor > .md-badge { position: absolute; inset-block-start: 2px; inset-inline-start: calc(100% - 12px); }

.md-badge-anchor > .md-badge--small { inset-block-start: 6px; inset-inline-start: calc(100% - 10px); }

/* ===== Progress indicators ============================================= */

.md-linear-progress {
  position: relative;
  display: block;
  inline-size: 100%;
  block-size: 4px;
  overflow: hidden;
  border-radius: var(--md-sys-shape-corner-full);
  background: var(--md-sys-color-secondary-container);
  color: var(--md-sys-color-primary);
}

.md-linear-progress svg { display: block; inline-size: 100%; block-size: 100%; }

[dir="rtl"] .md-linear-progress svg { transform: scaleX(-1); }

.md-linear-progress__bar { fill: currentColor; }

.md-linear-progress--indeterminate::before,
.md-linear-progress--indeterminate::after {
  content: "";
  position: absolute;
  inset-block: 0;
  border-radius: inherit;
  background: currentColor;
  animation: md-linear-indeterminate 2s var(--md-sys-motion-easing-standard) infinite;
}

.md-linear-progress--indeterminate::after { animation-delay: 1s; }

@keyframes md-linear-indeterminate {
  0% { inset-inline-start: -35%; inset-inline-end: 100%; }
  60% { inset-inline-start: 100%; inset-inline-end: -90%; }
  100% { inset-inline-start: 100%; inset-inline-end: -90%; }
}

.md-circular-progress { display: inline-block; inline-size: var(--md-progress-size, 48px); block-size: var(--md-progress-size, 48px); color: var(--md-sys-color-primary); }

.md-circular-progress svg { display: block; inline-size: 100%; block-size: 100%; transform: rotate(-90deg); }

.md-circular-progress__track { fill: none; stroke: var(--md-sys-color-secondary-container); stroke-width: 4; }

.md-circular-progress__bar { fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; transition: stroke-dashoffset var(--md-sys-motion-duration-medium2) var(--md-sys-motion-easing-standard); }

.md-circular-progress--indeterminate svg { animation: md-spin 1.4s linear infinite; }

.md-circular-progress--indeterminate .md-circular-progress__bar { animation: md-arc 1.4s var(--md-sys-motion-easing-standard) infinite; }

@keyframes md-spin { to { transform: rotate(270deg); } }

@keyframes md-arc {
  0% { stroke-dashoffset: 113; }
  50% { stroke-dashoffset: 28; }
  100% { stroke-dashoffset: 113; }
}

@media (prefers-reduced-motion: reduce) {
  .md-linear-progress--indeterminate::before,
  .md-linear-progress--indeterminate::after,
  .md-circular-progress--indeterminate svg,
  .md-circular-progress--indeterminate .md-circular-progress__bar { animation-duration: 4s; }
}

/* ===== Divider ========================================================= */

.md-divider { block-size: 0; margin: 0; border: 0; border-block-start: 1px solid var(--md-sys-color-outline-variant); }

.md-divider--inset { margin-inline-start: 16px; }

.md-divider--middle { margin-inline: 16px; }

.md-divider--vertical { align-self: stretch; inline-size: 0; block-size: auto; border-block-start: 0; border-inline-start: 1px solid var(--md-sys-color-outline-variant); }

/* ===== List ============================================================ */

.md-list { margin: 0; padding: 8px 0; list-style: none; background: var(--md-sys-color-surface); color: var(--md-sys-color-on-surface); }

.md-list__item {
  --md-icon-size: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-sizing: border-box;
  min-block-size: calc(56px + var(--md-sys-density) * var(--md-sys-density-step));
  padding-block: 8px;
  padding-inline: 16px 24px;
  color: inherit;
  text-decoration: none;
}

.md-list__item--two-line { min-block-size: calc(72px + var(--md-sys-density) * var(--md-sys-density-step)); }

.md-list__item--three-line { align-items: flex-start; min-block-size: calc(88px + var(--md-sys-density) * var(--md-sys-density-step)); padding-block: 12px; }

.md-list__leading { color: var(--md-sys-color-on-surface-variant); display: inline-flex; }

.md-list__avatar { display: inline-flex; align-items: center; justify-content: center; inline-size: 40px; block-size: 40px; border-radius: 50%; overflow: hidden; background: var(--md-sys-color-primary-container); color: var(--md-sys-color-on-primary-container); font: var(--md-sys-typescale-title-medium-weight) var(--md-sys-typescale-title-medium-size) / 1 var(--md-sys-typescale-title-medium-font); }

.md-list__avatar img { inline-size: 100%; block-size: 100%; -o-object-fit: cover; object-fit: cover; }

.md-list__text { display: flex; flex: 1; flex-direction: column; min-inline-size: 0; }

.md-list__overline { color: var(--md-sys-color-on-surface-variant); font: var(--md-sys-typescale-label-small-weight) var(--md-sys-typescale-label-small-size) / var(--md-sys-typescale-label-small-line-height) var(--md-sys-typescale-label-small-font); }

.md-list__headline { font: var(--md-sys-typescale-body-large-weight) var(--md-sys-typescale-body-large-size) / var(--md-sys-typescale-body-large-line-height) var(--md-sys-typescale-body-large-font); letter-spacing: var(--md-sys-typescale-body-large-tracking); }

.md-list__supporting { color: var(--md-sys-color-on-surface-variant); font: var(--md-sys-typescale-body-medium-weight) var(--md-sys-typescale-body-medium-size) / var(--md-sys-typescale-body-medium-line-height) var(--md-sys-typescale-body-medium-font); }

.md-list__item--two-line .md-list__supporting { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.md-list__item--three-line .md-list__supporting { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.md-list__trailing { color: var(--md-sys-color-on-surface-variant); display: inline-flex; align-items: center; font: var(--md-sys-typescale-label-small-weight) var(--md-sys-typescale-label-small-size) / var(--md-sys-typescale-label-small-line-height) var(--md-sys-typescale-label-small-font); }

a.md-list__item:is([aria-current="page"], [aria-selected="true"]) { background: var(--md-sys-color-secondary-container); color: var(--md-sys-color-on-secondary-container); }

/* ===== Menu ============================================================ */

.md-menu-anchor { position: relative; display: inline-flex; }

.md-menu {
  position: absolute;
  inset-block-start: calc(100% + 4px);
  inset-inline-start: 0;
  z-index: 40;
  min-inline-size: 112px;
  max-inline-size: 280px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  border-radius: var(--md-sys-shape-corner-extra-small);
  background: var(--md-sys-color-surface-container);
  color: var(--md-sys-color-on-surface);
  box-shadow: var(--md-sys-elevation-level2);
  transform-origin: top;
  animation: md-menu-in var(--md-sys-motion-duration-short4) var(--md-sys-motion-easing-emphasized-decelerate);
}

.md-menu--end { inset-inline-start: auto; inset-inline-end: 0; }

.md-menu[hidden] { display: none; }

@keyframes md-menu-in { from { opacity: 0; transform: scaleY(0.8); } to { opacity: 1; transform: none; } }

.md-menu__item {
  --md-icon-size: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
  inline-size: 100%;
  min-block-size: calc(48px + var(--md-sys-density) * var(--md-sys-density-step));
  padding-inline: 12px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: start;
  text-decoration: none;
  cursor: pointer;
  font: var(--md-sys-typescale-label-large-weight) var(--md-sys-typescale-label-large-size) / var(--md-sys-typescale-label-large-line-height) var(--md-sys-typescale-label-large-font);
}

.md-menu__item .md-icon { color: var(--md-sys-color-on-surface-variant); }

.md-menu__item-trailing { margin-inline-start: auto; color: var(--md-sys-color-on-surface-variant); }

.md-menu__item:focus-visible { outline: none; }

.md-menu__item:focus-visible::before { opacity: var(--md-sys-state-focus-state-layer-opacity); }

.md-menu__item:is(:disabled, [aria-disabled="true"]) { cursor: default; opacity: var(--md-sys-state-disabled-content-opacity); }

.md-menu__divider { margin-block: 8px; }

/* ===== Dialog ========================================================== */

.md-dialog {
  box-sizing: border-box;
  inline-size: min(560px, calc(100vw - 48px));
  min-inline-size: min(280px, calc(100vw - 48px));
  max-block-size: calc(100dvh - 48px);
  padding: 24px;
  border: 0;
  border-radius: var(--md-sys-shape-corner-extra-large);
  background: var(--md-sys-color-surface-container-high);
  color: var(--md-sys-color-on-surface-variant);
  box-shadow: var(--md-sys-elevation-level3);
}

.md-dialog[open] { display: flex; flex-direction: column; gap: 16px; animation: md-dialog-in var(--md-sys-motion-duration-medium2) var(--md-sys-motion-easing-emphasized-decelerate); }

.md-dialog::backdrop { background: color-mix(in srgb, var(--md-sys-color-scrim) 32%, transparent); }

@keyframes md-dialog-in { from { opacity: 0; transform: translateY(-16px) scale(0.98); } to { opacity: 1; transform: none; } }

.md-dialog__icon { --md-icon-size: 24px; align-self: center; color: var(--md-sys-color-secondary); }

.md-dialog__headline { margin: 0; color: var(--md-sys-color-on-surface); font: var(--md-sys-typescale-headline-small-weight) var(--md-sys-typescale-headline-small-size) / var(--md-sys-typescale-headline-small-line-height) var(--md-sys-typescale-headline-small-font); }

.md-dialog--has-icon .md-dialog__headline { text-align: center; }

.md-dialog__content { overflow: auto; font: var(--md-sys-typescale-body-medium-weight) var(--md-sys-typescale-body-medium-size) / var(--md-sys-typescale-body-medium-line-height) var(--md-sys-typescale-body-medium-font); letter-spacing: var(--md-sys-typescale-body-medium-tracking); }

.md-dialog__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding-block-start: 8px; }

/* ===== Snackbar ======================================================== */

.md-snackbar {
  position: fixed;
  inset-block-end: 16px;
  inset-inline-start: 50%;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  inline-size: -moz-max-content;
  inline-size: max-content;
  min-inline-size: min(344px, calc(100vw - 32px));
  max-inline-size: min(672px, calc(100vw - 32px));
  min-block-size: 48px;
  padding: 4px 8px 4px 16px;
  padding-inline: 16px 8px;
  border-radius: var(--md-sys-shape-corner-extra-small);
  background: var(--md-sys-color-inverse-surface);
  color: var(--md-sys-color-inverse-on-surface);
  box-shadow: var(--md-sys-elevation-level3);
  transform: translateX(-50%);
  font: var(--md-sys-typescale-body-medium-weight) var(--md-sys-typescale-body-medium-size) / var(--md-sys-typescale-body-medium-line-height) var(--md-sys-typescale-body-medium-font);
  animation: md-snackbar-in var(--md-sys-motion-duration-medium1) var(--md-sys-motion-easing-emphasized-decelerate);
}

[dir="rtl"] .md-snackbar { transform: translateX(50%); }

.md-snackbar[hidden] { display: none; }

.md-snackbar__text { flex: 1; padding-block: 10px; }

.md-snackbar__action { color: var(--md-sys-color-inverse-primary); }

.md-snackbar__close { color: var(--md-sys-color-inverse-on-surface); }

.md-snackbar--inline { position: static; transform: none; animation: none; }

[dir="rtl"] .md-snackbar--inline { transform: none; }

@keyframes md-snackbar-in { from { opacity: 0; } to { opacity: 1; } }

/* ===== Tooltip ========================================================= */

.md-tooltip-anchor { position: relative; display: inline-flex; }

.md-tooltip {
  position: absolute;
  inset-block-end: calc(100% + 4px);
  inset-inline-start: 50%;
  z-index: 50;
  box-sizing: border-box;
  inline-size: -moz-max-content;
  inline-size: max-content;
  max-inline-size: 200px;
  padding: 4px 8px;
  border-radius: var(--md-sys-shape-corner-extra-small);
  background: var(--md-sys-color-inverse-surface);
  color: var(--md-sys-color-inverse-on-surface);
  font: var(--md-sys-typescale-body-small-weight) var(--md-sys-typescale-body-small-size) / var(--md-sys-typescale-body-small-line-height) var(--md-sys-typescale-body-small-font);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
  transition: opacity var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard);
}

[dir="rtl"] .md-tooltip { transform: translateX(50%); }

.md-tooltip--rich {
  max-inline-size: 312px;
  padding: 12px 16px 8px;
  border-radius: var(--md-sys-shape-corner-medium);
  background: var(--md-sys-color-surface-container);
  color: var(--md-sys-color-on-surface-variant);
  box-shadow: var(--md-sys-elevation-level2);
  font: var(--md-sys-typescale-body-medium-weight) var(--md-sys-typescale-body-medium-size) / var(--md-sys-typescale-body-medium-line-height) var(--md-sys-typescale-body-medium-font);
}

.md-tooltip__subhead { display: block; margin-block-end: 4px; color: var(--md-sys-color-on-surface); font: var(--md-sys-typescale-title-small-weight) var(--md-sys-typescale-title-small-size) / var(--md-sys-typescale-title-small-line-height) var(--md-sys-typescale-title-small-font); }

.md-tooltip-anchor:is(:hover, :focus-within) > .md-tooltip { opacity: 1; }

.md-tooltip-anchor:has(.md-tooltip--rich):is(:hover, :focus-within) > .md-tooltip { pointer-events: auto; }

/* ===== Tabs ============================================================ */

.md-tabs {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  background: var(--md-sys-color-surface);
  box-shadow: inset 0 -1px 0 var(--md-sys-color-surface-variant);
}

.md-tabs__tab {
  --md-icon-size: 24px;
  position: relative;
  display: inline-flex;
  flex: 1 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-inline-size: 90px;
  block-size: 48px;
  padding-inline: 16px;
  border: 0;
  background: transparent;
  color: var(--md-sys-color-on-surface-variant);
  text-decoration: none;
  cursor: pointer;
  font: var(--md-sys-typescale-title-small-weight) var(--md-sys-typescale-title-small-size) / var(--md-sys-typescale-title-small-line-height) var(--md-sys-typescale-title-small-font);
  letter-spacing: var(--md-sys-typescale-title-small-tracking);
}

.md-tabs--has-icons .md-tabs__tab { block-size: 64px; }

.md-tabs__tab:is([aria-selected="true"], [aria-current="page"]) { color: var(--md-sys-color-primary); }

.md-tabs__tab:is([aria-selected="true"], [aria-current="page"])::after {
  content: "";
  position: absolute;
  inset-block-end: 0;
  inset-inline: 16px;
  block-size: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--md-sys-color-primary);
}

.md-tabs--secondary .md-tabs__tab { flex-direction: row; gap: 8px; }

.md-tabs--secondary .md-tabs__tab:is([aria-selected="true"], [aria-current="page"]) { color: var(--md-sys-color-on-surface); }

.md-tabs--secondary .md-tabs__tab:is([aria-selected="true"], [aria-current="page"])::after { inset-inline: 0; block-size: 2px; border-radius: 0; }

.md-tab-panel[hidden] { display: none; }

/* ===== Navigation bar (bottom) ========================================= */

.md-nav-bar {
  display: flex;
  justify-content: space-around;
  box-sizing: border-box;
  inline-size: 100%;
  block-size: 80px;
  padding-block: 12px 16px;
  background: var(--md-sys-color-surface-container);
  color: var(--md-sys-color-on-surface-variant);
}

.md-nav-bar--fixed { position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 30; padding-block-end: max(16px, env(safe-area-inset-bottom)); block-size: auto; }

.md-nav-bar__item,
.md-nav-rail__item {
  --md-icon-size: 24px;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-inline-size: 48px;
  color: inherit;
  text-decoration: none;
  font: var(--md-sys-typescale-label-medium-weight) var(--md-sys-typescale-label-medium-size) / var(--md-sys-typescale-label-medium-line-height) var(--md-sys-typescale-label-medium-font);
  letter-spacing: var(--md-sys-typescale-label-medium-tracking);
}

.md-nav-bar__indicator,
.md-nav-rail__indicator {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 64px;
  block-size: 32px;
  border-radius: var(--md-sys-shape-corner-full);
}

.md-nav-bar__item:focus-visible { outline: none; }

.md-nav-bar__item:focus-visible .md-nav-bar__indicator,
.md-nav-rail__item:focus-visible .md-nav-rail__indicator {
  outline: var(--md-sys-state-focus-indicator-thickness) solid var(--md-sys-state-focus-indicator-color);
  outline-offset: var(--md-sys-state-focus-indicator-outer-offset);
}

.md-nav-rail__item:focus-visible { outline: none; }

.md-nav-bar__item[aria-current="page"],
.md-nav-rail__item[aria-current="page"] { color: var(--md-sys-color-on-surface); font-weight: var(--md-ref-typeface-weight-bold); }

.md-nav-bar__item[aria-current="page"] .md-nav-bar__indicator,
.md-nav-rail__item[aria-current="page"] .md-nav-rail__indicator { background: var(--md-sys-color-secondary-container); color: var(--md-sys-color-on-secondary-container); }

.md-nav-bar__item .md-badge,
.md-nav-rail__item .md-badge { position: absolute; inset-block-start: 2px; inset-inline-start: 34px; }

/* ===== Navigation rail ================================================= */

.md-nav-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
  inline-size: 80px;
  min-block-size: 100%;
  padding-block: 12px;
  background: var(--md-sys-color-surface);
  color: var(--md-sys-color-on-surface-variant);
}

.md-nav-rail__top { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-block-end: 28px; }

.md-nav-rail__items { display: flex; flex-direction: column; gap: 12px; inline-size: 100%; }

.md-nav-rail__item { flex: none; }

.md-nav-rail__item .md-nav-rail__indicator { inline-size: 56px; }

/* ===== Navigation drawer =============================================== */

.md-nav-drawer {
  box-sizing: border-box;
  inline-size: 360px;
  max-inline-size: calc(100vw - 56px);
  padding: 12px;
  background: var(--md-sys-color-surface-container-low);
  color: var(--md-sys-color-on-surface-variant);
}

.md-nav-drawer--standard { border-radius: 0 var(--md-sys-shape-corner-large) var(--md-sys-shape-corner-large) 0; min-block-size: 100%; }

[dir="rtl"] .md-nav-drawer--standard { border-radius: var(--md-sys-shape-corner-large) 0 0 var(--md-sys-shape-corner-large); }

dialog.md-nav-drawer {
  position: fixed;
  inset-block: 0;
  inset-inline: 0 auto;
  margin: 0;
  block-size: 100dvh;
  max-block-size: 100dvh;
  border: 0;
  border-start-end-radius: var(--md-sys-shape-corner-large);
  border-end-end-radius: var(--md-sys-shape-corner-large);
  box-shadow: var(--md-sys-elevation-level1);
}

dialog.md-nav-drawer[open] { animation: md-drawer-in var(--md-sys-motion-duration-medium2) var(--md-sys-motion-easing-emphasized-decelerate); }

dialog.md-nav-drawer::backdrop { background: color-mix(in srgb, var(--md-sys-color-scrim) 32%, transparent); }

@keyframes md-drawer-in { from { transform: translateX(-100%); } to { transform: none; } }

[dir="rtl"] dialog.md-nav-drawer { animation-name: md-drawer-in-rtl; }

@keyframes md-drawer-in-rtl { from { transform: translateX(100%); } to { transform: none; } }

.md-nav-drawer__headline { margin: 0; padding: 18px 16px; color: var(--md-sys-color-on-surface-variant); font: var(--md-sys-typescale-title-small-weight) var(--md-sys-typescale-title-small-size) / var(--md-sys-typescale-title-small-line-height) var(--md-sys-typescale-title-small-font); }

.md-nav-drawer__items { margin: 0; padding: 0; list-style: none; }

.md-nav-drawer__item {
  --md-icon-size: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
  block-size: 56px;
  padding-inline: 16px 24px;
  border-radius: var(--md-sys-shape-corner-full);
  color: inherit;
  text-decoration: none;
  font: var(--md-sys-typescale-label-large-weight) var(--md-sys-typescale-label-large-size) / var(--md-sys-typescale-label-large-line-height) var(--md-sys-typescale-label-large-font);
}

.md-nav-drawer__item[aria-current="page"] { background: var(--md-sys-color-secondary-container); color: var(--md-sys-color-on-secondary-container); }

.md-nav-drawer__badge { margin-inline-start: auto; }

/* ===== Top app bar ===================================================== */

.md-top-app-bar {
  --md-icon-size: 24px;
  position: sticky;
  inset-block-start: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 4px;
  box-sizing: border-box;
  min-block-size: 64px;
  padding-inline: 4px;
  background: var(--md-sys-color-surface);
  color: var(--md-sys-color-on-surface);
  transition: background-color var(--md-sys-motion-duration-short4) var(--md-sys-motion-easing-standard);
}

.md-top-app-bar--scrolled { background: var(--md-sys-color-surface-container); }

.md-top-app-bar__title { margin: 0; padding-inline: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: var(--md-sys-typescale-title-large-weight) var(--md-sys-typescale-title-large-size) / var(--md-sys-typescale-title-large-line-height) var(--md-sys-typescale-title-large-font); }

.md-top-app-bar--center .md-top-app-bar__title { text-align: center; }

.md-top-app-bar__actions { display: flex; align-items: center; gap: 0; }

.md-top-app-bar--medium { grid-template-areas: "lead . act" "title title title"; min-block-size: 112px; }

.md-top-app-bar--large { grid-template-areas: "lead . act" "title title title"; min-block-size: 152px; }

.md-top-app-bar--medium .md-top-app-bar__leading,
.md-top-app-bar--large .md-top-app-bar__leading { grid-area: lead; }

.md-top-app-bar--medium .md-top-app-bar__actions,
.md-top-app-bar--large .md-top-app-bar__actions { grid-area: act; }

.md-top-app-bar--medium .md-top-app-bar__title { grid-area: title; padding: 0 12px 20px; font: var(--md-sys-typescale-headline-small-weight) var(--md-sys-typescale-headline-small-size) / var(--md-sys-typescale-headline-small-line-height) var(--md-sys-typescale-headline-small-font); }

.md-top-app-bar--large .md-top-app-bar__title { grid-area: title; padding: 0 12px 28px; font: var(--md-sys-typescale-headline-medium-weight) var(--md-sys-typescale-headline-medium-size) / var(--md-sys-typescale-headline-medium-line-height) var(--md-sys-typescale-headline-medium-font); }

/* ===== Search bar ====================================================== */

.md-search-bar {
  --md-icon-size: 24px;
  display: flex;
  align-items: center;
  gap: 4px;
  box-sizing: border-box;
  inline-size: 100%;
  max-inline-size: 720px;
  min-inline-size: 240px;
  block-size: calc(56px + var(--md-sys-density) * var(--md-sys-density-step));
  padding-inline: 4px;
  border-radius: var(--md-sys-shape-corner-full);
  background: var(--md-sys-color-surface-container-high);
  color: var(--md-sys-color-on-surface-variant);
}

.md-search-bar:focus-within {
  outline: var(--md-sys-state-focus-indicator-thickness) solid var(--md-sys-state-focus-indicator-color);
  outline-offset: var(--md-sys-state-focus-indicator-outer-offset);
}

.md-search-bar__icon { display: inline-flex; padding-inline: 12px 4px; }

.md-search-bar__input {
  flex: 1;
  min-inline-size: 0;
  block-size: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--md-sys-color-on-surface);
  font: var(--md-sys-typescale-body-large-weight) var(--md-sys-typescale-body-large-size) / var(--md-sys-typescale-body-large-line-height) var(--md-sys-typescale-body-large-font);
}

.md-search-bar__input::-moz-placeholder { color: var(--md-sys-color-on-surface-variant); }

.md-search-bar__input::placeholder { color: var(--md-sys-color-on-surface-variant); }

.md-search-bar__input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }

/* ===== Notice (inline status message, M3 container colors) ============= */

.md-notice {
  --md-icon-size: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--md-sys-shape-corner-medium);
  font: var(--md-sys-typescale-body-medium-weight) var(--md-sys-typescale-body-medium-size) / var(--md-sys-typescale-body-medium-line-height) var(--md-sys-typescale-body-medium-font);
}

.md-notice__body { flex: 1; }

.md-notice__title { display: block; font: var(--md-sys-typescale-title-small-weight) var(--md-sys-typescale-title-small-size) / var(--md-sys-typescale-title-small-line-height) var(--md-sys-typescale-title-small-font); }

.md-notice--info { background: var(--md-sys-color-info-container); color: var(--md-sys-color-on-info-container); }

.md-notice--success { background: var(--md-sys-color-success-container); color: var(--md-sys-color-on-success-container); }

.md-notice--warning { background: var(--md-sys-color-warning-container); color: var(--md-sys-color-on-warning-container); }

.md-notice--error { background: var(--md-sys-color-error-container); color: var(--md-sys-color-on-error-container); }

/* ===== Gallery page only ================================================ */

.m3-gallery { min-inline-size: 0; }

.m3-gallery__section { min-inline-size: 0; scroll-margin-top: 96px; margin-block-end: 56px; }

.m3-gallery .grid > * { min-inline-size: 0; }

.m3-demo { min-inline-size: 0; padding: 24px; border-radius: var(--md-sys-shape-corner-large); background: var(--md-sys-color-surface); border: 1px solid var(--md-sys-color-outline-variant); --md-field-label-bg: var(--md-sys-color-surface); }

.md-slider-field { display: flex; flex-direction: column; gap: 4px; }

.md-tooltip__actions { display: flex; justify-content: flex-start; margin-block-start: 8px; }

.md-notice__actions { display: flex; gap: 8px; }

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

/* ! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com */

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: system-ui, ui-sans-serif, sans-serif; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

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

.container {
  width: 100%;
}

@media (min-width: 600px) {

  .container {
    max-width: 600px;
  }
}

@media (min-width: 640px) {

  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {

  .container {
    max-width: 768px;
  }
}

@media (min-width: 840px) {

  .container {
    max-width: 840px;
  }
}

@media (min-width: 1024px) {

  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1200px) {

  .container {
    max-width: 1200px;
  }
}

@media (min-width: 1280px) {

  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {

  .container {
    max-width: 1536px;
  }
}

@media (min-width: 1600px) {

  .container {
    max-width: 1600px;
  }
}

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

.pointer-events-none {
  pointer-events: none;
}

.visible {
  visibility: visible;
}

.collapse {
  visibility: collapse;
}

.static {
  position: static;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.sticky {
  position: sticky;
}

.inset-0 {
  inset: 0px;
}

.inset-y-0 {
  top: 0px;
  bottom: 0px;
}

.-bottom-1 {
  bottom: -0.25rem;
}

.-left-1 {
  left: -0.25rem;
}

.-right-1 {
  right: -0.25rem;
}

.-top-1 {
  top: -0.25rem;
}

.bottom-0 {
  bottom: 0px;
}

.bottom-4 {
  bottom: 1rem;
}

.bottom-6 {
  bottom: 1.5rem;
}

.bottom-\[-4px\] {
  bottom: -4px;
}

.left-0 {
  left: 0px;
}

.left-1\/2 {
  left: 50%;
}

.left-2 {
  left: 0.5rem;
}

.left-4 {
  left: 1rem;
}

.left-\[-4px\] {
  left: -4px;
}

.right-0 {
  right: 0px;
}

.right-2 {
  right: 0.5rem;
}

.right-6 {
  right: 1.5rem;
}

.right-\[-4px\] {
  right: -4px;
}

.start-1 {
  inset-inline-start: 0.25rem;
}

.top-0 {
  top: 0px;
}

.top-1 {
  top: 0.25rem;
}

.top-1\/2 {
  top: 50%;
}

.top-2 {
  top: 0.5rem;
}

.top-3 {
  top: 0.75rem;
}

.top-\[-4px\] {
  top: -4px;
}

.top-full {
  top: 100%;
}

.z-10 {
  z-index: 10;
}

.z-20 {
  z-index: 20;
}

.z-50 {
  z-index: 50;
}

.z-\[10000\] {
  z-index: 10000;
}

.z-\[80\] {
  z-index: 80;
}

.z-\[9999\] {
  z-index: 9999;
}

.col-span-full {
  grid-column: 1 / -1;
}

.float-right {
  float: right;
}

.-mx-4 {
  margin-left: -1rem;
  margin-right: -1rem;
}

.mx-1 {
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-0 {
  margin-bottom: 0px;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-5 {
  margin-bottom: 1.25rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.ml-1 {
  margin-left: 0.25rem;
}

.ml-2 {
  margin-left: 0.5rem;
}

.ml-4 {
  margin-left: 1rem;
}

.ml-auto {
  margin-left: auto;
}

.mr-1 {
  margin-right: 0.25rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.ms-1 {
  margin-inline-start: 0.25rem;
}

.ms-2 {
  margin-inline-start: 0.5rem;
}

.mt-0\.5 {
  margin-top: 0.125rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-1\.5 {
  margin-top: 0.375rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-5 {
  margin-top: 1.25rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-auto {
  margin-top: auto;
}

.line-clamp-1 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.line-clamp-3 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.\!block {
  display: block !important;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.inline {
  display: inline;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.table {
  display: table;
}

.grid {
  display: grid;
}

.contents {
  display: contents;
}

.\!hidden {
  display: none !important;
}

.hidden {
  display: none;
}

.aspect-\[4\/3\] {
  aspect-ratio: 4/3;
}

.h-10 {
  height: 2.5rem;
}

.h-11 {
  height: 2.75rem;
}

.h-12 {
  height: 3rem;
}

.h-14 {
  height: 3.5rem;
}

.h-2 {
  height: 0.5rem;
}

.h-2\.5 {
  height: 0.625rem;
}

.h-20 {
  height: 5rem;
}

.h-24 {
  height: 6rem;
}

.h-28 {
  height: 7rem;
}

.h-3\.5 {
  height: 0.875rem;
}

.h-4 {
  height: 1rem;
}

.h-40 {
  height: 10rem;
}

.h-48 {
  height: 12rem;
}

.h-5 {
  height: 1.25rem;
}

.h-6 {
  height: 1.5rem;
}

.h-7 {
  height: 1.75rem;
}

.h-8 {
  height: 2rem;
}

.h-9 {
  height: 2.25rem;
}

.h-\[46px\] {
  height: 46px;
}

.h-auto {
  height: auto;
}

.h-full {
  height: 100%;
}

.max-h-44 {
  max-height: 11rem;
}

.min-h-0 {
  min-height: 0px;
}

.min-h-12 {
  min-height: 3rem;
}

.min-h-80 {
  min-height: 20rem;
}

.min-h-9 {
  min-height: 2.25rem;
}

.min-h-\[420px\] {
  min-height: 420px;
}

.min-h-\[88px\] {
  min-height: 88px;
}

.min-h-full {
  min-height: 100%;
}

.min-h-screen {
  min-height: 100vh;
}

.w-1 {
  width: 0.25rem;
}

.w-10 {
  width: 2.5rem;
}

.w-11 {
  width: 2.75rem;
}

.w-12 {
  width: 3rem;
}

.w-14 {
  width: 3.5rem;
}

.w-2 {
  width: 0.5rem;
}

.w-2\.5 {
  width: 0.625rem;
}

.w-20 {
  width: 5rem;
}

.w-24 {
  width: 6rem;
}

.w-28 {
  width: 7rem;
}

.w-3\.5 {
  width: 0.875rem;
}

.w-4 {
  width: 1rem;
}

.w-48 {
  width: 12rem;
}

.w-5 {
  width: 1.25rem;
}

.w-56 {
  width: 14rem;
}

.w-6 {
  width: 1.5rem;
}

.w-7 {
  width: 1.75rem;
}

.w-8 {
  width: 2rem;
}

.w-80 {
  width: 20rem;
}

.w-9 {
  width: 2.25rem;
}

.w-auto {
  width: auto;
}

.w-full {
  width: 100%;
}

.w-px {
  width: 1px;
}

.min-w-0 {
  min-width: 0px;
}

.min-w-10 {
  min-width: 2.5rem;
}

.min-w-60 {
  min-width: 15rem;
}

.min-w-\[1\.5rem\] {
  min-width: 1.5rem;
}

.min-w-\[10rem\] {
  min-width: 10rem;
}

.min-w-\[12rem\] {
  min-width: 12rem;
}

.min-w-\[18rem\] {
  min-width: 18rem;
}

.min-w-\[19rem\] {
  min-width: 19rem;
}

.min-w-\[3rem\] {
  min-width: 3rem;
}

.min-w-\[8rem\] {
  min-width: 8rem;
}

.min-w-full {
  min-width: 100%;
}

.min-w-max {
  min-width: -moz-max-content;
  min-width: max-content;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-5xl {
  max-width: 64rem;
}

.max-w-6xl {
  max-width: 72rem;
}

.max-w-7xl {
  max-width: 80rem;
}

.max-w-\[14rem\] {
  max-width: 14rem;
}

.max-w-\[220px\] {
  max-width: 220px;
}

.max-w-\[92rem\] {
  max-width: 92rem;
}

.max-w-\[calc\(100vw-2rem\)\] {
  max-width: calc(100vw - 2rem);
}

.max-w-full {
  max-width: 100%;
}

.max-w-lg {
  max-width: 32rem;
}

.max-w-md {
  max-width: 28rem;
}

.max-w-none {
  max-width: none;
}

.max-w-sm {
  max-width: 24rem;
}

.max-w-xl {
  max-width: 36rem;
}

.flex-1 {
  flex: 1 1 0%;
}

.shrink-0 {
  flex-shrink: 0;
}

.border-collapse {
  border-collapse: collapse;
}

.border-separate {
  border-collapse: separate;
}

.border-spacing-0\.5 {
  --tw-border-spacing-x: 0.125rem;
  --tw-border-spacing-y: 0.125rem;
  border-spacing: var(--tw-border-spacing-x) var(--tw-border-spacing-y);
}

.-translate-x-1\/2 {
  --tw-translate-x: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.-translate-y-1\/2 {
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

@keyframes pulse {

  50% {
    opacity: .5;
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes spin {

  to {
    transform: rotate(360deg);
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

.cursor-default {
  cursor: default;
}

.cursor-grab {
  cursor: grab;
}

.cursor-grabbing {
  cursor: grabbing;
}

.cursor-not-allowed {
  cursor: not-allowed;
}

.cursor-pointer {
  cursor: pointer;
}

.cursor-wait {
  cursor: wait;
}

.touch-none {
  touch-action: none;
}

.select-none {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.resize {
  resize: both;
}

.scroll-mt-24 {
  scroll-margin-top: 6rem;
}

.scroll-mt-28 {
  scroll-margin-top: 7rem;
}

.scroll-mt-32 {
  scroll-margin-top: 8rem;
}

.list-decimal {
  list-style-type: decimal;
}

.list-disc {
  list-style-type: disc;
}

.list-none {
  list-style-type: none;
}

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

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

.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-\[auto_minmax\(0\2c 1fr\)\] {
  grid-template-columns: auto minmax(0,1fr);
}

.grid-cols-\[auto_minmax\(0\2c 1fr\)_auto\] {
  grid-template-columns: auto minmax(0,1fr) auto;
}

.grid-rows-3 {
  grid-template-rows: repeat(3, minmax(0, 1fr));
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.items-center {
  align-items: center;
}

.items-stretch {
  align-items: stretch;
}

.justify-start {
  justify-content: flex-start;
}

.justify-end {
  justify-content: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-1\.5 {
  gap: 0.375rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-5 {
  gap: 1.25rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-x-3 {
  -moz-column-gap: 0.75rem;
       column-gap: 0.75rem;
}

.gap-y-1 {
  row-gap: 0.25rem;
}

.gap-y-2 {
  row-gap: 0.5rem;
}

.space-y-0\.5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.125rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.125rem * var(--tw-space-y-reverse));
}

.space-y-1 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
}

.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.375rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.375rem * var(--tw-space-y-reverse));
}

.space-y-10 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(2.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(2.5rem * var(--tw-space-y-reverse));
}

.space-y-12 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(3rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(3rem * var(--tw-space-y-reverse));
}

.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}

.space-y-2\.5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.625rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.625rem * var(--tw-space-y-reverse));
}

.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}

.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}

.space-y-5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.25rem * var(--tw-space-y-reverse));
}

.space-y-6 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}

.space-y-8 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(2rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(2rem * var(--tw-space-y-reverse));
}

.divide-y > :not([hidden]) ~ :not([hidden]) {
  --tw-divide-y-reverse: 0;
  border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
  border-bottom-width: calc(1px * var(--tw-divide-y-reverse));
}

.divide-\[var\(--border\)\] > :not([hidden]) ~ :not([hidden]) {
  border-color: var(--border);
}

.self-start {
  align-self: flex-start;
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-visible {
  overflow: visible;
}

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

.overflow-y-auto {
  overflow-y: auto;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.whitespace-normal {
  white-space: normal;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.whitespace-pre-line {
  white-space: pre-line;
}

.whitespace-pre-wrap {
  white-space: pre-wrap;
}

.break-words {
  overflow-wrap: break-word;
}

.break-all {
  word-break: break-all;
}

.rounded {
  border-radius: 0.25rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-3xl {
  border-radius: 1.5rem;
}

.rounded-\[1\.1rem\] {
  border-radius: 1.1rem;
}

.rounded-\[1\.25rem\] {
  border-radius: 1.25rem;
}

.rounded-\[1\.2rem\] {
  border-radius: 1.2rem;
}

.rounded-\[1\.35rem\] {
  border-radius: 1.35rem;
}

.rounded-\[1\.3rem\] {
  border-radius: 1.3rem;
}

.rounded-\[1\.5rem\] {
  border-radius: 1.5rem;
}

.rounded-\[1\.75rem\] {
  border-radius: 1.75rem;
}

.rounded-\[2rem\] {
  border-radius: 2rem;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-md {
  border-radius: 0.375rem;
}

.rounded-shape-extra-small {
  border-radius: var(--md-sys-shape-corner-extra-small);
}

.rounded-shape-full {
  border-radius: var(--md-sys-shape-corner-full);
}

.rounded-shape-large {
  border-radius: var(--md-sys-shape-corner-large);
}

.rounded-shape-medium {
  border-radius: var(--md-sys-shape-corner-medium);
}

.rounded-shape-small {
  border-radius: var(--md-sys-shape-corner-small);
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-l-lg {
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
}

.rounded-r-lg {
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

.border {
  border-width: 1px;
}

.border-2 {
  border-width: 2px;
}

.border-4 {
  border-width: 4px;
}

.border-y {
  border-top-width: 1px;
  border-bottom-width: 1px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-b-4 {
  border-bottom-width: 4px;
}

.border-l-4 {
  border-left-width: 4px;
}

.border-r {
  border-right-width: 1px;
}

.border-r-4 {
  border-right-width: 4px;
}

.border-t {
  border-top-width: 1px;
}

.border-t-4 {
  border-top-width: 4px;
}

.border-dashed {
  border-style: dashed;
}

.border-\[color\:color-mix\(in_srgb\2c var\(--info\)\2c transparent_72\%\)\] {
  border-color: color-mix(in srgb,var(--info),transparent 72%);
}

.border-\[color\:color-mix\(in_srgb\2c var\(--primary\)\2c transparent_76\%\)\] {
  border-color: color-mix(in srgb,var(--primary),transparent 76%);
}

.border-\[color\:color-mix\(in_srgb\2c var\(--sidebar-fg\)\2c transparent_86\%\)\] {
  border-color: color-mix(in srgb,var(--sidebar-fg),transparent 86%);
}

.border-\[color\:color-mix\(in_srgb\2c var\(--sidebar-fg\)\2c transparent_88\%\)\] {
  border-color: color-mix(in srgb,var(--sidebar-fg),transparent 88%);
}

.border-\[var\(--info\)\] {
  border-color: var(--info);
}

.border-\[var\(--outline-soft\)\] {
  border-color: var(--outline-soft);
}

.border-\[var\(--primary\)\] {
  border-color: var(--primary);
}

.border-\[var\(--warning-soft\)\] {
  border-color: var(--warning-soft);
}

.border-amber-200 {
  --tw-border-opacity: 1;
  border-color: rgb(253 230 138 / var(--tw-border-opacity, 1));
}

.border-amber-300 {
  --tw-border-opacity: 1;
  border-color: rgb(252 211 77 / var(--tw-border-opacity, 1));
}

.border-amber-400\/40 {
  border-color: rgb(251 191 36 / 0.4);
}

.border-amber-500\/20 {
  border-color: rgb(245 158 11 / 0.2);
}

.border-amber-500\/25 {
  border-color: rgb(245 158 11 / 0.25);
}

.border-amber-500\/30 {
  border-color: rgb(245 158 11 / 0.3);
}

.border-amber-500\/40 {
  border-color: rgb(245 158 11 / 0.4);
}

.border-black {
  --tw-border-opacity: 1;
  border-color: rgb(0 0 0 / var(--tw-border-opacity, 1));
}

.border-current {
  border-color: currentColor;
}

.border-emerald-200 {
  --tw-border-opacity: 1;
  border-color: rgb(167 243 208 / var(--tw-border-opacity, 1));
}

.border-emerald-500\/15 {
  border-color: rgb(16 185 129 / 0.15);
}

.border-emerald-500\/20 {
  border-color: rgb(16 185 129 / 0.2);
}

.border-emerald-500\/25 {
  border-color: rgb(16 185 129 / 0.25);
}

.border-emerald-500\/30 {
  border-color: rgb(16 185 129 / 0.3);
}

.border-indigo-500\/15 {
  border-color: rgb(99 102 241 / 0.15);
}

.border-indigo-500\/20 {
  border-color: rgb(99 102 241 / 0.2);
}

.border-md-outline-variant {
  border-color: var(--md-sys-color-outline-variant);
}

.border-orange-500\/20 {
  border-color: rgb(249 115 22 / 0.2);
}

.border-red-200 {
  --tw-border-opacity: 1;
  border-color: rgb(254 202 202 / var(--tw-border-opacity, 1));
}

.border-red-500\/30 {
  border-color: rgb(239 68 68 / 0.3);
}

.border-red-500\/40 {
  border-color: rgb(239 68 68 / 0.4);
}

.border-rose-200 {
  --tw-border-opacity: 1;
  border-color: rgb(254 205 211 / var(--tw-border-opacity, 1));
}

.border-rose-500\/20 {
  border-color: rgb(244 63 94 / 0.2);
}

.border-rose-500\/25 {
  border-color: rgb(244 63 94 / 0.25);
}

.border-rose-500\/30 {
  border-color: rgb(244 63 94 / 0.3);
}

.border-sky-500 {
  --tw-border-opacity: 1;
  border-color: rgb(14 165 233 / var(--tw-border-opacity, 1));
}

.border-sky-500\/20 {
  border-color: rgb(14 165 233 / 0.2);
}

.border-sky-500\/25 {
  border-color: rgb(14 165 233 / 0.25);
}

.border-sky-500\/30 {
  border-color: rgb(14 165 233 / 0.3);
}

.border-slate-300 {
  --tw-border-opacity: 1;
  border-color: rgb(203 213 225 / var(--tw-border-opacity, 1));
}

.border-slate-500\/20 {
  border-color: rgb(100 116 139 / 0.2);
}

.border-slate-500\/30 {
  border-color: rgb(100 116 139 / 0.3);
}

.border-violet-500\/20 {
  border-color: rgb(139 92 246 / 0.2);
}

.border-violet-500\/25 {
  border-color: rgb(139 92 246 / 0.25);
}

.border-white\/20 {
  border-color: rgb(255 255 255 / 0.2);
}

.border-r-transparent {
  border-right-color: transparent;
}

.bg-\[color\:color-mix\(in_srgb\2c var\(--info\)\2c transparent_88\%\)\] {
  background-color: color-mix(in srgb,var(--info),transparent 88%);
}

.bg-\[color\:color-mix\(in_srgb\2c var\(--sidebar-fg\)\2c transparent_82\%\)\] {
  background-color: color-mix(in srgb,var(--sidebar-fg),transparent 82%);
}

.bg-\[color\:color-mix\(in_srgb\2c var\(--sidebar-fg\)\2c transparent_89\%\)\] {
  background-color: color-mix(in srgb,var(--sidebar-fg),transparent 89%);
}

.bg-\[color\:color-mix\(in_srgb\2c var\(--surface\)\2c var\(--bg\)_40\%\)\] {
  background-color: color-mix(in srgb,var(--surface),var(--bg) 40%);
}

.bg-\[color\:color-mix\(in_srgb\2c var\(--surface\)\2c white_4\%\)\] {
  background-color: color-mix(in srgb,var(--surface),white 4%);
}

.bg-\[rgba\(13\2c 11\2c 23\2c 0\.58\)\] {
  background-color: rgba(13,11,23,0.58);
}

.bg-\[rgba\(15\2c 23\2c 42\2c 0\.45\)\] {
  background-color: rgba(15,23,42,0.45);
}

.bg-\[var\(--accent\)\] {
  background-color: var(--accent);
}

.bg-\[var\(--badge-blue-bg\)\] {
  background-color: var(--badge-blue-bg);
}

.bg-\[var\(--badge-gray-bg\)\] {
  background-color: var(--badge-gray-bg);
}

.bg-\[var\(--badge-green-bg\)\] {
  background-color: var(--badge-green-bg);
}

.bg-\[var\(--badge-red-bg\)\] {
  background-color: var(--badge-red-bg);
}

.bg-\[var\(--badge-yellow-bg\)\] {
  background-color: var(--badge-yellow-bg);
}

.bg-\[var\(--bg\)\] {
  background-color: var(--bg);
}

.bg-\[var\(--border\)\] {
  background-color: var(--border);
}

.bg-\[var\(--danger\)\] {
  background-color: var(--danger);
}

.bg-\[var\(--danger-soft\)\] {
  background-color: var(--danger-soft);
}

.bg-\[var\(--info\)\] {
  background-color: var(--info);
}

.bg-\[var\(--info-soft\)\] {
  background-color: var(--info-soft);
}

.bg-\[var\(--map-surface-2\)\] {
  background-color: var(--map-surface-2);
}

.bg-\[var\(--page-bg\)\] {
  background-color: var(--page-bg);
}

.bg-\[var\(--primary\)\] {
  background-color: var(--primary);
}

.bg-\[var\(--primary-soft\)\] {
  background-color: var(--primary-soft);
}

.bg-\[var\(--sidebar\)\] {
  background-color: var(--sidebar);
}

.bg-\[var\(--step-bg\)\] {
  background-color: var(--step-bg);
}

.bg-\[var\(--success\)\] {
  background-color: var(--success);
}

.bg-\[var\(--success-soft\)\] {
  background-color: var(--success-soft);
}

.bg-\[var\(--text\)\] {
  background-color: var(--text);
}

.bg-\[var\(--warning\)\] {
  background-color: var(--warning);
}

.bg-\[var\(--warning-soft\)\] {
  background-color: var(--warning-soft);
}

.bg-amber-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 243 199 / var(--tw-bg-opacity, 1));
}

.bg-amber-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(255 251 235 / var(--tw-bg-opacity, 1));
}

.bg-amber-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(245 158 11 / var(--tw-bg-opacity, 1));
}

.bg-amber-500\/10 {
  background-color: rgb(245 158 11 / 0.1);
}

.bg-amber-500\/5 {
  background-color: rgb(245 158 11 / 0.05);
}

.bg-black {
  --tw-bg-opacity: 1;
  background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
}

.bg-black\/20 {
  background-color: rgb(0 0 0 / 0.2);
}

.bg-black\/40 {
  background-color: rgb(0 0 0 / 0.4);
}

.bg-black\/45 {
  background-color: rgb(0 0 0 / 0.45);
}

.bg-current {
  background-color: currentColor;
}

.bg-emerald-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(209 250 229 / var(--tw-bg-opacity, 1));
}

.bg-emerald-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(52 211 153 / var(--tw-bg-opacity, 1));
}

.bg-emerald-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(236 253 245 / var(--tw-bg-opacity, 1));
}

.bg-emerald-500\/10 {
  background-color: rgb(16 185 129 / 0.1);
}

.bg-emerald-500\/5 {
  background-color: rgb(16 185 129 / 0.05);
}

.bg-emerald-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(5 150 105 / var(--tw-bg-opacity, 1));
}

.bg-indigo-500\/5 {
  background-color: rgb(99 102 241 / 0.05);
}

.bg-md-primary {
  background-color: var(--md-sys-color-primary);
}

.bg-md-primary-container {
  background-color: var(--md-sys-color-primary-container);
}

.bg-md-secondary-container {
  background-color: var(--md-sys-color-secondary-container);
}

.bg-md-surface-container-highest {
  background-color: var(--md-sys-color-surface-container-highest);
}

.bg-md-surface-container-low {
  background-color: var(--md-sys-color-surface-container-low);
}

.bg-orange-500\/10 {
  background-color: rgb(249 115 22 / 0.1);
}

.bg-red-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 242 242 / var(--tw-bg-opacity, 1));
}

.bg-red-500\/10 {
  background-color: rgb(239 68 68 / 0.1);
}

.bg-red-500\/5 {
  background-color: rgb(239 68 68 / 0.05);
}

.bg-rose-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(255 228 230 / var(--tw-bg-opacity, 1));
}

.bg-rose-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(251 113 133 / var(--tw-bg-opacity, 1));
}

.bg-rose-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(255 241 242 / var(--tw-bg-opacity, 1));
}

.bg-rose-500\/10 {
  background-color: rgb(244 63 94 / 0.1);
}

.bg-rose-500\/5 {
  background-color: rgb(244 63 94 / 0.05);
}

.bg-sky-500\/10 {
  background-color: rgb(14 165 233 / 0.1);
}

.bg-sky-500\/5 {
  background-color: rgb(14 165 233 / 0.05);
}

.bg-slate-500\/10 {
  background-color: rgb(100 116 139 / 0.1);
}

.bg-slate-950 {
  --tw-bg-opacity: 1;
  background-color: rgb(2 6 23 / var(--tw-bg-opacity, 1));
}

.bg-slate-950\/20 {
  background-color: rgb(2 6 23 / 0.2);
}

.bg-slate-950\/70 {
  background-color: rgb(2 6 23 / 0.7);
}

.bg-transparent {
  background-color: transparent;
}

.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

.bg-white\/20 {
  background-color: rgb(255 255 255 / 0.2);
}

.bg-white\/60 {
  background-color: rgb(255 255 255 / 0.6);
}

.bg-white\/80 {
  background-color: rgb(255 255 255 / 0.8);
}

.bg-white\/95 {
  background-color: rgb(255 255 255 / 0.95);
}

.bg-\[linear-gradient\(135deg\2c rgba\(168\2c 85\2c 247\2c 0\.12\)\2c rgba\(99\2c 102\2c 241\2c 0\.04\)\)\] {
  background-image: linear-gradient(135deg,rgba(168,85,247,0.12),rgba(99,102,241,0.04));
}

.bg-\[linear-gradient\(135deg\2c rgba\(245\2c 158\2c 11\2c 0\.2\)\2c rgba\(251\2c 191\2c 36\2c 0\.1\)\)\] {
  background-image: linear-gradient(135deg,rgba(245,158,11,0.2),rgba(251,191,36,0.1));
}

.bg-\[linear-gradient\(135deg\2c rgba\(56\2c 189\2c 248\2c 0\.14\)\2c rgba\(14\2c 165\2c 233\2c 0\.05\)\)\] {
  background-image: linear-gradient(135deg,rgba(56,189,248,0.14),rgba(14,165,233,0.05));
}

.bg-\[linear-gradient\(135deg\2c var\(--surface\)\2c var\(--step-bg\)\)\] {
  background-image: linear-gradient(135deg,var(--surface),var(--step-bg));
}

.bg-\[radial-gradient\(circle_at_top_left\2c rgba\(255\2c 255\2c 255\2c 0\.95\)\2c rgba\(243\2c 240\2c 252\2c 0\.8\)_46\%\2c rgba\(255\2c 255\2c 255\2c 0\.92\)\)\] {
  background-image: radial-gradient(circle at top left,rgba(255,255,255,0.95),rgba(243,240,252,0.8) 46%,rgba(255,255,255,0.92));
}

.object-cover {
  -o-object-fit: cover;
     object-fit: cover;
}

.p-0 {
  padding: 0px;
}

.p-10 {
  padding: 2.5rem;
}

.p-2 {
  padding: 0.5rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.p-5 {
  padding: 1.25rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.px-1 {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

.px-12 {
  padding-left: 3rem;
  padding-right: 3rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-2\.5 {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-3\.5 {
  padding-left: 0.875rem;
  padding-right: 0.875rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-0\.5 {
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}

.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.py-14 {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-3\.5 {
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-5 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-7 {
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.pb-10 {
  padding-bottom: 2.5rem;
}

.pb-12 {
  padding-bottom: 3rem;
}

.pb-24 {
  padding-bottom: 6rem;
}

.pb-3 {
  padding-bottom: 0.75rem;
}

.pb-4 {
  padding-bottom: 1rem;
}

.pb-6 {
  padding-bottom: 1.5rem;
}

.pb-8 {
  padding-bottom: 2rem;
}

.pe-3 {
  padding-inline-end: 0.75rem;
}

.pl-10 {
  padding-left: 2.5rem;
}

.pl-11 {
  padding-left: 2.75rem;
}

.pl-4 {
  padding-left: 1rem;
}

.pl-5 {
  padding-left: 1.25rem;
}

.pl-6 {
  padding-left: 1.5rem;
}

.pr-1 {
  padding-right: 0.25rem;
}

.pr-4 {
  padding-right: 1rem;
}

.pr-8 {
  padding-right: 2rem;
}

.ps-5 {
  padding-inline-start: 1.25rem;
}

.pt-1 {
  padding-top: 0.25rem;
}

.pt-16 {
  padding-top: 4rem;
}

.pt-2 {
  padding-top: 0.5rem;
}

.pt-3 {
  padding-top: 0.75rem;
}

.pt-4 {
  padding-top: 1rem;
}

.pt-5 {
  padding-top: 1.25rem;
}

.pt-6 {
  padding-top: 1.5rem;
}

.text-left {
  text-align: left;
}

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

.text-right {
  text-align: right;
}

.text-start {
  text-align: start;
}

.text-end {
  text-align: end;
}

.align-top {
  vertical-align: top;
}

.align-middle {
  vertical-align: middle;
}

.font-md-plain {
  font-family: var(--md-ref-typeface-plain);
}

.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.font-sans {
  font-family: system-ui, ui-sans-serif, sans-serif;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-\[10px\] {
  font-size: 10px;
}

.text-\[11px\] {
  font-size: 11px;
}

.text-\[clamp\(1\.45rem\2c 1\.15rem\+0\.55vw\2c 2rem\)\] {
  font-size: clamp(1.45rem, 1.15rem + 0.55vw, 2rem);
}

.text-\[clamp\(2rem\2c 1\.5rem\+1vw\2c 2\.8rem\)\] {
  font-size: clamp(2rem, 1.5rem + 1vw, 2.8rem);
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-md-body-large {
  font-size: var(--md-sys-typescale-body-large-size);
  line-height: var(--md-sys-typescale-body-large-line-height);
  letter-spacing: var(--md-sys-typescale-body-large-tracking);
  font-weight: var(--md-sys-typescale-body-large-weight);
}

.text-md-body-medium {
  font-size: var(--md-sys-typescale-body-medium-size);
  line-height: var(--md-sys-typescale-body-medium-line-height);
  letter-spacing: var(--md-sys-typescale-body-medium-tracking);
  font-weight: var(--md-sys-typescale-body-medium-weight);
}

.text-md-body-small {
  font-size: var(--md-sys-typescale-body-small-size);
  line-height: var(--md-sys-typescale-body-small-line-height);
  letter-spacing: var(--md-sys-typescale-body-small-tracking);
  font-weight: var(--md-sys-typescale-body-small-weight);
}

.text-md-headline-medium {
  font-size: var(--md-sys-typescale-headline-medium-size);
  line-height: var(--md-sys-typescale-headline-medium-line-height);
  letter-spacing: var(--md-sys-typescale-headline-medium-tracking);
  font-weight: var(--md-sys-typescale-headline-medium-weight);
}

.text-md-label-large {
  font-size: var(--md-sys-typescale-label-large-size);
  line-height: var(--md-sys-typescale-label-large-line-height);
  letter-spacing: var(--md-sys-typescale-label-large-tracking);
  font-weight: var(--md-sys-typescale-label-large-weight);
}

.text-md-label-medium {
  font-size: var(--md-sys-typescale-label-medium-size);
  line-height: var(--md-sys-typescale-label-medium-line-height);
  letter-spacing: var(--md-sys-typescale-label-medium-tracking);
  font-weight: var(--md-sys-typescale-label-medium-weight);
}

.text-md-label-small {
  font-size: var(--md-sys-typescale-label-small-size);
  line-height: var(--md-sys-typescale-label-small-line-height);
  letter-spacing: var(--md-sys-typescale-label-small-tracking);
  font-weight: var(--md-sys-typescale-label-small-weight);
}

.text-md-title-large {
  font-size: var(--md-sys-typescale-title-large-size);
  line-height: var(--md-sys-typescale-title-large-line-height);
  letter-spacing: var(--md-sys-typescale-title-large-tracking);
  font-weight: var(--md-sys-typescale-title-large-weight);
}

.text-md-title-medium {
  font-size: var(--md-sys-typescale-title-medium-size);
  line-height: var(--md-sys-typescale-title-medium-line-height);
  letter-spacing: var(--md-sys-typescale-title-medium-tracking);
  font-weight: var(--md-sys-typescale-title-medium-weight);
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.font-bold {
  font-weight: 700;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.uppercase {
  text-transform: uppercase;
}

.capitalize {
  text-transform: capitalize;
}

.normal-case {
  text-transform: none;
}

.italic {
  font-style: italic;
}

.leading-4 {
  line-height: 1rem;
}

.leading-5 {
  line-height: 1.25rem;
}

.leading-6 {
  line-height: 1.5rem;
}

.leading-7 {
  line-height: 1.75rem;
}

.leading-8 {
  line-height: 2rem;
}

.leading-none {
  line-height: 1;
}

.leading-tight {
  line-height: 1.25;
}

.tracking-\[-0\.03em\] {
  letter-spacing: -0.03em;
}

.tracking-\[-0\.04em\] {
  letter-spacing: -0.04em;
}

.tracking-\[0\.01em\] {
  letter-spacing: 0.01em;
}

.tracking-\[0\.08em\] {
  letter-spacing: 0.08em;
}

.tracking-\[0\.12em\] {
  letter-spacing: 0.12em;
}

.tracking-\[0\.14em\] {
  letter-spacing: 0.14em;
}

.tracking-\[0\.16em\] {
  letter-spacing: 0.16em;
}

.tracking-\[0\.18em\] {
  letter-spacing: 0.18em;
}

.tracking-\[0\.24em\] {
  letter-spacing: 0.24em;
}

.tracking-\[0\.2em\] {
  letter-spacing: 0.2em;
}

.tracking-normal {
  letter-spacing: 0em;
}

.tracking-tight {
  letter-spacing: -0.025em;
}

.tracking-wide {
  letter-spacing: 0.025em;
}

.text-\[var\(--accent\)\] {
  color: var(--accent);
}

.text-\[var\(--badge-blue-text\)\] {
  color: var(--badge-blue-text);
}

.text-\[var\(--badge-gray-text\)\] {
  color: var(--badge-gray-text);
}

.text-\[var\(--badge-green-text\)\] {
  color: var(--badge-green-text);
}

.text-\[var\(--badge-red-text\)\] {
  color: var(--badge-red-text);
}

.text-\[var\(--badge-yellow-text\)\] {
  color: var(--badge-yellow-text);
}

.text-\[var\(--bg\)\] {
  color: var(--bg);
}

.text-\[var\(--danger\)\] {
  color: var(--danger);
}

.text-\[var\(--info\)\] {
  color: var(--info);
}

.text-\[var\(--on-danger\)\] {
  color: var(--on-danger);
}

.text-\[var\(--on-success\)\] {
  color: var(--on-success);
}

.text-\[var\(--on-warning\)\] {
  color: var(--on-warning);
}

.text-\[var\(--primary\)\] {
  color: var(--primary);
}

.text-\[var\(--primary-contrast\)\] {
  color: var(--primary-contrast);
}

.text-\[var\(--sidebar-fg\)\] {
  color: var(--sidebar-fg);
}

.text-\[var\(--success\)\] {
  color: var(--success);
}

.text-\[var\(--text\)\] {
  color: var(--text);
}

.text-\[var\(--text-muted\)\] {
  color: var(--text-muted);
}

.text-\[var\(--warning\)\] {
  color: var(--warning);
}

.text-amber-300 {
  --tw-text-opacity: 1;
  color: rgb(252 211 77 / var(--tw-text-opacity, 1));
}

.text-amber-400 {
  --tw-text-opacity: 1;
  color: rgb(251 191 36 / var(--tw-text-opacity, 1));
}

.text-amber-500 {
  --tw-text-opacity: 1;
  color: rgb(245 158 11 / var(--tw-text-opacity, 1));
}

.text-amber-600 {
  --tw-text-opacity: 1;
  color: rgb(217 119 6 / var(--tw-text-opacity, 1));
}

.text-amber-700 {
  --tw-text-opacity: 1;
  color: rgb(180 83 9 / var(--tw-text-opacity, 1));
}

.text-amber-800 {
  --tw-text-opacity: 1;
  color: rgb(146 64 14 / var(--tw-text-opacity, 1));
}

.text-amber-900 {
  --tw-text-opacity: 1;
  color: rgb(120 53 15 / var(--tw-text-opacity, 1));
}

.text-amber-950 {
  --tw-text-opacity: 1;
  color: rgb(69 26 3 / var(--tw-text-opacity, 1));
}

.text-black {
  --tw-text-opacity: 1;
  color: rgb(0 0 0 / var(--tw-text-opacity, 1));
}

.text-emerald-300 {
  --tw-text-opacity: 1;
  color: rgb(110 231 183 / var(--tw-text-opacity, 1));
}

.text-emerald-400 {
  --tw-text-opacity: 1;
  color: rgb(52 211 153 / var(--tw-text-opacity, 1));
}

.text-emerald-600 {
  --tw-text-opacity: 1;
  color: rgb(5 150 105 / var(--tw-text-opacity, 1));
}

.text-emerald-700 {
  --tw-text-opacity: 1;
  color: rgb(4 120 87 / var(--tw-text-opacity, 1));
}

.text-emerald-800 {
  --tw-text-opacity: 1;
  color: rgb(6 95 70 / var(--tw-text-opacity, 1));
}

.text-md-error {
  color: var(--md-sys-color-error);
}

.text-md-on-secondary-container {
  color: var(--md-sys-color-on-secondary-container);
}

.text-md-on-surface {
  color: var(--md-sys-color-on-surface);
}

.text-md-on-surface-variant {
  color: var(--md-sys-color-on-surface-variant);
}

.text-orange-400 {
  --tw-text-opacity: 1;
  color: rgb(251 146 60 / var(--tw-text-opacity, 1));
}

.text-red-600 {
  --tw-text-opacity: 1;
  color: rgb(220 38 38 / var(--tw-text-opacity, 1));
}

.text-red-700 {
  --tw-text-opacity: 1;
  color: rgb(185 28 28 / var(--tw-text-opacity, 1));
}

.text-red-800 {
  --tw-text-opacity: 1;
  color: rgb(153 27 27 / var(--tw-text-opacity, 1));
}

.text-rose-200 {
  --tw-text-opacity: 1;
  color: rgb(254 205 211 / var(--tw-text-opacity, 1));
}

.text-rose-300 {
  --tw-text-opacity: 1;
  color: rgb(253 164 175 / var(--tw-text-opacity, 1));
}

.text-rose-400 {
  --tw-text-opacity: 1;
  color: rgb(251 113 133 / var(--tw-text-opacity, 1));
}

.text-rose-500 {
  --tw-text-opacity: 1;
  color: rgb(244 63 94 / var(--tw-text-opacity, 1));
}

.text-rose-600 {
  --tw-text-opacity: 1;
  color: rgb(225 29 72 / var(--tw-text-opacity, 1));
}

.text-rose-700 {
  --tw-text-opacity: 1;
  color: rgb(190 18 60 / var(--tw-text-opacity, 1));
}

.text-sky-300 {
  --tw-text-opacity: 1;
  color: rgb(125 211 252 / var(--tw-text-opacity, 1));
}

.text-sky-700 {
  --tw-text-opacity: 1;
  color: rgb(3 105 161 / var(--tw-text-opacity, 1));
}

.text-sky-800 {
  --tw-text-opacity: 1;
  color: rgb(7 89 133 / var(--tw-text-opacity, 1));
}

.text-sky-900 {
  --tw-text-opacity: 1;
  color: rgb(12 74 110 / var(--tw-text-opacity, 1));
}

.text-slate-300 {
  --tw-text-opacity: 1;
  color: rgb(203 213 225 / var(--tw-text-opacity, 1));
}

.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.text-white\/75 {
  color: rgb(255 255 255 / 0.75);
}

.underline {
  text-decoration-line: underline;
}

.overline {
  text-decoration-line: overline;
}

.line-through {
  text-decoration-line: line-through;
}

.underline-offset-4 {
  text-underline-offset: 4px;
}

.placeholder-\[var\(--text-muted\)\]::-moz-placeholder {
  color: var(--text-muted);
}

.placeholder-\[var\(--text-muted\)\]::placeholder {
  color: var(--text-muted);
}

.accent-\[var\(--primary\)\] {
  accent-color: var(--primary);
}

.opacity-30 {
  opacity: 0.3;
}

.opacity-50 {
  opacity: 0.5;
}

.opacity-60 {
  opacity: 0.6;
}

.opacity-70 {
  opacity: 0.7;
}

.opacity-75 {
  opacity: 0.75;
}

.opacity-80 {
  opacity: 0.8;
}

.opacity-85 {
  opacity: 0.85;
}

.opacity-90 {
  opacity: 0.9;
}

.shadow {
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-2xl {
  --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-\[0_10px_24px_-18px_rgba\(245\2c 158\2c 11\2c 0\.95\)\] {
  --tw-shadow: 0 10px 24px -18px rgba(245,158,11,0.95);
  --tw-shadow-colored: 0 10px 24px -18px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-\[0_14px_28px_rgba\(106\2c 63\2c 224\2c 0\.24\)\] {
  --tw-shadow: 0 14px 28px rgba(106,63,224,0.24);
  --tw-shadow-colored: 0 14px 28px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-\[0_16px_40px_-28px_rgba\(14\2c 165\2c 233\2c 0\.65\)\] {
  --tw-shadow: 0 16px 40px -28px rgba(14,165,233,0.65);
  --tw-shadow-colored: 0 16px 40px -28px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-\[0_16px_40px_-28px_rgba\(99\2c 102\2c 241\2c 0\.45\)\] {
  --tw-shadow: 0 16px 40px -28px rgba(99,102,241,0.45);
  --tw-shadow-colored: 0 16px 40px -28px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-\[0_18px_48px_rgba\(15\2c 23\2c 42\2c 0\.08\)\] {
  --tw-shadow: 0 18px 48px rgba(15,23,42,0.08);
  --tw-shadow-colored: 0 18px 48px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-\[0_28px_90px_rgba\(13\2c 11\2c 23\2c 0\.34\)\] {
  --tw-shadow: 0 28px 90px rgba(13,11,23,0.34);
  --tw-shadow-colored: 0 28px 90px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-lg {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-sm {
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-xl {
  --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-\[var\(--shadow-1\)\] {
  --tw-shadow-color: var(--shadow-1);
  --tw-shadow: var(--tw-shadow-colored);
}

.outline-none {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.outline {
  outline-style: solid;
}

.ring {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.ring-1 {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.ring-2 {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.ring-\[var\(--border\)\] {
  --tw-ring-color: var(--border);
}

.ring-\[var\(--primary\)\] {
  --tw-ring-color: var(--primary);
}

.ring-transparent {
  --tw-ring-color: transparent;
}

.ring-offset-2 {
  --tw-ring-offset-width: 2px;
}

.blur {
  --tw-blur: blur(8px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.\!filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important;
}

.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.backdrop-blur {
  --tw-backdrop-blur: blur(8px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}

.backdrop-blur-\[1px\] {
  --tw-backdrop-blur: blur(1px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}

.backdrop-blur-sm {
  --tw-backdrop-blur: blur(4px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.\[i1\:i2\] {
  i1: i2;
}

.\[index\:match\.start\(\)\] {
  index: match.start();
}

.\[j1\:j2\] {
  j1: j2;
}

.\[start\:end\] {
  start: end;
}

.marker\:content-none *::marker {
  --tw-content: none;
  content: var(--tw-content);
}

.marker\:content-none::marker {
  --tw-content: none;
  content: var(--tw-content);
}

.file\:me-4::file-selector-button {
  margin-inline-end: 1rem;
}

.file\:mr-3::file-selector-button {
  margin-right: 0.75rem;
}

.file\:rounded-full::file-selector-button {
  border-radius: 9999px;
}

.file\:rounded-lg::file-selector-button {
  border-radius: 0.5rem;
}

.file\:border-0::file-selector-button {
  border-width: 0px;
}

.file\:bg-\[var\(--primary\)\]::file-selector-button {
  background-color: var(--primary);
}

.file\:bg-\[var\(--step-bg\)\]::file-selector-button {
  background-color: var(--step-bg);
}

.file\:px-3::file-selector-button {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.file\:px-4::file-selector-button {
  padding-left: 1rem;
  padding-right: 1rem;
}

.file\:py-1\.5::file-selector-button {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}

.file\:py-2::file-selector-button {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.file\:text-sm::file-selector-button {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.file\:text-xs::file-selector-button {
  font-size: 0.75rem;
  line-height: 1rem;
}

.file\:font-semibold::file-selector-button {
  font-weight: 600;
}

.file\:text-white::file-selector-button {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.placeholder\:text-\[var\(--text-muted\)\]::-moz-placeholder {
  color: var(--text-muted);
}

.placeholder\:text-\[var\(--text-muted\)\]::placeholder {
  color: var(--text-muted);
}

.last\:border-b-0:last-child {
  border-bottom-width: 0px;
}

.hover\:-translate-y-0\.5:hover {
  --tw-translate-y: -0.125rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:-translate-y-px:hover {
  --tw-translate-y: -1px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:border-\[var\(--primary\)\]:hover {
  border-color: var(--primary);
}

.hover\:border-amber-600:hover {
  --tw-border-opacity: 1;
  border-color: rgb(217 119 6 / var(--tw-border-opacity, 1));
}

.hover\:border-red-400:hover {
  --tw-border-opacity: 1;
  border-color: rgb(248 113 113 / var(--tw-border-opacity, 1));
}

.hover\:border-red-600:hover {
  --tw-border-opacity: 1;
  border-color: rgb(220 38 38 / var(--tw-border-opacity, 1));
}

.hover\:bg-\[color\:color-mix\(in_srgb\2c var\(--sidebar-fg\)\2c transparent_91\%\)\]:hover {
  background-color: color-mix(in srgb,var(--sidebar-fg),transparent 91%);
}

.hover\:bg-\[color\:color-mix\(in_srgb\2c var\(--sidebar-fg\)\2c transparent_92\%\)\]:hover {
  background-color: color-mix(in srgb,var(--sidebar-fg),transparent 92%);
}

.hover\:bg-\[color\:color-mix\(in_srgb\2c var\(--surface\)\2c var\(--bg\)_40\%\)\]:hover {
  background-color: color-mix(in srgb,var(--surface),var(--bg) 40%);
}

.hover\:bg-\[var\(--primary-hover\)\]:hover {
  background-color: var(--primary-hover);
}

.hover\:bg-\[var\(--primary-soft\)\]:hover {
  background-color: var(--primary-soft);
}

.hover\:bg-\[var\(--step-bg\)\]:hover {
  background-color: var(--step-bg);
}

.hover\:bg-amber-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(255 251 235 / var(--tw-bg-opacity, 1));
}

.hover\:bg-amber-500\/10:hover {
  background-color: rgb(245 158 11 / 0.1);
}

.hover\:bg-amber-500\/15:hover {
  background-color: rgb(245 158 11 / 0.15);
}

.hover\:bg-emerald-100:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(209 250 229 / var(--tw-bg-opacity, 1));
}

.hover\:bg-emerald-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(4 120 87 / var(--tw-bg-opacity, 1));
}

.hover\:bg-red-100:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(254 226 226 / var(--tw-bg-opacity, 1));
}

.hover\:bg-red-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(254 242 242 / var(--tw-bg-opacity, 1));
}

.hover\:bg-rose-500\/10:hover {
  background-color: rgb(244 63 94 / 0.1);
}

.hover\:text-\[var\(--danger\)\]:hover {
  color: var(--danger);
}

.hover\:text-\[var\(--primary\)\]:hover {
  color: var(--primary);
}

.hover\:text-red-700:hover {
  --tw-text-opacity: 1;
  color: rgb(185 28 28 / var(--tw-text-opacity, 1));
}

.hover\:text-rose-300:hover {
  --tw-text-opacity: 1;
  color: rgb(253 164 175 / var(--tw-text-opacity, 1));
}

.hover\:underline:hover {
  text-decoration-line: underline;
}

.hover\:opacity-100:hover {
  opacity: 1;
}

.hover\:opacity-80:hover {
  opacity: 0.8;
}

.hover\:opacity-90:hover {
  opacity: 0.9;
}

.hover\:shadow-\[0_18px_34px_rgba\(106\2c 63\2c 224\2c 0\.28\)\]:hover {
  --tw-shadow: 0 18px 34px rgba(106,63,224,0.28);
  --tw-shadow-colored: 0 18px 34px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.hover\:shadow-lg:hover {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.hover\:shadow-md:hover {
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.hover\:shadow-sm:hover {
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.hover\:ring-amber-500\/20:hover {
  --tw-ring-color: rgb(245 158 11 / 0.2);
}

.hover\:file\:opacity-90::file-selector-button:hover {
  opacity: 0.9;
}

.focus\:border-\[var\(--primary\)\]:focus {
  border-color: var(--primary);
}

.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus\:ring-2:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus\:ring-4:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus\:ring-\[var\(--primary\)\]:focus {
  --tw-ring-color: var(--primary);
}

.focus\:ring-\[var\(--primary-soft\)\]:focus {
  --tw-ring-color: var(--primary-soft);
}

.focus\:ring-blue-500:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1));
}

.focus-visible\:outline-none:focus-visible {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus-visible\:ring-2:focus-visible {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.disabled\:cursor-not-allowed:disabled {
  cursor: not-allowed;
}

.disabled\:opacity-60:disabled {
  opacity: 0.6;
}

.group[open] .group-open\:inline {
  display: inline;
}

.group[open] .group-open\:hidden {
  display: none;
}

.group[open] .group-open\:rotate-180 {
  --tw-rotate: 180deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

@media (min-width: 600px) {

  .win-medium\:inline {
    display: inline;
  }

  .win-medium\:hidden {
    display: none;
  }

  .win-medium\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .win-medium\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .win-medium\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .win-medium\:grid-cols-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .win-medium\:flex-row {
    flex-direction: row;
  }

  .win-medium\:items-baseline {
    align-items: baseline;
  }

  .win-medium\:gap-6 {
    gap: 1.5rem;
  }
}

@media (min-width: 640px) {

  .sm\:col-span-2 {
    grid-column: span 2 / span 2;
  }

  .sm\:mt-0 {
    margin-top: 0px;
  }

  .sm\:inline {
    display: inline;
  }

  .sm\:flex {
    display: flex;
  }

  .sm\:inline-flex {
    display: inline-flex;
  }

  .sm\:h-16 {
    height: 4rem;
  }

  .sm\:w-44 {
    width: 11rem;
  }

  .sm\:w-52 {
    width: 13rem;
  }

  .sm\:w-56 {
    width: 14rem;
  }

  .sm\:max-w-\[14rem\] {
    max-width: 14rem;
  }

  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sm\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sm\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .sm\:grid-cols-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .sm\:grid-cols-\[auto_minmax\(0\2c 1fr\)\] {
    grid-template-columns: auto minmax(0,1fr);
  }

  .sm\:grid-cols-\[auto_minmax\(0\2c 1fr\)_auto\] {
    grid-template-columns: auto minmax(0,1fr) auto;
  }

  .sm\:grid-cols-\[minmax\(0\2c 1fr\)_minmax\(0\2c 1fr\)_auto\] {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto;
  }

  .sm\:flex-row {
    flex-direction: row;
  }

  .sm\:flex-wrap {
    flex-wrap: wrap;
  }

  .sm\:items-start {
    align-items: flex-start;
  }

  .sm\:items-end {
    align-items: flex-end;
  }

  .sm\:items-center {
    align-items: center;
  }

  .sm\:justify-end {
    justify-content: flex-end;
  }

  .sm\:justify-between {
    justify-content: space-between;
  }

  .sm\:gap-2 {
    gap: 0.5rem;
  }

  .sm\:gap-3 {
    gap: 0.75rem;
  }

  .sm\:gap-6 {
    gap: 1.5rem;
  }

  .sm\:self-auto {
    align-self: auto;
  }

  .sm\:p-5 {
    padding: 1.25rem;
  }

  .sm\:p-6 {
    padding: 1.5rem;
  }

  .sm\:p-8 {
    padding: 2rem;
  }

  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .sm\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .sm\:py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .sm\:py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .sm\:py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .sm\:py-9 {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }

  .sm\:text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .sm\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

  .sm\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }

  .sm\:text-6xl {
    font-size: 3.75rem;
    line-height: 1;
  }

  .sm\:text-base {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .sm\:text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}

@media (min-width: 768px) {

  .md\:col-span-2 {
    grid-column: span 2 / span 2;
  }

  .md\:block {
    display: block;
  }

  .md\:flex {
    display: flex;
  }

  .md\:hidden {
    display: none;
  }

  .md\:w-40 {
    width: 10rem;
  }

  .md\:w-52 {
    width: 13rem;
  }

  .md\:flex-1 {
    flex: 1 1 0%;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:grid-cols-\[1fr_14rem_auto\] {
    grid-template-columns: 1fr 14rem auto;
  }

  .md\:grid-cols-\[minmax\(0\2c 1fr\)_220px_auto\] {
    grid-template-columns: minmax(0,1fr) 220px auto;
  }

  .md\:grid-cols-\[minmax\(0\2c 1fr\)_8rem\] {
    grid-template-columns: minmax(0,1fr) 8rem;
  }

  .md\:grid-cols-\[minmax\(0\2c 1fr\)_9rem_12rem_3rem\] {
    grid-template-columns: minmax(0,1fr) 9rem 12rem 3rem;
  }

  .md\:flex-row {
    flex-direction: row;
  }

  .md\:flex-nowrap {
    flex-wrap: nowrap;
  }

  .md\:items-start {
    align-items: flex-start;
  }

  .md\:items-end {
    align-items: flex-end;
  }

  .md\:items-center {
    align-items: center;
  }

  .md\:justify-end {
    justify-content: flex-end;
  }

  .md\:justify-between {
    justify-content: space-between;
  }

  .md\:self-auto {
    align-self: auto;
  }

  .md\:p-6 {
    padding: 1.5rem;
  }

  .md\:p-8 {
    padding: 2rem;
  }

  .md\:px-5 {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .md\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .md\:py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .md\:text-right {
    text-align: right;
  }
}

@media (min-width: 840px) {

  .win-expanded\:inline {
    display: inline;
  }

  .win-expanded\:hidden {
    display: none;
  }

  .win-expanded\:grid-cols-10 {
    grid-template-columns: repeat(10, minmax(0, 1fr));
  }

  .win-expanded\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .win-expanded\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .win-expanded\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {

  .lg\:sticky {
    position: sticky;
  }

  .lg\:top-24 {
    top: 6rem;
  }

  .lg\:col-span-1 {
    grid-column: span 1 / span 1;
  }

  .lg\:col-span-2 {
    grid-column: span 2 / span 2;
  }

  .lg\:col-span-3 {
    grid-column: span 3 / span 3;
  }

  .lg\:row-span-2 {
    grid-row: span 2 / span 2;
  }

  .lg\:max-h-\[calc\(100vh-7rem\)\] {
    max-height: calc(100vh - 7rem);
  }

  .lg\:w-\[22rem\] {
    width: 22rem;
  }

  .lg\:w-auto {
    width: auto;
  }

  .lg\:flex-1 {
    flex: 1 1 0%;
  }

  .lg\:flex-none {
    flex: none;
  }

  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .lg\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .lg\:grid-cols-\[minmax\(0\2c 1\.05fr\)_360px\] {
    grid-template-columns: minmax(0,1.05fr) 360px;
  }

  .lg\:grid-cols-\[minmax\(0\2c 1\.15fr\)_320px\] {
    grid-template-columns: minmax(0,1.15fr) 320px;
  }

  .lg\:grid-cols-\[minmax\(0\2c 1\.4fr\)_minmax\(12rem\2c 0\.8fr\)_minmax\(12rem\2c 0\.8fr\)_auto\] {
    grid-template-columns: minmax(0,1.4fr) minmax(12rem,0.8fr) minmax(12rem,0.8fr) auto;
  }

  .lg\:grid-cols-\[minmax\(0\2c 1fr\)_20rem\] {
    grid-template-columns: minmax(0,1fr) 20rem;
  }

  .lg\:grid-cols-\[minmax\(0\2c 1fr\)_24rem\] {
    grid-template-columns: minmax(0,1fr) 24rem;
  }

  .lg\:grid-cols-\[minmax\(0\2c 1fr\)_auto\] {
    grid-template-columns: minmax(0,1fr) auto;
  }

  .lg\:grid-cols-\[minmax\(150px\2c 0\.55fr\)_minmax\(280px\2c 1\.45fr\)_auto\] {
    grid-template-columns: minmax(150px,0.55fr) minmax(280px,1.45fr) auto;
  }

  .lg\:grid-cols-\[minmax\(220px\2c 0\.7fr\)_minmax\(320px\2c 1\.3fr\)_auto\] {
    grid-template-columns: minmax(220px,0.7fr) minmax(320px,1.3fr) auto;
  }

  .lg\:flex-row {
    flex-direction: row;
  }

  .lg\:items-start {
    align-items: flex-start;
  }

  .lg\:items-end {
    align-items: flex-end;
  }

  .lg\:items-center {
    align-items: center;
  }

  .lg\:justify-end {
    justify-content: flex-end;
  }

  .lg\:justify-between {
    justify-content: space-between;
  }

  .lg\:gap-8 {
    gap: 2rem;
  }

  .lg\:overflow-y-auto {
    overflow-y: auto;
  }

  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .lg\:pr-1 {
    padding-right: 0.25rem;
  }
}

@media (min-width: 1200px) {

  .win-large\:inline {
    display: inline;
  }

  .win-large\:hidden {
    display: none;
  }

  .win-large\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {

  .xl\:sticky {
    position: sticky;
  }

  .xl\:top-28 {
    top: 7rem;
  }

  .xl\:max-w-3xl {
    max-width: 48rem;
  }

  .xl\:max-w-\[16rem\] {
    max-width: 16rem;
  }

  .xl\:flex-1 {
    flex: 1 1 0%;
  }

  .xl\:grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .xl\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .xl\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .xl\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .xl\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .xl\:grid-cols-\[minmax\(0\2c 0\.9fr\)_minmax\(0\2c 1\.1fr\)\] {
    grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr);
  }

  .xl\:grid-cols-\[minmax\(0\2c 1\.15fr\)_minmax\(0\2c 0\.85fr\)\] {
    grid-template-columns: minmax(0,1.15fr) minmax(0,0.85fr);
  }

  .xl\:grid-cols-\[minmax\(0\2c 1\.15fr\)_minmax\(300px\2c 0\.85fr\)\] {
    grid-template-columns: minmax(0,1.15fr) minmax(300px,0.85fr);
  }

  .xl\:grid-cols-\[minmax\(0\2c 1\.25fr\)_minmax\(0\2c 0\.95fr\)\] {
    grid-template-columns: minmax(0,1.25fr) minmax(0,0.95fr);
  }

  .xl\:flex-row {
    flex-direction: row;
  }

  .xl\:flex-nowrap {
    flex-wrap: nowrap;
  }

  .xl\:items-start {
    align-items: flex-start;
  }

  .xl\:items-end {
    align-items: flex-end;
  }

  .xl\:items-center {
    align-items: center;
  }

  .xl\:justify-end {
    justify-content: flex-end;
  }

  .xl\:justify-between {
    justify-content: space-between;
  }

  .xl\:self-start {
    align-self: flex-start;
  }

  .xl\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1536px) {

  .\32xl\:flex {
    display: flex;
  }

  .\32xl\:w-36 {
    width: 9rem;
  }

  .\32xl\:w-40 {
    width: 10rem;
  }

  .\32xl\:w-44 {
    width: 11rem;
  }

  .\32xl\:flex-1 {
    flex: 1 1 0%;
  }

  .\32xl\:shrink-0 {
    flex-shrink: 0;
  }

  .\32xl\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .\32xl\:grid-cols-\[minmax\(0\2c 1fr\)_16rem\] {
    grid-template-columns: minmax(0,1fr) 16rem;
  }

  .\32xl\:flex-row {
    flex-direction: row;
  }

  .\32xl\:items-center {
    align-items: center;
  }

  .\32xl\:justify-end {
    justify-content: flex-end;
  }
}

.\[\&\:\:-webkit-details-marker\]\:hidden::-webkit-details-marker {
  display: none;
}
