:root {
  color-scheme: light;
  --ink: #13233a;
  --muted: #617086;
  --paper: #fffdf8;
  --canvas: #eef6f5;
  --coral: #f45d48;
  --yellow: #ffd166;
  --teal: #0a7c78;
  --line: #cadad8;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--canvas); font: 16px/1.55 Inter, ui-sans-serif, system-ui, sans-serif; }
a { color: var(--teal); }
.shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 56px; }
.brand { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.brand a { color: var(--ink); text-decoration: none; font-weight: 900; letter-spacing: -.03em; font-size: 1.25rem; }
.mark { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-right: 10px; border-radius: 12px; background: var(--yellow); }
.grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); gap: 24px; align-items: start; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 4vw, 38px); box-shadow: 0 18px 50px rgba(19,35,58,.08); }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.035em; margin-top: 0; }
h1 { font-size: clamp(2rem, 5vw, 4.4rem); max-width: 12ch; }
h2 { font-size: 1.45rem; }
.lede { color: var(--muted); max-width: 58ch; font-size: 1.08rem; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.field { display: grid; gap: 7px; }
.field.wide { grid-column: 1 / -1; }
label { font-weight: 750; }
input, textarea, select { width: 100%; border: 1px solid #aebfbe; background: white; color: var(--ink); border-radius: 11px; padding: 12px 13px; font: inherit; }
textarea { min-height: 88px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(10,124,120,.2); border-color: var(--teal); }
.upload { padding: 22px; border: 2px dashed var(--teal); background: #f1fbfa; }
.button { display: inline-flex; justify-content: center; border: 0; border-radius: 999px; padding: 12px 20px; background: var(--coral); color: white; font: inherit; font-weight: 850; cursor: pointer; text-decoration: none; }
.button.secondary { background: var(--teal); }
.button.dark { background: var(--ink); }
.error { padding: 12px 14px; border-radius: 10px; background: #ffe9e4; color: #8c271b; font-weight: 700; }
.status-pill { display: inline-flex; border-radius: 999px; padding: 7px 12px; background: var(--yellow); font-weight: 850; }
.preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-top: 22px; }
.preview-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 13px; border: 1px solid var(--line); }
.steps { display: grid; gap: 14px; padding: 0; list-style: none; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; color: var(--muted); }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; background: var(--yellow); color: var(--ink); border-radius: 10px; font-weight: 900; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-size: .86rem; text-transform: uppercase; letter-spacing: .06em; }
.admin-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: 22px; }
.action { margin-bottom: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.action .fields { margin-top: 12px; }
.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }
.muted { color: var(--muted); }
.section-space { margin-top: 28px; }
.photo-selection { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.photo-selection img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
@media (max-width: 780px) { .grid, .admin-layout { grid-template-columns: 1fr; } .fields { grid-template-columns: 1fr; } .field.wide { grid-column: auto; } table { display: block; overflow-x: auto; } }
