/**
 * HiTechCloud Status — public styles.
 *
 * Same house system as the rest of the 2026 site: flat white surfaces, 1px
 * #d9e7f5 rules, 16px radii, type at 400–600. Colour carries meaning here in a
 * way it does not elsewhere on the site, so every state is also given a shape
 * or a word — a status page read by someone colour-blind must still be
 * readable, and a red dot alone is not a message.
 *
 * site-typography.css loads after plugin styles and sets heading size, weight
 * and letter-spacing with !important, so heading rules here match that
 * specificity.
 */

.hc-wp .htc-status-page {
	--hs-blue: var(--hc-blue, #0969ff);
	--hs-navy: var(--hc-navy, #071832);
	--hs-deep: var(--hc-deep, #041020);
	--hs-text: var(--hc-text, #22304a);
	--hs-muted: var(--hc-muted, #667895);
	--hs-line: var(--hc-border, #d9e7f5);
	--hs-soft: var(--hc-bg, #f5f9ff);
	--hs-ok: #0a8f5b;
	--hs-ok-soft: #e6f6ee;
	--hs-info: #0969ff;
	--hs-info-soft: #eaf2ff;
	--hs-warn: #b26a00;
	--hs-warn-soft: #fdf2e0;
	--hs-bad: #c02a37;
	--hs-bad-soft: #fdecec;
	--hs-none: #dfe6ef;
	--hs-radius: 16px;
	--hs-radius-sm: 10px;
	background: var(--hs-soft);
	color: var(--hs-text);
	font-size: 16px;
	line-height: 1.55;
}

.hc-wp .htc-status-page *,
.hc-wp .htc-status-page *::before,
.hc-wp .htc-status-page *::after { box-sizing: border-box; }

.hc-wp .htc-status-container {
	width: min(1080px, 100%);
	margin-inline: auto;
	padding-inline: 24px;
}

.hc-wp .htc-status-body { padding-block: 26px 60px; }

.hc-wp .htc-status-page--embedded { background: transparent; }

.hc-wp .htc-status-page--embedded .htc-status-body { padding-block: 0; }

.hc-wp .htc-status-icon {
	width: 1em;
	height: 1em;
	flex: 0 0 auto;
	vertical-align: -0.125em;
}

.hc-wp .htc-status-page .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hc-wp .htc-status-hero {
	padding-block: 46px 40px;
	background: linear-gradient(160deg, var(--hs-navy) 0%, var(--hs-deep) 100%);
	color: #fff;
}

.hc-wp .htc-status-page .htc-status-hero h1 {
	margin: 0 0 12px !important;
	color: #fff !important;
	font-size: clamp(26px, 2.6vw, 36px) !important;
	font-weight: 400 !important;
	line-height: 1.15 !important;
	letter-spacing: -.015em !important;
	text-align: left !important;
}

.hc-wp .htc-status-hero p {
	max-width: 680px;
	margin: 0;
	color: rgba(255, 255, 255, .84);
	font-size: 16px;
}

.hc-wp .htc-status-eyebrow {
	margin: 0 0 10px;
	font-size: 14px;
}

.hc-wp .htc-status-eyebrow a {
	color: rgba(255, 255, 255, .8);
	text-decoration: none;
}

.hc-wp .htc-status-eyebrow a:hover { color: #fff; text-decoration: underline; }

.hc-wp .htc-status-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
	align-items: center;
	margin: 16px 0 0 !important;
	color: rgba(255, 255, 255, .84);
	font-size: 14px;
}

/* ==========================================================================
   Overall banner
   ========================================================================== */

.hc-wp .htc-status-banner {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
	padding: 18px 22px;
	border: 1px solid var(--hs-line);
	border-left-width: 4px;
	border-radius: var(--hs-radius);
	background: #fff;
}

.hc-wp .htc-status-banner--ok   { border-left-color: var(--hs-ok); }
.hc-wp .htc-status-banner--info { border-left-color: var(--hs-info); }
.hc-wp .htc-status-banner--warn { border-left-color: var(--hs-warn); }
.hc-wp .htc-status-banner--bad  { border-left-color: var(--hs-bad); }

.hc-wp .htc-status-banner__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	font-size: 21px;
}

.hc-wp .htc-status-banner--ok   .htc-status-banner__icon { background: var(--hs-ok-soft); color: var(--hs-ok); }
.hc-wp .htc-status-banner--info .htc-status-banner__icon { background: var(--hs-info-soft); color: var(--hs-info); }
.hc-wp .htc-status-banner--warn .htc-status-banner__icon { background: var(--hs-warn-soft); color: var(--hs-warn); }
.hc-wp .htc-status-banner--bad  .htc-status-banner__icon { background: var(--hs-bad-soft); color: var(--hs-bad); }

.hc-wp .htc-status-banner__text {
	display: flex;
	flex: 1 1 260px;
	flex-direction: column;
}

.hc-wp .htc-status-banner__text strong {
	font-size: 17px;
	font-weight: 600;
}

.hc-wp .htc-status-banner__text span {
	color: var(--hs-muted);
	font-size: 13px;
}

.hc-wp .htc-status-banner__links a {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	padding: 8px 14px;
	border: 1px solid var(--hs-line);
	border-radius: var(--hs-radius-sm);
	color: var(--hs-muted);
	font-size: 14px;
	text-decoration: none;
}

.hc-wp .htc-status-banner__links a:hover {
	border-color: var(--hs-blue);
	color: var(--hs-blue);
}

.hc-wp .htc-status-notice {
	margin: 0 0 18px;
	padding: 14px 18px;
	border-radius: var(--hs-radius-sm);
	font-size: 15px;
}

.hc-wp .htc-status-notice--ok { background: var(--hs-ok-soft); color: #0a5c3c; }

/* ==========================================================================
   Sections
   ========================================================================== */

.hc-wp .htc-status-section { margin-top: 34px; }

.hc-wp .htc-status-page .htc-status-heading {
	display: flex;
	gap: 8px;
	align-items: center;
	margin: 0 0 14px !important;
	color: var(--hs-text) !important;
	font-size: 18px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	letter-spacing: 0 !important;
	text-align: left !important;
}

.hc-wp .htc-status-empty {
	padding: 26px;
	border: 1px dashed var(--hs-line);
	border-radius: var(--hs-radius);
	background: #fff;
	color: var(--hs-muted);
	text-align: center;
}

/* ==========================================================================
   Service list
   ========================================================================== */

.hc-wp .htc-status-group {
	margin-bottom: 16px;
	border: 1px solid var(--hs-line);
	border-radius: var(--hs-radius);
	background: #fff;
	overflow: hidden;
}

.hc-wp .htc-status-page .htc-status-group__title {
	margin: 0 !important;
	padding: 14px 20px;
	border-bottom: 1px solid var(--hs-line);
	background: var(--hs-soft);
	color: var(--hs-text) !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	letter-spacing: .02em !important;
	text-align: left !important;
	text-transform: uppercase;
}

.hc-wp .htc-status-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hc-wp .htc-status-row {
	padding: 16px 20px;
	border-top: 1px solid var(--hs-line);
}

.hc-wp .htc-status-row:first-child { border-top: 0; }

.hc-wp .htc-status-row__head {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	align-items: center;
	justify-content: space-between;
}

.hc-wp .htc-status-row__ident {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.hc-wp .htc-status-row__name {
	font-size: 15px;
	font-weight: 500;
}

.hc-wp .htc-status-row__desc {
	color: var(--hs-muted);
	font-size: 13px;
}

/* Status pill --------------------------------------------------------- */

.hc-wp .htc-status-pill {
	display: inline-flex;
	gap: 7px;
	align-items: center;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
}

.hc-wp .htc-status-pill--ok   { background: var(--hs-ok-soft); color: #0a5c3c; }
.hc-wp .htc-status-pill--info { background: var(--hs-info-soft); color: #073e97; }
.hc-wp .htc-status-pill--warn { background: var(--hs-warn-soft); color: #7a4900; }
.hc-wp .htc-status-pill--bad  { background: var(--hs-bad-soft); color: #8f1f29; }

.hc-wp .htc-status-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
}

/* History bar --------------------------------------------------------- */

.hc-wp .htc-status-bar {
	display: flex;
	gap: 2px;
	align-items: stretch;
	height: 26px;
	margin-top: 14px;
}

.hc-wp .htc-status-tick {
	flex: 1 1 0;
	min-width: 2px;
	border-radius: 2px;
	background: var(--hs-none);
}

.hc-wp .htc-status-tick--ok   { background: var(--hs-ok); }
.hc-wp .htc-status-tick--info { background: var(--hs-info); }
.hc-wp .htc-status-tick--warn { background: var(--hs-warn); }
.hc-wp .htc-status-tick--bad  { background: var(--hs-bad); }
.hc-wp .htc-status-tick--none { background: var(--hs-none); }

.hc-wp .htc-status-bar__foot {
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: space-between;
	margin-top: 7px;
	color: var(--hs-muted);
	font-size: 12px;
}

.hc-wp .htc-status-bar__figure {
	color: var(--hs-text);
	font-weight: 500;
}

.hc-wp .htc-status-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin: 14px 0 0;
	color: var(--hs-muted);
	font-size: 12px;
}

.hc-wp .htc-status-legend__item {
	display: inline-flex;
	gap: 6px;
	align-items: center;
}

.hc-wp .htc-status-legend .htc-status-tick {
	flex: 0 0 auto;
	width: 12px;
	height: 12px;
	border-radius: 3px;
}

/* ==========================================================================
   Incident cards
   ========================================================================== */

.hc-wp .htc-status-entry {
	margin-bottom: 14px;
	padding: 20px 22px;
	border: 1px solid var(--hs-line);
	border-left-width: 4px;
	border-radius: var(--hs-radius);
	background: #fff;
}

.hc-wp .htc-status-entry--ok   { border-left-color: var(--hs-ok); }
.hc-wp .htc-status-entry--info { border-left-color: var(--hs-info); }
.hc-wp .htc-status-entry--warn { border-left-color: var(--hs-warn); }
.hc-wp .htc-status-entry--bad  { border-left-color: var(--hs-bad); }

.hc-wp .htc-status-entry__kind {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 10px;
	align-items: center;
	margin: 0 0 8px;
}

.hc-wp .htc-status-entry__type {
	color: var(--hs-muted);
	font-size: 13px;
}

.hc-wp .htc-status-page .htc-status-entry__title {
	margin: 0 !important;
	font-size: 17px !important;
	font-weight: 600 !important;
	line-height: 1.35 !important;
	letter-spacing: 0 !important;
	text-align: left !important;
}

.hc-wp .htc-status-entry__title a {
	color: var(--hs-text);
	text-decoration: none;
}

.hc-wp .htc-status-entry__title a:hover { color: var(--hs-blue); }

.hc-wp .htc-status-entry__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	margin: 14px 0 0;
}

.hc-wp .htc-status-entry__facts > div {
	display: flex;
	gap: 6px;
	align-items: baseline;
}

.hc-wp .htc-status-entry__facts dt {
	color: var(--hs-muted);
	font-size: 13px;
}

.hc-wp .htc-status-entry__facts dd {
	margin: 0;
	font-size: 13px;
	font-weight: 500;
}

.hc-wp .htc-status-entry__latest {
	margin: 14px 0 0;
	color: var(--hs-muted);
	font-size: 14px;
}

.hc-wp .htc-status-entry__more {
	margin: 14px 0 0;
	font-size: 14px;
}

.hc-wp .htc-status-entry__more a {
	display: inline-flex;
	gap: 5px;
	align-items: center;
	color: var(--hs-blue);
	text-decoration: none;
}

.hc-wp .htc-status-entry__more a:hover { text-decoration: underline; }

/* Timeline ------------------------------------------------------------ */

.hc-wp .htc-status-timeline {
	margin: 18px 0 0;
	padding: 0 0 0 22px;
	border-left: 2px solid var(--hs-line);
	list-style: none;
}

.hc-wp .htc-status-timeline__item {
	position: relative;
	padding-bottom: 18px;
}

.hc-wp .htc-status-timeline__item:last-child { padding-bottom: 0; }

.hc-wp .htc-status-timeline__item::before {
	content: "";
	position: absolute;
	top: 6px;
	left: -29px;
	width: 12px;
	height: 12px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: var(--hs-blue);
}

.hc-wp .htc-status-timeline__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 12px;
	align-items: baseline;
	margin-bottom: 4px;
}

.hc-wp .htc-status-timeline__meta time {
	color: var(--hs-muted);
	font-size: 13px;
}

.hc-wp .htc-status-timeline__state {
	color: var(--hs-text);
	font-size: 13px;
	font-weight: 600;
}

.hc-wp .htc-status-timeline p {
	margin: 0;
	font-size: 15px;
}

.hc-wp .htc-status-timeline--full { margin-top: 6px; }

/* ==========================================================================
   Single incident
   ========================================================================== */

.hc-wp .htc-status-article {
	padding: 24px;
	border: 1px solid var(--hs-line);
	border-radius: var(--hs-radius);
	background: #fff;
}

.hc-wp .htc-status-article > .htc-status-entry {
	margin-bottom: 0;
	border-width: 0 0 0 4px;
	border-radius: 0;
	padding-inline: 18px;
}

.hc-wp .htc-status-prose {
	font-size: 15px;
	line-height: 1.7;
}

.hc-wp .htc-status-prose > :first-child { margin-top: 0; }
.hc-wp .htc-status-prose > :last-child { margin-bottom: 0; }
.hc-wp .htc-status-prose :is(p, ul, ol) { margin: 0 0 12px; }
.hc-wp .htc-status-prose :is(ul, ol) { padding-left: 22px; }

.hc-wp .htc-status-back {
	margin: 26px 0 0;
	padding-top: 18px;
	border-top: 1px solid var(--hs-line);
	font-size: 14px;
}

.hc-wp .htc-status-back a {
	color: var(--hs-blue);
	text-decoration: none;
}

.hc-wp .htc-status-back a:hover { text-decoration: underline; }

/* ==========================================================================
   Subscribe
   ========================================================================== */

.hc-wp .htc-status-subscribe {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
	gap: 26px;
	align-items: center;
	margin-top: 34px;
	padding: 24px;
	border: 1px solid var(--hs-line);
	border-radius: var(--hs-radius);
	background: #fff;
}

.hc-wp .htc-status-page .htc-status-subscribe h2 {
	display: flex;
	gap: 8px;
	align-items: center;
	margin: 0 0 8px !important;
	color: var(--hs-text) !important;
	font-size: 18px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	letter-spacing: 0 !important;
	text-align: left !important;
}

.hc-wp .htc-status-subscribe h2 .htc-status-icon { color: var(--hs-blue); font-size: 20px; }

.hc-wp .htc-status-subscribe__copy p {
	margin: 0;
	color: var(--hs-muted);
	font-size: 14px;
}

.hc-wp .htc-status-subscribe__form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.hc-wp .htc-status-page .htc-status-input {
	flex: 1 1 190px;
	min-width: 0;
	height: 46px;
	padding: 0 14px;
	border: 1px solid var(--hs-line);
	border-radius: var(--hs-radius-sm);
	background: #fff;
	color: var(--hs-text);
	font-size: 15px;
}

.hc-wp .htc-status-page .htc-status-input:focus {
	border-color: var(--hs-blue);
	outline: none;
}

.hc-wp .htc-status-page .htc-status-input.is-invalid { border-color: var(--hs-bad); }

.hc-wp .htc-status-page .htc-status-btn {
	flex: 0 0 auto;
	height: 46px;
	padding: 0 26px;
	border: 1px solid var(--hs-blue);
	border-radius: var(--hs-radius-sm);
	background: var(--hs-blue);
	color: #fff;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
}

.hc-wp .htc-status-page .htc-status-btn:hover { background: var(--hc-blue-dark, #082f86); border-color: var(--hc-blue-dark, #082f86); }

.hc-wp .htc-status-page .htc-status-btn[disabled] { opacity: .6; cursor: progress; }

.hc-wp .htc-status-subscribe__message {
	flex: 1 1 100%;
	margin: 0;
	padding: 10px 14px;
	border-radius: var(--hs-radius-sm);
	font-size: 14px;
}

.hc-wp .htc-status-subscribe__message.is-ok    { background: var(--hs-ok-soft); color: #0a5c3c; }
.hc-wp .htc-status-subscribe__message.is-error { background: var(--hs-bad-soft); color: #8f1f29; }

.hc-wp .htc-status-honeypot {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

/* ==========================================================================
   Footnote and embeddable strip
   ========================================================================== */

.hc-wp .htc-status-footnote {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 26px;
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid var(--hs-line);
	font-size: 14px;
}

.hc-wp .htc-status-footnote a {
	color: var(--hs-blue);
	text-decoration: none;
}

.hc-wp .htc-status-footnote a:hover { text-decoration: underline; }

.hc-wp .htc-status-strip {
	display: inline-flex;
	gap: 9px;
	align-items: center;
	padding: 9px 16px;
	border: 1px solid #d9e7f5;
	border-radius: 999px;
	background: #fff;
	color: #22304a;
	font-size: 14px;
	text-decoration: none;
}

.hc-wp .htc-status-strip .htc-status-icon { font-size: 15px; color: #667895; }

.hc-wp .htc-status-strip--ok   .htc-status-dot { background: #0a8f5b; }
.hc-wp .htc-status-strip--info .htc-status-dot { background: #0969ff; }
.hc-wp .htc-status-strip--warn .htc-status-dot { background: #b26a00; }
.hc-wp .htc-status-strip--bad  .htc-status-dot { background: #c02a37; }

.hc-wp .htc-status-strip:hover { border-color: #0969ff; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 860px) {
	.hc-wp .htc-status-subscribe { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
	.hc-wp .htc-status-container { padding-inline: 16px; }

	.hc-wp .htc-status-hero { padding-block: 32px 28px; }

	.hc-wp .htc-status-row__head { align-items: flex-start; }

	/*
	 * Ninety ticks still fit on a 320px screen once the gap closes up — about
	 * 2px each. Hiding a fixed number of them instead would depend on the
	 * configured window and could empty the strip entirely when it is short.
	 */
	.hc-wp .htc-status-bar {
		gap: 1px;
		height: 22px;
	}

	.hc-wp .htc-status-bar .htc-status-tick { min-width: 1px; }

	.hc-wp .htc-status-entry__facts { gap: 6px 18px; }
}

@media (prefers-reduced-motion: reduce) {
	.hc-wp .htc-status-page * {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
	}
}
