:root {
  --bg: #fffaf8;
  --cream: #fff8f1;
  --white: rgba(255, 255, 255, 0.82);
  --mint: #d8f4ee;
  --blush: #f8dbe5;
  --lavender: #ece4fb;
  --yellow: #fbefc9;
  --tan: #e7cdbd;
  --text: #5e514b;
  --text-soft: #7d6e67;
  --border: rgba(94, 81, 75, 0.12);
  --shadow: 0 16px 40px rgba(133, 103, 91, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "SF Pro Display", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(216, 244, 238, 0.9), transparent 28%),
    radial-gradient(circle at top right, rgba(248, 219, 229, 0.9), transparent 30%),
    linear-gradient(180deg, #fffdfc 0%, #fff5f8 100%);
}

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

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

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

button {
  cursor: pointer;
}

.app-shell {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  padding: env(safe-area-inset-top, 0) 16px calc(88px + env(safe-area-inset-bottom, 0));
}

.admin-shell {
  padding-bottom: 32px;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  margin: 14px 0 18px;
}

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

.brand-logo {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.glass {
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius-lg);
}

.screen-stack {
  display: grid;
  gap: 16px;
}

.hero-card,
.form-card,
.panel,
.feature-strip {
  padding: 18px;
}

.hero-card {
  overflow: hidden;
}

.hero-card h2,
.form-card h2,
.panel h2 {
  margin: 8px 0 10px;
  font-size: 1.6rem;
  line-height: 1.15;
}

.hero-card p,
.service-card p,
.panel p,
.mini-card span,
small,
.subtle {
  color: var(--text-soft);
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.primary-btn,
.secondary-btn,
.icon-btn {
  border: 0;
  border-radius: 18px;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.primary-btn,
.secondary-btn {
  padding: 14px 16px;
  font-weight: 700;
}

.primary-btn {
  color: var(--text);
  background: linear-gradient(135deg, #bfece2, #f7c8d5 58%, #f8eab6);
  box-shadow: 0 14px 28px rgba(232, 180, 192, 0.24);
}

.secondary-btn,
.icon-btn {
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  border: 1px solid var(--border);
}

.secondary-btn.slim {
  width: auto;
  padding: 10px 14px;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  font-size: 1.2rem;
}

.primary-btn:hover,
.secondary-btn:hover,
.icon-btn:hover,
.lift:hover {
  transform: translateY(-2px);
}

.full {
  width: 100%;
}

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

.service-card {
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.7);
}

.mint { background: rgba(216, 244, 238, 0.75); }
.blush { background: rgba(248, 219, 229, 0.76); }
.lavender { background: rgba(236, 228, 251, 0.78); }
.yellow { background: rgba(251, 239, 201, 0.78); }

.service-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.feature-strip {
  display: grid;
  gap: 10px;
}

.mini-card {
  display: grid;
  gap: 6px;
  background: rgba(255,255,255,0.7);
  border-radius: 18px;
  padding: 14px;
}

.eyebrow {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9b8b83;
  font-weight: 700;
}

.pill,
.status-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.84);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 700;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.section-head.compact {
  align-items: center;
}

.field-grid {
  display: grid;
  gap: 12px;
}

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

label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(94, 81, 75, 0.14);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 16px;
  padding: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(94, 81, 75, 0.28);
  box-shadow: 0 0 0 4px rgba(216, 244, 238, 0.65);
}

textarea {
  resize: vertical;
  min-height: 96px;
}

.summary-box {
  border-radius: 20px;
  padding: 14px 16px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(216,244,238,.58), rgba(248,219,229,.48));
  border: 1px solid rgba(255,255,255,0.76);
}

.summary-box ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--text-soft);
}

.idea-list,
.request-list {
  display: grid;
  gap: 12px;
}

.idea-list article,
.request-card,
.note-card {
  padding: 14px;
  border-radius: 20px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.7);
}

.request-card h3,
.idea-list h3,
.note-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.request-card p,
.note-card p {
  margin: 5px 0;
}

.request-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.request-actions button {
  flex: 1;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.86rem;
}

.toggle-wrap {
  align-content: center;
}

.toggle-wrap input {
  appearance: none;
  width: 58px;
  height: 34px;
  border-radius: 999px;
  position: relative;
  padding: 0;
  background: rgba(94,81,75,0.18);
}

.toggle-wrap input::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  transition: transform 180ms ease;
}

.toggle-wrap input:checked {
  background: linear-gradient(135deg, #bfece2, #f7c8d5);
}

.toggle-wrap input:checked::after {
  transform: translateX(24px);
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  width: min(448px, calc(100% - 24px));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 10px;
  gap: 8px;
  z-index: 50;
}

.nav-item {
  display: grid;
  place-items: center;
  gap: 4px;
  min-height: 58px;
  border-radius: 18px;
  border: 0;
  background: transparent;
  color: var(--text-soft);
  font-weight: 700;
}

.nav-item.active,
.nav-item:hover {
  background: rgba(255,255,255,0.75);
  color: var(--text);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  transform: translateX(-50%) translateY(20px);
  background: rgba(94, 81, 75, 0.92);
  color: white;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: all 180ms ease;
  z-index: 60;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.hidden-block {
  display: none;
}

.admin-stats {
  margin-bottom: 2px;
}

@media (max-width: 560px) {
  .hero-actions,
  .two-up,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
  }
}
