html {
  font-size: 14px;
  color-scheme: light;
  --tengella-blue: #438FCC;
  --tengella-blue-dark: #2f6f9f;
  --tengella-blue-soft: #eaf4fb;
  --tengella-ink: #17324a;
  --tengella-border: #c8deef;
  --page-bg: #f7fafc;
  --surface-bg: #fff;
  --surface-subtle: #fafdff;
  --text-muted: #536a7a;
  --shadow-soft: rgba(23, 50, 74, 0.08);
  --shadow-nav: rgba(23, 50, 74, 0.12);
  --focus-ring-base: white;
  --danger-soft: #fff2f2;
  --video-option-active-bg: var(--tengella-blue-soft);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --tengella-blue: #6bb0e3;
  --tengella-blue-dark: #9bc9ee;
  --tengella-blue-soft: #193a54;
  --tengella-ink: #edf6fc;
  --tengella-border: #31536d;
  --page-bg: #0f1b24;
  --surface-bg: #162733;
  --surface-subtle: #12212c;
  --text-muted: #a8bdcb;
  --shadow-soft: rgba(0, 0, 0, 0.28);
  --shadow-nav: rgba(0, 0, 0, 0.38);
  --focus-ring-base: #0f1b24;
  --danger-soft: #351a1d;
  --video-option-active-bg: #1d4968;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus, .form-select:focus {
  border-color: var(--tengella-blue);
  box-shadow: 0 0 0 0.1rem var(--focus-ring-base), 0 0 0 0.25rem rgba(67, 143, 204, 0.35);
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  color: var(--tengella-ink);
  background: var(--page-bg);
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.app-navbar {
  background: var(--surface-bg);
  border-bottom: 3px solid var(--tengella-blue);
  box-shadow: 0 2px 16px var(--shadow-nav);
}

.app-navbar .nav-link,
.app-navbar .navbar-text {
  color: var(--tengella-ink) !important;
}

.app-brand {
  display: inline-flex;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
}

.app-brand img {
  display: block;
  width: 146px;
  height: auto;
}

.theme-logo--dark {
  display: none !important;
}

html[data-theme="dark"] .theme-logo--light {
  display: none !important;
}

html[data-theme="dark"] .theme-logo--dark {
  display: block !important;
}

.app-navbar .nav-link {
  border-radius: 6px;
}

.app-navbar .navbar-nav {
  align-items: center;
}

.app-user-name {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding-top: 0;
  padding-bottom: 0;
}

.language-selector,
.theme-selector {
  display: flex;
  align-items: center;
  min-height: 40px;
}

.app-navbar .language-selector,
.app-navbar .theme-selector {
  margin-right: 0.75rem;
}

.language-selector__button,
.theme-selector__button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  justify-content: space-between;
  border-color: var(--tengella-border);
  background: var(--surface-bg);
  color: var(--tengella-ink) !important;
}

.language-selector__button {
  min-width: 8.75rem;
}

.theme-selector__button {
  min-width: 7rem;
}

.language-selector__button img,
.language-selector__item img {
  width: 1.35rem;
  height: 0.9rem;
  flex: 0 0 auto;
  border: 1px solid rgba(23, 50, 74, 0.18);
  border-radius: 2px;
  object-fit: cover;
}

.language-selector__menu,
.theme-selector__menu {
  min-width: 9.5rem;
  border-color: var(--tengella-border);
  background: var(--surface-bg);
}

.language-selector__item,
.theme-selector__item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--tengella-ink);
}

.language-selector__item:hover,
.language-selector__item:focus,
.theme-selector__item:hover,
.theme-selector__item:focus,
.theme-selector__item.active {
  background: var(--tengella-blue-soft);
  color: var(--tengella-blue-dark);
}

.theme-selector__icon {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: linear-gradient(90deg, currentColor 50%, transparent 50%);
}

.theme-selector__icon--system {
  border-radius: 4px;
  background: linear-gradient(90deg, currentColor 50%, transparent 50%);
}

.theme-selector__icon--light {
  background: transparent;
}

.theme-selector__icon--dark {
  background: currentColor;
}

.floating-preference-controls {
  position: fixed;
  top: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
  z-index: 20;
}

.language-selector--floating {
  position: static;
}

.theme-selector--floating {
  position: static;
}

.language-selector--floating .language-selector__button {
  background-color: color-mix(in srgb, var(--surface-bg) 92%, transparent);
  box-shadow: 0 6px 18px var(--shadow-nav);
}

.floating-preference-controls .theme-selector__button {
  background-color: color-mix(in srgb, var(--surface-bg) 92%, transparent);
  box-shadow: 0 6px 18px var(--shadow-nav);
}

.app-navbar .nav-link:hover,
.app-navbar .nav-link:focus {
  background: var(--tengella-blue-soft);
  color: var(--tengella-blue-dark) !important;
}

.app-nav-dropdown {
  border-color: var(--tengella-border);
  background: var(--surface-bg);
  box-shadow: 0 8px 20px var(--shadow-nav);
}

.app-nav-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  min-height: 2.35rem;
  color: var(--tengella-ink);
}

.app-nav-dropdown .dropdown-item:hover,
.app-nav-dropdown .dropdown-item:focus {
  background: var(--tengella-blue-soft);
  color: var(--tengella-blue-dark);
}

.app-navbar .navbar-toggler {
  border-color: var(--tengella-border);
}

.btn-primary {
  --bs-btn-bg: var(--tengella-blue);
  --bs-btn-border-color: var(--tengella-blue);
  --bs-btn-hover-bg: var(--tengella-blue-dark);
  --bs-btn-hover-border-color: var(--tengella-blue-dark);
  --bs-btn-active-bg: var(--tengella-blue-dark);
  --bs-btn-active-border-color: var(--tengella-blue-dark);
}

.btn-outline-primary {
  --bs-btn-color: var(--tengella-blue-dark);
  --bs-btn-border-color: var(--tengella-blue);
  --bs-btn-hover-bg: var(--tengella-blue);
  --bs-btn-hover-border-color: var(--tengella-blue);
}

.action-icon {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  margin-right: 0.4rem;
  vertical-align: -0.15rem;
  background: currentColor;
  -webkit-mask: var(--action-icon) center / contain no-repeat;
  mask: var(--action-icon) center / contain no-repeat;
}

.action-icon--create {
  --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
}

.action-icon--edit {
  --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M4 20h4L19 9l-4-4L4 16v4zM13.5 6.5l4 4'/%3E%3C/svg%3E");
}

.action-icon--upload {
  --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M12 16V4m0 0 5 5m-5-5L7 9M4 16v3a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-3'/%3E%3C/svg%3E");
}

.action-icon--save {
  --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5 10 17 19 7'/%3E%3C/svg%3E");
}

.action-icon--link {
  --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M10 13a5 5 0 0 0 7.1 0l2-2a5 5 0 0 0-7.1-7.1l-1.1 1.1M14 11a5 5 0 0 0-7.1 0l-2 2A5 5 0 0 0 12 20.1l1.1-1.1'/%3E%3C/svg%3E");
}

.action-icon--list {
  --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M8 6h12M8 12h12M8 18h12M4 6h.01M4 12h.01M4 18h.01'/%3E%3C/svg%3E");
}

.action-icon--activity {
  --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M4 12h4l2-5 4 10 2-5h4'/%3E%3C/svg%3E");
}

.action-icon--video-list {
  --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M4 6h10v7H4zM17 8l3-2v7l-3-2zM4 18h16'/%3E%3C/svg%3E");
}

.action-icon--log {
  --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M7 3h8l4 4v14H7zM14 3v5h5M10 12h6M10 16h6'/%3E%3C/svg%3E");
}

.action-icon--dashboard {
  --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M4 13h7V4H4zM13 20h7V4h-7zM4 20h7v-5H4z'/%3E%3C/svg%3E");
}

.action-icon--archive {
  --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M4 7h16M7 7l1 13h8l1-13M9 4h6l1 3M10 12h4'/%3E%3C/svg%3E");
}

.action-icon--restore {
  --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M4 7h16M7 7l1 13h8l1-13M9 4h6l1 3M12 11v6M9 14h6'/%3E%3C/svg%3E");
}

h1, h2, h3, h4 {
  color: var(--tengella-ink);
}

.table thead th {
  background: var(--tengella-blue-soft);
  color: var(--tengella-ink);
  border-bottom-color: var(--tengella-border);
}

.list-group-item {
  border-color: var(--tengella-border);
  background: var(--surface-bg);
  color: var(--tengella-ink);
}

.admin-page-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.admin-page-header__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.admin-focus-card {
  display: flex;
  min-height: 8.5rem;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  border: 1px solid var(--tengella-border);
  border-radius: 8px;
  background: var(--surface-bg);
  color: var(--tengella-ink);
  text-decoration: none;
  box-shadow: 0 6px 18px var(--shadow-soft);
}

.admin-focus-card:hover,
.admin-focus-card:focus {
  border-color: var(--tengella-blue);
  color: var(--tengella-ink);
  transform: translateY(-1px);
}

.admin-focus-card--primary {
  background: var(--tengella-blue);
  border-color: var(--tengella-blue);
  color: #fff;
}

.admin-focus-card--primary:hover,
.admin-focus-card--primary:focus {
  color: #fff;
}

.admin-focus-card strong {
  display: block;
  font-size: 1.2rem;
}

.admin-focus-card span:last-child {
  color: var(--text-muted);
}

.admin-focus-card--primary span:last-child,
.admin-focus-card--primary .admin-focus-card__label {
  color: rgba(255, 255, 255, 0.86);
}

.admin-focus-card__label {
  color: var(--tengella-blue-dark);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1rem;
}

.admin-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.admin-metric {
  padding: 0.85rem 1rem;
  border: 1px solid var(--tengella-border);
  border-radius: 8px;
  background: var(--surface-bg);
  box-shadow: 0 6px 18px var(--shadow-soft);
}

.admin-metric span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.admin-metric strong {
  display: block;
  color: var(--tengella-ink);
  font-size: 1.35rem;
  line-height: 1.1;
}

.admin-panel,
.admin-form-shell {
  padding: 1rem;
  border: 1px solid var(--tengella-border);
  border-radius: 8px;
  background: var(--surface-bg);
  box-shadow: 0 6px 18px var(--shadow-soft);
}

.text-muted,
.form-text {
  color: var(--text-muted) !important;
}

.form-control,
.form-select {
  border-color: var(--tengella-border);
  background-color: var(--surface-bg);
  color: var(--tengella-ink);
}

.form-control[readonly] {
  background-color: var(--surface-subtle);
  color: var(--tengella-ink);
}

.form-check-input {
  border-color: var(--tengella-border);
  background-color: var(--surface-bg);
}

.table {
  --bs-table-color: var(--tengella-ink);
  --bs-table-bg: var(--surface-bg);
  --bs-table-border-color: var(--tengella-border);
  --bs-table-hover-color: var(--tengella-ink);
  --bs-table-hover-bg: var(--surface-subtle);
}

.admin-section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.admin-section-header h2 {
  margin-bottom: 0.15rem;
}

.admin-table {
  margin-bottom: 0;
}

.admin-table td,
.admin-table th {
  vertical-align: top;
}

.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem;
  min-width: 10rem;
}

.admin-row-actions form {
  margin: 0;
}

.admin-row-actions .btn {
  white-space: nowrap;
}

.admin-link-url {
  display: inline-block;
  max-width: min(44rem, 55vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

.admin-status {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
}

.admin-status--ok {
  background: #e7f6ec;
  color: #22683b;
}

.admin-status--warning {
  background: #fff2d8;
  color: #7a4a00;
}

.admin-status--muted {
  background: #edf1f5;
  color: #53606b;
}

.admin-status--internal {
  background: #eaf4fb;
  color: var(--tengella-blue-dark);
}

html[data-theme="dark"] .admin-status--ok {
  background: #173c28;
  color: #8ee6ad;
}

html[data-theme="dark"] .admin-status--warning {
  background: #3d2f13;
  color: #ffd67a;
}

html[data-theme="dark"] .admin-status--muted {
  background: #263642;
  color: #c2d1dc;
}

html[data-theme="dark"] .admin-status--internal {
  background: #18364d;
  color: #9bc9ee;
}

.admin-category-picker {
  display: grid;
  grid-template-columns: minmax(16rem, 24rem) auto;
  gap: 0.75rem;
  align-items: end;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--tengella-border);
}

.admin-filter-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(10rem, 1fr));
  gap: 0.75rem;
  align-items: end;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--tengella-border);
}

.admin-filter-toggle {
  margin-bottom: 1rem;
}

.admin-filter-bar__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-copy-group {
  max-width: 58rem;
}

.admin-create-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 11rem;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-video-select {
  margin-bottom: 1rem;
}

.admin-video-select__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.admin-video-select__header legend {
  margin-bottom: 0;
}

.admin-select-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.25rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--tengella-border);
  border-radius: 6px;
  background: var(--surface-bg);
  color: var(--tengella-blue-dark);
  font-weight: 700;
}

.admin-video-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.admin-video-option {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  align-items: start;
  gap: 0.75rem;
  min-height: 3rem;
  padding: 0.75rem;
  border: 1px solid var(--tengella-border);
  border-radius: 6px;
  background: var(--surface-subtle);
  cursor: pointer;
}

.admin-video-option:hover {
  border-color: var(--tengella-blue);
  background: var(--surface-bg);
}

.admin-video-option:has(.admin-video-checkbox:checked) {
  border-color: var(--tengella-blue);
  background: var(--video-option-active-bg);
}

.admin-video-checkbox,
.admin-select-all .form-check-input {
  margin: 0.2rem 0 0;
}

.admin-video-option__name {
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.admin-public-note {
  margin-bottom: 1rem;
  padding: 0.65rem 0.75rem;
  border-left: 4px solid var(--tengella-blue);
  background: var(--tengella-blue-soft);
  color: var(--tengella-ink);
}

.admin-public-marker {
  color: var(--tengella-blue-dark);
  font-weight: 800;
}

.admin-build-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.admin-build-info strong {
  color: var(--tengella-ink);
}

.branded-background {
  margin-bottom: 0;
  min-height: 100vh;
  background:
    linear-gradient(145deg, rgba(67, 143, 204, 0.18), rgba(255, 255, 255, 0.86) 42%),
    linear-gradient(180deg, #f7fbfe, #edf5fa);
}

html[data-theme="dark"] .branded-background {
  background:
    linear-gradient(145deg, rgba(67, 143, 204, 0.18), rgba(15, 27, 36, 0.72) 42%),
    linear-gradient(180deg, #0f1b24, #142534);
}

.public-page main {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
}

.public-greeting {
  width: 100%;
  padding: 4rem 0;
}

.public-greeting__content {
  max-width: 620px;
  border-left: 6px solid var(--tengella-blue);
  padding: 2rem 0 2rem 2rem;
}

.public-greeting__logo {
  display: block;
  width: min(260px, 70vw);
  height: auto;
  margin-bottom: 2rem;
}

.public-greeting h1 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
}

.public-greeting p:last-child {
  max-width: 40rem;
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 1.1rem;
}

footer {
  background: var(--surface-bg);
}

.branded-background footer {
  background: transparent;
  border-top: 0 !important;
}

.public-content-header {
  margin: 1rem 0 1.25rem;
  padding: 1.25rem 1.5rem;
  border-left: 6px solid var(--tengella-blue);
  background: transparent;
}

.public-content-header__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
  padding-right: 11rem;
  color: var(--tengella-blue-dark);
  font-weight: 700;
}

.public-content-header__brand img {
  display: block;
  width: min(190px, 52vw);
  height: auto;
}

.public-content-header__title h1 {
  max-width: 58rem;
  margin-bottom: 0.35rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}

.public-content-header__title p {
  max-width: 48rem;
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.watch-video h2 {
  margin-bottom: 0.35rem;
}

.watch-video p {
  margin-bottom: 0.75rem;
}

.watch-video-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.watch-video-list a {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--tengella-border);
  border-radius: 6px;
  background: color-mix(in srgb, var(--surface-bg) 82%, transparent);
  color: var(--tengella-blue-dark);
  font-weight: 600;
  text-decoration: none;
}

.watch-video-list a:hover,
.watch-video-list a:focus {
  border-color: var(--tengella-blue);
  background: var(--surface-bg);
  color: var(--tengella-ink);
}

.watch-video {
  margin-bottom: 2rem;
  scroll-margin-top: 1rem;
}

.watch-video__frame {
  display: flex;
  justify-content: center;
  width: 100%;
  background: #000;
  border: 1px solid var(--tengella-border);
  border-radius: 6px;
  overflow: hidden;
}

.watch-video__frame video {
  display: block;
  width: 100%;
  max-height: min(68vh, 720px);
  object-fit: contain;
  background: #000;
}

@media (max-width: 767.98px) {
  .admin-focus-grid,
  .admin-metric-grid,
  .admin-dashboard-grid,
  .admin-category-picker,
  .admin-filter-bar,
  .admin-create-grid,
  .admin-video-options {
    grid-template-columns: 1fr;
  }

  .admin-link-url {
    max-width: 78vw;
  }

  .public-content-header {
    margin-top: 4.5rem;
    padding: 1rem;
  }

  .public-content-header__brand {
    padding-right: 0;
  }

  .watch-video__frame video {
    max-height: 58vh;
  }
}
