/*
 * CIS Conference — desktop delegate site (delegates.*)
 *
 * Implements "DesktopAuth v2" from the Claude Design project. Deliberately
 * namespaced `dsk-` and served from its own stylesheet so that the phone PWA
 * (`pwa-`, /assets/pwa/app.css) and this site can never affect one another.
 * Per the design system's responsive notes the desktop experience is a
 * distinct information architecture, never a stretched mobile view.
 */

:root {
  --dsk-purple: #260269;
  --dsk-purple-deep: #1c0740;
  --dsk-purple-ink: #190234;
  --dsk-purple-lift: #3a1f6b;
  --dsk-gold: #baa073;
  --dsk-gold-ink: #8a6d3b;

  --dsk-surface: #f7f6f9;
  --dsk-card: #ffffff;
  --dsk-text: #15121a;
  --dsk-text-muted: #686270;
  --dsk-text-label: #4a4551;
  --dsk-text-placeholder: #9a93a6;

  --dsk-on-purple: #ffffff;
  --dsk-on-purple-soft: #c9bedc;
  --dsk-on-purple-muted: #9c8fb5;
  --dsk-on-purple-done: #d8cfe6;

  --dsk-field-border: #e0dbe8;
  --dsk-button-border: #ddd7e6;
  --dsk-divider: #edeaf2;
  --dsk-danger: #9c3b3b;

  --dsk-radius-field: 9px;
  --dsk-radius-card: 16px;
  --dsk-radius-panel: 14px;

  --dsk-shadow-card: 0 8px 26px rgb(21 18 26 / 9%);
  --dsk-shadow-panel: 0 3px 12px rgb(21 18 26 / 6%);
  --dsk-shadow-button: 0 8px 18px rgb(38 2 105 / 24%);

  --dsk-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--dsk-surface);
  color: var(--dsk-text);
  font-family: var(--dsk-font);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

/* ---------------------------------------------------------------- layout */

/*
 * The split shell: ceremonial purple panel holding the occasion on the left,
 * the working surface on the right. Panel width differs between the entry
 * screens (470px) and the registration wizard (340px), so it is a modifier
 * rather than a fixed value.
 */
.dsk-split {
  display: flex;
  min-height: 100vh;
}

.dsk-panel {
  background: var(--dsk-purple);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  justify-content: space-between;
  overflow: hidden;
  padding: 44px 42px;
  position: relative;
  width: 470px;
}

.dsk-panel--deep {
  background: var(--dsk-purple-deep);
  justify-content: center;
}

.dsk-panel--wizard {
  justify-content: flex-start;
  padding: 40px 34px;
  width: 340px;
}

.dsk-panel__inner {
  position: relative;
  z-index: 1;
}

.dsk-panel__chevron {
  position: absolute;
  z-index: 0;
}

.dsk-work {
  align-items: center;
  background: var(--dsk-surface);
  display: flex;
  flex: 1;
  justify-content: center;
  padding: 40px;
}

.dsk-work--wizard {
  align-items: flex-start;
  justify-content: flex-start;
  overflow-y: auto;
  padding: 44px 56px;
}

/* ------------------------------------------------------------ panel type */

.dsk-medallion {
  align-items: center;
  background: rgb(186 160 115 / 12%);
  border: 1.5px solid var(--dsk-gold);
  border-radius: 50%;
  color: var(--dsk-gold);
  display: flex;
  font-size: 20px;
  height: 52px;
  justify-content: center;
  margin-bottom: 26px;
  width: 52px;
}

.dsk-kicker {
  color: var(--dsk-gold);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dsk-panel__title {
  color: var(--dsk-on-purple);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-top: 10px;
}

.dsk-panel__title--sm {
  font-size: 22px;
  line-height: 1.3;
  margin-top: 8px;
}

.dsk-panel__meta {
  color: var(--dsk-on-purple-soft);
  font-size: 13px;
  line-height: 1.6;
  margin-top: 12px;
}

.dsk-panel__note {
  background: rgb(255 255 255 / 7%);
  border-radius: 10px;
  color: var(--dsk-on-purple-soft);
  font-size: 11px;
  line-height: 1.6;
  margin-top: 40px;
  padding: 13px 15px;
}

/* The "Live now" card anchored to the foot of the sign-in panel. */
.dsk-live {
  background: rgb(255 255 255 / 7%);
  border: 1px solid rgb(186 160 115 / 34%);
  border-radius: 12px;
  padding: 15px 17px;
  position: relative;
  z-index: 1;
}

.dsk-live__head {
  align-items: center;
  display: flex;
  gap: 7px;
}

.dsk-live__dot {
  background: var(--dsk-gold);
  border-radius: 50%;
  height: 7px;
  width: 7px;
}

.dsk-live__title {
  color: var(--dsk-on-purple);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 7px;
}

.dsk-live__venue {
  color: var(--dsk-on-purple-soft);
  font-size: 11.5px;
  margin-top: 4px;
}

/* -------------------------------------------------------------- step rail */

.dsk-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 34px;
}

.dsk-step {
  align-items: center;
  display: flex;
  gap: 11px;
}

.dsk-step__num {
  align-items: center;
  background: rgb(255 255 255 / 12%);
  border-radius: 50%;
  color: var(--dsk-on-purple-muted);
  display: flex;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  height: 26px;
  justify-content: center;
  width: 26px;
}

.dsk-step--done .dsk-step__num {
  background: var(--dsk-gold);
  color: var(--dsk-purple-ink);
}

.dsk-step--current .dsk-step__num {
  background: #fff;
  color: var(--dsk-purple);
}

.dsk-step__label {
  color: var(--dsk-on-purple-muted);
  font-size: 12.5px;
}

.dsk-step--done .dsk-step__label {
  color: var(--dsk-on-purple-done);
}

.dsk-step--current .dsk-step__label {
  color: var(--dsk-on-purple);
  font-weight: 600;
}

.dsk-step__hint {
  color: var(--dsk-on-purple-soft);
  font-size: 10.5px;
}

.dsk-step--pending .dsk-step__hint {
  color: var(--dsk-on-purple-muted);
}

/* ------------------------------------------------------------------ card */

.dsk-card {
  background: var(--dsk-card);
  border-radius: var(--dsk-radius-card);
  box-shadow: var(--dsk-shadow-card);
  padding: 34px 34px 30px;
  width: 400px;
}

.dsk-card__title {
  font-size: 21px;
  font-weight: 600;
}

.dsk-card__sub {
  color: var(--dsk-text-muted);
  font-size: 12.5px;
  margin: 6px 0 24px;
}

.dsk-divider {
  background: var(--dsk-divider);
  height: 1px;
  margin: 24px 0 18px;
}

.dsk-card__foot {
  color: var(--dsk-text-muted);
  font-size: 12px;
  text-align: center;
}

/* ----------------------------------------------------------------- forms */

.dsk-field {
  margin-bottom: 15px;
}

.dsk-label {
  color: var(--dsk-text-label);
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  margin-bottom: 6px;
}

.dsk-label__optional {
  color: var(--dsk-text-placeholder);
  font-weight: 400;
}

.dsk-input {
  background: #fff;
  border: 1px solid var(--dsk-field-border);
  border-radius: var(--dsk-radius-field);
  color: var(--dsk-text);
  font-family: inherit;
  font-size: 13px;
  height: 44px;
  padding: 0 14px;
  width: 100%;
}

.dsk-input::placeholder {
  color: var(--dsk-text-placeholder);
}

.dsk-input:focus-visible,
.dsk-code__box:focus-visible {
  border-color: var(--dsk-purple);
  box-shadow: 0 0 0 3px rgb(38 2 105 / 10%);
  outline: none;
}

.dsk-input[aria-invalid="true"] {
  border-color: var(--dsk-danger);
}

select.dsk-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23B6AEC2' stroke-width='1.5'/%3E%3C/svg%3E");
  background-position: right 14px center;
  background-repeat: no-repeat;
  padding-right: 34px;
}

/* Password field with an inline reveal control. */
.dsk-password {
  position: relative;
}

.dsk-password .dsk-input {
  padding-right: 62px;
}

.dsk-reveal {
  background: none;
  border: 0;
  color: var(--dsk-purple);
  cursor: pointer;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 8px;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
}

.dsk-row {
  display: flex;
  gap: 14px;
}

.dsk-row > * {
  flex: 1;
}

.dsk-row__narrow {
  flex: 0 0 170px;
}

.dsk-form-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

/* Checkboxes: the box is styled, the real input stays focusable. */
.dsk-check {
  align-items: flex-start;
  color: var(--dsk-text-label);
  cursor: pointer;
  display: flex;
  font-size: 11.5px;
  gap: 7px;
}

.dsk-check input {
  accent-color: var(--dsk-purple);
  flex-shrink: 0;
  height: 15px;
  margin: 0;
  width: 15px;
}

.dsk-link {
  color: var(--dsk-purple);
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none;
}

.dsk-link:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------- buttons */

.dsk-button {
  align-items: center;
  background: var(--dsk-purple);
  border: 1px solid transparent;
  border-radius: var(--dsk-radius-field);
  box-shadow: var(--dsk-shadow-button);
  color: #fff;
  cursor: pointer;
  display: flex;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  height: 46px;
  justify-content: center;
  text-decoration: none;
  width: 100%;
}

.dsk-button:hover {
  background: #300487;
}

.dsk-button--secondary {
  background: #fff;
  border-color: var(--dsk-button-border);
  box-shadow: none;
  color: var(--dsk-text-label);
  flex: 0 0 120px;
}

.dsk-button--secondary:hover {
  background: var(--dsk-surface);
}

.dsk-button--gold {
  background: var(--dsk-gold);
  box-shadow: none;
  color: var(--dsk-purple-ink);
}

.dsk-button--gold:hover {
  background: #c9b088;
}

.dsk-button--ghost {
  background: none;
  border-color: rgb(255 255 255 / 30%);
  box-shadow: none;
  color: #fff;
}

.dsk-button--ghost:hover {
  background: rgb(255 255 255 / 8%);
}

.dsk-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

/* ------------------------------------------------------- wizard surfaces */

.dsk-wizard {
  max-width: 520px;
  width: 100%;
}

.dsk-eyebrow {
  color: var(--dsk-gold-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dsk-heading {
  font-size: 23px;
  font-weight: 600;
  margin: 7px 0 6px;
}

.dsk-subheading {
  color: var(--dsk-text-muted);
  font-size: 12.5px;
  margin-bottom: 26px;
}

.dsk-sheet {
  background: #fff;
  border-radius: var(--dsk-radius-panel);
  box-shadow: var(--dsk-shadow-panel);
  padding: 24px;
}

.dsk-sheet--flush {
  overflow: hidden;
  padding: 0;
}

/* -------------------------------------------------------- activation code */

.dsk-code {
  display: flex;
  gap: 9px;
}

.dsk-code__box {
  background: #fff;
  border: 1px solid var(--dsk-field-border);
  border-radius: var(--dsk-radius-field);
  color: var(--dsk-text);
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  height: 44px;
  text-align: center;
  text-transform: uppercase;
  width: 52px;
}

.dsk-resend {
  align-items: center;
  color: var(--dsk-text-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 11px;
  gap: 7px;
  margin-top: 14px;
}

.dsk-resend__glyph {
  color: var(--dsk-gold-ink);
}

.dsk-resend button {
  background: none;
  border: 0;
  color: var(--dsk-purple);
  cursor: pointer;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  padding: 0;
}

.dsk-resend button[disabled] {
  color: var(--dsk-text-placeholder);
  cursor: default;
}

/* -------------------------------------------------------------- consents */

.dsk-consent {
  border-bottom: 1px solid #f1eef6;
  display: flex;
  gap: 12px;
  padding: 16px 20px;
}

.dsk-consent:last-child {
  border-bottom: 0;
}

.dsk-consent input {
  accent-color: var(--dsk-purple);
  flex-shrink: 0;
  height: 18px;
  margin: 0;
  width: 18px;
}

.dsk-consent__title {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
}

.dsk-consent__required {
  color: var(--dsk-danger);
  font-weight: 500;
}

.dsk-consent__desc {
  color: var(--dsk-text-muted);
  display: block;
  font-size: 11px;
  line-height: 1.5;
  margin-top: 3px;
}

/* ------------------------------------------------------ recognised device */

.dsk-card--centred {
  padding: 34px;
  text-align: center;
}

.dsk-avatar {
  align-items: center;
  background: var(--dsk-surface);
  border: 1px solid #e4e0e8;
  border-radius: 50%;
  display: flex;
  font-size: 24px;
  height: 66px;
  justify-content: center;
  margin: 0 auto 16px;
  width: 66px;
}

.dsk-identity__name {
  font-size: 19px;
  font-weight: 600;
}

.dsk-identity__email {
  color: var(--dsk-text-muted);
  font-size: 12px;
  margin: 5px 0 20px;
}

.dsk-notice {
  background: var(--dsk-surface);
  border: 1px solid var(--dsk-divider);
  border-radius: 10px;
  color: var(--dsk-text-muted);
  font-size: 11px;
  line-height: 1.5;
  margin-bottom: 18px;
  padding: 11px 13px;
  text-align: left;
}

/* ------------------------------------------------------ credential card */

.dsk-credential {
  background: linear-gradient(140deg, #2e1a57, var(--dsk-purple-ink));
  border: 1px solid rgb(186 160 115 / 42%);
  border-radius: var(--dsk-radius-panel);
  box-shadow: 0 14px 32px rgb(0 0 0 / 35%);
  padding: 22px 22px 18px;
}

.dsk-credential__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.dsk-credential__name {
  color: var(--dsk-on-purple);
  font-size: 19px;
  font-weight: 600;
  margin-top: 6px;
}

.dsk-credential__firm {
  color: var(--dsk-on-purple-soft);
  font-size: 11.5px;
  margin-top: 3px;
}

.dsk-credential__seal {
  align-items: center;
  border: 1px solid var(--dsk-gold);
  border-radius: 50%;
  display: flex;
  font-size: 15px;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.dsk-credential__facts {
  border-top: 1px solid rgb(186 160 115 / 25%);
  display: flex;
  gap: 26px;
  margin-top: 20px;
  padding-top: 14px;
}

.dsk-fact__label {
  color: var(--dsk-on-purple-muted);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dsk-fact__value {
  color: var(--dsk-on-purple);
  font-size: 12.5px;
  font-weight: 600;
  margin-top: 3px;
}

.dsk-fact__value--gold {
  color: var(--dsk-gold);
}

/* ------------------------------------------------------ ceremony screen */

.dsk-ceremony {
  align-items: center;
  background: var(--dsk-purple);
  display: flex;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
  padding: 48px 24px;
  position: relative;
}

.dsk-ceremony__inner {
  max-width: 620px;
  position: relative;
  text-align: center;
  width: 100%;
  z-index: 1;
}

.dsk-ceremony__seal {
  align-items: center;
  background: rgb(186 160 115 / 14%);
  border: 1.5px solid var(--dsk-gold);
  border-radius: 50%;
  color: var(--dsk-gold);
  display: flex;
  font-size: 24px;
  height: 64px;
  justify-content: center;
  margin: 0 auto 20px;
  width: 64px;
}

.dsk-ceremony__title {
  color: var(--dsk-on-purple);
  font-size: 29px;
  font-weight: 600;
  margin-top: 10px;
}

.dsk-ceremony__lede {
  color: var(--dsk-on-purple-soft);
  font-size: 13px;
  line-height: 1.6;
  margin-top: 10px;
}

.dsk-ceremony__cards {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  text-align: left;
}

.dsk-ceremony__cards .dsk-credential {
  flex: 1;
}

.dsk-qr {
  align-items: center;
  background: #fff;
  border-radius: var(--dsk-radius-panel);
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  padding: 16px;
  width: 150px;
}

.dsk-qr__code {
  border-radius: 6px;
  height: 86px;
  width: 86px;
}

.dsk-qr__label {
  color: var(--dsk-text-muted);
  font-size: 9.5px;
  font-weight: 600;
}

.dsk-ceremony__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 26px;
}

.dsk-ceremony__actions .dsk-button {
  width: auto;
  padding: 0 30px;
}

/* ---------------------------------------------------------------- alerts */

.dsk-alert {
  background: #fdf3f3;
  border: 1px solid #f0d6d6;
  border-radius: 10px;
  color: var(--dsk-danger);
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 18px;
  padding: 11px 13px;
}

.dsk-alert ul {
  margin: 0;
  padding-left: 16px;
}

.dsk-error {
  color: var(--dsk-danger);
  display: block;
  font-size: 11px;
  margin-top: 5px;
}

.dsk-visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* ----------------------------------------------------------- responsive */

/*
 * Below the two-pane threshold the ceremonial panel stops being a column and
 * becomes a header band, so the working surface keeps its full width. The
 * step rail collapses to a horizontal strip.
 */
@media (max-width: 900px) {
  .dsk-split {
    display: block;
    min-height: 0;
  }

  .dsk-panel,
  .dsk-panel--wizard {
    padding: 28px 24px;
    width: auto;
  }

  .dsk-panel__title {
    font-size: 24px;
  }

  .dsk-live,
  .dsk-panel__note {
    margin-top: 22px;
  }

  .dsk-steps {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-top: 22px;
  }

  .dsk-step__hint {
    display: none;
  }

  .dsk-work,
  .dsk-work--wizard {
    padding: 28px 24px 48px;
  }

  .dsk-card {
    width: 100%;
    max-width: 400px;
  }

  .dsk-ceremony__cards {
    flex-direction: column;
  }

  .dsk-qr {
    width: 100%;
  }
}

/* =================================================================
 * DesktopHome v2 — the signed-in app shell
 *
 * A deep-purple standing rail carries the whole directory that the phone
 * had to split between a tab bar and an "All sections" sheet; the working
 * canvas is a soft neutral sheet with white cards. The chevron canopy
 * survives as the dashboard's header band.
 * ================================================================= */

.dsk-app {
  display: flex;
  min-height: 100vh;
}

/* ------------------------------------------------------ standing rail */

.dsk-rail {
  background: var(--dsk-purple-ink);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  overflow: hidden;
  padding: 18px 12px;
  position: relative;
  width: 214px;
}

.dsk-rail__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 1;
}

.dsk-rail__brand {
  align-items: center;
  display: flex;
  gap: 9px;
  padding: 0 10px 18px;
}

.dsk-rail__seal {
  align-items: center;
  border: 1px solid var(--dsk-gold);
  border-radius: 50%;
  display: flex;
  flex-shrink: 0;
  font-size: 12px;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.dsk-rail__name {
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.dsk-rail__edition {
  color: var(--dsk-on-purple-muted);
  font-size: 8.5px;
}

.dsk-nav {
  align-items: center;
  border-radius: 8px;
  color: #a99bc2;
  display: flex;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  height: 36px;
  padding: 0 12px;
  text-decoration: none;
}

.dsk-nav:hover {
  background: rgb(255 255 255 / 5%);
  color: #fff;
}

.dsk-nav--active {
  background: rgb(255 255 255 / 10%);
  color: #fff;
  font-weight: 600;
}

.dsk-nav__glyph {
  flex-shrink: 0;
  font-size: 13px;
  width: 14px;
}

.dsk-nav__badge {
  background: var(--dsk-gold);
  border-radius: 8px;
  color: var(--dsk-purple-ink);
  font-size: 8.5px;
  font-weight: 700;
  margin-left: auto;
  padding: 1px 6px;
}

.dsk-nav__dot {
  background: #c25757;
  border-radius: 50%;
  height: 6px;
  margin-left: auto;
  width: 6px;
}

.dsk-nav-group {
  color: #6b5a8c;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  margin: 16px 0 7px;
  padding: 0 12px;
  text-transform: uppercase;
}

.dsk-rail__user {
  align-items: center;
  border-top: 1px solid rgb(255 255 255 / 10%);
  display: flex;
  gap: 9px;
  margin-top: auto;
  padding: 11px 10px 0;
}

.dsk-rail__avatar {
  align-items: center;
  background: #2e1a57;
  border-radius: 50%;
  color: var(--dsk-gold);
  display: flex;
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  height: 28px;
  justify-content: center;
  width: 28px;
}

/* ------------------------------------------------------------ top bar */

.dsk-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.dsk-top {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--dsk-divider);
  display: flex;
  flex-shrink: 0;
  gap: 14px;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 26px;
}

.dsk-top__title {
  font-size: 15px;
  font-weight: 600;
}

.dsk-top__group {
  align-items: center;
  display: flex;
  gap: 12px;
}

.dsk-search {
  align-items: center;
  border: 1px solid #e4e0e8;
  border-radius: 8px;
  color: var(--dsk-text-placeholder);
  display: flex;
  font-size: 11.5px;
  gap: 8px;
  height: 32px;
  padding: 0 11px;
  width: 250px;
}

.dsk-search input {
  background: none;
  border: 0;
  color: var(--dsk-text);
  flex: 1;
  font-family: inherit;
  font-size: 11.5px;
  min-width: 0;
  outline: none;
}

.dsk-bell {
  align-items: center;
  border: 1px solid #e4e0e8;
  border-radius: 8px;
  display: flex;
  font-size: 13px;
  height: 32px;
  justify-content: center;
  position: relative;
  text-decoration: none;
  width: 32px;
}

.dsk-bell__count {
  align-items: center;
  background: var(--dsk-gold);
  border-radius: 50%;
  color: var(--dsk-purple-ink);
  display: flex;
  font-size: 8.5px;
  font-weight: 700;
  height: 15px;
  justify-content: center;
  position: absolute;
  right: -4px;
  top: -4px;
  width: 15px;
}

.dsk-content {
  flex: 1;
  padding: 24px 26px;
}

.dsk-content--flush {
  padding: 0;
}

/* -------------------------------------------------------------- pills */

.dsk-pill {
  align-items: center;
  border-radius: 14px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 600;
  height: 28px;
  padding: 0 13px;
  text-decoration: none;
}

.dsk-pill--brand {
  background: var(--dsk-purple);
  color: #fff;
}

.dsk-pill--tint {
  background: #f3eff9;
  color: var(--dsk-purple);
}

.dsk-pill--muted {
  background: #f3eff9;
  color: var(--dsk-text-label);
}

.dsk-pill--outline {
  background: #fff;
  border: 1px solid #e9e5ef;
  color: var(--dsk-text-label);
}

.dsk-pill--gold {
  background: rgb(186 160 115 / 16%);
  color: var(--dsk-gold-ink);
}

.dsk-pill--alert {
  background: rgb(156 59 59 / 8%);
  color: var(--dsk-danger);
  font-size: 10px;
  height: 22px;
}

/* -------------------------------------------------------------- cards */

.dsk-cd {
  background: #fff;
  border-radius: var(--dsk-radius-panel);
  box-shadow: 0 2px 10px rgb(21 18 26 / 6%);
}

.dsk-sect {
  align-items: center;
  display: flex;
  font-size: 11px;
  font-weight: 700;
  justify-content: space-between;
  letter-spacing: 0.06em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.dsk-sect__link {
  color: var(--dsk-purple);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
}

/* --------------------------------------------------- dashboard canopy */

.dsk-canopy {
  background: var(--dsk-purple);
  overflow: hidden;
  padding: 22px 26px 40px;
  position: relative;
}

.dsk-canopy__theme {
  color: var(--dsk-gold);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dsk-canopy__greeting {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  margin-top: 7px;
}

.dsk-canopy__meta {
  color: var(--dsk-on-purple-soft);
  font-size: 12px;
  margin-top: 4px;
}

/* The dashboard columns ride up over the canopy's lower edge. */
.dsk-dash {
  display: flex;
  gap: 18px;
  margin-top: -26px;
  padding: 0 26px 26px;
  position: relative;
}

.dsk-dash__main {
  flex: 1;
  min-width: 0;
}

.dsk-dash__aside {
  flex-shrink: 0;
  width: 296px;
}

/* ------------------------------------------------------- live session */

.dsk-live-card {
  box-shadow: 0 8px 22px rgb(21 18 26 / 10%);
  margin-bottom: 18px;
  overflow: hidden;
}

.dsk-live-card__rule {
  background: linear-gradient(90deg, var(--dsk-gold), var(--dsk-purple));
  height: 5px;
}

.dsk-live-card__body {
  align-items: center;
  display: flex;
  gap: 18px;
  padding: 18px 20px;
}

.dsk-now {
  align-items: center;
  color: var(--dsk-danger);
  display: flex;
  font-size: 10px;
  font-weight: 700;
  gap: 6px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.dsk-now__dot {
  background: var(--dsk-danger);
  border-radius: 50%;
  height: 7px;
  width: 7px;
}

.dsk-live-card__title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}

.dsk-live-card__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 150px;
}

.dsk-btn-sm {
  align-items: center;
  background: var(--dsk-purple);
  border: 1px solid transparent;
  border-radius: 9px;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  gap: 7px;
  height: 38px;
  justify-content: center;
  text-decoration: none;
  width: 100%;
}

.dsk-btn-sm--ghost {
  background: #fff;
  border-color: #e4e0e8;
  color: var(--dsk-text-label);
  font-size: 11.5px;
  font-weight: 500;
  height: 34px;
}

/* -------------------------------------------------------- agenda rows */

.dsk-row-card {
  align-items: center;
  display: flex;
  gap: 16px;
  margin-bottom: 10px;
  padding: 14px 18px;
  text-decoration: none;
  color: inherit;
}

.dsk-row-card--saved {
  border-left: 2px solid var(--dsk-gold);
}

.dsk-row-card__time {
  flex-shrink: 0;
  width: 74px;
}

.dsk-row-card__hour {
  font-size: 14px;
  font-weight: 700;
}

.dsk-row-card__venue {
  color: var(--dsk-text-muted);
  font-size: 10px;
}

.dsk-row-card__title {
  font-size: 13.5px;
  font-weight: 600;
}

.dsk-row-card__meta {
  color: var(--dsk-text-muted);
  font-size: 11px;
  margin-top: 3px;
}

.dsk-saved-mark {
  color: var(--dsk-gold);
  font-size: 10.5px;
  font-weight: 600;
}

/* -------------------------------------------------------- credential */

.dsk-cred-mini {
  align-items: center;
  display: flex;
  gap: 14px;
}

.dsk-cred-mini__qr {
  border-radius: 6px;
  flex-shrink: 0;
  height: 66px;
  width: 66px;
}

.dsk-cred-mini__no {
  color: var(--dsk-gold-ink);
  font-size: 10.5px;
  margin-top: 2px;
}

/* ------------------------------------------------------ announcements */

.dsk-ann-mini {
  display: flex;
  gap: 9px;
  padding: 12px 0;
  border-bottom: 1px solid #f1eef6;
  text-decoration: none;
  color: inherit;
}

.dsk-ann-mini:last-child {
  border-bottom: 0;
}

.dsk-ann-mini__dot {
  background: var(--dsk-purple);
  border-radius: 50%;
  flex-shrink: 0;
  height: 6px;
  margin-top: 5px;
  width: 6px;
}

.dsk-ann-mini--read .dsk-ann-mini__dot {
  background: #ded8e8;
}

.dsk-ann-mini__text {
  font-size: 12px;
  line-height: 1.5;
}

.dsk-ann-mini--read .dsk-ann-mini__text {
  color: var(--dsk-text-label);
}

.dsk-ann-mini__when {
  color: var(--dsk-text-placeholder);
  font-size: 10px;
  margin-top: 4px;
}

.dsk-ann {
  margin-bottom: 12px;
  padding: 16px 20px;
}

.dsk-ann--lead {
  box-shadow: 0 6px 18px rgb(21 18 26 / 8%);
  margin-bottom: 14px;
  overflow: hidden;
  padding: 0;
}

.dsk-ann__rule {
  background: linear-gradient(90deg, var(--dsk-gold), var(--dsk-purple));
  height: 4px;
}

.dsk-ann__head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.dsk-ann__when {
  color: var(--dsk-text-placeholder);
  font-size: 10.5px;
}

.dsk-ann__title {
  font-size: 14.5px;
  font-weight: 600;
}

.dsk-ann--lead .dsk-ann__title {
  font-size: 16px;
}

.dsk-ann__body {
  color: var(--dsk-text-label);
  font-size: 12px;
  line-height: 1.65;
  margin: 6px 0 0;
}

.dsk-ann--lead .dsk-ann__body {
  font-size: 12.5px;
  line-height: 1.7;
  margin-top: 8px;
}

/* ------------------------------------------------------- quick actions */

.dsk-quick {
  display: grid;
  gap: 9px;
  grid-template-columns: 1fr 1fr;
}

.dsk-quick__item {
  background: var(--dsk-surface);
  border-radius: 10px;
  color: inherit;
  font-size: 10.5px;
  font-weight: 600;
  padding: 12px 10px;
  text-align: center;
  text-decoration: none;
}

.dsk-quick__glyph {
  display: block;
  font-size: 15px;
  margin-bottom: 5px;
}

/* ----------------------------------------------------------- materials */

.dsk-files {
  margin-bottom: 16px;
  overflow: hidden;
}

.dsk-file {
  align-items: center;
  border-bottom: 1px solid #f1eef6;
  display: flex;
  gap: 14px;
  padding: 14px 18px;
}

.dsk-file:last-child {
  border-bottom: 0;
}

.dsk-file__type {
  align-items: center;
  border-radius: 5px;
  display: flex;
  flex-shrink: 0;
  font-size: 9px;
  font-weight: 700;
  height: 42px;
  justify-content: center;
  width: 34px;
}

.dsk-file__type--pdf {
  background: rgb(156 59 59 / 8%);
  color: var(--dsk-danger);
}

.dsk-file__type--ppt {
  background: rgb(38 2 105 / 8%);
  color: var(--dsk-purple);
}

.dsk-file__type--doc {
  background: rgb(186 160 115 / 16%);
  color: var(--dsk-gold-ink);
}

.dsk-file__main {
  flex: 1;
  min-width: 0;
}

.dsk-file__title {
  font-size: 13px;
  font-weight: 600;
}

.dsk-file__meta {
  color: var(--dsk-text-muted);
  font-size: 10.5px;
  margin-top: 3px;
}

.dsk-file__actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.dsk-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 16px;
}

.dsk-aside {
  flex-shrink: 0;
  width: 270px;
}

.dsk-two-col {
  display: flex;
  gap: 18px;
}

.dsk-two-col__main {
  flex: 1;
  min-width: 0;
}

.dsk-empty {
  color: var(--dsk-text-muted);
  font-size: 12.5px;
  padding: 22px 20px;
  text-align: center;
}

/* ------------------------------------------------- welcome address modal */

.dsk-modal {
  align-items: center;
  background: rgb(21 10 40 / 60%);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 50;
}

.dsk-modal__panel {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 26px 60px rgb(0 0 0 / 40%);
  max-height: 90vh;
  overflow: auto;
  width: 620px;
}

.dsk-modal__head {
  background: var(--dsk-purple-ink);
  overflow: hidden;
  padding: 30px 34px 26px;
  position: relative;
  text-align: center;
}

.dsk-modal__seal {
  align-items: center;
  background: rgb(186 160 115 / 12%);
  border: 1.5px solid var(--dsk-gold);
  border-radius: 50%;
  display: flex;
  font-size: 21px;
  height: 56px;
  justify-content: center;
  margin: 0 auto 14px;
  width: 56px;
}

.dsk-modal__title {
  color: #fff;
  font-size: 19px;
  font-weight: 600;
  margin-top: 7px;
}

.dsk-modal__body {
  padding: 26px 34px 28px;
}

.dsk-modal__quote {
  color: var(--dsk-text-label);
  font-size: 13.5px;
  line-height: 1.8;
  margin: 0 0 18px;
}

.dsk-modal__signer {
  align-items: center;
  border-top: 1px solid var(--dsk-divider);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 15px 0;
}

.dsk-modal__portrait {
  background: var(--dsk-surface);
  border: 1px solid #e4e0e8;
  border-radius: 50%;
  flex-shrink: 0;
  height: 44px;
  width: 44px;
}

.dsk-modal__name {
  font-size: 13px;
  font-weight: 600;
}

.dsk-modal__role {
  color: var(--dsk-gold-ink);
  font-size: 11px;
}

.dsk-modal__cta {
  width: 210px;
}

/* ------------------------------------------------- app-shell responsive */

@media (max-width: 1000px) {
  .dsk-app {
    display: block;
  }

  .dsk-rail {
    width: auto;
  }

  .dsk-rail__inner {
    display: grid;
    gap: 2px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .dsk-rail__brand,
  .dsk-rail__user {
    grid-column: 1 / -1;
  }

  .dsk-nav-group {
    grid-column: 1 / -1;
  }

  .dsk-dash,
  .dsk-two-col {
    flex-direction: column;
  }

  .dsk-dash__aside,
  .dsk-aside {
    width: auto;
  }
}

/*
 * The dashboard columns ride up over the canopy so the leading white card
 * overlaps it. With no live session the first element is a section heading,
 * which would land as dark text on the purple band — so the main column drops
 * clear while the aside keeps its overlap.
 */
.dsk-dash__main--offset {
  padding-top: 36px;
}

/* =================================================================
 * DesktopAgenda v2 — timeline, session detail, schedule, speakers
 *
 * Where the phone stacked one session at a time, desktop shows the day as a
 * timeline with the live now-marker running through it, and pairs each list
 * with a persistent detail rail.
 * ================================================================= */

.dsk-split-pane {
  display: flex;
  min-height: 0;
}

.dsk-split-pane__main {
  flex: 1;
  min-width: 0;
  padding: 22px 24px;
}

.dsk-side-rail {
  background: #fff;
  border-left: 1px solid var(--dsk-divider);
  flex-shrink: 0;
  padding: 22px 20px;
  width: 250px;
}

/* --------------------------------------------------------- day switch */

.dsk-daytabs {
  background: #f3eff9;
  border-radius: 9px;
  display: flex;
  gap: 2px;
  padding: 3px;
}

.dsk-daytab {
  align-items: center;
  border-radius: 7px;
  color: var(--dsk-text-muted);
  display: flex;
  font-size: 11.5px;
  font-weight: 500;
  height: 26px;
  padding: 0 15px;
  text-decoration: none;
  white-space: nowrap;
}

.dsk-daytab--active {
  background: #fff;
  box-shadow: 0 1px 3px rgb(21 18 26 / 10%);
  color: var(--dsk-purple);
  font-weight: 600;
}

/* ------------------------------------------------------------ timeline */

.dsk-band {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.dsk-band__label {
  color: var(--dsk-gold-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.dsk-band__rule {
  background: #e7e2ee;
  flex: 1;
  height: 1px;
}

.dsk-slot {
  display: flex;
}

.dsk-slot__time {
  flex-shrink: 0;
  padding-right: 16px;
  text-align: right;
  width: 66px;
}

.dsk-slot__hour {
  font-size: 12.5px;
  font-weight: 700;
}

.dsk-slot__len {
  color: var(--dsk-text-placeholder);
  font-size: 10px;
}

.dsk-slot__spine {
  background: #e7e2ee;
  position: relative;
  width: 1px;
}

.dsk-slot__node {
  background: #ded8e8;
  border-radius: 50%;
  height: 8px;
  left: -3.5px;
  position: absolute;
  top: 6px;
  width: 8px;
}

.dsk-slot__node--saved {
  background: var(--dsk-gold);
}

.dsk-slot__node--live {
  background: var(--dsk-danger);
  box-shadow: 0 0 0 3px rgb(156 59 59 / 16%);
  height: 10px;
  left: -4.5px;
  width: 10px;
}

.dsk-slot__body {
  flex: 1;
  min-width: 0;
  padding: 0 0 16px 18px;
}

/* Parallel sessions in the same slot sit side by side. */
.dsk-slot__parallel {
  display: flex;
  gap: 12px;
}

.dsk-slot__parallel > * {
  flex: 1;
  min-width: 0;
}

/* The current-time marker drawn through the day. */
.dsk-nowline {
  align-items: center;
  display: flex;
  gap: 10px;
  margin: 2px 0 14px;
  padding-left: 66px;
}

.dsk-nowline__time {
  color: var(--dsk-danger);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.dsk-nowline__rule {
  background: var(--dsk-danger);
  flex: 1;
  height: 1px;
  opacity: 0.4;
}

/* Non-session blocks (registration, breaks) are quieter than sessions. */
.dsk-interlude {
  background: #f1eef6;
  border-radius: 12px;
  padding: 12px 15px;
}

.dsk-interlude__title {
  color: var(--dsk-text-label);
  font-size: 13px;
  font-weight: 600;
}

.dsk-interlude__meta {
  color: var(--dsk-text-muted);
  font-size: 11px;
  margin-top: 3px;
}

/* ------------------------------------------------------- session cards */

.dsk-scard {
  color: inherit;
  display: block;
  padding: 13px 15px;
  text-decoration: none;
}

.dsk-scard--saved {
  border-left: 2px solid var(--dsk-gold);
}

.dsk-scard__eyebrow {
  color: var(--dsk-text-muted);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.dsk-scard--saved .dsk-scard__eyebrow {
  color: var(--dsk-gold-ink);
}

.dsk-scard__title {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 5px;
}

.dsk-scard__meta {
  color: var(--dsk-text-muted);
  font-size: 11px;
  margin-top: 4px;
}

.dsk-scard--live {
  box-shadow: 0 6px 18px rgb(21 18 26 / 9%);
  overflow: hidden;
  padding: 0;
}

.dsk-scard__rule {
  background: linear-gradient(90deg, var(--dsk-gold), var(--dsk-purple));
  height: 4px;
}

.dsk-scard__body {
  padding: 14px 16px;
}

.dsk-chiprow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

/* --------------------------------------------------------- glance rail */

.dsk-stats {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.dsk-stat {
  background: var(--dsk-surface);
  border-radius: 10px;
  flex: 1;
  padding: 11px 12px;
}

.dsk-stat__num {
  font-size: 19px;
  font-weight: 700;
}

.dsk-stat__label {
  color: var(--dsk-text-muted);
  font-size: 10px;
  margin-top: 2px;
}

.dsk-legend {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 20px;
}

.dsk-legend__item {
  align-items: center;
  display: flex;
  font-size: 11.5px;
  gap: 9px;
}

.dsk-legend__swatch {
  border-radius: 3px;
  flex-shrink: 0;
  height: 9px;
  width: 9px;
}

/* ------------------------------------------------- session detail page */

.dsk-shead {
  background: var(--dsk-purple);
  overflow: hidden;
  padding: 26px 30px 30px;
  position: relative;
}

.dsk-shead__inner {
  align-items: flex-end;
  display: flex;
  gap: 26px;
  position: relative;
  flex-wrap: wrap;
}

.dsk-shead__title {
  color: #fff;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.25;
  margin-top: 12px;
  max-width: 640px;
}

.dsk-shead__meta {
  color: var(--dsk-on-purple-soft);
  font-size: 12.5px;
  margin-top: 9px;
}

.dsk-pill--onpurple {
  background: rgb(255 255 255 / 12%);
  color: #fff;
  font-size: 10px;
  height: 24px;
}

.dsk-shead__actions {
  display: flex;
  gap: 10px;
}

.dsk-shead__cta {
  align-items: center;
  background: var(--dsk-gold);
  border: 0;
  border-radius: 9px;
  color: var(--dsk-purple-ink);
  cursor: pointer;
  display: flex;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  text-decoration: none;
}

.dsk-shead__icon {
  align-items: center;
  background: none;
  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: 9px;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-family: inherit;
  font-size: 15px;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.dsk-sbody {
  display: flex;
  gap: 22px;
  padding: 22px 30px 30px;
}

.dsk-sbody__main {
  flex: 1;
  min-width: 0;
}

.dsk-sbody__aside {
  flex-shrink: 0;
  width: 280px;
}

.dsk-prose {
  color: var(--dsk-text-label);
  font-size: 13px;
  line-height: 1.75;
  margin: 0 0 20px;
}

.dsk-speakers-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.dsk-speaker {
  align-items: center;
  color: inherit;
  display: flex;
  flex: 1;
  gap: 11px;
  min-width: 200px;
  padding: 14px;
  text-decoration: none;
}

.dsk-speaker__portrait {
  background: #f1eef6;
  border: 1px solid #e4e0e8;
  border-radius: 50%;
  flex-shrink: 0;
  height: 42px;
  width: 42px;
}

.dsk-speaker__name {
  font-size: 12.5px;
  font-weight: 600;
}

.dsk-speaker__role {
  color: var(--dsk-text-muted);
  font-size: 10.5px;
  margin-top: 2px;
}

.dsk-deflist__row {
  border-bottom: 1px solid #f1eef6;
  display: flex;
  font-size: 11.5px;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
}

.dsk-deflist__row:last-child {
  border-bottom: 0;
}

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

.dsk-deflist__val {
  font-weight: 600;
  text-align: right;
}

/* --------------------------------------------------------- my schedule */

.dsk-clash-banner {
  align-items: center;
  background: #fdf3f3;
  border: 1px solid #f0d5d5;
  border-radius: 11px;
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  padding: 11px 14px;
}

.dsk-clash-banner__dot {
  background: var(--dsk-danger);
  border-radius: 50%;
  flex-shrink: 0;
  height: 7px;
  width: 7px;
}

.dsk-clash-banner__text {
  color: #7e3232;
  flex: 1;
  font-size: 12px;
  line-height: 1.5;
}

.dsk-clash {
  background: #fff;
  border: 1px solid #f0d5d5;
  border-radius: 14px;
  margin-bottom: 10px;
  padding: 12px;
}

.dsk-clash__label {
  color: var(--dsk-danger);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  margin-bottom: 9px;
  text-transform: uppercase;
}

.dsk-clash__option {
  align-items: center;
  border-radius: 9px;
  display: flex;
  gap: 14px;
  padding: 9px 6px;
}

.dsk-clash__option + .dsk-clash__option {
  margin-top: 7px;
}

.dsk-itinerary {
  align-items: center;
  border-left: 2px solid var(--dsk-gold);
  color: inherit;
  display: flex;
  gap: 16px;
  margin-bottom: 10px;
  padding: 14px 18px;
  text-decoration: none;
}

.dsk-itinerary__time {
  flex-shrink: 0;
  width: 66px;
}

.dsk-itinerary__hour {
  color: var(--dsk-gold-ink);
  font-size: 13.5px;
  font-weight: 700;
}

.dsk-itinerary__venue {
  color: var(--dsk-text-muted);
  font-size: 10px;
}

.dsk-itinerary__title {
  font-size: 13.5px;
  font-weight: 600;
}

.dsk-itinerary__meta {
  color: var(--dsk-text-muted);
  font-size: 10.5px;
  margin-top: 3px;
}

.dsk-itinerary__meta--live {
  color: var(--dsk-danger);
  font-weight: 600;
}

/* ----------------------------------------------------------- speakers */

.dsk-speaker-lead {
  align-items: center;
  color: inherit;
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  text-decoration: none;
}

.dsk-speaker-lead__portrait {
  background: #f1eef6;
  border: 1px solid #e4e0e8;
  border-radius: 50%;
  flex-shrink: 0;
  height: 62px;
  width: 62px;
}

.dsk-speaker-lead__name {
  font-size: 16px;
  font-weight: 600;
  margin-top: 5px;
}

.dsk-speaker-lead__role {
  color: var(--dsk-text-muted);
  font-size: 11.5px;
  margin-top: 3px;
}

.dsk-speaker-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.dsk-speaker-grid .dsk-speaker {
  min-width: 0;
}

.dsk-speaker__count {
  color: var(--dsk-gold-ink);
  font-size: 10px;
  margin-top: 4px;
}

.dsk-nowspeaking {
  background: var(--dsk-surface);
  border-radius: 12px;
  margin-bottom: 18px;
  padding: 14px;
  text-align: center;
}

.dsk-nowspeaking__portrait {
  background: var(--dsk-divider);
  border: 1px solid #e4e0e8;
  border-radius: 50%;
  height: 56px;
  margin: 0 auto 10px;
  width: 56px;
}

@media (max-width: 1100px) {
  .dsk-split-pane {
    display: block;
  }

  .dsk-side-rail {
    border-left: 0;
    border-top: 1px solid var(--dsk-divider);
    width: auto;
  }

  .dsk-sbody {
    flex-direction: column;
    padding: 22px 24px;
  }

  .dsk-sbody__aside {
    width: auto;
  }

  .dsk-speaker-grid {
    grid-template-columns: 1fr;
  }
}

/* Any card that is itself a link keeps card typography, not link typography. */
a.dsk-cd,
a.dsk-cd:hover {
  color: inherit;
  text-decoration: none;
}

/* =================================================================
 * DesktopLiveNetwork v2 — live theatre, network, feedback
 *
 * The theatre keeps the cinematic dark treatment of the phone player and
 * gains a permanent Q&A rail instead of a side-sheet.
 * ================================================================= */

.dsk-theatre {
  background: #0b0416;
  display: flex;
  min-height: 100vh;
}

/* The rail turns near-black so the stage is the only lit surface. */
.dsk-app--theatre .dsk-rail {
  background: #0b0416;
  border-right: 1px solid rgb(255 255 255 / 7%);
}

.dsk-stage-wrap {
  display: flex;
  flex: 1;
  min-height: 0;
  min-width: 0;
}

.dsk-stage-col {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.dsk-stage {
  background: radial-gradient(120% 90% at 30% 20%, #35156b 0%, #190234 48%, #0b0416 100%);
  flex: 1;
  min-height: 420px;
  overflow: hidden;
  position: relative;
}

.dsk-stage__glow {
  background: radial-gradient(circle, rgb(186 160 115 / 22%), transparent 65%);
  border-radius: 50%;
  height: 420px;
  pointer-events: none;
  position: absolute;
  right: -90px;
  top: -120px;
  width: 420px;
}

.dsk-stage__badges {
  align-items: center;
  display: flex;
  gap: 10px;
  left: 22px;
  position: absolute;
  top: 18px;
  z-index: 2;
}

.dsk-pill--live {
  background: rgb(194 87 87 / 90%);
  color: #fff;
  font-size: 10px;
  height: 24px;
  letter-spacing: 0.06em;
}

.dsk-pill--glass {
  background: rgb(255 255 255 / 10%);
  color: #e6def2;
  font-size: 10px;
  height: 24px;
}

.dsk-stage__centre {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  position: absolute;
  text-align: center;
}

.dsk-stage__play {
  align-items: center;
  background: rgb(186 160 115 / 14%);
  border: 1.5px solid rgb(186 160 115 / 60%);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 26px;
  height: 74px;
  justify-content: center;
  margin: 0 auto 16px;
  text-decoration: none;
  width: 74px;
}

.dsk-stage__title {
  color: #fff;
  font-size: 19px;
  font-weight: 600;
  margin-top: 8px;
}

.dsk-stage__sub {
  color: #a99bc2;
  font-size: 11.5px;
  margin-top: 5px;
}

.dsk-stage__frame {
  border: 0;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

/* Floating glass control bar. */
.dsk-controls {
  backdrop-filter: blur(14px);
  background: rgb(12 5 25 / 62%);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 14px;
  bottom: 16px;
  left: 18px;
  padding: 12px 16px;
  position: absolute;
  right: 18px;
  z-index: 2;
}

.dsk-controls__track {
  background: rgb(255 255 255 / 16%);
  border-radius: 2px;
  height: 4px;
  margin-bottom: 11px;
  position: relative;
}

.dsk-controls__fill {
  background: var(--dsk-gold);
  border-radius: 2px;
  height: 100%;
}

.dsk-controls__row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.dsk-gctl {
  align-items: center;
  background: rgb(255 255 255 / 12%);
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 12px;
  height: 34px;
  justify-content: center;
  text-decoration: none;
  width: 34px;
}

.dsk-controls__time {
  color: var(--dsk-on-purple-soft);
  font-size: 11px;
}

.dsk-stage-strip {
  align-items: center;
  background: #0f0620;
  border-top: 1px solid rgb(255 255 255 / 7%);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  min-height: 66px;
  padding: 12px 22px;
}

.dsk-stage-strip__title {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.dsk-stage-strip__meta {
  color: #8e7fac;
  font-size: 10.5px;
  margin-top: 2px;
}

.dsk-pill--onglass {
  border: 1px solid rgb(255 255 255 / 16%);
  color: #e6def2;
}

/* ------------------------------------------------------------- Q&A rail */

.dsk-qa {
  background: #120726;
  border-left: 1px solid rgb(255 255 255 / 7%);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 296px;
}

.dsk-qa__head {
  align-items: center;
  border-bottom: 1px solid rgb(255 255 255 / 7%);
  display: flex;
  gap: 16px;
  min-height: 46px;
  padding: 0 18px;
}

.dsk-qa__tab {
  align-items: center;
  border-bottom: 2px solid var(--dsk-gold);
  color: #fff;
  display: flex;
  font-size: 12px;
  font-weight: 600;
  height: 46px;
}

.dsk-qa__count {
  color: #8e7fac;
  font-size: 10px;
  margin-left: auto;
}

.dsk-qa__list {
  flex: 1;
  overflow-y: auto;
  padding: 16px 18px;
}

.dsk-q {
  background: rgb(255 255 255 / 5%);
  border-radius: 11px;
  margin-bottom: 10px;
  padding: 12px 13px;
}

.dsk-q__head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.dsk-q__label {
  color: #8e7fac;
  font-size: 10.5px;
}

.dsk-q__label--top {
  color: var(--dsk-gold);
  font-weight: 600;
}

.dsk-q__body {
  color: #c9bedc;
  font-size: 12px;
  line-height: 1.6;
}

.dsk-q--top .dsk-q__body {
  color: #e6def2;
}

.dsk-q__author {
  color: #8e7fac;
  font-size: 10px;
  margin-top: 7px;
}

.dsk-vote {
  background: none;
  border: 0;
  color: #8e7fac;
  cursor: pointer;
  font-family: inherit;
  font-size: 10px;
  padding: 2px 4px;
}

.dsk-vote--on {
  color: var(--dsk-gold);
  font-weight: 700;
}

.dsk-qa__foot {
  border-top: 1px solid rgb(255 255 255 / 7%);
  padding: 14px 18px;
}

.dsk-qa__input {
  background: rgb(255 255 255 / 7%);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 9px;
  color: #fff;
  font-family: inherit;
  font-size: 11.5px;
  height: 38px;
  padding: 0 13px;
  width: 100%;
}

.dsk-qa__input::placeholder {
  color: #8e7fac;
}

.dsk-qa__note {
  color: #6b5a8c;
  font-size: 9.5px;
  margin-top: 8px;
}

/* --------------------------------------------------------- ended state */

.dsk-ended {
  background: radial-gradient(120% 90% at 70% 10%, #2b1156 0%, #150229 50%, #0b0416 100%);
  flex: 1;
  overflow: hidden;
  position: relative;
}

.dsk-ended__inner {
  padding: 34px 40px;
  position: relative;
  z-index: 1;
}

.dsk-warn {
  align-items: center;
  background: rgb(194 87 87 / 14%);
  border: 1px solid rgb(194 87 87 / 34%);
  border-radius: 11px;
  display: flex;
  gap: 10px;
  margin-bottom: 26px;
  padding: 11px 15px;
}

.dsk-warn__dot {
  background: #e38b8b;
  border-radius: 50%;
  flex-shrink: 0;
  height: 7px;
  width: 7px;
}

.dsk-warn__text {
  color: #f0d8d8;
  flex: 1;
  font-size: 12px;
  line-height: 1.5;
}

.dsk-ended__title {
  color: #fff;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 10px;
}

.dsk-ended__lede {
  color: #a99bc2;
  font-size: 12.5px;
  line-height: 1.7;
  margin-top: 9px;
  max-width: 660px;
}

.dsk-ended__cards {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.dsk-ecard {
  background: rgb(255 255 255 / 6%);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 14px;
  flex: 1;
  min-width: 220px;
  padding: 20px;
}

.dsk-ecard__head {
  align-items: center;
  display: flex;
  gap: 10px;
}

.dsk-ecard__glyph {
  align-items: center;
  background: rgb(255 255 255 / 10%);
  border-radius: 9px;
  color: #fff;
  display: flex;
  flex-shrink: 0;
  font-size: 14px;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.dsk-ecard__glyph--gold {
  background: rgb(186 160 115 / 16%);
  color: var(--dsk-gold);
}

.dsk-ecard__title {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.dsk-ecard__meta {
  color: #8e7fac;
  font-size: 10.5px;
  margin-top: 2px;
}

.dsk-ecard__body {
  color: #e6def2;
  font-size: 12.5px;
  line-height: 1.5;
  margin-top: 14px;
}

/* ----------------------------------------------------------- networking */

.dsk-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
}

.dsk-tab {
  color: var(--dsk-text-muted);
  padding-bottom: 3px;
  text-decoration: none;
}

.dsk-tab--active {
  border-bottom: 2px solid var(--dsk-purple);
  color: var(--dsk-purple);
  font-weight: 600;
}

.dsk-tab__badge {
  background: var(--dsk-gold);
  border-radius: 8px;
  color: var(--dsk-purple-ink);
  font-size: 9px;
  font-weight: 700;
  margin-left: 3px;
  padding: 1px 5px;
}

.dsk-dir-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.dsk-dcard {
  padding: 15px 16px;
}

.dsk-dcard__row {
  align-items: center;
  display: flex;
  gap: 12px;
}

.dsk-dcard__portrait {
  background: #f1eef6;
  border: 1px solid #e4e0e8;
  border-radius: 50%;
  flex-shrink: 0;
  height: 42px;
  width: 42px;
}

.dsk-dcard__name {
  font-size: 12.5px;
  font-weight: 600;
}

.dsk-dcard__role {
  color: var(--dsk-text-muted);
  font-size: 10.5px;
  margin-top: 2px;
}

.dsk-dcard__actions {
  display: flex;
  gap: 7px;
  margin-top: 12px;
}

.dsk-dcard__actions .dsk-pill {
  cursor: pointer;
  font-family: inherit;
}

.dsk-request {
  align-items: center;
  border-left: 2px solid var(--dsk-gold);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 10px;
  padding: 14px 18px;
}

.dsk-request__msg {
  color: var(--dsk-text-muted);
  font-size: 10.5px;
  margin-top: 2px;
}

/* Credential card in the network rail. */
.dsk-credcard {
  background: linear-gradient(140deg, #2e1a57, var(--dsk-purple-ink));
  border: 1px solid rgb(186 160 115 / 42%);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.dsk-credcard__qr {
  background: #fff;
  border: 5px solid #fff;
  border-radius: 8px;
  display: block;
  height: 110px;
  margin: 0 auto 12px;
  width: 110px;
}

.dsk-credcard__name {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.dsk-credcard__firm {
  color: var(--dsk-on-purple-soft);
  font-size: 10.5px;
  margin-top: 3px;
}

.dsk-credcard__no {
  color: var(--dsk-gold);
  font-size: 11px;
  font-weight: 600;
  margin-top: 8px;
}

/* ------------------------------------------------------------ feedback */

.dsk-fb__head {
  background: var(--dsk-purple);
  overflow: hidden;
  padding: 20px 24px;
  position: relative;
}

.dsk-fb__title {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  margin-top: 6px;
  position: relative;
}

.dsk-fb__body {
  padding: 22px 24px 24px;
}

.dsk-fb__q {
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 10px;
}

/* Radio-backed stars: the input stays focusable, the label paints. */
.dsk-stars {
  direction: rtl;
  display: inline-flex;
  gap: 8px;
}

.dsk-stars input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.dsk-stars label {
  color: #e4e0e8;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.dsk-stars input:checked ~ label,
.dsk-stars label:hover,
.dsk-stars label:hover ~ label {
  color: var(--dsk-gold);
}

.dsk-stars input:focus-visible + label {
  outline: 2px solid var(--dsk-purple);
  outline-offset: 2px;
}

.dsk-tagrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.dsk-tag input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.dsk-tag span {
  align-items: center;
  background: #fff;
  border: 1px solid #e4e0e8;
  border-radius: 14px;
  color: var(--dsk-text-label);
  cursor: pointer;
  display: inline-flex;
  font-size: 11px;
  font-weight: 600;
  height: 28px;
  padding: 0 13px;
}

.dsk-tag input:checked + span {
  background: var(--dsk-purple);
  border-color: var(--dsk-purple);
  color: #fff;
}

.dsk-tag input:focus-visible + span {
  outline: 2px solid var(--dsk-purple);
  outline-offset: 2px;
}

.dsk-textarea {
  background: #fff;
  border: 1px solid var(--dsk-field-border);
  border-radius: 10px;
  color: var(--dsk-text-label);
  font-family: inherit;
  font-size: 12px;
  line-height: 1.65;
  min-height: 82px;
  padding: 13px 14px;
  resize: vertical;
  width: 100%;
}

.dsk-fb__foot {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.dsk-todo {
  align-items: center;
  display: flex;
  gap: 10px;
}

.dsk-todo + .dsk-todo {
  margin-top: 10px;
}

.dsk-todo__dot {
  background: var(--dsk-gold);
  border-radius: 50%;
  flex-shrink: 0;
  height: 6px;
  width: 6px;
}

.dsk-todo--done .dsk-todo__dot {
  background: #ded8e8;
}

.dsk-todo__text {
  flex: 1;
  font-size: 11.5px;
  line-height: 1.4;
}

.dsk-todo--done .dsk-todo__text {
  color: var(--dsk-text-muted);
}

/* Privacy switches — a real checkbox painted as a track. */
.dsk-switchrow {
  align-items: center;
  border-bottom: 1px solid #f1eef6;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 9px 0;
}

.dsk-switchrow:last-child {
  border-bottom: 0;
}

.dsk-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.dsk-switch span {
  background: #ded8e8;
  border-radius: 10px;
  cursor: pointer;
  display: block;
  height: 19px;
  position: relative;
  transition: background 0.15s;
  width: 34px;
}

.dsk-switch span::after {
  background: #fff;
  border-radius: 50%;
  content: "";
  height: 15px;
  left: 2px;
  position: absolute;
  top: 2px;
  transition: left 0.15s;
  width: 15px;
}

.dsk-switch input:checked + span {
  background: var(--dsk-purple);
}

.dsk-switch input:checked + span::after {
  left: 17px;
}

.dsk-switch input:focus-visible + span {
  outline: 2px solid var(--dsk-purple);
  outline-offset: 2px;
}

.dsk-account__link {
  color: var(--dsk-purple);
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 0;
  text-decoration: none;
}

.dsk-account__link--danger {
  background: none;
  border: 0;
  color: var(--dsk-danger);
  cursor: pointer;
  font-family: inherit;
  padding: 6px 0;
  text-align: left;
}

@media (max-width: 1100px) {
  .dsk-stage-wrap {
    display: block;
  }

  .dsk-qa {
    border-left: 0;
    border-top: 1px solid rgb(255 255 255 / 7%);
    width: auto;
  }

  .dsk-dir-grid {
    grid-template-columns: 1fr;
  }
}
