* { box-sizing: border-box; }
body { margin: 0; color: #29382b; background: #fbf8f1; font: 1rem/1.6 system-ui, sans-serif; }
nav { display: flex; justify-content: space-between; padding: 1rem clamp(1rem, 5vw, 5rem); background: #fffaf3; border-bottom: 1px solid #ded6c7; }
a { color: inherit; overflow-wrap: anywhere; }
main { --ink: #29382b; --wash: #e7eadc; color: var(--ink); min-width: 0; }
main[data-palette=rose] { --ink: #593944; --wash: #f1dfe2; }
main[data-palette=coast] { --ink: #253f50; --wash: #dfeced; }
h1, h2 { font-family: Georgia, serif; font-weight: 400; line-height: 1.1; }
[data-type=modern] h1, [data-type=modern] h2 { font-family: system-ui, sans-serif; }
.cover { background: var(--wash); min-height: 52vh; display: grid; place-items: center; padding: clamp(2rem, 7vw, 6rem); gap: 2rem; text-align: center; }
.cover h1 { font-size: clamp(3rem, 8vw, 8rem); margin: .2em 0; overflow-wrap: anywhere; }
.cover img { width: min(100%, 34rem); max-height: 27rem; object-fit: cover; border-radius: 48% 48% 0 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .25em; font-size: .75rem; }
.details { max-width: 48rem; margin: auto; padding: 2.5rem clamp(1rem, 5vw, 4rem); border-bottom: 1px solid #ded6c7; }
.details p { white-space: pre-wrap; overflow-wrap: anywhere; }
aside { padding: 1.5rem; background: white; }
label { display: grid; gap: .25rem; margin-bottom: .8rem; }
input, textarea, select, button { font: inherit; }
input, textarea, select { min-width: 0; width: 100%; padding: .45rem; border: 1px solid #8a9085; border-radius: .25rem; }
input[type=checkbox] { width: auto; justify-self: start; }
button { background: #29382b; color: white; border: 0; border-radius: .3rem; padding: .55rem .9rem; margin: .25rem .25rem .25rem 0; cursor: pointer; }
button:disabled { opacity: .55; cursor: wait; }
fieldset { margin: 1rem 0; border: 1px solid #ded6c7; }
@media (min-width: 900px) {
  body.editing { display: grid; grid-template-columns: minmax(0, 1fr) 24rem; align-items: start; }
  nav { grid-column: 1 / -1; }
  aside { max-height: calc(100vh - 4rem); overflow: auto; position: sticky; top: 0; }
  [data-layout=split] .cover:has(img) { grid-template-columns: 1fr 1fr; text-align: left; }
}
.studio-tabs { display: flex; flex-wrap: wrap; gap: .25rem; padding-bottom: .75rem; border-bottom: 1px solid #ded6c7; }
.studio-tabs button, .setup button { color: #29382b; background: #f4f1e8; }
.studio-tabs button[aria-pressed=true] { color: white; background: #29382b; }
.publish-actions { padding-top: .75rem; border-top: 1px solid #ded6c7; }
#guest-summary, #publication { padding: .65rem; background: #f4f1e8; border-radius: .3rem; }
#invites { padding-left: 1.2rem; }
#invites li { padding: .65rem 0; border-bottom: 1px solid #ded6c7; }
#invites li button { display: block; }
