/* ClientHeart — світла версія (вибір власника 20.10.2026), Commissioner, акцент — червоне серце.
   v4: перший екран каже, хто ми й що робимо (сайти — основа), вітрина прикладів сайтів замість віджета. */
:root {
  --paper: #f7f4ef; --paper-2: #efe9e1; --card: #fffdfa;
  --ink: #1d1a17; --text: #4d463f; --muted: #8a8177; --hair: rgba(29, 26, 23, .12);
  --heart: #d94f3a; --heart-ink: #b8402f;
  --font: "Commissioner", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 20px; --max: 1180px; --top-h: 64px; --radius: 18px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--font); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 300; letter-spacing: -.025em; margin: 0; line-height: 1.05; }
h1 b, h2 b { font-weight: 500; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.kicker { margin: 0 0 14px; font: 500 11px/1.4 var(--font); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px;
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink); border-radius: 999px;
  font: 500 15px/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, color .2s, transform .15s;
}
.btn:hover { background: #000; }
.btn:active { transform: translateY(1px); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--heart { background: var(--heart); border-color: var(--heart); color: #fff; }
.btn--heart:hover { background: var(--heart-ink); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 13px; }

/* ---------- шапка: хто ми — одразу під назвою ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(247, 244, 239, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--hair); }
.top__in { display: flex; align-items: center; gap: 14px; height: var(--top-h); }
.mark { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; min-width: 0; }
.mark svg { flex: none; width: 20px; height: 20px; color: var(--heart); }
.mark__txt { display: flex; flex-direction: column; min-width: 0; }
.mark__txt b { font: 600 18px/1.05 var(--font); letter-spacing: -.02em; }
.mark__txt small { font: 500 10px/1.3 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; margin-top: 3px; }
.top__nav { display: none; }
.lang { display: inline-flex; flex: none; margin-left: auto; border: 1px solid var(--hair); border-radius: 999px; padding: 3px; background: var(--card); }
.lang button { border: 0; background: transparent; border-radius: 999px; padding: 6px 10px; font: 500 12px/1 var(--font); letter-spacing: .06em; cursor: pointer; color: var(--muted); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.top .btn--sm { display: none; }

/* ---------- перший екран ---------- */
.hero { position: relative; padding: 40px 0 0; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -20% auto; height: 120%; background: radial-gradient(60% 60% at 70% 20%, rgba(249, 220, 201, .9) 0%, rgba(247, 244, 239, 0) 70%); pointer-events: none; }
.hero__in { position: relative; display: grid; gap: 44px; }
.hero__in > * { min-width: 0; max-width: 100%; }
.hero h1 { font-size: clamp(38px, 9.6vw, 60px); max-width: 12em; margin-bottom: 20px; }
.lead { font-size: 18px; color: var(--text); max-width: 33em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--text); }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks li::before { content: ""; width: 14px; height: 8px; border-left: 2px solid var(--heart); border-bottom: 2px solid var(--heart); transform: rotate(-45deg) translate(1px, -2px); }

/* ---------- вітрина прикладів ---------- */
.show__bar { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.show__label { margin: 0; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.show__label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--heart); box-shadow: 0 0 0 4px rgba(217, 79, 58, .18); }
.show__tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: -4px; padding: 4px; }
.show__tabs::-webkit-scrollbar { display: none; }
.show__tab { flex: none; border: 1px solid var(--hair); background: var(--card); border-radius: 999px; padding: 8px 13px; font-size: 13px; line-height: 1.2; cursor: pointer; text-decoration: none; transition: background-color .15s, color .15s, border-color .15s; }
.show__tab[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.show__tab--you { background: transparent; border-style: dashed; color: var(--heart); border-color: rgba(217, 79, 58, .45); }
.show__stage { position: relative; }
.browser { position: relative; background: var(--card); border: 1px solid var(--hair); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 70px rgba(29, 26, 23, .13), 0 2px 6px rgba(29, 26, 23, .05); }
.browser__chrome { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #f1ebe3; border-bottom: 1px solid var(--hair); }
.browser__chrome i { width: 9px; height: 9px; border-radius: 50%; background: rgba(29, 26, 23, .16); }
.browser__url { display: flex; align-items: center; gap: 6px; margin-left: 10px; min-width: 0; flex: 0 1 260px; height: 21px; padding: 0 10px; border-radius: 7px; background: rgba(255, 255, 255, .85); font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; }
.browser__url svg { flex: none; width: 10px; height: 10px; }
.browser__view, .phone__view { container-type: inline-size; position: relative; overflow: hidden; }
.browser__view { aspect-ratio: 358 / 600; }
.phone { display: none; }
.show__note { margin: 12px 0 0; font-size: 12px; color: var(--muted); }

/* умовний сайт усередині рамки: розміри в cqw — масштабується разом із рамкою */
.ex {
  --bg: #fff; --fg: #111; --sub: #777; --acc: #d94f3a; --on-acc: #fff; --tile: #f5f5f5; --line: rgba(0, 0, 0, .1); --disp: var(--font); --pos: 50% 50%;
  position: absolute; inset: 0; background: var(--bg); color: var(--fg); font-family: var(--font); overflow: hidden; transition: opacity .38s ease;
}
.ex.is-in { opacity: 0; }
.ex::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 9%; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }
.ex p { margin: 0; }
.ex__top { display: flex; align-items: center; gap: 3cqw; padding: 4cqw 5cqw; }
.ex__logo { font: 600 5.4cqw/1 var(--disp); letter-spacing: -.01em; margin-right: auto; white-space: nowrap; }
.ex__nav { display: none; }
.ex__burger { position: relative; width: 5.4cqw; height: 3.6cqw; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.ex__burger::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px solid currentColor; transform: translateY(-50%); }
.ex__btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 3cqw 4.6cqw; font: 500 3.5cqw/1 var(--font); background: var(--acc); color: var(--on-acc); white-space: nowrap; }
.ex__btn--ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }
.ex__btn--top { padding: 2.2cqw 3.6cqw; font-size: 3.2cqw; }
.ex__hero { display: flex; flex-direction: column; }
.ex__photo { position: relative; order: -1; margin: 0 4cqw; aspect-ratio: 16 / 10; border-radius: 3.4cqw; overflow: hidden; background: var(--tile); }
.ex__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos); }
.ex__text { padding: 5.5cqw 5cqw 0; }
.ex__kind { font: 500 2.9cqw/1.3 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--sub); margin-bottom: 2.6cqw !important; }
.ex__h { font: 500 8.2cqw/1.06 var(--disp); letter-spacing: -.02em; margin-bottom: 3.2cqw !important; }
.ex__sub { font-size: 3.8cqw; line-height: 1.45; color: var(--sub); margin-bottom: 5cqw !important; }
.ex__btns { display: flex; flex-wrap: wrap; gap: 2.4cqw; }
.ex__list { margin: 6cqw 5cqw 0; border-top: 1px solid var(--line); }
.ex__list div { display: flex; justify-content: space-between; gap: 3cqw; padding: 3.2cqw 0; border-bottom: 1px solid var(--line); font-size: 3.6cqw; line-height: 1.35; }
.ex__list b { font-weight: 500; white-space: nowrap; }

@container (min-width: 440px) {
  .ex__top { gap: 2.2cqw; padding: 2.4cqw 3.6cqw; }
  .ex__logo { font-size: 2.5cqw; margin-right: 0; }
  .ex__nav { display: flex; gap: 2.4cqw; margin-left: auto; margin-right: 1cqw; font-size: 1.55cqw; color: var(--sub); }
  .ex__burger { display: none; }
  .ex__btn { padding: 1.3cqw 2.2cqw; font-size: 1.55cqw; }
  .ex__btn--top { padding: 1.1cqw 2cqw; font-size: 1.5cqw; }
  .ex__hero { display: grid; grid-template-columns: 1fr 1fr; gap: 3.6cqw; align-items: center; padding: 1.6cqw 3.6cqw 0; }
  .ex__photo { order: 2; margin: 0; aspect-ratio: 1 / 1.02; border-radius: 1.8cqw; }
  .ex__text { padding: 0; }
  .ex__kind { font-size: 1.3cqw; margin-bottom: 1.6cqw !important; }
  .ex__h { font-size: 4.4cqw; margin-bottom: 1.8cqw !important; }
  .ex__sub { font-size: 1.65cqw; margin-bottom: 2.8cqw !important; }
  .ex__btns { gap: 1.1cqw; }
  .ex__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3cqw; margin: 2.8cqw 3.6cqw 0; border: 0; }
  .ex__list div { flex-direction: column; gap: .5cqw; padding: 1.4cqw 1.6cqw; border: 1px solid var(--line); border-radius: 1.3cqw; background: var(--tile); font-size: 1.5cqw; }
}

/* п'ять умовних брендів: кожен зі своїм кольором і шрифтом (тільки з нормальною кирилицею) */
.ex--detail { --bg: #121315; --fg: #f4f2ee; --sub: #a9a49d; --acc: #e0473b; --on-acc: #fff; --tile: #1c1d20; --line: rgba(255, 255, 255, .13); --disp: "Unbounded", var(--font); --pos: 34% 50%; }
.ex--detail .ex__logo { text-transform: uppercase; letter-spacing: .05em; }
.ex--detail .ex__h { font-weight: 600; letter-spacing: -.03em; }
@container (min-width: 440px) { .ex--detail .ex__h, .ex--bakery .ex__h { font-size: 3.6cqw; } }
.ex--salon { --bg: #f5eee8; --fg: #2a211d; --sub: #8a796f; --acc: #9e4f57; --on-acc: #fff; --tile: #fbf7f3; --line: rgba(42, 33, 29, .14); --disp: "Noto Serif Display", Georgia, serif; --pos: 55% 40%; }
.ex--bakery { --bg: #fbf2e2; --fg: #3b2817; --sub: #8e7558; --acc: #c46a2b; --on-acc: #fff; --tile: #fff8ec; --line: rgba(59, 40, 23, .14); --disp: "Unbounded", var(--font); --pos: 50% 55%; }
.ex--dental { --bg: #f2f7f7; --fg: #0f2f2e; --sub: #5a7877; --acc: #17837c; --on-acc: #fff; --tile: #ffffff; --line: rgba(15, 47, 46, .12); --pos: 62% 30%; }
.ex--studio { --bg: #f8f1f1; --fg: #161616; --sub: #7a7171; --acc: #161616; --on-acc: #fff; --tile: #fffafa; --line: rgba(22, 22, 22, .12); --disp: "Noto Serif Display", Georgia, serif; --pos: 58% 50%; }
.ex--salon .ex__h, .ex--studio .ex__h { font-weight: 400; letter-spacing: -.015em; }

/* ---------- що вже запущено ---------- */
.proof { margin-top: 64px; }
.proof__lead { font-size: 15px; color: var(--text); margin-bottom: 14px; }
.proof__grid { display: grid; border-top: 1px solid var(--ink); }
.proof__item { display: grid; grid-template-columns: minmax(0, 130px) minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--hair); text-decoration: none; }
.proof__item b { font: 300 30px/1.05 var(--font); letter-spacing: -.03em; color: var(--heart); }
.proof__item span { font-size: 14px; color: var(--text); }

/* ---------- секції ---------- */
.section { padding: 96px 0 0; }
.section__head { max-width: 700px; margin-bottom: 36px; }
.section h2 { font-size: clamp(34px, 8vw, 58px); margin-bottom: 16px; }
.section__lead { color: var(--text); max-width: 36em; }

.sites { display: grid; gap: 10px; }
.sites article { background: var(--card); border: 1px solid var(--hair); border-radius: var(--radius); padding: 22px 20px 18px; }
.sites i { display: block; font: 300 15px/1 var(--font); font-style: normal; color: var(--heart); margin-bottom: 18px; letter-spacing: .04em; }
.sites h3 { font: 400 23px/1.2 var(--font); letter-spacing: -.015em; margin-bottom: 8px; }
.sites p { color: var(--text); font-size: 15px; margin: 0; }
.sub-h { font-size: clamp(26px, 6vw, 36px); margin: 56px 0 18px; }
.extras { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.extras article { padding: 18px 0; border-bottom: 1px solid var(--hair); }
.extras h4 { font: 500 17px/1.3 var(--font); margin: 0 0 4px; }
.extras p { font-size: 15px; color: var(--text); margin: 0; }
.extras .more h4 { color: var(--heart); }

.try__in { display: grid; gap: 8px; }
.try__in > * { min-width: 0; }
.widget__note { margin: 6px 0 0; font-size: 12px; color: var(--muted); }

.work { display: grid; gap: 36px; }
.case__img img { border: 1px solid var(--hair); border-radius: 12px; margin-bottom: 14px; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.case__tag { margin: 0 0 6px; font: 500 11px/1.4 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.case h3, .cases h3 { font: 400 23px/1.2 var(--font); letter-spacing: -.015em; margin-bottom: 6px; }
.case p, .cases p { color: var(--text); font-size: 15px; margin-bottom: 8px; }
.case__link { font-size: 14px; color: var(--muted); }
.cases { display: grid; gap: 10px; margin-top: 40px; }
.cases article { background: var(--card); border: 1px solid var(--hair); border-radius: var(--radius); padding: 20px 20px 12px; }
.cases h3 { font-size: 20px; }

.why { display: grid; gap: 0; }
.why > div { padding: 20px 0; border-top: 1px solid var(--hair); }
.why > div:first-child { border-top-color: var(--ink); }
.why b { display: block; font-weight: 500; font-size: 18px; margin-bottom: 4px; }
.why p { color: var(--text); font-size: 15px; margin: 0; }

.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 0; border-top: 1px solid var(--ink); }
.steps li { counter-increment: s; position: relative; padding: 20px 0 20px 58px; border-bottom: 1px solid var(--hair); }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 20px; font: 300 24px/1 var(--font); color: var(--heart); }
.steps b { display: block; font-weight: 500; margin-bottom: 2px; }
.steps span { color: var(--text); font-size: 15px; }

.contact { margin-top: 110px; }
.contact__card { background: var(--card); border: 1px solid var(--hair); border-radius: 24px; padding: 36px 24px; }
.contact h2 { font-size: clamp(32px, 7.5vw, 52px); max-width: 14em; margin-bottom: 14px; }
.contact p { color: var(--text); max-width: 32em; }
.contact__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.contact__cta .btn { padding: 0 20px; }

.foot { padding: 36px 0 44px; font-size: 13px; color: var(--muted); }
.foot__in { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; }

/* ---------- планшет і комп'ютер ---------- */
@media (min-width: 760px) {
  :root { --gutter: 40px; }
  .top__nav { display: flex; gap: 24px; margin-left: 28px; font-size: 14px; }
  .top__nav a { text-decoration: none; color: var(--text); white-space: nowrap; }
  .top__nav a:hover { color: var(--ink); }
  .browser__view { aspect-ratio: 16 / 10.6; }
  .proof__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
  .proof__item { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; border-bottom: 0; }
  .proof__item b { font-size: 40px; }
  .sites { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .extras { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
  .extras .more { grid-column: 1 / -1; }
  .work { grid-template-columns: 1fr 1fr; gap: 40px; }
  .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
  .why > div:nth-child(2) { border-top-color: var(--ink); }
  .steps { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
  .contact__card { padding: 56px 48px; }
}
@media (min-width: 1000px) {
  :root { --top-h: 72px; }
  .top .btn--sm { display: inline-flex; }
  .hero { padding-top: 64px; }
  .hero__in { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 48px; align-items: center; }
  .show__tabs { flex-wrap: wrap; overflow: visible; gap: 4px; }
  .show__tab { padding: 6px 10px; font-size: 12.5px; }
  .show__stage { padding: 0 12% 44px 0; }
  .phone { display: block; position: absolute; right: 0; bottom: 0; width: 28%; aspect-ratio: 9 / 18.6; padding: 6px; border-radius: 30px; background: #141414; box-shadow: 0 30px 60px rgba(29, 26, 23, .25), inset 0 0 0 1px rgba(255, 255, 255, .08); }
  .phone::before { content: ""; position: absolute; z-index: 2; top: 13px; left: 50%; width: 26%; height: 9px; border-radius: 9px; background: #141414; transform: translateX(-50%); }
  .phone__view { width: 100%; height: 100%; border-radius: 24px; }
  .phone .ex__top { padding-top: 11cqw; }
  .sites { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .extras { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .try__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .try__in .widget { max-width: 540px; justify-self: end; width: 100%; padding: 22px; }
  .cases { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .why { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .why > div:nth-child(3) { border-top-color: var(--ink); }
  .steps { grid-template-columns: repeat(4, 1fr); column-gap: 32px; }
  .section { padding-top: 128px; }
}

/* ---------- живі демо (demos.js) ---------- */
.widget { min-width: 0; background: var(--card); border: 1px solid var(--hair); border-radius: 22px; box-shadow: 0 30px 70px rgba(29, 26, 23, .12), 0 2px 6px rgba(29, 26, 23, .04); padding: 16px; }
.w-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: -4px -4px 14px; padding: 4px; }
.w-tabs::-webkit-scrollbar { display: none; }
.w-tab { flex: none; border: 1px solid var(--hair); background: transparent; border-radius: 999px; padding: 8px 13px; font-size: 13px; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.w-tab[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.w-body { transition: opacity .18s; }
.w-body.is-swap { opacity: 0; }
.w-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.w-head b { font-weight: 500; font-size: 17px; }
.w-head span { font-size: 12px; color: var(--muted); text-align: right; }
.w-label { margin: 14px 0 8px; font: 500 11px/1.3 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.w-label:first-of-type { margin-top: 0; }
.w-svc { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 12px; margin-bottom: 6px; border: 1px solid var(--hair); border-radius: 12px; background: transparent; text-align: left; cursor: pointer; font-size: 15px; transition: background-color .15s, border-color .15s, color .15s; }
.w-svc b { font-weight: 400; white-space: nowrap; }
.w-svc[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
/* minmax(0,…): інакше «сьогодні» розпирає колонку, і віджет вилазить за екран телефона */
.w-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.w-day { padding: 7px 0 6px; border: 1px solid var(--hair); border-radius: 10px; background: transparent; cursor: pointer; text-align: center; line-height: 1.15; min-width: 0; overflow: hidden; transition: background-color .15s, color .15s; }
.w-day small { display: block; font-size: 9px; letter-spacing: -.01em; color: var(--muted); text-transform: lowercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 2px; }
.w-day b { display: block; font-weight: 400; font-size: 17px; margin: 2px 0; }
.w-day i { display: block; font-style: normal; font-size: 9px; color: var(--muted); }
.w-day[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.w-day[aria-pressed="true"] small, .w-day[aria-pressed="true"] i { color: rgba(247, 244, 239, .7); }
.w-slots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.w-slot { padding: 10px 0; border: 1px solid var(--hair); border-radius: 10px; background: transparent; font-size: 13px; cursor: pointer; transition: background-color .15s, color .15s; }
.w-slot:disabled { color: rgba(29, 26, 23, .28); text-decoration: line-through; border-color: transparent; background: var(--paper-2); cursor: default; }
.w-slot[aria-pressed="true"] { background: var(--heart); color: #fff; border-color: var(--heart); }
.w-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--hair); }
.w-total span { font-size: 13px; color: var(--muted); }
.w-total b { font: 300 28px/1 var(--font); letter-spacing: -.02em; white-space: nowrap; }
.w-pay { display: block; width: 100%; margin-top: 12px; padding: 15px; border: 0; border-radius: 12px; background: var(--heart); color: #fff; font: 500 15px/1 var(--font); cursor: pointer; transition: background-color .2s; }
.w-pay:hover { background: var(--heart-ink); }
.w-pay:disabled { background: rgba(29, 26, 23, .18); cursor: default; }
.w-hint { margin: 10px 0 0; font-size: 12px; color: var(--muted); text-align: center; }
.w-done { text-align: center; padding: 26px 8px 10px; }
.w-done__ok { width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 14px; background: var(--heart); color: #fff; display: grid; place-items: center; font-size: 26px; }
.w-done h3 { font: 500 20px/1.3 var(--font); letter-spacing: -.01em; margin-bottom: 8px; }
.w-done p { color: var(--text); font-size: 15px; }
.w-done button { border: 1px solid var(--ink); background: transparent; border-radius: 999px; padding: 10px 18px; cursor: pointer; font-size: 14px; }
.w-link { border: 0; background: none; padding: 0; color: var(--heart); font-size: 12px; cursor: pointer; }
.w-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.w-pill { border: 1px solid var(--hair); background: transparent; border-radius: 999px; padding: 8px 13px; font-size: 13px; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.w-pill[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.w-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.w-photo { aspect-ratio: 4 / 3; border: 1px dashed rgba(29, 26, 23, .3); border-radius: 12px; background: transparent; font: 300 26px/1 var(--font); color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.w-photo:nth-child(1).is-on { background: linear-gradient(135deg, #d9d2c7, #b9b0a3); }
.w-photo:nth-child(2).is-on { background: linear-gradient(135deg, #cfd6d8, #9fabb0); }
.w-photo:nth-child(3).is-on { background: linear-gradient(135deg, #e6cfc3, #c9a28f); }
.w-photo.is-on { border-style: solid; border-color: transparent; color: #fff; font-weight: 500; font-size: 20px; }
.c-win { height: 330px; overflow-y: auto; padding: 12px; border: 1px solid var(--hair); border-radius: 14px; background: var(--paper); display: flex; flex-direction: column; gap: 8px; scrollbar-width: none; }
.c-win::-webkit-scrollbar { display: none; }
.c-time { align-self: center; font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.c-msg { max-width: 86%; padding: 9px 12px; border-radius: 14px; font-size: 14px; line-height: 1.45; }
.c-bot { align-self: flex-start; background: #fff; border: 1px solid var(--hair); border-bottom-left-radius: 4px; }
.c-me { align-self: flex-end; background: var(--ink); color: var(--paper); border-bottom-right-radius: 4px; }
.c-opts { display: flex; flex-wrap: wrap; gap: 6px; align-self: flex-start; max-width: 100%; }
.c-opts button { border: 1px solid var(--heart); color: var(--heart); background: #fff; border-radius: 999px; padding: 7px 12px; font-size: 13px; cursor: pointer; transition: background-color .15s, color .15s; }
.c-opts button:hover { background: var(--heart); color: #fff; }
.c-typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.c-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: c-blink 1s infinite; }
.c-typing i:nth-child(2) { animation-delay: .2s; } .c-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes c-blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.k-kpi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 10px; }
.k-kpi div { background: var(--paper); border: 1px solid var(--hair); border-radius: 12px; padding: 10px 10px 8px; min-width: 0; }
.k-kpi b { display: block; font: 300 22px/1.1 var(--font); letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-kpi span { font-size: 11px; color: var(--muted); }
.k-list { border-top: 1px solid var(--hair); }
.k-row { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--hair); }
.k-time { font-size: 13px; color: var(--muted); }
.k-who b { display: block; font-weight: 500; font-size: 14px; }
.k-who small { font-size: 12px; color: var(--muted); }
.k-chip { border: 1px solid var(--hair); background: transparent; border-radius: 999px; padding: 5px 10px; font-size: 12px; cursor: pointer; white-space: nowrap; }
.k-chip.k-paid { border-color: rgba(217, 79, 58, .35); color: var(--heart); }
.k-chip.k-ok { background: var(--ink); color: var(--paper); border-color: var(--ink); cursor: default; }
/* на комп'ютері всі 5 вкладок демо видно одразу (правило після базового .w-tabs, інакше воно його перебиває) */
@media (min-width: 1000px) { .w-tabs { flex-wrap: wrap; overflow: visible; } }
