/* Shared LocationPrompt bottom sheet — kid chat + parent dashboard.
   Ported from the sconce-v1-transit prototype (transit-primitives.jsx
   LocationPrompt). Styles live in classes (not inline) to satisfy the
   strict style-src 'self' CSP. Tokens are the shared Agenda Classic set. */

.lp-root[hidden] {
	display: none !important;
}

.lp-backdrop {
	position: fixed;
	inset: 0;
	z-index: 80;
	background: rgba(30, 50, 82, 0.4);
	backdrop-filter: blur(2px);
}

.lp-sheet {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 81;
	background: var(--bg);
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
	padding: 10px 18px calc(24px + env(safe-area-inset-bottom, 0px));
	box-shadow: var(--shadow-sheet);
	max-height: 88vh;
	overflow-y: auto;
}

.lp-grip {
	width: 38px;
	height: 4px;
	background: var(--border);
	border-radius: 99px;
	margin: 0 auto 14px;
}

.lp-head {
	margin-bottom: 14px;
}
.lp-eyebrow {
	font-size: 11.5px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--copper-deep);
	margin-bottom: 6px;
}
.lp-title {
	font-family: var(--font-serif);
	font-size: 20px;
	font-weight: 700;
	color: var(--primary);
	line-height: 1.25;
	letter-spacing: -0.1px;
}
.lp-subtitle {
	font-size: 13px;
	color: var(--muted);
	margin-top: 4px;
}

.lp-known {
	margin-bottom: 16px;
}
.lp-known-label,
.lp-field label {
	font-size: 11px;
	font-weight: 600;
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 8px;
	display: block;
}
.lp-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.lp-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 12px;
	border-radius: 99px;
	min-height: 44px;
	background: var(--card-bg);
	color: var(--fg);
	border: 1px solid var(--border);
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
}
.lp-chip.active {
	background: var(--primary);
	color: #fff;
	border-color: var(--primary);
}

.lp-or {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 4px 0 14px;
}
.lp-or .line {
	flex: 1;
	height: 1px;
	background: var(--border-soft);
}
.lp-or .text {
	font-size: 11px;
	color: var(--muted-2);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.lp-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.lp-field label {
	font-size: 12px;
	letter-spacing: 0.4px;
	margin-bottom: 6px;
}
.lp-field input {
	width: 100%;
	box-sizing: border-box;
	padding: 11px 12px;
	font-size: 16px;
	border: 1px solid var(--border);
	border-radius: 8px;
	background: var(--card-bg);
	color: var(--fg);
	font-family: inherit;
	outline: none;
}
.lp-hint {
	font-size: 11.5px;
	color: var(--muted);
	line-height: 1.4;
}

.lp-save {
	width: 100%;
	min-height: 48px;
	margin-top: 14px;
	background: var(--primary);
	color: #fff;
	border: none;
	border-radius: var(--r-md);
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}
.lp-save:disabled {
	background: var(--border);
	cursor: default;
}

.lp-punt {
	width: 100%;
	min-height: 44px;
	margin-top: 8px;
	background: transparent;
	color: var(--copper-deep);
	border: 1px solid var(--copper);
	border-radius: var(--r-md);
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
}

.lp-error {
	color: var(--red-deep);
	font-size: 13px;
	margin-top: 8px;
	min-height: 1em;
}
