@charset "UTF-8";
:root {
  --bg: #f5f4ef;
  --ink: #243b39;
  --muted: #6c7873;
  --line: #dce1d9;
  --accent: #226554;
  --soft: #e8eee7;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
a,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #d58450;
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.07;
}
h2 {
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.35;
}
h3 {
  font-weight: 500;
}
p {
  line-height: 1.65;
}
small {
  line-height: 1.5;
}
.icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  vertical-align: middle;
}
.site-header {
  height: 110px;
  max-width: 1320px;
  margin: auto;
  padding: 0 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -1px;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
}
.brand-mark .icon {
  width: 24px;
  height: 24px;
}
.brand-light {
  font-weight: 400;
  color: var(--muted);
}
.header-note,
.edition {
  font-size: 10px;
  letter-spacing: 1.7px;
  color: var(--muted);
}
.edition {
  font-size: 12px;
}
.main {
  max-width: 1216px;
  margin: 0 auto;
  padding: 65px 52px 20px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 650;
  line-height: 1.6;
}
.lead {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 460px;
}
.consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 10px;
  line-height: 1.5;
  margin: 16px 0 18px;
  color: var(--muted);
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--accent);
}
.consent input {
  margin: 2px 0;
}
.button {
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: white;
  padding: 13px 19px;
  min-height: 46px;
  display: inline-flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}
.button:hover:not(:disabled) {
  background: #174e41;
  border-color: #174e41;
}
.button .icon {
  width: 18px;
  height: 18px;
}
.button.full {
  width: 100%;
  justify-content: space-between;
}
.button.secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--line);
}
.button.secondary:hover {
  background: var(--soft);
  border-color: #b5c9b9;
}
.site-footer {
  max-width: 1216px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 24px auto 0;
  padding: 25px 52px 30px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: var(--muted);
}
.footer-dot {
  margin: 0 7px;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
}
.center {
  text-align: center;
}
.block {
  display: block;
}
.subtle-link {
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.subtle-link .icon {
  width: 15px;
  height: 15px;
}
.study-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.question-heading h1 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 12px;
}
.question-heading p {
  font-size: 14px;
  color: var(--muted);
}
.progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin: 30px 0 8px;
}
progress {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  border: 0;
  border-radius: 10px;
  display: block;
  overflow: hidden;
  background: var(--line);
}
progress::-webkit-progress-bar {
  background: var(--line);
}
progress::-webkit-progress-value {
  background: var(--accent);
  border-radius: 10px;
}
progress::-moz-progress-bar {
  background: var(--accent);
}
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 27px;
}
.video-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  padding: 16px;
}
.video-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  margin-bottom: 14px;
}
.video-stage {
  background: #17211e;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16/10;
  overflow: hidden;
}
video {
  width: 100%;
  max-height: 100%;
  display: block;
}
.vote-button {
  width: 100%;
  margin-top: 16px;
  justify-content: space-between;
}
.watch-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  margin: 24px 0 10px;
  color: var(--muted);
}
.watch-note.ready {
  color: var(--accent);
}
.watch-note ~ p {
  font-size: 11px;
}
.study-help {
  margin: 32px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.study-help summary {
  cursor: pointer;
}
.study-help p {
  margin: 12px 0 0;
}
.session-info {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  margin-top: 40px;
  display: block;
}
.session-info code {
  display: block;
  font-size: 11px;
  margin-top: 8px;
  overflow-wrap: anywhere;
}
.session-info p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 15px;
}
.thank-you {
  text-align: center;
  max-width: 600px;
  margin: 20px auto 70px;
}
.thank-you h1 {
  font-size: 48px;
  margin: 23px 0;
}
.thank-you .lead {
  margin: 0 auto;
}
.saved-count {
  font-size: 13px;
  margin: 30px 0;
}
.saved-count strong {
  font-size: 23px;
}
.thank-you .subtle-link {
  display: block;
  margin-top: 20px;
}
.submitting {
  pointer-events: none;
  opacity: 0.65;
}
.notice {
  padding: 15px 20px;
  border: 1px solid #b2cdbb;
  background: #e6f0e6;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 13px;
}
.notice.error {
  background: #fff0eb;
  border-color: #e5b2a0;
  color: #843d28;
}
.admin-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 46px 52px;
}
.admin-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}
.admin-heading h1 {
  font-size: 35px;
  margin-bottom: 30px;
}
.tabs {
  display: flex;
  gap: 32px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}
.tabs a {
  text-decoration: none;
  font-size: 13px;
  padding: 16px 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}
.tabs a.active {
  border-color: var(--accent);
  font-weight: 600;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 27px;
  margin-bottom: 24px;
  min-width: 0;
}
.panel h2 {
  margin-bottom: 13px;
  font-size: 21px;
}
.panel p {
  font-size: 13px;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}
.panel-heading h2 {
  margin: 5px 0;
}
.panel-heading p {
  margin: 6px 0;
}
.panel-heading > .icon {
  width: 30px;
  height: 30px;
  color: var(--accent);
}
.admin-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.stack {
  display: grid;
  gap: 17px;
}
label:not(.consent, .checkbox-label) {
  font-size: 12px;
  line-height: 1.6;
}
input:not([type="checkbox"], [type="radio"], [type="hidden"]),
select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: #fff;
  margin-top: 6px;
  min-height: 42px;
  font-size: 13px;
}
input[type="file"] {
  font-size: 11px !important;
}
label {
  display: block;
}
.stack .button {
  justify-self: start;
}
.text-button {
  background: none;
  border: 0;
  padding: 5px 0;
  color: var(--accent);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.login-card {
  max-width: 420px;
  margin: 35px auto 70px;
  background: white;
  border: 1px solid var(--line);
  padding: 35px;
  border-radius: 16px;
}
.login-card h1 {
  font-size: 32px;
  margin: 18px 0;
}
.login-card p {
  font-size: 13px;
  color: var(--muted);
}
.login-card .button {
  margin: 22px 0;
}
.login-card .subtle-link {
  display: block;
  text-align: center;
}
.filters {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 15px;
}
.filters > label:not(.checkbox-label) {
  flex: 1;
  min-width: 150px;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  padding: 11px 0;
}
.filters .button {
  white-space: nowrap;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}
.stats-grid article {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  background: #eeefe7;
}
.stats-grid span {
  font-size: 11px;
  color: var(--muted);
  display: block;
}
.stats-grid strong {
  font-weight: 500;
  font-size: 38px;
  display: block;
  margin: 13px 0 7px;
  letter-spacing: -2px;
}
.stats-grid small {
  font-size: 10px;
  color: var(--muted);
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 12px;
}
th {
  font-weight: 500;
  color: var(--muted);
  font-size: 10px;
  border-bottom: 1px solid var(--line);
  padding: 12px 14px 12px 0;
  white-space: nowrap;
}
td {
  border-bottom: 1px solid #edf0e9;
  padding: 17px 14px 17px 0;
  vertical-align: middle;
}
tbody tr:last-child td {
  border-bottom: 0;
}
td strong {
  font-weight: 550;
}
.rate {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 150px;
}
.rate progress {
  max-width: 200px;
  height: 6px;
}
.rate strong {
  min-width: 48px;
  font-size: 12px;
}
.analysis-note {
  font-size: 11px;
  line-height: 1.7;
  background: #f3f5ef;
  color: var(--muted);
  padding: 16px;
  border-radius: 8px;
  margin-top: 22px;
}
.empty-state {
  text-align: center;
  padding: 45px 20px;
  color: var(--muted);
}
.empty-state h3,
.empty-state h2 {
  color: var(--ink);
}
.catalog-videos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.catalog-video {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.catalog-video video {
  aspect-ratio: 16/10;
  background: #17211e;
}
.catalog-video > div {
  padding: 16px;
}
.catalog-video strong {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.catalog-video p {
  margin: 6px 0;
}
.inline-form {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 250px;
}
.inline-form input {
  margin: 0 !important;
  min-width: 120px;
}
.small-button {
  font-size: 10px;
  padding: 9px;
  min-height: 38px;
  white-space: nowrap;
}
.badge {
  display: inline-block;
  background: #e7f0e4;
  color: var(--accent);
  padding: 4px 7px;
  border-radius: 5px;
  font-size: 10px;
}
.badge.excluded {
  background: #f6e6de;
  color: #98543a;
}
.session-code {
  font-size: 10px;
  white-space: nowrap;
}
.filter-form {
  display: flex;
  gap: 15px;
  align-items: end;
  margin: 24px 0;
}
.filter-form label {
  flex: 1;
  max-width: 380px;
}
.filter-form .subtle-link {
  margin-bottom: 12px;
}
@media (min-width: 1450px) {
  .main {
    padding-top: 75px;
  }
}
@media (max-width: 1000px) {
  .main,
  .admin-main {
    padding-left: 30px;
    padding-right: 30px;
  }
  .site-header,
  .site-footer {
    padding-left: 30px;
    padding-right: 30px;
  }
  .catalog-videos {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-heading h1 {
    font-size: 29px;
  }
  .stats-grid {
    gap: 10px;
  }
  .stats-grid article {
    padding: 15px;
  }
  .admin-two-columns {
    gap: 15px;
  }
}
@media (max-width: 720px) {
  .site-header {
    height: 80px;
    padding: 0 22px;
  }
  .brand {
    font-size: 20px;
  }
  .brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }
  .header-note {
    display: none;
  }
  .main {
    padding: 34px 22px 10px;
  }
  .lead {
    font-size: 15px;
  }
  .site-footer {
    margin: 0;
    padding: 23px 22px;
    flex-wrap: wrap;
    font-size: 9px;
    row-gap: 18px;
  }
  .site-footer > span:last-child {
    display: none;
  }
  .comparison {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .study-top {
    margin-bottom: 25px;
    align-items: start;
  }
  .study-top > .eyebrow {
    max-width: 170px;
  }
  .study-top .subtle-link {
    font-size: 10px;
    white-space: nowrap;
  }
  .question-heading h1 {
    font-size: 34px;
  }
  .video-card {
    padding: 12px;
  }
  .video-stage {
    aspect-ratio: 16/9;
  }
  .watch-note {
    font-size: 11px;
    align-items: start;
  }
  .session-info {
    display: block;
  }
  .thank-you {
    margin-top: 10px;
    margin-bottom: 40px;
  }
  .thank-you h1 {
    font-size: 36px;
  }
  .admin-main {
    padding: 30px 20px;
  }
  .admin-heading {
    display: block;
  }
  .admin-heading h1 {
    font-size: 30px;
    margin-bottom: 16px;
  }
  .admin-heading > .subtle-link {
    margin-bottom: 15px;
  }
  .tabs {
    gap: 24px;
    overflow: auto;
  }
  .tabs a {
    font-size: 11px;
  }
  .admin-two-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .panel {
    padding: 20px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats-grid strong {
    font-size: 32px;
  }
  .catalog-videos {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .catalog-video > div {
    padding: 12px;
  }
  .catalog-video strong {
    font-size: 11px;
  }
  .panel-heading {
    align-items: start;
  }
  .panel-heading .button {
    font-size: 10px;
    padding: 9px;
    white-space: nowrap;
  }
  .filter-form {
    flex-wrap: wrap;
  }
  .filter-form label {
    flex-basis: 100%;
  }
  .filters > .button {
    flex: 1;
  }
  .filters .checkbox-label {
    width: 100%;
  }
  .login-card {
    padding: 25px;
    margin: 10px auto 30px;
  }
  .consent {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
body.public {
  --bg: #fff;
  --ink: #242424;
  --muted: #606060;
  --line: #dedede;
  --accent: #344b61;
  --soft: #f5f5f5;
  background: #fff;
  color: var(--ink);
}
.public .main {
  max-width: 1040px;
  padding: 36px 24px;
  margin: auto;
}
.public h1 {
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: normal;
  font-weight: 600;
}
.public .button {
  border-radius: 4px;
  font-size: 14px;
}
.public .button:hover:not(:disabled) {
  background: #263c50;
  border-color: #263c50;
}
.language-screen {
  min-height: calc(100svh - 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.public .language-screen h1 {
  font-size: 20px;
  margin: 0 0 24px;
  text-align: center;
}
.language-select {
  display: grid;
  gap: 12px;
  width: min(100%, 280px);
}
.language-select button {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: white;
  color: var(--ink);
  padding: 14px 20px;
  min-height: 48px;
  font-size: 16px;
}
.language-select button:hover {
  background: var(--soft);
  border-color: var(--accent);
}
.study-intro {
  max-width: 640px;
  margin: 36px auto;
}
.study-intro h1 {
  margin: 28px 0 24px;
}
.study-intro p {
  font-size: 16px;
  line-height: 1.65;
}
.public .consent {
  font-size: 14px;
  color: var(--ink);
  margin: 28px 0 20px;
  gap: 10px;
}
.public .consent input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
.public .video-card {
  border: 0;
  border-radius: 0;
  padding: 0;
}
.public .video-stage {
  border-radius: 0;
}
.public .video-caption {
  font-size: 14px;
}
.public .eyebrow {
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 400;
}
.public .question-heading h1 {
  font-size: 28px;
}
.public .watch-note,
.public .watch-note ~ p,
.public .study-help,
.public .subtle-link {
  font-size: 14px;
}
.public .session-info {
  margin-top: 28px;
}
@media (max-width: 720px) {
  .public .main {
    padding: 24px 20px;
  }
  .language-screen {
    min-height: calc(100svh - 48px);
  }
  .study-intro {
    margin: 8px auto;
  }
  .public h1,
  .public .question-heading h1 {
    font-size: 24px;
  }
  .public .study-top {
    gap: 12px;
  }
  .public .study-top .subtle-link {
    font-size: 12px;
  }
}
