:root {
  --bg: #060606;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-border: rgba(255, 255, 255, 0.16);
  --text: #f6f3ef;
  --muted: rgba(246, 243, 239, 0.82);
  --brand-base: #3160b0;
  --brand-top: rgba(64, 123, 230, 0.95);
  --brand-bottom: rgba(30, 86, 186, 0.95);
  --brand-top-hover: rgba(79, 139, 245, 0.98);
  --brand-bottom-hover: rgba(39, 97, 201, 0.98);
  --brand-border: rgba(118, 171, 255, 0.72);
  --brand-shadow: rgba(24, 66, 140, 0.28);
  --brand-surface-border: rgba(91, 149, 236, 0.82);
  --brand-surface-top: rgba(49, 96, 176, 0.9);
  --brand-surface-bottom: rgba(24, 55, 112, 0.92);
  --brand-surface-base: rgba(17, 29, 58, 0.9);
  --brand-surface-shadow: rgba(58, 112, 214, 0.14);
  --brand-soft: rgba(91, 149, 236, 0.2);
  --brand-ambient: rgba(79, 139, 245, 0.1);
  --brand-track-top: rgba(154, 198, 255, 0.98);
  --brand-track-bottom: rgba(64, 123, 230, 0.94);
  --brand-thumb: #75a7f6;
  --brand-focus: rgba(121, 179, 255, 0.28);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: auto;
  background:
    radial-gradient(circle at 50% 16%, var(--brand-ambient), transparent 23%),
    radial-gradient(circle at 50% 72%, rgba(255, 255, 255, 0.06), transparent 32%),
    #050505;
  color: var(--text);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}

body {
  min-height: 100vh;
  overflow-y: auto;
  overflow-x: auto;
}

.beginner-shell {
  min-height: 100vh;
  display: block;
  padding: 24px;
  position: relative;
  overflow-y: auto;
}

.beginner-shell:has([data-view="launcher"]:not(.beginner-view-hidden)),
.beginner-shell:has([data-view="temporary-home-page"]:not(.beginner-view-hidden)) {
  min-height: max(100vh, 1400px);
}

.beginner-panel {
  width: min(94vw, 880px);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--panel-border);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    rgba(8, 8, 8, 0.94);
  box-shadow:
    0 0 32px rgba(255, 255, 255, 0.05),
    inset 0 0 18px rgba(255, 255, 255, 0.03);
}

.beginner-shell:has(.messages-overlay-view:not(.beginner-view-hidden)) {
  min-height: 100vh;
  padding: 8px;
}

.beginner-panel:has(.messages-overlay-view:not(.beginner-view-hidden)) {
  width: min(98vw, 840px);
  padding: 10px;
  border-radius: 26px;
}

.beginner-panel.report-pannable {
  transition: transform 120ms ease-out;
  will-change: transform;
}

.beginner-panel.is-report-panning {
  transition: none;
}

.report-view-pan-handle {
  cursor: grab;
}

.report-view-pan-handle > * {
  cursor: inherit;
}

.beginner-panel.is-report-panning .report-view-pan-handle,
.beginner-panel.is-report-panning .report-view-pan-handle > * {
  cursor: grabbing;
}

.report-layout-cell {
  text-align: left;
  vertical-align: middle;
}

.report-layout-thumb {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0;
}

.report-layout-cone {
  position: absolute;
  width: 22px;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: contain;
  pointer-events: none;
}

.report-image-thumb {
  width: 72px;
  height: 72px;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(5, 8, 14, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  cursor: zoom-in;
}

.report-image-thumb-asset {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.report-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(3, 6, 12, 0.86);
  backdrop-filter: blur(6px);
}

.report-image-lightbox-frame {
  max-width: min(92vw, 1100px);
  max-height: 88vh;
  padding: 14px;
  border-radius: 18px;
  background: rgba(8, 12, 20, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
}

.report-image-lightbox-image {
  display: block;
  max-width: min(88vw, 1000px);
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.report-table-summary-cell {
  padding: 14px 16px;
  font-weight: 600;
  text-align: left;
  color: rgba(255, 236, 214, 0.94);
  background: rgba(255, 255, 255, 0.04);
}

.image-pair-admin-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 8px;
}

.image-pair-admin-preview-card {
  min-height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.image-pair-admin-preview-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.temporary-home-hero {
  width: min(100%, 780px);
  margin: 0 auto 40px;
  text-align: center;
}

.temporary-home-title {
  margin: 0 0 12px;
}

.temporary-home-tagline {
  margin: 0 0 18px;
  color: rgba(255, 238, 219, 0.96);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  letter-spacing: 0.03em;
  font-weight: 600;
}

.temporary-home-hero-frame {
  width: min(100%, 450px);
  margin: 0 auto 22px;
}

.temporary-home-subtitle {
  width: min(100%, 660px);
  margin: 0 auto;
  line-height: 1.72;
  color: rgba(246, 243, 239, 0.88);
}

.temporary-home-install-note {
  width: min(100%, 720px);
  margin: 18px auto 0;
  padding: 12px 16px;
  border: 1px solid rgba(102, 157, 255, 0.28);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(39, 77, 141, 0.22), rgba(18, 28, 52, 0.18));
  color: rgba(235, 244, 255, 0.9);
  font-size: 0.96rem;
  line-height: 1.6;
}

.temporary-home-band,
.temporary-home-copy-section,
.temporary-home-grid-section,
.temporary-home-footer {
  width: min(100%, 860px);
  margin: 0 auto 40px;
}

.temporary-home-band {
  display: grid;
  gap: 14px;
}

.temporary-home-inline-field {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: nowrap;
}

.temporary-home-inline-label {
  color: rgba(255, 237, 219, 0.92);
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  text-align: center;
}

.temporary-home-inline-input {
  width: 164px;
  min-height: 34px;
  padding: 5px 8px;
  text-align: left;
  font-size: 0.94rem;
}

.temporary-home-inline-input-plain {
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(6, 6, 6, 0.96);
  color: rgba(246, 243, 239, 0.92);
  -webkit-text-fill-color: rgba(246, 243, 239, 0.92);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.04);
}

.temporary-home-inline-status {
  min-height: 1.3em;
  text-align: center;
  color: rgba(255, 234, 190, 0.92);
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.temporary-home-continue-row {
  display: flex;
  align-items: center;
  justify-content: center;
}

.temporary-home-continue-pill {
  min-width: min(100%, 520px);
  min-height: 58px;
  padding: 10px 28px;
  justify-content: center;
  letter-spacing: 0.04em;
  font-size: clamp(1rem, 2vw, 1.28rem);
  font-weight: 700;
}

.temporary-home-section-heading {
  margin: 0 0 18px;
  color: rgba(255, 240, 224, 0.98);
  font-size: clamp(1.26rem, 2vw, 1.5rem);
  letter-spacing: 0.04em;
}

.temporary-home-grid {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.temporary-home-tour-callout {
  width: min(100%, 700px);
  margin: 28px auto 0;
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
}

.temporary-home-tour-copy {
  margin: 0;
  color: rgba(246, 243, 239, 0.92);
  font-size: 1rem;
  line-height: 1.65;
}

.temporary-home-tour-button {
  min-width: min(100%, 620px);
}

.temporary-home-card {
  padding: 24px 22px;
  border-radius: 22px;
  border: 1px solid rgba(112, 168, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(61, 114, 204, 0.18), rgba(16, 28, 59, 0.74)),
    rgba(255, 255, 255, 0.03);
  box-shadow: 0 20px 38px rgba(8, 18, 38, 0.3);
  display: flex;
  flex-direction: column;
}

.learning-center-topic-card {
  width: 100%;
  border-width: 1px;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.learning-center-topic-card:hover,
.learning-center-topic-card:focus-visible {
  outline: none;
  filter: brightness(1.06);
}

.learning-center-topic-card-stacked {
  display: flex;
  width: 100%;
  margin-bottom: 22px;
}

.learning-center-topic-card-stacked:last-child {
  margin-bottom: 0;
}

.learning-center-info-section {
  margin-top: 22px;
}

.temporary-home-section-title {
  margin: 0 0 12px;
  color: rgba(255, 240, 224, 0.96);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.temporary-home-section-copy {
  margin: 0 0 14px;
  color: rgba(241, 243, 248, 0.82);
  line-height: 1.72;
}

.temporary-home-hero-copy {
  max-width: 760px;
  margin: 4px auto 14px;
  text-align: center;
}

.temporary-home-copy-section .temporary-home-section-copy:last-child,
.temporary-home-card .temporary-home-section-copy:last-child {
  margin-bottom: 0;
}

.temporary-home-card-button {
  margin-top: auto !important;
  align-self: flex-start;
}

.reading-list-link,
.reading-list-link:visited {
  color: rgba(246, 248, 252, 0.96);
  text-decoration: underline;
}

.reading-list-link:hover,
.reading-list-link:focus-visible {
  color: #ffffff;
  outline: none;
}

.temporary-home-link-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.temporary-home-footer {
  margin-bottom: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.temporary-home-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-bottom: 18px;
}

.temporary-home-footer-link {
  color: rgba(171, 213, 255, 0.92);
  text-decoration: none;
  font-size: 0.95rem;
}

.temporary-home-footer-link:hover,
.temporary-home-footer-link:focus-visible {
  color: rgba(225, 241, 255, 0.98);
  text-decoration: underline;
}

.temporary-home-footer-brand {
  margin: 0 0 8px;
  color: rgba(255, 238, 219, 0.98);
  letter-spacing: 0.18em;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.temporary-home-footer-copy {
  margin: 0;
  color: rgba(241, 243, 248, 0.76);
  line-height: 1.6;
}

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

  .temporary-home-continue-row {
    align-items: center;
  }

  .temporary-home-link-actions {
    flex-direction: column;
  }

  .temporary-home-inline-input {
    width: min(164px, 100%);
  }

  .temporary-home-inline-field {
    flex-wrap: wrap;
  }
}


.beginner-view-hidden {
  display: none;
}

[hidden] {
  display: none !important;
}

.beginner-top-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 40px;
  margin: 0;
}

.beginner-top-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.beginner-top-button-right {
  position: absolute;
  top: 0;
  right: 0;
  justify-self: end;
}

.beginner-top-home-button {
  position: absolute;
  top: 0;
  left: 0;
  justify-self: start;
  min-width: 88px;
  padding-inline: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-align: center;
}

.beginner-top-home-icon {
  width: 32px;
  height: 32px;
  display: block;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  overflow: visible;
}

.other-settings-top-row {
  width: 100%;
  margin: 0;
}

.launcher-top-row,
.options-top-row,
.online-course-top-row,
.clairvoyance-top-row,
.learn-more-top-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  width: 100%;
  margin: 0;
}

.options-top-row {
  margin-bottom: 18px;
}

.launcher-top-row .beginner-top-button-left,
.launcher-top-row .beginner-top-menu-button,
.options-top-row .beginner-top-home-button,
.options-top-row .beginner-top-version,
.online-course-top-row .beginner-top-button-left,
.online-course-top-row .beginner-top-button-right,
.clairvoyance-top-row .beginner-top-button-left,
.clairvoyance-top-row .beginner-top-button-right,
.learn-more-top-row .beginner-top-button-left,
.learn-more-top-row .beginner-top-button-right {
  top: 0;
}

.launcher-top-row .beginner-top-button-left,
.options-top-row .beginner-top-home-button,
.online-course-top-row .beginner-top-button-left,
.clairvoyance-top-row .beginner-top-button-left,
.learn-more-top-row .beginner-top-button-left {
  position: absolute;
  left: 0;
  justify-self: auto;
}

.launcher-top-row .beginner-top-menu-button,
.options-top-row .beginner-top-version,
.online-course-top-row .beginner-top-button-right,
.clairvoyance-top-row .beginner-top-button-right,
.learn-more-top-row .beginner-top-button-right {
  position: absolute;
  right: 0;
  left: auto;
  justify-self: auto;
}

.launcher-top-row .beginner-kicker,
.options-top-row .beginner-kicker,
.online-course-top-row .beginner-kicker,
.clairvoyance-top-row .beginner-kicker,
.learn-more-top-row .beginner-kicker {
  position: static;
  margin: 0;
  text-align: center;
}

.beginner-view-sticky-top > .beginner-top-row:first-child,
.beginner-view-sticky-top > .learn-more-top-row:first-child,
.beginner-view-sticky-top > .online-course-top-row:first-child,
.beginner-view-sticky-top > .clairvoyance-top-row:first-child {
  position: sticky;
  top: 0;
  z-index: 35;
  padding: 4px 0 10px;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.985) 0%, rgba(8, 8, 8, 0.965) 78%, rgba(8, 8, 8, 0) 100%);
  backdrop-filter: blur(4px);
}

.beginner-view[data-view="online-course"]:not(.beginner-view-hidden) > .beginner-top-row:first-child,
.beginner-view[data-view="visualization"]:not(.beginner-view-hidden) > .beginner-top-row:first-child,
.beginner-view[data-view="feature-setup"]:not(.beginner-view-hidden) > .beginner-top-row:first-child,
.beginner-view[data-view="about"]:not(.beginner-view-hidden) > .beginner-top-row:first-child,
.beginner-view[data-view="baseline-questions"]:not(.beginner-view-hidden) > .beginner-top-row:first-child,
.beginner-view[data-view="beginner-user-manual"]:not(.beginner-view-hidden) > .beginner-top-row:first-child,
.beginner-view[data-view="pro-user-manual"]:not(.beginner-view-hidden) > .beginner-top-row:first-child,
.beginner-view[data-view="lesson-index-admin"]:not(.beginner-view-hidden) > .beginner-top-row:first-child,
.beginner-view[data-view="admin-user-list"]:not(.beginner-view-hidden) > .beginner-top-row:first-child,
.beginner-view[data-view="admin-identity-list"]:not(.beginner-view-hidden) > .beginner-top-row:first-child,
.beginner-view[data-view="admin-email-list"]:not(.beginner-view-hidden) > .beginner-top-row:first-child {
  position: fixed !important;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(94vw - 72px), 808px);
  z-index: 120;
  padding: 4px 0 10px;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.994) 0%, rgba(8, 8, 8, 0.978) 82%, rgba(8, 8, 8, 0) 100%);
  backdrop-filter: blur(6px);
}

.beginner-view[data-view="online-course"]:not(.beginner-view-hidden) > .beginner-top-row:first-child::before,
.beginner-view[data-view="visualization"]:not(.beginner-view-hidden) > .beginner-top-row:first-child::before,
.beginner-view[data-view="feature-setup"]:not(.beginner-view-hidden) > .beginner-top-row:first-child::before,
.beginner-view[data-view="about"]:not(.beginner-view-hidden) > .beginner-top-row:first-child::before,
.beginner-view[data-view="baseline-questions"]:not(.beginner-view-hidden) > .beginner-top-row:first-child::before,
.beginner-view[data-view="beginner-user-manual"]:not(.beginner-view-hidden) > .beginner-top-row:first-child::before,
.beginner-view[data-view="pro-user-manual"]:not(.beginner-view-hidden) > .beginner-top-row:first-child::before,
.beginner-view[data-view="lesson-index-admin"]:not(.beginner-view-hidden) > .beginner-top-row:first-child::before,
.beginner-view[data-view="admin-user-list"]:not(.beginner-view-hidden) > .beginner-top-row:first-child::before,
.beginner-view[data-view="admin-identity-list"]:not(.beginner-view-hidden) > .beginner-top-row:first-child::before,
.beginner-view[data-view="admin-email-list"]:not(.beginner-view-hidden) > .beginner-top-row:first-child::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 40px;
  background: rgba(8, 8, 8, 0.996);
  pointer-events: none;
}

.beginner-view[data-view="online-course"]:not(.beginner-view-hidden) .beginner-title,
.beginner-view[data-view="visualization"]:not(.beginner-view-hidden) .beginner-title,
.beginner-view[data-view="feature-setup"]:not(.beginner-view-hidden) .beginner-title,
.beginner-view[data-view="about"]:not(.beginner-view-hidden) .beginner-title,
.beginner-view[data-view="baseline-questions"]:not(.beginner-view-hidden) .beginner-title,
.beginner-view[data-view="beginner-user-manual"]:not(.beginner-view-hidden) .beginner-title,
.beginner-view[data-view="pro-user-manual"]:not(.beginner-view-hidden) .beginner-title,
.beginner-view[data-view="lesson-index-admin"]:not(.beginner-view-hidden) .beginner-title,
.beginner-view[data-view="admin-user-list"]:not(.beginner-view-hidden) .beginner-title,
.beginner-view[data-view="admin-identity-list"]:not(.beginner-view-hidden) .beginner-title,
.beginner-view[data-view="admin-email-list"]:not(.beginner-view-hidden) .beginner-title {
  margin-top: 74px;
}

.options-top-row .beginner-top-home-button {
  justify-self: start;
}

.options-top-right-stack {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.options-top-right-stack .beginner-top-button-right,
.options-top-right-stack .beginner-top-version {
  position: static !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
}

.options-top-right-stack .beginner-top-version {
  min-height: auto;
  font-size: 0.82rem;
  line-height: 1;
}

.beginner-top-link,
.beginner-top-button,
.beginner-top-spacer {
  min-height: 40px;
}

.beginner-top-version {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: rgba(255, 236, 214, 0.7);
  -webkit-text-fill-color: rgba(255, 236, 214, 0.7);
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.beginner-top-link,
.beginner-top-button {
  display: inline-flex;
  align-items: center;
  align-self: center;
  color: rgba(255, 255, 255, 0.82);
  -webkit-text-fill-color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
}

.beginner-top-link {
  justify-self: start;
  text-decoration: none;
}

.beginner-top-button {
  justify-self: end;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.beginner-top-button.beginner-top-button-left {
  position: absolute;
  top: 0;
  left: 0;
  justify-self: start;
}

.launcher-top-row .beginner-top-button.beginner-top-button-left.beginner-top-arrow-button {
  left: 0 !important;
  width: 44px;
  min-width: 44px;
  padding: 0;
  justify-content: center;
  text-align: center;
  font-size: 1.28rem;
  line-height: 1;
  z-index: 3;
}

.launcher-top-row .beginner-top-button.beginner-top-button-left.beginner-top-lessons-button {
  left: 62px !important;
  z-index: 2;
}

.beginner-top-menu-button {
  gap: 10px;
}

.beginner-top-menu-icon {
  display: inline-flex;
  width: 16px;
  height: 12px;
  position: relative;
  flex: 0 0 auto;
}

.beginner-top-menu-icon::before,
.beginner-top-menu-icon::after,
.beginner-top-menu-icon span {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.beginner-top-menu-icon::before {
  top: 0;
}

.beginner-top-menu-icon span {
  top: 5px;
}

.beginner-top-menu-icon::after {
  top: 10px;
}

.beginner-title-icon-only {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  margin-top: 0;
}

.options-title-menu-icon {
  display: inline-flex;
  width: 34px;
  height: 24px;
  position: relative;
  color: rgba(255, 241, 230, 0.92);
}

.options-title-menu-icon::before,
.options-title-menu-icon::after,
.options-title-menu-icon span {
  content: "";
  position: absolute;
  left: 0;
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.18);
}

.options-title-menu-icon::before {
  top: 0;
}

.options-title-menu-icon span {
  top: 10px;
}

.options-title-menu-icon::after {
  top: 20px;
}

.beginner-top-button:hover,
.beginner-top-button:focus-visible,
.beginner-top-link:hover,
.beginner-top-link:focus-visible {
  color: #ffffff;
  outline: none;
}

.beginner-top-pill {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--brand-border);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand-top), var(--brand-bottom));
  box-shadow: 0 8px 18px var(--brand-shadow);
}

.beginner-top-pill:hover,
.beginner-top-pill:focus-visible {
  background: linear-gradient(180deg, var(--brand-top-hover), var(--brand-bottom-hover));
}

.temporary-home-continue-pill.beginner-top-pill {
  min-height: 58px;
  padding: 10px 28px;
  color: #111;
  -webkit-text-fill-color: #111;
  font-size: clamp(1rem, 2vw, 1.28rem) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(236, 236, 236, 0.97));
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.temporary-home-continue-pill.beginner-top-pill:hover,
.temporary-home-continue-pill.beginner-top-pill:focus-visible {
  color: #111;
  -webkit-text-fill-color: #111;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(242, 242, 242, 0.98));
}

.beginner-top-button-back {
  justify-self: start;
}

.beginner-top-button-back.beginner-top-button-right {
  left: auto;
  justify-self: end;
}

.beginner-top-row:has(> .beginner-top-button-back:first-child):has(> .beginner-kicker):has(> .beginner-top-spacer:last-child) > .beginner-top-button-back:first-child {
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  justify-self: end;
}

.beginner-top-row:has(> .beginner-top-button-back:first-child):has(> .beginner-kicker):has(> .beginner-top-spacer:last-child) > .beginner-kicker {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  align-self: center;
  margin: 0;
  text-align: center;
}

.beginner-top-row:has(> .beginner-top-button-back:first-child):has(> .beginner-kicker):has(> .beginner-top-spacer:last-child) > .beginner-top-spacer:last-child {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  align-self: center;
}

.other-settings-top-row .beginner-top-home-button {
  justify-self: start;
}

.other-settings-top-row .beginner-top-button-right {
  justify-self: end;
}

.other-settings-top-row .beginner-kicker,
.report-definition-top-row .beginner-kicker {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  align-self: center;
  margin: 0;
  text-align: center;
}

.report-definition-top-row .beginner-top-button-left {
  justify-self: start;
}

.report-definition-top-row .beginner-top-button-right,
.report-definition-top-row .beginner-top-button-back.beginner-top-button-right {
  justify-self: end;
}

.clairvoyance-top-row .beginner-top-button-right,
.online-course-top-row .beginner-top-button-right,
.clairvoyance-top-row .beginner-top-button-back.beginner-top-button-right {
  justify-self: end;
}

.beginner-top-spacer {
  justify-self: end;
}

.beginner-kicker {
  margin: 0;
  text-align: center;
  font-size: 0.95rem;
  letter-spacing: 0.34em;
  color: rgba(255, 255, 255, 0.78);
  -webkit-text-fill-color: rgba(255, 255, 255, 0.78);
}

.beginner-title {
  margin: 12px 0 0;
  text-align: center;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
}

.beginner-subtitle {
  margin: 14px auto 0;
  max-width: 700px;
  text-align: center;
  font-size: clamp(1rem, 2vw, 1.28rem);
  color: var(--muted);
  line-height: 1.45;
}

.telepathy-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 3vw, 28px);
  flex-wrap: wrap;
  margin: 26px 0 18px;
}

.telepathy-hero-frame {
  width: min(38vw, 210px);
  aspect-ratio: 1;
  min-width: 160px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 0 30px var(--brand-ambient),
    inset 0 0 28px rgba(255, 255, 255, 0.07);
}

.telepathy-hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.clairvoyance-hero {
  display: flex;
  justify-content: center;
  margin: 16px 0 22px;
}

.clairvoyance-hero-frame {
  width: min(42vw, 240px);
  min-width: 170px;
}

.beginner-copy-compact {
  margin-bottom: 18px;
}

.learn-more-panel {
  width: min(100%, 760px);
}

.learn-more-textarea {
  min-height: 520px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.learn-more-preview-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.learn-more-preview {
  min-height: 160px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(98, 167, 255, 0.35);
  background: rgba(3, 13, 34, 0.78);
  color: #eef4ff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.learn-more-preview p {
  margin: 0 0 14px;
  line-height: 1.7;
}

.learn-more-preview p:last-child {
  margin-bottom: 0;
}

.learn-more-preview-spacer {
  width: 100%;
}

.learn-more-preview-centered {
  text-align: center;
}

.learn-more-preview-indented {
  text-indent: 2.25rem;
}

.learn-more-preview-heading {
  margin: 18px 0 10px;
  color: rgba(255, 244, 224, 0.98);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.learn-more-preview-heading:first-child {
  margin-top: 0;
}

.learn-more-preview em {
  color: #ffd98f;
  font-style: italic;
}

.learn-more-preview strong {
  color: #ffffff;
  font-weight: 700;
}

.learn-more-preview-underline {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.learn-more-preview-superscript {
  font-size: 0.72em;
  vertical-align: super;
  line-height: 0;
}

.learn-more-preview-link {
  color: #8fd3ff;
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-word;
}

.learn-more-preview-action {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  line-height: inherit;
  cursor: pointer;
}

.learn-more-preview-image {
  display: block;
  max-width: min(100%, 420px);
  width: auto;
  height: auto;
  margin: 10px 0;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.rewire-panel {
  width: min(100%, 560px);
}

.rewire-image-frame {
  width: 100%;
  border-radius: 26px;
  overflow: hidden;
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.34),
    0 0 28px rgba(91, 149, 236, 0.12);
  background: rgba(4, 8, 18, 0.92);
}

.rewire-image {
  display: block;
  width: 100%;
  height: auto;
}

.beginner-copy {
  margin: 0 auto 24px;
  max-width: 720px;
  text-align: center;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.5;
}

.beginner-copy p {
  margin: 0;
}

.role-email-note {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin: 0 0 2px;
  padding: 12px 14px;
  min-height: 149px;
  height: 149px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 0 16px rgba(255, 255, 255, 0.03);
  color: rgba(241, 246, 255, 0.9);
  cursor: default;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable;
  transition: border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, background 180ms ease;
}

.role-email-note.is-level-preview {
  border-color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow:
    inset 0 0 16px rgba(255, 255, 255, 0.03),
    0 0 0 rgba(255, 255, 255, 0);
  color: rgba(241, 246, 255, 0.9);
}

.role-email-note p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.35;
  white-space: pre-line;
}

.role-note-recommended {
  color: #ffd36f;
  font-weight: 700;
}

.role-email-note p + p {
  margin-top: 6px;
}

.role-lesson-wrap {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 3150ms ease,
    transform 3150ms ease;
  will-change: opacity, transform;
}

.role-lesson-wrap[hidden] {
  display: none;
}

.role-lesson-wrap.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.role-lesson-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 6px;
  text-align: center;
}

.role-lesson-kicker {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.role-lesson-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.98);
  text-align: center;
  font-style: italic;
}

.role-lesson-preview {
  white-space: pre-wrap;
  color: rgba(255, 255, 255, 0.95);
  font-style: italic;
}

.role-lesson-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  margin-top: 8px;
}

.role-lesson-actions [data-role-lesson-back][disabled] {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

.esp-lesson-detail-panel {
  width: min(100%, 760px);
  max-height: min(72vh, 760px);
  overflow-y: auto;
}

.esp-lesson-detail-preview,
.esp-lesson-detail-body {
  white-space: pre-wrap;
}

.esp-lesson-detail-preview {
  margin-top: 0;
  margin-bottom: 6px;
}

.esp-lesson-detail-body {
  padding-left: 0;
}

body.lesson-image-overlay-open {
  overflow: hidden;
}

.lesson-preview-image-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  width: 100%;
  margin: 1.1rem 0 1.5rem;
  overflow: visible;
}

.lesson-preview-image-item {
  width: var(--lesson-image-width, 60%);
  margin: 0 0 0 var(--lesson-image-margin-left, 0%);
  flex: 0 0 auto;
}

.lesson-preview-image-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(122, 178, 255, 0.52);
  border-radius: 18px;
  background: rgba(11, 18, 36, 0.88);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  cursor: pointer;
}

.lesson-preview-image-button:hover,
.lesson-preview-image-button:focus-visible {
  border-color: rgba(164, 214, 255, 0.88);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.34);
}

.lesson-preview-image {
  display: block;
  width: 100%;
  height: auto;
}

.lesson-preview-image-caption {
  margin: 0.55rem 0 0;
  color: rgba(238, 232, 224, 0.88);
  font-size: 0.92rem;
  line-height: 1.45;
  text-align: center;
}

.lesson-image-overlay {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: rgba(2, 6, 16, 0.88);
  backdrop-filter: blur(8px);
}

.lesson-image-overlay.beginner-view-hidden {
  display: none;
}

.lesson-image-overlay-dialog {
  width: min(99vw, 1600px);
  max-height: 98vh;
  padding: 6px 8px 10px;
  border-radius: 22px;
  border: 1px solid rgba(122, 178, 255, 0.28);
  background:
    linear-gradient(180deg, rgba(13, 20, 38, 0.98), rgba(8, 12, 24, 0.98));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.48);
}

.lesson-image-overlay-top-row {
  margin-bottom: 6px;
}

.lesson-image-overlay-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.lesson-image-overlay-image {
  display: block;
  width: min(98vw, 1580px);
  max-width: none;
  max-height: calc(98vh - 74px);
  height: auto;
  border-radius: 14px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.38);
  object-fit: contain;
}

.lesson-image-overlay-caption {
  max-width: min(96%, 1240px);
  margin: 0;
  color: rgba(246, 240, 232, 0.92);
  font-size: 0.98rem;
  line-height: 1.55;
  text-align: center;
}

.lesson-image-overlay-caption[hidden] {
  display: none;
}

.role-note-setup-wrap[hidden],
.role-note-contact-wrap[hidden] {
  display: none;
}

.feature-setup-panel {
  width: min(100%, 760px);
}

.feature-setup-grid {
  display: grid;
  gap: 16px;
}

.feature-setup-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 18px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 12, 24, 0.42);
}

.feature-setup-copy {
  min-width: 0;
}

.feature-setup-title {
  margin: 0 0 6px;
  color: rgba(250, 244, 238, 0.96);
  font-size: 1.05rem;
}

.feature-setup-text {
  margin: 0;
  color: rgba(242, 234, 226, 0.84);
  font-size: 0.95rem;
  line-height: 1.45;
}

.feature-setup-status {
  margin-top: 8px;
  color: rgba(255, 233, 190, 0.92);
  font-size: 0.93rem;
  line-height: 1.4;
}

.feature-setup-action {
  width: 220px;
  max-width: 100%;
  justify-self: end;
  margin: 0;
}

.is-pro-locked {
  position: relative;
}

.is-pro-locked::after {
  content: attr(data-pro-lock-message);
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  transform: translateX(-50%);
  z-index: 15;
  min-width: 220px;
  max-width: min(320px, calc(100vw - 48px));
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 12, 24, 0.96);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
  color: rgba(248, 240, 232, 0.96);
  font-size: 0.92rem;
  line-height: 1.35;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 120ms ease;
}

.is-pro-locked:hover::after,
.is-pro-locked:focus-within::after {
  opacity: 1;
}

.is-pro-locked-button,
.feature-setup-action.is-pro-locked-button,
.role-message-open.is-pro-locked-button {
  cursor: not-allowed;
  filter: saturate(0.35) brightness(0.82);
}

.feature-setup-item.is-pro-locked-zone {
  opacity: 0.78;
}

@media (max-width: 720px) {
  .feature-setup-item {
    grid-template-columns: 1fr;
  }

  .feature-setup-action {
    width: 100%;
    justify-self: stretch;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.role-own-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px 132px;
  gap: 10px;
  align-items: start;
}

.role-own-row > .role-input {
  grid-column: 1;
}

.role-messaging-launch {
  grid-column: 2;
  display: flex;
  justify-content: flex-end;
  margin: 0;
}

.role-course-launch {
  grid-column: 3;
  display: flex;
  justify-content: flex-end;
  margin: 0;
}

.role-own-row .role-message-open {
  min-width: 132px;
  width: 132px;
  padding-inline: 12px;
}

.role-course-open {
  min-width: 132px;
  width: 132px;
  padding-inline: 10px;
}

.role-message-open {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 140px;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #f5f9ff;
  background: linear-gradient(135deg, rgba(57, 114, 220, 0.96), rgba(26, 77, 174, 0.96));
  cursor: pointer;
}

.role-message-open:hover,
.role-message-open:focus-visible {
  filter: brightness(1.06);
}

.role-message-open.is-pro-locked-button:hover,
.role-message-open.is-pro-locked-button:focus-visible,
.feature-setup-action.is-pro-locked-button:hover,
.feature-setup-action.is-pro-locked-button:focus-visible {
  filter: saturate(0.35) brightness(0.82);
}

.role-message-open:disabled {
  opacity: 0.52;
  cursor: default;
  filter: grayscale(0.18);
}

.role-message-open:disabled:hover,
.role-message-open:disabled:focus-visible {
  filter: grayscale(0.18);
}

.is-role-message-disabled {
  opacity: 0.82;
}

.role-message-badge {
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 102, 86, 0.98), rgba(214, 42, 42, 0.98));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 0 0 2px rgba(5, 12, 32, 0.55);
}

.role-message-badge.is-empty {
  width: 24px;
  min-width: 24px;
  padding: 0;
  background: transparent;
  border: 2px solid rgba(245, 249, 255, 0.82);
  box-shadow: none;
  color: transparent;
}

.role-message-area[hidden] {
  display: none;
}

.role-message-area {
  margin-top: 8px;
  display: grid;
  gap: 10px;
}

.role-message-thread {
  min-height: 80px;
  max-height: 176px;
  overflow-y: auto;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(152, 196, 255, 0.22);
  background: rgba(5, 11, 34, 0.46);
}

.role-message-empty {
  color: rgba(212, 227, 255, 0.72);
  font-size: 0.92rem;
}

.role-message-bubble {
  max-width: 100%;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 0.92rem;
  line-height: 1.35;
}

.role-message-bubble + .role-message-bubble {
  margin-top: 8px;
}

.role-message-bubble.is-own {
  background: rgba(75, 142, 255, 0.22);
  border: 1px solid rgba(109, 171, 255, 0.3);
}

.role-message-bubble.is-partner {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.role-message-bubble.is-unread {
  box-shadow: 0 0 0 1px rgba(255, 96, 96, 0.22);
}

.role-message-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(214, 226, 249, 0.72);
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.role-message-unread-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #ff4b4b;
  box-shadow: 0 0 0 2px rgba(255, 75, 75, 0.2);
  flex: 0 0 auto;
}

.role-message-seen-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #36d56a;
  box-shadow: 0 0 0 2px rgba(54, 213, 106, 0.2);
  flex: 0 0 auto;
}

.role-message-meta-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.role-message-trash {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: rgba(255, 230, 176, 0.82);
  cursor: pointer;
  padding: 0 0 0 8px;
  font-size: 1rem;
  line-height: 1;
}

.role-message-trash:hover {
  color: rgba(255, 255, 255, 0.98);
}

.role-message-compose {
  display: block;
}

.role-message-input {
  width: 100%;
  min-height: 70px;
  resize: vertical;
  border-radius: 14px;
  border: 1px solid rgba(152, 196, 255, 0.26);
  background: rgba(7, 13, 36, 0.78);
  color: #f2f6ff;
  padding: 11px 12px;
  font: inherit;
}

.role-message-input:focus {
  outline: none;
  border-color: rgba(119, 181, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(77, 142, 255, 0.16);
}

.role-message-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.role-message-button {
  min-width: 118px;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #f5f9ff;
  background: linear-gradient(135deg, rgba(57, 114, 220, 0.96), rgba(26, 77, 174, 0.96));
  cursor: pointer;
}

.role-message-button:hover {
  filter: brightness(1.06);
}

.role-message-button-cancel {
  background: linear-gradient(135deg, rgba(88, 113, 159, 0.86), rgba(55, 76, 121, 0.86));
}

.role-message-button-emoji {
  min-width: 0;
  padding: 10px 16px;
  font-size: 1.18rem;
  line-height: 1;
}

.role-message-status {
  min-height: 20px;
  color: rgba(255, 230, 176, 0.94);
  font-size: 0.9rem;
  line-height: 1.35;
}

.messages-view-panel {
  display: grid;
  gap: 14px;
}

.messages-overlay-view {
  padding-top: 0;
}

.messages-overlay-card {
  width: min(100%, 760px);
  margin-top: -6px;
  padding: 8px 12px 12px;
  gap: 8px;
}

.messages-header-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
}

.messages-conversation-field {
  margin: 0;
}

.messages-conversation-field span {
  margin-bottom: 4px;
}

.messages-card-back {
  margin: 0 0 1px;
  align-self: end;
}

.messages-thread {
  min-height: 188px;
  max-height: min(48vh, 500px);
}

.messages-input {
  min-height: 70px;
}

.push-setup-dialog {
  max-width: 560px;
}

.partner-push-setup-dialog {
  min-height: 360px;
}

.push-setup-checklist {
  display: grid;
  gap: 8px;
  margin: 12px 0 6px;
}

.push-setup-step {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(152, 196, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(241, 246, 255, 0.9);
  font-size: 0.94rem;
}

.push-setup-status {
  min-height: 22px;
}

.partner-push-setup-dialog .push-setup-status {
  min-height: 48px;
}

.remote-viewer-label-row {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.remote-viewer-display-toggle {
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  font-size: 0.92rem;
}

.remote-viewer-display-toggle input {
  margin-top: 0;
}

.remote-viewer-own-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 10px;
  align-items: end;
}

.remote-viewer-own-row .role-course-launch {
  grid-column: 2;
}

.role-identifier-status {
  min-height: 24px;
  margin-top: -2px;
  color: rgba(255, 231, 186, 0.95);
  font-size: 0.94rem;
  line-height: 1.4;
}

.role-panels {
  display: grid;
  gap: 16px;
}

.role-panels.role-panels-single {
  min-height: 58vh;
  align-content: center;
}

.role-card {
  border: 1px solid var(--brand-surface-border);
  border-radius: 24px;
  background:
    linear-gradient(180deg, var(--brand-surface-top), var(--brand-surface-bottom)),
    var(--brand-surface-base);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 18px var(--brand-surface-shadow);
  overflow: hidden;
}

.role-card.role-card-hidden {
  display: none;
}

.role-card-pro-only[hidden] {
  display: none !important;
}

.role-card[data-role-card="receiver"] {
  border-color: var(--brand-surface-border);
  background:
    linear-gradient(180deg, var(--brand-surface-top), var(--brand-surface-bottom)),
    var(--brand-surface-base);
}

.role-card-header {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  grid-template-areas: "title tagline back level";
  align-items: center;
  gap: 14px;
  color: inherit;
  padding: 18px 20px;
  text-align: left;
  cursor: pointer;
}

.role-difficulty-status-prominent {
  min-height: 1.35em;
  margin: -4px 20px 8px;
  padding: 0 2px;
  color: #ffe8bf;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.35;
}

.role-difficulty-status-prominent.is-blinking {
  animation: roleDifficultyProminentBlink 1.25s steps(1, end) infinite;
}

.role-difficulty-status-prominent.is-guided-tour-return {
  padding: 8px 12px;
  border: 1px solid rgba(106, 217, 167, 0.42);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(20, 86, 62, 0.96), rgba(10, 46, 33, 0.98));
  color: rgba(239, 255, 244, 0.98);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.role-card-toggle {
  grid-area: title;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.role-card-title {
  grid-area: title;
  font-size: clamp(1.18rem, 2.4vw, 1.7rem);
  font-weight: 700;
  white-space: nowrap;
  cursor: inherit;
}

.role-card-level-stack {
  grid-area: level;
  justify-self: end;
  align-self: center;
  display: grid;
  justify-items: center;
  gap: 4px;
}

.role-card-level {
  display: inline;
  color: rgba(255, 233, 210, 0.9);
  font-size: clamp(0.98rem, 1.8vw, 1.18rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: inherit;
}

.role-card-level.is-guided-preview {
  color: #fff4e1;
  text-shadow:
    0 0 10px rgba(255, 176, 84, 0.72),
    0 0 18px rgba(255, 176, 84, 0.35);
  animation: roleLevelPreviewPulse 1.3s ease-in-out 1;
}

.role-level-bump {
  display: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 22px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.34);
  color: rgba(255, 250, 244, 0.92);
  font-size: 0.78rem;
  line-height: 1;
  cursor: pointer;
}

.role-card.active .role-level-bump {
  display: inline-flex;
}

.role-level-bump:hover,
.role-level-bump:focus-visible {
  background: linear-gradient(180deg, var(--brand-top-hover), var(--brand-bottom-hover));
  outline: none;
}

.role-card-level-hidden {
  visibility: hidden;
}

.role-difficulty-status {
  min-height: 1.45em;
  color: rgba(255, 240, 228, 0.88);
  font-size: 0.9rem;
  line-height: 1.4;
}

.role-difficulty-status.is-error {
  color: #ffd6d6;
}

@keyframes roleDifficultyProminentBlink {
  0% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  80.01% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.role-card.role-card-level-adjusting .role-go {
  visibility: hidden;
}

.role-card-tagline {
  grid-area: tagline;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 36px;
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.62);
  color: #ffffff;
  font-size: clamp(0.9rem, 1.6vw, 1.1rem);
  font-style: italic;
  white-space: nowrap;
  cursor: inherit;
}

.role-card-inline-back {
  grid-area: back;
  justify-self: end;
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 244, 230, 0.9);
  font: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
}

.role-card.active .role-card-inline-back {
  display: inline-flex;
}

.role-card-inline-back:hover,
.role-card-inline-back:focus-visible {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.role-card-body {
  display: none;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 18px;
  padding: 0 20px 20px;
}

.role-card.active .role-card-body {
  display: grid;
}

.role-card-detail {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(248, 240, 232, 0.88);
  font-size: 1rem;
}

.role-note-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: #d7e7ff;
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}

.role-note-link:hover,
.role-note-link:focus-visible {
  color: #ffffff;
  outline: none;
}

.role-form {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 18px;
  align-items: end;
}

.role-field {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
}

.role-field-own {
  gap: 3px;
}

.role-field-label {
  font-size: clamp(1rem, 1.8vw, 1.16rem);
  font-style: italic;
}

.role-field-own > [data-own-identifier-label],
.role-field-own .remote-viewer-label-row > [data-remote-viewer-own-label] {
  display: block;
  margin-bottom: 0;
}

.role-field-partner {
  grid-column: 1 / -1;
}

.role-input,
.role-select {
  width: 100%;
  min-height: 42px;
  border: 2px solid rgba(188, 188, 188, 0.72);
  background: rgba(20, 20, 20, 0.76);
  color: #f7f7f7;
  font: inherit;
}

.role-input {
  padding: 8px 12px;
}

.role-partner-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px auto;
  gap: 10px;
}

.role-select {
  padding: 8px 10px;
}

.role-manage {
  min-height: 42px;
  width: 200px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font: inherit;
  white-space: nowrap;
  cursor: pointer;
}

.role-manage:hover,
.role-manage:focus-visible {
  outline: none;
  filter: brightness(1.06);
}

.role-location-status {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 0.98rem;
}

.role-location-text {
  line-height: 1.4;
}

.role-location-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.role-location-exact {
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid rgba(92, 170, 255, 0.38);
  background: rgba(92, 170, 255, 0.16);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  white-space: nowrap;
}

.role-location-retry {
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  white-space: nowrap;
}

.role-location-exact:hover,
.role-location-exact:focus-visible,
.role-location-retry:hover,
.role-location-retry:focus-visible {
  outline: none;
  filter: brightness(1.06);
}

.role-go {
  align-self: end;
  min-width: 92px;
  min-height: 58px;
  border: 0;
  background: linear-gradient(180deg, #d5d5d5, #a7a7a7);
  color: #141414;
  font-size: 1.12rem;
  cursor: pointer;
}

.role-go:hover,
.role-go:focus-visible,
.role-card-toggle:hover,
.role-card-toggle:focus-visible {
  outline: none;
  filter: brightness(1.04);
}

@keyframes roleLevelPreviewPulse {
  0% {
    transform: translateY(0);
    opacity: 0.88;
  }
  35% {
    transform: translateY(-1px);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.name-manager-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
}

.location-picker-overlay {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 6, 10, 0.82);
  backdrop-filter: blur(8px);
}

.location-picker-overlay.beginner-view-hidden {
  display: none;
}

.location-picker-dialog {
  width: min(860px, 100%);
  max-height: min(90vh, 920px);
  overflow: auto;
  padding: 18px 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(20, 28, 45, 0.98), rgba(10, 15, 24, 0.98));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
}

.location-picker-top-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.location-picker-title {
  margin: 0;
}

.location-picker-top-actions {
  margin-left: auto;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.location-picker-action-button {
  width: auto;
  min-width: 128px;
  min-height: 42px;
  padding: 8px 16px;
  font-size: 0.88rem;
}

.location-picker-status {
  margin-top: 0;
  color: var(--muted);
  line-height: 1.45;
}

.location-picker-map {
  width: 100%;
  min-height: 430px;
  margin-top: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.location-picker-zoom-actions {
  justify-content: center;
  margin-top: 14px;
}

.location-picker-map .location-picker-pin {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.96);
  background: linear-gradient(180deg, rgba(88, 171, 255, 0.98), rgba(24, 93, 201, 0.98));
  box-shadow:
    0 0 0 5px rgba(79, 139, 245, 0.22),
    0 8px 18px rgba(0, 0, 0, 0.34);
}

.location-picker-map .leaflet-control-attribution {
  font-size: 0.7rem;
}

@media (max-width: 760px) {
  .location-picker-top-row {
    align-items: stretch;
    flex-direction: column;
  }

  .location-picker-top-actions {
    margin-left: 0;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

.handle-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.72);
}

.handle-overlay.beginner-view-hidden {
  display: none;
}

.handle-dialog {
  width: min(100%, 560px);
  padding: 24px;
  border: 1px solid var(--brand-surface-border);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(8, 8, 8, 0.96);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.38);
}

.explore-pro-dialog {
  width: min(100%, 620px);
}

.explore-pro-code-input {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  min-width: 10ch;
}

.explore-pro-actions-row {
  margin-top: 6px;
}

.name-manager-panel {
  width: min(92vw, 520px);
  border: 1px solid var(--brand-surface-border);
  border-radius: 24px;
  background:
    linear-gradient(180deg, var(--brand-surface-top), var(--brand-surface-bottom)),
    var(--brand-surface-base);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.44);
  padding: 22px 20px;
}

.name-manager-title {
  margin: 0;
  font-size: 1.45rem;
}

.name-manager-copy {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.name-manager-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.name-manager-item-button {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.name-manager-item-button:hover,
.name-manager-item-button:focus-visible {
  outline: none;
  filter: brightness(1.06);
}

.name-manager-item-button.name-manager-item-add {
  border-style: dashed;
  color: rgba(255, 255, 255, 0.86);
}

.name-manager-editor {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.name-manager-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 2px solid rgba(188, 188, 188, 0.72);
  background: rgba(20, 20, 20, 0.76);
  color: #f7f7f7;
  font: inherit;
}

.name-manager-input[readonly] {
  opacity: 0.96;
  cursor: default;
}

.name-manager-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.name-manager-action {
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.name-manager-action:hover,
.name-manager-action:focus-visible {
  outline: none;
  filter: brightness(1.06);
}

@media (max-width: 760px) {
  .beginner-panel {
    width: min(96vw, 860px);
    padding: 22px 18px 20px;
  }

  .role-card-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas:
      "title back level"
      "tagline tagline tagline";
    align-items: start;
    gap: 10px 12px;
  }

  .role-card-toggle {
    min-width: 0;
  }

  .role-card-title {
    white-space: normal;
    line-height: 1.18;
  }

  .role-card-tagline {
    justify-self: start;
    white-space: nowrap;
    min-height: 32px;
    padding: 5px 10px;
    font-size: 0.9rem;
  }

  .role-card-level-stack {
    justify-self: end;
    align-self: center;
  }

  .role-card-level {
    white-space: nowrap;
    font-size: 0.95rem;
  }

  .role-card-inline-back {
    min-height: 36px;
    padding: 0 14px;
    font-size: 0.92rem;
  }

  .role-form {
    grid-template-columns: 1fr;
  }

  .role-partner-row {
    grid-template-columns: 1fr;
  }

  .role-own-row {
    grid-template-columns: 1fr;
  }

  .remote-viewer-own-row {
    grid-template-columns: 1fr;
  }

  .role-own-row > .role-input,
  .role-messaging-launch,
  .role-course-launch {
    grid-column: 1;
  }

  .role-location-status {
    align-items: flex-start;
    flex-direction: column;
  }

  .role-go {
    width: 100%;
  }
}

.options-actions {
  display: grid;
  gap: 16px;
  width: min(100%, 560px);
  margin: 24px auto 0;
}

.report-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 1280px);
  margin: 34px auto 0;
  padding: 26px 24px 24px;
  height: calc(100vh - 250px);
  min-height: 520px;
  max-height: calc(100vh - 250px);
  min-width: 960px;
  overflow: hidden;
  border: 1px solid var(--brand-surface-border);
  border-radius: 26px;
  background:
    linear-gradient(180deg, var(--brand-surface-top), var(--brand-surface-bottom)),
    var(--brand-surface-base);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.report-definition-panel {
  width: min(100%, 760px);
  margin: 34px auto 0;
  padding: 26px 24px 24px;
  border: 1px solid var(--brand-surface-border);
  border-radius: 26px;
  background:
    linear-gradient(180deg, var(--brand-surface-top), var(--brand-surface-bottom)),
    var(--brand-surface-base);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.report-definition-field {
  display: grid;
  gap: 10px;
}

.report-definition-label {
  color: rgba(248, 240, 232, 0.94);
  font-size: 1rem;
  line-height: 1.4;
}

.report-pair-picker {
  position: relative;
}

.report-pair-trigger {
  width: 100%;
  min-height: 56px;
  padding: 12px 16px;
  border: 2px solid rgba(188, 188, 188, 0.72);
  background: rgba(20, 20, 20, 0.76);
  color: #f7f7f7;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.report-pair-trigger:hover,
.report-pair-trigger:focus-visible {
  outline: none;
  filter: brightness(1.05);
}

.report-pair-trigger:disabled {
  cursor: default;
  opacity: 0.6;
  filter: none;
}

.report-pair-trigger-text {
  display: inline-block;
  white-space: pre;
}

.report-pair-picker.has-inline-delete .report-pair-trigger {
  padding-right: 126px;
}

.report-definition-delete {
  position: absolute;
  top: 50%;
  right: 10px;
  z-index: 2;
  transform: translateY(-50%);
  box-sizing: border-box !important;
  appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 82px !important;
  min-height: 32px !important;
  height: 32px !important;
  padding: 0 14px !important;
  margin: 0;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  line-height: 32px !important;
  border-color: rgba(255, 170, 170, 0.92) !important;
  background: #b71c1c !important;
  background-image: none !important;
  color: #fff7f7 !important;
}

.report-definition-delete[hidden] {
  display: none !important;
}

.report-definition-delete-text {
  position: relative;
  top: 1px;
  display: block;
}

.report-pair-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 25;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(180deg, var(--brand-surface-top), var(--brand-surface-bottom)),
    var(--brand-surface-base);
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.report-pair-menu-header,
.report-pair-option {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 0.94fr) 104px;
  gap: 12px;
  align-items: center;
}

.report-pair-menu-header {
  padding: 12px 16px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 236, 214, 0.9);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.report-pair-menu-options {
  max-height: 320px;
  overflow: auto;
}

.report-pair-option {
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: rgba(246, 239, 233, 0.94);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.report-pair-option:last-child {
  border-bottom: none;
}

.report-pair-option:hover,
.report-pair-option:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
}

.report-pair-option.is-selected {
  background: var(--brand-soft);
}

.report-pair-option-value {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.report-pair-menu-header span:last-child,
.report-pair-option-value:last-child {
  text-align: right;
}

.report-definition-status {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.report-definition-debug {
  margin: 16px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(8, 8, 8, 0.42);
  color: rgba(255, 236, 214, 0.9);
  font: 0.9rem/1.45 Consolas, "Courier New", monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  overflow: auto;
  max-inline-size: 100%;
  box-sizing: border-box;
  max-block-size: 320px;
}

.admin-user-list-panel {
  min-width: min(100%, 1120px);
  height: calc(100vh - 250px);
  min-height: 420px;
  max-height: calc(100vh - 250px);
}

.admin-report-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 10px 0 16px;
}

.admin-report-filter-row .online-course-jump-link.is-selected {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.34);
}

.admin-report-table {
  min-width: 980px;
}

.beginner-view[data-view="admin-user-list"] .report-table-wrap,
.beginner-view[data-view="admin-identity-list"] .report-table-wrap,
.beginner-view[data-view="admin-email-list"] .report-table-wrap,
.beginner-view[data-view="subscriptions-admin"] .report-table-wrap {
  min-height: 0;
  max-height: calc(100vh - 430px);
}

.admin-report-row-clickable {
  cursor: pointer;
}

.admin-report-row-clickable.is-selected td,
.admin-report-row-clickable:hover td,
.admin-report-row-clickable:focus-within td {
  background: rgba(255, 255, 255, 0.07);
}

.admin-subscriptions-detail-panel {
  min-width: min(100%, 1180px);
}

.lesson-index-admin-panel {
  min-width: min(100%, 1180px);
}

.lesson-index-admin-table-wrap {
  min-height: 420px;
}

.lesson-index-admin-table {
  min-width: 1120px;
}

.lesson-index-admin-cell-input,
.lesson-index-admin-cell-textarea {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid rgba(188, 188, 188, 0.58);
  border-radius: 10px;
  background: rgba(8, 8, 8, 0.42);
  color: rgba(246, 239, 233, 0.96);
  font: inherit;
  font-size: 0.92rem;
  line-height: 1.35;
  padding: 8px 10px;
}

.lesson-index-admin-cell-input:focus-visible,
.lesson-index-admin-cell-textarea:focus-visible {
  outline: none;
  border-color: var(--brand-top-hover);
  box-shadow: 0 0 0 3px var(--brand-focus);
}

.lesson-index-admin-cell-input[readonly] {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(244, 236, 228, 0.88);
}

.lesson-index-admin-cell-textarea {
  min-height: 72px;
  resize: vertical;
  white-space: pre-wrap;
}

.lesson-index-admin-cell-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(250, 244, 238, 0.9);
  font-size: 0.88rem;
  line-height: 1.2;
}

.lesson-index-admin-cell-yes {
  color: rgba(191, 255, 204, 0.95);
}

.lesson-index-admin-cell-no {
  color: rgba(255, 219, 187, 0.95);
}

.lesson-index-admin-delete-button {
  min-height: 42px;
  min-width: 110px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 168, 168, 0.42);
  border-radius: 14px;
  background: rgba(92, 14, 14, 0.34);
  color: rgba(255, 232, 232, 0.96);
  font: inherit;
  font-size: 0.92rem;
  line-height: 1.1;
  cursor: pointer;
}

.lesson-index-admin-delete-button:hover,
.lesson-index-admin-delete-button:focus-visible {
  outline: none;
  filter: brightness(1.08);
}

.lesson-index-admin-delete-button[disabled] {
  opacity: 0.45;
  cursor: default;
  filter: none;
}

.admin-user-list-output {
  flex: 1 1 auto;
  min-height: 0;
  white-space: pre;
  overflow-wrap: normal;
  word-break: normal;
  overflow: auto;
  max-block-size: none;
}

.report-definition-go {
  width: min(100%, 240px);
  margin: 24px auto 0;
}

.report-definition-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 24px;
}

.report-definition-actions .report-definition-go {
  margin: 0;
}

.report-definition-visualize {
  width: min(100%, 240px);
}

.report-definition-globe {
  width: min(100%, 240px);
}

.report-definition-analyze {
  width: min(100%, 240px);
}

.report-summary {
  display: grid;
  gap: 10px;
}

.report-pair-banner {
  margin: -6px 0 10px;
  padding: 2px 12px 8px;
  color: rgba(250, 240, 230, 0.96);
  font-size: 1rem;
  line-height: 1.35;
  text-align: center;
  letter-spacing: 0.02em;
  font-weight: 600;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.report-summary-line {
  margin: 0;
  color: rgba(248, 240, 232, 0.94);
  font-size: 1rem;
  line-height: 1.48;
}

.report-status {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.visualization-panel {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid var(--brand-surface-border);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(10, 15, 28, 0.92);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 18px var(--brand-surface-shadow);
}

.visualization-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-top: 16px;
  color: rgba(246, 243, 239, 0.86);
  font-size: 0.95rem;
}

.visualization-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.visualization-range-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: 16px;
  color: rgba(246, 243, 239, 0.88);
}

.visualization-range-label {
  font-size: 0.94rem;
  font-weight: 600;
}

.visualization-range-input {
  width: 98px;
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(5, 10, 20, 0.78);
  color: var(--text);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.visualization-range-input:focus {
  outline: none;
  border-color: rgba(129, 173, 255, 0.88);
  box-shadow:
    0 0 0 2px rgba(129, 173, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.visualization-save-as-button {
  min-width: 120px;
}

.named-report-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(3, 6, 12, 0.72);
  backdrop-filter: blur(4px);
}

.named-report-modal {
  width: min(560px, 100%);
  padding: 24px;
  border-radius: 26px;
  border: 1px solid var(--brand-surface-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(11, 18, 33, 0.96);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 22px 44px rgba(0, 0, 0, 0.42);
}

.named-report-modal-title {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 1.45rem;
}

.named-report-modal-summary {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(6, 12, 24, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.named-report-modal-line {
  margin: 0;
  color: rgba(246, 243, 239, 0.9);
  line-height: 1.45;
}

.named-report-modal-line + .named-report-modal-line {
  margin-top: 8px;
}

.named-report-modal-status {
  min-height: 1.5em;
  margin-top: 14px;
}

.visualization-swatch {
  width: 18px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.visualization-swatch-level1 {
  background: #ffd166;
}

.visualization-swatch-level2 {
  background: #66d9ef;
}

.visualization-swatch-level3 {
  background: #ff8c69;
}

.visualization-swatch-level4 {
  background: #9d7dff;
}

.visualization-swatch-band {
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.visualization-chart-wrap {
  margin-top: 20px;
  overflow-x: auto;
  border-radius: 22px;
  background: rgba(4, 8, 16, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.visualization-chart {
  display: block;
  width: 100%;
  height: auto;
}

.analyzer-panel {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid var(--brand-surface-border);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(10, 15, 28, 0.92);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 18px var(--brand-surface-shadow);
}

.analyzer-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.analyzer-action {
  width: min(100%, 260px);
}

.analyzer-block {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(8, 8, 8, 0.38);
}

.analyzer-block-title {
  margin: 0 0 10px;
  color: rgba(248, 240, 232, 0.94);
  font-size: 1rem;
  line-height: 1.35;
}

.analyzer-output {
  margin: 0;
  color: rgba(246, 239, 233, 0.94);
  font: 0.94rem/1.52 Consolas, "Courier New", monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.analyzer-textarea {
  width: 100%;
  min-height: 420px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(6, 8, 12, 0.82);
  color: rgba(247, 243, 239, 0.95);
  font: 0.95rem/1.5 Consolas, "Courier New", monospace;
  resize: vertical;
  box-sizing: border-box;
}

.report-table-wrap {
  margin-top: 22px;
  display: block;
  width: 100%;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  height: auto;
  max-height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(14, 11, 10, 0.5);
}

.report-table {
  width: max-content;
  min-width: 960px;
  border-collapse: collapse;
}

.report-table th,
.report-table td {
  padding: 7px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  vertical-align: top;
  font-size: 0.92rem;
  line-height: 1.35;
}

.report-table th {
  position: sticky;
  top: 0;
  z-index: 6;
  background: rgba(48, 31, 20, 0.96);
  color: rgba(255, 236, 214, 0.92);
  font-weight: 600;
}

.report-table td {
  color: rgba(246, 239, 233, 0.92);
  overflow-wrap: break-word;
}

.report-table th,
.report-table td {
  white-space: nowrap;
}

.report-cell-clamp {
  display: block;
  line-height: 1.35;
  max-height: 2.7em;
  overflow: hidden;
}

.report-resize-handle {
  position: absolute;
  z-index: 3;
}

.report-resize-handle-east {
  top: 24px;
  right: 0;
  width: 14px;
  height: calc(100% - 38px);
  cursor: ew-resize;
}

.report-resize-handle-south {
  left: 24px;
  bottom: 0;
  width: calc(100% - 38px);
  height: 14px;
  cursor: ns-resize;
}

.report-resize-handle-corner {
  right: 0;
  bottom: 0;
  width: 22px;
  height: 22px;
  cursor: nwse-resize;
  background:
    linear-gradient(135deg, transparent 0 35%, rgba(255,255,255,0.5) 35% 42%, transparent 42% 55%, rgba(255,255,255,0.5) 55% 62%, transparent 62% 75%, rgba(255,255,255,0.5) 75% 82%, transparent 82%);
}

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

.options-button {
  min-height: 68px;
  padding: 16px 20px;
  border: 1px solid var(--brand-surface-border);
  border-radius: 22px;
  background:
    linear-gradient(180deg, var(--brand-surface-top), var(--brand-surface-bottom)),
    var(--brand-surface-base);
  color: var(--text);
  font: inherit;
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  cursor: pointer;
  text-align: center;
}

.options-button:hover,
.options-button:focus-visible {
  outline: none;
  filter: brightness(1.05);
}

.options-button:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  filter: saturate(0.72);
}

.options-button:disabled:hover,
.options-button:disabled:focus-visible {
  filter: saturate(0.72);
}

.settings-view-panel {
  width: min(100%, 640px);
  margin: 34px auto 0;
  padding: 28px 24px 24px;
  box-sizing: border-box;
  border: 1px solid var(--brand-surface-border);
  border-radius: 26px;
  background:
    linear-gradient(180deg, var(--brand-surface-top), var(--brand-surface-bottom)),
    var(--brand-surface-base);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: grid;
  gap: 16px;
}

.settings-view-panel > * {
  min-width: 0;
}

.settings-view-note,
.settings-view-hint,
.settings-view-status {
  margin: 0;
  color: rgba(248, 240, 232, 0.9);
  font-size: 0.98rem;
  line-height: 1.45;
}

.settings-view-hint {
  color: rgba(244, 228, 214, 0.76);
}

.settings-view-status {
  min-height: 1.45em;
  color: rgba(255, 235, 214, 0.92);
}

.subscription-management-status {
  width: min(100%, 640px);
  margin: 16px auto 0;
  text-align: center;
}

.settings-view-checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  color: rgba(250, 244, 238, 0.95);
  font-size: 1rem;
  line-height: 1.45;
}

.settings-view-checkbox input {
  inline-size: 18px;
  block-size: 18px;
  margin-top: 2px;
  accent-color: var(--brand-base);
}

.settings-view-field {
  display: grid;
  gap: 8px;
  min-width: 0;
  justify-self: stretch;
}

.settings-view-field > * {
  min-width: 0;
}

.settings-view-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.settings-view-inline-status {
  color: rgba(255, 230, 176, 0.96);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: right;
}

.settings-view-label {
  color: rgba(248, 240, 232, 0.94);
  font-size: 1rem;
  line-height: 1.4;
}

.settings-view-input {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 2px solid rgba(188, 188, 188, 0.72);
  border-radius: 16px;
  background: rgba(8, 8, 8, 0.55);
  color: var(--text);
  font-size: 1rem;
  box-sizing: border-box;
}

.settings-view-input:focus-visible {
  outline: none;
  border-color: var(--brand-top-hover);
  box-shadow: 0 0 0 3px var(--brand-focus);
}

.settings-view-textarea {
  min-height: 220px;
  resize: vertical;
}

.settings-view-file {
  padding: 12px 14px;
}

.settings-view-save {
  width: min(100%, 260px);
  margin: 8px auto 0;
}

.admin-view-panel .settings-view-save {
  width: min(100%, 320px);
}

.admin-button-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.admin-button-grid .settings-view-save {
  width: 100%;
  margin: 0;
}

@media (max-width: 640px) {
  .admin-button-grid {
    grid-template-columns: 1fr;
  }
}

.user-type-admin-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.user-type-admin-actions .settings-view-save {
  width: min(100%, 260px);
  margin: 0;
}

.user-type-admin-clear {
  width: min(100%, 140px);
  margin: 0;
}

.invitee-admin-device-button {
  width: min(100%, 360px);
  margin: 12px auto 0;
  display: block;
}

.invitee-admin-list-wrap {
  margin-top: 22px;
}

.invitee-admin-table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 18, 46, 0.48);
}

.invitee-admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.invitee-admin-table th,
.invitee-admin-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.96rem;
  line-height: 1.35;
}

.invitee-admin-table th {
  color: rgba(255, 246, 227, 0.92);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.invitee-admin-table td {
  color: rgba(243, 235, 225, 0.86);
}

.invitee-admin-row-button {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.invitee-admin-row-button:hover,
.invitee-admin-row-button:focus-visible {
  color: rgba(255, 255, 255, 0.98);
}

.user-type-choice-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.user-type-choice-button {
  width: min(100%, 180px);
  margin: 0;
  opacity: 0.82;
}

.user-type-choice-button.is-selected {
  opacity: 1;
  border-color: rgba(255, 244, 214, 0.92);
  box-shadow:
    0 0 0 2px rgba(255, 244, 214, 0.2),
    0 10px 22px rgba(24, 66, 140, 0.34);
}

.confidence-choice-button.is-selected {
  opacity: 1;
  border-color: rgba(255, 244, 214, 0.96);
  box-shadow:
    0 0 0 3px rgba(255, 244, 214, 0.24),
    0 12px 26px rgba(24, 66, 140, 0.4);
  filter: brightness(1.08);
}

.email-test-cta-wrap {
  display: grid;
  place-items: center;
  margin-top: 22px;
}

.email-test-launch {
  width: min(100%, 320px);
  text-decoration: none;
}

.email-test-page-panel {
  width: min(100%, 720px);
}

.contact-view-panel,
.about-view-panel {
  width: min(100%, 760px);
}

.contact-view-panel {
  gap: 12px;
  padding-top: 22px;
}

.contact-explainer-box {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(6, 8, 14, 0.42);
}

.contact-explainer-copy {
  margin: 0;
  color: rgba(248, 240, 232, 0.9);
  font-size: 0.93rem;
  line-height: 1.42;
}

.contact-from-line {
  margin: 0;
  color: rgba(255, 235, 214, 0.96);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.25;
}

.install-guide-panel {
  width: min(100%, 760px);
}

.contact-word-count {
  color: rgba(244, 228, 214, 0.76);
  font-size: 0.95rem;
  line-height: 1.4;
  text-align: right;
}

.contact-word-count.is-over-limit {
  color: rgba(255, 196, 196, 0.95);
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.contact-display-checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  color: rgba(250, 244, 238, 0.95);
  font-size: 0.98rem;
  line-height: 1.42;
}

.contact-display-checkbox input {
  inline-size: 18px;
  block-size: 18px;
  margin-top: 2px;
  accent-color: var(--brand-base);
}

.contact-action-button {
  width: 100%;
  margin: 0;
}

.about-section {
  display: grid;
  gap: 12px;
}

.about-section + .about-section {
  margin-top: 8px;
}

.about-section-title {
  margin: 0;
  color: rgba(248, 240, 232, 0.96);
  font-size: 1.2rem;
  line-height: 1.35;
}

.about-section-copy {
  margin: 0;
  color: rgba(248, 240, 232, 0.9);
  font-size: 0.98rem;
  line-height: 1.55;
}

.manual-section {
  gap: 16px;
}

.manual-kicker {
  margin: 0;
  color: rgba(142, 194, 255, 0.92);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.manual-section-title {
  font-size: 1.8rem;
  line-height: 1.15;
}

.manual-lead {
  font-size: 1.05rem;
  line-height: 1.7;
}

.manual-guide-launch {
  display: grid;
  gap: 12px;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(142, 194, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(26, 56, 110, 0.3), rgba(9, 17, 30, 0.46)),
    rgba(8, 10, 18, 0.58);
}

.manual-guide-button {
  justify-self: start;
}

.manual-step-list {
  display: grid;
  gap: 14px;
}

.manual-step-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(30, 62, 118, 0.28), rgba(10, 18, 34, 0.44)),
    rgba(8, 10, 18, 0.54);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.manual-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  border-radius: 999px;
  background: rgba(52, 140, 255, 0.22);
  border: 1px solid rgba(132, 194, 255, 0.42);
  color: rgba(248, 244, 238, 0.98);
  font-size: 1rem;
  font-weight: 700;
}

.manual-step-copy {
  display: grid;
  gap: 8px;
}

.manual-step-title,
.manual-subtitle,
.manual-note-title {
  margin: 0;
  color: rgba(250, 244, 238, 0.97);
}

.manual-step-title {
  font-size: 1.05rem;
  line-height: 1.32;
}

.manual-subtitle {
  font-size: 1.18rem;
  line-height: 1.35;
}

.manual-note-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.manual-note-card {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
}

.manual-note-title {
  font-size: 1rem;
  line-height: 1.3;
}

.manual-bullet-list {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 10px;
  color: rgba(248, 240, 232, 0.92);
  font-size: 0.98rem;
  line-height: 1.55;
}

.manual-bullet-list li::marker {
  color: rgba(142, 194, 255, 0.95);
}

.guided-tour-launcher-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  padding: 0;
  background: rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

html.launcher-direct-open-pending body {
  opacity: 0;
}

.guided-tour-launcher-balloon {
  position: absolute;
  z-index: 91;
  top: 24px;
  left: 24px;
  width: min(92vw, 420px);
  min-width: 240px;
  max-width: min(92vw, 520px);
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(106, 217, 167, 0.45);
  background:
    linear-gradient(180deg, rgba(18, 62, 48, 0.97), rgba(8, 30, 22, 0.98)),
    rgba(8, 20, 16, 0.97);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  pointer-events: auto;
  resize: both;
  overflow: auto;
  cursor: move;
}

.guided-tour-launcher-kicker {
  margin: 0;
  color: rgba(142, 194, 255, 0.92);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.guided-tour-launcher-title {
  margin: 0;
  color: rgba(250, 244, 238, 0.98);
  font-size: 1.35rem;
  line-height: 1.2;
}

.guided-tour-launcher-copy,
.guided-tour-launcher-hint {
  margin: 0;
  color: rgba(244, 238, 232, 0.96);
  font-size: 0.98rem;
  line-height: 1.45;
}

.guided-tour-launcher-hint {
  color: rgba(255, 210, 152, 0.98);
}

.guided-tour-launcher-actions {
  display: flex;
  justify-content: flex-end;
}

.guided-tour-launcher-next {
  min-width: 88px;
  min-height: 38px;
  padding-inline: 16px;
  border-color: rgba(106, 217, 167, 0.45);
  background:
    linear-gradient(180deg, rgba(42, 159, 99, 0.96), rgba(18, 106, 62, 0.98)),
    rgba(19, 109, 63, 0.98);
  color: rgba(248, 250, 244, 0.98);
}

.guided-tour-launcher-target {
  position: relative;
  z-index: 81;
  box-shadow:
    0 0 0 3px rgba(106, 184, 255, 0.7),
    0 0 0 7px rgba(106, 184, 255, 0.16);
  border-radius: 18px;
}

.guided-tour-launcher-muted {
  opacity: 0.48;
  filter: saturate(0.7);
  transition: opacity 160ms ease, filter 160ms ease;
}

@media (max-width: 700px) {
  .manual-section-title {
    font-size: 1.55rem;
  }

  .manual-step-card {
    grid-template-columns: 1fr;
  }

  .manual-note-grid {
    grid-template-columns: 1fr;
  }

  .guided-tour-launcher-overlay {
    padding: 0;
  }

  .guided-tour-launcher-balloon {
    width: min(94vw, 360px);
    padding: 12px 14px 14px;
  }
}

.online-course-panel {
  width: min(100%, 760px);
}

.learning-center-view {
  background:
    radial-gradient(circle at top, rgba(154, 111, 45, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(4, 7, 12, 0.96), rgba(7, 12, 22, 0.98));
}

.learning-center-shell {
  position: relative;
  width: min(100%, 920px);
  gap: 18px;
  padding: 14px 22px 24px;
  border-radius: 28px;
  border: 1px solid rgba(196, 165, 104, 0.26);
  background:
    linear-gradient(180deg, rgba(16, 24, 38, 0.9), rgba(9, 15, 28, 0.95)),
    rgba(7, 10, 18, 0.94);
  box-shadow:
    0 26px 56px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: translateY(-18px);
}

.learning-center-hero {
  position: relative;
  overflow: hidden;
  min-height: 338px;
  margin-top: -8px;
  margin-bottom: 28px;
  border-radius: 26px;
  border: 1px solid rgba(214, 188, 133, 0.3);
  background:
    linear-gradient(180deg, rgba(6, 10, 16, 0.02), rgba(6, 10, 16, 0.18)),
    linear-gradient(120deg, rgba(7, 12, 18, 0.36) 0%, rgba(7, 12, 18, 0.1) 38%, rgba(7, 12, 18, 0.28) 100%),
    url("learning-center-hero.png?v=20260714b") center calc(50% - 18px) / cover no-repeat;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 22px 44px rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.learning-center-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.24)),
    linear-gradient(90deg, rgba(3, 7, 14, 0.22), rgba(3, 7, 14, 0.04) 48%, rgba(3, 7, 14, 0.18));
  pointer-events: none;
}

.online-course-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 20px;
}

.learning-center-tabs {
  gap: 10px;
  margin: -184px 14px 0;
  position: relative;
  z-index: 2;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.online-course-tab-button {
  min-height: 42px;
  padding: 0.72rem 1.05rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(248, 240, 232, 0.88);
  font: inherit;
  line-height: 1;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.learning-center-shell .online-course-tab-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  min-height: 50px;
  padding: 0.75rem 0.85rem;
  border-radius: 18px;
  border-color: rgba(120, 152, 206, 0.3);
  background:
    linear-gradient(180deg, rgba(48, 66, 102, 0.9), rgba(18, 27, 45, 0.98)),
    rgba(15, 22, 36, 0.94);
  color: rgba(241, 245, 252, 0.96);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 10px 22px rgba(0, 0, 0, 0.22);
}

.learning-center-shell .online-course-tab-button::before {
  content: none;
}

.online-course-tab-button:hover,
.online-course-tab-button:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  color: rgba(248, 240, 232, 0.98);
  outline: none;
}

.learning-center-shell .online-course-tab-button:hover,
.learning-center-shell .online-course-tab-button:focus-visible {
  border-color: rgba(166, 208, 255, 0.5);
  background:
    linear-gradient(180deg, rgba(64, 92, 138, 0.94), rgba(22, 34, 58, 0.98)),
    rgba(18, 27, 43, 0.96);
  color: rgba(249, 251, 255, 0.99);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 14px 26px rgba(0, 0, 0, 0.26);
}

.online-course-tab-button-active {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.34);
  color: rgba(248, 240, 232, 0.98);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.learning-center-shell .online-course-tab-button-active {
  border-color: rgba(178, 214, 255, 0.72);
  background:
    linear-gradient(180deg, rgba(96, 132, 198, 0.98), rgba(38, 64, 116, 0.99)),
    rgba(43, 70, 124, 0.99);
  color: rgba(255, 255, 255, 1);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.26),
    0 0 0 1px rgba(178, 214, 255, 0.16),
    inset 0 1px 0 rgba(236, 246, 255, 0.16);
}

.online-course-tab-panel {
  display: grid;
  gap: 16px;
}

.learning-center-shell .online-course-tab-panel {
  gap: 18px;
  margin-top: -64px;
  padding: 22px 22px 24px;
  border-radius: 24px;
  border: 1px solid rgba(196, 165, 104, 0.16);
  background:
    linear-gradient(180deg, rgba(20, 28, 43, 0.96), rgba(10, 15, 25, 0.98)),
    rgba(8, 12, 20, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.online-course-tab-panel-hidden {
  display: none;
}

.online-course-index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.online-course-index-card {
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.learning-center-shell .online-course-index-card {
  padding: 18px 20px;
  border-color: rgba(208, 178, 121, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(31, 40, 57, 0.88), rgba(15, 21, 33, 0.96)),
    rgba(14, 20, 32, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 22px rgba(0, 0, 0, 0.18);
}

.learning-center-shell [data-learning-center-panel="key-concepts"] .online-course-index-card {
  padding-top: 14px;
  padding-bottom: 16px;
}

.learning-center-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: -134px 22px 76px;
  padding: 0;
  position: relative;
  z-index: 2;
}

.learning-center-pagination-pages {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.learning-center-pagination-button,
.learning-center-pagination-page,
.learning-center-pagination-ellipsis {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(189, 199, 219, 0.18);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(238, 242, 250, 0.95);
  font-size: 0.95rem;
}

.learning-center-pagination-button,
.learning-center-pagination-page {
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.learning-center-pagination-button:hover,
.learning-center-pagination-button:focus-visible,
.learning-center-pagination-page:hover,
.learning-center-pagination-page:focus-visible {
  border-color: rgba(172, 200, 244, 0.42);
  background: rgba(104, 147, 214, 0.16);
  transform: translateY(-1px);
}

.learning-center-pagination-button[disabled] {
  cursor: default;
  opacity: 0.42;
  transform: none;
}

.learning-center-pagination-page-active {
  border-color: rgba(235, 228, 204, 0.76);
  background: rgba(247, 244, 235, 0.92);
  color: rgba(17, 21, 28, 0.95);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.learning-center-pagination-page-active:hover,
.learning-center-pagination-page-active:focus-visible {
  border-color: rgba(235, 228, 204, 0.76);
  background: rgba(247, 244, 235, 0.92);
  transform: none;
}

.learning-center-pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-color: transparent;
  background: transparent;
  min-width: 24px;
  padding: 0 6px;
}

.learning-center-concept-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.learning-center-shell [data-learning-center-panel="key-concepts"] .learning-center-concept-header {
  margin-bottom: 8px;
}

.online-course-index-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.learning-center-shell .learning-center-featured-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
  align-items: stretch;
}

.learning-center-shell .learning-center-featured-links .online-course-jump-link {
  width: 100%;
  justify-content: center;
  text-align: center;
}

@media (max-width: 640px) {
  .learning-center-shell .learning-center-featured-links {
    grid-template-columns: 1fr;
  }
}

.online-course-jump-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: -6px 0 20px;
}

.online-course-jump-link {
  font-size: 0.96rem;
}

.learning-center-shell .about-section-title {
  color: rgba(255, 245, 228, 0.98);
}

.learning-center-shell .learning-center-concept-header .about-section-title {
  margin: 0;
}

.learning-center-shell .about-section-copy,
.learning-center-shell .online-course-lesson-subcopy {
  color: rgba(236, 231, 222, 0.9);
}

.learning-center-shell [data-learning-center-panel="key-concepts"] .about-section-copy {
  margin: 0;
}

.learning-center-positive-reinforcement-copy .learning-center-positive-reinforcement-paragraph {
  text-indent: 2.25rem;
}

.learning-center-positive-reinforcement-copy .learning-center-positive-reinforcement-lead {
  font-weight: 700;
}

.learning-center-shell .role-note-link.online-course-jump-link {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(122, 165, 220, 0.26);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(230, 240, 255, 0.96);
}

.learning-center-shell .role-note-link.online-course-jump-link:hover,
.learning-center-shell .role-note-link.online-course-jump-link:focus-visible {
  border-color: rgba(166, 208, 255, 0.42);
  background: rgba(112, 164, 235, 0.12);
}

.online-course-panel.learning-center-shell .learning-center-expand-button {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0 12px;
  border-color: rgba(102, 224, 126, 0.62) !important;
  background-color: rgba(34, 142, 62, 0.98) !important;
  background-image: linear-gradient(180deg, rgba(58, 193, 95, 0.98), rgba(26, 129, 56, 0.98)) !important;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 8px 18px rgba(10, 52, 22, 0.26);
}

.online-course-panel.learning-center-shell .learning-center-expand-button:hover,
.online-course-panel.learning-center-shell .learning-center-expand-button:focus-visible {
  border-color: rgba(162, 245, 183, 0.76) !important;
  background-color: rgba(44, 155, 73, 0.98) !important;
  background-image: linear-gradient(180deg, rgba(79, 212, 115, 0.98), rgba(36, 143, 66, 0.98)) !important;
}

.online-course-action-row {
  display: grid;
  gap: 14px;
}

.online-course-reference {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.beep-test-countdown {
  display: grid;
  place-items: center;
  min-height: 220px;
  margin: 10px 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(248, 240, 232, 0.96);
  font-size: clamp(5rem, 16vw, 10rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  text-align: center;
  padding: 0 1.5rem;
}

.beep-test-countdown.is-ready {
  color: rgba(248, 240, 232, 0.6);
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.beep-test-countdown.is-blank {
  color: transparent;
}

.online-course-reference-title,
.online-course-reference-meta {
  margin: 0;
  color: rgba(248, 240, 232, 0.94);
}

.online-course-reference-title {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.online-course-reference-meta {
  font-size: 0.95rem;
  line-height: 1.5;
}

.online-course-questions {
  margin: 0;
  padding-left: 1.3rem;
  display: grid;
  gap: 12px;
  color: rgba(248, 240, 232, 0.9);
  line-height: 1.55;
}

.online-course-inline-note {
  margin-top: 6px;
  color: rgba(226, 234, 247, 0.84);
  font-size: 0.94rem;
}

.online-course-divider {
  letter-spacing: 0.14em;
  text-align: center;
}

.online-course-curriculum {
  display: grid;
  gap: 16px;
}

.online-course-course-heading {
  margin-bottom: 0;
  text-align: center;
}

.online-course-course-subheading {
  margin: 0;
}

.online-course-lesson-list {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.online-course-lesson-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: rgba(248, 240, 232, 0.92);
  line-height: 1.55;
}

.online-course-lesson-main.online-course-lesson-row-clickable,
.online-course-lesson-main.online-course-lesson-row-clickable .online-course-lesson-title,
.online-course-lesson-main.online-course-lesson-row-clickable .online-course-lesson-subcopy {
  cursor: pointer !important;
}

.online-course-lesson-main.online-course-lesson-row-clickable + .online-course-lesson-checkbox,
.online-course-lesson-row .online-course-lesson-checkbox {
  cursor: default;
}

.online-course-lesson-main.online-course-lesson-row-clickable:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.7);
  outline-offset: 6px;
  border-radius: 12px;
}

.online-course-lesson-row-restored {
  outline: 2px solid rgba(255, 255, 255, 0.96);
  outline-offset: 6px;
  border-radius: 12px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18);
}

.online-course-lesson-checkbox {
  margin-top: 0.28rem;
}

.online-course-lesson-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.online-course-lesson-title {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.online-course-lesson-subcopy {
  color: rgba(226, 234, 247, 0.84);
}

.online-course-checklist {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.online-course-checklist-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(248, 240, 232, 0.96);
  font-size: 1rem;
  font-weight: 700;
}

.online-course-checklist-header-right {
  color: rgba(226, 234, 247, 0.86);
  font-weight: 600;
  font-size: 0.94rem;
}

.online-course-checklist-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  color: rgba(248, 240, 232, 0.9);
  line-height: 1.5;
}

.online-course-checklist-row input[type="checkbox"] {
  margin-top: 0.22rem;
}

.online-course-checklist-date {
  color: rgba(226, 234, 247, 0.78);
  white-space: nowrap;
  text-align: right;
}

.baseline-questions-panel {
  gap: 18px;
}

.baseline-questions-form {
  display: grid;
  gap: 18px;
}

.baseline-questions-reference {
  margin-top: 0;
}

.baseline-question-group {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 10px;
}

.baseline-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px 14px;
}

.baseline-choice-grid-multi {
  margin-bottom: 6px;
}

.baseline-trial-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.baseline-scale-wrap {
  display: grid;
  gap: 10px;
}

.baseline-scale-input {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  accent-color: var(--brand-top-hover);
}

.baseline-scale-input:focus-visible {
  outline: none;
  box-shadow: none;
}

.baseline-scale-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: rgba(248, 240, 232, 0.82);
  font-size: 0.92rem;
  line-height: 1.35;
}

.baseline-scale-meta strong {
  color: rgba(255, 247, 228, 0.98);
  font-size: 1.06rem;
}

@media (max-width: 640px) {
  .baseline-trial-summary-grid {
    grid-template-columns: 1fr;
  }

  .baseline-scale-meta {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.install-guide-steps {
  margin: 4px 0 0 1.3rem;
  padding: 0;
  color: rgba(248, 240, 232, 0.9);
  display: grid;
  gap: 10px;
  line-height: 1.55;
}

.install-guide-actions {
  margin-top: 18px;
}

.icon-test-gallery {
  margin-top: 28px;
  display: grid;
  gap: 16px;
}

.icon-test-gallery-title {
  margin: 0;
  text-align: center;
  color: rgba(248, 240, 232, 0.86);
  font-size: 0.98rem;
  letter-spacing: 0.04em;
}

.icon-test-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.icon-test-card {
  padding: 14px 12px 12px;
  border: 1px solid var(--brand-soft);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(38, 46, 82, 0.38), rgba(14, 18, 32, 0.42)),
    rgba(12, 12, 18, 0.82);
  display: grid;
  gap: 10px;
  justify-items: center;
}

.icon-test-image {
  width: 96px;
  height: 96px;
  object-fit: contain;
  image-rendering: auto;
}

.icon-test-label {
  text-align: center;
  color: rgba(248, 240, 232, 0.92);
  font-size: 0.92rem;
  line-height: 1.3;
}

.admin-button-subline {
  display: block;
  margin-top: 4px;
  font-size: 0.82em;
  opacity: 0.88;
}

@media (max-width: 760px) {
  .learning-center-shell {
    padding: 12px 16px 18px;
    border-radius: 24px;
  }

  .learning-center-hero {
    min-height: 268px;
  }

  .learning-center-shell .online-course-tab-panel {
    padding: 18px 16px 20px;
  }

  .online-course-tabs {
    gap: 8px;
  }

  .online-course-tab-button {
    min-height: 40px;
    padding-inline: 0.95rem;
  }

  .learning-center-shell .online-course-tab-button {
    min-height: 46px;
    padding-inline: 0.7rem;
    font-size: 0.88rem;
  }

  .online-course-index-grid {
    grid-template-columns: 1fr;
  }

  .report-definition-panel,
  .report-panel {
    min-width: 0;
    height: auto;
    max-width: 100%;
    max-height: none;
    padding: 22px 16px 18px;
  }

  .report-table-wrap {
    max-height: none;
    min-height: 360px;
    flex: initial;
  }

  .report-table {
    min-width: 2200px;
  }

  .report-pair-menu-header,
  .report-pair-option {
    gap: 10px;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 0.92fr) 102px;
  }

  .report-summary-line,
  .report-definition-debug,
  .report-definition-status,
  .report-status {
    font-size: 0.95rem;
  }

  .contact-actions {
    grid-template-columns: 1fr;
  }
}

.color-scheme-panel {
  width: min(100%, 760px);
}

.color-scheme-input {
  padding: 8px;
  min-height: 72px;
}

.color-scheme-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.color-scheme-preview-card {
  min-height: 132px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: end start;
  padding: 16px;
}

.color-scheme-preview-surface {
  background:
    linear-gradient(180deg, var(--brand-surface-top), var(--brand-surface-bottom)),
    var(--brand-surface-base);
}

.color-scheme-preview-button {
  background: linear-gradient(180deg, var(--brand-top), var(--brand-bottom));
  box-shadow: 0 8px 18px var(--brand-shadow);
}

.color-scheme-preview-track {
  background:
    linear-gradient(180deg, var(--brand-track-top), var(--brand-track-bottom)),
    var(--brand-surface-base);
}

.color-scheme-preview-label {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.98rem;
  line-height: 1.35;
}

@media (max-width: 760px) {
  .lesson-preview-image-row {
    flex-direction: column;
    gap: 16px;
  }

  .lesson-preview-image-item {
    width: 100% !important;
    max-width: 100%;
    margin-left: 0 !important;
  }

  .lesson-image-overlay {
    padding: 6px;
  }

  .lesson-image-overlay-dialog {
    width: min(100vw, 100%);
    max-height: 98vh;
    padding: 6px 6px 10px;
  }

  .lesson-image-overlay-image {
    width: 98vw;
    max-width: none;
    max-height: calc(98vh - 72px);
  }

  .color-scheme-preview-grid {
    grid-template-columns: 1fr;
  }
}
