* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fff7ed;
  color: #1c1917;
}

#app {
  min-height: 100vh;
  padding: 18px;
  padding-bottom: 96px;
  max-width: 520px;
  margin: 0 auto;
}

.hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-radius: 28px;
  background: linear-gradient(135deg, #7c2d12, #ea580c);
  color: white;
  box-shadow: 0 16px 36px rgba(124, 45, 18, 0.24);
}

.eyebrow {
  font-size: 13px;
  opacity: 0.9;
}

h1, h2, h3 {
  margin: 0;
}

.hero h1 {
  font-size: 34px;
  line-height: 1.1;
  margin-top: 4px;
}

.hero p {
  margin: 6px 0 0;
  opacity: 0.9;
}

.pill {
  white-space: nowrap;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
}

.card {
  background: white;
  border: 1px solid #fed7aa;
  border-radius: 24px;
  padding: 18px;
  margin-top: 14px;
  box-shadow: 0 10px 28px rgba(124, 45, 18, 0.08);
}

.muted {
  color: #78716c;
  font-size: 13px;
}

.stack {
  display: grid;
  gap: 12px;
}

.row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f5f5f4;
}

.row:last-child {
  border-bottom: 0;
}

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

.btn {
  width: 100%;
  border: 0;
  border-radius: 16px;
  padding: 14px 16px;
  background: #ea580c;
  color: white;
  font-weight: 700;
}

.btn.secondary {
  background: #334155;
}

.btn.ghost {
  background: #fff7ed;
  color: #7c2d12;
  border: 1px solid #fed7aa;
}

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

label {
  font-size: 13px;
  color: #57534e;
}

input, textarea, select {
  width: 100%;
  border: 1px solid #fed7aa;
  border-radius: 14px;
  padding: 12px 13px;
  background: #fffaf5;
  outline: none;
}

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

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: min(520px, calc(100% - 24px));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border: 1px solid #fed7aa;
  border-radius: 24px;
  padding: 8px;
  box-shadow: 0 12px 36px rgba(124, 45, 18, 0.18);
}

.bottom-nav button {
  border: 0;
  border-radius: 18px;
  padding: 9px 4px;
  background: transparent;
  color: #7c2d12;
  font-size: 18px;
}

.bottom-nav button span {
  display: block;
  font-size: 11px;
  margin-top: 2px;
}

#toast {
  position: fixed;
  left: 50%;
  bottom: 92px;
  transform: translateX(-50%);
  background: #1c1917;
  color: white;
  padding: 10px 14px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  max-width: calc(100% - 32px);
}

#toast.show {
  opacity: 1;
}
