/* Pakit — поля сверху: светлая зелень, лоскуты участков, белые дороги,
   жёлтый рапс только для того, что важно прямо сейчас (время, код вручения). */

:root {
  --barley: #edf5e1;      /* фон: молодой ячмень */
  --meadow: #d6eabb;      /* луг: поверхности */
  --pasture: #b3d58f;     /* пастбище: границы, активное */
  --clover: #8dbf68;      /* клевер: заполнения */
  --hedge: #3d6a37;       /* живая изгородь: кнопки, ссылки */
  --soil: #263821;        /* почва: текст */
  --soil-2: #56684f;      /* второстепенный текст */
  --rapeseed: #ecd660;    /* рапс: время, код */
  --road: #ffffff;
  --alert: #a3402b;       /* отмена, ошибки — пашня после дождя */

  --r-plot: 14px;         /* участки */
  --r-control: 10px;      /* поля ввода */
  --gap: 16px;
  --tabs-h: 64px;
  --font: "Onest", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 16px/1.5 var(--font);
  color: var(--soil);
  background: #c9ebdd;
  min-height: 100dvh;
}
main {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 16px calc(var(--tabs-h) + 32px + env(safe-area-inset-bottom));
  outline: none;
}

h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: 2rem; font-weight: 800; }
h2 { font-size: 1.375rem; font-weight: 800; margin: 28px 0 12px; }
h3 { font-size: 1.0625rem; font-weight: 600; }
p { margin: 0 0 12px; }
a { color: var(--hedge); }
.muted { color: var(--soil-2); }
.small { font-size: 0.875rem; }
.num { font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--hedge); outline-offset: 2px; border-radius: 4px; }
#view:focus, #view:focus-visible { outline: none; }  /* фокус переносится на экран для экранных дикторов */

/* ---------- Логотип pakit.ee ---------- */
.wordmark {
  font-weight: 800; font-size: 2.25rem; letter-spacing: -0.03em; line-height: 1.1;
  color: var(--soil);
  background: var(--barley);
  padding: 2px 12px 4px; border-radius: 10px; display: inline-block;
}
/* Точка в pakit.ee — остановка на дороге, как на лоскутном поле */
.wm-dot {
  display: inline-block; width: .3em; height: .3em; margin: 0 .05em 0 .07em;
  border-radius: 50%; background: var(--road); border: .085em solid var(--hedge);
  vertical-align: baseline; position: relative; top: .02em;
}
.wm-ee { color: var(--hedge); }
.segment.lang button { min-height: 36px; font-size: .875rem; padding: 0 10px; }
.segment.lang button[aria-pressed="true"] { background: var(--hedge); color: var(--road); }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; }
.legal-links a { color: var(--soil-2); }

/* Общий фон: иллюстрация на весь экран под всеми экранами, приглушённая светлой вуалью */
.page-bg { position: fixed; inset: 0; z-index: -1; background: #c9ebdd; }
.page-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; display: block; }
.page-bg::after { content: ""; position: absolute; inset: 0; background: rgba(237, 245, 225, .45); }
.topbar {
  max-width: 560px; margin: 0 auto; padding: 16px 16px 14px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.home-link { text-decoration: none; flex: none; }
.topbar .wordmark { position: static; font-size: 1.75rem; white-space: nowrap; }
.topbar .segment { margin: 0; background: rgba(255, 255, 255, .9); }
/* Подложка содержимого: картинка просвечивает, текст и поля читаются */
.panel {
  background: rgba(255, 255, 255, .62);
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  border-radius: 20px; padding: 18px 16px 22px; margin: 0 -4px;
  border: 1.5px solid rgba(255, 255, 255, .9);
}
.panel > div > .back:first-child, .panel > div > .page-top:first-child { margin-top: 0; padding-top: 0; }
.panel .page-top { padding-top: 0; }
.panel .back { margin-top: 0; }
@media (min-width: 720px) {
  .panel { padding: 26px 28px 30px; margin: 0; }
  .topbar .wordmark { font-size: 2.25rem; }
}

/* ---------- Формы ---------- */
form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 500; font-size: 0.9375rem; }
.hint { font-weight: 400; color: var(--soil-2); font-size: 0.8125rem; }
input, select, textarea {
  font: inherit; color: inherit;
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--pasture);
  border-radius: var(--r-control);
  background: var(--road);
  min-height: 48px;
  min-width: 0;
}
textarea { min-height: 88px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--hedge); box-shadow: 0 0 0 3px rgba(61,106,55,.18); }
input[aria-invalid="true"] { border-color: var(--alert); }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 10px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; accent-color: var(--hedge); flex: none; }
.code-input { font-size: 1.75rem; letter-spacing: 0.35em; text-align: center; font-variant-numeric: tabular-nums; }

/* Автодополнение адресов */
.geo { position: relative; }
.geo ul {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px);
  margin: 0; padding: 6px; list-style: none;
  background: var(--road); border: 1.5px solid var(--pasture); border-radius: var(--r-control);
  box-shadow: 0 10px 24px rgba(38,56,33,.12);
}
.geo li { padding: 10px 10px; border-radius: 8px; cursor: pointer; }
.geo li[aria-selected="true"], .geo li:hover { background: var(--barley); }
.geo li small { display: block; color: var(--soil-2); }

/* ---------- Кнопки ---------- */
button, .btn {
  font: 600 1rem/1 var(--font);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 20px;
  border-radius: 12px; border: 0; cursor: pointer;
  background: var(--hedge); color: var(--road);
  text-decoration: none;
}
button:hover { filter: brightness(1.08); }
button:disabled { opacity: .5; cursor: default; filter: none; }
button.quiet, .btn.quiet { background: var(--meadow); color: var(--soil); }
button.danger { background: transparent; color: var(--alert); border: 1.5px solid currentColor; }
button.link { background: none; color: var(--hedge); padding: 0; min-height: 0; text-decoration: underline; font-weight: 500; }
.actions { display: grid; gap: 10px; margin-top: 8px; }

/* ---------- Участки (карточки) ---------- */
.plot {
  background: var(--road);
  border-radius: var(--r-plot);
  padding: 16px;
  border: 1.5px solid var(--meadow);
}
.plots { display: grid; gap: 10px; }
a.plot, button.plot { display: block; color: inherit; text-decoration: none; text-align: left; font-weight: 400; min-height: 0; cursor: pointer; width: 100%; }
a.plot:hover, button.plot:hover { border-color: var(--pasture); filter: none; }
.plot[aria-current="true"] { border-color: var(--hedge); box-shadow: inset 4px 0 0 var(--hedge); }
.plot-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }

/* Маршрут «откуда — куда» с белой дорогой */
.route { display: grid; grid-template-columns: 14px 1fr auto; column-gap: 12px; row-gap: 4px; align-items: center; margin: 10px 0 4px; }
.route .dot { width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--hedge); background: var(--road); }
.route .dot.end { background: var(--hedge); }
.route .line { width: 3px; height: 14px; margin-left: 4.5px; background: repeating-linear-gradient(var(--pasture) 0 4px, transparent 4px 7px); grid-column: 1; }
.route .place { font-weight: 600; }
.route time { font-weight: 600; background: var(--rapeseed); padding: 1px 8px; border-radius: 6px; font-variant-numeric: tabular-nums; }

/* Значки доверия и статусы */
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.badge { font-size: 0.8125rem; padding: 3px 9px; border-radius: 999px; background: var(--barley); color: var(--soil-2); }
.badge.ok { background: var(--meadow); color: var(--hedge); font-weight: 500; }
.status { font-size: 0.8125rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--meadow); color: var(--hedge); white-space: nowrap; }
.status.proposed { background: var(--rapeseed); color: var(--soil); }
.status.cancelled, .status.declined, .status.expired { background: #f1e6e1; color: var(--alert); }
.status.delivered { background: var(--hedge); color: var(--road); }
.stars { color: var(--hedge); letter-spacing: 1px; }

/* Сегменты (переключатель) */
.segment { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--meadow); border-radius: 12px; padding: 4px; margin: 4px 0 16px; }
.segment button { background: transparent; color: var(--soil); min-height: 42px; font-weight: 500; border-radius: 9px; }
.segment button[aria-pressed="true"] { background: var(--road); font-weight: 600; box-shadow: 0 1px 3px rgba(38,56,33,.15); }

/* Ход сделки: это последовательность, поэтому шаги пронумерованы */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 16px 0; counter-reset: s; list-style: none; padding: 0; }
.steps li { font-size: 0.7rem; letter-spacing: -0.01em; color: var(--soil-2); padding-top: 10px; border-top: 4px solid var(--meadow); counter-increment: s; }
.steps li::before { content: counter(s) " "; font-weight: 600; }
.steps li.done { border-color: var(--clover); color: var(--soil); }
.steps li.now { border-color: var(--hedge); color: var(--soil); font-weight: 600; }

/* Код вручения — самое жёлтое на экране */
.code-tile { background: var(--rapeseed); border-radius: var(--r-plot); padding: 18px; text-align: center; }
.code-tile strong { display: block; font-size: 2.75rem; letter-spacing: .25em; font-variant-numeric: tabular-nums; line-height: 1.1; margin: 4px 0; }

/* Карта */
.map { height: 260px; border-radius: var(--r-plot); overflow: hidden; background: var(--meadow); margin: 12px 0; border: 1.5px solid var(--meadow); }
.map.tall { height: 340px; }
.maplibregl-ctrl-attrib { font-size: 10px; }

/* Чат */
.chat { display: grid; gap: 8px; margin: 12px 0; }
.msg { max-width: 82%; padding: 9px 13px; border-radius: 14px 14px 14px 4px; background: var(--road); border: 1.5px solid var(--meadow); white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.mine { justify-self: end; background: var(--meadow); border-color: var(--meadow); border-radius: 14px 14px 4px 14px; }
.msg time { display: block; font-size: 0.75rem; color: var(--soil-2); margin-top: 2px; }
.chat-form { grid-template-columns: 1fr auto; align-items: end; }
.chat-form textarea { min-height: 48px; height: 48px; }

/* Оценка звёздами */
.rate { display: flex; gap: 6px; }
.rate button { background: var(--barley); color: var(--soil-2); min-height: 48px; width: 48px; padding: 0; font-size: 1.4rem; }
.rate button[aria-pressed="true"] { background: var(--rapeseed); color: var(--soil); }

/* Пустые состояния */
.empty { text-align: center; padding: 28px 12px; color: var(--soil-2); }
.empty .actions { justify-content: center; }

/* Нижняя навигация */
#tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  height: calc(var(--tabs-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-top: 1.5px solid var(--meadow);
  padding-inline: max(0px, calc((100% - 560px) / 2));
}
#tabs a {
  display: grid; place-items: center; text-decoration: none;
  color: var(--soil-2); font-weight: 500; font-size: 0.875rem; position: relative;
}
#tabs a[aria-current="page"] { color: var(--hedge); font-weight: 600; }
#tabs a[aria-current="page"]::before {
  content: ""; position: absolute; top: 0; left: 28%; right: 28%; height: 4px;
  background: var(--hedge); border-radius: 0 0 4px 4px;
}

/* Всплывающее сообщение */
#toast {
  position: fixed; left: 50%; bottom: calc(var(--tabs-h) + 16px + env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(20px); opacity: 0; pointer-events: none;
  background: var(--soil); color: var(--road);
  padding: 12px 18px; border-radius: 12px; max-width: min(92vw, 480px);
  transition: opacity .2s, transform .2s; z-index: 50;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast.error { background: var(--alert); }

/* Нижний лист (модальное окно) */
dialog.sheet {
  border: 0; padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
  width: 100%; max-width: 560px; margin: auto auto 0;
  border-radius: 20px 20px 0 0; background: var(--barley); color: var(--soil);
  max-height: 92dvh;
}
dialog.sheet::backdrop { background: rgba(38,56,33,.45); }
dialog.sheet h2 { margin-top: 0; }

.back { display: inline-block; margin: 16px 0 8px; text-decoration: none; font-weight: 500; }
.page-top { padding-top: 20px; }
dl.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
dl.facts dt { color: var(--soil-2); }
dl.facts dd { margin: 0; font-weight: 500; }

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

/* Админка: сводка числами */
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; margin: 14px 0 4px; }
.stat { background: var(--road); border: 1.5px solid var(--meadow); border-radius: 12px; padding: 10px 12px; }
.stat strong { display: block; font-size: 1.6rem; font-weight: 800; line-height: 1.1; }
.stat span { font-size: .8125rem; color: var(--soil-2); }
.stat.alert { background: var(--rapeseed); border-color: var(--rapeseed); }
.stat.alert span { color: var(--soil); }

/* Уведомления */
.topbar-end { display: flex; align-items: center; gap: 8px; }
.bell {
  position: relative; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255, 255, 255, .9); color: var(--soil);
}
.bell svg { width: 22px; height: 22px; fill: currentColor; }
.bell:focus-visible { outline: 3px solid var(--hedge); outline-offset: 2px; }
.bell-count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: var(--rapeseed); color: var(--soil);
  font-size: .75rem; font-weight: 800; line-height: 20px; text-align: center;
  border: 2px solid var(--road);
}
.bell-count[hidden] { display: none; }
#tabs a.has-unread::after {
  content: ""; position: absolute; top: 12px; right: calc(50% - 34px);
  width: 9px; height: 9px; border-radius: 50%; background: var(--rapeseed); border: 1.5px solid var(--soil);
}
.dot {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  background: var(--rapeseed); border: 1.5px solid var(--soil); margin-right: 8px; vertical-align: 1px;
}
.plot.unread { border-color: var(--hedge); }
button.plot.notif { display: block; width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.notif h3 { font-size: 1rem; }
.notif.unread h3 { font-weight: 800; }
.notif:not(.unread) { opacity: .78; }
.notif-body { margin: 6px 0 0; overflow-wrap: anywhere; }
.notif time { flex: none; }
.title-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.hint-card { background: var(--barley); border-color: var(--pasture); margin-bottom: 12px; }
.push-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.check-text { display: grid; gap: 2px; }
.form-error {
  margin: 0; padding: 10px 12px; border-radius: 10px;
  background: #f6e3dc; color: var(--alert); border: 1.5px solid currentColor; font-weight: 500;
}

/* Фото */
.photos { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.photo { position: relative; }
.photo-open { padding: 0; min-height: 0; border-radius: 10px; overflow: hidden; background: var(--meadow); display: block; }
.photo-open img { width: 84px; height: 84px; object-fit: cover; display: block; }
.photo-remove {
  position: absolute; top: -6px; right: -6px; width: 26px; height: 26px; min-height: 0; padding: 0;
  border-radius: 50%; background: var(--road); color: var(--alert); border: 1.5px solid currentColor; font-size: 1rem; line-height: 1;
}
.photo-view { display: grid; gap: 12px; }
.photo-view img { width: 100%; max-height: 72dvh; object-fit: contain; border-radius: 12px; background: var(--meadow); }
.photo-h { font-size: .9375rem; margin: 14px 0 0; }

/* Повтор поездки */
.repeat { display: grid; gap: 12px; }
.segment.days { display: grid; grid-template-columns: repeat(7, 1fr); }
.segment.days button { padding-inline: 0; text-transform: none; }
.repeat-mark { color: var(--hedge); font-weight: 800; }

/* Заметное напоминание (проверка посылки) */
.notice {
  background: #fbf3c4; border: 1.5px solid var(--rapeseed); border-left: 6px solid #c9a812;
  border-radius: 12px; padding: 12px 14px; margin: 12px 0;
}
.notice strong { display: block; font-size: 1rem; }
.notice p { margin: 4px 0 0; font-size: .9375rem; }

/* Где посылка: живая точка водителя */
.pin-car {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--rapeseed); border: 4px solid var(--soil);
  box-shadow: 0 0 0 6px rgba(236, 214, 96, .35), 0 1px 4px rgba(0,0,0,.3);
}
.live-card .map { margin-top: 10px; }
.live-pill {
  position: fixed; left: 50%; transform: translateX(-50%); z-index: 40;
  bottom: calc(var(--tabs-h) + 10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
  background: var(--soil); color: var(--road); padding: 8px 14px; border-radius: 999px;
  font-size: .875rem; box-shadow: 0 2px 10px rgba(0,0,0,.2);
}
.live-pill button.link { color: var(--rapeseed); }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--rapeseed); animation: live-pulse 1.6s ease-in-out infinite; }
@keyframes live-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
/* Пока видна плашка трансляции, всплывающие сообщения — над ней */
body.has-live #toast { bottom: calc(var(--tabs-h) + 66px + env(safe-area-inset-bottom)); }

/* Профиль: оценки по ролям */
.role-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.role-stat { background: var(--road); border: 1.5px solid var(--meadow); border-radius: 14px; padding: 12px 14px; }
.role-stat h3 { font-size: .9375rem; margin: 0; }
.role-score { margin: 6px 0 2px; }
.role-score strong { font-size: 1.75rem; font-weight: 800; line-height: 1; }
.role-stat p.small { margin: 0; }
.summary .stars { font-size: .875rem; }

/* Получатель */
.rcp-status { font-size: 1.15rem; font-weight: 600; margin: 4px 0 14px; }
.code-tile p { margin: 6px 0 0; }
.recipient-card { margin-top: 14px; }
.recipient-fields { border: 1.5px solid var(--meadow); border-radius: var(--r-control); padding: 10px 12px; }
.recipient-fields summary { cursor: pointer; font-weight: 600; color: var(--hedge); }
.recipient-fields[open] summary { margin-bottom: 4px; }

/* Посещаемость */
.analytics .segment { margin-bottom: 4px; }
.an-chart { margin: 12px 0 4px; background: var(--road); border-radius: var(--r-plot); padding: 10px; }
.an-chart svg { display: block; width: 100%; height: 140px; }
.an-views { fill: var(--pasture); }
.an-visitors { fill: var(--hedge); }
.an-legend { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.an-key { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
span.an-key.an-views { background: var(--pasture); }
span.an-key.an-visitors { background: var(--hedge); }
.an-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 12px 0; }
.an-list h3 { margin: 0 0 6px; font-size: 1rem; }
.an-list ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.an-list li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-bottom: 1px solid var(--meadow); font-size: .95rem; overflow-wrap: anywhere; }

/* Кнопки фото: камера и галерея */
.photo-btns { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.photo-camera { display: inline-flex; align-items: center; gap: 8px; }
.photo-camera svg { flex: none; }

/* Аватары */
.avatar { border-radius: 50%; flex: none; object-fit: cover; display: inline-block; background: var(--meadow); border: 2px solid var(--road); box-shadow: 0 1px 3px rgba(38, 56, 33, .18); }
.avatar-letter { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: var(--soil);
  background: hsl(calc(60 + var(--hue, 0) / 4) 42% 78%); }
.person-head { display: flex; align-items: center; gap: 16px; }
.person-head h1 { margin: 0; }
.person-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.person-row h3 { margin: 0; }
.avatar-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }

/* Админка: кликабельные плитки, списки, карточка сделки */
.stat-link { display: block; text-align: left; color: inherit; text-decoration: none; font: inherit; cursor: pointer; width: 100%;
  transition: border-color .15s, transform .15s; }
button.stat-link { min-height: 0; }
.stat-link:hover { border-color: var(--pasture); }
.stat-link:active { transform: scale(.98); }
.stat-link:focus-visible { outline: 3px solid var(--hedge); outline-offset: 2px; }
a.plot-link { display: block; color: inherit; text-decoration: none; }
a.plot-link:hover { border-color: var(--pasture); }
.alert-text { color: var(--alert); }
.kvs { display: grid; gap: 6px; }
.kv { display: grid; grid-template-columns: minmax(110px, 34%) 1fr; gap: 10px; font-size: .95rem; }
.kv span { color: var(--soil-2); }
.kv strong { font-weight: 600; overflow-wrap: anywhere; }
.admin-chat { display: grid; gap: 10px; max-height: 420px; overflow: auto; background: var(--road); border: 1.5px solid var(--meadow); border-radius: 12px; padding: 12px; }
.admin-chat p { margin: 0; overflow-wrap: anywhere; }
button.danger.solid { background: var(--alert); color: #fff; border-color: var(--alert); }
.stat-link { position: relative; padding-right: 28px; }
.stat-link::after { content: "›"; position: absolute; top: 8px; right: 12px; font-size: 1.4rem; line-height: 1; color: var(--pasture); }

/* Животные */
.kind-seg { margin-bottom: 14px; }
.animal-fields { display: grid; gap: 10px; padding: 12px; border: 1.5px solid var(--meadow); border-radius: var(--r-control); background: var(--road); }
.urgent-check strong { color: var(--alert); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 6px; }
.chip { font-size: .8125rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--meadow); color: var(--hedge); }
.chip.urgent { background: var(--alert); color: #fff; }
.plot.urgent-card { border-color: var(--alert); box-shadow: inset 4px 0 0 var(--alert); }
.badge.org { background: #e8ecf8; color: #2e3f7a; }
button.urgent-btn { background: var(--alert); border-color: var(--alert); color: #fff; }
