/* LotRanger Walk-Around PWA - mobile-first styling.
   Standalone stylesheet (not part of the Prepros SCSS pipeline). */

:root {
	--bg: #0f1623;
	--bg-soft: #182031;
	--card: #1d2638;
	--line: #2a3650;
	--text: #eef2f8;
	--muted: #9aa7be;
	--primary: #2f7bff;
	--primary-press: #1f5fd6;
	--good: #27c281;
	--warn: #f5a623;
	--bad: #ef5350;
	--radius: 14px;
	--safe-top: env(safe-area-inset-top, 0px);
	--safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}

html,
body {
	margin: 0;
	padding: 0;
	min-height: 100%;
}

body {
	background: var(--bg);
	color: var(--text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.4;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
	margin: 0 0 6px;
	font-weight: 700;
}

p {
	margin: 0 0 12px;
	color: var(--muted);
}

/* ---------- Views ---------- */
.view {
	display: none;
	padding: 18px 18px calc(28px + var(--safe-bottom));
	max-width: 560px;
	margin: 0 auto;
}

.view.is-active {
	display: block;
}

/* ---------- App bar ---------- */
.appbar {
	position: sticky;
	top: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: calc(10px + var(--safe-top)) 16px 10px;
	background: rgba(15, 22, 35, 0.92);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}

.appbar_title {
	flex: 1;
	font-weight: 700;
	font-size: 18px;
}

.appbar_logo {
	display: block;
	height: 24px;
	width: auto;
	cursor: pointer;
}

.appbar_back,
.appbar_menu,
.appbar_user {
	background: none;
	border: 0;
	color: var(--text);
	font-size: 15px;
	padding: 6px 8px;
	border-radius: 8px;
}

.appbar_back {
	font-size: 22px;
	line-height: 1;
}

.appbar_menu {
	font-size: 20px;
	line-height: 1;
}

.appbar_menu[hidden],
.appbar_back[hidden] {
	display: none;
}

.appbar_user {
	color: var(--muted);
}

/* ---------- App menu (hamburger dropdown) ---------- */
.app_menu_overlay {
	position: fixed;
	inset: 0;
	z-index: 40;
	background: rgba(8, 12, 20, 0.55);
}

.app_menu_overlay[hidden] {
	display: none;
}

.app_menu_panel {
	position: absolute;
	top: calc(8px + var(--safe-top));
	left: 12px;
	min-width: 250px;
	max-width: calc(100vw - 24px);
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 8px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.app_menu_item {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 12px;
	background: none;
	border: 0;
	border-radius: 10px;
	color: var(--text);
	font-size: 15px;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
}

.app_menu_item + .app_menu_item {
	margin-top: 2px;
}

.app_menu_item:hover,
.app_menu_item:focus-visible {
	background: var(--bg-soft);
	outline: none;
}

.app_menu_ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	flex: 0 0 26px;
	color: var(--primary);
}

.app_menu_ico svg {
	width: 24px;
	height: 24px;
}

.app_menu_text {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.app_menu_soon {
	font-size: 11px;
	font-weight: 600;
	color: var(--warn);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.app_menu_item--disabled {
	cursor: default;
	opacity: 0.55;
}

.app_menu_item--disabled .app_menu_ico {
	color: var(--muted);
}

.app_menu_item--disabled:hover {
	background: none;
}

/* ---------- Home hub ---------- */
.hub_intro {
	text-align: center;
	margin: 8px 0 22px;
}

.hub_grid {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

.hub_tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	flex: 1 1 0;
	min-width: 150px;
	max-width: 240px;
	padding: 28px 18px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--text);
	cursor: pointer;
}

.hub_tile:hover,
.hub_tile:focus-visible {
	border-color: var(--primary);
	outline: none;
}

.hub_tile_icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--bg-soft);
	color: var(--primary);
}

.hub_tile_icon svg {
	width: 40px;
	height: 40px;
}

.hub_tile_label {
	font-size: 16px;
	font-weight: 700;
}

.hub_tile_soon {
	font-size: 12px;
	font-weight: 600;
	color: var(--warn);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.hub_tile--disabled {
	cursor: default;
	opacity: 0.6;
}

.hub_tile--disabled .hub_tile_icon {
	color: var(--muted);
}

.hub_tile--disabled:hover {
	border-color: var(--line);
}

/* ---------- Login ---------- */
.view--login {
	min-height: 100vh;
	align-items: center;
	justify-content: center;
	display: none;
}

.view--login.is-active {
	display: flex;
}

.login_card {
	width: 100%;
	max-width: 380px;
}

.brand {
	text-align: center;
	margin-bottom: 26px;
}

.brand_logo {
	display: inline-block;
	width: 150px;
	max-width: 55%;
	height: auto;
	margin-bottom: 12px;
}

.brand h1 {
	font-size: 26px;
}

.brand_sub {
	color: var(--muted);
	margin: 0;
}

/* ---------- Fields ---------- */
.field {
	display: block;
	margin-bottom: 16px;
}

.field > span {
	display: block;
	font-size: 13px;
	color: var(--muted);
	margin-bottom: 6px;
}

.field input {
	width: 100%;
	padding: 14px 14px;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	background: var(--bg-soft);
	color: var(--text);
	font-size: 1.750rem;
	font-weight: 700;	
}

.field input:focus {
	outline: none;
	border-color: var(--primary);
}

.login_pass_wrap {
	position: relative;
}

.login_pass_wrap input {
	padding-right: 52px;
}

.login_pass_toggle {
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	width: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--muted);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.login_pass_toggle:hover,
.login_pass_toggle:focus-visible {
	color: var(--text);
	outline: none;
}

.login_pass_eye {
	width: 24px;
	height: 24px;
	display: block;
}

.login_pass_eye_slash {
	display: none;
}

.login_pass_toggle.is-visible .login_pass_eye_slash {
	display: inline;
}

.field_row {
	display: flex;
	gap: 12px;
}

.field_row .field {
	flex: 1;
}

#vinInput {
	letter-spacing: 2px;
	text-transform: uppercase;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

#vinInput.is-valid {
	border-color: #1f8a52;
	background: #15532f;
	color: #ffffff;
}

#vinInput.is-invalid {
	border-color: #e0575a;
	background: #7a1f21;
	color: #ffe600;
}

#vinCount.is-invalid {
	color: #ff8a8c;
	font-weight: 700;
}

.vin_meta {
	text-align: right;
	font-size: 13px;
	color: var(--muted);
	margin: -8px 0 14px;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 1px solid transparent;
	border-radius: var(--radius);
	padding: 14px 18px;
	font-size: 16px;
	font-weight: 600;
	color: var(--text);
	background: var(--bg-soft);
	cursor: pointer;
	text-align: center;
}

.btn--block {
	width: 100%;
	margin-bottom: 12px;
}

.btn--primary {
	background: var(--primary);
	color: #fff;
}

.btn--primary:active {
	background: var(--primary-press);
}

.btn--ghost {
	background: transparent;
	border-color: var(--line);
	color: var(--text);
}

.btn[disabled] {
	opacity: 0.5;
	pointer-events: none;
}

.form_error {
	color: var(--bad);
	font-size: 14px;
	margin: 6px 0 0;
	text-align: center;
}

.form_error[hidden] {
	display: none !important;
}

.app_version {
	color: var(--muted, #888888);
	font-size: 12px;
	margin: 14px 0 0;
	text-align: center;
}

/* ---------- Vehicle card ---------- */
.vehicle_card,
.price_results,
.upload_queue {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 16px;
	margin-bottom: 16px;
}

.vehicle_head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 12px;
}

.vehicle_head h2 {
	font-size: 20px;
}

.vin_chip {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 12px;
	color: var(--muted);
	background: var(--bg-soft);
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 4px 8px;
	white-space: nowrap;
}

.spec_grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px 14px;
	margin: 0;
}

.spec_grid div {
	min-width: 0;
}

.spec_grid dt {
	font-size: 12px;
	color: var(--muted);
}

.spec_grid dd {
	margin: 2px 0 0;
	font-size: 15px;
	font-weight: 600;
	word-break: break-word;
}

.vehicle_status {
	font-size: 14px;
	padding: 12px 14px;
	border-radius: var(--radius);
	margin-bottom: 16px;
	border: 1px solid var(--line);
	background: var(--bg-soft);
}

.vehicle_status.is-existing {
	border-color: var(--good);
}

.vehicle_status.is-new {
	border-color: var(--warn);
}

.action_stack {
	margin-top: 6px;
}

/* ---------- Vehicle type picker ---------- */
.type_intro {
	margin-bottom: 16px;
}

.type_intro h2 {
	font-size: 20px;
}

.type_picker {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.type_pick_btn {
	width: 100%;
	text-align: left;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--card);
	padding: 16px 18px;
	color: var(--text);
	font-size: 17px;
	font-weight: 700;
	cursor: pointer;
}

.type_pick_btn:active {
	background: var(--bg-soft);
}

@media (orientation: landscape) {
	.view--vehicle-type.is-active {
		max-width: 720px;
	}

	.view--vehicle-type.is-active .type_picker {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
	}
}

.scan_queue_link {
	margin-top: 14px;
}

/* ---------- Photo queue ---------- */
.queue_intro {
	margin-bottom: 12px;
}

.queue_intro h2 {
	font-size: 20px;
}

.queue_types {
	display: flex;
	gap: 6px;
	margin-bottom: 14px;
}

.queue_type {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 8px 2px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--card);
	color: var(--muted);
	cursor: pointer;
}

.queue_type_ico {
	display: block;
	width: 26px;
	height: 26px;
}

.queue_type_ico svg {
	display: block;
	width: 100%;
	height: 100%;
}

.queue_type_label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.2px;
}

.queue_type.is-active {
	color: var(--primary);
	border-color: var(--primary);
	background: var(--bg-soft);
}

.queue_type:active {
	background: var(--bg-soft);
}

.queue_empty {
	text-align: center;
	color: var(--muted);
	margin: 20px 0;
}

.queue_list {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.queue_item {
	width: 100%;
	text-align: left;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--card);
	padding: 14px 16px;
	color: var(--text);
	cursor: pointer;
}

.queue_item:active {
	background: var(--bg-soft);
}

.queue_item_head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 6px;
}

.queue_item_title {
	font-weight: 700;
	font-size: 16px;
	line-height: 1.3;
}

.queue_item_badge {
	flex-shrink: 0;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 3px 8px;
	border-radius: 6px;
	background: rgba(245, 166, 35, 0.2);
	color: var(--warn);
}

.queue_item_badge.is-retake {
	background: rgba(47, 123, 255, 0.2);
	color: var(--primary);
}

.queue_item_meta {
	font-size: 13px;
	color: var(--muted);
	line-height: 1.45;
}

@media (orientation: landscape) {
	.view--queue.is-active {
		max-width: 920px;
	}

	.view--queue.is-active .queue_list {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ---------- Walk prep (vehicle screen) ---------- */
.walk_prep {
	margin: 18px 0 8px;
	padding: 16px;
	border-radius: var(--radius);
	background: var(--card);
	border: 1px solid var(--line);
}

.walk_prep_title {
	font-size: 16px;
	margin-bottom: 12px;
}

.walk_prep_doors {
	margin-bottom: 12px;
}

.walk_prep_label {
	display: block;
	font-size: 13px;
	color: var(--muted);
	margin-bottom: 8px;
}

.door_picker {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.door_pick_btn {
	min-width: 52px;
	padding: 12px 16px;
	border-radius: 10px;
	border: 1px solid var(--line);
	background: var(--bg-soft);
	color: var(--text);
	font-size: 17px;
	font-weight: 700;
}

.door_pick_btn.is-selected {
	border-color: var(--primary);
	background: rgba(47, 123, 255, 0.18);
	color: #fff;
}

.walk_prep_hint {
	font-size: 14px;
	line-height: 1.45;
	color: var(--muted);
	margin: 0;
}

.walk_prep_hint--type {
	margin-top: 16px;
}

/* ---------- Walk-around ---------- */
body.is-walk-capture {
	overflow: hidden;
}

body.is-walk-capture #appBar {
	display: none !important;
}

.view--walk.is-active {
	position: fixed;
	inset: 0;
	z-index: 15;
	max-width: none;
	width: 100%;
	height: 100dvh;
	max-height: 100dvh;
	overflow-x: hidden;
	overflow-y: auto;
	padding: 0;
	margin: 0 auto;
	-webkit-overflow-scrolling: touch;
}

.walk_viewport {
	width: 100%;
	box-sizing: border-box;
	overflow: hidden;
	flex-shrink: 0;
	padding: calc(8px + var(--safe-top)) 18px 0;
}

.walk_stage {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	padding-bottom: calc(10px + var(--safe-bottom));
}

.walk_back_btn,
.walk_done_btn {
	position: absolute;
	top: 0;
	z-index: 5;
	padding: 8px 14px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: rgba(29, 38, 56, 0.92);
	color: var(--text);
	font-size: 14px;
	font-weight: 600;
}

.walk_back_btn {
	left: 0;
}

.walk_done_btn {
	right: 0;
}

.walk_progress {
	height: 6px;
	background: var(--bg-soft);
	border-radius: 4px;
	overflow: hidden;
	margin-bottom: 16px;
}

.walk_progress[hidden] {
	display: none !important;
}

.walk_progress_bar {
	height: 100%;
	width: 0;
	background: var(--primary);
	transition: width 0.25s ease;
}

.walk_prompt {
	text-align: center;
	margin-bottom: 8px;
	padding: 0 80px;
	flex-shrink: 0;
}

.walk_step {
	display: none;
}

.walk_prompt h2 {
	font-size: 22px;
	margin: 0;
	line-height: 1.15;
}

#walkStepHint {
	display: none !important;
}

.walk_shots_wrap {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 0;
	overflow: hidden;
	padding: 4px 0 8px;
}

.shot_grid {
	--shot-cols: 11;
	--shot-rows: 2;
	--shot-gap: 4px;
	--shot-h: 44px;
	--shot-font: 11px;
	display: grid;
	grid-template-columns: repeat(var(--shot-cols), minmax(0, 1fr));
	grid-template-rows: repeat(var(--shot-rows), var(--shot-h));
	gap: var(--shot-gap);
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

.shot {
	position: relative;
	height: var(--shot-h);
	min-height: 0;
	border-radius: 8px;
	border: 1px dashed var(--line);
	background: var(--bg-soft) center / cover no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: var(--shot-font);
	font-weight: 600;
	line-height: 1.15;
	color: var(--muted);
	text-align: center;
	overflow: hidden;
	padding: 3px 2px;
}

.shot.is-done {
	border-style: solid;
	border-color: var(--good);
}

.shot.is-active {
	border-color: var(--primary);
	border-style: solid;
}

.shot.is-processing {
	border-color: var(--primary);
	border-style: dashed;
	opacity: 0.85;
}

.shot.is-error {
	border-color: var(--bad);
	border-style: solid;
}

.shot_badge {
	position: absolute;
	top: 3px;
	right: 3px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--good);
	color: #fff;
	font-size: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.shot_badge--busy {
	background: var(--primary);
	font-weight: 700;
	letter-spacing: 0;
	font-size: 9px;
}

.shot_badge--err {
	background: var(--bad);
	font-weight: 700;
	font-size: 10px;
}

.capture_btn {
	font-size: 17px;
	padding: 16px 18px;
	margin-top: auto;
	flex-shrink: 0;
	width: 100%;
}

body.is-walk-guide-open {
	overflow: hidden;
}

.walk_capture_guide {
	position: fixed;
	inset: 0;
	z-index: 38;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: calc(12px + var(--safe-top)) 18px calc(12px + var(--safe-bottom));
	background: rgba(8, 12, 20, 0.94);
}

.walk_capture_guide[hidden] {
	display: none !important;
}

.walk_capture_guide_inner {
	width: 100%;
	max-width: min(920px, 100%);
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
}

.walk_capture_guide_title {
	text-align: center;
	font-size: 22px;
	margin: 0;
	line-height: 1.15;
}

.walk_capture_guide_hint {
	text-align: center;
	font-size: 13px;
	line-height: 1.45;
	color: var(--muted);
	margin: 0;
}

.walk_capture_guide_frame {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	max-height: min(58vh, 520px);
	margin: 0 auto;
	border: 2px solid rgba(255, 255, 255, 0.28);
	border-radius: 12px;
	background: linear-gradient(180deg, #c5d0dc 0%, #8fa0b3 52%, #5f7082 100%);
	overflow: hidden;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.walk_capture_guide_overlay {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	opacity: 0.92;
	pointer-events: none;
}

.walk_capture_guide_overlay.is-hidden {
	visibility: hidden;
	opacity: 0;
}

.walk_capture_guide_missing {
	text-align: center;
	font-size: 13px;
	line-height: 1.4;
	color: var(--bad);
	margin: 0;
}

.walk_capture_guide_missing[hidden] {
	display: none !important;
}

.walk_capture_guide_note {
	text-align: center;
	font-size: 13px;
	line-height: 1.45;
	color: var(--warn, #e0a042);
	margin: 0;
}

.walk_capture_guide_note[hidden] {
	display: none !important;
}

body.is-walk-camera-open {
	overflow: hidden;
}

.walk_camera {
	position: fixed;
	inset: 0;
	z-index: 39;
	background: #000;
}

.walk_camera[hidden] {
	display: none !important;
}

.walk_camera_stage {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: min(100vw, calc(100vh * 4 / 3));
	height: min(100vh, calc(100vw * 3 / 4));
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #000;
}

.walk_camera_video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #000;
}

.walk_camera_overlay {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	opacity: 0.55;
	pointer-events: none;
}

.walk_camera_overlay.is-hidden {
	visibility: hidden;
	opacity: 0;
}

.walk_camera_top {
	position: absolute;
	top: calc(8px + var(--safe-top));
	left: 0;
	right: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 88px;
	pointer-events: none;
}

.walk_camera_cancel {
	position: absolute;
	left: 12px;
	pointer-events: auto;
	padding: 8px 14px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
}

.walk_camera_title {
	color: #fff;
	font-size: 18px;
	font-weight: 600;
	text-align: center;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

.walk_camera_shutter {
	position: absolute;
	left: 50%;
	bottom: calc(18px + var(--safe-bottom));
	transform: translateX(-50%);
	z-index: 2;
	width: 74px;
	height: 74px;
	border-radius: 50%;
	border: 4px solid #fff;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.walk_camera_shutter:active {
	transform: translateX(-50%) scale(0.94);
	background: rgba(255, 255, 255, 0.75);
}

.walk_below_fold {
	padding-top: 48px;
	padding-bottom: 32px;
	padding-left: 18px;
	padding-right: 18px;
}

.walk_exit_overlay {
	position: fixed;
	inset: 0;
	z-index: 40;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(8, 12, 20, 0.72);
}

.walk_exit_overlay[hidden] {
	display: none !important;
}

.walk_exit_card {
	width: 100%;
	max-width: 360px;
	padding: 20px;
	border-radius: var(--radius);
	background: var(--card);
	border: 1px solid var(--line);
}

.walk_exit_card h3 {
	margin-bottom: 8px;
	font-size: 18px;
}

.walk_exit_card p {
	margin-bottom: 16px;
	font-size: 14px;
}

.walk_exit_card .btn {
	margin-bottom: 10px;
}

.walk_exit_card .btn:last-child {
	margin-bottom: 0;
}

.device_confirm_overlay {
	position: fixed;
	inset: 0;
	z-index: 45;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(8, 12, 20, 0.72);
}

.device_confirm_overlay[hidden] {
	display: none !important;
}

.device_confirm_card {
	width: 100%;
	max-width: 360px;
	padding: 20px;
	border-radius: var(--radius);
	background: var(--card);
	border: 1px solid var(--line);
}

.device_confirm_card h3 {
	margin-bottom: 8px;
	font-size: 18px;
}

.device_confirm_card p {
	margin-bottom: 16px;
	font-size: 14px;
}

.device_confirm_card .btn {
	margin-bottom: 10px;
}

.device_confirm_card .btn:last-child {
	margin-bottom: 0;
}

.view--walk.is-active .upload_queue {
	margin-bottom: 0;
}

.walk_footer[hidden] {
	display: none !important;
}

.walk_footer {
	display: flex;
	gap: 12px;
	margin-top: 6px;
}

.walk_footer .btn {
	flex: 1;
}

@media (orientation: landscape) {
	.walk_viewport {
		padding-left: 24px;
		padding-right: 24px;
	}

	.walk_below_fold {
		padding-left: 24px;
		padding-right: 24px;
	}

	.walk_prompt h2 {
		font-size: 21px;
	}
}

/* ---------- Portrait blocker (browser tab; backup when OS lock unavailable) ---------- */
.rotate_overlay {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(8, 12, 20, 0.97);
	text-align: center;
}

.rotate_overlay[hidden] {
	display: none !important;
}

.rotate_overlay_card {
	max-width: 360px;
}

.rotate_overlay_icon {
	font-size: 56px;
	line-height: 1;
	margin-bottom: 16px;
	color: var(--primary);
	transform: rotate(90deg);
}

.rotate_overlay_card h2 {
	font-size: 22px;
	margin-bottom: 10px;
}

.rotate_overlay_card p {
	font-size: 15px;
	line-height: 1.45;
}

body.is-portrait-blocked {
	overflow: hidden;
}

/* ---------- Upload queue ---------- */
.upload_queue h3 {
	font-size: 15px;
	margin-bottom: 10px;
}

.upload_queue ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.upload_queue li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 0;
	border-bottom: 1px solid var(--line);
	font-size: 14px;
}

.upload_queue li:last-child {
	border-bottom: 0;
}

.upl_status {
	font-size: 13px;
	color: var(--muted);
}

.upl_status.is-ok {
	color: var(--good);
}

.upl_status.is-err {
	color: var(--bad);
}

/* ---------- Pricing ---------- */
/* Hide until pricing is ready for production launch */
#goPriceBtn {
	display: none;
}

.price_action {
	text-align: center;
	font-size: 20px;
	font-weight: 800;
	padding: 14px;
	border-radius: var(--radius);
	margin-bottom: 16px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.price_action.act-buy {
	background: rgba(39, 194, 129, 0.15);
	color: var(--good);
}

.price_action.act-maybe {
	background: rgba(245, 166, 35, 0.15);
	color: var(--warn);
}

.price_action.act-pass {
	background: rgba(239, 83, 80, 0.15);
	color: var(--bad);
}

.price_action.act-review {
	background: var(--bg-soft);
	color: var(--text);
}

.ladder {
	display: grid;
	gap: 10px;
}

.ladder_row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 14px;
	border-radius: var(--radius);
	background: var(--bg-soft);
	border: 1px solid var(--line);
}

.ladder_row.is-key {
	border-color: var(--primary);
}

.ladder_label {
	font-size: 14px;
	color: var(--muted);
}

.ladder_value {
	font-size: 18px;
	font-weight: 700;
}

.price_note {
	margin-top: 14px;
	font-size: 13px;
	color: var(--muted);
}

/* ---------- Spinner ---------- */
.spinner_overlay[hidden] {
	display: none !important;
}

.spinner_overlay {
	position: fixed;
	inset: 0;
	z-index: 50;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	background: rgba(15, 22, 35, 0.78);
	backdrop-filter: blur(3px);
}

.spinner {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 4px solid var(--line);
	border-top-color: var(--primary);
	animation: spin 0.8s linear infinite;
}

.spinner_overlay p {
	margin: 0;
	color: var(--text);
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

/* ---------- Toast ---------- */
.lr_toast {
	position: fixed;
	left: 50%;
	bottom: calc(24px + var(--safe-bottom));
	transform: translateX(-50%);
	z-index: 60;
	max-width: 90%;
	padding: 12px 18px;
	border-radius: var(--radius);
	background: #fff;
	color: #16203a;
	font-size: 15px;
	font-weight: 600;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.lr_toast.is-error {
	background: var(--bad);
	color: #fff;
}
