:root {
  --brand: #7367f0;
  --brand-2: #7c4ddb;
  --brand-soft: #efedff;
  --text: #1f1d2b;
  --muted: #6b6880;
  --bg: #f6f5fb;
  --card: #ffffff;
  --border: #e3e0f2;
  --danger: #d93b3b;
  --warn: #c77700;
  --warn-soft: #fff4e0;
  --ok: #1f9d55;
  --radius: 16px;
  --shadow: 0 6px 24px rgb(40 30 90 / 0.16);
  --topbar-h: 60px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  font-family: "Assistant", "Rubik", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
/* Never let anything wider than the screen widen the page — on phones that makes the browser lay the app
   out like a desktop site (seen after returning from Google sign-in). Zooming in still works. */
html { overflow-x: hidden; }
body { overflow: hidden; line-height: 1.45; }
button, input, select { font: inherit; color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.muted { color: var(--muted); font-size: 0.92rem; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

/* ---------- top bar ---------- */
.topbar {
  position: fixed; inset-inline: 0; top: 0; z-index: 20;
  height: calc(var(--topbar-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) 12px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; box-shadow: 0 2px 12px rgb(0 0 0 / 0.15);
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand strong { display: block; font-size: 1.15rem; letter-spacing: 0.3px; }
.brand small { display: block; font-size: 0.72rem; opacity: 0.9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-actions { display: flex; gap: 6px; }
.topbar .icon-btn, .avatar-btn { color: #fff; background: rgb(255 255 255 / 0.16); }
.avatar-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  display: grid; place-items: center; overflow: hidden;
}
.avatar-btn img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- buttons ---------- */
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--card); color: var(--text);
}
.btn {
  min-height: 48px; padding: 10px 18px; border-radius: 14px; border: 1px solid transparent;
  cursor: pointer; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none;
}
.btn.primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.btn.primary:disabled { opacity: 0.6; cursor: progress; }
.btn.secondary { background: var(--brand-soft); color: var(--brand-2); }
.btn.ghost { background: transparent; color: var(--muted); border-color: var(--border); }
.btn.danger { background: #fdecec; color: var(--danger); }
.btn.big { width: 100%; min-height: 58px; font-size: 1.1rem; border-radius: 18px; }
.btn.small { min-height: 38px; padding: 6px 12px; font-size: 0.9rem; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-row > .btn { flex: 1 1 0; }

/* ---------- views ---------- */
.view {
  position: fixed; inset: 0; top: calc(var(--topbar-h) + env(safe-area-inset-top, 0px));
  overflow: auto;
}

/* ---------- map ---------- */
#view-map { overflow: hidden; }
.map { position: absolute; inset: 0; background: #e8e6f3; }
.map-fallback { position: absolute; inset: 0; padding: 60px 16px 120px; overflow: auto; background: var(--bg); }

.address-search { position: relative; }
.suggestions {
  list-style: none; margin: 4px 0 0; padding: 4px; position: absolute; inset-inline: 0; top: 100%; z-index: 40;
  background: var(--card); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow);
}
.suggestions button {
  width: 100%; text-align: start; padding: 10px; border: 0; background: none; border-radius: 8px; cursor: pointer; min-height: 44px;
}
.suggestions button:hover, .suggestions button:focus-visible { background: var(--brand-soft); }
.manage-box {
  display: grid; gap: 10px; padding: 12px; border-radius: 14px; border: 1px dashed var(--border); background: var(--bg);
}
.manage-box.admin { border-color: var(--brand); background: var(--brand-soft); }
.mini-map.tall { height: 50vh; }
.queue-item { display: grid; gap: 6px; }

.legend {
  position: absolute; top: 68px; inset-inline-start: 12px; z-index: 5;
  display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px;
  background: rgb(255 255 255 / 0.92); box-shadow: var(--shadow); font-size: 0.78rem;
}
.legend-bar {
  width: 70px; height: 8px; border-radius: 4px;
  /* RTL: cheap (green) on the right, expensive (red) on the left */
  background: linear-gradient(to left, hsl(130 70% 42%), hsl(65 70% 42%), hsl(0 70% 42%));
}

.floating { position: absolute; z-index: 5; box-shadow: var(--shadow); }
.locate { bottom: calc(110px + var(--safe-bottom)); inset-inline-end: 16px; }

.fab {
  position: absolute; z-index: 6; bottom: calc(24px + var(--safe-bottom)); left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; padding: 0 26px; height: 64px; border: 0; border-radius: 32px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff;
  font-size: 1.15rem; font-weight: 700; cursor: pointer; white-space: nowrap;
  box-shadow: 0 10px 28px rgb(115 103 240 / 0.5);
}
.fab:active { transform: translateX(-50%) scale(0.97); }
.source-options { display: grid; gap: 10px; }
.source-options p { margin: 0; }

/* map pins (Advanced Markers content) */
.pin {
  --c: #9aa0a6;
  position: relative; min-width: 44px; padding: 5px 9px; border-radius: 14px;
  background: var(--c); color: #fff; font-weight: 700; font-size: 0.9rem; text-align: center;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.3); border: 2px solid #fff; white-space: nowrap;
  transform: translateY(-6px); cursor: pointer;
}
.pin::after {
  content: ""; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
  border: 6px solid transparent; border-top-color: #fff; border-bottom: 0;
}
.pin-candidate {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: #b9bcc6; color: #fff; font-weight: 800; font-size: 0.72rem; border: 2px solid #fff;
  box-shadow: 0 1px 4px rgb(0 0 0 / 0.25); cursor: pointer; opacity: 0.9;
}
.pin-candidate.live-free { box-shadow: 0 0 0 3px #22a35a, 0 1px 4px rgb(0 0 0 / 0.25); }
.pin-candidate.live-few { box-shadow: 0 0 0 3px #e0a100, 0 1px 4px rgb(0 0 0 / 0.25); }
.pin-candidate.live-full { box-shadow: 0 0 0 3px #d93a3a, 0 1px 4px rgb(0 0 0 / 0.25); }
.pin-candidate.live-closed { opacity: 0.55; }
.live-status { font-weight: 700; }
.live-status.free { color: #1b8a4b; }
.live-status.few { color: #a87800; }
.live-status.full { color: #c62f2f; }
.official-tariff { display: grid; gap: 6px; padding: 12px 14px; border-radius: 14px; border: 1px dashed var(--border); }
.official-title { font-weight: 700; }
.official-text { white-space: pre-line; font-size: 0.92rem; }
.official-notes { font-size: 0.85rem; color: var(--muted); }
.lot-meta:empty { display: none; }
.osm-credit {
  position: absolute; z-index: 5; top: 104px; inset-inline-start: 12px; padding: 2px 8px; border-radius: 999px;
  background: rgb(255 255 255 / 0.8); color: var(--muted); font-size: 0.66rem; text-decoration: none; direction: ltr;
}
.map-fallback:not([hidden]) ~ .osm-credit, .map-fallback:not([hidden]) ~ .map-search { display: none; }
.map-search { position: absolute; z-index: 8; top: 12px; inset-inline: 12px; }
.map-search .text-input {
  border-radius: 999px; box-shadow: var(--shadow); border-color: transparent; padding-inline-start: 40px;
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='20' height='20'%3E%3Cpath fill='%23777' d='M10 4a6 6 0 1 0 3.7 10.7l4.8 4.8 1.4-1.4-4.8-4.8A6 6 0 0 0 10 4zm0 2a4 4 0 1 1 0 8 4 4 0 0 1 0-8z'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.signed-in-as { font-size: 0.9rem; color: var(--muted); padding: 8px 12px; border-radius: 12px; background: var(--brand-soft); overflow-wrap: anywhere; }
.signed-in-as bdi { color: var(--text, #1d1b2e); font-weight: 600; }
.sugg-icon { margin-inline-end: 6px; }
.chip[aria-pressed="true"] { background: var(--brand-2); color: #fff; }
.nearby-list { display: grid; gap: 6px; }
.nearby-item {
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px; min-height: 56px; text-align: start;
  background: var(--card); border: 1px solid var(--border); border-radius: 14px; cursor: pointer; font: inherit; color: inherit;
}
.nearby-dot {
  flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 0.8rem; background: #b9bcc6;
}
.nearby-main { flex: 1; min-width: 0; display: grid; gap: 2px; }
.nearby-main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nearby-addr { font-size: 0.85rem; color: var(--text, inherit); opacity: 0.85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nearby-addr:empty { display: none; }
.nearby-item[aria-pressed="true"] { border-color: var(--brand-2); box-shadow: 0 0 0 2px var(--brand-2) inset; }
.sign-lookup { display: grid; gap: 6px; }
.sign-lookup p { margin: 0; }
.nearby-price { flex: none; font-weight: 700; font-size: 0.9rem; }
.nearby-price.muted { font-weight: 400; font-size: 0.8rem; }
.candidate-empty { padding: 12px 14px; border-radius: 14px; background: var(--brand-soft); display: grid; gap: 4px; }
.candidate-empty p { margin: 0; }
.muted.small { font-size: 0.75rem; }
.pin .badge-dot {
  position: absolute; top: -8px; inset-inline-end: -8px; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; color: var(--ok); font-size: 12px; line-height: 18px; text-align: center;
}
.pin.highlight { animation: pulse 1s ease-in-out 4; z-index: 10; }
.pin.stale { opacity: 0.7; }
@keyframes pulse {
  0%, 100% { transform: translateY(-6px) scale(1); }
  50% { transform: translateY(-10px) scale(1.25); box-shadow: 0 0 0 10px rgb(115 103 240 / 0.3); }
}

/* ---------- lists / cards ---------- */
.lot-list, .feed-list, .plain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.card {
  background: var(--card); border-radius: var(--radius); padding: 14px; border: 1px solid var(--border);
}
.lot-list button.card { width: 100%; text-align: start; cursor: pointer; }

.badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600; background: var(--brand-soft); color: var(--brand-2);
}
.badge.verified { background: #e3f6ea; color: var(--ok); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }

/* ---------- sheet ---------- */
.sheet-backdrop { position: fixed; inset: 0; z-index: 30; background: rgb(20 15 40 / 0.35); }
.sheet {
  position: fixed; z-index: 31; inset-inline: 0; bottom: 0; max-height: 78vh;
  display: flex; flex-direction: column;
  background: var(--card); border-radius: 22px 22px 0 0; box-shadow: var(--shadow);
  transform: translateY(100%); transition: transform 0.2s ease-out;
  padding-bottom: var(--safe-bottom);
}
.sheet.tall { max-height: 92vh; }
.sheet.open { transform: none; }
.sheet-handle { width: 44px; height: 5px; border-radius: 3px; background: var(--border); margin: 8px auto 0; }
.sheet-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 16px 0; }
.sheet-header h2 { margin: 0; font-size: 1.2rem; }
.sheet-body { overflow: auto; padding: 12px 16px 20px; display: grid; gap: 14px; }

/* lot details */
.lot-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.change-note { padding: 10px 12px; border-radius: 12px; background: var(--brand-soft); font-weight: 600; }
.change-note.up { background: #fdecec; color: #a32020; }
.change-note.down { background: #e3f6ea; color: #15703c; }
.occupancy-state { font-weight: 600; }
.lot-photo { width: 100%; max-height: 220px; object-fit: cover; border-radius: 12px; }

/* ---------- processing ---------- */
.processing { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px 20px; text-align: center; background: var(--bg); }
.processing h2 { margin: 0; }
.scan-anim { position: relative; width: min(70vw, 280px); aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden; background: #ddd; box-shadow: var(--shadow); }
.scan-anim img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.8); }
.scan-line {
  position: absolute; inset-inline: 0; height: 4px; top: 0;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  box-shadow: 0 0 18px 6px rgb(115 103 240 / 0.6);
  animation: scan 1.6s ease-in-out infinite alternate;
}
@keyframes scan { to { top: calc(100% - 4px); } }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; text-align: start; }
.steps li { padding-inline-start: 28px; position: relative; color: var(--muted); }
.steps li::before { content: "○"; position: absolute; inset-inline-start: 4px; }
.steps li.active { color: var(--text); font-weight: 600; }
.steps li.active::before { content: "◌"; color: var(--brand); animation: spin 1s linear infinite; display: inline-block; }
.steps li.done { color: var(--ok); }
.steps li.done::before { content: "✓"; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- review ---------- */
.review { background: var(--bg); padding: 12px 12px calc(20px + var(--safe-bottom)); }
.review-grid { display: grid; gap: 12px; max-width: 1000px; margin: 0 auto; }
.review-photo { margin: 0; background: #111; border-radius: var(--radius); overflow: hidden; }
.review-photo img { display: block; width: 100%; max-height: 26vh; object-fit: contain; }
.review-fields { display: grid; gap: 12px; }

.location-chip {
  display: grid; gap: 8px; padding: 12px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border);
}
.location-chip .q { font-weight: 700; font-size: 1.05rem; }
.mini-map { height: 220px; border-radius: 12px; overflow: hidden; background: #e8e6f3; }
.text-input, .price-input {
  width: 100%; min-height: 46px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--border); background: #fff;
}
.field-label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 4px; }

/* tariff (review editor + lot card) */
.tariff-editor { display: grid; gap: 10px; }
.calc-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.calc-cell { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 8px 4px; text-align: center; display: grid; }
.calc-cell .label { font-size: 0.78rem; color: var(--muted); }
.calc-cell .value { font-size: 1.15rem; font-weight: 800; }
.sheet .calc-cell { background: var(--bg); border-color: transparent; }
.tariff-card {
  display: grid; gap: 8px; padding: 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--border);
  scroll-margin: 90px 0 170px;
}
.tariff-card.low { border-color: var(--warn); background: var(--warn-soft); }
.card-title { font-weight: 700; }
.tier-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 40px; }
.tier-row label { flex: 1; }
.row-actions { display: flex; gap: 4px; flex-shrink: 0; }
.icon-mini {
  width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--brand-soft); color: var(--brand-2);
  cursor: pointer; display: grid; place-items: center; font-size: 1.1rem;
}
.tier-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 10px; border-radius: 12px; background: var(--bg); }
.tier-form .btn-row { grid-column: 1 / -1; }
.low-note { font-size: 0.85rem; color: var(--warn); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.low-note input { width: 22px; height: 22px; accent-color: var(--warn); flex-shrink: 0; }
.tariff-lines { margin: 0; padding-inline-start: 18px; display: grid; gap: 4px; }
ul.plain { margin: 4px 0 0; padding-inline-start: 18px; font-weight: 500; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 6px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-2); font-size: 0.9rem; border: 0; }
.chip button { border: 0; background: none; cursor: pointer; padding: 0 4px; color: inherit; }

.occupancy-inline { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.occupancy-inline legend { font-size: 0.9rem; margin-bottom: 6px; }
.chip-radio input { position: absolute; opacity: 0; pointer-events: none; }
.chip-radio span {
  display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--card); cursor: pointer;
}
.chip-radio input:checked + span { background: var(--brand); color: #fff; border-color: var(--brand); }
.chip-radio input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }

.review-actions { display: grid; gap: 8px; position: sticky; bottom: 0; padding: 8px 0 calc(4px + var(--safe-bottom)); background: linear-gradient(transparent, var(--bg) 30%); }

.warn-box { padding: 10px 12px; border-radius: 12px; background: var(--warn-soft); color: var(--warn); font-weight: 600; }

/* ---------- feed / profile ---------- */
.feed-item { display: grid; gap: 4px; }
.feed-item .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.stat-big { font-size: 1.05rem; }
.stat-big strong { font-size: 2rem; color: var(--brand-2); }
.leader { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); }

/* ---------- celebrate / toast / banners ---------- */
.celebrate { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: rgb(20 15 40 / 0.35); animation: fade 0.2s; }
.celebrate-card { background: var(--card); border-radius: 24px; padding: 28px 24px; text-align: center; max-width: 320px; margin: 16px; box-shadow: var(--shadow); animation: pop 0.4s cubic-bezier(.2,1.6,.4,1); }
.celebrate-emoji { font-size: 3rem; }
.celebrate-card p { font-size: 1.15rem; font-weight: 700; margin: 8px 0 0; }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }

.toast {
  position: fixed; z-index: 60; left: 50%; top: calc(var(--topbar-h) + env(safe-area-inset-top, 0px) + 12px); transform: translate(-50%, -20px);
  max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 14px; background: #2b2640; color: #fff;
  opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: var(--danger); }
.toast.success { background: var(--ok); }

.offline-banner {
  position: fixed; z-index: 25; top: calc(var(--topbar-h) + env(safe-area-inset-top, 0px)); inset-inline: 0;
  background: #2b2640; color: #fff; text-align: center; font-size: 0.85rem; padding: 4px;
}
.desktop-mode-banner {
  position: fixed; z-index: 70; top: 8px; inset-inline: 8px; display: grid; gap: 6px; padding: 12px 14px;
  border-radius: 14px; background: var(--card); border: 2px solid var(--brand); box-shadow: var(--shadow);
}
.desktop-mode-banner p { margin: 0; font-size: 0.92rem; }
.install-banner {
  position: fixed; z-index: 30; inset-inline: 12px; bottom: calc(var(--safe-bottom) + 176px); /* above the locate button */
  display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.install-banner > span { flex: 1; font-size: 0.92rem; }
.install-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.install-step { display: flex; gap: 10px; align-items: flex-start; }
.install-num {
  flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-2); font-weight: 700;
}
.noscript { padding: 80px 16px; text-align: center; }

/* ---------- larger screens: split review ---------- */
@media (min-width: 760px) {
  .review-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .review-photo { position: sticky; top: 12px; }
  .review-photo img { max-height: calc(100vh - 120px); }
  .sheet { max-width: 520px; inset-inline-start: 16px; inset-inline-end: auto; bottom: 16px; border-radius: 22px; }
  .brand small { font-size: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- manual entry (templates) ---------- */
.badge.manual { background: var(--warn-soft); color: var(--warn); }
.manual-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap;
  padding: 10px 12px; border-radius: 12px; background: var(--warn-soft); color: var(--warn); font-weight: 600;
}
.template-picker { display: grid; gap: 10px; }
.template-list { display: grid; gap: 8px; }
.template-option {
  display: grid; gap: 2px; width: 100%; text-align: start; padding: 10px 12px; min-height: 44px;
  border-radius: 12px; border: 1px solid var(--border); background: var(--card); color: inherit; font: inherit; cursor: pointer;
}
.template-option[aria-pressed="true"] { border-color: var(--brand-2); box-shadow: 0 0 0 2px var(--brand-2) inset; }
.template-field { display: grid; gap: 4px; }
.template-form details { display: grid; gap: 8px; }
.template-form summary { cursor: pointer; font-weight: 600; min-height: 32px; }
.add-form label { display: grid; gap: 4px; }
