/* ოჯახის დაფა — „მაცივრის“ სტილი: თბილი ფონი, მსუყე ბარათები, დიდი თითისთვის მოსახერხებელი ღილაკები. */
:root {
  --bg: #fff6ec;
  --bg2: #ffeedd;
  --card: #ffffff;
  --text: #2d2235;
  --muted: #8a7d92;
  --line: #f1e3d3;
  --accent: #ff6b4a;
  --accent-soft: #ffe6dd;
  --sun: #ffc94a;
  --warn: #e5484d;
  --warn-soft: #ffe3e3;
  --ok: #22a06b;
  --ok-soft: #dcf5e8;
  --shadow: 0 2px 0 rgba(120, 70, 30, .06), 0 8px 24px rgba(120, 70, 30, .08);
  --radius: 22px;
  --tabs-h: 68px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1520; --bg2: #231b2a; --card: #2a2132; --text: #f6eefa; --muted: #ab9eb6;
    --line: #3a2f44; --accent: #ff8a6b; --accent-soft: #3d2a2c;
    --warn: #ff6b6f; --warn-soft: #3d2226; --ok: #3ddc97; --ok-soft: #1f3a2e; --shadow: none;
  }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; }
body {
  background: var(--bg); color: var(--text); min-height: 100vh;
  font: 16px/1.45 system-ui, -apple-system, "Segoe UI", "Noto Sans Georgian", "BPG Arial", sans-serif;
}
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; transition: transform .08s; }
button:active { transform: scale(.96); }
.muted { color: var(--muted); }
.err { color: var(--warn); min-height: 1.4em; margin: 8px 0 0; }

/* ── შესვლა ── */
.login { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px;
  background: radial-gradient(circle at 20% 10%, rgba(255, 140, 110, .25) 0, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(160, 130, 255, .22) 0, transparent 45%), var(--bg); }
.login-box { width: 100%; max-width: 360px; text-align: center; }
.logo { font-size: 64px; animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px) rotate(-4deg); } }
.login h1 { margin: 6px 0 2px; font-size: 28px; }
.who-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; }
.who-pick button {
  padding: 22px 8px; font-size: 21px; font-weight: 700; border-radius: var(--radius);
  border: 3px solid transparent; background: var(--card); box-shadow: var(--shadow);
}
.who-pick button.on { border-color: var(--accent); background: var(--accent-soft); }
#login-form { display: grid; gap: 10px; }

/* ── ზედა ზოლი ── */
.top {
  position: sticky; top: 0; z-index: 9; display: flex; align-items: center; gap: 10px;
  max-width: 640px; margin: 0 auto; padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
  background: linear-gradient(var(--bg) 78%, transparent);
}
.top .hi { flex: 1; font-weight: 800; font-size: 18px; line-height: 1.2; }
.top .hi small { display: block; font-weight: 500; font-size: 13px; color: var(--muted); }
.icon-btn {
  width: 46px; height: 46px; flex: none; border-radius: 50%; border: 0; background: var(--card);
  box-shadow: var(--shadow); font-size: 22px; display: grid; place-items: center; text-decoration: none;
}

/* ── ფორმის ელემენტები ── */
input, select, textarea {
  width: 100%; padding: 13px 14px; border-radius: 14px;
  border: 2px solid var(--line); background: var(--card); outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
textarea { resize: vertical; min-height: 80px; }
.primary, .ghost, .danger { padding: 13px 18px; border-radius: 16px; border: 0; font-weight: 700; }
.primary { background: var(--accent); color: #fff; box-shadow: 0 4px 0 rgba(0, 0, 0, .12); }
.ghost { background: var(--accent-soft); color: var(--text); }
.danger { background: var(--warn-soft); color: var(--warn); }
.wide { width: 100%; }

/* ── გვერდი ── */
#view { max-width: 640px; margin: 0 auto; padding: 4px 16px calc(var(--tabs-h) + 100px); }
.head { display: flex; align-items: center; gap: 8px; margin: 4px 0 14px; }
.head h2 { flex: 1; margin: 0; font-size: 21px; text-align: center; }
.head h2 small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
.nav-btn { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--card); box-shadow: var(--shadow); font-size: 22px; }
.title { font-size: 23px; margin: 6px 0 14px; }

/* ── მთავარი: ბავშვები ახლა + სწრაფი ღილაკები ── */
.now-kids { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.now-kid {
  background: var(--card); border-radius: 20px; padding: 10px 6px 9px; text-align: center; border: 0;
  box-shadow: var(--shadow); border-bottom: 5px solid var(--c); min-width: 0;
}
.now-kid .av { font-size: 30px; line-height: 1.1; }
.now-kid b { display: block; color: var(--c); font-size: 15px; }
.now-kid span { display: block; font-size: 12px; color: var(--muted); line-height: 1.25; margin-top: 2px; overflow-wrap: anywhere; }
.now-kid.soon { box-shadow: 0 0 0 3px var(--sun); }
.now-kid.late { animation: pk-late .8s ease-in-out infinite; }
.now-kid.late span { color: var(--warn); font-weight: 700; }
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.quick button {
  border: 0; border-radius: 20px; padding: 13px 6px; font-weight: 700; font-size: 14px;
  display: flex; flex-direction: column; align-items: center; gap: 3px; box-shadow: var(--shadow);
}
.quick button span { font-size: 28px; }
.quick .q1 { background: #ffe1d6; color: #7a2a14; }
.quick .q2 { background: #dff3e6; color: #135a36; }
.quick .q3 { background: #ece3ff; color: #47288c; }
@media (prefers-color-scheme: dark) {
  .quick .q1 { background: #4a2a22; color: #ffd2c4; }
  .quick .q2 { background: #1f3d2c; color: #c9f2da; }
  .quick .q3 { background: #33284d; color: #e1d6ff; }
}

/* ── მოვლენის ბარათი ── */
.card {
  position: relative; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 13px 14px 13px 20px; margin-bottom: 10px; overflow: hidden; border: 0;
}
.card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 7px; background: var(--c, var(--accent)); }
.ev { display: grid; grid-template-columns: 62px 1fr; gap: 10px; width: 100%; text-align: left; }
.ev .time { font-weight: 800; font-variant-numeric: tabular-nums; font-size: 17px; }
.ev .time small { display: block; font-weight: 600; color: var(--muted); font-size: 14px; }
.ev .what { font-weight: 800; font-size: 18px; }
.ev .note { color: var(--muted); font-size: 14px; margin-top: 3px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.chip { font-size: 13px; padding: 4px 10px; border-radius: 99px; background: var(--bg2); white-space: nowrap; font-weight: 600; }
.chip.kid { background: var(--c); color: #fff; }
.chip.need { background: var(--warn-soft); color: var(--warn); }
.chip.changed { background: transparent; border: 1.5px dashed var(--muted); color: var(--muted); font-weight: 500; }
.chip.got { background: var(--ok-soft); color: var(--ok); }
.banner { background: var(--warn-soft); color: var(--warn); border-radius: 16px; padding: 11px 14px; margin-bottom: 12px; font-weight: 700; }
.empty { white-space: pre-line; text-align: center; color: var(--muted); padding: 30px 0; font-size: 17px; }
.empty::before { content: "🌈"; display: block; font-size: 44px; margin-bottom: 6px; }

/* ── კვირა ── */
.day { margin-bottom: 14px; }
.day h3 { font-size: 15px; margin: 0 0 6px; color: var(--muted); font-weight: 700; display: flex; justify-content: space-between; }
.day.is-today h3 { color: var(--accent); }
.day .rows { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.day.is-today .rows { box-shadow: 0 0 0 3px var(--accent); }
.row { display: flex; gap: 10px; align-items: center; width: 100%; padding: 11px 14px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; }
.row:last-child { border-bottom: 0; }
.row .t { width: 46px; font-variant-numeric: tabular-nums; font-weight: 700; font-size: 14px; }
.row .w { flex: 1; min-width: 0; font-weight: 600; }
.row .d { font-size: 13px; color: var(--muted); white-space: nowrap; }
.row .d .need, .day h3 .need { color: var(--warn); font-weight: 700; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--c); margin-right: 3px; }
.row-empty { padding: 11px 14px; color: var(--muted); font-size: 14px; }

/* ── სეგმენტი / არჩევანი ── */
.seg { display: flex; gap: 6px; flex-wrap: wrap; }
.seg button { flex: 1; min-width: 64px; padding: 11px 8px; border-radius: 14px; border: 2px solid var(--line); background: var(--card); font-size: 15px; font-weight: 600; }
.seg button.on { border-color: var(--accent); background: var(--accent-soft); font-weight: 800; }
.seg.kids button.on { background: var(--c); border-color: var(--c); color: #fff; }
.seg.small button { min-width: 0; padding: 9px 4px; font-size: 14px; }
.tabs-top { margin-bottom: 14px; }

/* ── სიები ── */
.add-row { display: flex; gap: 8px; margin-bottom: 12px; }
.add-row input { flex: 1; }
.add-row button { flex: none; width: 54px; font-size: 24px; padding: 0; }
.item { display: flex; align-items: center; gap: 12px; background: var(--card); border-radius: 18px; box-shadow: var(--shadow); padding: 11px 12px; margin-bottom: 8px; }
.item input[type=checkbox] { width: 26px; height: 26px; flex: none; accent-color: var(--ok); }
.item .txt { flex: 1; min-width: 0; overflow-wrap: anywhere; cursor: pointer; font-weight: 600; }
.item .txt small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.item.done .txt span { text-decoration: line-through; color: var(--muted); }
.x { border: 0; background: none; font-size: 20px; color: var(--muted); padding: 4px 8px; }
.note-card { white-space: pre-wrap; cursor: pointer; }
.note-card small { display: block; color: var(--muted); font-size: 12px; margin-top: 6px; white-space: normal; }

/* ── ამბები ── */
.moment { padding: 18px 16px 12px 24px; }
.moment q { display: block; font-size: 19px; font-style: italic; quotes: "„" "“"; white-space: pre-wrap; cursor: pointer; }
.moment footer { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; color: var(--muted); font-size: 13px; }

/* ── პარამეტრები ── */
.box { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; margin-bottom: 14px; }
.box h3 { margin: 0 0 10px; font-size: 17px; }
.box p { margin: 0 0 10px; }
.stack { display: grid; gap: 10px; }

/* ── ქვედა მენიუ + "+" ── */
.tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: grid; grid-template-columns: repeat(5, 1fr);
  height: calc(var(--tabs-h) + env(safe-area-inset-bottom)); padding: 0 6px env(safe-area-inset-bottom);
  background: var(--card); box-shadow: 0 -4px 20px rgba(120, 70, 30, .08);
}
.tabs button { border: 0; background: none; font-size: 12px; color: var(--muted); font-weight: 600; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.tabs button span { font-size: 24px; filter: grayscale(.7); transition: transform .15s; }
.tabs button.on { color: var(--accent); }
.tabs button.on span { filter: none; transform: translateY(-2px) scale(1.12); }
.fab {
  position: fixed; right: 18px; z-index: 11; bottom: calc(var(--tabs-h) + 16px + env(safe-area-inset-bottom));
  width: 62px; height: 62px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; font-size: 36px; line-height: 1;
  box-shadow: 0 6px 18px rgba(255, 107, 74, .45);
}

/* ── ქვედა ფანჯარა (sheet) ── */
.sheet-bg { position: fixed; inset: 0; background: rgba(30, 15, 25, .45); z-index: 20; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 21; max-width: 640px; margin: 0 auto; max-height: 92vh; overflow-y: auto;
  background: var(--bg); border-radius: 26px 26px 0 0; padding: 10px 16px calc(22px + env(safe-area-inset-bottom)); animation: up .2s ease-out;
}
@keyframes up { from { transform: translateY(40px); opacity: .4; } }
.sheet .grip { width: 44px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 12px; }
.sheet h3 { margin: 0 0 14px; font-size: 21px; }
.field { margin-bottom: 16px; }
.field > label { display: block; font-size: 15px; margin-bottom: 7px; font-weight: 800; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sugg { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.sugg button { border: 0; background: var(--bg2); border-radius: 99px; padding: 7px 12px; font-size: 14px; font-weight: 600; }
.actions { display: grid; gap: 10px; margin-top: 18px; }
.primary.got { background: var(--ok); }

.toast {
  position: fixed; left: 50%; transform: translateX(-50%); z-index: 30; bottom: calc(var(--tabs-h) + 90px + env(safe-area-inset-bottom));
  background: var(--text); color: var(--bg); padding: 11px 20px; border-radius: 99px; font-weight: 700; max-width: 90vw; text-align: center;
}

/* ── ზეიმი ✅-ზე ── */
.confetti { position: fixed; z-index: 40; pointer-events: none; font-size: 26px; animation: fly 1.1s ease-out forwards; }
@keyframes fly { to { transform: translate(var(--dx), var(--dy)) rotate(var(--r)); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .confetti, .logo { animation: none; display: none; } }

/* ── გამოყვანის განგაში ── */
.card.pk-soon { animation: pk-soon 1.6s ease-in-out infinite; }
.card.pk-late { animation: pk-late .8s ease-in-out infinite; }
@keyframes pk-soon { 50% { box-shadow: 0 0 0 4px var(--sun); } }
@keyframes pk-late { 50% { box-shadow: 0 0 0 5px var(--warn); background: var(--warn-soft); } }

/* ── სკოლის განრიგი ── */
.kid-title { color: var(--c); }
.school { display: grid; gap: 6px; margin-bottom: 8px; }
.school .sh, .school .sr { display: grid; grid-template-columns: 34px 1fr 1fr; gap: 5px; align-items: center; }
.school .sr { padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.school .sh span { font-size: 12px; color: var(--muted); text-align: center; }
.school input, .school select { min-width: 0; padding: 9px 4px; font-size: 14px; text-align: center; }

/* ── ბავშვის გვერდი ── */
.kid-head { display: flex; gap: 8px; margin-bottom: 16px; }
.kid-head button { flex: 1; padding: 8px 6px 10px; border-radius: 20px; border: 3px solid var(--c); background: var(--card); color: var(--c); font-weight: 800; font-size: 16px; }
.kid-head button span { display: block; font-size: 30px; }
.kid-head button.on { background: var(--c); color: #fff; }
.sec { margin-bottom: 20px; }
.sec h3 { font-size: 16px; margin: 0 0 8px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sec h3 button { font-size: 14px; padding: 7px 12px; flex: none; }
.krow { display: block; width: 100%; text-align: left; padding: 11px 14px 11px 20px; }
.krow b { font-size: 16px; }
.krow .sub { color: var(--muted); font-size: 14px; margin-top: 2px; }
.sched { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.sched div { display: flex; gap: 10px; padding: 9px 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
.sched div:last-child { border-bottom: 0; }
.sched b { width: 34px; }
.need-txt { color: var(--warn) !important; font-weight: 600; }
.stack-gap { height: 10px; }
.stack-top { margin-top: 8px; }
.small-note { font-size: 13px; margin: 6px 0 0; }
.btn-link { display: block; text-align: center; text-decoration: none; font-weight: 700; }

/* ── მისასალმებელი / რეგისტრაცია ── */
.login-box { text-align: left; }
.login-box .logo, .login-box h1, .login-box > p { text-align: center; }
.features { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 8px; }
.features li { background: var(--card); border-radius: 16px; padding: 11px 14px; box-shadow: var(--shadow); font-size: 15px; }
.auth-form { display: grid; gap: 10px; margin-top: 12px; }
.accept { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.accept input { width: 22px; height: 22px; flex: none; margin-top: 1px; accent-color: var(--accent); }
.link-btn { border: 0; background: none; color: var(--accent); font-weight: 700; padding: 8px 0; }
.demo-btn { border: 0; border-radius: 16px; padding: 13px 18px; font-weight: 700; background: #ece3ff; color: #47288c; }
@media (prefers-color-scheme: dark) { .demo-btn { background: #33284d; color: #e1d6ff; } }
.foot { text-align: center; margin-top: 18px; }
.demo-bar {
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  background: #ece3ff; color: #47288c; padding: calc(8px + env(safe-area-inset-top)) 12px 8px; font-size: 14px; font-weight: 600;
}
.demo-bar button { border: 0; border-radius: 99px; padding: 6px 12px; background: #47288c; color: #fff; font-weight: 700; }

/* ── ⚙️ ოჯახის მართვა ── */
.member-list { display: grid; gap: 8px; margin-bottom: 10px; }
.member {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 10px 12px;
  border: 0; border-left: 6px solid var(--c, var(--line)); border-radius: 14px; background: var(--bg2);
}
.member .av { font-size: 26px; }
.member b { flex: 1; }
.member .edit { opacity: .6; }
.kid-preview { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; margin-bottom: 14px;
  background: var(--card); box-shadow: var(--shadow); border-left: 8px solid var(--c); }
.kid-preview span { font-size: 40px; }
.kid-preview b { font-size: 20px; color: var(--c); }
.emoji-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.emoji-grid button { font-size: 26px; padding: 6px 0; border-radius: 12px; border: 2px solid transparent; background: var(--card); }
.emoji-grid button.on { border-color: var(--accent); background: var(--accent-soft); }
.color-row { display: flex; gap: 10px; flex-wrap: wrap; }
.color-row button { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--card); background: var(--c); box-shadow: 0 0 0 2px var(--line); }
.color-row button.on { box-shadow: 0 0 0 3px var(--text); }
.kid-head .kid-add { --c: var(--muted); border-style: dashed; flex: .7; }
.danger-zone summary { font-weight: 800; cursor: pointer; }
.danger-zone[open] summary { margin-bottom: 10px; }

/* ── პირველი ნაბიჯები ── */
.onboarding h3 { font-size: 18px; }
.ob-step { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.ob-step p { margin: 2px 0 8px; font-size: 14px; }
.ob-num { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-weight: 800; }
.ob-step.done .ob-num { background: var(--ok); }
.ob-step.done b { text-decoration: line-through; color: var(--muted); }
.ob-step button { padding: 9px 14px; }

/* ── მორგება ── */
.activity-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.activity-grid button { border: 0; background: var(--card); box-shadow: var(--shadow); border-radius: 99px; padding: 9px 14px; font-size: 15px; font-weight: 600; }
.list-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
.list-tabs button { flex: none; min-width: auto; padding: 10px 14px; }
.list-tabs .add-list { border-style: dashed; color: var(--muted); }
.toggle-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.toggle-row span { flex: 1; }
.toggle-row small { display: block; font-size: 13px; }
.toggle-row input { width: 26px; height: 26px; accent-color: var(--accent); flex: none; }

.pw-row { display: flex; gap: 6px; align-items: stretch; }
.pw-row input { flex: 1; min-width: 0; }
.pw-eye { flex: none; width: 48px; border-radius: 12px; border: 1px solid var(--line, #ddd); background: transparent; font-size: 20px; cursor: pointer; }
.small-note.warn { color: #c2410c; margin: 4px 2px 0; }

/* ── ადმინ-პანელი ── */
.admin-btn { margin-bottom: 14px; }
.a-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; }
.a-tile { background: var(--card); border-radius: 18px; padding: 14px; box-shadow: var(--shadow); display: grid; gap: 2px; }
.a-tile b { font-size: 28px; line-height: 1.1; color: var(--accent); font-variant-numeric: tabular-nums; }
.a-tile span { font-weight: 600; }
.a-tile small { color: var(--muted); font-size: 12px; }
.a-chart { display: flex; align-items: flex-end; gap: 2px; height: 110px; padding-top: 16px; }
.a-bar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; min-width: 0; }
.a-bar span { width: 100%; min-height: 2px; background: var(--accent); border-radius: 3px 3px 0 0; opacity: .85; }
.a-bar i { font-style: normal; font-size: 10px; color: var(--muted); }
.a-axis { display: flex; justify-content: space-between; font-size: 12px; margin-top: 4px; }
.a-fam { display: grid; gap: 8px; }
.a-fam-head small { font-weight: 500; }
.a-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.a-chip { background: var(--bg2, #f6efe8); border-radius: 999px; padding: 3px 10px; font-size: 13px; }
.a-parent { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); padding-top: 8px; }
.a-parent > div { min-width: 0; overflow-wrap: anywhere; }
.a-badge { font-size: 11px; background: var(--accent-soft, #ffe8e0); color: var(--accent); border-radius: 999px; padding: 1px 8px; margin-left: 6px; }
button.small { padding: 6px 12px; font-size: 14px; width: auto; }
@media (min-width: 560px) { .a-tiles { grid-template-columns: repeat(3, 1fr); } }
.a-fam > button.small { justify-self: start; }

/* ── უკუთვლა და ციმციმი (ტელევიზორის მსგავსად): ბოლო 20 წთ — პულსი, ბოლო 5 წთ — მკვეთრი ციმციმი ── */
.cd { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: var(--bg2, #f6efe8);
  font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; vertical-align: middle; }
.now-kid .cd { margin: 4px 0 0; }
.due .cd { background: var(--sun); color: #2b1d00; }
.card.ev.due:not(.pk-late), .now-kid.due:not(.late), .item.due { animation: due-pulse 1.6s ease-in-out infinite; }
.card.ev.due5:not(.pk-late), .now-kid.due5:not(.late), .item.due5 { animation: due-blink .8s steps(2, start) infinite; }
@keyframes due-pulse { 50% { box-shadow: 0 0 0 4px var(--sun); } }
@keyframes due-blink { 50% { box-shadow: 0 0 0 5px var(--sun); background: color-mix(in srgb, var(--sun) 30%, var(--card)); } }
@media (prefers-reduced-motion: reduce) { .due, .due5 { animation: none !important; box-shadow: 0 0 0 4px var(--sun); } }

/* შეტყობინებები გამორთულია — ყვითელი ზოლი მთავარ გვერდზე */
.push-banner { display: flex; align-items: center; gap: 10px; background: var(--sun); color: #2b1d00; border-radius: 16px;
  padding: 11px 12px 11px 14px; margin-bottom: 12px; font-weight: 700; font-size: 14px; line-height: 1.35; }
.push-banner span { flex: 1; }
.push-banner button { flex: none; border: 0; border-radius: 12px; padding: 9px 14px; background: #2b1d00; color: var(--sun); font-weight: 800; }

/* „დღეს“: ბავშვების ფილტრი — kid-head-ის პატარა ვარიანტი */
.day-filter { gap: 6px; margin-bottom: 14px; }
.day-filter button { padding: 6px 4px 8px; font-size: 14px; border-radius: 16px; }
.day-filter button span { font-size: 24px; }
