/* HostlyKe state library. Ported from the reviewed reference design:
   navy canvas, Poppins + JetBrains Mono, 7px radii, solid hairlines. */

.states-ui {
  --st-bg: #08081c;
  --st-pn: #101030;
  --st-ln: #2a2e58;
  --st-tx: #f3f4fb;
  --st-mu: #9aa3d6;
  --st-ac: #7b88ff;
  --st-acb: #3b4bdc;
  --st-wn: #f2b24c;
  --st-bd: #ff7a8a;
  --st-ok: #4cd6a0;
  --st-r: 7px;
  --st-f: Poppins, system-ui, sans-serif;
  --st-m: 'JetBrains Mono', ui-monospace, monospace;
  background: var(--st-bg);
  color: var(--st-tx);
  font: 400 15px/1.55 var(--st-f);
}

html:not(.dark) .states-ui {
  --st-bg: #f3f4fb;
  --st-pn: #ffffff;
  --st-ln: #d9dcf0;
  --st-tx: #08081c;
  --st-mu: #566090;
  --st-ac: #3b4bdc;
  --st-acb: #3b4bdc;
  --st-wn: #a86a00;
  --st-bd: #c92a45;
  --st-ok: #0b8a5f;
}

.states-ui *,
.states-ui *::before,
.states-ui *::after {
  box-sizing: border-box;
}

.states-ui button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.states-ui :focus-visible {
  outline: 2px solid var(--st-ac);
  outline-offset: 2px;
}

.states-ui .st-toolbar {
  position: sticky;
  top: 64px;
  z-index: 20;
  background: color-mix(in srgb, var(--st-bg) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--st-ln);
}

.states-ui .st-bar {
  width: 100%;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.states-ui .st-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.states-ui .st-tab {
  background: none;
  border: 1px solid var(--st-ln);
  border-radius: var(--st-r);
  padding: 6px 12px;
  color: var(--st-mu);
  font-size: 13px;
}

.states-ui .st-tab[aria-pressed='true'] {
  background: var(--st-acb);
  border-color: var(--st-acb);
  color: #fff;
}

.states-ui .st-tab i {
  font: 600 11px var(--st-m);
  margin-left: 6px;
  opacity: 0.75;
  font-style: normal;
}

.states-ui .st-ib {
  border: 1px solid var(--st-ln);
  background: none;
  border-radius: var(--st-r);
  padding: 6px 10px;
  font-size: 13px;
  color: var(--st-tx);
}

.states-ui .st-ib:hover {
  border-color: var(--st-ac);
  color: var(--st-ac);
}

.states-ui .st-spacer {
  flex: 1;
}

.states-ui .st-main {
  width: 100%;
  padding: 28px 20px 80px;
}

.states-ui .st-main.is-page {
  max-width: 1500px;
  margin: 0 auto;
}

.states-ui .st-crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 500 11px var(--st-m);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--st-mu);
  margin-bottom: 18px;
}

.states-ui .st-crumbs a {
  color: var(--st-ac);
  text-decoration: none;
}

.states-ui .st-lead {
  max-width: 72ch;
  margin-bottom: 26px;
}

.states-ui .st-lead h1 {
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.states-ui .st-lead p {
  color: var(--st-mu);
  margin-top: 10px;
  max-width: 68ch;
}

.states-ui .st-lead code,
.states-ui .st-mono {
  font-family: var(--st-m);
  font-size: 0.9em;
  color: var(--st-ac);
}

.states-ui .st-help {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
  margin: 22px 0 28px;
}

.states-ui .st-help-card {
  border: 1px solid var(--st-ln);
  background: var(--st-pn);
  border-radius: var(--st-r);
  padding: 14px 16px;
}

.states-ui .st-help-card h2 {
  font-size: 14px;
  font-weight: 600;
}

.states-ui .st-help-card p {
  color: var(--st-mu);
  font-size: 13px;
  margin: 4px 0 10px;
}

.states-ui .st-help-card a {
  color: var(--st-ac);
  font: 600 12px var(--st-m);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.states-ui .st-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  border: 1px solid var(--st-ln);
  background: var(--st-pn);
  border-radius: var(--st-r);
  padding: 10px 12px;
  margin-bottom: 26px;
}

.states-ui .st-search input {
  font: inherit;
  background: transparent;
  color: var(--st-tx);
  border: 0;
  outline: none;
  flex: 1;
  min-width: 200px;
}

.states-ui .st-search input::placeholder {
  color: var(--st-mu);
}

.states-ui .st-count {
  font: 500 11px var(--st-m);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--st-mu);
}

.states-ui .st-section {
  margin-bottom: 44px;
}

.states-ui .st-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.states-ui .st-section h2 {
  font-size: 19px;
  font-weight: 600;
}

.states-ui .st-section-head span {
  font: 500 11px var(--st-m);
  color: var(--st-mu);
}

.states-ui .st-section > p {
  color: var(--st-mu);
  font-size: 14px;
  margin-bottom: 16px;
}

.states-ui .st-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}

.states-ui .st-card {
  background: var(--st-pn);
  border: 1px solid var(--st-ln);
  border-radius: var(--st-r);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.states-ui .st-card.hidden,
.states-ui .st-section.hidden {
  display: none;
}

.states-ui .st-stage {
  position: relative;
  flex: 1;
  min-height: 300px;
  padding: 24px 20px;
  display: grid;
  place-items: center;
}

.states-ui .st-wmk {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 34px;
  height: auto;
  opacity: 0.14;
  color: var(--st-tx);
  pointer-events: none;
}

.states-ui .st-cap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-top: 1px solid var(--st-ln);
  font-size: 13px;
}

.states-ui .st-cap code {
  font: 600 12px var(--st-m);
  color: var(--st-ac);
}

.states-ui .st-cap span {
  flex: 1;
  color: var(--st-mu);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.states-ui .st-cap a {
  background: none;
  border: 0;
  color: var(--st-ac);
  font-size: 13px;
  padding: 2px 4px;
  text-decoration: none;
}

.states-ui .st-cap .st-open {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.states-ui .st-body {
  width: 100%;
  max-width: 36ch;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.states-ui .st-body.is-wide {
  max-width: 52ch;
}

.states-ui .st-mk {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--st-ac);
  color: var(--st-ac);
  margin-bottom: 4px;
  flex: none;
}

.states-ui .st-mk .st-logo {
  width: 36px;
  height: auto;
  fill: currentColor;
  stroke: none;
}

.states-ui .st-mk .st-badge {
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--st-pn);
  border: 1.5px solid currentColor;
  display: grid;
  place-items: center;
  font-style: normal;
}

.states-ui .st-mk .st-badge svg {
  width: 15px;
  height: 15px;
}

.states-ui .st-cd {
  font: 600 44px/1 var(--st-m);
  letter-spacing: -0.04em;
}

.states-ui .st-body h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}

.states-ui .st-body p {
  color: var(--st-mu);
  font-size: 14px;
}

.states-ui .st-body small {
  color: var(--st-mu);
  font-size: 12.5px;
  border-top: 1px solid var(--st-ln);
  padding-top: 8px;
  margin-top: 4px;
  width: 100%;
}

.states-ui .st-body.warn .st-mk {
  border-color: var(--st-wn);
  color: var(--st-wn);
}

.states-ui .st-body.bad .st-mk {
  border-color: var(--st-bd);
  color: var(--st-bd);
}

.states-ui .st-body.ok .st-mk {
  border-color: var(--st-ok);
  color: var(--st-ok);
}

.states-ui .st-body.lost .st-mk {
  border-style: dashed;
  animation: st-drift 6s ease-in-out infinite;
}

@keyframes st-drift {
  50% {
    transform: translate(6px, -4px) rotate(8deg);
  }
}

.states-ui .st-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

.states-ui .st-btn {
  border-radius: var(--st-r);
  padding: 8px 16px;
  border: 1px solid var(--st-ln);
  background: none;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--st-tx);
  text-decoration: none;
}

.states-ui .st-btn:hover {
  border-color: var(--st-ac);
}

.states-ui .st-btn.primary {
  background: var(--st-acb);
  border-color: var(--st-acb);
  color: #fff;
}

.states-ui .st-btn[aria-busy='true'] {
  opacity: 0.8;
  pointer-events: none;
}

.states-ui .st-spin {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: st-spin 0.7s linear infinite;
  flex: none;
}

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

.states-ui .st-skel {
  background: linear-gradient(
    90deg,
    var(--st-ln),
    color-mix(in srgb, var(--st-ln) 40%, var(--st-pn)),
    var(--st-ln)
  );
  background-size: 200% 100%;
  animation: st-shimmer 1.4s linear infinite;
  border-radius: 5px;
  height: 12px;
}

@keyframes st-shimmer {
  to {
    background-position: -200% 0;
  }
}

.states-ui .st-wide {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.states-ui .st-pulse {
  animation: st-pulse 1.6s ease-in-out infinite;
}

.states-ui .st-pulse svg {
  width: 64px;
  height: auto;
  color: var(--st-ac);
  fill: currentColor;
}

@keyframes st-pulse {
  50% {
    opacity: 0.35;
    transform: scale(0.94);
  }
}

.states-ui .st-progress {
  height: 4px;
  background: var(--st-ln);
  border-radius: 4px;
  overflow: hidden;
  width: 100%;
}

.states-ui .st-progress i {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--st-ac);
  animation: st-ind 1.3s ease-in-out infinite;
}

@keyframes st-ind {
  from {
    margin-left: -40%;
  }
  to {
    margin-left: 100%;
  }
}

.states-ui .st-pipe {
  list-style: none;
  padding: 0;
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  margin: 0;
}

.states-ui .st-pipe li {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--st-mu);
}

.states-ui .st-pipe li::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--st-ln);
  flex: none;
}

.states-ui .st-pipe li.on {
  color: var(--st-tx);
}

.states-ui .st-pipe li.on::before {
  border-color: var(--st-ac);
  border-right-color: transparent;
  animation: st-spin 0.7s linear infinite;
}

.states-ui .st-pipe li.done {
  color: var(--st-tx);
}

.states-ui .st-pipe li.done::before {
  background: var(--st-ok);
  border-color: var(--st-ok);
}

.states-ui .st-log {
  font: 12px/1.7 var(--st-m);
  background: var(--st-bg);
  border: 1px solid var(--st-ln);
  border-radius: var(--st-r);
  padding: 10px 12px;
  width: 100%;
  text-align: left;
  height: 150px;
  overflow: hidden;
  color: var(--st-mu);
}

.states-ui .st-log .e {
  color: var(--st-bd);
}

.states-ui .st-log .k {
  color: var(--st-ok);
}

.states-ui .st-row {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
}

.states-ui .st-row .st-skel:first-child {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex: none;
}

.states-ui .st-banner {
  width: 100%;
  border: 1px solid var(--st-wn);
  border-radius: var(--st-r);
  padding: 10px 12px;
  text-align: left;
  font-size: 13.5px;
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--st-tx);
}

.states-ui .st-banner.bad {
  border-color: var(--st-bd);
}

.states-ui .st-banner.info {
  border-color: var(--st-ac);
}

.states-ui .st-banner b {
  flex: 1;
  font-weight: 500;
}

.states-ui .st-banner button {
  background: none;
  border: 0;
  color: var(--st-ac);
  font-size: 13px;
}

.states-ui .st-field {
  text-align: left;
  width: 100%;
}

.states-ui .st-field label {
  font-size: 13px;
  color: var(--st-mu);
  display: block;
  margin-bottom: 4px;
}

.states-ui .st-field input {
  font: inherit;
  background: var(--st-bg);
  color: var(--st-tx);
  border: 1px solid var(--st-ln);
  border-radius: var(--st-r);
  padding: 9px 12px;
  width: 100%;
}

.states-ui .st-field input[aria-invalid='true'] {
  border-color: var(--st-bd);
}

.states-ui .st-field-error {
  color: var(--st-bd);
  font-size: 12.5px;
  min-height: 18px;
  text-align: left;
}

.states-ui .st-toasts {
  position: fixed;
  right: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 120;
  max-width: calc(100vw - 32px);
}

.states-ui .st-toast {
  background: var(--st-pn);
  border: 1px solid var(--st-ln);
  border-left: 3px solid var(--st-ac);
  border-radius: var(--st-r);
  padding: 10px 14px;
  font-size: 14px;
  min-width: 240px;
  color: var(--st-tx);
  animation: st-toast-in 0.25s ease-out;
}

.states-ui .st-toast.bad {
  border-left-color: var(--st-bd);
}

.states-ui .st-toast.ok {
  border-left-color: var(--st-ok);
}

@keyframes st-toast-in {
  from {
    transform: translateX(20px);
    opacity: 0;
  }
}

/* Detail page ------------------------------------------------------------- */

.states-ui .st-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

@media (max-width: 900px) {
  .states-ui .st-hero {
    grid-template-columns: 1fr;
  }

  .states-ui .st-trigger-main {
    padding: 36px 16px 28px;
  }

  .states-ui .st-trigger-panels {
    padding: 0 16px 20px;
  }
}

.states-ui .st-hero-stage {
  border: 1px solid var(--st-ln);
  background: var(--st-pn);
  border-radius: var(--st-r);
  padding: 36px 24px;
  display: grid;
  place-items: center;
  min-height: 340px;
  position: relative;
  overflow: hidden;
}

.states-ui.st-doc-shell {
  background: transparent;
}

.states-ui .st-hero-stage.st-doc-stage {
  border: 0;
  border-radius: 0;
  min-height: 380px;
}

.states-ui .st-hero-stage .st-body {
  max-width: 46ch;
}

.states-ui .st-hero-stage .st-cd {
  font-size: 64px;
}

.states-ui .st-panel {
  border: 1px solid var(--st-ln);
  background: var(--st-pn);
  border-radius: var(--st-r);
  padding: 18px;
}

.states-ui .st-panel h2 {
  font: 600 11px var(--st-m);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--st-mu);
  margin-bottom: 10px;
}

.states-ui .st-owner {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--st-ln);
  border-radius: 999px;
  padding: 4px 10px;
  font: 600 11px var(--st-m);
  color: var(--st-mu);
}

.states-ui .st-owner::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.states-ui .st-owner.you {
  color: var(--st-ac);
  border-color: color-mix(in srgb, var(--st-ac) 45%, var(--st-ln));
}

.states-ui .st-owner.us {
  color: var(--st-bd);
  border-color: color-mix(in srgb, var(--st-bd) 45%, var(--st-ln));
}

.states-ui .st-dl {
  margin-top: 14px;
  border-top: 1px solid var(--st-ln);
}

.states-ui .st-dl div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--st-ln);
  font-size: 13px;
}

.states-ui .st-dl dt {
  color: var(--st-mu);
  flex: none;
}

.states-ui .st-dl dd {
  text-align: right;
  color: var(--st-tx);
  font-family: var(--st-m);
  font-size: 12px;
}

.states-ui .st-block {
  border: 1px solid var(--st-ln);
  background: var(--st-pn);
  border-radius: var(--st-r);
  padding: 20px;
  margin-bottom: 16px;
}

.states-ui .st-block h2 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.states-ui .st-block > p {
  color: var(--st-mu);
  font-size: 14px;
}

.states-ui .st-list {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--st-mu);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.states-ui .st-list li strong {
  color: var(--st-tx);
  font-weight: 500;
}

.states-ui .st-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.states-ui .st-fact {
  border: 1px solid var(--st-ln);
  border-radius: var(--st-r);
  padding: 12px 14px;
}

.states-ui .st-fact span {
  display: block;
  font: 600 10px var(--st-m);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--st-mu);
  margin-bottom: 4px;
}

.states-ui .st-fact b {
  font-weight: 500;
  font-size: 13.5px;
}

.states-ui .st-related {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.states-ui .st-related a {
  border: 1px solid var(--st-ln);
  border-radius: var(--st-r);
  padding: 12px 14px;
  text-decoration: none;
  color: var(--st-tx);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.states-ui .st-related a:hover {
  border-color: var(--st-ac);
}

.states-ui .st-related b {
  font: 600 12px var(--st-m);
  color: var(--st-ac);
}

.states-ui .st-related span {
  color: var(--st-mu);
  font-size: 13px;
}

.states-ui .st-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--st-ln);
  padding-top: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.states-ui .st-pager a {
  color: var(--st-ac);
  text-decoration: none;
  font: 500 12px var(--st-m);
}

.states-ui .st-empty {
  border: 1px solid var(--st-ln);
  border-radius: var(--st-r);
  padding: 48px 20px;
  text-align: center;
  color: var(--st-mu);
}

.states-ui .st-empty button {
  margin-top: 10px;
  background: none;
  border: 0;
  color: var(--st-ac);
  text-decoration: underline;
  font: 500 12px var(--st-m);
}

/* Triggered state experience ------------------------------------------------ */

.states-ui .st-trigger {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 4rem);
  background: var(--st-bg);
  color: var(--st-tx);
}

.states-ui .st-trigger.is-console {
  min-height: 100vh;
}

.st-trigger-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(600px circle at 50% 0%, color-mix(in srgb, var(--st-ac) 16%, transparent), transparent 70%),
    linear-gradient(var(--st-ln) 1px, transparent 1px),
    linear-gradient(90deg, var(--st-ln) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
  opacity: 0.45;
  pointer-events: none;
}

.st-trigger-mark {
  position: absolute;
  right: -8%;
  bottom: -12%;
  width: min(58vw, 720px);
  height: auto;
  opacity: 0.04;
  fill: currentColor;
  color: var(--st-tx);
  pointer-events: none;
}

.st-trigger-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 20px;
  border-bottom: 1px solid var(--st-ln);
  font: 500 11px var(--st-m);
  color: var(--st-mu);
}

.st-trigger-bar a {
  color: var(--st-ac);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.st-trigger-bar .st-ib {
  padding: 4px 9px;
  font: 500 11px var(--st-m);
}

.st-trigger-main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  place-items: center;
  padding: 56px 20px 40px;
}

.st-trigger-hero {
  width: 100%;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.st-trigger-hero .st-body {
  max-width: 64ch;
  gap: 12px;
}

.st-trigger-hero .st-body .st-cd {
  font-size: clamp(64px, 12vw, 148px);
  line-height: 0.9;
}

.st-trigger-hero .st-body h3 {
  font-size: clamp(22px, 3vw, 34px);
}

.st-trigger-hero .st-body p {
  font-size: 16px;
  max-width: 56ch;
}

.st-trigger-hero .st-body small {
  font-size: 13px;
}

.st-trigger-hero .st-mk {
  width: 96px;
  height: 96px;
}

.st-trigger-hero .st-mk .st-logo {
  width: 46px;
}

.st-trigger-hero .st-mk .st-badge {
  width: 32px;
  height: 32px;
}

.st-trigger-hero .st-actions {
  margin-top: 6px;
}

.st-trigger-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  color: var(--st-mu);
  font: 500 11px var(--st-m);
}

.st-trigger-panels {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 28px;
}

.st-trigger-panel {
  border: 1px solid var(--st-ln);
  border-radius: var(--st-r);
  padding: 16px;
  background: color-mix(in srgb, var(--st-pn) 88%, transparent);
}

.st-trigger-panel h2 {
  font: 600 10px var(--st-m);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--st-mu);
  margin-bottom: 8px;
}

.st-trigger-panel p,
.st-trigger-panel li {
  color: var(--st-mu);
  font-size: 13px;
  line-height: 1.6;
}

.st-trigger-panel ul {
  margin: 0;
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.st-trigger-panel a {
  color: var(--st-ac);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font: 600 11px var(--st-m);
  margin-top: 10px;
  text-decoration: none;
}

.st-trigger-footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--st-ln);
  padding: 14px 20px;
  color: var(--st-mu);
  font: 500 11px var(--st-m);
}

.st-trigger-footer a {
  color: var(--st-ac);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.st-trigger-related {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.st-trigger-related a {
  border: 1px solid var(--st-ln);
  border-radius: 999px;
  padding: 4px 9px;
  color: var(--st-mu);
}

.st-trigger-related a:hover {
  border-color: var(--st-ac);
  color: var(--st-ac);
}

@media (prefers-reduced-motion: reduce) {
  .states-ui *,
  .states-ui *::before,
  .states-ui *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
