/* Course reminder entry: quiet blue, a useful schedule, and a focused form. */
body.course-auth {
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --auth-ink: #192b43;
  --auth-muted: #5e6e83;
  --auth-line: #e2e8f0;
  --auth-blue: #0872e3;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: #f5f7fb;
  color: var(--auth-ink);
}
.course-auth .auth-site-header {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 30px 32px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.course-auth .auth-site-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--auth-ink);
  text-decoration: none;
}
.course-auth .auth-site-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--auth-blue);
  color: #fff;
}
.course-auth .auth-brand-copy { display: grid; gap: 0; }
.course-auth .auth-brand-copy strong { font-size: 17px; font-weight: 650; line-height: 1.5; }
.course-auth .auth-brand-copy small { color: var(--auth-muted); font-size: 11px; line-height: 1.5; }
.course-auth .auth-workspace-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #4e6078;
  font-size: 13px;
  font-weight: 500;
}
.course-auth .course-auth-main {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 54px 32px 62px;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-content: center;
  align-items: center;
  gap: 92px;
}
.course-auth .course-auth-main > .auth {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  display: block;
}
.course-auth .authbox {
  width: 100%;
  max-width: none;
  padding: 36px;
  border: 1px solid #e8edf4;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 50px -34px rgba(29, 55, 91, .35);
}
.course-auth .authbox .auth-logo { display: none; }
.course-auth .auth-title {
  margin: 0;
  font-size: 27px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -.025em;
  text-align: left;
  color: var(--auth-ink);
}
.course-auth .auth-subtitle {
  margin-top: 9px;
  color: var(--auth-muted);
  font-size: 14px;
  line-height: 1.7;
  text-align: left;
}
.course-auth .auth-form { margin-top: 28px; }
.course-auth .authbox .auth-form > .label {
  display: block;
  margin: 20px 0 8px;
  color: #34465e;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.5;
}
.course-auth .authbox .auth-form > .label:first-child { margin-top: 0; }
.course-auth .authbox input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #dce3ec;
  border-radius: 10px;
  background: #fbfcfe;
  color: var(--auth-ink);
  font-size: 15px;
  line-height: 1.5;
  box-shadow: none;
  transition: border-color .15s, background-color .15s;
}
.course-auth .authbox input::placeholder { color: #7c899b; }
.course-auth .authbox input:not([type="checkbox"]):not([type="radio"]):focus {
  border-color: var(--auth-blue);
  background: #fff;
}
.auth-utilities {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0 2px;
}
.auth-utilities .auth-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: 0;
  color: #5e6e83;
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}
.auth-utilities .auth-check input[type="checkbox"] {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin: 0;
}
.auth-utilities .auth-forgot { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; white-space: nowrap; }
.course-auth .authbox .btn.block {
  min-height: 48px;
  margin-top: 16px;
  border-radius: 10px;
  background: var(--auth-blue);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: .06em;
}
.course-auth .authbox .btn.block:hover { background: #0064cd; }
.course-auth .authbox .btn.block:active { background: #0059b7; }
.course-auth .authbox .auth-links {
  justify-content: center;
  gap: 5px;
  margin-top: 24px;
  color: var(--auth-muted);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}
.course-auth .authbox .auth-links a { display: inline-flex; align-items: center; min-height: 36px; font-weight: 500; }
.course-auth .auth-note { flex-basis: 100%; color: var(--auth-muted); }
.course-auth .auth-sep { display: none; }
.course-auth .auth-overview { grid-column: 1; grid-row: 1; min-width: 0; }
.course-auth .auth-overview h2 {
  margin: 0;
  color: var(--auth-ink);
  font-size: clamp(34px, 3.2vw, 44px);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.course-auth .auth-overview > p { margin-top: 18px; color: var(--auth-muted); font-size: 15px; line-height: 1.9; }
.course-auth .schedule-preview {
  margin-top: 32px;
  padding: 22px 24px 16px;
  border: 1px solid #e1e8f1;
  border-radius: 20px;
  background: #fff;
}
.course-auth .preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.course-auth .preview-heading strong { display: block; font-size: 14px; font-weight: 600; }
.course-auth .preview-heading small { display: block; margin-top: 3px; color: var(--auth-muted); font-size: 11px; }
.course-auth .preview-example { padding: 3px 8px; border: 1px solid var(--auth-line); border-radius: 6px; color: #69788c; font-size: 10px; }
.course-auth .preview-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; margin: 20px 0 10px; color: #6c7a8d; font-size: 11px; text-align: center; }
.course-auth .preview-week span { display: grid; place-items: center; height: 27px; border-radius: 7px; }
.course-auth .preview-week .selected { color: #0872e3; background: #edf5ff; font-weight: 650; }
.course-auth .preview-courses { padding: 0; margin: 0; list-style: none; }
.course-auth .preview-courses li { display: flex; align-items: center; gap: 13px; min-height: 76px; padding: 11px 0; border-top: 1px solid #f0f3f7; }
.course-auth .preview-time { width: 42px; flex: 0 0 42px; }
.course-auth .preview-time strong { display: block; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.course-auth .preview-time small { color: #6c7a8d; font-size: 10px; }
.course-auth .preview-course { min-width: 0; padding-left: 12px; border-left: 3px solid #86b8f3; }
.course-auth .preview-course strong { display: block; color: #344b68; font-size: 12px; font-weight: 550; }
.course-auth .preview-course small { display: block; margin-top: 3px; color: #6c7a8d; font-size: 10px; }
.course-auth .preview-courses .afternoon .preview-course { border-left-color: #edb67e; }
.course-auth .preview-courses .evening .preview-course { border-left-color: #bda4eb; }
.course-auth .preview-reminder { margin-left: auto; padding: 3px 7px; border-radius: 5px; background: #edf5ff; color: #356da8; font-size: 10px; white-space: nowrap; }
.course-auth .auth-overview .overview-features { display: flex; flex-wrap: wrap; gap: 20px; margin: 20px 0 0; padding: 0; list-style: none; color: #5e6e83; font-size: 12px; }
.course-auth .overview-features li { display: flex; align-items: center; gap: 7px; }
.course-auth .overview-features li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #80a7d9; }
.course-auth .app-footer.auth-footer { max-width: none; width: 100%; margin: 0; padding: 18px 24px 26px; flex-direction: row; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px 20px; color: #67768b; font-size: 11px; line-height: 1.7; }
.course-auth .app-footer.auth-footer a { color: #5e6e83; padding: 5px 0; }
.course-auth .st-inline { gap: 8px; }
.course-auth .st-inline > input { min-width: 0; }
.course-auth .st-inline > button { min-height: 48px; padding: 10px 12px; font-size: 12px; }
.course-auth .st-inline .st-capimg { width: 112px; height: 48px; flex: 0 0 112px; }
.course-auth .form-tip { color: #5e6e83; font-size: 12px; line-height: 1.8; }
.course-auth :is(a,button,input):focus-visible { outline: 3px solid #0872e3; outline-offset: 3px; }
@media (max-width: 1000px) and (min-width: 861px) {
  .course-auth .course-auth-main { grid-template-columns: minmax(0, 1fr) 390px; gap: 48px; }
  .course-auth .authbox { padding: 32px; }
  .course-auth .schedule-preview { padding-left: 19px; padding-right: 19px; }
  .course-auth .preview-reminder { display: none; }
}
@media (max-width: 860px) {
  .course-auth .auth-site-header { max-width: 480px; padding: 24px 24px 6px; }
  .course-auth .auth-site-mark { width: 36px; height: 36px; border-radius: 11px; }
  .course-auth .auth-brand-copy strong { font-size: 16px; }
  .course-auth .auth-brand-copy small { font-size: 10px; }
  .course-auth .auth-workspace-link { font-size: 12px; }
  .course-auth .course-auth-main { max-width: 480px; display: block; flex: 1; padding: 36px 24px 38px; }
  .course-auth .auth-overview { display: none; }
  .course-auth .authbox { padding: 32px 28px; border-radius: 22px; }
  .course-auth .auth-title { font-size: 26px; }
  .course-auth .auth-subtitle { font-size: 13px; }
  .course-auth .authbox input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) { font-size: 16px; }
  .course-auth .app-footer.auth-footer { max-width: 480px; margin: 0 auto; padding: 8px 24px calc(22px + env(safe-area-inset-bottom)); gap: 4px 16px; text-align: center; }
  .course-auth .app-footer.auth-footer > a:last-child { flex-basis: 100%; }
}
@media (max-width: 380px) {
  .course-auth .auth-site-header { padding-left: 20px; padding-right: 20px; }
  .course-auth .course-auth-main { padding-left: 16px; padding-right: 16px; padding-top: 26px; }
  .course-auth .authbox { padding: 28px 24px; }
  .course-auth .auth-brand-copy small { display: none; }
  .auth-utilities .auth-check, .auth-utilities .auth-forgot { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .course-auth *, .course-auth *::before, .course-auth *::after { transition: none; animation: none; scroll-behavior: auto; }
}
