:root{font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,SF Pro Text,Segoe UI,Roboto,Helvetica,Arial,sans-serif;color-scheme:light;--bg: var( --tg-theme-bg-color, #ffffff );--surface: var( --tg-theme-secondary-bg-color, #ffffff );--text: var( --tg-theme-text-color, #111111 );--muted: var( --tg-theme-hint-color, #8d8d92 );--accent: #e1262f;--accent-soft: #fff0f1;--green: #27ae60;--green-soft: #eaf8ef;--yellow: #e7ad14;--yellow-soft: #fff8df;--orange: #f0a51a;--orange-soft: #fff4d9;--blue: #3284ff;--blue-soft: #eef5ff;--danger: #e3222c;--danger-soft: #fff0f1;--line: #e7e7e7;--line-soft: #f1f1f1;--shadow-soft: 0 5px 20px rgba( 0, 0, 0, .045 );--radius-xl: 24px;--radius-lg: 20px;--radius-md: 16px;--radius-sm: 12px;--nav-height: 76px;--content-max: 560px}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%}html{background:#fff}body{margin:0;background:#fff;color:var(--text);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overscroll-behavior-y:none}button,input,textarea,select{font:inherit}button{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button:focus-visible,input:focus-visible,a:focus-visible{outline:2px solid rgba(225,38,47,.32);outline-offset:2px}.app{width:100%;min-height:100dvh;background:#fff}.content{width:100%;max-width:var(--content-max);margin:0 auto;padding:0 12px calc(var( --nav-height ) + env(safe-area-inset-bottom) + 14px)}.screen{padding-top:18px;padding-bottom:12px;animation:screen-in .16s ease-out}@keyframes screen-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.screen-header{margin:0 4px 18px}.screen-header h1,.screen>h1{margin:0;font-size:clamp(24px,7vw,30px);line-height:1.08;letter-spacing:-.7px;font-weight:780;color:var(--text)}.screen-header p,.screen-lead{margin:7px 0 0;color:var(--muted);font-size:14px;line-height:1.42}.home-reference-screen{width:100%;padding:10px 0 4px;background:#fff}.home-reference-wrap{position:relative;width:100%;overflow:hidden;border-radius:0;-webkit-user-select:none;user-select:none}.home-reference-image{display:block;width:100%;height:auto;margin:0;padding:0;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.reference-hotspot{position:absolute;z-index:5;-webkit-appearance:none;-moz-appearance:none;appearance:none;display:block;padding:0;margin:0;border:0;border-radius:22px;background:transparent;cursor:pointer}.reference-hotspot:active{background:#e1262f09}.hs-book{left:.6%;top:35.4%;width:48.1%;height:12.2%}.hs-appointments{left:51.2%;top:35.4%;width:48.1%;height:12.2%}.hs-cost{left:.6%;top:48.7%;width:48.1%;height:12.1%}.hs-about{left:51.2%;top:48.7%;width:48.1%;height:12.1%}.hs-prep{left:.6%;top:62.1%;width:48.1%;height:12%}.hs-faq{left:51.2%;top:62.1%;width:48.1%;height:12%}.hs-support{left:.8%;top:76.4%;width:98.3%;height:10.5%}.bottom-nav{position:fixed;z-index:100;left:50%;bottom:0;transform:translate(-50%);width:100%;max-width:var(--content-max);min-height:calc(var( --nav-height ) + env(safe-area-inset-bottom));padding:8px 8px calc(7px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(4,1fr);align-items:start;background:#fffffffb;border-top:1px solid #eeeeee;box-shadow:0 -8px 22px #00000006;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.bottom-nav button{-webkit-appearance:none;-moz-appearance:none;appearance:none;min-width:0;min-height:58px;border:0;background:transparent;color:#55585c;padding:4px 2px 2px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:5px;cursor:pointer}.bottom-nav button svg{width:25px;height:25px}.bottom-nav button span{font-size:10px;line-height:1.1;font-weight:560;white-space:nowrap}.bottom-nav button.active{color:#e1262f}.bottom-nav button.active span{font-weight:730}.card{width:100%;padding:18px;margin-bottom:12px;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-soft)}.card h2,.card h3{margin-top:0}.card p:last-child{margin-bottom:0}.choice-stack{display:flex;flex-direction:column;gap:13px}.format-choice,.service-choice{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;border:1px solid var(--line);border-radius:var(--radius-lg);background:#fff;color:#111;text-align:left;cursor:pointer;box-shadow:var(--shadow-soft)}.format-choice{min-height:138px;padding:18px 15px;display:grid;grid-template-columns:48px 1fr auto;gap:13px;align-items:start}.format-choice:active,.service-choice:active{transform:scale(.99)}.format-choice strong{font-size:17px;line-height:1.15}.format-choice p{margin:7px 0 4px;color:#797979;font-size:13px;line-height:1.4}.format-choice span:not(.chevron):not(.format-icon){color:#767676;font-size:12px;line-height:1.35}.format-icon{width:45px;height:45px;border-radius:14px;display:flex;align-items:center;justify-content:center}.format-icon svg{display:block}.format-icon.online{color:var(--blue);background:var(--blue-soft)}.format-icon.offline{color:var(--accent);background:var(--accent-soft)}.chevron{align-self:center;color:#777;display:flex;align-items:center;justify-content:center}.accent-note{display:inline-block;margin-top:4px;padding:5px 8px;color:var(--accent)!important;background:var(--accent-soft);border-radius:8px;font-size:11px!important;font-weight:700}.service-choice{min-height:76px;padding:16px;display:flex;align-items:center;justify-content:space-between;gap:14px}.service-choice-main{min-width:0;display:flex;align-items:center;gap:11px}.service-choice-icon{width:38px;height:38px;flex:0 0 38px;border-radius:12px;display:flex;align-items:center;justify-content:center;color:var(--accent);background:var(--accent-soft)}.service-choice strong{display:block;color:#111;font-size:15px}.service-choice p{margin:5px 0 0;color:#8b8b8b;font-size:12px}.service-choice>b{white-space:nowrap;font-size:15px}.notice{margin-top:15px;padding:14px 15px;border-radius:var(--radius-md);background:#f4f5f6;color:#616161;font-size:12px;line-height:1.45}.notice strong{color:var(--accent)}.notice p{margin:3px 0 0}.booking-timeline{position:relative;width:100%;margin:-2px 0 20px;padding:0 2px;display:grid;gap:0;align-items:start}.booking-timeline-offline{grid-template-columns:repeat(6,minmax(0,1fr))}.booking-timeline-online{grid-template-columns:repeat(7,minmax(0,1fr))}.booking-timeline:before{content:"";position:absolute;left:7%;right:7%;top:17px;height:1px;background:#dedede}.booking-timeline-step{position:relative;z-index:1;min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center;gap:5px;color:#9a9a9a}.booking-timeline-node{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#999;background:#fff;border:1px solid #dddddd;box-shadow:0 0 0 4px #fff}.booking-timeline-step span{width:100%;max-width:62px;min-width:0;font-size:8.5px;line-height:1.15;font-weight:600;overflow-wrap:anywhere}.booking-timeline-step.done .booking-timeline-node{color:#fff;border-color:var(--accent);background:var(--accent)}.booking-timeline-step.current .booking-timeline-node{color:var(--accent);border:2px solid var(--accent);background:#fff;box-shadow:0 0 0 4px var(--accent-soft)}.booking-timeline-step.current{color:#222}.booking-timeline-step.current span{font-weight:750}.booking-timeline-step.done{color:#696969}.platform-grid{display:flex;flex-direction:column;gap:10px;margin-bottom:14px}.platform-grid button{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;min-height:62px;padding:12px 14px;border:1px solid var(--line);border-radius:var(--radius-md);background:#fff;color:#111;display:flex;align-items:center;gap:12px;text-align:left;cursor:pointer}.platform-grid button:active{transform:scale(.99)}.platform-logo{width:40px;height:40px;flex:0 0 40px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:#f3f3f3;color:#252525}.platform-logo svg{display:block;width:27px;height:27px}.platform-grid button strong{font-size:15px}.date-list{display:flex;flex-direction:column;gap:9px}.date-list button{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;min-height:66px;padding:12px 14px;border:1px solid var(--line);border-radius:var(--radius-md);background:#fff;color:#111;display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left}.date-list button:disabled{opacity:.55}.date-list button strong{display:block;font-size:14px}.date-list button span{display:block;margin-top:3px;color:#969696;font-size:11px}.free-count,.no-slots{flex:0 0 auto;padding:5px 8px;border-radius:8px;font-size:10px;font-weight:700}.free-count{color:#278a4b;background:var(--green-soft)}.no-slots{color:#999;background:#f3f3f3}.pager{margin-top:13px;display:grid;grid-template-columns:1fr 1fr;gap:9px}.time-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.time-grid button{-webkit-appearance:none;-moz-appearance:none;appearance:none;min-height:52px;padding:8px 4px;border:1px solid var(--line);border-radius:12px;background:#fff;color:#111;font-size:14px;font-weight:650;cursor:pointer}.time-grid button:active{color:#fff;border-color:var(--accent);background:var(--accent)}.field{display:block;margin-bottom:15px}.field:last-child{margin-bottom:0}.field>span{display:block;margin:0 0 7px 2px;color:#6f6f6f;font-size:12px;font-weight:600}.field input{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:51px;padding:0 14px;border:1px solid var(--line);border-radius:13px;background:#fff;color:#111;font-size:15px}.field input::placeholder{color:#b1b1b1}.summary-card h3{margin-bottom:13px}.summary-card dl,.details{margin:0}.summary-card dl>div,.details>div{display:grid;grid-template-columns:minmax(90px,.75fr) minmax(0,1.25fr);gap:10px;padding:8px 0;border-bottom:1px solid var(--line-soft)}.summary-card dl>div:last-child,.details>div:last-child{border-bottom:0}dt{color:#888;font-size:11px}dd{margin:0;color:#202020;font-size:12px;font-weight:600;text-align:right;overflow-wrap:anywhere}.btn,.button{-webkit-appearance:none;-moz-appearance:none;appearance:none;min-height:50px;padding:12px 17px;border:0;border-radius:13px;background:var(--accent);color:#fff;font-size:14px;font-weight:700;line-height:1.1;cursor:pointer;transition:transform .12s ease,opacity .12s ease}.btn:active,.button:active{transform:scale(.985)}.btn:disabled,.button:disabled{opacity:.48;cursor:default}.btn-secondary,.button.secondary{background:#f2f3f4;color:#222}.btn-ghost,.button.ghost{background:transparent;color:#444;border:1px solid var(--line)}.btn-danger,.button.danger{background:var(--danger-soft);color:var(--danger)}.full{width:100%}.button-icon-label{display:inline-flex;align-items:center;justify-content:center;gap:8px}.button-icon-label svg{flex:0 0 auto}.success-mark{width:78px;height:78px;margin:24px auto 18px;border-radius:50%;background:var(--green-soft);color:var(--green);display:flex;align-items:center;justify-content:center}.center-card{text-align:center}.center-card h2{font-size:21px}.center-card p{color:#676767;line-height:1.5}.error-box,.error{width:100%;padding:15px;margin-bottom:12px;border:1px solid #ffc8cb;border-radius:var(--radius-md);background:#fff0f1;color:#91131c;font-size:13px;line-height:1.4}.empty{padding:34px 18px;border:1px dashed #dddddd;border-radius:var(--radius-lg);background:#fafafa;text-align:center}.empty h3{margin:0 0 7px;font-size:17px}.empty p{margin:0;color:#8a8a8a;font-size:13px;line-height:1.4}.skeleton{display:flex;flex-direction:column;gap:11px;padding-top:18px}.skeleton>*{min-height:62px;border-radius:var(--radius-md);background:linear-gradient(90deg,#f1f1f1 20%,#f8f8f8 35%,#f1f1f1 55%);background-size:400% 100%;animation:shimmer 1.25s ease-in-out infinite}@keyframes shimmer{0%{background-position:100% 0}to{background-position:0 0}}.appointment-list{display:flex;flex-direction:column;gap:12px}.appointment-card{margin-bottom:0}.muted-card{opacity:.66}.appointment-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.appointment-head h3{margin:4px 0 0;font-size:16px;line-height:1.2}.eyebrow{color:#939393;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.status{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;padding:5px 8px;border-radius:999px;font-size:10px;line-height:1;font-weight:700}.status.confirmed,.status[data-status=CONFIRMED]{color:#278a4b;background:var(--green-soft)}.status.awaiting-payment,.status[data-status=AWAITING_PAYMENT]{color:#9a6900;background:var(--orange-soft)}.status.awaiting-confirmation,.status[data-status=AWAITING_CONFIRMATION]{color:#9a6900;background:var(--yellow-soft)}.status.cancelled,.status[data-status=CANCELLED]{color:#777;background:#efefef}.patient-status{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;max-width:154px;padding:5px 9px;border-radius:999px;font-size:10px;line-height:1.2;font-weight:700;white-space:normal}.patient-status-dot{width:7px;height:7px;flex:0 0 7px;border-radius:50%}.patient-status-pending{color:#80600b;background:var(--yellow-soft)}.patient-status-pending .patient-status-dot{background:var(--yellow)}.patient-status-confirmed{color:#237745;background:var(--green-soft)}.patient-status-confirmed .patient-status-dot{background:var(--green)}.payment-paid-check{color:var(--green);font-weight:800}.payment-total{text-align:center;padding:23px}.payment-total span,.payment-total small{display:block;color:#8b8b8b}.payment-total strong{display:block;margin:8px 0;font-size:34px;letter-spacing:-1px}.payment-actions{display:flex;flex-direction:column;gap:9px}.divider{margin:20px 0;display:flex;align-items:center;gap:10px;color:#9a9a9a;font-size:10px;text-transform:uppercase;letter-spacing:.07em}.divider:before,.divider:after{content:"";height:1px;flex:1;background:var(--line)}.reported{color:#286844;background:var(--green-soft);border-color:#cbead7}.payment-confirmed-icon{width:58px;height:58px;margin:0 auto 12px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--green);background:var(--green-soft)}.text-card,.source-html,.doctor-source,.support-card{color:#2b2b2b;font-size:14px;line-height:1.57}.source-html b,.source-html strong,.doctor-source b,.doctor-source strong{color:#111}.source-html a,.doctor-source a,.support-card a{color:var(--accent);text-decoration:none;font-weight:650}.source-html a:active,.doctor-source a:active,.support-card a:active{opacity:.65}.doctor-card{padding:0 0 18px;overflow:hidden}.doctor-photo{width:100%;aspect-ratio:1 / 1.02;display:block;object-fit:cover;object-position:center top;background:#f5f5f5;border-bottom:1px solid var(--line)}.doctor-source{padding:18px 18px 0}.support-actions{display:flex;flex-direction:column;gap:9px}.preparation-card{padding:16px 17px}.preparation-card .source-html,.preparation-card{font-size:13.5px;line-height:1.48}.preparation-card br{line-height:1.1}.faq-card{padding:16px 17px}.faq-card .source-html,.faq-card{font-size:13.5px;line-height:1.5}.source-inline-icon{width:21px;height:21px;margin:0 6px 0 0;vertical-align:-5px;display:inline-flex;align-items:center;justify-content:center;color:var(--accent)}.source-inline-icon svg{width:100%;height:100%}.menu-list{display:flex;flex-direction:column;gap:8px}.menu-list button{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;min-height:66px;padding:11px 13px;border:1px solid var(--line);border-radius:var(--radius-md);background:#fff;color:#111;display:grid;grid-template-columns:38px 1fr auto;gap:10px;align-items:center;text-align:left;cursor:pointer}.menu-list-icon{width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#f3f3f3;color:#343434}.menu-list-icon svg{display:block}.menu-list strong{display:block;font-size:14px}.menu-list small{display:block;margin-top:3px;color:#929292;font-size:11px}.menu-list b{color:#888;display:flex;align-items:center;justify-content:center}.admin-entry{margin-top:14px}.admin-filter{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:14px}.admin-filter button{-webkit-appearance:none;-moz-appearance:none;appearance:none;min-height:66px;padding:11px;border:1px solid var(--line);border-radius:var(--radius-md);background:#fff;color:#111;font-size:13px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:7px}.admin-filter button.selected{color:var(--accent);border-color:#e1262f59;background:var(--accent-soft)}.admin-filter .full-filter{grid-column:1 / -1}.admin-filter-icon{display:flex;align-items:center;justify-content:center}.admin-placeholder{text-align:center;color:#777}.admin-placeholder strong{color:#222}.admin-actions{margin-top:14px;display:flex;flex-direction:column;gap:8px}.danger-zone{margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}.admin-format-label{display:inline-flex;align-items:center;gap:5px}.admin-format-label svg{display:block}.admin-success{display:flex;align-items:center;gap:8px}.admin-success-icon{display:flex;align-items:center;justify-content:center;color:var(--green)}.modal-backdrop{position:fixed;z-index:500;top:0;right:0;bottom:0;left:0;padding:18px;background:#0000005c;display:flex;align-items:center;justify-content:center}.modal{width:min(100%,480px);max-height:calc(100dvh - 36px);overflow-y:auto;padding:21px;border-radius:22px;background:#fff;color:#111;box-shadow:0 24px 70px #00000042}.modal h2{margin:0 0 10px;font-size:21px}.modal p{color:#747474;font-size:13px;line-height:1.48}.modal-actions{margin-top:18px;display:grid;grid-template-columns:1fr 1fr;gap:9px}.modal-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.close{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:38px;height:38px;border:0;border-radius:50%;background:#f2f2f2;color:#555;font-size:25px;line-height:1}.wide-modal{max-width:520px}.modal-icon-title{display:flex;align-items:center;gap:8px}.modal-icon-title>span:first-child{color:var(--danger);display:flex;align-items:center;justify-content:center}.legal-card{max-height:55dvh;overflow-y:auto;font-size:13px;line-height:1.55;-webkit-overflow-scrolling:touch}.standalone{width:min(calc(100% - 36px),500px);min-height:100dvh;margin:0 auto;padding:36px 10px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.standalone-logo{margin-bottom:22px;font-size:27px;font-weight:800;letter-spacing:-1px}.standalone h1{margin:0 0 12px;font-size:22px}.standalone p{max-width:430px;margin:0;color:#777;font-size:14px;line-height:1.55}@media(max-width:390px){.booking-timeline-node{width:30px;height:30px}.booking-timeline:before{top:15px}.booking-timeline-step span{max-width:52px;font-size:7.8px}.booking-timeline-step svg{width:13px;height:13px}}@media(max-width:360px){.content{padding-left:7px;padding-right:7px}.time-grid{grid-template-columns:repeat(2,1fr)}.bottom-nav button span{font-size:9px}.booking-timeline{padding:0}.booking-timeline-node{width:28px;height:28px}.booking-timeline:before{top:14px;left:6%;right:6%}.booking-timeline-step span{font-size:7px;max-width:46px}.platform-logo{width:37px;height:37px;flex-basis:37px}.patient-status{max-width:135px;padding:5px 7px;font-size:9px}.appointment-head{gap:8px}.modal-actions{grid-template-columns:1fr}}@media(min-width:431px){.content{padding-left:14px;padding-right:14px}.booking-timeline-step span{font-size:9px}}@media(hover:hover)and (pointer:fine){.format-choice:hover,.service-choice:hover,.platform-grid button:hover,.date-list button:not(:disabled):hover,.time-grid button:not(:disabled):hover,.menu-list button:hover,.admin-filter button:hover{border-color:#d3d3d3;background:#fcfcfc}.source-html a:hover,.doctor-source a:hover,.support-card a:hover{text-decoration:underline}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

.admin-filter-image-icon{width:22px;height:22px;display:block;object-fit:contain}


/* v2.11.2 — signature logo on Booking and My Appointments.
   It stays in normal document flow, never fixed/absolute, so cards/buttons cannot overlap it. */
.signature-balance-logo{width:100%;display:flex;align-items:center;justify-content:center;box-sizing:border-box;clear:both;margin:34px auto 10px;padding:0 8px;pointer-events:none;user-select:none}
.signature-balance-logo img{display:block;width:min(92%,520px);height:auto;max-height:170px;object-fit:contain}
@media(max-width:380px){.signature-balance-logo{margin-top:28px;padding:0 4px}.signature-balance-logo img{width:94%;max-height:150px}}

/* Moscow-time past-slot guard */
.time-grid button.moscow-past-slot:disabled{opacity:.48;border-color:#e3e3e3;background:#f4f4f4;color:#8a8a8a;cursor:default;pointer-events:none}
.legal-consent-card{display:flex;flex-direction:column;gap:16px}.legal-consent-card h2{margin:0;font-size:18px;line-height:1.28}.legal-consent-card p{margin:0;color:#565656;font-size:14px;line-height:1.5}.legal-terms-link{margin-top:2px}.legal-consent-check{position:relative;display:flex;align-items:center;gap:11px;min-height:44px;cursor:pointer;user-select:none;font-size:15px;font-weight:650}.legal-consent-check input{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.legal-consent-box{width:24px;height:24px;flex:0 0 24px;border:2px solid #c9c9cc;border-radius:7px;background:#fff;display:inline-flex;align-items:center;justify-content:center;transition:background .15s ease,border-color .15s ease}.legal-consent-check input:checked+.legal-consent-box{border-color:var(--accent);background:var(--accent)}.legal-consent-check input:checked+.legal-consent-box:after{content:"";width:9px;height:5px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:translateY(-1px) rotate(-45deg)}.legal-consent-check input:focus-visible+.legal-consent-box{outline:2px solid rgba(225,38,47,.32);outline-offset:2px}
