/* Prête-moi — feuille de style unique
   Identité : étiquettes de prêt (forme « étiquette à œillet ») sur un fond sauge clair,
   vert sapin pour les actions, jaune kraft pour ce qui est prêté. */

@font-face {
  font-family: 'Bricolage';
  src: url('../fonts/bricolage.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: 'Atkinson';
  src: url('../fonts/atkinson-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Atkinson';
  src: url('../fonts/atkinson-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #f3f5f1;
  --surface: #ffffff;
  --surface-2: #e8ece6;
  --ink: #1d2826;
  --ink-2: #56635f;
  --line: #d3dbd5;
  --primary: #1f5f50;
  --primary-hover: #184c40;
  --primary-ink: #ffffff;
  --primary-soft: #dcebe4;

  --tag-free-bg: #dcebe4;   --tag-free-ink: #1f5f50;
  --tag-lent-bg: #f2c14e;   --tag-lent-ink: #3a2e05;
  --tag-held-bg: #dbe5f4;   --tag-held-ink: #2c5590;
  --tag-late-bg: #f5d3ca;   --tag-late-ink: #8f2f1c;
  --tag-off-bg: #e3e5e3;    --tag-off-ink: #5b6461;

  --danger: #a8402c;
  --shadow: 0 1px 2px rgba(20, 40, 35, .06), 0 4px 14px rgba(20, 40, 35, .06);
  --radius: 14px;
  --font-display: 'Bricolage', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Atkinson', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --nav-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111816;
    --surface: #19221f;
    --surface-2: #222d29;
    --ink: #e4ebe7;
    --ink-2: #9aaaa4;
    --line: #2e3b37;
    --primary: #5cbf9f;
    --primary-hover: #74cdb0;
    --primary-ink: #0c1f19;
    --primary-soft: #1e3a31;

    --tag-free-bg: #1e3a31;   --tag-free-ink: #8fdcc1;
    --tag-lent-bg: #e3b443;   --tag-lent-ink: #2c2204;
    --tag-held-bg: #1f2f48;   --tag-held-ink: #9dbcf0;
    --tag-late-bg: #4a2219;   --tag-late-ink: #f4b4a3;
    --tag-off-bg: #2a3330;    --tag-off-ink: #a3aea9;

    --danger: #f08b73;
    --shadow: 0 1px 2px rgba(0, 0, 0, .35);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: 1.9rem; font-weight: 750; }
h2 { font-size: 1.25rem; font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 650; }
p { margin: 0 0 .75em; }
.muted { color: var(--ink-2); }
.small { font-size: .875rem; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 6px; }

/* ---------- Structure ---------- */
.app {
  max-width: 760px;
  margin: 0 auto;
  min-height: 100dvh;
  padding: calc(var(--safe-t) + 8px) 16px calc(var(--nav-h) + var(--safe-b) + 28px);
}
.app.no-nav { padding-bottom: 32px; }

.topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0 16px;
}
.topbar h1 { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.topbar .back {
  width: 40px; height: 40px; margin-left: -8px;
  display: grid; place-items: center;
  border: 0; background: none; border-radius: 50%; cursor: pointer; color: var(--ink);
}
.icon-btn {
  position: relative;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
}
.icon-btn svg, .back svg, .nav svg { width: 22px; height: 22px; }

.dot-badge {
  position: absolute; top: -2px; right: -2px;
  min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 10px;
  background: var(--danger); color: #fff;
  font-size: .72rem; font-weight: 700; line-height: 19px; text-align: center;
}

/* Barre de navigation du bas */
.nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  padding-bottom: var(--safe-b);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.nav ul {
  list-style: none; margin: 0 auto; padding: 0;
  max-width: 760px; height: var(--nav-h);
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.nav a {
  position: relative;
  height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: var(--ink-2); text-decoration: none; font-size: .72rem;
}
.nav a[aria-current="page"] { color: var(--primary); font-weight: 700; }
.nav a[aria-current="page"]::before {
  content: ''; position: absolute; top: 0; left: 30%; right: 30%; height: 3px;
  border-radius: 0 0 3px 3px; background: var(--primary);
}
.nav .dot-badge { top: 6px; right: calc(50% - 22px); }

/* ---------- Boutons & champs ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 18px;
  border: 1.5px solid transparent; border-radius: 12px;
  background: var(--primary); color: var(--primary-ink);
  font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background-color .15s;
}
.btn:hover { background: var(--primary-hover); }
.btn:disabled { opacity: .55; cursor: default; }
.btn.secondary { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn.secondary:hover { background: var(--surface-2); }
.btn.ghost { background: none; color: var(--primary); padding-inline: 10px; }
.btn.ghost:hover { background: var(--primary-soft); }
.btn.danger { background: none; color: var(--danger); border-color: color-mix(in srgb, var(--danger) 40%, transparent); }
.btn.small { min-height: 38px; padding: 6px 12px; font-size: .9rem; border-radius: 10px; }
.btn.block { width: 100%; }
.btn svg { width: 20px; height: 20px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; }

.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-weight: 700; margin-bottom: 6px; }
.field small { display: block; color: var(--ink-2); margin-top: 4px; }
.input, .field input:not([type=checkbox]):not([type=file]), .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  font-size: 1rem;
}
.field textarea { min-height: 96px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px var(--primary-soft); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.switch { display: flex; align-items: center; gap: 12px; padding: 10px 0; cursor: pointer; }
.switch input { appearance: none; -webkit-appearance: none; flex: none; width: 48px; height: 28px; border-radius: 14px; background: var(--line); position: relative; cursor: pointer; transition: background .15s; margin: 0; }
.switch input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.switch input:checked { background: var(--primary); }
.switch input:checked::after { transform: translateX(20px); }
.switch .label { flex: 1; }
.switch .label small { display: block; color: var(--ink-2); }

/* ---------- Étiquette de statut (élément signature) ---------- */
.tag {
  --bg-t: var(--tag-free-bg); --ink-t: var(--tag-free-ink);
  position: relative;
  display: inline-flex; align-items: center;
  max-width: 100%;
  padding: 3px 10px 3px 20px;
  background: var(--bg-t); color: var(--ink-t);
  font-size: .8rem; font-weight: 700; line-height: 1.35;
  clip-path: polygon(9px 0, 100% 0, 100% 100%, 9px 100%, 0 50%);
  border-radius: 0 6px 6px 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tag::before {
  content: ''; position: absolute; left: 8px; top: 50%;
  width: 6px; height: 6px; margin-top: -3px; border-radius: 50%;
  background: var(--surface);
}
.tag.lent { --bg-t: var(--tag-lent-bg); --ink-t: var(--tag-lent-ink); }
.tag.held { --bg-t: var(--tag-held-bg); --ink-t: var(--tag-held-ink); }
.tag.late { --bg-t: var(--tag-late-bg); --ink-t: var(--tag-late-ink); }
.tag.off  { --bg-t: var(--tag-off-bg);  --ink-t: var(--tag-off-ink); }
.tag.big { font-size: .95rem; padding: 6px 14px 6px 26px; clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%); }
.tag.big::before { left: 11px; width: 8px; height: 8px; margin-top: -4px; }

/* ---------- Catalogue ---------- */
.search {
  position: relative; margin-bottom: 12px;
}
.search input { padding-left: 44px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--ink-2); pointer-events: none; }

.chips {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 -16px 18px; padding: 2px 16px;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 36px; padding: 6px 14px;
  border: 1.5px solid var(--line); border-radius: 18px;
  background: var(--surface); color: var(--ink);
  font-size: .9rem; cursor: pointer; white-space: nowrap; text-decoration: none;
}
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.notice {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; margin-bottom: 18px;
  border-radius: var(--radius);
  background: var(--tag-lent-bg); color: var(--tag-lent-ink);
  text-decoration: none; font-weight: 700;
}
.notice.info { background: var(--primary-soft); color: var(--ink); font-weight: 400; }
.notice svg { flex: none; width: 22px; height: 22px; }
.notice span { flex: 1; }

.grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
}
@media (min-width: 600px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.card-item {
  display: flex; flex-direction: column;
  color: inherit; text-decoration: none;
}
.card-item .photo {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
}
.card-item .photo img { width: 100%; height: 100%; object-fit: cover; }
.card-item .photo .tag { position: absolute; right: 0; bottom: 10px; border-radius: 0; max-width: 92%; }
.card-item .title { margin-top: 8px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.card-item .owner { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--ink-2); margin-top: 2px; min-width: 0; }
.card-item .owner span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-item.hidden-item .photo img, .card-item.hidden-item .placeholder { opacity: .55; }

.placeholder {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  font-size: 3rem;
  background: repeating-linear-gradient(-45deg, var(--surface-2) 0 10px, color-mix(in srgb, var(--surface-2) 70%, var(--bg)) 10px 20px);
}

.pip { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--primary)); }
.avatar {
  flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c, var(--primary)); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
}
.avatar.sm { width: 30px; height: 30px; font-size: .85rem; }
.avatar.lg { width: 64px; height: 64px; font-size: 1.6rem; }

.fab {
  position: fixed; z-index: 15;
  right: max(18px, calc(50vw - 380px + 18px));
  bottom: calc(var(--nav-h) + var(--safe-b) + 18px);
  display: inline-flex; align-items: center; gap: 8px;
  height: 56px; padding: 0 22px 0 18px;
  border-radius: 28px;
  background: var(--primary); color: var(--primary-ink);
  font-weight: 700; text-decoration: none;
  box-shadow: 0 6px 20px rgba(20, 60, 50, .3);
}
.fab svg { width: 24px; height: 24px; }

.empty {
  text-align: center; padding: 48px 16px; color: var(--ink-2);
}
.empty h2 { color: var(--ink); margin-bottom: 8px; }
.empty .btn { margin-top: 12px; }

/* ---------- Fiches & listes ---------- */
.panel {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  margin-bottom: 16px;
}
.section { margin: 26px 0 12px; display: flex; align-items: baseline; gap: 10px; }
.section h2 { flex: 1; }
.count { font-family: var(--font-display); font-weight: 700; color: var(--ink-2); }

.list { display: flex; flex-direction: column; gap: 10px; }
.row {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 12px;
}
.row .thumb { flex: none; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.row .thumb .placeholder { font-size: 1.6rem; }
.row .body { flex: 1; min-width: 0; }
.row .body h3 { overflow-wrap: anywhere; }
.row .body h3 a { color: inherit; text-decoration: none; }
.row .meta { color: var(--ink-2); font-size: .9rem; margin-top: 2px; }
.row .quote { margin: 8px 0 0; padding: 8px 12px; border-left: 3px solid var(--line); color: var(--ink-2); font-size: .92rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.row .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.row .tag { margin-top: 6px; }

details.history summary { cursor: pointer; padding: 10px 0; font-weight: 700; color: var(--primary); list-style: none; }
details.history summary::-webkit-details-marker { display: none; }

/* ---------- Détail d'un objet ---------- */
.gallery {
  display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 -16px 16px; padding: 0 16px;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery img, .gallery .placeholder {
  flex: none; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); scroll-snap-align: center; background: var(--surface-2);
}
.gallery.multi img { width: 86%; }
.item-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.item-head .who { display: flex; align-items: center; gap: 10px; }
.item-head .who a { color: inherit; text-decoration: none; font-weight: 700; }
.desc { white-space: pre-wrap; overflow-wrap: anywhere; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--ink-2); font-size: .92rem; margin-bottom: 16px; }

/* Photos dans le formulaire */
.photo-edit { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.photo-edit .ph { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.photo-edit .ph img { width: 100%; height: 100%; object-fit: cover; }
.photo-edit .ph button {
  position: absolute; top: 4px; right: 4px; width: 30px; height: 30px;
  border: 0; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; display: grid; place-items: center;
}
.photo-edit .ph button svg { width: 16px; height: 16px; }
.photo-edit .ph .main {
  position: absolute; left: 0; bottom: 6px;
  padding: 2px 8px; background: var(--tag-lent-bg); color: var(--tag-lent-ink);
  font-size: .72rem; font-weight: 700; border-radius: 0 6px 6px 0;
}
.photo-edit .ph.cover-btn { cursor: pointer; }
.photo-add {
  aspect-ratio: 1; border: 2px dashed var(--line); border-radius: 12px;
  display: grid; place-items: center; text-align: center; color: var(--ink-2); cursor: pointer; font-size: .85rem; padding: 6px;
}
.photo-add svg { width: 28px; height: 28px; margin: 0 auto 4px; display: block; }
.photo-add input { display: none; }

/* ---------- Feuille modale (bottom sheet) ---------- */
.sheet-backdrop {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(10, 20, 18, .45);
  display: flex; align-items: flex-end; justify-content: center;
  animation: fade .15s ease-out;
}
.sheet {
  width: 100%; max-width: 560px; max-height: 92dvh; overflow: auto;
  background: var(--bg);
  border-radius: 20px 20px 0 0;
  padding: 10px 18px calc(20px + var(--safe-b));
  animation: rise .2s ease-out;
}
.sheet::before { content: ''; display: block; width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 14px; }
.sheet h2 { margin-bottom: 14px; }
@media (min-width: 640px) {
  .sheet-backdrop { align-items: center; }
  .sheet { border-radius: 20px; }
  .sheet::before { display: none; }
}
@keyframes rise { from { transform: translateY(30px); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; z-index: 60; left: 50%; bottom: calc(var(--nav-h) + var(--safe-b) + 16px);
  transform: translateX(-50%);
  max-width: min(92vw, 480px);
  padding: 12px 18px; border-radius: 12px;
  background: var(--ink); color: var(--bg);
  font-weight: 700; box-shadow: 0 8px 24px rgba(0,0,0,.25);
  animation: rise .2s ease-out;
}
.toast.error { background: var(--danger); color: #fff; }

/* ---------- Écrans de connexion ---------- */
.auth {
  min-height: 100dvh; max-width: 420px; margin: 0 auto;
  padding: calc(var(--safe-t) + 48px) 20px 40px;
  display: flex; flex-direction: column;
}
.auth .brand { display: flex; align-items: center; gap: 14px; margin-bottom: 32px; }
.auth .brand img { width: 56px; height: 56px; border-radius: 14px; }
.auth .brand h1 { font-size: 2.1rem; }
.auth .lead { font-size: 1.05rem; color: var(--ink-2); margin-bottom: 24px; }
.form-error { color: var(--danger); font-weight: 700; margin-bottom: 12px; }

/* ---------- Profil & admin ---------- */
.me { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.me h2 { font-size: 1.4rem; }
.colors { display: flex; flex-wrap: wrap; gap: 10px; }
.colors label { position: relative; cursor: pointer; }
.colors input { position: absolute; opacity: 0; }
.colors .sw { display: block; width: 34px; height: 34px; border-radius: 50%; background: var(--c); border: 3px solid transparent; }
.colors input:checked + .sw { border-color: var(--ink); }
.colors input:focus-visible + .sw { outline: 3px solid var(--primary); outline-offset: 2px; }

.link-box {
  display: flex; gap: 8px; align-items: center;
  padding: 10px 12px; border-radius: 12px; background: var(--surface-2);
  font-size: .85rem; overflow-wrap: anywhere; margin: 10px 0;
}
.link-box code { flex: 1; min-width: 0; }

.members .hh { margin: 18px 0 8px; color: var(--ink-2); font-weight: 700; }
.member { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.member:last-child { border-bottom: 0; }
.member .grow { flex: 1; min-width: 0; }

.notif { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.notif.unread { position: relative; padding-left: 20px; }
.notif.unread::before { content: ''; position: absolute; left: 4px; top: 22px; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.notif strong { display: block; }

.wanted-card .replies { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.reply { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.reply .bubble { flex: 1; background: var(--surface-2); border-radius: 4px 12px 12px 12px; padding: 8px 12px; overflow-wrap: anywhere; }
.reply .bubble a { font-weight: 700; }
.wanted-card.resolved { opacity: .65; }

.spinner { display: grid; place-items: center; padding: 60px 0; }
.spinner::after { content: ''; width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--primary); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.item-actions { margin: 20px 0 8px; }
.wanted-actions { margin-top: 12px; }
.wanted-card .me { margin-bottom: 8px; }
.wanted-card .me h3 { overflow-wrap: anywhere; }
#new-wanted details { margin-bottom: 14px; }
#new-wanted summary { cursor: pointer; padding: 4px 0 10px; }
.colors-field { border: 0; padding: 0; margin: 0 0 18px; }
.colors-field legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.empty > svg { width: 40px; height: 40px; margin: 0 auto 10px; color: var(--ink-2); }
.notif span { display: block; color: var(--ink-2); }
.admin-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.admin-row:last-child { border-bottom: 0; }
.admin-row .grow { flex: 1; min-width: 160px; }
.admin-row .btn-row { width: 100%; }
.cat-row { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.cat-row input[name=icon] { width: 64px; flex: none; text-align: center; }
.cat-row input[name=name] { flex: 1; min-width: 0; }
h3.sub { margin: 20px 0 4px; }
.search.field input.input { padding-left: 44px; }
.notice.late { background: var(--tag-late-bg); color: var(--tag-late-ink); }
.panel > h2 { margin-bottom: 12px; }
.field-row > * { min-width: 0; }
.field input[type=date] { min-width: 0; -webkit-appearance: none; appearance: none; }
.reply .bubble strong { display: block; font-size: .85rem; }
