:root { --bg:#f5f4ef; --surface:#fff; --field:#fff; --text:#20221f; --muted:#72766f; --line:#e5e4de; --field-line:#d5d6d0; --accent:#315c45; --accent2:#e8f0eb; --subtle:#f6f7f4; --danger:#a53f3f; --danger-bg:#faecec; --on-accent:#fff; --shadow:0 14px 45px rgba(30,35,31,.08); font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; color:var(--text); background:var(--bg); }
:root { --mobile-nav-extra-bottom:0px; }
@supports (-webkit-touch-callout:none) { :root { --mobile-nav-extra-bottom:15px; } }
* { box-sizing:border-box; }
body { min-height:100vh; margin:0; }
.shell { position:relative; width:min(1100px,calc(100% - 32px)); margin:0 auto; padding:28px 0 64px; }
.shell-narrow { width:min(680px,calc(100% - 28px)); }
.brand { display:flex; align-items:flex-end; gap:10px; margin:0 0 28px; }
.brand a { display:inline-flex; align-items:flex-end; gap:0; color:var(--accent); font:700 23px/1 Georgia,serif; text-decoration:none; }
.brand-mark { display:block; width:45px; height:45px; flex:0 0 45px; object-fit:contain; }
.brand a > span { margin:0 0 5px -5px; color:var(--accent); }
.brand > span { margin:0 0 17px -5px; color:var(--muted); font-size:10px; line-height:1; white-space:nowrap; }
.public-top-tabs { display:none; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; margin:0 0 14px; }.public-top-tabs a { display:flex; min-width:0; min-height:44px; align-items:center; justify-content:center; padding:10px 5px; color:var(--accent); font:700 12px/1.2 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; text-align:center; text-decoration:none; background:var(--accent2); border-radius:11px; }.public-top-tabs a.active { color:var(--on-accent); background:var(--accent); }
.muted { color:var(--muted); }.small { font-size:13px; }
.card { margin-bottom:16px; padding:15px 18px; background:var(--surface); border:1px solid var(--line); border-radius:22px; box-shadow:var(--shadow); }
.hero { padding:34px; }#booking-flow .hero .eyebrow { margin-bottom:20px; }.hero h1,.success-card h1 { margin:6px 0 10px; font:700 36px/1.12 Georgia,serif; }
.eyebrow { margin:0; color:var(--accent); font-size:11px; font-weight:750; letter-spacing:.12em; text-transform:uppercase; }
.center { padding:70px 20px; text-align:center; }.hidden { display:none!important; }.disabled { pointer-events:none; opacity:.5; }
.schedule-heading h2 { margin-bottom:10px; }
#schedule-month-title { position:relative; top:3px; }
.spinner { width:32px; height:32px; margin:auto; border:3px solid var(--line); border-top-color:var(--accent); border-radius:50%; animation:spin .8s linear infinite; } @keyframes spin { to { transform:rotate(360deg); } }
.step-title { display:flex; align-items:center; gap:12px; margin-bottom:20px; }.step-title span { display:grid; width:30px; height:30px; place-items:center; color:var(--accent); font-weight:700; background:var(--accent2); border-radius:50%; }.step-title h2,h2 { margin:0; font-size:20px; }
.choice-list { display:grid; gap:10px; }.choice { display:flex; justify-content:space-between; gap:16px; padding:16px; color:var(--text); text-align:left; cursor:pointer; background:var(--surface); border:1px solid var(--line); border-radius:14px; }.choice:hover,.choice.selected { background:var(--accent2); border-color:var(--accent); }.choice strong { display:block; font-size:16px; }.choice small { display:block; margin-top:5px; color:var(--muted); }.price { font-weight:700; white-space:nowrap; }
label { display:block; margin:15px 0 7px; font-size:13px; font-weight:650; } label small { color:var(--muted); font-weight:400; }
input,textarea,select { display:block; width:100%; margin-top:7px; padding:12px 13px; color:inherit; font:inherit; background:var(--field); border:1px solid var(--field-line); border-radius:11px; outline:none; } input:focus,textarea:focus,select:focus { border-color:var(--accent); box-shadow:0 0 0 3px rgba(49,92,69,.11); } input.input-error,input.input-error:focus { border-color:#b43a3a; box-shadow:0 0 0 3px rgba(180,58,58,.12); }
.city-suggestions-wrap { position:relative; }.city-suggestions-wrap input { margin-top:7px; }.city-suggestions { position:absolute; z-index:30; top:calc(100% + 4px); right:0; left:0; overflow:auto; max-height:224px; padding:5px; background:var(--surface); border:1px solid var(--field-line); border-radius:11px; box-shadow:0 12px 30px rgba(30,35,31,.16); }.city-suggestion { display:block; width:100%; padding:10px 11px; color:var(--text); font:inherit; text-align:left; cursor:pointer; background:transparent; border:0; border-radius:7px; }.city-suggestion:hover,.city-suggestion:focus { color:var(--accent); background:var(--accent2); outline:0; }
/* iOS WebKit zooms the page when a focused field uses a font smaller than 16px. */
@media (max-width:760px) { input:not([type="hidden"]),textarea,select { font-size:16px!important; } }
.slots { display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; }.slot { padding:10px 14px; color:var(--text); font-weight:650; cursor:pointer; background:var(--surface); border:1px solid var(--line); border-radius:10px; }.slot:hover,.slot.selected { color:var(--on-accent); background:var(--accent); border-color:var(--accent); }
.summary { margin:20px 0; padding:15px; line-height:1.6; background:var(--subtle); border-radius:13px; }.button { display:inline-flex; min-height:44px; align-items:center; justify-content:center; padding:12px 18px; font:700 14px/1.2 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; text-align:center; text-decoration:none; cursor:pointer; border:0; border-radius:11px; }.button:disabled { cursor:not-allowed; opacity:.45; }.primary { color:var(--on-accent); background:var(--accent); }.secondary { color:var(--accent); background:var(--accent2); }.danger { color:var(--danger); background:var(--danger-bg); }.wide { width:100%; }.privacy { color:var(--muted); font-size:11px; text-align:center; }
.success-card { padding:40px; text-align:center; }.success-icon { display:grid; width:58px; height:58px; margin:0 auto 18px; place-items:center; color:var(--on-accent); font-size:28px; background:var(--accent); border-radius:50%; }.badge { display:inline-flex; padding:6px 10px; color:var(--accent); font-size:12px; font-weight:700; background:var(--accent2); border-radius:99px; }.details { display:grid; grid-template-columns:1fr 1fr; gap:18px; }.detail span { display:block; margin-bottom:4px; color:var(--muted); font-size:12px; }.actions,.inline-actions { display:flex; flex-wrap:wrap; gap:10px; }.actions { margin-top:24px; }.notice { padding:18px; }.field-error { display:block; margin:-2px 0 12px; color:#a52f2f; line-height:1.35; }.error { color:#8d2929; background:#fff1f0; border-color:#f0c9c6; }.toast { position:fixed; z-index:10; bottom:24px; left:50%; padding:12px 18px; color:#fff; background:#222; border-radius:10px; box-shadow:var(--shadow); transform:translateX(-50%); }
.app-layout { display:grid; grid-template-columns:230px 1fr; gap:24px; }.sidebar { position:sticky; top:20px; height:max-content; }.nav button { display:block; width:100%; padding:11px; color:var(--text); text-align:left; cursor:pointer; background:transparent; border:0; border-radius:9px; }.nav button.active { color:var(--accent); font-weight:700; background:var(--accent2); }.page-title { margin:0 0 22px; font:700 32px Georgia,serif; }.grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:16px; }.toolbar,.row-between { display:flex; align-items:flex-start; justify-content:space-between; gap:15px; }.toolbar { align-items:center; margin-bottom:18px; }.service-row,.booking-row { margin-top:10px; padding:16px; border:1px solid var(--line); border-radius:14px; }.day-row { display:grid; grid-template-columns:120px 1fr 1fr; gap:12px; align-items:center; margin:10px 0; }.auth-wrap { width:min(430px,calc(100% - 28px)); margin:8vh auto; }.auth-tabs { display:flex; padding:3px; background:#efeee8; border-radius:10px; }.auth-tabs button { flex:1; padding:9px; background:transparent; border:0; border-radius:8px; }.auth-tabs button.active { background:var(--surface); box-shadow:0 2px 8px #00000012; }.empty { padding:35px 10px; color:var(--muted); text-align:center; }.status-pending { color:#80601a; background:#fff3d7; }.status-confirmed { color:#315c45; background:#e8f0eb; }.status-cancelled_by_customer,.status-cancelled_by_specialist { color:#785858; background:#f3eeee; }.status-completed { color:#405780; background:#e9eef8; }.status-no_show { color:#8b4646; background:#f4e9e9; }

.calendar-picker { position:relative; margin-top:7px; }.calendar-trigger { display:flex; width:100%; align-items:center; gap:10px; padding:12px 13px; color:var(--text); font:inherit; text-align:left; cursor:pointer; background:var(--field); border:1px solid var(--field-line); border-radius:11px; }.calendar-trigger:hover,.calendar-trigger[aria-expanded="true"] { border-color:var(--accent); box-shadow:0 0 0 3px rgba(49,92,69,.11); }.calendar-icon { display:grid; width:23px; height:23px; place-items:center; color:var(--accent); font-size:18px; line-height:1; background:var(--accent2); border-radius:6px; }.calendar-popover { position:absolute; z-index:5; top:calc(100% + 8px); left:0; width:min(348px,calc(100vw - 56px)); padding:15px; background:var(--surface); border:1px solid var(--line); border-radius:16px; box-shadow:0 20px 45px rgba(30,35,31,.18); }.calendar-header { display:grid; grid-template-columns:34px 1fr 34px; align-items:center; margin-bottom:12px; text-align:center; text-transform:capitalize; }.calendar-nav { width:34px; height:34px; color:var(--accent); font-size:26px; line-height:1; cursor:pointer; background:var(--accent2); border:0; border-radius:9px; }.calendar-nav:hover { background:#dbe8df; }.calendar-nav:disabled { cursor:not-allowed; opacity:.35; }.calendar-weekdays,.calendar-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:4px; text-align:center; }.calendar-weekdays { margin-bottom:5px; color:var(--muted); font-size:11px; font-weight:700; }.calendar-day { aspect-ratio:1; color:var(--text); font:600 13px/1 inherit; cursor:pointer; background:transparent; border:0; border-radius:9px; }.calendar-day:hover { color:var(--accent); background:var(--accent2); }.calendar-day.today { outline:1px solid #acc4b4; }.calendar-day.selected { color:var(--on-accent); background:var(--accent); outline:none; }.calendar-day:disabled { color:#b6b8b3; cursor:not-allowed; }.calendar-day:disabled:hover { background:transparent; }.calendar-empty { aspect-ratio:1; }

@media (max-width:760px) { .app-layout { display:block; }.sidebar { position:static; margin-bottom:16px; }.nav { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; }.nav button { padding:10px 6px; text-align:center; white-space:normal; }.telegram-mode #logout { display:none; }.grid-2,.details { grid-template-columns:1fr; }.hero { padding:27px; }.hero h1 { font-size:30px; }.day-row { grid-template-columns:1fr 1fr; }.day-row strong { grid-column:1/-1; }.actions { flex-direction:column; } }
.booking-day { margin-top:24px; }
.booking-day:first-child { margin-top:0; }
.booking-day h3 { margin:0 0 10px; text-transform:capitalize; }
.success-card > .button + .button { margin-top:10px; }
.email-save { margin-top:18px; padding-top:18px; border-top:1px solid var(--line); text-align:left; }
.booking-row { padding:20px; margin-top:12px; background:var(--surface); border-radius:16px; }
.booking-main { display:grid; gap:10px; }
.booking-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.booking-service { margin-top:5px; color:var(--muted); font-size:14px; }
.booking-date { color:var(--accent); font-size:14px; font-weight:650; }
.specialist-rating { margin:14px 0 0; color:var(--accent); font-weight:700; }
.public-reviews { display:grid; gap:14px; margin-top:16px; }
.public-review { padding:14px; background:var(--subtle); border-radius:12px; }
.public-review span,.customer-review strong { display:block; margin-top:5px; color:#bd851a; letter-spacing:.08em; }
.public-review p { margin:8px 0 0; white-space:pre-line; }
.review-form,.customer-review { margin-top:18px; padding-top:16px; border-top:1px solid var(--line); }
.review-form h3,.customer-review h3 { margin:0 0 10px; }
.review-stars { display:flex; flex-direction:row-reverse; width:max-content; gap:3px; }
.review-star { margin:0; cursor:pointer; }
.review-star input { position:absolute; width:1px; height:1px; opacity:0; }
.review-star span { color:#c7c9c4; font-size:30px; line-height:1; }
.review-star:has(input:checked) span,.review-star:has(input:checked) ~ .review-star span { color:#bd851a; }
.review-form textarea { margin-bottom:12px; }
.review-form .button[type="submit"] { margin-bottom:10px; }
.customer-reputation { margin:10px 0 10px; color:var(--accent); font-size:14px; font-weight:650; }
.booking-comment { margin:0; padding:10px 12px; color:var(--text); background:var(--subtle); border-radius:10px; line-height:1.45; }
.booking-comment span { color:var(--muted); font-weight:650; }
.status-pending,.status-confirmed,.status-cancelled_by_customer,.status-cancelled_by_specialist,.status-completed,.status-no_show { border:1px solid currentColor; }
#bookings-status { margin-bottom:20px; }
.booking-filters { margin-bottom:10px; }
.booking-filters .button { min-height:30px; padding:7px 14px; }
#register-form .button[type="submit"] { margin-top:10px; }
#telegram-link-button { margin-top:10px; }
.telegram-cabinet-actions { display:grid; gap:10px; margin-top:10px; }
.booking-row .inline-actions { margin-top:0; }
.booking-row .booking-actions-pending { margin-top:18px; }
.booking-phone + .customer-reputation { margin-top:5px; }
.booking-row .inline-actions .button { min-height:34px; padding:8px 14px; }
.booking-phone { color:var(--muted); font-size:13px; }

.avatar-preview { display:block; width:112px; height:112px; margin-top:10px; object-fit:cover; border-radius:50%; }

.public-specialist-avatar { width:88px; height:88px; object-fit:cover; border-radius:50%; }
.public-specialist-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.achievement-button { display:flex; min-width:0; align-items:center; gap:8px; padding:5px 8px 5px 5px; color:var(--text); text-align:left; cursor:pointer; background:var(--subtle); border:1px solid var(--line); border-radius:13px; }.achievement-button:hover { background:var(--accent2); border-color:var(--accent); }.achievement-button img { display:block; width:48px; height:48px; object-fit:contain; }.achievement-button span { display:grid; gap:2px; }.achievement-button strong { font-size:12px; }.achievement-button small { color:var(--muted); font-size:10px; white-space:nowrap; }.achievement-button-profile { position:absolute; top:0; right:0; width:58px; height:58px; margin:0; padding:0; background:transparent; border:0; border-radius:0; }.achievement-button-profile:hover { background:transparent; border-color:transparent; transform:scale(1.08); }.achievement-button-profile img { width:58px; height:58px; }
.search-achievement { position:absolute; top:10px; right:10px; display:grid; width:52px; height:52px; place-items:center; padding:0; cursor:pointer; background:transparent; border:0; border-radius:0; box-shadow:none; }.search-achievement:hover { background:transparent; transform:scale(1.07); }.search-achievement img { width:52px; height:52px; object-fit:contain; }.search-achievement span { display:none; }.specialist-card { position:relative; }.specialist-card .specialist-details { padding-right:58px; }.achievement-button-booking { display:grid; width:88px; height:88px; flex:0 0 88px; place-items:center; padding:0; background:transparent; border:0; border-radius:0; }.achievement-button-booking:hover { background:transparent; border:0; transform:scale(1.07); }.achievement-button.achievement-button-booking img { width:88px; height:88px; }
.achievement-dialog { position:fixed; top:50%; left:50%; width:min(620px,calc(100% - 28px)); max-height:calc(100vh - 38px); margin:0; transform:translate(-50%,-50%); padding:28px; overflow:auto; color:var(--text); background:var(--surface); border:1px solid var(--line); border-radius:20px; box-shadow:0 22px 60px rgba(0,0,0,.32); }.achievement-dialog::backdrop { background:rgb(0 0 0 / 55%); }.achievement-dialog h2 { padding-right:38px; font:700 28px Georgia,serif; }.achievement-dialog > .muted { margin:9px 0 20px; line-height:1.45; }.achievement-close { position:absolute; top:14px; right:14px; display:grid; width:34px; height:34px; place-items:center; padding:0; color:var(--text); font-size:25px; line-height:1; cursor:pointer; background:var(--subtle); border:1px solid var(--line); border-radius:50%; }.achievement-list { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }.achievement-list-item { display:grid; justify-items:center; gap:4px; padding:8px 5px; color:var(--muted); text-align:center; background:var(--subtle); border:1px solid transparent; border-radius:14px; }.achievement-list-item.current { color:var(--text); background:var(--accent2); border-color:var(--accent); }.achievement-list-item img { width:78px; height:78px; object-fit:contain; }.achievement-list-item strong { font-size:13px; }.achievement-list-item span { font-size:11px; font-weight:650; }
@media (max-width:560px) { .public-specialist-heading { gap:10px; }.achievement-button { gap:4px; padding:4px; }.achievement-button img { width:42px; height:42px; }.achievement-button small { display:none; }.achievement-list { grid-template-columns:repeat(3,minmax(0,1fr)); }.achievement-list-item img { width:70px; height:70px; } }
.pro-avatar { padding:3px; border:2px solid #d4a72c; box-shadow:0 0 0 3px rgba(212,167,44,.22),0 7px 18px rgba(130,95,17,.18); }
.specialist-pro-badge { display:inline-flex; width:max-content; margin:12px 0 0; padding:6px 10px; color:#684b0a; font-size:12px; font-weight:750; background:#fff0ba; border-radius:999px; }
.gallery-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:16px; }.gallery-grid button { padding:0; cursor:zoom-in; background:transparent; border:0; border-radius:12px; }.gallery-grid img { display:block; width:100%; aspect-ratio:1; object-fit:cover; border-radius:12px; }.waiting-list-offer-dialog { width:min(430px,calc(100% - 32px)); padding:28px; color:var(--text); background:var(--surface); border:1px solid var(--line); border-radius:20px; box-shadow:var(--shadow); }.waiting-list-offer-dialog h2 { margin:0; font-size:24px; }.waiting-list-offer-dialog p { margin:14px 0 22px; color:var(--muted); line-height:1.5; }.waiting-list-offer-dialog p strong { color:var(--text); }.waiting-list-offer-dialog::backdrop { background:rgb(0 0 0 / 55%); }.waiting-list-offer-dialog .actions { margin-top:0; }.waiting-list-offer-dialog .button { flex:1; }
.gallery-lightbox { width:min(900px,calc(100% - 28px)); max-height:calc(100vh - 40px); padding:12px; background:var(--surface); border:1px solid var(--line); border-radius:16px; box-shadow:0 22px 60px rgba(0,0,0,.35); }.gallery-lightbox::backdrop { background:rgba(0,0,0,.7); }.gallery-lightbox img { display:block; width:auto; max-width:100%; max-height:calc(100vh - 70px); margin:auto; object-fit:contain; border-radius:10px; }.gallery-lightbox button { position:absolute; top:8px; right:8px; width:34px; height:34px; color:#fff; font-size:25px; line-height:1; cursor:pointer; background:rgba(0,0,0,.55); border:0; border-radius:50%; }
.pro-gallery { margin:22px 0; padding-top:20px; border-top:1px solid var(--line); }.pro-gallery h2,.pro-statistics h2 { margin:0; }.pro-feature-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }.pro-feature-heading .pro-lock-label { display:none; }.pro-feature-locked { opacity:.58; }.pro-feature-locked .pro-lock-label { display:inline-flex; flex:0 0 auto; padding:5px 8px; border-radius:999px; background:#fff0ba; color:#76540d; font-size:9px; font-weight:750; letter-spacing:.05em; text-transform:uppercase; }.pro-gallery .muted.small,.pro-statistics .muted.small { margin:8px 0 0; }.pro-gallery-placeholder { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:14px; }.pro-gallery-placeholder span { aspect-ratio:1; border:1px dashed var(--field-line); border-radius:10px; background:var(--subtle); }.gallery-upload { margin-top:12px; }.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }.gallery-editor { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:14px; }.gallery-editor figure { position:relative; margin:0; }.gallery-editor img { width:100%; aspect-ratio:1; object-fit:cover; border-radius:10px; }.gallery-editor button { position:absolute; top:5px; right:5px; padding:4px 7px; color:#fff; background:#8d2929; border:0; border-radius:7px; }.pro-statistics { margin:22px 0; padding:18px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }.pro-statistics-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:12px; }.pro-statistics-grid div { padding:10px; background:var(--subtle); border-radius:10px; }.pro-statistics strong,.pro-statistics span { display:block; }.pro-statistics span { margin-top:4px; color:var(--muted); font-size:12px; }html[data-theme="dark"] .pro-feature-locked .pro-lock-label { background:#4a3b1c; color:#ffdf82; }
.schedule-day { display:grid; gap:14px; margin:12px 0; padding:18px; background:var(--subtle); border:1px solid var(--line); border-radius:14px; }.schedule-day:first-child { margin-top:0; }.schedule-day-toggle { display:flex; align-items:center; gap:10px; margin:0; font-size:16px; font-weight:750; }.schedule-day-toggle input { width:22px; height:22px; margin:0; accent-color:var(--accent); }.schedule-times { display:grid; gap:10px; }.schedule-time { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; align-items:end; }.schedule-time.has-remove { grid-template-columns:repeat(2,minmax(0,1fr)) 36px; }.schedule-time label { margin:0; color:var(--muted); font-size:12px; font-weight:650; }.schedule-time input { min-width:0; margin:5px 0 0; }.schedule-time .remove-interval { width:36px; height:44px; color:var(--danger); font-size:22px; line-height:1; cursor:pointer; background:var(--danger-bg); border:0; border-radius:11px; }.add-interval { justify-self:start; margin:0; }
.schedule-time label { display:flex; min-width:0; align-items:center; gap:7px; white-space:nowrap; }.schedule-time input { flex:1; margin:0; padding:10px 8px; }
.schedule-editor-card input[type="time"] { position:relative; -webkit-appearance:none; appearance:none; background-image:none; cursor:pointer; }
.schedule-editor-card input[type="time"]::-webkit-calendar-picker-indicator { position:absolute; inset:0; width:100%; height:100%; margin:0; cursor:pointer; opacity:0; }
.schedule-editor-card input[type="time"]::-webkit-inner-spin-button { display:none; }
.schedule-heading { align-items:flex-start; gap:16px; margin-bottom:18px; }.schedule-heading h2,.manual-booking-card h2 { margin:0 0 6px; }.schedule-month-nav { display:flex; align-items:center; justify-content:flex-end; gap:7px; text-transform:capitalize; }.schedule-month-nav .button { min-width:42px; padding:9px 13px; }.schedule-calendar { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:0 0 18px; }.schedule-calendar .schedule-day { margin:0; }.schedule-calendar .schedule-day.is-day-off .schedule-times { opacity:.45; pointer-events:none; }.manual-booking-card { margin-top:16px; }.manual-booking-card .wide { grid-column:1 / -1; }
.schedule-action { margin-bottom:12px; }.schedule-action summary { cursor:pointer; font-size:17px; font-weight:400; list-style:none; }.schedule-action summary::after { content:"+"; float:right; color:var(--accent); }.schedule-action[open] summary::after { content:"−"; }.schedule-action summary::-webkit-details-marker { display:none; }.schedule-action > *:not(summary) { margin-top:16px; }.pro-lock-label { display:none; }.schedule-action.pro-locked { opacity:.58; background:var(--subtle); }.schedule-action.pro-locked summary { display:flex; align-items:center; justify-content:space-between; gap:12px; cursor:not-allowed; }.schedule-action.pro-locked summary::after { display:none; }.schedule-action.pro-locked .pro-lock-label { display:inline-flex; flex:0 0 auto; padding:5px 8px; border-radius:999px; background:#fff0ba; color:#76540d; font-size:9px; font-weight:750; letter-spacing:.05em; text-transform:uppercase; }.schedule-action.pro-locked > *:not(summary) { display:none !important; }html[data-theme="dark"] .schedule-action.pro-locked .pro-lock-label { background:#4a3b1c; color:#ffdf82; }.free-slots-controls { display:flex; align-items:end; gap:10px; }.free-slots-controls label { flex:1; margin:0; }.free-slots-controls select { margin-bottom:0; }.free-slots-list { display:grid; gap:10px; }.free-slot-day { display:grid; grid-template-columns:minmax(140px,.8fr) 1.2fr; gap:10px; align-items:start; padding:11px 0; border-top:1px solid var(--line); }.free-slot-day div { display:flex; flex-wrap:wrap; gap:6px; }.free-slot-day span { padding:4px 7px; border-radius:7px; background:var(--subtle); color:var(--accent); font-size:13px; font-weight:700; }.schedule-weekdays,.schedule-calendar { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:6px; }.schedule-weekdays { margin-bottom:6px; text-align:center; color:var(--muted); font-size:12px; font-weight:700; }.schedule-calendar { margin:0; }.schedule-empty { min-height:78px; }.schedule-date { min-height:78px; padding:8px 10px; border:1px solid var(--line); border-radius:10px; background:var(--subtle); color:var(--text); text-align:left; cursor:pointer; overflow:hidden; }.schedule-date strong { display:block; font-size:15px; }.schedule-date small { display:block; margin-top:5px; color:var(--muted); font-size:10px; line-height:1.25; overflow-wrap:anywhere; }.schedule-date.is-working { background:var(--accent-soft); border-color:var(--accent); }.schedule-date.is-working small { color:var(--accent); font-weight:700; }.schedule-editor { position:fixed; z-index:30; inset:0; display:grid; place-items:center; padding:18px; }.schedule-editor-backdrop { position:absolute; inset:0; background:rgba(0,0,0,.46); }.schedule-editor-card { position:relative; z-index:1; width:min(100%,440px); max-height:calc(100vh - 36px); overflow:auto; }.schedule-editor-card .row-between { margin-bottom:18px; }.schedule-editor-card .button.primary { margin-top:16px; }.icon-button { width:38px; height:38px; border:0; background:var(--subtle); color:var(--text); border-radius:50%; font-size:24px; line-height:1; cursor:pointer; }
.schedule-editor-times { padding:14px 0 8px; }.schedule-editor-times .schedule-time { margin:0 0 12px; }.schedule-editor-card #schedule-editor-add { margin:4px 0 8px; }
.manual-datetime { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; grid-column:1 / -1; }.manual-datetime label { margin:0; }
.pro-plan-status { margin-bottom:20px; padding:16px; background:var(--subtle); border:1px solid var(--line); border-radius:14px; }.pro-plan-status.active { background:var(--accent2); }.pro-plan-status strong,.pro-plan-status p { display:block; }.pro-plan-status strong { margin-top:8px; }.pro-plan-status p { margin:6px 0 0; color:var(--muted); font-size:13px; line-height:1.45; }.pro-plan h2,.pro-boost h2 { margin:0 0 14px; }.pro-benefits { display:grid; gap:11px; margin:0 0 22px; padding:0; list-style:none; }.pro-benefits li { position:relative; padding-left:25px; line-height:1.45; }.pro-benefits li::before { position:absolute; left:0; color:var(--accent); font-weight:800; content:"✓"; }.pro-boost-state { margin:12px 0 18px; padding:12px; color:var(--accent); background:var(--accent2); border-radius:10px; }
.pro-status-actions { display:grid; grid-template-columns:max-content; gap:10px; }.pro-status-actions .button { display:flex; min-height:52px; flex-direction:column; align-items:center; justify-content:center; gap:3px; padding:9px 16px; font-size:13px; line-height:1.15; text-align:center; white-space:normal; }.pro-action-title { font-weight:800; }.pro-action-meta { font-size:12px; font-weight:650; }.pro-renew-button { box-shadow:0 7px 16px rgba(49,92,69,.22); }.pro-boost-button { color:#72530d; background:#fff0ba; border:1px solid #e2bf59; box-shadow:0 5px 13px rgba(155,116,19,.13); }.pro-boost-button:hover { background:#ffe49a; }
.pro-benefits-details { margin:10px 0 16px; padding:0 0 12px; border-bottom:1px solid var(--line); }.pro-benefits-details summary { color:var(--accent); font-size:13px; font-weight:750; cursor:pointer; }.pro-benefits-details ul { display:grid; gap:8px; margin:12px 0 0; padding:0; list-style:none; }.pro-benefits-details li { position:relative; padding-left:21px; color:var(--text); font-size:13px; line-height:1.4; }.pro-benefits-details li::before { position:absolute; left:0; color:var(--accent); font-weight:800; content:"✓"; }
.pro-payment-info { margin:12px 0 0 !important; font-size:12px !important; line-height:1.6 !important; }.pro-payment-info strong { display:inline !important; color:var(--text); font-size:inherit !important; }.pro-payment-info a,#pro-payment-dialog a { color:var(--accent) !important; font-weight:700; text-decoration:none; }.pro-payment-info a:hover,#pro-payment-dialog a:hover { color:var(--accent) !important; text-decoration:underline; }
.pro-payment-dialog { position:relative; width:min(460px,calc(100% - 32px)); max-height:85vh; padding:28px; color:var(--text); overflow:auto; background:var(--surface); border:1px solid var(--line); border-radius:20px; box-shadow:var(--shadow); }.pro-payment-dialog::backdrop { background:rgb(0 0 0 / 55%); }.pro-payment-dialog h2 { padding-right:38px; }.pro-payment-price { margin:12px 0; font-size:28px; font-weight:700; }.pro-payment-close-form { position:absolute; top:14px; right:14px; margin:0; }.pro-payment-close { display:grid; width:34px; height:34px; place-items:center; padding:0; color:var(--text); font-size:25px; line-height:1; cursor:pointer; background:var(--subtle); border:1px solid var(--line); border-radius:50%; }.pro-payment-close:hover { color:var(--accent); background:var(--accent2); }
.pro-payment-documents { display:grid; gap:8px; }
.promotion-delete { display:inline-grid; width:32px; height:32px; margin-left:8px; place-items:center; padding:0; color:#fff; vertical-align:middle; cursor:pointer; background:#a53c3c; border:0; border-radius:9px; }.promotion-delete svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.promotion-form select { min-height:44px; padding-right:42px; appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23315c45' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 14px center; background-size:16px; }.promotion-form input[type="datetime-local"] { min-height:44px; padding-right:48px; line-height:20px; -webkit-appearance:none; appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'%3E%3Cpath d='m1 1 6 6 6-6' stroke='%23315c45' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 20px center; background-size:14px 8px; }.promotion-form input[type="datetime-local"]::-webkit-inner-spin-button { display:none; }.promotion-form input[type="datetime-local"]::-webkit-calendar-picker-indicator { position:absolute; inset:0; width:100%; height:100%; margin:0; cursor:pointer; opacity:0; }
.promotion-first-visit { display:flex; align-items:center; gap:10px; min-height:44px; margin:15px 0 7px; cursor:pointer; }.promotion-first-visit input[type="checkbox"] { width:20px; height:20px; flex:0 0 20px; margin:0; accent-color:var(--accent); }.promotion-first-visit span { line-height:1.3; }
.telegram-connect { display:grid; gap:12px; margin-top:26px; padding-top:22px; border-top:1px solid var(--line); }.telegram-connect h2,.telegram-connect p { margin:0; }.telegram-connect #telegram-link-button { width:max-content; }.telegram-link-result { display:grid; gap:12px; margin-top:10px; padding:20px; color:var(--text); background:var(--subtle); border:1px solid var(--line); border-radius:16px; }.telegram-link-result strong { font-size:18px; }.telegram-link-result code { width:max-content; max-width:100%; padding:8px 10px; color:var(--text); overflow-wrap:anywhere; background:var(--field); border:1px solid var(--field-line); border-radius:8px; }.telegram-open-link { width:max-content; }.telegram-link-result .muted { display:block; }
.payment-result-dialog { position:relative; width:min(430px,calc(100% - 32px)); padding:28px; color:var(--text); background:var(--surface); border:1px solid var(--line); border-radius:20px; box-shadow:var(--shadow); }.payment-result-dialog h2 { padding-right:38px; }.payment-result-dialog p { margin:14px 0 22px; color:var(--muted); line-height:1.5; }.payment-result-dialog::backdrop { background:rgb(0 0 0 / 55%); }
@media (min-width:561px) { .pro-status { display:grid; grid-template-columns:minmax(260px,1fr) minmax(360px,1.35fr); align-items:center; }.pro-status > div:first-child,.pro-benefits-details { grid-column:1; }.pro-status-actions { grid-column:2; grid-row:1 / span 2; align-self:center; }.pro-benefits-details { margin:10px 0 0; } }
@media (max-width:560px) { .pro-status-actions { grid-template-columns:minmax(0,1fr); width:100%; }.pro-status-actions .button { width:100%; } }
.account-heading { margin:26px 0 4px; padding-top:20px; border-top:1px solid var(--line); }
.profile-avatar-field { display:flex; align-items:center; gap:18px; margin:0 0 18px; padding:14px; background:var(--subtle); border:1px solid var(--line); border-radius:14px; }.avatar-display { display:grid; justify-items:center; gap:6px; color:var(--muted); font-size:12px; font-weight:650; }.avatar-preview { display:block; width:88px; height:88px; margin:0; object-fit:cover; border:2px solid var(--accent); border-radius:50%; box-shadow:0 0 0 4px var(--accent2),0 8px 18px rgba(49,92,69,.16); }.avatar-upload-control { position:relative; display:inline-flex; min-height:44px; flex:1; align-items:center; justify-content:center; margin:0; padding:10px 14px; color:var(--accent); font-size:14px; font-weight:700; cursor:pointer; background:var(--accent2); border-radius:11px; }.avatar-upload-control input { position:absolute; inset:0; width:100%; height:100%; margin:0; cursor:pointer; opacity:0; }
.avatar-upload-control.is-loading { color:transparent; pointer-events:none; }
.avatar-upload-control.is-loading::after { width:18px; height:18px; border:2px solid var(--field-line); border-top-color:var(--accent); border-radius:50%; content:""; animation:spin .7s linear infinite; }
.gallery-upload-row { display:flex; align-items:center; gap:10px; margin-top:12px; }.gallery-upload { margin-top:0; }.gallery-upload-status { display:flex; align-items:center; gap:7px; color:var(--muted); font-size:12px; font-weight:650; }.gallery-upload-status::before { width:15px; height:15px; border:2px solid var(--field-line); border-top-color:var(--accent); border-radius:50%; content:""; animation:spin .7s linear infinite; }
@media (max-width:420px) { .profile-avatar-field { gap:14px; padding:12px; }.avatar-preview { width:74px; height:74px; } }

@media (max-width:760px) {
  .shell { width:min(100% - 32px,680px); padding:15px 0 36px; }
  .brand { margin-bottom:15px; }
  .brand a { font-size:21px; }
  .brand-mark { width:35px; height:35px; flex-basis:35px; }
  .sidebar { margin-bottom:20px; padding:20px; }
  .sidebar .brand { margin:0 0 16px; }
  .sidebar .brand a { font-size:26px; }
  .nav { gap:5px; }
  .nav button { min-height:42px; padding:8px 5px; }
  .page-title { margin:0 0 14px; font-size:28px; line-height:1.08; }
  .toolbar { margin-bottom:14px; }
  .card { margin-bottom:12px; }
  .grid-2 { gap:4px; }
  label { margin:10px 0 5px; }
  .day-row { grid-template-columns:minmax(0,1fr) 76px 76px; gap:8px; align-items:center; margin:8px 0; }
  .day-row strong { grid-column:auto; min-width:0; }
  .day-row strong label { margin:0; font-size:14px; white-space:nowrap; }
  .day-row input { min-width:0; margin:0; padding:9px 6px; }
  .schedule-day { gap:12px; margin:10px 0; padding:15px; }
  .schedule-time { gap:8px; }
  .schedule-time.has-remove { grid-template-columns:repeat(2,minmax(0,1fr)) 34px; }
  .schedule-time .remove-interval { width:34px; }
  .schedule-heading { display:block; }.schedule-month-nav { justify-content:flex-start; margin-top:12px; }.schedule-calendar { grid-template-columns:1fr; }.manual-booking-card { margin-top:12px; }
  .schedule-weekdays,.schedule-calendar { grid-template-columns:repeat(7,minmax(0,1fr)); gap:4px; }.schedule-date,.schedule-empty { min-height:62px; }.schedule-date { padding:6px 3px; }.schedule-date small { font-size:9px; }.free-slots-controls { display:block; }.free-slots-controls .button { margin-top:10px; }.free-slot-day { grid-template-columns:1fr; gap:6px; }
  #page-schedule .muted { display:block; margin:0 0 14px; line-height:1.35; }
  #page-schedule .button { margin-top:10px; }
  .booking-filters { gap:8px; }
}

.publish-control { display:flex; align-items:center; gap:10px; margin-top:10px; }
.publish-control input { width:20px; height:20px; margin:0; }
.profile-save { margin-top:30px; }

.publish-control { display:flex; align-items:center; gap:10px; margin-top:10px; }
.publish-control input { width:20px; height:20px; margin:0; }
.profile-save { margin-top:30px; }
.profile-links { display:flex; gap:10px; margin-top:12px; }
.profile-links .button { flex:1; padding:12px 10px; font-size:14px; }

#page-profile hr { margin:20px 0 15px; border:0; border-top:1px solid var(--line); }

.profile-save { font-size:14px; }
#page-profile .card { margin-bottom:12px; }
#profile-form label { margin:11px 0 5px; }
#profile-form { position:relative; }
#profile-form .profile-avatar-field { margin-bottom:14px; }
#profile-form .account-heading { margin-top:20px; padding-top:16px; }
.pro-status { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:0 0 22px; padding:17px; background:var(--subtle); border:1px solid var(--line); border-radius:14px; }.pro-status.active { background:var(--accent2); }.pro-status strong,.pro-status p { display:block; }.pro-status strong { margin-top:7px; }.pro-status p { margin:5px 0 0; color:var(--muted); font-size:13px; line-height:1.45; }.pro-status-label { display:inline-block; padding:3px 7px; color:#6d4c0b; font-size:10px; font-weight:700; letter-spacing:.08em; background:#fff0ba; border-radius:999px; text-transform:uppercase; }.pro-status .button { flex:0 0 auto; }
@media (max-width:560px) { .pro-status { align-items:flex-start; flex-direction:column; }.pro-status .button { width:100%; } }


html[data-theme="dark"] {
  --bg:#121713;
  --surface:#1d251f;
  --field:#171d19;
  --text:#eef3ed;
  --muted:#abb5ad;
  --line:#3a463e;
  --field-line:#4a574e;
  --accent:#86cba0;
  --accent2:#2a4031;
  --subtle:#252f28;
  --danger:#ff9a91;
  --danger-bg:#432a2a;
  --on-accent:#132017;
  --shadow:0 14px 45px rgba(0,0,0,.28);
}
html[data-theme="dark"] body { background:var(--bg); }
html[data-theme="dark"] input[type="date"]::-webkit-calendar-picker-indicator,html[data-theme="dark"] input[type="time"]::-webkit-calendar-picker-indicator { filter:invert(1); opacity:1; }
html[data-theme="dark"] .auth-tabs { background:#273129; }
html[data-theme="dark"] .error { color:#ffaba4; background:#3a2525; border-color:#70403e; }
html[data-theme="dark"] .toast { color:var(--text); background:#2a342d; }

.auth-link { display:block; width:max-content; margin:12px auto 0; padding:0; color:var(--accent); font:600 13px/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; text-align:center; cursor:pointer; background:transparent; border:0; }
.auth-telegram-login { margin-top:18px; }
#reset-request-form h2,#reset-password-form h2 { margin:20px 0 8px; font-size:23px; }
#reset-request-form .muted,#reset-password-form .muted { margin:0 0 18px; line-height:1.5; }
html[data-theme="dark"] .status-pending { color:#f4ca70; background:#45391f; }
html[data-theme="dark"] .status-confirmed { color:#91d7aa; background:#284531; }
html[data-theme="dark"] .status-cancelled_by_customer,html[data-theme="dark"] .status-cancelled_by_specialist { color:#dfb4b4; background:#422f31; }
html[data-theme="dark"] .status-completed { color:#aec8ee; background:#29384f; }
html[data-theme="dark"] .status-no_show { color:#efaba6; background:#472d2d; }
html[data-theme="dark"] .brand a > span { color:#315c45; }
.theme-toggle { position:absolute; z-index:20; top:28px; right:0; display:grid; width:44px; height:44px; place-items:center; padding:0; color:var(--accent); font-size:22px; line-height:1; cursor:pointer; background:var(--surface); border:1px solid var(--line); border-radius:50%; box-shadow:var(--shadow); }
.theme-toggle:hover { background:var(--accent2); }
.booking-page #booking-flow .hero .eyebrow { margin-bottom:20px; }
@media (max-width:760px) { .theme-toggle { top:15px; right:0; width:32px; height:32px; font-size:16px; } }


/* Specialist cabinet uses the same open header and tab menu as the customer cabinet. */
.specialist-tabs { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:6px; margin:0 0 14px; }
.specialist-tabs button { min-width:0; padding:10px 6px; text-align:center; white-space:nowrap; background:var(--accent2); }
.specialist-tabs button.active { color:var(--on-accent); background:var(--accent); }
.specialist-logout { margin:0 0 16px; }
html[data-messenger="max"] .specialist-logout { display:none; }
.app-layout { display:block; }
.mobile-bottom-nav { display:none; }
#dashboard.hidden ~ .specialist-bottom-nav { display:none !important; }
select { -webkit-appearance:none; appearance:none; padding-right:48px; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'%3E%3Cpath d='m1 1 6 6 6-6' stroke='%23315c45' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 20px center; background-size:14px 8px; }
#service-form > .button.primary { margin-top:15px; }
html[data-theme="dark"] select { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'%3E%3Cpath d='m1 1 6 6 6-6' stroke='%2386cba0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
@media (max-width:760px) {
  .specialist-brand { margin-bottom:15px; }
  .specialist-tabs { display:none; }
  .specialist-logout { margin-bottom:14px; }
  .shell { padding-bottom:calc(94px + env(safe-area-inset-bottom) + var(--mobile-nav-extra-bottom)); }
  .toast { bottom:calc(70px + env(safe-area-inset-bottom)); }
  .mobile-bottom-nav { position:fixed; z-index:40; right:0; bottom:0; left:0; display:grid; align-items:stretch; padding:7px 9px calc(7px + env(safe-area-inset-bottom) + var(--mobile-nav-extra-bottom)); background:var(--surface); border-top:1px solid var(--line); box-shadow:0 -8px 24px rgba(30,35,31,.09); }
  .specialist-bottom-nav { grid-template-columns:repeat(5,minmax(0,1fr)); }
  .public-bottom-nav { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .mobile-bottom-nav button { display:grid; min-width:0; place-items:center; gap:3px; padding:3px 1px; color:var(--muted); font:650 10px/1.1 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; cursor:pointer; background:transparent; border:0; }
  .mobile-bottom-nav a { display:grid; min-width:0; place-items:center; gap:3px; padding:3px 1px; color:var(--muted); font:650 10px/1.1 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; text-decoration:none; }
  .mobile-bottom-nav svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
  .mobile-bottom-nav button.active { color:var(--accent); }
  .mobile-bottom-nav a.active { color:var(--accent); }
  .mobile-bottom-nav button.active svg { stroke-width:2.25; }
  .mobile-bottom-nav a.active svg { stroke-width:2.25; }
}

body.telegram-mode .specialist-tabs { display:none; }
body.telegram-mode .specialist-bottom-nav { position:fixed; z-index:40; right:0; bottom:0; left:0; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); align-items:stretch; padding:7px 9px calc(7px + env(safe-area-inset-bottom) + var(--mobile-nav-extra-bottom)); background:var(--surface); border-top:1px solid var(--line); box-shadow:0 -8px 24px rgba(30,35,31,.09); }
body.telegram-mode .specialist-bottom-nav button { display:grid; min-width:0; place-items:center; gap:3px; padding:3px 1px; color:var(--muted); font:650 10px/1.1 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; cursor:pointer; background:transparent; border:0; }
body.telegram-mode .specialist-bottom-nav svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
body.telegram-mode .specialist-bottom-nav button.active { color:var(--accent); }
body.telegram-mode .specialist-bottom-nav button.active svg { stroke-width:2.25; }
body.telegram-mode .public-bottom-nav { position:fixed; z-index:40; right:0; bottom:0; left:0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); align-items:stretch; padding:7px 9px calc(7px + env(safe-area-inset-bottom) + var(--mobile-nav-extra-bottom)); background:var(--surface); border-top:1px solid var(--line); box-shadow:0 -8px 24px rgba(30,35,31,.09); }
body.telegram-mode .public-bottom-nav a { display:grid; min-width:0; place-items:center; gap:3px; padding:3px 1px; color:var(--muted); font:650 10px/1.1 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; text-decoration:none; }
body.telegram-mode .public-bottom-nav svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
body.telegram-mode .public-bottom-nav a.active { color:var(--accent); }
body.telegram-mode .public-bottom-nav a.active svg { stroke-width:2.25; }
body.telegram-mode .shell { padding-bottom:calc(94px + var(--mobile-nav-extra-bottom)); }
body.telegram-mode .toast { bottom:70px; }


@media (min-width:761px) { .specialist-logout,.public-bottom-nav,body.telegram-mode .public-bottom-nav { display:none; }.public-top-tabs { display:grid; } }

.rating-star { color:#bd851a; }

.referral-program { margin-top:24px; padding-top:22px; border-top:1px solid var(--line); }
.referral-program h2 { margin:0 0 7px; }
.referral-program h3 { margin:22px 0 9px; font-size:16px; }
.referral-balance { display:flex; align-items:baseline; flex-wrap:wrap; gap:6px; margin:18px 0 14px; }
.referral-balance strong { color:var(--accent); font-size:38px; line-height:1; }
.referral-balance span { font-weight:750; }
.referral-balance small { width:100%; color:var(--muted); }
.referral-link { margin:0; }.referral-link input { margin-top:7px; font-size:13px; }
.referral-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:12px; }
.referral-list,.referral-history ul { display:grid; gap:8px; margin:0; padding:0; list-style:none; }
.referral-list li { display:flex; justify-content:space-between; gap:12px; padding:10px 12px; background:var(--subtle); border-radius:10px; }
.referral-list li span { color:var(--muted); font-size:13px; text-align:right; }
.referral-history { margin-top:14px; color:var(--muted); font-size:13px; }
.referral-history summary { cursor:pointer; color:var(--accent); font-weight:700; }
.referral-summary { display:flex; flex-wrap:wrap; gap:8px; margin:20px 0 12px; }.referral-summary span { padding:8px 10px; color:var(--muted); font-size:13px; background:var(--subtle); border-radius:9px; }.referral-summary strong { color:var(--text); }

@media (min-width:561px) {
  #pro-status.pro-status { display:grid; grid-template-columns:minmax(260px,1fr) max-content; align-items:center; }
  #pro-status.pro-status > div:first-child,#pro-status .pro-benefits-details { grid-column:1; }
  #pro-status .pro-status-actions { grid-column:2; grid-row:1; grid-template-columns:max-content; align-self:start; }
  #pro-status .pro-benefits-details { margin:10px 0 0; }
}

.schedule-date .day-off-icon { display:inline-flex; align-items:center; justify-content:center; width:20px; height:20px; margin-top:1px; border:1px solid var(--line); border-radius:50%; color:var(--muted); font-size:14px; font-style:normal; line-height:1; }.schedule-editor-card { display:grid; gap:16px; padding:28px; }.schedule-editor-card .row-between,.schedule-editor-card .button.primary,.schedule-editor-card #schedule-editor-add { margin:0; }.schedule-editor-card .schedule-day-toggle { padding:2px 0; }.schedule-editor-times { padding:2px 0; gap:12px; }.schedule-editor-times .schedule-time { margin:0; }
/* Keep native date, time and select controls centred across browsers. */
input[type="date"],input[type="time"],select { min-height:46px; padding-top:11px; padding-bottom:11px; line-height:20px; }
.schedule-time input[type="time"] { height:46px; padding-top:11px; padding-bottom:11px; }
.schedule-date strong { padding-left:2px; }.schedule-interval-count { display:inline-flex; align-items:center; gap:3px; white-space:nowrap; }.schedule-date small:has(.day-off-icon) { display:flex; min-height:32px; align-items:center; justify-content:center; }.schedule-date .day-off-icon { margin:0; }
/* Preserve the compact control height while keeping text vertically centred. */
input[type="date"],input[type="time"],select { min-height:0; padding-top:12px; padding-bottom:12px; line-height:1.2; }
.schedule-time input[type="time"] { height:auto; padding-top:10px; padding-bottom:10px; line-height:1.2; }
.schedule-date small:has(.schedule-interval-count) { display:flex; min-height:32px; align-items:center; justify-content:center; }.schedule-interval-count { font-size:16px; font-weight:800; line-height:1; }
.schedule-date { display:flex; flex-direction:column; align-items:flex-start; }.schedule-date strong { height:18px; margin:0; line-height:18px; }.schedule-date small { width:100%; }
.schedule-interval-count { display:none; font-size:14px; }.schedule-interval-list { display:inline; }
@media (max-width:760px) { .schedule-date small:has(.schedule-interval-count) { display:flex; min-height:32px; align-items:center; justify-content:center; }.schedule-interval-list { display:none; }.schedule-interval-count { display:inline-flex; align-items:center; justify-content:center; gap:3px; } }
.toast { min-width:min(360px,calc(100vw - 32px)); color:#72530d; text-align:center; background:#fff0ba; border:1px solid #e2bf59; box-shadow:0 12px 32px rgba(130,95,17,.26); }
html[data-theme="dark"] .toast { color:#fff1bd; background:#55400b; border-color:#e2bf59; box-shadow:0 12px 32px rgba(0,0,0,.38); }
.schedule-editor-card .schedule-time { grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px; align-items:center; }.schedule-editor-card .schedule-time label { display:grid; grid-template-columns:20px minmax(0,1fr); align-items:center; gap:6px; }.schedule-editor-card .schedule-time input { width:100%; }.schedule-editor-card .remove-interval,.schedule-editor-card .interval-spacer { width:44px; height:44px; justify-self:end; }.schedule-editor-card .remove-interval { padding:0; }

.waiting-list-entry { display:grid; gap:6px; margin-top:12px; padding:14px; border:1px solid var(--line); border-radius:12px; }
.waiting-list-entry > div:first-child { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.waiting-list-entry > div:first-child span,.waiting-list-period,.waiting-list-entry p { margin:0; color:var(--muted); font-size:14px; }
.waiting-list-entry.is-closed { opacity:.62; }
.waiting-list-entry .badge { width:max-content; }

.waiting-list-form > .button { margin-top:10px; }
.waiting-list-form #waiting-list-result { min-height:20px; margin:2px 0 0; text-align:center; }
.public-reviews-more { margin-top:12px; }
.public-reviews-more summary { color:var(--accent); font-size:13px; font-weight:700; cursor:pointer; }
.public-reviews-more .public-reviews { margin-top:12px; }
.gallery-more { margin-top:14px; }
.gallery-more summary { color:var(--accent); font-size:13px; font-weight:700; cursor:pointer; }
.gallery-more .gallery-grid { margin-top:12px; }
