/* ==========================================
   ROI Assessment Tool
   Version 0.1
========================================== */

:root{
    --primary:#668087;
    --secondary:#7EAAA9;
    --accent:#ADC46A;
    --background:#F4F7F8;
    --card:#FFFFFF;
    --text:#30434A;
    --muted:#6F8388;
    --border:#DDE5E7;
    --shadow:0 12px 32px rgba(48,67,74,.12);
    --radius:18px;
}

*{
    box-sizing:border-box;
}

body{
    margin:0;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
    background:var(--background);
    color:var(--text);
}

.app-header{
    background:linear-gradient(135deg,var(--primary),#4f6970);
    color:white;
    padding:12px 34px;
    box-shadow:var(--shadow);
}

.app-header-inner{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.brand-block{
    display:flex;
    align-items:center;
    gap:24px;
}

.brand-logo{
    width:360px;
    max-height:120px;
    object-fit:contain;
}

.brand-divider{
    width:1px;
    height:58px;
    background:rgba(255,255,255,.45);
}

.app-header h1{
    font-size:1.55rem;
    font-weight:700;
    margin:0;
}

.app-header p{
    margin:4px 0 0;
    opacity:.85;
}

.save-status{
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:600;
}

.status-dot{
    width:14px;
    height:14px;
    border-radius:50%;
    background:var(--accent);
    display:inline-block;
}

.hero{
    padding:95px 0;
}

.eyebrow{
    display:inline-block;
    color:var(--secondary);
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
    font-size:.8rem;
    margin-bottom:14px;
}

.hero h2{
    font-size:3.4rem;
    line-height:1.05;
    font-weight:800;
    color:var(--text);
    margin-bottom:24px;
}

.hero .lead{
    color:var(--muted);
    font-size:1.25rem;
    max-width:620px;
    margin-bottom:34px;
}

.btn-primary{
    background:var(--primary);
    border-color:var(--primary);
    border-radius:12px;
    padding:14px 30px;
    font-weight:700;
}

.btn-primary:hover,
.btn-primary:focus{
    background:var(--secondary);
    border-color:var(--secondary);
}

.btn-secondary{
    border-radius:12px;
    padding:12px 24px;
    font-weight:600;
}

.preview-card,
.card{
    background:var(--card);
    border:1px solid var(--border);
    border-radius:var(--radius);
    box-shadow:var(--shadow);
}

.preview-card{
    padding:34px;
}

.preview-card h3{
    font-size:1.5rem;
    font-weight:800;
    margin-bottom:10px;
}

.preview-card p{
    color:var(--muted);
    margin-bottom:28px;
}

.preview-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:16px;
}

.preview-grid div{
    background:#F7FAFA;
    border:1px solid var(--border);
    border-radius:14px;
    padding:20px;
}

.preview-grid span{
    display:block;
    color:var(--muted);
    font-size:.9rem;
    margin-bottom:8px;
}

.preview-grid strong{
    font-size:2rem;
    color:var(--primary);
}

.assessment-shell{
    padding:60px 0 90px;
}

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

.section-heading h2{
    font-weight:800;
    margin:0;
}

.progress{
    height:12px;
    background:#E3EAEC;
    border-radius:99px;
    overflow:hidden;
}

.progress-bar{
    background:var(--accent);
}

.card{
    padding:32px !important;
}

.card h3{
    font-weight:800;
    color:var(--text);
}

.form-label{
    font-weight:700;
    color:var(--text);
}

.form-control,
.form-select{
    border-radius:12px;
    border:1px solid var(--border);
    padding:12px 14px;
}

.form-control:focus,
.form-select:focus{
    border-color:var(--secondary);
    box-shadow:0 0 0 .2rem rgba(126,170,169,.22);
}

.invalid-feedback{
    font-weight:600;
}

footer{
    padding:28px 0;
    color:var(--muted);
    text-align:center;
    border-top:1px solid var(--border);
}

footer p{
    margin:0;
}

@media(max-width:768px){
    .app-header-inner,
    .brand-block{
        align-items:flex-start;
        flex-direction:column;
    }

    .brand-divider,
    .save-status{
        display:none;
    }

    .brand-logo{
        width:160px;
    }

    .hero{
        padding:56px 0;
    }

    .hero h2{
        font-size:2.3rem;
    }

    .preview-grid{
        grid-template-columns:1fr;
    }
}
.app-layout{
    display:grid;
    grid-template-columns:260px 1fr 320px;
    gap:28px;
    padding:34px;
}

.sidebar,
.help-panel{
    align-self:start;
}

.sidebar{
    background:var(--card);
    border:1px solid var(--border);
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    padding:26px;
    position:sticky;
    top:24px;
}

.sidebar h2{
    font-size:1.1rem;
    font-weight:800;
    margin-bottom:22px;
}

.section-list{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.section-item{
    padding:13px 14px;
    border-radius:12px;
    font-weight:700;
    color:var(--text);
    background:#F7FAFA;
    border:1px solid var(--border);
}

.section-item.active{
    background:var(--primary);
    color:white;
    border-color:var(--primary);
}

.section-item.muted{
    color:var(--muted);
    opacity:.75;
}

.workspace{
    min-width:0;
}

.workspace .hero{
    padding:34px;
    background:var(--card);
    border:1px solid var(--border);
    border-radius:var(--radius);
    box-shadow:var(--shadow);
}

.workspace .hero h2{
    max-width:760px;
}

.assessment-shell{
    padding:0;
}

.help-panel{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.help-card{
    background:var(--card);
    border:1px solid var(--border);
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    padding:24px;
}

.help-card h3{
    font-size:1rem;
    font-weight:800;
    margin-bottom:10px;
}

.help-card p{
    color:var(--muted);
    margin:0;
}

.consultant-guide{
    width:320px;
    max-height:calc(100vh - 48px);
    overflow:visible;
    background:var(--card);
    border:1px solid var(--border);
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    padding:18px;
    position:sticky;
    top:24px;
    z-index:20;
    transition:
       width .2s ease,
       transform .2s ease,
       box-shadow .2s ease;
}

.consultant-guide-prompt{
    position:absolute;
    top:52px;
    right:calc(100% + 12px);
    width:210px;
    padding:12px 14px;
    background:var(--primary);
    color:white;
    border-radius:12px;
    box-shadow:var(--shadow);
    font-size:.78rem;
    line-height:1.4;
    cursor:default;
}

.consultant-guide-prompt strong,
.consultant-guide-prompt span{
    display:block;
}

.consultant-guide-prompt strong{
    margin-bottom:4px;
}

.consultant-guide-prompt span + span{
    margin-top:6px;
}

.consultant-guide.is-pinned
.consultant-guide-prompt{
    display:none;
}
.consultant-guide:hover,
.consultant-guide:focus-within,
.consultant-guide.is-pinned{
    width:min(1050px, calc(100vw - 240px));
    transform:translateX(calc(320px - 100%));
    box-shadow:0 20px 55px rgba(48,67,74,.25);
}

.consultant-guide-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
}

.consultant-guide-header h3{
    font-size:1rem;
    font-weight:800;
    margin:2px 0 0;
}

.consultant-guide-label{
    color:var(--secondary);
    font-size:.7rem;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.consultant-guide-toggle,
.consultant-guide-navigation button{
    border:1px solid var(--primary);
    border-radius:9px;
    background:white;
    color:var(--primary);
    font-weight:700;
    padding:7px 10px;
}

.consultant-guide-hint{
    color:var(--muted);
    font-size:.78rem;
    margin:10px 0 12px;
}

.consultant-guide-document{
    max-height:calc(100vh - 170px);
    overflow:auto;
    border:1px solid var(--border);
    border-radius:10px;
    background:#eef3f3;
}

.consultant-guide-document canvas{
    display:block;
    width:100%;
    height:auto;
    background:white;
}

.consultant-guide-error{
    color:#b42318;
    padding:16px;
    margin:0;
}

.consultant-guide-navigation{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-top:12px;
    font-size:.8rem;
    font-weight:700;
}

.consultant-guide-navigation[hidden]{
    display:none;
}

@media(max-width:1100px){
    .app-layout{
        grid-template-columns:1fr;
    }

    .sidebar,
    .help-panel{
        position:static;
    }
}
.calculated-panel{
    background:#F7FAFA;
    border:1px solid var(--border);
    border-radius:16px;
    padding:22px;
}

.calculated-panel h4{
    font-size:1rem;
    font-weight:800;
    margin-bottom:16px;
    color:var(--text);
}

.calculated-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:14px;
}
.calculated-grid div:last-child{
    grid-column:1 / -1;
}

.calculated-grid div{
    background:white;
    border:1px solid var(--border);
    border-radius:14px;
    padding:16px;
}

.calculated-grid span{
    display:block;
    color:var(--muted);
    font-size:.85rem;
    margin-bottom:8px;
}

.calculated-grid strong{
    color:var(--primary);
    font-size:1.1rem;
}

@media(max-width:768px){
    .calculated-grid{
        grid-template-columns:1fr;
    }
}
.calculated-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:18px;
}

.calculated-header h4{
    margin:0;
    font-size:1.15rem;
}
.profile-subtitle{
    color:var(--muted);
    margin:6px 0 18px;
    font-size:.9rem;
    line-height:1.4;
}

.value-money{
    color:var(--primary);
    font-size:1.2rem;
    font-weight:700;
}

.value-number{
    color:var(--primary);
    font-size:1.2rem;
    font-weight:700;
}

.value-text{
    color:var(--primary);
    font-size:1.25rem;
    font-weight:700;
}
.assessment-layout{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:28px;
    align-items:start;
}

.assessment-profile{
    position:sticky;
    top:20px;
}

@media(max-width:992px){
    .assessment-layout{
        grid-template-columns:1fr;
    }

    .assessment-profile{
        position:static;
    }
}
.profile-summary{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.summary-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 0;
}

.summary-row span{
    color:var(--muted);
}

.company-size{
    padding:16px 0;
}

.company-size span{
    display:block;
    color:var(--muted);
    margin-bottom:6px;
    font-size:0.95rem;
}

.company-size strong{
    display:block;
    color:var(--primary);
    font-size:2rem;
    font-weight:700;
    line-height:1.2;
}
.form-help{
    font-size:0.85rem;
    color:#7EAAA9;
    margin:-4px 0 8px 0;
    font-style:italic;
}
/* Labels */
.summary-row span,
.company-size span,
.company-summary span {
    display: block;
    color: #212529;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

/* All calculated values */
.summary-row strong,
.company-size strong,
.company-summary strong {
    display: block;
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
}
/* Revenue & Employees values */
.summary-row strong {
    font-size: 1.2rem;
}

/* Organisation Profile value */
.company-summary strong {
    font-size: 1.2rem;
}
.assessment-heading{
    margin-top:2rem;
    padding-bottom:.5rem;
    border-bottom:2px solid var(--primary);
}

.assessment-heading h5{
    margin:0;
    color:var(--primary);
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.08em;
    font-size:.9rem;
}
.section-item.active{
    background: #ffffff;
    color: var(--primary);
    border-color: var(--primary);
    font-weight: 700;
}
.infrastructure-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

.infrastructure-main {
  display: grid;
  gap: 16px;
}

.assessment-card,
.infrastructure-profile {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px;
}

.assessment-card h2,
.infrastructure-profile h2 {
  margin-top: 0;
}

.completion-box {
  margin-top: 20px;
  padding: 16px;
  border-radius: 10px;
  background: #f5f5f5;
  display: flex;
  justify-content: space-between;
}

@media (max-width: 900px) {
  .infrastructure-layout {
    grid-template-columns: 1fr;
  }
}
.completeness-bar {
    width: 100%;
    height: 10px;
    background: #e9ecef;
    border-radius: 999px;
    overflow: hidden;
    margin: 8px 0 6px;
}

.completeness-fill {
    height: 100%;
    background: #0d6efd;
    border-radius: 999px;
    transition: width 0.25s ease;
}

.completeness-detail {
    font-size: 0.85rem;
    color: #6c757d;
}
.assessment-divider {
    height: 4px;
    background: linear-gradient(to right, #0d6efd 0%, #d7dde2 100%);
    border: none;
    margin: 32px 0;
    border-radius: 3px;
}
.section-item {
    cursor: pointer;
}

.section-item:hover {
    background: rgba(13, 110, 253, 0.08);
}
.section-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-status {
    font-size: 0.9rem;
    font-weight: bold;
    color: #9aa4ae;
}
.section-item.section-not-started .section-status {
    color: #9aa4ae;
}

.section-item.section-in-progress .section-status {
    color: #f0ad4e;
}

.section-item.section-complete .section-status {
    color: #198754;
}
.assessment-subheading {
    margin-top: 1.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #d7dde2;
}

.assessment-subheading h5 {
    margin: 0;
    color: #364152;
    font-size: 1rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
}

.section-item.active .section-status {
    color: currentColor;
}
.logo-preview-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-preview {
    display: block;
    max-width: 220px;
    max-height: 100px;
    padding: 10px;
    object-fit: contain;
    background: #ffffff;
    border: 1px solid #d7dde2;
    border-radius: 6px;
}
#progressContainer {
    margin: 15px 0 25px;
}

.progress {
    height: 24px;
    border-radius: 12px;
    background: #e9ecef;
    margin-bottom: 20px;
}

#progressBar {
    font-size: 13px;
    font-weight: 600;
    line-height: 24px;
    text-align: center;
    transition: width .3s ease;
}

#progressFill {
    width: 0%;
    height: 100%;
    background: #0b6efd;
    transition: width 0.3s ease;
}
.page-confirmation {
    margin-top: 2rem;
}

.page-confirmation textarea {
    resize: vertical;
    min-height: 90px;
}
.repeater-field {
    margin-top: 1.5rem;
}

.repeater-heading {
    margin-bottom: 1rem;
}

.repeater-heading h3 {
    margin: 0 0 0.35rem;
}

.repeater-count-field {
    max-width: 360px;
    margin-bottom: 1.25rem;
}

.repeater-items {
    display: grid;
    gap: 1rem;
}

.repeater-item-card {
    padding: 1.25rem;
    border: 1px solid #d7e1e5;
    border-radius: 12px;
    background: #f8fbfc;
}

.repeater-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #d7e1e5;
}

.repeater-item-header h4 {
    margin: 0;
}

.repeater-item-fields {
    display: grid;
    gap: 1rem;
}

.repeater-remove-button {
    appearance: none;
    border: 1px solid #b9c8ce;
    border-radius: 7px;
    padding: 0.45rem 0.75rem;
    background: #ffffff;
    color: #34474f;
    cursor: pointer;
    font: inherit;
}

.repeater-remove-button:hover {
    background: #eef4f6;
}

.repeater-conditional-hidden {
    display: none;
}

.repeater-checkbox {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

@media (min-width: 760px) {
    .repeater-item-fields {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }
}
.dashboard-card {
    min-width: 0;
    overflow: hidden;
}

.dashboard-card .card-body {
    min-width: 0;
    overflow: hidden;
}

.dashboard-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
}

.dashboard-card h6 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.dashboard-card h2 {
    margin-bottom: 0.35rem;
    font-size: clamp(1.35rem, 2.1vw, 2rem);
    font-weight: 700;
    line-height: 1.15;
}

.dashboard-card small {
    display: block;
    color: #6c757d;
}

.dashboard-card-title,
.dashboard-card-value,
.dashboard-card-subtitle {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-card-value {
    font-size: clamp(1.35rem, 2.1vw, 2rem);
    font-weight: 700;
    line-height: 1.15;
}

.dashboard-card-subtitle {
    font-size: 0.875rem;
}
/* =======================================================
   Assessment Results
   ======================================================= */

/* Remove the global card padding for dashboard cards */
.results-dashboard-selector .card,
#results-dashboard .card {
    padding: 0 !important;
}

/* Dashboard cards */
.results-dashboard-selector .dashboard-card {
    min-width: 0;
    min-height: 105px;
    overflow: hidden;

    border: 3px solid #ADC46A;
    border-radius: 16px;

    cursor: pointer;

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        border-color 0.15s ease,
        background-color 0.15s ease;
}

.results-dashboard-selector .dashboard-card:hover {
    transform: translateY(-2px);
}

.results-dashboard-selector .dashboard-card.border-primary {
    border-width: 3px !important;
}

/* Centre all content */
.results-dashboard-selector .dashboard-card .card-body {
    min-width: 0;
    min-height: 105px;
    padding: 0.9rem 1.15rem;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    overflow: hidden;
}

/* Title */
.results-dashboard-selector .dashboard-card-title {
    width: 100%;
    margin-bottom: 0.35rem;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
}

/* Main KPI */
.results-dashboard-selector .dashboard-card-value {
    width: 100%;
    margin-bottom: 0.35rem;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    font-size: clamp(1.45rem, 2vw, 2rem);
    font-weight: 700;
    line-height: 1.05;
}

/* Subtitle */
.results-dashboard-selector .dashboard-card-subtitle {
    width: 100%;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    font-size: 0.8rem;
    line-height: 1.2;
}

/* Dashboard content cards */
#results-dashboard .card-body {
    padding: 1.15rem;
}

#results-dashboard .card h2,
#results-dashboard .card h3 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Spacing before the selected dashboard */
#results-dashboard > hr {
    margin-top: 1.75rem !important;
    margin-bottom: 1.75rem !important;
}

@media (max-width: 767px) {

    .results-dashboard-selector .dashboard-card,
    .results-dashboard-selector .dashboard-card .card-body {
        min-height: 95px;
    }

}
/* =======================================================
   Recovery Results Dashboard
   ======================================================= */

.recovery-dashboard {
    display: grid;
    gap: 1.5rem;
}

.recovery-dashboard-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.recovery-dashboard-eyebrow {
    margin-bottom: 0.25rem;
    color: var(--secondary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.recovery-dashboard-title {
    margin: 0;
    font-size: 1.5rem;
}

.recovery-dashboard-status {
    padding: 0.45rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #f7fafa;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.recovery-hero {
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    background:
        linear-gradient(
            135deg,
            rgba(102, 128, 135, 0.12),
            rgba(173, 196, 106, 0.16)
        );
    text-align: center;
}

.recovery-hero-label {
    margin-bottom: 0.4rem;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.recovery-hero-value {
    color: var(--primary);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1;
}

.recovery-hero-subtitle {
    margin-top: 0.6rem;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 700;
}

.recovery-metrics-grid {
    display: grid;
    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );
    gap: 1rem;
}

.recovery-metric-card {
    min-width: 0;
    padding: 1.35rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--card);
    box-shadow: 0 8px 20px rgba(48, 67, 74, 0.08);
}

.recovery-metric-label {
    margin-bottom: 0.45rem;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 600;
}

.recovery-metric-value {
    overflow: hidden;
    color: var(--primary);
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    font-weight: 800;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recovery-comparison,
.recovery-executive-summary {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #f9fbfb;
}

.recovery-section-title {
    margin: 0 0 1.25rem;
    font-size: 1rem;
    font-weight: 800;
}

.recovery-comparison-row {
    display: grid;
    grid-template-columns:
        100px
        minmax(0, 1fr)
        100px;
    gap: 0.85rem;
    align-items: center;
    margin-bottom: 1rem;
}

.recovery-comparison-row:last-child {
    margin-bottom: 0;
}

.recovery-comparison-label {
    font-size: 0.85rem;
    font-weight: 700;
}

.recovery-comparison-track {
    height: 14px;
    overflow: hidden;
    border-radius: 999px;
    background: #dfe8ea;
}

.recovery-comparison-bar {
    height: 100%;
    border-radius: 999px;
}

.recovery-comparison-bar-traditional {
    background: var(--primary);
}

.recovery-comparison-bar-neushield {
    background: var(--accent);
}

.recovery-comparison-value {
    text-align: right;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
}

.recovery-executive-summary ul {
    display: grid;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.recovery-executive-summary li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--text);
    line-height: 1.45;
}

.recovery-executive-summary li::before {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--accent);
    font-weight: 800;
    content: "✓";
}

@media (max-width: 992px) {
    .recovery-metrics-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }
}

@media (max-width: 640px) {
    .recovery-dashboard-header {
        flex-direction: column;
    }

    .recovery-metrics-grid {
        grid-template-columns: 1fr;
    }

    .recovery-comparison-row {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }

    .recovery-comparison-value {
        text-align: left;
    }
}
.dashboard-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    min-height: 105px;
    padding: 1rem;
}
.assessment-side-card {
    background: #ffffff;
    border: 1px solid #d9e1e3;
    border-radius: 16px;
    padding: 18px;
    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.05);
}

.assessment-side-card + .assessment-side-card {
    margin-top: 16px;
}

.assessment-side-card-title {
    font-weight: 700;
    color: #30474d;
    margin-bottom: 8px;
}

.assessment-side-card-text {
    font-size: 0.92rem;
    line-height: 1.45;
    color: #607177;
}

.executive-summary-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.executive-summary-actions .btn {

    width: 100%;

}

/* ==========================================
   Radio Button Visibility
   ========================================== */

input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: #2f7df6;
    cursor: pointer;
}

input[type="radio"]:not(:checked) {
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid #607d86;
    border-radius: 50%;
    background: #ffffff;
}

input[type="radio"]:checked {
    cursor: pointer;
}

input[type="radio"]:focus-visible {
    outline: 2px solid #607d86;
    outline-offset: 2px;
}

/* ==========================================
   Executive Summary - ROI Details Title Page
   ========================================== */

.exec-section-title-page {

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    min-height: 900px;

}

.exec-section-title-content {

    margin: auto 0;

    padding: 80px 50px;

}

.exec-section-super-title {

    margin: 0 0 18px;

    font-size: 3.8rem;

    line-height: 1.05;

    font-weight: 800;

    letter-spacing: -0.03em;

    color: #29484e;

}

.exec-section-title-content h1 {

    margin: 0 0 18px;

    font-size: 2.2rem;

    font-weight: 700;

    color: #62767b;

}

.exec-section-title-content > p {

    max-width: 680px;

    margin: 0 0 30px;

    font-size: 1.15rem;

    line-height: 1.6;

    color: #62767b;

}

.exec-section-title-rule {

    width: 90px;

    height: 4px;

    margin: 30px 0;

    background: #315058;

    border-radius: 2px;

}

.exec-section-title-list {

    display: flex;

    flex-direction: column;

    gap: 10px;

}

.exec-section-title-list span {

    font-size: 1rem;

    font-weight: 700;

    color: #526b71;

}

/* ==========================================
   Executive Summary Page Navigation
   ========================================== */

.exec-page-navigation [data-exec-page].active {

    background-color: #29484e;

    border-color: #29484e;

    color: #ffffff;

}

.exec-page-navigation [data-exec-page].active:hover {

    background-color: #29484e;

    border-color: #29484e;

    color: #ffffff;

}

/* ==========================================
   Executive Report - Long Metric Values
   ========================================== */

/*
 * Executive Value
 * Helps long currency values remain on one line.
 */
#execReportPage2 .exec-metric-value {
    font-size: 1.75rem;
}


/*
 * Infrastructure & Primary Storage
 * e.g. 2,943.62 TB
 */
#execReportPage9 .exec-metric-value {
    font-size: 1.6rem;
}


/*
 * Backup Repository & Recovery
 * e.g. 20,799.01 TB / 17,577.03 TB
 */
#execReportPage10 .exec-metric-value {
    font-size: 1.5rem;
}


/*
 * Technology / Commercial
 * Allows longer investment values more room.
 */
#execReportPage11 .exec-metric-value {
    font-size: 1.65rem;
}

/* ==========================================
   User Access
   ========================================== */

.access-screen {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.access-card {
    width: 100%;
    max-width: 440px;
    padding: 32px;
    background: #ffffff;
    border: 1px solid #d9e2e5;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.access-card h2 {
    margin-top: 8px;
    margin-bottom: 8px;
}

.access-card .lead {
    margin-bottom: 28px;
}

/* ==========================================
   Assessment Library
   ========================================== */

.assessment-library {
    width: 100%;
}

.assessment-library-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 28px;
}

.assessment-library-header h2 {
    margin-top: 6px;
    margin-bottom: 8px;
}

.assessment-library-user {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.assessment-library-user span {
    color: #708388;
    font-size: 0.9rem;
}

.assessment-library-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 22px;
}

.assessment-library-empty {
    padding: 42px 24px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #d9e2e5;
    border-radius: 14px;
}

.assessment-library-empty h3 {
    margin-bottom: 8px;
}

.assessment-library-empty p {
    margin: 0;
    color: #708388;
}

.assessment-library-list {
    display: grid;
    gap: 12px;
}

.assessment-library-item {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        auto;
    align-items: center;
    gap: 20px;
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid #d9e2e5;
    border-radius: 12px;
}

.assessment-library-item h3 {
    margin: 0 0 4px;
    font-size: 1.05rem;
}

.assessment-library-item-meta {
    color: #708388;
    font-size: 0.85rem;
}

.assessment-library-item-actions {
    display: flex;
    gap: 8px;
}

/* ==========================================
   Back to My Assessments
   ========================================== */

#backToAssessmentsBtn {
    background: #6f8e96;
    border-color: #6f8e96;
    color: #ffffff;
    font-weight: 700;
    padding: 8px 14px;
}

#backToAssessmentsBtn:hover {
    background: #5f7d85;
    border-color: #5f7d85;
    color: #ffffff;
}

#backToAssessmentsBtn:focus {
    background: #5f7d85;
    border-color: #5f7d85;
    color: #ffffff;
}

/* ==========================================================
   Welcome / Consultant Access
   ========================================================== */

.welcome-screen {
    padding: 48px 32px 64px;
    background:
        linear-gradient(
            135deg,
            #f6fafb 0%,
            #ffffff 55%,
            #f4f8f9 100%
        );
}

.welcome-shell {
    width: min(1180px, 100%);
    margin: 0 auto;

    display: grid;
    grid-template-columns:
        minmax(0, 1.45fr)
        minmax(340px, 0.75fr);

    gap: 64px;
    align-items: center;
}

.welcome-intro {
    max-width: 720px;
}

.welcome-title {
    margin:
        10px
        0
        18px;

    font-size:
        clamp(
            2.2rem,
            4vw,
            3.65rem
        );

    line-height: 1.06;
    letter-spacing: -0.035em;

    color: #21373d;
}

.welcome-lead {
    max-width: 680px;

    margin-bottom: 16px;

    font-size: 1.25rem;
    line-height: 1.55;

    color: #40575d;
}

.welcome-description {
    max-width: 680px;

    margin-bottom: 34px;

    font-size: 1rem;
    line-height: 1.7;

    color: #667b80;
}

.welcome-coverage {
    display: grid;
    gap: 18px;

    margin-bottom: 36px;
}

.welcome-coverage-item {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 16px;
    align-items: start;
}

.welcome-coverage-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border-radius: 12px;

    background: #e7f4f3;

    font-size: 0.78rem;
    font-weight: 700;

    color: #187b78;
}

.welcome-coverage-item strong {
    display: block;

    margin-bottom: 3px;

    font-size: 1rem;

    color: #263f45;
}

.welcome-coverage-item span:not(
    .welcome-coverage-icon
) {
    display: block;

    font-size: 0.93rem;
    line-height: 1.5;

    color: #71858a;
}

.welcome-mode-summary {
    padding-top: 24px;

    border-top:
        1px solid
        #dce6e8;
}

.welcome-mode-heading {
    margin-bottom: 14px;

    font-size: 0.82rem;
    font-weight: 700;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    color: #567076;
}

.welcome-mode-grid {
    display: grid;
    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 12px;
}

.welcome-mode {
    padding: 16px;

    border:
        1px solid
        #dfe9eb;

    border-radius: 12px;

    background:
        rgba(
            255,
            255,
            255,
            0.72
        );
}

.welcome-mode strong {
    display: block;

    margin-bottom: 6px;

    font-size: 0.9rem;

    color: #29454b;
}

.welcome-mode span {
    display: block;

    font-size: 0.82rem;
    line-height: 1.45;

    color: #73878c;
}

/* ==========================================================
   Welcome Login
   ========================================================== */

.welcome-login-panel {
    width: 100%;
}

.welcome-login-card {
    padding: 36px;

    border:
        1px solid
        #dce7e9;

    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 20px 55px
        rgba(
            34,
            58,
            64,
            0.10
        );
}

.welcome-login-heading {
    margin-bottom: 28px;
}

.welcome-login-heading h3 {
    margin:
        8px
        0
        8px;

    font-size: 1.75rem;

    color: #243d43;
}

.welcome-login-heading p {
    margin: 0;

    font-size: 0.95rem;
    line-height: 1.55;

    color: #74878c;
}

.welcome-login-card
.form-label {
    font-size: 0.88rem;
    font-weight: 600;

    color: #425d63;
}

.welcome-login-card
.form-control {
    min-height: 48px;

    border-color: #cfdddf;
    border-radius: 10px;
}

.welcome-login-card
.form-control:focus {
    border-color: #4a9d99;

    box-shadow:
        0 0 0 0.2rem
        rgba(
            74,
            157,
            153,
            0.14
        );
}

.welcome-login-button {
    width: 100%;

    min-height: 48px;

    margin-top: 4px;

    border-radius: 10px;

    font-weight: 600;
}

.welcome-login-error {
    margin-bottom: 16px;

    padding: 10px 12px;

    border-radius: 8px;

    background: #fff2f2;

    font-size: 0.88rem;

    color: #a33d3d;
}

.welcome-login-footer {
    margin-top: 18px;

    font-size: 0.76rem;
    line-height: 1.45;
    text-align: center;

    color: #91a0a4;
}

/* ==========================================================
   Welcome Responsive
   ========================================================== */

@media (
    max-width: 960px
) {

    .welcome-shell {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .welcome-intro {
        max-width: none;
    }

    .welcome-login-panel {
        max-width: 560px;
    }
}

@media (
    max-width: 680px
) {

    .welcome-screen {
        padding:
            32px
            18px
            48px;
    }

    .welcome-mode-grid {
        grid-template-columns: 1fr;
    }

    .welcome-login-card {
        padding: 26px 22px;
    }
}