.sm-page {
	--sm-navy: #102235;
	--sm-blue: #1d3954;
	--sm-blue-soft: #284c6e;
	--sm-yellow: #ffec56;
	--sm-yellow-soft: #fff9c8;
	--sm-ink: #172635;
	--sm-muted: #5e7184;
	--sm-border: #d8e1ea;
	--sm-surface: #f5f7f9;
	background: #fff;
	color: var(--sm-ink);
}

.sm-page *,
.sm-page *::before,
.sm-page *::after {
	box-sizing: border-box;
}

.sm-page [hidden] {
	display: none !important;
}

.sm-hero {
	background:
		radial-gradient(circle at 84% 18%, rgba(255, 236, 86, 0.18), transparent 22rem),
		linear-gradient(135deg, #102235 0%, #1d3954 68%, #234c70 100%);
	min-height: 480px;
	overflow: hidden;
	padding: 160px 24px 72px;
	position: relative;
}

.sm-hero::after {
	background-image:
		linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
	background-size: 42px 42px;
	content: "";
	inset: 0;
	mask-image: linear-gradient(to left, #000, transparent 74%);
	pointer-events: none;
	position: absolute;
}

.sm-shell {
	margin: 0 auto;
	max-width: 1180px;
	position: relative;
	width: 100%;
}

.sm-hero-copy {
	max-width: 810px;
	position: relative;
	z-index: 1;
}

.sm-eyebrow {
	align-items: center;
	color: var(--sm-yellow);
	display: flex;
	font-size: 13px;
	font-weight: 800;
	gap: 9px;
	letter-spacing: 0.1em;
	margin-bottom: 16px;
	text-transform: uppercase;
}

.sm-bolt {
	align-items: center;
	background: var(--sm-yellow);
	border-radius: 50%;
	color: var(--sm-navy);
	display: inline-flex;
	font-size: 14px;
	height: 28px;
	justify-content: center;
	letter-spacing: 0;
	width: 28px;
}

.sm-hero h1 {
	color: #fff;
	font-size: clamp(38px, 5.2vw, 66px);
	letter-spacing: -0.035em;
	line-height: 0.98;
	margin: 0 0 22px;
}

.sm-hero p {
	color: rgba(255,255,255,0.88);
	font-size: 19px;
	line-height: 1.6;
	margin: 0;
	max-width: 735px;
}

.sm-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.sm-hero-actions a {
	align-items: center;
	border-radius: 8px;
	display: inline-flex;
	font-size: 15px;
	font-weight: 800;
	justify-content: center;
	min-height: 48px;
	padding: 12px 20px;
	text-decoration: none;
}

.sm-hero-actions .sm-primary-link {
	background: var(--sm-yellow);
	color: var(--sm-navy);
}

.sm-hero-actions .sm-secondary-link {
	border: 1px solid rgba(255,255,255,0.55);
	color: #fff;
}

.sm-proof-row {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 34px;
	max-width: 790px;
}

.sm-proof {
	align-items: center;
	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.16);
	border-radius: 8px;
	color: #fff;
	display: flex;
	font-size: 13px;
	font-weight: 800;
	gap: 10px;
	min-height: 60px;
	padding: 12px 14px;
}

.sm-proof svg {
	color: var(--sm-yellow);
	flex: 0 0 auto;
	height: 23px;
	width: 23px;
}

.sm-builder-section {
	background: var(--sm-surface);
	padding: 58px 24px 70px;
}

.sm-section-heading {
	margin-bottom: 26px;
}

.sm-kicker {
	color: #49627a;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.09em;
	margin-bottom: 8px;
	text-transform: uppercase;
}

.sm-section-heading h2,
.sm-form-heading h2,
.sm-instructions h2 {
	color: var(--sm-blue);
	font-size: clamp(28px, 3.2vw, 38px);
	letter-spacing: -0.025em;
	line-height: 1.12;
	margin: 0 0 10px;
}

.sm-section-heading p,
.sm-form-heading p {
	color: var(--sm-muted);
	font-size: 16px;
	line-height: 1.6;
	margin: 0;
	max-width: 790px;
}

.sm-mode-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-bottom: 20px;
}

.sm-mode-card {
	background: #fff;
	border: 1px solid var(--sm-border);
	border-radius: 10px;
	cursor: pointer;
	display: grid;
	grid-template-columns: auto 1fr;
	min-height: 128px;
	padding: 18px;
	position: relative;
	transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.sm-mode-card:hover {
	border-color: #99aabd;
	transform: translateY(-1px);
}

.sm-mode-card:has(input:focus-visible) {
	box-shadow: 0 0 0 3px rgba(29,57,84,0.22);
}

.sm-mode-card:has(input:checked) {
	background: var(--sm-yellow-soft);
	border-color: var(--sm-blue);
	box-shadow: inset 0 0 0 2px var(--sm-yellow);
}

.sm-mode-card input {
	height: 1px;
	opacity: 0;
	position: absolute;
	width: 1px;
}

.sm-mode-icon {
	align-items: center;
	background: var(--sm-navy);
	border-radius: 8px;
	display: flex;
	height: 44px;
	justify-content: center;
	margin-right: 14px;
	padding: 9px;
	width: 44px;
}

.sm-mode-icon img {
	height: 100%;
	width: 100%;
}

.sm-mode-copy strong {
	color: var(--sm-blue);
	display: block;
	font-size: 17px;
	line-height: 1.25;
	margin: 2px 0 7px;
}

.sm-mode-copy span {
	color: var(--sm-muted);
	display: block;
	font-size: 13px;
	line-height: 1.45;
}

.sm-workspace {
	display: grid;
	gap: 18px;
	grid-template-columns: minmax(0, 1.8fr) minmax(320px, 0.8fr);
}

.sm-map-card,
.sm-planner-card,
.sm-instructions,
.sm-form-card {
	background: #fff;
	border: 1px solid var(--sm-border);
	border-radius: 10px;
	box-shadow: 0 10px 28px rgba(16,34,53,0.07);
}

.sm-map-card {
	isolation: isolate;
	overflow: hidden;
}

.sm-map-toolbar {
	align-items: center;
	background: var(--sm-navy);
	color: #fff;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	min-height: 58px;
	padding: 10px 13px 10px 17px;
}

.sm-map-title {
	font-size: 14px;
	font-weight: 800;
	line-height: 1.25;
}

.sm-map-title small {
	color: rgba(255,255,255,0.6);
	display: block;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	margin-top: 3px;
	text-transform: uppercase;
}

.sm-jump-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: flex-end;
}

.sm-jump-button {
	background: rgba(255,255,255,0.1);
	border: 1px solid rgba(255,255,255,0.28);
	border-radius: 6px;
	color: #fff;
	cursor: pointer;
	font-size: 11px;
	font-weight: 800;
	min-height: 34px;
	padding: 7px 10px;
}

.sm-jump-button:hover,
.sm-jump-button:focus-visible {
	background: var(--sm-yellow);
	border-color: var(--sm-yellow);
	color: var(--sm-navy);
}

.sm-map-search {
	background: #f3f7fa;
	border-bottom: 1px solid var(--sm-border);
	padding: 10px 14px;
	position: relative;
	z-index: 120;
}

.sm-map-search > label {
	color: var(--sm-navy);
	display: block;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.035em;
	margin-bottom: 5px;
	text-transform: uppercase;
}

.sm-map-search-control {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
}

.sm-map-search-control input,
.sm-map-search-control button {
	border: 1px solid #9eb0bf;
	box-sizing: border-box;
	font: inherit;
	min-height: 42px;
}

.sm-map-search-control input {
	border-radius: 7px 0 0 7px;
	color: var(--sm-navy);
	font-size: 14px;
	min-width: 0;
	padding: 9px 12px;
}

.sm-map-search-control button {
	background: var(--sm-blue);
	border-color: var(--sm-blue);
	border-radius: 0 7px 7px 0;
	color: #fff;
	cursor: pointer;
	font-size: 12px;
	font-weight: 800;
	padding: 8px 17px;
}

.sm-map-search-control input:focus,
.sm-map-search-control button:focus-visible {
	box-shadow: 0 0 0 3px rgba(255,236,86,0.7);
	outline: 2px solid var(--sm-blue);
	outline-offset: 1px;
}

.sm-map-search-status {
	color: var(--sm-muted);
	font-size: 10px;
	line-height: 1.35;
	margin-top: 5px;
}

.sm-map-search-results {
	background: #fff;
	border: 1px solid #9eb0bf;
	border-radius: 0 0 7px 7px;
	box-shadow: 0 12px 24px rgba(16,34,53,0.22);
	left: 14px;
	max-height: 260px;
	overflow-y: auto;
	position: absolute;
	right: 14px;
	top: calc(100% - 16px);
	z-index: 130;
}

.sm-map-search-result {
	background: #fff;
	border: 0;
	border-bottom: 1px solid #e1e8ed;
	color: var(--sm-navy);
	cursor: pointer;
	display: block;
	font-size: 12px;
	line-height: 1.4;
	padding: 11px 12px;
	text-align: left;
	width: 100%;
}

.sm-map-search-result:last-child {
	border-bottom: 0;
}

.sm-map-search-result:hover,
.sm-map-search-result:focus-visible,
.sm-map-search-result[aria-selected="true"] {
	background: var(--sm-yellow-soft);
	outline: 0;
}

.sm-map-wrap {
	background: var(--sm-navy);
	height: 610px;
	isolation: isolate;
	overflow: hidden;
	position: relative;
}

#service-map {
	height: 100%;
	width: 100%;
}

.sm-map-loading {
	align-items: center;
	background: var(--sm-navy);
	color: #fff;
	display: flex;
	font-size: 14px;
	font-weight: 800;
	gap: 10px;
	inset: 0;
	justify-content: center;
	position: absolute;
	z-index: 5;
}

.sm-map-loading::before {
	animation: sm-spin 0.8s linear infinite;
	border: 3px solid rgba(255,255,255,0.25);
	border-radius: 50%;
	border-top-color: var(--sm-yellow);
	content: "";
	height: 24px;
	width: 24px;
}

@keyframes sm-spin {
	to { transform: rotate(360deg); }
}

.sm-map-status {
	background: rgba(16,34,53,0.94);
	border: 1px solid rgba(255,255,255,0.24);
	border-left: 5px solid var(--sm-yellow);
	border-radius: 8px;
	box-shadow: 0 8px 22px rgba(0,0,0,0.2);
	color: #fff;
	left: 12px;
	max-width: calc(100% - 24px);
	padding: 12px 14px;
	pointer-events: none;
	position: absolute;
	top: 12px;
	z-index: 4;
}

.sm-map-status strong {
	display: block;
	font-size: 13px;
	line-height: 1.3;
}

.sm-map-status span {
	color: rgba(255,255,255,0.74);
	display: block;
	font-size: 11px;
	line-height: 1.35;
	margin-top: 3px;
}

.sm-layer-controls {
	background: rgba(16,34,53,0.93);
	border: 1px solid rgba(255,255,255,0.32);
	border-radius: 7px;
	display: flex;
	gap: 3px;
	padding: 4px;
	position: absolute;
	right: 10px;
	top: 52px;
	z-index: 115;
}

.sm-layer-controls button,
.sm-full-view-role-controls button {
	background: rgba(255,255,255,0.1);
	border: 1px solid transparent;
	border-radius: 4px;
	color: #fff;
	cursor: pointer;
	font-size: 10px;
	font-weight: 900;
	min-height: 30px;
	padding: 6px 8px;
}

.sm-layer-controls button[aria-pressed="true"],
.sm-full-view-role-controls button[aria-pressed="true"] {
	background: var(--sm-yellow);
	color: var(--sm-navy);
}

.sm-layer-controls button:focus-visible,
.sm-full-view-role-controls button:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.sm-full-view-role-controls {
	background: rgba(16,34,53,0.94);
	border: 1px solid rgba(255,255,255,0.3);
	border-radius: 8px;
	bottom: 44px;
	display: flex;
	gap: 4px;
	left: 50%;
	padding: 5px;
	position: absolute;
	transform: translateX(-50%);
	z-index: 115;
}

.sm-map-watermark {
	background: rgba(0,0,0,0.22);
	border-radius: 6px;
	bottom: 34px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.28);
	display: block;
	height: auto;
	opacity: 0.42;
	padding: 7px 8px;
	pointer-events: none;
	position: absolute;
	right: 14px;
	user-select: none;
	width: clamp(112px, 16vw, 190px);
	z-index: 100;
}

.sm-map-footer {
	align-items: flex-start;
	background: #fff;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 13px 16px;
}

.sm-map-footer p {
	color: var(--sm-muted);
	font-size: 12px;
	line-height: 1.45;
	margin: 0;
}

.sm-map-footer strong {
	color: var(--sm-blue);
}

.sm-map-data-badge {
	background: var(--sm-yellow-soft);
	border: 1px solid #ead74c;
	border-radius: 999px;
	color: var(--sm-blue);
	flex: 0 0 auto;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.045em;
	padding: 6px 9px;
	text-transform: uppercase;
}

.sm-map-legend {
	align-items: center;
	border-top: 1px solid var(--sm-border);
	color: var(--sm-blue);
	display: flex;
	flex-wrap: wrap;
	font-size: 10px;
	font-weight: 800;
	gap: 8px;
	justify-content: flex-start;
	padding-top: 10px;
	text-transform: uppercase;
	width: 100%;
}

.sm-map-legend span {
	align-items: center;
	display: inline-flex;
	gap: 4px;
}

.sm-legend-dot {
	background: var(--sm-yellow);
	border: 1px solid var(--sm-navy);
	border-radius: 50%;
	display: inline-block;
	height: 8px;
	width: 8px;
}

.sm-legend-dot.qsi {
	background: #f58220;
}

.sm-legend-line {
	background: var(--sm-blue);
	display: inline-block;
	height: 2px;
	width: 18px;
}

.sm-legend-area {
	background: rgba(66,220,135,0.36);
	border: 1px dashed #21a860;
	display: inline-block;
	height: 8px;
	width: 13px;
}

.sm-legend-line.state {
	background: var(--sm-yellow);
	box-shadow: 0 0 0 1px rgba(16,34,53,0.34);
}

.sm-legend-line.coast {
	background: #79bce4;
}

.sm-legend-line.county {
	background: repeating-linear-gradient(90deg, #7db5e5 0 5px, transparent 5px 8px);
}

.sm-legend-line.city {
	background: repeating-linear-gradient(90deg, #7a8794 0 3px, transparent 3px 6px);
}

.sm-pop-popup {
	display: grid;
	gap: 2px;
	min-width: 150px;
	padding: 2px 3px;
}

.sm-pop-popup strong {
	color: var(--sm-navy);
	font-size: 13px;
	line-height: 1.25;
}

.sm-pop-popup span {
	color: var(--sm-blue);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.sm-pop-popup small {
	color: #b84f00;
	font-size: 10px;
	font-weight: 700;
}

.sm-pop-popup ul {
	color: var(--sm-navy);
	display: grid;
	font-size: 11px;
	gap: 3px;
	line-height: 1.25;
	list-style: disc;
	margin: 4px 0 0 16px;
	max-height: 180px;
	overflow-y: auto;
	padding: 0 4px 0 0;
}

.sm-pop-use-button {
	background: var(--sm-yellow);
	border: 1px solid #d2bc14;
	border-radius: 5px;
	color: var(--sm-navy);
	cursor: pointer;
	font-size: 11px;
	font-weight: 800;
	margin-top: 6px;
	padding: 7px 9px;
	text-align: left;
}

.sm-pop-use-button:focus-visible,
.sm-pop-use-button:hover {
	background: #fff5a5;
	outline: 2px solid var(--sm-blue);
	outline-offset: 1px;
}

.sm-center-placement {
	margin-top: 10px;
	width: 100%;
}

.sm-availability-status {
	background: rgba(255,255,255,0.14);
	border-radius: 5px;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.35;
	margin-top: 9px;
	padding: 7px 8px;
}

.sm-source-card {
	background: #eef5fb;
	border: 1px solid #b8cfe1;
	border-radius: 8px;
	display: grid;
	gap: 4px;
	margin-bottom: 14px;
	padding: 12px;
}

.sm-source-card strong {
	color: var(--sm-blue);
	font-size: 10px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.sm-source-card span {
	color: var(--sm-navy);
	font-size: 14px;
	font-weight: 900;
}

.sm-source-card small {
	color: var(--sm-muted);
	font-size: 10px;
	line-height: 1.4;
}

.sm-source-options {
	background: #f5f8fa;
	border: 1px solid #d4e0e8;
	border-radius: 8px;
	padding: 12px;
}

.sm-inline-check {
	align-items: flex-start;
	color: var(--sm-navy);
	display: flex !important;
	font-size: 12px !important;
	font-weight: 800 !important;
	gap: 8px;
	line-height: 1.4;
}

.sm-inline-check input[type="checkbox"] {
	flex: 0 0 auto;
	height: 17px;
	margin: 1px 0 0;
	min-height: 17px;
	padding: 0;
	width: 17px;
}

.sm-source-option-grid {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 10px;
}

.sm-source-option-grid label {
	color: var(--sm-blue);
	font-size: 11px;
	font-weight: 800;
}

.sm-source-option-grid input,
.sm-source-option-grid select {
	background: #fff;
	border: 1px solid #aebdca;
	border-radius: 6px;
	box-sizing: border-box;
	color: var(--sm-navy);
	display: block;
	font: inherit;
	margin-top: 5px;
	min-height: 40px;
	padding: 7px 9px;
	width: 100%;
}

body.sm-service-map-open {
	overflow: hidden;
}

#service-map-shell.is-full-view,
#service-map-shell:fullscreen {
	background: #fff;
	border: 0;
	border-radius: 0;
	display: grid;
	grid-template-rows: auto auto minmax(0, 1fr) auto;
	height: 100dvh;
	inset: 0;
	margin: 0;
	max-width: none;
	position: fixed;
	width: 100vw;
	z-index: 10000;
}

#service-map-shell:fullscreen {
	position: relative;
}

#service-map-shell.is-full-view .sm-map-wrap,
#service-map-shell:fullscreen .sm-map-wrap {
	height: auto;
	min-height: 0;
}

#service-map-shell.is-full-view .sm-map-watermark,
#service-map-shell:fullscreen .sm-map-watermark {
	bottom: 40px;
	opacity: 0.4;
	right: 16px;
	width: clamp(128px, 18vw, 220px);
}

#service-map-shell.is-full-view .sm-full-view-role-controls,
#service-map-shell:fullscreen .sm-full-view-role-controls {
	display: flex;
}

#service-map .mapboxgl-ctrl-attrib[role="button"]:focus-visible {
	box-shadow: 0 0 0 3px var(--sm-yellow);
	outline: 2px solid var(--sm-navy);
	outline-offset: 1px;
}

#service-map .mapboxgl-ctrl-attrib.mapboxgl-compact:focus,
#service-map .mapboxgl-ctrl-attrib.mapboxgl-compact.sm-attribution-open {
	margin-top: 6px;
	padding: 2px 24px 2px 4px;
	visibility: visible;
}

#service-map .mapboxgl-ctrl-attrib.mapboxgl-compact:focus .mapboxgl-ctrl-attrib-inner,
#service-map .mapboxgl-ctrl-attrib.mapboxgl-compact.sm-attribution-open .mapboxgl-ctrl-attrib-inner {
	display: block;
}

.sm-planner-card {
	align-self: start;
	overflow: hidden;
	position: sticky;
	top: 18px;
}

.sm-planner-heading {
	background: var(--sm-blue);
	color: #fff;
	padding: 18px 20px;
}

.sm-step-label {
	color: var(--sm-yellow);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.sm-planner-heading h3 {
	color: #fff;
	font-size: 21px;
	line-height: 1.2;
	margin: 5px 0 0;
}

.sm-planner-body {
	padding: 18px;
}

.sm-territory-card {
	background: #eef3f7;
	border: 1px solid #cad6e0;
	border-radius: 8px;
	margin-bottom: 16px;
	padding: 14px;
}

.sm-territory-card[data-state="native"] {
	background: var(--sm-yellow-soft);
	border-color: #e0ca2c;
}

.sm-territory-card[data-state="custom"] {
	background: var(--sm-navy);
	border-color: var(--sm-navy);
}

.sm-territory-title {
	align-items: center;
	color: var(--sm-blue);
	display: flex;
	font-size: 15px;
	font-weight: 800;
	gap: 8px;
	line-height: 1.3;
}

.sm-territory-card[data-state="custom"] .sm-territory-title,
.sm-territory-card[data-state="custom"] p {
	color: #fff;
}

.sm-territory-title .sm-bolt {
	height: 24px;
	width: 24px;
}

.sm-territory-card p {
	color: var(--sm-muted);
	font-size: 12px;
	line-height: 1.45;
	margin: 7px 0 0;
}

.sm-minimum {
	background: var(--sm-yellow);
	border-radius: 6px;
	color: var(--sm-navy);
	display: inline-block;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.025em;
	margin-top: 10px;
	padding: 7px 9px;
	text-transform: uppercase;
}

.sm-placement-help {
	color: var(--sm-muted);
	font-size: 13px;
	line-height: 1.5;
	margin: 0 0 13px;
}

.sm-placement-actions {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-bottom: 16px;
}

.sm-placement-button,
.sm-convert-button {
	background: #fff;
	border: 1px solid #aebdca;
	border-radius: 7px;
	color: var(--sm-blue);
	cursor: pointer;
	font-size: 13px;
	font-weight: 800;
	min-height: 42px;
	padding: 9px 11px;
}

.sm-placement-button[aria-pressed="true"],
.sm-placement-button:hover,
.sm-placement-button:focus-visible {
	background: var(--sm-yellow);
	border-color: var(--sm-blue);
}

.sm-placement-button.sm-clear-button {
	color: #6c3740;
}

.sm-multi-branch-actions {
	display: grid;
	gap: 8px;
	grid-template-columns: 1fr 1fr;
	margin: 0 0 8px;
}

.sm-add-branch,
.sm-remove-branch {
	background: var(--sm-blue);
	border: 1px solid var(--sm-blue);
	border-radius: 7px;
	color: #fff;
	cursor: pointer;
	font-size: 12px;
	font-weight: 800;
	min-height: 40px;
	padding: 8px 10px;
}

.sm-remove-branch {
	background: #fff;
	border-color: #aebdca;
	color: #6c3740;
}

.sm-add-branch:disabled,
.sm-remove-branch:disabled {
	cursor: not-allowed;
	opacity: 0.5;
}

.sm-multi-note,
.sm-location-note {
	color: var(--sm-muted);
	font-size: 12px;
	line-height: 1.45;
}

.sm-multi-note {
	margin: 0 0 15px;
}

.sm-location-note {
	background: #eef3f7;
	border-left: 4px solid var(--sm-yellow);
	border-radius: 6px;
	margin: 0 0 17px;
	padding: 10px 12px;
}

.sm-endpoint-list {
	border-top: 1px solid var(--sm-border);
	display: grid;
	gap: 10px;
	padding-top: 15px;
}

.sm-endpoint {
	align-items: center;
	display: grid;
	gap: 10px;
	grid-template-columns: 30px 1fr;
}

.sm-endpoint-token {
	align-items: center;
	background: var(--sm-yellow);
	border: 2px solid var(--sm-navy);
	border-radius: 50%;
	color: var(--sm-navy);
	display: flex;
	font-size: 11px;
	font-weight: 900;
	height: 30px;
	justify-content: center;
	width: 30px;
}

.sm-endpoint strong {
	color: var(--sm-blue);
	display: block;
	font-size: 12px;
	line-height: 1.3;
}

.sm-endpoint code {
	color: var(--sm-muted);
	display: block;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 11px;
	line-height: 1.4;
	margin-top: 2px;
	word-break: break-word;
}

.sm-endpoint small {
	color: #65798a;
	display: block;
	font-size: 9px;
	line-height: 1.35;
	margin-top: 3px;
}

.sm-outside-home {
	background: #fff5e9;
	border: 1px solid #e8b46e;
	border-radius: 8px;
	margin-top: 15px;
	padding: 14px;
}

.sm-outside-home strong {
	color: #693b0e;
	display: block;
	font-size: 13px;
	line-height: 1.4;
}

.sm-outside-home p {
	color: #74502e;
	font-size: 12px;
	line-height: 1.45;
	margin: 6px 0 11px;
}

.sm-convert-actions {
	display: grid;
	gap: 7px;
}

.sm-convert-button {
	background: var(--sm-blue);
	border-color: var(--sm-blue);
	color: #fff;
	font-size: 12px;
}

.sm-convert-button:last-child {
	background: #fff;
	color: var(--sm-blue);
}

.sm-instructions {
	display: grid;
	gap: 28px;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
	margin-top: 20px;
	padding: 26px;
}

.sm-instructions h2 {
	font-size: 25px;
}

.sm-instruction-list {
	counter-reset: sm-steps;
	display: grid;
	gap: 13px 18px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
}

.sm-instruction-list li {
	color: #40566b;
	counter-increment: sm-steps;
	font-size: 13px;
	line-height: 1.5;
	min-height: 34px;
	padding-left: 42px;
	position: relative;
}

.sm-instruction-list li::before {
	align-items: center;
	background: var(--sm-blue);
	border-radius: 50%;
	color: var(--sm-yellow);
	content: counter(sm-steps);
	display: flex;
	font-size: 12px;
	font-weight: 900;
	height: 30px;
	justify-content: center;
	left: 0;
	position: absolute;
	top: 0;
	width: 30px;
}

.sm-disclosure {
	background: var(--sm-navy);
	border-radius: 8px;
	padding: 20px;
}

.sm-disclosure strong {
	color: var(--sm-yellow);
	display: block;
	font-size: 13px;
	letter-spacing: 0.04em;
	margin-bottom: 8px;
	text-transform: uppercase;
}

.sm-disclosure p {
	color: rgba(255,255,255,0.78);
	font-size: 12px;
	line-height: 1.55;
	margin: 0;
}

.sm-form-section {
	background: #fff;
	padding: 70px 24px 82px;
}

.sm-form-heading {
	display: flex;
	gap: 18px;
	justify-content: space-between;
	margin-bottom: 24px;
}

.sm-form-heading-copy {
	max-width: 780px;
}

.sm-form-map-summary {
	align-self: flex-start;
	background: var(--sm-yellow-soft);
	border: 1px solid #e1ce35;
	border-radius: 8px;
	color: var(--sm-blue);
	font-size: 12px;
	font-weight: 800;
	line-height: 1.4;
	max-width: 260px;
	padding: 12px 14px;
}

.sm-form-card {
	overflow: hidden;
}

.sm-form-block {
	border-bottom: 1px solid var(--sm-border);
	padding: 26px;
}

.sm-form-block:last-of-type {
	border-bottom: 0;
}

.sm-form-block h3 {
	align-items: center;
	color: var(--sm-blue);
	display: flex;
	font-size: 20px;
	gap: 10px;
	margin: 0 0 19px;
}

.sm-form-number {
	align-items: center;
	background: var(--sm-blue);
	border-radius: 50%;
	color: var(--sm-yellow);
	display: inline-flex;
	font-size: 11px;
	font-weight: 900;
	height: 28px;
	justify-content: center;
	width: 28px;
}

.sm-field-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sm-field-grid.sm-three-columns {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sm-field.sm-full {
	grid-column: 1 / -1;
}

.sm-field label,
.sm-field legend {
	color: var(--sm-blue);
	display: block;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.35;
	margin-bottom: 7px;
}

.sm-optional {
	color: #718294;
	font-weight: 500;
}

.sm-field input,
.sm-field select,
.sm-field textarea {
	background: #fff;
	border: 1px solid #bfcbd6;
	border-radius: 7px;
	color: var(--sm-ink);
	font-family: Helvetica, Arial, sans-serif;
	font-size: 15px;
	min-height: 46px;
	padding: 10px 11px;
	width: 100%;
}

.sm-field input:focus,
.sm-field select:focus,
.sm-field textarea:focus {
	border-color: var(--sm-blue);
	box-shadow: 0 0 0 3px rgba(29,57,84,0.14);
	outline: none;
}

.sm-field input[aria-invalid="true"],
.sm-field select[aria-invalid="true"],
.sm-field textarea[aria-invalid="true"] {
	border-color: #a84430;
}

.sm-field textarea {
	line-height: 1.5;
	min-height: 116px;
	resize: vertical;
}

.sm-field small {
	color: #718294;
	display: block;
	font-size: 11px;
	line-height: 1.45;
	margin-top: 5px;
}

.sm-choice-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.sm-choice-pill {
	position: relative;
}

.sm-choice-pill input {
	height: 1px;
	opacity: 0;
	position: absolute;
	width: 1px;
}

.sm-choice-pill span {
	align-items: center;
	background: #fff;
	border: 1px solid #bfcbd6;
	border-radius: 999px;
	color: var(--sm-blue);
	cursor: pointer;
	display: inline-flex;
	font-size: 12px;
	font-weight: 800;
	min-height: 38px;
	padding: 8px 13px;
}

.sm-choice-pill input:checked + span {
	background: var(--sm-yellow);
	border-color: var(--sm-blue);
}

.sm-choice-pill input:focus-visible + span {
	box-shadow: 0 0 0 3px rgba(29,57,84,0.2);
}

.sm-native-note,
.sm-enterprise-minimum-note {
	border-radius: 7px;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.45;
	margin-bottom: 17px;
	padding: 11px 13px;
}

.sm-native-note {
	background: var(--sm-yellow-soft);
	border: 1px solid #dfcd3e;
	color: var(--sm-blue);
}

.sm-enterprise-minimum-note {
	background: var(--sm-navy);
	border-left: 5px solid var(--sm-yellow);
	color: #fff;
}

.sm-submit-area {
	background: #f7f9fb;
	padding: 25px 26px 28px;
}

.sm-agreement {
	align-items: flex-start;
	color: #40566b;
	display: flex;
	font-size: 13px;
	line-height: 1.5;
	margin-bottom: 18px;
}

.sm-agreement input {
	flex: 0 0 auto;
	height: 18px;
	margin: 2px 10px 0 0;
	width: 18px;
}

.sm-submit-row {
	align-items: center;
	display: flex;
	gap: 16px;
	justify-content: space-between;
}

.sm-submit-button {
	align-items: center;
	background: var(--sm-blue);
	border: 0;
	border-radius: 8px;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-size: 16px;
	font-weight: 800;
	justify-content: center;
	min-height: 50px;
	padding: 12px 23px;
}

.sm-submit-button:hover,
.sm-submit-button:focus-visible {
	background: var(--sm-navy);
	box-shadow: 0 0 0 3px rgba(255,236,86,0.55);
}

.sm-submit-button:disabled {
	cursor: wait;
	opacity: 0.65;
}

.sm-submit-note {
	color: var(--sm-muted);
	font-size: 11px;
	line-height: 1.45;
	max-width: 430px;
	text-align: right;
}

.sm-alert {
	border-radius: 8px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
	margin: 0 26px 20px;
	padding: 15px 17px;
}

.sm-alert:focus {
	outline: 3px solid rgba(29,57,84,0.2);
}

.sm-alert.sm-error {
	background: #fff0eb;
	border: 1px solid #e2a18e;
	color: #7c2f1e;
}

.sm-alert.sm-success {
	background: #e8f5ef;
	border: 1px solid #89c8ac;
	color: #174b35;
}

.sm-alert ul {
	margin: 7px 0 0;
	padding-left: 18px;
}

.sm-bot-field {
	height: 1px;
	left: -10000px;
	overflow: hidden;
	position: absolute;
	top: auto;
	width: 1px;
}

.sm-marker {
	align-items: center;
	background: var(--sm-yellow);
	border: 3px solid var(--sm-navy);
	border-radius: 50% 50% 50% 0;
	box-shadow: 0 5px 14px rgba(0,0,0,0.35);
	color: var(--sm-navy);
	cursor: grab;
	display: flex;
	font-size: 12px;
	font-weight: 900;
	height: 38px;
	justify-content: center;
	transform: rotate(-45deg);
	width: 38px;
}

.sm-marker span {
	display: block;
	transform: rotate(45deg);
}

.sm-marker:active {
	cursor: grabbing;
}

.sm-page .mapboxgl-canvas:focus {
	outline: 3px solid var(--sm-yellow);
	outline-offset: -3px;
}

.sm-page .mapboxgl-ctrl-group {
	background: var(--sm-yellow);
	border-radius: 7px;
	overflow: hidden;
}

.sm-page .mapboxgl-ctrl-group button {
	background-color: var(--sm-yellow);
}

.sm-page .mapboxgl-ctrl-group button:hover {
	background-color: #fff7a7;
}

.sm-page .mapboxgl-ctrl-attrib {
	color: #1d3954;
	font-size: 10px;
}

@media (max-width: 980px) {
	.sm-workspace,
	.sm-instructions {
		grid-template-columns: 1fr;
	}

	.sm-planner-card {
		position: static;
	}

	.sm-map-card {
		order: 2;
	}

	.sm-planner-card {
		order: 1;
	}

	.sm-proof-row,
	.sm-field-grid.sm-three-columns {
		grid-template-columns: 1fr;
	}

	.sm-instruction-list {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 720px) {
	.sm-hero {
		min-height: 520px;
		padding: 190px 20px 58px;
	}

	.sm-hero p {
		font-size: 17px;
	}

	.sm-proof-row,
	.sm-mode-grid,
	.sm-field-grid,
	.sm-field-grid.sm-three-columns {
		grid-template-columns: 1fr;
	}

	.sm-builder-section,
	.sm-form-section {
		padding-left: 14px;
		padding-right: 14px;
	}

	.sm-map-toolbar {
		align-items: flex-start;
		flex-direction: column;
	}

	.sm-jump-buttons {
		justify-content: flex-start;
	}

	.sm-map-wrap {
		height: 470px;
	}

	.sm-map-search-control button {
		padding-left: 12px;
		padding-right: 12px;
	}

	.sm-layer-controls {
		right: 8px;
		top: 50px;
	}

	.sm-map-watermark {
		bottom: 34px;
		right: 9px;
		width: 112px;
	}

	.sm-source-option-grid {
		grid-template-columns: 1fr;
	}

	.sm-map-footer,
	.sm-form-heading,
	.sm-submit-row {
		align-items: flex-start;
		flex-direction: column;
	}

	.sm-map-data-badge,
	.sm-form-map-summary {
		max-width: 100%;
	}

	.sm-instructions,
	.sm-form-block,
	.sm-submit-area {
		padding: 20px;
	}

	.sm-submit-note {
		text-align: left;
	}

	.sm-submit-button {
		width: 100%;
	}

	.sm-field.sm-full {
		grid-column: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sm-mode-card,
	.sm-map-loading::before {
		animation: none;
		transition: none;
	}
}
