/* Kohal Booking: staff calendar page ([kohal_staff]). Builds on public.css (.kb-book variables). */

/* a wide app inside a narrow theme column */
.kb-book.kb-staff[data-kb-staff] { display: block; box-sizing: border-box; max-width: none; width: min(2200px, calc(100vw - 48px)); margin-top: 0; margin-bottom: 0; } /* staff.js centres it on the screen */
.kb-staff--gate { max-width: 560px; }
.kb-staff .kb-st { width: 100%; min-height: 320px; transition: opacity .2s ease; }
.kb-staff .kb-st.is-loading .kb-sg-wrap, .kb-staff .kb-st.is-loading .kb-sm { opacity: 0; pointer-events: none; }

/* mode switch + add button */
.kb-st-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 16px; }
.kb-st-seg--mode .kb-st-seg__b { padding: 0 20px; }

/* top bar */
.kb-st-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 14px; }
.kb-st-bar__nav { display: flex; align-items: center; gap: 4px; min-width: 0; }
.kb-st-bar__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.kb-staff .kb-st-title { margin: 0 0 0 10px; padding: 0; font-size: 21px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; color: var(--kb-ink); }
.kb-book .kb-st-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: 0; padding: 0; background: var(--kb-soft); color: var(--kb-ink); border: 0; border-radius: 50%; cursor: pointer; transition: background-color .15s ease, transform .1s ease; }
.kb-book .kb-st-iconbtn:hover { background: var(--kb-soft-hover); }
.kb-book .kb-st-iconbtn:active { transform: scale(.94); }
.kb-book .kb-btn--small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.kb-book .kb-btn--danger { background: var(--kb-danger); border-color: var(--kb-danger); color: #fff; }
.kb-book .kb-st-new { padding: 0 16px 0 12px; }
.kb-st-seg { display: inline-flex; padding: 3px; background: var(--kb-soft); border-radius: var(--kb-radius-pill); }
.kb-book .kb-st-seg__b { min-height: 34px; margin: 0; padding: 0 14px; background: none; color: var(--kb-muted); border: 0; border-radius: var(--kb-radius-pill); font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.kb-book .kb-st-seg__b:hover { color: var(--kb-ink); }
.kb-book .kb-st-seg__b.is-on { background: var(--kb-card); color: var(--kb-ink); box-shadow: 0 1px 3px rgba(17, 24, 39, .12); }

.kb-st-sum { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0 0 12px; font-size: 14px; color: var(--kb-muted); }
.kb-st-sum b { color: var(--kb-ink); }

/* day strip (phones) */
.kb-st-strip { display: none; gap: 6px; margin: 0 0 12px; }
.kb-book .kb-st-strip__d { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 0; padding: 8px 0 6px; background: var(--kb-soft); color: var(--kb-muted); border: 0; border-radius: var(--kb-radius-chip); cursor: pointer; }
.kb-st-strip__d small { font-size: 11px; font-weight: 600; }
.kb-st-strip__d b { font-size: 17px; color: var(--kb-ink); }
.kb-st-strip__d i { height: 14px; font-style: normal; font-size: 10px; font-weight: 700; color: var(--kb-on-accent); min-width: 14px; border-radius: 7px; line-height: 14px; }
.kb-st-strip__d i.has { background: var(--kb-accent); }
.kb-book .kb-st-strip__d.is-on { background: var(--kb-accent); color: var(--kb-on-accent); }
.kb-st-strip__d.is-on b { color: var(--kb-on-accent); }
.kb-st-strip__d.is-on i.has { background: var(--kb-on-accent); color: var(--kb-accent); }
.kb-st-strip__d.is-today:not(.is-on) b { text-decoration: underline; text-underline-offset: 3px; }

/* time grid */
.kb-sg-wrap { }
.kb-sg { background: var(--kb-card); border: 1px solid var(--kb-line); border-radius: var(--kb-radius); overflow: clip; }
.kb-sg__head, .kb-sg__body { display: grid; grid-template-columns: 52px repeat(var(--cols), minmax(0, 1fr)); }
.kb-sg__head { position: sticky; top: 0; z-index: 4; background: var(--kb-card); border-bottom: 1px solid var(--kb-line); }
body.admin-bar .kb-sg__head { top: 32px; }
.kb-book .kb-sg__dayname { display: flex; flex-direction: column; align-items: center; gap: 1px; margin: 0; padding: 10px 4px 8px; background: none; color: var(--kb-muted); border: 0; border-left: 1px solid var(--kb-line); border-radius: 0; cursor: pointer; font: inherit; }
.kb-book .kb-sg__dayname:hover:not(:disabled) { background: var(--kb-soft); }
.kb-book .kb-sg__dayname:disabled { cursor: default; }
.kb-sg__dn { font-size: 12px; font-weight: 600; }
.kb-sg__dayname b { font-size: 20px; line-height: 1.2; color: var(--kb-ink); }
.kb-sg__dayname em { font-style: normal; font-size: 11px; color: var(--kb-muted); }
.kb-sg__dayname.is-off em { opacity: .7; }
.kb-sg__dayname.is-today b { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; border-radius: 50%; background: var(--kb-accent); color: var(--kb-on-accent); }
.kb-sg__corner { }
.kb-sg__body { padding-top: 0; }
.kb-sg__times span:first-child { transform: translateY(3px); }
.kb-sg__times { position: relative; height: calc(var(--rows) * var(--hh)); }
.kb-sg__times span { position: absolute; right: 8px; transform: translateY(-50%); font-size: 11px; color: var(--kb-muted); font-variant-numeric: tabular-nums; }
.kb-sg__col { position: relative; height: calc(var(--rows) * var(--hh)); border-left: 1px solid var(--kb-line); cursor: pointer; touch-action: pan-y;
	background-image: repeating-linear-gradient(to bottom, color-mix(in srgb, var(--kb-ink) 32%, var(--kb-line)) 0, color-mix(in srgb, var(--kb-ink) 32%, var(--kb-line)) 1px, transparent 1px, transparent var(--hh)), repeating-linear-gradient(to bottom, color-mix(in srgb, var(--kb-ink) 15%, var(--kb-line)) 0, color-mix(in srgb, var(--kb-ink) 15%, var(--kb-line)) 1px, transparent 1px, transparent var(--ss, var(--hh))); user-select: none; -webkit-user-select: none; }
.kb-sg__col:hover { background-color: color-mix(in srgb, var(--kb-accent) 3%, transparent); }
.kb-sg__closed { position: absolute; left: 0; right: 0; background: color-mix(in srgb, var(--kb-ink) 5%, transparent); pointer-events: none; }
.kb-sg__sel { position: absolute; left: 3px; right: 3px; z-index: 3; padding: 4px 8px; border-radius: 8px; background: color-mix(in srgb, var(--kb-accent) 18%, transparent); border: 2px solid var(--kb-accent); color: var(--kb-ink); font-size: 12px; font-weight: 700; pointer-events: none; }
.kb-sg__now { position: absolute; left: 0; right: 0; z-index: 3; height: 2px; margin-top: -1px; background: #e5484d; pointer-events: none; }
.kb-sg__now::before { content: ""; position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: #e5484d; }

.kb-book .kb-sg__ev { position: absolute; left: 3px; right: 3px; z-index: 2; display: block; margin: 0; padding: 4px 8px; overflow: hidden; text-align: left; font: inherit; font-size: 12px; line-height: 1.3; color: var(--kb-ink); cursor: pointer;
	background: color-mix(in srgb, var(--c) 8%, var(--kb-card)); border: 1px solid color-mix(in srgb, var(--c) 22%, var(--kb-card)); border-left: 4px solid var(--c); border-radius: 8px; box-shadow: 0 1px 2px rgba(17, 24, 39, .08); transition: box-shadow .15s ease, transform .1s ease; }
.kb-book .kb-sg__ev:hover { box-shadow: 0 4px 12px rgba(17, 24, 39, .16); z-index: 3; }
.kb-book .kb-sg__ev:active { transform: scale(.985); }
.kb-sg__ev b { display: block; font-size: 12px; font-variant-numeric: tabular-nums; }
.kb-sg__svc, .kb-sg__cl { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kb-sg__cl { color: var(--kb-muted); }
.kb-sg__ev.is-short { display: flex; align-items: center; gap: 6px; padding-top: 0; padding-bottom: 0; }
.kb-sg__ev.is-short b { flex: none; }
.kb-sg__ev.is-short .kb-sg__svc { display: none; }
.kb-book .kb-sg__ev--pending { border-style: dashed; border-left-style: solid; background: color-mix(in srgb, #f5a524 12%, var(--kb-card)); }
.kb-book .kb-sg__ev--completed { opacity: .6; }
.kb-book .kb-sg__off { position: absolute; left: 3px; right: 3px; z-index: 1; display: block; margin: 0; padding: 4px 8px; overflow: hidden; text-align: left; font: inherit; font-size: 12px; color: var(--kb-muted); cursor: pointer;
	background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--kb-ink) 8%, transparent) 0 6px, transparent 6px 12px); border: 1px dashed var(--kb-line-strong); border-radius: 8px; }
.kb-sg__off span { font-weight: 700; }
.kb-sg__off em { display: block; font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* month */
.kb-sm { background: var(--kb-card); border: 1px solid var(--kb-line); border-radius: var(--kb-radius); overflow: clip; }
.kb-sm__head, .kb-sm__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.kb-sm__head span { padding: 10px 0; text-align: center; font-size: 12px; font-weight: 600; color: var(--kb-muted); border-bottom: 1px solid var(--kb-line); }
.kb-book .kb-sm__day { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-height: 96px; margin: 0; padding: 8px 10px; text-align: left; background: var(--kb-card); color: var(--kb-ink); border: 0; border-top: 1px solid var(--kb-line); border-left: 1px solid var(--kb-line); border-radius: 0; cursor: pointer; font: inherit; transition: background-color .15s ease; }
.kb-sm__grid .kb-sm__day:nth-child(-n+7) { border-top: 0; }
.kb-sm__grid .kb-sm__day:nth-child(7n+1) { border-left: 0; }
.kb-book .kb-sm__day:hover { background: var(--kb-soft); }
.kb-sm__day b { font-size: 14px; }
.kb-sm__day.is-out { color: var(--kb-muted); }
.kb-sm__day.is-out b { opacity: .5; }
.kb-sm__day.is-off { background: color-mix(in srgb, var(--kb-ink) 4%, var(--kb-card)); }
.kb-sm__day.is-today b { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; margin: -3px 0 0 -5px; padding: 0 6px; border-radius: 13px; background: var(--kb-accent); color: var(--kb-on-accent); }
.kb-sm__n { font-size: 12px; font-weight: 700; color: var(--kb-ink); background: color-mix(in srgb, var(--kb-accent) 10%, transparent); padding: 2px 8px; border-radius: 999px; }
.kb-sm__h { font-size: 12px; color: var(--kb-muted); }
.kb-sm__dot { display: none; }

/* list */
.kb-sl { display: grid; gap: 8px; }
.kb-sl__day { margin: 18px 0 2px; font-size: 14px; font-weight: 700; color: var(--kb-muted); }
.kb-sl__day:first-child { margin-top: 0; }
.kb-sl__day.is-today { color: var(--kb-ink); }
.kb-book .kb-sl__item { display: flex; align-items: center; gap: 14px; width: 100%; margin: 0; padding: 12px 14px; text-align: left; font: inherit; color: var(--kb-text); background: var(--kb-card); border: 1px solid var(--kb-line); border-left: 4px solid var(--c, var(--kb-line-strong)); border-radius: var(--kb-radius-chip); cursor: pointer; transition: box-shadow .15s ease, transform .1s ease; }
.kb-book .kb-sl__item:hover { box-shadow: 0 4px 14px rgba(17, 24, 39, .1); }
.kb-book .kb-sl__item:active { transform: scale(.995); }
.kb-sl__t { flex: none; width: 150px; display: flex; flex-direction: column; font-variant-numeric: tabular-nums; }
.kb-sl__t b { color: var(--kb-ink); }
.kb-sl__t span { color: var(--kb-muted); font-size: 14px; }
.kb-sl__today { margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--kb-accent); color: var(--kb-on-accent); font-size: 11px; font-style: normal; font-weight: 700; vertical-align: 1px; }
.kb-sl-panel { transition: opacity .2s ease; }
.kb-sl-panel.is-loading { opacity: .55; }
.kb-sl-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 14px; }
.kb-sl-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.kb-book .kb-sl-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; margin: 0; padding: 0 14px; background: var(--kb-soft); color: var(--kb-muted); border: 0; border-radius: var(--kb-radius-pill); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.kb-book .kb-sl-tab:hover { color: var(--kb-ink); }
.kb-book .kb-sl-tab.is-on { background: var(--kb-accent); color: var(--kb-on-accent); }
.kb-sl-tab__n { min-width: 20px; padding: 0 6px; border-radius: 999px; background: color-mix(in srgb, currentColor 14%, transparent); font-size: 12px; line-height: 20px; text-align: center; }
.kb-sl-tab__n.is-alert { background: #e5484d; color: #fff; }
.kb-sl-search { margin: 0; }
.kb-book .kb-sl-search input { width: 280px; max-width: 100%; min-height: 40px; margin: 0; padding: 0 14px; background: var(--kb-card); color: var(--kb-ink); border: 1px solid var(--kb-field-line); border-radius: var(--kb-radius-pill); font-size: 15px; }
.kb-sl-pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 18px 0 0; color: var(--kb-muted); font-size: 14px; }
.kb-sl__m { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.kb-sl__m b { color: var(--kb-ink); }
.kb-sl__m span { color: var(--kb-muted); font-size: 14px; }
.kb-sl__item--pending { border-style: dashed; border-left-style: solid; }
.kb-sl__item--completed { opacity: .65; }
.kb-sl__item--off { border-style: dashed; background: color-mix(in srgb, var(--kb-ink) 4%, var(--kb-card)); }
.kb-sl__empty { padding: 32px 0; text-align: center; }

/* status badge */
.kb-st-badge { display: inline-block; flex: none; padding: 3px 10px; border-radius: var(--kb-radius-pill); background: var(--kb-soft-hover); color: var(--kb-ink); font-size: 12px; font-weight: 700; line-height: 1.5; }
.kb-st-badge--confirmed { background: #e3f6ea; color: #14633a; }
.kb-st-badge--pending { background: #fff4d6; color: #7a5200; }
.kb-st-badge--cancelled, .kb-st-badge--no_show { background: var(--kb-danger-soft); color: var(--kb-danger); }

/* sheet (booking details, forms) */
html.kb-st-lock { overflow: hidden; scrollbar-gutter: stable; }
.kb-book.kb-sheet { position: fixed; inset: 0; z-index: 100000; max-width: none; width: auto; margin: 0; left: 0; transform: none; display: flex; align-items: flex-end; justify-content: center; pointer-events: none; }
.kb-sheet__back { position: absolute; inset: 0; background: rgba(17, 24, 39, .5); opacity: 0; transition: opacity .2s ease; pointer-events: auto; }
.kb-sheet.is-open .kb-sheet__back { opacity: 1; }
.kb-sheet__box { position: relative; pointer-events: auto; width: 100%; max-width: 520px; max-height: 92vh; overflow: auto; background: var(--kb-card); border-radius: 20px 20px 0 0; box-shadow: 0 -8px 40px rgba(17, 24, 39, .25); transform: translateY(32px); opacity: 0; transition: transform .22s cubic-bezier(.2, .8, .2, 1), opacity .2s ease; outline: 0; overscroll-behavior: contain; }
.kb-sheet.is-open .kb-sheet__box { transform: none; opacity: 1; }
.kb-sheet__head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 18px 20px 12px; background: var(--kb-card); }
.kb-sheet__dot { flex: none; width: 12px; height: 12px; border-radius: 50%; }
.kb-sheet .kb-sheet__title { flex: 1; margin: 0; padding: 0; min-width: 0; font-size: 19px; line-height: 1.25; font-weight: 700; color: var(--kb-ink); }
.kb-book .kb-sheet__x { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin: 0; padding: 0; background: var(--kb-soft); color: var(--kb-ink); border: 0; border-radius: 50%; cursor: pointer; }
.kb-book .kb-sheet__x:hover { background: var(--kb-soft-hover); }
.kb-sheet__body { padding: 4px 20px 22px; }
.kb-sheet .kb-field { margin: 0 0 14px; }
.kb-sheet .kb-field select, .kb-book .kb-field select { display: block; width: 100%; min-height: 48px; margin: 0; padding: 10px 14px; background: var(--kb-card); color: var(--kb-ink); border: 1px solid var(--kb-field-line); border-radius: var(--kb-radius-s); font-size: 16px; }
.kb-sheet .kb-times { margin-bottom: 14px; }
.kb-sheet .kb-chips { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); }
.kb-st-rows { margin: 0 0 16px; padding: 4px 14px; background: var(--kb-soft); border-radius: var(--kb-radius-chip); }
.kb-st-row { display: flex; gap: 12px; padding: 8px 0; border-top: 1px solid var(--kb-line); }
.kb-st-row:first-child { border-top: 0; }
.kb-st-row__k { flex: none; width: 92px; color: var(--kb-muted); font-size: 14px; }
.kb-st-row__v { flex: 1; min-width: 0; color: var(--kb-ink); font-weight: 600; overflow-wrap: anywhere; }
a.kb-st-row__v { text-decoration: underline; text-underline-offset: 2px; }
.kb-st-actions { display: grid; gap: 10px; margin: 0 0 14px; }
.kb-st-actions__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.kb-st-actions__row .kb-btn { flex: 1 1 auto; }
.kb-st-actions__row--minor { gap: 18px; }
.kb-st-ask { margin: 0; font-weight: 700; color: var(--kb-ink); }
.kb-book .kb-st-link { margin: 0; padding: 6px 0; min-height: 36px; background: none; border: 0; color: var(--kb-muted); font: inherit; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.kb-book .kb-st-link:hover { color: var(--kb-ink); }
.kb-book .kb-st-link--danger { color: var(--kb-danger); }
.kb-book .kb-st-big { width: 100%; min-height: 54px; }
.kb-st-check { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 14px; color: var(--kb-text); cursor: pointer; }
.kb-st-notebox { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--kb-line); }
.kb-st-notebox .kb-field textarea { min-height: 76px; }
.kb-st-flash { color: #14633a; font-size: 14px; font-weight: 600; }

.kb-st-toast { position: fixed; left: 50%; bottom: 24px; z-index: 100001; max-width: calc(100vw - 32px); padding: 12px 20px; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; background: #111827; color: #fff; border-radius: 999px; font: 600 14px/1.3 system-ui, sans-serif; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: opacity .2s ease, transform .2s ease; }
.kb-st-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.kb-st-toast.is-bad { background: #b42318; }

@media (min-width: 721px) {
	.kb-book.kb-sheet { align-items: center; }
	.kb-sheet__box { border-radius: 20px; }
}

/* phones */
@media (max-width: 720px) {
	.kb-book.kb-staff[data-kb-staff] { width: calc(100vw - 24px); }
	.kb-st-head { flex-wrap: nowrap; }
	.kb-st-head .kb-st-seg--mode { order: 0; width: auto; flex: 1; }
	.kb-st-bar__nav { width: 100%; }
	.kb-sl-search, .kb-book .kb-sl-search input { width: 100%; }
	.kb-sl-tabs { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 2px; }
	.kb-book .kb-sl-tab { flex: none; }
	.kb-staff .kb-st-title { font-size: 18px; }
	.kb-st-bar__tools { width: 100%; justify-content: space-between; }
	.kb-st-seg { order: 3; width: 100%; }
	.kb-book .kb-st-seg__b { flex: 1; padding: 0 6px; }
	.kb-st-strip { display: flex; }
	.kb-sg-wrap { overflow-x: auto; }
	.kb-sg--week { min-width: 700px; }
	.kb-sg__head, .kb-sg__body { grid-template-columns: 42px repeat(var(--cols), minmax(0, 1fr)); }
	.kb-sg--day .kb-sg__head { display: none; }
	.kb-sm__day { min-height: 58px; align-items: center; padding: 6px 2px; }
	.kb-sm__n, .kb-sm__h { display: none; }
	.kb-sm__dot { display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--kb-accent); }
	.kb-sl__t { width: 96px; }
	.kb-book .kb-sl__item { gap: 10px; padding: 12px; }
	}
@media (prefers-reduced-motion: reduce) {
	.kb-sheet__box, .kb-sheet__back, .kb-st-toast, .kb-staff .kb-st { transition: none; }
}
.kb-sheet .kb-hint { margin: 0 0 10px; }

/* dark look */
.kb-st-head__tools { display: flex; align-items: center; gap: 8px; }
/* the dark panel is drawn outside the app (spread shadow), so it takes no room: nothing moves when the look changes */
.kb-book.kb-staff[data-kb-staff][data-kb-scheme="dark"] { --kb-panel: color-mix(in srgb, var(--kb-card) 65%, #000); background: var(--kb-panel); border-radius: 4px; box-shadow: 0 0 0 16px var(--kb-panel); }
.kb-book[data-kb-scheme="dark"] .kb-st-badge--confirmed { background: #12372a; color: #8ee2b0; }
.kb-book[data-kb-scheme="dark"] .kb-st-badge--pending { background: #3d2f0b; color: #f6d27a; }
.kb-book[data-kb-scheme="dark"] .kb-st-flash { color: #8ee2b0; }
.kb-book[data-kb-scheme="dark"] .kb-sg__ev { box-shadow: none; }
.kb-book[data-kb-scheme="dark"] .kb-sheet__back { background: rgba(0, 0, 0, .65); }
@media (max-width: 720px) {
	.kb-book.kb-staff[data-kb-staff][data-kb-scheme="dark"] { box-shadow: 0 0 0 12px var(--kb-panel); }
	.kb-st-head__tools { flex: none; }
}
/* service colours that are near black would vanish on the dark surface */
.kb-book[data-kb-scheme="dark"] .kb-sg__ev, .kb-book[data-kb-scheme="dark"] .kb-sl__item { border-left-color: color-mix(in srgb, var(--c, #888) 55%, #fff); }
.kb-book[data-kb-scheme="dark"] .kb-sheet__dot { box-shadow: 0 0 0 2px rgba(255, 255, 255, .55); }


/* category + service drop-downs */
.kb-sp { display: grid; gap: 14px; margin: 0 0 14px; }
.kb-field .kb-sp { margin-bottom: 0; }
.kb-sp__f { display: grid; gap: 8px; min-width: 0; }
.kb-sp__lbl { font-size: 13px; font-weight: 600; color: var(--kb-ink); }
.kb-dd { position: relative; }
.kb-dd__btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 48px; margin: 0; padding: 0 14px; text-align: left; background: var(--kb-card); color: var(--kb-ink); border: 1px solid var(--kb-line-strong); border-radius: 12px; font-size: 15px; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.kb-dd__btn:hover { background: color-mix(in srgb, var(--kb-ink) 9%, var(--kb-card)); }
.kb-dd__btn:focus-visible { outline: 2px solid var(--kb-accent); outline-offset: 2px; }
.kb-dd__txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kb-dd__chev { flex: none; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); opacity: .6; transition: transform .15s ease; }
.kb-dd.is-open .kb-dd__chev { transform: rotate(-135deg) translateY(-2px); }
.kb-dd__list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; max-height: 280px; overflow: auto; background: var(--kb-card); border: 1px solid var(--kb-line-strong); border-radius: 12px; box-shadow: 0 14px 36px rgba(17, 24, 39, .18); }
.kb-dd__list[hidden] { display: none; }
.kb-dd.is-up .kb-dd__list { top: auto; bottom: calc(100% + 6px); }
.kb-dd__list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 10px 12px; border-radius: 8px; cursor: pointer; font-size: 14px; color: var(--kb-ink); }
.kb-dd__list li:hover, .kb-dd__list li.is-active { background: color-mix(in srgb, var(--kb-ink) 9%, var(--kb-card)); }
.kb-dd__list li.is-on { font-weight: 700; }
.kb-dd__list li.is-on::after { content: ""; flex: none; width: 5px; height: 9px; margin-left: 4px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); order: 3; }
.kb-dd__meta { flex: none; margin-left: auto; font-size: 12px; font-weight: 400; color: var(--kb-muted); font-variant-numeric: tabular-nums; }

/* date field + calendar */
.kb-date { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 48px; margin: 0; padding: 0 14px; text-align: left; background: var(--kb-card); color: var(--kb-ink); border: 1px solid var(--kb-field-line, var(--kb-line-strong)); border-radius: var(--kb-radius-s, 12px); font-size: 16px; cursor: pointer; transition: background-color .15s ease; }
.kb-date:hover { background: color-mix(in srgb, var(--kb-ink) 9%, var(--kb-card)); }
.kb-date:focus-visible { outline: 2px solid var(--kb-accent); outline-offset: 2px; }
.kb-date__ico { flex: none; width: 18px; height: 18px; opacity: .65; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E") center / contain no-repeat; }
.kb-dpick { pointer-events: auto; position: fixed; z-index: 100000; box-sizing: border-box; padding: 14px; background: var(--kb-card); color: var(--kb-ink); border: 1px solid var(--kb-line-strong); border-radius: 16px; box-shadow: 0 18px 44px rgba(0, 0, 0, .28); }
.kb-dpick__head { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; }
.kb-dpick__title { flex: 1; font-size: 15px; font-weight: 700; }
.kb-dpick__nav { position: relative; flex: none; width: 34px; height: 34px; margin: 0; padding: 0; background: transparent; color: var(--kb-ink); border: 0; border-radius: 10px; cursor: pointer; }
.kb-dpick__nav:hover { background: color-mix(in srgb, var(--kb-ink) 9%, var(--kb-card)); }
.kb-dpick__nav::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; }
.kb-dpick__nav.is-prev::before { transform: translate(-30%, -50%) rotate(135deg); }
.kb-dpick__nav.is-next::before { transform: translate(-70%, -50%) rotate(-45deg); }
.kb-dpick__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.kb-dpick__dow { padding: 6px 0; text-align: center; font-size: 12px; font-weight: 600; color: var(--kb-muted); }
.kb-dpick__day { aspect-ratio: 1; min-height: 36px; margin: 0; padding: 0; background: transparent; color: var(--kb-ink); border: 0; border-radius: 10px; font-size: 14px; cursor: pointer; transition: background-color .12s ease; }
.kb-dpick__day:hover { background: color-mix(in srgb, var(--kb-ink) 12%, var(--kb-card)); }
.kb-dpick__day.is-today { box-shadow: inset 0 0 0 1.5px var(--kb-line-strong); font-weight: 700; }
.kb-dpick__day.is-on, .kb-dpick__day.is-on:hover { background: var(--kb-accent); color: var(--kb-on-accent, #fff); font-weight: 700; }
.kb-dpick__foot { display: flex; justify-content: flex-end; margin-top: 8px; }
.kb-dpick__today { margin: 0; padding: 8px 12px; background: transparent; color: var(--kb-ink); border: 0; border-radius: 10px; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.kb-dpick__today:hover { background: color-mix(in srgb, var(--kb-ink) 9%, var(--kb-card)); }

.kb-dd__list.kb-sug { top: calc(100% + 4px); max-height: 240px; }

.kb-newc { margin: 6px 0 0; font-size: 13px; }
.kb-newc.is-new { color: var(--kb-accent); font-weight: 600; }
.kb-newc.is-known { color: var(--kb-muted); }

.kb-newc { margin: 12px 0 0; padding-left: 2px; line-height: 1.4; }
.kb-sheet .kb-hint.kb-newc, .kb-admin .kb-field .kb-hint.kb-newc { margin: 12px 0 4px; padding-left: 2px; }

.kb-sheet label.kb-newc { margin: 12px 0 4px; }
label.kb-newc[hidden] { display: none; }

.kb-book label.kb-newc { display: flex; align-items: center; gap: 10px; margin: 12px 0 4px; padding: 10px 12px; font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--kb-ink); background: color-mix(in srgb, var(--kb-ink) 6%, transparent); border-radius: 10px; cursor: pointer; text-align: left; }
.kb-book label.kb-newc span { flex: 1; min-width: 0; text-align: left; }


@keyframes kb-note-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
label.kb-newc:not([hidden]) { animation: kb-note-in .55s cubic-bezier(.22,.8,.3,1) both; }
@media (prefers-reduced-motion: reduce) { label.kb-newc:not([hidden]) { animation: none; } }

label.kb-newc:not([hidden]) { animation: kb-note-in 1.1s cubic-bezier(.16,.8,.3,1) both; }
@keyframes kb-note-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }



/* drawn checkbox */
.kb-book input[type=checkbox] { -webkit-appearance: none; appearance: none; position: relative; flex: 0 0 20px; width: 20px; min-width: 20px; height: 20px; min-height: 0; margin: 0; padding: 0; background: transparent; border: 2px solid var(--kb-muted); border-radius: 6px; box-shadow: none; outline: 0; cursor: pointer; transition: background-color .45s ease, border-color .45s ease; -webkit-tap-highlight-color: transparent; }
.kb-book input[type=checkbox]::before { content: ""; position: absolute; inset: 0; width: auto; height: auto; margin: 0; border: 0; transform: none; float: none; background: var(--kb-on-accent, #fff); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 100% 100% no-repeat; clip-path: inset(0 100% 0 0); transition: clip-path .1s ease; }
.kb-book input[type=checkbox]:checked { background-color: var(--kb-accent); border-color: var(--kb-accent); }
.kb-book input[type=checkbox]:checked::before { clip-path: inset(0 0 0 0); transition: clip-path .6s cubic-bezier(.5,.1,.3,1) .12s; }
.kb-book input[type=checkbox]:focus { outline: 0; box-shadow: none; }
.kb-book input[type=checkbox]:focus-visible { outline: 2px solid var(--kb-accent); outline-offset: 2px; }

/* soft open: dropdown lists + date picker */
@keyframes kb-menu-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes kb-menu-in-up { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes kb-item-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.kb-dd__list:not([hidden]) { animation: kb-menu-in .5s cubic-bezier(.16,.8,.3,1) both; }
.kb-dd.is-up .kb-dd__list:not([hidden]) { animation-name: kb-menu-in-up; }
.kb-dd__list:not([hidden]) li { animation: kb-item-in .55s cubic-bezier(.16,.8,.3,1) both; }
.kb-dd__list li:nth-child(1) { animation-delay: .04s !important; } .kb-dd__list li:nth-child(2) { animation-delay: .08s !important; }
.kb-dd__list li:nth-child(3) { animation-delay: .12s !important; } .kb-dd__list li:nth-child(4) { animation-delay: .16s !important; }
.kb-dd__list li:nth-child(5) { animation-delay: .2s !important; } .kb-dd__list li:nth-child(6) { animation-delay: .24s !important; }
.kb-dd__list li:nth-child(7) { animation-delay: .28s !important; } .kb-dd__list li:nth-child(n+8) { animation-delay: .32s !important; }
.kb-dd__chev { transition: transform .4s cubic-bezier(.16,.8,.3,1); }
.kb-dpick { animation: kb-menu-in .55s cubic-bezier(.16,.8,.3,1) both; }
.kb-dpick__day { animation: kb-item-in .6s cubic-bezier(.16,.8,.3,1) both; }
.kb-dpick__day:nth-child(7n+1) { animation-delay: .05s; } .kb-dpick__day:nth-child(7n+2) { animation-delay: .09s; }
.kb-dpick__day:nth-child(7n+3) { animation-delay: .13s; } .kb-dpick__day:nth-child(7n+4) { animation-delay: .17s; }
.kb-dpick__day:nth-child(7n+5) { animation-delay: .21s; } .kb-dpick__day:nth-child(7n+6) { animation-delay: .25s; }
.kb-dpick__day:nth-child(7n) { animation-delay: .29s; }
@media (prefers-reduced-motion: reduce) { .kb-dd__list, .kb-dd__list li, .kb-dpick, .kb-dpick__day { animation: none !important; } }

@keyframes kb-menu-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-8px) scale(.98); } }
@keyframes kb-menu-out-up { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(8px) scale(.98); } }
.kb-dd__list.is-closing, .kb-dpick.is-closing, .kb-pop.is-closing { animation: kb-menu-out .3s ease both !important; pointer-events: none; }
.kb-dd.is-up .kb-dd__list.is-closing { animation-name: kb-menu-out-up !important; }
.kb-dd__list.is-closing li, .kb-dpick.is-closing .kb-dpick__day { animation: none !important; opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .kb-dd__list.is-closing, .kb-dpick.is-closing, .kb-pop.is-closing { animation: none !important; } }

.kb-st-seg { position: relative; }
.kb-st-seg__thumb { position: absolute; top: 3px; bottom: 3px; left: 0; width: 0; background: var(--kb-card); border-radius: var(--kb-radius-pill); box-shadow: 0 1px 3px rgba(17, 24, 39, .12); transition: transform .45s cubic-bezier(.4, 0, .2, 1), width .45s cubic-bezier(.4, 0, .2, 1); pointer-events: none; }
.kb-book .kb-st-seg__b { position: relative; z-index: 1; }
.kb-book .kb-st-seg__b.is-on { background: transparent; box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .kb-st-seg__thumb { transition: none !important; } }

.kb-sl-tabs { position: relative; }
.kb-sl-tabs .kb-st-seg__thumb { background: var(--kb-accent); box-shadow: none; top: 0; bottom: auto; }
.kb-book .kb-sl-tab { position: relative; z-index: 1; }
.kb-book .kb-sl-tab.is-on { background: transparent; }
.kb-sl__item.kb-in { animation: kb-item-in .7s cubic-bezier(.16,.8,.3,1) both; }
@media (prefers-reduced-motion: reduce) { .kb-sl__item.kb-in { animation: none; } }

.kb-sl-tabs .kb-st-seg__thumb { display: none; }
.kb-book .kb-sl-tab { transition: background-color .35s ease, color .35s ease; }
.kb-book .kb-sl-tab.is-on { background: var(--kb-accent); color: var(--kb-on-accent); }

/* calendar entrance */
@keyframes kb-unfold { from { clip-path: inset(0 0 100% 0); opacity: .4; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
@keyframes kb-ev-in { from { opacity: 0; transform: translateY(-6px) scale(.96); } to { opacity: 1; transform: none; } }
.kb-enter .kb-sg__dayname, .kb-enter .kb-sg__times { animation: kb-item-in .8s cubic-bezier(.16,.8,.3,1) both; }
.kb-enter .kb-sg__col { animation: kb-unfold 1.1s cubic-bezier(.3,.7,.2,1) both; }
.kb-enter .kb-sg__ev, .kb-enter .kb-sg__off { animation: kb-ev-in .8s cubic-bezier(.16,.8,.3,1) both; }
.kb-enter .kb-sm { animation: kb-lay-in .45s cubic-bezier(.2,.7,.3,1) both; } /* the month appears as one piece, no cell-by-cell flicker */
.kb-enter .kb-sg__head > :nth-child(2), .kb-enter .kb-sg__body > :nth-child(2) { animation-delay: .05s; }
.kb-enter .kb-sg__head > :nth-child(3), .kb-enter .kb-sg__body > :nth-child(3) { animation-delay: .12s; }
.kb-enter .kb-sg__head > :nth-child(4), .kb-enter .kb-sg__body > :nth-child(4) { animation-delay: .19s; }
.kb-enter .kb-sg__head > :nth-child(5), .kb-enter .kb-sg__body > :nth-child(5) { animation-delay: .26s; }
.kb-enter .kb-sg__head > :nth-child(6), .kb-enter .kb-sg__body > :nth-child(6) { animation-delay: .33s; }
.kb-enter .kb-sg__head > :nth-child(7), .kb-enter .kb-sg__body > :nth-child(7) { animation-delay: .4s; }
.kb-enter .kb-sg__head > :nth-child(8), .kb-enter .kb-sg__body > :nth-child(8) { animation-delay: .47s; }
.kb-enter .kb-sg__body > :nth-child(2) .kb-sg__ev, .kb-enter .kb-sg__body > :nth-child(2) .kb-sg__off { animation-delay: .75s; }
.kb-enter .kb-sg__body > :nth-child(3) .kb-sg__ev, .kb-enter .kb-sg__body > :nth-child(3) .kb-sg__off { animation-delay: .82s; }
.kb-enter .kb-sg__body > :nth-child(4) .kb-sg__ev, .kb-enter .kb-sg__body > :nth-child(4) .kb-sg__off { animation-delay: .89s; }
.kb-enter .kb-sg__body > :nth-child(5) .kb-sg__ev, .kb-enter .kb-sg__body > :nth-child(5) .kb-sg__off { animation-delay: .96s; }
.kb-enter .kb-sg__body > :nth-child(6) .kb-sg__ev, .kb-enter .kb-sg__body > :nth-child(6) .kb-sg__off { animation-delay: 1.03s; }
.kb-enter .kb-sg__body > :nth-child(7) .kb-sg__ev, .kb-enter .kb-sg__body > :nth-child(7) .kb-sg__off { animation-delay: 1.1s; }
.kb-enter .kb-sg__body > :nth-child(8) .kb-sg__ev, .kb-enter .kb-sg__body > :nth-child(8) .kb-sg__off { animation-delay: 1.17s; }
@media (prefers-reduced-motion: reduce) { .kb-enter * { animation: none !important; } }

/* top bar entrance */
.kb-enter-top .kb-st-head > *, .kb-enter-top .kb-st-bar__nav > *, .kb-enter-top .kb-st-bar__tools > *, .kb-enter-top .kb-st-sum > * { animation: kb-item-in .9s cubic-bezier(.16,.8,.3,1) both; }
.kb-enter-top .kb-st-head > :nth-child(2) { animation-delay: .1s; }
.kb-enter-top .kb-st-head > :nth-child(3) { animation-delay: .2s; }
.kb-enter-top .kb-st-bar__nav > :nth-child(1), .kb-enter-top .kb-st-bar__tools > :nth-child(1), .kb-enter-top .kb-st-sum > :nth-child(1) { animation-delay: .1s; }
.kb-enter-top .kb-st-bar__nav > :nth-child(2), .kb-enter-top .kb-st-bar__tools > :nth-child(2), .kb-enter-top .kb-st-sum > :nth-child(2) { animation-delay: .18s; }
.kb-enter-top .kb-st-bar__nav > :nth-child(3) { animation-delay: .26s; }

.kb-sg__dayname b { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; font-size: 20px; font-weight: 600; line-height: 1; border-radius: 50%; }
.kb-sg__dayname.is-today b { font-size: 20px; font-weight: 600; }

/* booking cards in the calendar: status-tinted, soft */
.kb-book .kb-sg__ev { --ev-bg: #e9f6ef; --ev-bar: #34a874; --ev-fg: #14633a; padding: 6px 10px 6px 11px; background: var(--ev-bg); border: 0; border-left: 0; border-radius: 10px; box-shadow: inset 3px 0 0 var(--ev-bar); color: var(--kb-ink); transition: box-shadow .2s ease, transform .15s ease, filter .2s ease; }
.kb-book .kb-sg__ev--pending { --ev-bg: #fdf3dc; --ev-bar: #eba51b; --ev-fg: #8a5a00; border-style: none; }
.kb-book .kb-sg__ev--completed { --ev-bg: #eceff3; --ev-bar: #a3acb8; --ev-fg: #5b6573; opacity: .8; }
.kb-book .kb-sg__ev--no_show, .kb-book .kb-sg__ev--cancelled { --ev-bg: #fdeceb; --ev-bar: #d9534f; --ev-fg: #a12622; }
.kb-book .kb-sg__ev:hover { box-shadow: inset 3px 0 0 var(--ev-bar), 0 6px 16px rgba(17, 24, 39, .14); filter: brightness(.98); }
.kb-sg__ev b { color: var(--ev-fg); font-size: 12px; font-weight: 700; letter-spacing: .01em; }
.kb-sg__ev .kb-sg__svc { color: var(--kb-ink); font-size: 13px; font-weight: 600; }
.kb-sg__ev .kb-sg__cl { font-size: 12px; opacity: .85; }
.kb-book[data-kb-scheme="dark"] .kb-sg__ev { --ev-bg: #173a2d; --ev-bar: #43c48b; --ev-fg: #92e5b5; box-shadow: inset 3px 0 0 var(--ev-bar); border: 0; }
.kb-book[data-kb-scheme="dark"] .kb-sg__ev--pending { --ev-bg: #3b3012; --ev-bar: #f2b53a; --ev-fg: #f7d983; }
.kb-book[data-kb-scheme="dark"] .kb-sg__ev--completed { --ev-bg: #272b33; --ev-bar: #6f7886; --ev-fg: #a8b0bd; }
.kb-book[data-kb-scheme="dark"] .kb-sg__ev--no_show, .kb-book[data-kb-scheme="dark"] .kb-sg__ev--cancelled { --ev-bg: #3d1e1f; --ev-bar: #ef6f69; --ev-fg: #f5a7a3; }
.kb-book[data-kb-scheme="dark"] .kb-sg__ev:hover { box-shadow: inset 3px 0 0 var(--ev-bar), 0 6px 16px rgba(0, 0, 0, .45); filter: brightness(1.12); }
.kb-book[data-kb-scheme="dark"] .kb-sg__ev .kb-sg__cl { color: var(--kb-muted); }

/* original colours back (booking colour + pending amber); dark cards a little lighter */
.kb-book .kb-sg__ev, .kb-book .kb-sg__ev--confirmed, .kb-book .kb-sg__ev--completed, .kb-book .kb-sg__ev--no_show, .kb-book .kb-sg__ev--cancelled { --ev-bg: color-mix(in srgb, var(--c) 8%, var(--kb-card)); --ev-bar: var(--c); --ev-fg: var(--kb-ink); }
.kb-book .kb-sg__ev--pending { --ev-bg: color-mix(in srgb, #f5a524 12%, var(--kb-card)); --ev-bar: var(--c); --ev-fg: var(--kb-ink); }
.kb-book .kb-sg__ev--completed { opacity: .6; }
.kb-book[data-kb-scheme="dark"] .kb-sg__ev, .kb-book[data-kb-scheme="dark"] .kb-sg__ev--confirmed, .kb-book[data-kb-scheme="dark"] .kb-sg__ev--completed, .kb-book[data-kb-scheme="dark"] .kb-sg__ev--no_show, .kb-book[data-kb-scheme="dark"] .kb-sg__ev--cancelled { --ev-bg: color-mix(in srgb, #fff 12%, color-mix(in srgb, var(--c, #888) 8%, var(--kb-card))); --ev-bar: color-mix(in srgb, var(--c, #888) 55%, #fff); --ev-fg: var(--kb-ink); }
.kb-book[data-kb-scheme="dark"] .kb-sg__ev--pending { --ev-bg: color-mix(in srgb, #fff 8%, color-mix(in srgb, #f5a524 14%, var(--kb-card))); --ev-bar: color-mix(in srgb, var(--c, #888) 55%, #fff); --ev-fg: var(--kb-ink); }
.kb-sg__ev b { color: var(--kb-ink); }

/* ---------- services on the side (drag into the calendar) ---------- */
.kb-st-lay { display: block; }
.kb-st-side { display: none; }
.kb-book .kb-st-side__new { width: 100%; margin: 0 0 12px; justify-content: center; }
@media (min-width: 1000px) {
	.kb-st-lay.has-side { display: grid; grid-template-columns: minmax(0, 1fr) 236px; gap: 18px; align-items: start; }
	.kb-st-side { display: block; position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; padding: 14px 10px; background: var(--kb-card); border: 1px solid var(--kb-line); border-radius: 16px; }
}
.kb-st-side__head { display: flex; flex-direction: column; gap: 3px; margin: 0 2px 12px; }
.kb-st-side__head b { font-size: 15px; color: var(--kb-ink); }
.kb-st-side__head span { font-size: 12.5px; line-height: 1.35; color: var(--kb-muted); }
.kb-svcg { margin: 0 0 4px; border-radius: 10px; }
.kb-book .kb-svcg__h { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 36px; margin: 0; padding: 0 8px; border: 0; border-radius: 9px; background: transparent; color: var(--kb-ink); font: inherit; font-size: 13px; font-weight: 650; text-align: left; cursor: pointer; transition: background-color .2s ease; }
.kb-book .kb-svcg__h:hover { background: var(--kb-soft); }
.kb-svcg__chev { flex: none; width: 7px; height: 7px; margin: 0 3px 0 2px; border: solid currentColor; border-width: 0 2px 2px 0; opacity: .55; transform: rotate(-45deg); transition: transform .35s cubic-bezier(.16,.8,.3,1); }
.kb-svcg.is-open .kb-svcg__chev { transform: rotate(45deg); }
.kb-svcg__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kb-svcg__n { flex: none; min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--kb-soft); color: var(--kb-muted); font-size: 11px; font-style: normal; font-weight: 700; line-height: 19px; text-align: center; }
.kb-svcg__fold { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.22,.75,.25,1); }
.kb-svcg.is-open .kb-svcg__fold { grid-template-rows: 1fr; }
.kb-svcg__in { min-height: 0; overflow: hidden; padding: 0 0 0 4px; opacity: 0; transition: opacity .3s ease; }
.kb-svcg.is-open .kb-svcg__in { opacity: 1; padding-top: 4px; transition: opacity .4s ease .08s; }
@media (prefers-reduced-motion: reduce) { .kb-svcg__fold, .kb-svcg__in, .kb-svcg__chev { transition: none; } }
.kb-svcdrag { position: relative; display: flex; flex-direction: column; gap: 0; margin: 0 0 5px; padding: 7px 10px 7px 12px; border: 1px solid color-mix(in srgb, var(--c) 22%, var(--kb-card)); border-left: 4px solid var(--c); border-radius: 10px; background: color-mix(in srgb, var(--c) 8%, var(--kb-card)); color: var(--kb-ink); cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; transition: transform .25s cubic-bezier(.22,.75,.25,1), box-shadow .25s ease, opacity .25s ease; animation: kb-item-in .7s cubic-bezier(.16,.8,.3,1) both; animation-delay: calc(var(--n, 0) * 45ms); }
.kb-svcdrag b { font-size: 13px; font-weight: 650; line-height: 1.25; }
.kb-svcdrag span { font-size: 11.5px; color: var(--kb-muted); }
.kb-svcdrag:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(17, 24, 39, .14); }
.kb-svcdrag:focus-visible { outline: 3px solid color-mix(in srgb, var(--kb-accent) 45%, transparent); outline-offset: 2px; }
.kb-svcdrag.is-lifted { opacity: .45; transform: scale(.97); box-shadow: none; cursor: grabbing; }
body.kb-dragging, body.kb-dragging * { cursor: grabbing !important; user-select: none !important; -webkit-user-select: none !important; }
.kb-drag-ghost { position: fixed; left: 0; top: 0; z-index: 100002; pointer-events: none; display: flex; flex-direction: column; gap: 1px; max-width: 220px; padding: 9px 14px 9px 14px; border: 1px solid color-mix(in srgb, var(--c) 40%, var(--kb-card)); border-left: 4px solid var(--c); border-radius: 10px; background: var(--kb-card); color: var(--kb-ink); box-shadow: 0 12px 30px rgba(17, 24, 39, .28); font-family: inherit; opacity: .92; will-change: transform; animation: kb-ghost-in .22s cubic-bezier(.22,.75,.25,1) both; }
.kb-drag-ghost.is-on { box-shadow: 0 14px 34px rgba(17, 24, 39, .34), 0 0 0 2px color-mix(in srgb, var(--c) 55%, transparent); }
.kb-drag-ghost b { font-size: 13.5px; font-weight: 650; }
.kb-drag-ghost span { font-size: 12px; color: var(--kb-muted); }
@keyframes kb-ghost-in { from { opacity: 0; scale: .85; } to { opacity: .92; scale: 1; } }
.kb-sg__drop { position: absolute; left: 3px; right: 3px; z-index: 5; display: flex; align-items: flex-start; padding: 5px 8px; border-radius: 8px; border: 2px dashed var(--c); background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--kb-ink); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; pointer-events: none; overflow: hidden; transition: top .08s ease, height .15s ease, background-color .2s ease, border-color .2s ease; animation: kb-ev-in .25s cubic-bezier(.16,.8,.3,1) both; }
.kb-sg__drop.is-clash { border-color: #e5484d; background: color-mix(in srgb, #e5484d 16%, transparent); }
.kb-sm__day.is-drop { background: color-mix(in srgb, var(--kb-accent) 12%, var(--kb-card)); box-shadow: inset 0 0 0 2px var(--kb-accent); }
.kb-sl { position: relative; }
.kb-sl__ins { position: absolute; left: 0; right: 0; height: 3px; border-radius: 3px; background: var(--kb-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--kb-accent) 22%, transparent); pointer-events: none; z-index: 5; transition: top .15s cubic-bezier(.22,.75,.25,1); animation: kb-ins-in .2s ease both; }
@keyframes kb-ins-in { from { opacity: 0; transform: scaleX(.6); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .kb-svcdrag, .kb-drag-ghost, .kb-sg__drop, .kb-sl__ins { animation: none !important; transition: none !important; } }
@media (min-width: 1000px) { .kb-st-lay.has-side ~ * { } .kb-st:has(.kb-st-side) .kb-st-head .kb-st-new { display: none; } }
.kb-book .kb-svcg__h { cursor: grab; }
.kb-svcg { will-change: transform; }
.kb-svcg.is-moving { position: relative; z-index: 3; background: var(--kb-card); border-radius: 12px; box-shadow: 0 14px 34px rgba(0,0,0,.2); transform-origin: 50% 50%; pointer-events: none; }
.kb-svcg.is-moving .kb-svcg__h { cursor: grabbing; background: var(--kb-soft); }
body.kb-grabbing, body.kb-grabbing * { cursor: grabbing !important; user-select: none !important; }

/* the staff page is a tool, not an article: drop the theme's big page title and its spacing so the calendar starts near the top */
body:has([data-kb-staff]) .wp-block-post-title,
body:has([data-kb-staff]) .entry-title,
body:has([data-kb-staff]) .page-title { display: none !important; }
body:has([data-kb-staff]) .wp-block-group:has(> .wp-block-post-title:only-child) { display: none !important; }
body:has([data-kb-staff]) .wp-site-blocks > main { margin-top: 24px !important; }
body:has([data-kb-staff]) .wp-site-blocks > main > .wp-block-group { padding-top: 0 !important; }
body:has([data-kb-staff]) .entry-header { display: none !important; }

/* whole-page dark mode: colours come from the app itself (set by staff.js) so they always match the theme settings */
html[data-kb-page="dark"] { background: var(--kb-page-bg); color-scheme: dark; }
html[data-kb-page="dark"] body, html[data-kb-page="dark"] .wp-site-blocks, html[data-kb-page="dark"] .wp-site-blocks > *, html[data-kb-page="dark"] #page, html[data-kb-page="dark"] #content, html[data-kb-page="dark"] .site-header, html[data-kb-page="dark"] .site-footer { background-color: var(--kb-page-bg) !important; color: var(--kb-page-ink); }
html[data-kb-page="dark"] body :where(a, h1, h2, h3, h4, p, li, span, label, .wp-block-site-title):not(.kb-book *) { color: var(--kb-page-ink); }
html[data-kb-page="dark"] .kb-book.kb-staff[data-kb-staff][data-kb-scheme="dark"] { box-shadow: none; background: transparent; }
html[data-kb-page="dark"] #wpadminbar { filter: none; }
/* selected colour (Theme page) */
.kb-book .kb-sl-tab.is-on, .kb-book .kb-st-strip__d.is-on { background: var(--kb-sel, var(--kb-accent)); color: var(--kb-on-sel, var(--kb-on-accent)); }

/* time list (block time) */
.kb-time .kb-dd__list { max-height: 220px; }
@media (any-pointer: fine) { .kb-sheet .kb-date, .kb-sheet .kb-dd__btn { min-height: 40px; font-size: 14px; } }

.kb-sg.kb-nogrid .kb-sg__col { background-image: repeating-linear-gradient(to bottom, color-mix(in srgb, var(--kb-ink) 32%, var(--kb-line)) 0, color-mix(in srgb, var(--kb-ink) 32%, var(--kb-line)) 1px, transparent 1px, transparent var(--hh)); }
/* gear + settings face of the side box */
.kb-st-gear { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; margin: 0; padding: 0; background: var(--kb-soft); color: var(--kb-ink); border: 0; border-radius: 50%; cursor: pointer; transition: background-color .15s ease, transform .5s cubic-bezier(.16,.8,.3,1); }
.kb-st-gear.has-side { display: inline-flex; }
@media (max-width: 999px) { .kb-st-gear.has-side { display: none; } }
.kb-st-gear:hover { background: color-mix(in srgb, var(--kb-ink) 12%, var(--kb-soft)); }
.kb-st-gear[aria-pressed="true"] { background: var(--kb-accent); color: var(--kb-on-accent, #fff); transform: rotate(60deg); }
.kb-st-side { transition: transform .2s ease-in, opacity .2s ease; }
.kb-st-side.is-flip-out { transform: perspective(900px) rotateY(90deg); opacity: .4; }
.kb-st-side.is-flip-in { transform: perspective(900px) rotateY(-90deg); opacity: .4; transition: none; }
.kb-st-side:not(.is-flip-in):not(.is-flip-out) { transition: transform .26s ease-out, opacity .26s ease-out; }
.kb-st-set__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 10px 6px; border-top: 1px solid var(--kb-line); }
.kb-st-set__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kb-st-set__txt b { font-size: 14px; }
.kb-st-set__txt span { font-size: 12px; color: var(--kb-muted); }
.kb-st-switch { position: relative; flex: none; width: 40px; height: 22px; margin: 0; padding: 0; background: var(--kb-line-strong); border: 0; border-radius: 999px; cursor: pointer; transition: background-color .2s ease; }
.kb-st-switch i { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--kb-card); transition: transform .2s ease; }
.kb-st-switch[aria-checked="true"] { background: var(--kb-accent); }
.kb-st-switch[aria-checked="true"] i { transform: translateX(18px); background: var(--kb-on-accent, #fff); }
@media (prefers-reduced-motion: reduce) { .kb-st-side, .kb-st-gear { transition: none !important; } }

.kb-sl-tools__r { display: flex; align-items: center; gap: 8px; margin-left: auto; }
@media (max-width: 720px) { .kb-sl-tools__r { width: 100%; justify-content: space-between; } }

/* Calendar <-> List */
.kb-st-lay { transition: opacity .12s ease-in, transform .12s ease-in; will-change: opacity; }
.kb-st-lay.is-leaving { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.kb-st-lay.kb-lay-in { animation: kb-lay-in .38s cubic-bezier(.2,.7,.3,1) both; }
@keyframes kb-lay-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .kb-st-lay, .kb-st-lay.kb-lay-in { transition: none; animation: none; } }

/* Totals strip: booked / worked hours, revenue, earned */
.kb-st-sum[hidden], .kb-sl-stats[hidden] { display: none; }
.kb-st-sum { gap: 4px 22px; }
.kb-sl-stats { margin: 0; }
.kb-sl-stats .kb-st-sum { margin: 0; }
.kb-sl-stats__nav { display: flex; align-items: center; gap: 8px; min-width: 0; }
.kb-sl-stats__t { min-width: 0; font-size: 14px; color: var(--kb-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kb-sl-stats .kb-st-seg { flex: none; }

/* Settings: statistics checklist */
.kb-st-set__row--col { flex-direction: column; align-items: stretch; gap: 8px; }
.kb-st-set__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.kb-st-chk__btn { display: inline-flex; align-items: center; gap: 8px; flex: none; height: 30px; padding: 0 10px; font: 500 13px/1 inherit; color: var(--kb-ink); background: var(--kb-soft); border: 1px solid var(--kb-line-strong); border-radius: 9px; cursor: pointer; }
.kb-st-chk__btn:hover { border-color: var(--kb-muted); }
.kb-st-chk__chev { width: 6px; height: 6px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); transition: transform .2s ease; opacity: .6; }
.is-open .kb-st-chk__chev { transform: rotate(-135deg) translateY(-1px); }
.kb-st-chk__menu { display: flex; flex-direction: column; gap: 2px; padding: 4px; background: var(--kb-soft); border-radius: 10px; }
.kb-st-chk__menu[hidden] { display: none; }
.kb-st-chk__i { display: flex; align-items: center; gap: 10px; min-height: 30px; padding: 0 8px; font-size: 13px; color: var(--kb-ink); border-radius: 7px; cursor: pointer; }
.kb-st-chk__i:hover { background: var(--kb-line); }
.kb-st-chk__i input { position: absolute; width: 0; height: 0; margin: 0; opacity: 0; pointer-events: none; }
.kb-st-chk__box { flex: none; position: relative; width: 16px; height: 16px; border: 1.5px solid var(--kb-line-strong); border-radius: 5px; background: var(--kb-card); transition: background-color .15s ease, border-color .15s ease; }
.kb-st-chk__i input:checked + .kb-st-chk__box { background: var(--kb-accent); border-color: var(--kb-accent); }
.kb-st-chk__i input:checked + .kb-st-chk__box::after { content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; border: solid var(--kb-on-accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.kb-st-chk__i input:focus-visible + .kb-st-chk__box { outline: 2px solid var(--kb-accent); outline-offset: 2px; }

/* Booking boxes: extra lines + settings list */
.kb-sg__x { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--kb-muted); }
.kb-sg__pr { font-weight: 600; color: var(--kb-ink); font-variant-numeric: tabular-nums; }
.kb-sg__ev.is-short > :nth-child(n+3) { display: none; }
.kb-sg__ev.is-short > .kb-sg__svc { display: block; }
.kb-bub { gap: 0; }
.kb-bub__i { display: flex; align-items: center; gap: 2px; border-radius: 7px; background: transparent; }
.kb-bub__i .kb-st-chk__i { flex: 1; min-width: 0; }
.kb-bub__h { flex: none; width: 20px; height: 30px; margin-left: 2px; cursor: grab; border-radius: 6px; opacity: .55; color: var(--kb-muted); touch-action: none; }
.kb-bub__h { background: radial-gradient(circle, currentColor 1.3px, transparent 1.7px) 4px 6px / 6px 6px repeat-y, radial-gradient(circle, currentColor 1.3px, transparent 1.7px) 11px 6px / 6px 6px repeat-y; background-origin: content-box; background-clip: content-box; padding: 6px 0; box-sizing: border-box; }
.kb-bub__h:hover, .kb-bub__h:focus-visible { opacity: 1; }
.kb-bub__i.is-drag { background: var(--kb-line); box-shadow: 0 4px 14px rgba(0, 0, 0, .18); position: relative; z-index: 2; }
.kb-bub__i.is-drag .kb-bub__h { cursor: grabbing; }

.kb-bub__i .kb-st-chk__i { padding-left: 2px; }
.kb-bub__i .kb-st-chk__i { margin-left: -16px; }

/* Readable client name; long lines scroll on hover */
.kb-sg__ev .kb-sg__cl { color: var(--kb-ink); font-size: 13px; font-weight: 500; opacity: 1; }
.kb-book[data-kb-scheme="dark"] .kb-sg__ev .kb-sg__cl { color: var(--kb-ink); }
.kb-sg__ev:hover .kb-sg__svc, .kb-sg__ev:hover .kb-sg__cl, .kb-sg__ev:hover .kb-sg__x { text-overflow: clip; }

/* Booking box lines: each kind has its own look */
.kb-book .kb-sg__ev b { color: var(--kb-ink); font-weight: 700; }
.kb-book .kb-sg__ev .kb-sg__svc { color: color-mix(in srgb, var(--ev-bar) 62%, var(--kb-ink)); font-weight: 700; }
.kb-book .kb-sg__ev .kb-sg__cl { color: var(--kb-ink); font-weight: 600; }
.kb-book .kb-sg__ev .kb-sg__pr { display: inline-block; max-width: 100%; margin-top: 2px; padding: 0 7px; border-radius: 99px; background: color-mix(in srgb, var(--ev-bar) 22%, transparent); color: var(--kb-ink); font-size: 12px; font-weight: 700; line-height: 18px; }
.kb-book .kb-sg__ev .kb-sg__ph, .kb-book .kb-sg__ev .kb-sg__em { color: color-mix(in srgb, var(--kb-ink) 72%, transparent); font-size: 12px; }
.kb-book .kb-sg__ev .kb-sg__nt { font-style: italic; color: color-mix(in srgb, var(--kb-ink) 62%, transparent); }
.kb-book .kb-sg__ev .kb-sg__pn { font-style: italic; color: color-mix(in srgb, var(--ev-bar) 55%, var(--kb-ink)); border-left: 2px dashed color-mix(in srgb, var(--ev-bar) 60%, transparent); padding-left: 5px; }
.kb-book .kb-sg__ev .kb-sg__du { color: color-mix(in srgb, var(--kb-ink) 55%, transparent); font-size: 11px; }

/* Calendar sync */
.kb-st-sync { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 40px; margin: 0; padding: 0 14px; background: var(--kb-soft); color: var(--kb-ink); border: 0; border-radius: 99px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color .15s ease; }
.kb-st-sync:hover { background: var(--kb-line); }
.kb-st-sync__bd { position: absolute; top: -3px; right: -3px; display: none; align-items: center; justify-content: center; min-width: 17px; height: 17px; border-radius: 50%; font-size: 11px; font-weight: 800; line-height: 1; color: #fff; box-shadow: 0 0 0 2px var(--kb-card, #fff); }
.kb-st-sync.is-ok .kb-st-sync__bd { display: inline-flex; background: #1f9d63; }
.kb-st-sync.is-bad .kb-st-sync__bd { display: inline-flex; background: #e0912b; }
@media (max-width: 720px) { .kb-st-sync { width: 40px; padding: 0; justify-content: center; } .kb-st-sync__t { display: none; } }
.kb-sy__lead { margin: 0 0 12px; }
.kb-sy__card { margin: 0 0 12px; padding: 14px 16px; border: 1px solid var(--kb-line); border-radius: var(--kb-radius-s, 12px); background: var(--kb-card); }
.kb-sy__card.is-ok { border-color: color-mix(in srgb, #1f9d63 45%, var(--kb-line)); }
.kb-sy__card.is-bad { border-color: color-mix(in srgb, #e0912b 60%, var(--kb-line)); }
.kb-sy__h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 4px; font-size: 15px; color: var(--kb-ink); }
.kb-sy__pill { padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 700; background: color-mix(in srgb, #1f9d63 18%, transparent); color: var(--kb-ink); }
.kb-sy__card.is-bad .kb-sy__pill { background: color-mix(in srgb, #e0912b 24%, transparent); }
.kb-sy__d, .kb-sy__m, .kb-sy__err { margin: 4px 0 8px; font-size: 13px; line-height: 1.45; color: var(--kb-muted); }
.kb-sy__m { font-size: 12px; margin-top: 8px; }
.kb-sy__err { color: var(--kb-ink); padding: 8px 10px; border-radius: 8px; background: color-mix(in srgb, #e0912b 16%, transparent); }
.kb-sy__row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.kb-sy__row .kb-btn { min-height: 36px; padding: 0 14px; font-size: 14px; text-decoration: none; }
.kb-sy__url { display: block; width: 100%; box-sizing: border-box; height: 36px; margin: 4px 0 8px; padding: 0 10px; border: 1px solid var(--kb-field-line, var(--kb-line)); border-radius: 8px; background: var(--kb-soft); color: var(--kb-ink); font-size: 12px; }
/* events from their own calendar */
.kb-sg__ext { position: absolute; left: 3px; right: 3px; z-index: 1; box-sizing: border-box; overflow: hidden; padding: 3px 8px; border-radius: 8px; pointer-events: none; font-size: 12px; line-height: 1.3; color: color-mix(in srgb, var(--kb-ink) 78%, transparent); background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--kb-ink) 9%, transparent) 0 6px, color-mix(in srgb, var(--kb-ink) 4%, transparent) 6px 12px); border: 1px dashed color-mix(in srgb, var(--kb-ink) 22%, transparent); }
.kb-sg__ext span, .kb-sg__ext em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kb-sg__ext span { font-weight: 600; }
.kb-sg__ext em { font-style: normal; font-size: 11px; opacity: .75; }
.kb-sg__ext.is-all { opacity: .7; }

.kb-sl-stats .kb-st-sum { margin: 0 0 14px; }
.kb-sl-tools__r:empty { display: none; }

/* Booking boxes list: one even hover highlight over the whole row */
.kb-bub__i { padding: 0 4px; transition: background-color .12s ease; }
.kb-bub__i:hover { background: color-mix(in srgb, var(--kb-ink) 8%, transparent); }
.kb-bub__i .kb-st-chk__i, .kb-bub__i .kb-st-chk__i:hover { margin-left: 0; padding-left: 6px; background: transparent; }
.kb-bub__i.is-drag { background: color-mix(in srgb, var(--kb-ink) 12%, var(--kb-card)); }
.kb-book .kb-st-chk__i input[type="checkbox"] { position: absolute; width: 0; height: 0; margin: 0; padding: 0; opacity: 0; pointer-events: none; }

/* smooth reordering */
.kb-bub__i { transition: transform .18s cubic-bezier(.2, .8, .2, 1), background-color .12s ease, box-shadow .18s ease; will-change: auto; }
.kb-bub.is-sorting { user-select: none; }
.kb-bub__i.is-drag { z-index: 3; transition: box-shadow .18s ease; box-shadow: 0 8px 22px rgba(0, 0, 0, .22); transform: scale(1.01); }
.kb-bub__i.is-drag.is-drop { transition: transform .18s cubic-bezier(.2, .8, .2, 1), box-shadow .18s ease; }
@media (prefers-reduced-motion: reduce) { .kb-bub__i { transition: none !important; } }
