/* ============================================================
   OHR ITSHAK — web app
   Palette issue du logo : bordeaux, or, ivoire.
   ============================================================ */
:root {
  --wine-950: #1e070d;
  --wine-900: #2a0a12;
  --wine-800: #3d0f1c;
  --wine-700: #561526;
  --wine-600: #7a1c2e;
  --wine-500: #9b2438;

  --gold-700: #8f6a1e;
  --gold-600: #b8892a;
  --gold-500: #d4a843;
  --gold-400: #e8c97a;
  --gold-300: #f5e4b0;

  --ivory-50: #fffdf8;
  --ivory-100: #fbf7ef;
  --ivory-200: #f4ecdd;
  --ivory-300: #e9dcc4;

  --ink: #1f0e08;
  --ink-2: #4a2c1c;
  --ink-3: #8a6b55;

  --hair: rgba(184, 137, 42, 0.24);
  --hair-strong: rgba(184, 137, 42, 0.45);

  --foil: linear-gradient(105deg, #a87a22 0%, #e8c97a 28%, #fff1c6 44%, #d4a843 58%, #9c7020 100%);
  --foil-soft: linear-gradient(105deg, #c79a3a, #f1d78f 45%, #c99a36);

  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 14px 34px -22px rgba(61, 15, 28, 0.45), 0 2px 6px -3px rgba(61, 15, 28, 0.12);
  --shadow-deep: 0 24px 50px -24px rgba(30, 7, 13, 0.75);

  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;

  --f-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --f-serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --f-text: "EB Garamond", Georgia, serif;
  --f-hebrew: "Frank Ruhl Libre", "David", serif;

  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --tabbar-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; background: var(--wine-950); }
body {
  min-height: 100dvh;
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink);
  background: var(--wine-950);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
.he { font-family: var(--f-hebrew); direction: rtl; unicode-bidi: isolate; }
.tnum { font-variant-numeric: lining-nums tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Coque ---------- */
.shell {
  position: relative;
  max-width: 520px;
  min-height: 100dvh;
  margin: 0 auto;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(232, 201, 122, 0.10), transparent 60%),
    var(--ivory-100);
  padding-bottom: calc(var(--tabbar-h) + var(--safe-b) + 24px);
  overflow-x: hidden;
}
@media (min-width: 560px) {
  body {
    background:
      radial-gradient(60% 50% at 50% 0%, rgba(212, 168, 67, 0.14), transparent 70%),
      radial-gradient(80% 80% at 50% 100%, var(--wine-800), var(--wine-950));
    padding: 28px 0;
  }
  .shell { min-height: calc(100dvh - 56px); border-radius: 34px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(212, 168, 67, 0.25); }
}

/* ---------- Texte or ---------- */
.foil {
  background: var(--foil);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.eyebrow {
  font-family: var(--f-display);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-600);
}

/* ---------- Ornement ---------- */
.ornament { display: flex; align-items: center; gap: 10px; color: var(--gold-500); }
.ornament::before, .ornament::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, currentColor); }
.ornament::after { background: linear-gradient(90deg, currentColor, transparent); }
.ornament svg { width: 14px; height: 14px; flex: none; }

/* ============================================================
   HERO (accueil)
   ============================================================ */
.hero {
  position: relative;
  color: var(--ivory-100);
  text-align: center;
  padding: calc(var(--safe-t) + 26px) 24px 74px;
  background:
    radial-gradient(90% 70% at 50% -10%, rgba(232, 201, 122, 0.28), transparent 62%),
    radial-gradient(70% 60% at 100% 100%, rgba(155, 36, 56, 0.55), transparent 70%),
    linear-gradient(170deg, var(--wine-700) 0%, var(--wine-800) 45%, var(--wine-900) 100%);
  border-bottom-left-radius: 34px;
  border-bottom-right-radius: 34px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before { /* filigrane */
  content: "";
  position: absolute; inset: 0; z-index: -1; opacity: 0.09;
  background-image:
    radial-gradient(circle at 50% 50%, transparent 58%, var(--gold-400) 59%, transparent 60%),
    radial-gradient(circle at 50% 50%, transparent 70%, var(--gold-400) 70.6%, transparent 71.2%);
  background-size: 120px 120px;
  background-position: center -30px;
}
.hero::after { /* liseré bas */
  content: "";
  position: absolute; left: 14px; right: 14px; bottom: 10px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 201, 122, 0.55), transparent);
}
.hero-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.hero-bar .hb-left, .hero-bar .hb-right {
  font-family: var(--f-display); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(245, 228, 176, 0.72);
}
.medallion {
  width: 104px; height: 104px; margin: 0 auto 16px;
  border-radius: 50%;
  padding: 3px;
  background: var(--foil);
  box-shadow: 0 0 0 6px rgba(232, 201, 122, 0.08), 0 18px 40px -12px rgba(0, 0, 0, 0.6);
}
.medallion img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #fff; }
.hero h1 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 36px;
  letter-spacing: 0.08em;
  line-height: 1.05;
  margin-top: 6px;
}
.hero .he-name { font-size: 22px; color: var(--gold-400); margin-top: 6px; letter-spacing: 0.02em; }
.hero .ornament { max-width: 210px; margin: 16px auto 14px; }
.hero .civil { font-family: var(--f-serif); font-size: 19px; font-weight: 500; color: var(--ivory-100); }
.hero .hdate { margin-top: 2px; font-size: 15px; color: rgba(245, 228, 176, 0.8); display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.hero .hdate .he { font-size: 16px; }

/* ============================================================
   CONTENU
   ============================================================ */
.content { padding: 0 18px; }
.lift { margin-top: -50px; position: relative; z-index: 2; }
.stack > * + * { margin-top: 14px; }

.card {
  background: var(--ivory-50);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}
.card-pad { padding: 18px 18px; }

.sec-title {
  display: flex; align-items: center; gap: 12px;
  margin: 28px 4px 12px;
  font-family: var(--f-display); font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--wine-600);
}
.sec-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--hair-strong), transparent); }

/* ---------- Carte « Prochain office » (sombre) ---------- */
.feature {
  position: relative;
  border-radius: var(--r-lg);
  padding: 20px 20px 18px;
  color: var(--ivory-100);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(232, 201, 122, 0.16), transparent 60%),
    linear-gradient(160deg, var(--wine-800), var(--wine-950));
  box-shadow: var(--shadow-deep), 0 0 0 1px rgba(212, 168, 67, 0.32) inset;
  overflow: hidden;
}
.feature::before {
  content: ""; position: absolute; inset: 6px; border-radius: 17px; pointer-events: none;
  border: 1px solid rgba(232, 201, 122, 0.14);
}
.feature .f-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.feature .f-label { font-family: var(--f-display); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-400); }
.feature .f-count {
  font-size: 13.5px; color: var(--gold-300);
  padding: 3px 10px; border-radius: 999px;
  background: rgba(232, 201, 122, 0.10); border: 1px solid rgba(232, 201, 122, 0.25);
  white-space: nowrap;
}
.feature .f-main { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 10px; }
.feature .f-name { font-family: var(--f-display); font-size: 25px; font-weight: 500; letter-spacing: 0.04em; line-height: 1.1; }
.feature .f-name .he { display: block; font-size: 16px; color: rgba(245, 228, 176, 0.7); margin-top: 4px; letter-spacing: 0; }
.feature .f-time { font-family: var(--f-serif); font-weight: 600; font-size: 54px; line-height: 0.9; letter-spacing: 0.01em; }
.feature .f-foot {
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid rgba(232, 201, 122, 0.16);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
}
.feature .f-foot div { text-align: center; }
.feature .f-foot div + div { border-left: 1px solid rgba(232, 201, 122, 0.12); }
.feature .f-foot small { display: block; font-family: var(--f-display); font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(245, 228, 176, 0.6); }
.feature .f-foot b { font-family: var(--f-serif); font-weight: 600; font-size: 21px; color: var(--ivory-100); }
.feature .f-foot b.on { color: var(--gold-400); }

/* ---------- Carte Chabbat ---------- */
.shabbat {
  display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center;
  padding: 18px 18px;
  background:
    linear-gradient(var(--ivory-50), var(--ivory-50)) padding-box,
    linear-gradient(135deg, var(--gold-400), rgba(184, 137, 42, 0.15) 40%, var(--gold-500)) border-box;
  border: 1px solid transparent;
}
.shabbat .s-par { font-family: var(--f-display); font-size: 20px; color: var(--wine-600); letter-spacing: 0.03em; line-height: 1.15; margin-top: 4px; }
.shabbat .s-par-he { font-size: 17px; color: var(--ink-3); margin-top: 2px; text-align: left; }
.shabbat .s-date { font-size: 14px; color: var(--ink-3); margin-top: 4px; }
.shabbat .s-times { display: flex; gap: 16px; text-align: center; }
.shabbat .s-times small { display: block; font-size: 12px; color: var(--ink-3); line-height: 1.2; }
.shabbat .s-times b { font-family: var(--f-serif); font-size: 26px; font-weight: 600; color: var(--ink); line-height: 1.1; }
.shabbat .s-icon { width: 22px; height: 22px; color: var(--gold-600); margin: 0 auto 2px; display: block; }
.holiday-chip {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 10px;
  font-size: 14px; color: var(--wine-600);
  padding: 4px 12px; border-radius: 999px; background: rgba(122, 28, 46, 0.06); border: 1px solid rgba(122, 28, 46, 0.14);
}

/* ---------- Tuiles ---------- */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 118px; padding: 16px;
  border-radius: var(--r-md);
  background: var(--ivory-50);
  border: 1px solid var(--hair);
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.tile:active { transform: scale(0.97); }
.tile .t-ic {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold-600);
  background: radial-gradient(circle at 30% 30%, #fff, var(--ivory-200));
  border: 1px solid var(--hair-strong);
}
.tile .t-ic svg { width: 21px; height: 21px; }
.tile .t-name { font-family: var(--f-display); font-size: 15px; font-weight: 500; letter-spacing: 0.03em; color: var(--ink); margin-top: 12px; }
.tile .t-sub { font-size: 13.5px; color: var(--ink-3); line-height: 1.25; }
.tile.dark {
  background: linear-gradient(160deg, var(--wine-600), var(--wine-800));
  border-color: rgba(212, 168, 67, 0.4);
}
.tile.dark .t-name { color: var(--ivory-100); }
.tile.dark .t-sub { color: rgba(245, 228, 176, 0.75); }
.tile.dark .t-ic { background: rgba(232, 201, 122, 0.12); border-color: rgba(232, 201, 122, 0.4); color: var(--gold-400); }
.tile .t-arrow { position: absolute; top: 16px; right: 14px; width: 16px; height: 16px; color: var(--gold-500); opacity: 0.7; }

/* ---------- Bannière don ---------- */
.don-banner {
  display: flex; align-items: center; gap: 16px;
  padding: 18px;
  border-radius: var(--r-lg);
  color: var(--ivory-100);
  background:
    radial-gradient(100% 140% at 0% 0%, rgba(232, 201, 122, 0.22), transparent 55%),
    linear-gradient(135deg, var(--wine-600), var(--wine-900));
  box-shadow: var(--shadow-deep), 0 0 0 1px rgba(212, 168, 67, 0.35) inset;
}
.don-banner .db-ic { width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--foil); color: var(--wine-900); }
.don-banner .db-ic svg { width: 26px; height: 26px; }
.don-banner h3 { font-family: var(--f-display); font-weight: 500; font-size: 17px; letter-spacing: 0.04em; }
.don-banner p { font-size: 14.5px; color: rgba(245, 228, 176, 0.8); line-height: 1.3; margin-top: 2px; }

/* ---------- Pied ---------- */
.foot { text-align: center; padding: 34px 24px 10px; color: var(--ink-3); }
.foot .quote { font-family: var(--f-serif); font-style: italic; font-size: 18px; color: var(--wine-600); }
.foot .ornament { max-width: 140px; margin: 0 auto 12px; }
.foot .credits { font-size: 12px; margin-top: 10px; line-height: 1.5; }

/* ============================================================
   EN-TÊTE DES PAGES INTÉRIEURES
   ============================================================ */
.phead {
  position: relative;
  color: var(--ivory-100);
  padding: calc(var(--safe-t) + 14px) 18px 58px;
  text-align: center;
  background:
    radial-gradient(90% 90% at 50% -20%, rgba(232, 201, 122, 0.22), transparent 60%),
    linear-gradient(170deg, var(--wine-700), var(--wine-900));
  border-bottom-left-radius: 30px; border-bottom-right-radius: 30px;
}
.phead .back {
  position: absolute; left: 12px; top: calc(var(--safe-t) + 10px);
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; color: var(--gold-400);
  background: rgba(232, 201, 122, 0.08); border: 1px solid rgba(232, 201, 122, 0.2);
}
.phead .back svg { width: 18px; height: 18px; }
.phead .p-eyebrow { margin-top: 6px; }
.phead h1 { font-family: var(--f-display); font-weight: 500; font-size: 28px; letter-spacing: 0.06em; margin-top: 6px; }
.phead .p-he { font-size: 18px; color: var(--gold-400); margin-top: 2px; }
.phead .ornament { max-width: 150px; margin: 12px auto 0; }

/* ---------- Sélecteur de date ---------- */
.daypick {
  display: grid; grid-template-columns: 48px 1fr 48px; align-items: center;
  padding: 10px;
}
.daypick button {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; color: var(--wine-600);
  border: 1px solid var(--hair); background: var(--ivory-100);
}
.daypick button svg { width: 18px; height: 18px; }
.daypick .dp-mid { text-align: center; }
.daypick .dp-date { font-family: var(--f-display); font-size: 16px; letter-spacing: 0.03em; color: var(--ink); }
.daypick .dp-heb { font-size: 14px; color: var(--ink-3); }
.daypick .dp-today {
  display: inline-block; margin-top: 4px; font-size: 12px; color: var(--gold-700);
  font-family: var(--f-display); letter-spacing: 0.18em; text-transform: uppercase;
}

/* ---------- Liste de zmanim ---------- */
.zlist { padding: 4px 0; }
.zrow {
  position: relative;
  display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center;
  padding: 13px 18px;
}
.zrow + .zrow { border-top: 1px solid rgba(184, 137, 42, 0.13); }
.zrow .z-fr { font-size: 17.5px; color: var(--ink); line-height: 1.2; }
.zrow .z-fr em { font-style: italic; color: var(--ink-3); font-size: 15px; }
.zrow .z-he { display: block; font-size: 14.5px; color: var(--ink-3); margin-top: 2px; text-align: left; direction: rtl; }
.zrow .z-t { text-align: right; }
.zrow .z-t b { font-family: var(--f-serif); font-weight: 600; font-size: 25px; color: var(--ink); letter-spacing: 0.01em; }
.zrow .z-t small { display: block; font-size: 13.5px; color: var(--ink-3); margin-top: -2px; }
.zrow.major .z-t b { color: var(--wine-600); }
.zrow.gold .z-t b { color: var(--gold-700); }
.zrow.past { opacity: 0.45; }
.zrow.next { background: linear-gradient(90deg, rgba(232, 201, 122, 0.22), rgba(232, 201, 122, 0.04)); }
.zrow.next::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--foil); }
.pill {
  display: inline-block; vertical-align: middle; margin-left: 8px;
  font-family: var(--f-display); font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px;
  color: var(--wine-900); background: var(--foil-soft);
}
.pill.muted { color: var(--ink-3); background: var(--ivory-200); }
.note { font-size: 13.5px; color: var(--ink-3); line-height: 1.45; padding: 14px 6px 0; }
.note b { color: var(--ink-2); font-weight: 600; }

/* ---------- Offices ---------- */
.today-offices { display: grid; grid-template-columns: repeat(3, 1fr); }
.today-offices .to { text-align: center; padding: 18px 6px; }
.today-offices .to + .to { border-left: 1px solid rgba(184, 137, 42, 0.16); }
.today-offices .to .he { display: block; font-size: 15px; color: var(--ink-3); }
.today-offices .to .n { font-family: var(--f-display); font-size: 14.5px; letter-spacing: 0.04em; color: var(--wine-600); margin-top: 2px; }
.today-offices .to b { display: block; font-family: var(--f-serif); font-weight: 600; font-size: 30px; line-height: 1.1; margin-top: 6px; }
.today-offices .to b.txt { font-family: var(--f-text); font-size: 16px; font-weight: 500; font-style: italic; color: var(--ink-3); line-height: 1.9; }
.today-offices .to.next { background: linear-gradient(180deg, rgba(232, 201, 122, 0.25), transparent); }
.today-offices .to.past { opacity: 0.45; }

.week { padding: 4px 0; }
.wrow { display: grid; grid-template-columns: 76px repeat(3, 1fr); align-items: center; padding: 12px 14px; }
.wrow + .wrow { border-top: 1px solid rgba(184, 137, 42, 0.13); }
.wrow.head { padding-top: 14px; padding-bottom: 8px; }
.wrow.head span { font-family: var(--f-display); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); text-align: center; }
.wrow .wd { line-height: 1.15; }
.wrow .wd b { font-family: var(--f-display); font-size: 14px; font-weight: 500; color: var(--ink); letter-spacing: 0.03em; }
.wrow .wd small { display: block; font-size: 13px; color: var(--ink-3); }
.wrow .wt { text-align: center; font-family: var(--f-serif); font-weight: 600; font-size: 20px; }
.wrow .wt.txt { font-family: var(--f-text); font-size: 13px; font-style: italic; font-weight: 400; color: var(--ink-3); line-height: 1.2; }
.wrow.is-today { background: linear-gradient(90deg, rgba(232, 201, 122, 0.25), rgba(232, 201, 122, 0.05)); }
.wrow.is-shab { background: rgba(122, 28, 46, 0.045); }
.wrow.is-shab .wd b { color: var(--wine-600); }

/* ---------- Cours ---------- */
.course { display: grid; grid-template-columns: 74px 1fr; gap: 14px; padding: 16px; align-items: center; }
.course + .course { border-top: 1px solid rgba(184, 137, 42, 0.13); }
.course .c-when {
  text-align: center; padding: 10px 4px; border-radius: 14px;
  background: linear-gradient(160deg, var(--wine-600), var(--wine-800)); color: var(--ivory-100);
}
.course .c-when small { display: block; font-family: var(--f-display); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-400); }
.course .c-when b { font-family: var(--f-serif); font-weight: 600; font-size: 22px; line-height: 1.1; }
.course h3 { font-family: var(--f-display); font-size: 16px; font-weight: 500; letter-spacing: 0.02em; color: var(--ink); }
.course p { font-size: 15px; color: var(--ink-3); line-height: 1.3; margin-top: 2px; }

/* ---------- Dons ---------- */
.don-hero { text-align: center; padding: 26px 22px 24px; }
.don-hero .dh-ic { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: var(--foil); color: var(--wine-900); box-shadow: 0 10px 24px -10px rgba(143, 106, 30, 0.7); }
.don-hero .dh-ic svg { width: 30px; height: 30px; }
.don-hero h2 { font-family: var(--f-display); font-weight: 500; font-size: 22px; letter-spacing: 0.04em; color: var(--wine-600); }
.don-hero p { font-size: 16.5px; color: var(--ink-2); margin-top: 8px; }
.don-hero .verse { font-family: var(--f-serif); font-style: italic; font-size: 17px; color: var(--ink-3); margin-top: 14px; }
.don-hero .verse .he { display: block; font-style: normal; font-size: 19px; color: var(--wine-600); margin-bottom: 2px; }

.btn-gold {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 54px; margin-top: 20px; padding: 0 22px;
  border-radius: 999px;
  font-family: var(--f-display); font-size: 14px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--wine-950);
  background: var(--foil);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 12px 26px -12px rgba(143, 106, 30, 0.8);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.btn-gold:active { transform: scale(0.98); filter: brightness(0.96); }
.btn-gold svg { width: 18px; height: 18px; }
.btn-ghost {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 50px; margin-top: 12px; border-radius: 999px;
  font-family: var(--f-display); font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--wine-600); border: 1px solid var(--hair-strong); background: transparent;
}
.secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--ink-3); margin-top: 12px; }
.secure svg { width: 14px; height: 14px; }

/* ---------- Listes (liens, compte) ---------- */
.lrow { display: grid; grid-template-columns: 44px 1fr 18px; gap: 14px; align-items: center; padding: 15px 16px; }
.lrow + .lrow { border-top: 1px solid rgba(184, 137, 42, 0.13); }
.lrow .l-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-600); background: radial-gradient(circle at 30% 30%, #fff, var(--ivory-200)); border: 1px solid var(--hair-strong); }
.lrow .l-ic svg { width: 20px; height: 20px; }
.lrow h3 { font-family: var(--f-display); font-size: 15px; font-weight: 500; letter-spacing: 0.02em; }
.lrow p { font-size: 14.5px; color: var(--ink-3); line-height: 1.25; }
.lrow .l-go { width: 18px; height: 18px; color: var(--gold-500); }
.lrow.locked { opacity: 0.85; }

.member-hero { text-align: center; padding: 26px 22px; }
.member-hero .lock { width: 60px; height: 60px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-400); background: linear-gradient(160deg, var(--wine-600), var(--wine-900)); box-shadow: 0 0 0 4px rgba(232, 201, 122, 0.18); }
.member-hero .lock svg { width: 26px; height: 26px; }
.member-hero h2 { font-family: var(--f-display); font-weight: 500; font-size: 21px; letter-spacing: 0.04em; color: var(--wine-600); }
.member-hero p { font-size: 16px; color: var(--ink-2); margin-top: 8px; }

/* ---------- Chargement / erreur ---------- */
.sk { display: inline-block; height: 0.9em; width: 3.2em; border-radius: 6px; vertical-align: middle;
  background: linear-gradient(90deg, rgba(184, 137, 42, 0.12), rgba(184, 137, 42, 0.28), rgba(184, 137, 42, 0.12));
  background-size: 200% 100%; animation: sk 1.3s ease-in-out infinite; }
.feature .sk { background: linear-gradient(90deg, rgba(232, 201, 122, 0.1), rgba(232, 201, 122, 0.25), rgba(232, 201, 122, 0.1)); background-size: 200% 100%; }
@keyframes sk { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
.err { text-align: center; padding: 22px; color: var(--ink-3); font-size: 15px; }
.err button { margin-top: 10px; color: var(--wine-600); font-family: var(--f-display); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; border-bottom: 1px solid var(--hair-strong); }

/* ============================================================
   BARRE D'ONGLETS
   ============================================================ */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  max-width: 520px; margin: 0 auto;
  padding: 8px 10px calc(8px + var(--safe-b));
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(253, 250, 244, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
  border-top: 1px solid var(--hair);
  box-shadow: 0 -10px 30px -20px rgba(61, 15, 28, 0.4);
}
@media (min-width: 560px) { .tabbar { bottom: 28px; border-radius: 0 0 34px 34px; } }
.tab {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 6px 0 2px;
  font-size: 11.5px; color: var(--ink-3); letter-spacing: 0.02em;
}
.tab svg { width: 23px; height: 23px; }
.tab.on { color: var(--wine-600); }
.tab.on::before { content: ""; position: absolute; top: -9px; width: 26px; height: 2px; border-radius: 2px; background: var(--foil); }
.tab.don-tab svg { color: var(--gold-600); }

/* ---------- Transitions ---------- */
.view { animation: viewIn 0.35s ease both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .view, .sk { animation: none; } }

/* ============================================================
   v2 — ACCUEIL : devise, affiche de Chabbat, prochain cours
   ============================================================ */
.hero .devise { font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: 21px; color: var(--gold-300); margin-top: 8px; letter-spacing: 0.01em; }
.hero .direction { margin-top: 8px; display: flex; flex-direction: column; align-items: center; gap: 1px; }
.hero .direction span { font-family: var(--f-display); font-size: 9.5px; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(245, 228, 176, 0.6); }
.hero .direction b { font-family: var(--f-display); font-weight: 500; font-size: 13.5px; letter-spacing: 0.08em; color: var(--ivory-100); }
.hero .ornament { margin-top: 14px; }

.feature .f-time.txt { font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: 19px; line-height: 1.1; text-align: right; color: var(--gold-300); }
.feature .f-day { margin-top: 12px; font-size: 13.5px; font-style: italic; color: rgba(245, 228, 176, 0.7); }

.poster {
  padding: 0; overflow: hidden;
  background:
    linear-gradient(var(--ivory-50), var(--ivory-50)) padding-box,
    linear-gradient(135deg, var(--gold-400), rgba(184, 137, 42, 0.2) 40%, var(--gold-500)) border-box;
  border: 1px solid transparent;
}
.poster .pz-skel { padding: 20px; }
.pz-head { text-align: center; padding: 22px 18px 16px; background: radial-gradient(90% 120% at 50% 0%, rgba(232, 201, 122, 0.22), transparent 70%); border-bottom: 1px solid var(--hair); }
.pz-title { font-family: var(--f-display); font-weight: 500; font-size: 26px; letter-spacing: 0.05em; color: var(--wine-600); margin-top: 8px; line-height: 1.1; }
.pz-he { font-size: 20px; color: var(--ink-3); margin-top: 2px; text-align: center; }
.pz-date { font-family: var(--f-serif); font-size: 17px; color: var(--ink-2); margin-top: 4px; }
.pz-body { padding: 4px 18px 6px; }
.pz { padding: 14px 0 6px; }
.pz + .pz { border-top: 1px solid rgba(184, 137, 42, 0.16); }
.pz-h { display: flex; align-items: center; gap: 9px; font-family: var(--f-display); font-weight: 500; font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--wine-600); margin-bottom: 4px; }
.pz-h svg { width: 17px; height: 17px; color: var(--gold-600); }
.pr { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 0; }
.pr-l span { font-size: 18px; color: var(--ink); line-height: 1.2; display: block; }
.pr-l em { display: block; font-size: 14px; color: var(--ink-3); line-height: 1.25; }
.pr b { font-family: var(--f-serif); font-weight: 600; font-size: 28px; color: var(--ink); line-height: 1; flex: none; }
.pr.sub { padding: 2px 0 6px; }
.pr.sub .pr-l span { font-size: 15px; color: var(--ink-3); }
.pr.sub b { font-size: 19px; color: var(--ink-3); }
.pr.gold b { color: var(--gold-700); }
.pz-info ul { list-style: none; display: grid; gap: 8px; margin: 6px 0 4px; }
.pz-info li { display: flex; gap: 10px; align-items: flex-start; font-size: 16.5px; line-height: 1.3; color: var(--ink-2); }
.pz-info li svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--gold-600); }
.pz-info li.success svg { color: #3f7a4f; }
.pz-info li.warning svg { color: var(--wine-500); }
.pz-info li.info svg { width: 9px; height: 9px; margin: 8px 4px 0; }
.pz-ann { font-family: var(--f-serif); font-style: italic; font-size: 17px; color: var(--wine-600); margin: 8px 0 4px; padding-left: 12px; border-left: 2px solid var(--gold-400); }
.pz-foot { text-align: center; padding: 14px 18px 16px; margin-top: 4px; background: linear-gradient(180deg, transparent, rgba(232, 201, 122, 0.16)); border-top: 1px solid var(--hair); }
.pz-wish { font-family: var(--f-serif); font-style: italic; font-weight: 600; font-size: 21px; color: var(--wine-600); }
.pz-wish-he { font-size: 16px; color: var(--gold-700); text-align: center; }
.pz-note { font-size: 12.5px; color: var(--ink-3); margin-top: 8px; font-style: italic; }
.pz-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-family: var(--f-display); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--wine-600); }
.pz-link svg { width: 13px; height: 13px; }

.nextcourse { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; }
.nc-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-600); background: radial-gradient(circle at 30% 30%, #fff, var(--ivory-200)); border: 1px solid var(--hair-strong); }
.nc-ic svg { width: 20px; height: 20px; }
.nc-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.nc-txt .eyebrow { font-size: 9.5px; }
.nc-txt b { font-family: var(--f-display); font-weight: 500; font-size: 15px; letter-spacing: 0.02em; margin-top: 2px; }
.nc-txt > span { font-size: 14px; color: var(--ink-3); }
.nc-when { text-align: right; }
.nc-when b { font-family: var(--f-serif); font-weight: 600; font-size: 24px; display: block; line-height: 1; }
.nc-when small { font-size: 12.5px; color: var(--ink-3); }

.tile.wide { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; min-height: 0; padding: 14px 16px;
  background: linear-gradient(135deg, var(--ivory-50), var(--ivory-200)); border-color: var(--hair-strong); }
.tile.wide .t-name { margin-top: 0; }
.tile.wide .t-txt { flex: 1; }
.tile.wide .t-go { width: 18px; height: 18px; color: var(--gold-500); flex: none; }
.tile.wide .t-ic { background: var(--foil); color: var(--wine-900); border: 0; flex: none; }

.day-title { display: flex; align-items: baseline; gap: 10px; margin: 8px 6px 8px; }
.day-title b { font-family: var(--f-display); font-weight: 500; font-size: 15px; letter-spacing: 0.06em; color: var(--wine-600); }
.day-title span { font-size: 15px; color: var(--ink-3); }
.course.cx h3, .course.cx .c-when b { text-decoration: line-through; text-decoration-thickness: 1px; }
.course.cx { opacity: 0.6; }
.course .c-note { font-style: italic; color: var(--wine-600); }
.pill.cancel { color: #fff; background: var(--wine-500); }

/* ============================================================
   v2 — FORMULAIRES, BOUTONS, ÉTATS
   ============================================================ */
.form { padding: 18px; display: grid; gap: 14px; }
.field label { display: flex; align-items: center; gap: 8px; font-family: var(--f-display); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wine-600); margin-bottom: 6px; }
.field label i { font-family: var(--f-text); font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--ink-3); }
.inp {
  width: 100%; min-height: 48px; padding: 10px 14px;
  font: inherit; font-size: 17px; color: var(--ink);
  background: var(--ivory-100); border: 1px solid var(--hair-strong); border-radius: var(--r-sm);
  appearance: none; -webkit-appearance: none; outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
textarea.inp { min-height: 84px; resize: vertical; line-height: 1.35; }
select.inp { background-image: linear-gradient(45deg, transparent 50%, var(--gold-600) 50%), linear-gradient(135deg, var(--gold-600) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
input[type="time"].inp, input[type="date"].inp { font-family: var(--f-serif); font-weight: 600; font-size: 19px; }
.inp:focus { border-color: var(--gold-600); background: #fff; box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.25); }
.inp::placeholder { color: rgba(138, 107, 85, 0.65); font-style: italic; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row2 > * { min-width: 0; }
.hint { font-size: 13.5px; color: var(--ink-3); line-height: 1.35; margin-top: 6px; }
.hint.learn { color: var(--gold-700); font-style: italic; }
.f-legend { font-family: var(--f-display); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--wine-600); }
.f-legend i { font-family: var(--f-text); font-size: 13px; text-transform: none; letter-spacing: 0; color: var(--ink-3); }
.f-h { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 500; font-size: 16px; letter-spacing: 0.05em; color: var(--wine-600); }
.f-h svg { width: 20px; height: 20px; color: var(--gold-600); }
.alert { padding: 11px 14px; border-radius: var(--r-sm); font-size: 15px; line-height: 1.3; }
.alert[hidden] { display: none; }
.alert.err { color: #7a1c2e; background: rgba(155, 36, 56, 0.08); border: 1px solid rgba(155, 36, 56, 0.25); }
.lnk { color: var(--wine-600); border-bottom: 1px solid var(--hair-strong); }

.btn-gold.loading, .btn-ghost.loading, .btn-sm.loading { opacity: 0.6; pointer-events: none; }
.btn-gold:disabled { opacity: 0.6; }
.btn-ghost.sm { min-height: 42px; font-size: 11.5px; margin-top: 0; }
.btn-ghost.sm svg { width: 16px; height: 16px; }
.btn-ghost { transition: background 0.15s; }
.btn-ghost:active { background: rgba(212, 168, 67, 0.12); }
.btn-ghost svg { width: 16px; height: 16px; }
.btn-gold + .btn-ghost { margin-top: 10px; }
.btn-sm { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 0 16px; border-radius: 999px; font-family: var(--f-display); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wine-950); background: var(--foil); white-space: nowrap; box-shadow: 0 8px 16px -10px rgba(143, 106, 30, 0.8); }
.btn-sm svg { width: 14px; height: 14px; }
.btn-sm.ghost { background: transparent; color: var(--wine-600); border: 1px solid var(--hair-strong); box-shadow: none; padding: 0 12px; }
.btn-danger { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 46px; border-radius: 999px; color: var(--wine-500); border: 1px solid rgba(155, 36, 56, 0.35); font-family: var(--f-display); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.btn-danger svg { width: 16px; height: 16px; }
.actionbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; position: sticky; bottom: calc(var(--tabbar-h) + var(--safe-b) + 8px); z-index: 4; padding: 10px; margin: 0 -8px; border-radius: 20px; background: rgba(253, 250, 244, 0.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--hair); box-shadow: 0 14px 30px -18px rgba(61, 15, 28, 0.55); }
.actionbar .btn-gold, .actionbar .btn-ghost { margin-top: 0; min-height: 48px; font-size: 11.5px; letter-spacing: 0.12em; padding: 0 10px; }

.st { display: inline-block; vertical-align: middle; font-family: var(--f-display); font-size: 9.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; line-height: 1.2; }
.st.free { color: #2f6b43; background: rgba(63, 122, 79, 0.12); border: 1px solid rgba(63, 122, 79, 0.3); }
.st.pending { color: var(--gold-700); background: rgba(212, 168, 67, 0.16); border: 1px solid rgba(184, 137, 42, 0.4); }
.st.paid { color: #2f6b43; background: rgba(63, 122, 79, 0.14); border: 1px solid rgba(63, 122, 79, 0.35); }
.st.cancelled { color: var(--ink-3); background: var(--ivory-200); border: 1px solid var(--hair); }
.st.admin { color: var(--ivory-100); background: linear-gradient(160deg, var(--wine-600), var(--wine-800)); }

.toast { position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + var(--safe-b) + 22px); transform: translate(-50%, 14px); z-index: 80; max-width: min(92vw, 440px); padding: 12px 20px; border-radius: 999px; font-size: 15.5px; text-align: center; color: var(--ivory-100); background: var(--wine-900); border: 1px solid rgba(232, 201, 122, 0.4); box-shadow: var(--shadow-deep); opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: #5c1220; }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; margin: 14px 14px 0; border-radius: 999px; background: var(--ivory-200); border: 1px solid var(--hair); }
.seg button { min-height: 42px; border-radius: 999px; font-family: var(--f-display); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); transition: background 0.2s, color 0.2s; }
.seg button.on { color: var(--wine-950); background: var(--foil-soft); box-shadow: 0 6px 14px -8px rgba(143, 106, 30, 0.9); }
.seg.sm { margin: 0; }
.seg.sm button { min-height: 38px; font-size: 10.5px; }

.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 58px; padding: 8px 10px; border-radius: var(--r-sm); text-align: center; background: var(--ivory-100); border: 1px solid var(--hair-strong); transition: all 0.15s; }
.chip b { font-family: var(--f-display); font-weight: 500; font-size: 13px; letter-spacing: 0.04em; color: var(--ink); }
.chip i { font-style: normal; font-size: 15px; color: var(--ink-3); }
.chip input:checked + span { background: linear-gradient(160deg, var(--wine-600), var(--wine-800)); border-color: var(--gold-500); box-shadow: 0 8px 18px -10px rgba(61, 15, 28, 0.8); }
.chip input:checked + span b { color: var(--ivory-100); }
.chip input:checked + span i { color: var(--gold-400); }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.4); }
.chip:last-child:nth-child(odd) { grid-column: 1 / -1; }

.callout { display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border-radius: var(--r-md); background: rgba(122, 28, 46, 0.05); border: 1px solid rgba(122, 28, 46, 0.14); font-size: 15px; line-height: 1.35; color: var(--ink-2); }
.callout > svg { width: 22px; height: 22px; flex: none; color: var(--wine-600); margin-top: 1px; }
.callout.gold { background: rgba(232, 201, 122, 0.2); border-color: var(--hair-strong); }
.callout.gold > svg { color: var(--gold-700); }

.recap { display: grid; gap: 0; border-radius: var(--r-md); border: 1px solid var(--hair-strong); background: var(--ivory-100); overflow: hidden; text-align: left; }
.recap > div { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; font-size: 16px; color: var(--ink-2); }
.recap > div + div { border-top: 1px solid var(--hair); }
.recap b { font-family: var(--f-serif); font-weight: 600; font-size: 22px; color: var(--ink); }
.recap .total { background: linear-gradient(90deg, rgba(232, 201, 122, 0.25), rgba(232, 201, 122, 0.06)); }
.recap .total span { font-family: var(--f-display); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wine-600); }
.recap .total b { font-size: 28px; color: var(--gold-700); }

/* ============================================================
   v2 — KIDDOUCH
   ============================================================ */
.k-seal, .seal { width: 60px; height: 60px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: var(--foil); color: var(--wine-900); box-shadow: 0 10px 24px -10px rgba(143, 106, 30, 0.7), 0 0 0 5px rgba(232, 201, 122, 0.18); }
.k-seal svg, .seal svg { width: 28px; height: 28px; }
.k-intro, .gate, .done { text-align: center; padding: 24px 20px 22px; }
.k-intro h2, .gate h2, .done h2 { font-family: var(--f-display); font-weight: 500; font-size: 22px; letter-spacing: 0.04em; color: var(--wine-600); }
.k-intro > p, .gate > p { font-size: 16.5px; color: var(--ink-2); margin-top: 8px; }
.k-promise { display: flex; gap: 12px; align-items: flex-start; text-align: left; margin-top: 16px; padding: 14px; border-radius: var(--r-md); background: rgba(232, 201, 122, 0.2); border: 1px solid var(--hair-strong); }
.k-promise svg { width: 24px; height: 24px; flex: none; color: var(--gold-700); }
.k-promise p { font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.k-promise b { color: var(--wine-600); }
.gate .btn-gold { margin-top: 18px; }
.kitem { display: grid; grid-template-columns: 62px 1fr auto; gap: 14px; align-items: center; padding: 14px 14px 14px 12px; }
.k-date, .kitem .k-date { text-align: center; padding: 8px 4px; border-radius: 14px; background: linear-gradient(160deg, var(--wine-600), var(--wine-800)); color: var(--ivory-100); line-height: 1.05; }
.k-date small { display: block; font-family: var(--f-display); font-size: 8.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-400); }
.k-date b { display: block; font-family: var(--f-serif); font-weight: 600; font-size: 26px; }
.k-date span { font-size: 12.5px; color: var(--gold-300); }
.kitem.taken .k-date { background: linear-gradient(160deg, #8a6b55, #5c4636); }
.kitem h3 { font-family: var(--f-display); font-weight: 500; font-size: 16px; letter-spacing: 0.03em; line-height: 1.2; }
.kitem h3 .he { font-size: 15px; color: var(--ink-3); margin-left: 4px; }
.k-sub { font-size: 14.5px; color: var(--ink-3); margin: 1px 0 6px; }
.k-by { font-size: 15px; color: var(--ink-2); }
.k-by b { font-weight: 600; color: var(--wine-600); }
.k-ded { font-family: var(--f-serif); font-style: italic; font-size: 16px; color: var(--ink-2); line-height: 1.25; }
.kitem.taken { background: linear-gradient(var(--ivory-50), var(--ivory-100)); }
.k-lock { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-600); border: 1px solid var(--hair-strong); }
.k-lock svg { width: 15px; height: 15px; }
.k-recap-head { display: grid; grid-template-columns: 62px 1fr; gap: 14px; align-items: center; padding: 14px; }
.k-recap-head h2 { font-family: var(--f-display); font-weight: 500; font-size: 21px; color: var(--wine-600); letter-spacing: 0.04em; }
.done .seal { width: 68px; height: 68px; }
.done .seal svg { width: 32px; height: 32px; }
.done .eyebrow { margin-top: 4px; }
.done h2 { margin-top: 6px; font-size: 26px; }
.done-lead { font-size: 17.5px; color: var(--ink-2); margin: 10px 0 14px; line-height: 1.35; }
.done-lead b { color: var(--wine-600); font-weight: 600; }
.done-note { font-size: 15px; color: var(--ink-3); margin: 14px 0 4px; line-height: 1.4; }
.done .recap { margin-top: 14px; }
.dedic { margin: 0 0 14px; padding: 14px; border-radius: var(--r-md); background: linear-gradient(160deg, var(--wine-700), var(--wine-900)); color: var(--ivory-100); }
.dedic .he { display: block; font-size: 20px; color: var(--gold-400); }
.dedic p { font-family: var(--f-serif); font-style: italic; font-size: 19px; margin-top: 2px; }
.dedic.sm { padding: 8px 12px; margin: 10px 0 0; text-align: left; }
.dedic.sm p { font-size: 16px; }
.done .btn-gold { margin-top: 18px; }

/* ============================================================
   v2 — COMPTE
   ============================================================ */
.auth { padding-bottom: 20px; }
.auth .form { padding-top: 16px; }
.auth .secure { margin-top: 0; }
.forgot { display: block; text-align: center; margin-top: 4px; padding: 10px; font-size: 15px; color: var(--wine-600); text-decoration: underline; text-decoration-color: var(--hair-strong); text-underline-offset: 4px; }
.lead { font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.sent { text-align: center; padding: 26px 18px 14px; }
.sent .l-ic { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-600); background: radial-gradient(circle at 30% 30%, #fff, var(--ivory-200)); border: 1px solid var(--hair-strong); }
.sent .l-ic svg { width: 24px; height: 24px; }
.sent h2 { font-family: var(--f-display); font-weight: 500; font-size: 21px; letter-spacing: 0.04em; color: var(--wine-600); margin-bottom: 8px; }
.sent p { font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.member { text-align: center; padding: 24px 18px 20px; }
.avatar { width: 74px; height: 74px; margin: 0 auto 12px; border-radius: 50%; padding: 3px; background: var(--foil); box-shadow: 0 0 0 5px rgba(232, 201, 122, 0.14); }
.avatar span { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-weight: 600; font-size: 24px; letter-spacing: 0.04em; color: var(--gold-400); background: linear-gradient(160deg, var(--wine-600), var(--wine-900)); }
.avatar.sm { width: 46px; height: 46px; margin: 0; padding: 2px; }
.avatar.sm span { font-size: 15px; }
.member h2 { font-family: var(--f-display); font-weight: 500; font-size: 23px; letter-spacing: 0.04em; color: var(--wine-600); }
.m-mail { font-size: 15px; color: var(--ink-3); margin-bottom: 8px; }
.admin-link { display: grid; grid-template-columns: 44px 1fr auto 18px; gap: 14px; align-items: center; padding: 15px 16px; border-radius: var(--r-lg); color: var(--ivory-100); background: radial-gradient(100% 140% at 0% 0%, rgba(232, 201, 122, 0.22), transparent 55%), linear-gradient(135deg, var(--wine-600), var(--wine-900)); box-shadow: var(--shadow-deep), 0 0 0 1px rgba(212, 168, 67, 0.35) inset; }
.admin-link .l-ic { background: rgba(232, 201, 122, 0.12); color: var(--gold-400); border-color: rgba(232, 201, 122, 0.4); }
.admin-link h3 { font-family: var(--f-display); font-weight: 500; font-size: 15.5px; letter-spacing: 0.04em; }
.admin-link p { font-size: 14px; color: rgba(245, 228, 176, 0.75); }
.admin-link .l-go { width: 18px; height: 18px; color: var(--gold-400); }
.badge { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center; font-family: var(--f-text); font-size: 12.5px; font-weight: 600; color: #fff; background: var(--wine-500); line-height: 1; }
.badge[hidden] { display: none; }
.promise { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 14px; }
.promise.off { opacity: 0.55; }
.promise .l-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-600); background: radial-gradient(circle at 30% 30%, #fff, var(--ivory-200)); border: 1px solid var(--hair-strong); }
.promise .l-ic svg { width: 20px; height: 20px; }
.pm-body h3 { font-family: var(--f-display); font-weight: 500; font-size: 14px; letter-spacing: 0.02em; line-height: 1.25; }
.pm-body p { font-size: 13.5px; color: var(--ink-3); margin: 1px 0 5px; }
.pm-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.pm-side b { font-family: var(--f-serif); font-weight: 600; font-size: 22px; line-height: 1; }
.lrow.mk { grid-template-columns: 44px 1fr; }

/* ============================================================
   v2 — ADMIN
   ============================================================ */
.pills { display: flex; gap: 8px; overflow-x: auto; padding: 14px 18px 4px; margin-top: 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.pills::-webkit-scrollbar { display: none; }
.ptab { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 16px; border-radius: 999px; font-family: var(--f-display); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); background: var(--ivory-50); border: 1px solid var(--hair-strong); }
.ptab.on { color: var(--wine-950); background: var(--foil-soft); border-color: transparent; box-shadow: 0 8px 16px -10px rgba(143, 106, 30, 0.9); }
.adm { padding-top: 14px; }
.adm > .btn-gold { margin-top: 0; }
.banner { display: grid; grid-template-columns: 44px 1fr 18px; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--r-lg); color: var(--wine-950); background: linear-gradient(135deg, var(--gold-300), var(--gold-400) 60%, var(--gold-500)); box-shadow: 0 16px 30px -18px rgba(143, 106, 30, 0.9), 0 0 0 1px rgba(143, 106, 30, 0.35) inset; }
.bn-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--wine-800); color: var(--gold-400); }
.bn-ic svg { width: 22px; height: 22px; }
.bn-txt b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; }
.bn-txt span { font-size: 14.5px; color: var(--wine-800); line-height: 1.25; display: block; }
.bn-go { width: 18px; height: 18px; color: var(--wine-800); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stats:empty { display: none; }
.stat { text-align: center; padding: 14px 6px; border-radius: var(--r-md); background: var(--ivory-50); border: 1px solid var(--hair); box-shadow: var(--shadow-card); }
.stat b { display: block; font-family: var(--f-serif); font-weight: 600; font-size: 32px; line-height: 1; color: var(--wine-600); }
.stat span { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.2; color: var(--ink-3); }

.chips-row { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; margin: 0 -18px; padding-left: 18px; padding-right: 18px; scrollbar-width: none; }
.chips-row::-webkit-scrollbar { display: none; }
.satchip { flex: none; position: relative; width: 56px; padding: 8px 0 12px; text-align: center; border-radius: 16px; background: var(--ivory-50); border: 1px solid var(--hair-strong); line-height: 1.1; }
.satchip small { display: block; font-family: var(--f-display); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.satchip b { display: block; font-family: var(--f-serif); font-weight: 600; font-size: 24px; color: var(--ink); }
.satchip i { position: absolute; left: 50%; bottom: 6px; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--hair-strong); }
.satchip.published i, .dot.published { background: #3f7a4f; }
.satchip.draft i, .dot.draft { background: var(--gold-500); }
.satchip.on { background: linear-gradient(160deg, var(--wine-600), var(--wine-800)); border-color: var(--gold-500); }
.satchip.on small { color: var(--gold-400); } .satchip.on b { color: var(--ivory-100); }
.legend { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); margin: -4px 4px 0; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--hair-strong); margin-left: 8px; }
.dot:first-child { margin-left: 0; }
.wf-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.wf-top h2 { font-family: var(--f-display); font-weight: 500; font-size: 17px; letter-spacing: 0.04em; color: var(--wine-600); }
fieldset { border: 0; display: grid; gap: 12px; padding: 14px 0 0; border-top: 1px solid var(--hair); }
legend { display: flex; align-items: center; gap: 8px; float: left; width: 100%; margin-bottom: 12px; font-family: var(--f-display); font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--wine-600); }
legend + * { clear: both; }
legend svg { width: 18px; height: 18px; color: var(--gold-600); }
.iw { position: relative; }
.sugg-tag { display: none; position: absolute; right: 12px; top: -9px; background: var(--ivory-50) !important; font-family: var(--f-display); font-size: 8.5px; letter-spacing: 0.14em; padding: 2px 7px; border-radius: 999px; color: var(--gold-700); background: rgba(212, 168, 67, 0.2); border: 1px solid rgba(184, 137, 42, 0.4); }
.is-sugg .sugg-tag { display: inline-block; }
.inp.sugg, .is-sugg .inp { background: linear-gradient(90deg, rgba(232, 201, 122, 0.3), rgba(232, 201, 122, 0.12)); border-color: var(--gold-500); }
.sugg-demo { padding: 0 6px; border-radius: 6px; background: rgba(232, 201, 122, 0.4); }
.week-d { border-top: 1px solid var(--hair); padding-top: 14px; }
.week-d summary { display: flex; align-items: center; gap: 8px; list-style: none; cursor: pointer; font-family: var(--f-display); font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--wine-600); }
.week-d summary::-webkit-details-marker { display: none; }
.week-d summary svg { width: 18px; height: 18px; color: var(--gold-600); }
.week-d summary small { margin-left: auto; font-family: var(--f-text); font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--ink-3); }
.wk-head, .wkrow { display: grid; grid-template-columns: 40px repeat(3, 1fr); gap: 6px; align-items: center; }
.wk-head { margin: 12px 0 4px; }
.wk-head span { font-family: var(--f-display); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); text-align: center; }
.wkrow { margin-top: 6px; }
.wkrow b { font-family: var(--f-display); font-weight: 500; font-size: 12px; color: var(--ink); }
.wkrow .inp { min-height: 42px; padding: 6px 4px; font-size: 16px; text-align: center; }
.wk-na { grid-column: 3 / -1; font-size: 12.5px; color: var(--ink-3); font-style: italic; }
.inforow { display: grid; grid-template-columns: 96px 1fr 38px; gap: 6px; margin-bottom: 8px; }
.inforow .inp { min-height: 44px; font-size: 15.5px; padding: 8px 10px; }
.inforow select.inp { padding-right: 26px; background-position: calc(100% - 15px) 19px, calc(100% - 10px) 19px; }
.inforow.is-sugg .inp { background: linear-gradient(90deg, rgba(232, 201, 122, 0.3), rgba(232, 201, 122, 0.12)); border-color: var(--gold-500); }
.ib-x { width: 38px; height: 44px; display: grid; place-items: center; color: var(--ink-3); }
.ib-x svg { width: 16px; height: 16px; }

.cr { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 16px; }
.cr.off { opacity: 0.55; }
.cr-body { min-width: 0; }
.cr-body h3 { font-family: var(--f-display); font-weight: 500; font-size: 15.5px; letter-spacing: 0.02em; line-height: 1.25; }
.cr-body p { font-size: 14.5px; color: var(--ink-2); line-height: 1.3; }
.cr-body .cr-sub { color: var(--ink-3); }
.cr-act { display: flex; flex-direction: column; gap: 6px; flex: none; }
.cr-act .btn-sm { min-height: 34px; font-size: 10px; }
.occ { padding: 12px 14px; }
.occ + .occ { border-top: 1px solid rgba(184, 137, 42, 0.13); }
.oc-row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; }
.oc-when b { display: block; font-family: var(--f-display); font-weight: 500; font-size: 14.5px; letter-spacing: 0.02em; }
.oc-when span { font-size: 14px; color: var(--ink-3); }
.occ.cancelled .oc-when b { text-decoration: line-through; }
.oc-note { font-size: 14px; font-style: italic; color: var(--wine-600); margin-top: 4px; }
.oc-form { padding: 12px 0 2px; }
.oc-form[hidden], .oc-chg[hidden], #k-weekly[hidden], #k-one[hidden] { display: none; }
.bk { padding: 14px; }
.bk.off { opacity: 0.55; }
.bk-top { display: grid; grid-template-columns: 58px 1fr; gap: 12px; align-items: center; }
.bk-main h3 { font-family: var(--f-display); font-weight: 500; font-size: 15.5px; letter-spacing: 0.02em; }
.bk-c, .bk-w { font-size: 14px; color: var(--ink-3); line-height: 1.3; word-break: break-word; }
.bk-c a { color: var(--wine-600); }
.bk-msg { font-size: 15px; font-style: italic; color: var(--ink-2); margin-top: 8px; }
.bk-bot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--hair); }
.bk-bot b { font-family: var(--f-serif); font-weight: 600; font-size: 22px; margin-right: 6px; }
.bk-act { display: flex; gap: 8px; }
.notif { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; }
.notif + .notif { border-top: 1px solid rgba(184, 137, 42, 0.13); }
.notif .l-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-600); background: radial-gradient(circle at 30% 30%, #fff, var(--ivory-200)); border: 1px solid var(--hair-strong); }
.notif .l-ic svg { width: 20px; height: 20px; }
.notif h3 { font-family: var(--f-display); font-weight: 500; font-size: 14.5px; letter-spacing: 0.02em; line-height: 1.25; }
.notif p { font-size: 14.5px; color: var(--ink-2); line-height: 1.3; }
.notif small { font-size: 12.5px; color: var(--ink-3); }
.notif.unread { background: linear-gradient(90deg, rgba(232, 201, 122, 0.22), transparent); box-shadow: inset 3px 0 0 var(--gold-500); }
.mb { padding: 14px; display: grid; gap: 12px; }
.mb-top { display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: center; }
.mb-top h3 { font-family: var(--f-display); font-weight: 500; font-size: 15px; letter-spacing: 0.02em; }
.mb-top p { font-size: 14px; color: var(--ink-3); word-break: break-word; }
.mb-bot { display: grid; gap: 10px; }
.inline { display: flex; gap: 8px; }
.inline .inp { min-height: 42px; font-size: 15.5px; }
.field.mini2 label { margin-bottom: 4px; }
.search { border-radius: 999px; padding-left: 18px; }
.rule { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 4px 0; }
.rule + .rule { border-top: 1px solid rgba(184, 137, 42, 0.12); padding-top: 12px; }
.rule > span { font-size: 16.5px; }
.rl-in { display: flex; align-items: center; gap: 8px; }
.rl-in .inp { width: 74px; text-align: center; min-height: 44px; font-family: var(--f-serif); font-weight: 600; font-size: 19px; padding: 6px; }
.rl-in em { font-size: 12.5px; color: var(--ink-3); font-style: normal; width: 104px; line-height: 1.2; }
.sh-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sh-grid label { margin-bottom: 4px; }
.sh-grid .inp { min-height: 44px; padding: 6px; text-align: center; font-size: 17px; }
.filters { margin: 0 0 4px; }
.tl { padding: 6px 0; }
.tl-i { display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 12px 14px; position: relative; }
.tl-i + .tl-i { border-top: 1px solid rgba(184, 137, 42, 0.13); }
.tl-ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-700); background: rgba(232, 201, 122, 0.22); border: 1px solid var(--hair-strong); }
.tl-ic svg { width: 16px; height: 16px; }
.tl-ic.delete, .tl-ic.cancel { color: var(--wine-500); background: rgba(155, 36, 56, 0.08); border-color: rgba(155, 36, 56, 0.25); }
.tl-ic.publish, .tl-ic.create { color: #2f6b43; background: rgba(63, 122, 79, 0.12); border-color: rgba(63, 122, 79, 0.3); }
.tl-b p { font-size: 16px; line-height: 1.3; color: var(--ink-2); }
.tl-b p b { color: var(--ink); font-weight: 600; }
.tl-b small { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.tl-b details { margin-top: 6px; }
.tl-b summary { cursor: pointer; font-family: var(--f-display); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wine-600); }
.dfs { margin-top: 8px; border-radius: var(--r-sm); border: 1px solid var(--hair); background: var(--ivory-100); overflow: hidden; }
.df { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; padding: 8px 10px; font-size: 13.5px; line-height: 1.3; word-break: break-word; }
.df + .df { border-top: 1px solid var(--hair); }
.df code { grid-column: 1 / -1; font-family: var(--f-display); font-size: 9px; letter-spacing: 0.1em; color: var(--ink-3); text-transform: none; }
.df .df-b { color: var(--wine-500); text-decoration: line-through; text-decoration-color: rgba(155, 36, 56, 0.4); }
.df .df-a { color: #2f6b43; }
.df.head { background: var(--ivory-200); }
.df.head span { font-family: var(--f-display); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.df-none { font-size: 13.5px; color: var(--ink-3); padding: 10px; }
@media (max-width: 360px) { .inforow { grid-template-columns: 96px 1fr 34px; } .kitem { grid-template-columns: 56px 1fr auto; } }

/* ---------- WhatsApp ---------- */
.wa-slot { margin-top: 12px; }
.wa-slot:empty { display: none; }
.wa { text-align: center; padding: 16px 16px 14px; border-radius: var(--r-lg); background: var(--ivory-50); border: 1px solid var(--hair); box-shadow: var(--shadow-card); }
.wa .eyebrow { font-size: 10px; margin-bottom: 10px; }
.wa-btn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 54px; padding: 0 22px; border-radius: 999px; color: #fff; background: #25D366; font-family: var(--f-display); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; box-shadow: 0 12px 24px -12px rgba(37, 211, 102, 0.75), 0 1px 0 rgba(255, 255, 255, 0.35) inset; transition: background 0.15s, transform 0.15s; }
.wa-btn:hover, .wa-btn:active { background: #1EBE5A; }
.wa-btn:active { transform: scale(0.98); }
.wa-ic { width: 24px; height: 24px; flex: none; }
.wa-go { width: 18px; height: 18px; color: var(--gold-500); }

#k-weekly:not([hidden]), #k-one:not([hidden]) { display: grid; gap: 14px; }
.field label { flex-wrap: wrap; row-gap: 0; }

.form > *, .stack > * { min-width: 0; }
.row2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.inp { min-width: 0; }
.rl-in em { width: 92px; }
.rule > span { min-width: 0; }

.lift > div:first-child > .day-title b { color: var(--gold-300); }
.lift > div:first-child > .day-title span { color: rgba(245, 228, 176, 0.75); }
.sh-grid .inp { padding: 6px 2px; font-size: 16px; }

/* ============================================================
   v3 — mots de passe, installation, invitations
   ============================================================ */
.pw { position: relative; }
.pw .inp { padding-right: 52px; }
.pw-t { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; color: var(--wine-600); border-radius: 50%; }
.pw-t svg { width: 20px; height: 20px; }
.pw-ghost { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; border: 0; padding: 0; }
.admin-link.light { width: 100%; text-align: left; color: var(--ink); background: var(--ivory-100); box-shadow: 0 0 0 1px var(--hair-strong) inset; }
.admin-link.light .l-ic { background: radial-gradient(circle at 30% 30%, #fff, var(--ivory-200)); color: var(--gold-600); border-color: var(--hair-strong); }
.admin-link.light h3 { color: var(--wine-600); }
.admin-link.light p { color: var(--ink-3); }
.install { position: fixed; z-index: 60; left: 12px; right: 12px; max-width: 480px; margin: 0 auto; bottom: calc(var(--tabbar-h) + var(--safe-b) + 12px); padding: 18px 18px 16px; border-radius: var(--r-lg); background: var(--ivory-50, #fdfaf4); border: 1px solid var(--gold-500); box-shadow: var(--shadow-deep); animation: inst-up 0.35s ease both; }
@keyframes inst-up { from { opacity: 0; transform: translateY(18px); } }
.install .x { position: absolute; top: 6px; right: 6px; width: 40px; height: 40px; display: grid; place-items: center; color: var(--ink-3); }
.install .x svg { width: 18px; height: 18px; }
.i-top { display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: center; padding-right: 30px; margin-bottom: 14px; }
.i-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--gold-400); background: linear-gradient(160deg, var(--wine-600), var(--wine-900)); }
.i-ic svg { width: 22px; height: 22px; }
.i-top h3 { font-family: var(--f-display); font-weight: 500; font-size: 16px; letter-spacing: 0.03em; color: var(--wine-600); }
.i-top p { font-size: 14.5px; line-height: 1.3; color: var(--ink-3); }
.steps { list-style: none; display: grid; gap: 8px; }
.steps li { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; font-size: 16px; padding: 8px 10px; border-radius: var(--r-sm); background: var(--ivory-100); border: 1px solid var(--hair); }
.s-ic { width: 38px; height: 38px; display: grid; place-items: center; color: var(--wine-600); }
.s-ic svg { width: 24px; height: 24px; }
.inv-share { display: grid; gap: 10px; }
.inv-share .btn-ghost { margin-top: 0; }
.linkbox { display: flex; gap: 8px; }
.linkbox .inp { font-size: 14px; min-width: 0; }
.inv-item { padding: 14px; display: grid; gap: 10px; }
.inv-item h3 { font-family: var(--f-display); font-weight: 500; font-size: 15px; letter-spacing: 0.02em; }
.inv-item p { font-size: 14px; color: var(--ink-3); word-break: break-word; }
.inv-item .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.st.expired { color: #7a1c2e; background: rgba(155, 36, 56, 0.08); border: 1px solid rgba(155, 36, 56, 0.25); }
.alert.ok { color: #2f6b43; background: rgba(63, 122, 79, 0.1); border: 1px solid rgba(63, 122, 79, 0.3); display: flex; align-items: center; gap: 8px; }
.alert.ok svg { width: 18px; height: 18px; flex: none; }
.field .chip { display: block; margin: 0; font: inherit; letter-spacing: normal; text-transform: none; color: inherit; }
