/* Humanity Systems Coalition Workbench */

body.hscw-app { margin: 0; background: #F7F7F4; }

.hscw {
	--hs-ink: #1B1F24;
	--hs-ink2: #3D4550;
	--hs-muted: #5A6270;
	--hs-bg: #F7F7F4;
	--hs-card: #FFFFFF;
	--hs-line: #E2E2DC;
	--hs-line2: #ECECE6;
	--hs-field: #C9CCC4;
	--hs-teal: #0F5E63;
	--hs-teal-dark: #0A4245;
	--hs-teal-soft: #E6F0F0;
	--hs-amber: #6B390C;
	--hs-amber-soft: #FBF1E6;
	--hs-amber-line: #EBD3B8;
	--hs-review: #7A4510;
	--hs-review-soft: #FFF4E5;
	--hs-use: #2A3F6B;
	--hs-use-soft: #E8EDF7;
	--hs-gray-soft: #F3F3EF;
	--hs-slate-soft: #EEF0F3;
	--hs-red: #7A2A1C;
	--hs-red-soft: #FBEDEA;

	background: var(--hs-bg);
	color: var(--hs-ink);
	font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-size: 16px;
	line-height: 1.5;
	min-height: 100vh;
	-webkit-font-smoothing: antialiased;
}
.hscw *, .hscw *::before, .hscw *::after { box-sizing: border-box; }
.hscw a { color: var(--hs-teal); }
.hscw a:hover { color: var(--hs-teal-dark); }
.hscw p { margin: 0 0 10px; }
.hscw :focus-visible { outline: 3px solid #5FA8AC; outline-offset: 2px; }

/* Header */
.hscw-header { background: var(--hs-card); border-bottom: 1px solid var(--hs-line); }
.hscw-header-inner { max-width: 1200px; margin: 0 auto; padding: 12px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.hscw-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; color: var(--hs-ink) !important; text-decoration: none; }
.hscw-brand svg { color: var(--hs-teal); }
.hscw-nav { display: flex; flex-wrap: wrap; gap: 4px; flex: 1 1 auto; }
.hscw-nav a { padding: 10px 14px; border-radius: 8px; color: var(--hs-ink2); text-decoration: none; font-size: 14px; }
.hscw-nav a:hover { background: var(--hs-gray-soft); color: var(--hs-ink); }
.hscw-nav a.is-active { background: var(--hs-teal-soft); color: var(--hs-teal); font-weight: 600; }
.hscw-user { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.hscw-logout { font-size: 13px; color: var(--hs-muted) !important; }

/* Layout */
.hscw-main { max-width: 1200px; margin: 0 auto; padding: 32px 24px 56px; }
.hscw-narrow { max-width: 560px; }
.hscw-cols { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.hscw-col-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hscw-col-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hscw-row { display: flex; flex-wrap: wrap; gap: 16px; }
.hscw-row > * { flex: 1 1 240px; min-width: 0; }
.hscw-row > .hscw-grow2 { flex: 2 1 300px; }

/* Type */
.hscw-h1 { margin: 0 0 6px; font-size: 30px; line-height: 1.2; font-weight: 600; color: var(--hs-ink); }
.hscw-h2 { margin: 0 0 14px; font-size: 18px; font-weight: 600; color: var(--hs-ink); }
.hscw-h3 { margin: 0 0 10px; font-size: 16px; font-weight: 600; color: var(--hs-ink); }
.hscw-lead { margin: 0 0 26px; font-size: 16px; color: var(--hs-ink2); }
.hscw-muted { color: var(--hs-muted); }
.hscw-small { font-size: 12px; }
.hscw-strong { font-weight: 500; }
.hscw-mono { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 13px; color: var(--hs-muted); }
.hscw-eyebrow { margin: 0 0 6px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: #CDE3E3; }
.hscw-eyebrow-dark { margin: 0 0 4px; font-size: 13px; color: var(--hs-muted); font-family: 'IBM Plex Mono', ui-monospace, monospace; }
.hscw-label { margin: 0 0 6px; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--hs-muted); font-weight: 600; }
.hscw-empty { color: var(--hs-muted); margin: 0; }

/* Cards */
.hscw-card { background: var(--hs-card); border: 1px solid var(--hs-line); border-radius: 14px; padding: 22px 24px; }
.hscw-card-soft { background: var(--hs-slate-soft); border-color: transparent; font-size: 13px; color: var(--hs-ink2); }
.hscw-card-warn { background: var(--hs-review-soft); border-color: #F0D9B5; margin-bottom: 24px; }
.hscw-card-vault { background: var(--hs-amber-soft); border-color: var(--hs-amber-line); color: var(--hs-amber); }
.hscw-card-vault .hscw-stat-label { color: var(--hs-amber); }
.hscw-card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.hscw-card-head .hscw-h2 { margin: 0; }

/* Next task */
.hscw-task { background: var(--hs-teal); color: #FFFFFF; border-radius: 14px; padding: 24px 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.hscw-task-text { flex: 1 1 320px; }
.hscw-task h2 { margin: 0 0 6px; font-size: 21px; font-weight: 600; color: #FFFFFF; }
.hscw-task p { margin: 0; color: #E2EEEE; font-size: 14px; }
.hscw-task .hscw-eyebrow { margin-bottom: 6px; }

/* Buttons */
.hscw-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 20px; border-radius: 10px; border: 1px solid var(--hs-teal); background: var(--hs-teal); color: #FFFFFF !important; font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; }
.hscw-btn:hover { background: var(--hs-teal-dark); border-color: var(--hs-teal-dark); }
.hscw-btn-light { background: #FFFFFF; border-color: #FFFFFF; color: var(--hs-teal) !important; }
.hscw-btn-light:hover { background: var(--hs-teal-soft); border-color: var(--hs-teal-soft); }
.hscw-btn-outline { background: #FFFFFF; color: var(--hs-teal) !important; }
.hscw-btn-outline:hover { background: var(--hs-teal-soft); }
.hscw-btn-plain { background: #FFFFFF; border-color: var(--hs-field); color: var(--hs-ink) !important; font-weight: 500; }
.hscw-btn-plain:hover { background: var(--hs-gray-soft); border-color: var(--hs-field); }
.hscw-btn-sm { min-height: 40px; padding: 8px 14px; font-size: 14px; }

/* Pills, chips, stage colors */
.hscw-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.hscw-chip { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--hs-slate-soft); color: var(--hs-ink2); font-size: 12px; font-weight: 500; }
.hscw-stage-draft, .hscw-stage-changes_requested { background: var(--hs-gray-soft); color: var(--hs-ink2); }
.hscw-stage-changes_requested.hscw-pill { background: var(--hs-red-soft); color: var(--hs-red); }
.hscw-stage-in_review { background: var(--hs-review-soft); color: var(--hs-review); }
.hscw-stage-approved { background: var(--hs-teal-soft); color: var(--hs-teal-dark); }
.hscw-stage-in_use { background: var(--hs-use-soft); color: var(--hs-use); }
.hscw-stage-retired { background: var(--hs-slate-soft); color: var(--hs-ink2); }
.hscw-vault { display: inline-flex; align-items: center; gap: 5px; color: var(--hs-amber); }
.hscw-lock { flex: none; }
.hscw-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* Stats */
.hscw-stats5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 14px 0 18px; }
.hscw-stat { border-radius: 10px; padding: 12px; }
.hscw-stat-label { font-size: 12px; }
.hscw-stat-num { font-size: 22px; font-weight: 600; color: var(--hs-ink); }
.hscw-stat-big { font-size: 30px; font-weight: 600; line-height: 1.2; margin: 0; }
.hscw-stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 24px; }
.hscw-stat-cards .hscw-card { padding: 18px 20px; }
.hscw-stat-cards .hscw-stat-label { font-size: 13px; color: var(--hs-muted); }
.hscw-mini-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; text-align: center; margin: 4px 0 14px; }
.hscw-mini-stats strong { display: block; font-size: 22px; }
.hscw-mini-stats span { font-size: 12px; color: var(--hs-muted); }

/* Tabs */
.hscw-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.hscw-tabs a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--hs-line); background: #FFFFFF; color: var(--hs-ink2); text-decoration: none; font-size: 14px; }
.hscw-tabs a.is-active { background: var(--hs-teal); border-color: var(--hs-teal); color: #FFFFFF; }

/* Tables and lists */
.hscw-table-wrap { overflow-x: auto; }
.hscw-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 600px; }
.hscw-table th { text-align: left; color: var(--hs-muted); font-size: 12px; font-weight: 500; padding: 8px; border: 0; background: none; }
.hscw-table td { padding: 12px 8px; border: 0; border-top: 1px solid var(--hs-line2); vertical-align: top; }
.hscw-table th:first-child, .hscw-table td:first-child { padding-left: 0; }
.hscw-list { list-style: none; margin: 0; padding: 0; }
.hscw-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--hs-line2); }
.hscw-list li:first-child { border-top: 0; padding-top: 0; }
.hscw-bullets { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.7; color: var(--hs-ink2); }
.hscw-events { display: flex; flex-direction: column; gap: 14px; font-size: 14px; }

/* Forms */
.hscw-form { display: flex; flex-direction: column; gap: 20px; }
.hscw-field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.hscw-field > label, .hscw-field > legend { font-size: 14px; font-weight: 600; padding: 0; margin-bottom: 4px; }
.hscw-help { font-size: 13px; color: var(--hs-muted); margin: 0; }
.hscw input[type="text"], .hscw input[type="email"], .hscw input[type="url"], .hscw input[type="password"], .hscw select, .hscw textarea {
	width: 100%; font: inherit; font-size: 15px; line-height: 1.5; padding: 11px 14px; border: 1px solid var(--hs-field); border-radius: 10px; background: #FFFFFF; color: var(--hs-ink); box-shadow: none;
}
.hscw textarea { resize: vertical; }
.hscw input:focus, .hscw select:focus, .hscw textarea:focus { border-color: var(--hs-teal); outline: 3px solid rgba(15, 94, 99, 0.18); outline-offset: 0; }
.hscw-choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.hscw-choice { flex: 1 1 140px; display: flex; gap: 8px; align-items: center; min-height: 44px; padding: 10px 14px; border: 1px solid var(--hs-field); border-radius: 10px; font-size: 14px; cursor: pointer; }
.hscw-choice-pill { flex: 0 1 auto; border-radius: 999px; }
.hscw-choice:has(input:checked) { border: 2px solid var(--hs-teal); background: var(--hs-teal-soft); color: var(--hs-teal-dark); padding: 9px 13px; }
.hscw-choice-vault:has(input:checked) { border-color: #8A4B12; background: var(--hs-amber-soft); color: var(--hs-amber); }
.hscw-scale { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.hscw-scale .hscw-choice { justify-content: center; padding: 8px 4px; }
.hscw-scale .hscw-choice:has(input:checked) { padding: 7px 3px; font-weight: 600; }
.hscw-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--hs-ink2); }
.hscw-check input { margin-top: 4px; }
.hscw-variant > label { font-weight: 500; }
.hscw-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; border-top: 1px solid var(--hs-line2); padding-top: 18px; }
.hscw-actions-split { border-top: 0; padding-top: 0; }
.hscw-actions-split .hscw-btn { flex: 1 1 140px; }
.hscw-divider { border-top: 1px solid var(--hs-line2); padding-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.hscw-vault-note { display: flex; gap: 10px; background: var(--hs-amber-soft); color: var(--hs-amber); border-radius: 10px; padding: 12px 16px; font-size: 13px; line-height: 1.5; margin-bottom: 20px; }
.hscw-form .hscw-vault-note { margin-bottom: 0; }
.hscw-vault-note svg { width: 16px; height: 16px; margin-top: 2px; }
.hscw-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Login form from wp_login_form() */
.hscw #loginform p { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; }
.hscw #loginform .login-remember { flex-direction: row; }
.hscw #loginform label { font-size: 14px; font-weight: 600; }
.hscw #loginform .login-remember label { font-weight: 400; }
.hscw #loginform input[type="submit"] { min-height: 44px; padding: 11px 20px; border-radius: 10px; border: 0; background: var(--hs-teal); color: #FFFFFF; font: inherit; font-weight: 600; cursor: pointer; align-self: flex-start; }

/* Scenario view */
.hscw-scenario { display: flex; flex-direction: column; gap: 18px; }
.hscw-scenario p { font-size: 16px; line-height: 1.6; }
.hscw-good, .hscw-bad { border-radius: 10px; padding: 14px 16px; }
.hscw-good { background: var(--hs-teal-soft); }
.hscw-bad { background: var(--hs-red-soft); }
.hscw-good h2, .hscw-good h3 { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--hs-teal-dark); }
.hscw-bad h2, .hscw-bad h3 { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--hs-red); }
.hscw-good p, .hscw-bad p { font-size: 14px; line-height: 1.5; margin: 0; }
.hscw-variants { margin: 0; padding-left: 20px; font-size: 15px; display: flex; flex-direction: column; gap: 6px; }
.hscw-comment { display: flex; gap: 12px; margin-bottom: 14px; }
.hscw-comment-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px !important; font-size: 14px !important; }
.hscw-comment-body { font-size: 14px !important; line-height: 1.55; color: var(--hs-ink2); background: var(--hs-gray-soft); border-radius: 10px; padding: 12px 14px; margin-bottom: 6px !important; }
.hscw details { border-top: 1px solid var(--hs-line2); padding-top: 12px; }
.hscw summary { cursor: pointer; color: var(--hs-teal); font-weight: 500; font-size: 14px; min-height: 32px; }
.hscw details[open] summary { margin-bottom: 12px; }
.hscw details .hscw-row { margin: 10px 0; }
.hscw-credit { font-size: 14px !important; color: var(--hs-ink2); margin: 0 !important; }
.hscw-library { display: flex; flex-direction: column; gap: 18px; margin-top: 18px; }
.hscw-library .hscw-scenario { gap: 10px; }
.hscw-scenario .hscw-eyebrow-dark { font-size: 13px; line-height: 1.4; margin: 0; }
.hscw-scenario .hscw-h2 { margin: 0; }
.hscw-form .hscw-h2 { margin: 0; }
.hscw-nowrap { white-space: nowrap; }
.hscw-pager { display: flex; align-items: center; gap: 12px; margin-top: 20px; }

/* Avatars */
.hscw-avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--hs-teal); color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; }
.hscw-avatar-sm { width: 32px; height: 32px; font-size: 12px; background: var(--hs-use); }
.hscw-avatar-lg { width: 72px; height: 72px; font-size: 24px; }

/* Record */
.hscw-profile { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-bottom: 28px; }
.hscw-profile-text { flex: 1 1 320px; }
.hscw-profile .hscw-lead { margin-bottom: 10px; }
.hscw-progress { margin-top: 14px; font-size: 14px; }
.hscw-progress-label { display: flex; justify-content: space-between; margin-bottom: 6px; }
.hscw-progress-label strong { font-weight: 500; }
.hscw-bar { height: 8px; border-radius: 999px; background: var(--hs-line2); overflow: hidden; }
.hscw-bar span { display: block; height: 8px; border-radius: 999px; background: var(--hs-teal); }

/* Notices */
.hscw-notice { border-radius: 10px; padding: 12px 16px; margin-bottom: 20px; font-size: 14px; }
.hscw-notice-ok { background: var(--hs-teal-soft); color: var(--hs-teal-dark); }
.hscw-notice-error { background: var(--hs-red-soft); color: var(--hs-red); }

/* Phones */
@media (max-width: 640px) {
	.hscw-main { padding: 24px 16px 40px; }
	.hscw-header-inner { padding: 12px 16px; }
	.hscw-h1 { font-size: 25px; }
	.hscw-stats5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.hscw-task { padding: 20px; }
	.hscw-card { padding: 18px; }
}

/* Profile, impact, and leaderboard */
.hscw-avatar-link { border-radius: 50%; display: inline-flex; text-decoration: none; }
.hscw-avatar-link.is-active .hscw-avatar { box-shadow: 0 0 0 3px var(--hs-teal-soft), 0 0 0 5px var(--hs-teal); }
.hscw-small-link { display: inline-block; margin-left: 10px; font-size: 13px; }
.hscw-other { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; color: var(--hs-muted); }
.hscw-other input[type="text"] { flex: 1 1 220px; width: auto; padding: 8px 12px; font-size: 14px; }
.hscw-impact { display: flex; flex-direction: column; gap: 16px; }
.hscw-impact-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--hs-line2); }
.hscw-impact-top p { margin: 0; }
.hscw-impact-score { font-size: 44px; font-weight: 600; line-height: 1.1; color: var(--hs-teal); }
.hscw-impact-rank { font-size: 30px; font-weight: 600; line-height: 1.2; }
.hscw-impact-rank span { font-size: 15px; font-weight: 400; color: var(--hs-muted); }
.hscw-impact .hscw-h3 { margin: 0; }
.hscw-breakdown { display: flex; flex-direction: column; gap: 10px; }
.hscw-breakdown-row { display: grid; grid-template-columns: minmax(150px, 1.2fr) 2fr 44px; align-items: center; gap: 12px; font-size: 14px; }
.hscw-breakdown-row strong { text-align: right; font-weight: 600; }
.hscw-how { border-top: 1px solid var(--hs-line2); padding-top: 12px; }
.hscw-points-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 6px 20px; font-size: 14px; }
.hscw-points-list li { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--hs-line2); padding: 4px 0; }
.hscw-tabs-sm { margin-bottom: 12px; }
.hscw-tabs-sm a { padding: 6px 12px; font-size: 13px; }
.hscw-leaderboard { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.hscw-leaderboard li { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 8px; padding: 9px 8px; border-radius: 8px; }
.hscw-leaderboard li:nth-child(odd) { background: var(--hs-gray-soft); }
.hscw-leaderboard li.is-me { background: var(--hs-teal-soft); color: var(--hs-teal-dark); font-weight: 600; }
.hscw-place { color: var(--hs-muted); font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 13px; }
.hscw-lb-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hscw-lb-me { margin: 12px 0 0 !important; font-size: 13px; color: var(--hs-teal-dark); font-weight: 500; }
.hscw-rank-line { font-size: 14px; color: var(--hs-ink2); }
.hscw-points { color: var(--hs-teal-dark); font-weight: 500; white-space: nowrap; }
.hscw-helpful-badge { display: inline-block; margin-top: 4px; padding: 3px 10px; border-radius: 999px; background: var(--hs-teal-soft); color: var(--hs-teal-dark); font-size: 12px; font-weight: 500; }
.hscw-inline-form { margin: 6px 0 0; }
.hscw-btn-xs { min-height: 36px; padding: 6px 12px; font-size: 13px; }
@media (max-width: 640px) {
	.hscw-breakdown-row { grid-template-columns: 1fr 44px; }
	.hscw-breakdown-row .hscw-bar { grid-column: 1 / -1; grid-row: 2; }
	.hscw-small-link { margin-left: 0; margin-right: 10px; }
}

/* ===========================================================================
 * Humanity Systems brand: night sky, lamp light, Big Shoulders + Public Sans.
 * Matches humanitysystems.org.
 * ======================================================================== */
body.hscw-app { background: #EEF1F7; }
.hscw {
	--hs-ink: #111A33;
	--hs-ink2: #384261;
	--hs-muted: #5B6480;
	--hs-bg: #EEF1F7;
	--hs-card: #FFFFFF;
	--hs-line: #D6DCE9;
	--hs-line2: #E4E8F1;
	--hs-field: #C3CBE0;
	--hs-teal: #24397D;
	--hs-teal-dark: #111A33;
	--hs-teal-soft: #E3EAFA;
	--hs-amber: #8A5408;
	--hs-amber-soft: #FFF3DD;
	--hs-amber-line: #F5D9A6;
	--hs-review: #8A5408;
	--hs-review-soft: #FFF0D6;
	--hs-use: #14603F;
	--hs-use-soft: #E2F3EA;
	--hs-gray-soft: #F2F4F9;
	--hs-slate-soft: #EEF1F7;
	--hs-red: #A23024;
	--hs-red-soft: #FBE9E6;
	--hs-night: #0E1938;
	--hs-night3: #1D2B59;
	--hs-lamp: #FFB43C;
	--hs-lamp-soft: #FFE6B8;
	--hs-sky: #B9C4E4;
	--hs-display: 'Big Shoulders Display', 'Big Shoulders', 'Arial Narrow', Impact, sans-serif;
	font-family: 'Public Sans', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	font-size: 17px;
}
.hscw :focus-visible { outline: 3px solid var(--hs-lamp); outline-offset: 2px; }
.hscw-mono, .hscw-eyebrow-dark, .hscw-place { font-family: 'Public Sans', sans-serif; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.hscw-tm { font-size: 0.5em; vertical-align: super; margin-left: 1px; font-weight: 400; line-height: 0; }

/* Header */
.hscw-header { background: rgba(14, 25, 56, 0.97); border-bottom: 0; position: sticky; top: 0; z-index: 50; }
.admin-bar .hscw-header { top: 32px; }
.hscw-header-inner { max-width: 1180px; min-height: 68px; }
.hscw-brand { color: #FFFFFF !important; font-family: var(--hs-display); font-weight: 800; font-size: 23px; letter-spacing: 0.01em; gap: 10px; }
.hscw-brand:hover { color: #FFFFFF !important; }
.hscw-mark-ball { filter: drop-shadow(0 0 1.6px rgba(255,190,90,.95)) drop-shadow(0 0 4px rgba(255,170,60,.7)); }
.hscw-nav a { color: #DCE3F7; font-weight: 500; font-size: 15px; }
.hscw-nav a:hover { background: rgba(255,255,255,0.08); color: #FFFFFF; }
.hscw-nav a.is-active { background: rgba(255,180,60,0.16); color: var(--hs-lamp); }
.hscw-header .hscw-chip { background: rgba(255,255,255,0.1); color: #DCE3F7; }
.hscw-logout { color: var(--hs-sky) !important; }
.hscw-header .hscw-avatar { background: var(--hs-lamp); color: var(--hs-night); }
.hscw-avatar-link.is-active .hscw-avatar { box-shadow: 0 0 0 3px var(--hs-night), 0 0 0 5px var(--hs-lamp); }
.hscw-header .hscw-btn-outline { background: var(--hs-lamp); border-color: var(--hs-lamp); color: var(--hs-night) !important; border-radius: 999px; }

/* Type */
.hscw-h1 { font-family: var(--hs-display); font-weight: 800; font-size: clamp(36px, 4vw, 48px); line-height: 1; letter-spacing: -0.005em; margin-bottom: 10px; }
.hscw-avatar { background: var(--hs-night3); }

/* Buttons */
.hscw-btn { border-radius: 999px; border: 2px solid var(--hs-lamp); background: var(--hs-lamp); color: var(--hs-night) !important; font-weight: 700; padding: 11px 22px; }
.hscw-btn:hover { background: #FFC45F; border-color: #FFC45F; }
.hscw-btn-plain { background: #FFFFFF; border-color: var(--hs-field); color: var(--hs-ink) !important; font-weight: 600; }
.hscw-btn-plain:hover { background: var(--hs-gray-soft); border-color: var(--hs-field); }
.hscw-btn-outline { background: #FFFFFF; border-color: var(--hs-teal); color: var(--hs-teal) !important; }
.hscw-btn-outline:hover { background: var(--hs-teal-soft); border-color: var(--hs-teal); }
.hscw-btn-light, .hscw-btn-lamp { background: var(--hs-lamp); border-color: var(--hs-lamp); color: var(--hs-night) !important; }
.hscw-btn-light:hover, .hscw-btn-lamp:hover { background: #FFC45F; border-color: #FFC45F; }
.hscw-btn-line { background: transparent; border-color: currentColor; color: #FFFFFF !important; }
.hscw-btn-line:hover { background: rgba(255,255,255,0.08); border-color: #FFFFFF; }
.hscw-btn-big { min-height: 54px; padding: 14px 28px; font-size: 17px; }
.hscw #loginform input[type="submit"] { background: var(--hs-lamp); color: var(--hs-night); border-radius: 999px; font-weight: 700; }
.hscw-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Inner page touches */
.hscw-task { background: linear-gradient(135deg, #0E1938 0%, #1D2B59 100%); border-radius: 20px; }
.hscw-task .hscw-eyebrow { color: var(--hs-lamp); }
.hscw-task p { color: #D5DCF2; }
.hscw-card { border-radius: 18px; }
.hscw-tabs a.is-active { background: var(--hs-night); border-color: var(--hs-night); }
.hscw-choice:has(input:checked) { border-color: var(--hs-teal); background: var(--hs-teal-soft); color: var(--hs-ink); }
.hscw-choice-vault:has(input:checked) { border-color: #B7700C; background: var(--hs-amber-soft); color: var(--hs-amber); }
.hscw-bar span { background: var(--hs-teal); }
.hscw-impact-score { color: var(--hs-teal); font-family: var(--hs-display); font-weight: 800; font-size: 56px; }
.hscw-impact-rank, .hscw-stat-big, .hscw-stat-num { font-family: var(--hs-display); font-weight: 800; }
.hscw-impact-rank { font-size: 38px; }
.hscw-stat-big { font-size: 38px; }
.hscw-stat-num { font-size: 28px; }
.hscw-leaderboard li.is-me { background: var(--hs-lamp-soft); color: var(--hs-ink); }
.hscw-notice-ok { background: var(--hs-use-soft); color: var(--hs-use); }
.hscw-good { background: var(--hs-use-soft); }
.hscw-good h2, .hscw-good h3 { color: var(--hs-use); }

/* ---------- Homepage ---------- */
.hscw-main-full { padding: 0; }
.hscw-wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.hscw-narrow-wrap { max-width: 900px; }

.hscw-night-hero { position: relative; overflow: hidden; color: #FFFFFF; background: linear-gradient(180deg, #0B1430 0%, #0E1938 45%, #1B2B60 80%, #26305E 100%); }
.hscw-night-hero .hscw-wrap { position: relative; z-index: 2; padding-top: clamp(56px, 9vh, 110px); }
.hscw-night-hero h1 { margin: 0; font-family: var(--hs-display); font-weight: 800; font-size: clamp(44px, 6vw, 84px); line-height: 0.98; letter-spacing: -0.005em; color: #FFFFFF; max-width: 17ch; text-wrap: balance; }
.hscw-night-hero h1 span { display: block; }
.hscw-lamp-text { color: var(--hs-lamp); }
.hscw-night-lead { margin: 26px 0 0 !important; max-width: 34em; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: #D5DCF2; }
.hscw-night-hero .hscw-hero-actions { margin-top: 34px; }
.hscw-night-note { margin: 18px 0 0 !important; font-size: 15px; color: #9FAED8; }
.hscw-crowd-wrap { position: relative; z-index: 1; height: clamp(260px, 44vh, 500px); margin-top: clamp(8px, 2vh, 24px); }
.hscw-crowd-wrap canvas, .hscw-crowd-band canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.hscw-sec { padding: clamp(64px, 9vw, 120px) 0; }
.hscw-sec-paper { background: #FFFFFF; }
.hscw-sec-tint { background: #E3EAFA; }
.hscw-sec-night { background: var(--hs-night); color: #FFFFFF; }
.hscw-kicker { margin: 0 0 16px !important; font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #9A5A06; }
.hscw-display-h2 { margin: 0 0 36px; font-family: var(--hs-display); font-weight: 800; font-size: clamp(40px, 5vw, 64px); line-height: 0.95; color: var(--hs-ink); text-wrap: balance; }

.hscw-people { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hscw-person { padding: 10px 18px; border-radius: 999px; font-size: 16px; font-weight: 600; }
.hscw-person-0 { background: #E2F3EA; color: #14603F; }
.hscw-person-1 { background: #FFF0D6; color: #8A5408; }
.hscw-person-2 { background: #FBE9E6; color: #A23024; }
.hscw-person-3 { background: #E3EAFA; color: #24397D; }

.hscw-story { margin-top: clamp(56px, 7vw, 88px); }
.hscw-story blockquote { margin: 0; padding: 4px 0 4px 28px; border-left: 6px solid var(--hs-lamp); font-family: var(--hs-display); font-weight: 700; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; color: var(--hs-ink); }
.hscw-story-after { margin: 28px 0 0 !important; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.6; color: var(--hs-ink2); max-width: 40em; }

.hscw-sec-tint .hscw-display-h2 { text-align: center; }
.hscw-help-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.hscw-help-card { background: #FFFFFF; border-radius: 22px; padding: 34px 30px; box-shadow: 0 1px 0 var(--hs-line), 0 14px 34px rgba(17, 26, 51, 0.07); }
.hscw-help-icon { display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%; background: var(--hs-lamp-soft); color: #9A5A06; margin-bottom: 18px; }
.hscw-help-card h3 { margin: 0 0 10px; font-size: 21px; font-weight: 700; color: var(--hs-ink); line-height: 1.25; }
.hscw-help-card p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--hs-ink2); }

.hscw-invite { text-align: center; padding-bottom: 0; }
.hscw-invite .hscw-display-h2 { color: #FFFFFF; margin-bottom: 0; }
.hscw-invite .hscw-night-lead { margin: 18px auto 0 !important; color: var(--hs-sky); }
.hscw-invite .hscw-hero-actions { justify-content: center; margin-top: 30px; }
.hscw-crowd-band { position: relative; height: clamp(200px, 30vh, 340px); margin-top: clamp(40px, 6vw, 72px); }

/* Footer */
.hscw-footer { background: #0B1430; border-top: 1px solid rgba(255,255,255,0.06); }
.hscw-footer-inner { max-width: 1180px; margin: 0 auto; padding: 36px clamp(20px, 4vw, 40px) 44px; display: flex; flex-wrap: wrap; gap: 20px 48px; font-size: 15px; color: var(--hs-sky); }
.hscw-footer-about { flex: 1 1 320px; }
.hscw-footer-about p { margin: 0 0 6px; }
.hscw-footer-about strong { color: #FFFFFF; font-family: var(--hs-display); font-weight: 800; font-size: 20px; letter-spacing: 0.01em; }
.hscw-footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; align-content: flex-start; flex: 1 1 320px; }
.hscw-footer a { color: #FFFFFF; }
.hscw-footer a:hover { color: var(--hs-lamp); }
.hscw-disclosure { flex: 1 1 100%; margin: 0; font-size: 13px; line-height: 1.6; color: #8C9AC6; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 18px; }

@media (max-width: 782px) { .admin-bar .hscw-header { top: 46px; } }
@media (max-width: 640px) {
	.hscw-brand { font-size: 19px; }
	.hscw-night-hero h1 { font-size: 42px; }
	.hscw-btn-big { width: 100%; }
	.hscw-help-card { padding: 28px 24px; }
	.hscw-person { font-size: 15px; padding: 8px 14px; }
	.hscw-footer-inner { padding: 28px 20px 36px; }
}

/* Homepage (short) and About page */
.hscw-center { text-align: center; }
.hscw-center .hscw-people { justify-content: center; max-width: 860px; margin: 0 auto; }
.hscw-sec-paper .hscw-display-h2 { color: var(--hs-ink); }
.hscw-sec-tight { padding: clamp(56px, 7vw, 88px) 0; }
.hscw-night-hero-short { padding-bottom: clamp(56px, 8vw, 96px); }
.hscw-night-hero-short h1 { max-width: 14ch; }
.hscw-kicker-lamp { color: var(--hs-lamp); }
.hscw-prose { margin: 0 0 18px !important; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.65; color: var(--hs-ink2); max-width: 40em; }
.hscw-prose-lead { margin-bottom: 30px !important; }
.hscw-prose a { color: var(--hs-teal); font-weight: 600; }
.hscw-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.hscw-steps li { counter-increment: step; background: #FFFFFF; border-radius: 22px; padding: 30px 28px; font-size: 17px; line-height: 1.55; color: var(--hs-ink2); box-shadow: 0 1px 0 var(--hs-line), 0 14px 34px rgba(17, 26, 51, 0.07); }
.hscw-steps li::before { content: counter(step); display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--hs-lamp); color: var(--hs-night); font-family: var(--hs-display); font-weight: 800; font-size: 26px; margin-bottom: 16px; }
.hscw-steps strong { display: block; color: var(--hs-ink); font-size: 20px; margin-bottom: 6px; }
.hscw-group-card { border-top: 6px solid; }
.hscw-group-0 { border-top-color: #1C7F53; }
.hscw-group-1 { border-top-color: #B7700C; }
.hscw-group-2 { border-top-color: #C93A2B; }
.hscw-group-3 { border-top-color: #24397D; }
.hscw-help-card .hscw-kicker { margin-bottom: 8px !important; }
.hscw-help-card-feature { box-shadow: 0 0 0 3px var(--hs-lamp), 0 14px 34px rgba(17, 26, 51, 0.1); }

/* Who's here */
.hscw-who-lead { margin: -14px auto 30px !important; text-align: center; }
.hscw-center .hscw-people { max-width: 980px; }
.hscw-person-you { background: var(--hs-lamp); color: var(--hs-night); font-weight: 700; }

/* ===================== Community: people, challenges, events, inbox ===================== */
.hscw-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hscw-section-title { margin-top: 28px; }
.hscw-back { margin: 0 0 14px !important; font-size: 14px; }
.hscw-back a { text-decoration: none; font-weight: 600; }
.hscw-page-head { align-items: flex-end; margin-bottom: 8px; }
.hscw-page-head .hscw-lead { margin-bottom: 0; }
.hscw-muted-ink { color: var(--hs-ink2); }
.hscw-form-tight { display: flex; flex-direction: column; gap: 10px; }
.hscw-form-tight label { font-size: 14px; font-weight: 600; }
.hscw-form-tight .hscw-btn { align-self: flex-start; }
.hscw-narrow-form { max-width: 760px; }
.hscw-linkbtn { background: none; border: 0; padding: 6px 0; color: var(--hs-muted); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }

/* Bell */
.hscw-bell { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: #DCE3F7 !important; }
.hscw-bell:hover, .hscw-bell.is-active { background: rgba(255,255,255,0.1); color: #FFFFFF !important; }
.hscw-bell-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--hs-lamp); color: var(--hs-night); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }

/* Avatars and names */
.hscw-avatar-md { width: 48px; height: 48px; font-size: 16px; }
.hscw-person-line { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.hscw-person-line a { text-decoration: none; }
.hscw-person-line .hscw-avatar-sm { width: 28px; height: 28px; font-size: 11px; }

/* Directory */
.hscw-filter { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.hscw-filter input[type="search"] { width: 100%; font: inherit; font-size: 16px; padding: 12px 16px; border: 1px solid var(--hs-field); border-radius: 999px; }
.hscw-filter-row { display: flex; flex-wrap: wrap; gap: 10px; }
.hscw-filter-row select { flex: 1 1 200px; width: auto; }
.hscw-people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin-top: 14px; }
.hscw-person-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit !important; transition: border-color .15s, box-shadow .15s; }
.hscw-person-card:hover { border-color: var(--hs-teal); box-shadow: 0 10px 26px rgba(17,26,51,0.08); }
.hscw-person-card-top { display: flex; gap: 12px; align-items: center; }
.hscw-person-card-top p { margin: 0; }
.hscw-person-name { font-weight: 700; font-size: 17px; color: var(--hs-ink); }
.hscw-person-foot { margin: auto 0 0 !important; }
.hscw-rec { border-top: 1px solid var(--hs-line2); padding-top: 14px; margin-top: 14px; }
.hscw-rec:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.hscw-rec-body { font-size: 16px; line-height: 1.55; color: var(--hs-ink); margin-bottom: 8px !important; }
.hscw-rec-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; margin: 0 0 8px !important; color: var(--hs-muted); }
.hscw-rec.is-hidden { opacity: 0.55; }
.hscw-connected { color: var(--hs-use); font-weight: 700; margin: 0 !important; }

/* Challenges */
.hscw-challenge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-top: 14px; }
.hscw-challenge-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit !important; transition: border-color .15s, box-shadow .15s; }
.hscw-challenge-card:hover { border-color: var(--hs-teal); box-shadow: 0 10px 26px rgba(17,26,51,0.08); }
.hscw-challenge-card .hscw-h3 { margin: 0; font-size: 18px; line-height: 1.3; }
.hscw-challenge-card p { margin: 0 !important; }
.hscw-challenge-top { display: flex; align-items: center; gap: 8px; margin: 0 0 6px !important; }
.hscw-reason { display: block; font-size: 13px; font-weight: 600; color: #8A5408; }
.hscw-reason::before { content: "★ "; color: var(--hs-lamp); }
.hscw-ask { background: var(--hs-lamp-soft); border-radius: 14px; padding: 14px 18px; }
.hscw-ask p { margin: 0 !important; font-weight: 600; }
.hscw-findings { border: 2px solid var(--hs-lamp); background: #FFFBF2; }
.hscw-thread { display: flex; flex-direction: column; gap: 4px; }
.hscw-post { padding: 16px 0; border-top: 1px solid var(--hs-line2); }
.hscw-post:first-child { border-top: 0; padding-top: 4px; }
.hscw-post-update { background: #F4F8F5; border-radius: 14px; padding: 16px 18px; border-top: 0; margin: 6px 0; }
.hscw-post-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px; }
.hscw-post-body { margin: 0 0 8px !important; font-size: 16px; line-height: 1.6; color: var(--hs-ink2); }
.hscw-reply { border-top: 1px solid var(--hs-line2); padding-top: 18px; margin-top: 12px; }
.hscw-reply-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.hscw-reply-foot .hscw-check { font-size: 14px; font-weight: 500; }
.hscw-member-list, .hscw-expert-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hscw-expert-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--hs-line2); padding-top: 10px; }
.hscw-expert-list li:first-child { border-top: 0; padding-top: 0; }
.hscw-expert-list p { margin: 2px 0 0 !important; }
.hscw-lead-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hscw-card .hscw-check { font-weight: 400; }

/* Events */
.hscw-event-list { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.hscw-event-card { display: flex; align-items: center; gap: 18px; text-decoration: none; color: inherit !important; }
.hscw-event-card:hover { border-color: var(--hs-teal); }
.hscw-event-card > div:nth-child(2) { flex: 1; }
.hscw-event-card .hscw-h3 { margin: 0 0 4px; }
.hscw-event-card p { margin: 0 !important; }
.hscw-date-badge { flex: none; width: 64px; height: 64px; border-radius: 16px; background: var(--hs-night); color: #FFFFFF; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.hscw-date-badge span { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--hs-lamp); font-weight: 700; }
.hscw-date-badge strong { font-family: var(--hs-display); font-size: 30px; font-weight: 800; margin-top: 2px; }
.hscw-rsvp-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* Inbox */
.hscw-notes { list-style: none; margin: 0; padding: 0; }
.hscw-notes li { display: flex; align-items: center; gap: 12px; padding: 12px 8px; border-top: 1px solid var(--hs-line2); }
.hscw-notes li:first-child { border-top: 0; }
.hscw-notes li a { flex: 1; text-decoration: none; color: var(--hs-ink2); }
.hscw-notes li.is-unread { background: #F6F8FD; border-radius: 10px; }
.hscw-notes li.is-unread a { color: var(--hs-ink); font-weight: 600; }
.hscw-avatar-sys { background: var(--hs-lamp) !important; color: var(--hs-night) !important; }
.hscw-inbox-top { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.hscw-request { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 16px 0; border-top: 1px solid var(--hs-line2); }
.hscw-request:first-child { border-top: 0; padding-top: 0; }
.hscw-request p { margin: 4px 0 0 !important; }
.hscw-request-actions { display: flex; gap: 8px; }
.hscw-privacy { border-top: 1px solid var(--hs-line2); padding-top: 18px; gap: 10px; }
.hscw-check-label { font-size: 14px; font-weight: 600; margin-top: 4px; }

/* Workbench: checklist and suggestions */
.hscw-checklist { border: 2px solid var(--hs-lamp); }
.hscw-checklist .hscw-card-head { margin-bottom: 10px; }
.hscw-check-list { list-style: none; margin: 16px 0 8px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.hscw-check-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.hscw-check-list li a { font-weight: 600; }
.hscw-check-list li.is-done span:last-child { color: var(--hs-muted); text-decoration: line-through; }
.hscw-tick { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--hs-field); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.is-done .hscw-tick { background: var(--hs-use); border-color: var(--hs-use); color: #FFFFFF; }
.hscw-suggest .hscw-label { margin-top: 14px; }
.hscw-suggest-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.hscw-suggest-list li { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--hs-gray-soft); }
.hscw-suggest-list .hscw-strong { text-decoration: none; font-weight: 700; }

@media (max-width: 900px) {
	.hscw-header-inner { gap: 10px 16px; }
	.hscw-nav { order: 3; flex-basis: 100%; overflow-x: auto; flex-wrap: nowrap; }
	.hscw-nav a { white-space: nowrap; }
	.hscw-user { margin-left: auto; }
}

/* "Always free" promise */
.hscw-free { display: flex; align-items: flex-start; gap: 10px; max-width: 34em; margin: 22px 0 0 !important; font-size: 16px; line-height: 1.5; color: #E6ECFA; }
.hscw-free svg { flex: none; margin-top: 1px; color: var(--hs-night); background: var(--hs-lamp); border-radius: 50%; padding: 3px; width: 24px; height: 24px; }
.hscw-free-light { color: var(--hs-ink); background: var(--hs-use-soft); border-radius: 14px; padding: 14px 16px; margin: 0 !important; max-width: none; }
.hscw-free-light svg { background: var(--hs-use); color: #FFFFFF; }

/* Public good */
.hscw-public-good { border-top: 1px solid var(--hs-line2); }
.hscw-pg-icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--hs-use-soft); color: var(--hs-use); margin-bottom: 18px; }
.hscw-public-good .hscw-display-h2 { margin-bottom: 18px; }
.hscw-pg-lead { margin: 0 auto 14px !important; font-size: clamp(19px, 1.7vw, 22px); color: var(--hs-ink); text-wrap: balance; }
.hscw-pg-note { margin: 0 auto !important; max-width: 36em; font-size: 15px; color: var(--hs-muted); text-wrap: pretty; }
.hscw-pg-inline { background: var(--hs-use-soft); border-radius: 14px; padding: 16px 20px; }

/* ---- Connect your AI, and terms (2.1) ---- */
.hscw-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 14px 0 8px; }
.hscw-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin: 14px 0 8px; }
.hscw-connect > .hscw-card, .hscw-connect > section { margin-bottom: 18px; }
.hscw-copy { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 10px 0 4px; }
.hscw-copy code { flex: 1 1 260px; min-width: 0; overflow-wrap: anywhere; background: var(--hs-gray-soft); border: 1px solid var(--hs-line); border-radius: 10px; padding: 10px 12px; font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 13px; color: var(--hs-ink); }
.hscw-connect code, .hscw-consent code { overflow-wrap: anywhere; }
.hscw-newkey { border-color: var(--hs-lamp, #FFB43C); box-shadow: 0 0 0 3px rgba(255, 180, 60, .25); }
.hscw-ai-can .hscw-card h3 { margin-top: 0; }
.hscw-consent .hscw-form { margin-top: 18px; }
.hscw-pill-ai { background: #EEF0FF; color: #3B3F99; }
.hscw-terms h2 { margin-top: 26px; }
.hscw-terms p { line-height: 1.65; }
.hscw-terms-box { max-height: 420px; overflow-y: auto; margin: 16px 0; }
.hscw-terms-box h2 { margin-top: 18px; }
.hscw-terms-box h2:first-child { margin-top: 0; }
.hscw-join-welcome { margin: -10px 0 26px; padding: 14px 18px; background: #FFF6E5; border-left: 4px solid #FFB43C; border-radius: 12px; font-size: 16px; line-height: 1.55; color: var(--hs-ink); max-width: 46em; }

/* Link back to the main Humanity Systems site, on every page */
.hscw-parentbar { background: #0A1229; color: rgba(255, 255, 255, .72); font-size: 13px; line-height: 1.3; }
.hscw-parentbar-inner { max-width: 1180px; margin: 0 auto; padding: 7px 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hscw-parentbar a { color: #fff; text-decoration: none; }
.hscw-parentbar a:hover, .hscw-parentbar a:focus-visible { color: #FFB43C; text-decoration: underline; }
.hscw-parentbar-link { font-weight: 600; white-space: nowrap; }
@media (max-width: 640px) {
	.hscw-parentbar-inner { padding: 6px 16px; }
	.hscw-parentbar-inner > span { display: none; }
	.hscw-parentbar-inner { justify-content: center; }
}

/* v2.4.1: one site with humanitysystems.org */
.hscw-header .hscw-login-link { color: #DCE3F7 !important; text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 6px; }
.hscw-header .hscw-login-link:hover, .hscw-header .hscw-login-link:focus-visible { color: #FFFFFF !important; text-decoration: underline; }

/* Anatomy of AI links on challenges */
.hscw .hscw-anatomy-tag { display: inline-block; margin: 4px 0 6px; padding: 3px 10px; border-radius: 999px; background: #FFF4E0; color: #6B390C !important; font-size: 13px; font-weight: 600; text-decoration: none; }
.hscw a.hscw-anatomy-tag:hover { background: #FFE6B8; }
.hscw .hscw-anatomy-line { margin: 4px 0 8px; }
.hscw .hscw-anatomy-banner { border-left: 5px solid #FFB43C; }
.hscw .hscw-anatomy-banner p { margin: 0 0 4px; }
.hscw .hscw-invite-box select, .hscw .hscw-invite-box input, .hscw .hscw-invite-box textarea { width: 100%; }
.hscw .hscw-invite-link { margin-top: 10px; word-break: break-all; }

/* People cards: who they are, what you share, and a clear next step. */
.hscw .hscw-people-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.hscw .hscw-person-card { gap: 14px; padding: 22px; border-radius: 20px; border: 1px solid var(--hs-line); background: #FFFFFF; position: relative; overflow: hidden; }
.hscw .hscw-person-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--hs-lamp); opacity: 0; transition: opacity .15s; }
.hscw .hscw-person-card:hover, .hscw .hscw-person-card:focus-visible { border-color: #C9D2EA; box-shadow: 0 14px 30px rgba(17, 26, 51, 0.10); transform: translateY(-2px); }
.hscw .hscw-person-card:hover::before, .hscw .hscw-person-card:focus-visible::before { opacity: 1; }
.hscw .hscw-person-card { transition: border-color .15s, box-shadow .15s, transform .15s; }
.hscw .hscw-person-card-top { align-items: flex-start; gap: 14px; }
.hscw .hscw-person-avatar .hscw-avatar { width: 52px; height: 52px; font-size: 17px; font-weight: 700; letter-spacing: .02em; }
.hscw .hscw-hue-0 .hscw-avatar { background: #1D2B59; }
.hscw .hscw-hue-1 .hscw-avatar { background: #0F5E63; }
.hscw .hscw-hue-2 .hscw-avatar { background: #6B390C; }
.hscw .hscw-hue-3 .hscw-avatar { background: #4B3A8C; }
.hscw .hscw-hue-4 .hscw-avatar { background: #2A5B8F; }
.hscw .hscw-person-id { min-width: 0; padding-top: 2px; }
.hscw .hscw-person-name { font-size: 18px; line-height: 1.25; }
.hscw .hscw-person-you { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--hs-slate-soft); color: var(--hs-ink2); font-size: 12px; font-weight: 600; vertical-align: 2px; }
.hscw .hscw-person-role { margin-top: 3px !important; font-size: 14.5px; font-weight: 600; color: var(--hs-ink2); line-height: 1.35; }
.hscw .hscw-person-org { margin-top: 1px !important; font-size: 13.5px; color: var(--hs-muted); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hscw .hscw-person-why { margin: 0 !important; }
.hscw .hscw-person-why-label { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #FFF4E0; color: #7A4510; font-size: 12.5px; font-weight: 700; letter-spacing: .01em; }
.hscw .hscw-person-why-label::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--hs-lamp); }
.hscw .hscw-person-why-status { display: inline-block; align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--hs-teal-soft); color: var(--hs-teal-dark); font-size: 12.5px; font-weight: 700; }
.hscw .hscw-person-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.hscw .hscw-person-tags li { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 12px; background: var(--hs-slate-soft); color: var(--hs-ink2); font-size: 13px; font-weight: 500; line-height: 1.3; }
.hscw .hscw-person-tags li.is-shared { background: #FFF4E0; color: #6B390C; font-weight: 600; box-shadow: inset 0 0 0 1px #F4D29A; }
.hscw .hscw-person-tags li.is-shared svg { color: #B86A00; flex: none; }
.hscw .hscw-person-tags li.is-more { background: transparent; color: var(--hs-muted); padding-left: 4px; }
.hscw .hscw-person-foot { margin: auto 0 0 !important; padding-top: 12px; border-top: 1px solid var(--hs-line2); }
.hscw .hscw-person-cta { font-size: 14px; font-weight: 700; color: var(--hs-night3, #1D2B59); }
.hscw .hscw-person-card:hover .hscw-person-cta { text-decoration: underline; text-decoration-color: var(--hs-lamp); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.hscw .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .hscw .hscw-person-card, .hscw .hscw-person-card:hover { transition: none; transform: none; } }

/* Projects on people cards */
.hscw .hscw-person-status { margin-top: 6px !important; display: inline-block; padding: 2px 9px; border-radius: 999px; background: var(--hs-teal-soft); color: var(--hs-teal-dark); font-size: 12px; font-weight: 700; }
.hscw .hscw-person-projects { margin: 2px 0 0; padding: 12px 14px; border-radius: 14px; background: #F6F7FB; }
.hscw .hscw-person-projects-title { margin: 0 0 8px !important; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--hs-muted); }
.hscw .hscw-person-projects dl { margin: 0; display: grid; gap: 8px; }
.hscw .hscw-proj-row { display: grid; gap: 1px; }
.hscw .hscw-proj-row dt { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--hs-ink2); }
.hscw .hscw-proj-row dd { margin: 0 0 0 15px; font-size: 13.5px; line-height: 1.35; color: var(--hs-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hscw .hscw-proj-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.hscw .is-interested .hscw-proj-dot { background: #B9C4E4; box-shadow: inset 0 0 0 2px #7D8FC4; }
.hscw .is-working .hscw-proj-dot { background: var(--hs-lamp); }
.hscw .is-completed .hscw-proj-dot { background: #2E8B57; }
.hscw .hscw-proj-count { margin-left: auto; min-width: 22px; padding: 0 7px; border-radius: 999px; background: #FFFFFF; color: var(--hs-ink); font-size: 12px; text-align: center; line-height: 20px; box-shadow: inset 0 0 0 1px var(--hs-line); }
.hscw .hscw-proj-row.is-empty dt { color: var(--hs-muted); font-weight: 600; }
.hscw .hscw-proj-row.is-empty .hscw-proj-count { color: var(--hs-muted); }
.hscw .hscw-proj-none, .hscw .hscw-proj-more { color: var(--hs-muted); font-size: 12.5px; }
.hscw .hscw-proj-empty { margin: 0 !important; font-size: 13.5px; color: var(--hs-muted); }
.hscw .hscw-interest-form { display: flex; align-items: center; gap: 10px; margin: -6px 0 16px; padding: 0 4px; }
.hscw .hscw-interest-on { font-weight: 700; color: #7A4510; }

/* Homepage: what the coalition is */
.hscw .hscw-what-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hscw .hscw-what .hscw-display-h2 { margin-bottom: 20px; text-align: left; }
.hscw .hscw-what .hscw-prose { max-width: 34em; }
.hscw .hscw-what-more { margin: 4px 0 0 !important; font-size: 17px; font-weight: 700; }
.hscw .hscw-what-more a { color: var(--hs-ink) !important; text-decoration: underline; text-decoration-color: var(--hs-lamp); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.hscw .hscw-what-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: what; }
.hscw .hscw-what-points li { position: relative; padding: 20px 22px 20px 70px; border-radius: 18px; background: #F4F6FC; border: 1px solid #E1E6F3; counter-increment: what; }
.hscw .hscw-what-points li::before { content: counter(what); position: absolute; left: 20px; top: 20px; width: 34px; height: 34px; border-radius: 50%; background: var(--hs-lamp); color: var(--hs-night); font-weight: 800; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.hscw .hscw-what-points strong { display: block; font-size: 18px; color: var(--hs-ink); margin-bottom: 4px; }
.hscw .hscw-what-points span { display: block; font-size: 15.5px; line-height: 1.55; color: var(--hs-ink2); }
@media (max-width: 860px) { .hscw .hscw-what-grid { grid-template-columns: 1fr; } }

.hscw .hscw-what .hscw-display-h2 { font-size: clamp(40px, 4.6vw, 62px); }
.hscw .hscw-what-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hscw .hscw-btn-ghost { background: transparent; border-color: var(--hs-ink); color: var(--hs-ink) !important; }
.hscw .hscw-btn-ghost:hover { background: var(--hs-ink); color: #FFFFFF !important; }
.hscw .hscw-what-points li::before { content: none; }
.hscw .hscw-what-points li { padding: 22px 24px; border-left: 5px solid var(--hs-lamp); }
.hscw .hscw-what-points strong { font-size: 19px; }

/* Findings sign-off */
.hscw .hscw-signoff { border-left: 5px solid var(--hs-lamp); }
.hscw .hscw-signoff-draft { margin: 12px 0; padding: 16px 18px; border-radius: 12px; background: #F6F7FB; line-height: 1.6; }
.hscw .hscw-signoff-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.hscw .hscw-signoff-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: 10px; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--hs-line); font-size: 14.5px; }
.hscw .hscw-signoff-list li.is-approved strong { color: #2E7D4F; }
.hscw .hscw-signoff-list li.is-waiting strong { color: var(--hs-muted); }
.hscw .hscw-signoff-form { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--hs-line2); }

/* Terms agreement record on profiles */
.hscw .hscw-terms-status { margin: 6px 0 10px; padding: 8px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 600; }
.hscw .hscw-terms-status.is-current { background: #E6F4EC; color: #1F6B43; }
.hscw .hscw-terms-status.is-due { background: #FFF4E0; color: #7A4510; }
.hscw .hscw-terms-log { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.hscw .hscw-terms-log li { display: grid; gap: 1px; padding: 8px 12px; border-radius: 10px; background: #F6F7FB; font-size: 13.5px; }
.hscw .hscw-terms-log time { font-weight: 700; color: var(--hs-ink); }
.hscw .hscw-terms-log span { color: var(--hs-muted); }

/* Open or Proprietary */
.hscw .hscw-share-choice { border: 0; margin: 10px 0 4px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hscw .hscw-share-choice legend { font-weight: 700; font-size: 14px; margin-bottom: 6px; padding: 0; }
.hscw .hscw-share-opt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: #F6F7FB; box-shadow: inset 0 0 0 1px var(--hs-line); cursor: pointer; font-size: 13.5px; line-height: 1.45; color: var(--hs-ink2); }
.hscw .hscw-share-opt strong { display: block; color: var(--hs-ink); font-size: 14.5px; }
.hscw .hscw-share-opt input { margin-top: 3px; accent-color: #1D2B59; }
.hscw .hscw-share-opt:has(input:checked) { background: #FFFFFF; box-shadow: inset 0 0 0 2px #1D2B59; }
.hscw .hscw-share-tag { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.hscw .hscw-share-tag.is-open { background: #E6F4EC; color: #1F6B43; }
.hscw .hscw-share-tag.is-proprietary { background: #FFF4E0; color: #7A4510; }
.hscw .hscw-post-proprietary { box-shadow: inset 4px 0 0 #E7A33A; padding-left: 16px; }
.hscw .hscw-share-note { margin: 6px 0 0 !important; font-size: 13px; color: #7A4510; }
@media (max-width: 600px) { .hscw .hscw-share-choice { grid-template-columns: 1fr; } }

/* Open / Proprietary icons and the always-visible key */
.hscw .hscw-share-icon { display: inline-block; vertical-align: -2px; flex: none; }
.hscw .hscw-share-tag { display: inline-flex; align-items: center; gap: 4px; }
.hscw .hscw-share-key { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 4px 0 16px; padding: 10px 14px; border-radius: 12px; background: #F6F7FB; font-size: 13.5px; line-height: 1.45; color: var(--hs-ink2); }
.hscw .hscw-share-key-item { display: inline-flex; align-items: flex-start; gap: 6px; flex: 1 1 260px; }
.hscw .hscw-share-key-item .hscw-share-icon { margin-top: 2px; }
.hscw .hscw-share-key-item strong { margin-right: 2px; }
.hscw .hscw-share-key-item.is-open .hscw-share-icon, .hscw .hscw-share-tag.is-open { color: #1F6B43; }
.hscw .hscw-share-key-item.is-proprietary .hscw-share-icon, .hscw .hscw-share-tag.is-proprietary, .hscw .hscw-share-note { color: #7A4510; }
.hscw .hscw-share-opt strong .hscw-share-icon { vertical-align: -3px; margin-right: 2px; }
.hscw .hscw-share-opt input[value="open"] ~ span .hscw-share-icon { color: #1F6B43; }
.hscw .hscw-share-opt input[value="proprietary"] ~ span .hscw-share-icon { color: #7A4510; }

/* Inspiration page: "You are here because you…" */
.hscw-insp-hero h1 { max-width: 16ch; }
.hscw-insp-dots { display: inline !important; }
.hscw-insp-list { list-style: none; margin: clamp(36px, 5vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 14px; counter-reset: none; }
@media (min-width: 820px) { .hscw-insp-list { grid-template-columns: 1fr 1fr; gap: 16px; } }
.hscw-insp-list li { position: relative; padding: 22px 24px 22px 24px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-left: 3px solid var(--hs-lamp, #FFB43C); }
.hscw-insp-num { display: block; font: 700 12.5px/1 var(--hs-text, inherit); letter-spacing: .12em; color: var(--hs-lamp, #FFB43C); margin-bottom: 10px; }
.hscw-insp-list h2 { margin: 0; font-family: var(--hs-display); font-weight: 800; font-size: clamp(24px, 2.4vw, 31px); line-height: 1.1; color: #FFFFFF; text-wrap: balance; }
.hscw-insp-lead { color: var(--hs-lamp, #FFB43C); }
.hscw-insp-list p { margin: 10px 0 0; color: rgba(255,255,255,.78); font-size: 16.5px; line-height: 1.55; }

/* Papers open to challenge (2.10.0) */
.hscw-papers-invite { margin: 28px auto 0; max-width: 680px; text-align: center; font-size: 17px; line-height: 1.55; color: var(--hs-ink2); }
.hscw-papers-invite a { font-weight: 700; }
.hscw-papers-bar { margin: 14px 0 18px; }
.hscw-paper-card .hscw-h2 a { color: inherit; text-decoration: none; }
.hscw-paper-card .hscw-h2 a:hover { text-decoration: underline; }
.hscw-paper-counts { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 4px; }
.hscw-kind-tag { display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #EEF1F7; color: #384261; }
.hscw-kind-tag.is-challenge { background: #FDECEA; color: #9A2B20; }
.hscw-kind-tag.is-build { background: #E8F0FF; color: #23468F; }
.hscw-kind-tag.is-support { background: #E6F4EC; color: #1F6B43; }
.hscw-paper-pill { background: #FFF4E0; color: #7A4510; }
.hscw-kind-choice { border: 0; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.hscw-kind-choice legend { font-weight: 700; margin-bottom: 6px; }
.hscw-kind-opt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--hs-line); border-radius: 10px; cursor: pointer; background: #FFFFFF; }
.hscw-kind-opt:has(input:checked) { border-color: var(--hs-teal); box-shadow: 0 0 0 1px var(--hs-teal) inset; }
.hscw-kind-opt input { margin-top: 4px; }
.hscw-post-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 6px; }
.hscw-paper-versions { margin: 0; padding-left: 20px; }
.hscw-paper-versions li + li { margin-top: 14px; }
.hscw-paper-tally { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hscw-paper-tally li { display: flex; justify-content: space-between; align-items: center; }
.hscw-paper-thanks { border: 0; padding: 0; margin: 4px 0 12px; display: grid; gap: 6px; }
.hscw-paper-thanks legend { font-weight: 600; margin-bottom: 6px; padding: 0; }
.hscw-kind-opt span strong { display: block; }

/* Join form in three steps (2.10.0) */
.hscw-steps-progress { margin-bottom: 18px; }
.hscw-steps-count { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--hs-ink2); }
.hscw-steps-dots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.hscw-steps-dots li { padding-top: 8px; border-top: 4px solid var(--hs-line); font-size: 13px; color: var(--hs-ink2); }
.hscw-steps-dots li.is-on { border-top-color: var(--hs-teal); color: var(--hs-ink, #111A33); font-weight: 600; }
.hscw-join-form:not(.is-staged) .hscw-step + .hscw-step { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--hs-line); }
.hscw-step-title { margin-bottom: 4px; }
.hscw-step > .hscw-help:first-of-type { margin-bottom: 14px; }
.hscw-join-form.is-staged .hscw-step-nav { display: flex; }
.hscw-join-form .hscw-step-nav[hidden], .hscw-join-form .hscw-step[hidden] { display: none; }
.hscw-join-form .hscw-actions { gap: 10px; }

/* Questions (2.11.0) */
.hscw-q-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.hscw-q-filter select { min-width: 220px; }
.hscw-q-list { display: grid; gap: 12px; margin-top: 16px; }
.hscw-q-row { display: flex; gap: 18px; align-items: flex-start; }
.hscw-q-stats { flex: none; width: 104px; display: grid; gap: 6px; font-size: 13px; color: var(--hs-ink2); }
.hscw-q-stats strong { font-size: 18px; color: var(--hs-ink, #111A33); margin-right: 2px; }
.hscw-q-main { min-width: 0; flex: 1; }
.hscw-q-main .hscw-h3 { margin: 0 0 4px; }
.hscw-q-main .hscw-h3 a { color: inherit; text-decoration: none; }
.hscw-q-main .hscw-h3 a:hover { text-decoration: underline; }
.hscw-q-main p { margin: 0; }
.hscw-q-flags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px !important; }
.hscw-q-flags:empty { display: none; }
.hscw-q-similar { margin-top: 8px; padding: 10px 12px; border-radius: 10px; background: #FFF8EC; border: 1px solid #F1DDB8; }
.hscw-q-similar .hscw-bullets { margin: 4px 0 0; }
.hscw-q-exp { border: 0; padding: 0; }
.hscw-q-exp legend { font-weight: 700; padding: 0; margin-bottom: 4px; }
.hscw-q-exp .hscw-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 6px 14px; margin-top: 8px; }
.hscw-post-best { border-left: 4px solid #2E8B57; padding-left: 14px; }
.hscw-q-paper { margin: 6px 0 0; font-size: 14px; }
.hscw-q-count { margin: 0 0 8px; }
.hscw-q-count strong { font-size: 22px; }
.hscw-q-hands form { margin-bottom: 10px; }
.hscw-q-spin-help { margin-top: 12px; }
.hscw-help-card h3 a { color: inherit; text-decoration: none; }
.hscw-help-card h3 a:hover { text-decoration: underline; }
@media (max-width: 600px) {
	.hscw-q-row { flex-direction: column; gap: 8px; }
	.hscw-q-stats { width: auto; display: flex; gap: 14px; }
	.hscw-q-filter, .hscw-q-filter select { width: 100%; }
}
.hscw-q-filter .screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Coalition map (2.12.0) */
.hscw-map { margin: 28px auto 0; max-width: 980px; }
.hscw-map svg { display: block; width: 100%; height: auto; background: var(--hs-card); border: 1px solid var(--hs-line); border-radius: 14px; }
.hscw-map-land { fill: #DDE2E8; stroke: #FFFFFF; stroke-width: .4; }
.hscw-map-dot { stroke: #FFFFFF; stroke-width: 1.2; }
.hscw-map-dot.is-city { fill: #E09A1F; fill-opacity: .9; }
.hscw-map-dot.is-country { fill: var(--hs-teal); fill-opacity: .55; }
.hscw-map figcaption { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; margin-top: 10px; font-size: 14px; color: var(--hs-ink2); }
.hscw-map figcaption strong { color: var(--hs-ink); }
.hscw-map-key { display: inline-flex; align-items: center; gap: 6px; }
.hscw-map-swatch { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-left: 4px; }
.hscw-map-swatch.is-city { background: #E09A1F; }
.hscw-map-swatch.is-country { background: var(--hs-teal); opacity: .6; }
.hscw-map-note { flex-basis: 100%; font-size: 13px; color: var(--hs-muted); }
.hscw-location-help { margin-top: -4px; }
.hscw-location + .hscw-location-help + input + .hscw-check { margin-bottom: 14px; }
.hscw-map-prompt .hscw-actions { margin-top: 14px; }
@media (max-width: 640px) {
	.hscw-map svg { border-radius: 10px; }
	.hscw-map figcaption { font-size: 13px; }
}

/* "Why we ask" notes (2.13.0) */
.hscw-label-row { display: flex; align-items: center; gap: 6px; position: relative; }
.hscw-field, .hscw-check, .hscw-field legend { position: relative; }
.hscw-why { display: inline-flex; vertical-align: middle; margin-left: 4px; }
.hscw-label-row .hscw-why { margin-left: 0; }
.hscw .hscw-why-btn { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; margin: -4px 0; border: 0; border-radius: 50%; background: transparent; color: var(--hs-muted); cursor: help; box-shadow: none; min-height: 0; }
.hscw .hscw-why-btn:hover, .hscw .hscw-why-btn:focus-visible, .hscw-why.is-open .hscw-why-btn { color: var(--hs-teal); background: var(--hs-teal-soft); }
.hscw .hscw-why-btn:focus-visible { outline: 2px solid var(--hs-teal); outline-offset: 1px; }
.hscw-why-tip { display: none; position: absolute; left: 0; top: calc(100% + 6px); z-index: 30; width: max-content; max-width: min(340px, 100%); min-width: min(240px, 100%); padding: 10px 12px; border-radius: 10px; background: var(--hs-ink); color: #FFFFFF; font-size: 13.5px; font-weight: 400; line-height: 1.45; letter-spacing: 0; text-transform: none; white-space: normal; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.hscw-why-tip strong { color: #FFFFFF; font-weight: 600; }
.hscw-why:hover .hscw-why-tip, .hscw-why:focus-within .hscw-why-tip, .hscw-why.is-open .hscw-why-tip { display: block; }
.hscw-field legend .hscw-why-tip { max-width: 340px; }
@media (max-width: 640px) { .hscw-why-tip { max-width: calc(100vw - 64px); } }
.hscw-field > .hscw-label-row { margin-bottom: 4px; }
.hscw-label-row > label { font-size: 14px; font-weight: 600; padding: 0; }
