:root {
  --ink: #071f65;
  --primary: #075fe4;
  --background: #f7faff;
  --line: #dbe5f5;
  --muted: #566783;
  --surface: #eaf2ff;
  --accent: #ff741e;
  --accent-soft: #ffeadb;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #c34b00;
  outline-offset: 4px;
}
h1,
h2,
h3,
h4 {
  line-height: 1.35;
}
p {
  line-height: 1.85;
  color: var(--muted);
}
.container {
  width: min(1160px, 90%);
  margin: auto;
}
.site-header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(5%, calc((100vw - 1280px) / 2));
  gap: 22px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -1px;
  white-space: nowrap;
}
.brand-icon {
  background: var(--primary);
  color: white;
  padding: 10px;
  border-radius: 11px;
  display: flex;
}
.brand-dot {
  color: var(--accent);
  margin-left: -7px;
}
.nav {
  display: flex;
  gap: 26px;
  font-size: 12px;
}
.nav a {
  color: #566783;
}
.nav a:hover,
.nav .active {
  color: var(--primary);
}
.nav .active {
  font-weight: 700;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--primary);
  color: white;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 14px 20px;
  font-size: 12px;
  font-weight: 600;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #0649b3;
  transform: translateY(-1px);
}
.button.secondary {
  background: transparent;
  border-color: #cbdaf2;
  color: var(--ink);
}
.button.secondary:hover {
  background: #eaf2ff;
}
.header-cta {
  font-size: 11px;
  padding: 12px 16px;
}
.menu {
  display: none;
  background: none;
  border: 0;
  color: var(--ink);
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 65px;
  align-items: center;
  padding: 64px 0 56px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 1.7px;
  color: var(--primary);
  font-weight: 700;
}
.dot {
  width: 7px;
  height: 7px;
  background: #ff741e;
  border-radius: 50%;
}
.hero h1 {
  font-size: 52px;
  letter-spacing: -2.8px;
  line-height: 1.23;
  margin: 23px 0;
}
.hero h1 em {
  font-style: normal;
  color: var(--primary);
}
.hero p {
  font-size: 13px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin: 28px 0;
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  color: var(--muted);
}
.avatars {
  display: flex;
  padding-left: 6px;
}
.avatars span {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  font-size: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 2px solid var(--background);
  margin-left: -6px;
}
.hero-art {
  height: 370px;
  position: relative;
  display: grid;
  place-items: center;
  background: #e5efff;
  border-radius: 26px;
  overflow: hidden;
}
.hero-art:before,
.hero-art:after {
  content: "";
  position: absolute;
  border: 1px solid #c2d8ff;
  border-radius: 50%;
  height: 340px;
  width: 340px;
  right: -85px;
  top: -85px;
}
.hero-art:after {
  width: 440px;
  height: 440px;
  right: -135px;
  top: -135px;
}
.art-star {
  position: absolute;
  top: 25px;
  left: 24px;
  color: var(--accent);
  font-size: 50px;
}
.word-card {
  background: #ffffff;
  width: 265px;
  border-radius: 16px;
  padding: 27px;
  transform: rotate(-6deg);
  box-shadow: 0 18px 30px #071f6515;
  position: relative;
  z-index: 1;
}
.word-label {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #566783;
}
.word-card h2 {
  font-size: 28px;
  margin: 28px 0 4px;
}
.word-card p {
  font-size: 12px;
  margin: 0 0 20px;
}
.word-bottom {
  border-top: 1px dashed #cbdaf2;
  font-size: 10px;
  padding-top: 17px;
  margin-top: 20px;
  color: #566783;
}
.float-label {
  position: absolute;
  z-index: 2;
  background: white;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 10px;
  box-shadow: 0 8px 22px #071f650b;
  display: flex;
  gap: 8px;
  align-items: center;
}
.float-label.top {
  top: 40px;
  right: 14px;
  transform: rotate(5deg);
}
.float-label.bottom {
  bottom: 35px;
  left: 20px;
  transform: rotate(3deg);
}
.art-hello {
  position: absolute;
  bottom: 17px;
  right: 26px;
  font-size: 32px;
  color: #4595ff;
  transform: rotate(-9deg);
  font-weight: 800;
}
.home-stats {
  display: flex;
  justify-content: space-between;
  padding: 25px 0;
  border-block: 1px solid var(--line);
  gap: 20px;
}
.home-stats > div {
  display: flex;
  align-items: center;
  gap: 11px;
}
.home-stats strong {
  font-size: 22px;
  letter-spacing: -1px;
}
.home-stats span {
  font-size: 11px;
  color: var(--muted);
}
.section {
  padding-top: 48px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 24px;
}
.section-heading h2 {
  font-size: 25px;
  letter-spacing: -0.8px;
  margin: 9px 0;
}
.section-heading p {
  font-size: 12px;
  margin: 0;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  padding: 8px 0;
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
}
.text-link:hover {
  text-decoration: underline;
}
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.course-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 25px;
  transition: transform 0.2s;
}
.course-card:hover {
  transform: translateY(-4px);
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.course-icon {
  height: 48px;
  width: 48px;
  display: grid;
  place-items: center;
  font-size: 25px;
  border-radius: 12px;
  background: #e5efff;
}
.work .course-icon {
  background: var(--accent-soft);
}
.toeic .course-icon {
  background: #edf0ff;
}
.badge {
  background: #eaf2ff;
  color: #2456a8;
  font-size: 10px;
  padding: 6px 8px;
  border-radius: 5px;
  white-space: nowrap;
}
.course-card h3 {
  font-size: 17px;
  margin: 23px 0 11px;
  letter-spacing: -0.4px;
}
.course-card p {
  font-size: 12px;
  min-height: 65px;
  margin: 0;
}
.course-meta {
  display: flex;
  gap: 16px;
  font-size: 10px;
  color: #566783;
  margin: 22px 0;
}
.course-meta span {
  display: flex;
  gap: 5px;
  align-items: center;
}
.card-link {
  display: flex;
  justify-content: space-between;
  background: #f0f5ff;
  padding: 13px;
  color: var(--primary);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
}
.card-link:hover {
  background: #dceaff;
}
.home-bottom {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 22px;
  margin: 44px 0;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
  padding: 27px;
}
.panel.green {
  background: var(--surface);
  border-color: var(--surface);
}
.listening-preview h2 {
  font-size: 20px;
  letter-spacing: -0.6px;
}
.listening-preview .section-heading {
  margin: 0;
}
.listening-preview > p {
  font-size: 12px;
}
.featured-audio {
  display: flex;
  gap: 17px;
  align-items: center;
  padding: 18px;
  background: #f0f5ff;
  border-radius: 11px;
  margin: 20px 0 10px;
}
.featured-audio h3 {
  font-size: 14px;
  margin: 0 0 9px;
}
.featured-audio div {
  flex: 1;
}
.featured-audio div > span {
  font-size: 10px;
  color: var(--muted);
}
.audio-emoji {
  background: #dceaff;
  height: 62px;
  width: 62px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 29px;
}
.play-bubble {
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: white;
  width: 40px;
  height: 40px;
}
.daily-tip {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.daily-tip h2 {
  font-size: 24px;
  letter-spacing: -0.7px;
  margin: 19px 0 8px;
}
.daily-tip p {
  font-size: 12px;
  color: #566783;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-footer .brand {
  font-size: 14px;
}
.site-footer p,
.site-footer small {
  font-size: 10px;
}
.site-footer > div:last-of-type {
  display: flex;
  gap: 20px;
  font-size: 11px;
  color: var(--muted);
}
.page {
  padding: 0 0 60px;
  min-height: 75vh;
}
.page-heading {
  padding: 43px 0 33px;
}
.page-heading h1 {
  font-size: 38px;
  letter-spacing: -1.5px;
  margin: 17px 0 12px;
}
.page-heading > p {
  font-size: 13px;
  max-width: 650px;
  margin: 0;
}
.breadcrumb {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 25px;
}
.tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 25px;
  flex-wrap: wrap;
}
.tabs button {
  background: white;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 11px 18px;
  font-size: 12px;
}
.tabs .selected {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.note {
  background: #f0f5ff;
  border-radius: 10px;
  padding: 17px;
  font-size: 12px;
  line-height: 1.9;
  color: #566783;
}
.spaced {
  margin-top: 30px;
}
.learning-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 25px;
  align-items: start;
}
.lesson-list {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.lesson-row {
  display: flex;
  align-items: center;
  padding: 25px;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}
.lesson-row:last-child {
  border-bottom: 0;
}
.lesson-row:hover {
  background: #f0f5ff;
}
.lesson-number {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #eaf2ff;
  color: #2456a8;
  border-radius: 10px;
  width: 45px;
  height: 45px;
  font-size: 15px;
  font-weight: 700;
}
.lesson-number.finished {
  background: #dceaff;
  color: var(--primary);
}
.lesson-row > div {
  flex: 1;
}
.lesson-row h3 {
  margin: 0 0 8px;
  font-size: 14px;
}
.lesson-row div > span,
.lesson-time {
  color: var(--muted);
  font-size: 10px;
}
.progress {
  height: 6px;
  background: #dbe5f5;
  border-radius: 7px;
  overflow: hidden;
  margin: 19px 0;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--primary);
  border-radius: 7px;
  transition: width 0.3s;
}
.learning-layout aside h2 {
  font-size: 25px;
}
.learning-layout aside p {
  font-size: 12px;
}
.sample {
  background: #f0f5ff;
  padding: 23px;
  border-radius: 10px;
  margin: 20px 0;
}
.sample p {
  color: var(--ink);
  font-size: 18px;
  margin: 0 0 14px;
  line-height: 1.85;
}
.sample span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}
.lesson-content h2 {
  font-size: 23px;
  margin: 14px 0;
}
.lesson-content > h3 {
  font-size: 16px;
  margin-top: 28px;
}
.audio-player {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  background: #f5f8ff;
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 10px;
  margin: 20px 0;
}
.audio-player .button {
  padding: 11px 16px;
  flex-shrink: 0;
}
.audio-player.compact {
  padding: 0;
  border: 0;
  background: transparent;
  margin: 0;
}
.compact .button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  padding: 0;
}
.wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 35px;
  flex: 1;
  overflow: hidden;
}
.wave i {
  display: block;
  background: #4595ff;
  width: 3px;
  border-radius: 3px;
  flex-shrink: 0;
}
.wave.playing i {
  animation: pulse 0.65s ease-in-out infinite alternate;
}
.wave.playing i:nth-child(3n) {
  animation-delay: 0.3s;
}
.speed {
  font-size: 9px;
  color: var(--muted);
}
.speed select {
  display: block;
  border: 0;
  background: transparent;
  color: var(--primary);
  font-size: 11px;
  padding: 4px 0;
}
.audio-error {
  color: #a55739;
  font-size: 11px;
  width: 100%;
}
.audio-error:empty {
  display: none;
}
.vocab {
  display: grid;
  gap: 8px;
}
.vocab div {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  color: #566783;
  font-size: 13px;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 30px 0;
}
.quiz h3 {
  font-size: 17px;
  margin: 20px 0;
}
.answers {
  display: grid;
  gap: 10px;
  margin: 23px 0;
}
.answer {
  display: flex;
  align-items: center;
  gap: 13px;
  text-align: left;
  padding: 15px;
  background: white;
  border: 1px solid #dbe5f5;
  border-radius: 8px;
  color: var(--ink);
  font-size: 13px;
}
.answer > span {
  display: grid;
  place-items: center;
  background: #eaf2ff;
  width: 27px;
  height: 27px;
  border-radius: 5px;
  font-size: 11px;
  flex-shrink: 0;
}
.answer:hover,
.answer.chosen {
  border-color: var(--primary);
  background: #edf4ff;
}
.answer.correct {
  background: #e5efff;
  border-color: #075fe4;
  opacity: 1;
}
.answer.incorrect {
  background: #fff1e9;
  border-color: #d6a08a;
}
.answer > svg {
  margin-left: auto;
}
.feedback {
  padding: 18px;
  border-radius: 10px;
  margin-top: 20px;
  font-size: 12px;
}
.feedback.success {
  background: #e5efff;
}
.feedback.retry {
  background: #fff3eb;
}
.feedback p {
  margin: 8px 0 0;
}
.completion {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  color: var(--primary);
  font-size: 12px;
}
.completion .button {
  margin-left: auto;
}
.side-lessons {
  display: grid;
  gap: 8px;
  margin: 25px 0;
}
.side-lessons a {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  padding: 12px;
  border-radius: 7px;
}
.side-lessons a span {
  font-size: 10px;
}
.side-lessons a.current {
  background: var(--surface);
  color: var(--primary);
  font-weight: 600;
}
.listening-art {
  height: 145px;
  background: #e5efff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 10px;
  margin-bottom: 20px;
}
.listening-art > span:first-child {
  font-size: 56px;
}
.listening-art .play-bubble {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: white;
  color: var(--primary);
}
.listening-card:nth-child(2) .listening-art {
  background: var(--accent-soft);
}
.listening-card:nth-child(3) .listening-art {
  background: #edf0ff;
}
.listening-card:hover {
  border-color: #92b8f5;
}
.listening-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.listening-card p {
  font-size: 11px;
}
.narrow {
  max-width: 760px;
  margin: 0 auto;
}
.narrow > p {
  font-size: 13px;
}
.transcript {
  margin-top: 25px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 12px;
}
.transcript summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
}
.transcript p {
  line-height: 2;
}
.small {
  font-size: 11px;
}
.muted {
  color: var(--muted);
}
.placement {
  padding: 35px;
}
.placement h2 {
  font-size: 25px;
}
.placement .note {
  margin-bottom: 25px;
}
.placement > .text-link {
  margin-left: 18px;
}
.result-icon {
  display: flex;
  color: #c34b00;
  background: var(--accent-soft);
  padding: 18px;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  margin-bottom: 25px;
}
.dashboard-stats,
.toeic-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 38px;
}
.dashboard-stats .panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dashboard-stats strong {
  font-size: 38px;
  color: var(--primary);
}
.dashboard-stats span {
  color: var(--muted);
  font-size: 12px;
}
.dashboard-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
}
.dashboard-note h3 {
  font-size: 17px;
}
.dashboard-note p {
  font-size: 12px;
}
.reset-area {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
  font-size: 12px;
  flex-wrap: wrap;
}
.danger {
  background: #ac4d35;
}
.toeic-features svg {
  color: var(--primary);
}
.toeic-features h3 {
  font-size: 17px;
}
.toeic-features p {
  font-size: 12px;
}
.empty-page {
  padding-top: 100px;
  text-align: center;
}
.empty-page .eyebrow {
  justify-content: center;
}
.empty-page .button {
  margin-top: 15px;
}
.skeleton {
  height: 100px;
  width: 100%;
  background: var(--surface);
  border-radius: 12px;
  animation: pulse 1s infinite alternate;
  margin: 30px 0;
}
.skeleton.short {
  height: 200px;
}
@keyframes pulse {
  to {
    opacity: 0.5;
    transform: scaleY(0.6);
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
@media (max-width: 1000px) {
  .site-header {
    gap: 15px;
  }
  .nav {
    gap: 15px;
  }
  .brand {
    font-size: 17px;
  }
  .hero {
    gap: 30px;
  }
  .hero h1 {
    font-size: 44px;
  }
  .home-stats > div {
    flex-direction: column;
    align-items: start;
    gap: 5px;
  }
  .course-card {
    padding: 21px;
  }
  .course-meta {
    gap: 8px;
  }
  .learning-layout {
    grid-template-columns: minmax(0, 1.8fr) minmax(230px, 1fr);
  }
  .site-footer {
    flex-wrap: wrap;
  }
  .lesson-time {
    display: none;
  }
}
@media (max-width: 760px) {
  .site-header {
    height: 76px;
    position: relative;
  }
  .header-cta {
    margin-left: auto;
    padding: 10px;
    font-size: 10px;
    gap: 4px;
  }
  .menu {
    display: flex;
    padding: 5px;
  }
  .nav {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    background: var(--background);
    padding: 25px 6%;
    z-index: 5;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 20px #071f650a;
  }
  .nav.open {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 38px;
    gap: 30px;
  }
  .hero h1 {
    font-size: 44px;
  }
  .hero-art {
    height: 335px;
  }
  .hero-proof {
    font-size: 9px;
  }
  .home-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 23px;
  }
  .home-stats > div {
    flex-direction: row;
    align-items: center;
  }
  .home-stats strong {
    font-size: 20px;
  }
  .home-stats span {
    font-size: 9px;
  }
  .courses-grid {
    grid-template-columns: 1fr;
  }
  .course-card p {
    min-height: 0;
  }
  .home-bottom,
  .learning-layout {
    grid-template-columns: 1fr;
  }
  .section-heading {
    align-items: start;
  }
  .section-heading h2 {
    font-size: 22px;
  }
  .section-heading > .text-link {
    font-size: 10px;
    flex-shrink: 0;
  }
  .page-heading h1 {
    font-size: 30px;
  }
  .page-heading {
    padding-top: 32px;
  }
  .dashboard-stats {
    gap: 10px;
  }
  .dashboard-stats .panel {
    padding: 15px;
  }
  .dashboard-stats strong {
    font-size: 28px;
  }
  .dashboard-stats span {
    font-size: 10px;
  }
  .dashboard-note {
    align-items: start;
    flex-direction: column;
  }
  .toeic-features {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .panel {
    padding: 22px;
  }
  .lesson-row {
    padding: 20px;
    gap: 12px;
  }
  .lesson-row h3 {
    font-size: 13px;
  }
  .lesson-row div > span {
    font-size: 9px;
  }
  .site-footer {
    gap: 14px;
  }
  .site-footer p {
    margin: 0;
  }
  .site-footer small {
    width: 100%;
  }
  .placement {
    padding: 25px;
  }
  .audio-player {
    gap: 12px;
  }
  .wave {
    min-width: 70px;
  }
  .completion .button {
    margin-left: 0;
  }
  .desktop {
    display: none;
  }
}
@media (max-width: 400px) {
  .brand {
    font-size: 14px;
    gap: 6px;
  }
  .brand-icon {
    padding: 8px;
  }
  .header-cta {
    font-size: 9px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .hero-actions {
    gap: 9px;
  }
  .hero-actions .button {
    padding: 12px;
    font-size: 10px;
    gap: 8px;
  }
  .home-stats > div {
    flex-direction: column;
    align-items: start;
  }
  .float-label {
    font-size: 9px;
  }
  .word-card {
    width: 240px;
  }
}

[hidden] { display: none !important; }
.auth-nav { display:flex; align-items:center; gap:16px; margin-left:auto; flex-shrink:0; }
.auth-nav form { margin:0; }
.auth-nav .text-link { font-size:12px; }
.auth-form { display:grid; gap:12px; }
.auth-form label { font-size:13px; font-weight:600; margin-top:10px; }
.auth-form input:not([type=hidden]) { width:100%; border:1px solid var(--line); border-radius:8px; padding:13px; font:inherit; background:white; color:var(--ink); }
.auth-form input:focus { outline:2px solid var(--primary); outline-offset:2px; }
.auth-form .button { margin-top:14px; justify-content:center; }
.auth-switch { margin-top:25px; font-size:13px; }
.auth-panel .feedback { margin:0 0 20px; }
@media(max-width:1000px) { .site-header { flex-wrap:wrap; height:auto; min-height:90px; padding-top:16px; padding-bottom:16px; } }
@media(max-width:760px) { .auth-nav { gap:10px; } .auth-nav .text-link { font-size:10px; } .site-header .nav { top:100%; } }
.site-header .brand-logo { display:block; width:44px; height:44px; object-fit:contain; flex-shrink:0; }
@media(max-width:400px) { .site-header .brand-logo { width:36px; height:36px; } }

/* Persistent learning forms */
.panel textarea { display:block; width:100%; min-height:90px; padding:12px; border:1px solid #b9c8bf; border-radius:10px; font:inherit; }
.panel { margin-bottom:20px; }
.panel fieldset { border:1px solid #b9c8bf; border-radius:12px; padding:16px; }
.panel input[type=radio] { width:20px; height:20px; vertical-align:middle; }
:focus-visible { outline:3px solid #075fe4; outline-offset:3px; }
