:root {
  --navy: #1b2436;
  --navy-deep: #141b2b;
  --yellow: #ffc107;
  --yellow-hover: #e6ad00;
  --blue: #0000ff;
  --ink: #1d2433;
  --muted: #6b7280;
  --line: #e6e8ee;
  --paper: #f6f7fb;
  --white: #ffffff;
  --icon-blue: #3b82f6;
  --icon-green: #34d399;
  --icon-red: #f87171;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Poppins, sans-serif;
  line-height: 1.7;
  background: var(--white);
}

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

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 30;
  background: var(--white);
  padding: 8px 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.wrap {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: var(--navy);
  color: #c5cad6;
  font-size: 0.8rem;
}

.topbar-inner,
.topbar-right,
.logo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-inner {
  min-height: 46px;
  justify-content: flex-end;
}

.topbar p {
  margin: 0;
}

.dot {
  margin: 0 8px;
  opacity: 0.5;
}

.topbar-right {
  gap: 12px;
}

.lang {
  display: flex;
  overflow: hidden;
  border: 1px solid #3a445c;
}

.lang button {
  border: 0;
  background: transparent;
  color: #c5cad6;
  padding: 5px 9px;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.lang button.is-active {
  background: var(--yellow);
  color: var(--navy);
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}

.logo-row {
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 1.25rem;
}

.brand img {
  width: 52px;
  height: auto;
  background: var(--blue);
  padding: 5px 6px;
}

.nav-wrap {
  border-top: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 52px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a {
  text-decoration: none;
  color: #3d4556;
}

.nav a:hover {
  color: var(--blue);
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  position: relative;
}

.menu-btn i {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--ink);
}

.menu-btn i:first-of-type {
  top: 16px;
}

.menu-btn i:last-of-type {
  top: 24px;
}

.hero {
  background: #f3f4f8;
  padding: 20px 0 80px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.26;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 50% 58% at 50% 50%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 58% at 50% 50%, #000 55%, transparent 100%);
}

.hero .hero-grid {
  min-height: 520px;
}

.hero-grid,
.about-grid,
.features-grid,
.join-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-copy h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
}

.lead,
.about-grid p,
.join p,
.card p,
.steps span,
.members span {
  color: var(--muted);
}

.lead {
  margin: 0 0 28px;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}

.btn-yellow {
  background: var(--yellow);
  color: var(--navy);
  border-radius: 2px;
}

.btn-yellow:hover {
  background: var(--yellow-hover);
}

.hero-photo,
.about-photo {
  min-height: 520px;
  overflow: hidden;
}

.about-logo {
  position: relative;
  background: #101fdf;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 30px 60px -20px rgba(16, 31, 223, 0.55),
    0 12px 24px -12px rgba(11, 22, 48, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.about-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.about-logo .about-logo-name {
  margin: 0;
  padding: 0 16px 22px;
  color: #fff;
  text-align: center;
  font-weight: 600;
  font-size: clamp(0.9rem, 1.6vw, 1.15rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-logo::before,
.about-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.about-logo::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.06) 42%, rgba(255, 255, 255, 0) 50%),
    radial-gradient(ellipse 80% 70% at 50% 45%, rgba(0, 0, 0, 0) 60%, rgba(4, 8, 60, 0.35) 100%);
}

.about-logo::after {
  inset: -20% auto -20% -60%;
  width: 45%;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.32) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-18deg);
  animation: logo-sheen 5s ease-in-out infinite;
}

@keyframes logo-sheen {
  0%,
  55% {
    left: -60%;
  }
  100% {
    left: 130%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-logo::after {
    animation: none;
    display: none;
  }
}

.hero-photo img,
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.features {
  background: var(--navy);
  color: var(--white);
  margin-top: -48px;
  position: relative;
}

.features-grid {
  min-height: 140px;
  align-items: center;
}

.features h2 {
  margin: 0;
  max-width: 16ch;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  gap: 36px;
}

.feature-list li,
.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.feat-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 800;
}

.feat-icon svg {
  width: 26px;
  height: 26px;
}

.feat-icon.blue {
  background: var(--icon-blue);
}

.feat-icon.green {
  background: var(--icon-green);
}

.feat-icon.red {
  background: var(--icon-red);
}

.section,
.hero,
.features {
  scroll-margin-top: 140px;
}

.section {
  padding: 88px 0;
}

.band {
  background: var(--paper);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--yellow-hover);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.eyebrow:hover,
.eyebrow:focus-visible {
  color: var(--yellow);
}

.eyebrow:focus-visible {
  outline: 2px solid var(--yellow-hover);
  outline-offset: 3px;
}

.eyebrow.light {
  color: var(--yellow);
}

.about-grid p {
  margin: 0 0 14px;
}

.about-grid .btn {
  margin-top: 10px;
}

.section-head {
  margin-bottom: 36px;
  max-width: 640px;
}

.section-lead {
  margin: 0;
  color: var(--muted);
}

.case-feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 12px;
  margin-bottom: 20px;
  box-shadow: 0 16px 40px rgba(20, 27, 43, 0.08);
}

.case-feature img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #000;
}

.case-feature h3 {
  font-size: 1.25rem;
}

a.case-feature-link {
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

a.case-feature-link:hover {
  border-color: var(--yellow);
  box-shadow: 0 20px 48px rgba(20, 27, 43, 0.12);
  transform: translateY(-2px);
}

.case-feature img.is-placeholder {
  object-fit: contain;
  padding: 18%;
  background: #101fdf;
}

.case-scroller {
  margin-top: 8px;
}

.cards.case-areas {
  display: grid;
  grid-template-columns: none;
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 3);
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 8px 2px 4px;
}

.case-areas::-webkit-scrollbar {
  display: none;
}

.case-areas .card-link {
  scroll-snap-align: start;
  min-height: 0;
}

.case-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
}

.case-nav-btn {
  width: 36px;
  height: 28px;
  flex: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.case-nav-btn:hover,
.case-nav-btn:focus-visible {
  border-color: var(--yellow);
  background: var(--yellow);
}

.case-nav-btn:disabled {
  opacity: 0.35;
  cursor: default;
  background: var(--white);
  border-color: var(--line);
}

.case-nav-track {
  width: 33.333%;
  height: 10px;
  position: relative;
  flex: none;
  background: var(--line);
  cursor: pointer;
}

.case-nav-thumb {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 33.333%;
  background: var(--navy);
  pointer-events: none;
}

.case-nav-track:focus-visible {
  outline: 2px solid var(--yellow-hover);
  outline-offset: 3px;
}

.card-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.card-link::after {
  content: "→";
  margin-top: auto;
  color: var(--yellow-hover);
  font-weight: 700;
  transition: transform 0.2s ease;
}

.card-link:hover,
.card-link:focus-visible {
  transform: translateY(-4px);
  border-color: var(--yellow);
  box-shadow: 0 16px 32px rgba(20, 27, 43, 0.12);
}

.card-link:hover::after,
.card-link:focus-visible::after {
  transform: translateX(6px);
}

.card-link:focus-visible {
  outline: 2px solid var(--yellow-hover);
  outline-offset: 2px;
}

.cards,
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sessions {
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 20px) / 2);
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  list-style: none;
  margin: 0;
  padding: 8px 2px 4px;
}

.sessions::-webkit-scrollbar {
  display: none;
}

.sessions .session-link {
  scroll-snap-align: start;
}

.card,
.session,
.members li {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px 24px;
}

.card p {
  margin: 0;
}

.steps li {
  padding-top: 10px;
  border-top: 3px solid var(--yellow);
}

.steps strong,
.members strong {
  display: block;
  margin-bottom: 8px;
}

.session {
  padding: 12px;
  box-shadow: 0 16px 40px rgba(20, 27, 43, 0.08);
}

.session-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.session-link:hover,
.session-link:focus-visible {
  transform: translateY(-4px);
  border-color: var(--yellow);
  box-shadow: 0 20px 44px rgba(20, 27, 43, 0.14);
}

.session-link:focus-visible {
  outline: 2px solid var(--yellow-hover);
  outline-offset: 2px;
}

.session img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.session div {
  padding: 16px 8px 10px;
}

.session-meta {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.session h3 {
  font-size: 1.15rem;
}

.session p {
  margin: 0;
  color: var(--muted);
}

.join {
  background: var(--navy-deep);
  color: var(--white);
}

.join p,
.members span {
  color: #c5ccda;
}

.join .btn {
  margin-top: 24px;
}

.members {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.members li {
  background: #1c2436;
  border-color: #2c3650;
}

.footer {
  background: #0f1420;
  color: #9aa3b5;
  padding: 28px 0;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.footer .brand {
  color: var(--white);
}

.footer p {
  margin: 0;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .menu-btn {
    display: block;
  }

  .topbar-inner,
  .feature-list,
  .hero-grid,
  .about-grid,
  .features-grid,
  .join-grid,
  .steps,
  .case-feature,
  .foot {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-inner {
    padding: 10px 0;
  }

  .nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 0 18px;
    gap: 14px;
  }

  .nav.is-open {
    display: flex;
  }

  .hero-photo,
  .about-photo {
    min-height: 280px;
    width: 100%;
  }

  .hero .hero-grid {
    min-height: 420px;
  }

  .hero-bg {
    object-position: center;
    -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, #000 55%, transparent 100%);
    mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, #000 55%, transparent 100%);
  }

  .cards.case-areas {
    grid-auto-columns: 100%;
  }

  .sessions {
    grid-auto-columns: 100%;
  }

  .features {
    margin-top: 0;
    padding: 36px 0;
  }

  .feature-list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .foot {
    display: grid;
  }

  .section {
    padding: 64px 0;
  }
}

@media (max-width: 640px) {
  .feature-list {
    grid-template-columns: 1fr;
  }
}

.signup {
  background: var(--paper);
}

.signup-grid {
  display: grid;
  gap: 28px;
  max-width: 820px;
}

.signup-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 32px;
}

.signup-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}

.signup-form label.full,
.signup-actions {
  grid-column: 1 / -1;
}

.signup-form input,
.signup-form select {
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
}

.signup-form input:focus,
.signup-form select:focus {
  outline: 2px solid var(--yellow);
  outline-offset: 1px;
  border-color: var(--yellow-hover);
}

.signup-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.signup-actions a {
  color: var(--muted);
  font-size: 0.9rem;
}

.signup-ok {
  margin: 0;
  padding: 28px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 600;
}

@media (max-width: 700px) {
  .signup-form {
    grid-template-columns: 1fr;
    padding: 22px;
  }
}

button.btn {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

button.btn:disabled {
  opacity: 0.6;
  cursor: progress;
}

.btn-small {
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.82rem;
  background: var(--navy);
  color: var(--white);
  border-radius: 2px;
}

.btn-small:hover {
  background: var(--navy-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line) !important;
}

.btn-ghost:hover {
  background: var(--paper);
}

.btn-danger {
  background: #b42318;
}

.btn-danger:hover {
  background: #8f1c13;
}

.form-error {
  margin: 0;
  color: #b42318;
  font-weight: 600;
  font-size: 0.92rem;
}

.signin-form {
  max-width: 520px;
}

.content-page h1 {
  margin: 8px 0 12px;
}

.back-link {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.back-link:hover {
  color: var(--navy);
}

.back-link + .eyebrow {
  display: block;
  width: fit-content;
}

.case-results {
  margin-top: 32px;
}

.cards.case-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  padding: 24px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.notice p {
  margin: 0;
  font-weight: 600;
}

.case-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.case-body {
  max-width: 760px;
  margin-top: 20px;
}

.case-body p {
  line-height: 1.75;
  white-space: pre-line;
}

.media-block {
  margin-top: 44px;
}

.media-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.media-images figure {
  margin: 0;
}

.media-images img,
.talk-thumb {
  display: block;
  width: 100%;
  max-width: 760px;
  margin-top: 24px;
  border: 1px solid var(--line);
}

.media-images figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.media-video {
  display: block;
  width: 100%;
  max-width: 960px;
  background: #000;
}

.doc-list {
  padding-left: 20px;
}

.doc-list a {
  color: var(--navy);
  font-weight: 600;
}

.dicom-series + .dicom-series {
  margin-top: 36px;
}

.dicom-viewer {
  max-width: 820px;
}

.dicom-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
  background: #000;
  cursor: crosshair;
  touch-action: none;
  user-select: none;
}

.dicom-stage:focus-visible {
  outline: 2px solid var(--yellow);
}

.dicom-stage canvas {
  display: block;
  max-width: 100%;
  max-height: 72vh;
}

.dicom-overlay,
.dicom-status {
  position: absolute;
  margin: 0;
  color: #fff;
  font: 600 0.8rem/1.2 ui-monospace, Consolas, monospace;
  pointer-events: none;
}

.dicom-overlay {
  top: 10px;
  left: 12px;
  white-space: pre;
  text-shadow: 0 1px 2px #000;
}

.dicom-status {
  inset: auto 12px 12px;
  text-align: center;
}

.dicom-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}

.dicom-controls input[type="range"] {
  flex: 1;
  accent-color: var(--navy);
}

.dicom-hint {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.85rem;
}

.session-placeholder {
  aspect-ratio: 16 / 9;
  background: var(--navy);
}

.admin h1 {
  margin: 0 0 6px;
}

.admin-who {
  color: var(--muted);
}

.admin-tabs {
  display: flex;
  gap: 4px;
  margin: 28px 0 24px;
  border-bottom: 2px solid var(--line);
}

.admin-tabs button {
  padding: 12px 20px;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  background: none;
  font: 700 0.95rem/1 inherit;
  font-family: inherit;
  color: var(--muted);
  cursor: pointer;
}

.admin-tabs button[aria-selected="true"] {
  color: var(--navy);
  border-bottom-color: var(--yellow);
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-toolbar label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.admin select,
.admin input,
.admin textarea {
  min-height: 40px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
}

.admin textarea {
  resize: vertical;
  line-height: 1.6;
}

.table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.9rem;
}

.admin-table th,
.admin-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  background: var(--paper);
  color: var(--navy);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-table td.actions {
  white-space: nowrap;
  text-align: right;
}

.admin-table td.actions .btn + .btn {
  margin-left: 6px;
}

.admin-table tr.is-pending td {
  background: #fff8e1;
}

.admin-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.status {
  display: inline-block;
  padding: 3px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 2px;
  vertical-align: middle;
  background: var(--line);
  color: var(--navy);
}

.status-in_review {
  background: #fff1c2;
}

.status-published {
  background: #d1fadf;
  color: #05603a;
}

.admin-editor {
  margin-top: 32px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--yellow);
}

.admin-editor h2 {
  margin-top: 0;
}

.admin-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}

.admin-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}

.admin-form .full {
  grid-column: 1 / -1;
}

.admin-form label.check {
  flex-direction: row;
  align-items: center;
}

.admin-form label.check input {
  min-height: auto;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 8px;
}

.admin-files {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.admin-upload {
  padding: 20px;
  background: var(--paper);
}

.admin-upload progress {
  flex: 1;
  min-width: 160px;
  height: 10px;
  accent-color: var(--navy);
}

@media (max-width: 700px) {
  .admin-form {
    grid-template-columns: 1fr;
  }

  .admin-editor {
    padding: 18px;
  }
}
