:root {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f4f6fb;
  background: #101522;
  color-scheme: dark;
  --muted: #aeb9d0;
  --accent: #c9f482;
  --border: #34425a;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; background: radial-gradient(ellipse at top right, #273c38 0%, transparent 55%); }
.shell { width: min(62rem, 100%); margin-inline: auto; padding: 1.75rem clamp(1rem, 4vw, 3rem) 3rem; }
.masthead { display: flex; align-items: center; gap: .8rem; margin-block: 0 2.25rem; }
.masthead strong { display: block; font-size: 1.15rem; letter-spacing: -.03em; }
.masthead small { display: block; color: var(--muted); font-size: .875rem; }
.mark { display: grid; place-items: center; flex: none; width: 2.8rem; height: 2.8rem; border-radius: .85rem; background: var(--accent); }
.mark span { width: 1.5rem; height: 1.1rem; border: 2px solid #172319; border-radius: .3rem; display: grid; place-items: center; }
.mark span::after { content: ""; width: .42rem; height: .42rem; border: 2px solid #172319; border-radius: 50%; }
.editor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .78fr); gap: 1.25rem; align-items: start; }
.editor:has(.delivery[hidden]) { grid-template-columns: minmax(0, 34rem); }
.panel { padding: clamp(1.25rem, 4vw, 2.25rem); background: #1a2334; border: 1px solid var(--border); border-radius: 1.3rem; box-shadow: 0 1rem 3rem #090d174d; }
h1, h2 { margin: 0; line-height: 1.1; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.25rem, 5.8vw, 3.75rem); letter-spacing: -.055em; }
h2 { font-size: 1.4rem; letter-spacing: -.035em; }
p { margin: .85rem 0 1.35rem; color: var(--muted); line-height: 1.55; }
form, .zip-fields { display: grid; gap: .55rem; }
label { margin-top: .55rem; font-weight: 650; }
label span { color: var(--muted); font-size: .875rem; font-weight: 400; margin-left: .35rem; }
input, button, .primary, .secondary { font: inherit; min-height: 3rem; border-radius: .65rem; }
input { width: 100%; padding: .65rem .75rem; color: #fff; border: 1px solid var(--border); background: #111827; }
input::placeholder { color: #98a5bc; }
small { font-size: .875rem; line-height: 1.45; color: var(--muted); }
.primary, .secondary { display: inline-flex; align-items: center; justify-content: center; padding: .65rem .95rem; font-weight: 700; text-decoration: none; cursor: pointer; text-align: center; }
.primary { color: #152014; background: var(--accent); border: 1px solid var(--accent); }
.secondary { color: #f4f6fb; background: #253147; border: 1px solid #52637f; }
form button { margin-top: .7rem; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #a9c7ff; outline-offset: 3px; }
.error { color: #ffbdb3; line-height: 1.4; margin-top: .4rem; }
.delivery { text-align: center; }
.delivery canvas { display: block; width: min(100%, 17rem); height: auto; margin: 1rem auto 0; background: white; border-radius: .45rem; }
.album-name { overflow-wrap: anywhere; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; margin-bottom: 1rem; }
.actions > * { flex: 1 1 auto; }
.delivery label { display: block; text-align: start; margin-bottom: .4rem; }
.text-link { display: inline-block; margin-top: .85rem; color: var(--accent); }
.status { margin-bottom: 0; }
.status:empty { display: none; }
.viewer { width: min(100%, 36rem); margin-inline: auto; padding-block: 2.4rem; text-align: center; }
.viewer .actions { max-width: 23rem; margin: 0 auto; }
.photo-icon { margin: 0 auto 1rem; display: grid; place-items: center; width: 3rem; aspect-ratio: 1; border-radius: .8rem; background: #293f35; color: var(--accent); font-size: 1.7rem; }
@media (max-width: 48rem) { .editor { grid-template-columns: minmax(0, 1fr); } }
