:root {
  --navy: #071d2b;
  --navy2: #102f40;
  --ink: #173449;
  --muted: #6d7f8b;
  --teal: #007e87;
  --aqua: #28c8c6;
  --line: #dce6eb;
  --bg: #f3f7f9;
  --white: #fff;
  --amber: #9a6200;
  --red: #a53742;
  --shadow: 0 18px 55px #122f4012;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
a {
  color: var(--teal);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
img {
  max-width: 100%;
}
.skip {
  position: fixed;
  top: -60px;
  left: 16px;
  background: #fff;
  padding: 15px;
  z-index: 500;
}
.skip:focus {
  top: 10px;
}
.loading-page {
  min-height: 100vh;
  display: grid;
  place-content: center;
  gap: 20px;
  background: var(--navy);
  color: #fff;
}
.loading-page img {
  width: 220px;
}
.topbar {
  height: 86px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(5vw, 24px);
  color: #fff;
  border-bottom: 1px solid #ffffff14;
}
.brand {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #fff;
}
.brand img {
  width: 178px;
  height: 54px;
  object-fit: contain;
}
.brand span {
  border-left: 1px solid #ffffff35;
  padding-left: 22px;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 700;
}
.nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav a {
  color: #c9d8de;
  font-size: 13px;
}
.nav a.active {
  color: #fff;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  min-height: 43px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  transition:
    background 0.15s,
    transform 0.15s;
}
.btn:hover {
  background: #006c73;
  text-decoration: none;
}
.btn.light {
  background: var(--aqua);
  color: var(--navy);
}
.btn.light:hover {
  background: #49d5d1;
}
.btn.outline {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}
.btn.outline:hover {
  background: #edf5f6;
}
.btn.ghost {
  background: transparent;
  color: inherit;
  border-color: #ffffff40;
}
.btn.small {
  padding: 8px 12px;
  min-height: 34px;
  font-size: 12px;
}
.btn.danger {
  background: #fff3f4;
  border-color: #f0cfd2;
  color: var(--red);
}
.btn.link {
  background: transparent;
  color: var(--teal);
  padding: 5px 0;
  min-height: 28px;
}
.hero {
  background: var(--navy);
  color: #fff;
  padding: 66px max(5vw, 24px) 64px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 7%;
  position: relative;
  overflow: hidden;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 95% 20%, #148b9d20, transparent 65%);
  pointer-events: none;
}
.hero-copy,
.hero-feature {
  z-index: 1;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.3px;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: 19px;
}
.hero .eyebrow {
  color: var(--aqua);
}
h1 {
  font-weight: 500;
  font-size: clamp(34px, 3.5vw, 57px);
  line-height: 1.09;
  letter-spacing: -1.7px;
  margin: 0 0 24px;
  max-width: 680px;
}
h1 em {
  font-style: normal;
  color: var(--aqua);
}
.hero-copy > p {
  font-size: 15px;
  line-height: 1.8;
  color: #b6cbd4;
  max-width: 510px;
  margin-bottom: 27px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.trustline {
  display: flex;
  gap: 20px;
  margin-top: 29px;
  color: #92b1bd;
  font-size: 11px;
}
.trustline span:before {
  content: "✓";
  color: var(--aqua);
  margin-right: 7px;
}
.hero-feature {
  border: 1px solid #9cced02b;
  border-radius: 10px;
  background: #123247;
  align-self: center;
  overflow: hidden;
  box-shadow: 0 25px 65px #0003;
}
.featured-art {
  position: relative;
  aspect-ratio: 16/9;
  background: #17394b;
  overflow: hidden;
}
.featured-art img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0.8;
}
.featured-art:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 35%, #071d2bd9);
}
.featured-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.play-disc {
  display: grid;
  place-content: center;
  width: 66px;
  height: 66px;
  border: 1px solid #ffffff70;
  border-radius: 50%;
  background: #ffffff14;
  backdrop-filter: blur(8px);
  font-size: 22px;
  color: #fff;
  padding-left: 4px;
}
.feature-code {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 7px 11px;
  background: #0c293ecc;
  border: 1px solid #ffffff40;
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 700;
  z-index: 2;
}
.feature-caption {
  position: absolute;
  bottom: 18px;
  left: 22px;
  right: 22px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.feature-caption strong {
  font-size: 21px;
  font-weight: 500;
  display: block;
}
.feature-caption small {
  color: #b5cbd5;
  font-size: 11px;
  display: block;
  margin-top: 7px;
}
.featured-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  font-size: 12px;
  color: #bfd3da;
}
.featured-footer button {
  color: var(--aqua);
  border: 0;
  background: transparent;
  font-weight: 700;
  white-space: nowrap;
}
.intro-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  padding: 19px 24px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  font-size: 11px;
  color: var(--muted);
}
.intro-strip b {
  color: var(--ink);
  font-weight: 500;
}
.container {
  max-width: 1320px;
  margin: auto;
  padding: 55px 5vw;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.section-heading h2 {
  font-size: 29px;
  letter-spacing: -0.65px;
  font-weight: 500;
  margin: 0 0 10px;
}
.section-heading p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}
.library-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.tabs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.tab {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 9px 17px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.tab.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.search {
  max-width: 240px;
  min-width: 170px;
}
.search input {
  background: white;
}
.film-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
}
.film-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
  display: flex;
  flex-direction: column;
}
.film-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.card-art {
  height: 208px;
  position: relative;
  background: var(--navy);
  overflow: hidden;
}
.card-art > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0.8;
}
.card-art:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #061d2cc9, transparent 80%);
}
.card-art .art-code {
  position: absolute;
  top: 17px;
  left: 18px;
  background: #ffffffed;
  color: var(--navy);
  padding: 6px 10px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
  z-index: 1;
}
.card-art .art-type {
  position: absolute;
  top: 19px;
  right: 18px;
  font-size: 10px;
  color: #fff;
  z-index: 1;
  background: #0c2639a6;
  padding: 5px 8px;
  border-radius: 3px;
}
.card-art .art-topic {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 80px;
  color: #fff;
  z-index: 1;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.4px;
}
.card-art .mini-play {
  position: absolute;
  bottom: 21px;
  right: 21px;
  z-index: 1;
  border: 1px solid #fff8;
  border-radius: 50%;
  width: 39px;
  height: 39px;
  display: grid;
  place-content: center;
  color: #fff;
  font-size: 13px;
  padding-left: 2px;
}
.card-body {
  padding: 23px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-body .kicker {
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 10px;
}
.card-body h3 {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.35px;
  margin: 0 0 12px;
  font-weight: 600;
}
.card-body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 17px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}
.chip {
  font-size: 10px;
  border: 1px solid #e0e8ed;
  background: #f7fafb;
  padding: 5px 8px;
  border-radius: 4px;
  color: #617785;
}
.card-bottom {
  border-top: 1px solid var(--line);
  padding-top: 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 4px;
  padding: 4px 7px;
  background: #edf2f5;
  color: #657986;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.badge.success {
  background: #e5f5ef;
  color: #287258;
}
.badge.warn {
  background: #fff4df;
  color: #926116;
}
.badge.danger {
  background: #fcebed;
  color: #a23f4b;
}
.shorts-banner {
  margin-top: 34px;
  background: #e8f3f4;
  border: 1px solid #d3e7e8;
  border-radius: 8px;
  padding: 25px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.shorts-banner h3 {
  font-size: 18px;
  margin: 0 0 8px;
}
.shorts-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  padding-top: 10px;
}
.step {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.step .step-number {
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 15px;
}
.step h3 {
  font-size: 17px;
  margin: 0 0 10px;
}
.step p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}
.light-section {
  background: #fff;
  border-top: 1px solid var(--line);
}
.footer {
  background: var(--navy);
  padding: 32px max(5vw, 24px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #91aebc;
  font-size: 11px;
  gap: 20px;
}
.footer-links {
  display: flex;
  gap: 22px;
}
.footer a {
  color: #b6cbd3;
}
.footer img {
  width: 150px;
}
.footer-copy {
  margin-top: 12px;
}
.page-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 35px 5vw;
}
.page-header h1 {
  font-size: 32px;
  margin: 12px 0;
}
.page-header p {
  color: var(--muted);
  font-size: 13px;
}
.notice {
  padding: 13px 16px;
  background: #eaf4f6;
  border: 1px solid #d1e5e9;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.7;
  color: #3a6678;
}
.notice.warn {
  background: #fff8e9;
  border-color: #eddfc0;
  color: #89632d;
}
.notice.error {
  background: #fff0f0;
  border-color: #f0cccc;
  color: #963944;
}
.muted {
  color: var(--muted);
}
.small-text {
  font-size: 11px;
  line-height: 1.7;
}
.empty {
  padding: 38px 26px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 8px;
  line-height: 1.8;
}
.empty h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 10px;
}
.loading {
  padding: 50px;
  text-align: center;
  color: var(--muted);
}
.modal-scrim {
  position: fixed;
  inset: 0;
  background: #061823a8;
  backdrop-filter: blur(5px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal {
  background: #fff;
  border-radius: 11px;
  width: min(780px, 100%);
  max-height: 92vh;
  overflow: auto;
  box-shadow: 0 35px 100px #0004;
}
.modal.narrow {
  max-width: 490px;
}
.modal-head {
  padding: 24px 29px 21px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}
.modal-head h2 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.4px;
  margin: 0 0 7px;
}
.modal-head p {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
  line-height: 1.6;
}
.close {
  border: 0;
  background: #f0f5f7;
  color: #496b7b;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  font-size: 21px;
}
.modal-body {
  padding: 25px 29px 30px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 600;
  color: #4b6677;
}
.form-grid .field {
  margin: 0;
}
.field.full,
.form-grid .full {
  grid-column: 1/-1;
}
input,
select,
textarea {
  width: 100%;
  min-height: 43px;
  padding: 11px 12px;
  border: 1px solid #cfdee5;
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 400;
}
textarea {
  resize: vertical;
  min-height: 88px;
  line-height: 1.7;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  outline: 2px solid #139fa72b;
}
input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-height: 16px;
  accent-color: var(--teal);
  flex: none;
  padding: 0;
  margin: 2px 0 0;
}
.check {
  display: flex;
  gap: 9px;
  align-items: start;
  font-size: 12px;
  line-height: 1.7;
  color: #4f6978;
}
.check strong {
  color: var(--ink);
}
.check-list {
  display: grid;
  gap: 11px;
}
.check-option {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  gap: 10px;
  align-items: start;
  font-size: 12px;
}
.check-option small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}
.form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 24px;
}
.form-actions.split {
  justify-content: space-between;
}
.error-text {
  color: var(--red);
  font-size: 12px;
  line-height: 1.7;
  margin-top: 15px;
}
.form-message {
  color: var(--teal);
  font-size: 13px;
  line-height: 1.8;
}
.success-state {
  text-align: center;
  padding: 24px 12px;
}
.success-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  background: #def4ed;
  color: #237b5b;
  font-size: 24px;
  margin: 0 auto 20px;
}
.success-state h3 {
  font-size: 22px;
  margin: 0 0 15px;
}
.success-state p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 92vw;
  background: var(--navy);
  border: 1px solid #335668;
  color: white;
  padding: 14px 22px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  z-index: 250;
  font-size: 13px;
  display: none;
}
#toast.show {
  display: block;
}
.admin-layout {
  display: grid;
  grid-template-columns: 222px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: var(--navy);
  padding: 24px 19px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 222px;
}
.sidebar .logo {
  padding: 5px 7px 22px;
}
.sidebar img {
  width: 168px;
}
.workspace-label {
  font-size: 9px;
  letter-spacing: 2px;
  color: #7a9cab;
  padding: 18px 12px 10px;
}
.side-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.side-nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 12px 14px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #a5bec9;
  font-size: 12px;
}
.side-nav button.active {
  background: #183e50;
  color: white;
  box-shadow: inset 3px 0 var(--aqua);
}
.side-nav button:hover {
  background: #18394b;
}
.side-icon {
  font-size: 16px;
  width: 19px;
  text-align: center;
}
.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid #ffffff1c;
  padding: 19px 12px 4px;
  color: #88a7b4;
  font-size: 11px;
  line-height: 1.8;
}
.sidebar-bottom a {
  display: block;
  color: #b3c9d2;
  margin-bottom: 13px;
}
.admin-main {
  grid-column: 2;
  min-width: 0;
}
.admin-topbar {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 33px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.admin-topbar .crumb {
  font-size: 12px;
  color: var(--muted);
}
.admin-topbar .crumb b {
  font-weight: 500;
  color: var(--ink);
}
.admin-user {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
}
.avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-content: center;
  background: #e9f3f3;
  border: 1px solid #d4e5e6;
  color: var(--teal);
  border-radius: 50%;
  font-weight: 700;
}
.admin-content {
  padding: 31px 33px 50px;
  max-width: 1700px;
  margin: auto;
}
.admin-title {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
  margin-bottom: 27px;
}
.admin-title .eyebrow {
  margin-bottom: 9px;
  font-size: 9px;
}
.admin-title h1 {
  font-size: 29px;
  margin: 0 0 10px;
  letter-spacing: -0.7px;
}
.admin-title p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}
.admin-title .actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filterbar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 7px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.filterbar label {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.filterbar input,
.filterbar select {
  min-height: 34px;
  padding: 7px 9px;
  font-size: 11px;
  max-width: 180px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0 0 24px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 20px;
}
.stat-label {
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
}
.stat-value {
  font-size: 32px;
  letter-spacing: -1px;
  line-height: 1;
}
.stat-note {
  color: var(--muted);
  font-size: 10px;
  margin-top: 12px;
  line-height: 1.6;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 22px;
  overflow: hidden;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 20px 23px;
  border-bottom: 1px solid var(--line);
}
.panel-head h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 5px;
}
.panel-head p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}
.panel-body {
  padding: 22px;
}
.panel-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 22px;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  white-space: nowrap;
  font-size: 12px;
}
th {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.65px;
  background: #f6f9fa;
  color: #7b8e9a;
  font-weight: 600;
  padding: 12px 17px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 16px 17px;
  border-bottom: 1px solid #edf1f3;
  vertical-align: middle;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #f9fcfd;
}
td strong {
  font-size: 12px;
  font-weight: 600;
}
td small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
  margin-top: 5px;
}
td .clip {
  display: block;
  max-width: 270px;
  white-space: normal;
  line-height: 1.6;
}
.table-actions {
  display: flex;
  gap: 6px;
}
.code-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  border-radius: 5px;
  background: #e8f3f3;
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  margin-right: 10px;
  vertical-align: middle;
}
.table-empty {
  padding: 35px !important;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.progress {
  width: 85px;
  height: 4px;
  background: #e9eff2;
  border-radius: 3px;
  margin-top: 8px;
  overflow: hidden;
}
.progress span {
  height: 100%;
  display: block;
  background: var(--aqua);
}
.setup-row {
  display: flex;
  gap: 14px;
  align-items: start;
  padding: 15px 0;
  border-bottom: 1px solid #edf1f3;
}
.setup-row:last-child {
  border: 0;
}
.setup-dot {
  width: 25px;
  height: 25px;
  flex: none;
  border-radius: 50%;
  background: #edf3f6;
  display: grid;
  place-content: center;
  font-size: 10px;
  color: var(--teal);
}
.setup-row h3 {
  font-size: 12px;
  margin: 0 0 6px;
}
.setup-row p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.setup-row .btn {
  margin-left: auto;
}
.heatmap {
  display: flex;
  gap: 3px;
  align-items: stretch;
  height: 76px;
  padding: 16px 0 0;
  min-width: 250px;
}
.heat-cell {
  flex: 1;
  background: var(--aqua);
  border-radius: 2px;
  align-self: end;
  min-height: 5px;
  min-width: 3px;
}
.heat-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  margin-top: 8px;
}
.legend {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: var(--muted);
  margin-top: 15px;
}
.legend i {
  width: 12px;
  height: 12px;
  display: block;
  background: var(--aqua);
}
.viewer-head {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 25px;
}
.viewer-head .avatar {
  width: 48px;
  height: 48px;
  font-size: 17px;
}
.viewer-head h3 {
  font-size: 21px;
  margin: 0 0 7px;
}
.viewer-head p {
  font-size: 12px;
  margin: 0;
  color: var(--muted);
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 25px;
  margin-bottom: 25px;
}
.detail-grid dt {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 7px;
}
.detail-grid dd {
  font-size: 13px;
  margin: 0;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.divider-title {
  font-size: 12px;
  margin: 25px 0 15px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.access-row {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.access-row div {
  flex: 1;
}
.access-row small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 6px;
}
.player-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 25px;
  align-items: start;
}
.player-box {
  position: relative;
  background: #041019;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.player-box video {
  width: 100%;
  height: 100%;
  display: block;
}
.watermark {
  position: absolute;
  right: 18px;
  top: 16px;
  color: #ffffffa6;
  text-shadow: 0 1px 3px #000;
  font-size: 10px;
  pointer-events: none;
  z-index: 3;
  background: #0004;
  padding: 6px 9px;
  border-radius: 4px;
  max-width: 70%;
  overflow-wrap: anywhere;
}
.watch-info h2 {
  font-size: 25px;
  font-weight: 500;
  line-height: 1.4;
  margin: 23px 0 12px;
}
.watch-info p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.watch-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding: 20px 0;
  margin-top: 22px;
}
.chapters {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.chapters h3 {
  font-size: 14px;
  margin: 0;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}
.chapter {
  display: flex;
  align-items: start;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 0;
  padding: 16px 19px;
  border-bottom: 1px solid #edf1f3;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink);
}
.chapter:hover {
  background: #edf7f7;
}
.chapter span {
  font-size: 10px;
  color: var(--teal);
  flex: none;
}
.chapter-note {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  padding: 20px;
}
.privacy {
  max-width: 780px;
  font-size: 14px;
  line-height: 1.9;
}
.privacy h2 {
  font-size: 21px;
  margin-top: 30px;
}
.privacy li {
  margin-bottom: 12px;
}
.mobile-admin-nav {
  display: none;
}
.upload-progress {
  width: 100%;
  height: 8px;
  border: 0;
  accent-color: var(--teal);
}
.inline-status {
  padding: 14px;
  border-radius: 6px;
  background: #f4f8fa;
  margin-bottom: 18px;
  font-size: 12px;
}
.nowrap {
  white-space: nowrap;
}
.selection-count {
  font-size: 11px;
  color: var(--muted);
}
@media (min-width: 1500px) {
  .container {
    padding-left: 35px;
    padding-right: 35px;
  }
  .hero {
    padding-left: calc((100vw - 1250px) / 2);
    padding-right: calc((100vw - 1250px) / 2);
  }
  .card-art {
    height: 240px;
  }
}
@media (max-width: 1050px) {
  .hero {
    gap: 30px;
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .hero-copy > p {
    font-size: 13px;
  }
  .nav {
    gap: 18px;
  }
  .brand span {
    display: none;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .panel-grid {
    grid-template-columns: 1fr;
  }
  .admin-content {
    padding: 25px;
  }
  .admin-topbar {
    padding: 0 25px;
  }
  .player-layout {
    grid-template-columns: 1fr 250px;
  }
  .intro-strip {
    gap: 23px;
  }
  .film-grid {
    gap: 18px;
  }
  .card-art {
    height: 180px;
  }
}
@media (max-width: 760px) {
  .topbar {
    height: 72px;
    padding: 0 20px;
  }
  .brand img {
    width: 145px;
    height: 45px;
  }
  .nav > a {
    display: none;
  }
  .nav .btn {
    font-size: 11px;
    min-height: 37px;
    padding: 9px 13px;
  }
  .hero {
    display: block;
    padding: 36px 22px 32px;
  }
  .hero h1 {
    font-size: 39px;
    max-width: 500px;
  }
  .hero-copy > p {
    font-size: 13px;
  }
  .hero-feature {
    margin-top: 32px;
  }
  .trustline {
    gap: 12px;
    font-size: 10px;
  }
  .intro-strip {
    justify-content: flex-start;
    gap: 16px;
    overflow: auto;
    white-space: nowrap;
    font-size: 10px;
    padding: 17px 22px;
  }
  .container {
    padding: 36px 22px;
  }
  .section-heading {
    align-items: start;
  }
  .section-heading h2 {
    font-size: 25px;
  }
  .section-heading p {
    font-size: 12px;
  }
  .library-controls {
    align-items: start;
    flex-direction: column;
    gap: 17px;
  }
  .search {
    max-width: none;
    width: 100%;
  }
  .film-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .card-art {
    height: auto;
    aspect-ratio: 16/9;
  }
  .card-art .art-topic {
    font-size: 25px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .shorts-banner {
    align-items: start;
    flex-direction: column;
    padding: 23px;
  }
  .footer {
    align-items: start;
    flex-direction: column;
    padding: 28px 22px;
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 18px;
  }
  .modal-scrim {
    padding: 10px;
  }
  .modal {
    max-height: 95dvh;
    border-radius: 9px;
  }
  .modal-head {
    padding: 21px;
  }
  .modal-body {
    padding: 22px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .modal-head h2 {
    font-size: 20px;
  }
  .form-actions {
    flex-wrap: wrap;
  }
  .admin-layout {
    display: block;
  }
  .sidebar {
    display: none;
  }
  .admin-topbar {
    height: 65px;
    padding: 0 18px;
  }
  .admin-topbar .crumb {
    font-size: 11px;
  }
  .admin-user .name {
    display: none;
  }
  .mobile-admin-nav {
    display: flex;
    overflow: auto;
    gap: 5px;
    background: var(--navy);
    padding: 10px 13px;
    position: sticky;
    top: 0;
    z-index: 10;
  }
  .mobile-admin-nav button {
    white-space: nowrap;
    border: 0;
    background: transparent;
    color: #c0d3da;
    padding: 9px 11px;
    border-radius: 4px;
    font-size: 11px;
  }
  .mobile-admin-nav button.active {
    background: #254b5c;
    color: white;
  }
  .admin-content {
    padding: 23px 16px 35px;
  }
  .admin-title {
    flex-direction: column;
    gap: 17px;
  }
  .admin-title h1 {
    font-size: 26px;
  }
  .stats {
    gap: 11px;
  }
  .stat {
    padding: 16px;
  }
  .stat-value {
    font-size: 29px;
  }
  .stat-note {
    font-size: 9px;
  }
  .panel-head {
    padding: 17px;
  }
  .panel-body {
    padding: 17px;
  }
  .panel-grid {
    gap: 0;
  }
  .filterbar {
    gap: 12px;
    padding: 13px;
  }
  .filterbar label {
    width: calc(50% - 6px);
  }
  .filterbar input,
  .filterbar select {
    max-width: none;
    width: 100%;
    font-size: 11px;
  }
  .filterbar > .btn {
    margin-top: 5px;
  }
  .player-layout {
    grid-template-columns: 1fr;
  }
  .player-box {
    margin: 0 -22px;
    border-radius: 0;
  }
  .watch-info h2 {
    font-size: 23px;
  }
  .watermark {
    right: 9px;
    top: 9px;
    font-size: 8px;
  }
  .chapters {
    margin-top: 12px;
  }
  .detail-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .panel-head h2 {
    font-size: 14px;
  }
  .admin-title .actions {
    width: 100%;
  }
  .admin-title .actions .btn {
    flex: 1;
  }
  .access-row {
    flex-wrap: wrap;
  }
  .access-row > div {
    min-width: 70%;
  }
  .card-bottom {
    gap: 4px;
  }
  .card-bottom .btn {
    font-size: 11px;
    padding: 9px 12px;
  }
  .page-header {
    padding: 25px 22px;
  }
  .page-header h1 {
    font-size: 27px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.modal-open {
  overflow: hidden;
}
.film-grid > .full {
  grid-column: 1/-1;
}
.heat-cell.level0 {
  height: 5%;
  opacity: 0.15;
}
.heat-cell.level1 {
  height: 10%;
  opacity: 0.15;
}
.heat-cell.level2 {
  height: 20%;
  opacity: 0.2;
}
.heat-cell.level3 {
  height: 30%;
  opacity: 0.3;
}
.heat-cell.level4 {
  height: 40%;
  opacity: 0.4;
}
.heat-cell.level5 {
  height: 50%;
  opacity: 0.5;
}
.heat-cell.level6 {
  height: 60%;
  opacity: 0.6;
}
.heat-cell.level7 {
  height: 70%;
  opacity: 0.7;
}
.heat-cell.level8 {
  height: 80%;
  opacity: 0.8;
}
.heat-cell.level9 {
  height: 90%;
  opacity: 0.9;
}
.heat-cell.level10 {
  height: 100%;
  opacity: 1;
}
.mail-preview {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 12px/1.8 Arial;
  background: #f5f8fa;
  padding: 16px;
  border: 1px solid #dce6eb;
  border-radius: 5px;
}
