/* ============================================================
   HealthWire Wire v5.0.0
   All rules are scoped to #hwx-root. Only html/body transparency
   and the print frame are unscoped, so nothing leaks onto other
   plugins sharing the page.
   ============================================================ */

html body { background: transparent !important; }

#hwx-root {
	--hwx-navy: #0d2b4e;
	--hwx-deep: #08203c;
	--hwx-teal: #1d9e75;
	--hwx-tealt: #157a59;
	--hwx-gold: #ba7517;
	--hwx-goldt: #8f5a12;
	--hwx-ink: #17293f;
	--hwx-mute: #5b6f86;
	--hwx-line: #dbe3ec;
	--hwx-bg: #f5f8fb;
	--hwx-card: #ffffff;
	--hwx-mast-h: 0px;

	width: 100% !important;
	max-width: 100% !important;
	margin: 0 auto !important;
	left: auto !important;
	right: auto !important;
	float: none !important;
	overflow-x: clip;
	box-sizing: border-box;
	background: var(--hwx-bg);
	color: var(--hwx-ink);
	font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 16px;
	line-height: 1.55;
	text-align: left !important;
	-webkit-font-smoothing: antialiased;
}

#hwx-root *,
#hwx-root *::before,
#hwx-root *::after { box-sizing: border-box; }

#hwx-root .hwx-shell {
	max-width: 1280px;
	margin: 0 auto !important;
	text-align: left !important;
	background: var(--hwx-card);
	border: 1px solid var(--hwx-line);
	border-radius: 4px;
	/* clip, NOT hidden. overflow:hidden here makes the shell a scroll
	   container, which silently breaks the sticky sector nav inside it.
	   clip trims the rounded corners without creating a scroll box. */
	overflow: clip;
}

#hwx-root .hwx-vh {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ---------------- masthead ---------------- */

#hwx-root .hwx-mast {
	background: var(--hwx-navy) !important;
	padding: 22px 30px !important;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	flex-wrap: wrap;
}

#hwx-root .hwx-mast-id { display: flex; align-items: center; gap: 15px; }

#hwx-root .hwx-mark {
	width: 50px; height: 50px;
	flex: 0 0 50px;
	border: 2px solid var(--hwx-teal);
	display: flex; align-items: center; justify-content: center;
	border-radius: 3px;
}
#hwx-root .hwx-mark span {
	font-family: 'Playfair Display', Georgia, serif;
	font-weight: 700; font-size: 19px;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	letter-spacing: .02em;
}

#hwx-root h2.hwx-brand {
	font-family: 'Playfair Display', Georgia, serif !important;
	font-weight: 700 !important;
	font-size: 33px !important;
	line-height: 1.1 !important;
	margin: 0 0 3px !important;
	padding: 0 !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	text-transform: none !important;
	letter-spacing: .01em;
}
#hwx-root h2.hwx-brand::before,
#hwx-root h2.hwx-brand::after { content: none !important; }

#hwx-root p.hwx-sub {
	margin: 0 !important; padding: 0 !important;
	font-size: 14.5px !important;
	color: #a9c0dc !important;
	-webkit-text-fill-color: #a9c0dc !important;
	text-transform: none !important;
}

#hwx-root .hwx-live {
	display: flex; align-items: center; gap: 9px;
	background: rgba(255,255,255,.07);
	border: 1px solid rgba(255,255,255,.16);
	padding: 7px 14px;
	border-radius: 999px;
}
#hwx-root .hwx-dot {
	width: 9px; height: 9px; border-radius: 50%;
	background: var(--hwx-teal);
	flex: 0 0 9px;
}
#hwx-root .hwx-live.is-live .hwx-dot { animation: hwx-pulse 2.4s ease-in-out infinite; }
#hwx-root .hwx-live.is-warn .hwx-dot { background: var(--hwx-gold); animation: none; }
#hwx-root .hwx-live.is-err .hwx-dot { background: #d05a5a; animation: none; }

@keyframes hwx-pulse {
	0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(29,158,117,.55); }
	50% { opacity: .78; box-shadow: 0 0 0 6px rgba(29,158,117,0); }
}

#hwx-root .hwx-live-t {
	font-family: 'JetBrains Mono', ui-monospace, monospace;
	font-size: 12px;
	color: #d5e4f5 !important;
	-webkit-text-fill-color: #d5e4f5 !important;
	letter-spacing: .01em;
}

/* ---------------- stats ---------------- */

#hwx-root .hwx-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	background: var(--hwx-deep) !important;
	border-top: 1px solid rgba(255,255,255,.09);
}
#hwx-root .hwx-stat {
	padding: 14px 30px 16px !important;
	border-right: 1px solid rgba(255,255,255,.09);
}
#hwx-root .hwx-stat:last-child { border-right: 0; }

#hwx-root .hwx-stat-n {
	display: block;
	font-family: 'JetBrains Mono', ui-monospace, monospace;
	font-size: 25px; font-weight: 700;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	line-height: 1.15;
}
#hwx-root .hwx-stat-l {
	display: block;
	font-size: 12.5px;
	color: #93aecd !important;
	-webkit-text-fill-color: #93aecd !important;
	margin-top: 2px;
}

/* ---------------- pulse (signature) ---------------- */

#hwx-root .hwx-pulse-wrap {
	padding: 18px 30px 14px !important;
	background: var(--hwx-card);
	border-bottom: 1px solid var(--hwx-line);
}
#hwx-root .hwx-pulse-head {
	display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
	margin-bottom: 9px;
}
#hwx-root .hwx-pulse-head h3 {
	font-family: 'Playfair Display', Georgia, serif !important;
	font-size: 17px !important; font-weight: 700 !important;
	margin: 0 !important; padding: 0 !important;
	color: var(--hwx-navy) !important;
	-webkit-text-fill-color: var(--hwx-navy) !important;
	text-transform: none !important;
}
#hwx-root .hwx-pulse-head h3::before,
#hwx-root .hwx-pulse-head h3::after { content: none !important; }

#hwx-root p.hwx-pulse-hint {
	margin: 0 !important; padding: 0 !important;
	font-size: 13px !important;
	color: var(--hwx-mute) !important;
	-webkit-text-fill-color: var(--hwx-mute) !important;
}

#hwx-root .hwx-pulse {
	position: relative;
	height: 92px;
	cursor: crosshair;
	touch-action: pan-y;
	user-select: none;
}
#hwx-root .hwx-pulse svg { display: block; width: 100%; height: 92px; }
#hwx-root .hwx-bar { fill: #c3d4e6; }
#hwx-root .hwx-bar.is-sel { fill: var(--hwx-teal); }
#hwx-root .hwx-axis { fill: #8698ac; font-family: 'JetBrains Mono', monospace; font-size: 11px; }
#hwx-root .hwx-base { stroke: var(--hwx-line); stroke-width: 1; }
#hwx-root .hwx-brush { fill: rgba(29,158,117,.13); stroke: var(--hwx-tealt); stroke-width: 1; }

/* ---------------- controls ---------------- */

#hwx-root .hwx-controls {
	display: flex; align-items: center; gap: 11px; flex-wrap: wrap;
	padding: 15px 30px !important;
	background: var(--hwx-bg);
	border-bottom: 1px solid var(--hwx-line);
}

#hwx-root .hwx-search { position: relative; flex: 1 1 300px; min-width: 0; }
#hwx-root .hwx-search input {
	width: 100%;
	font-family: 'Source Sans 3', sans-serif;
	font-size: 15px;
	padding: 10px 34px 10px 14px;
	border: 1px solid var(--hwx-line);
	border-radius: 3px;
	background: #fff;
	color: var(--hwx-ink);
	-webkit-appearance: none;
	appearance: none;
}
#hwx-root .hwx-search input::-webkit-search-cancel-button,
#hwx-root .hwx-search input::-webkit-search-decoration,
#hwx-root .hwx-search input::-webkit-search-results-button { -webkit-appearance: none; display: none; }
#hwx-root .hwx-search:focus-within { outline: 2px solid var(--hwx-tealt); outline-offset: 1px; border-radius: 3px; }
#hwx-root .hwx-search input:focus { outline: none; }

#hwx-root .hwx-clear {
	position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
	border: 0; background: none; cursor: pointer;
	font-size: 20px; line-height: 1; color: var(--hwx-mute);
	padding: 2px 6px;
}

#hwx-root .hwx-controls select {
	font-family: 'Source Sans 3', sans-serif;
	font-size: 14.5px;
	padding: 10px 12px;
	border: 1px solid var(--hwx-line);
	border-radius: 3px;
	background: #fff;
	color: var(--hwx-ink);
	max-width: 200px;
}

#hwx-root .hwx-toggles { display: flex; gap: 7px; flex-wrap: wrap; }

#hwx-root .hwx-tog,
#hwx-root .hwx-refresh {
	font-family: 'Source Sans 3', sans-serif;
	font-size: 13.5px; font-weight: 600;
	padding: 9px 14px;
	border: 1px solid var(--hwx-line);
	background: #fff;
	color: var(--hwx-ink) !important;
	-webkit-text-fill-color: var(--hwx-ink) !important;
	border-radius: 3px;
	cursor: pointer;
	text-transform: none !important;
}
#hwx-root .hwx-tog:hover,
#hwx-root .hwx-refresh:hover { border-color: var(--hwx-tealt); }
#hwx-root .hwx-tog.is-on {
	background: var(--hwx-navy);
	border-color: var(--hwx-navy);
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}
#hwx-root .hwx-refresh { border-color: var(--hwx-tealt); color: var(--hwx-tealt) !important; -webkit-text-fill-color: var(--hwx-tealt) !important; }
#hwx-root .hwx-refresh.is-busy { opacity: .55; cursor: progress; }

/* ---------------- sticky sector tabs ---------------- */

#hwx-root .hwx-navwrap {
	position: -webkit-sticky;
	position: sticky !important;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 40;
	background: var(--hwx-navy) !important;
	border-bottom: 2px solid var(--hwx-teal);
}
#hwx-root .hwx-navwrap.is-fixed {
	position: fixed !important;
	left: 0; right: 0; width: 100%;
	top: var(--hwx-fixtop, 0px);
	max-width: none;
}
#hwx-root.hwx-fixnav .hwx-pulse-wrap { position: static !important; }

#hwx-root .hwx-tabs {
	display: flex; overflow-x: auto; gap: 0;
	scrollbar-width: thin;
	max-width: 1280px; margin: 0 auto;
}
#hwx-root .hwx-tab {
	flex: 0 0 auto;
	display: flex; align-items: center; gap: 7px;
	background: none; border: 0;
	border-bottom: 3px solid transparent;
	padding: 13px 17px !important;
	cursor: pointer;
	font-family: 'Source Sans 3', sans-serif !important;
	font-size: 14px !important; font-weight: 600 !important;
	color: #a9c0dc !important;
	-webkit-text-fill-color: #a9c0dc !important;
	text-transform: none !important;
	white-space: nowrap;
}
#hwx-root .hwx-tab:hover { color: #ffffff !important; -webkit-text-fill-color: #ffffff !important; }
#hwx-root .hwx-tab.is-on {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	border-bottom-color: var(--hwx-teal);
}
#hwx-root .hwx-tab-n {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	background: rgba(255,255,255,.12);
	padding: 2px 7px; border-radius: 999px;
	color: #cfe0f2 !important;
	-webkit-text-fill-color: #cfe0f2 !important;
}
#hwx-root .hwx-tab.is-on .hwx-tab-n { background: var(--hwx-teal); color: #ffffff !important; -webkit-text-fill-color: #ffffff !important; }

/* ---------------- body ---------------- */

#hwx-root .hwx-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 26px;
	padding: 24px 30px 30px !important;
	align-items: start;
}
#hwx-root .hwx-body > * { min-width: 0; }

#hwx-root .hwx-listhead {
	display: flex; align-items: baseline; justify-content: space-between;
	gap: 12px; flex-wrap: wrap;
	border-bottom: 2px solid var(--hwx-navy);
	padding-bottom: 8px; margin-bottom: 14px;
}
#hwx-root .hwx-listhead h3 {
	font-family: 'Playfair Display', Georgia, serif !important;
	font-size: 25px !important; font-weight: 700 !important;
	margin: 0 !important; padding: 0 !important;
	color: var(--hwx-navy) !important;
	-webkit-text-fill-color: var(--hwx-navy) !important;
	text-transform: none !important;
}
#hwx-root .hwx-listhead h3::before,
#hwx-root .hwx-listhead h3::after { content: none !important; }
#hwx-root .hwx-listhead p {
	margin: 0 !important; padding: 0 !important;
	font-family: 'JetBrains Mono', monospace;
	font-size: 12px !important;
	color: var(--hwx-mute) !important;
	-webkit-text-fill-color: var(--hwx-mute) !important;
}

/* briefing */
#hwx-root .hwx-brief {
	background: var(--hwx-navy) !important;
	padding: 18px 22px !important;
	border-radius: 3px;
	margin-bottom: 20px;
}
#hwx-root .hwx-brief h3 {
	font-family: 'Playfair Display', Georgia, serif !important;
	font-size: 18px !important; font-weight: 700 !important;
	margin: 0 0 10px !important; padding: 0 !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	text-transform: none !important;
}
#hwx-root .hwx-brief h3::before,
#hwx-root .hwx-brief h3::after { content: none !important; }
#hwx-root .hwx-brief ol { margin: 0 !important; padding: 0 0 0 20px !important; }
#hwx-root .hwx-brief li {
	color: #dce8f6 !important;
	-webkit-text-fill-color: #dce8f6 !important;
	font-size: 14.5px; margin-bottom: 6px;
	list-style: decimal;
}
#hwx-root .hwx-brief a {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	text-decoration: none; font-weight: 600;
	border-bottom: 1px solid rgba(255,255,255,.35);
}
#hwx-root .hwx-brief a:hover { border-bottom-color: var(--hwx-teal); }
#hwx-root .hwx-brief .hwx-brief-n {
	color: #8fd0b8 !important;
	-webkit-text-fill-color: #8fd0b8 !important;
	font-size: 12.5px; font-family: 'JetBrains Mono', monospace;
}

/* story cards */
#hwx-root .hwx-item {
	border-bottom: 1px solid var(--hwx-line);
	padding: 15px 0 15px 14px;
	position: relative;
	border-left: 3px solid transparent;
}
#hwx-root .hwx-item.is-new { border-left-color: var(--hwx-teal); }
#hwx-root .hwx-item.is-hit { border-left-color: var(--hwx-gold); background: #fffbf3; }
#hwx-root .hwx-item.is-read { opacity: .62; }

#hwx-root .hwx-item-h {
	font-family: 'Playfair Display', Georgia, serif !important;
	font-size: 18.5px !important;
	font-weight: 600 !important;
	line-height: 1.32 !important;
	margin: 0 0 6px !important; padding: 0 !important;
	text-transform: none !important;
}
#hwx-root .hwx-item-h::before,
#hwx-root .hwx-item-h::after { content: none !important; }
#hwx-root .hwx-item-h a {
	color: var(--hwx-navy) !important;
	-webkit-text-fill-color: var(--hwx-navy) !important;
	text-decoration: none;
}
#hwx-root .hwx-item-h a:hover {
	color: var(--hwx-tealt) !important;
	-webkit-text-fill-color: var(--hwx-tealt) !important;
	text-decoration: underline;
}

#hwx-root .hwx-item-d {
	margin: 0 0 8px !important; padding: 0 !important;
	font-size: 14.5px !important;
	color: #3f5468 !important;
	-webkit-text-fill-color: #3f5468 !important;
	max-width: 74ch;
}

#hwx-root .hwx-meta {
	display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
	font-size: 12.5px;
	color: var(--hwx-mute) !important;
	-webkit-text-fill-color: var(--hwx-mute) !important;
}
#hwx-root .hwx-src {
	font-weight: 700;
	color: var(--hwx-tealt) !important;
	-webkit-text-fill-color: var(--hwx-tealt) !important;
}
#hwx-root .hwx-time { font-family: 'JetBrains Mono', monospace; }
#hwx-root .hwx-sep { color: #b6c3d2; }

#hwx-root .hwx-flag {
	display: inline-flex; align-items: center; gap: 5px;
	font-size: 11.5px; font-weight: 700;
	color: var(--hwx-goldt) !important;
	-webkit-text-fill-color: var(--hwx-goldt) !important;
}
#hwx-root .hwx-flag::before {
	content: ''; width: 7px; height: 7px; border-radius: 50%;
	background: var(--hwx-gold); display: inline-block;
}
#hwx-root .hwx-flag.is-teal {
	color: var(--hwx-tealt) !important;
	-webkit-text-fill-color: var(--hwx-tealt) !important;
}
#hwx-root .hwx-flag.is-teal::before { background: var(--hwx-teal); }

#hwx-root .hwx-act {
	background: none; border: 0; cursor: pointer;
	font-family: 'Source Sans 3', sans-serif;
	font-size: 12.5px; font-weight: 600;
	color: var(--hwx-mute) !important;
	-webkit-text-fill-color: var(--hwx-mute) !important;
	padding: 2px 4px;
}
#hwx-root .hwx-act:hover { color: var(--hwx-tealt) !important; -webkit-text-fill-color: var(--hwx-tealt) !important; text-decoration: underline; }
#hwx-root .hwx-act.is-on { color: var(--hwx-goldt) !important; -webkit-text-fill-color: var(--hwx-goldt) !important; }

/* cluster */
#hwx-root .hwx-also {
	margin-top: 9px;
	border-left: 2px solid var(--hwx-line);
	padding-left: 12px;
}
#hwx-root .hwx-also-h {
	font-size: 12.5px; font-weight: 700;
	color: var(--hwx-goldt) !important;
	-webkit-text-fill-color: var(--hwx-goldt) !important;
	margin: 0 0 4px !important;
}
#hwx-root .hwx-also ul { margin: 0 !important; padding: 0 !important; list-style: none !important; }
#hwx-root .hwx-also li { margin: 0 0 3px !important; font-size: 13.5px; list-style: none !important; }
#hwx-root .hwx-also a {
	color: #3f5468 !important;
	-webkit-text-fill-color: #3f5468 !important;
	text-decoration: none;
}
#hwx-root .hwx-also a:hover { color: var(--hwx-tealt) !important; -webkit-text-fill-color: var(--hwx-tealt) !important; text-decoration: underline; }
#hwx-root .hwx-also b { color: var(--hwx-tealt) !important; -webkit-text-fill-color: var(--hwx-tealt) !important; font-weight: 700; }

/* mark */
#hwx-root mark.hwx-mk { background: #ffeec2; color: inherit; padding: 0 2px; }

/* empty and skeleton */
#hwx-root .hwx-empty {
	padding: 34px 20px; text-align: center;
	border: 1px dashed var(--hwx-line); border-radius: 3px;
}
#hwx-root .hwx-empty p { margin: 0 0 4px !important; color: var(--hwx-ink) !important; -webkit-text-fill-color: var(--hwx-ink) !important; font-weight: 600; }
#hwx-root .hwx-empty small { color: var(--hwx-mute) !important; -webkit-text-fill-color: var(--hwx-mute) !important; }

#hwx-root .hwx-skel { height: 62px; border-bottom: 1px solid var(--hwx-line); padding: 15px 0; }
#hwx-root .hwx-skel span {
	display: block; height: 15px; border-radius: 3px;
	background: linear-gradient(90deg, #eef2f7 25%, #e2e9f1 50%, #eef2f7 75%);
	background-size: 400% 100%;
	animation: hwx-shim 1.5s ease infinite;
	margin-bottom: 8px;
}
#hwx-root .hwx-skel span:nth-child(2) { width: 42%; height: 11px; }
@keyframes hwx-shim { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

/* ---------------- sidebar ---------------- */

#hwx-root .hwx-panel {
	background: var(--hwx-bg);
	border: 1px solid var(--hwx-line);
	border-radius: 3px;
	padding: 15px 16px !important;
	margin-bottom: 16px;
}
#hwx-root .hwx-panel h4 {
	font-family: 'Playfair Display', Georgia, serif !important;
	font-size: 16px !important; font-weight: 700 !important;
	margin: 0 0 8px !important; padding: 0 !important;
	color: var(--hwx-navy) !important;
	-webkit-text-fill-color: var(--hwx-navy) !important;
	text-transform: none !important;
	display: flex; align-items: center; gap: 8px;
}
#hwx-root .hwx-panel h4::before,
#hwx-root .hwx-panel h4::after { content: none !important; }

#hwx-root .hwx-badge {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px; font-weight: 700;
	background: var(--hwx-navy);
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	padding: 2px 7px; border-radius: 999px;
}

#hwx-root p.hwx-panel-note {
	margin: 0 0 9px !important; padding: 0 !important;
	font-size: 12.5px !important;
	color: var(--hwx-mute) !important;
	-webkit-text-fill-color: var(--hwx-mute) !important;
}

#hwx-root .hwx-watch-add { display: flex; gap: 6px; margin-bottom: 9px; }
#hwx-root .hwx-watch-add input {
	flex: 1 1 auto; min-width: 0;
	font-family: 'Source Sans 3', sans-serif; font-size: 13.5px;
	padding: 7px 10px; border: 1px solid var(--hwx-line);
	border-radius: 3px; background: #fff; color: var(--hwx-ink);
}
#hwx-root .hwx-watch-add button {
	font-family: 'Source Sans 3', sans-serif;
	font-size: 13px; font-weight: 600;
	padding: 7px 12px;
	border: 1px solid var(--hwx-navy);
	background: var(--hwx-navy);
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	border-radius: 3px; cursor: pointer;
	text-transform: none !important;
}

#hwx-root .hwx-chips { display: flex; flex-wrap: wrap; gap: 6px; }
#hwx-root .hwx-chip {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 12.5px; font-weight: 600;
	background: #fff;
	border: 1px solid var(--hwx-line);
	color: var(--hwx-ink) !important;
	-webkit-text-fill-color: var(--hwx-ink) !important;
	padding: 4px 10px; border-radius: 999px;
	cursor: pointer;
	font-family: 'Source Sans 3', sans-serif;
	text-transform: none !important;
}
#hwx-root .hwx-chip:hover { border-color: var(--hwx-tealt); }
#hwx-root .hwx-chip b {
	font-family: 'JetBrains Mono', monospace; font-size: 11px;
	color: var(--hwx-goldt) !important;
	-webkit-text-fill-color: var(--hwx-goldt) !important;
}
#hwx-root .hwx-chip .hwx-x { color: var(--hwx-mute); font-size: 14px; line-height: 1; }

#hwx-root .hwx-saved-i {
	border-bottom: 1px solid var(--hwx-line);
	padding: 7px 0; font-size: 13.5px;
}
#hwx-root .hwx-saved-i:last-of-type { border-bottom: 0; }
#hwx-root .hwx-saved-i a {
	color: var(--hwx-navy) !important;
	-webkit-text-fill-color: var(--hwx-navy) !important;
	text-decoration: none; font-weight: 600;
}
#hwx-root .hwx-saved-i a:hover { text-decoration: underline; }
#hwx-root .hwx-saved-i span {
	display: block; font-size: 11.5px;
	color: var(--hwx-mute) !important;
	-webkit-text-fill-color: var(--hwx-mute) !important;
}

#hwx-root .hwx-panel-acts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
#hwx-root .hwx-link {
	background: none; border: 0; cursor: pointer; padding: 0;
	font-family: 'Source Sans 3', sans-serif;
	font-size: 13px; font-weight: 600;
	color: var(--hwx-tealt) !important;
	-webkit-text-fill-color: var(--hwx-tealt) !important;
	text-transform: none !important;
}
#hwx-root .hwx-link:hover { text-decoration: underline; }

#hwx-root .hwx-health-i {
	display: flex; align-items: center; gap: 8px;
	font-size: 12.5px; padding: 3px 0;
	color: var(--hwx-ink) !important;
	-webkit-text-fill-color: var(--hwx-ink) !important;
}
#hwx-root .hwx-health-i::before {
	content: ''; width: 7px; height: 7px; border-radius: 50%;
	background: var(--hwx-teal); flex: 0 0 7px;
}
#hwx-root .hwx-health-i.is-fail::before { background: #c0504d; }
#hwx-root .hwx-health-i.is-heal::before { background: var(--hwx-gold); }
#hwx-root .hwx-health-i small {
	margin-left: auto;
	font-family: 'JetBrains Mono', monospace; font-size: 11px;
	color: var(--hwx-mute) !important;
	-webkit-text-fill-color: var(--hwx-mute) !important;
}

/* ---------------- footer ---------------- */

#hwx-root .hwx-foot {
	background: var(--hwx-navy) !important;
	padding: 15px 30px !important;
	display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
#hwx-root .hwx-foot p {
	margin: 0 !important; padding: 0 !important;
	font-size: 12.5px !important;
	color: #a9c0dc !important;
	-webkit-text-fill-color: #a9c0dc !important;
}
#hwx-root p.hwx-foot-l { font-family: 'JetBrains Mono', monospace; }

/* noscript */
#hwx-root .hwx-noscript { list-style: none; margin: 0; padding: 0; }
#hwx-root .hwx-noscript li { padding: 9px 0; border-bottom: 1px solid var(--hwx-line); font-size: 15px; }
#hwx-root .hwx-noscript a { color: var(--hwx-navy) !important; font-weight: 600; text-decoration: none; }
#hwx-root .hwx-noscript span { color: var(--hwx-tealt) !important; font-size: 12.5px; }

/* debug */
#hwx-root .hwx-debug { background: #fffbe9; border: 1px solid #e8d9a8; padding: 14px 18px; font-size: 13px; }
#hwx-root .hwx-debug h4 { font-family: 'Source Sans 3', sans-serif !important; margin: 0 0 8px !important; color: var(--hwx-navy) !important; }
#hwx-root .hwx-debug table { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
#hwx-root .hwx-debug th { text-align: left !important; padding: 3px 10px 3px 0; width: 190px; vertical-align: top; color: var(--hwx-navy) !important; }
#hwx-root .hwx-debug td { padding: 3px 0; word-break: break-all; font-family: 'JetBrains Mono', monospace; font-size: 11.5px; }

/* ---------------- compact density ---------------- */

#hwx-root.is-dense .hwx-item { padding: 9px 0 9px 14px; }
#hwx-root.is-dense .hwx-item-d { display: none; }
#hwx-root.is-dense .hwx-item-h { font-size: 16px !important; margin-bottom: 4px !important; }
#hwx-root.is-dense .hwx-also { display: none; }

/* ---------------- night mode ---------------- */

#hwx-root.is-night {
	--hwx-ink: rgb(228, 237, 247);
	--hwx-mute: rgb(157, 177, 200);
	--hwx-line: rgb(30, 54, 82);
	--hwx-bg: rgb(10, 28, 48);
	--hwx-card: rgb(13, 34, 55);
	background: rgb(10, 28, 48);
}
#hwx-root.is-night .hwx-shell { background: rgb(13, 34, 55); border-color: rgb(30, 54, 82); }
#hwx-root.is-night .hwx-pulse-wrap { background: rgb(13, 34, 55); }
#hwx-root.is-night .hwx-controls { background: rgb(10, 28, 48); }
#hwx-root.is-night .hwx-pulse-head h3,
#hwx-root.is-night .hwx-listhead h3,
#hwx-root.is-night .hwx-panel h4 {
	color: rgb(232, 240, 250) !important;
	-webkit-text-fill-color: rgb(232, 240, 250) !important;
}
#hwx-root.is-night .hwx-listhead { border-bottom-color: rgb(45, 78, 114); }
#hwx-root.is-night .hwx-item-h a {
	color: rgb(232, 240, 250) !important;
	-webkit-text-fill-color: rgb(232, 240, 250) !important;
}
#hwx-root.is-night .hwx-item-h a:hover,
#hwx-root.is-night .hwx-src,
#hwx-root.is-night .hwx-link {
	color: rgb(126, 209, 176) !important;
	-webkit-text-fill-color: rgb(126, 209, 176) !important;
}
#hwx-root.is-night .hwx-item-d,
#hwx-root.is-night .hwx-also a {
	color: rgb(178, 196, 216) !important;
	-webkit-text-fill-color: rgb(178, 196, 216) !important;
}
#hwx-root.is-night .hwx-item.is-hit { background: rgb(38, 32, 18); }
#hwx-root.is-night .hwx-flag,
#hwx-root.is-night .hwx-also-h,
#hwx-root.is-night .hwx-chip b,
#hwx-root.is-night .hwx-act.is-on {
	color: rgb(226, 176, 92) !important;
	-webkit-text-fill-color: rgb(226, 176, 92) !important;
}
#hwx-root.is-night .hwx-panel { background: rgb(10, 28, 48); border-color: rgb(30, 54, 82); }
#hwx-root.is-night .hwx-chip,
#hwx-root.is-night .hwx-tog,
#hwx-root.is-night .hwx-refresh,
#hwx-root.is-night .hwx-search input,
#hwx-root.is-night .hwx-controls select,
#hwx-root.is-night .hwx-watch-add input {
	background: rgb(13, 34, 55);
	border-color: rgb(30, 54, 82);
	color: rgb(228, 237, 247) !important;
	-webkit-text-fill-color: rgb(228, 237, 247) !important;
}
#hwx-root.is-night .hwx-saved-i a {
	color: rgb(232, 240, 250) !important;
	-webkit-text-fill-color: rgb(232, 240, 250) !important;
}
#hwx-root.is-night .hwx-bar { fill: rgb(45, 78, 114); }
#hwx-root.is-night .hwx-empty { border-color: rgb(30, 54, 82); }
#hwx-root.is-night .hwx-empty p { color: rgb(228, 237, 247) !important; -webkit-text-fill-color: rgb(228, 237, 247) !important; }
#hwx-root.is-night mark.hwx-mk { background: rgb(94, 74, 26); color: rgb(255, 240, 208); }

/* ============================================================
   THEME ARMOR
   Restated at #hwx-root specificity because themes set color,
   text-transform, font-family, weight and alignment on generic
   selectors inside .entry-content and those rules outrank
   component styles. This block sits BEFORE the media queries so
   its !important rules cannot defeat the mobile overrides.
   ============================================================ */

#hwx-root p,
#hwx-root li,
#hwx-root td,
#hwx-root th,
#hwx-root div,
#hwx-root h2,
#hwx-root h3,
#hwx-root h4 { text-align: left !important; }

#hwx-root h2,
#hwx-root h3,
#hwx-root h4 {
	font-family: 'Playfair Display', Georgia, serif !important;
	text-transform: none !important;
	letter-spacing: normal !important;
}
#hwx-root h2::before, #hwx-root h2::after,
#hwx-root h3::before, #hwx-root h3::after,
#hwx-root h4::before, #hwx-root h4::after { content: none !important; display: none !important; }

#hwx-root button,
#hwx-root input,
#hwx-root select {
	font-family: 'Source Sans 3', sans-serif !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	line-height: normal !important;
	min-height: 0 !important;
}

#hwx-root img { border: 0 !important; box-shadow: none !important; filter: none !important; }

#hwx-root .hwx-mast h2.hwx-brand,
#hwx-root .hwx-mast .hwx-mark span,
#hwx-root .hwx-brief h3,
#hwx-root .hwx-stats .hwx-stat-n {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}
#hwx-root .hwx-navwrap .hwx-tab[aria-selected="false"] {
	color: #a9c0dc !important;
	-webkit-text-fill-color: #a9c0dc !important;
}
#hwx-root .hwx-navwrap .hwx-tab[aria-selected="true"] {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}
#hwx-root a { box-shadow: none !important; }
#hwx-root ul, #hwx-root ol { list-style-position: outside !important; }
#hwx-root .hwx-also ul, #hwx-root .hwx-noscript { list-style: none !important; }

/* focus visibility */
#hwx-root a:focus-visible,
#hwx-root button:focus-visible,
#hwx-root input:focus-visible,
#hwx-root select:focus-visible {
	outline: 2px solid var(--hwx-gold) !important;
	outline-offset: 2px !important;
}
#hwx-root .hwx-navwrap .hwx-tab:focus-visible { outline-color: #ffffff !important; outline-offset: -3px !important; }

/* ---------------- responsive ---------------- */

@media (max-width: 1080px) {
	#hwx-root .hwx-body { grid-template-columns: 1fr !important; }
	#hwx-root .hwx-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	#hwx-root .hwx-panel { margin-bottom: 0; }
}

@media (max-width: 760px) {
	#hwx-root .hwx-stats { grid-template-columns: repeat(2, 1fr); }
	#hwx-root .hwx-stat { padding: 12px 20px 14px !important; border-bottom: 1px solid rgba(255,255,255,.09); }
	#hwx-root .hwx-stat-n { font-size: 21px; }
	#hwx-root .hwx-mast { padding: 18px 20px !important; }
	#hwx-root h2.hwx-brand { font-size: 27px !important; }
	#hwx-root .hwx-pulse-wrap,
	#hwx-root .hwx-controls,
	#hwx-root .hwx-foot { padding-left: 20px !important; padding-right: 20px !important; }
	#hwx-root .hwx-body { padding: 20px !important; }
	#hwx-root .hwx-side { grid-template-columns: 1fr; }
	#hwx-root .hwx-listhead h3 { font-size: 21px !important; }
	#hwx-root .hwx-item-h { font-size: 17px !important; }
}

@media (max-width: 460px) {
	#hwx-root .hwx-stats { grid-template-columns: 1fr 1fr; }
	#hwx-root .hwx-controls select { max-width: 100%; flex: 1 1 100%; }
	#hwx-root .hwx-search { flex: 1 1 100%; }
	#hwx-root .hwx-pulse, #hwx-root .hwx-pulse svg { height: 76px; }
	#hwx-root .hwx-live { width: 100%; justify-content: center; }
	#hwx-root .hwx-item-h { font-size: 16px !important; }
}

@media (prefers-reduced-motion: reduce) {
	#hwx-root *, #hwx-root *::before, #hwx-root *::after {
		animation: none !important;
		transition: none !important;
	}
}

/* ---------------- print ---------------- */

@media print {
	#hwx-root .hwx-controls,
	#hwx-root .hwx-navwrap,
	#hwx-root .hwx-pulse-wrap,
	#hwx-root .hwx-side,
	#hwx-root .hwx-live,
	#hwx-root .hwx-act,
	#hwx-root .hwx-debug { display: none !important; }

	#hwx-root, #hwx-root .hwx-shell {
		background: #ffffff !important;
		border: 0 !important;
		max-width: 100% !important;
	}
	#hwx-root .hwx-mast,
	#hwx-root .hwx-stats,
	#hwx-root .hwx-foot {
		background: #ffffff !important;
		border-bottom: 1px solid #999 !important;
		padding: 8px 0 !important;
	}
	#hwx-root h2.hwx-brand,
	#hwx-root .hwx-stat-n,
	#hwx-root .hwx-mark span {
		color: #000000 !important;
		-webkit-text-fill-color: #000000 !important;
	}
	#hwx-root p.hwx-sub,
	#hwx-root .hwx-stat-l,
	#hwx-root .hwx-foot p {
		color: #333333 !important;
		-webkit-text-fill-color: #333333 !important;
	}
	#hwx-root .hwx-mark { border-color: #000 !important; }
	#hwx-root .hwx-body { display: block !important; padding: 0 !important; }
	#hwx-root .hwx-item { break-inside: avoid; page-break-inside: avoid; padding: 7px 0 !important; border-left: 0 !important; }
	#hwx-root .hwx-item-h { font-size: 13pt !important; }
	#hwx-root .hwx-item-h a { color: #000 !important; -webkit-text-fill-color: #000 !important; }
	#hwx-root .hwx-item-d { font-size: 10pt !important; color: #333 !important; -webkit-text-fill-color: #333 !important; }
	#hwx-root .hwx-brief { background: #fff !important; border: 1px solid #000 !important; }
	#hwx-root .hwx-brief h3, #hwx-root .hwx-brief li, #hwx-root .hwx-brief a {
		color: #000 !important; -webkit-text-fill-color: #000 !important;
	}
	@page { size: portrait; margin: 14mm; }
}
