.ws {
  --ws-ink: #f7fbff;
  --ws-muted: #afbed0;
  --ws-accent: #24c8f2;
  --ws-accent-light: #112d42;
  --ws-line: #233449;
  --ws-paper: #0d1728;
  --ws-bg: #050914;
  color: var(--ws-ink);
  color-scheme: dark;
  background: var(--ws-bg);
  min-height: 100dvh;
  font-family: Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

.ws *, .ws *::before, .ws *::after { box-sizing: border-box; }
.ws :is(h1, h2, h3, p, ul, figure) { margin: 0; }
.ws h1 { font-size: clamp(1.65rem, 4vw, 2.35rem); line-height: 1.12; letter-spacing: -.04em; }
.ws h2 { font-size: 1.28rem; line-height: 1.3; letter-spacing: -.025em; }
.ws h3 { font-size: 1rem; line-height: 1.35; }
.ws a { color: #75def7; }
.ws :focus-visible { outline: 2px solid #75def7; outline-offset: 4px; }
.ws [hidden] { display: none !important; }

.ws-top {
  background: #09111f;
  border-bottom: 1px solid var(--ws-line);
}

.ws-top > div, .ws-shell { max-width: 1290px; margin-inline: auto; }
.ws-top > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 28px; }
.ws-brand-lockup { display: flex; align-items: center; gap: 20px; min-width: 0; }
.ws-header-logo { width: 88px; height: auto; flex: 0 0 88px; object-fit: contain; }
.ws-brand { font-weight: 780; letter-spacing: -.025em; color: var(--ws-ink); }
.ws-user { color: var(--ws-muted); font-size: .87rem; }
.ws-shell { display: grid; grid-template-columns: 208px minmax(0, 1fr); gap: 32px; padding: 36px 28px 60px; }
.ws-nav { display: flex; flex-direction: column; gap: 5px; align-items: stretch; }
.ws .ws-nav button { justify-content: flex-start; text-align: left; color: var(--ws-muted); background: transparent; border-color: transparent; }
.ws .ws-nav button[aria-current="page"] { color: #75def7; background: var(--ws-accent-light); border-color: #245774; box-shadow: inset 3px 0 0 var(--ws-accent); }
.ws-nav button:hover { background: var(--ws-accent-light); }
.ws-main { min-width: 0; }
.ws-heading { margin-bottom: 19px; }
.ws-stack, .ws-form, .ws-list { display: grid; gap: 14px; }
.ws-stack { gap: 18px; }
.ws-list { padding: 0; list-style: none; }
.ws-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.ws-extra { margin-top: 14px; }
.ws-split { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.ws-muted { color: var(--ws-muted); }
.ws-small { font-size: .875rem; }
.ws-empty { padding: 14px 0; color: var(--ws-muted); }

.ws-card {
  background: var(--ws-paper);
  border: 1px solid var(--ws-line);
  border-radius: 20px;
  padding: 24px;
  min-width: 0;
  box-shadow: 0 12px 32px #00000020;
}

.ws-card h2 { margin-bottom: 14px; }
.ws-card h3 { overflow-wrap: anywhere; }
.ws-card details { border-top: 1px solid var(--ws-line); margin-top: 14px; padding-top: 11px; }
.ws-card summary { cursor: pointer; color: var(--ws-accent); font-weight: 650; }
.ws-card details.ws-create-shop { border-top: 0; margin-top: 0; padding-top: 0; }
.ws-card details .ws-form { margin-top: 14px; }
.ws-card .ws-form + .ws-form, .ws-card .ws-actions + .ws-form { margin-top: 14px; }
.ws-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr)); gap: 14px; }
.ws-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); align-items: start; gap: 12px; }
.ws-form-grid > .ws-wide { grid-column: 1 / -1; }
.ws-form label { display: grid; gap: 7px; font-size: .88rem; font-weight: 600; min-width: 0; }
.ws-form label.ws-check { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.ws-form :is(input, select, textarea) {
  background: #09111f;
  color: var(--ws-ink);
  border: 1px solid #35465d;
  border-radius: 10px;
  padding: 11px 13px;
  min-height: 46px;
  font: inherit;
  font-weight: 450;
  width: 100%;
  min-width: 0;
}

.ws-form input[type="checkbox"] { width: 1rem; min-height: 1rem; accent-color: var(--ws-accent); }
.ws-form :is(input, select, textarea):focus { border-color: var(--ws-accent); box-shadow: 0 0 0 3px #24c8f21a; outline: none; }
.ws-form ::placeholder { color: #8296b0; }
.ws-form textarea { min-height: 78px; resize: vertical; }
.ws-form select[multiple] { min-height: 90px; }
.ws-form .ws-interval { align-items: end; }
.ws button, .ws-button {
  border: 1px solid var(--ws-line);
  border-radius: 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 12px;
  font: inherit;
  font-size: .875rem;
  font-weight: 670;
  color: var(--ws-ink);
  background: var(--ws-paper);
  text-decoration: none;
  cursor: pointer;
}

.ws button:hover, .ws-button:hover { background: var(--ws-accent-light); }
.ws button:disabled { cursor: wait; opacity: .6; }
.ws button.ws-primary, .ws .ws-button.ws-primary { background: var(--ws-accent); color: #050914; border-color: var(--ws-accent); box-shadow: 0 4px 18px #24c8f218; }
.ws button.ws-primary:hover, .ws .ws-button.ws-primary:hover { background: #75def7; border-color: #75def7; }
.ws button.ws-danger { color: #ff9ca5; }
.ws-form > button { justify-self: start; }
.ws-flash:not(:empty) { border: 1px solid #286b58; background: #0d2c27; color: #a5f0d5; padding: 12px 15px; border-radius: 12px; margin: 0 0 16px; overflow-wrap: anywhere; }
.ws-flash[data-error="true"]:not(:empty) { border-color: #75444f; background: #2e1725; color: #ffb9c0; }
.ws-status { background: var(--ws-accent-light); color: var(--ws-accent); padding: 3px 8px; font-weight: 700; font-size: .78rem; border-radius: 20px; }
.ws-status[data-state="cancelada"], .ws-status[data-state="no_asistio"], .ws-status[data-state="suspended"] { background: #3b2330; color: #ffb9c0; }
.ws-status[data-state="draft"] { background: #362e1e; color: #f2c96d; }
.ws-table-wrap { overflow-x: auto; }
.ws-table { width: 100%; border-collapse: collapse; font-size: .88rem; text-align: left; }
.ws-table th, .ws-table td { text-align: left; vertical-align: top; padding: 10px 9px; border-bottom: 1px solid var(--ws-line); }
.ws-table th { color: var(--ws-muted); font-weight: 650; white-space: nowrap; }
.ws-avatar { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; background: var(--ws-accent-light); }
.ws-auth {
  min-height: 100dvh;
  display: grid;
  align-items: center;
  padding: 64px 32px;
  background: radial-gradient(ellipse at 23% 47%, #103054aa, transparent 49%),
    radial-gradient(ellipse at 100% 0, #10254b70, transparent 42%), #050914;
}
.ws-auth-layout { width: min(100%, 1080px); margin-inline: auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 7vw, 100px); align-items: center; }
.ws-auth-identity { display: grid; justify-items: center; gap: 28px; min-width: 0; }
.ws-auth-logo { display: block; width: min(100%, 470px); height: auto; object-fit: contain; }
.ws .ws-auth-product { color: #c7d9e9; font-size: .95rem; letter-spacing: .02em; text-align: center; }
.ws-auth-panel { min-width: 0; padding: 38px; border: 1px solid #29425b; border-radius: 24px; background: linear-gradient(155deg, #122039, #0a1323 72%); box-shadow: 0 28px 80px #0007, inset 0 1px 0 #75def718; }
.ws-auth .ws-heading { display: grid; gap: 14px; margin-bottom: 30px; }
.ws-auth h1 { font-size: clamp(1.9rem, 3vw, 2.4rem); letter-spacing: -.04em; }
.ws .ws-auth-context { color: #75def7; font-weight: 600; font-size: .9rem; }
.ws-auth .ws-form-grid { grid-template-columns: 1fr; gap: 20px; }
.ws-auth .ws-form { gap: 24px; }
.ws-auth .ws-form > button { width: 100%; min-height: 48px; }
.ws-auth .ws-check { color: #afbed0; font-weight: 400; font-size: .82rem; }
.ws-auth .ws-form input { min-height: 48px; }
.ws-auth .ws-form input[type="checkbox"] { min-height: 1rem; }
.ws-auth-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin-top: 22px; }
.ws .ws-auth-links button { background: transparent; border-color: transparent; padding-inline: 0; min-height: 36px; color: #75def7; font-weight: 500; font-size: .82rem; }
.ws .ws-auth-links button:hover { color: #fff; text-decoration: underline; }
.ws-auth-back { display: block; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--ws-line); text-align: center; font-size: .82rem; text-decoration: none; }
.ws-auth-back:hover { color: #fff; text-decoration: underline; }
.ws-auth-taller { padding: 24px; background: #070f1a; }
.ws-auth-taller .ws-auth-layout { width: min(100%, 28rem); grid-template-columns: minmax(0, 1fr); gap: 18px; }
.ws-auth-taller .ws-auth-identity { gap: 6px; }
.ws-auth-taller .ws-auth-logo { width: min(55%, 184px); }
.ws-auth-taller .ws-auth-product { font-size: .82rem; }
.ws-auth-taller .ws-auth-panel { padding: clamp(20px, 5vw, 32px); background: #101f30; border: 1px solid #30465b; border-top: 3px solid #087b9e; border-radius: 14px; box-shadow: 0 16px 48px #0004; }
.ws-auth-taller .ws-heading { gap: 10px; margin-bottom: 20px; }
.ws-auth-taller h1 { font-size: 26px; letter-spacing: -.5px; }
.ws-auth-taller .ws-form :is(input, button) { border-radius: 8px; }
.ws-auth-taller .ws-form input:not([type="checkbox"]) { background: #070f1a; border-color: #466075; }
.ws-auth-taller .ws-form button.ws-primary { background: #087b9e; border-color: #188bac; color: #fff; }
.ws-auth-taller .ws-form button.ws-primary:hover { background: #086b8b; }
.ws-publication-checks { padding: 0; list-style: none; display: grid; gap: 0; }
.ws-publication-checks li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 16px; border-bottom: 1px solid var(--ws-line); }
.ws-check-result { display: flex; align-items: center; gap: 12px; }
.ws-check-icon { display: grid; place-items: center; flex: 0 0 26px; height: 26px; border-radius: 50%; background: #362e1e; color: #f2c96d; font-weight: 700; }
.ws-check-icon[data-complete="true"] { background: #0d352f; color: #56d6a2; }
.ws-public-link { overflow-wrap: anywhere; }
.ws-publication-note { border-left: 3px solid var(--ws-accent); padding-left: 14px; }
.ws-metric { display: grid; gap: 3px; align-content: start; }
.ws-metric strong { font-size: 2rem; line-height: 1; letter-spacing: -.035em; }

@media (max-width: 760px) {
  .ws-top > div { padding: 12px 15px; }
  .ws-shell { grid-template-columns: minmax(0, 1fr); gap: 17px; padding: 15px 15px 38px; }
  .ws-nav { flex-direction: row; overflow: auto; padding-bottom: 5px; }
  .ws-nav button { white-space: nowrap; }
  .ws-card { padding: 15px; }
  .ws-brand-lockup { gap: 10px; }
  .ws-header-logo { width: 58px; flex-basis: 58px; }
  .ws-auth { padding: 30px 18px 40px; align-items: start; }
  .ws-auth-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; max-width: 460px; }
  .ws-auth-identity { gap: 12px; }
  .ws-auth-logo { width: 240px; max-width: 80%; }
  .ws .ws-auth-product { font-size: .8rem; }
  .ws-auth-panel { padding: 26px; border-radius: 20px; }
  .ws-auth .ws-heading { margin-bottom: 24px; }
  .ws-publication-checks li { flex-wrap: wrap; }
}
