:root {
  --header: #202124;
  --sidebar: #252627;
  --sidebar-hover: #303234;
  --canvas: #f4f5f9;
  --surface: #ffffff;
  --surface-soft: #f8f9fb;
  --ink: #1c1d21;
  --muted: #747985;
  --muted-2: #9ca1ab;
  --line: #e4e7ed;
  --line-strong: #d7dbe3;
  --brand: #c93443;
  --brand-dark: #a92231;
  --brand-soft: #fff0f2;
  --green: #14845f;
  --green-soft: #e8f7f1;
  --blue: #2f6fd0;
  --blue-soft: #ebf2ff;
  --amber: #a96808;
  --amber-soft: #fff4de;
  --red: #c73343;
  --red-soft: #ffedf0;
  --purple: #7157b7;
  --purple-soft: #f1edfc;
  --cyan: #177f94;
  --cyan-soft: #e7f6f9;
  --shadow: 0 1px 3px rgba(22, 27, 39, .10);
  --shadow-raised: 0 8px 24px rgba(28, 31, 42, .10);
  --header-height: 72px;
  --sidebar-width: 286px;
}

/* Localization workspace */
.localization-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 15px;
}
.localization-stats article {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.localization-stats article > span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 39px;
  height: 39px;
  color: var(--purple);
  border-radius: 9px;
  background: var(--purple-soft);
}
.localization-stats article > span.blue { color: var(--blue); background: var(--blue-soft); }
.localization-stats article > span.green { color: var(--green); background: var(--green-soft); }
.localization-stats article > span.amber { color: var(--amber); background: var(--amber-soft); }
.localization-stats article > div { min-width: 0; display: grid; gap: 2px; }
.localization-stats small { overflow: hidden; color: var(--muted); font-size: 9px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.localization-stats strong { font-size: 22px; line-height: 1.1; }
.localization-stats p { margin: 0; overflow: hidden; color: var(--muted-2); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }

.localization-create-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: 15px;
  margin-bottom: 15px;
}
.localization-create-card { padding: 18px; }
.localization-card-heading { display: flex; align-items: center; gap: 11px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.localization-card-heading > span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--purple);
  border-radius: 8px;
  background: var(--purple-soft);
}
.localization-card-heading > span.blue { color: var(--blue); background: var(--blue-soft); }
.localization-card-heading h2 { margin: 0 0 2px; font-size: 13px; }
.localization-card-heading p { margin: 0; color: var(--muted); font-size: 9px; }
.localization-create-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin-top: 15px;
}
.localization-key-form { display: grid; gap: 12px; margin-top: 15px; }
.localization-create-form label,
.localization-key-form label,
.localization-inline-editor label,
.localization-filter label {
  display: grid;
  gap: 5px;
  color: #555b67;
  font-size: 9px;
  font-weight: 750;
}
.localization-create-form label small,
.localization-key-form label small { color: var(--muted-2); font-size: 8px; font-weight: 500; line-height: 1.4; }
.localization-key-form label em { color: var(--muted); font-size: 8px; font-style: normal; font-weight: 600; }
.localization-create-form > button { align-self: end; }
.localization-check { display: flex !important; align-items: center; gap: 9px !important; min-height: 38px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-soft); }
.localization-check input[type="checkbox"] { flex: 0 0 auto; width: 16px; height: 16px; margin: 0; accent-color: var(--brand); }
.localization-check > span { display: grid; gap: 1px; }
.localization-check > span small { color: var(--muted); font-size: 8px; font-weight: 500; }

.localization-languages { margin-bottom: 15px; }
.localization-language-table,
.localization-translation-table { width: 100%; border-collapse: collapse; }
.localization-language-table th,
.localization-translation-table th {
  padding: 10px 12px;
  color: #727784;
  border-bottom: 1px solid var(--line-strong);
  background: #fafbfc;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .45px;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}
.localization-language-table td { padding: 9px 12px; border-bottom: 1px solid var(--line); font-size: 9px; vertical-align: middle; }
.localization-language-table tr.selected:not(.localization-edit-row) { background: #fffafb; }
.localization-language-table code,
.localization-translation-table code { color: #4f5561; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; }
.localization-language-name { display: flex; align-items: center; gap: 9px; min-width: 150px; }
.localization-language-name > span,
.localization-editor-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 31px;
  height: 31px;
  color: #555d6c;
  border: 1px solid #dce0e7;
  border-radius: 50%;
  background: #f2f4f7;
  font-size: 11px;
  font-weight: 800;
}
.localization-language-name > div { min-width: 0; display: grid; gap: 2px; }
.localization-language-name strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.localization-language-name small { color: var(--muted); font-size: 8px; }
.localization-direction,
.localization-version { color: var(--muted); font-size: 8px; font-weight: 750; }
.localization-coverage { min-width: 112px; display: grid; gap: 5px; }
.localization-coverage > span { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.localization-coverage strong { font-size: 9px; }
.localization-coverage small { color: var(--muted); font-size: 8px; }
.localization-coverage > i,
.localization-editor-progress > i {
  display: block;
  overflow: hidden;
  height: 4px;
  border-radius: 999px;
  background: #e9ebef;
}
.localization-coverage > i > b,
.localization-editor-progress > i > b { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.localization-actions { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.localization-actions form { display: inline; margin: 0; }
.localization-actions .mini { padding: 5px 6px; border-radius: 5px; }
.localization-actions .mini:hover { background: var(--blue-soft); }
.localization-edit-row > td { padding: 0; border-bottom: 1px solid var(--line); background: #fafbfc; }
.localization-edit-row details { padding: 0 12px; }
.localization-edit-row summary { width: max-content; padding: 7px 0; color: var(--blue); cursor: pointer; font-size: 8px; font-weight: 700; }
.localization-edit-row details[open] { padding-bottom: 12px; }
.localization-inline-editor { display: grid; grid-template-columns: repeat(5, minmax(110px, 1fr)) auto; align-items: end; gap: 8px; padding: 11px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.localization-delete-form { margin-top: 8px; text-align: right; }
.localization-delete-form .danger-link { padding: 5px 0; }

.localization-editor { overflow: hidden; }
.localization-editor-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px; border-bottom: 1px solid var(--line); }
.localization-editor-title { min-width: 0; display: flex; align-items: center; gap: 11px; }
.localization-editor-avatar { width: 39px; height: 39px; color: #fff; border: 0; border-radius: 9px; background: var(--brand); }
.localization-editor-title > div { min-width: 0; display: grid; gap: 1px; }
.localization-editor-title small { color: var(--brand); font-size: 7px; font-weight: 850; letter-spacing: 1px; }
.localization-editor-title h2 { margin: 0; font-size: 15px; }
.localization-editor-title p { margin: 0; color: var(--muted); font-size: 8px; }
.localization-editor-progress { flex: 0 0 180px; display: grid; gap: 7px; }
.localization-editor-progress > div { display: flex; align-items: baseline; justify-content: space-between; }
.localization-editor-progress strong { font-size: 15px; }
.localization-editor-progress small { color: var(--muted); font-size: 8px; }
.localization-editor-progress > i { height: 6px; }
.localization-filter { display: grid; grid-template-columns: minmax(180px, .55fr) minmax(240px, 1fr) auto; align-items: end; gap: 9px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: var(--surface-soft); }
.localization-search { position: relative; }
.localization-translation-table { table-layout: fixed; }
.localization-translation-table th:first-child { width: 24%; }
.localization-translation-table th:nth-child(2) { width: 34%; }
.localization-translation-table th:nth-child(3) { width: 42%; }
.localization-translation-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.localization-translation-table tbody tr:last-child td { border-bottom: 0; }
.localization-translation-table tr.missing { background: #fffdf7; }
.localization-translation-table td:first-child code { display: block; margin-bottom: 6px; overflow-wrap: anywhere; font-weight: 700; }
.localization-translation-table td:first-child .badge { margin-right: 4px; }
.localization-translation-table td > p { max-height: 98px; margin: 0; overflow: auto; color: #555b67; font-size: 9px; line-height: 1.55; white-space: pre-wrap; }
.localization-translation-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 7px; margin: 0; }
.localization-translation-form textarea { min-height: 58px; resize: vertical; }
.localization-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 18px; border-top: 1px solid var(--line); background: var(--surface-soft); }
.localization-pagination > span { color: var(--muted); font-size: 8px; }
.localization-pagination > div { display: flex; align-items: center; gap: 4px; }
.localization-pagination a { min-width: 27px; padding: 6px 8px; color: #555b67; border: 1px solid var(--line); border-radius: 5px; background: #fff; font-size: 8px; font-weight: 700; text-align: center; }
.localization-pagination a.active { color: #fff; border-color: var(--brand); background: var(--brand); }

@media (max-width: 1180px) {
  .localization-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .localization-inline-editor { grid-template-columns: repeat(3, minmax(110px, 1fr)); }
}

@media (max-width: 900px) {
  .localization-create-grid { grid-template-columns: 1fr; }
  .localization-language-table { min-width: 900px; }
  .localization-translation-table { min-width: 760px; }
  .localization-editor-head { align-items: flex-start; flex-direction: column; }
  .localization-editor-progress { width: 100%; flex-basis: auto; }
}

@media (max-width: 680px) {
  .localization-stats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .localization-stats article { align-items: flex-start; padding: 12px; }
  .localization-stats article > span { width: 32px; height: 32px; }
  .localization-stats strong { font-size: 18px; }
  .localization-create-form { grid-template-columns: 1fr; }
  .localization-inline-editor { grid-template-columns: 1fr; }
  .localization-filter { grid-template-columns: 1fr; }
  .localization-pagination { align-items: flex-start; flex-direction: column; }
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
}

body { margin: 0; min-width: 320px; font-style: normal; }
button, input, textarea, select { font: inherit; font-style: normal; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
svg { display: block; width: 20px; height: 20px; }
img, video { display: block; max-width: 100%; }

.admin-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: var(--header-height);
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  color: #fff;
  background: var(--header);
  box-shadow: 0 1px 0 rgba(255,255,255,.07), 0 2px 8px rgba(0,0,0,.14);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,.08);
}

.header-logo,
.brand-mark {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 11px;
  color: #fff;
  background: var(--brand);
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 7px 18px rgba(201, 52, 67, .24);
}

.header-brand > span:last-child { display: grid; gap: 1px; }
.header-brand strong { font-size: 16px; line-height: 1; letter-spacing: -.25px; }
.header-brand small { color: #aaaeb6; font-size: 9px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }

.header-tools {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  padding: 0 clamp(18px, 3vw, 38px);
}

.global-search {
  position: relative;
  width: min(440px, 42vw);
  margin-right: auto;
}

.global-search > span {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 13px;
  color: #999da5;
  transform: translateY(-50%);
  pointer-events: none;
}

.global-search svg { width: 17px; height: 17px; }
.global-search input {
  height: 39px;
  padding: 8px 13px 8px 40px;
  color: #edf0f4;
  border: 1px solid #414347;
  border-radius: 8px;
  outline: 0;
  background: #2b2c2f;
}

.global-search input::placeholder { color: #8e9299; }
.global-search input:focus { border-color: #777b83; box-shadow: none; background: #303235; }

.api-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #b9bdc5;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #27b97d;
  box-shadow: 0 0 0 4px rgba(39,185,125,.12);
}

.header-admin {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 18px;
  border-left: 1px solid rgba(255,255,255,.10);
}

.header-admin > span:last-child { min-width: 0; display: grid; gap: 2px; }
.header-admin strong { max-width: 190px; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.header-admin small { max-width: 190px; overflow: hidden; color: #9da1a9; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }

.header-avatar,
.avatar,
.reporter-avatar,
.post-avatar,
.reported-profile-avatar,
.editor-avatar {
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #eef0f4;
  color: #4e5665;
  font-size: 13px;
  font-weight: 800;
}

.header-avatar { width: 36px; height: 36px; color: #fff; background: #45474c; }
.avatar { width: 38px; height: 38px; }
.reporter-avatar { width: 44px; height: 44px; }
.post-avatar { width: 43px; height: 43px; }
.reported-profile-avatar { width: 82px; height: 82px; font-size: 24px; }
.editor-avatar { width: 92px; height: 92px; border: 4px solid #fff; background: #e9ebef; font-size: 26px; box-shadow: 0 2px 8px rgba(0,0,0,.14); }
.header-avatar img,
.avatar img,
.reporter-avatar img,
.post-avatar img,
.reported-profile-avatar img,
.editor-avatar img { width: 100%; height: 100%; object-fit: cover; }

.app-shell {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: var(--header-height);
  height: calc(100vh - var(--header-height));
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 20px 16px;
  color: #c9ccd2;
  background: var(--sidebar);
}

.sidebar nav { display: grid; gap: 3px; }
.nav-section {
  margin: 20px 11px 7px;
  color: #777b82;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}
.nav-section:first-child { margin-top: 3px; }

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 43px;
  padding: 9px 12px;
  border-radius: 7px;
  color: #aeb1b8;
  font-size: 13px;
  font-weight: 600;
  transition: color .15s ease, background .15s ease;
}

.nav-item:hover { color: #fff; background: var(--sidebar-hover); }
.nav-item.active { color: #fff; background: #343638; }
.nav-item.active::before {
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: -16px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--brand);
  content: "";
}
.nav-icon { display: inline-grid; place-items: center; width: 22px; color: #858990; }
.nav-item.active .nav-icon,
.nav-item:hover .nav-icon { color: #fff; }
.nav-icon svg { width: 18px; height: 18px; }

.sidebar-footer {
  display: grid;
  gap: 5px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.sidebar-footer a,
.sidebar-action {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  color: #969aa2;
  border: 0;
  border-radius: 7px;
  background: transparent;
  font-size: 11px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.sidebar-footer a:hover,
.sidebar-action:hover { color: #fff; background: var(--sidebar-hover); }
.sidebar-footer svg { width: 17px; height: 17px; }

.main {
  min-width: 0;
  padding: 27px clamp(20px, 3vw, 42px) 56px;
  background: var(--canvas);
}

.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 23px;
}
.page-heading h1 { margin: 0; font-size: 23px; line-height: 1.2; letter-spacing: -.45px; }
.breadcrumb { display: flex; align-items: center; gap: 7px; color: var(--muted-2); font-size: 10px; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb strong { color: #626774; font-weight: 600; }

.alert {
  margin-bottom: 18px;
  padding: 12px 15px;
  border: 1px solid;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}
.alert.success { color: #0b7554; border-color: #bce9d8; background: #ecfaf5; }
.alert.danger { color: #a62636; border-color: #f4c8cf; background: #fff1f3; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 18px;
}
.stat-card,
.panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.stat-card { min-height: 128px; display: flex; flex-direction: column; padding: 18px; }
.stat-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.stat-icon,
.report-stat-icon {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
}
.stat-icon { width: 36px; height: 36px; }
.stat-icon svg { width: 18px; height: 18px; }
.stat-icon.purple { color: var(--purple); background: var(--purple-soft); }
.stat-icon.green { color: var(--green); background: var(--green-soft); }
.stat-icon.cyan { color: var(--cyan); background: var(--cyan-soft); }
.stat-icon.amber { color: var(--amber); background: var(--amber-soft); }
.stat-icon.red { color: var(--red); background: var(--red-soft); }
.stat-icon.blue { color: var(--blue); background: var(--blue-soft); }
.stat-value { font-size: 27px; font-weight: 750; letter-spacing: -.8px; }
.stat-card > strong { font-size: 12px; }
.stat-card > small { margin-top: 3px; color: var(--muted); font-size: 10px; }

.split-grid,
.toolbar-cards { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr); gap: 18px; }
.toolbar-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 18px; }
.panel { min-width: 0; overflow: hidden; }
.panel.compact { padding: 20px; }
.panel h2 { margin: 0 0 4px; font-size: 15px; letter-spacing: -.15px; }
.panel-head {
  min-height: 69px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 19px;
  border-bottom: 1px solid var(--line);
}
.panel-head.wrap { flex-wrap: wrap; }
.panel-head p,
.role-card small,
.setting-card small,
.assignment small,
.case-head small { margin: 0; color: var(--muted); font-size: 10px; }
.panel-head a { color: var(--brand); font-size: 10px; font-weight: 700; }

.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; min-width: 690px; border-collapse: collapse; }
th, td { padding: 12px 17px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; font-size: 11px; }
th { color: #858a95; background: #fafbfc; font-size: 9px; font-weight: 750; letter-spacing: .65px; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fcfcfd; }
.user-cell { min-width: 225px; display: flex; align-items: center; gap: 10px; }
.user-cell > span:last-child { min-width: 0; display: grid; gap: 2px; }
.user-cell strong { font-size: 11px; }
.user-cell small { max-width: 310px; overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .1px;
  white-space: nowrap;
}
.badge.green { color: #0b7655; background: var(--green-soft); }
.badge.red { color: #aa2938; background: var(--red-soft); }
.badge.blue { color: #285fae; background: var(--blue-soft); }
.badge.amber { color: #946007; background: var(--amber-soft); }
.badge.gray { color: #646a76; background: #eef0f3; }

.activity-list { padding: 7px 18px; }
.activity { display: flex; align-items: center; gap: 11px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.activity:last-child { border: 0; }
.activity-icon { width: 29px; height: 29px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 7px; color: var(--blue); background: var(--blue-soft); font-size: 11px; font-weight: 800; }
.activity > span:last-child { min-width: 0; display: grid; gap: 2px; }
.activity strong { font-size: 10px; }
.activity small { color: var(--muted); font-size: 9px; }

input,
textarea,
select {
  width: 100%;
  padding: 9px 10px;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  outline: 0;
  background: #fff;
  font-size: 11px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus,
textarea:focus,
select:focus { border-color: #bd6370; box-shadow: 0 0 0 3px rgba(201,52,67,.08); }
textarea { min-height: 70px; resize: vertical; line-height: 1.5; }
label > span { display: block; margin-bottom: 6px; color: #5e6470; font-size: 9px; font-weight: 750; }

.search { display: flex; gap: 7px; }
.search input { width: min(285px, 35vw); }
.search button,
.button {
  min-height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
}
.button svg { width: 15px; height: 15px; }
.search button,
.button.ghost,
.ghost-button { color: #4f5561; border-color: var(--line); background: #f5f6f8; }
.search button:hover,
.button.ghost:hover,
.ghost-button:hover { background: #eceef2; }
.button.primary { color: #fff; border-color: var(--brand); background: var(--brand); }
.button.primary:hover { border-color: var(--brand-dark); background: var(--brand-dark); }
.button.wide { width: 100%; min-height: 39px; }
.danger-button { color: #aa2938; border-color: #efc5cb; background: var(--red-soft); }
.danger-button:hover { color: #fff; border-color: var(--red); background: var(--red); }

.row-actions { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.inline-form { display: inline; }
.ghost,
.danger-link,
.success-link,
.mini { padding: 4px; border: 0; background: none; cursor: pointer; font-size: 9px; font-weight: 750; }
.ghost, .mini { color: var(--blue); }
.danger-link { color: var(--red); }
.success-link { color: var(--green); }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 15px; }
.form-grid label,
.form-stack label { display: grid; gap: 6px; color: #555b67; font-size: 9px; font-weight: 750; }
.span-2 { grid-column: 1 / -1; }
.form-stack { display: grid; gap: 15px; margin-top: 21px; }
.check { display: flex !important; grid-auto-flow: column !important; align-items: center; justify-content: start !important; gap: 7px !important; font-size: 9px !important; }
.check input { width: 15px; height: 15px; margin: 0; accent-color: var(--brand); }

.language-chips { display: flex; flex-wrap: wrap; gap: 7px; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.language-chip { display: flex; align-items: center; gap: 6px; padding: 7px 9px; color: var(--muted); border: 1px solid var(--line); border-radius: 7px; background: var(--surface-soft); font-size: 9px; }
.language-chip strong { color: var(--ink); }
.translation-list { padding: 7px 18px; }
.translation-row { display: grid; grid-template-columns: minmax(160px,.45fr) minmax(240px,1fr) auto; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.translation-row:last-child { border: 0; }
.key-input { background: var(--surface-soft); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; padding: 17px; }
.setting-card { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-soft); }
.setting-card > div { display: grid; gap: 3px; }

.case-list { display: grid; gap: 11px; padding: 17px; }
.case { padding: 15px; border: 1px solid var(--line); border-radius: 8px; }
.case-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.case-head small { margin-left: auto; }
.case h3 { margin: 13px 0 5px; font-size: 12px; }
.case p { margin: 0; color: #5d626e; font-size: 11px; line-height: 1.6; }
.case-action { display: grid; grid-template-columns: 150px minmax(220px,1fr) auto; gap: 8px; margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--line); }
.document-links { display: flex; gap: 11px; margin-top: 10px; flex-wrap: wrap; }
.document-links a { color: var(--blue); font-size: 10px; font-weight: 700; }
.permission-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; padding: 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-soft); }
.role-card { padding: 15px 18px; border-bottom: 1px solid var(--line); }
.role-card > div:first-child { display: grid; gap: 3px; }
.permission-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.permission-tags span { padding: 4px 6px; color: #5f4d92; border-radius: 5px; background: var(--purple-soft); font-size: 8px; font-weight: 700; }
.assignment-list { padding: 7px 17px; }
.assignment { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.assignment > span { display: grid; gap: 3px; }
.assignment > span:last-child { display: flex; align-items: center; gap: 8px; }
.assignment strong { font-size: 10px; }

.report-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 18px;
}
.report-stat-grid article {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.report-stat-grid article > span:last-child { display: grid; gap: 2px; }
.report-stat-grid small { color: var(--muted); font-size: 9px; font-weight: 650; }
.report-stat-grid strong { font-size: 22px; line-height: 1; letter-spacing: -.5px; }
.report-stat-icon { width: 39px; height: 39px; }
.report-stat-icon svg { width: 19px; height: 19px; }
.report-stat-icon.red { color: var(--red); background: var(--red-soft); }
.report-stat-icon.amber { color: var(--amber); background: var(--amber-soft); }
.report-stat-icon.blue { color: var(--blue); background: var(--blue-soft); }
.report-stat-icon.green { color: var(--green); background: var(--green-soft); }

.moderation-panel { overflow: visible; }
.moderation-head { border-radius: 10px 10px 0 0; }
.result-count { padding: 5px 8px; color: #666c77; border-radius: 5px; background: #f0f2f5; font-size: 9px; font-weight: 750; }
.report-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(145px, .55fr) minmax(150px, .55fr) auto auto;
  align-items: end;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: #fafbfc;
}
.report-filters label { min-width: 0; }
.moderation-list { display: grid; }
.report-record { border-bottom: 1px solid var(--line); background: #fff; }
.report-record:last-child { border-bottom: 0; border-radius: 0 0 10px 10px; }
.report-record > summary {
  position: relative;
  display: grid;
  grid-template-columns: 48px auto minmax(125px,.55fr) minmax(170px,1fr) auto 22px;
  align-items: center;
  gap: 11px;
  min-height: 56px;
  padding: 10px 17px;
  list-style: none;
  cursor: pointer;
}
.report-record > summary::-webkit-details-marker { display: none; }
.report-record > summary:hover { background: #fbfbfc; }
.report-record[open] > summary { background: #f9fafb; border-bottom: 1px solid var(--line); }
.summary-id { color: var(--muted); font-size: 10px; font-weight: 750; }
.summary-type { display: flex; align-items: center; gap: 7px; color: #555b67; font-size: 10px; font-weight: 650; }
.summary-type svg { width: 15px; height: 15px; color: #8b9099; }
.summary-reason { overflow: hidden; font-size: 10px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.report-record summary time { color: var(--muted); font-size: 9px; white-space: nowrap; }
.summary-chevron { color: #9398a2; transition: transform .16s ease; }
.summary-chevron svg { width: 16px; height: 16px; }
.report-record[open] .summary-chevron { transform: rotate(90deg); }

.report-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, .55fr);
  align-items: start;
  min-height: 430px;
  background: #f5f6f8;
}
.subject-preview { min-width: 0; padding: 24px; }
.report-review { min-width: 0; padding: 22px; border-left: 1px solid var(--line); background: #fff; }

.post-preview-card {
  width: min(720px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #dfe2e8;
  border-radius: 9px;
  background: #fff;
  box-shadow: var(--shadow);
}
.post-preview-author { display: flex; align-items: center; gap: 10px; min-height: 68px; padding: 12px 14px; }
.post-preview-author > span:nth-child(2) { min-width: 0; display: grid; gap: 3px; }
.post-preview-author strong { display: flex; align-items: center; gap: 5px; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.post-preview-author small { color: var(--muted); font-size: 9px; }
.post-state { margin-left: auto; }
.verified-mark { display: inline-grid; place-items: center; width: 15px; height: 15px; color: #fff; border-radius: 50%; background: #2f88de; font-size: 9px; font-style: normal; }
.post-copy { padding: 0 14px 13px; color: #2e3239; font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }

.post-media-grid { display: grid; gap: 2px; overflow: hidden; background: #101113; }
.post-media-grid.media-count-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.post-media-grid.media-count-3,
.post-media-grid.media-count-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.post-media-grid.media-count-3 > :first-child { grid-row: span 2; }
.admin-image,
.admin-video { position: relative; min-height: 210px; display: grid; place-items: center; overflow: hidden; background: #111214; }
.admin-image img { width: 100%; height: 100%; max-height: 560px; object-fit: contain; }
.media-count-2 .admin-image img,
.media-count-3 .admin-image img,
.media-count-4 .admin-image img { min-height: 280px; object-fit: cover; }
.admin-video video { width: 100%; max-height: 560px; background: #000; object-fit: contain; }
.admin-video > span { position: absolute; top: 11px; left: 11px; padding: 4px 7px; color: #fff; border-radius: 5px; background: rgba(0,0,0,.65); font-size: 8px; font-weight: 700; }
.more-media { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(0,0,0,.48); font-size: 28px; font-weight: 700; }
.post-preview-meta { display: flex; align-items: center; gap: 17px; min-height: 53px; padding: 11px 14px; color: #737984; border-top: 1px solid var(--line); font-size: 9px; }
.post-preview-meta > span { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.post-preview-meta svg { width: 15px; height: 15px; }
.post-preview-meta strong { color: #343941; font-size: 10px; }
.post-preview-meta .visibility { margin-left: auto; text-transform: capitalize; }
.manage-subject { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; color: var(--blue); border-top: 1px solid var(--line); background: #fbfcfe; font-size: 9px; font-weight: 750; }
.manage-subject svg { width: 14px; height: 14px; }

.section-label { display: block; margin-bottom: 7px; color: #969ba5; font-size: 8px; font-weight: 800; letter-spacing: .9px; text-transform: uppercase; }
.review-section { padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.review-section h3 { margin: 0 0 7px; font-size: 13px; }
.review-section p { margin: 0; color: #626874; font-size: 10px; line-height: 1.6; overflow-wrap: anywhere; }
.reporter-row { display: flex; align-items: center; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.reporter-row > span:last-child { min-width: 0; display: grid; gap: 2px; }
.reporter-row small { color: var(--muted); font-size: 8px; }
.reporter-row strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.reporter-row em { overflow: hidden; color: var(--muted); font-size: 9px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.assignment-note { margin: 12px 0 0; padding: 8px 10px; color: #57606e; border-radius: 6px; background: #f1f3f6; font-size: 9px; }
.review-form { display: grid; gap: 11px; padding-top: 16px; }
.danger-zone { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }

.reported-profile-card {
  width: min(650px, 100%);
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 16px;
  margin: 0 auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  box-shadow: var(--shadow);
}
.reported-profile-card h2 { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; font-size: 18px; }
.reported-profile-card p { margin: 0; color: var(--muted); font-size: 11px; }
.profile-flags { display: flex; gap: 6px; }
.profile-bio { grid-column: 2 / -1; padding-top: 13px; border-top: 1px solid var(--line); line-height: 1.6; }
.reported-profile-card .manage-subject { grid-column: 1 / -1; margin: 3px -24px -24px; border-radius: 0 0 9px 9px; }

.subject-unavailable,
.empty-state { display: grid; place-items: center; padding: 52px 24px; color: var(--muted); text-align: center; }
.subject-unavailable svg,
.empty-state svg { width: 34px; height: 34px; margin-bottom: 12px; color: #a7abb4; }
.subject-unavailable h3,
.empty-state h3 { margin: 0 0 6px; color: #444a55; font-size: 13px; }
.subject-unavailable p,
.empty-state p { max-width: 440px; margin: 0; font-size: 10px; line-height: 1.55; }
.empty { padding: 32px; color: var(--muted); font-size: 11px; text-align: center; }

.user-editor { margin-bottom: 18px; overflow: visible; }
.user-editor-cover { position: relative; height: 142px; overflow: hidden; border-radius: 10px 10px 0 0; background: linear-gradient(135deg,#25272b,#3a3d43 58%,#682d35); }
.user-editor-cover::after { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(0,0,0,.03),rgba(0,0,0,.28)); content: ""; }
.user-editor-cover img { width: 100%; height: 100%; object-fit: cover; }
.editor-close { position: absolute; z-index: 2; top: 14px; right: 14px; width: 32px; height: 32px; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: rgba(20,21,24,.58); font-size: 22px; line-height: 1; }
.editor-close:hover { background: rgba(20,21,24,.78); }
.user-editor-profile { position: relative; min-height: 110px; display: grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:17px; padding: 0 22px 18px; border-bottom: 1px solid var(--line); background: #fff; }
.user-editor-profile .editor-avatar { margin-top: -34px; z-index: 2; }
.editor-identity { min-width: 0; padding-top: 14px; }
.editor-identity h2 { display:flex; align-items:center; gap:7px; margin:0 0 4px; font-size:19px; }
.editor-identity p { margin:0; color:var(--muted); font-size:10px; }
.editor-badges { display:flex; flex-wrap:wrap; gap:6px; margin-top:10px; }
.user-metrics { display:grid; grid-auto-flow:column; gap:4px; }
.user-metrics span { min-width:78px; display:grid; gap:3px; padding:10px 12px; border-left:1px solid var(--line); text-align:center; }
.user-metrics strong { font-size:16px; }
.user-metrics small { color:var(--muted); font-size:8px; text-transform:uppercase; letter-spacing:.55px; }
.user-editor-form { background:#f7f8fa; }
.editor-section-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; padding:18px; }
.editor-section { min-width:0; padding:18px; border:1px solid var(--line); border-radius:9px; background:#fff; box-shadow:0 1px 2px rgba(25,29,39,.04); }
.editor-section-title { display:flex; align-items:flex-start; gap:11px; margin-bottom:17px; }
.editor-section-title > span { width:34px; height:34px; display:grid; flex:0 0 auto; place-items:center; color:var(--brand); border-radius:8px; background:var(--brand-soft); }
.editor-section-title svg { width:17px; height:17px; }
.editor-section-title h3 { margin:1px 0 3px; font-size:12px; }
.editor-section-title p { margin:0; color:var(--muted); font-size:9px; line-height:1.45; }
.editor-fields { display:grid; gap:12px; }
.editor-fields.two-columns { grid-template-columns:repeat(2,minmax(0,1fr)); }
.editor-fields label { display:grid; gap:6px; color:#555b67; font-size:9px; font-weight:750; }
.field-help { color:var(--muted); font-size:8px; font-weight:500; }
.input-prefix { display:grid; grid-template-columns:31px minmax(0,1fr); }
.input-prefix > span { display:grid; place-items:center; color:#737984; border:1px solid var(--line-strong); border-right:0; border-radius:7px 0 0 7px; background:#f6f7f9; font-size:11px; }
.input-prefix input { border-radius:0 7px 7px 0; }
.media-upload-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px; }
.media-upload-card { min-width:0; display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:10px; padding:10px; border:1px solid var(--line); border-radius:8px; background:#fafbfc; cursor:pointer; }
.media-upload-card:hover { border-color:#c9cdd5; background:#f6f7f9; }
.media-upload-card > span:nth-child(2) { min-width:0; display:grid; gap:3px; }
.media-upload-card strong { font-size:9px; }
.media-upload-card small { color:var(--muted); font-size:8px; }
.media-upload-card input { grid-column:1/-1; padding:7px; background:#fff; font-size:8px; }
.media-preview { display:grid; flex:0 0 auto; place-items:center; overflow:hidden; color:#969ba5; border:1px solid var(--line); background:#eceef2; }
.media-preview.square { width:50px; height:50px; border-radius:50%; }
.media-preview.cover { width:76px; height:50px; border-radius:6px; }
.media-preview img { width:100%; height:100%; object-fit:cover; }
.media-preview svg { width:19px; height:19px; }
.remove-media-row { display:flex; flex-wrap:wrap; gap:16px; margin-top:11px; padding-top:11px; border-top:1px solid var(--line); }
.switch-list { display:grid; margin-top:4px; border:1px solid var(--line); border-radius:8px; overflow:hidden; }
.switch-field { min-width:0; display:flex; align-items:center; justify-content:space-between; gap:14px; min-height:61px; padding:11px 13px; border-bottom:1px solid var(--line); background:#fff; cursor:pointer; }
.switch-field:last-child { border-bottom:0; }
.switch-field:hover { background:#fbfbfc; }
.switch-field.disabled { cursor:not-allowed; opacity:.68; }
.switch-copy { min-width:0; display:grid; gap:3px; }
.switch-copy strong { font-size:10px; }
.switch-copy small { color:var(--muted); font-size:8px; line-height:1.4; }
.switch-control { position:relative; flex:0 0 auto; }
.switch-control > input { position:absolute; width:1px; height:1px; opacity:0; }
.switch-control i { position:relative; width:39px; height:22px; display:block; border-radius:99px; background:#c8ccd3; transition:.18s; }
.switch-control i::after { position:absolute; top:3px; left:3px; width:16px; height:16px; border-radius:50%; background:#fff; box-shadow:0 1px 3px rgba(0,0,0,.24); content:""; transition:.18s; }
.switch-control input:checked + i { background:var(--green); }
.switch-control input:checked + i::after { transform:translateX(17px); }
.security-section { grid-column:1/-1; }
.security-section .editor-fields { max-width:880px; }
.session-row { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-top:14px; padding:12px; border:1px solid #dbe3ef; border-radius:8px; background:#f5f8fc; }
.session-row > span { display:grid; gap:3px; }
.session-row strong { font-size:9px; }
.session-row small { color:var(--muted); font-size:8px; }
.readonly-section { grid-column:1/-1; }
.system-details { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0; margin:0; border:1px solid var(--line); border-radius:8px; overflow:hidden; }
.system-details div { min-width:0; padding:11px 12px; border-right:1px solid var(--line); background:#fafbfc; }
.system-details div:last-child { border-right:0; }
.system-details dt { color:var(--muted); font-size:8px; }
.system-details dd { margin:4px 0 0; overflow:hidden; font-size:9px; font-weight:700; text-overflow:ellipsis; white-space:nowrap; }
.editor-savebar,.settings-savebar { position:sticky; z-index:10; bottom:0; display:flex; align-items:center; justify-content:space-between; gap:18px; padding:13px 18px; border-top:1px solid var(--line); border-radius:0 0 10px 10px; background:rgba(255,255,255,.96); box-shadow:0 -4px 16px rgba(26,30,40,.06); backdrop-filter:blur(8px); }
.editor-savebar > span,.settings-savebar > span { color:var(--muted); font-size:9px; }
.readonly-notice { padding:14px 20px; color:#6b707a; background:#f7f8fa; font-size:10px; }
.users-panel { overflow:hidden; }
.users-head { border-radius:10px 10px 0 0; }
.user-filters { display:grid; grid-template-columns:minmax(230px,1.35fr) minmax(145px,.5fr) minmax(145px,.5fr) auto auto; align-items:end; gap:9px; padding:13px 17px; border-bottom:1px solid var(--line); background:#fafbfc; }
.contact-cell { min-width:195px; display:grid; gap:3px; }
.contact-cell strong { font-size:10px; font-weight:650; }
.contact-cell small { color:var(--muted); font-size:8px; }
.small-button { min-height:30px; padding:6px 9px; }
.small-button svg { width:13px; height:13px; }
.users-table .selected-row { background:#fff6f7; }

.settings-overview { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:13px; margin-bottom:18px; }
.settings-overview article { display:flex; align-items:center; gap:12px; min-height:91px; padding:15px; border:1px solid var(--line); border-radius:9px; background:#fff; box-shadow:var(--shadow); }
.settings-overview article > div { min-width:0; display:grid; gap:2px; }
.settings-overview small { color:var(--muted); font-size:8px; }
.settings-overview strong { font-size:12px; }
.settings-overview p { margin:2px 0 0; color:var(--muted); font-size:8px; line-height:1.35; }
.settings-overview-icon { width:39px; height:39px; display:grid; flex:0 0 auto; place-items:center; color:var(--brand); border-radius:9px; background:var(--brand-soft); }
.settings-overview-icon.blue { color:var(--blue); background:var(--blue-soft); }
.settings-overview-icon.green { color:var(--green); background:var(--green-soft); }
.settings-overview-icon svg { width:18px; height:18px; }
.firebase-admin-card { margin-bottom:18px; overflow:hidden; border-color:#d7dce6; }
.firebase-admin-card.has-error { border-color:#efc5cb; }
.firebase-admin-head { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; padding:20px; border-bottom:1px solid var(--line); background:linear-gradient(135deg,#fff 0%,#f7f9fd 100%); }
.firebase-admin-title { display:flex; min-width:0; align-items:flex-start; gap:14px; }
.firebase-admin-title > div { min-width:0; }
.firebase-admin-title small { display:block; margin-bottom:3px; color:var(--blue); font-size:10px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; }
.firebase-admin-title h2 { margin:0 0 5px; font-size:18px; letter-spacing:-.02em; }
.firebase-admin-title p { max-width:720px; margin:0; color:var(--muted); font-size:12px; line-height:1.55; }
.firebase-admin-mark { width:44px; height:44px; display:grid; flex:0 0 auto; place-items:center; color:#fff; border-radius:12px; background:linear-gradient(145deg,#3478f6,#245bd0); box-shadow:0 8px 18px rgba(52,120,246,.22); }
.firebase-admin-mark svg { width:21px; height:21px; }
.firebase-state { display:inline-flex; flex:0 0 auto; align-items:center; gap:7px; min-height:30px; padding:6px 11px; border:1px solid var(--line); border-radius:999px; color:var(--muted); background:#fff; font-size:11px; font-weight:800; }
.firebase-state i { width:8px; height:8px; border-radius:50%; background:#9aa1ad; box-shadow:0 0 0 4px rgba(154,161,173,.12); }
.firebase-state.ready { color:#167653; border-color:#bce8d6; background:#eefaf5; }
.firebase-state.ready i { background:#25b77e; box-shadow:0 0 0 4px rgba(37,183,126,.13); }
.firebase-state.offline { color:#9a5c18; border-color:#f0d9b7; background:#fff8ec; }
.firebase-state.offline i { background:#e49a35; box-shadow:0 0 0 4px rgba(228,154,53,.14); }
.firebase-admin-body { display:grid; gap:16px; padding:20px; }
.firebase-facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.firebase-facts article { min-width:0; padding:13px 14px; border:1px solid var(--line); border-radius:9px; background:#fafbfc; }
.firebase-facts small { display:block; margin-bottom:6px; color:var(--muted); font-size:10px; }
.firebase-facts strong { display:block; overflow:hidden; color:var(--ink); font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.firebase-security-note { display:flex; align-items:flex-start; gap:10px; padding:13px 14px; color:#31517b; border:1px solid #d7e5f8; border-radius:9px; background:#f3f8ff; }
.firebase-security-note > svg { width:18px; height:18px; flex:0 0 auto; margin-top:1px; }
.firebase-security-note strong { display:block; margin-bottom:2px; font-size:12px; }
.firebase-security-note p { margin:0; color:#64768c; font-size:11px; line-height:1.5; }
.firebase-admin-actions { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:16px 20px; border-top:1px solid var(--line); background:#fafbfc; }
.firebase-upload-form { display:flex; min-width:0; align-items:center; gap:10px; }
.firebase-file-picker { min-width:300px; display:block; cursor:pointer; }
.firebase-file-picker > span { min-height:44px; display:grid; grid-template-columns:22px 1fr; align-items:center; column-gap:8px; padding:8px 12px; border:1px dashed #aeb8c8; border-radius:8px; background:#fff; }
.firebase-file-picker svg { width:18px; height:18px; grid-row:1 / span 2; color:var(--blue); }
.firebase-file-picker b { overflow:hidden; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.firebase-file-picker small { color:var(--muted); font-size:9px; }
.firebase-file-picker input { width:100%; margin-top:7px; padding:6px; color:var(--muted); border:1px solid var(--line); border-radius:7px; background:#fff; font-size:10px; }
.firebase-secondary-actions { display:flex; align-items:center; gap:8px; }
.firebase-secondary-actions form { margin:0; }
.firebase-admin-actions .button:disabled { cursor:not-allowed; opacity:.45; }
.settings-form { display:grid; gap:16px; }
.settings-section { overflow:visible; }
.settings-control-list { display:grid; }
.settings-control { min-width:0; display:grid; grid-template-columns:minmax(280px,1fr) minmax(180px,.42fr) minmax(190px,.48fr); align-items:center; gap:20px; padding:16px 18px; border-bottom:1px solid var(--line); background:#fff; }
.settings-control:last-child { border-bottom:0; border-radius:0 0 10px 10px; }
.settings-control.warning { box-shadow:inset 3px 0 var(--amber); }
.settings-control-copy { min-width:0; display:flex; align-items:flex-start; gap:11px; }
.settings-control-copy > div { min-width:0; }
.control-icon { width:34px; height:34px; display:grid; flex:0 0 auto; place-items:center; color:#656b77; border-radius:8px; background:#f0f2f5; }
.control-icon svg { width:16px; height:16px; }
.settings-control-copy h3 { margin:1px 0 4px; font-size:11px; }
.settings-control-copy p { margin:0; color:var(--muted); font-size:8px; line-height:1.45; }
.settings-control-copy small { display:block; margin-top:5px; color:#a0a4ad; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:7px; }
.settings-control-value { min-width:0; }
.secret-control { display:grid; gap:7px; }
.secret-control small { display:flex; align-items:center; gap:6px; color:var(--muted); font-size:9px; }
.secret-control small svg { width:14px; height:14px; }
.demo-mode-banner { display:flex; align-items:center; gap:12px; margin:0 0 18px; padding:13px 16px; border:1px solid #c7d7fe; border-radius:10px; color:#1e3a8a; background:#eff6ff; box-shadow:0 5px 16px rgba(37,99,235,.06); }
.demo-mode-banner > svg { width:20px; height:20px; flex:0 0 auto; }
.demo-mode-banner span { display:grid; gap:2px; }
.demo-mode-banner strong { font-size:12px; }
.demo-mode-banner small { color:#526581; font-size:10px; }
.legal-toolbar { margin-bottom:18px; padding:16px 18px; }
.legal-toolbar .localization-filter { margin:0; }
.legal-editor-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; align-items:start; }
.legal-document-card { overflow:hidden; }
.legal-document-fields { display:grid; gap:16px; padding:18px; }
.legal-document-fields label { display:grid; gap:7px; color:var(--text); font-size:12px; font-weight:700; }
.legal-document-fields input,
.legal-document-fields textarea { width:100%; box-sizing:border-box; }
.legal-document-fields textarea { min-height:330px; resize:vertical; line-height:1.65; font-family:inherit; }
.legal-document-fields small { color:var(--muted); font-size:10px; line-height:1.45; font-weight:500; }
.large-toggle { display:flex; align-items:center; justify-content:flex-start; gap:10px; cursor:pointer; }
.large-toggle > input { position:absolute; width:1px; height:1px; opacity:0; }
.large-toggle > span { position:relative; width:46px; height:25px; display:block; flex:0 0 auto; border-radius:99px; background:#c9cdd4; transition:.18s; }
.large-toggle > span i { position:absolute; top:3px; left:3px; width:19px; height:19px; border-radius:50%; background:#fff; box-shadow:0 1px 3px rgba(0,0,0,.22); transition:.18s; }
.large-toggle > input:checked + span { background:var(--green); }
.large-toggle > input:checked + span i { transform:translateX(21px); }
.toggle-status { color:#666c77; font-size:9px; }
.toggle-status b { font-style:normal; }
.large-toggle .on-label { display:none; color:var(--green); }
.large-toggle > input:checked ~ .toggle-status .on-label { display:inline; }
.large-toggle > input:checked ~ .toggle-status .off-label { display:none; }
.number-control,.version-control { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; }
.number-control input,.version-control input { border-radius:7px 0 0 7px; }
.number-control span,.version-control span { height:35px; display:grid; place-items:center; padding:0 11px; color:#626874; border:1px solid var(--line-strong); border-left:0; border-radius:0 7px 7px 0; background:#f3f5f7; font-size:9px; font-weight:750; }
.version-control { grid-template-columns:auto minmax(0,1fr); }
.version-control span { order:0; border-right:0; border-left:1px solid var(--line-strong); border-radius:7px 0 0 7px; }
.version-control input { order:1; border-radius:0 7px 7px 0; }
.sync-control { cursor:pointer; }
.sync-control > input { position:absolute; width:1px; height:1px; opacity:0; }
.sync-control > span { display:grid; grid-template-columns:20px minmax(0,1fr); gap:2px 8px; padding:10px; color:#777d88; border:1px solid var(--line); border-radius:7px; background:#fafbfc; }
.sync-control svg { grid-row:1/3; width:16px; height:16px; margin-top:3px; }
.sync-control strong { font-size:9px; }
.sync-control small { font-size:7px; line-height:1.35; }
.sync-control > input:checked + span { color:#24629f; border-color:#cbdcf0; background:#f1f7fd; }
.locked-setting { display:flex; align-items:center; gap:7px; color:var(--muted); font-size:9px; }
.locked-setting svg { width:15px; height:15px; }

.verification-stat-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:13px; margin-bottom:18px; }
.verification-stat-card { position:relative; min-height:82px; display:flex; align-items:center; gap:12px; padding:15px 16px; overflow:hidden; border:1px solid var(--line); border-radius:9px; background:#fff; box-shadow:var(--shadow); }
.verification-stat-card::after { position:absolute; right:0; bottom:0; left:0; height:3px; background:transparent; content:""; }
.verification-stat-card:hover { border-color:#d3d7df; box-shadow:var(--shadow-raised); transform:translateY(-1px); }
.verification-stat-card.active::after { background:var(--brand); }
.verification-stat-card > span:last-child { display:grid; gap:4px; }
.verification-stat-card small { color:var(--muted); font-size:9px; font-weight:650; }
.verification-stat-card strong { font-size:23px; line-height:1; letter-spacing:-.5px; }

.verification-review { margin-bottom:18px; overflow:visible; }
.verification-review-head { border-radius:10px 10px 0 0; }
.verification-review-head .section-label { display:block; margin-bottom:4px; }
.review-head-actions { display:flex; align-items:center; gap:8px; }
.verification-workspace { display:grid; grid-template-columns:minmax(220px,.56fr) minmax(430px,1.24fr) minmax(260px,.66fr); min-height:520px; }
.verification-person { min-width:0; border-right:1px solid var(--line); background:#fafbfc; }
.verification-profile-cover { height:92px; overflow:hidden; background:linear-gradient(135deg,#35383d,#6b454b); }
.verification-profile-cover img { width:100%; height:100%; object-fit:cover; opacity:.82; }
.verification-profile-copy { padding:0 17px 17px; }
.verification-avatar { position:relative; width:72px; height:72px; display:grid; place-items:center; overflow:hidden; margin-top:-36px; color:#505663; border:4px solid #fff; border-radius:50%; background:#edf0f4; box-shadow:0 2px 8px rgba(0,0,0,.15); font-size:21px; font-weight:800; }
.verification-avatar img { width:100%; height:100%; object-fit:cover; }
.verification-profile-copy h3 { display:flex; align-items:center; gap:5px; margin:10px 0 2px; font-size:15px; }
.verification-profile-copy > p { margin:0; color:var(--muted); font-size:10px; }
.verification-profile-badges { display:flex; flex-wrap:wrap; gap:5px; margin-top:11px; }
.verification-profile-bio { padding:11px 0; color:#525864 !important; border-bottom:1px solid var(--line); line-height:1.55; }
.verification-facts { display:grid; gap:10px; margin:13px 0 15px; }
.verification-facts div { min-width:0; display:grid; gap:3px; }
.verification-facts dt,.request-details dt { color:var(--muted); font-size:8px; font-weight:650; }
.verification-facts dd,.request-details dd { min-width:0; margin:0; overflow:hidden; font-size:9px; font-weight:700; overflow-wrap:anywhere; }
.verification-person .manage-subject { margin:0 -17px -17px; }

.verification-evidence { min-width:0; padding:19px; }
.evidence-section-head { display:flex; align-items:flex-start; justify-content:space-between; gap:15px; margin-bottom:12px; }
.evidence-section-head h3 { margin:3px 0 0; font-size:13px; }
.secure-label { display:flex; align-items:center; gap:5px; padding:5px 7px; color:#55606d; border:1px solid var(--line); border-radius:5px; background:#f6f7f9; font-size:8px; font-weight:700; }
.secure-label svg { width:12px; height:12px; }
.verification-documents { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.verification-document { min-width:0; display:grid; gap:8px; padding:8px; border:1px solid var(--line); border-radius:8px; background:#fff; transition:.15s; }
.verification-document:hover { border-color:#c5cad4; box-shadow:0 5px 16px rgba(29,34,45,.09); }
.document-image { position:relative; height:138px; display:grid; place-items:center; overflow:hidden; border-radius:6px; background:#eceef2; }
.document-image img { width:100%; height:100%; object-fit:cover; }
.document-image::after { position:absolute; inset:0; background:linear-gradient(transparent 55%,rgba(0,0,0,.65)); content:""; opacity:0; transition:.15s; }
.document-image i { position:absolute; z-index:1; right:8px; bottom:7px; color:#fff; font-size:8px; font-style:normal; font-weight:750; opacity:0; }
.verification-document:hover .document-image::after,.verification-document:hover .document-image i { opacity:1; }
.verification-document > span:last-child { min-width:0; display:grid; gap:2px; }
.verification-document strong { overflow:hidden; font-size:9px; text-overflow:ellipsis; white-space:nowrap; }
.verification-document small { overflow:hidden; color:var(--muted); font-size:8px; text-overflow:ellipsis; white-space:nowrap; }
.document-empty { grid-column:1/-1; min-height:145px; display:grid; place-items:center; align-content:center; gap:5px; color:var(--muted); border:1px dashed #d1d5dc; border-radius:8px; background:#fafbfc; text-align:center; }
.document-empty svg { width:24px; height:24px; }
.document-empty strong { color:#555b66; font-size:10px; }
.document-empty small { font-size:8px; }
.verification-information-grid { display:grid; grid-template-columns:minmax(185px,.75fr) minmax(230px,1.25fr); gap:13px; margin-top:15px; }
.verification-information-grid article { min-width:0; padding:14px; border:1px solid var(--line); border-radius:8px; background:#fafbfc; }
.verification-information-grid h3 { margin:8px 0 5px; font-size:10px; }
.verification-information-grid p { margin:0; color:#555b66; font-size:9px; line-height:1.6; overflow-wrap:anywhere; }
.request-details { display:grid; gap:10px; margin:11px 0 0; }
.request-details div { display:grid; gap:3px; }
.verification-sources { display:grid; gap:8px; margin-top:13px; padding:12px 14px; border:1px solid var(--line); border-radius:8px; }
.verification-sources > div { display:flex; flex-wrap:wrap; gap:9px; }
.verification-sources a { display:flex; align-items:center; gap:5px; color:var(--blue); font-size:9px; font-weight:750; }
.verification-sources svg { width:13px; height:13px; }

.verification-decision { min-width:0; padding:19px; border-left:1px solid var(--line); background:#fafbfc; }
.verification-decision > h3 { margin:5px 0; font-size:14px; }
.verification-decision > p { margin:0; color:var(--muted); font-size:9px; line-height:1.55; }
.review-timeline { display:grid; gap:0; margin:15px 0; overflow:hidden; border:1px solid var(--line); border-radius:7px; background:#fff; }
.review-timeline div { display:grid; gap:3px; padding:9px 10px; border-bottom:1px solid var(--line); }
.review-timeline div:last-child { border-bottom:0; }
.review-timeline span { color:var(--muted); font-size:8px; }
.review-timeline strong { font-size:9px; }
.existing-review-note { margin-bottom:13px; padding:11px; color:#555b66; border-radius:7px; background:#eef1f5; }
.existing-review-note strong { font-size:9px; }
.existing-review-note p { margin:5px 0 0; font-size:9px; line-height:1.5; }
.verification-start-form,.verification-approve-form,.verification-reject-form { display:grid; gap:7px; margin-top:10px; }
.verification-approve-form,.verification-reject-form { padding-top:11px; border-top:1px solid var(--line); }
.verification-decision label { display:grid; gap:5px; }
.verification-decision textarea { min-height:58px; background:#fff; font-size:9px; }
.approve-button { color:#fff; border-color:var(--green); background:var(--green); }
.approve-button:hover { background:#0d6f4f; }

.verification-queue { overflow:visible; }
.verification-queue-head { border-radius:10px 10px 0 0; }
.verification-filters { display:grid; grid-template-columns:minmax(210px,1.25fr) repeat(3,minmax(130px,.58fr)) auto auto; align-items:end; gap:9px; padding:14px 17px; border-bottom:1px solid var(--line); background:#fafbfc; }
.verification-filters label { min-width:0; }
.verification-bulk-form { min-width:0; }
.verification-table { min-width:1040px; }
.verification-table .selection-cell { width:42px; padding-right:5px; text-align:center; }
.verification-table input[type="checkbox"] { width:15px; height:15px; margin:0; accent-color:var(--brand); }
.verification-table .selected-row { background:#fff6f7; }
.verification-user-cell { min-width:225px; }
.request-type { min-width:135px; display:grid; gap:3px; }
.request-type strong { font-size:9px; }
.request-type small { color:var(--muted); font-size:8px; }
.unassigned { color:var(--muted); font-size:9px; }
.verification-bulk-bar { position:sticky; z-index:8; bottom:0; display:grid; grid-template-columns:minmax(180px,1fr) minmax(170px,.45fr) minmax(230px,.7fr) auto; align-items:center; gap:9px; padding:12px 17px; border-top:1px solid var(--line); background:rgba(255,255,255,.97); box-shadow:0 -4px 15px rgba(27,31,42,.06); backdrop-filter:blur(8px); }
.verification-bulk-bar > span { display:grid; gap:2px; }
.verification-bulk-bar strong { font-size:9px; }
.verification-bulk-bar small { color:var(--muted); font-size:8px; }
.admin-pagination { display:flex; align-items:center; justify-content:flex-end; gap:10px; padding:12px 17px; color:var(--muted); border-top:1px solid var(--line); background:#fafbfc; font-size:9px; }
.admin-pagination a { padding:6px 9px; color:#4d5360; border:1px solid var(--line); border-radius:6px; background:#fff; font-weight:750; }
.admin-pagination a:hover { color:var(--brand); border-color:#e3b8bf; }

.login-body { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: #1f2022; }
.login-shell { width: min(920px,100%); min-height: 550px; display: grid; grid-template-columns: 1.08fr .92fr; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 28px 90px rgba(0,0,0,.34); }
.login-brand { display: flex; flex-direction: column; align-items: flex-start; padding: 62px 55px; color: #fff; background: linear-gradient(150deg, #2a2b2e 0%, #202124 58%, #311d21 100%); }
.login-brand > p:first-of-type { margin: 17px 0 0; color: #b5b8bf; font-size: 10px; }
.login-brand h1 { max-width: 420px; margin: auto 0 17px; font-size: 38px; line-height: 1.08; letter-spacing: -1.4px; }
.login-copy { max-width: 420px; color: #b8bbc2; font-size: 12px; line-height: 1.65; }
.login-card { display: flex; flex-direction: column; justify-content: center; padding: 58px 45px; background: #fff; }
.login-card h2 { margin: 5px 0 6px; font-size: 26px; letter-spacing: -.6px; }
.eyebrow { margin: 0; color: var(--brand); font-size: 9px; font-weight: 850; letter-spacing: 1.35px; }
.muted { margin: 0; color: var(--muted); font-size: 11px; }
.security-note { margin: 19px 0 0; color: #9499a3; font-size: 8px; line-height: 1.5; text-align: center; }
.mobile-brand { display: none; align-items: center; gap: 9px; margin-bottom: 32px; font-weight: 800; }
.brand-mark.small { width: 34px; height: 34px; border-radius: 9px; font-size: 14px; }

@media (max-width: 1200px) {
  .legal-editor-grid { grid-template-columns:1fr; }
  :root { --sidebar-width: 244px; }
  .user-editor-profile { grid-template-columns:auto minmax(0,1fr); }
  .user-metrics { grid-column:1/-1; width:100%; grid-template-columns:repeat(4,minmax(0,1fr)); grid-auto-flow:row; }
  .user-metrics span { border-top:1px solid var(--line); border-left:0; }
  .report-workspace { grid-template-columns: minmax(0, 1.25fr) minmax(285px, .75fr); }
  .report-record > summary { grid-template-columns: 42px auto minmax(110px,.45fr) minmax(140px,1fr) 22px; }
  .report-record summary time { display: none; }
}

@media (max-width: 1000px) {
  .stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .split-grid,
  .toolbar-cards { grid-template-columns: 1fr; }
  .settings-grid { grid-template-columns: 1fr; }
  .editor-section-grid { grid-template-columns:1fr; }
  .security-section,.readonly-section { grid-column:auto; }
  .settings-control { grid-template-columns:minmax(260px,1fr) minmax(170px,.55fr); }
  .sync-control { grid-column:1/-1; }
  .settings-overview { grid-template-columns:1fr; }
  .firebase-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .firebase-admin-actions { align-items:stretch; flex-direction:column; }
  .firebase-secondary-actions { justify-content:flex-end; }
  .user-filters { grid-template-columns:minmax(200px,1fr) repeat(2,minmax(135px,.5fr)); }
  .user-filters .button { width:100%; }
  .report-stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .report-filters { grid-template-columns: minmax(200px,1fr) repeat(2,minmax(140px,.5fr)); }
  .report-filters .button { width: 100%; }
  .report-workspace { grid-template-columns: 1fr; }
  .report-review { border-top: 1px solid var(--line); border-left: 0; }
}

@media (max-width: 780px) {
  :root { --header-height: 62px; }
  .admin-header { grid-template-columns: 170px minmax(0,1fr); }
  .header-brand { padding: 0 14px; }
  .header-logo { width: 34px; height: 34px; border-radius: 9px; }
  .header-brand small,
  .api-indicator,
  .header-admin > span:last-child { display: none; }
  .header-tools { gap: 10px; padding: 0 13px; }
  .global-search { width: 100%; }
  .header-admin { padding-left: 11px; }
  .app-shell { display: block; min-height: 0; }
  .sidebar { position: static; height: auto; overflow: visible; padding: 9px 11px; }
  .sidebar nav { display: flex; gap: 5px; overflow-x: auto; scrollbar-width: none; }
  .sidebar nav::-webkit-scrollbar { display: none; }
  .nav-section,
  .sidebar-footer { display: none; }
  .nav-item { min-height: 38px; flex: 0 0 auto; padding: 7px 10px; white-space: nowrap; }
  .nav-item.active::before { top: auto; bottom: -9px; left: 10px; right: 10px; width: auto; height: 3px; border-radius: 3px 3px 0 0; }
  .main { padding: 20px 13px 42px; }
  .page-heading { align-items: flex-start; }
  .page-heading h1 { font-size: 21px; }
  .breadcrumb { display: none; }
  .panel-head { align-items: flex-start; flex-direction: column; }
  .search { width: 100%; flex-wrap: wrap; }
  .search input { width: 100%; flex: 1 1 190px; }
  .report-filters { grid-template-columns: 1fr 1fr; }
  .report-filters label:first-of-type { grid-column: 1 / -1; }
  .report-record > summary { grid-template-columns: 35px auto minmax(100px,1fr) 20px; }
  .summary-type { display: none; }
  .subject-preview { padding: 15px; }
  .report-review { padding: 18px; }
  .translation-row { grid-template-columns: 1fr; }
  .user-editor-cover { height:112px; }
  .user-editor-profile { grid-template-columns:auto minmax(0,1fr); padding:0 15px 15px; }
  .editor-avatar { width:78px; height:78px; }
  .editor-section-grid { padding:12px; }
  .editor-fields.two-columns { grid-template-columns:1fr; }
  .editor-fields .span-2 { grid-column:auto; }
  .system-details { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .system-details div:nth-child(2) { border-right:0; }
  .system-details div:nth-child(-n+2) { border-bottom:1px solid var(--line); }
  .user-filters { grid-template-columns:1fr 1fr; }
  .user-filters label:first-of-type { grid-column:1/-1; }
  .settings-control { grid-template-columns:1fr; gap:13px; }
  .sync-control { grid-column:auto; }
  .settings-control-value { max-width:320px; }
  .firebase-admin-head { flex-direction:column; }
  .firebase-upload-form { align-items:stretch; flex-direction:column; }
  .firebase-file-picker { width:100%; min-width:0; }
  .firebase-upload-form > .button { width:100%; }
  .case-action { grid-template-columns: 1fr; }
  .reported-profile-card { grid-template-columns: auto minmax(0,1fr); }
  .profile-flags { grid-column: 2; }
  .profile-bio { grid-column: 1 / -1; }
}

@media (max-width: 500px) {
  .admin-header { grid-template-columns: 62px minmax(0,1fr); }
  .header-brand { justify-content: center; padding: 0 9px; }
  .header-brand > span:last-child { display: none; }
  .header-admin { display: none; }
  .global-search { width: 100%; }
  .stat-grid,
  .report-stat-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .stat-card { min-height: 116px; padding: 15px; }
  .report-stat-grid article { min-height: 69px; padding: 11px; }
  .report-stat-grid strong { font-size: 18px; }
  .report-filters { grid-template-columns: 1fr; }
  .report-filters label:first-of-type { grid-column: auto; }
  .firebase-admin-head,.firebase-admin-body,.firebase-admin-actions { padding-left:14px; padding-right:14px; }
  .firebase-facts { grid-template-columns:1fr; }
  .firebase-secondary-actions { align-items:stretch; flex-direction:column; }
  .firebase-secondary-actions .button { width:100%; }
  .report-record > summary { grid-template-columns: 34px auto minmax(0,1fr) 18px; gap: 7px; }
  .summary-reason { font-size: 9px; }
  .post-preview-meta { flex-wrap: wrap; gap: 10px 14px; }
  .post-preview-meta .visibility { margin-left: 0; }
  .post-media-grid.media-count-2,
  .post-media-grid.media-count-3,
  .post-media-grid.media-count-4 { grid-template-columns: 1fr; }
  .post-media-grid.media-count-3 > :first-child { grid-row: auto; }
  .media-count-2 .admin-image img,
  .media-count-3 .admin-image img,
  .media-count-4 .admin-image img { min-height: 200px; object-fit: contain; }
  .form-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .permission-grid { grid-template-columns: 1fr; }
  .settings-grid { padding: 12px; }
  .user-editor-profile { grid-template-columns:1fr; text-align:center; }
  .user-editor-profile .editor-avatar { margin:-36px auto 0; }
  .editor-identity h2,.editor-badges { justify-content:center; }
  .user-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .editor-section { padding:14px; }
  .media-upload-grid { grid-template-columns:1fr; }
  .session-row,.editor-savebar,.settings-savebar { align-items:stretch; flex-direction:column; }
  .system-details { grid-template-columns:1fr; }
  .system-details div { border-right:0; border-bottom:1px solid var(--line); }
  .system-details div:last-child { border-bottom:0; }
  .user-filters { grid-template-columns:1fr; }
  .user-filters label:first-of-type { grid-column:auto; }
  .reported-profile-card { padding: 18px; }
  .reported-profile-avatar { width: 64px; height: 64px; }
  .reported-profile-card .manage-subject { margin: 2px -18px -18px; }
  .login-shell { display: block; min-height: 0; }
  .login-brand { display: none; }
  .login-card { padding: 36px 25px; }
  .mobile-brand { display: flex; }
}

.ad-campaign-list { display:grid; gap:0; padding:0; }
.ad-campaign-card { display:grid; grid-template-columns:minmax(190px,240px) minmax(0,1fr) minmax(220px,270px); align-items:start; gap:20px; min-height:240px; padding:20px; border-bottom:1px solid var(--line); }
.ad-campaign-card:last-child { border-bottom:0; }
.ad-campaign-media { position:relative; display:grid; width:100%; min-height:220px; overflow:hidden; place-items:center; border:1px solid #252b37; border-radius:12px; color:#fff; background:#090b10; font-size:10px; font-weight:700; }
.ad-campaign-media img,.ad-campaign-media video { display:block; width:100%; height:220px; object-fit:contain; background:#090b10; }
.ad-campaign-media > .media-kind { position:absolute; top:9px; right:9px; bottom:auto; padding:4px 7px; border-radius:6px; color:#fff; background:#000b; pointer-events:none; }
.ad-campaign-main { min-width:0; }
.ad-campaign-title { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; }
.ad-campaign-title > div { display:flex; align-items:center; gap:10px; min-width:0; }
.ad-campaign-title > div > span { display:grid; min-width:0; }
.ad-campaign-title strong { overflow:hidden; font-size:13px; text-overflow:ellipsis; white-space:nowrap; }
.ad-campaign-title small,.ad-campaign-title time { color:var(--muted); font-size:9px; }
.ad-caption { margin:13px 0; color:var(--text-soft); font-size:10px; line-height:1.55; }
.ad-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin-top:15px; }
.ad-metrics span { display:grid; gap:2px; padding:9px; border:1px solid var(--line); border-radius:8px; background:#fafbfc; }
.ad-metrics strong { font-size:11px; }
.ad-metrics small { color:var(--muted); font-size:8px; }
.ad-campaign-actions { display:flex; flex-direction:column; gap:10px; padding-left:16px; border-left:1px solid var(--line); }
.ad-campaign-actions textarea { min-height:70px; }
.ad-review-note { display:grid; gap:3px; padding:11px; border:1px solid #d8e4ff; border-radius:8px; background:#f4f7ff; }
.ad-review-note strong { color:#254f9b; font-size:10px; }
.ad-review-note small { color:#62708a; font-size:8px; line-height:1.45; }

@media (max-width: 1280px) {
  .ad-campaign-card { grid-template-columns:120px minmax(0,1fr); }
  .ad-campaign-actions { grid-column:1/-1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); padding:14px 0 0; border-top:1px solid var(--line); border-left:0; }
  .verification-workspace { grid-template-columns:minmax(220px,.55fr) minmax(430px,1fr); }
  .verification-decision { grid-column:1/-1; display:grid; grid-template-columns:minmax(180px,.55fr) minmax(220px,1fr) minmax(220px,1fr); align-items:start; gap:12px; border-top:1px solid var(--line); border-left:0; }
  .verification-decision > .section-label,.verification-decision > h3,.verification-decision > p { grid-column:1; }
  .verification-decision > h3 { margin-bottom:0; }
  .review-timeline { grid-column:1; }
  .existing-review-note { grid-column:1; }
  .verification-start-form { grid-column:2; grid-row:1; margin:0; }
  .verification-approve-form { grid-column:2; grid-row:1/7; margin:0; padding:0; border:0; }
  .verification-start-form + .verification-approve-form { grid-row:2/7; }
  .verification-reject-form { grid-column:3; grid-row:1/7; margin:0; padding:0; border:0; }
  .verification-filters { grid-template-columns:minmax(200px,1.1fr) repeat(2,minmax(140px,.55fr)); }
  .verification-filters label:nth-of-type(4) { grid-column:1; }
}

@media (max-width: 900px) {
  .verification-stat-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .verification-workspace { grid-template-columns:1fr; }
  .verification-person { border-right:0; border-bottom:1px solid var(--line); }
  .verification-profile-cover { height:120px; }
  .verification-evidence { padding:16px; }
  .verification-decision { grid-column:auto; grid-template-columns:1fr 1fr; }
  .verification-decision > .section-label,.verification-decision > h3,.verification-decision > p,.review-timeline,.existing-review-note { grid-column:1/-1; }
  .verification-start-form { grid-column:1/-1; grid-row:auto; }
  .verification-approve-form,.verification-start-form + .verification-approve-form { grid-column:1; grid-row:auto; }
  .verification-reject-form { grid-column:2; grid-row:auto; }
  .verification-filters { grid-template-columns:1fr 1fr; }
  .verification-filters label:first-of-type { grid-column:1/-1; }
  .verification-filters label:nth-of-type(4) { grid-column:auto; }
  .verification-bulk-bar { grid-template-columns:1fr 1fr; }
  .verification-bulk-bar > span { grid-column:1/-1; }
}

@media (max-width: 600px) {
  .ad-campaign-card { grid-template-columns:1fr; }
  .ad-campaign-media { min-height:220px; }
  .ad-metrics { grid-template-columns:1fr 1fr; }
  .ad-campaign-actions { grid-template-columns:1fr; }
  .verification-stat-grid { gap:9px; }
  .verification-stat-card { min-height:70px; padding:11px; }
  .verification-stat-card strong { font-size:19px; }
  .review-head-actions { width:100%; justify-content:space-between; }
  .verification-documents { grid-template-columns:1fr; }
  .document-image { height:210px; }
  .verification-information-grid { grid-template-columns:1fr; }
  .verification-decision { grid-template-columns:1fr; }
  .verification-approve-form,.verification-reject-form { grid-column:auto; }
  .verification-filters { grid-template-columns:1fr; }
  .verification-filters label:first-of-type { grid-column:auto; }
  .verification-bulk-bar { position:static; grid-template-columns:1fr; }
  .verification-bulk-bar > span { grid-column:auto; }
}

/* Content and marketplace operations */
.control-stat-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-bottom:15px; }
.control-stat-grid article { display:flex; align-items:center; gap:12px; min-height:78px; padding:15px; border:1px solid var(--line); border-radius:10px; background:var(--surface); box-shadow:var(--shadow); }
.control-stat-grid article > span { display:grid; flex:0 0 auto; width:39px; height:39px; place-items:center; color:var(--purple); border-radius:9px; background:var(--purple-soft); }
.control-stat-grid article > span.blue { color:var(--blue); background:var(--blue-soft); }
.control-stat-grid article > span.green { color:var(--green); background:var(--green-soft); }
.control-stat-grid article > span.amber { color:var(--amber); background:var(--amber-soft); }
.control-stat-grid article > span.red { color:var(--red); background:var(--red-soft); }
.control-stat-grid svg { width:19px; height:19px; }
.control-stat-grid article > div { display:grid; gap:3px; }
.control-stat-grid small { color:var(--muted); font-size:9px; font-weight:700; }
.control-stat-grid strong { font-size:22px; line-height:1; }
.control-workspace { margin-bottom:15px; padding:14px; }
.workspace-toolbar { display:flex; align-items:center; justify-content:space-between; gap:15px; padding-bottom:12px; border-bottom:1px solid var(--line); }
.workspace-tabs { display:flex; align-items:center; gap:4px; padding:3px; border-radius:8px; background:#f0f2f5; }
.workspace-tabs a { padding:7px 13px; color:var(--muted); border-radius:6px; font-size:9px; font-weight:800; text-decoration:none; }
.workspace-tabs a.active { color:var(--ink); background:#fff; box-shadow:0 1px 3px #1f27351a; }
.workspace-toolbar .button svg { width:14px; }
.control-filters { display:grid; grid-template-columns:minmax(240px,1fr) minmax(150px,.35fr) auto; align-items:end; gap:10px; padding-top:12px; }
.control-filters label,.moderation-form label { display:grid; gap:5px; color:#555b67; font-size:9px; font-weight:750; }
.admin-card-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:start; gap:14px; }
.admin-card-grid > .empty-state { grid-column:1/-1; }
.control-card { overflow:hidden; }
.control-media { position:relative; display:grid; width:100%; height:245px; place-items:center; overflow:hidden; color:var(--muted); background:#11151c; }
.control-media img,.control-media video { display:block; width:100%; height:100%; object-fit:contain; background:#0a0c10; }
.control-media > span { display:grid; place-items:center; gap:8px; color:#9299a5; }
.control-media > span svg { width:33px; height:33px; }
.control-media > span small { font-size:9px; }
.control-media .media-kind { position:absolute; top:9px; right:9px; padding:4px 7px; border-radius:5px; color:#fff; background:#000b; font-size:7px; text-transform:uppercase; }
.control-card-body { display:grid; gap:11px; padding:14px; }
.control-identity { display:flex; align-items:center; gap:8px; min-width:0; }
.control-identity > span:not(.badge):not(.avatar) { display:grid; min-width:0; margin-right:auto; }
.control-identity strong { overflow:hidden; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.control-identity small { color:var(--muted); font-size:8px; }
.content-copy { min-height:38px; margin:0; overflow:hidden; color:#454a54; font-size:9px; line-height:1.55; }
.control-title { margin:0; font-size:13px; }
.control-metrics { display:flex; flex-wrap:wrap; gap:6px; }
.control-metrics span { display:flex; align-items:center; gap:4px; padding:5px 7px; color:var(--muted); border-radius:5px; background:var(--surface-soft); font-size:8px; font-weight:700; }
.control-metrics svg { width:12px; height:12px; }
.control-date { color:var(--muted-2); font-size:8px; }
.control-action-form { padding-top:10px; border-top:1px solid var(--line); }
.product-facts { display:flex; flex-wrap:wrap; align-items:center; gap:6px; }
.product-facts strong { margin-right:auto; color:var(--green); font-size:13px; }
.product-facts span { padding:4px 6px; color:var(--muted); border-radius:5px; background:var(--surface-soft); font-size:8px; }
.moderation-form { display:grid; grid-template-columns:1fr; gap:9px; padding:12px; border:1px solid var(--line); border-radius:8px; background:var(--surface-soft); }
.moderation-form input,.moderation-form select,.control-filters input,.control-filters select { min-width:0; }
.order-admin-card { display:grid; gap:13px; padding:16px; }
.order-card-head,.order-number,.order-summary,.order-parties { display:flex; align-items:center; gap:10px; }
.order-card-head { justify-content:space-between; }
.order-card-head > div:last-child { display:flex; gap:5px; }
.order-number > span { display:grid; width:35px; height:35px; place-items:center; color:var(--blue); border-radius:8px; background:var(--blue-soft); }
.order-number svg { width:17px; }
.order-number div,.order-summary > div:last-child,.order-parties div { display:grid; gap:2px; }
.order-number small,.order-summary small,.order-parties small,.order-parties span { color:var(--muted); font-size:8px; }
.order-number strong { font-size:11px; }
.order-product-thumb { display:grid; flex:0 0 auto; width:54px; height:54px; place-items:center; overflow:hidden; color:var(--muted); border:1px solid var(--line); border-radius:8px; background:var(--surface-soft); }
.order-product-thumb img { width:100%; height:100%; object-fit:cover; }
.order-product-thumb svg { width:21px; }
.order-summary strong { font-size:10px; }
.order-parties { justify-content:space-between; padding:11px; border:1px solid var(--line); border-radius:8px; }
.order-parties > span svg { width:16px; }
.order-parties strong { font-size:9px; }
.order-details { border:1px solid var(--line); border-radius:8px; }
.order-details summary { padding:10px; color:#4f5561; cursor:pointer; font-size:9px; font-weight:750; }
.order-details dl { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:0; padding:0 10px 10px; }
.order-details dl div { display:grid; gap:2px; padding:8px; border-radius:6px; background:var(--surface-soft); }
.order-details dt { color:var(--muted); font-size:7px; font-weight:700; text-transform:uppercase; }
.order-details dd { margin:0; overflow-wrap:anywhere; font-size:8px; }
.order-form { grid-template-columns:1fr 1fr; }
.order-form .span-2 { grid-column:1/-1; }

@media (max-width: 1280px) { .admin-card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width: 800px) {
  .control-stat-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .admin-card-grid { grid-template-columns:1fr; }
  .control-filters { grid-template-columns:1fr 1fr; }
  .control-filters button { grid-column:1/-1; }
}
@media (max-width: 520px) {
  .control-stat-grid { grid-template-columns:1fr; }
  .workspace-toolbar { align-items:stretch; flex-direction:column; }
  .control-filters,.order-form { grid-template-columns:1fr; }
  .control-filters button,.order-form .span-2 { grid-column:auto; }
  .control-media { height:220px; }
  .order-details dl { grid-template-columns:1fr; }
}

/* Readable AdminCP content typography. The sidebar keeps its compact scale. */

/* Wallet and finance operations */
.wallet-stat-grid strong { font-size: clamp(18px, 1.7vw, 26px); }
.wallet-request-grid { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); }
.wallet-request-card { padding: 20px; display: grid; gap: 17px; }
.wallet-amount { display: grid; gap: 4px; padding: 17px; border-radius: 14px; background: #f7f8fb; border: 1px solid var(--border); }
.wallet-amount small, .wallet-amount span { color: var(--muted); }
.wallet-amount strong { font-size: 25px; letter-spacing: -.03em; }
.wallet-table { overflow-x: auto; }
.wallet-table table { min-width: 880px; }
.table-subline { display: block; max-width: 260px; margin-top: 4px; color: var(--muted); white-space: normal; }
.money-cell { font-weight: 800; white-space: nowrap; }
.money-cell.credit { color: #078860; }
.money-cell.debit { color: #c63a4a; }
.wallet-adjust-form { display: grid; grid-template-columns: 94px 120px minmax(180px, 1fr) auto; gap: 7px; align-items: center; min-width: 520px; }
.wallet-adjust-form input, .wallet-adjust-form select { min-height: 38px; }
@media (max-width: 760px) {
  .wallet-request-grid { grid-template-columns: 1fr; }
  .wallet-adjust-form { grid-template-columns: 1fr; min-width: 220px; }
}
.main { font-size:15px; }
.main .page-heading h1 { font-size:27px; }
.main .breadcrumb { font-size:12px; }
.main .panel-head h2,
.main .case-head h2 { font-size:17px; }
.main .panel-head p,
.main .case-head p { font-size:13px; line-height:1.5; }
.main h3 { font-size:15px; }
.main p { font-size:13px; }
.main small { font-size:11px; }
.main label,
.main label > span,
.main .form-stack label,
.main .editor-fields label,
.main .control-filters label,
.main .moderation-form label { font-size:12px; }
.main input,
.main textarea,
.main select { min-height:42px; font-size:13px; }
.main textarea { line-height:1.5; }
.main .button { min-height:38px; font-size:12px; }
.main th { padding:13px 16px; font-size:11px; }
.main td { padding:14px 16px; font-size:13px; }
.main .badge,
.main .result-count,
.main .section-label { font-size:10px; }
.main .user-cell strong,
.main .contact-cell strong,
.main .activity strong { font-size:13px; }
.main .user-cell small,
.main .contact-cell small,
.main .activity small { font-size:11px; }
.main .stat-card > strong { font-size:14px; }
.main .stat-card > small { font-size:12px; }
.main .localization-stats small,
.main .verification-stat-card small,
.main .report-stat-grid small,
.main .control-stat-grid small { font-size:12px; }
.main .localization-stats p,
.main .settings-overview p,
.main .settings-overview small { font-size:11px; }
.main .localization-language-table td,
.main .localization-translation-table td,
.main .localization-translation-table code,
.main .localization-translation-table td > p { font-size:12px; }
.main .localization-language-table th,
.main .localization-translation-table th { font-size:10px; }
.main .settings-control-copy h3 { font-size:15px; }
.main .settings-control-copy p { font-size:12px; }
.main .settings-control-copy small,
.main .sync-control small { font-size:10px; }
.main .switch-copy strong,
.main .session-row strong { font-size:13px; }
.main .switch-copy small,
.main .session-row small,
.main .field-help { font-size:11px; }
.main .workspace-tabs a { font-size:12px; }
.main .control-identity strong,
.main .order-summary strong,
.main .order-parties strong { font-size:13px; }
.main .control-identity small,
.main .order-number small,
.main .order-summary small,
.main .order-parties small,
.main .order-parties span { font-size:11px; }
.main .content-copy { font-size:13px; line-height:1.6; }
.main .control-metrics span,
.main .product-facts span,
.main .control-date { font-size:11px; }
.main .control-media .media-kind { font-size:10px; }
.main .order-details summary { font-size:12px; }
.main .order-details dt { font-size:10px; }
.main .order-details dd { font-size:12px; }
.main .ad-campaign-title strong { font-size:15px; }
.main .ad-campaign-title small,
.main .ad-campaign-title time,
.main .ad-caption,
.main .ad-metrics small,
.main .ad-review-note small { font-size:12px; }
.main .ad-metrics strong,
.main .ad-review-note strong { font-size:14px; }

/* Landing-page publishing workspace */
.landing-editor-form { display:grid; gap:16px; padding-bottom:78px; }
.landing-links-panel,
.landing-media-panel { padding:20px; }
.landing-link-grid { margin-top:18px; }
.landing-visibility-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-top:18px; }
.landing-visibility-grid .switch-field { min-width:0; padding:12px; border:1px solid var(--line); border-radius:10px; background:var(--surface-soft); }
.landing-visibility-grid .switch-copy { min-width:0; }
.landing-link-grid label { display:grid; gap:7px; color:#4f5561; font-weight:750; }
.landing-link-grid label small { color:var(--muted); font-weight:500; line-height:1.45; }
.landing-media-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin-top:18px; }
.landing-media-card { display:grid; align-content:start; gap:11px; min-width:0; padding:12px; border:1px solid var(--line); border-radius:12px; background:var(--surface-soft); }
.landing-media-preview { display:grid; height:170px; overflow:hidden; place-items:center; border:1px solid var(--line); border-radius:9px; background:#eef1f5; }
.landing-media-preview img { display:block; width:100%; height:100%; object-fit:contain; background:#fff; }
.landing-media-preview > span { display:grid; place-items:center; gap:8px; color:var(--muted); }
.landing-media-preview svg { width:30px; height:30px; }
.landing-media-copy { display:grid; gap:3px; }
.landing-media-copy strong { font-size:13px; }
.landing-media-copy small { min-height:32px; color:var(--muted); line-height:1.45; }
.landing-file-picker { display:flex; min-height:38px; align-items:center; justify-content:center; padding:8px 10px; color:var(--brand); border:1px dashed #e5a8af; border-radius:8px; background:var(--brand-soft); cursor:pointer; font-weight:800; text-align:center; }
.landing-file-picker input { position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
.landing-remove { display:flex; align-items:center; gap:7px; color:var(--muted); font-weight:600; }
.landing-remove input { width:15px; min-height:15px; height:15px; accent-color:var(--brand); }
.landing-copy-heading { display:flex; align-items:end; justify-content:space-between; gap:18px; padding:12px 4px 0; }
.landing-copy-heading h2 { margin:2px 0 4px; font-size:22px; }
.landing-copy-heading p:not(.eyebrow) { margin:0; color:var(--muted); }
.landing-copy-heading > span { padding:7px 10px; color:var(--muted); border:1px solid var(--line); border-radius:999px; background:var(--surface); font-size:11px; font-weight:750; }
.landing-copy-groups { display:grid; gap:12px; }
.landing-editor-group { padding:0; overflow:hidden; }
.landing-editor-group > summary { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:18px 20px; cursor:pointer; list-style:none; }
.landing-editor-group > summary::-webkit-details-marker { display:none; }
.landing-editor-group > summary > span { display:grid; gap:3px; }
.landing-editor-group > summary strong { font-size:15px; }
.landing-editor-group > summary small { color:var(--muted); line-height:1.4; }
.landing-editor-group > summary > i { display:grid; flex:0 0 auto; width:30px; height:30px; place-items:center; color:var(--muted); border-radius:7px; background:var(--surface-soft); transition:transform .18s ease; }
.landing-editor-group > summary svg { width:16px; height:16px; }
.landing-editor-group[open] > summary > i { transform:rotate(90deg); }
.landing-language-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0; border-top:1px solid var(--line); }
.landing-language-panel { min-width:0; padding:19px; }
.landing-language-panel + .landing-language-panel { border-left:1px solid var(--line); }
.landing-language-panel > header { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:14px; }
.landing-language-panel > header strong { font-size:14px; }
.landing-language-panel > header span { padding:4px 7px; color:var(--blue); border-radius:5px; background:var(--blue-soft); font-size:9px; font-weight:850; letter-spacing:.08em; }
.landing-language-fields { display:grid; gap:12px; }
.landing-language-fields label { display:grid; gap:6px; color:#4f5561; font-weight:750; }
.landing-language-fields label > span { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.landing-language-fields label > span small { color:var(--muted-2); font-weight:550; }
.landing-language-fields textarea { resize:vertical; }
.landing-savebar { z-index:5; }

@media (max-width:1180px) {
  .landing-media-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .landing-visibility-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:800px) {
  .landing-language-grid { grid-template-columns:1fr; }
  .landing-language-panel + .landing-language-panel { border-top:1px solid var(--line); border-left:0; }
}
@media (max-width:560px) {
  .landing-media-grid { grid-template-columns:1fr; }
  .landing-visibility-grid { grid-template-columns:1fr; }
  .landing-copy-heading { align-items:start; flex-direction:column; }
  .landing-editor-group > summary { padding:15px; }
  .landing-language-panel { padding:15px; }
}
