:root {
  --bg: #eef2f6;
  --bg-strong: #e5ebf3;
  --surface: rgba(255, 255, 255, 0.96);
  --surface-soft: rgba(255, 255, 255, 0.92);
  --surface-muted: #f5f7fb;
  --border: rgba(17, 24, 39, 0.08);
  --border-strong: rgba(17, 24, 39, 0.14);
  --text: #0f172a;
  --text-muted: #5b667a;
  --text-soft: #8b95a7;
  --primary: #2353c7;
  --primary-strong: #183b8f;
  --primary-soft: rgba(35, 83, 199, 0.08);
  --success: #12b76a;
  --success-soft: rgba(18, 183, 106, 0.12);
  --danger: #ef4d61;
  --danger-soft: rgba(239, 77, 97, 0.12);
  --shadow-lg: 0 28px 60px -42px rgba(15, 23, 42, 0.24);
  --shadow-md: 0 18px 38px -30px rgba(15, 23, 42, 0.18);
  --shadow-sm: 0 12px 24px -20px rgba(15, 23, 42, 0.14);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(35, 83, 199, 0.1), transparent 28%),
    linear-gradient(180deg, #f8fafc 0%, var(--bg) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

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

button {
  border: 0;
}

h1,
h2,
h3,
h4,
p,
dl,
dd {
  margin: 0;
}

dl {
  padding: 0;
}

ul {
  margin: 0;
  padding-left: 1.1rem;
}

[hidden] {
  display: none !important;
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(transparent 0, transparent calc(100% - 1px), rgba(255, 255, 255, 0.5) calc(100% - 1px)),
    linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), rgba(255, 255, 255, 0.5) calc(100% - 1px));
  background-size: 18px 18px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.4));
}

.auth-layout,
.dashboard-shell {
  width: min(1420px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 2rem;
}

.auth-layout {
  min-height: 100vh;
  display: grid;
  align-items: stretch;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
}

.hero-panel,
.auth-card,
.support-card,
.sidebar-card,
.stat-card,
.panel,
.dialog-shell {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.hero-panel,
.auth-card,
.support-card,
.sidebar-card,
.stat-card,
.panel {
  border-radius: var(--radius-xl);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 2rem;
  padding: 2.25rem;
  align-content: space-between;
  background:
    radial-gradient(circle at top left, rgba(35, 83, 199, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.98));
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -64px -64px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35, 83, 199, 0.18) 0%, transparent 72%);
}

.auth-column {
  display: grid;
  align-content: center;
  gap: 1.25rem;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  grid-template-columns: repeat(2, 8px);
  gap: 0.35rem;
  background: linear-gradient(145deg, #0f172a, #1d4ed8);
  box-shadow: 0 16px 32px -24px rgba(37, 87, 214, 0.95);
}

.brand-mark span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
}

.brand-name {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-subtitle,
.panel-copy,
.page-copy,
.stat-note,
.helper-text,
.support-copy,
.footer-note,
.empty-copy,
.inspector-id,
.preview-host,
.session-endpoint {
  color: var(--text-muted);
  line-height: 1.55;
}

.eyebrow,
.section-label,
.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-strong);
}

.eyebrow-badge {
  width: fit-content;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: var(--primary-soft);
}

.hero-copy,
.auth-card-head,
.dialog-head {
  display: grid;
  gap: 0.75rem;
}

.hero-title,
.page-title {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hero-title {
  max-width: 11ch;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  line-height: 0.98;
}

.hero-description {
  max-width: 42ch;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.hero-note {
  display: grid;
  gap: 0.5rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(17, 24, 39, 0.06);
  background: rgba(245, 247, 251, 0.9);
}

.hero-metrics {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-card,
.table-card,
.nav-item,
.session-user-badge,
.search-field,
.editor-image-inline-preview,
.preview-media,
.inspector-media {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.86);
}

.editor-image-inline-preview {
  position: relative;
  display: grid;
  overflow: hidden;
  width: 100%;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: rgba(248, 250, 253, 0.92);
  aspect-ratio: 16 / 10;
}

.metric-card {
  padding: 1rem;
  border-radius: 1.15rem;
  box-shadow: var(--shadow-sm);
}

.metric-label,
.stat-label,
.section-label {
  margin-bottom: 0.45rem;
}

.metric-label,
.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-soft);
}

.metric-value,
.stat-value {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-list {
  display: grid;
  gap: 0.85rem;
  padding: 1.25rem;
  border-radius: 1.25rem;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.hero-list-title,
.support-label,
.preview-title,
.inspector-title {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-list li {
  color: var(--text-muted);
  line-height: 1.55;
}

.auth-card {
  display: grid;
  gap: 1.35rem;
  padding: 2rem;
}

.support-card {
  padding: 1.1rem 1.2rem;
}

.panel-title {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.form-grid,
.dialog-form,
.dialog-preview {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.42rem;
}

.field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.field input,
.field select,
.field textarea,
.search-field input,
.offset-group input {
  width: 100%;
  min-width: 0;
  padding: 0.8rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-muted);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.field input::placeholder,
.search-field input::placeholder {
  color: var(--text-soft);
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.search-field input:focus,
.offset-group input:focus {
  outline: none;
  border-color: rgba(53, 109, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(53, 109, 255, 0.12);
  background: #fff;
}

.compact-field {
  min-width: 120px;
}

.auth-card-foot {
  display: grid;
  justify-content: end;
}

.toggle-row {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface-muted);
  font-weight: 600;
  color: var(--text-muted);
}

.toggle-row input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.9rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(145deg, var(--primary), var(--primary-strong));
  box-shadow: 0 18px 30px -24px rgba(37, 87, 214, 0.88);
}

.btn-secondary {
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
}

.btn-danger {
  color: #fff;
  background: linear-gradient(145deg, #f05d70, #dd4055);
  box-shadow: 0 18px 30px -24px rgba(221, 64, 85, 0.88);
}

.btn-block {
  width: 100%;
}

.dashboard-shell {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 280px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 1rem;
  align-self: start;
  display: grid;
  gap: 0.9rem;
}

.sidebar-card,
.stat-card {
  padding: 1.2rem;
}

.workspace-list {
  display: grid;
  gap: 0.75rem;
}

.workspace-item {
  display: grid;
  gap: 0.35rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: rgba(245, 247, 251, 0.9);
}

.workspace-item-title {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.workspace-item-copy {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.session-user-badge {
  display: inline-flex;
  width: fit-content;
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  font-weight: 700;
  margin: 0.35rem 0 0.1rem;
}

.dashboard-main {
  min-width: 0;
  display: grid;
  gap: 1.25rem;
}

.dashboard-topbar,
.panel {
  padding: 1.35rem;
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.topbar-copy {
  display: grid;
  gap: 0.5rem;
}

.page-title {
  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 0.98;
}

.topbar-actions,
.panel-actions,
.footer-actions,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: end;
}

.search-field {
  width: min(320px, 100%);
  min-height: 2.95rem;
  padding: 0 0.85rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.search-field svg {
  width: 1rem;
  height: 1rem;
  color: var(--text-soft);
}

.search-field input {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.search-field input:focus {
  box-shadow: none;
}

.stats-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card {
  display: grid;
  gap: 0.55rem;
  min-height: 132px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.98));
}

.stat-value {
  font-size: 2rem;
}

.content-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.85fr);
}

.table-panel,
.inspector-panel {
  display: grid;
  gap: 1rem;
  align-content: start;
  min-width: 0;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.table-card {
  overflow: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.table-panel.is-busy .table-card {
  opacity: 0.84;
}

table {
  width: 100%;
  min-width: 900px;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255, 255, 255, 0.92);
}

thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 0.9rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  color: var(--text-soft);
  background: #f7f9fc;
  border-bottom: 1px solid var(--border);
}

tbody td {
  padding: 0.9rem 0.85rem;
  vertical-align: middle;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

tbody tr {
  transition: background-color 0.18s ease;
}

tbody tr:hover {
  background: rgba(53, 109, 255, 0.04);
}

tbody tr.is-selected {
  background: rgba(35, 83, 199, 0.08);
  box-shadow: inset 3px 0 0 var(--primary);
}

.col-index,
.row-index {
  width: 74px;
}

.row-index {
  font-variant-numeric: tabular-nums;
  font-size: 0.88rem;
  color: var(--text-soft);
}

.campaign-cell {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 220px;
}

.media-thumb {
  position: relative;
  display: grid;
  width: 72px;
  height: 48px;
  flex: none;
  overflow: hidden;
  border-radius: 0.9rem;
  background: linear-gradient(145deg, #dbe7ff, #eef3ff);
}

.media-thumb > *,
.editor-image-inline-preview > *,
.preview-media > *,
.inspector-media > * {
  grid-area: 1 / 1;
}

.media-thumb img,
.editor-image-inline-preview img,
.preview-media img,
.inspector-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-thumb.has-image .media-fallback,
.editor-image-inline-preview.has-image .media-fallback,
.preview-media.has-image .media-fallback,
.inspector-media.has-image .media-fallback {
  opacity: 0;
}

.media-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary-strong);
  background: linear-gradient(145deg, #dbe7ff, #eef3ff);
}

.table-stack,
.destination-stack {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
}

.primary-text,
.destination-link {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

.secondary-text,
.micro-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.secondary-text {
  font-size: 0.86rem;
  color: var(--text-soft);
}

.micro-text {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.destination-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(35, 83, 199, 0.14);
  background: rgba(35, 83, 199, 0.07);
  color: var(--primary-strong);
  white-space: nowrap;
}

.destination-empty {
  color: var(--text-soft);
}

.status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.95rem;
  padding: 0.3rem 0.72rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.status-chip.is-active {
  color: #0b8f4f;
  background: var(--success-soft);
  border-color: rgba(18, 183, 106, 0.2);
}

.status-chip.is-inactive {
  color: #8a93a6;
  background: rgba(138, 147, 166, 0.14);
  border-color: rgba(138, 147, 166, 0.18);
}

button.status-chip {
  cursor: pointer;
}

.table-actions {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}

.table-action {
  min-height: 2rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-muted);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.table-action.danger {
  color: var(--danger);
  border-color: rgba(239, 77, 97, 0.22);
}

.table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.offset-group {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.offset-group label {
  font-size: 0.88rem;
  font-weight: 600;
}

.offset-group input {
  width: 96px;
  padding: 0.72rem 0.8rem;
}

.empty-state,
.inspector-empty {
  display: grid;
  justify-items: start;
  gap: 0.7rem;
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(15, 23, 42, 0.12);
  background: rgba(248, 250, 253, 0.8);
}

.empty-title {
  font-size: 1rem;
  font-weight: 700;
}

.inspector-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(245, 247, 251, 0.72);
}

.inspector-media,
.preview-media {
  position: relative;
  display: grid;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  aspect-ratio: 16 / 10;
}

.inspector-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.inspector-title {
  font-size: 1.15rem;
}

.inspector-id:empty {
  display: none;
}

.inspector-meta {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.inspector-meta div {
  display: grid;
  gap: 0.28rem;
  padding: 0.8rem 0.85rem;
  border-radius: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.82);
}

.inspector-meta dt {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.inspector-meta dd,
.inspector-meta a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  word-break: break-word;
}

.inspector-actions,
.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.app-dialog {
  width: min(920px, calc(100% - 1rem));
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
}

.compact-dialog {
  width: min(460px, calc(100% - 1rem));
}

.app-dialog::backdrop {
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(8px);
}

.dialog-shell {
  padding: 1.25rem;
  border-radius: 1.6rem;
}

.dialog-wide {
  display: grid;
  gap: 1rem;
}

.dialog-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
}

.dialog-preview {
  align-content: start;
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: rgba(248, 250, 253, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.preview-copy-block {
  display: grid;
  gap: 0.55rem;
}

.preview-title {
  font-size: 1.1rem;
}

.preview-note,
.delete-target {
  color: var(--text-muted);
}

.dialog-actions {
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.dialog-compact {
  display: grid;
  gap: 1rem;
}

.delete-target {
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(248, 250, 253, 0.82);
  border: 1px solid rgba(15, 23, 42, 0.06);
  font-weight: 600;
}

.toast-wrap {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  display: grid;
  gap: 0.75rem;
  width: min(360px, calc(100% - 2rem));
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.95rem 1rem;
  border-radius: 1.1rem;
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.toast::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  margin-top: 0.35rem;
  border-radius: 999px;
  background: currentColor;
}

.toast.success {
  color: #6ef0aa;
}

.toast.error {
  color: #ff8ea0;
}

.toast.info {
  color: #86b4ff;
}

.toast span {
  flex: 1;
  color: #fff;
  line-height: 1.5;
}

.toast button {
  padding: 0;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  font-size: 1.05rem;
  cursor: pointer;
}

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

  .dashboard-shell,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .auth-layout,
  .dashboard-shell {
    width: min(100%, calc(100% - 1rem));
    padding: 0.75rem 0 1.25rem;
  }

  .hero-metrics,
  .stats-grid,
  .sidebar {
    grid-template-columns: 1fr;
  }

  .dashboard-topbar,
  .panel-head,
  .table-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .topbar-actions {
    width: 100%;
  }

  .search-field {
    width: 100%;
  }

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

  .auth-card-foot {
    justify-content: stretch;
  }

  .inspector-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-panel,
  .auth-card,
  .support-card,
  .sidebar-card,
  .panel,
  .stat-card,
  .dialog-shell {
    border-radius: 1.3rem;
  }

  .hero-panel,
  .dashboard-topbar,
  .panel,
  .auth-card,
  .sidebar-card,
  .stat-card {
    padding: 1rem;
  }

  .panel-actions,
  .footer-actions,
  .page-actions,
  .inspector-actions,
  .dialog-actions {
    width: 100%;
  }

  .panel-actions > *,
  .footer-actions > *,
  .page-actions > *,
  .inspector-actions > *,
  .dialog-actions > * {
    flex: 1 1 100%;
  }

  .campaign-cell {
    min-width: 180px;
  }

  .toast-wrap {
    left: 0.5rem;
    right: 0.5rem;
    width: auto;
  }
}
