/* Стиль під lawpartner.com.ua: Montserrat, золото #b7a088, синій #1e3684, кнопки-«пігулки» */
.lb-app {
	--lb-accent: #b7a088;
	--lb-dark: #1e3684;
	--lb-text: #6c6d74;
	--lb-head: #222;
	--lb-line: #e5e5e7;
	--lb-bg: #ffffff;
	--lb-soft: #f7f5f2;
	--lb-radius: 4px;
	max-width: 820px;
	margin: 0 auto;
	padding: 36px 40px;
	background: var(--lb-bg);
	color: var(--lb-text);
	border-top: 4px solid var(--lb-dark);
	box-shadow: 0 14px 50px rgba(30, 54, 132, .08);
	font-family: 'Montserrat', -apple-system, 'Segoe UI', Roboto, sans-serif;
	font-size: 15px;
	line-height: 1.6;
	box-sizing: border-box;
	text-align: left;
}
.lb-app *, .lb-app *::before, .lb-app *::after { box-sizing: border-box; }
.lb-app button, .lb-app input, .lb-app textarea { font-family: inherit; }
.lb-title { margin: 0 0 26px; font-size: 26px; line-height: 1.3; font-weight: 600; color: var(--lb-dark); font-family: inherit; text-transform: none; letter-spacing: 0; }
.lb-sub { margin: 0 0 12px; font-size: 15px; font-weight: 600; color: var(--lb-head); }
.lb-muted { margin: 0; }

/* Кроки */
.lb-steps { display: flex; gap: 10px; list-style: none; margin: 0 0 26px; padding: 0; }
.lb-steps li { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 0 0 12px; margin: 0; border-bottom: 2px solid var(--lb-line); }
.lb-steps li::before { display: none; }
.lb-steps em { font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-steps li span { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--lb-line); font-size: 12px; font-weight: 600; flex-shrink: 0; }
.lb-steps li.active { color: var(--lb-dark); border-color: var(--lb-dark); font-weight: 600; }
.lb-steps li.active span { background: var(--lb-dark); border-color: var(--lb-dark); color: #fff; }
.lb-steps li.done { border-color: var(--lb-accent); }
.lb-steps li.done span { background: var(--lb-accent); border-color: var(--lb-accent); color: #fff; }

/* Картки */
.lb-card-btn { all: unset; box-sizing: border-box; cursor: pointer; background: var(--lb-bg); border: 1px solid var(--lb-line); border-radius: var(--lb-radius); transition: border-color .2s, box-shadow .2s, transform .2s; }
.lb-card-btn:hover, .lb-card-btn:focus-visible { border-color: var(--lb-accent); box-shadow: 0 8px 24px rgba(30, 54, 132, .08); transform: translateY(-1px); }
.lb-card-btn.selected { border-color: var(--lb-dark); box-shadow: inset 0 0 0 1px var(--lb-dark); }

.lb-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.lb-service { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-left: 3px solid var(--lb-accent); }
.lb-service-name { font-weight: 600; font-size: 15px; color: var(--lb-dark); line-height: 1.35; }
.lb-service-desc { font-size: 13px; line-height: 1.5; }
.lb-service-meta { display: flex; gap: 14px; font-size: 13px; margin-top: auto; padding-top: 6px; color: var(--lb-accent); font-weight: 600; }

.lb-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.lb-person { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.lb-avatar { width: 58px; height: 58px; border-radius: 50%; flex-shrink: 0; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; background: var(--lb-dark); color: #fff; font-weight: 600; font-size: 18px; letter-spacing: .5px; }
.lb-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb-avatar-any { background: var(--lb-accent); font-size: 22px; }
.lb-person-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lb-person-name { font-weight: 600; color: var(--lb-dark); }
.lb-person-pos { font-size: 13px; }

.lb-summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; background: var(--lb-soft); border-left: 3px solid var(--lb-accent); padding: 12px 18px; margin-bottom: 22px; font-size: 14px; }
.lb-summary strong { color: var(--lb-dark); width: 100%; font-weight: 600; }

/* Календар */
.lb-cal-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.lb-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-weight: 600; color: var(--lb-dark); }
.lb-nav { all: unset; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; cursor: pointer; font-size: 22px; color: var(--lb-dark); }
.lb-nav:hover:not([disabled]) { background: var(--lb-soft); }
.lb-nav[disabled] { opacity: .25; cursor: default; }
.lb-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.lb-grid.loading { opacity: .45; pointer-events: none; }
.lb-wd span { text-align: center; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; padding: 4px 0; }
.lb-day { all: unset; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 14px; color: #c3c4c9; }
.lb-day.avail { color: var(--lb-head); cursor: pointer; font-weight: 500; background: var(--lb-soft); }
.lb-day.avail:hover { background: #ece6de; }
.lb-day.today { box-shadow: inset 0 0 0 1px var(--lb-accent); }
.lb-day.selected { background: var(--lb-dark) !important; color: #fff; }
.lb-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.lb-slot { all: unset; text-align: center; padding: 8px 0; border: 1px solid var(--lb-line); border-radius: 500px; cursor: pointer; font-size: 14px; color: var(--lb-head); font-variant-numeric: tabular-nums; transition: border-color .2s; }
.lb-slot:hover { border-color: var(--lb-accent); }
.lb-slot.selected { background: var(--lb-dark); border-color: var(--lb-dark); color: #fff; }

/* Форма */
.lb-form { display: grid; gap: 16px; }
.lb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lb-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--lb-head); margin: 0; }
.lb-form input[type=text], .lb-form input:not([type]), .lb-form input[type=tel], .lb-form input[type=email], .lb-form textarea {
	width: 100%; height: auto; margin: 0; padding: 11px 14px; border: 1px solid var(--lb-line); border-radius: var(--lb-radius); font-size: 15px; font-weight: 400; color: var(--lb-head); background: #fff; box-shadow: none;
}
.lb-form input:focus, .lb-form textarea:focus { outline: none; border-color: var(--lb-accent); }
.lb-formats { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lb-formats legend { font-size: 13px; font-weight: 600; color: var(--lb-head); margin-bottom: 8px; padding: 0; width: 100%; }
.lb-form .lb-radio { flex-direction: row; align-items: center; gap: 0; font-weight: 500; cursor: pointer; }
.lb-radio input { position: absolute; opacity: 0; pointer-events: none; }
.lb-radio span { padding: 7px 16px; border: 1px solid var(--lb-line); border-radius: 500px; font-size: 13px; transition: all .2s; }
.lb-radio input:checked + span { background: var(--lb-dark); border-color: var(--lb-dark); color: #fff; }
.lb-radio input:focus-visible + span { box-shadow: 0 0 0 3px rgba(183, 160, 136, .4); }
.lb-form .lb-check-label { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 12px; color: var(--lb-text); line-height: 1.5; }
.lb-check-label input { margin: 2px 0 0; accent-color: var(--lb-dark); flex-shrink: 0; }
.lb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; }
.lb-error { color: #b42318; font-size: 13px; min-height: 1em; }

/* Кнопки */
.lb-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.lb-form .lb-actions { margin-top: 4px; }
.lb-btn { appearance: none; border: 1px solid var(--lb-accent); background: var(--lb-accent); color: #fff; padding: 12px 34px; border-radius: 500px; font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; line-height: 1.4; transition: background .2s, border-color .2s, color .2s; }
.lb-btn:hover:not([disabled]) { background: var(--lb-dark); border-color: var(--lb-dark); color: #fff; }
.lb-btn[disabled] { opacity: .4; cursor: default; }
.lb-btn-ghost { background: transparent; color: var(--lb-dark); border-color: var(--lb-line); }

.lb-callus { margin: 24px 0 0; padding-top: 16px; border-top: 1px solid var(--lb-line); font-size: 13px; text-align: center; }
.lb-callus a { color: var(--lb-dark); font-weight: 600; text-decoration: none; white-space: nowrap; }

.lb-success { text-align: center; padding: 16px 0 4px; }
.lb-check { width: 66px; height: 66px; border-radius: 50%; background: var(--lb-accent); color: #fff; font-size: 30px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.lb-success-when { color: var(--lb-dark); }

@media (max-width: 680px) {
	.lb-app { padding: 24px 16px; }
	.lb-title { font-size: 21px; }
	.lb-services, .lb-people, .lb-cal-wrap, .lb-row { grid-template-columns: 1fr; }
	.lb-steps em { display: none; }
	.lb-steps li { justify-content: center; }
	.lb-btn { padding: 12px 22px; }
}

/* Пошук послуги */
.lb-search { margin: 0 0 14px; }
.lb-app .lb-search-input { width: 100%; height: auto; margin: 0; padding: 11px 16px 11px 40px; border: 1px solid var(--lb-line); border-radius: 500px; font-size: 14px; color: var(--lb-head); box-shadow: none;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236c6d74' stroke-width='2'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='m11 11 4 4'/%3E%3C/svg%3E") no-repeat 15px center; }
.lb-app .lb-search-input:focus { outline: none; border-color: var(--lb-accent); }
.lb-service[hidden] { display: none; }
.lb-search-empty { margin-top: 12px; text-align: center; }
