:root {
  --bg: #faf8f2;
  --surface: #ffffff;
  --surface-sand: #f2eee3;
  --surface-sand-hover: #eae3d2;
  --border: #e5dfd0;
  --border-strong: #cfc7b4;
  --ink: #1c1a17;
  --ink-hover: #322f2a;
  --muted: #6c655a;
  --amber: #f5b716;
  --amber-soft: #fef6dc;
  --amber-border: #f0d788;
  --violet: #7c5cba;
  --violet-soft: #f2eef9;
  --violet-border: #d8ccef;
  --success-bg: #edf8f1;
  --success-border: #b8e3c7;
  --success-text: #166534;
  --error-bg: #fdf1f1;
  --error-border: #f5c2c2;
  --error-text: #991b1b;
  --info-bg: #f2eee3;
  --info-border: #ded7c3;
  --info-text: #3f3a32;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'IBM Plex Sans Arabic', 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.ri-icon {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Navigation */
.topbar {
  background: rgba(250, 248, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 30;
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  flex-shrink: 0;
}

.brand-text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-text small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.user-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.quota-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.quota-icon {
  color: var(--amber);
  display: inline-flex;
}

.quota-track {
  width: 44px;
  height: 6px;
  border-radius: 999px;
  background: var(--surface-sand);
  overflow: hidden;
}

.quota-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--violet);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--surface-sand);
  border: 1px solid var(--border);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.pill-user {
  background: var(--surface);
  max-width: 210px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pill-accent {
  background: var(--amber-soft);
  border-color: var(--amber-border);
  color: #7c5800;
}

.pill-violet {
  background: var(--violet-soft);
  border-color: var(--violet-border);
  color: #553c91;
}

.main-content {
  padding: 28px 20px 72px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mt-12 {
  margin-top: 12px;
}

.hidden {
  display: none !important;
}

/* Auth Layout */
.auth-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
  margin-top: 16px;
}

.auth-hero {
  background: var(--surface-sand);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}

.auth-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(23px, 2.8vw, 31px);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.hero-sub {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14.5px;
}

.hero-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.hero-features li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.feat-icon {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background: var(--amber-soft);
  border: 1px solid var(--amber-border);
  color: #805b00;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-features strong {
  display: block;
  font-size: 14px;
}

.hero-features small {
  color: var(--muted);
  font-size: 12.5px;
}

/* Segmented Tabs */
.segmented-tabs {
  display: inline-flex;
  background: var(--surface-sand);
  border: 1px solid var(--border);
  padding: 4px;
  border-radius: var(--radius-md);
  gap: 4px;
  width: 100%;
  margin-bottom: 18px;
}

.nav-tabs {
  width: auto;
}

.seg-tab {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--muted);
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.seg-tab.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(28, 26, 23, 0.06);
}

/* Typography & Forms */
.section-head,
.pane-head {
  margin-bottom: 18px;
}

.card h2,
.pane-head h2 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-desc {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label,
.field-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.field-hint {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.field-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

input[type='text'],
input[type='email'],
input[type='password'],
input[type='number'],
input[type='url'],
select {
  width: 100%;
  height: 44px;
  padding: 10px 13px;
  border: 1.5px solid var(--border-strong);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input::placeholder {
  color: #9e9688;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(28, 26, 23, 0.08);
}

/* Prefixed ImageKit ID Input */
.input-prefix-group {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 44px;
  border: 1.5px solid var(--border-strong);
  border-radius: 10px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input-prefix-group:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(28, 26, 23, 0.08);
}

.input-prefix-addon {
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  background: var(--surface-sand);
  border-inline-end: 1px solid var(--border);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  white-space: nowrap;
  user-select: none;
}

.input-prefix-group input {
  border: none !important;
  box-shadow: none !important;
  height: 100%;
  border-radius: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13.5px;
  min-width: 0;
}

.inline-link-btn {
  align-self: flex-start;
  background: none;
  border: none;
  padding: 0;
  color: var(--violet);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inline-link-btn:hover {
  color: var(--ink);
}

.input-with-action {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-action input {
  padding-inline-end: 42px;
}

.eye-btn {
  position: absolute;
  inset-inline-end: 8px;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.eye-btn:hover {
  color: var(--ink);
  background: var(--surface-sand);
}

/* Choice Cards (Theme & Storage Provider) */
.theme-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.theme-option {
  cursor: pointer;
  position: relative;
  display: block;
}

.theme-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.theme-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 13px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--surface);
  transition: border-color 0.15s ease, background 0.15s ease;
  height: 100%;
}

.theme-card:hover {
  border-color: var(--border-strong);
  background: #fdfcf9;
}

.theme-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.theme-title-row {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.swatches {
  display: inline-flex;
  gap: 4px;
}

.swatches span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid rgba(28, 26, 23, 0.2);
}

.theme-card small {
  color: var(--muted);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.45;
}

.theme-option input:checked + .theme-card {
  border-color: var(--ink);
  background: var(--surface-sand);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.storage-config-panel {
  background: var(--surface-sand);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 9px 16px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  text-decoration: none;
}

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

.btn-lg {
  padding: 11px 22px;
  font-size: 14.5px;
}

.btn-sm {
  padding: 7px 12px;
  font-size: 12.5px;
}

.btn-primary {
  background: var(--ink);
  color: #ffffff;
}

.btn-primary:hover:not(:disabled) {
  background: var(--ink-hover);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--surface-sand);
}

.btn-accent {
  background: var(--amber);
  color: var(--ink);
  border-color: #df9f07;
}

.btn-accent:hover:not(:disabled) {
  background: #e5a90e;
}

.btn-danger {
  background: var(--error-text);
  color: #ffffff;
}

.btn-danger:hover:not(:disabled) {
  background: #7f1d1d;
}

.btn-ghost {
  background: var(--surface-sand);
  color: var(--ink);
  border-color: var(--border);
}

.btn-ghost:hover:not(:disabled) {
  background: var(--surface-sand-hover);
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.row-between {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.inline-label {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.inline-label input {
  width: 84px;
}

/* Stepper */
.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.step-num {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--surface-sand);
  border: 1.5px solid var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.step-item.active {
  color: var(--ink);
}

.step-item.active .step-num {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
}

.step-item.done .step-num {
  background: var(--amber);
  border-color: #df9f07;
  color: var(--ink);
}

.step-line {
  flex: 1;
  height: 1.5px;
  background: var(--border);
  min-width: 16px;
}

/* Alerts & Banners */
.alert {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  margin: 0;
}

.alert-error {
  background: var(--error-bg);
  border: 1px solid var(--error-border);
  color: var(--error-text);
}

.alert-success {
  background: var(--success-bg);
  border: 1px solid var(--success-border);
  color: var(--success-text);
}

.alert-info,
.banner-info {
  background: var(--info-bg);
  border: 1px solid var(--info-border);
  color: var(--info-text);
  padding: 12px 15px;
  border-radius: var(--radius-md);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.guide-box {
  background: var(--surface-sand);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 14px;
  font-size: 13px;
}

.guide-box-light {
  background: var(--surface);
}

.guide-box summary {
  cursor: pointer;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.perm-list {
  margin: 6px 0;
  padding-inline-start: 20px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
}

/* Store Cards & URL Tiles */
.stores-list {
  display: grid;
  gap: 16px;
}

.store-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--surface);
}

.store-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.store-title-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.store-title-group strong {
  font-size: 17px;
  font-weight: 700;
}

.slug-chip {
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--surface-sand);
  border: 1px solid var(--border);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: var(--muted);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
}

.status-pill.pending .status-dot {
  background: var(--amber);
}

/* Metadata Strip */
.store-meta-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: var(--surface-sand);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
}

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

.meta-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  flex-shrink: 0;
}

.meta-cell-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.meta-cell-label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.2;
}

.meta-cell-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.url-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.url-tile {
  border: 1px solid var(--border);
  background: #fdfcf9;
  border-radius: var(--radius-md);
  padding: 11px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.url-tile-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
}

.url-tile-link {
  font-size: 12.5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.url-tile-link:hover {
  text-decoration: underline;
}

.url-tile-actions {
  display: flex;
  gap: 6px;
}

.store-actions-bar {
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.failed-details {
  margin-top: 16px;
  border-top: 1px dashed var(--border);
  padding-top: 12px;
}

.failed-details summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

/* Progress & Logs */
.progress-wrap {
  width: 100%;
  height: 10px;
  background: var(--surface-sand);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin: 12px 0 16px;
}

.progress-bar {
  height: 100%;
  background: var(--violet);
  border-radius: 999px;
  transition: width 0.35s ease;
}

.log-drawer summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.progress-log {
  background: var(--ink);
  color: #ede9de;
  border-radius: var(--radius-md);
  padding: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  list-style: none;
  margin: 10px 0 0;
  max-height: 220px;
  overflow-y: auto;
  display: grid;
  gap: 6px;
}

.success-panel {
  margin-top: 16px;
  background: var(--success-bg);
  border: 1px solid var(--success-border);
  border-radius: var(--radius-md);
  padding: 16px;
}

.success-panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--success-text);
}

.success-panel h3 {
  margin: 0;
  font-size: 16px;
}

.security-note {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: var(--success-text);
}

/* Admin KPIs & Tables */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.kpi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.kpi-label {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
}

.kpi-value {
  font-size: 26px;
  font-weight: 700;
}

.invite-result {
  margin-top: 14px;
  padding: 12px 14px;
  background: var(--surface-sand);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.invite-result code {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

th,
td {
  text-align: right;
  padding: 11px 10px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

th {
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
}

/* Modal Dialogs */
.modal-dialog {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0;
  width: min(94vw, 520px);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(28, 26, 23, 0.22);
}

.modal-dialog::backdrop {
  background: rgba(28, 26, 23, 0.45);
  backdrop-filter: blur(2px);
}

.modal-content {
  padding: 22px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.modal-header-title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.modal-header h3 {
  margin: 0;
  font-size: 16.5px;
  font-weight: 700;
}

.btn-close {
  border: 1px solid var(--border);
  background: var(--surface-sand);
  color: var(--ink);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-close:hover {
  background: var(--surface-sand-hover);
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.confirm-text {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(92vw, 360px);
}

.toast {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(28, 26, 23, 0.16);
  animation: toastIn 0.2s ease-out;
}

.toast-success {
  background: var(--success-text);
  color: #fff;
}

.toast-error {
  background: var(--error-text);
  color: #fff;
}

.toast-info {
  background: var(--ink);
  color: #fff;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Breakpoints (down to 360px) */
@media (max-width: 820px) {
  .auth-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .url-tiles,
  .store-meta-strip,
  .kpi-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .card {
    padding: 16px;
  }

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

  .step-label {
    display: none;
  }

  .step-item.active .step-label {
    display: inline;
  }

  .store-actions-bar .btn,
  .row-actions .btn,
  .modal-footer .btn {
    width: 100%;
  }

  .modal-footer {
    flex-direction: column-reverse;
  }

  .toast-container {
    left: 12px;
    right: 12px;
    max-width: none;
  }
}
