/* BS Status Page */
.bssp-body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}

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

.bssp {
	--bssp-ok: #76ad2a;
	--bssp-bg: #faf9f5;
	--bssp-text: #141413;
	--bssp-muted: #77756f;
	--bssp-line: #e4e1d8;
	position: relative;
	max-width: 800px;
	margin: 0 auto;
	padding: 36px 20px 48px;
	color: var(--bssp-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 15px;
	line-height: 1.5;
}

.bssp:not(.bssp--standalone) {
	background: var(--bssp-bg);
	border-radius: 10px;
}

.bssp [hidden] {
	display: none !important;
}

.bssp a {
	color: inherit;
}

/* Header */
.bssp-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 34px;
}

.bssp-brand {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	font-size: 26px;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.bssp-brand img {
	display: block;
	max-height: 40px;
	width: auto;
	max-width: 240px;
}

.bssp-sub-btn {
	appearance: none;
	border: 0;
	background: #141413;
	color: #fff;
	padding: 10px 18px;
	border-radius: 3px;
	font: inherit;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
	white-space: nowrap;
}

.bssp-sub-btn:hover {
	background: #333;
}

/* Banner */
.bssp-banner {
	padding: 15px 18px;
	border-radius: 3px;
	color: #fff;
	font-size: 16px;
	font-weight: 500;
}

.bssp-intro {
	margin: 14px 0 0;
	color: var(--bssp-muted);
}

.bssp-note {
	margin: 0 0 16px;
	padding: 12px 16px;
	border-radius: 3px;
	font-size: 14px;
}

.bssp-note--ok {
	background: #e8f3d6;
	color: #36541a;
}

.bssp-note--bad {
	background: #fbe4e2;
	color: #8a2a24;
}

/* Headings */
.bssp-h2 {
	margin: 52px 0 6px;
	font-size: 24px;
	font-weight: 500;
	letter-spacing: -0.01em;
	color: var(--bssp-text);
}

.bssp-h2--sm {
	margin-top: 30px;
	font-size: 18px;
}

/* Components */
.bssp-uptime-note {
	margin: 38px 0 6px;
	text-align: right;
	font-size: 12px;
	color: var(--bssp-muted);
}

.bssp-banner + .bssp-comps,
.bssp-banner + .bssp-uptime-note {
	margin-top: 38px;
}

.bssp-comps {
	border: 1px solid var(--bssp-line);
	border-radius: 3px;
	background: transparent;
}

.bssp-comp {
	padding: 16px 18px 14px;
}

.bssp-comp + .bssp-comp {
	border-top: 1px solid var(--bssp-line);
}

.bssp-comp-top {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
}

.bssp-comp-name {
	font-size: 14px;
	font-weight: 500;
}

.bssp-help {
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-left: 4px;
	border: 1px solid var(--bssp-muted);
	border-radius: 50%;
	color: var(--bssp-muted);
	font-size: 10px;
	line-height: 12px;
	text-align: center;
	cursor: help;
}

.bssp-comp-status {
	font-size: 13px;
	white-space: nowrap;
}

.bssp-bars {
	display: flex;
	gap: 2px;
	height: 34px;
}

.bssp-bar {
	flex: 1 1 0;
	min-width: 0;
	height: 100%;
	border-radius: 1px;
	cursor: pointer;
	outline: none;
	transition: opacity 0.1s ease;
}

.bssp-bar:hover,
.bssp-bar:focus-visible,
.bssp-bar.is-on {
	opacity: 0.72;
}

.bssp-bars-foot {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 8px;
	font-size: 12px;
	color: var(--bssp-muted);
}

.bssp-line {
	flex: 1 1 auto;
	height: 1px;
	background: #b9b6ac;
}

/* Tooltip */
.bssp-tip {
	position: absolute;
	z-index: 50;
	width: 300px;
	max-width: calc(100% - 16px);
	padding: 16px 18px;
	background: #fff;
	border: 1px solid var(--bssp-line);
	border-radius: 6px;
	box-shadow: 0 8px 28px rgba(20, 20, 19, 0.14);
	color: #141413;
	font-size: 13px;
	pointer-events: none;
}

.bssp-tip-date {
	margin: 0 0 12px;
	font-size: 14px;
}

.bssp-tip-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 6px;
	padding: 10px 12px;
	background: #f3f2ee;
	border-radius: 4px;
	font-size: 14px;
}

.bssp-tip-dot {
	width: 12px;
	height: 12px;
	flex: 0 0 12px;
	border-radius: 50%;
}

.bssp-tip-row b {
	font-weight: 500;
}

.bssp-tip-row span.bssp-tip-m {
	margin-left: auto;
	white-space: nowrap;
}

.bssp-tip-rel {
	margin: 14px 0 6px;
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--bssp-muted);
}

.bssp-tip-x {
	margin: 0 0 6px;
	font-size: 13px;
	line-height: 1.4;
}

/* Incidents */
.bssp-day {
	margin-top: 26px;
}

.bssp-day-h {
	margin: 0 0 4px;
	padding-bottom: 6px;
	border-bottom: 1px solid var(--bssp-line);
	font-size: 17px;
	font-weight: 500;
}

.bssp-none {
	margin: 8px 0 0;
	font-size: 13px;
	color: var(--bssp-muted);
}

.bssp-inc {
	margin: 14px 0 0;
}

.bssp-inc--box {
	margin-top: 22px;
	padding: 16px 18px 6px;
	border: 1px solid var(--bssp-line);
	border-radius: 3px;
}

.bssp-inc-title {
	margin: 0 0 8px;
	font-size: 17px;
	font-weight: 500;
}

.bssp-inc-title a {
	text-decoration: none;
}

.bssp-inc-title a:hover {
	text-decoration: underline;
}

.bssp-meta {
	margin: 0 0 8px;
	font-size: 13px;
	color: var(--bssp-muted);
}

.bssp-pill {
	display: inline-block;
	padding: 1px 8px;
	margin-right: 6px;
	border-radius: 10px;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.bssp-upd {
	margin: 0 0 12px;
	font-size: 13px;
}

.bssp-upd p {
	margin: 0 0 2px;
}

.bssp-upd strong {
	font-weight: 600;
}

.bssp-upd small {
	font-size: 11px;
	color: var(--bssp-muted);
}

.bssp-more {
	margin: 34px 0 0;
	font-size: 14px;
}

.bssp-back {
	margin: 0 0 6px;
	font-size: 14px;
}

.bssp-pager {
	display: flex;
	justify-content: space-between;
	margin-top: 36px;
	font-size: 14px;
}

/* Footer */
.bssp-foot {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 44px;
	padding-top: 14px;
	border-top: 1px solid var(--bssp-line);
	font-size: 12px;
	color: var(--bssp-muted);
}

/* Subscribe modal */
.bssp-modal {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(20, 20, 19, 0.45);
}

.bssp-modal-card {
	position: relative;
	width: 100%;
	max-width: 420px;
	padding: 26px 24px 22px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
	color: #141413;
}

.bssp-modal-card h3 {
	margin: 0 0 6px;
	font-size: 19px;
}

.bssp-modal-card p {
	margin: 0 0 14px;
	font-size: 14px;
	color: #555;
}

.bssp-x {
	position: absolute;
	top: 10px;
	right: 12px;
	border: 0;
	background: none;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	color: #777;
}

.bssp-modal-card input[type="email"] {
	display: block;
	width: 100%;
	margin: 0 0 10px;
	padding: 11px 13px;
	border: 1px solid #cfcdc4;
	border-radius: 4px;
	font: inherit;
	background: #fff;
	color: #141413;
}

.bssp-btn {
	display: block;
	width: 100%;
	padding: 11px 14px;
	border: 0;
	border-radius: 4px;
	background: #141413;
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.bssp-btn[disabled] {
	opacity: 0.6;
	cursor: wait;
}

.bssp-modal-card p.bssp-sub-msg {
	min-height: 20px;
	margin: 10px 0 0;
	font-size: 13px;
}

.bssp-sub-msg.is-ok {
	color: #36541a;
}

.bssp-sub-msg.is-bad {
	color: #a12a24;
}

.bssp-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (max-width: 560px) {
	.bssp {
		padding: 24px 14px 36px;
	}

	.bssp-head {
		flex-wrap: wrap;
	}

	.bssp-bars {
		height: 28px;
		gap: 1px;
	}

	.bssp-h2 {
		font-size: 21px;
	}
}

/* Component groups */
.bssp-group + .bssp-group,
.bssp-group + .bssp-comps,
.bssp-comps + .bssp-group,
.bssp-comps + .bssp-comps {
	margin-top: 14px;
}

.bssp-group-h {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 18px;
	cursor: pointer;
	list-style: none;
	font-size: 15px;
	font-weight: 600;
	user-select: none;
}

.bssp-group-h::-webkit-details-marker {
	display: none;
}

.bssp-chev {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--bssp-muted);
	border-bottom: 2px solid var(--bssp-muted);
	transform: rotate(-45deg);
	transition: transform 0.15s ease;
}

.bssp-group[open] > .bssp-group-h .bssp-chev {
	transform: rotate(45deg);
}

.bssp-group-status {
	margin-left: auto;
	font-size: 13px;
	font-weight: 400;
	white-space: nowrap;
}

.bssp-group[open] > .bssp-group-h {
	border-bottom: 1px solid var(--bssp-line);
}
