/* Kohal Booking: the getkohal booking page (/broneeri/), drawn without the site theme. The form card keeps its own
   public.css look; this file is only the calm page around it. Colours come from the Look page (--kb-* on <body>). */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/manrope-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/manrope-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.kbp {
	margin: 0;
	min-height: 100vh;
	min-height: 100dvh;
	background: var(--kb-soft);
	color: var(--kb-ink);
	font: 400 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	transition: background-color .3s ease, color .3s ease;
}
/* in dark mode the page sits a step darker than the card, so the card still lifts off it */
body.kbp[data-kb-scheme="dark"] { background: color-mix(in srgb, var(--kb-card) 72%, #000); }
body.kbp--manrope { font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.kbp a { color: inherit; }

.kbp__wrap {
	max-width: 760px;
	margin: 0 auto;
	padding: max(28px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
	display: flex;
	flex-direction: column;
	gap: 22px;
	min-height: 100vh;
	min-height: 100dvh;
}

/* business header */
.kbp__head { display: flex; align-items: center; gap: 14px; padding: 0 4px; }
.kbp__logo, .kbp__mark {
	width: 56px; height: 56px; flex: none;
	border-radius: 16px;
	border: 1px solid var(--kb-line);
	background: var(--kb-card);
}
.kbp__logo { object-fit: cover; }
.kbp__mark {
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 22px; font-weight: 700; line-height: 1;
	color: var(--kb-ink);
}
.kbp__id { min-width: 0; }
.kbp__name { margin: 0; font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; overflow-wrap: anywhere; }
.kbp__sub, .kbp__line { margin: 2px 0 0; font-size: 14px; line-height: 1.4; color: var(--kb-muted); overflow-wrap: anywhere; }
.kbp__line { font-variant-numeric: tabular-nums; }
/* A wide logo (a whole word) instead of the mark and the name; its height is fixed, a long one is capped by the width. */
.kbp__head--wide { padding: 0; } /* the picture starts exactly at the card's edge */
.kbp__name--wide { line-height: 0; }
.kbp__wide { display: block; height: 48px; width: auto; max-width: min(280px, 100%); object-fit: contain; object-position: left center; }
.kbp__name--wide + .kbp__sub { margin-top: 8px; }

/* the form card sits on the page; public.css draws it */
.kbp__main { flex: 1; }
.kbp__main > .kb-book { margin: 0; }

/* footer */
.kbp__foot {
	display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 10px;
	font-size: 13px; color: var(--kb-muted);
	padding: 4px 0 2px;
}
.kbp__foot a { text-decoration: none; border-radius: 6px; padding: 4px 2px; }
/* on a phone the links wrap, and a dot would start the second line: the gap separates them instead */
@media (max-width: 719px) { .kbp__foot { column-gap: 18px; } .kbp__foot > span[aria-hidden] { display: none; } }
.kbp__foot a:hover { color: var(--kb-ink); text-decoration: underline; text-underline-offset: 3px; }
.kbp :focus-visible { outline: 2px solid var(--kb-accent); outline-offset: 2px; }

@media (min-width: 720px) {
	.kbp__wrap { padding-top: max(56px, env(safe-area-inset-top)); gap: 28px; }
	.kbp__logo, .kbp__mark { width: 64px; height: 64px; border-radius: 18px; }
	.kbp__name { font-size: 26px; }
	.kbp__wide { height: 56px; max-width: 340px; }
}
@media (prefers-reduced-motion: reduce) { body.kbp { transition: none; } }
