.esg-hc {
--esg-primary: #1c7a93;
--esg-black: #0a0a0a;
--esg-white: #ffffff;
box-sizing: border-box;
color: var(--esg-black);
font-family: inherit;
line-height: 1.5;
}
.esg-hc *,
.esg-hc *::before,
.esg-hc *::after {
box-sizing: border-box;
}
.esg-hc-surface {
max-width: 40rem;
margin-left: auto;
margin-right: auto;
padding: clamp(1.25rem, 4vw, 2rem);
background: var(--esg-white);
border: 1px solid rgba(10, 10, 10, 0.12);
border-radius: 4px;
} .esg-hc-assessment {
position: relative;
min-height: 12rem;
}
.esg-hc-assessment-loader {
position: absolute;
inset: 0;
z-index: 5;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 1rem;
padding: 2rem 1.5rem;
background: rgba(255, 255, 255, 0.92);
border-radius: 4px;
transition: opacity 0.2s ease, visibility 0.2s ease;
}
.esg-hc-assessment-loader--hidden {
opacity: 0;
visibility: hidden;
pointer-events: none;
}
.esg-hc-spinner {
width: 2.75rem;
height: 2.75rem;
border: 3px solid rgba(10, 10, 10, 0.12);
border-top-color: var(--esg-primary);
border-radius: 50%;
animation: esg-hc-spin 0.75s linear infinite;
}
@keyframes esg-hc-spin {
to {
transform: rotate(360deg);
}
}
.esg-hc-loader-text {
margin: 0;
font-size: 0.95rem;
font-weight: 600;
color: var(--esg-black);
text-align: center;
}
.esg-hc-assessment-inner {
position: relative;
z-index: 1;
}
.esg-hc-heading,
.esg-hc h2.esg-hc-heading {
margin: 0 0 0.75rem;
font-size: clamp(1.35rem, 3vw, 1.75rem);
font-weight: 600;
color: var(--esg-black);
}
.esg-hc-subheading,
.esg-hc h3.esg-hc-subheading {
margin: 1.5rem 0 0.75rem;
font-size: 1.05rem;
font-weight: 600;
color: var(--esg-black);
}
.esg-hc-text,
.esg-hc p.esg-hc-text {
margin: 0 0 1rem;
color: var(--esg-black);
}
.esg-hc-muted {
margin: 0;
color: rgba(10, 10, 10, 0.62);
font-size: 0.9rem;
}
.esg-hc-step-label {
font-weight: 600;
margin: 0 0 1rem;
font-size: 0.95rem;
}
.esg-hc-step-label--hidden {
display: none;
}
.esg-hc-progress-wrap {
height: 4px;
background: rgba(10, 10, 10, 0.12);
border-radius: 2px;
margin-bottom: 1.25rem;
overflow: hidden;
}
.esg-hc-progress-bar {
height: 100%;
width: 0%;
background: var(--esg-primary);
transition: width 0.25s ease;
}
.esg-hc-cat-title {
margin: 0 0 1rem;
font-size: clamp(1rem, 2.8vw, 1.15rem);
font-weight: 600;
color: var(--esg-primary);
line-height: 1.35;
word-break: break-word;
}
.esg-hc-q {
margin-bottom: 1.5rem;
padding-bottom: 1.25rem;
border-bottom: 1px solid rgba(10, 10, 10, 0.1);
}
.esg-hc-q:last-child {
border-bottom: none;
margin-bottom: 0;
padding-bottom: 0;
}
.esg-hc-q-title {
margin: 0 0 0.35rem;
font-weight: 600;
font-size: 1rem;
}
.esg-hc-q-hint {
margin: 0 0 0.75rem;
color: rgba(10, 10, 10, 0.62);
font-size: 0.875rem;
}
.esg-hc-likert {
display: flex;
flex-wrap: wrap;
gap: 0.35rem;
margin-top: 0.5rem;
}
.esg-hc-likert--3 .esg-hc-likert-opt {
flex: 1 1 5rem;
}
.esg-hc-likert--3 .esg-hc-likert-opt span {
font-size: 0.9rem;
line-height: 1.25;
padding-left: 0.5rem;
padding-right: 0.5rem;
white-space: normal;
}
.esg-hc-likert-opt {
cursor: pointer;
flex: 1 1 auto;
min-width: 2.5rem;
text-align: center;
}
.esg-hc-likert-opt input {
position: absolute;
opacity: 0;
pointer-events: none;
}
.esg-hc-likert-opt span {
display: block;
padding: 0.55rem 0.35rem;
border: 1px solid var(--esg-black);
border-radius: 3px;
font-weight: 600;
transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.esg-hc-likert-opt input:focus-visible + span {
outline: none;
background: var(--esg-black);
color: var(--esg-white);
border-color: var(--esg-black);
}
.esg-hc-likert-opt input:checked + span {
background: var(--esg-primary);
border-color: var(--esg-primary);
color: var(--esg-white);
}
.esg-hc-likert-opt input:focus-visible:checked + span {
background: var(--esg-black);
border-color: var(--esg-black);
color: var(--esg-white);
}
.esg-hc-yesno {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
margin-top: 0.5rem;
}
.esg-hc-yesno-opt {
cursor: pointer;
flex: 1 1 8rem;
}
.esg-hc-yesno-opt input {
position: absolute;
opacity: 0;
}
.esg-hc-yesno-opt span {
display: block;
padding: 0.65rem 1rem;
text-align: center;
border: 1px solid var(--esg-black);
border-radius: 3px;
font-weight: 600;
}
.esg-hc-yesno-opt input:focus-visible + span {
outline: none;
background: var(--esg-black);
color: var(--esg-white);
border-color: var(--esg-black);
}
.esg-hc-yesno-opt input:checked + span {
background: var(--esg-primary);
color: var(--esg-white);
border-color: var(--esg-primary);
}
.esg-hc-yesno-opt input:focus-visible:checked + span {
background: var(--esg-black);
border-color: var(--esg-black);
color: var(--esg-white);
}
.esg-hc-textarea {
width: 100%;
padding: 0.65rem 0.75rem;
border: 1px solid rgba(10, 10, 10, 0.3);
border-radius: 3px;
font: inherit;
resize: vertical;
min-height: 4.5rem;
margin-top: 0.5rem;
}
.esg-hc-textarea:focus {
outline: none;
border-color: var(--esg-primary);
box-shadow: 0 0 0 1px var(--esg-primary);
}
.esg-hc-nav {
display: flex;
justify-content: space-between;
align-items: center;
gap: 0.75rem;
margin-top: 1.75rem;
flex-wrap: wrap;
}
.esg-hc-nav--hidden {
display: none;
}
.esg-hc-step-body--hidden {
display: none;
}
.esg-hc-shake {
animation: esg-hc-shake 0.35s ease;
}
@keyframes esg-hc-shake {
0%,
100% {
transform: translateX(0);
}
25% {
transform: translateX(-4px);
}
75% {
transform: translateX(4px);
}
}
.esg-hc-btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.65rem 1.25rem;
font: inherit;
font-weight: 600;
font-size: 0.95rem;
text-decoration: none;
border-radius: 3px;
border: 1px solid transparent;
cursor: pointer;
transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.esg-hc-btn:disabled {
opacity: 0.55;
cursor: not-allowed;
}
.esg-hc-btn--primary {
background: var(--esg-primary);
color: var(--esg-white);
border-color: var(--esg-primary);
}
.esg-hc-btn--primary:hover:not(:disabled) {
background: var(--esg-black);
border-color: var(--esg-black);
color: var(--esg-white);
}
.esg-hc-btn--ghost {
background: transparent;
color: var(--esg-black);
border-color: var(--esg-black);
}
.esg-hc-btn--ghost:hover:not(:disabled) {
border-color: var(--esg-primary);
color: var(--esg-primary);
}
.esg-hc-btn:focus {
outline: none;
}
.esg-hc-btn:focus-visible:not(:disabled) {
background: var(--esg-black);
color: var(--esg-white);
border-color: var(--esg-black);
}
.esg-hc-btn--block {
width: 100%;
}
.esg-hc-actions {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin-top: 1rem;
}
.esg-hc-notice {
max-width: 40rem;
margin: 0 auto;
padding: 1rem 1.25rem;
border: 1px solid rgba(10, 10, 10, 0.15);
border-radius: 4px;
background: var(--esg-white);
}
.esg-hc-card {
margin-top: 1.25rem;
padding: 1rem 1.25rem;
border: 1px solid rgba(10, 10, 10, 0.1);
border-radius: 4px;
}
.esg-hc-total {
font-size: 1.35rem;
font-weight: 700;
color: var(--esg-primary);
margin: 0.35rem 0 0.75rem;
}
.esg-hc-total-label {
font-weight: 600;
color: var(--esg-black);
margin-right: 0.25rem;
}
.esg-hc-scores-parent-wrap {
margin-bottom: 0.5rem;
}
.esg-hc-score-parent-block {
margin-bottom: 1.25rem;
}
.esg-hc-score-parent-block:last-child {
margin-bottom: 0;
}
.esg-hc-score-parent-title {
margin: 0 0 0.5rem;
font-size: 1.05rem;
font-weight: 700;
color: var(--esg-primary);
}
.esg-hc-summary-inline {
margin: 0 0 0.75rem;
}
.esg-hc-score-list {
list-style: none;
margin: 0;
padding: 0;
}
.esg-hc-score-list--children {
margin-top: 0.35rem;
margin-bottom: 0.75rem;
padding-left: 0.85rem;
border-left: 3px solid rgba(10, 10, 10, 0.12);
}
.esg-hc-score-row--child .esg-hc-score-name {
font-size: 0.9rem;
font-weight: 500;
}
.esg-hc-score-row--rollup .esg-hc-score-name {
font-weight: 600;
}
.esg-hc-score-row {
display: grid;
grid-template-columns: minmax(0, 8rem) 1fr auto;
gap: 0.5rem 0.65rem;
align-items: center;
margin-bottom: 0.65rem;
font-size: 0.9rem;
}
@media (max-width: 520px) {
.esg-hc-score-row {
grid-template-columns: 1fr;
}
.esg-hc-score-val {
justify-self: start;
}
}
.esg-hc-score-name {
font-weight: 600;
}
.esg-hc-score-bar {
display: block;
height: 7px;
background: rgba(10, 10, 10, 0.1);
border-radius: 3px;
overflow: hidden;
position: relative;
}
.esg-hc-score-bar::after {
content: '';
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: var(--esg-pct, 0%);
max-width: 100%;
background: var(--esg-primary);
transition: width 0.35s ease;
}
.esg-hc-score-val {
font-weight: 700;
min-width: 3rem;
text-align: right;
}
.esg-hc-dashboard-header {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 0.75rem;
margin-bottom: 1rem;
}
.esg-hc-dashboard-header .esg-hc-heading {
margin-bottom: 0;
}
.esg-hc-dashboard-toolbar {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 0.75rem;
margin-bottom: 1rem;
}
.esg-hc-logout {
flex-shrink: 0;
}
.esg-hc-answer-parent-block {
margin-bottom: 1.5rem;
}
.esg-hc-answer-parent-block:last-child {
margin-bottom: 0;
}
.esg-hc-answers--grouped {
margin-top: 0.35rem;
}
.esg-hc-link {
display: inline-block;
margin-top: 0.5rem;
font-weight: 600;
color: var(--esg-primary);
text-decoration: underline;
}
.esg-hc-link:hover {
color: var(--esg-black);
}
.esg-hc-history {
list-style: none;
margin: 0;
padding: 0;
}
.esg-hc-history li {
margin-bottom: 0.25rem;
}
.esg-hc-history-link {
display: flex;
justify-content: space-between;
align-items: baseline;
gap: 0.75rem;
padding: 0.6rem 0;
text-decoration: none;
color: var(--esg-black);
border-bottom: 1px solid rgba(10, 10, 10, 0.08);
}
.esg-hc-history-link:hover {
color: var(--esg-primary);
}
.esg-hc-history-date {
font-size: 0.9rem;
}
.esg-hc-history-score {
font-weight: 700;
color: var(--esg-primary);
}
.esg-hc-back {
display: inline-block;
margin-bottom: 1rem;
font-weight: 600;
color: var(--esg-primary);
text-decoration: none;
}
.esg-hc-back:hover {
text-decoration: underline;
color: var(--esg-black);
}
.esg-hc-answers {
margin: 0;
padding-left: 1.15rem;
}
.esg-hc-answer {
margin-bottom: 1rem;
}
.esg-hc-answer-q {
margin: 0 0 0.2rem;
font-weight: 600;
}
.esg-hc-answer-meta {
margin: 0 0 0.35rem;
}
.esg-hc-answer-a {
margin: 0;
padding: 0.55rem 0.65rem;
background: rgba(10, 10, 10, 0.04);
border-radius: 3px;
border-left: 3px solid var(--esg-primary);
} .esg-hc-reg-steps--hidden {
display: none;
}
.esg-hc-reg-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0.75rem;
}
.esg-hc-badge {
display: inline-block;
font-size: 0.8rem;
font-weight: 700;
letter-spacing: 0.04em;
text-transform: uppercase;
padding: 0.2rem 0.5rem;
border: 1px solid var(--esg-black);
border-radius: 2px;
}
.esg-hc-choice-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0.65rem;
margin: 1rem 0 1.25rem;
}
@media (max-width: 480px) {
.esg-hc-choice-grid {
grid-template-columns: 1fr;
}
}
.esg-hc-choice {
cursor: pointer;
display: block;
margin: 0;
}
.esg-hc-choice input {
position: absolute;
opacity: 0;
}
.esg-hc-choice span {
display: block;
padding: 0.85rem 0.75rem;
border: 1px solid var(--esg-black);
border-radius: 3px;
text-align: center;
font-weight: 600;
min-height: 100%;
}
.esg-hc-choice input:focus-visible + span {
outline: none;
background: var(--esg-black);
color: var(--esg-white);
border-color: var(--esg-black);
}
.esg-hc-choice input:checked + span {
background: var(--esg-primary);
border-color: var(--esg-primary);
color: var(--esg-white);
}
.esg-hc-choice input:focus-visible:checked + span {
background: var(--esg-black);
border-color: var(--esg-black);
color: var(--esg-white);
}
.esg-hc-text-btn {
background: none;
border: none;
padding: 0;
font: inherit;
font-weight: 600;
color: var(--esg-primary);
cursor: pointer;
text-decoration: underline;
}
.esg-hc-text-btn:hover {
color: var(--esg-black);
}
.esg-hc-text-btn:focus {
outline: none;
}
.esg-hc-text-btn:focus-visible {
background: var(--esg-black);
color: var(--esg-white);
padding: 0.15rem 0.35rem;
border-radius: 2px;
text-decoration: none;
}
.esg-hc-form .esg-hc-field {
display: block;
margin-bottom: 0.9rem;
}
.esg-hc-form .esg-hc-field > span {
display: block;
margin-bottom: 0.25rem;
font-size: 0.9rem;
font-weight: 600;
}
.esg-hc-form input[type='text'],
.esg-hc-form input[type='email'],
.esg-hc-form input[type='password'],
.esg-hc-form select {
width: 100%;
padding: 0.6rem 0.65rem;
border: 1px solid rgba(10, 10, 10, 0.3);
border-radius: 3px;
font: inherit;
}
.esg-hc-form input:focus,
.esg-hc-form select:focus {
outline: none;
border-color: var(--esg-primary);
box-shadow: 0 0 0 1px var(--esg-primary);
}
.esg-hc-field-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0.65rem;
}
@media (max-width: 480px) {
.esg-hc-field-row {
grid-template-columns: 1fr;
}
}
.esg-hc-form-error {
margin: 0.5rem 0 0;
padding: 0.5rem 0.65rem;
background: rgba(10, 10, 10, 0.06);
border-left: 3px solid var(--esg-black);
font-size: 0.9rem;
}
.esg-hc-form-error--hidden {
display: none;
} .esg-hc-login form label {
display: block;
margin-bottom: 0.75rem;
font-weight: 600;
font-size: 0.9rem;
}
.esg-hc-login form input[type='text'],
.esg-hc-login form input[type='password'] {
width: 100%;
padding: 0.6rem 0.65rem;
margin-top: 0.25rem;
border: 1px solid rgba(10, 10, 10, 0.3);
border-radius: 3px;
font: inherit;
}
.esg-hc-login form input:focus {
outline: none;
border-color: var(--esg-primary);
box-shadow: 0 0 0 1px var(--esg-primary);
}
.esg-hc-login form .login-remember {
font-weight: 400;
}
.esg-hc-login form .login-remember input {
margin-right: 0.35rem;
}
.esg-hc-login form .login-submit input.button {
margin-top: 0.5rem;
padding: 0.65rem 1.25rem;
font: inherit;
font-weight: 600;
background: var(--esg-primary);
color: var(--esg-white);
border: 1px solid var(--esg-primary);
border-radius: 3px;
cursor: pointer;
}
.esg-hc-login form .login-submit input.button:hover {
background: var(--esg-black);
border-color: var(--esg-black);
}
.esg-hc-login form .login-submit input.button:focus {
outline: none;
}
.esg-hc-login form .login-submit input.button:focus-visible {
background: var(--esg-black);
border-color: var(--esg-black);
color: var(--esg-white);
}
.esg-hc-result--hidden {
display: none;
}
.esg-hc-result:focus {
outline: none;
}
.esg-hc-result .esg-hc-btn {
margin-top: 1rem;
}