/* Julia & Flo — Hochzeits-Foto-Upload
   Aesthetik: organisch, ruhig, edel. Eukalyptus/Salbei auf Creme,
   geschwungene Script-Schrift + elegante Serife, dezentes Messing-Gold. */

@import url("https://fonts.googleapis.com/css2?family=Pinyon+Script&family=Cormorant+Garamond:ital,wght@0,500;0,600;1,400;1,500&family=Mulish:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");

:root {
  --cream: #f3f0e7;
  --cream-deep: #ece7d9;
  --paper: #fbfaf5;
  --ink: #2c3727;
  --ink-soft: #586350;
  --forest: #36452f;
  --sage: #7c8c6e;
  --eucalyptus: #9dae92;
  --mist: #c8d2bd;
  --gold: #b5985a;
  --gold-soft: #cdb888;
  --line: rgba(54, 69, 47, 0.14);
  --shadow: 0 18px 50px -28px rgba(44, 55, 39, 0.55);
  --shadow-soft: 0 8px 30px -18px rgba(44, 55, 39, 0.4);
  --radius: 22px;
  --radius-sm: 14px;
}

* { box-sizing: border-box; }

/* Das hidden-Attribut muss display-Regeln (flex/grid) immer schlagen. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100dvh;
  /* Funktionaler Text (Formulare, Buttons, Hinweise): klare, gut lesbare Humanist-Sans. */
  font-family: "Mulish", "Segoe UI", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(120% 90% at 50% -10%, #f8f6ef 0%, var(--cream) 45%, var(--cream-deep) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* zarte Blatt-Textur im Hintergrund */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("/leaves-bg.svg");
  background-size: 480px;
  background-repeat: repeat;
  opacity: 0.05;
  z-index: 0;
}

.wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  padding: 38px 22px 60px;
}

/* ---------- Hero ---------- */
.hero { text-align: center; margin-bottom: 26px; }

.sprig { width: 64px; height: auto; margin: 0 auto 10px; display: block; opacity: 0.9; }

/* Paar-Foto als Hero/Signatur */
.portrait {
  margin: 0 auto 16px;
  width: min(230px, 62vw);
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  background: var(--cream-deep);
  border: 1px solid rgba(181, 152, 90, 0.45);
  box-shadow: var(--shadow), 0 0 0 6px rgba(255, 255, 255, 0.5);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; }
/* Ohne Foto: kein leerer Rahmen, nur das Zweiglein. */
.portrait.empty {
  width: auto; aspect-ratio: auto; border: none; background: none; box-shadow: none;
  border-radius: 0; overflow: visible; margin-bottom: 8px;
}
.portrait .sprig { margin: 0 auto; }

.eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 6px;
  padding-left: 0.42em;
}

.names {
  font-family: "Pinyon Script", cursive;
  font-weight: 400;
  font-size: clamp(3.1rem, 15.5vw, 5.4rem);
  line-height: 0.9;
  color: var(--forest);
  margin: 0;
  padding: 0 0.12em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 18px auto 14px;
  max-width: 240px;
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.divider svg { width: 16px; height: 16px; color: var(--gold); flex: none; }

.tagline {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.32rem;
  font-style: italic;
  color: var(--ink-soft);
  margin: 0 auto;
  max-width: 22em;
}

/* ---------- Karte ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 22px 24px;
  margin-top: 26px;
}

.how {
  text-align: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.32rem;
  font-style: italic;
  color: var(--ink-soft);
  margin: 0 0 20px;
}

/* Gate (kein Zugang) */
.gate { text-align: center; padding: 30px 24px 32px; }
.gate-emoji { font-size: 2.6rem; line-height: 1; }
.gate-title {
  font-family: "Pinyon Script", cursive;
  font-size: 2.8rem; color: var(--forest); margin: 6px 0 10px; font-weight: 400;
}
.gate-text { font-size: 1.18rem; color: var(--ink-soft); line-height: 1.45; margin: 0 auto; max-width: 24em; }
.gate-note { margin-top: 14px; color: #a8503f; font-size: 1.02rem; }

/* Schritt 1: Name */
.lead {
  text-align: center; font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic; font-size: 1.4rem; color: var(--ink-soft); margin: 0 0 18px;
}
.field-label { display: block; font-size: 1.22rem; font-weight: 600; color: var(--forest); margin-bottom: 10px; }
.field-help { margin: 9px 2px 18px; font-size: 1.02rem; font-style: italic; color: var(--ink-soft); line-height: 1.35; }

/* Identitäts-Zeile (Schritt 2) — schlank, eine Box */
.me {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px;
  padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line);
}
.me-hi { font-size: 1.22rem; font-weight: 600; color: var(--forest); }
.me-ev { font-size: 1.02rem; color: var(--sage); }
.reset {
  font-family: inherit; font-size: 0.98rem; color: var(--sage);
  background: none; border: none; text-decoration: underline; cursor: pointer; padding: 0;
}

/* Eine schlanke Erfolgs-Zeile statt mehrerer Boxen */
.success-line {
  margin: 18px 0 4px; padding: 12px 14px; text-align: center;
  background: linear-gradient(180deg, #f1f5ea, #e8efe0);
  border: 1px solid var(--mist); border-radius: var(--radius-sm);
  font-size: 1.08rem; color: var(--forest);
}

/* Begruessung fuer wiederkehrende Gaeste */
.greeting {
  text-align: center;
  background: linear-gradient(180deg, #f1f5ea, #e8efe0);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 20px;
}
.greeting .hi { font-size: 1.4rem; font-weight: 600; color: var(--forest); }
.greeting .cnt { font-size: 1.08rem; color: var(--ink-soft); margin-top: 4px; }
.greeting .reset {
  display: inline-block;
  margin-top: 8px;
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--sage);
  background: none;
  border: none;
  text-decoration: underline;
  cursor: pointer;
}

/* Grosser, ruhiger Abschluss-Zustand */
.done-state {
  text-align: center;
  margin-top: 18px;
  padding: 22px 18px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #eef3e6, #e2ebd7);
  border: 1px solid var(--mist);
}
.done-emoji { font-size: 2.4rem; line-height: 1; }
.done-title {
  font-family: "Pinyon Script", cursive;
  font-size: 2.6rem;
  color: var(--forest);
  margin: 4px 0 6px;
}
.done-sub { font-size: 1.08rem; color: var(--ink-soft); line-height: 1.4; max-width: 26em; margin: 0 auto; }

.step { margin-bottom: 26px; }
.step:last-child { margin-bottom: 0; }

.step-label {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 12px;
}
.step-num {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(165deg, var(--sage), var(--forest));
  color: #fff;
  font-weight: 600;
  font-size: 1.18rem;
  line-height: 1;
}
.step-help {
  margin: 9px 2px 0;
  font-size: 1.04rem;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.35;
}

input[type="text"] {
  width: 100%;
  font-family: inherit;
  font-size: 1.25rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input[type="text"]::placeholder { color: #aab2a0; font-style: italic; }
input[type="text"]:focus {
  border-color: var(--eucalyptus);
  box-shadow: 0 0 0 4px rgba(157, 174, 146, 0.18);
}

/* Anlass-Auswahl */
.events { display: grid; gap: 12px; }
.event-opt {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  text-align: left;
  font-family: inherit;
  font-size: 1.16rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.08s;
}
.event-opt:active { transform: scale(0.99); }
.event-opt .tick {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--mist);
  display: grid;
  place-items: center;
  transition: border-color 0.2s, background 0.2s;
}
.event-opt .tick svg { width: 12px; height: 12px; color: #fff; opacity: 0; transform: scale(0.6); transition: 0.2s; }
.event-opt[aria-pressed="true"] {
  border-color: var(--sage);
  background: linear-gradient(180deg, #f6f8f1, #eef2e6);
}
.event-opt[aria-pressed="true"] .tick { background: var(--sage); border-color: var(--sage); }
.event-opt[aria-pressed="true"] .tick svg { opacity: 1; transform: scale(1); }
.event-opt .ev-name { font-weight: 500; }

/* Upload-Button */
.upload-btn {
  position: relative;
  width: 100%;
  font-family: inherit;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  background: linear-gradient(165deg, var(--sage), var(--forest));
  border: none;
  border-radius: var(--radius-sm);
  padding: 17px 18px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  transition: transform 0.1s, opacity 0.2s, box-shadow 0.2s;
}
.upload-btn svg { width: 22px; height: 22px; }
.upload-btn:active { transform: translateY(1px) scale(0.995); }
.upload-btn:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; }
.upload-btn .hint {
  display: block;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 2px;
}

input[type="file"] { display: none; }

/* Overlay-Hinweis vor der Foto-Auswahl (iPhone) */
.overlay {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(44, 55, 39, 0.5);
  display: flex; align-items: center; justify-content: center;
  padding: 22px; backdrop-filter: blur(2px);
}
.overlay-card {
  background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px 22px 22px; max-width: 380px; width: 100%; text-align: center;
}
.oc-emoji { font-size: 2.4rem; line-height: 1; }
.oc-title {
  font-family: "Cormorant Garamond", serif; font-weight: 600;
  font-size: 1.6rem; color: var(--forest); margin: 8px 0 14px;
}
.oc-list { text-align: left; margin: 0 0 20px; padding-left: 1.2em; color: var(--ink); }
.oc-list li { margin-bottom: 9px; line-height: 1.4; }
.oc-cancel {
  margin-top: 10px; font-family: inherit; font-size: 1rem; color: var(--ink-soft);
  background: none; border: none; text-decoration: underline; cursor: pointer;
}

/* Dezenter iPhone-Tipp-Link unter dem Button */
.tip-link {
  display: block; width: 100%; margin: 2px 0 8px; padding: 8px;
  font-family: inherit; font-size: 0.98rem; color: var(--sage);
  background: none; border: none; text-decoration: underline; cursor: pointer; text-align: center;
}

/* Anleitung (Format -> Aktuell) */
.overlay-card.guide { max-height: 86vh; overflow-y: auto; text-align: left; }
.overlay-card.guide .oc-emoji, .overlay-card.guide .oc-title { text-align: center; }
.guide-intro { font-size: 1.05rem; color: var(--ink-soft); line-height: 1.4; margin: 0 0 16px; }
.guide-steps { margin: 0 0 18px; padding-left: 1.3em; }
.guide-steps li { margin-bottom: 16px; line-height: 1.4; color: var(--ink); }
.guide-img {
  display: block; width: 100%; max-width: 230px; margin: 10px 0 4px;
  border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}

/* "Wird vorbereitet"-Hinweis (iOS HEIC-Umwandlung dauert) */
.preparing {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #fbf2e3;
  border: 1px solid #e7d3ab;
  color: #8a6d2f;
  font-size: 1rem;
  line-height: 1.35;
}
.prep-spin {
  flex: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid #e7d3ab; border-top-color: #b5985a;
  animation: spin 0.9s linear infinite;
}

/* "Deine Fotos"-Vorschau */
.my-photos { margin-top: 22px; }
.mp-head {
  font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 10px; text-align: center;
}
.mp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 7px; }
.mp-grid img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 9px;
  background: var(--cream-deep); border: 1px solid var(--line); display: block;
}
.mp-note { margin-top: 12px; text-align: center; font-size: 1rem; font-style: italic; color: var(--ink-soft); }

/* ---------- Banner (offline / Hinweise) ---------- */
.banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  line-height: 1.35;
  background: #fbf2e3;
  border: 1px solid #e7d3ab;
  color: #8a6d2f;
}
.banner.error { background: #fbe9e4; border-color: #e7bfb4; color: #9a4632; }
.banner::before { content: "📶"; font-size: 1.3rem; flex: none; }
.banner.error::before { content: "⚠️"; }

/* ---------- Gesamt-Fortschritt ---------- */
.overall {
  margin-top: 18px;
  padding: 12px 15px;
  border-radius: var(--radius-sm);
  background: var(--cream-deep);
  border: 1px solid var(--line);
  text-align: center;
}
.overall-text { font-size: 1.08rem; color: var(--forest); }
.overall-bar {
  height: 8px; border-radius: 5px; background: #fff; border: 1px solid var(--line);
  overflow: hidden; margin-bottom: 10px;
}
.overall-bar > span {
  display: block; height: 100%; width: 0; border-radius: 5px;
  background: linear-gradient(90deg, var(--eucalyptus), var(--sage)); transition: width 0.3s ease;
}
.overall-hint { margin-top: 8px; font-size: 0.98rem; color: var(--ink-soft); }
.retry-all {
  margin-top: 10px;
  font-family: inherit;
  font-size: 1.02rem;
  color: #fff;
  background: #c2705e;
  border: none;
  border-radius: 10px;
  padding: 9px 18px;
  cursor: pointer;
}

/* ---------- „Weitere Fotos" ---------- */
.more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  margin-top: 16px;
  font-family: inherit;
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--forest);
  background: #fff;
  border: 1.5px solid var(--sage);
  border-radius: var(--radius-sm);
  padding: 15px 18px;
  cursor: pointer;
}
.more-btn svg { width: 20px; height: 20px; }
.more-btn:active { transform: scale(0.995); }

/* ---------- Upload-Liste ---------- */
.queue { margin-top: 18px; display: grid; gap: 10px; }
.queue:empty { margin-top: 0; }

.summary {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #f1f5ea, #e8efe0);
  border: 1px solid var(--line);
  color: var(--forest);
  font-size: 1.06rem;
}
.summary.show { display: flex; }
.summary svg { width: 20px; height: 20px; color: var(--sage); flex: none; }

.item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.thumb {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--cream-deep);
  display: grid;
  place-items: center;
  color: var(--eucalyptus);
  overflow: hidden;
}
.thumb svg { width: 22px; height: 22px; }
.item-main { flex: 1; min-width: 0; }
.item-name {
  font-size: 0.98rem;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.item-note { font-size: 0.86rem; color: var(--sage); margin-top: 3px; min-height: 0; }
.item.error .item-note { color: #a8503f; }
.spin { animation: spin 0.9s linear infinite; transform-origin: center; }
@keyframes spin { to { transform: rotate(360deg); } }
.bar {
  margin-top: 6px;
  height: 5px;
  border-radius: 4px;
  background: var(--cream-deep);
  overflow: hidden;
}
.bar > span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--eucalyptus), var(--sage));
  transition: width 0.2s ease;
}
.item-status { flex: none; font-size: 0.8rem; letter-spacing: 0.05em; }
.item.done .bar > span { background: var(--sage); width: 100% !important; }
.item.done .status-ico { color: var(--sage); }
.item.error .item-name { color: #a8503f; }
.item.error .bar > span { background: #c2705e; }
.status-ico { width: 20px; height: 20px; }
.retry-btn {
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--gold);
  background: none;
  border: 1px solid var(--gold-soft);
  border-radius: 9px;
  padding: 5px 10px;
  cursor: pointer;
}

/* ---------- Footer ---------- */
.foot {
  margin-top: 34px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.foot .soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-style: italic;
}
.foot .soon svg { width: 17px; height: 17px; color: var(--eucalyptus); }
.foot .admin-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mist);
  text-decoration: none;
}

@media (min-width: 560px) {
  .wrap { padding-top: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ============ Admin ============ */
.admin-wrap { max-width: 920px; }

.login-card { max-width: 380px; margin: 8vh auto 0; }
.login-card h2 {
  font-family: "Pinyon Script", cursive;
  font-weight: 400;
  font-size: 2.8rem;
  color: var(--forest);
  text-align: center;
  margin: 0 0 4px;
}
.login-card p { text-align: center; color: var(--ink-soft); margin: 0 0 18px; font-style: italic; }
.login-err { color: #a8503f; text-align: center; min-height: 1.4em; font-size: 0.95rem; }

.admin-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.admin-head h1 {
  font-family: "Pinyon Script", cursive;
  font-weight: 400;
  font-size: 3rem;
  line-height: 1;
  color: var(--forest);
  margin: 0;
}
.admin-head .sub { color: var(--sage); letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.74rem; }
.logout {
  font-family: inherit; font-size: 0.95rem; color: var(--ink-soft);
  background: none; border: 1px solid var(--line); border-radius: 10px;
  padding: 7px 14px; cursor: pointer;
}

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin-bottom: 18px; }
.stat {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 16px; box-shadow: var(--shadow-soft);
}
.stat .num { font-size: 2.1rem; font-weight: 600; color: var(--forest); line-height: 1; }
.stat .lbl { color: var(--sage); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 6px; }

.panel {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 18px 20px; box-shadow: var(--shadow-soft); margin-bottom: 18px;
}
.panel h3 {
  font-size: 0.82rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sage);
  margin: 0 0 12px;
}
.names-table { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.names-table td { padding: 7px 4px; border-bottom: 1px solid var(--line); }
.names-table td:last-child { text-align: right; color: var(--ink-soft); }
.names-table tr:last-child td { border-bottom: none; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.filter {
  font-family: inherit; font-size: 0.98rem; color: var(--ink-soft);
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 16px; cursor: pointer;
}
.filter[aria-pressed="true"] { background: var(--sage); color: #fff; border-color: var(--sage); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.tile {
  position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden;
  background: var(--cream-deep); border: 1px solid var(--line);
}
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile .vid {
  width: 100%; height: 100%; display: grid; place-items: center; color: var(--sage);
  font-size: 0.8rem; text-align: center; padding: 6px;
}
.tile .meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(20,28,18,0.82), transparent);
  color: #fff; font-size: 0.74rem; padding: 14px 8px 6px; line-height: 1.2;
}
.tile .actions { position: absolute; top: 6px; right: 6px; display: flex; gap: 5px; }
.tile .act {
  width: 28px; height: 28px; border-radius: 8px; border: none; cursor: pointer;
  background: rgba(251,250,245,0.92); display: grid; place-items: center; color: var(--forest);
}
.tile .act svg { width: 15px; height: 15px; }
.tile .act.del { color: #a8503f; }
.tile.confirm .act.del { background: #a8503f; color: #fff; width: auto; padding: 0 8px; font-size: 0.78rem; font-family: inherit; }
.empty { color: var(--ink-soft); font-style: italic; text-align: center; padding: 30px 0; }
