:root {
  --blue: #2563eb;
  --navy: #0d1220;
  --muted: #617087;
  --line: #e2e8f1;
  --bg: #f6f8fc;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--navy);
  background: var(--bg);
  font-synthesis: none;
  font-size: 16px;
}

.member-tools {
  display: grid;
  grid-template-columns: minmax(240px, 420px) 1fr;
  gap: 20px;
  align-items: start;
}
.member-tools .member-search { margin: 0; }
.member-search-count {
  min-height: 1.5em;
  margin: 0;
  color: var(--muted);
  font-size: .875rem;
  align-self: end;
}
.member-tools #invite-result { grid-column: 1 / -1; }
.member-tools #invite-result:empty { display: none; }
@media (max-width: 760px) {
  .member-tools { grid-template-columns: 1fr; }
  .member-tools #invite-result { grid-column: auto; }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
a {
  color: inherit;
  text-decoration: none;
}
svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(1.8rem, 2.5vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.045em;
  font-weight: 650;
}
h2 {
  font-size: 1.35rem;
  line-height: 1.35;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 1rem;
  line-height: 1.5;
}
p {
  line-height: 1.7;
}
a,
button {
  transition:
    background 0.15s,
    border-color 0.15s,
    transform 0.15s;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #60a5fa;
  outline-offset: 4px;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  font-weight: 650;
  line-height: 1.6;
}
.small,
small {
  font-size: 0.8rem;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: fixed;
  top: -90px;
  left: 10px;
  z-index: 100;
  padding: 14px;
  background: white;
}
.skip:focus {
  top: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  background: var(--blue);
  color: white;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.875rem;
  line-height: 1.5;
  font-weight: 600;
  min-height: 46px;
}
.btn:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}
.btn.secondary {
  color: var(--navy);
  background: white;
  border-color: var(--line);
}
.btn.secondary:hover {
  background: #edf3ff;
  border-color: #a8c2f7;
}
.iconbtn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  border-radius: 8px;
}
.iconbtn:hover {
  background: #edf3ff;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  white-space: nowrap;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
  background: #eaf1ff;
  color: #2057bd;
}
.pill svg {
  width: 13px;
  height: 13px;
}
.pill.soon {
  background: #f0f3f7;
  color: #647087;
}
.pill.complete {
  color: #146747;
  background: #e7f6ee;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 238px;
  display: flex;
  flex-direction: column;
  padding: 15px 20px 24px;
  background: white;
  border-right: 1px solid var(--line);
  z-index: 30;
}
.brand {
  text-align: center;
  padding-bottom: 38px;
}
.brand .logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  display: block;
  margin: auto;
}
.brand .eyebrow {
  font-size: 0.65rem;
  color: #617087;
  letter-spacing: 0.14em;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  color: #617087;
  border-radius: 9px;
  font-size: 0.9rem;
  font-weight: 500;
  min-height: 48px;
}
.nav a:hover {
  background: #f3f6fc;
}
.nav a.active {
  background: #eaf1ff;
  color: #1e55bd;
}
.sidebar-note {
  margin: 38px 13px 0;
}
.sidebar-note .eyebrow {
  font-size: 0.7rem;
  color: #60718f;
}
.sidebar-note p {
  font-size: 0.875rem;
  margin: 10px 0 16px;
  color: #6b7990;
}
.sidebar-note small {
  display: block;
  margin-top: 9px;
  color: #687890;
}
.sidebar-foot {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.75rem;
  color: #617087;
}
.sidebar-foot svg {
  width: 16px;
  color: var(--blue);
}
.shell {
  margin-left: 238px;
}
.topbar {
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 0 42px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.crumb {
  display: flex;
  gap: 13px;
  color: #6e7c91;
  font-size: 0.875rem;
}
.crumb strong {
  font-weight: 500;
  color: #28374e;
}
.top-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: #eaf1ff;
  color: #2958b1;
  font-size: 0.75rem;
  font-weight: 650;
}
.language select {
  padding: 9px 24px 9px 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 42px;
  font-size: 0.875rem;
  color: #465772;
}
.mobile-menu {
  display: none;
}
.page {
  max-width: 1440px;
  margin: auto;
  padding: 38px 42px 28px;
}
.heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.heading p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}
.quiet-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: #496387;
  min-height: 44px;
}
.quiet-link:hover {
  color: var(--blue);
}
.journey-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 265px;
  gap: 28px;
  align-items: start;
}
.journey-feature {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  border-radius: 18px;
  min-height: 254px;
  color: white;
  padding: 30px;
}
.journey-feature > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right;
  opacity: 0.74;
}
.journey-feature > div {
  position: relative;
  max-width: 69%;
  z-index: 1;
}
.journey-feature .eyebrow {
  color: #a7c3ff;
}
.journey-feature h2 {
  font-size: 1.75rem;
  margin: 15px 0 12px;
  line-height: 1.25;
  letter-spacing: -0.035em;
}
.journey-feature p {
  color: #c4cee1;
  font-size: 0.875rem;
  margin-bottom: 21px;
}
.path-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 34px 0 20px;
}
.path-intro h2 {
  font-size: 1.15rem;
}
.path-intro > span {
  font-size: 0.8rem;
  color: var(--muted);
}
.journey-path {
  position: relative;
}
.chapter {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  margin-bottom: 20px;
  overflow: hidden;
}
.chapter summary {
  padding: 23px;
  display: flex;
  gap: 18px;
  align-items: center;
  list-style: none;
  cursor: pointer;
}
.chapter summary::-webkit-details-marker {
  display: none;
}
.chapter summary:hover {
  background: #fafcff;
}
.chapter-number {
  width: 50px;
  height: 55px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #edf3ff;
  color: var(--blue);
  border-radius: 11px;
  font-size: 1.15rem;
  font-weight: 600;
}
.chapter-name {
  flex: 1;
  min-width: 0;
}
.chapter-name .eyebrow {
  font-size: 0.7rem;
  color: #6a7c96;
  letter-spacing: 0.08em;
}
.chapter-name h2 {
  font-size: 1.2rem;
  margin: 5px 0;
}
.chapter-name p {
  font-size: 0.8rem;
  color: var(--muted);
}
.chapter-chevron {
  color: #7b8aa0;
  transform: rotate(0);
}
.chapter[open] .chapter-chevron {
  transform: rotate(90deg);
}
.chapter-description {
  padding: 0 25px 18px 91px;
  color: var(--muted);
  font-size: 0.875rem;
}
.journey-steps {
  list-style: none;
  margin: 0;
  padding: 0 23px 16px 28px;
}
.journey-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 0;
  min-height: 85px;
}
.journey-step:before {
  content: "";
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e6ebf3;
}
.journey-step:first-child:before {
  top: 50%;
}
.journey-step:last-child:before {
  bottom: 50%;
}
.step-node {
  width: 40px;
  height: 40px;
  border: 2px solid #e2e8f1;
  border-radius: 50%;
  background: white;
  z-index: 1;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #708099;
  font-size: 0.75rem;
}
.journey-step a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  flex: 1;
  min-width: 0;
}
.journey-step a strong {
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 500;
}
.journey-step a small {
  display: block;
  color: #245ac3;
  margin-top: 4px;
  font-size: 0.75rem;
}
.journey-step a:hover {
  border-color: #9cbcf8;
  background: #f7faff;
}
.journey-step.current a {
  border-color: #7ca6f8;
  background: #f2f6ff;
  box-shadow: 0 0 0 3px #2563eb08;
}
.journey-step.current .step-node,
.journey-step.done .step-node {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
.journey-step.done:before {
  background: var(--blue);
}
.chapter-open {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 14px 24px;
  color: #41649a;
  font-size: 0.8rem;
}
.chapter-open:hover {
  background: #f4f7fd;
}
.milestone {
  margin: 0 24px 20px;
  display: flex;
  gap: 10px;
  padding: 15px;
  background: #edf8f2;
  color: #1b6a4e;
  font-size: 0.875rem;
  border-radius: 9px;
}
.finish-marker {
  border: 1px dashed #b6c6df;
  border-radius: 14px;
  padding: 26px;
  display: flex;
  gap: 20px;
  align-items: center;
  background: #f1f5fc;
}
.finish-marker > svg {
  width: 30px;
  height: 30px;
  color: var(--blue);
}
.finish-marker p {
  font-size: 0.875rem;
  color: var(--muted);
}
.journey-summary {
  position: sticky;
  top: 24px;
}
.progress-card,
.admin-card,
.module-detail {
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 22px;
}
.journey-summary .progress-card {
  text-align: center;
}
.journey-summary .eyebrow {
  font-size: 0.72rem;
  color: #7183a0;
}
.progress-card p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 8px;
}
.progress-orbit {
  width: 152px;
  height: 152px;
  background: conic-gradient(var(--blue) var(--progress), #edf1f8 0);
  border-radius: 50%;
  margin: 24px auto;
  display: grid;
  place-items: center;
}
.progress-orbit strong {
  display: flex;
  align-items: baseline;
  justify-content: center;
  width: 132px;
  height: 132px;
  background: white;
  border-radius: 50%;
  padding-top: 38px;
  font-size: 2.55rem;
  letter-spacing: -0.06em;
  font-weight: 600;
}
.progress-orbit small {
  font-size: 1rem;
  margin-left: 3px;
  letter-spacing: 0;
}
.card-rule {
  height: 1px;
  background: var(--line);
  margin: 20px 0;
}
.journey-summary .quiet-link {
  margin-top: 14px;
}
.goal-card {
  padding: 25px;
  background: #eaf1ff;
  border: 1px solid #d7e4fc;
  border-radius: 15px;
}
.goal-card > svg {
  width: 25px;
  height: 25px;
  color: var(--blue);
  margin-bottom: 20px;
}
.goal-card h2 {
  font-size: 1.4rem;
  margin: 12px 0;
}
.goal-card p {
  font-size: 0.9rem;
  color: #566c90;
}
.library-controls {
  margin-bottom: 24px;
}
.search {
  display: block;
  position: relative;
  max-width: 460px;
}
.search svg {
  position: absolute;
  left: 14px;
  top: 14px;
  color: #7789a5;
  width: 18px;
}
.search input {
  width: 100%;
  padding: 13px 15px 13px 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  font-size: 0.9rem;
}
.filters {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.filter {
  padding: 11px 15px;
  background: transparent;
  border: 0;
  color: #5a6d89;
  border-radius: 8px;
  font-size: 0.875rem;
  min-height: 44px;
}
.filter.active {
  background: var(--navy);
  color: white;
}
.filter:hover:not(.active) {
  background: #eaf0fa;
}
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.module-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  overflow: hidden;
}
.module-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px #0d122009;
}
.module-art {
  position: relative;
  background: #11213b;
  min-height: 170px;
  padding: 22px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.module-num {
  position: absolute;
  top: 20px;
  left: 22px;
  color: #a8bee4;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
}
.module-art-icon {
  position: absolute;
  right: 18px;
  top: 24px;
  color: #385b8c;
  opacity: 0.6;
}
.module-art-icon svg {
  width: 90px;
  height: 90px;
  stroke-width: 0.7;
}
.art-title {
  font-size: 1.45rem;
  color: white;
  max-width: 85%;
  line-height: 1.25;
  letter-spacing: -0.035em;
  z-index: 1;
}
.module-card:nth-child(3n + 2) .module-art {
  background: #e3edff;
}
.module-card:nth-child(3n + 2) .module-num {
  color: #5877a8;
}
.module-card:nth-child(3n + 2) .art-title {
  color: #1a4388;
}
.module-card:nth-child(3n + 3) .module-art {
  background: #0d1220;
}
.module-content {
  padding: 21px 20px 0;
  flex: 1;
}
.module-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 0.75rem;
  margin-bottom: 13px;
}
.module-content p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 10px;
}
.module-bottom {
  padding: 22px 20px 18px;
}
.line-label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.75rem;
  color: #64748b;
}
.progress-line {
  height: 5px;
  background: #e9eef6;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 8px;
}
.progress-line > span {
  display: block;
  height: 100%;
  background: var(--blue);
  border-radius: 8px;
  transition: width 0.35s;
}
.module-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 15px;
  font-size: 0.875rem;
}
.module-action svg {
  width: 17px;
  color: var(--blue);
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #5d7393;
  font-size: 0.875rem;
  margin-bottom: 24px;
  min-height: 36px;
}
.row-list {
  margin-top: 20px;
}
.module-lesson {
  display: flex;
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 21px 0;
}
.module-lesson > div {
  flex: 1;
}
.module-lesson p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 6px;
}
.module-lesson small {
  color: var(--muted);
}
.lesson-number {
  font-size: 0.75rem;
  color: #7789a3;
  min-width: 22px;
}
.lesson-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.lesson-nav {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  position: sticky;
  top: 22px;
}
.lesson-nav-head {
  padding: 23px;
  border-bottom: 1px solid var(--line);
}
.lesson-nav-head .eyebrow {
  color: var(--blue);
  margin-bottom: 8px;
}
.lessons {
  padding: 10px;
}
.lesson-row {
  display: flex;
  align-items: start;
  gap: 10px;
  padding: 14px 10px;
  border-radius: 8px;
  font-size: 0.875rem;
  line-height: 1.5;
}
.lesson-row > span:nth-child(2) {
  flex: 1;
}
.lesson-row small {
  display: block;
  font-size: 0.75rem;
  color: #6e809b;
  margin-top: 5px;
}
.lesson-row svg {
  width: 16px;
  height: 16px;
  margin-top: 4px;
}
.lesson-row.active {
  background: #edf3ff;
  color: #2054b6;
}
.lesson-row:hover {
  background: #f1f5fd;
}
.lesson-title {
  margin-bottom: 23px;
}
.lesson-title > .eyebrow {
  color: #6a7d9b;
  margin-bottom: 13px;
}
.lesson-title h1 {
  font-size: clamp(1.6rem, 2.3vw, 2.15rem);
}
.lesson-title > p {
  font-size: 1rem;
  color: var(--muted);
  margin-top: 14px;
}
.lesson-meta {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.8rem;
}
.lesson-main {
  min-width: 0;
}
.reading {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px;
}
.reading-block {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.reading-block:last-child {
  padding: 0;
  margin: 0;
  border: 0;
}
.section-no {
  font-size: 0.75rem;
  color: #7288ab;
  letter-spacing: 0.06em;
}
.reading-block h2 {
  font-size: 1.3rem;
  margin: 10px 0 16px;
}
.reading-block p {
  font-size: 1rem;
  line-height: 1.85;
  color: #52637c;
  margin: 0 0 16px;
  white-space: pre-line;
}
.reading-block p:last-child {
  margin: 0;
}
.media-pending {
  background: #eaf1ff;
  border: 1px solid #d7e3fc;
  border-radius: 12px;
  padding: 19px;
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 24px;
}
.media-pending svg {
  color: var(--blue);
  width: 25px;
  height: 25px;
}
.media-pending strong {
  font-size: 0.9rem;
}
.media-pending p {
  font-size: 0.875rem;
  color: #5c7395;
  margin-top: 4px;
}
#lesson-media {
  display: block;
  width: 100%;
  border-radius: 12px;
  background: #0d1220;
}
video#lesson-media {
  aspect-ratio: 16/9;
}
audio#lesson-media {
  margin-bottom: 12px;
}
.player-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 13px 0 24px;
  font-size: 0.8rem;
  color: #60718c;
}
.player-options select {
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  min-height: 40px;
}
.quiz-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px;
  margin-top: 24px;
}
.quiz-card > .eyebrow {
  color: var(--blue);
  margin-bottom: 10px;
}
.quiz-card > h2 {
  margin-bottom: 10px;
}
.quiz-card > p {
  font-size: 0.9rem;
  color: var(--muted);
}
.quiz-question {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 26px 0 0;
  padding: 20px 0 0;
  min-width: 0;
}
.quiz-question legend {
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 600;
  padding: 0 0 13px;
  float: left;
  width: 100%;
}
.quiz-option {
  display: flex;
  align-items: start;
  gap: 12px;
  clear: both;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 14px;
  min-height: 48px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.6;
  cursor: pointer;
}
.quiz-option:has(input:checked) {
  border-color: var(--blue);
  background: #edf3ff;
}
.quiz-option input {
  width: 17px;
  height: 17px;
  accent-color: var(--blue);
  margin: 4px 0 0;
  flex-shrink: 0;
}
.quiz-option.correct {
  border-color: #73a28e;
  background: #edf8f2;
}
.quiz-option:has(input:disabled) {
  cursor: default;
}
.quiz-feedback {
  font-size: 0.9rem;
  line-height: 1.75;
  color: #516580;
  padding: 10px 0;
}
#quiz-result:not(:empty) {
  background: #edf3ff;
  border-radius: 10px;
  padding: 18px;
  margin: 22px 0;
  color: #234c93;
}
#quiz-result p {
  font-size: 0.9rem;
  margin-top: 7px;
}
.quiz-card form > .btn {
  margin-top: 16px;
}
.lesson-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: white;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 24px 0;
}
.lesson-actions strong {
  font-size: 0.95rem;
}
.lesson-actions p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 6px;
}
.lesson-actions .btn {
  flex-shrink: 0;
}
.lesson-pager {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  margin: 24px 0 0;
}
.lesson-pager a {
  display: flex;
  align-items: center;
  gap: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 17px;
  max-width: 48%;
  font-size: 0.875rem;
}
.lesson-pager .next {
  margin-left: auto;
  text-align: right;
}
.lesson-pager small {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 5px;
}
.lesson-pager a:hover {
  border-color: #88acf0;
}
.progress-overview {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
}
.progress-overview > .progress-card:first-child {
  text-align: center;
  height: fit-content;
}
.progress-overview .btn {
  margin-top: 22px;
}
.progress-module {
  display: block;
  margin-top: 24px;
}
.progress-module > div:first-child {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  font-size: 0.875rem;
}
.progress-module span {
  font-size: 0.8rem;
  color: var(--muted);
}
.row-item {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}
.row-item strong {
  font-size: 0.95rem;
}
.row-item p {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 4px 0;
}
.empty {
  text-align: center;
  background: white;
  border: 1px dashed #c5d2e6;
  border-radius: 14px;
  padding: 50px 25px;
}
.empty > svg {
  width: 30px;
  height: 30px;
  color: var(--blue);
  margin-bottom: 16px;
}
.empty h2,
.empty h3 {
  margin-bottom: 12px;
}
.empty p {
  font-size: 0.95rem;
  color: var(--muted);
}
.empty .btn {
  margin-top: 23px;
}
.notice {
  display: flex;
  align-items: start;
  gap: 12px;
  padding: 17px;
  background: #edf3ff;
  color: #42608e;
  border: 1px solid #d8e4fb;
  border-radius: 10px;
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.notice svg {
  margin-top: 2px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.875rem;
  font-weight: 550;
  margin-bottom: 20px;
}
.form-field input,
.form-field textarea,
.form-field select {
  padding: 12px 13px;
  border: 1px solid #cfdaea;
  border-radius: 8px;
  background: white;
  min-height: 46px;
  width: 100%;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--navy);
}
.form-field textarea {
  resize: vertical;
  min-height: 110px;
}
.form-help {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted);
}
.inline-form {
  display: flex;
  gap: 14px;
  align-items: flex-end;
  margin-top: 22px;
}
.inline-form .form-field {
  flex: 1;
  margin: 0;
}
.inline-form > .btn {
  flex-shrink: 0;
}
.admin-card > p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 12px 0 18px;
}
.admin-card h2 {
  margin-bottom: 15px;
}
.member-actions {
  display: flex;
  gap: 9px;
}
.member-actions .btn {
  font-size: 0.8rem;
}
.invite-link {
  padding: 20px;
  border-radius: 10px;
  background: #edf3ff;
  margin-top: 20px;
}
.invite-link input {
  padding: 12px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 15px 0;
}
.invite-link p {
  font-size: 0.875rem;
}
.studio-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 25px;
}
.studio-stats > div {
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
}
.studio-stats strong {
  font-size: 1.9rem;
  display: block;
  margin-bottom: 7px;
}
.studio-stats span {
  font-size: 0.875rem;
  color: var(--muted);
}
.library-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
}
.library-head > div {
  flex: 1;
}
.library-head > .form-field {
  max-width: 48%;
}
.library-head p {
  font-size: 0.875rem;
  color: var(--muted);
}
.editor-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.editor-toolbar .filters {
  margin: 0;
}
.editor-toolbar label {
  font-size: 0.875rem;
}
.editor-toolbar select {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.editor-section,
.editor-question {
  background: #f7f9fd;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 20px 0;
}
.editor-question legend {
  font-size: 0.9rem;
  font-weight: 600;
}
.editor-subtitle {
  margin: 30px 0 10px;
}
#lesson-editor > p {
  font-size: 0.875rem;
  margin-top: 8px;
}
.editor-save {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.upload-actions {
  display: flex;
  gap: 12px;
}
#upload-progress {
  width: 100%;
  margin: 20px 0 8px;
  accent-color: var(--blue);
}
#upload-status {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 12px;
}
.source-row {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 18px;
  align-items: center;
}
.source-row strong {
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}
.source-row p,
.source-row small {
  font-size: 0.8rem;
  color: var(--muted);
}
.source-row select {
  width: 100%;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  font-size: 0.875rem;
}
.source-row .btn {
  font-size: 0.8rem;
}
.add-source {
  margin-top: 22px;
}
.add-source summary {
  cursor: pointer;
  padding: 12px 0;
  font-weight: 600;
  font-size: 0.9rem;
}
.add-source form {
  margin-top: 18px;
} /* A bounded welcome composition keeps the form and artwork together on wide screens. */
.auth-page {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 32px clamp(20px, 4vw, 64px);
  background:
    radial-gradient(ellipse at 15% 20%, #e6edfc 0, transparent 55%), var(--bg);
}
.auth-shell {
  width: 100%;
  max-width: 1160px;
  min-width: 0;
}
.auth-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.auth-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.auth-brand .logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e2e8f1;
}
.auth-brand > span {
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  color: var(--ink);
}
.auth-brand small {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.19em;
  color: var(--muted);
  margin-top: 5px;
}
.auth-lang {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
}
.auth-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 80px #15295212;
}
.auth-aside {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  min-height: 610px;
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--navy);
  color: #fff;
}
.auth-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
  z-index: -2;
}
.auth-aside:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 15, 34, 0.92) 0%,
    rgba(8, 15, 34, 0.63) 32%,
    rgba(8, 15, 34, 0.08) 63%,
    rgba(8, 15, 34, 0.85) 100%
  );
  z-index: -1;
}
.auth-intro {
  max-width: 440px;
}
.auth-aside .eyebrow {
  color: #b5ceff;
  font-size: 0.65rem;
  letter-spacing: 0.17em;
}
.auth-aside h1 {
  font-size: clamp(2.2rem, 3.4vw, 3.1rem);
  font-weight: 550;
  line-height: 1.12;
  letter-spacing: -0.045em;
  margin: 22px 0 18px;
  color: #fff;
  text-wrap: balance;
}
.auth-aside p {
  font-size: 1rem;
  line-height: 1.7;
  color: #d6e1f4;
  max-width: 330px;
  margin: 0;
}
.auth-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #d6e1f4;
  margin-top: 180px;
}
.auth-bottom svg {
  width: 16px;
  height: 16px;
}
.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 48px;
}
.auth-form {
  width: 100%;
  max-width: 390px;
}
.auth-form > .eyebrow {
  display: block;
  color: var(--blue);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
}
.auth-form h2 {
  font-size: 2rem;
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.2;
  margin: 0 0 14px;
  text-wrap: balance;
}
.auth-form > p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 32px;
}
.auth-form .form-field {
  margin-bottom: 20px;
  font-size: 0.875rem;
}
.auth-form input {
  min-height: 52px;
  font-size: 1rem;
  border-radius: 10px;
}
.auth-form .btn {
  width: 100%;
  min-height: 52px;
  font-size: 0.95rem;
  border-radius: 10px;
  margin-top: 6px;
}
.auth-help {
  font-size: 0.8rem;
  line-height: 1.75;
  color: var(--muted);
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.auth-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.75rem;
  margin: 22px 0 0;
  text-align: center;
}
.auth-footer svg {
  width: 14px;
  height: 14px;
}
.access-prompt-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  background: #071021b8;
  backdrop-filter: blur(8px);
}
.access-prompt {
  position: relative;
  width: min(100%, 440px);
  padding: 38px;
  background: #fff;
  border: 1px solid #dce5f3;
  border-radius: 22px;
  box-shadow: 0 28px 90px #02081766;
  text-align: center;
}
.access-prompt-close {
  position: absolute;
  top: 12px;
  right: 12px;
  color: #60718a;
  font-size: 1.5rem;
}
.access-prompt-logo {
  display: block;
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  object-fit: contain;
  border-radius: 16px;
}
.access-prompt .eyebrow {
  color: var(--blue);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
}
.access-prompt h2 {
  margin: 10px 0 12px;
  font-size: 1.75rem;
  letter-spacing: -0.035em;
}
.access-prompt p {
  margin: 0 auto 24px;
  max-width: 340px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
.access-prompt-telegram {
  width: 100%;
  min-height: 50px;
}
.access-prompt-member {
  margin-top: 14px;
  padding: 10px;
  border: 0;
  background: transparent;
  color: #506783;
  font-size: 0.85rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.academy-login-link {
  display: block;
  width: fit-content;
  margin: 12px auto 0;
  color: #9fc0ff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.join-success {
  width: min(100%, 480px);
}
.join-success-open,
.join-success-copy {
  width: 100%;
}
.academy-address {
  display: grid;
  gap: 5px;
  margin: 16px 0 12px;
  padding: 14px 16px;
  border: 1px solid #cddbf0;
  border-radius: 12px;
  background: #f4f7fc;
  text-align: left;
}
.academy-address span {
  color: #60718a;
  font-size: 0.72rem;
}
.academy-address strong {
  color: #0d1220;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}
.join-success small {
  display: block;
  margin-top: 14px;
  color: #60718a;
}
.signup-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 18px;
  background:
    radial-gradient(circle at 50% 0%, #1e3a8a 0, transparent 38%),
    #0d1220;
}
.signup-card {
  width: min(100%, 520px);
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid #2c3d58;
  border-radius: 24px;
  background: #10192bcc;
  box-shadow: 0 28px 90px #02081799;
  color: #fff;
  backdrop-filter: blur(18px);
}
.signup-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.signup-brand img,
.pending-card > img {
  border-radius: 16px;
}
.signup-card h1 {
  margin: 24px 0 12px;
  font-size: clamp(2rem, 6vw, 3rem);
  letter-spacing: -0.045em;
}
.signup-card > p {
  margin: 0 0 28px;
  color: #b6c4d8;
  line-height: 1.7;
}
.signup-card .form-field {
  color: #dce7f8;
}
.signup-card input {
  background: #091121;
  border-color: #334663;
  color: #fff;
}
.signup-card form .btn,
.pending-card > .btn {
  width: 100%;
}
.signup-login {
  display: block;
  margin-top: 20px;
  color: #9fc0ff;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.pending-card {
  text-align: center;
}
.pending-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 20px auto 0;
  border-radius: 50%;
  background: #2563eb22;
  color: #77a5ff;
}
.pending-icon svg {
  width: 25px;
}
.pending-card .academy-address {
  margin-bottom: 18px;
  background: #091121;
  border-color: #334663;
}
.pending-card .academy-address strong {
  color: #fff;
}
.pending-card small {
  display: block;
  margin-top: 16px;
  color: #91a2ba;
}
.permanent-invite h2 {
  margin: 8px 0;
  color: var(--blue);
  overflow-wrap: anywhere;
}
.error {
  background: #fff0f0;
  border: 1px solid #f3c6c6;
  color: #9f3232;
  border-radius: 9px;
  padding: 15px;
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 20px;
}
.loading,
.loading-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: var(--muted);
  padding: 40px;
  min-height: 35vh;
}
.loading {
  min-height: 100dvh;
}
.loading .btn {
  margin-top: 20px;
}
.spinner {
  border: 2px solid #dfe8fa;
  border-top-color: var(--blue);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.footnote {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  color: #6d7f9a;
  font-size: 0.75rem;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  max-width: min(90vw, 600px);
  background: var(--navy);
  color: white;
  border-radius: 10px;
  padding: 15px 22px;
  box-shadow: 0 5px 25px #0002;
  font-size: 0.875rem;
  line-height: 1.6;
  z-index: 100;
  display: none;
}
#toast.visible {
  display: block;
}
.overlay {
  display: none;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1700px) {
  .page {
    padding-top: 48px;
  }
  .journey-feature {
    min-height: 285px;
  }
}
@media (max-width: 1250px) {
  .page {
    padding: 30px;
  }
  .topbar {
    padding: 0 30px;
  }
  .sidebar {
    width: 220px;
    padding: 15px;
  }
  .shell {
    margin-left: 220px;
  }
  .journey-layout {
    grid-template-columns: minmax(0, 1fr) 235px;
    gap: 20px;
  }
  .journey-feature {
    padding: 25px;
  }
  .journey-feature h2 {
    font-size: 1.55rem;
  }
  .journey-feature > div {
    max-width: 78%;
  }
  .journey-step a {
    align-items: start;
    flex-direction: column;
    gap: 9px;
  }
  .lesson-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 22px;
  }
  .lesson-actions {
    align-items: start;
    flex-direction: column;
  }
  .source-row {
    grid-template-columns: 1fr 1fr;
  }
  .source-row .btn {
    grid-column: 2;
  }
  .module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1000px) {
  .journey-layout {
    grid-template-columns: 1fr;
  }
  .journey-summary {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .journey-summary .progress-card {
    margin: 0;
  }
  .journey-feature > div {
    max-width: 65%;
  }
  .journey-step a {
    flex-direction: row;
    align-items: center;
  }
  .lesson-layout {
    grid-template-columns: 1fr;
  }
  .lesson-nav {
    position: static;
  }
  .lessons {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .progress-overview {
    grid-template-columns: 1fr;
  }
  .library-head {
    flex-direction: column;
  }
  .library-head > .form-field {
    max-width: 100%;
    width: 100%;
  }
}
@media (max-width: 760px) {
  .sidebar {
    transform: translateX(-100%);
    width: 270px;
    transition: transform 0.2s;
    z-index: 40;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .overlay.open {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 35;
    background: #0d122066;
  }
  .shell {
    margin: 0;
  }
  .mobile-menu {
    display: grid;
  }
  .topbar {
    height: 70px;
    padding: 0 15px;
    gap: 8px;
  }
  .crumb {
    font-size: 0.8rem;
    gap: 6px;
  }
  .crumb > span {
    display: none;
  }
  .crumb strong {
    display: none;
  }
  .top-right {
    gap: 7px;
  }
  .top-right > .avatar {
    display: none;
  }
  .language select {
    max-width: 120px;
    font-size: 0.8rem;
  }
  .page {
    padding: 26px 19px;
  }
  .heading {
    align-items: start;
    gap: 15px;
  }
  .heading > .quiet-link {
    display: none;
  }
  .heading p {
    font-size: 0.9rem;
  }
  .journey-feature {
    padding: 25px;
    min-height: 235px;
  }
  .journey-feature h2 {
    font-size: 1.5rem;
  }
  .journey-feature > div {
    max-width: 78%;
  }
  .journey-feature > img {
    opacity: 0.45;
  }
  .chapter summary {
    padding: 19px;
    gap: 14px;
  }
  .chapter-number {
    width: 44px;
    height: 49px;
    font-size: 1rem;
  }
  .chapter-name h2 {
    font-size: 1.1rem;
  }
  .chapter-description {
    padding: 0 20px 15px;
  }
  .journey-steps {
    padding: 0 17px 15px;
  }
  .journey-step {
    gap: 12px;
  }
  .journey-step a {
    flex-direction: column;
    align-items: start;
    padding: 14px;
  }
  .journey-step a strong {
    font-size: 0.9rem;
  }
  .journey-summary {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .journey-summary .progress-card,
  .goal-card {
    padding: 20px;
  }
  .goal-card h2 {
    font-size: 1.25rem;
  }
  .goal-card p {
    font-size: 0.875rem;
  }
  .module-grid {
    gap: 17px;
  }
  .module-art {
    min-height: 150px;
    padding: 18px;
  }
  .art-title {
    font-size: 1.25rem;
  }
  .module-meta {
    flex-direction: column;
  }
  .module-content {
    padding: 18px 17px 0;
  }
  .module-bottom {
    padding: 18px 17px;
  }
  .module-lesson {
    flex-wrap: wrap;
    gap: 13px;
  }
  .module-lesson > div {
    flex-basis: 75%;
  }
  .module-lesson > .pill {
    margin-left: 35px;
  }
  .module-lesson > svg {
    margin-left: auto;
  }
  .reading,
  .quiz-card {
    padding: 24px 21px;
  }
  .reading-block p {
    font-size: 1rem;
  }
  .lesson-actions .btn {
    width: 100%;
  }
  .lesson-pager {
    gap: 10px;
  }
  .lesson-pager a {
    padding: 13px;
    gap: 7px;
    font-size: 0.8rem;
  }
  .lesson-pager svg {
    width: 15px;
  }
  .lesson-pager small {
    font-size: 0.75rem;
  }
  .studio-stats {
    gap: 10px;
  }
  .studio-stats > div {
    padding: 17px 13px;
  }
  .studio-stats span {
    font-size: 0.75rem;
  }
  .admin-card {
    padding: 22px 18px;
  }
  .inline-form {
    flex-direction: column;
    align-items: stretch;
  }
  .row-item {
    align-items: start;
    flex-direction: column;
  }
  .member-actions {
    flex-wrap: wrap;
  }
  .editor-toolbar {
    align-items: start;
    flex-direction: column;
  }
  .source-row {
    grid-template-columns: 1fr;
  }
  .source-row .btn {
    grid-column: auto;
    justify-self: start;
  }
  .editor-section,
  .editor-question {
    padding: 16px 13px;
  }
  .footnote {
    font-size: 0.7rem;
    flex-direction: column;
    gap: 8px;
  }
  .quiz-card form > .btn {
    width: 100%;
  }
}
@media (max-width: 420px) {
  .journey-summary {
    grid-template-columns: 1fr;
  }
  .module-grid {
    grid-template-columns: 1fr;
  }
  .module-meta {
    flex-direction: row;
  }
  .journey-feature > div {
    max-width: 95%;
  }
  .journey-feature > img {
    opacity: 0.3;
  }
  .lessons {
    grid-template-columns: 1fr;
  }
  .studio-stats {
    grid-template-columns: 1fr;
  }
  .studio-stats > div {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .studio-stats strong {
    margin: 0;
  }
  .player-options {
    flex-direction: column;
    align-items: start;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 1000px) {
  .auth-aside {
    padding: 32px;
  }
  .auth-panel {
    padding: 36px;
  }
  .auth-aside h1 {
    font-size: 2.45rem;
  }
}
@media (max-width: 760px) {
  .auth-page {
    padding: 20px 18px;
    place-items: start center;
  }
  .auth-shell {
    max-width: 480px;
  }
  .auth-header {
    margin-bottom: 20px;
    gap: 12px;
  }
  .auth-brand {
    gap: 10px;
  }
  .auth-brand .logo {
    width: 48px;
    height: 48px;
    border-radius: 11px;
  }
  .auth-brand > span {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
  }
  .auth-brand small {
    font-size: 0.5rem;
    letter-spacing: 0.12em;
  }
  .auth-lang {
    gap: 8px;
  }
  .auth-lang .language select {
    max-width: 102px;
  }
  .auth-card {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 22px;
  }
  .auth-aside {
    min-height: 190px;
    padding: 26px;
  }
  .auth-aside h1 {
    font-size: 1.9rem;
    margin: 14px 0 0;
    max-width: 300px;
  }
  .auth-aside p,
  .auth-bottom {
    display: none;
  }
  .auth-art {
    object-position: center 53%;
  }
  .auth-aside:before {
    background: linear-gradient(
      90deg,
      rgba(8, 15, 34, 0.94),
      rgba(8, 15, 34, 0.2)
    );
  }
  .auth-panel {
    padding: 32px 26px;
  }
  .auth-form {
    max-width: none;
  }
  .auth-form h2 {
    font-size: 1.8rem;
  }
  .auth-form > p {
    margin-bottom: 24px;
  }
  .auth-help {
    margin-top: 24px;
    padding-top: 20px;
  }
  .auth-footer {
    margin-top: 20px;
  }
}
@media (max-width: 380px) {
  .auth-brand > span {
    display: none;
  }
  .auth-panel {
    padding: 28px 20px;
  }
  .auth-aside {
    padding: 24px 20px;
  }
  .auth-page {
    padding: 16px 12px;
  }
}
@media (max-width: 520px) {
  .access-prompt {
    padding: 34px 24px 28px;
    border-radius: 19px;
  }
  .access-prompt h2 {
    font-size: 1.55rem;
  }
}
