/* Клієнтський Mini App */
.top { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 6px; position: sticky; top: 0; z-index: 20; }
.brand { display: flex; align-items: center; gap: 10px; }
.logo { width: 44px; height: 44px; border-radius: 13px; background: #fff; padding: 3px; object-fit: contain; box-shadow: 0 6px 16px rgba(29,95,129,.18); flex: none; }
.brand-name { font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.brand-sub { font-size: 12px; color: var(--muted); margin-top: -2px; }
.view { padding: 8px 16px calc(96px + var(--safe-b)); max-width: 640px; margin: 0 auto; }
.tabbar { position: fixed; left: 12px; right: 12px; bottom: calc(10px + var(--safe-b)); display: flex; padding: 6px; border-radius: 26px; z-index: 30; }
.tabbar button { flex: 1; border: 0; background: transparent; font: inherit; font-size: 10.5px; font-weight: 600; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; border-radius: 20px; cursor: pointer; transition: background .15s, color .15s; }
.tabbar button .ic { font-size: 20px; line-height: 1; }
.tabbar button.on { color: var(--blue-deep); background: rgba(10,132,255,.12); }
.sec-title { display: flex; align-items: baseline; justify-content: space-between; margin: 18px 0 10px; }
.sec-title h2 { font-size: 18px; }
.hero { padding: 18px; position: relative; overflow: hidden; }
.hero .big { font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.hero .deco { position: absolute; right: -30px; top: -30px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255,255,255,.18); }
.hero .deco2 { position: absolute; right: 40px; bottom: -60px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255,255,255,.12); }
.next-time { font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.quick .q { padding: 12px 10px; text-align: center; border-radius: 18px; font-size: 12px; font-weight: 600; }
.quick .q .ic { font-size: 24px; display: block; margin-bottom: 4px; }
.svc { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.svc .ic { width: 44px; height: 44px; border-radius: 14px; background: rgba(10,132,255,.10); display: flex; align-items: center; justify-content: center; font-size: 22px; flex: none; }
.svc .t { font-weight: 600; } .svc .d { font-size: 12px; color: var(--muted); }
.svc .p { font-weight: 700; white-space: nowrap; }
.stepper { display: flex; gap: 6px; margin: 4px 0 14px; }
.stepper i { flex: 1; height: 4px; border-radius: 2px; background: rgba(20,60,140,.12); }
.stepper i.on { background: var(--blue); }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: none; }
.days::-webkit-scrollbar { display: none; }
.day { flex: none; width: 64px; padding: 10px 6px; border-radius: 16px; text-align: center; background: var(--glass-2); border: 1px solid rgba(255,255,255,.9); box-shadow: var(--shadow-sm); cursor: pointer; }
.day .wd { font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; }
.day .dn { font-size: 20px; font-weight: 800; margin: 2px 0; }
.day .fr { font-size: 10px; color: var(--ok); font-weight: 600; }
.day.off { opacity: .45; cursor: default; } .day.off .fr { color: var(--muted); }
.day.on { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; border-color: transparent; box-shadow: 0 8px 22px rgba(10,132,255,.35); }
.day.on .wd, .day.on .fr { color: rgba(255,255,255,.85); }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.slot { padding: 11px 0; text-align: center; border-radius: 14px; font-weight: 600; background: var(--glass-2); border: 1px solid rgba(255,255,255,.9); box-shadow: var(--shadow-sm); cursor: pointer; }
.slot.on { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; border-color: transparent; }
.appt { display: flex; gap: 12px; align-items: flex-start; }
.appt .when { flex: none; width: 58px; text-align: center; padding: 8px 0; border-radius: 14px; background: rgba(10,132,255,.10); }
.appt .when .d { font-size: 11px; color: var(--blue-deep); font-weight: 700; text-transform: uppercase; }
.appt .when .t { font-size: 17px; font-weight: 800; color: var(--blue-deep); }
.appt.done .when { background: rgba(48,196,107,.14); } .appt.done .when .d, .appt.done .when .t { color: #1a8f47; }
.appt.cancelled .when, .appt.no_show .when { background: rgba(107,122,146,.14); } .appt.cancelled .when *, .appt.no_show .when * { color: var(--muted); }
.note { border-left: 3px solid var(--blue); padding: 8px 12px; background: rgba(10,132,255,.06); border-radius: 0 12px 12px 0; font-size: 14px; }
.note.client { border-color: var(--ok); background: rgba(48,196,107,.08); }
.note ul { margin: 6px 0 0; padding-left: 18px; }
.note li { margin: 2px 0; }
.level-ring { width: 92px; height: 92px; flex: none; position: relative; }
.level-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.level-ring .c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.level-ring .c .ic { font-size: 26px; line-height: 1; } .level-ring .c .n { font-size: 11px; font-weight: 700; color: var(--blue-deep); }
.ach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ach { text-align: center; padding: 12px 8px; border-radius: 18px; background: var(--glass-2); border: 1px solid rgba(255,255,255,.9); box-shadow: var(--shadow-sm); }
.ach .ic { font-size: 30px; line-height: 1; margin-bottom: 6px; }
.ach .t { font-size: 12px; font-weight: 700; line-height: 1.2; } .ach .d { font-size: 10.5px; color: var(--muted); margin-top: 3px; line-height: 1.25; }
.ach.locked { opacity: .5; filter: grayscale(1); background: rgba(255,255,255,.4); }
.ach .xp { font-size: 10px; color: var(--blue-deep); font-weight: 700; margin-top: 4px; }
.chart { width: 100%; height: auto; display: block; }
.pkg-opt { padding: 12px 14px; border-radius: 16px; border: 1px solid rgba(255,255,255,.9); background: var(--glass-2); box-shadow: var(--shadow-sm); cursor: pointer; }
.pkg-opt.on { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10,132,255,.15); }
.streak { display: flex; gap: 4px; }
.streak i { flex: 1; height: 26px; border-radius: 8px; background: rgba(20,60,140,.08); display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--muted); font-weight: 600; }
.streak i.on { background: linear-gradient(135deg, var(--blue), var(--blue-3)); color: #fff; }
.empty { text-align: center; padding: 26px 12px; color: var(--muted); }
.empty .ic { font-size: 40px; margin-bottom: 8px; }
.wellbeing-v { font-size: 34px; font-weight: 800; text-align: center; color: var(--blue-deep); letter-spacing: -.02em; }
