/* Focus Anamnesis — front styles.
   Scoped to .lpa-* so the site theme is not affected.
   Font stack matches the site: Cormorant Garamond (display) + Golos Text (body).

   NOTE: inside the LatePoint cabinet the theme and LatePoint itself style `label`
   (e.g. `.latepoint-w label { display: inline-block }`, `.fm-cabinet ... label { ... }`),
   which is more specific than a single class. Layout-critical rules below therefore
   use `.lpa-wrap` scoping plus `!important` — without it the option boxes collapse and
   the text sticks to the checkbox. */

.lpa-wrap {
	max-width: 760px;
	margin: 0 auto;
	font-family: 'Golos Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: #1E1815;
	font-size: 15px;
	line-height: 1.5;
}

.lpa-wrap .lpa-h2 {
	font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	font-weight: 500;
	font-size: 30px;
	line-height: 1.15;
	margin: 0 0 6px;
	color: #1E1815;
}

.lpa-wrap .lpa-intro { color: #7A7169; font-size: 14px; margin: 0 0 22px; }
.lpa-wrap .lpa-h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; font-size: 20px; margin: 0 0 4px; color: #1E1815; }

/* ---------- cards ---------- */

.lpa-wrap .lpa-form { margin: 0; }

.lpa-wrap .lpa-section {
	background: #fff;
	border: 1px solid #E6DED2;
	border-radius: 12px;
	padding: 20px 22px 22px;
	margin: 0 0 16px;
}

.lpa-wrap .lpa-section-title {
	font-family: 'Cormorant Garamond', Georgia, serif !important;
	font-weight: 500 !important;
	font-size: 21px !important;
	line-height: 1.25 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	color: #635146 !important;
	margin: 0 0 14px !important;
	padding: 0 0 10px !important;
	border-bottom: 1px solid #EDE7DD;
}

/* ---------- fields ---------- */

.lpa-wrap .lpa-field { margin: 0 0 18px; }
.lpa-wrap .lpa-field:last-child { margin-bottom: 0; }

.lpa-wrap .lpa-label {
	display: block !important;
	float: none !important;
	font-family: 'Golos Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
	font-weight: 600 !important;
	font-size: 14.5px !important;
	line-height: 1.45 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	color: #1E1815 !important;
	margin: 0 0 8px !important;
	padding: 0 !important;
}

.lpa-wrap .lpa-req { color: #B3261E !important; margin-left: 2px; }

.lpa-wrap .lpa-field input[type="text"],
.lpa-wrap .lpa-field input[type="number"],
.lpa-wrap .lpa-field input[type="date"],
.lpa-wrap .lpa-field input[type="email"],
.lpa-wrap .lpa-field textarea,
.lpa-wrap .lpa-field select {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 13px 14px;
	border: 1px solid #DFD9D0;
	border-radius: 8px;
	background: #fff;
	font-family: inherit;
	font-size: 15px;
	line-height: 1.4;
	color: #1E1815;
	height: auto;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.lpa-wrap .lpa-field input:focus,
.lpa-wrap .lpa-field textarea:focus,
.lpa-wrap .lpa-field select:focus {
	outline: 0;
	border-color: #958273;
	box-shadow: 0 0 0 3px rgba(149, 130, 115, .15);
}

.lpa-wrap .lpa-field textarea { min-height: 96px; resize: vertical; }

.lpa-wrap .lpa-help { color: #8A8177; font-size: 13px; line-height: 1.4; margin: 7px 0 0; }
.lpa-wrap .lpa-help-locked { color: #635146; font-style: italic; }

/* values taken from the client record */
.lpa-wrap .lpa-field input[readonly],
.lpa-wrap .lpa-field textarea[readonly] {
	background: #F4EFE7;
	border-color: #E0D7C8;
	color: #635146;
	cursor: default;
}

/* ---------- options as a tidy grid (see NOTE above) ---------- */

.lpa-wrap .lpa-options {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 10px 12px !important;
}

.lpa-wrap .lpa-option {
	display: flex !important;
	flex-direction: row !important;
	align-items: flex-start !important;
	justify-content: flex-start !important;
	gap: 10px !important;
	column-gap: 10px !important;
	float: none !important;
	width: auto !important;
	box-sizing: border-box;
	padding: 12px 14px !important;
	margin: 0 !important;
	border: 1px solid #E6DED2 !important;
	border-radius: 9px !important;
	background: #FDFCF9 !important;
	cursor: pointer !important;
	font-family: 'Golos Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
	font-size: 14.5px !important;
	font-weight: 400 !important;
	line-height: 1.35 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	color: #1E1815 !important;
	transition: border-color .15s ease, background .15s ease;
}

.lpa-wrap .lpa-option:hover { border-color: #C9BCAA !important; background: #FBF8F3 !important; }

.lpa-wrap .lpa-option > span {
	display: inline-block !important;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 14.5px !important;
	line-height: 1.35 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	color: inherit !important;
	float: none !important;
}

.lpa-wrap .lpa-option input[type="checkbox"],
.lpa-wrap .lpa-option input[type="radio"] {
	flex: 0 0 auto !important;
	float: none !important;
	display: inline-block !important;
	width: 18px !important;
	height: 18px !important;
	min-width: 18px !important;
	margin: 2px 0 0 !important;
	padding: 0 !important;
	accent-color: #635146;
}

.lpa-wrap .lpa-option:has(input:checked) { border-color: #958273 !important; background: #F4EFE7 !important; }
.lpa-wrap .lpa-option:has(input:checked) > span { font-weight: 600 !important; }
.lpa-wrap .lpa-options .lpa-option:only-child { grid-column: 1 / -1; }
.lpa-wrap .lpa-field-radio .lpa-options { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important; }

/* ---------- consent ---------- */

.lpa-wrap .lpa-field-checkbox .lpa-option-single {
	background: #F7F3EC !important;
	border-color: #E0D7C8 !important;
	padding: 14px 16px !important;
}
.lpa-wrap .lpa-field-checkbox .lpa-option-single > span { font-weight: 500 !important; }

/* ---------- button ---------- */

.lpa-wrap .lpa-btn {
	display: block !important;
	width: 100% !important;
	float: none !important;
	margin: 4px 0 0 !important;
	padding: 16px 28px !important;
	border: 0 !important;
	border-radius: 9px !important;
	background: #1E1815 !important;
	color: #FBF9F5 !important;
	font-family: inherit !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	letter-spacing: .06em !important;
	text-transform: uppercase !important;
	line-height: 1.2 !important;
	cursor: pointer !important;
	transition: background .15s ease;
}
.lpa-wrap .lpa-btn:hover, .lpa-wrap .lpa-btn:focus { background: #635146 !important; }

/* ---------- notices ---------- */

.lpa-wrap .lpa-note { border-radius: 10px; padding: 14px 18px; margin: 0 0 18px; font-size: 14.5px; }
.lpa-wrap .lpa-note-ok { background: #F0FDF4; border: 1px solid #16A34A; color: #14532D; }
.lpa-wrap .lpa-note-err { background: #FDF1F0; border: 1px solid #B3261E; color: #7F1D1D; }
.lpa-wrap .lpa-msg { color: #635146; }
.lpa-wrap .lpa-versions { margin: 8px 0 14px; }

/* ---------- cabinet cards ---------- */

.lpa-wrap .lpa-card { border: 1px solid #DFD9D0; border-radius: 12px; padding: 20px 22px; margin: 0 0 18px; background: #FDFCF9; }
.lpa-wrap .lpa-meta { color: #7A7169; font-size: 14px; margin: 0 0 10px; }
.lpa-wrap .lpa-risk-badge { display: inline-block; background: #FDF1F0; color: #B3261E; border: 1px solid #B3261E; border-radius: 999px; padding: 3px 12px; font-size: 13px; }
.lpa-wrap .lpa-card .lpa-form { margin-top: 12px; }

/* inside a cabinet card, sections stay flat (no card-in-card) */
.lpa-wrap .lpa-card .lpa-section {
	background: transparent;
	border: 0;
	border-top: 1px solid #EDE7DD;
	border-radius: 0;
	padding: 0;
	margin: 16px 0 0;
}
.lpa-wrap .lpa-card .lpa-section:first-of-type { border-top: 0; }
.lpa-wrap .lpa-card .lpa-section-title { border-bottom: 0 !important; padding: 0 !important; margin: 0 0 10px !important; font-size: 19px !important; }

/* ---------- standalone kiosk page ---------- */

body.lpa-kiosk-page { margin: 0; background: #FBF9F5; }
.lpa-kiosk-shell { max-width: 820px; margin: 0 auto; padding: 36px 22px 72px; }
.lpa-kiosk-head { text-align: center; margin: 0 0 26px; }
.lpa-kiosk-head h1 {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-weight: 500;
	font-size: 34px;
	line-height: 1.15;
	margin: 0 0 6px;
	color: #1E1815;
}
.lpa-kiosk-head .lpa-kiosk-sub { color: #7A7169; font-size: 15px; }

/* hidden honeypot + conditional fields */
.lpa-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- narrow screens (tablet portrait / phone) ---------- */

@media (max-width: 600px) {
	.lpa-wrap { font-size: 15px; }
	.lpa-kiosk-shell { padding: 22px 14px 56px; }
	.lpa-kiosk-head h1 { font-size: 26px; }
	.lpa-wrap .lpa-h2 { font-size: 24px; }
	.lpa-wrap .lpa-section { padding: 16px 16px 18px; border-radius: 10px; }
	.lpa-wrap .lpa-section-title { font-size: 19px !important; }
	.lpa-wrap .lpa-options { grid-template-columns: 1fr !important; }
	.lpa-wrap .lpa-btn { padding: 15px 20px !important; }
}
