:root {
  --approve-bg: #f4f6f8;
  --approve-surface: #ffffff;
  --approve-border: #dbe2ea;
  --approve-text: #122033;
  --approve-muted: #64748b;
  --approve-primary: #2563eb;
  --approve-primary-soft: #dbeafe;
}

body {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  color: var(--approve-text);
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.auth-card {
  width: min(100%, 460px);
  border-radius: 1.25rem;
}

.topbar {
  backdrop-filter: blur(10px);
}

.board-summary,
.board-row,
.empty-state,
.mobile-item-card {
  border-radius: 1rem;
}

.board-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1.5fr 0.9fr 1fr 0.72fr;
  gap: 1rem;
}

.board-grid-head {
  margin-bottom: 0.75rem;
  padding: 0 0.5rem;
}

.board-col-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--approve-muted);
  font-weight: 700;
}

.board-row {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--approve-border);
  padding: 1rem;
  align-items: start;
  margin-bottom: 1rem;
}

.board-cell-text {
  white-space: pre-line;
  line-height: 1.55;
}

.meta-stack {
  display: grid;
  gap: 0.35rem;
}

.image-cell {
  overflow: hidden;
  border-radius: 0.9rem;
  min-height: 148px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #f8fafc 0%, #eef4f8 100%);
}

.image-thumb {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  display: block;
}

.mobile-thumb {
  width: 84px;
  height: 84px;
  object-fit: cover;
  flex: 0 0 auto;
  border: 1px solid var(--approve-border);
}

.placeholder-tile {
  min-height: 148px;
  border-radius: 0.9rem;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
  border: 1px dashed #cbd5e1;
  color: var(--approve-muted);
  text-align: center;
  padding: 1rem;
}

.placeholder-tile.large {
  min-height: 220px;
}

.preview-panel,
.preview-wrap {
  border-radius: 1rem;
}

.form-preview-image {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  display: block;
}

.form-control,
.btn,
.card {
  border-radius: 0.85rem;
}

.form-control:focus,
.btn:focus {
  box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.15);
}

.board-summary .form-control {
  min-width: 260px;
}

@media (max-width: 991.98px) {
  .board-summary .form-control {
    min-width: 0;
  }
}
