:root {
  --bg: #f4f6fb;
  --panel: #ffffff;
  --panel-2: #f8f9fd;
  --line: #d9e0ee;
  --text: #182033;
  --muted: #68758f;
  --navy: #0f1728;
  --gold: #d8a23d;
  --gold-soft: rgba(216, 162, 61, 0.15);
  --danger: #b93f4c;
  --shadow: 0 18px 45px rgba(15, 23, 40, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", sans-serif;
  background: #050911;
  color: var(--text);
}

button,
input,
textarea,
a {
  font: inherit;
}

.hidden {
  display: none !important;
}

.page-shell {
  min-height: 100vh;
}

.login-panel {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(4, 8, 15, 0.82) 0%, rgba(4, 8, 15, 0.42) 40%, rgba(4, 8, 15, 0.78) 100%),
    linear-gradient(180deg, rgba(4, 8, 15, 0.2), rgba(4, 8, 15, 0.72)),
    url("/shared-assets/background-nyc.png") center center / cover no-repeat;
}

.login-panel::before,
.login-panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.login-panel::before {
  inset: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(216, 162, 61, 0.22), transparent 20%),
    radial-gradient(circle at 78% 24%, rgba(79, 129, 216, 0.16), transparent 24%);
}

.login-panel::after {
  inset: 0;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(6, 10, 18, 0.05), rgba(6, 10, 18, 0.54));
}

.login-panel__shell {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  gap: 28px;
  align-items: center;
}

.login-panel__card,
.panel,
.summary-card,
.action-bar {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 40, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.login-panel__card {
  padding: 34px 32px;
  border-radius: 30px;
  display: grid;
  gap: 24px;
  background:
    radial-gradient(circle at top left, rgba(87, 147, 255, 0.16), transparent 32%),
    radial-gradient(circle at bottom right, rgba(242, 144, 40, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(9, 18, 33, 0.92), rgba(6, 13, 25, 0.9)),
    rgba(9, 18, 33, 0.92);
  border: 1px solid rgba(113, 157, 226, 0.28);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(242, 144, 40, 0.08);
  color: #f4f8ff;
}

.login-panel__card h2 {
  color: #ffffff;
}

.login-panel__card-top p {
  margin-top: 12px;
  color: rgba(214, 225, 244, 0.76);
  line-height: 1.6;
}

.login-brand {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  display: grid;
  align-items: end;
}

.login-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 8, 15, 0.12), rgba(4, 8, 15, 0.68)),
    linear-gradient(90deg, rgba(4, 8, 15, 0.26), transparent 36%);
  pointer-events: none;
}

.login-brand__overlay {
  position: relative;
  z-index: 1;
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
}

.login-brand__logo {
  width: min(100%, 520px);
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 24px 42px rgba(0, 0, 0, 0.56))
    drop-shadow(0 0 28px rgba(216, 162, 61, 0.2));
}

.login-brand__title-wrap {
  margin-top: auto;
  padding-top: 24px;
  max-width: 520px;
}

.login-brand h1 {
  margin-top: 10px;
  font-size: clamp(56px, 6vw, 90px);
  line-height: 0.92;
  letter-spacing: -0.05em;
  color: #fff;
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.44);
}

.login-brand__title-wrap p {
  margin-top: 14px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(237, 242, 250, 0.78);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  margin-top: 10px;
  font-size: 34px;
  line-height: 1.05;
}

h2 {
  margin-top: 8px;
  font-size: 26px;
  line-height: 1.05;
}

.stack {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
}

label span {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.login-panel__card label span {
  color: rgba(231, 238, 250, 0.84);
}

input,
textarea {
  width: 100%;
  padding: 14px 15px;
  border-radius: 16px;
  border: 1px solid rgba(24, 32, 51, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  resize: vertical;
}

.login-panel__card input {
  border: 1px solid rgba(111, 148, 211, 0.26);
  background:
    linear-gradient(180deg, rgba(20, 33, 56, 0.82), rgba(12, 23, 42, 0.84)),
    rgba(15, 26, 45, 0.88);
  color: #f4f8ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.login-panel__card input::placeholder {
  color: rgba(180, 194, 220, 0.58);
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(216, 162, 61, 0.18);
  border-color: rgba(216, 162, 61, 0.5);
}

.login-panel__card input:focus {
  outline: 2px solid rgba(87, 147, 255, 0.18);
  border-color: rgba(242, 144, 40, 0.62);
  box-shadow:
    0 0 0 4px rgba(87, 147, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.primary-button,
.ghost-button,
.remove-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.primary-button {
  background: linear-gradient(180deg, #f7b252, #da7419);
  color: #190d04;
  font-weight: 800;
  box-shadow:
    0 18px 36px rgba(218, 116, 25, 0.28),
    0 0 24px rgba(242, 144, 40, 0.16);
}

.ghost-button {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
}

.remove-button {
  background: #fff5f5;
  color: var(--danger);
  border-color: rgba(185, 63, 76, 0.16);
}

.primary-button:hover,
.ghost-button:hover,
.remove-button:hover {
  transform: translateY(-1px);
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  background:
    linear-gradient(180deg, rgba(4, 8, 15, 0.96), rgba(8, 14, 26, 0.98)),
    #060b13;
}

.admin-sidebar {
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background:
    linear-gradient(180deg, rgba(6, 12, 21, 0.98), rgba(8, 15, 28, 0.94)),
    rgba(7, 12, 21, 0.96);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 24px 0 70px rgba(0, 0, 0, 0.22);
}

.admin-sidebar__brand {
  padding: 8px 6px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-sidebar__logo {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
  margin: 0 auto 16px;
  filter:
    drop-shadow(0 12px 28px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 20px rgba(242, 144, 40, 0.12));
}

.admin-sidebar__brand-copy strong {
  display: block;
  margin-top: 8px;
  font-size: 22px;
  color: #fff;
}

.admin-sidebar__brand-copy p {
  margin-top: 10px;
  color: rgba(206, 217, 236, 0.72);
  line-height: 1.6;
}

.admin-nav {
  display: grid;
  gap: 10px;
}

.admin-nav__button {
  min-height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  text-align: left;
  font-weight: 700;
  color: rgba(223, 232, 247, 0.82);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition:
    transform 140ms ease,
    border-color 140ms ease,
    background 140ms ease,
    color 140ms ease;
}

.admin-nav__button:hover {
  transform: translateX(2px);
  border-color: rgba(113, 157, 226, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.admin-nav__button--active {
  color: #fff4de;
  background:
    linear-gradient(180deg, rgba(242, 144, 40, 0.28), rgba(122, 58, 11, 0.22)),
    rgba(255, 255, 255, 0.04);
  border-color: rgba(242, 144, 40, 0.28);
  box-shadow:
    0 14px 30px rgba(80, 34, 4, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.admin-sidebar__footer {
  margin-top: auto;
  display: grid;
  gap: 12px;
}

.admin-sidebar .ghost-button {
  background: rgba(255, 255, 255, 0.04);
  color: #edf2fb;
  border-color: rgba(255, 255, 255, 0.08);
}

.admin-main {
  padding: 28px;
  display: grid;
  align-content: start;
  gap: 18px;
}

.admin-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.admin-header > div:first-child p {
  margin-top: 12px;
  max-width: 640px;
  color: rgba(202, 214, 234, 0.72);
  line-height: 1.6;
}

.admin-header h1 {
  margin-top: 8px;
  color: #fff;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 0.98;
}

.admin-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.save-status-card {
  min-width: 170px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.save-status-card span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(202, 214, 234, 0.62);
}

.save-status-card strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  color: #fff;
}

.admin-section {
  display: grid;
  gap: 18px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.summary-card {
  padding: 22px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.04)),
    rgba(10, 18, 32, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.16);
}

.summary-card span {
  display: block;
  font-size: 13px;
  color: rgba(200, 212, 233, 0.68);
}

.summary-card strong {
  display: block;
  margin-top: 8px;
  font-size: 30px;
  color: #fff;
}

.panel {
  padding: 24px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02)),
    rgba(8, 15, 27, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.18);
}

.panel__header,
.editor-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel__header h2 {
  color: #fff;
}

.source-field {
  margin-top: 18px;
}

.source-field span {
  color: rgba(229, 236, 249, 0.84);
}

.source-field input,
.editor-card input,
.editor-card textarea {
  border: 1px solid rgba(110, 145, 203, 0.18);
  background:
    linear-gradient(180deg, rgba(16, 28, 48, 0.8), rgba(11, 21, 38, 0.88)),
    rgba(10, 18, 32, 0.86);
  color: #f4f8ff;
}

.source-field input::placeholder,
.editor-card input::placeholder,
.editor-card textarea::placeholder {
  color: rgba(179, 192, 218, 0.56);
}

.editor-list {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.library-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.library-toolbar input {
  max-width: 420px;
  border: 1px solid rgba(110, 145, 203, 0.18);
  background:
    linear-gradient(180deg, rgba(16, 28, 48, 0.8), rgba(11, 21, 38, 0.88)),
    rgba(10, 18, 32, 0.86);
  color: #f4f8ff;
}

.library-toolbar__meta {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(202, 214, 234, 0.62);
}

.library-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.library-card,
.library-empty {
  padding: 18px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02)),
    rgba(12, 21, 38, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 12px;
}

.library-card {
  overflow: hidden;
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.library-card__media {
  min-height: 170px;
  margin: -18px -18px 2px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.library-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 8, 15, 0.04), rgba(4, 8, 15, 0.36)),
    linear-gradient(0deg, rgba(4, 8, 15, 0.7), transparent 55%);
}

.library-card__media--placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top left, rgba(242, 144, 40, 0.24), transparent 30%),
    radial-gradient(circle at bottom right, rgba(86, 139, 245, 0.18), transparent 35%),
    linear-gradient(180deg, rgba(14, 27, 47, 0.92), rgba(10, 18, 32, 0.96));
}

.library-card__media--placeholder span {
  position: relative;
  z-index: 1;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff2db;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.library-card__top,
.library-card__foot,
.library-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.library-card__badge {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff0d7;
  background: rgba(242, 144, 40, 0.16);
  border: 1px solid rgba(242, 144, 40, 0.2);
}

.library-card__meta,
.library-card__foot,
.library-empty {
  color: rgba(202, 214, 234, 0.72);
  font-size: 13px;
  line-height: 1.6;
}

.library-card__title {
  font-size: 20px;
  line-height: 1.15;
  color: #fff;
}

.library-card__body {
  color: rgba(229, 236, 249, 0.74);
  line-height: 1.6;
  min-height: 46px;
}

.library-card__actions {
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.library-card .ghost-button,
.library-card .remove-button {
  min-height: 40px;
}

.library-card:hover {
  transform: translateY(-2px);
  border-color: rgba(242, 144, 40, 0.18);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(242, 144, 40, 0.06);
}

.editor-card {
  padding: 18px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02)),
    rgba(12, 21, 38, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 14px;
}

.editor-card__header h3 {
  font-size: 18px;
  color: #fff;
}

.editor-card label span {
  color: rgba(229, 236, 249, 0.82);
}

.upload-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.upload-actions__group {
  display: flex;
}

.upload-status {
  min-height: 20px;
  font-size: 12px;
  color: rgba(242, 191, 112, 0.92);
}

.video-preview {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02)),
    rgba(12, 21, 38, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.video-preview__media {
  min-height: 170px;
  border-radius: 18px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.video-preview__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 8, 15, 0.08), rgba(4, 8, 15, 0.66)),
    linear-gradient(0deg, rgba(4, 8, 15, 0.68), transparent 60%);
}

.video-preview__media--empty {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top left, rgba(242, 144, 40, 0.24), transparent 30%),
    radial-gradient(circle at bottom right, rgba(86, 139, 245, 0.18), transparent 35%),
    linear-gradient(180deg, rgba(14, 27, 47, 0.92), rgba(10, 18, 32, 0.96));
}

.video-preview__media span {
  position: relative;
  z-index: 1;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff2db;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.video-preview__body {
  display: grid;
  align-content: center;
  gap: 10px;
}

.video-preview__body strong {
  font-size: 22px;
  line-height: 1.15;
  color: #fff;
}

.video-preview__body p {
  color: rgba(229, 236, 249, 0.74);
  line-height: 1.6;
}

.video-preview__meta {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 191, 112, 0.92);
}

.video-player-preview,
.audio-preview {
  display: grid;
  gap: 16px;
  padding: 16px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02)),
    rgba(12, 21, 38, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.video-player-preview__empty {
  min-height: 180px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: rgba(229, 236, 249, 0.72);
  text-align: center;
  background:
    radial-gradient(circle at top left, rgba(242, 144, 40, 0.24), transparent 30%),
    radial-gradient(circle at bottom right, rgba(86, 139, 245, 0.18), transparent 35%),
    linear-gradient(180deg, rgba(14, 27, 47, 0.92), rgba(10, 18, 32, 0.96));
}

.video-player-preview__frame {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 18px;
  background: #000;
}

.audio-preview {
  grid-template-columns: 150px minmax(0, 1fr);
}

.audio-preview__art {
  min-height: 150px;
  border-radius: 18px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  position: relative;
}

.audio-preview__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 8, 15, 0.08), rgba(4, 8, 15, 0.66)),
    linear-gradient(0deg, rgba(4, 8, 15, 0.68), transparent 60%);
}

.audio-preview__art--empty {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top left, rgba(242, 144, 40, 0.24), transparent 30%),
    radial-gradient(circle at bottom right, rgba(86, 139, 245, 0.18), transparent 35%),
    linear-gradient(180deg, rgba(14, 27, 47, 0.92), rgba(10, 18, 32, 0.96));
}

.audio-preview__art span {
  position: relative;
  z-index: 1;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff2db;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.audio-preview__body {
  display: grid;
  align-content: center;
  gap: 10px;
}

.audio-preview__body strong {
  font-size: 22px;
  line-height: 1.15;
  color: #fff;
}

.audio-preview__body p {
  color: rgba(229, 236, 249, 0.74);
  line-height: 1.6;
}

.audio-preview__player {
  width: 100%;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.status-message {
  min-height: 20px;
  color: var(--muted);
}

.login-panel__card .status-message {
  color: rgba(242, 191, 112, 0.92);
}

.admin-status-message {
  color: rgba(242, 191, 112, 0.92);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 8, 15, 0.72);
  backdrop-filter: blur(10px);
}

.modal-dialog {
  width: min(100%, 840px);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 24px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(8, 15, 27, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.32);
}

.modal-header,
.modal-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.modal-header {
  justify-content: space-between;
}

.modal-header h2 {
  color: #fff;
}

.modal-content {
  margin-top: 18px;
}

.modal-content .editor-card {
  padding: 0;
  background: transparent;
  border: 0;
}

.modal-actions {
  margin-top: 18px;
  justify-content: flex-end;
}

.modal-actions__spacer {
  flex: 1;
}

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

  .admin-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .admin-nav,
  .admin-sidebar__footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .login-panel__shell,
  .summary-grid,
  .library-list,
  .video-preview,
  .audio-preview,
  .field-grid,
  .admin-nav,
  .admin-sidebar__footer {
    grid-template-columns: 1fr;
  }

  .login-brand {
    min-height: 360px;
  }

  .admin-main,
  .admin-sidebar {
    padding: 20px;
  }

  .admin-header,
  .panel__header,
  .editor-card__header,
  .admin-header__actions,
  .library-toolbar,
  .modal-header,
  .modal-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
