* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f6f8;
    color: #1f2933;
    line-height: 1.6;
}

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

.site-header {
    background: #0f172a;
    color: #ffffff;
    padding: 16px 0;
    border-bottom: 3px solid #2563eb;
}

.header-inner {
    display: flex;
    justify-content: flex-start;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.brand {
    margin: 0;
    font-size: 24px;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
}

.site-subtitle {
    margin: 4px 0 0;
    color: #dbeafe;
}

.main-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    padding: 7px 9px;
    border-radius: 6px;
}

.main-nav a:hover {
    background: #1e293b;
}

.page-content {
    padding: 28px 0 50px;
}

.hero-card,
.info-card,
.form-card,
.report-card,
.card,
.content-section,
.info-box,
.review-block,
.question-card {
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 22px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.hero-card h2 {
    margin-top: 0;
    font-size: 30px;
    color: #0f172a;
}

.app-hero {
    display: grid;
    grid-template-columns: 1fr minmax(120px, 190px);
    gap: 24px;
    align-items: center;
}

.hero-copy {
    min-width: 0;
}

.app-hero-image {
    width: min(190px, 100%);
    aspect-ratio: 1;
    border-radius: 22px;
    object-fit: cover;
    justify-self: end;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}

.info-card h2,
.info-card h3,
.form-card h2,
.report-card h2,
.card h2,
.content-section h2 {
    margin-top: 0;
    color: #0f172a;
}

.grid {
    display: grid;
    gap: 22px;
}

.two-column-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid,
.info-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-header {
    margin: 28px 0 20px;
}

.page-header h1 {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 32px;
}

.page-header p {
    margin: 0;
    color: #52616b;
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 0 20px;
}

.button-row {
    display: flex;
    gap: 14px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.button,
button,
input[type="submit"] {
    display: inline-block;
    border: none;
    border-radius: 6px;
    padding: 11px 16px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    font-size: 15px;
}

.primary-button {
    background: #2563eb;
    color: #ffffff;
}

.secondary-button {
    background: #e0e7ff;
    color: #1e3a8a;
}

.button,
button,
input[type="submit"] {
    background: #2563eb;
    color: #ffffff;
}

.button.secondary,
button.secondary,
.button.secondary-button {
    background: #e0e7ff;
    color: #1e3a8a;
}

.button.small {
    padding: 8px 11px;
    font-size: 13px;
}

.welcome-access-link {
    color: #ffffff;
}

.welcome-employer-registration {
    background: #2563eb;
}

.welcome-employer-access {
    background: #0891b2;
}

.welcome-candidate-access {
    background: #16a34a;
}

.welcome-admin-access {
    background: #7c3aed;
}

.button:hover,
button:hover,
input[type="submit"]:hover {
    opacity: 0.9;
}

form {
    display: grid;
    gap: 16px;
}

.form-row {
    display: grid;
    gap: 6px;
}

label {
    font-weight: bold;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #bcccdc;
    border-radius: 6px;
    padding: 10px;
    font-size: 15px;
    font-family: inherit;
}

textarea {
    min-height: 130px;
    resize: vertical;
}

.help-text {
    color: #52616b;
    font-size: 14px;
}

.supporting-action {
    color: #52616b;
    margin: 14px 0 0;
}

.supporting-action a {
    color: #1e3a8a;
    font-weight: bold;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: #2563eb;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
}

.journey-card {
    border-top: 4px solid #2563eb;
}

.journey-list,
.summary-list {
    display: grid;
    gap: 10px;
    padding-left: 18px;
}

.step-list {
    display: grid;
    gap: 10px;
    padding-left: 22px;
    margin-bottom: 0;
}

.status-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.status-pill {
    display: inline-block;
    background: #ecfdf5;
    border: 1px solid #86efac;
    color: #166534;
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 13px;
    font-weight: bold;
}

.status-pill.status-live {
    background: #ecfdf5;
    border-color: #86efac;
    color: #166534;
}

.status-pill.status-off {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #475569;
}

.search-form {
    display: grid;
    gap: 12px;
}

.role-level-badge {
    display: inline-block;
    border-radius: 999px;
    margin-top: 6px;
    padding: 4px 9px;
    font-size: 12px;
    font-weight: bold;
}

.role-level-entry {
    background: #dbeafe;
    color: #1e3a8a;
}

.role-level-operative {
    background: #dcfce7;
    color: #166534;
}

.role-level-supervisor {
    background: #ccfbf1;
    color: #115e59;
}

.role-level-manager {
    background: #fef3c7;
    color: #92400e;
}

.role-level-director {
    background: #ede9fe;
    color: #4c1d95;
}

.completed-reports-table td {
    min-width: 130px;
}

.report-action-list {
    display: grid;
    gap: 6px;
}

.report-action-list a {
    width: max-content;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.upload-panel {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    background: #ffffff;
    border: 2px solid #bfdbfe;
    border-left: 6px solid #2563eb;
    border-radius: 8px;
    padding: 22px;
    margin-bottom: 22px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.login-panel {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    align-items: center;
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-top: 4px solid #2563eb;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 22px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.login-panel h2 {
    margin: 0 0 6px;
    color: #0f172a;
}

.login-panel p {
    margin: 0;
    color: #52616b;
}

.login-form {
    min-width: min(360px, 100%);
}

.upload-panel h2 {
    margin: 0 0 6px;
    color: #0f172a;
}

.upload-panel p {
    margin: 0;
    color: #52616b;
}

.document-upload-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.document-upload-card {
    display: grid;
    gap: 10px;
    align-content: center;
    min-height: 120px;
    background: #f8fafc;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    padding: 18px;
}

.file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.document-upload-button {
    width: 100%;
    text-align: center;
}

.selected-file {
    color: #52616b;
    font-size: 14px;
    overflow-wrap: anywhere;
    text-align: center;
}

.guidance-note {
    background: #eff6ff;
    border-left: 4px solid #2563eb;
    border-radius: 8px;
    color: #1e3a8a;
    margin: 14px 0;
    padding: 12px;
}

.story-guidance {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-left: 5px solid #f97316;
    border-radius: 8px;
    padding: 22px;
    margin-bottom: 22px;
}

.privacy-notice {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 5px solid #16a34a;
    border-radius: 8px;
    padding: 22px;
    margin-bottom: 22px;
}

.story-guidance h2,
.privacy-notice h2 {
    margin: 0 0 8px;
    color: #0f172a;
}

.story-guidance p,
.privacy-notice p {
    margin: 0;
}

.story-question-card {
    border-left: 5px solid #f97316;
}

.question-group {
    display: grid;
    gap: 16px;
    margin-bottom: 26px;
}

.question-group-header {
    background: #f8fafc;
    border: 1px solid #d9e2ec;
    border-left: 5px solid #2563eb;
    border-radius: 8px;
    padding: 16px;
}

.question-group-header p {
    margin: 0;
    color: #52616b;
}

.secondary-access-panel details {
    margin-top: 12px;
}

.secondary-access-panel summary {
    cursor: pointer;
    color: #1e3a8a;
    font-weight: bold;
}

.compact-login-form {
    margin-top: 16px;
    max-width: 420px;
}

.story-step {
    display: inline-block;
    margin-bottom: 8px;
    color: #9a3412;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
}

.journey-panel {
    border-top: 4px solid #2563eb;
}

.journey-steps {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 18px;
}

.journey-step {
    background: #f8fafc;
    border: 1px solid #d9e2ec;
    border-radius: 10px;
    padding: 14px;
}

.journey-step h3 {
    margin: 8px 0 4px;
    color: #0f172a;
    font-size: 16px;
}

.journey-step p {
    margin: 0;
    color: #52616b;
    font-size: 14px;
}

.journey-step.complete {
    border-color: #86efac;
    background: #ecfdf5;
}

.journey-step.current {
    border-color: #93c5fd;
}

.step-number {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    background: #2563eb;
    color: #ffffff;
    border-radius: 999px;
    font-weight: bold;
}

.workflow-strip {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 22px;
}

.workflow-step {
    display: grid;
    gap: 6px;
    align-content: start;
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-top: 4px solid #2563eb;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.workflow-step strong {
    color: #0f172a;
}

.workflow-step span:last-child {
    color: #52616b;
    font-size: 14px;
}

.section-heading-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.section-heading-row h2,
.section-heading-row p {
    margin-bottom: 0;
}

.management-panel .section-heading-row {
    margin-bottom: 16px;
}

.management-panel .section-heading-row p {
    color: #52616b;
}

.management-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.management-link {
    display: grid;
    gap: 4px;
    min-height: 96px;
    align-content: start;
    background: #f8fafc;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    padding: 14px;
    color: #1f2933;
    text-decoration: none;
}

.management-link:hover {
    border-color: #93c5fd;
    background: #eff6ff;
}

.management-link strong {
    color: #0f172a;
}

.management-link span {
    color: #52616b;
    font-size: 14px;
    line-height: 1.4;
}

.grouped-list {
    display: grid;
    gap: 24px;
}

.group-block {
    display: grid;
    gap: 14px;
}

.group-block h3 {
    margin: 0;
    border-bottom: 1px solid #d9e2ec;
    color: #0f172a;
    font-size: 20px;
    padding-bottom: 8px;
}

.role-group {
    display: grid;
    gap: 10px;
}

.role-group h4 {
    margin: 0;
    color: #334155;
    font-size: 16px;
}

.access-detail-panel {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 5px solid #2563eb;
    border-radius: 8px;
    margin-top: 16px;
    padding: 16px;
}

.access-status-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.access-detail-list {
    margin-bottom: 12px;
}

.access-detail-list code {
    overflow-wrap: anywhere;
}

.mini-detail-list {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 6px 10px;
    margin: 8px 0 10px;
}

.mini-detail-list dt {
    color: #0f172a;
    font-weight: bold;
}

.mini-detail-list dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.form-section {
    display: grid;
    gap: 16px;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    padding: 20px;
    background: #ffffff;
}

.form-section-heading {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 12px;
}

.form-section-heading h2 {
    margin: 0 0 4px;
    color: #0f172a;
}

.form-section-heading p {
    margin: 0;
    color: #52616b;
}

.checkbox-card-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.checkbox-card {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 10px;
    align-items: start;
    background: #f8fafc;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    padding: 12px;
    font-weight: bold;
}

.checkbox-card input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
}

.detail-list {
    display: grid;
    grid-template-columns: minmax(160px, 240px) 1fr;
    gap: 10px 18px;
}

.detail-list dt {
    font-weight: bold;
    color: #0f172a;
}

.detail-list dd {
    margin: 0;
    min-width: 0;
    overflow-wrap: anywhere;
}

.status-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 1fr));
    align-items: stretch;
}

.status-card-grid .card {
    min-width: 0;
}

.status-card-grid .detail-list {
    grid-template-columns: minmax(120px, 165px) minmax(0, 1fr);
}

.system-status-table-card {
    overflow-x: auto;
}

.system-status-table-card table {
    table-layout: fixed;
}

.system-status-table-card th:nth-child(1),
.system-status-table-card td:nth-child(1) {
    width: 28%;
}

.system-status-table-card th:nth-child(2),
.system-status-table-card td:nth-child(2) {
    width: 96px;
}

.system-status-table-card td {
    overflow-wrap: anywhere;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    border-bottom: 1px solid #d9e2ec;
    padding: 10px;
    text-align: left;
    vertical-align: top;
}

th {
    background: #f8fafc;
    color: #0f172a;
}

.report-section {
    border-bottom: 1px solid #d9e2ec;
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.report-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.report-preview {
    white-space: pre-wrap;
    background: #0f172a;
    color: #e5e7eb;
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
}

.report-workspace-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}

.report-status-panel {
    min-width: 190px;
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-left: 5px solid #16a34a;
    border-radius: 8px;
    padding: 14px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.report-status-panel strong,
.report-status-panel span {
    display: block;
}

.report-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.report-tab {
    background: #e2e8f0;
    color: #0f172a;
}

.report-tab.active {
    background: #2563eb;
    color: #ffffff;
}

.report-panel {
    display: none;
}

.report-panel.active {
    display: block;
}

.report-toolbar,
.action-checklist {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    padding: 22px;
    margin-bottom: 22px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.report-toolbar h2,
.action-checklist h2 {
    margin: 0 0 6px;
    color: #0f172a;
}

.report-toolbar p {
    margin: 0;
    color: #52616b;
}

.metric-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-bottom: 22px;
}

.metric-card {
    min-height: 92px;
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-top: 4px solid #2563eb;
    border-radius: 8px;
    padding: 14px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.metric-card span {
    display: block;
    color: #52616b;
    font-size: 13px;
    font-weight: bold;
}

.metric-card strong {
    display: block;
    margin-top: 8px;
    color: #0f172a;
    font-size: 18px;
    line-height: 1.25;
}

.report-priority-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 22px;
}

.report-insight-card {
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-left: 5px solid #2563eb;
    border-radius: 8px;
    padding: 18px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.report-insight-card h3 {
    margin: 0 0 8px;
    color: #0f172a;
}

.report-insight-card p,
.report-insight-card ul {
    margin-bottom: 0;
}

.checklist-items {
    display: grid;
    gap: 10px;
    min-width: min(560px, 100%);
}

.checklist-item {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 10px;
    align-items: flex-start;
    background: #f8fafc;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    padding: 12px;
    font-weight: normal;
}

.checklist-item input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
}

.checklist-item strong {
    display: block;
    color: #0f172a;
}

.report-accordion {
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    padding: 22px;
    margin-bottom: 22px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.report-accordion h2 {
    margin-top: 0;
}

.report-accordion details {
    border-top: 1px solid #d9e2ec;
    padding: 12px 0;
}

.report-accordion summary {
    cursor: pointer;
    color: #0f172a;
    font-weight: bold;
}

.report-detail-body {
    padding-top: 10px;
}

.flash-messages {
    margin-bottom: 20px;
}

.flash-message {
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 10px;
    background: #e0f2fe;
    border: 1px solid #7dd3fc;
    color: #075985;
}

.warning-box {
    background: #fff7ed;
    border: 1px solid #fdba74;
    color: #9a3412;
    padding: 14px;
    border-radius: 8px;
}

.success-box {
    background: #ecfdf5;
    border: 1px solid #86efac;
    color: #166534;
    padding: 14px;
    border-radius: 8px;
}

.compliance-notice {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-left: 5px solid #475569;
    border-radius: 8px;
    color: #334155;
    margin: 0 0 22px;
    padding: 14px;
}

.compliance-notice p {
    margin: 0;
}

.evidence-list {
    display: grid;
    gap: 12px;
    padding-left: 0;
    list-style: none;
}

.evidence-list li {
    background: #f8fafc;
    border-left: 4px solid #2563eb;
    padding: 12px;
    border-radius: 8px;
}

.site-footer {
    background: #0f172a;
    color: #dbeafe;
    padding: 18px 0;
    text-align: center;
}

.site-footer p {
    margin: 0;
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 24px, 1100px);
    }

    .page-content {
        padding: 18px 0 36px;
    }

    .hero-card,
    .info-card,
    .form-card,
    .report-card,
    .card,
    .content-section,
    .info-box,
    .review-block,
    .question-card,
    .story-guidance,
    .privacy-notice,
    .login-panel,
    .report-toolbar,
    .action-checklist,
    .report-accordion {
        padding: 16px;
    }

    .page-header h1 {
        font-size: 26px;
        line-height: 1.2;
    }

    .hero-card h2 {
        font-size: 26px;
        line-height: 1.2;
    }

    .two-column-grid,
    .card-grid,
    .info-grid,
    .app-hero,
    .management-grid,
    .document-upload-grid,
    .journey-steps,
    .workflow-strip,
    .detail-list,
    .metric-grid,
    .report-priority-grid,
    .checkbox-card-grid {
        grid-template-columns: 1fr;
    }

    .upload-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .login-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .report-workspace-header,
    .report-toolbar,
    .action-checklist,
    .section-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .main-nav {
        width: 100%;
    }

    .main-nav a {
        padding: 8px 6px;
    }

    .button-row {
        gap: 10px;
    }

    .button-row .button,
    .button-row button,
    .login-form button {
        width: 100%;
        text-align: center;
    }

    textarea {
        min-height: 180px;
    }

    table {
        min-width: 620px;
    }

    .card,
    .content-section,
    .report-card {
        overflow-x: auto;
    }

    .report-status-panel,
    .checklist-items {
        width: 100%;
        min-width: 0;
    }

    .report-tab {
        flex: 1 1 140px;
    }

    .metric-card {
        min-height: auto;
    }
}

/* Cleanup pass: clearer forms, code rows and admin panels */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-control {
    width: 100%;
}

.textarea-large {
    min-height: 160px;
}

.due-diligence-notes {
    min-height: 96px;
}

.page-back-row {
    margin-top: 24px;
}

.invite-list {
    display: grid;
    gap: 12px;
    padding-left: 0;
    list-style: none;
}

.invite-message {
    min-height: 210px;
    margin-top: 10px;
    white-space: pre-wrap;
}

.compact-invite-message {
    min-height: 150px;
    margin: 10px 0;
    font-size: 0.92rem;
}

.question-text {
    font-size: 1.05rem;
    line-height: 1.6;
}

.danger-zone {
    border-color: #fdba74;
    background: #fff7ed;
}

small {
    color: #64748b;
}

@media (max-width: 760px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}


/* Guided candidate evidence journey */
.candidate-journey-header {
    max-width: 850px;
}

.candidate-journey-header p {
    max-width: 720px;
    font-size: 1.05rem;
}

.guided-question-form {
    max-width: 900px;
    margin-inline: auto;
}

.guided-progress {
    margin-bottom: 1.5rem;
    padding: 1rem 1.1rem;
    border: 1px solid #d8e2e8;
    border-radius: 14px;
    background: #f7fafb;
}

.guided-progress-copy {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.65rem;
}

.guided-progress-copy span {
    color: #52636d;
    text-align: right;
}

.guided-progress-track {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #dce7eb;
}

.guided-progress-track span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: #237a68;
    transition: width 180ms ease;
}

.guided-status {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.guided-question-card {
    border-left: 5px solid #237a68;
}

.evidence-helper {
    margin: 1.25rem 0;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: #f2f7f5;
}

.evidence-helper summary {
    cursor: pointer;
    font-weight: 700;
    color: #1d6154;
}

.evidence-helper-body {
    padding-top: 0.75rem;
}

.evidence-helper-body ol {
    margin-bottom: 0.65rem;
}

.guided-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
}

.guided-submit-panel {
    margin-top: 1.25rem;
}

.guided-question-form.is-guided
.question-group-header {
    margin-bottom: 1rem;
}

@media (max-width: 640px) {
    .guided-progress-copy {
        display: block;
    }

    .guided-progress-copy span {
        display: block;
        margin-top: 0.25rem;
        text-align: left;
    }

    .guided-navigation {
        align-items: stretch;
    }

    .guided-navigation .button {
        flex: 1;
    }
}


/* Candidate reflection coach */
.candidate-coach {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #d8e2e8;
}

.candidate-coach-button {
    margin-bottom: 0.5rem;
}

.candidate-coach-explanation {
    margin: 0;
    max-width: 680px;
    color: #52636d;
    font-size: 0.92rem;
}

.candidate-coach-response {
    margin-top: 1rem;
    padding: 1rem;
    border-left: 4px solid #237a68;
    border-radius: 10px;
    background: #edf7f4;
}

.candidate-coach-response p:last-child {
    margin-bottom: 0;
}

.candidate-coach-reflection {
    margin-top: 0;
}
