/* Coaching (0.43.0): find a teacher, booking panel on the teacher profile, My teaching set-up. Builds on mentorship.css (kmtg-*). */

/* inputs used in coaching forms */
.kcb input[type="text"], .kcb input[type="url"], .kcb input[type="number"], .kcb input[type="search"], .kcb select, .kcb textarea,
.kcb-book input[type="text"], .kcb-book select, .kcb-book textarea {
	min-height: 42px; width: 100%; min-width: 0; padding: 8px 10px; border: 1px solid var(--line-l2, #DDD5C7); background: #fff; font: inherit; font-size: 15px; color: var(--on-paper, #1A1A1C); box-sizing: border-box;
}
.kcb textarea, .kcb-book textarea { min-height: 84px; resize: vertical; line-height: 1.5; }
.kcb-small { margin: 10px 0 0; font-size: 13px; line-height: 1.55; color: var(--on-paper-mute, #6B6862); }
.kcb-small a { color: var(--red-on-paper, #C2131A); }
.kcb-new { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; background: #FFF3DC; color: #8A5A00; margin-right: 4px; }

/* profile: video, subjects table */
.kcb-video { position: relative; aspect-ratio: 16 / 9; max-width: 100%; margin-top: 14px; background: #121214; }
.kcb-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.kcb-tblwrap { overflow-x: auto; margin-top: 12px; }
.kcb-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.kcb-tbl th { text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-paper-mute, #6B6862); padding: 8px; border-bottom: 1px solid var(--line-l, #E6DFD2); }
.kcb-tbl td { padding: 11px 8px; border-bottom: 1px solid var(--line-l, #E6DFD2); vertical-align: top; }
.kcb-tbl .num { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* profile: booking panel */
.kcb-book { border-top: 3px solid var(--red, #ED1B24); }
.kcb-book .kc-note { margin-top: 12px; }
.kcb-form { display: grid; gap: 6px; margin-top: 8px; }
.kcb-fl { display: block; margin-top: 8px; font-size: 12.5px; font-weight: 700; color: var(--on-paper-mute, #6B6862); }
.kcb-who { border: 0; padding: 0; margin: 8px 0 0; display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.kcb-who legend { font-size: 12.5px; font-weight: 700; color: var(--on-paper-mute, #6B6862); padding: 0; margin-bottom: 6px; }
.kcb-child[hidden] { display: none; }
.kcb-hint { display: block; margin-top: 4px; font-size: 12px; color: var(--on-paper-mute, #6B6862); }
.kcb-k { margin: 12px 0 0; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--on-paper-mute, #6B6862); }
.kcb-times { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 6px; }
.kcb-time { position: relative; cursor: pointer; }
.kcb-time input { position: absolute; opacity: 0; inset: 0; }
.kcb-time span { display: block; padding: 8px 10px; border: 1px solid var(--line-l2, #DDD5C7); background: #fff; font-size: 12px; color: var(--on-paper-mute, #6B6862); }
.kcb-time span b { display: block; font-size: 15px; color: var(--on-paper, #1A1A1C); font-variant-numeric: tabular-nums; }
.kcb-time input:checked + span { border-color: var(--teal, #0F6B63); box-shadow: inset 0 0 0 1px var(--teal, #0F6B63); background: var(--teal-tint, #DCEFEC); }
.kcb-time input:focus-visible + span { outline: 2px solid var(--red, #ED1B24); outline-offset: 2px; }
.kcb-chk { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; font-size: 13.5px; line-height: 1.45; }
.kcb-chk input { margin-top: 3px; flex-shrink: 0; }
.kcb-chk a { color: var(--red-on-paper, #C2131A); }

/* find a teacher */
.kcb .pagehead .wrap { display: block; }
.kcb-search { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 20px; max-width: 980px; }
.kcb-search input[type="search"] { flex: 1 1 260px; width: auto; }
.kcb-search select { flex: 0 1 170px; width: auto; }
.kcb-wk { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; font-weight: 600; color: var(--on-ink, #EFEDE8); padding: 0 6px; }
.kcb-search .btn-pri { min-height: 42px; }
.kcb-results { display: grid; gap: 16px; padding-block: 24px 56px; }
.kcb-count { margin: 0; font-size: 14px; color: var(--on-paper-mute, #6B6862); }
.kcb-card { display: grid; grid-template-columns: 64px minmax(0, 1fr) 220px; gap: 18px; align-items: start; }
@media (max-width: 720px) { .kcb-card { grid-template-columns: 52px minmax(0, 1fr); } .kcb-card .kcb-side { grid-column: 1 / -1; } }
.kcb-av { display: block; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--teal, #0F6B63); }
.kcb-av img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.kcb-av span { display: grid; place-items: center; width: 100%; height: 100%; color: #fff; font-weight: 800; font-size: 22px; }
@media (max-width: 720px) { .kcb-av { width: 52px; height: 52px; } }
.kcb-main { min-width: 0; }
.kcb-main h2 { font-size: 19px; font-weight: 800; margin: 0; }
.kcb-main h2 a { color: var(--on-paper, #1A1A1C); text-decoration: none; }
.kcb-main h2 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.kcb-ver { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--teal, #0F6B63); vertical-align: middle; }
.kcb-hl { margin: 3px 0 0; font-size: 14px; color: var(--on-paper-mute, #6B6862); }
.kcb-meta { margin: 10px 0 0; font-size: 13px; color: var(--on-paper-mute, #6B6862); }
.kcb-side { display: grid; gap: 6px; justify-items: start; }
.kcb-price { margin: 0; font-size: 13px; color: var(--on-paper-mute, #6B6862); }
.kcb-price b { font-size: 22px; color: var(--on-paper, #1A1A1C); font-variant-numeric: tabular-nums; }
.kcb-next { margin: 0; font-size: 13px; color: var(--on-paper-mute, #6B6862); }
.kcb-next b { color: var(--teal-deep, #0B4F49); }
.kcb-teach { margin: 6px 0 0; text-align: center; font-size: 14px; }
.kcb-teach a, .kcb-others a b { color: var(--red-on-paper, #C2131A); }
.kcb-h2 { margin: 18px 0 0; font-size: 19px; font-weight: 800; }
.kcb-others { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.kcb-others a { display: grid; gap: 2px; padding: 12px 14px; background: var(--paper-2, #fff); border: 1px solid var(--line-l, #E6DFD2); text-decoration: none; min-width: 0; }
.kcb-others a span { font-size: 13px; color: var(--on-paper-mute, #6B6862); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* my learning */
.kcb-past { opacity: .72; }

/* my teaching: set-up form */
.kcb-setup { display: grid; gap: 12px; margin-top: 14px; }
.kcb-row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.kcb-row2 label, .kcb-fl { display: grid; gap: 5px; font-size: 12.5px; font-weight: 700; color: var(--on-paper-mute, #6B6862); }
.kcb-fl small { font-weight: 500; font-size: 12px; line-height: 1.45; }
.kcb-row2 fieldset, .kcb-fs { border: 0; padding: 0; margin: 0; min-width: 0; }
.kcb-row2 legend, .kcb-fs legend, .kcb-ticks legend { font-size: 12.5px; font-weight: 700; color: var(--on-paper-mute, #6B6862); padding: 0; margin-bottom: 6px; }
.kcb-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.kcb-pill { position: relative; cursor: pointer; }
.kcb-pill input { position: absolute; opacity: 0; inset: 0; }
.kcb-pill span { display: inline-block; padding: 7px 11px; border: 1px solid var(--line-l2, #DDD5C7); background: #fff; font-size: 13px; font-weight: 600; color: var(--on-paper, #1A1A1C); }
.kcb-pill input:checked + span { background: var(--teal-tint, #DCEFEC); border-color: var(--teal, #0F6B63); color: var(--teal-deep, #0B4F49); }
.kcb-pill input:focus-visible + span { outline: 2px solid var(--red, #ED1B24); outline-offset: 2px; }
.kcb-srh, .kcb-sr { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .8fr); gap: 8px; align-items: center; }
.kcb-srh span { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--on-paper-mute, #6B6862); }
.kcb-srs { display: grid; gap: 8px; }
.kcb-sr[hidden] { display: none; }
.kcb-rs { display: flex; align-items: center; gap: 6px; }
.kcb-rs > span { font-weight: 700; }
@media (max-width: 560px) { .kcb-srh { display: none; } .kcb-sr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .kcb-sr input[type="text"] { grid-column: 1 / -1; } }
.kcb-more { justify-self: start; }
.kcb-more[hidden] { display: none; }
.kcb-calc { margin: 0; padding: 12px 14px; background: var(--teal-tint, #DCEFEC); color: var(--teal-deep, #0B4F49); font-size: 13.5px; line-height: 1.5; }
.kcb-ticks { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; font-weight: 500; color: var(--on-paper, #1A1A1C); }
.kcb-ticks label { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; color: var(--on-paper, #1A1A1C); }
.kcb #times > .kmtg-f, .kcb-setup.kmtg-f, .kcb-form.kmtg-f { display: grid; width: 100%; }
.kcb-ticks input, .kcb-chk input, .kcb-who input { width: auto !important; height: auto !important; min-height: 0 !important; }
.kcb .kmtg-steps + .kmtg-small { margin-top: 12px; }
/* phase 2 (0.44.0): booking tabs, totals, plans, sessions */
.kcb-tabs { display: flex; margin: 10px 0 4px; border-bottom: 1px solid var(--line-l, #E6DFD2); }
.kcb-tabs button { flex: 1; padding: 10px 6px; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 700; color: var(--on-paper-mute, #6B6862); cursor: pointer; }
.kcb-tabs button[aria-selected="true"] { color: var(--on-paper, #1A1A1C); box-shadow: inset 0 -3px 0 var(--red, #ED1B24); }
.kcb-tabs button:focus-visible { outline: 2px solid var(--red, #ED1B24); outline-offset: -2px; }
[role="tabpanel"][hidden] { display: none; }
.kcb-total { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; margin-top: 12px; padding: 12px 14px; background: var(--paper, #F6F2EA); border: 1px solid var(--line-l, #E6DFD2); }
.kcb-total span { font-size: 13px; color: var(--on-paper-mute, #6B6862); }
.kcb-total b { grid-row: span 2; align-self: center; font-size: 22px; font-variant-numeric: tabular-nums; }
.kcb-total small { font-size: 12px; color: var(--on-paper-mute, #6B6862); }
.kcd-pay[disabled] { opacity: .5; cursor: not-allowed; }
.kcb-attn { border-left: 4px solid #8A5A00; }
.kcp-topics { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 4px; font-size: 14.5px; }
.kcp-prog { height: 6px; margin-top: 12px; background: var(--sand, #EDE6D9); }
.kcp-prog i { display: block; height: 100%; background: var(--teal, #0F6B63); }
.kcp-det { margin-top: 10px; font-size: 14px; }
.kcp-det summary { cursor: pointer; font-weight: 700; color: var(--red-on-paper, #C2131A); }
.kcp-h3 { margin: 18px 0 0; font-size: 15px; font-weight: 800; }
.kcp-log { margin-top: 10px; padding: 12px 14px; background: var(--paper, #F6F2EA); border-left: 3px solid var(--teal, #0F6B63); font-size: 14px; }
.kcp-log p { margin: 6px 0 0; }
.kcp-log p span { font-weight: 700; }
.kcp-log a { color: var(--red-on-paper, #C2131A); }
.kcp-book { margin-top: 16px; }
.kcp-book .kmtg-slot { margin-top: 8px; }
.kcp-acts.kmtg-f { display: grid; gap: 10px; justify-items: start; margin-top: 12px; }
.kcp-send { border-top: 1px solid var(--line-l, #E6DFD2); padding-block: 12px; }
.kcp-send:first-of-type { margin-top: 10px; }
.kcp-send summary { cursor: pointer; font-size: 14.5px; }
.kcp-send summary span { color: var(--on-paper-mute, #6B6862); font-size: 13px; }
.kcb .kmtg-col { grid-template-columns: minmax(0, 1fr); }
.kcb .kmtg-col > .card, .kcb-setup, .kcb-setup > *, .kcp-send { min-width: 0; }
.kcb fieldset { min-width: 0; }
/* phase 3: ratings, feedback, earnings */
.kcr-stars { color: #B8860B; font-weight: 800; letter-spacing: 1px; white-space: nowrap; }
.kcr-stars i { font-style: normal; color: var(--sand, #EDE6D9); }
.kcr-grid { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; align-items: center; margin-top: 14px; }
.kcr-big b { display: block; font-size: 44px; font-weight: 800; line-height: 1; }
.kcr-big .kcr-stars { font-size: 17px; }
.kcr-big small { display: block; font-size: 12px; color: var(--on-paper-mute, #6B6862); margin-top: 4px; }
.kcr-bars { display: grid; gap: 8px; }
.kcr-bars p { margin: 0; display: grid; grid-template-columns: 180px minmax(0, 1fr) 30px; gap: 10px; align-items: center; font-size: 13px; }
.kcr-bars i { display: block; height: 6px; background: var(--sand, #EDE6D9); }
.kcr-bars em { display: block; height: 100%; background: #B8860B; }
.kcr-bars b { font-variant-numeric: tabular-nums; text-align: right; }
.kcr-rv { margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line-l, #E6DFD2); }
.kcr-rv p { margin: 6px 0; font-size: 16px; line-height: 1.55; }
.kcr-rv small { color: var(--on-paper-mute, #6B6862); font-size: 12.5px; }
.kcr-reply { margin-top: 8px; padding: 8px 10px; background: var(--paper, #F6F2EA); font-size: 13.5px; }
.kcr-rv .kmtg-staff { margin-top: 8px; font-size: 13.5px; }
.kcr-badge { font-weight: 800; color: #8A5A00; }
.kcr-cnt { color: var(--on-paper-mute, #6B6862); margin-right: 4px; }
.kcr-rates { display: grid; gap: 10px; }
.kcr-rr { display: flow-root; margin: 0; padding: 8px 12px; background: var(--paper, #F6F2EA); border: 1px solid var(--line-l, #E6DFD2); font-size: 14.5px; }
.kcr-rr legend { float: left; padding: 6px 0 0; max-width: 60%; }
.kcr-rr.big { background: #FFF8E8; border-color: #EBD9A8; }
.kcr-pick { float: right; display: inline-flex; flex-direction: row-reverse; }
.kcr-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.kcr-pick label { cursor: pointer; font-size: 26px; line-height: 1; padding: 2px 3px; color: #D9D2C3; }
.kcr-pick input:checked ~ label, .kcr-pick label:hover, .kcr-pick label:hover ~ label { color: #B8860B; }
.kcr-pick input:focus-visible + label { outline: 2px solid var(--teal, #0F6B63); outline-offset: 1px; }
.kcr-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-top: 14px; }
.kcr-kpis > div { border: 1px solid var(--line-l, #E6DFD2); padding: 14px; background: #fff; }
.kcr-kpis b { display: block; font-size: 24px; font-variant-numeric: tabular-nums; }
.kcr-kpis span { font-size: 13px; color: var(--on-paper-mute, #6B6862); }
.kcr-replyf { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.kcr-replyf input[type=text] { flex: 1 1 220px; min-width: 0; }
@media (max-width: 640px) {
	.kcr-grid { grid-template-columns: minmax(0, 1fr); }
	.kcr-bars p { grid-template-columns: 110px minmax(0, 1fr) 28px; }
	.kcr-rr legend { float: none; max-width: none; padding: 0; }
	.kcr-pick { float: none; }
}
