/* Orga-Bereich – wird nur auf admin.html geladen */
.admin-wrap { max-width: 1320px; margin: 0 auto; padding: 0 16px 60px; }
.apanel { max-width: 1180px; margin: 0 auto; }
.apanel[data-panel="tuerchen"] { max-width: none; }
.admin-wrap .card { border-radius: 18px; padding: 22px; }
.admin-wrap .card > h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.22rem; letter-spacing: -0.01em; color: var(--night); margin-bottom: 6px; }
.admin-wrap .card > .hint { text-wrap: pretty; }
.admin-wrap .first-steps { margin: 22px auto 0; max-width: 1180px; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin-bottom: 14px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; box-shadow: 0 1px 2px rgba(18, 48, 31, 0.05); }
.stat b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; color: var(--night); line-height: 1.15; }
.stat span { font-size: 0.78rem; color: var(--muted); }

.admin-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.admin-toolbar input[type="search"] {
  flex: 1 1 240px; min-height: 40px; height: 40px; padding: 8px 12px;
  border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font: inherit;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.filter-chips button {
  border: 1.5px solid var(--line); background: #fff; color: var(--night); border-radius: 999px;
  padding: 6px 12px; font: inherit; font-size: 0.85rem; font-weight: 700; cursor: pointer;
}
.filter-chips button span { color: var(--muted); font-weight: 400; margin-left: 2px; }
.filter-chips button[aria-pressed="true"] { background: var(--night); border-color: var(--night); color: #fff; }
.filter-chips button[aria-pressed="true"] span { color: #c9d7ee; }
.toolbar-actions { display: flex; gap: 6px; margin-left: auto; }

.admin-grid { display: grid; gap: 16px; }
@media (min-width: 1100px) {
  .admin-grid { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; }
  .admin-map-col { position: sticky; top: 16px; }
}
#admin-map { height: 420px; border-radius: var(--radius); border: 1px solid var(--line); }
.admin-map-col .hint { margin-top: 8px; font-size: 0.82rem; }

/* Liste: eine Zeile pro Türchen, höchstens zwei Textzeilen, Details aufklappbar */
.alist { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: clip; }
.alist-head, .arow-main {
  display: grid;
  grid-template-columns: 40px minmax(160px, 2fr) 92px 64px minmax(150px, 1.6fr) minmax(90px, 1fr) 20px;
  gap: 12px; align-items: center; padding: 8px 14px;
}
.alist-head {
  position: sticky; top: 0; z-index: 2; background: #f6f2e8; border-bottom: 1px solid var(--line);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
.arow { border-bottom: 1px solid var(--line); }
.arow:last-child { border-bottom: 0; }
.arow-main { width: 100%; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.arow-main:hover { background: #fbf8f0; }
.arow.is-open > .arow-main { background: #fff7e6; }
.arow.is-selected { box-shadow: inset 4px 0 0 var(--gold); }
.arow.is-hidden .arow-main { opacity: 0.55; }
.arow .door { width: 36px; height: 36px; font-size: 1.05rem; border-radius: 9px; }
.acell { min-width: 0; font-size: 0.9rem; line-height: 1.3; }
.acell b, .acell small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acell small { color: var(--muted); font-size: 0.8rem; }
.acell-host b { color: var(--night); }
.acell-guests b { font-size: 1.05rem; color: var(--night); }
.acell-status { display: flex; flex-wrap: wrap; gap: 4px; }
.arow-chevron { font-size: 1.4rem; color: var(--muted); transition: transform 0.15s; }
.arow.is-open .arow-chevron { transform: rotate(90deg); }

.aedit { padding: 6px 14px 16px 66px; background: #fffdf8; border-top: 1px dashed var(--line); }
.aedit-info { font-size: 0.85rem; color: var(--muted); margin: 6px 0 10px; }
.aedit-note { margin: 6px 0 0; padding: 8px 10px; border-radius: 8px; background: var(--gold-soft); color: var(--ink); }
.aedit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 12px; }
.aedit-grid .field { margin: 0; }
.aedit-grid .field label { font-size: 0.78rem; }
.aedit-grid .span-2 { grid-column: span 2; }
.aedit-grid .span-4 { grid-column: 1 / -1; }
.aedit-grid input, .aedit-grid select { height: 40px; min-height: 40px; }
.entry-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.btn-danger { color: var(--berry) !important; }
.saved-flash { font-size: 0.85rem; color: var(--pine); font-weight: 700; align-self: center; }

/* Zusagen je Türchen */
.rsvp-admin { margin-top: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.rsvp-admin summary { cursor: pointer; font-size: 0.92rem; }
.rsvp-row { display: grid; grid-template-columns: minmax(120px, 1fr) auto auto auto auto; gap: 8px; align-items: center; margin-top: 8px; }
.rsvp-row input[type="text"] { min-height: 36px; height: 36px; }
.rsvp-row label { display: flex; align-items: center; gap: 4px; font-size: 0.82rem; font-weight: 700; white-space: nowrap; }
.rsvp-row input[type="number"] { width: 56px; min-height: 36px; height: 36px; padding: 6px; border: 1.5px solid var(--line); border-radius: 8px; font: inherit; }

/* schmaler: Spalten zu zwei Zeilen zusammenfassen */
@media (max-width: 900px) {
  .alist-head { display: none; }
  .arow-main { grid-template-columns: 40px minmax(0, 1fr) auto 20px; grid-template-areas: "door host guests chev" "door contact time chev" "door status status chev"; row-gap: 2px; }
  .arow .door { grid-area: door; }
  .acell-host { grid-area: host; }
  .acell-guests { grid-area: guests; text-align: right; }
  .acell-contact { grid-area: contact; }
  .acell-time { grid-area: time; text-align: right; }
  .acell-status { grid-area: status; }
  .acell-status:empty { display: none; }
  .arow-chevron { grid-area: chev; }
  .aedit { padding-left: 14px; }
  .aedit-grid { grid-template-columns: 1fr 1fr; }
  .aedit-grid .span-2 { grid-column: 1 / -1; }
  .rsvp-row { grid-template-columns: 1fr 1fr; }
  .rsvp-row input[type="text"] { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .stat { padding: 6px 8px; }
  .stat b { font-size: 1.1rem; }
  .stat span { font-size: 0.7rem; }
  .toolbar-actions { margin-left: 0; }
}

/* Sprüche */
.says-admin { margin-top: 20px; padding: 14px 16px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.says-admin h3 { margin: 0 0 2px; }
.says-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin-top: 10px; }
.say-col h4 { margin: 0 0 6px; }
.say-row { display: flex; gap: 6px; align-items: center; margin-top: 6px; }
.say-row input { flex: 1; min-width: 0; min-height: 36px; height: 36px; font-size: 0.9rem; }
@media (max-width: 900px) {
  .says-grid { grid-template-columns: minmax(0, 1fr); }
  .say-row { flex-wrap: wrap; }
  .say-row input { flex-basis: 100%; }
}

/* Reiter */
.atabs-wrap {
  position: sticky; top: 0; z-index: 500; display: flex; align-items: center; gap: 12px;
  margin: 0 -16px 22px; padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top));
  background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.atabs {
  display: flex; gap: 4px; padding: 4px; min-width: 0; overflow-x: auto; scrollbar-width: none;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 1px 2px rgba(18, 48, 31, 0.05);
}
.atabs::-webkit-scrollbar { display: none; }
.atabs button {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  border: 0; background: none; font: inherit; font-weight: 800; font-size: 0.92rem; color: var(--muted); cursor: pointer;
  padding: 8px 14px; border-radius: 999px; white-space: nowrap;
}
.atabs button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.atabs button:hover { color: var(--night); background: var(--paper); }
.atabs button[aria-selected="true"] { background: var(--night); color: #fff; }
.atabs-out { display: flex; gap: 18px; margin-left: auto; }
.atabs-out a { font-size: 0.88rem; font-weight: 700; color: var(--muted); white-space: nowrap; text-decoration: none; }
.atabs-out a:hover { color: var(--berry); text-decoration: underline; }
body:has(.admin-wrap) [data-subbar] { display: none; }
@media (max-width: 640px) {
  .atabs-wrap { padding-left: 8px; padding-right: 8px; margin-left: -16px; margin-right: -16px; }
  .atabs-out { display: none; }
  .atabs { flex: 1; justify-content: space-between; border-radius: 18px; }
  .atabs button { position: relative; flex: 1 1 0; flex-direction: column; gap: 2px; padding: 7px 2px 6px; border-radius: 14px; font-size: 0.7rem; min-width: 0; }
  .atabs button svg { width: 20px; height: 20px; }
  .atabs .tab-count { position: absolute; top: 2px; right: 8px; min-width: 17px; height: 17px; font-size: 0.66rem; padding: 0 4px; }
}
.tab-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--berry); color: #fff; font-size: 0.75rem; }
.apanel > .hint { margin: 0 0 16px; max-width: 70ch; color: var(--muted); }
.apanel > .card + .card { margin-top: 16px; }
.first-steps { margin-bottom: 18px; border-color: var(--gold); background: #fffaf0; }
.first-steps ol { margin: 6px 0 0; padding-left: 20px; }
.first-steps li + li { margin-top: 4px; }

/* Anfragen */
.req-list { padding: 0; }
.req { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.req:last-child { border-bottom: 0; }
.req .door { width: 36px; height: 36px; border-radius: 9px; }
.req-person { background: var(--pine-soft); color: var(--pine-dark); }
.req-body small { display: block; color: var(--muted); font-size: 0.85rem; margin-top: 2px; overflow-wrap: anywhere; }
.req-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 640px) {
  .req { grid-template-columns: 36px 1fr; }
  .req-actions { grid-column: 1 / -1; justify-content: flex-start; }
}
.members-card { margin-top: 16px; }
.members-card summary { cursor: pointer; }
.member-list, .admins { list-style: none; margin: 10px 0 0; padding: 0; }
.member-list li, .admins li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.member-list li:last-child, .admins li:last-child { border-bottom: 0; }
.member-list small, .admins small { color: var(--muted); }

/* Einstellungen */
.settings-grid { display: grid; gap: 18px; margin-bottom: 18px; }
.settings-grid .card { margin: 0; }
.settings-grid textarea { min-height: 180px; }
@media (min-width: 900px) {
  .settings-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "greet advent" "greet map" "bar bar"; }
  .settings-grid .span-2 { grid-column: 1 / -1; }
  .set-greet { grid-area: greet; display: flex; flex-direction: column; }
  .set-greet .field:has(textarea) { flex: 1; grid-template-rows: auto 1fr; }
  .set-greet .with-emoji:has(textarea) { height: 100%; }
  .set-greet textarea { height: 100%; resize: none; }
  .set-advent { grid-area: advent; }
  .set-map { grid-area: map; }
  .set-map #area-map { height: 300px; }
  .save-bar { grid-area: bar; }
}
.field-row { display: grid; gap: 0 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
#area-map { height: 380px; border-radius: 12px; border: 1px solid var(--line); }
.inline-form { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.inline-form input { flex: 1 1 220px; }
.danger-zone { border-color: #ecc9c9; background: #fffafa; box-shadow: none; }
.danger-zone > h3 { color: var(--berry-dark); }
.admins-card, .danger-zone { margin-top: 18px; }
#share-text { width: 100%; font: inherit; }

.save-bar {
  position: sticky; bottom: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 400;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 10px 10px 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 10px 30px -14px rgba(23, 38, 64, 0.35);
}
.save-bar .btn { margin-left: auto; }
.save-bar:not(.is-dirty) { position: static; box-shadow: none; background: transparent; border-color: transparent; padding-left: 4px; }
.save-bar .form-error { margin: 0; flex: 1 1 200px; }
.save-state { font-size: 0.88rem; font-weight: 700; color: var(--muted); }
.save-bar.is-dirty { background: var(--night); border-color: var(--night); }
.save-bar.is-dirty .save-state { color: #fff; }
.save-bar.is-dirty .btn { background: var(--gold-light); color: var(--night); }
.save-bar.is-dirty .btn:hover { background: #fff; }

/* Emoji */
.with-emoji { position: relative; display: grid; }
.with-emoji > input { padding-right: 46px; }
.with-emoji > textarea { padding-right: 46px; }
.with-emoji > .emoji-btn { position: absolute; right: 6px; top: 6px; }
.with-emoji > input + .emoji-btn { top: 50%; transform: translateY(-50%); }
.emoji-btn {
  display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0;
  border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer;
}
.emoji-btn svg { width: 22px; height: 22px; }
.emoji-btn:hover, .emoji-btn[aria-expanded="true"] { background: var(--gold-soft); color: var(--night); }
.emoji-pop {
  position: absolute; z-index: 2000; width: min(336px, calc(100vw - 16px));
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 48px -16px rgba(23, 38, 64, 0.4); overflow: hidden;
}
.emoji-tabs { display: flex; gap: 2px; padding: 6px; border-bottom: 1px solid var(--line); background: var(--paper); }
.emoji-tabs button { flex: 1; height: 36px; border: 0; border-radius: 10px; background: none; font-size: 1.2rem; cursor: pointer; filter: grayscale(0.7); opacity: 0.75; }
.emoji-tabs button[aria-selected="true"] { background: #fff; filter: none; opacity: 1; box-shadow: 0 1px 3px rgba(23, 38, 64, 0.12); }
.emoji-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; padding: 8px; max-height: 232px; overflow-y: auto; }
.emoji-grid[hidden] { display: none; }
.emoji-grid button { aspect-ratio: 1; border: 0; border-radius: 8px; background: none; font-size: 1.45rem; line-height: 1; cursor: pointer; padding: 0; }
.emoji-grid button:hover, .emoji-grid button:focus-visible { background: var(--gold-soft); }

/* Teilen */
.share-top { display: grid; gap: 18px; margin-bottom: 18px; }
@media (min-width: 900px) {
  .share-top { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto 1fr auto; }
  .share-card { display: grid; grid-row: span 4; grid-template-rows: subgrid; }
}
.share-top .card { margin: 0; }
.share-card .card-actions { margin-top: 14px; }
.share-body { align-self: start; }
.share-link { display: grid; gap: 14px; }
.share-link .edit-link { display: block; margin: 0; max-width: none; }
.share-qr { width: 112px; height: 112px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.edit-link input { width: 100%; font-size: 0.95rem; font-weight: 700; color: var(--night); background: var(--paper); }

.flyer-card { padding: 0; overflow: hidden; }
.flyer-layout { display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); }
.flyer-intro { padding: 20px 22px 0; }
.flyer-intro .hint { margin: 4px 0 0; color: var(--muted); font-size: 0.92rem; max-width: 46ch; }
.flyer-intro h3 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.22rem; letter-spacing: -0.01em; color: var(--night); }
.flyer-stage { --s: 0.6; padding: 22px; background: radial-gradient(120% 80% at 50% 0%, #fbf6ea, #efe7d6); }
.flyer-tip { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 auto 14px; font-size: 0.9rem; font-weight: 800; color: var(--berry); text-wrap: balance; text-align: center; }
.flyer-tip svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.flyer-scale { width: calc(595.28px * var(--s)); height: calc(841.89px * var(--s)); margin: 0 auto; }
.flyer-side { display: grid; gap: 16px; align-content: start; padding: 20px 22px 22px; }
.flyer-side > .btn { justify-self: start; }
.flyer-format { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; padding: 0; border: 0; }
.flyer-format legend { font-weight: 700; font-size: 0.92rem; margin-bottom: 6px; padding: 0; }
.format-opt { position: relative; display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.format-opt:has(input:checked) { border-color: var(--night); box-shadow: inset 0 0 0 1px var(--night); }
.format-opt:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.format-opt input { position: absolute; opacity: 0; pointer-events: none; }
.format-opt b { display: block; font-size: 0.95rem; color: var(--night); }
.format-opt small { display: block; font-size: 0.8rem; color: var(--muted); line-height: 1.25; }
.format-icon { display: flex; flex: none; gap: 2px; width: 34px; height: 25px; padding: 2px; border: 1.5px solid var(--muted); border-radius: 3px; }
.format-icon i { flex: 1; border-radius: 1px; background: var(--gold-soft); border: 1px solid #e4cf98; }
.format-a4 { width: 20px; height: 28px; }
.format-opt:has(input:checked) .format-icon { border-color: var(--night); }
.flyer-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.flyer-tools .emoji-btn { width: auto; height: 36px; padding: 0 12px 0 8px; gap: 6px; display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 800; font-size: 0.9rem; color: var(--pine); }
.flyer-tools .emoji-btn::after { content: "Emoji"; }
.flyer-tools .save-state { flex-basis: 100%; min-height: 1.3em; }
@media (min-width: 900px) {
  .flyer-layout { grid-template-columns: minmax(0, 1fr) 300px; grid-template-rows: auto 1fr; }
  .flyer-stage { grid-row: 1 / span 2; padding: 36px; }
  .flyer-intro { grid-column: 2; padding: 26px 24px 0; }
  .flyer-side { grid-column: 2; padding: 20px 24px 26px; }
}

/* Flyer-Vorschau, gleiche Maße wie das PDF */
@font-face { font-family: "Young Serif"; src: url("fonts/young-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
.fl {
  --k: 1; position: relative; width: 595.28px; height: 841.89px; overflow: hidden;
  transform: scale(var(--s)); transform-origin: 0 0;
  background: #fbf6ec; color: #1d2433; font-family: "Nunito", sans-serif; font-weight: 400;
  box-shadow: 0 2px 4px rgba(23, 38, 64, 0.08), 0 24px 60px -20px rgba(23, 38, 64, 0.45); border-radius: 3px;
  -webkit-font-smoothing: antialiased;
}
.fl p { margin: 0; }
.fl-art { position: absolute; inset: 0 0 auto; line-height: 0; }
.fl-art svg { display: block; }
.fl-head { position: absolute; left: 50px; top: 76px; right: 120px; }
.fl-kicker { font-weight: 800; font-size: 10px; line-height: 12px; letter-spacing: 2.2px; text-transform: uppercase; color: #e3b65c; }
.fl-name { margin-top: 7px !important; font-family: "Young Serif", serif; font-size: 50px; line-height: 1.07; color: #fff; text-wrap: balance; }
.fl-name.is-long { font-size: 38px; }
.fl-date { display: inline-block; margin-top: 14px; height: 24px; padding: 0 12px; border: 1px solid #e3b65c; border-radius: 12px; font-weight: 800; font-size: 11px; line-height: 22px; color: #f3e6c4; }
.fl-body { position: absolute; left: 50px; right: 50px; top: 354px; height: 349.89px; display: flex; flex-direction: column; }
.fl-gap { display: block; flex: 0.35 1 0; min-height: 0; }
.fl-gap-1 { max-height: 26px; }
.fl-gap-2 { flex-grow: 0.3; max-height: 20px; }
.fl-gap-2::before { content: ""; display: block; }
.fl-title { font-family: "Young Serif", serif; font-size: calc(24px * var(--k)); line-height: calc(33.89px * var(--k) + 1px); text-wrap: balance; flex: none; }
.fl-text { margin-top: 10px; font-size: calc(13.5px * var(--k)); line-height: calc(18.4px * var(--k) + 3.2px * var(--k)); color: #5a6274; white-space: pre-wrap; flex: none; }
.fl-field { position: relative; flex: none; }
.fl-field-text { margin-bottom: 22px; }
.fl-edit { outline: 2px dashed rgba(163, 33, 43, 0.5); outline-offset: 6px; border-radius: 4px; cursor: text; background: rgba(255, 255, 255, 0.55); transition: outline-color 0.15s, background 0.15s; }
.fl-edit:hover { outline-color: #a3212b; background: #fff; }
.fl-edit:focus { outline: 2.5px solid #a3212b; background: #fff; }
.fl-pen { position: absolute; top: 50%; right: -19px; margin-top: -12px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #a3212b; color: #fff; pointer-events: none; box-shadow: 0 2px 6px rgba(122, 18, 25, 0.35); }
.fl-pen svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.fl-field:focus-within .fl-pen { opacity: 0; }
.fl-row { display: flex; gap: 26px; flex: none; height: 166px; }
.fl-steps { flex: 1; min-width: 0; margin: 0; padding: 0; list-style: none; display: grid; grid-template-rows: repeat(3, 1fr); }
.fl-steps li { position: relative; align-self: center; padding-left: 40px; min-height: 40px; }
.fl-num { position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: #a3212b; color: #fff; font-weight: 800; font-size: 13px; line-height: 26px; text-align: center; }
.fl-steps b { display: block; font-weight: 800; font-size: 14.5px; line-height: 20px; color: #1d2433; }
.fl-steps small { display: block; font-size: 12px; line-height: 16px; color: #5a6274; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl-steps small.fl-url { font-weight: 800; color: #a3212b; }
.fl-qr { flex: none; width: 166px; height: 166px; padding: 13px; background: #fff; border: 1.2px solid #e3b65c; border-radius: 16px; }
.fl-qr img { display: block; width: 140px; height: 140px; }
.fl-deadline { flex: none; margin-top: 18px !important; height: 32px; border-radius: 16px; background: #f7ecd3; text-align: center; font-weight: 800; font-size: 12.5px; line-height: 32px; }
.fl-foot { position: absolute; left: 50px; right: 50px; top: 721.89px; height: 80px; display: flex; align-items: center; padding: 0 20px 0 76px; background: #fff; border: 0.8px solid #e6dac2; border-radius: 18px; }
.fl-phone { position: absolute; left: 20px; top: 50%; margin-top: -20px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #a3212b; }
.fl-phone svg { width: 18px; height: 18px; fill: #fff; }
.fl-ask { flex: 1; min-width: 0; }
.fl-ask p { font-family: "Young Serif", serif; font-size: 16px; line-height: 21px; color: #1d2433; }
.fl-people { margin: 5px 0 0; padding: 0; list-style: none; }
.fl-people li { display: flex; gap: 10px; min-width: 0; font-size: 12.5px; line-height: 18px; white-space: nowrap; }
.fl-people b { min-width: 0; font-weight: 800; color: #1d2433; overflow: hidden; text-overflow: ellipsis; }
.fl-people span { flex: none; color: #a3212b; }
.fl[data-people="3"] .fl-foot { top: 701.89px; height: 100px; }
.fl[data-people="3"] .fl-body { height: 329.89px; }
.fl-brand { position: absolute; left: 0; right: 0; bottom: 20px; text-align: center; font-size: 8.5px; color: #5a6274; }

.contact-form { display: grid; gap: 4px 12px; margin-top: 12px; }
@media (min-width: 640px) { .contact-form { grid-template-columns: repeat(3, 1fr); } .contact-form .card-actions { grid-column: 1 / -1; } }
.admins li:has(.contact-form) { display: block; }
#add-admin { margin-top: 12px; }
.promo-grid { display: grid; gap: 4px 28px; }
@media (min-width: 760px) { .promo-grid { grid-template-columns: 1fr 1fr; } .promo-col { display: grid; grid-row: span 2; grid-template-rows: subgrid; } }
.promo-col h4 { margin: 12px 0 6px; font-size: 1rem; }
.promo-col ol { margin: 0; padding: 4px 0 0; list-style: none; counter-reset: ball; display: grid; gap: 14px; align-content: start; }
.promo-col li { position: relative; counter-increment: ball; padding-left: 42px; min-height: 28px; }
.promo-col li::before {
  content: counter(ball); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #e0505a, #c41824 50%, #6e0b10); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; line-height: 1;
  box-shadow: 0 3px 8px rgba(110, 11, 16, 0.3), inset -2px -3px 5px rgba(0, 0, 0, 0.22); text-shadow: 0 1px 1px rgba(80, 0, 0, 0.5);
}
.promo-col li::after { content: ""; position: absolute; left: 9px; top: -4px; width: 10px; height: 6px; border-radius: 2px 2px 1px 1px; background: linear-gradient(90deg, #a7832c, #f2d58a, #a7832c); }
.promo-col li:last-child::before { background: radial-gradient(circle at 34% 30%, #fff1b8, #e0ac2c 50%, #c08a1a); color: #3f2900; text-shadow: 0 1px 0 rgba(255, 240, 200, 0.6); }
.promo-col li { text-wrap: pretty; }
@media (max-width: 640px) {
  .admin-wrap .card { padding: 18px 16px; }
  .flyer-card { padding: 0; }
  .flyer-stage { padding: 16px 12px; }
  .flyer-intro { padding: 18px 16px 2px; }
  .flyer-side { padding: 18px 16px 20px; }
  .save-bar.is-dirty { border-radius: 18px; }
}
