
:root {
  --ink: #111111;
  --muted: #555555;
  --line: #E4E4E4;
  --soft: #FAFAFA;
  --sand: #F4EDEF;
  --green: #1F7A4D;
  --green-bg: #EEF6F1;
  --green-ink: #14532D;
  --amber: #CC2454;
  --red: #991B1B;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: #F4F4F2; }
body { font-family: 'Golos Text', system-ui, sans-serif; color: var(--ink); -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--ink); }

.app { max-width: 480px; min-height: 100vh; margin: 0 auto; background: #fff; display: flex; flex-direction: column; }
.top { position: sticky; top: 0; z-index: 10; background: #fff; display: flex; align-items: center; justify-content: space-between; padding: 14px 20px 10px; border-bottom: 1px solid #EEE; }
.logo { font-family: 'Caveat', cursive; font-size: 36px; font-weight: 700; line-height: 1; text-decoration: none; color: var(--ink); background: none; border: 0; padding: 0; }
.tag { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-left: 8px; }
.demo { background: #FDEEF3; color: #A41D43; font-size: 12px; text-align: center; padding: 6px 12px; }
main { flex: 1; padding: 0 20px 28px; }
.stack { display: flex; flex-direction: column; gap: 18px; padding-top: 18px; }
.stack-s { display: flex; flex-direction: column; gap: 8px; }
h1 { margin: 0; font-size: 27px; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
.sub { margin: 4px 0 0; font-size: 15px; color: var(--muted); line-height: 1.45; }
.label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 13px; }

.btn { height: 54px; border-radius: 16px; border: 0; background: var(--ink); color: #fff; font-size: 17px; font-weight: 600; width: 100%; }
.btn-out { height: 50px; border-radius: 14px; border: 1px solid #D6D6D6; background: #fff; font-size: 15px; font-weight: 600; width: 100%; }
.btn-sm { height: 40px; padding: 0 14px; border-radius: 12px; border: 0; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; }
.btn-sm.out { background: #fff; color: var(--ink); border: 1px solid var(--ink); }
.back { align-self: flex-start; height: 40px; padding: 0 10px 0 0; border: 0; background: none; font-size: 15px; display: flex; align-items: center; gap: 4px; }

.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cat { position: relative; height: 92px; border-radius: 16px; border: 1px solid var(--line); background: var(--soft); display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 14px; text-align: left; font-size: 16px; font-weight: 600; }
.cat.on { border: 2px solid var(--ink); padding: 13px; }
.cat .check { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 11px; background: var(--ink); display: none; align-items: center; justify-content: center; }
.cat.on .check { display: flex; }

.field { position: relative; }
.inputbox { display: flex; align-items: center; gap: 10px; height: 52px; border: 1px solid #D6D6D6; border-radius: 14px; padding: 0 14px; }
.inputbox input { flex: 1; border: 0; outline: 0; font-size: 16px; background: transparent; min-width: 0; }
.inputbox:focus-within { border-color: var(--ink); }
.sugg { position: absolute; left: 0; right: 0; top: 58px; background: #fff; border: 1px solid #D6D6D6; border-radius: 14px; box-shadow: 0 12px 32px rgba(0,0,0,.12); z-index: 5; overflow: hidden; }
.sugg button { display: flex; width: 100%; justify-content: space-between; align-items: center; min-height: 46px; padding: 0 16px; border: 0; border-bottom: 1px solid #F0F0F0; background: #fff; font-size: 15px; text-align: left; }
.sugg button span:last-child { font-size: 12px; color: var(--muted); }

.toggle-row { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--soft); font-size: 15px; font-weight: 500; width: 100%; }
.sw { width: 46px; height: 28px; border-radius: 14px; background: #D6D6D6; position: relative; flex: none; }
.sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 11px; background: #fff; transition: left .15s; }
.sw.on { background: var(--ink); }
.sw.on::after { left: 21px; }
.dot { width: 10px; height: 10px; border-radius: 5px; background: var(--green); display: inline-block; }

.card { border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.soft { background: var(--soft); border-radius: 14px; padding: 14px; }
.row { display: flex; align-items: center; gap: 12px; }
.between { display: flex; justify-content: space-between; gap: 10px; }
.avatar { flex: none; width: 52px; height: 52px; border-radius: 26px; background: var(--sand); display: flex; align-items: center; justify-content: center; font-weight: 600; }
.pro-head { display: flex; align-items: center; gap: 12px; border: 0; background: none; padding: 0; text-align: left; width: 100%; }
.name { font-size: 16px; font-weight: 600; }
.star { color: #B7791F; }
.free { font-size: 12px; font-weight: 600; color: var(--green); display: flex; align-items: center; gap: 6px; }
.free .dot { width: 8px; height: 8px; }
.slots { display: flex; gap: 8px; flex-wrap: wrap; }
.slot { height: 42px; min-width: 72px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--green); background: var(--green-bg); color: var(--green-ink); font-size: 15px; font-weight: 600; }
.slot.on { background: var(--green); color: #fff; }
.slotgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.chips { display: flex; gap: 8px; overflow-x: auto; }
.chip { flex: none; height: 36px; padding: 0 14px; border-radius: 18px; border: 1px solid #D6D6D6; background: #fff; font-size: 14px; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.day { height: 60px; border-radius: 14px; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 13px; font-weight: 600; }
.day small { font-size: 12px; font-weight: 400; color: var(--muted); }
.day.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.day.on small { color: #fff; }
.svc { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line); background: #fff; text-align: left; width: 100%; }
.svc.on { border: 2px solid var(--ink); padding: 9px 13px; }
.svc b { font-size: 15px; }
.svc .pick { height: 32px; padding: 0 12px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; display: flex; align-items: center; }
.photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.photos div { height: 104px; background: var(--sand); display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--muted); text-align: center; padding: 6px; border-radius: 4px; }
.photos div:first-child { border-radius: 14px 4px 4px 14px; }
.photos div:last-child { border-radius: 4px 14px 14px 4px; }
.iconbtn { flex: none; width: 44px; height: 44px; border-radius: 22px; border: 1px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: center; }
.summary { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.summary .between span:first-child { color: var(--muted); }
.summary .between span:last-child { font-weight: 600; }
.okcircle { width: 76px; height: 76px; border-radius: 38px; background: var(--green-bg); display: flex; align-items: center; justify-content: center; }
.center { align-items: center; text-align: center; }

.bottom { position: sticky; bottom: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #EEE; padding: 6px 8px calc(10px + env(safe-area-inset-bottom)); background: #fff; }
.bottom button { position: relative; height: 54px; border: 0; background: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; color: var(--muted); }
.bottom button.on { color: var(--ink); font-weight: 700; }
.badge { position: absolute; top: 4px; left: 54%; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #D9285A; color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.week div { height: 56px; border-radius: 12px; border: 1px solid #EEE; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 16px; font-weight: 600; }
.week div small { font-size: 11px; font-weight: 400; color: var(--muted); }
.week div.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.week div.on small { color: #fff; }
.alert { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid #F3C98B; background: #FDEEF3; color: #A41D43; font-size: 15px; font-weight: 600; width: 100%; }
.appt { display: flex; gap: 12px; }
.appt .time { flex: none; width: 46px; padding-top: 12px; font-size: 13px; font-weight: 600; color: var(--muted); }
.appt .body { flex: 1; min-width: 0; border-radius: 14px; border: 1px solid var(--line); padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.appt .brk { flex: 1; min-height: 44px; border-radius: 14px; border: 1px dashed #CFCFCF; display: flex; align-items: center; padding: 0 14px; font-size: 14px; color: var(--muted); }
.appt button.open { border: 0; background: none; padding: 0; text-align: left; display: flex; flex-direction: column; gap: 3px; width: 100%; }
.st-ok { font-size: 12px; font-weight: 600; color: var(--green); }
.st-wait { font-size: 12px; font-weight: 600; color: var(--amber); }
.st-no { font-size: 12px; font-weight: 600; color: var(--red); }
.tel { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; text-decoration: none; min-height: 32px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.stat { padding: 12px; border-radius: 14px; background: var(--soft); }
.stat b { display: block; font-size: 22px; }
.stat span { font-size: 12px; color: var(--muted); }
textarea { width: 100%; border: 1px solid #D6D6D6; border-radius: 14px; padding: 12px 14px; font-size: 15px; line-height: 1.45; resize: vertical; }
.hist { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid #F0F0F0; font-size: 14px; }
.done-ok { height: 46px; border-radius: 12px; background: var(--green-bg); color: var(--green-ink); font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.done-no { height: 46px; border-radius: 12px; background: #FDF0F4; color: var(--red); font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.list-row { display: flex; justify-content: space-between; align-items: center; min-height: 54px; border: 0; border-bottom: 1px solid #F0F0F0; background: none; padding: 0; font-size: 15px; width: 100%; }

.hero { padding: 48px 4px 8px; }
.choice { display: flex; flex-direction: column; gap: 12px; }
.choice a { display: flex; align-items: center; justify-content: space-between; min-height: 76px; padding: 0 20px; border-radius: 18px; border: 1px solid var(--line); text-decoration: none; font-size: 18px; font-weight: 600; }
.choice a.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.choice a span small { display: block; font-size: 13px; font-weight: 400; opacity: .75; margin-top: 2px; }

/* ---------- Работеща версия: допълнения ---------- */
.app { max-width: 560px; }
.bottom { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.bottom a { position: relative; height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; color: var(--muted); text-decoration: none; }
.bottom a.on { color: var(--ink); font-weight: 700; }
a.btn, a.btn-out, a.btn-sm { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
a.btn { color: #fff; }
a.btn-sm { color: #fff; }
a.btn-sm.out, a.btn-out { color: var(--ink); }
.btn-sm.danger { background: #fff; color: var(--red); border: 1px solid #EDC3CF; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.avatar-s { width: 40px; height: 40px; font-size: 14px; text-decoration: none; color: var(--ink); }
form.inline { display: inline; }

.flash { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; font-size: 14px; line-height: 1.45; }
.flash-ok { background: var(--green-bg); color: var(--green-ink); }
.flash-err { background: #FDF0F4; color: var(--red); }
.flash-info { background: #FDEEF3; color: #A41D43; }
.errors { background: #FDF0F4; color: var(--red); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.errors ul { margin: 0; padding-left: 18px; }

.f { display: flex; flex-direction: column; gap: 6px; }
.f > label, .f > .label-text { font-size: 14px; font-weight: 600; }
.f .hint { font-size: 12px; color: var(--muted); }
.in, select.in, textarea.in { height: 50px; border: 1px solid #D6D6D6; border-radius: 12px; padding: 0 14px; font-size: 16px; background: #fff; width: 100%; }
textarea.in { height: auto; padding: 12px 14px; }
.in:focus, textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.chk input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: #111; }
.code-in { font-size: 28px; letter-spacing: .4em; text-align: center; font-weight: 600; }
.radio-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.radio-cards label { position: relative; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); font-weight: 600; cursor: pointer; }
.radio-cards input { position: absolute; opacity: 0; }
.radio-cards label:has(input:checked) { border: 2px solid var(--ink); padding: 0 13px; background: #fff; }
.radio-cards label:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.cat input { position: absolute; opacity: 0; }
label.cat { cursor: pointer; }
label.cat:has(input:checked) { border: 2px solid var(--ink); padding: 13px; }
label.cat:has(input:checked) .check { display: flex; }
label.cat:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.toggle-row input { position: absolute; opacity: 0; }
label.toggle-row { cursor: pointer; position: relative; }
label.toggle-row:has(input:checked) .sw { background: var(--ink); }
label.toggle-row:has(input:checked) .sw::after { left: 21px; }

.day-link { text-decoration: none; color: var(--ink); }
.day.closed { opacity: .4; }
.daystrip { display: grid; grid-auto-flow: column; grid-auto-columns: 64px; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
a.slot { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.empty { padding: 20px; border-radius: 14px; background: var(--soft); text-align: center; color: var(--muted); font-size: 14px; line-height: 1.5; }
.pill { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 13px; background: var(--soft); font-size: 12px; font-weight: 600; }
.photos-big { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.photos-big img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; background: var(--sand); }
.scroll-photos { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; }
.scroll-photos img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 14px; scroll-snap-align: start; background: var(--sand); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th, .tbl td { text-align: left; padding: 10px; border-bottom: 1px solid #F0F0F0; vertical-align: top; white-space: nowrap; }
.tbl th { font-size: 12px; color: var(--muted); font-weight: 600; background: var(--soft); }
.hours-row { display: grid; grid-template-columns: 92px repeat(2, minmax(0, 1fr)); gap: 8px; align-items: center; }
.hours-row .in { height: 44px; padding: 0 8px; }
.hours-break { display: grid; grid-template-columns: 92px repeat(2, minmax(0, 1fr)); gap: 8px; align-items: center; font-size: 12px; color: var(--muted); }
.hours-break .in { height: 38px; font-size: 14px; padding: 0 8px; }
.daybox { border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.stars { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.stars input { position: absolute; opacity: 0; }
.stars label { font-size: 36px; color: #D6D6D6; cursor: pointer; line-height: 1; }
.stars label:hover, .stars label:hover ~ label, .stars input:checked ~ label { color: #B7791F; }
.stars input:focus-visible + label { outline: 2px solid var(--ink); }
.foot { margin-top: 40px; padding: 18px 0 8px; border-top: 1px solid #EEE; font-size: 12px; color: var(--muted); line-height: 1.8; }
.foot a { color: var(--muted); }
.prose { font-size: 15px; line-height: 1.6; }
.prose h2 { font-size: 18px; margin: 22px 0 6px; }
.city-box { position: relative; }
@media (min-width: 600px) {
  body { padding: 0 0 24px; }
  .app { min-height: 100vh; box-shadow: 0 0 0 1px #E8E8E6; }
}
[hidden] { display: none !important; }
label.slot:has(input:checked) { background: var(--green); color: #fff; }
label.slot:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
summary::-webkit-details-marker { display: none; }
details.card > summary { list-style: none; }
.city-box .sugg { top: 100%; margin-top: 4px; }
.seg { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 4px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); }
.seg a { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 52px; padding: 6px 10px; border-radius: 12px; font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--muted); text-decoration: none; }
.seg a.on { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
@media (min-width: 480px) { .seg { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* ---------- Админ ---------- */
.app-wide { max-width: 1120px; }
.imp-bar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 16px; background: #A41D43; color: #fff; font-size: 14px; }
.imp-bar button { height: 36px; padding: 0 14px; border-radius: 10px; border: 0; background: #fff; color: #A41D43; font-weight: 700; }
.anav { display: flex; gap: 6px; overflow-x: auto; padding: 14px 0 4px; }
.anav a { flex: none; display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 19px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 500; }
.anav a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 720px) { .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } .grid-2-wide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; } }
.kpi { padding: 14px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); }
.kpi b { display: block; font-size: 24px; }
.kpi span { font-size: 12px; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.filters .f { flex: 1 1 160px; }
.filters .in { height: 44px; }
.tag-s { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 11px; font-size: 11px; font-weight: 700; background: var(--soft); border: 1px solid var(--line); color: var(--ink); }
.tag-s.red { background: #FDF0F4; border-color: #F5D0DA; color: var(--red); }
.tag-s.green { background: var(--green-bg); border-color: #BFE0CC; color: var(--green-ink); }
.tag-s.amber { background: #FDEEF3; border-color: #F3C98B; color: #A41D43; }
.tbl a { color: var(--ink); }
.tbl td.wrap { white-space: normal; min-width: 180px; }
.danger-zone { border: 1px solid #F5D0DA; border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.pager { display: flex; gap: 8px; align-items: center; }
/* ---------- SEO страници ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 14px; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.seo-block { border-top: 1px solid var(--line); padding-top: 18px; font-size: 15px; line-height: 1.65; color: #333; }
.seo-block h2 { font-size: 19px; margin: 0 0 8px; color: var(--ink); }
.seo-block h3 { font-size: 16px; margin: 16px 0 4px; color: var(--ink); }
.seo-block p { margin: 0 0 8px; }
.city-links-s { display: flex; flex-wrap: wrap; gap: 6px; }
.city-links-s a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 18px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 13px; }
.city-links-s a:hover { border-color: var(--ink); }
h2.label { margin: 0; }
.letter-row { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px solid #F0F0F0; font-size: 14px; line-height: 1.8; }
.letter-row b { flex: none; width: 20px; }
/* ---------- Видео „Как работи“ ---------- */
.vid-trigger { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; background: none; padding: 0; font: inherit; font-weight: 600; cursor: pointer; }
.vid-trigger .pl { flex: none; width: 26px; height: 26px; border-radius: 13px; background: linear-gradient(135deg, #E8ABBC, #E67F9C); display: inline-flex; align-items: center; justify-content: center; }
.vid-trigger .pl::after { content: ''; margin-left: 2px; border-left: 8px solid #190F12; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.vid-box { position: relative; width: 100%; max-width: 360px; aspect-ratio: 9 / 16; margin: 0 auto; border-radius: 26px; overflow: hidden; background: #150E10; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.vid-box video { width: 100%; height: 100%; display: block; object-fit: cover; }
.vid-box .vid-btn { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 38px; border: 0; background: rgba(232, 171, 188,.95); box-shadow: 0 10px 30px rgba(0,0,0,.35); cursor: pointer; transition: opacity .25s; }
.vid-box .vid-btn::after { content: ''; position: absolute; left: 31px; top: 24px; border-left: 22px solid #190F12; border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.vid-box.playing .vid-btn { opacity: 0; pointer-events: none; }
.vid-box .vid-full { position: absolute; right: 12px; bottom: 12px; height: 34px; padding: 0 12px; border-radius: 17px; border: 0; background: rgba(21, 14, 16,.7); color: #fff; font-size: 12px; font-weight: 600; cursor: pointer; }
.vid-modal { position: fixed; inset: 0; z-index: 1000; background: rgba(10, 6, 7,.92); display: flex; align-items: center; justify-content: center; padding: 16px; }
.vid-modal[hidden] { display: none; }
.vid-modal video { height: min(88vh, 900px); max-width: 100%; aspect-ratio: 9 / 16; border-radius: 22px; background: #150E10; box-shadow: 0 30px 80px rgba(0,0,0,.6); object-fit: contain; }
.vid-modal .vid-x { position: absolute; top: max(14px, env(safe-area-inset-top)); right: 14px; width: 46px; height: 46px; border-radius: 23px; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
body.vid-open { overflow: hidden; }

/* ---------- 1.10: календар „Ден / Седмица“, дупки, бързо записване ---------- */
.seg.seg-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.seg.seg-2 a { min-height: 40px; font-size: 14px; }
.free-badge { flex: none; display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 15px; background: #FDEEF3; color: #D13C66; font-size: 13px; font-weight: 700; }
.gap-row { flex: 1; min-height: 50px; border-radius: 14px; border: 2px dashed #E87D9B; background: rgba(255,255,255,.65); display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 8px 6px 14px; color: #D13C66; font-size: 14px; font-weight: 700; text-decoration: none; }
.gap-row b { flex: none; height: 34px; padding: 0 12px; border-radius: 10px; background: #D45D7F; color: #fff; font-size: 13px; display: inline-flex; align-items: center; }
.fab { position: fixed; z-index: 25; right: max(18px, calc(50% - 262px)); bottom: calc(76px + env(safe-area-inset-bottom)); width: 60px; height: 60px; border-radius: 30px; background: var(--ink); color: #fff; font-size: 34px; line-height: 1; display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 10px 26px rgba(41, 24, 29,.35); }
.app-wide ~ .fab, .app-wide .fab { right: max(18px, calc(50% - 542px)); }
.free-sum { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 16px; border: 1px solid var(--line); background: #fff; font-size: 15px; font-weight: 600; }
.free-sum small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.free-sum b { font-size: 26px; color: #D45D7F; }
/* седмица */
.wk { display: flex; position: relative; margin: 0 -16px; padding: 0 0 6px; }
.wk-hours { flex: none; position: relative; width: 46px; margin-top: 66px; }
.wk-hours span { position: absolute; left: 0; width: 40px; text-align: right; transform: translateY(-50%); font-size: 11px; font-weight: 600; color: #9D8189; }
.wk-days { flex: 1; min-width: 0; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 16px) / 3); gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px 0 2px; scrollbar-width: none; }
.wk-days::-webkit-scrollbar { display: none; }
.wk-day { scroll-snap-align: start; min-width: 0; }
.wk-head { display: flex; flex-direction: column; align-items: center; height: 62px; margin-bottom: 4px; text-decoration: none; color: var(--muted); font-size: 12px; font-weight: 600; }
.wk-head b { font-size: 19px; color: var(--ink); line-height: 1.2; }
.wk-head small { font-size: 10.5px; font-weight: 700; color: #D45D7F; }
.wk-day.today .wk-head b { color: #fff; background: #D45D7F; border-radius: 10px; padding: 0 7px; }
.wk-col { position: relative; border-radius: 12px; background: rgba(255,255,255,.55); }
.wk-col.off { background: repeating-linear-gradient(135deg, #F6EEF0 0 8px, #F1E6E9 8px 16px); }
.wk-day.past .wk-col { opacity: .62; }
.wk-line { position: absolute; left: 0; right: 0; border-top: 1px solid #F2E0E5; }
.wk-b { position: absolute; left: 3px; right: 3px; border-radius: 10px; padding: 4px 7px; overflow: hidden; font-size: 11.5px; line-height: 1.2; text-decoration: none; color: #5B4249; }
.wk-b strong { display: block; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wk-b span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wk-b.ok { background: #F6DFE6; }
.wk-b.pend { background: #FDEEF3; border: 1.5px dashed #E8A55C; color: #A41D43; }
.wk-b.done { background: #F2EAEC; color: #775E65; }
.wk-b.no { background: #FDF0F4; color: #991B1B; }
.wk-b.blk { background: repeating-linear-gradient(135deg, #F4ECEE 0 6px, #EDE2E5 6px 12px); color: #877378; }
.wk-b.gap { border: 2px dashed #E87D9B; background: rgba(255,255,255,.85); color: #D45D7F; font-weight: 700; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.wk-b.gap i { font-style: normal; font-size: 17px; line-height: 1; }
.wk-b.gap small { font-size: 10px; font-weight: 600; opacity: .85; }
.wk-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.wk-legend .lg { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 5px; vertical-align: -1px; }
.lg.ok { background: #F6DFE6; } .lg.pend { background: #FDEEF3; border: 1.5px dashed #E8A55C; } .lg.gap { border: 1.5px dashed #E87D9B; background: #fff; }
@media (min-width: 900px) {
  .wk { margin: 0; }
  .wk-days { grid-auto-columns: minmax(0, 1fr); overflow: visible; padding-right: 0; }
}
/* бързо записване */
.qb-sec { display: flex; flex-direction: column; gap: 8px; }
.qb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.qb-chip { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; border-radius: 12px; border: 1px solid #E9CED6; background: #fff; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; }
.qb-chip input { position: absolute; opacity: 0; pointer-events: none; }
.qb-chip small { font-size: 12.5px; font-weight: 400; color: var(--muted); }
.qb-chip.on { background: #D45D7F; border-color: #D45D7F; color: #fff; }
.qb-chip.on small { color: rgba(255,255,255,.85); }
.qb-chip.t { min-width: 70px; justify-content: center; }
.qb-chip.off { color: #D4BDC4; text-decoration: line-through; background: #F9F1F3; cursor: default; }
.qb-chip.ghost { border-style: dashed; color: #D13C66; font-family: inherit; }
.qb-chip:has(input:focus-visible) { outline: 2px solid #D45D7F; outline-offset: 2px; }
.qb-custom { display: flex; gap: 8px; align-items: center; }
.qb-custom input { max-width: 160px; }
.qb-picked { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px 10px 14px; border-radius: 14px; border: 1.5px solid #D45D7F; background: #FDF4F7; }
.qb-picked b { display: block; font-size: 16px; } .qb-picked span { font-size: 13px; color: var(--muted); }
.qb-sug { margin-top: 6px; border: 1px solid #E9CED6; border-radius: 14px; background: #fff; overflow: hidden; }
.qb-sug button { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 10px; min-height: 48px; padding: 8px 14px; border: 0; border-top: 1px solid #F5E5EA; background: #fff; text-align: left; font-family: inherit; font-size: 15px; color: var(--ink); }
.qb-sug button:first-child { border-top: 0; }
.qb-sug button small { font-size: 12.5px; color: var(--muted); }
.qb-sug button.new { color: #D13C66; font-weight: 700; }
.qb-new { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 14px; border: 1px dashed #E87D9B; background: rgba(255,255,255,.6); }
.qb-more summary { cursor: pointer; font-size: 14px; font-weight: 600; color: #D13C66; }
.qb-rep { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.qb-rep-opts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; }
.qb-rep-opts select { width: auto; height: 40px; }
/* след записване */
.sent-ok { text-align: center; padding-top: 10px; }
.sent-ok h1 { margin-top: 10px; }
.sent-ok p { margin: 6px 0 0; }
.sent-ic { width: 72px; height: 72px; margin: 0 auto; border-radius: 36px; background: #3E8E5E; color: #fff; font-size: 38px; display: flex; align-items: center; justify-content: center; }
.sent-msg { gap: 10px; }
.sent-btns { display: flex; gap: 8px; }
.sent-btns a, .sent-btns button { flex: 1; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; text-decoration: none; font-family: inherit; }
.sent-sms { background: #34C759; color: #fff !important; }
.sent-vb { background: #7360F2; color: #fff !important; }
.sent-cp { border: 1px solid #E3C3CC; background: #fff; color: var(--ink); }
a.fab { color: #fff; }
.wk-out { position: absolute; left: 0; right: 0; background: repeating-linear-gradient(135deg, rgba(244, 236, 238,.85) 0 8px, rgba(237, 226, 229,.85) 8px 16px); border-radius: 12px; }
/* 1.11: няколко категории */
.radio-cards.multi label:has(input:checked)::after { content: '✓'; position: absolute; right: 14px; font-weight: 800; color: var(--copper, var(--ink)); }
.link-btn { border: 0; background: none; padding: 0 0 8px; font: inherit; font-size: 14px; font-weight: 600; color: var(--copper, var(--ink)); text-decoration: underline; cursor: pointer; }
.svc-cat { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em; color: #D13C66; background: #FDEEF3; border-radius: 8px; padding: 2px 7px; margin-left: 6px; vertical-align: 1px; }
.svc-group { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 6px 0 0; }
