.swc-shell,
.swc-shell * {
	box-sizing: border-box;
}

.swc-shell {
	--swc-green: #245c4f;
	--swc-green-dark: #173f36;
	--swc-green-soft: #e8f1ed;
	--swc-gold: #d9ac4b;
	--swc-sand: #f6f3eb;
	--swc-ink: #18332e;
	--swc-muted: #5c6f69;
	--swc-border: #cbd8d3;
	--swc-error: #9c2f2f;
	color: var(--swc-ink);
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.6;
	margin-block: clamp(1.5rem, 4vw, 3.5rem);
	max-width: 1180px;
	padding-inline: clamp(1rem, 4vw, 2rem);
	width: 100%;
}

.swc-shell h2,
.swc-shell h3,
.swc-shell p {
	color: inherit;
}

.swc-shell h2 {
	font-size: clamp(1.8rem, 4vw, 3rem);
	line-height: 1.15;
	margin: 0 0 1.25rem;
}

.swc-shell h3 {
	font-size: 1.25rem;
	line-height: 1.25;
	margin: 0 0 .75rem;
}

.swc-dashboard {
	max-width: none;
}

.swc-card,
.swc-route-card,
.swc-stat,
.swc-empty,
.swc-comment__body,
.swc-login-prompt {
	background: #fff;
	border: 1px solid var(--swc-border);
	border-radius: 18px;
	box-shadow: 0 8px 28px rgba(24, 51, 46, .07);
	padding: clamp(1rem, 3vw, 1.5rem);
}

.swc-button-row {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
}

.swc-button,
.swc-shell button,
.swc-shell input,
.swc-shell select,
.swc-shell textarea {
	font: inherit;
}

.swc-button,
.swc-shell input[type="submit"] {
	align-items: center;
	background: var(--swc-green);
	border: 2px solid var(--swc-green);
	border-radius: 999px;
	color: #fff !important;
	cursor: pointer;
	display: inline-flex;
	font-weight: 700;
	justify-content: center;
	min-height: 46px;
	padding: .65rem 1.15rem;
	text-decoration: none !important;
	transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.swc-button:hover,
.swc-shell input[type="submit"]:hover {
	background: var(--swc-green-dark);
	border-color: var(--swc-green-dark);
}

.swc-button:focus-visible,
.swc-shell button:focus-visible,
.swc-shell a:focus-visible,
.swc-shell input:focus-visible,
.swc-shell select:focus-visible,
.swc-shell textarea:focus-visible {
	outline: 3px solid #d19b2b;
	outline-offset: 3px;
}

.swc-button:disabled,
.swc-shell button:disabled {
	cursor: not-allowed;
	opacity: .55;
}

.swc-button--secondary {
	background: transparent;
	color: var(--swc-green) !important;
}

.swc-button--text {
	background: transparent;
	border-color: transparent;
	color: var(--swc-green-dark) !important;
	text-decoration: underline !important;
}

.swc-route-button.is-active {
	background: var(--swc-green-soft);
	border-color: var(--swc-green);
	color: var(--swc-green-dark) !important;
}

.swc-heart-icon {
	fill: transparent;
	flex: 0 0 auto;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.swc-walker-icon {
	fill: none;
	flex: 0 0 auto;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.swc-route-button.is-active .swc-heart-icon {
	fill: currentColor;
}

.swc-route-actions--heart .swc-route-button--saved {
	padding-inline: .9rem 1.15rem;
}

.swc-card-save-wrap {
	height: 100%;
	min-width: 0;
	position: relative;
}

.swc-card-save-wrap > [data-swc-route-card] {
	height: 100%;
}

.swc-route-actions--card {
	position: absolute;
	right: .9rem;
	top: .9rem;
	z-index: 4;
}

.swc-route-button--heart {
	align-items: center;
	background: rgba(255, 255, 255, .96);
	border: 1px solid rgba(23, 63, 54, .24);
	border-radius: 999px;
	box-shadow: 0 5px 18px rgba(24, 51, 46, .18);
	color: var(--swc-green-dark, #173f36);
	cursor: pointer;
	display: inline-flex;
	height: 46px;
	justify-content: center;
	padding: 0;
	width: 46px;
}

.swc-route-button--heart:hover {
	background: #fff;
	color: #8a2d3c;
	transform: translateY(-1px);
}

.swc-route-button--heart:focus-visible {
	outline: 3px solid #d19b2b;
	outline-offset: 3px;
}

.swc-route-button--heart.is-active {
	background: #fff;
	border-color: #8a2d3c;
	color: #8a2d3c;
}

.swc-hero-controls {
	align-items: center;
	display: flex;
	gap: .5rem;
	justify-content: space-between;
	left: clamp(.75rem, 3vw, 2rem);
	position: absolute;
	right: clamp(.75rem, 3vw, 2rem);
	top: clamp(1rem, 3vw, 1.7rem);
	z-index: 12;
}

.swc-hero-controls .swc-hero-language {
	inset: auto !important;
	position: static !important;
}

.swc-route-hero {
	position: relative;
}

.swc-route-hero > [class*="-location"],
.swc-route-hero > .coordinates {
	display: none !important;
}

.swc-route-actions--hero.swc-shell {
	margin: 0;
	max-width: none;
	padding: 0;
	width: auto;
}

.swc-route-actions--hero .swc-button-row {
	flex-wrap: nowrap;
	gap: .45rem;
}

.swc-route-actions--hero .swc-route-button {
	background: rgba(18, 60, 58, .82);
	border-color: rgba(255, 255, 255, .55);
	color: #fff !important;
	height: 42px;
	min-height: 42px;
	padding: 0;
	width: 42px;
}

.swc-route-actions--hero .swc-route-button:hover,
.swc-route-actions--hero .swc-route-button.is-active {
	background: #fff;
	border-color: #fff;
	color: #173f36 !important;
}

.swc-route-actions--hero [data-swc-button-label] {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.swc-route-actions--hero .swc-live,
.swc-route-actions--hero .swc-live:not(:empty) {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	margin: 0;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.swc-route-actions--hero .swc-login-prompt {
	min-width: min(19rem, calc(100vw - 2rem));
	position: absolute;
	right: 0;
	top: calc(100% + .6rem);
}

@media (max-width: 520px) {
	.swc-hero-controls {
		gap: .35rem;
		justify-content: space-between;
		left: .75rem;
		right: .75rem;
		top: .8rem;
	}
	.swc-route-hero > [class*="-location"],
	.swc-route-hero > .coordinates {
		display: none !important;
	}
	.swc-route-actions--hero .swc-route-button {
		height: 40px;
		min-height: 40px;
		width: 40px;
	}
}

.swc-visually-hidden {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.swc-route-button.is-loading::after {
	animation: swc-spin .8s linear infinite;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	content: "";
	height: 1em;
	margin-left: .55rem;
	width: 1em;
}

.swc-account__grid,
.swc-route-grid {
	display: grid;
	gap: 1rem;
}

.swc-oauth {
	margin-bottom: 1rem;
}

.swc-oauth__buttons {
	display: grid;
	gap: .7rem;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.swc-oauth-button {
	align-items: center;
	border: 1px solid var(--swc-border);
	border-radius: 12px;
	display: inline-flex;
	font-weight: 700;
	gap: .65rem;
	justify-content: center;
	min-height: 48px;
	padding: .7rem 1rem;
	text-decoration: none !important;
}

.swc-oauth-button span {
	font-size: 1.2rem;
	font-weight: 800;
}

.swc-oauth-button--apple {
	background: #000;
	border-color: #000;
	color: #fff !important;
}

.swc-oauth-button--google {
	background: #fff;
	color: #1f1f1f !important;
}

.swc-oauth-button--facebook {
	background: #1877f2;
	border-color: #1877f2;
	color: #fff !important;
}

.swc-oauth__privacy {
	color: var(--swc-muted);
	font-size: .84rem;
	margin: .8rem 0 0;
	text-align: center;
}

.swc-oauth__divider {
	align-items: center;
	color: var(--swc-muted);
	display: flex;
	font-size: .85rem;
	gap: 1rem;
	justify-content: center;
	margin: 1rem 0;
}

.swc-oauth__divider::before,
.swc-oauth__divider::after {
	background: var(--swc-border);
	content: "";
	flex: 1;
	height: 1px;
}

.swc-form {
	display: grid;
	gap: .55rem;
}

.swc-form input,
.swc-form select,
.swc-form textarea,
.swc-route-card input[type="date"],
.swc-comments select,
.swc-comments textarea {
	background: #fff;
	border: 1px solid #82968f;
	border-radius: 10px;
	color: var(--swc-ink);
	max-width: 100%;
	min-height: 46px;
	padding: .65rem .75rem;
	width: 100%;
}

.swc-form label,
.swc-route-card label,
.swc-comments label {
	font-weight: 700;
}

.swc-honeypot {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.swc-notice,
.swc-live:not(:empty) {
	background: var(--swc-green-soft);
	border-left: 4px solid var(--swc-green);
	border-radius: 8px;
	margin-block: 1rem;
	padding: .85rem 1rem;
}

.swc-notice--error,
.swc-live--error {
	background: #f9eaea !important;
	border-color: var(--swc-error) !important;
	color: #6f2020;
}

.swc-login-prompt {
	margin-top: 1rem;
}

.swc-details > div {
	border-bottom: 1px solid var(--swc-border);
	display: grid;
	gap: .25rem;
	grid-template-columns: minmax(9rem, .5fr) 1fr;
	padding-block: .65rem;
}

.swc-details dt {
	font-weight: 700;
}

.swc-details dd {
	margin: 0;
	overflow-wrap: anywhere;
}

.swc-account__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.swc-eyebrow {
	color: var(--swc-green);
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .13em;
	margin-bottom: .5rem;
	text-transform: uppercase;
}

.swc-stats {
	display: grid;
	gap: .75rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-block: 1.5rem;
}

.swc-stat strong,
.swc-stat span {
	display: block;
}

.swc-badges {
	margin: 0;
}

.swc-badges__heading {
	align-items: end;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	margin-bottom: .8rem;
}

.swc-badges__heading h3,
.swc-badges__heading p {
	margin: 0;
}

.swc-badges__heading > p {
	color: var(--swc-muted);
	font-size: .9rem;
	max-width: 25rem;
	text-align: right;
}

.swc-badge-grid {
	display: grid;
	gap: .7rem;
}

.swc-achievement {
	align-items: center;
	background: #fff;
	border: 1px solid var(--swc-border);
	border-radius: 16px;
	display: flex;
	gap: .85rem;
	min-width: 0;
	padding: .85rem;
}

.swc-achievement__emblem {
	align-items: center;
	background: var(--swc-green);
	border: 3px solid #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 2px var(--swc-gold);
	color: #fff;
	display: flex;
	flex: 0 0 54px;
	height: 54px;
	justify-content: center;
}

.swc-achievement__copy {
	min-width: 0;
	width: 100%;
}

.swc-achievement__title {
	align-items: center;
	display: flex;
	gap: .45rem;
	justify-content: space-between;
}

.swc-achievement__title h4 {
	font-size: 1rem;
	line-height: 1.2;
	margin: 0;
}

.swc-achievement__title span {
	background: var(--swc-green-soft);
	border-radius: 999px;
	color: var(--swc-green-dark);
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .04em;
	padding: .12rem .42rem;
	text-transform: uppercase;
}

.swc-achievement__copy p {
	color: var(--swc-muted);
	font-size: .8rem;
	line-height: 1.35;
	margin: .25rem 0 .5rem;
}

.swc-achievement__progress {
	background: #e4e9e7;
	border-radius: 999px;
	height: 5px;
	overflow: hidden;
}

.swc-achievement__progress span {
	background: var(--swc-gold);
	border-radius: inherit;
	display: block;
	height: 100%;
}

.swc-achievement small {
	color: var(--swc-muted);
	display: block;
	font-size: .72rem;
	margin-top: .25rem;
}

.swc-achievement.is-locked {
	background: #f5f6f5;
}

.swc-achievement.is-locked .swc-achievement__emblem {
	background: #dfe5e2;
	box-shadow: 0 0 0 1px #c8d1cd;
	color: #72817c;
}

.swc-stat strong {
	font-size: clamp(1.6rem, 5vw, 2.4rem);
	line-height: 1;
}

.swc-stat span {
	color: var(--swc-muted);
	font-size: .88rem;
	margin-top: .45rem;
}

.swc-tabs {
	border-bottom: 1px solid var(--swc-border);
	display: flex;
	gap: .25rem;
	overflow-x: auto;
	padding-bottom: 1px;
}

.swc-tabs [role="tab"] {
	background: transparent;
	border: 0;
	border-bottom: 3px solid transparent;
	color: var(--swc-muted);
	cursor: pointer;
	font-weight: 700;
	min-height: 46px;
	padding: .7rem .9rem;
	white-space: nowrap;
}

.swc-tabs [aria-selected="true"] {
	border-bottom-color: var(--swc-green);
	color: var(--swc-green-dark);
}

.swc-tab-panel {
	padding-top: 1.25rem;
}

.swc-tab-panel[hidden] {
	display: none;
}

.swc-route-card {
	display: grid;
	grid-template-rows: auto 1fr;
	overflow: hidden;
	padding: 0;
}

.swc-route-card > img {
	aspect-ratio: 16 / 10;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.swc-route-card__body {
	display: flex;
	flex-direction: column;
	padding: 1.1rem;
}

.swc-route-card__body > h3 {
	margin: 0 0 .45rem;
}

.swc-route-card__location {
	color: var(--swc-muted);
	font-size: .95rem;
	margin: 0 0 .35rem;
}

.swc-route-card .swc-route-meta {
	margin: 0 0 .75rem;
}

.swc-route-card .swc-button-row {
	align-items: flex-start;
	flex-direction: column;
	margin-top: auto;
}

.swc-route-meta {
	color: var(--swc-muted);
	display: flex;
	flex-wrap: wrap;
	font-size: .9rem;
	gap: .4rem 1rem;
	list-style: none;
	margin: .75rem 0 1rem;
	padding: 0;
}

.swc-comment-list {
	display: grid;
	gap: 1rem;
	list-style: none;
	margin: 1rem 0;
	padding: 0;
}

.swc-comment-list .children {
	list-style: none;
	margin: 1rem 0 0 clamp(.75rem, 4vw, 2rem);
}

.swc-comment__header {
	align-items: center;
	display: grid;
	gap: .75rem;
	grid-template-columns: auto 1fr auto;
}

.swc-comment__avatar {
	border-radius: 50%;
}

.swc-badge {
	background: var(--swc-green-soft);
	border-radius: 999px;
	font-size: .78rem;
	font-weight: 700;
	padding: .25rem .6rem;
}

.swc-comment__content {
	margin-top: 1rem;
}

/* Calm, minimal route comments. */
.swc-comments {
	margin: clamp(2.5rem, 6vw, 5rem) auto;
	max-width: 920px;
	padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.swc-comments > h2 {
	font-size: clamp(2rem, 5vw, 3.25rem);
	letter-spacing: -.025em;
	margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
}

.swc-comments .swc-comment-list {
	gap: .75rem;
	margin: 0 0 clamp(2rem, 5vw, 3rem);
}

.swc-comments .swc-comment__body {
	border: 1px solid rgba(36, 92, 79, .2);
	border-radius: 12px;
	box-shadow: none;
	padding: clamp(1rem, 3vw, 1.35rem);
}

.swc-comments .swc-comment__header {
	gap: .7rem;
	grid-template-columns: 42px minmax(0, 1fr) auto;
}

.swc-comments .swc-comment__avatar {
	height: 42px;
	width: 42px;
}

.swc-comments .swc-comment__header strong {
	font-size: 1rem;
	line-height: 1.25;
}

.swc-comments .swc-comment__header time {
	color: var(--swc-muted);
	font-size: .875rem;
}

.swc-comments .swc-badge {
	font-size: .72rem;
	letter-spacing: .02em;
	padding: .2rem .55rem;
}

.swc-comments .swc-comment__content {
	margin-top: 1rem;
}

.swc-comments .swc-comment__content p {
	margin: 0 0 1rem;
}

.swc-comments .comment-reply-link {
	color: var(--swc-green-dark);
	font-size: .9rem;
	font-weight: 650;
	text-decoration-thickness: 1px;
	text-underline-offset: .2em;
}

.swc-comments .comment-respond {
	margin-top: 0;
}

.swc-comments .comment-reply-title {
	font-size: clamp(1.25rem, 3vw, 1.55rem);
	font-weight: 600;
	letter-spacing: -.01em;
	margin: 0 0 .65rem;
}

.swc-comments .comment-form {
	background: #fff;
	border: 1px solid rgba(36, 92, 79, .2);
	border-radius: 12px;
	overflow: hidden;
}

.swc-comments .jetpack_remote_comment {
	display: block;
}

@media (max-width: 520px) {
	.swc-comments .swc-comment__header {
		grid-template-columns: 38px minmax(0, 1fr) auto;
	}

	.swc-comments .swc-comment__avatar {
		height: 38px;
		width: 38px;
	}
}

.swc-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
	list-style: none;
	margin: 1.25rem 0;
	padding: 0;
}

.swc-pagination a,
.swc-pagination .current {
	align-items: center;
	border: 1px solid var(--swc-border);
	border-radius: 8px;
	display: inline-flex;
	justify-content: center;
	min-height: 44px;
	min-width: 44px;
	padding: .4rem;
}

.swc-pagination .current {
	background: var(--swc-green);
	color: #fff;
}

@media (min-width: 700px) {
	.swc-badge-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.swc-account__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.swc-route-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.swc-stats {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 1040px) {
	.swc-badge-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.swc-badges__heading {
		align-items: flex-start;
		flex-direction: column;
		gap: .25rem;
	}
	.swc-badges__heading > p {
		text-align: left;
	}
}

@media (min-width: 1050px) {
	.swc-route-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (prefers-reduced-motion: reduce) {
	.swc-shell *,
	.swc-shell *::before,
	.swc-shell *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
}

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