.bsoc-picker {
	max-width: 920px;
	margin: 0 0 1.25rem;
	padding: 20px;
	box-sizing: border-box;
	color: var(--wp--preset--color--contrast, currentColor);
	font-family: inherit;
	background: var(--wp--preset--color--accent-5, var(--wp--preset--color--base, transparent));
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast, currentColor) 16%, transparent);
	border-radius: 12px;
}

.bsoc-picker .bsoc-form {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: 16px 20px;
	align-items: end;
}

.bsoc-picker .bsoc-form p {
	margin: 0;
	min-width: 0;
}

.bsoc-picker .bsoc-field-site {
	grid-column: 1;
}

.bsoc-picker .bsoc-field-tz {
	grid-column: 2;
}

.bsoc-picker .bsoc-field-mgrs,
.bsoc-picker .bsoc-map,
.bsoc-picker .bsoc-map-note {
	grid-column: 1 / -1;
}

.bsoc-map {
	height: 280px;
	border-radius: 8px;
	overflow: hidden;
}

.bsoc-map-note,
.bsoc-board-gridref {
	margin: 0;
	font-size: 0.9rem;
}

.bsoc-picker .bsoc-remember,
.bsoc-picker .bsoc-field-go,
.bsoc-picker .bsoc-help {
	grid-column: 1 / -1;
}

.bsoc-picker .bsoc-form label {
	display: block;
	font-size: 12px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-bottom: 6px;
}

.bsoc-picker .bsoc-form input,
.bsoc-picker .bsoc-form select {
	width: 100%;
	max-width: none;
	margin: 0;
	box-sizing: border-box;
}

.bsoc-picker .bsoc-form input[type="checkbox"] {
	width: 1.05rem;
	height: 1.05rem;
	margin: 0;
	flex: 0 0 auto;
}

.bsoc-picker .bsoc-remember label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: auto;
	margin: 0;
	text-transform: none;
	letter-spacing: 0;
	font-size: 0.95rem;
}

.bsoc-picker .bsoc-field-go {
	display: flex;
	align-items: center;
	gap: 12px;
}

.bsoc-picker .bsoc-forget {
	margin: 12px 0 0;
}

.bsoc-picker .bsoc-error {
	font-weight: 600;
	margin: 0 0 12px;
}

.bsoc-picker .bsoc-notes {
	display: grid;
	gap: 6px;
	margin: 16px 0 0;
	max-width: 42rem;
	color: color-mix(in srgb, var(--wp--preset--color--contrast, currentColor) 72%, transparent);
	font-size: 0.92rem;
	line-height: 1.45;
}

.bsoc-picker .bsoc-notes p {
	margin: 0;
}

@media (max-width: 640px) {
	.bsoc-picker .bsoc-form {
		grid-template-columns: 1fr;
	}

	.bsoc-picker .bsoc-field-site,
	.bsoc-picker .bsoc-field-tz,
	.bsoc-picker .bsoc-field-lat,
	.bsoc-picker .bsoc-field-lon {
		grid-column: 1;
	}
}

.bsoc-board {
	max-width: 920px;
	background: var(--wp--preset--color--accent-5, var(--wp--preset--color--base, transparent));
	color: var(--wp--preset--color--contrast, currentColor);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast, currentColor) 16%, transparent);
	border-radius: 12px;
	padding: 16px;
	box-sizing: border-box;
	font-family: inherit;
}

.bsoc-board-head {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	align-items: center;
	margin: 0 0 12px;
	color: color-mix(in srgb, var(--wp--preset--color--contrast, currentColor) 72%, transparent);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bsoc-board-title,
.bsoc-board-sync,
.bsoc-spot-index,
.bsoc-spot-name,
.bsoc-spot-kicker,
.bsoc-spot-value,
.bsoc-spot-none,
.bsoc-board-empty,
.bsoc-board-foot {
	margin: 0;
	font-family: inherit;
}

.bsoc-board-title {
	display: flex;
	align-items: center;
	gap: 8px;
}

.bsoc-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--wp--preset--color--accent-3, currentColor);
	display: inline-block;
}

.bsoc-dot.is-stale {
	background: var(--wp--preset--color--accent-4, color-mix(in srgb, currentColor 45%, transparent));
}

.bsoc-board-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 12px;
	align-items: start;
}

.bsoc-spot {
	margin: 0;
	padding: 14px;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast, currentColor) 12%, transparent);
	border-radius: 8px;
	background: var(--wp--preset--color--base, transparent);
	box-sizing: border-box;
}

.bsoc-spot.is-average {
	background: color-mix(in srgb, var(--wp--preset--color--accent-3, currentColor) 8%, var(--wp--preset--color--base, transparent));
}

.bsoc-spot-index,
.bsoc-spot-source,
.bsoc-spot-kicker {
	color: color-mix(in srgb, var(--wp--preset--color--contrast, currentColor) 55%, transparent);
	font-size: 12px;
}

.bsoc-spot-name {
	margin-top: 4px;
	font-size: 16px;
	line-height: 1.25;
	font-weight: 600;
	color: var(--wp--preset--color--contrast, currentColor);
}

.bsoc-spot-source,
.bsoc-spot-distance {
	margin-top: 4px;
}

.bsoc-spot-distance {
	font-size: 13px;
	font-weight: 600;
	color: var(--wp--preset--color--contrast, currentColor);
}

.bsoc-spot-kicker {
	margin-top: 14px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.bsoc-spot-value {
	margin-top: 4px;
	font-size: 32px;
	line-height: 1;
	font-weight: 600;
	letter-spacing: -0.03em;
	color: var(--wp--preset--color--contrast, currentColor);
}

.bsoc-spot-none {
	margin-top: 4px;
	font-size: 18px;
	font-weight: 600;
}

.bsoc-spot-fields {
	margin: 12px 0 0;
}

.bsoc-spot-fields div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 4px 0;
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast, currentColor) 10%, transparent);
	font-size: 13px;
}

.bsoc-spot-fields dt,
.bsoc-spot-fields dd {
	margin: 0;
}

.bsoc-spot-fields dt {
	color: color-mix(in srgb, var(--wp--preset--color--contrast, currentColor) 65%, transparent);
}

.bsoc-spot-fields dd {
	font-weight: 600;
	text-align: right;
}

.bsoc-board-empty,
.bsoc-board-foot {
	color: color-mix(in srgb, var(--wp--preset--color--contrast, currentColor) 65%, transparent);
	font-size: 13px;
	padding: 8px 0 0;
}

@media (max-width: 520px) {
	.bsoc-board-grid {
		grid-template-columns: 1fr;
	}
}

.bsoc-forecast {
	max-width: 920px;
	margin-top: 16px;
	color: var(--wp--preset--color--contrast, currentColor);
	font-family: inherit;
}

.bsoc-forecast-title,
.bsoc-forecast-note,
.bsoc-forecast-when,
.bsoc-forecast-empty {
	margin: 0;
	font-family: inherit;
}

.bsoc-forecast-title {
	font-size: 20px;
	font-weight: 600;
}

.bsoc-forecast-note,
.bsoc-forecast-empty {
	margin-top: 6px;
	color: color-mix(in srgb, var(--wp--preset--color--contrast, currentColor) 65%, transparent);
	font-size: 13px;
	max-width: 42rem;
}

.bsoc-forecast-list {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
}

.bsoc-forecast-list li {
	padding: 12px 0;
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast, currentColor) 12%, transparent);
}

.bsoc-forecast-when {
	font-size: 13px;
	font-weight: 600;
}

.bsoc-spot.is-clickable {
	position: relative;
	cursor: pointer;
}

.bsoc-spot.is-open {
	outline: 2px solid var(--wp--preset--color--accent-3, currentColor);
}

.bsoc-card-hit {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: transparent;
	cursor: pointer;
}

#bsoc-opened-forecast {
	scroll-margin-top: 16px;
}

.bsoc-opened {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 2px solid var(--wp--preset--color--accent-3, currentColor);
}

.bsoc-opened .bsoc-forecast-title {
	font-size: 18px;
}

.bsoc-detail {
	max-width: 920px;
	margin-top: 16px;
	padding: 16px;
	box-sizing: border-box;
	background: var(--wp--preset--color--accent-5, var(--wp--preset--color--base, transparent));
	color: var(--wp--preset--color--contrast, currentColor);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast, currentColor) 16%, transparent);
	border-radius: 12px;
	font-family: inherit;
}

.bsoc-detail-scroll {
	overflow-x: auto;
	margin-top: 12px;
}

.bsoc-days {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 12px 0 0;
}

.bsoc-day {
	margin: 0;
	padding: 6px 10px;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast, currentColor) 24%, transparent);
	border-radius: 999px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 14px;
	cursor: pointer;
}

.bsoc-day.is-on {
	border-color: currentColor;
	font-weight: 600;
}

.bsoc-day-panel[hidden] {
	display: none;
}

.bsoc-detail-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.bsoc-detail-table th,
.bsoc-detail-table td {
	padding: 8px 10px;
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast, currentColor) 12%, transparent);
	text-align: left;
	white-space: nowrap;
	font-weight: 400;
}

.bsoc-detail-table thead th {
	font-size: 12px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--wp--preset--color--contrast, currentColor) 65%, transparent);
}

.bsoc-chart-wrap {
	position: relative;
	margin: 12px 0 0;
}

.bsoc-chart-wrap figcaption,
.bsoc-chart-key,
.bsoc-surface-list {
	margin: 4px 0 0;
	color: color-mix(in srgb, var(--wp--preset--color--contrast, currentColor) 65%, transparent);
	font-size: 13px;
}

.bsoc-chart {
	width: 100%;
	max-width: none;
	height: auto;
	display: block;
	color: var(--wp--preset--color--contrast, currentColor);
	pointer-events: all;
}

.bsoc-chart text {
	fill: currentColor;
	font-size: 11px;
	font-family: inherit;
}

.bsoc-chart-axis {
	stroke: currentColor;
	stroke-opacity: 0.3;
}

.bsoc-chart-wave,
.bsoc-chart-temp {
	fill: var(--wp--preset--color--accent-3, currentColor);
}

.bsoc-chart-sky {
	fill: var(--wp--preset--color--contrast, currentColor);
	opacity: 0.35;
}

.bsoc-chart-rain {
	fill: var(--wp--preset--color--accent-3, currentColor);
	opacity: 0.45;
}

.bsoc-chart-line {
	fill: none;
	stroke-width: 2;
}

.bsoc-chart-tide {
	stroke: #1d6fb8;
	stroke-width: 2.25;
}

.bsoc-sky-sun-path {
	fill: none;
	stroke: #f0b429;
	stroke-width: 2;
	stroke-linecap: round;
}

.bsoc-sky-moon-path {
	fill: none;
	stroke: #d7dde6;
	stroke-width: 1.5;
	stroke-linecap: round;
	opacity: 0.9;
}

.bsoc-moon-shadow {
	fill: #1b2838;
	stroke: #c5ccd6;
	stroke-width: 1;
}

.bsoc-moon-lit {
	fill: #f4f1e8;
}

.bsoc-chart-zero {
	stroke: currentColor;
	stroke-opacity: 0.25;
	stroke-dasharray: 3 3;
}

.bsoc-sky-night {
	fill: var(--wp--preset--color--contrast, currentColor);
	opacity: 0.12;
}

.bsoc-sky-day {
	fill: var(--wp--preset--color--accent-3, currentColor);
	opacity: 0.8;
}

.bsoc-sky-dawn-from,
.bsoc-sky-dusk-to {
	stop-color: var(--wp--preset--color--contrast, currentColor);
	stop-opacity: 0.12;
}

.bsoc-sky-dawn-to,
.bsoc-sky-dusk-from {
	stop-color: var(--wp--preset--color--accent-3, currentColor);
	stop-opacity: 0.8;
}

.bsoc-sky-sun {
	fill: #f0b429;
	stroke: #fff8e8;
	stroke-width: 1;
}

.bsoc-sky-moon {
	fill: #f4f1e8;
	stroke: #1b2838;
	stroke-width: 0.6;
}

.bsoc-sky-label {
	font-size: 12px;
	font-weight: 600;
}

.bsoc-sky-muted {
	font-size: 11px;
	opacity: 0.7;
}

.bsoc-moon-cut {
	fill: #1b2838;
}

.bsoc-chart-moon {
	stroke: var(--wp--preset--color--contrast, currentColor);
	stroke-width: 2;
}

.bsoc-chart-dot {
	fill: var(--wp--preset--color--accent-3, currentColor);
	stroke: var(--wp--preset--color--base, #fff);
	stroke-width: 1.5;
}

.bsoc-chart-dot[hidden] {
	display: none;
}

.bsoc-tip {
	position: absolute;
	z-index: 2;
	margin: 0;
	padding: 6px 8px;
	max-width: 16rem;
	background: var(--wp--preset--color--contrast, #1d2327);
	color: var(--wp--preset--color--base, #fff);
	font-size: 12px;
	line-height: 1.3;
	pointer-events: none;
	border-radius: 4px;
}

.bsoc-surface-list {
	list-style: none;
	padding: 0;
}

.bsoc-surface-list li {
	padding: 4px 0;
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast, currentColor) 10%, transparent);
}

.bsoc-surface-list span {
	font-weight: 600;
	color: var(--wp--preset--color--contrast, currentColor);
}
