/* 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; }
