/*! modern-normalize v3.0.1 | MIT License | https://github.com/sindresorhus/modern-normalize */
/*
Document
========
*/
/**
Use a better box model (opinionated).
*/
*,
::before,
::after {
  box-sizing: border-box;
}

html {
  /* Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3) */
  font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.15; /* 1. Correct the line height in all browsers. */
  -webkit-text-size-adjust: 100%; /* 2. Prevent adjustments of font size after orientation changes in iOS. */
  -moz-tab-size: 4;
    -o-tab-size: 4;
       tab-size: 4; /* 3. Use a more readable tab size (opinionated). */
}

/*
Sections
========
*/
body {
  margin: 0; /* Remove the margin in all browsers. */
}

/*
Text-level semantics
====================
*/
/**
Add the correct font weight in Chrome and Safari.
*/
b,
strong {
  font-weight: bolder;
}

/**
1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
2. Correct the odd 'em' font sizing in all browsers.
*/
code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
Add the correct font size in all browsers.
*/
small {
  font-size: 80%;
}

/**
Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
*/
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
Tabular data
============
*/
/**
Correct table border color inheritance in Chrome and Safari. (https://issues.chromium.org/issues/40615503, https://bugs.webkit.org/show_bug.cgi?id=195016)
*/
table {
  border-color: currentcolor;
}

/*
Forms
=====
*/
/**
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
*/
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
Correct the inability to style clickable types in iOS and Safari.
*/
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
*/
legend {
  padding: 0;
}

/**
Add the correct vertical alignment in Chrome and Firefox.
*/
progress {
  vertical-align: baseline;
}

/**
Correct the cursor style of increment and decrement buttons in Safari.
*/
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/**
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
Remove the inner padding in Chrome and Safari on macOS.
*/
::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to 'inherit' in Safari.
*/
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Interactive
===========
*/
/*
Add the correct display in Chrome and Safari.
*/
summary {
  display: list-item;
}

html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "europa", "Helvetica Neue", Arial, sans-serif, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif, "Noto Sans Khmer", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1a1a1a;
  background: #fafaf7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: #9a000c;
  text-decoration: none;
}
a:hover {
  color: #b50310;
  text-decoration: underline;
  text-underline-offset: 3px;
}
a:focus-visible {
  outline: 2px solid #9a000c;
  outline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.header {
  height: 64px;
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
  padding: 0 16px;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .header {
    padding: 0 24px;
  }
}
@media (min-width: 1024px) {
  .header {
    padding: 0 32px;
  }
}
.header .header__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header .header__logo {
  font-family: "europa", "Helvetica Neue", Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #9a000c;
}

.main {
  flex: 1 0 auto;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .main {
    padding: 32px 24px;
  }
}
@media (min-width: 1024px) {
  .main {
    padding: 32px;
  }
}

.footer {
  flex-shrink: 0;
  background: #f2f2f0;
  color: #3d3d3d;
  padding: 32px 16px;
  font-size: 14px;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .footer {
    padding: 32px 24px;
  }
}
@media (min-width: 1024px) {
  .footer {
    padding: 32px;
  }
}
.footer .footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (min-width: 1024px) {
  .footer .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.sidebar {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear 0.25s;
}
.sidebar.is-open {
  pointer-events: auto;
  visibility: visible;
  transition: visibility 0s;
}
.sidebar__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(26, 26, 26, 0.45);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.sidebar.is-open .sidebar__overlay {
  opacity: 1;
}
.sidebar__drawer {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 80%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  box-shadow: 0 12px 32px rgba(26, 26, 26, 0.12);
  transform: translateX(-100%);
  transition: transform 0.25s ease;
}
@media (min-width: 1024px) {
  .sidebar__drawer {
    width: 320px;
  }
}
.sidebar.is-open .sidebar__drawer {
  transform: translateX(0);
}
.sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e5e5;
}
.sidebar__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
}
.sidebar__close {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  color: #3d3d3d;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}
.sidebar__close:hover {
  background-color: #f2f2f0;
}
.sidebar__user {
  padding: 16px 20px;
  background-color: #fafaf7;
  border-bottom: 1px solid #e5e5e5;
}
.sidebar__user-name {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}
.sidebar__user-company {
  margin: 0;
  font-size: 12px;
  color: #6b6b6b;
}
.sidebar__nav {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}
.sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebar__link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 20px;
  font-size: 15px;
  color: #1a1a1a;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.sidebar__link:hover, .sidebar__link:focus {
  background-color: #f2f2f0;
  color: #9a000c;
}
.sidebar__link-label {
  flex: 1;
}
.sidebar__footer {
  padding: 16px 20px;
  border-top: 1px solid #e5e5e5;
}

body.has-sidebar-open {
  overflow: hidden;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: 6px;
  border: 1.5px solid transparent;
  font-family: "europa", "Helvetica Neue", Arial, sans-serif, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif, "Noto Sans Khmer", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms cubic-bezier(0.4, 0, 0.2, 1), border-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.btn:focus-visible {
  outline: 2px solid #9a000c;
  outline-offset: 2px;
}
@media (max-width: 767px) {
  .btn {
    width: 100%;
  }
}

.btn--large {
  height: 56px;
  padding: 0 32px;
  font-size: 18px;
}

.btn--primary {
  background: #9a000c;
  color: #ffffff;
}
.btn--primary:hover {
  background: #b50310;
  color: #ffffff;
  text-decoration: none;
}
.btn--primary:active {
  background: #7a000a;
}

.btn--secondary {
  background: #ffffff;
  color: #1a1a1a;
  border-color: #1a1a1a;
}
.btn--secondary:hover {
  background: #1a1a1a;
  color: #ffffff;
  text-decoration: none;
}

.btn--tertiary {
  background: transparent;
  color: #9a000c;
  text-decoration: underline;
  text-underline-offset: 3px;
  border: none;
}

.btn--danger {
  background: #ffffff;
  color: #9a000c;
  border-color: #9a000c;
}
.btn--danger:hover {
  background: #9a000c;
  color: #ffffff;
}

.btn[disabled],
.btn--disabled {
  background: #e5e5e5;
  color: #6b6b6b;
  border-color: #e5e5e5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn--block {
  width: 100%;
}

.btn--social {
  height: 56px;
  padding: 0 24px;
  width: 100%;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.btn--social .btn--social__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.btn--social .btn__label {
  line-height: 1;
}
.btn--social[disabled], .btn--social:disabled {
  background: #f2f2f0 !important;
  color: #6b6b6b !important;
  border-color: #e5e5e5 !important;
  cursor: not-allowed;
  pointer-events: none;
}

.btn--social-line {
  background: #06c755;
  color: #ffffff;
  border-color: #06c755;
}
.btn--social-line:hover {
  background: #05a948;
  border-color: #05a948;
  color: #ffffff;
  text-decoration: none;
}
.btn--social-line:active {
  background: #048a3b;
  border-color: #048a3b;
}
.btn--social-line:focus-visible {
  outline: 2px solid #06c755;
  outline-offset: 2px;
}

.btn--social-google {
  background: #ffffff;
  color: #1f1f1f;
  border-color: #dadce0;
}
.btn--social-google:hover {
  background: #f8f9fa;
  border-color: #d2d6da;
  color: #1f1f1f;
  text-decoration: none;
}
.btn--social-google:active {
  background: #f1f3f4;
}
.btn--social-google:focus-visible {
  outline: 2px solid #4285F4;
  outline-offset: 2px;
}

.lang-switcher {
  position: relative;
}
.lang-switcher__toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 56px;
  height: 48px;
  padding: 0 12px;
  background: transparent;
  border: 1.5px solid #e5e5e5;
  border-radius: 6px;
  color: #1a1a1a;
  font-family: "europa", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 150ms cubic-bezier(0.4, 0, 0.2, 1), background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-tap-highlight-color: transparent;
}
.lang-switcher__toggle:hover {
  background: #f2f2f0;
  border-color: #c4c4c4;
}
.lang-switcher__toggle:focus-visible {
  outline: 2px solid #9a000c;
  outline-offset: 2px;
}
.lang-switcher__caret {
  font-size: 10px;
  line-height: 1;
  opacity: 0.7;
}
.lang-switcher__overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0s linear 0.25s;
}
.lang-switcher__menu {
  margin: 0;
  padding: 0;
  list-style: none;
  background: #ffffff;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.25s;
}
.lang-switcher__heading {
  display: none;
}
.lang-switcher__item {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding: 0 16px;
  color: #1a1a1a;
  text-decoration: none;
  transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.lang-switcher__item:hover {
  background: #f2f2f0;
  color: #1a1a1a;
  text-decoration: none;
}
.lang-switcher__item:focus-visible {
  outline: 2px solid #9a000c;
  outline-offset: -2px;
}
.lang-switcher__item-code {
  font-family: "europa", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #6b6b6b;
  min-width: 28px;
}
.lang-switcher__item-name {
  font-size: 15px;
}
.lang-switcher__item--current .lang-switcher__item-code {
  color: #9a000c;
}
.lang-switcher__item--current .lang-switcher__item-name {
  font-weight: 700;
  color: #9a000c;
}
.lang-switcher.is-open .lang-switcher__menu,
.lang-switcher.is-open .lang-switcher__overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s;
}
@media (min-width: 768px) {
  .lang-switcher__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(26, 26, 26, 0.08);
    overflow: hidden;
    transform: translateY(-8px);
  }
  .lang-switcher.is-open .lang-switcher__menu {
    transform: translateY(0);
  }
}
@media (max-width: 767px) {
  .lang-switcher__overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.4);
    z-index: 1000;
  }
  .lang-switcher__menu {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    padding: 16px 0 24px;
    box-shadow: 0 12px 32px rgba(26, 26, 26, 0.12);
    transform: translateY(100%);
  }
  .lang-switcher.is-open .lang-switcher__menu {
    transform: translateY(0);
  }
  .lang-switcher__heading {
    display: block;
    padding: 8px 16px 16px;
    color: #6b6b6b;
    font-size: 13px;
    font-weight: 500;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 8px;
  }
  .lang-switcher__item {
    height: 56px;
    font-size: 16px;
  }
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form__label {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.4;
}

.form__required {
  margin-left: 4px;
  color: #9a000c;
  font-weight: 700;
}

.form__optional {
  margin-left: 6px;
  color: #6b6b6b;
  font-size: 12px;
  font-weight: 400;
}

.form__input {
  height: 48px;
  width: 100%;
  background: #ffffff;
  border: 1.5px solid #c4c4c4;
  border-radius: 6px;
  padding: 0 16px;
  font-family: "europa", "Helvetica Neue", Arial, sans-serif, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif, "Noto Sans Khmer", sans-serif;
  font-size: 16px;
  line-height: 1;
  color: #1a1a1a;
  transition: border-color 150ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-appearance: none;
}
.form__input::-moz-placeholder {
  color: #6b6b6b;
}
.form__input::placeholder {
  color: #6b6b6b;
}
.form__input:hover {
  border-color: #6b6b6b;
}
.form__input:focus, .form__input:focus-visible {
  outline: none;
  border-color: #9a000c;
  box-shadow: 0 0 0 3px rgba(154, 0, 12, 0.15);
}
.form__input--error {
  border-color: #9a000c;
  background: #fdeaec;
}
.form__input--error:focus {
  box-shadow: 0 0 0 3px rgba(154, 0, 12, 0.25);
}

.form__help {
  font-size: 13px;
  line-height: 1.6;
  color: #6b6b6b;
  margin: 0;
}

.form__error {
  font-size: 14px;
  line-height: 1.5;
  color: #9a000c;
  margin: 0;
  font-weight: 500;
}

.card {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 24px;
  transition: box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: #1a1a1a;
}
.card:hover {
  box-shadow: 0 4px 12px rgba(26, 26, 26, 0.08);
  color: #1a1a1a;
  text-decoration: none;
}
.card:focus-visible {
  outline: 2px solid #9a000c;
  outline-offset: 2px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  background: #f2f2f0;
  color: #3d3d3d;
  letter-spacing: 0.02em;
}
.badge--success {
  background: #e6f4ea;
  color: #1f7a3a;
}
.badge--warning {
  background: #fcf0d9;
  color: #b77b00;
}
.badge--danger {
  background: #fdeaec;
  color: #9a000c;
}
.badge--info {
  background: #e4f0f8;
  color: #0b5d8f;
}
.badge--grade {
  background: #9a000c;
  color: #ffffff;
  font-weight: 700;
  font-family: "europa", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.04em;
}

.progress-bar {
  position: relative;
  height: 6px;
  background: #e5e5e5;
  border-radius: 3px;
  overflow: hidden;
  width: 100%;
}
.progress-bar__fill {
  height: 100%;
  background: #9a000c;
  border-radius: 3px;
  transition: width 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.progress-bar--lg {
  height: 10px;
  border-radius: 5px;
}
.progress-bar--lg .progress-bar__fill {
  border-radius: 5px;
}

.video-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(26, 26, 26, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.video-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 26, 26, 0.08);
}
.video-card__head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid #f2f2f0;
}
.video-card__heading {
  flex: 1;
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #1a1a1a;
}
@media (min-width: 1024px) {
  .video-card__heading {
    font-size: 15px;
  }
}
.video-card__no {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 6px;
  background-color: #f2f2f0;
  color: #3d3d3d;
  font-family: "europa", "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 4px;
  vertical-align: 0.05em;
}
.video-card__heading-title {
  font-weight: 600;
  word-break: break-word;
}
.video-card__archive-form {
  margin: 0;
  flex-shrink: 0;
}
.video-card__archive {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  color: #6b6b6b;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.video-card__archive:hover {
  background-color: #f2f2f0;
  color: #9a000c;
}
.video-card__archive--on {
  color: #9a000c;
}
.video-card__thumb {
  position: relative;
  display: block;
  aspect-ratio: 16/9;
  background-color: #c4c4c4;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  text-decoration: none;
}
.video-card__thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.45) 100%);
  transition: opacity 0.15s ease;
}
.video-card__thumb:hover {
  text-decoration: none;
}
.video-card__thumb:hover::before {
  opacity: 0.75;
}
.video-card__overlay {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 1;
  font-family: "europa", "Helvetica Neue", Arial, sans-serif;
  font-style: normal;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}
.video-card__overlay small {
  display: inline-block;
  margin-top: 4px;
  font-family: "europa", "Helvetica Neue", Arial, sans-serif, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif, "Noto Sans Khmer", sans-serif;
  font-weight: 500;
  font-size: 12px;
  opacity: 0.92;
}
@media (min-width: 1024px) {
  .video-card__overlay {
    font-size: 20px;
  }
}
.video-card__status {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
}
.video-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background-color: #fafaf7;
}
.video-card__desc-toggle {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.video-card__desc-toggle:hover {
  background-color: #e5e5e5;
}
.video-card__desc-spacer {
  width: 36px;
  height: 36px;
}
.video-card__rate {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  gap: 2px;
}
.video-card__rate-star {
  font-size: 16px;
  line-height: 1;
  color: #c4c4c4;
}
.video-card__rate-star.is-on {
  color: #9a000c;
}
.video-card__desc {
  padding: 12px 14px 14px;
  border-top: 1px solid #f2f2f0;
  background-color: #ffffff;
}
.video-card__desc p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: #3d3d3d;
  white-space: pre-wrap;
  word-break: break-word;
}
.video-card__desc[hidden] {
  display: none;
}

.hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 48px;
  height: 48px;
  padding: 12px;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.hamburger:hover {
  background-color: #f2f2f0;
}
.hamburger:focus-visible {
  outline: 2px solid #9a000c;
  outline-offset: 2px;
}
.hamburger__bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #1a1a1a;
  border-radius: 1px;
}

.main--welcome {
  max-width: 720px;
  padding-top: 48px;
  padding-bottom: 64px;
}
@media (min-width: 1024px) {
  .main--welcome {
    padding-top: 80px;
    padding-bottom: 96px;
  }
}

.welcome {
  text-align: center;
}
.welcome__hero {
  margin-bottom: 40px;
}
@media (min-width: 1024px) {
  .welcome__hero {
    margin-bottom: 56px;
  }
}
.welcome__title {
  font-family: "europa", "Helvetica Neue", Arial, sans-serif;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #9a000c;
  margin: 0 0 24px;
}
@media (min-width: 1024px) {
  .welcome__title {
    font-size: 72px;
  }
}
.welcome__subtitle {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: #1a1a1a;
  margin: 0 0 16px;
}
@media (min-width: 1024px) {
  .welcome__subtitle {
    font-size: 22px;
  }
}
.welcome__lead {
  font-size: 14px;
  line-height: 1.8;
  color: #3d3d3d;
  margin: 0 auto;
  max-width: 560px;
}
@media (min-width: 1024px) {
  .welcome__lead {
    font-size: 16px;
  }
}
.welcome__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
@media (min-width: 1024px) {
  .welcome__cta {
    flex-direction: row;
    justify-content: center;
    gap: 16px;
  }
}
@media (max-width: 767px) {
  .welcome__cta-primary {
    width: 100%;
  }
}
@media (max-width: 767px) {
  .welcome__cta-secondary {
    width: 100%;
  }
}

.main--auth {
  max-width: 480px;
  padding-top: 32px;
  padding-bottom: 64px;
}
@media (min-width: 1024px) {
  .main--auth {
    padding-top: 64px;
    padding-bottom: 96px;
  }
}

.auth {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.auth__title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: #1a1a1a;
  text-align: center;
}
@media (min-width: 1024px) {
  .auth__title {
    font-size: 28px;
  }
}

.auth__lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #3d3d3d;
  text-align: center;
}

.auth__hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: #6b6b6b;
  text-align: center;
}

.auth__notice {
  background: #e4f0f8;
  color: #0b5d8f;
  border-left: 4px solid #0b5d8f;
  padding: 12px 16px;
  border-radius: 0 6px 6px 0;
  font-size: 14px;
  line-height: 1.6;
}
.auth__notice--success {
  background: #e6f4ea;
  color: #1f7a3a;
  border-left-color: #1f7a3a;
}

.auth__social {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auth__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #6b6b6b;
  font-size: 13px;
  line-height: 1;
}
.auth__divider::before, .auth__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e5e5;
}

.auth__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  font-size: 14px;
}
.auth__links a {
  color: #9a000c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.main--approval {
  max-width: 560px;
  padding-top: 48px;
  padding-bottom: 64px;
}
@media (min-width: 1024px) {
  .main--approval {
    padding-top: 80px;
  }
}

.approval {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  padding: 32px 24px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
}
@media (min-width: 1024px) {
  .approval {
    padding: 48px 40px;
  }
}

.approval__title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  color: #9a000c;
}
@media (min-width: 1024px) {
  .approval__title {
    font-size: 26px;
  }
}

.approval__hello {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
}

.approval__lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #3d3d3d;
}

.approval__detail {
  background: #fafaf7;
  border-radius: 6px;
  padding: 16px 20px;
  text-align: left;
}

.approval__note {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #3d3d3d;
}

.approval__logout-form {
  margin-top: 8px;
}

.main--company-auth {
  max-width: 480px;
  padding-top: 32px;
  padding-bottom: 64px;
}
@media (min-width: 1024px) {
  .main--company-auth {
    padding-top: 64px;
    padding-bottom: 96px;
  }
}

.company-auth {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 32px 24px;
}
@media (min-width: 1024px) {
  .company-auth {
    padding: 40px 32px;
  }
}

.company-auth__title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  color: #1a1a1a;
  text-align: center;
}
@media (min-width: 1024px) {
  .company-auth__title {
    font-size: 26px;
  }
}

.company-auth__lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #3d3d3d;
  text-align: center;
}

.company-auth__logout-form {
  margin-top: 8px;
  text-align: center;
}

.main--home {
  max-width: 1200px;
  padding-top: 32px;
  padding-bottom: 64px;
}
@media (min-width: 1024px) {
  .main--home {
    padding-top: 48px;
  }
}

.home {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.home__hero {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.home__hello {
  margin: 0;
  font-size: 14px;
  color: #3d3d3d;
}
.home__title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #9a000c;
}
@media (min-width: 1024px) {
  .home__title {
    font-size: 36px;
  }
}
.home__section-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}
@media (min-width: 1024px) {
  .home__section-title {
    font-size: 20px;
  }
}
.home__section-lead {
  margin: 0 0 16px;
  font-size: 13px;
  color: #6b6b6b;
}
.home__lessons, .home__exam-prep {
  display: flex;
  flex-direction: column;
}
.home__exam-prep {
  padding-top: 32px;
  border-top: 1px dashed #e5e5e5;
}
.home__overall {
  background: linear-gradient(135deg, #9a000c 0%, #7a000a 100%);
  color: #ffffff;
  padding: 24px;
  border-radius: 8px;
}
.home__overall .home__section-title {
  color: #ffffff;
  opacity: 0.9;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 12px;
}
.home__recent-grid, .home__category-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .home__recent-grid, .home__category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .home__recent-grid, .home__category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}
.home__empty {
  color: #6b6b6b;
  font-size: 14px;
  margin: 0;
}
.home__footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  align-items: stretch;
}
@media (min-width: 1024px) {
  .home__footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.home__logout-form {
  margin: 0;
}

.overall-progress__bar {
  height: 10px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 8px;
}
.overall-progress__fill {
  height: 100%;
  background: #ffffff;
  border-radius: 5px;
  transition: width 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.overall-progress__meta {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

.category-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(26, 26, 26, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.category-card:hover, .category-card:focus, .category-card:hover .category-card__title, .category-card:hover .category-card__sub-label {
  text-decoration: none;
}
.category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 26, 26, 0.08);
}
.category-card__figure {
  margin: 0;
}
.category-card__img-box {
  position: relative;
  aspect-ratio: 16/9;
  background-color: #c4c4c4;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 16px;
}
.category-card__img-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.55) 100%);
}
.category-card__img-box > * {
  position: relative;
  z-index: 1;
}
.category-card__grade {
  font-family: "europa", "Helvetica Neue", Arial, sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
}
@media (min-width: 1024px) {
  .category-card__grade {
    font-size: 56px;
  }
}
.category-card__label {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.9;
}
.category-card__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}
@media (min-width: 1024px) {
  .category-card__title {
    font-size: 18px;
  }
}
.category-card__sub-label {
  font-size: 13px;
  font-style: normal;
  opacity: 0.85;
  line-height: 1.4;
}
.category-card__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 8px;
}
.category-card__progress {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 16px 16px;
}
.category-card__progress-meta {
  margin: 0;
  font-size: 13px;
  color: #3d3d3d;
}

.badge--exam {
  background-color: #9a000c;
  color: #ffffff;
  border: 0;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.badge--count {
  background-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.main--category {
  max-width: 1200px;
  padding-top: 16px;
  padding-bottom: 64px;
}

.category {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (max-width: 767px) {
  .category {
    gap: 16px;
  }
}
.category__breadcrumb {
  font-size: 14px;
}
.category__breadcrumb a {
  color: #9a000c;
  text-decoration: none;
}
.category__breadcrumb a:hover {
  text-decoration: underline;
}
.category__count {
  margin: 0;
  font-size: 13px;
  color: #6b6b6b;
  text-align: right;
}
.category__videos {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .category__videos {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .category__videos {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}
.category__empty {
  margin: 0;
  padding: 32px 16px;
  text-align: center;
  font-size: 14px;
  color: #6b6b6b;
  background-color: #ffffff;
  border: 1px dashed #e5e5e5;
  border-radius: 8px;
}

.category-hero {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background-color: #3d3d3d;
  background-size: cover;
  background-position: center;
  color: #ffffff;
}
@media (max-width: 767px) {
  .category-hero {
    margin-left: -16px;
    margin-right: -16px;
    border-radius: 0;
  }
}
.category-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.45) 0%, rgba(122, 0, 10, 0.78) 100%);
}
.category-hero__inner {
  position: relative;
  z-index: 1;
  padding: 28px 20px;
  padding-right: 96px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
@media (min-width: 1024px) {
  .category-hero__inner {
    padding: 40px 32px;
    padding-right: 180px;
    min-height: 220px;
  }
}
.category-hero__grade {
  position: absolute;
  top: -10px;
  right: 8px;
  z-index: 1;
  font-family: "europa", "Helvetica Neue", Arial, sans-serif;
  font-size: 120px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #ffffff;
  opacity: 0.22;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
@media (min-width: 1024px) {
  .category-hero__grade {
    top: -16px;
    right: 24px;
    font-size: 200px;
  }
}
.category-hero__label {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.92;
}
.category-hero__title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}
@media (min-width: 1024px) {
  .category-hero__title {
    font-size: 28px;
  }
}
.category-hero__sub-label {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.92;
}

.main--video {
  max-width: 1200px;
  padding-top: 24px;
  padding-bottom: 64px;
}

.video {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 1024px) {
  .video {
    gap: 24px;
  }
}
.video__breadcrumb {
  font-size: 14px;
}
.video__breadcrumb a {
  color: #9a000c;
  text-decoration: none;
}
.video__breadcrumb a:hover {
  text-decoration: underline;
}
.video__layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 1024px) {
  .video__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 32px;
    align-items: start;
  }
}
.video__aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
@media (min-width: 1024px) {
  .video__aside {
    gap: 20px;
  }
}
.video__player-wrap {
  position: sticky;
  top: 0px;
  z-index: 10;
}
@media (max-width: 767px) {
  .video__player-wrap {
    margin-left: -16px;
    margin-right: -16px;
  }
}
@media (min-width: 1024px) {
  .video__player-wrap {
    top: 24px;
    margin-left: 0;
    margin-right: 0;
  }
}
.video__player {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
  border-radius: 0;
  max-height: 56vh;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .video__player {
    max-height: 50vh;
    border-radius: 6px;
  }
}
@media (min-width: 1024px) {
  .video__player {
    max-height: calc(100vh - 24px - 48px);
    border-radius: 6px;
  }
}
.video__player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video__player-missing {
  aspect-ratio: 16/9;
  max-height: 56vh;
  background: #f2f2f0;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b6b6b;
  font-size: 14px;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .video__player-missing {
    max-height: 50vh;
    border-radius: 6px;
  }
}
@media (min-width: 1024px) {
  .video__player-missing {
    max-height: calc(100vh - 24px - 48px);
    border-radius: 6px;
  }
}
.video__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.video__title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.video__title {
  flex: 1;
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
  word-break: break-word;
  min-width: 0;
}
@media (min-width: 1024px) {
  .video__title {
    font-size: 26px;
  }
}
.video__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.video__archive-form {
  margin: 0;
  flex-shrink: 0;
}
.video__archive {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  color: #6b6b6b;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.video__archive:hover {
  background-color: #f2f2f0;
  color: #9a000c;
  transform: scale(1.05);
}
.video__archive:focus-visible {
  outline: 2px solid #9a000c;
  outline-offset: 2px;
}
.video__archive--on {
  color: #9a000c;
}
.video__section-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
}
.video__description {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 20px;
  font-size: 14px;
  line-height: 1.8;
  color: #3d3d3d;
}
.video__description p {
  margin: 0;
  word-break: break-word;
}
.video__tags {
  margin-top: 16px;
}
.video__tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.video__tag {
  padding: 4px 12px;
  font-size: 13px;
  line-height: 1.4;
  color: #9a000c;
  background: rgba(154, 0, 12, 0.08);
  border: 1px solid rgba(154, 0, 12, 0.3);
  border-radius: 999px;
}

.main--archive {
  max-width: 1200px;
  padding-top: 24px;
  padding-bottom: 64px;
}

.archive {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.archive__breadcrumb {
  font-size: 14px;
}
.archive__breadcrumb a {
  color: #9a000c;
  text-decoration: none;
}
.archive__breadcrumb a:hover {
  text-decoration: underline;
}
.archive__hero {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.archive__title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
}
@media (min-width: 1024px) {
  .archive__title {
    font-size: 32px;
  }
}
.archive__count {
  margin: 0;
  font-size: 14px;
  color: #6b6b6b;
}
.archive__videos {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .archive__videos {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .archive__videos {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}
.archive__empty {
  margin: 0;
  padding: 32px;
  background: #f2f2f0;
  border-radius: 6px;
  font-size: 14px;
  color: #3d3d3d;
  text-align: center;
}

.main--profile {
  background-color: #fafaf7;
  min-height: calc(100vh - 64px);
  padding: 24px 16px 80px;
}
@media (min-width: 1024px) {
  .main--profile {
    padding: 40px 24px 120px;
  }
}

.profile {
  max-width: 720px;
  margin: 0 auto;
}
.profile__breadcrumb {
  margin-bottom: 16px;
  font-size: 14px;
}
.profile__breadcrumb a {
  color: #3d3d3d;
  text-decoration: none;
}
.profile__breadcrumb a:hover {
  color: #9a000c;
}
.profile__hero {
  margin-bottom: 24px;
}
.profile__title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
}
.profile__list {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
}
.profile__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e5e5;
}
@media (min-width: 1024px) {
  .profile__row {
    grid-template-columns: 200px 1fr;
    gap: 16px;
    align-items: baseline;
  }
}
.profile__row:last-child {
  border-bottom: 0;
}
.profile__label {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: #6b6b6b;
}
.profile__value {
  margin: 0;
  font-size: 15px;
  color: #1a1a1a;
  word-break: break-word;
}

.main--result {
  background-color: #fafaf7;
  min-height: calc(100vh - 64px);
  padding: 24px 16px 80px;
}
@media (min-width: 1024px) {
  .main--result {
    padding: 40px 24px 120px;
  }
}

.result {
  max-width: 720px;
  margin: 0 auto;
}
.result__breadcrumb {
  margin-bottom: 16px;
  font-size: 14px;
}
.result__breadcrumb a {
  color: #3d3d3d;
  text-decoration: none;
}
.result__breadcrumb a:hover {
  color: #9a000c;
}
.result__hero {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}
.result__title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
}
.result__count {
  margin: 0;
  font-size: 14px;
  color: #6b6b6b;
}
.result__empty {
  padding: 32px 16px;
  text-align: center;
  color: #6b6b6b;
  background-color: #ffffff;
  border: 1px dashed #e5e5e5;
  border-radius: 8px;
}
.result__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.result__item {
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
}
.result__link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  text-decoration: none;
  color: inherit;
}
@media (min-width: 1024px) {
  .result__link {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
}
.result__link:hover {
  background-color: #fafaf7;
}
.result__main {
  flex: 1;
}
.result__category {
  margin: 0 0 4px;
  font-size: 12px;
  color: #6b6b6b;
}
.result__video-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
}
.result__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.result__date {
  font-size: 12px;
  color: #6b6b6b;
}

.main--progress {
  background-color: #fafaf7;
  min-height: calc(100vh - 64px);
  padding: 24px 16px 80px;
}
@media (min-width: 1024px) {
  .main--progress {
    padding: 40px 24px 120px;
  }
}

.progress-page {
  max-width: 720px;
  margin: 0 auto;
}
.progress-page__breadcrumb {
  margin-bottom: 16px;
  font-size: 14px;
}
.progress-page__breadcrumb a {
  color: #3d3d3d;
  text-decoration: none;
}
.progress-page__breadcrumb a:hover {
  color: #9a000c;
}
.progress-page__hero {
  margin-bottom: 24px;
}
.progress-page__title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
}
.progress-page__section-title {
  margin: 24px 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}
.progress-page__overall {
  margin-bottom: 24px;
  padding: 16px;
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
}
.progress-page__group {
  margin-bottom: 24px;
}
.progress-page__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.progress-page__empty {
  padding: 24px 16px;
  text-align: center;
  color: #6b6b6b;
  background-color: #ffffff;
  border: 1px dashed #e5e5e5;
  border-radius: 8px;
}

.progress-row {
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
}
.progress-row__link {
  display: block;
  padding: 16px;
  text-decoration: none;
  color: inherit;
}
.progress-row__link:hover {
  background-color: #fafaf7;
}
.progress-row__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.progress-row__title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
}
.progress-row__bar {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.progress-row__meta {
  margin: 0;
  font-size: 12px;
  color: #6b6b6b;
}

.main--exam-index {
  background-color: #fafaf7;
  min-height: calc(100vh - 64px);
  padding: 24px 16px 80px;
}
@media (min-width: 1024px) {
  .main--exam-index {
    padding: 40px 24px 120px;
  }
}

.exam-index {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.exam-index__breadcrumb {
  font-size: 14px;
}
.exam-index__breadcrumb a {
  color: #3d3d3d;
  text-decoration: none;
}
.exam-index__breadcrumb a:hover {
  color: #9a000c;
}
.exam-index__hero {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.exam-index__title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
}
@media (min-width: 1024px) {
  .exam-index__title {
    font-size: 28px;
  }
}
.exam-index__lead {
  margin: 0;
  font-size: 14px;
  color: #3d3d3d;
}
.exam-index__error {
  margin: 0;
  padding: 12px 16px;
  background-color: #fdeaec;
  color: #9a000c;
  border-radius: 6px;
  border-left: 4px solid #9a000c;
  font-size: 14px;
}
.exam-index__group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.exam-index__group-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
}
.exam-index__list {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .exam-index__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .exam-index__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
.exam-index__empty {
  margin: 0;
  padding: 32px 16px;
  text-align: center;
  color: #6b6b6b;
  background-color: #ffffff;
  border: 1px dashed #e5e5e5;
  border-radius: 8px;
}

.exam-card {
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 1px 2px rgba(26, 26, 26, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.exam-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 26, 26, 0.08);
}
.exam-card--featured {
  background: linear-gradient(135deg, rgb(179.5, 0, 13.987012987) 0%, #7a000a 100%);
  border: 0;
  color: #ffffff;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(26, 26, 26, 0.08);
}
.exam-card--featured .exam-card__title {
  color: #ffffff;
  font-size: 20px;
}
@media (min-width: 1024px) {
  .exam-card--featured .exam-card__title {
    font-size: 24px;
  }
}
.exam-card--featured .exam-card__meta-label {
  color: rgba(255, 255, 255, 0.75);
}
.exam-card--featured .exam-card__meta-value {
  color: #ffffff;
}
.exam-card--featured .exam-card__meta {
  border-color: rgba(255, 255, 255, 0.2);
}
.exam-card__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.exam-card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
}
.exam-card__meta {
  list-style: none;
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.exam-card__meta li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.exam-card__meta-label {
  font-size: 11px;
  color: #6b6b6b;
  letter-spacing: 0.04em;
}
.exam-card__meta-value {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}
.exam-card__note {
  margin: 0;
  padding: 8px 12px;
  font-size: 13px;
  border-radius: 6px;
}
.exam-card__note--warning {
  background-color: #fcf0d9;
  color: #b77b00;
}
.exam-card__note--info {
  background-color: #e4f0f8;
  color: #0b5d8f;
}
.exam-card__foot {
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.exam-card__foot .btn {
  flex: 1;
}

.main--exam-show {
  background-color: #fafaf7;
  min-height: calc(100vh - 64px);
  padding: 24px 16px 80px;
}
@media (min-width: 1024px) {
  .main--exam-show {
    padding: 40px 24px 120px;
  }
}

.exam-show {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.exam-show__breadcrumb {
  font-size: 14px;
}
.exam-show__breadcrumb a {
  color: #3d3d3d;
  text-decoration: none;
}
.exam-show__breadcrumb a:hover {
  color: #9a000c;
}
.exam-show__hero {
  padding: 24px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
}
.exam-show__hero--featured {
  background: linear-gradient(135deg, rgb(179.5, 0, 13.987012987) 0%, #7a000a 100%);
  color: #ffffff;
  border: 0;
}
.exam-show__hero--featured .exam-show__title {
  color: #ffffff;
}
.exam-show__title {
  margin: 12px 0 0;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
}
@media (min-width: 1024px) {
  .exam-show__title {
    font-size: 28px;
  }
}
.exam-show__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 1024px) {
  .exam-show__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.exam-show__cell {
  padding: 12px 16px;
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.exam-show__cell-label {
  font-size: 11px;
  color: #6b6b6b;
  letter-spacing: 0.04em;
}
.exam-show__cell-value {
  font-size: 18px;
  font-weight: 700;
  color: #9a000c;
}
.exam-show__cautions {
  padding: 16px;
  background-color: #fcf0d9;
  border-radius: 6px;
  border-left: 4px solid #b77b00;
}
.exam-show__section-title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: #b77b00;
}
.exam-show__cautions-list {
  margin: 0;
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.7;
  color: #3d3d3d;
}
.exam-show__form {
  margin: 0;
}

.main--exam-progress {
  background-color: #fafaf7;
  min-height: calc(100vh - 64px);
  padding: 0;
}

.exam-progress {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 1024px) {
  .exam-progress {
    padding: 24px;
  }
}
.exam-progress__header {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: #ffffff;
  padding: 12px 16px;
  margin: -16px -16px 0;
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (min-width: 1024px) {
  .exam-progress__header {
    margin: -24px -24px 0;
    padding: 16px 24px;
  }
}
.exam-progress__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
}
.exam-progress__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #3d3d3d;
}
.exam-progress__count {
  font-weight: 600;
}
.exam-progress__timer {
  font-family: "europa", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  color: #9a000c;
}
.exam-progress__timer.is-warning {
  color: #9a000c;
  animation: examTimerPulse 1s ease-in-out infinite;
}
.exam-progress__bar {
  height: 4px;
  background-color: #e5e5e5;
  border-radius: 2px;
  overflow: hidden;
}
.exam-progress__bar-fill {
  height: 100%;
  background: #9a000c;
  transition: width 0.3s ease;
}
.exam-progress__questions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.exam-progress__footer {
  position: sticky;
  bottom: 0;
  z-index: 10;
  background-color: #ffffff;
  padding: 12px 16px;
  margin: 0 -16px -16px;
  border-top: 1px solid #e5e5e5;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.04);
}
@media (min-width: 1024px) {
  .exam-progress__footer {
    margin: 0 -24px -24px;
    padding: 16px 24px;
  }
}

@keyframes examTimerPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}
.exam-question {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 16px;
}
@media (min-width: 1024px) {
  .exam-question {
    padding: 20px;
  }
}
.exam-question__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.exam-question__no {
  font-family: "europa", "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #9a000c;
  letter-spacing: 0.04em;
}
.exam-question__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #1a1a1a;
  word-break: break-word;
}
@media (min-width: 1024px) {
  .exam-question__text {
    font-size: 16px;
  }
}
.exam-question__image {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 12px;
}
.exam-question__choices {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.exam-question__choice {
  position: relative;
}
.exam-question__choice input[type=radio] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.exam-question__choice input[type=radio]:focus-visible + label {
  outline: 2px solid #9a000c;
  outline-offset: 2px;
}
.exam-question__choice label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 14px;
  border: 1.5px solid #e5e5e5;
  border-radius: 6px;
  background-color: #ffffff;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.exam-question__choice label:hover {
  background-color: #fafaf7;
  border-color: #c4c4c4;
}
.exam-question__choice input[type=radio]:checked + label {
  border-color: #9a000c;
  background-color: #fdeaec;
}
.exam-question__choice input[type=radio]:checked + label .exam-question__choice-key {
  background-color: #9a000c;
  color: #ffffff;
}
.exam-question__choice-key {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #f2f2f0;
  border-radius: 50%;
  font-family: "europa", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #3d3d3d;
}
.exam-question__choice-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  color: #1a1a1a;
  word-break: break-word;
}

.main--exam-complete {
  background-color: #9a000c;
  min-height: calc(100vh - 64px);
  padding: 24px 16px 80px;
}
@media (min-width: 1024px) {
  .main--exam-complete {
    padding: 40px 24px 120px;
  }
}

.exam-complete {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.exam-complete__hero {
  padding: 32px 24px;
  border-radius: 8px;
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.exam-complete__hero--passed {
  background: linear-gradient(135deg, rgb(41.3333333333, 162.6666666667, 77.3333333333) 0%, #1f7a3a 100%);
}
.exam-complete__hero--failed {
  background: linear-gradient(135deg, rgb(205, 0, 15.974025974) 0%, #9a000c 100%);
}
.exam-complete__verdict {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  opacity: 0.92;
}
.exam-complete__score {
  margin: 0;
  font-family: "europa", "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
  line-height: 1;
}
.exam-complete__score strong {
  font-size: 72px;
  display: inline;
}
@media (min-width: 1024px) {
  .exam-complete__score strong {
    font-size: 96px;
  }
}
.exam-complete__score span {
  font-size: 32px;
  margin-left: 4px;
}
.exam-complete__correct {
  margin: 0;
  font-size: 14px;
  opacity: 0.92;
}
.exam-complete__exam-title {
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.95;
}
.exam-complete__detail {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
}
.exam-complete__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid #e5e5e5;
  font-size: 14px;
}
.exam-complete__row:last-child {
  border-bottom: 0;
}
.exam-complete__row dt {
  margin: 0;
  color: #6b6b6b;
  font-weight: 500;
}
.exam-complete__row dd {
  margin: 0;
  font-weight: 700;
  color: #1a1a1a;
}
.exam-complete__footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (min-width: 1024px) {
  .exam-complete__footer {
    flex-direction: row;
    justify-content: center;
  }
  .exam-complete__footer .btn {
    min-width: 180px;
  }
}
.exam-complete__footer .btn {
  justify-content: center;
}

.exam-show__error {
  margin: 0 0 16px;
  padding: 12px 16px;
  background-color: #fdeaec;
  color: #9a000c;
  border-radius: 6px;
  font-size: 14px;
}

.exam-filter {
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.exam-filter__legend {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  padding: 0 6px;
}
.exam-filter__note {
  margin: 0 0 10px;
  font-size: 12px;
  color: #6b6b6b;
  line-height: 1.6;
}
.exam-filter__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.exam-filter__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.exam-filter__tag:has(input:checked) {
  border-color: #9a000c;
  background-color: #fdeaec;
  color: #9a000c;
  font-weight: 600;
}

.exam-complete__practice-note {
  margin: 0;
  padding: 10px 14px;
  background-color: #e4f0f8;
  color: #0b5d8f;
  border-radius: 6px;
  font-size: 13px;
  text-align: center;
}

.exam-complete__notice {
  margin: 0;
  padding: 10px 14px;
  background-color: #e6f4ea;
  color: #1f7a3a;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.exam-gauge {
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 16px 20px;
}
.exam-gauge__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}
.exam-gauge__title {
  font-size: 13px;
  font-weight: 700;
  color: #3d3d3d;
}
.exam-gauge__value {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
}
.exam-gauge__bar {
  position: relative;
  height: 14px;
  background-color: #f2f2f0;
  border-radius: 999px;
  overflow: hidden;
}
.exam-gauge__target {
  position: absolute;
  top: 0;
  bottom: 0;
  background-color: rgba(31, 122, 58, 0.18);
  z-index: 1;
}
.exam-gauge__passing {
  position: absolute;
  top: -3px;
  bottom: -3px;
  width: 2px;
  background-color: #b77b00;
  z-index: 3;
}
.exam-gauge__fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background-color: #9a000c;
  border-radius: 999px;
  z-index: 2;
}
.exam-gauge__marker {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  background-color: #ffffff;
  border: 3px solid #9a000c;
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 4;
}
.exam-gauge__legend {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  font-size: 12px;
  color: #6b6b6b;
}
.exam-gauge__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.exam-gauge__legend-item::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 2px;
}
.exam-gauge__legend-item--passing::before {
  background-color: #b77b00;
}
.exam-gauge__legend-item--target::before {
  background-color: rgba(31, 122, 58, 0.45);
}
.exam-gauge__note {
  margin: 8px 0 0;
  font-size: 12px;
  color: #3d3d3d;
}

.main--exam-review {
  background-color: #fafaf7;
  min-height: calc(100vh - 64px);
  padding: 24px 16px 80px;
}
@media (min-width: 1024px) {
  .main--exam-review {
    padding: 40px 24px 120px;
  }
}

.exam-review {
  max-width: 760px;
  margin: 0 auto;
}
.exam-review__head {
  margin-bottom: 20px;
}
.exam-review__title {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
}
.exam-review__summary {
  margin: 0;
  font-size: 14px;
  color: #6b6b6b;
}
.exam-review__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.exam-review__item {
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-left-width: 4px;
  border-radius: 8px;
  padding: 16px 20px;
}
.exam-review__item--correct {
  border-left-color: #1f7a3a;
}
.exam-review__item--incorrect {
  border-left-color: #9a000c;
}
.exam-review__item-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.exam-review__qno {
  font-size: 13px;
  font-weight: 700;
  color: #3d3d3d;
}
.exam-review__judge {
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  color: #ffffff;
}
.exam-review__judge--correct {
  background-color: #1f7a3a;
}
.exam-review__judge--incorrect {
  background-color: #9a000c;
}
.exam-review__tag {
  font-size: 11px;
  color: #3d3d3d;
  background-color: #f2f2f0;
  border-radius: 999px;
  padding: 2px 10px;
}
.exam-review__question {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  color: #1a1a1a;
}
.exam-review__choices {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.exam-review__choice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.5;
}
.exam-review__choice--correct {
  border-color: #1f7a3a;
  background-color: rgba(31, 122, 58, 0.08);
}
.exam-review__choice--wrong-chosen {
  border-color: #9a000c;
  background-color: rgba(154, 0, 12, 0.08);
}
.exam-review__choice-key {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #f2f2f0;
  font-size: 12px;
  font-weight: 700;
  color: #3d3d3d;
}
.exam-review__choice-text {
  flex: 1;
}
.exam-review__choice-badges {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.exam-review__choice-badges .badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.exam-review__choice-badges .badge--correct {
  background-color: #1f7a3a;
  color: #ffffff;
}
.exam-review__choice-badges .badge--chosen {
  background-color: #3d3d3d;
  color: #ffffff;
}
.exam-review__commentary {
  margin-top: 12px;
  padding: 12px 16px;
  background-color: #fafaf7;
  border-radius: 6px;
}
.exam-review__commentary-title {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: #9a000c;
}
.exam-review__commentary-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #1a1a1a;
}
.exam-review__fix {
  color: #9a000c;
  font-weight: 700;
}
.exam-review__footer {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (min-width: 1024px) {
  .exam-review__footer {
    flex-direction: row;
    justify-content: center;
  }
  .exam-review__footer .btn {
    min-width: 180px;
  }
}
.exam-review__footer .btn {
  justify-content: center;
}

.exam-hl {
  font-weight: 700;
}
.exam-hl--fix {
  color: #9a000c;
}
.exam-hl--swap {
  color: #0070c0;
}

.exam-question__image,
.exam-review__image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 12px 0;
  padding: 8px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
}

.fb-bridge .auth__social {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fb-bridge .auth__social form {
  margin: 0;
}
.fb-bridge__note {
  margin-top: 16px;
  font-size: 13px;
  color: #6b6b6b;
  text-align: center;
}

.auth__help {
  font-size: 13px;
  color: #6b6b6b;
  text-align: center;
  margin: 8px 0 0;
}

.auth__notice--error {
  background: #fdeaec;
  color: #9a000c;
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 14px;
}
.auth__notice--error p {
  margin: 0;
}

.welcome__catch-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: #9a000c;
  margin: 0 auto 16px;
  text-align: left;
  max-width: 220px;
}
@media (max-width: 767px) {
  .welcome__catch-title {
    max-width: 170px;
  }
}