:root {
    --cws-brand: #28aae1;
    --cws-font: Poppins, Arial, sans-serif;
    --cws-text: #102230;
    --cws-bg: #f5fbfe;
    --cws-border: #d7e8f1;
    --cws-card: #ffffff;
    --cws-success: #0f9d58;
    --cws-error: #c62828;
}

.cws-shell {
    font-family: var(--cws-font);
    color: var(--cws-text);
    margin: 24px 0;
}

.cws-card {
    background: var(--cws-card);
    border: 1px solid var(--cws-border);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 14px 30px rgba(16, 34, 48, 0.06);
}

.cws-card--wide {
    max-width: 1100px;
}

.cws-card--medium {
    max-width: 620px;
}

.cws-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.cws-form input[type="text"],
.cws-form input[type="email"],
.cws-form input[type="password"],
.cws-form input[type="url"],
.cws-form textarea,
.cws-form select {
    width: 100%;
    border: 1px solid var(--cws-border);
    border-radius: 14px;
    padding: 14px 16px;
    font-family: var(--cws-font);
    font-size: 15px;
    box-sizing: border-box;
    background: #fff;
}

.cws-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
}

.cws-span-2 {
    grid-column: span 2;
}

.cws-checkline label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-weight: 500;
}

.cws-button {
    display: inline-block;
    border: 0;
    border-radius: 999px;
    background: var(--cws-brand);
    color: #fff;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.cws-button--ghost {
    background: transparent;
    color: var(--cws-brand);
    border: 1px solid var(--cws-brand);
}

.cws-notice {
    margin: 0 0 16px;
    border-radius: 16px;
    padding: 14px 16px;
    font-weight: 600;
}

.cws-notice--success {
    background: rgba(15, 157, 88, 0.08);
    color: var(--cws-success);
}

.cws-notice--error {
    background: rgba(198, 40, 40, 0.08);
    color: var(--cws-error);
}

.cws-panels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.cws-panel {
    background: var(--cws-bg);
    border: 1px solid var(--cws-border);
    border-radius: 20px;
    padding: 20px;
}

.cws-panel--form {
    grid-column: span 2;
    background: #fff;
}

.cws-flex-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}

.cws-link-list {
    margin: 0;
    padding-left: 18px;
}

.cws-library-group {
    margin-top: 28px;
}

.cws-library-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.cws-library-card {
    background: #fff;
    border: 1px solid var(--cws-border);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 18px rgba(16, 34, 48, 0.04);
}

.cws-library-card h4 {
    margin-top: 0;
    margin-bottom: 10px;
}

.cws-audio-wrap audio {
    width: 100%;
    margin-top: 12px;
}

@media (max-width: 900px) {
    .cws-panels,
    .cws-library-grid,
    .cws-grid {
        grid-template-columns: 1fr;
    }

    .cws-span-2,
    .cws-panel--form {
        grid-column: auto;
    }

    .cws-flex-head {
        flex-direction: column;
    }
}

.cws-auth-switch {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(0,0,0,.08);
    text-align: center;
}

.cws-auth-switch p {
    margin: 0 0 10px;
}

.cws-auth-links {
    margin-top: 14px;
}

.cws-auth-links a {
    color: var(--cws-brand);
    font-weight: 600;
    text-decoration: none;
}

.cws-auth-links a:hover {
    text-decoration: underline;
}


.cws-auth-shell {
    --cws-auth-accent: var(--cws-brand);
    position: relative;
    margin: 28px auto;
    max-width: 1180px;
    padding: 20px;
}

.cws-auth-layout {
    display: grid;
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
    background: linear-gradient(135deg, rgba(40,170,225,0.12), rgba(255,255,255,0.98));
    border: 1px solid rgba(40,170,225,0.16);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(16, 34, 48, 0.12);
}

.cws-auth-aside {
    position: relative;
    padding: 40px 34px;
    background: linear-gradient(160deg, var(--cws-auth-accent), #0f172a 120%);
    color: #fff;
    min-height: 100%;
}

.cws-auth-aside::before,
.cws-auth-aside::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    filter: blur(2px);
}

.cws-auth-aside::before {
    width: 180px;
    height: 180px;
    top: -40px;
    right: -70px;
}

.cws-auth-aside::after {
    width: 120px;
    height: 120px;
    bottom: 20px;
    left: -50px;
}

.cws-auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    margin-bottom: 18px;
}

.cws-auth-badge::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
}

.cws-auth-logo img {
    max-width: 180px;
    max-height: 58px;
    width: auto;
    height: auto;
    margin-bottom: 18px;
}

.cws-auth-title {
    margin: 0 0 14px;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.05;
    color: inherit;
}

.cws-auth-lead {
    margin: 0 0 22px;
    color: rgba(255,255,255,0.92);
    font-size: 15px;
    line-height: 1.7;
    max-width: 36ch;
}

.cws-auth-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.cws-auth-list li {
    position: relative;
    padding-left: 22px;
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    line-height: 1.6;
}

.cws-auth-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
}

.cws-auth-support {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.18);
    font-size: 13px;
    color: rgba(255,255,255,0.88);
}

.cws-auth-support a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.cws-auth-main {
    padding: 34px;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(8px);
}

.cws-auth-panel {
    max-width: 720px;
    margin: 0 auto;
}

.cws-auth-card {
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(16,34,48,0.08);
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 18px 35px rgba(16, 34, 48, 0.08);
}

.cws-auth-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--cws-auth-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cws-auth-heading {
    margin: 0 0 8px;
    font-size: clamp(28px, 2vw, 34px);
    line-height: 1.1;
    color: #0f172a;
}

.cws-auth-subheading {
    margin: 0 0 24px;
    color: #526273;
    line-height: 1.7;
    max-width: 54ch;
}

.cws-form p {
    margin: 0 0 18px;
}

.cws-form p:last-of-type {
    margin-bottom: 0;
}

.cws-form label {
    display: block;
    margin-bottom: 10px;
    color: #183243;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.cws-form input[type="text"],
.cws-form input[type="email"],
.cws-form input[type="password"],
.cws-form input[type="url"],
.cws-form textarea,
.cws-form select {
    min-height: 60px;
    border: 1px solid #d6e4ee;
    border-radius: 18px;
    padding: 17px 18px;
    margin: 0;
    box-shadow: inset 0 1px 2px rgba(16,34,48,0.02);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.cws-form textarea { min-height: 120px; }

.cws-form input:focus,
.cws-form textarea:focus,
.cws-form select:focus {
    border-color: var(--cws-auth-accent);
    box-shadow: 0 0 0 4px rgba(40,170,225,0.14);
    outline: none;
}

.cws-field-help {
    display: block;
    margin-top: 10px;
    color: #748496;
    font-size: 12px;
    line-height: 1.5;
}

.cws-checkline {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 6px 0 4px;
    padding: 16px 18px;
    border: 1px solid #e3edf4;
    border-radius: 18px;
    background: #f9fcfe;
}

.cws-checkline input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex: 0 0 18px;
    accent-color: var(--cws-auth-accent);
}

.cws-checkline label {
    margin: 0;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-weight: 500;
    color: #243b4a;
    line-height: 1.55;
}

.cws-button {
    min-height: 54px;
    padding: 16px 26px;
    box-shadow: 0 16px 30px rgba(40,170,225,0.24);
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.cws-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(40,170,225,0.28);
}

.cws-button--ghost {
    background: transparent;
    box-shadow: none;
}

.cws-button--ghost:hover { box-shadow: none; }

.cws-auth-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 14px;
    padding-top: 2px;
}

.cws-auth-switch {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(16,34,48,.08);
    text-align: left;
}

.cws-auth-switch p { margin: 0 0 10px; }

.cws-auth-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-top: 22px;
}

.cws-auth-links a {
    color: #1c4f69;
    font-weight: 700;
    text-decoration: none;
}

.cws-auth-links a:hover { text-decoration: underline; }

.cws-notice {
    margin: 0 0 18px;
    border-radius: 18px;
    padding: 14px 16px;
}

.cws-auth-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
    margin-top: 20px;
}

 .cws-auth-meta-card {
    min-width: 0;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.16);
}

.cws-auth-meta-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.cws-auth-meta-card span {
    display: block;
    max-width: 100%;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    overflow-wrap: anywhere;
    word-break: break-word;
}


.cws-auth-card .cws-form > *:first-child {
    margin-top: 0;
}

.cws-auth-card .cws-form > *:last-child {
    margin-bottom: 0;
}

@media (max-width: 980px) {
    .cws-auth-layout { grid-template-columns: 1fr; }
    .cws-auth-main,
    .cws-auth-aside { padding: 28px 22px; }
    .cws-auth-card { padding: 24px; }
}

@media (max-width: 640px) {
    .cws-auth-shell { padding: 10px; }
    .cws-auth-card { padding: 22px 18px; border-radius: 22px; }
    .cws-auth-meta,
    .cws-grid { grid-template-columns: 1fr; }
    .cws-auth-actions { flex-direction: column; align-items: stretch; }
    .cws-button,
    .cws-button--ghost { width: 100%; text-align: center; justify-content: center; }
}


.cws-result-notice {
    background: transparent;
    color: inherit;
    padding: 0;
    border-radius: 0;
}

.cws-result-card {
    background: linear-gradient(180deg, #f6fffb 0%, #eef8f3 100%);
    border: 1px solid rgba(18, 138, 87, 0.16);
    border-left: 5px solid var(--cws-success);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.cws-result-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.cws-result-card__eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #138a57;
}

.cws-result-card__title {
    margin: 0;
    font-size: 30px;
    line-height: 1.15;
    color: #0f172a;
}

.cws-result-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(18, 138, 87, 0.1);
    color: #138a57;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.cws-result-card__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.cws-result-stat {
    padding: 18px 20px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.cws-result-stat__label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #5b7083;
}

.cws-result-stat strong {
    display: block;
    font-size: 22px;
    line-height: 1.2;
    color: #0f172a;
}

.cws-result-card__body {
    padding: 22px 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.cws-result-card__body-title {
    margin: 0 0 14px;
    font-size: 18px;
    line-height: 1.3;
    color: #0f172a;
}

.cws-result-card__body p {
    margin: 0 0 14px;
    color: #29465a;
    font-size: 17px;
    line-height: 1.8;
    font-weight: 500;
}

.cws-result-card__body p:last-child {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .cws-result-card {
        padding: 22px;
        border-radius: 20px;
    }

    .cws-result-card__header,
    .cws-result-card__stats {
        grid-template-columns: 1fr;
        display: grid;
    }

    .cws-result-card__header {
        gap: 12px;
    }

    .cws-result-card__badge {
        white-space: normal;
        justify-self: start;
    }

    .cws-result-card__title {
        font-size: 24px;
    }

    .cws-result-stat strong {
        font-size: 20px;
    }

    .cws-result-card__body {
        padding: 18px;
    }

    .cws-result-card__body p {
        font-size: 16px;
        line-height: 1.7;
    }
}


.cws-modal-open {
    overflow: hidden;
}

.cws-result-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 18px;
    animation: cwsFadeIn 0.22s ease;
}

.cws-result-modal.is-closing {
    animation: cwsFadeOut 0.18s ease forwards;
}

.cws-result-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(8px);
}

.cws-result-modal__dialog {
    position: relative;
    width: min(920px, 100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
    border-radius: 28px;
}

.cws-result-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.cws-result-modal__close:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.14);
}

.cws-result-modal__glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(8px);
    opacity: 0.8;
    pointer-events: none;
}

.cws-result-modal__glow--one {
    top: 16px;
    left: 22px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(40,170,225,0.28) 0%, rgba(40,170,225,0) 70%);
}

.cws-result-modal__glow--two {
    right: 40px;
    bottom: 30px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(19,138,87,0.18) 0%, rgba(19,138,87,0) 72%);
}

.cws-result-card--modal {
    position: relative;
    margin: 0;
    border: 1px solid rgba(255,255,255,0.55);
    border-left: 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-radius: 28px;
    padding: 34px;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.22);
}

.cws-result-card__intro {
    margin: 12px 0 0;
    max-width: 560px;
    color: #516579;
    font-size: 17px;
    line-height: 1.7;
}

.cws-result-stat--accent {
    background: linear-gradient(135deg, rgba(40,170,225,0.10) 0%, rgba(40,170,225,0.18) 100%);
    border-color: rgba(40,170,225,0.18);
}

.cws-result-card__actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 22px;
}

@keyframes cwsFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes cwsFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@media (max-width: 900px) {
    .cws-result-modal {
        padding: 14px;
        align-items: flex-end;
    }

    .cws-result-modal__dialog {
        max-height: calc(100vh - 12px);
        border-radius: 24px 24px 0 0;
    }

    .cws-result-card--modal {
        padding: 24px 20px 22px;
        border-radius: 24px 24px 0 0;
    }

    .cws-result-modal__close {
        top: 14px;
        right: 14px;
    }

    .cws-result-card__intro {
        font-size: 16px;
        line-height: 1.65;
    }

    .cws-result-card__actions {
        justify-content: stretch;
    }

    .cws-result-card__actions .cws-button {
        width: 100%;
        justify-content: center;
    }
}


/* Assessment experience */
.cws-assessment-shell {
    background:
        radial-gradient(circle at top right, rgba(40, 170, 225, 0.10), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f9fcfe 100%);
}

.cws-eyebrow,
.cws-section-heading__eyebrow,
.cws-question-card__category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
    color: var(--cws-brand);
}

.cws-assessment-hero {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-end;
    padding-bottom: 24px;
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(16, 34, 48, 0.08);
}

.cws-assessment-hero h2 {
    margin: 8px 0 10px;
    font-size: clamp(34px, 4vw, 46px);
    line-height: 1.05;
}

.cws-assessment-hero p {
    max-width: 760px;
    margin: 0;
    color: #4f6474;
    font-size: 16px;
    line-height: 1.75;
}

.cws-assessment-hero__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    min-width: 320px;
}

.cws-stat-chip {
    padding: 18px 20px;
    border-radius: 20px;
    border: 1px solid rgba(40, 170, 225, 0.16);
    background: rgba(40, 170, 225, 0.06);
}

.cws-stat-chip strong {
    display: block;
    font-size: 24px;
    line-height: 1.1;
    margin-bottom: 6px;
}

.cws-stat-chip span {
    display: block;
    color: #5d6f7d;
    font-size: 13px;
}

.cws-assessment-layout {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 24px;
}

.cws-assessment-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cws-assessment-sidebar__section,
.cws-assessment-main > .cws-panel {
    background: #ffffff;
    border: 1px solid var(--cws-border);
    border-radius: 24px;
    box-shadow: 0 16px 34px rgba(16, 34, 48, 0.05);
}

.cws-assessment-sidebar__section {
    padding: 22px;
}

.cws-section-heading h3,
.cws-assessment-sidebar__section h4,
.cws-panel--assessment-form h3,
.cws-panel--assessment-query h3 {
    margin: 8px 0 0;
    font-size: 22px;
}

.cws-assessment-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
}

.cws-assessment-list__item {
    text-decoration: none;
    color: var(--cws-text);
    padding: 16px 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, #fbfdff 0%, #f3f9fc 100%);
    border: 1px solid rgba(40, 170, 225, 0.14);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.cws-assessment-list__item:hover,
.cws-assessment-list__item:focus {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(16, 34, 48, 0.08);
    border-color: rgba(40, 170, 225, 0.28);
}

.cws-assessment-list__item.is-active {
    background: linear-gradient(180deg, rgba(40,170,225,0.14) 0%, rgba(40,170,225,0.08) 100%);
    border-color: rgba(40, 170, 225, 0.34);
}

.cws-assessment-list__title {
    display: block;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 6px;
}

.cws-assessment-list__meta {
    display: block;
    font-size: 13px;
    color: #647888;
}

.cws-empty-state {
    padding: 26px 18px;
    text-align: center;
    background: linear-gradient(180deg, #fbfdff 0%, #f4f9fc 100%);
    border: 1px dashed rgba(40, 170, 225, 0.28);
    border-radius: 20px;
    margin-top: 18px;
}

.cws-empty-state__icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--cws-brand);
    background: rgba(40, 170, 225, 0.12);
}

.cws-empty-state h4 {
    margin: 0 0 8px;
}

.cws-empty-state p {
    margin: 0;
    color: #5d6f7d;
}

.cws-sidebar-action {
    margin-top: 18px;
}

.cws-assessment-sidebar__support {
    background: linear-gradient(180deg, #103c54 0%, #0b2740 100%);
    color: #fff;
    border-color: rgba(255,255,255,0.08);
}

.cws-assessment-sidebar__support .cws-section-heading__eyebrow,
.cws-assessment-sidebar__support h4,
.cws-assessment-sidebar__support p {
    color: #fff;
}

.cws-assessment-sidebar__support p {
    opacity: .92;
    line-height: 1.7;
}

.cws-support-mini {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.14);
}

.cws-support-mini span {
    display: block;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: .82;
    margin-bottom: 8px;
}

.cws-support-mini strong {
    display: block;
    overflow-wrap: anywhere;
}

.cws-assessment-main > .cws-panel {
    padding: 26px;
}

.cws-panel-intro {
    margin: 0 0 20px;
    color: #5a6f7f;
    line-height: 1.75;
}

.cws-panel-intro--soft {
    padding: 16px 18px;
    background: #f5fbfe;
    border: 1px solid rgba(40,170,225,0.12);
    border-radius: 18px;
}

.cws-form--assessment .cws-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
}

.cws-form-grid__full {
    grid-column: 1 / -1;
}

.cws-form-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 8px;
}

.cws-assessment-form__header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.cws-assessment-form__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.cws-assessment-form__meta span,
.cws-assessment-form__badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(40, 170, 225, 0.14);
    background: rgba(40, 170, 225, 0.08);
    color: #325066;
}

.cws-question-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cws-question-card {
    padding: 18px 18px 20px;
    border-radius: 20px;
    border: 1px solid rgba(16, 34, 48, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.cws-question-card__head {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.cws-question-card__number {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(40, 170, 225, 0.10);
    color: var(--cws-brand);
    font-weight: 700;
    flex-shrink: 0;
}

.cws-question-card__title-wrap {
    flex: 1;
}

.cws-question-card__title {
    display: block;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.55;
    margin-top: 6px;
}

.cws-option-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.cws-option-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(16, 34, 48, 0.08);
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.cws-option-card:hover {
    border-color: rgba(40, 170, 225, 0.22);
    box-shadow: 0 8px 18px rgba(16, 34, 48, 0.05);
    background: #fbfdff;
}

.cws-option-card input {
    margin-top: 3px;
}

.cws-form--assessment-submit textarea {
    min-height: 130px;
}

.cws-form-actions--assessment {
    margin-top: 20px;
    padding-top: 8px;
}

@media (max-width: 980px) {
    .cws-assessment-hero,
    .cws-assessment-form__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .cws-assessment-hero__stats,
    .cws-assessment-layout,
    .cws-form--assessment .cws-form-grid {
        grid-template-columns: 1fr;
    }

    .cws-assessment-hero__stats {
        min-width: 0;
        width: 100%;
    }
}

/* Dashboard refresh */
.cws-dashboard-shell {
    background: linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
}

.cws-dashboard-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
    gap: 22px;
    padding: 6px 0 8px;
}

.cws-dashboard-hero__title {
    margin: 8px 0 10px;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.cws-dashboard-hero__intro {
    max-width: 760px;
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.75;
    color: #486172;
}

.cws-dashboard-actions,
.cws-library-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.cws-dashboard-hero__meta {
    display: grid;
    gap: 14px;
    align-content: start;
}

.cws-dashboard-mini-card {
    background: linear-gradient(180deg, #ffffff 0%, #eef8fd 100%);
    border: 1px solid var(--cws-border);
    border-radius: 20px;
    padding: 18px 18px 16px;
    box-shadow: 0 10px 24px rgba(16, 34, 48, 0.05);
}

.cws-dashboard-mini-card span,
.cws-stat-card__label,
.cws-metric-chip span,
.cws-data-list dt,
.cws-library-group__count {
    display: block;
    color: #648091;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cws-dashboard-mini-card strong {
    display: block;
    margin-top: 8px;
    font-size: 1.05rem;
    line-height: 1.45;
    color: var(--cws-text);
    word-break: break-word;
}

.cws-dashboard-mini-card small {
    display: block;
    margin-top: 6px;
    color: #567080;
    line-height: 1.5;
}

.cws-dashboard-logout {
    width: 100%;
    text-align: center;
    justify-content: center;
}

.cws-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 24px 0 8px;
}

.cws-stat-card {
    background: linear-gradient(180deg, #ffffff 0%, #eef8fd 100%);
    border: 1px solid var(--cws-border);
    border-radius: 20px;
    padding: 18px 18px 16px;
    box-shadow: 0 12px 26px rgba(16, 34, 48, 0.05);
}

.cws-stat-card__value {
    display: block;
    margin-top: 10px;
    font-size: clamp(1.5rem, 2.3vw, 2.2rem);
    line-height: 1;
    color: var(--cws-text);
}

.cws-panels--dashboard {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
}

.cws-panels--dashboard > .cws-panel,
.cws-panels--dashboard > .cws-library-card,
.cws-panels--dashboard > .cws-assessment-result-card {
    grid-column: span 4;
}

.cws-panel--profile,
.cws-panel--quick,
.cws-panel--engagement,
.cws-panel--assessment,
.cws-panel--privacy,
.cws-panel--manager,
.cws-assessment-result-card {
    background: #fff;
    box-shadow: 0 14px 30px rgba(16, 34, 48, 0.05);
}

.cws-panel--profile,
.cws-panel--quick,
.cws-panel--engagement,
.cws-panel--assessment,
.cws-panel--privacy,
.cws-panel--manager {
    padding: 24px;
}

.cws-panel--quick,
.cws-panel--assessment,
.cws-panel--manager,
.cws-panel--privacy,
.cws-assessment-result-card {
    grid-column: span 6;
}

.cws-section-heading h3,
.cws-library-group__head h3 {
    margin: 6px 0 0;
    font-size: 1.65rem;
    line-height: 1.15;
}

.cws-section-heading__eyebrow {
    display: inline-block;
    color: var(--cws-brand);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.cws-data-list {
    margin: 16px 0 0;
    display: grid;
    gap: 12px;
}

.cws-data-list div {
    display: grid;
    grid-template-columns: minmax(120px, 155px) 1fr;
    gap: 10px 14px;
    padding: 12px 14px;
    border: 1px solid #ebf3f8;
    border-radius: 16px;
    background: #fbfdff;
}

.cws-data-list dd {
    margin: 0;
    line-height: 1.5;
    color: #203949;
    word-break: break-word;
}

.cws-action-stack {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.cws-action-card {
    display: block;
    padding: 18px 18px 16px;
    border-radius: 18px;
    border: 1px solid var(--cws-border);
    background: linear-gradient(180deg, #f9fdff 0%, #eef8fd 100%);
    text-decoration: none;
    color: inherit;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.cws-action-card:hover,
.cws-action-card:focus {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(16, 34, 48, 0.08);
    border-color: rgba(40,170,225,.35);
}

.cws-action-card strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.cws-action-card span {
    display: block;
    color: #577080;
    line-height: 1.6;
}

.cws-metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.cws-metric-chip {
    background: #f8fbfd;
    border: 1px solid #ebf3f8;
    border-radius: 18px;
    padding: 16px;
}

.cws-metric-chip strong {
    display: block;
    margin-top: 8px;
    font-size: 1.35rem;
    line-height: 1.1;
}

.cws-activity-list {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.cws-activity-list li {
    padding: 14px 16px;
    border: 1px solid #ebf3f8;
    border-radius: 16px;
    background: #fbfdff;
}

.cws-activity-list strong,
.cws-activity-list span {
    display: block;
}

.cws-activity-list strong {
    margin-bottom: 6px;
}

.cws-activity-list span {
    color: #5a7383;
    line-height: 1.55;
}

.cws-checkline--card {
    background: #f8fbfd;
    border: 1px solid #ebf3f8;
    border-radius: 18px;
    padding: 14px 16px;
    margin: 18px 0;
}

.cws-checkline--card label {
    align-items: center;
}

/* Library refresh */
.cws-library-shell {
    background: linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
}

.cws-library-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
}

.cws-library-hero h2 {
    margin: 8px 0 10px;
    font-size: clamp(2rem, 2.8vw, 2.8rem);
    line-height: 1.05;
}

.cws-library-hero p {
    max-width: 760px;
    margin: 0;
    color: #4f6878;
    line-height: 1.75;
}

.cws-library-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 8px;
}

.cws-library-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border-radius: 999px;
    border: 1px solid var(--cws-border);
    background: #fff;
    color: #355163;
    text-decoration: none;
    font-weight: 700;
}

.cws-library-filter.is-active,
.cws-library-filter:hover,
.cws-library-filter:focus {
    border-color: rgba(40,170,225,.4);
    color: var(--cws-brand);
    background: #eef8fd;
}

.cws-library-group {
    margin-top: 30px;
}

.cws-library-group__head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin-bottom: 16px;
}

.cws-library-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.cws-library-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 100%;
    border-radius: 24px;
    padding: 22px;
}

.cws-library-card__top h4 {
    margin: 10px 0 8px;
    font-size: 1.32rem;
    line-height: 1.2;
}

.cws-library-card__excerpt {
    margin: 0;
    color: #587182;
    line-height: 1.65;
}

.cws-library-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #eef8fd;
    color: var(--cws-brand);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cws-library-content {
    color: #314d5e;
    line-height: 1.7;
}

.cws-library-card--empty {
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 220px;
}

@media (max-width: 1100px) {
    .cws-dashboard-hero,
    .cws-library-hero,
    .cws-panels--dashboard,
    .cws-dashboard-stats,
    .cws-library-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cws-dashboard-hero,
    .cws-library-hero {
        display: grid;
    }

    .cws-panels--dashboard > .cws-panel,
    .cws-panels--dashboard > .cws-assessment-result-card {
        grid-column: span 6;
    }
}

@media (max-width: 900px) {
    .cws-dashboard-hero,
    .cws-dashboard-stats,
    .cws-panels--dashboard,
    .cws-library-grid,
    .cws-metric-grid,
    .cws-data-list div {
        grid-template-columns: 1fr;
    }

    .cws-panels--dashboard > .cws-panel,
    .cws-panels--dashboard > .cws-assessment-result-card {
        grid-column: span 12;
    }

    .cws-library-group__head,
    .cws-dashboard-actions,
    .cws-library-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }
}

.cws-button--xl {
    padding: 16px 28px;
    font-size: 16px;
}

.cws-home-bleed {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 34px 18px 56px;
    background:
        radial-gradient(circle at top left, rgba(40,170,225,0.18), transparent 26%),
        radial-gradient(circle at 85% 20%, rgba(15,23,42,0.08), transparent 20%),
        linear-gradient(180deg, #f7fcff 0%, #eef8fd 100%);
}

.cws-home-wrap {
    max-width: 1380px;
    margin: 0 auto;
}

.cws-home-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--cws-home-brand, var(--cws-brand));
    margin-bottom: 14px;
}

.cws-home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    gap: 26px;
    align-items: stretch;
}

.cws-home-hero__copy,
.cws-home-hero__visual,
.cws-home-stat-card,
.cws-home-pathway-card,
.cws-home-feature-card,
.cws-home-cta-card {
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(115, 173, 207, 0.18);
    box-shadow: 0 26px 60px rgba(16, 34, 48, 0.07);
    backdrop-filter: blur(14px);
}

.cws-home-hero__copy {
    border-radius: 34px;
    padding: 34px;
}

.cws-home-hero__copy h1 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: .96;
    letter-spacing: -0.04em;
    margin: 8px 0 18px;
    max-width: 11ch;
}

.cws-home-lead {
    max-width: 60ch;
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(16,34,48,.76);
    margin: 0 0 24px;
}

.cws-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 24px;
}

.cws-home-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cws-home-proof span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(40,170,225,0.08);
    color: #123042;
    font-weight: 700;
    font-size: 14px;
}

.cws-home-proof span::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--cws-home-brand, var(--cws-brand));
}

.cws-home-hero__visual {
    position: relative;
    min-height: 100%;
    border-radius: 34px;
    padding: 26px;
    overflow: hidden;
    display: grid;
    align-content: end;
    gap: 16px;
    background: linear-gradient(155deg, rgba(40,170,225,0.94), rgba(15,23,42,0.95));
}

.cws-home-glass {
    position: relative;
    z-index: 2;
    border-radius: 24px;
    padding: 22px;
    color: #fff;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(18px);
}

.cws-home-glass strong {
    display: block;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    line-height: 1;
    margin-bottom: 10px;
}

.cws-home-glass p {
    margin: 0;
    color: rgba(255,255,255,0.88);
    line-height: 1.65;
}

.cws-home-glass__eyebrow {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-weight: 800;
    opacity: .78;
    margin-bottom: 10px;
}

.cws-home-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(2px);
    background: rgba(255,255,255,0.12);
}

.cws-home-orb--one { width: 190px; height: 190px; top: -40px; right: -30px; }
.cws-home-orb--two { width: 120px; height: 120px; bottom: 22px; left: -18px; }

.cws-home-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.cws-home-stat-card {
    border-radius: 26px;
    padding: 22px;
}

.cws-home-stat-card span,
.cws-home-stat-card small {
    display: block;
    color: rgba(16,34,48,.64);
}

.cws-home-stat-card strong {
    display: block;
    font-size: clamp(1.6rem, 2.5vw, 2.3rem);
    line-height: 1.05;
    margin: 10px 0 8px;
}

.cws-home-stat-card__value {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.cws-home-stat-card--support .cws-home-stat-card__value--email {
    font-size: clamp(1.15rem, 1.9vw, 1.85rem);
    line-height: 1.18;
    letter-spacing: -0.02em;
}

.cws-home-section {
    margin-top: 22px;
}

.cws-home-section__head {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    align-items: end;
    margin-bottom: 18px;
}

.cws-home-section__head h2 {
    font-size: clamp(1.9rem, 3vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0;
    max-width: 13ch;
}

.cws-home-section__head p {
    max-width: 52ch;
    color: rgba(16,34,48,.7);
    line-height: 1.7;
    margin: 0;
}

.cws-home-pathways {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.cws-home-pathway-card,
.cws-home-feature-card,
.cws-home-cta-card {
    border-radius: 28px;
    padding: 26px;
}

.cws-home-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(40,170,225,0.12);
    color: var(--cws-home-brand, var(--cws-brand));
    font-weight: 800;
    margin-bottom: 18px;
}

.cws-home-pathway-card h3,
.cws-home-feature-card h3,
.cws-home-cta-card h2 {
    margin: 0 0 12px;
    letter-spacing: -0.03em;
    line-height: 1.08;
}

.cws-home-pathway-card p,
.cws-home-feature-card p,
.cws-home-cta-card p,
.cws-home-feature-card li {
    color: rgba(16,34,48,.72);
    line-height: 1.7;
}

.cws-home-pathway-card a {
    display: inline-flex;
    margin-top: 16px;
    color: var(--cws-home-brand, var(--cws-brand));
    font-weight: 800;
    text-decoration: none;
}

.cws-home-feature-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr .85fr;
    gap: 18px;
}

.cws-home-feature-card--wide ul {
    margin: 18px 0 0;
    padding-left: 18px;
}

.cws-home-cta-card {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    background: linear-gradient(135deg, rgba(255,255,255,0.94), rgba(232,246,252,0.92));
}

.cws-home-actions--end {
    justify-content: flex-end;
    margin-bottom: 0;
    min-width: 320px;
}

@media (max-width: 1100px) {
    .cws-home-hero,
    .cws-home-feature-grid,
    .cws-home-pathways,
    .cws-home-stats {
        grid-template-columns: 1fr 1fr;
    }

    .cws-home-feature-card--wide,
    .cws-home-hero__copy {
        grid-column: 1 / -1;
    }

    .cws-home-section__head,
    .cws-home-cta-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .cws-home-actions--end {
        min-width: 0;
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .cws-home-bleed {
        padding: 18px 14px 34px;
    }

    .cws-home-hero,
    .cws-home-stats,
    .cws-home-pathways,
    .cws-home-feature-grid {
        grid-template-columns: 1fr;
    }

    .cws-home-hero__copy,
    .cws-home-hero__visual,
    .cws-home-pathway-card,
    .cws-home-feature-card,
    .cws-home-cta-card,
    .cws-home-stat-card {
        border-radius: 22px;
        padding: 22px;
    }

    .cws-home-hero__copy h1 {
        max-width: none;
    }
}


/* Library card upgrade */
.cws-library-grid {
    align-items: stretch;
}

.cws-library-card {
    position: relative;
    overflow: hidden;
    gap: 16px;
    min-height: 100%;
    border: 1px solid rgba(40, 170, 225, 0.16);
    background: linear-gradient(180deg, #ffffff 0%, #f9fcfe 100%);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.cws-library-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, var(--cws-brand) 0%, rgba(40,170,225,0.2) 100%);
}

.cws-library-card:hover,
.cws-library-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.1);
    border-color: rgba(40, 170, 225, 0.3);
}

.cws-library-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.cws-library-card__mode {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.05);
    color: #425c6d;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: .03em;
}

.cws-library-card__top h4 {
    margin: 14px 0 10px;
    font-size: clamp(1.28rem, 1.5vw, 1.55rem);
    line-height: 1.2;
}

.cws-library-card__excerpt,
.cws-library-content {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cws-library-card__excerpt {
    -webkit-line-clamp: 3;
    min-height: 5.1em;
}

.cws-library-content {
    -webkit-line-clamp: 3;
    color: #476273;
    font-size: .98rem;
    line-height: 1.7;
}

.cws-library-card__footer {
    margin-top: auto;
    padding-top: 6px;
}

.cws-audio-wrap--card {
    padding: 14px;
    border-radius: 18px;
    background: linear-gradient(180deg, #f3f9fc 0%, #eef6fb 100%);
    border: 1px solid rgba(40, 170, 225, 0.12);
}

.cws-audio-wrap--card audio {
    width: 100%;
    display: block;
    margin-top: 0;
}

.cws-library-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--cws-brand);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(40, 170, 225, 0.24);
}

.cws-library-card__link:hover,
.cws-library-card__link:focus {
    color: #fff;
    background: #1796d4;
}

.cws-library-card--empty {
    min-height: 260px;
    border-style: dashed;
    background: linear-gradient(180deg, #fbfdff 0%, #f4f9fc 100%);
}

@media (max-width: 900px) {
    .cws-library-card__excerpt {
        min-height: auto;
    }
}



/* v27 assessment messaging redesign */
.cws-assessment-shell--insight {
    background:
        radial-gradient(circle at top left, rgba(40,170,225,.10), transparent 28%),
        radial-gradient(circle at bottom right, rgba(2,12,50,.08), transparent 28%),
        #fff;
}
.cws-assessment-page-hero {
    display: grid;
    grid-template-columns: 1.4fr .9fr;
    gap: 28px;
    align-items: stretch;
    margin-bottom: 28px;
}
.cws-assessment-page-hero__copy,
.cws-assessment-page-hero__panel,
.cws-assessment-value__intro,
.cws-assessment-focus,
.cws-benefit-card,
.cws-step-card,
.cws-assessment-cta {
    border: 1px solid rgba(40,170,225,.14);
    border-radius: 28px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 20px 45px rgba(15,23,42,.06);
}
.cws-assessment-page-hero__copy {
    padding: 34px;
    background:
        linear-gradient(140deg, rgba(40,170,225,.08), rgba(40,170,225,.02)),
        #fff;
}
.cws-assessment-page-hero__copy h2 {
    font-size: clamp(2rem, 3.4vw, 3.5rem);
    line-height: 1.02;
    margin: 0 0 16px;
    max-width: 10ch;
}
.cws-assessment-page-hero__copy p {
    font-size: 1.06rem;
    line-height: 1.75;
    color: #49627a;
    max-width: 62ch;
}
.cws-assessment-page-hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}
.cws-assessment-page-hero__panel {
    padding: 28px;
    background: linear-gradient(160deg, #173a5e, #102a49);
    color: #fff;
}
.cws-assessment-page-hero__panel h3,
.cws-assessment-page-hero__panel .cws-section-heading__eyebrow,
.cws-assessment-page-hero__panel .cws-stat-chip strong,
.cws-assessment-page-hero__panel .cws-assessment-stat-card strong,
.cws-assessment-page-hero__panel .cws-assessment-stat-card span {
    color: #fff;
}
.cws-assessment-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
    margin: 20px 0 22px;
}
.cws-assessment-stat-card {
    padding: 18px 20px;
    border-radius: 22px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.14);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.cws-assessment-stat-card strong {
    font-size: 1.1rem;
    line-height: 1.35;
    word-break: break-word;
}
.cws-assessment-page-hero__ticks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}
.cws-assessment-page-hero__ticks li {
    position: relative;
    padding-left: 28px;
    color: rgba(255,255,255,.92);
    line-height: 1.5;
}
.cws-assessment-page-hero__ticks li::before {
    content: "•";
    position: absolute;
    left: 8px;
    top: -1px;
    color: #84d7ff;
    font-size: 1.2rem;
}
.cws-assessment-value {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 24px;
    margin-bottom: 28px;
}
.cws-assessment-value__intro,
.cws-assessment-focus {
    padding: 28px;
}
.cws-assessment-value__intro h3 {
    margin: 10px 0 14px;
    font-size: clamp(1.7rem, 2.6vw, 2.4rem);
    line-height: 1.08;
    max-width: 16ch;
}
.cws-assessment-value__intro p {
    color: #49627a;
    line-height: 1.75;
}
.cws-assessment-confidentiality {
    margin-top: 22px;
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(40,170,225,.07);
    border: 1px solid rgba(40,170,225,.14);
    display: grid;
    gap: 8px;
}
.cws-assessment-confidentiality strong {
    color: #0f3f67;
}
.cws-focus-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}
.cws-focus-chip {
    display: inline-flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 999px;
    background: #f5fbff;
    border: 1px solid rgba(40,170,225,.18);
    color: #154f7d;
    font-weight: 600;
    font-size: .95rem;
    line-height: 1.3;
}
.cws-assessment-benefits,
.cws-assessment-steps {
    margin-bottom: 28px;
}
.cws-section-heading--stacked {
    margin-bottom: 18px;
}
.cws-section-heading--stacked p {
    color: #587188;
    margin-top: 8px;
}
.cws-assessment-benefit-grid,
.cws-assessment-step-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 18px;
}
.cws-assessment-benefit-grid {
    grid-template-columns: repeat(5, minmax(0,1fr));
}
.cws-benefit-card,
.cws-step-card {
    padding: 24px;
}
.cws-benefit-card h4,
.cws-step-card h4 {
    margin: 0 0 10px;
    font-size: 1.05rem;
    line-height: 1.35;
}
.cws-benefit-card p,
.cws-step-card p {
    margin: 0;
    color: #587188;
    line-height: 1.7;
    font-size: .98rem;
}
.cws-step-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    height: 54px;
    border-radius: 18px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(40,170,225,.14), rgba(40,170,225,.04));
    color: #28aae1;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .08em;
}
.cws-assessment-layout {
    align-items: start;
}
.cws-assessment-sidebar__section,
.cws-panel--assessment-query {
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(40,170,225,.12);
    box-shadow: 0 18px 36px rgba(15,23,42,.05);
}
.cws-assessment-cta {
    margin-top: 28px;
    padding: 28px 32px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    background: linear-gradient(135deg, rgba(40,170,225,.08), rgba(40,170,225,.02));
}
.cws-assessment-cta h3 {
    margin: 8px 0 0;
    font-size: clamp(1.4rem, 2vw, 2rem);
    line-height: 1.2;
    max-width: 26ch;
}
.cws-assessment-cta__contact {
    display: grid;
    gap: 8px;
    text-align: right;
}
.cws-assessment-cta__contact a,
.cws-assessment-cta__contact span {
    font-weight: 700;
    color: #0f3f67;
    text-decoration: none;
}
@media (max-width: 1200px) {
    .cws-assessment-benefit-grid {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }
}
@media (max-width: 980px) {
    .cws-assessment-page-hero,
    .cws-assessment-value,
    .cws-assessment-benefit-grid,
    .cws-assessment-step-grid {
        grid-template-columns: 1fr;
    }
    .cws-assessment-benefit-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
    .cws-assessment-cta {
        flex-direction: column;
        align-items: flex-start;
    }
    .cws-assessment-cta__contact {
        text-align: left;
    }
}
@media (max-width: 640px) {
    .cws-assessment-page-hero__copy,
    .cws-assessment-page-hero__panel,
    .cws-assessment-value__intro,
    .cws-assessment-focus,
    .cws-benefit-card,
    .cws-step-card,
    .cws-assessment-cta {
        border-radius: 22px;
    }
    .cws-assessment-page-hero__copy,
    .cws-assessment-page-hero__panel,
    .cws-assessment-value__intro,
    .cws-assessment-focus,
    .cws-benefit-card,
    .cws-step-card {
        padding: 22px;
    }
    .cws-assessment-benefit-grid,
    .cws-assessment-step-grid,
    .cws-assessment-stat-grid {
        grid-template-columns: 1fr;
    }
}



/* v28 assessment page full width */
.cws-shell .cws-assessment-shell.cws-card--wide.cws-assessment-shell--insight,
.cws-shell .cws-assessment-shell--insight {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.cws-shell:has(.cws-assessment-shell--insight) {
    max-width: none;
    width: 100%;
    padding-left: clamp(18px, 2vw, 32px);
    padding-right: clamp(18px, 2vw, 32px);
}

.cws-assessment-shell--insight .cws-assessment-page-hero__copy h2 {
    max-width: 12ch;
}

@media (min-width: 1400px) {
    .cws-shell:has(.cws-assessment-shell--insight) {
        padding-left: 40px;
        padding-right: 40px;
    }
}



/* v29 dashboard full width */
.cws-shell .cws-dashboard-shell.cws-card--wide,
.cws-shell .cws-dashboard-shell {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.cws-shell:has(.cws-dashboard-shell) {
    max-width: none;
    width: 100%;
    padding-left: clamp(18px, 2vw, 32px);
    padding-right: clamp(18px, 2vw, 32px);
}

@media (min-width: 1400px) {
    .cws-shell:has(.cws-dashboard-shell) {
        padding-left: 40px;
        padding-right: 40px;
    }
}
