:root {
  color-scheme: dark;
  --bg: #090d1b;
  --bg-soft: #0f1428;
  --surface: #141a32;
  --surface-soft: #19203d;
  --surface-hover: #1d2546;
  --line: rgba(255, 255, 255, .1);
  --line-strong: rgba(255, 255, 255, .17);
  --text: #f6f7ff;
  --muted: #98a2c2;
  --purple: #7869f6;
  --purple-light: #a69dff;
  --teal: #43dfcf;
  --blue: #5aa9ff;
  --green: #4ade9b;
  --red: #ff697d;
  --amber: #ffc56b;
  --shadow: 0 24px 70px rgba(0, 0, 0, .32);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--bg);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(120, 105, 246, .15), transparent 27rem),
    radial-gradient(circle at 88% 20%, rgba(67, 223, 207, .08), transparent 25rem),
    var(--bg);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fill-icon {
  fill: currentColor;
  stroke: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a9fff6;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--teal);
}

.admin-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.admin-brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(145deg, #897afb, #5e49dc);
  box-shadow: 0 14px 35px rgba(94, 73, 220, .35);
}

.admin-brand > span:last-child {
  display: grid;
  gap: 1px;
}

.admin-brand strong {
  font-size: 16px;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.admin-brand small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--text);
  background: transparent;
  font-size: 13px;
  font-weight: 780;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #0b1520;
  background: linear-gradient(135deg, #6cebdd, var(--teal));
  box-shadow: 0 13px 32px rgba(67, 223, 207, .18);
}

.button-primary:hover {
  box-shadow: 0 16px 38px rgba(67, 223, 207, .28);
}

.button-secondary {
  border-color: var(--line);
  color: #e8ebfa;
  background: rgba(255, 255, 255, .045);
}

.button-secondary:hover {
  border-color: rgba(120, 105, 246, .5);
  background: rgba(120, 105, 246, .11);
}

.button-danger {
  border-color: rgba(255, 105, 125, .24);
  color: #ffb4be;
  background: rgba(255, 105, 125, .08);
}

.button-danger:hover {
  border-color: rgba(255, 105, 125, .5);
  background: rgba(255, 105, 125, .14);
}

.button-small {
  min-height: 37px;
  padding: 0 12px;
  font-size: 12px;
}

.button-block {
  width: 100%;
}

.icon-button {
  display: inline-grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: #c8cee5;
  background: rgba(255, 255, 255, .035);
  cursor: pointer;
}

.icon-button:hover {
  color: #fff;
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, .07);
}

.field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.field > span:first-child {
  color: #dfe3f4;
  font-size: 12px;
  font-weight: 720;
}

.field input,
.field select,
.field textarea,
.search-field input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: 0;
  color: var(--text);
  background: rgba(6, 9, 20, .58);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.field input {
  height: 48px;
  padding: 0 14px;
}

.field select {
  height: 48px;
  padding: 0 38px 0 14px;
  color-scheme: dark;
}

.field textarea {
  min-height: 180px;
  padding: 14px;
  resize: vertical;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.65;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.search-field input:focus {
  border-color: rgba(67, 223, 207, .7);
  background: rgba(8, 12, 25, .8);
  box-shadow: 0 0 0 4px rgba(67, 223, 207, .1);
}

.field small {
  color: #7f89a9;
  font-size: 11px;
  line-height: 1.5;
}

.form-stack {
  display: grid;
  gap: 18px;
}

.alert {
  padding: 13px 15px;
  border: 1px solid;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
}

.alert-error {
  border-color: rgba(255, 105, 125, .3);
  color: #ffc2ca;
  background: rgba(255, 105, 125, .1);
}

.alert-success {
  border-color: rgba(74, 222, 155, .28);
  color: #aff9d0;
  background: rgba(74, 222, 155, .09);
}

/* Login */
.login-page {
  overflow-x: hidden;
}

.login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(430px, .85fr);
  min-height: 100vh;
}

.login-brand {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(34px, 5vw, 70px);
  border-right: 1px solid var(--line);
  background:
    linear-gradient(rgba(120, 105, 246, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 105, 246, .1) 1px, transparent 1px),
    radial-gradient(circle at 24% 45%, rgba(120, 105, 246, .35), transparent 23rem),
    radial-gradient(circle at 85% 78%, rgba(67, 223, 207, .16), transparent 20rem),
    linear-gradient(150deg, #111632, #090d1b 76%);
  background-size: 72px 72px, 72px 72px, auto, auto, auto;
}

.login-brand::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -140px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(120, 105, 246, .035), 0 0 0 140px rgba(67, 223, 207, .018);
}

.login-copy {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 80px 0;
}

.login-copy h1 {
  max-width: 680px;
  margin: 20px 0 24px;
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 850;
  line-height: .98;
  letter-spacing: -.055em;
  background: linear-gradient(110deg, #fff 0%, #c6c0ff 45%, #7aece0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.login-copy p {
  max-width: 580px;
  margin: 0;
  color: #aab3d0;
  font-size: 18px;
  line-height: 1.7;
}

.login-feature-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 13px 24px;
  color: #c8cfe6;
  font-size: 12px;
  font-weight: 650;
}

.login-feature-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.login-feature-row .icon {
  width: 17px;
  height: 17px;
  color: var(--teal);
}

.login-card-wrap {
  display: grid;
  place-items: center;
  padding: 40px;
  background: rgba(7, 10, 21, .72);
}

.login-card {
  width: min(420px, 100%);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(20, 26, 50, .86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.login-card-heading {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.mobile-login-logo {
  display: none;
}

.login-card h2 {
  margin: 8px 0 7px;
  font-size: 27px;
  letter-spacing: -.035em;
}

.login-card-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.login-card .alert {
  margin-bottom: 18px;
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  padding-right: 78px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 9px;
  padding: 6px 7px;
  border: 0;
  color: var(--teal);
  background: transparent;
  font-size: 10px;
  font-weight: 780;
  cursor: pointer;
  transform: translateY(-50%);
}

.login-security {
  margin: 20px 0 0;
  color: #76809f;
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

/* App shell */
.admin-app {
  display: grid;
  grid-template-columns: 254px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 50;
  display: flex;
  width: 254px;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: rgba(12, 16, 32, .96);
  backdrop-filter: blur(20px);
}

.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
}

.sidebar-close,
.mobile-menu {
  display: none;
}

.sidebar-nav {
  display: grid;
  align-content: start;
  gap: 5px;
  flex: 1;
  padding: 23px 14px;
}

.nav-label {
  margin: 16px 11px 7px;
  color: #646f90;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.nav-label:first-child {
  margin-top: 0;
}

.nav-item {
  display: flex;
  width: 100%;
  min-height: 45px;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #9da7c6;
  background: transparent;
  font-size: 12px;
  font-weight: 680;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.nav-item:hover {
  color: #eef0ff;
  background: rgba(255, 255, 255, .04);
}

.nav-item.is-active {
  border-color: rgba(120, 105, 246, .25);
  color: #fff;
  background: linear-gradient(90deg, rgba(120, 105, 246, .2), rgba(120, 105, 246, .07));
}

.nav-item.is-active .icon {
  color: var(--purple-light);
}

.nav-button {
  appearance: none;
}

.sidebar-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 17px 15px;
  border-top: 1px solid var(--line);
}

.user-chip {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
}

.user-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  color: #dcd8ff;
  background: rgba(120, 105, 246, .17);
  font-size: 10px;
  font-weight: 850;
}

.user-chip > span:last-child {
  display: grid;
  min-width: 0;
}

.user-chip strong,
.user-chip small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-chip strong {
  font-size: 11px;
}

.user-chip small {
  margin-top: 3px;
  color: #7781a0;
  font-size: 9px;
}

.main-content {
  grid-column: 2;
  min-width: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(20px, 3.5vw, 52px);
  border-bottom: 1px solid var(--line);
  background: rgba(9, 13, 27, .82);
  backdrop-filter: blur(18px);
}

.topbar-context {
  display: grid;
  gap: 2px;
}

.topbar-context strong {
  font-size: 13px;
}

.topbar-label {
  color: #737d9d;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.topbar-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #aeb7d2;
  font-size: 10px;
  font-weight: 680;
}

.live-dot,
.online-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(74, 222, 155, .7);
}

.content-wrap {
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 52px);
}

.content-wrap > .alert {
  margin-bottom: 22px;
}

.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
}

.page-heading h1 {
  margin: 10px 0 8px;
  font-size: clamp(30px, 3.3vw, 46px);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.page-heading p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 38px;
}

.metric-card {
  position: relative;
  display: flex;
  overflow: hidden;
  min-height: 142px;
  align-items: flex-start;
  gap: 14px;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(24, 31, 60, .88), rgba(16, 21, 42, .88));
}

.metric-card::after {
  content: "";
  position: absolute;
  right: -35px;
  bottom: -50px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--metric-glow);
  filter: blur(15px);
  opacity: .22;
}

.metric-purple { --metric-color: var(--purple-light); --metric-glow: var(--purple); }
.metric-teal { --metric-color: var(--teal); --metric-glow: var(--teal); }
.metric-blue { --metric-color: var(--blue); --metric-glow: var(--blue); }
.metric-green { --metric-color: var(--green); --metric-glow: var(--green); }

.metric-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--metric-color) 34%, transparent);
  border-radius: 11px;
  color: var(--metric-color);
  background: color-mix(in srgb, var(--metric-color) 11%, transparent);
}

.metric-card > div {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
}

.metric-card span:not(.metric-icon) {
  color: #9da6c3;
  font-size: 10px;
  font-weight: 680;
}

.metric-card strong {
  margin: 8px 0 5px;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -.04em;
}

.metric-card small {
  color: #6e7898;
  font-size: 9px;
  line-height: 1.4;
}

.panel-section {
  min-width: 0;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0 0 5px;
  font-size: 19px;
  letter-spacing: -.025em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.search-field {
  width: min(280px, 100%);
}

.search-field input {
  height: 40px;
  padding: 0 13px;
  font-size: 11px;
}

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

.panel-card {
  display: grid;
  min-width: 0;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(20, 26, 50, .72);
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}

.panel-card:hover {
  border-color: rgba(120, 105, 246, .32);
  background: rgba(23, 30, 58, .82);
  transform: translateY(-2px);
}

.panel-card-top,
.panel-card-title,
.panel-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-symbol {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(120, 105, 246, .28);
  border-radius: 11px;
  color: #c7c0ff;
  background: rgba(120, 105, 246, .1);
}

.status-pill {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  border: 1px solid;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 780;
  white-space: nowrap;
}

.status-pill > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.status-active {
  border-color: rgba(74, 222, 155, .26);
  color: #73ebb0;
  background: rgba(74, 222, 155, .08);
}

.status-error {
  border-color: rgba(255, 105, 125, .25);
  color: #ff91a0;
  background: rgba(255, 105, 125, .08);
}

.panel-card-title h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -.025em;
}

.panel-card-title > div {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.panel-code {
  color: #8075e9;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 720;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.panel-card-title a {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  color: #8791b1;
}

.panel-card-title a:hover {
  color: var(--teal);
  background: rgba(67, 223, 207, .08);
}

.panel-card-title .icon {
  width: 16px;
  height: 16px;
}

.panel-url {
  overflow: hidden;
  margin: -7px 0 0;
  color: #6f7998;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.panel-customer-meta {
  display: grid;
  gap: 7px;
  margin-top: -4px;
}

.panel-customer-meta > span {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
  color: #919ab8;
  font-size: 9px;
}

.panel-customer-meta .icon {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  color: var(--teal);
}

.panel-customer-meta > span > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.panel-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .065);
  border-radius: 12px;
  background: rgba(6, 9, 20, .32);
}

.panel-card-stats > div {
  display: grid;
  min-width: 0;
  min-height: 66px;
  align-content: center;
  justify-items: center;
  padding: 8px;
  text-align: center;
}

.panel-card-stats > div + div {
  border-left: 1px solid rgba(255, 255, 255, .065);
}

.panel-card-stats strong {
  font-size: 17px;
}

.panel-card-stats small {
  margin-top: 4px;
  color: #7882a1;
  font-size: 8px;
}

.panel-card-stats .online-indicator {
  position: absolute;
  margin: 5px 0 0 -26px;
  width: 5px;
  height: 5px;
}

.panel-card-foot {
  padding-top: 2px;
  border-top: 1px solid rgba(255, 255, 255, .055);
}

.panel-card-foot > span {
  min-width: 0;
  color: #727c9b;
  font-size: 8px;
  line-height: 1.4;
}

.panel-card-foot > span strong {
  color: #aeb6d0;
  font-weight: 680;
}

.empty-state,
.empty-search {
  display: grid;
  min-height: 300px;
  place-items: center;
  align-content: center;
  gap: 9px;
  padding: 30px;
  border: 1px dashed var(--line-strong);
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
}

.empty-state .icon {
  width: 38px;
  height: 38px;
  color: var(--purple-light);
}

.empty-state h3 {
  margin: 6px 0 0;
  color: var(--text);
}

.empty-state p {
  margin: 0 0 12px;
  font-size: 12px;
}

.empty-search {
  min-height: 100px;
  font-size: 12px;
}

.empty-search[hidden] {
  display: none;
}

/* Editor */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 24px;
  color: #747e9e;
  font-size: 10px;
}

.breadcrumb a {
  color: #aeb6d0;
  text-decoration: none;
}

.breadcrumb .icon {
  width: 12px;
  height: 12px;
}

.editor-heading {
  margin-bottom: 22px;
}

.editor-status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.editor-status-grid article {
  display: grid;
  min-height: 82px;
  align-content: center;
  justify-items: start;
  gap: 7px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(20, 26, 50, .62);
}

.editor-status-grid article > strong {
  overflow: hidden;
  max-width: 100%;
  font-size: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.editor-status-grid small {
  color: #747e9e;
  font-size: 9px;
}

.editor-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: rgba(20, 26, 50, .72);
  box-shadow: 0 20px 55px rgba(0, 0, 0, .16);
}

.editor-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: rgba(8, 11, 23, .34);
}

.editor-tab {
  position: relative;
  display: flex;
  min-height: 82px;
  align-items: center;
  gap: 13px;
  padding: 15px clamp(12px, 1.4vw, 20px);
  border: 0;
  color: #7f89a9;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.editor-tab + .editor-tab {
  border-left: 1px solid var(--line);
}

.editor-tab::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: -1px;
  left: 20px;
  height: 2px;
  border-radius: 2px;
  background: transparent;
}

.editor-tab.is-active {
  color: #fff;
  background: rgba(120, 105, 246, .06);
}

.editor-tab.is-active::after {
  background: var(--purple);
  box-shadow: 0 0 12px rgba(120, 105, 246, .6);
}

.editor-tab > .icon {
  width: 24px;
  height: 24px;
  color: currentColor;
}

.editor-tab > span {
  display: grid;
  gap: 4px;
}

.editor-tab strong {
  font-size: 12px;
}

.editor-tab small {
  color: #697493;
  font-size: 9px;
}

.editor-panel {
  display: none;
}

.editor-panel.is-active {
  display: block;
}

.editor-form {
  padding: clamp(22px, 3vw, 34px);
}

.heading-code {
  color: #a89fff;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: .88em;
}

.form-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}

.form-heading h2 {
  margin: 0 0 7px;
  font-size: 20px;
  letter-spacing: -.03em;
}

.form-heading p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.item-counter {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  border: 1px solid rgba(120, 105, 246, .22);
  border-radius: 999px;
  color: #aaa2ff;
  background: rgba(120, 105, 246, .08);
  font-size: 9px;
  font-weight: 650;
  white-space: nowrap;
}

.field-large textarea {
  min-height: 286px;
}

.message-visibility-toggle {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7, 10, 21, .35);
  cursor: pointer;
}

.message-visibility-toggle > input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.switch-control {
  position: relative;
  width: 48px;
  height: 27px;
  flex: 0 0 auto;
  border: 1px solid rgba(145, 154, 185, .35);
  border-radius: 999px;
  background: #252c43;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.switch-control > span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #abb3ca;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .35);
  transition: transform .2s ease, background .2s ease;
}

.message-visibility-toggle > input:checked + .switch-control {
  border-color: rgba(73, 222, 204, .66);
  background: rgba(73, 222, 204, .24);
  box-shadow: 0 0 0 3px rgba(73, 222, 204, .07);
}

.message-visibility-toggle > input:checked + .switch-control > span {
  background: #52e4d1;
  transform: translateX(21px);
}

.message-visibility-toggle > input:focus-visible + .switch-control {
  outline: 2px solid #8f82ff;
  outline-offset: 3px;
}

.switch-copy {
  display: grid;
  gap: 4px;
}

.switch-copy strong {
  color: var(--text);
  font-size: 12px;
}

.switch-copy small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.editor-form.messages-off .message-form-grid {
  opacity: .56;
}

.customer-form-grid,
.modal-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px 20px;
}

.field-span-2 {
  grid-column: 1 / -1;
}

.form-section-title,
.modal-section-title {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 15px;
  border: 1px solid rgba(120, 105, 246, .18);
  border-radius: 12px;
  background: rgba(120, 105, 246, .055);
}

.form-section-title > span,
.modal-section-title > span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  color: var(--teal);
  background: rgba(67, 223, 207, .08);
}

.form-section-title .icon,
.modal-section-title .icon {
  width: 17px;
  height: 17px;
}

.form-section-title > div,
.modal-section-title > div {
  display: grid;
  gap: 3px;
}

.form-section-title strong,
.modal-section-title strong {
  font-size: 11px;
}

.form-section-title small,
.modal-section-title small {
  color: var(--muted);
  font-size: 9px;
}

.message-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 20px;
  align-items: start;
}

.interval-field {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7, 10, 21, .35);
}

.number-suffix {
  position: relative;
  display: block;
}

.number-suffix input {
  padding-right: 75px;
}

.number-suffix small {
  position: absolute;
  top: 50%;
  right: 13px;
  color: #8e98b7;
  font-size: 10px;
  transform: translateY(-50%);
}

.editor-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.editor-actions > span {
  color: #737d9d;
  font-size: 10px;
}

/* Redes sociais e calendário semanal */
.social-help {
  display: grid;
  gap: 7px;
  margin-bottom: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(67, 223, 207, .18);
  border-radius: 14px;
  color: #aab4d1;
  background: rgba(67, 223, 207, .055);
  font-size: 11px;
  line-height: 1.55;
}

.social-help strong {
  color: #b8fff7;
}

.social-network-list,
.news-feed-list {
  display: grid;
  gap: 14px;
}

.social-network-row,
.news-feed-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(7, 10, 21, .36);
  transition: opacity .18s ease, border-color .18s ease;
}

.social-network-row.is-disabled,
.news-feed-row.is-disabled {
  opacity: .62;
}

.source-test-result {
  grid-column: 1 / -1;
  display: grid;
  gap: 5px;
  padding: 13px 15px;
  border: 1px solid rgba(120, 105, 246, .28);
  border-radius: 12px;
  color: #cbd5f0;
  background: rgba(120, 105, 246, .08);
  font-size: 10px;
  line-height: 1.5;
}

.source-test-result[hidden] {
  display: none;
}

.source-test-result strong {
  color: #fff;
  font-size: 11px;
}

.source-test-result small {
  color: #8f9abb;
}

.source-test-result.is-success {
  border-color: rgba(67, 223, 207, .3);
  background: rgba(67, 223, 207, .07);
}

.source-test-result.is-error {
  border-color: rgba(251, 113, 133, .38);
  color: #fecdd3;
  background: rgba(251, 113, 133, .075);
}

.version-footer {
  padding: 18px 24px 22px;
  border-top: 1px solid var(--line);
  color: #65708f;
  background: rgba(7, 10, 21, .42);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-align: center;
}

.admin-app > .version-footer {
  grid-column: 2;
}

.radio-config-card,
.news-config-card {
  display: grid;
  gap: 18px;
  margin-bottom: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(7, 10, 21, .36);
}

.source-section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
}

.source-section-heading > div:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.source-section-heading h3 {
  margin: 0 0 5px;
  font-size: 16px;
}

.source-section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.source-section-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(67, 223, 207, .24);
  border-radius: 12px;
  color: var(--teal);
  background: rgba(67, 223, 207, .08);
}

.radio-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  transition: opacity .18s ease;
}

.radio-fields.is-disabled {
  opacity: .5;
}

.social-row-actions {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 2px;
}

.social-row-toggle,
.schedule-enabled {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #cbd2e8;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.social-row-toggle input,
.schedule-enabled input,
.source-option input {
  accent-color: var(--teal);
}

.empty-inline {
  padding: 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  color: #8993b2;
  font-size: 11px;
  line-height: 1.55;
  text-align: center;
}

.schedule-settings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.schedule-days {
  display: grid;
  gap: 12px;
}

.schedule-today-notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 12px;
  margin: 0 0 18px;
  padding: 13px 15px;
  border: 1px solid rgba(71, 224, 201, .25);
  border-radius: 13px;
  background: rgba(24, 123, 112, .11);
  color: #dffdf8;
  font-size: 12px;
}

.schedule-today-notice span,
.schedule-today-notice small {
  color: var(--muted);
}

.schedule-today-notice small {
  grid-column: 1 / -1;
}

.schedule-today-notice.is-warning {
  border-color: rgba(246, 180, 75, .35);
  background: rgba(133, 83, 14, .13);
}

.schedule-day {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(7, 10, 21, .36);
}

.schedule-day[open] {
  border-color: rgba(120, 105, 246, .28);
}

.schedule-day.is-today {
  border-color: rgba(71, 224, 201, .45);
  box-shadow: inset 3px 0 0 rgba(71, 224, 201, .82);
}

.schedule-day > summary {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 18px;
  color: #eef0ff;
  font-size: 12px;
  font-weight: 780;
  cursor: pointer;
  list-style: none;
}

.schedule-day > summary span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.schedule-day > summary em {
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(71, 224, 201, .14);
  color: #6df1df;
  font-size: 9px;
  font-style: normal;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.schedule-day > summary::-webkit-details-marker {
  display: none;
}

.schedule-day > summary::after {
  content: "+";
  color: var(--purple-light);
  font-size: 20px;
  font-weight: 400;
}

.schedule-day[open] > summary::after {
  content: "−";
}

.schedule-day-body {
  display: grid;
  gap: 17px;
  padding: 0 18px 18px;
  border-top: 1px solid var(--line);
}

.schedule-day.is-disabled .schedule-day-body {
  opacity: .48;
}

.schedule-time-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  padding-top: 17px;
}

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

.source-picker {
  display: grid;
  align-content: start;
  gap: 8px;
  max-height: 280px;
  overflow: auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(6, 9, 20, .42);
}

fieldset.source-picker {
  min-width: 0;
  margin: 0;
}

.source-picker legend {
  padding: 0 7px;
  color: #dfe3f4;
  font-size: 11px;
  font-weight: 780;
}

.source-picker > strong {
  margin-bottom: 3px;
  color: #dfe3f4;
  font-size: 11px;
}

.source-option {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 9px;
  padding: 8px 9px;
  border-radius: 9px;
  color: #aeb7d2;
  background: rgba(255, 255, 255, .025);
  font-size: 10px;
  line-height: 1.4;
  cursor: pointer;
}

.source-picker > label {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 9px;
  padding: 8px 9px;
  border-radius: 9px;
  color: #aeb7d2;
  background: rgba(255, 255, 255, .025);
  font-size: 10px;
  line-height: 1.4;
  cursor: pointer;
}

.source-picker > label:hover {
  color: #fff;
  background: rgba(120, 105, 246, .09);
}

.source-picker > label input {
  flex: 0 0 auto;
  margin-top: 3px;
  accent-color: var(--teal);
}

.source-picker > label > span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.source-picker > label strong,
.source-picker > label small {
  overflow: hidden;
  overflow-wrap: anywhere;
}

.source-picker > label small {
  color: #737d9d;
  font-size: 9px;
}

.compact-toggle {
  margin-top: 17px;
}

.source-option:hover {
  color: #fff;
  background: rgba(120, 105, 246, .09);
}

.source-option span {
  overflow: hidden;
  overflow-wrap: anywhere;
}

.source-empty {
  padding: 12px;
  color: #737d9d;
  font-size: 10px;
  line-height: 1.5;
}

/* Modal */
.modal {
  width: min(780px, calc(100% - 28px));
  max-height: min(92vh, 900px);
  max-width: none;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  color: var(--text);
  background: #151b34;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .56);
  overflow: auto;
}

.modal::backdrop {
  background: rgba(3, 5, 12, .75);
  backdrop-filter: blur(6px);
}

.modal-card {
  padding: 27px;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(120, 105, 246, .3);
  border-radius: 13px;
  color: var(--purple-light);
  background: rgba(120, 105, 246, .12);
}

.modal-copy {
  margin: 23px 0 21px;
}

.modal-section-title {
  margin: 21px 0 15px;
}

.modal-copy h2 {
  margin: 9px 0 7px;
  font-size: 26px;
  letter-spacing: -.035em;
}

.modal-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.url-preview {
  overflow: hidden;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #7781a0;
  background: rgba(7, 10, 21, .45);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.url-preview strong {
  color: #aeb6d0;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 25px;
}

.sidebar-scrim {
  display: none;
}

:focus-visible {
  outline: 3px solid rgba(67, 223, 207, .65);
  outline-offset: 3px;
}

@media (max-width: 1180px) {
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panel-grid {
    grid-template-columns: 1fr;
  }

  .editor-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .editor-tab:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }

  .editor-tab:nth-child(4) {
    border-left: 0;
  }

  .schedule-settings {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .login-layout {
    grid-template-columns: 1fr;
  }

  .login-brand {
    display: none;
  }

  .login-card-wrap {
    min-height: 100vh;
    padding: 24px;
    background:
      radial-gradient(circle at 15% 15%, rgba(120, 105, 246, .25), transparent 22rem),
      radial-gradient(circle at 85% 85%, rgba(67, 223, 207, .12), transparent 20rem),
      var(--bg);
  }

  .mobile-login-logo {
    display: grid;
  }

  .admin-app {
    grid-template-columns: 1fr;
  }

  .sidebar {
    transform: translateX(-105%);
    transition: transform .22s ease;
  }

  .sidebar.is-open {
    transform: translateX(0);
  }

  .sidebar-close,
  .mobile-menu {
    display: inline-grid;
  }

  .sidebar-scrim {
    position: fixed;
    inset: 0;
    z-index: 45;
    background: rgba(2, 4, 10, .66);
    backdrop-filter: blur(3px);
  }

  .sidebar-scrim.is-open {
    display: block;
  }

  .main-content {
    grid-column: 1;
  }

  .admin-app > .version-footer {
    grid-column: 1;
  }

  .topbar {
    justify-content: flex-start;
  }

  .topbar-live {
    margin-left: auto;
  }
}

@media (max-width: 720px) {
  .content-wrap {
    padding: 24px 15px 42px;
  }

  .topbar {
    min-height: 64px;
    padding: 0 15px;
  }

  .topbar-live {
    font-size: 9px;
  }

  .page-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .page-heading .button {
    width: 100%;
  }

  .metrics-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .metric-card {
    min-height: 135px;
    flex-direction: column;
    padding: 15px;
  }

  .metric-icon {
    width: 34px;
    height: 34px;
  }

  .metric-icon .icon {
    width: 17px;
    height: 17px;
  }

  .metric-card strong {
    font-size: 25px;
  }

  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .search-field {
    width: 100%;
  }

  .panel-card {
    padding: 16px;
  }

  .panel-card-foot {
    align-items: stretch;
    flex-direction: column;
  }

  .panel-card-foot .button {
    width: 100%;
  }

  .editor-status-grid {
    grid-template-columns: 1fr 1fr;
  }

  .editor-tabs {
    grid-template-columns: 1fr;
  }

  .editor-tab + .editor-tab {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .form-heading,
  .editor-actions,
  .source-section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .editor-actions .button {
    width: 100%;
  }

  .source-section-heading .button {
    width: 100%;
  }

  .message-form-grid {
    grid-template-columns: 1fr;
  }

  .social-network-row,
  .news-feed-row,
  .radio-fields,
  .schedule-settings,
  .schedule-time-grid,
  .schedule-source-grid {
    grid-template-columns: 1fr;
  }

  .social-row-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .customer-form-grid,
  .modal-form-grid {
    grid-template-columns: 1fr;
  }

  .field-span-2 {
    grid-column: auto;
  }

  .modal-card {
    padding: 21px;
  }

  .modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .login-card-wrap {
    padding: 15px;
  }

  .login-card {
    padding: 25px 20px;
    border-radius: 18px;
  }

  .login-card-heading {
    align-items: center;
  }

  .login-card h2 {
    font-size: 23px;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .metric-card {
    min-height: 108px;
    flex-direction: row;
  }

  .panel-card-stats {
    grid-template-columns: 1fr;
  }

  .panel-card-stats > div {
    min-height: 53px;
    grid-template-columns: auto auto;
    justify-content: space-between;
    justify-items: start;
    text-align: left;
  }

  .panel-card-stats > div + div {
    border-top: 1px solid rgba(255, 255, 255, .065);
    border-left: 0;
  }

  .panel-card-stats small {
    margin: 0;
  }

  .panel-card-stats .online-indicator {
    display: none;
  }

  .editor-status-grid {
    grid-template-columns: 1fr;
  }

  .topbar-context {
    display: none;
  }

  .topbar-live {
    margin-left: auto;
  }

  .modal-actions {
    grid-template-columns: 1fr;
  }

  .modal-actions .button-secondary {
    order: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* O gestor acompanha automaticamente o tema definido no celular/computador. */
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #f4f7fb;
    --bg-soft: #edf2f8;
    --surface: #ffffff;
    --surface-soft: #f7f9fc;
    --surface-hover: #eef2ff;
    --line: rgba(31, 41, 67, .12);
    --line-strong: rgba(31, 41, 67, .2);
    --text: #172033;
    --muted: #64748b;
    --purple: #6757e8;
    --purple-light: #7667ed;
    --teal: #0f9f93;
    --blue: #287bc2;
    --green: #16895a;
    --red: #d83c57;
    --amber: #a9620b;
    --shadow: 0 22px 58px rgba(39, 51, 82, .12);
  }

  html,
  body {
    background-color: var(--bg);
  }

  body {
    background:
      radial-gradient(circle at 12% 0%, rgba(103, 87, 232, .09), transparent 27rem),
      radial-gradient(circle at 88% 20%, rgba(15, 159, 147, .07), transparent 25rem),
      var(--bg);
  }

  .eyebrow,
  .social-help strong {
    color: #08796f;
  }

  .login-brand {
    background:
      linear-gradient(rgba(103, 87, 232, .055) 1px, transparent 1px),
      linear-gradient(90deg, rgba(103, 87, 232, .055) 1px, transparent 1px),
      radial-gradient(circle at 24% 45%, rgba(103, 87, 232, .15), transparent 23rem),
      radial-gradient(circle at 85% 78%, rgba(15, 159, 147, .1), transparent 20rem),
      linear-gradient(150deg, #f9fbff, #edf2f9 76%);
    background-size: 72px 72px, 72px 72px, auto, auto, auto;
  }

  .login-copy h1 {
    background: linear-gradient(110deg, #172033 0%, #594bc8 48%, #087f76 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .login-copy p,
  .login-feature-row {
    color: #4b5871;
  }

  .login-card-wrap {
    background: rgba(239, 243, 249, .78);
  }

  .login-card,
  .panel-card,
  .editor-card,
  .modal-card {
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--shadow);
  }

  .sidebar {
    background: rgba(255, 255, 255, .96);
  }

  .topbar {
    background: rgba(244, 247, 251, .88);
  }

  .nav-label,
  .topbar-label,
  .editor-actions > span,
  .version-footer,
  .breadcrumb,
  .editor-status-grid small {
    color: #6b7690;
  }

  .nav-item,
  .topbar-live,
  .editor-tab {
    color: #59657d;
  }

  .nav-item:hover {
    color: var(--text);
    background: rgba(31, 41, 67, .045);
  }

  .nav-item.is-active,
  .editor-tab.is-active {
    color: #302675;
    background: rgba(103, 87, 232, .09);
  }

  .button-secondary,
  .icon-button {
    color: #334155;
    background: rgba(255, 255, 255, .72);
  }

  .button-secondary:hover,
  .icon-button:hover {
    color: #1e293b;
    background: rgba(103, 87, 232, .08);
  }

  .button-danger {
    color: #b4233e;
  }

  .field > span:first-child,
  .switch-copy strong,
  .source-test-result strong {
    color: #263248;
  }

  .field input,
  .field select,
  .field textarea,
  .search-field input {
    color: var(--text);
    background: #ffffff;
  }

  .field select {
    color-scheme: light;
  }

  .field input:focus,
  .field select:focus,
  .field textarea:focus,
  .search-field input:focus {
    background: #ffffff;
  }

  .editor-status-grid article,
  .metric-card,
  .message-visibility-toggle,
  .interval-field,
  .social-network-row,
  .news-feed-row,
  .radio-config-card,
  .news-config-card,
  .schedule-day,
  .schedule-day-body,
  .source-picker,
  .source-picker > label {
    background: rgba(255, 255, 255, .78);
  }

  .editor-tabs,
  .version-footer {
    background: rgba(239, 243, 249, .78);
  }

  .social-help,
  .form-section-title,
  .modal-section-title {
    color: #4b5871;
    background: rgba(15, 159, 147, .065);
  }

  .source-test-result {
    color: #46536b;
    background: rgba(103, 87, 232, .055);
  }

  .source-test-result.is-error,
  .alert-error {
    color: #a9243e;
    background: rgba(216, 60, 87, .07);
  }

  .alert-success {
    color: #087747;
    background: rgba(22, 137, 90, .07);
  }

  .switch-control {
    background: #d8deea;
  }

  .switch-control > span {
    background: #ffffff;
    box-shadow: 0 3px 8px rgba(39, 51, 82, .22);
  }

  .social-row-toggle,
  .schedule-enabled {
    color: #475569;
  }

  .sidebar-scrim {
    background: rgba(15, 23, 42, .3);
  }
}
