/* Engineering Efficiency Radar - Light */
.eer-light-card {
    background: linear-gradient(135deg, #002b5c 0%, #0255a3 54%, #0d7fc2 100%);
    color: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.35);
    box-shadow: 0 8px 18px rgba(0,0,0,0.28);
    padding: 24px;
    text-align: left;
    overflow: hidden;
    position: relative;
}
.eer-light-card:after {
    content: "";
    position: absolute;
    right: -70px;
    top: -80px;
    width: 220px;
    height: 220px;
    border: 24px solid rgba(255,255,255,0.12);
    border-radius: 50%;
}
.eer-light-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    font-weight: bold;
    opacity: 0.92;
}
.eer-light-card h2 {
    margin: 8px 0 8px;
    font-size: 1.8rem;
    line-height: 1.15;
}
.eer-light-card p {
    max-width: 680px;
    line-height: 1.45;
    margin: 0 0 18px;
}
.eer-light-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.eer-light-button,
.eer-light-secondary-button {
    display: inline-block;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: bold;
    border: 1px solid #ffffff;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.eer-light-button {
    background: #ffffff;
    color: #002b5c;
}
.eer-light-secondary-button {
    background: rgba(255,255,255,0.08);
    color: #ffffff;
}
.eer-light-button:hover,
.eer-light-secondary-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.24);
}
.eer-light-pill {
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.55);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.86rem;
    margin-right: 6px;
    margin-top: 8px;
}
.eer-light-page {
    min-height: 100vh;
    background: #f4f8fc;
    color: #1a1a1a;
    font-family: sans-serif;
}
.eer-light-page-header {
    background: #002b5c;
    color: #ffffff;
    padding: 10px 20px;
    text-align: center;
}
.eer-light-page-header a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}
.eer-light-page-main {
    max-width: 980px;
    margin: 0 auto;
    padding: 28px 18px 48px;
}
.eer-light-page-hero {
    background: #ffffff;
    border: 1px solid #d8e4ef;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
    padding: 24px;
    margin-bottom: 18px;
}
.eer-light-page-hero h1 {
    color: #002b5c;
    margin: 0 0 8px;
    font-size: 2rem;
}
.eer-light-page-hero p {
    line-height: 1.5;
    margin: 8px 0;
}
.eer-light-panel {
    margin-top: 18px;
    text-align: left;
    background: #ffffff;
    color: #1a1a1a;
    border: 1px solid #d8e4ef;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.16);
    padding: 18px;
}
.eer-light-hidden {
    display: none;
}
.eer-light-status {
    padding: 12px;
    border-radius: 8px;
    margin: 12px 0 14px;
    background: #eef6fc;
    color: #002b5c;
}
.eer-light-dimension {
    border: 1px solid #d8e4ef;
    border-radius: 10px;
    margin-top: 12px;
    overflow: hidden;
    background: #ffffff;
}
.eer-light-dimension summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 13px 15px;
    background: #eef3f8;
    color: #002b5c;
    font-weight: bold;
}
.eer-light-dimension summary::-webkit-details-marker {
    display: none;
}
.eer-light-dimension summary:before {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-right: 2px;
    border: 1px solid #8daeca;
    border-radius: 50%;
    background: #ffffff;
    flex: 0 0 auto;
}
.eer-light-dimension[open] summary:before {
    content: "-";
}
.eer-light-dimension summary span:first-child {
    flex: 1;
}
.eer-light-dimension-count {
    font-size: 0.85rem;
    font-weight: normal;
    color: #335f86;
    white-space: nowrap;
}

.eer-light-dimension-disabled {
    background: #f1f3f5;
    border-color: #d6dce2;
    color: #7a8793;
    opacity: 0.78;
}
.eer-light-disabled-summary {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 13px 15px;
    background: #e7ebef;
    color: #6c7884;
    font-weight: bold;
    cursor: not-allowed;
}
.eer-light-disabled-summary:before {
    content: "–";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-right: 2px;
    border: 1px solid #c3ccd5;
    border-radius: 50%;
    background: #f7f8f9;
    color: #8a96a1;
    flex: 0 0 auto;
}
.eer-light-disabled-summary span:first-child {
    flex: 1;
}
.eer-light-dimension-disabled .eer-light-dimension-count {
    color: #7a8793;
}
.eer-light-disabled-note {
    margin: 0;
    padding: 0 15px 13px 53px;
    color: #7a8793;
    font-size: 0.92rem;
    background: #f1f3f5;
}
.eer-light-dimension-body {
    padding: 10px 12px 10px;
}
.eer-light-question {
    border-top: 1px solid #e5eaf0;
    padding: 10px 0;
}
.eer-light-question:first-child {
    border-top: 0;
}
.eer-light-question:first-child.eer-light-question-missing {
    margin-top: 0;
}
.eer-light-question-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(210px, 280px);
    gap: 14px;
    align-items: center;
}
.eer-light-question-title {
    font-weight: bold;
    color: #002b5c;
    line-height: 1.35;
}
.eer-light-score-select {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #b7c8d9;
    border-radius: 8px;
    padding: 9px 10px;
    background: #ffffff;
    color: #1a1a1a;
}
.eer-light-question-missing {
    background: #fff6e8;
    border-radius: 10px;
    padding: 10px;
    margin: 6px 0;
    outline: 2px solid #d97b00;
    outline-offset: -2px;
    box-shadow: inset 0 0 0 2px #d97b00;
}
.eer-light-question-missing .eer-light-score-select {
    border-color: #d97b00;
    box-shadow: 0 0 0 2px rgba(217,123,0,0.18);
}
.eer-light-result-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr);
    gap: 20px;
    align-items: start;
}
.eer-light-radar-wrap {
    text-align: center;
}
#eerLightRadarCanvas {
    max-width: 100%;
    height: auto;
}
.eer-light-score-badge {
    display: inline-block;
    background: #0255a3;
    color: #ffffff;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 1.3rem;
    font-weight: bold;
    margin: 8px 0 16px;
}
.eer-light-score-row {
    display: grid;
    grid-template-columns: 145px 1fr 46px;
    gap: 8px;
    align-items: center;
    margin: 8px 0;
}
.eer-light-score-bar {
    height: 12px;
    background: #edf2f7;
    border-radius: 999px;
    overflow: hidden;
}
.eer-light-score-fill {
    height: 100%;
    background: #0255a3;
}
.eer-light-recommendations {
    margin-top: 16px;
}
.eer-light-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.eer-light-form-row input,
.eer-light-report-box input[type="email"],
.eer-light-report-box input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #b7c8d9;
    border-radius: 8px;
    padding: 10px;
    margin-top: 4px;
}
.eer-light-report-box {
    margin-top: 18px;
    padding: 16px;
    border-radius: 10px;
    background: #f3f8fc;
    border: 1px solid #cdddeb;
}
.eer-light-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 12px;
    line-height: 1.35;
    cursor: pointer;
}
.eer-light-checkbox input[type="checkbox"] {
    width: auto;
    margin: 2px 0 0;
    flex: 0 0 auto;
}

.eer-light-debug-recipient {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed #b7c8d9;
    color: #335f86;
    font-size: 0.92rem;
}

.eer-light-debug-recipient label {
    font-weight: bold;
}
.eer-light-send-button {
    margin-top: 14px;
    background: #0255a3;
    color: #ffffff;
    border-color: #0255a3;
}
.eer-light-send-button:hover {
    background: #002b5c;
    color: #ffffff;
}
.eer-light-cta-box {
    margin-top: 18px;
    padding: 18px;
    border-radius: 12px;
    background: #002b5c;
    color: #ffffff;
}
.eer-light-cta-box a {
    color: #002b5c;
    background: #ffffff;
    border-radius: 999px;
    padding: 9px 15px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 8px;
}
@media (max-width: 799px) {
    .eer-light-card h2 { font-size: 1.45rem; }
    .eer-light-result-grid,
    .eer-light-form-row,
    .eer-light-question-row { grid-template-columns: 1fr; }
    .eer-light-score-row { grid-template-columns: 118px 1fr 42px; }
    .eer-light-page-main { padding: 18px 12px 36px; }
    .eer-light-page-hero h1 { font-size: 1.55rem; }
}
.eer-light-rating-help {
    margin: 6px 0 0;
    line-height: 1.45;
}
.eer-light-rating-help p {
    margin: 0 0 6px;
}
.eer-light-rating-help ul {
    margin: 6px 0 0 20px;
    padding: 0;
}
.eer-light-rating-help li {
    margin: 3px 0;
}
.eer-light-hero-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 8px;
}
.eer-light-hero-top p {
    margin: 4px 0 0;
}
.eer-light-back-link {
    color: #0255a3;
    text-decoration: none;
    font-weight: bold;
}
.eer-light-back-link:hover {
    text-decoration: underline;
}
.eer-light-hero-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 4px 0 4px 10px;
}
.eer-light-hero-logo {
    display: block;
    max-width: 210px;
    max-height: 58px;
    width: auto;
    height: auto;
}
.eer-light-privacy-note {
    background: #eef6fc;
    border-left: 4px solid #0255a3;
    border-radius: 8px;
    padding: 10px 12px;
    color: #173d62;
}
.eer-light-privacy-note a {
    color: #0255a3;
    font-weight: bold;
}
@media (max-width: 799px) {
    .eer-light-hero-top {
        align-items: flex-start;
    }
    .eer-light-hero-logo {
        max-width: 145px;
        max-height: 44px;
    }
}
@media (max-width: 520px) {
    .eer-light-hero-top {
        flex-direction: column-reverse;
        gap: 8px;
    }
    .eer-light-hero-logo-link {
        padding-left: 0;
    }
}

/* Traffic-light assessment additions */
.eer-light-scale-list {
    margin: 8px 0 0 0;
    padding-left: 0;
    list-style: none;
}
.eer-light-scale-list li {
    margin: 6px 0;
    line-height: 1.35;
}
.eer-light-scale-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: -2px;
    border: 1px solid rgba(0,0,0,0.25);
}
.eer-light-scale-dot-green { background: #1f8f3a; }
.eer-light-scale-dot-yellow { background: #f2c94c; }
.eer-light-scale-dot-red { background: #c62828; }
.eer-light-traffic-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}
.eer-light-traffic-option {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 112px;
    padding: 8px 12px;
    border: 1px solid #b7c8d9;
    border-radius: 999px;
    background: #f5f8fb;
    color: #002b5c;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.eer-light-traffic-option:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.16);
}
.eer-light-traffic-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.eer-light-traffic-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.95);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.25);
    flex: 0 0 auto;
}
.eer-light-traffic-green .eer-light-traffic-circle { background: #1f8f3a; }
.eer-light-traffic-yellow .eer-light-traffic-circle { background: #f2c94c; }
.eer-light-traffic-red .eer-light-traffic-circle { background: #c62828; }
.eer-light-traffic-option:has(input[type="radio"]:checked) {
    background: #e6f0f8;
    border-color: #0255a3;
    box-shadow: 0 0 0 2px rgba(2,85,163,0.18), 0 4px 10px rgba(0,0,0,0.18);
}
.eer-light-traffic-option:has(input[type="radio"]:checked) .eer-light-traffic-label:after {
    content: " ✓";
}
.eer-light-comment-label {
    display: block;
    margin-top: 12px;
    font-size: 0.9rem;
    font-weight: bold;
    color: #335f86;
}
.eer-light-comment {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #b7c8d9;
    border-radius: 8px;
    padding: 9px 10px;
    margin-top: 5px;
    resize: vertical;
    min-height: 48px;
    font-family: inherit;
    line-height: 1.35;
}
.eer-light-comment:focus,
.eer-light-rating-select:focus,
.eer-light-report-box input:focus {
    outline: none;
    border-color: #0255a3;
    box-shadow: 0 0 0 2px rgba(2,85,163,0.14);
}
.eer-light-submitted input,
.eer-light-submitted textarea,
.eer-light-submitted label {
    opacity: 1;
}
.eer-light-send-button:disabled {
    opacity: 0.85;
    cursor: default;
    transform: none;
}
.eer-light-send-button.eer-light-send-busy:disabled {
    cursor: wait;
    opacity: 0.65;
}
.eer-light-send-button.eer-light-send-complete:disabled {
    background: #1f8f3a;
    border-color: #1f8f3a;
    color: #ffffff;
    cursor: default;
    opacity: 1;
}
.eer-light-question-missing .eer-light-traffic-option {
    border-color: #d97b00;
}
@media (max-width: 520px) {
    .eer-light-traffic-option {
        min-width: 0;
        flex: 1 1 100%;
        justify-content: center;
    }
}
.eer-light-traffic-option.eer-light-traffic-selected {
    background: #e6f0f8;
    border-color: #0255a3;
    box-shadow: 0 0 0 2px rgba(2,85,163,0.18), 0 4px 10px rgba(0,0,0,0.18);
}
.eer-light-traffic-option.eer-light-traffic-selected .eer-light-traffic-label:after {
    content: " ✓";
}


/* Optimized two-column rating layout */
.eer-light-question-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 185px;
    gap: 18px;
    align-items: start;
}
.eer-light-question-main {
    min-width: 0;
}
.eer-light-rating-cell {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
}
.eer-light-rating-label {
    display: block;
    margin: 0 0 5px;
    font-size: 0.9rem;
    font-weight: bold;
    color: #335f86;
}
.eer-light-rating-select-wrap {
    position: relative;
}
.eer-light-rating-select {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #8daeca;
    border-radius: 999px;
    padding: 9px 36px 9px 14px;
    background: #ffffff;
    color: #002b5c;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.12);
    cursor: pointer;
}
.eer-light-selected-dot {
    position: absolute;
    left: 11px;
    top: 50%;
    width: 15px;
    height: 15px;
    margin-top: -7.5px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.35);
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.75);
    z-index: 1;
    pointer-events: none;
}
.eer-light-selected-dot-not_rated,
.eer-light-scale-dot-not_rated {
    background: #ffffff;
}
.eer-light-selected-dot-green,
.eer-light-scale-dot-green {
    background: #1f8f3a;
}
.eer-light-selected-dot-yellow,
.eer-light-scale-dot-yellow {
    background: #f2c94c;
}
.eer-light-selected-dot-red,
.eer-light-scale-dot-red {
    background: #c62828;
}
.eer-light-question-missing .eer-light-rating-select {
    border-color: #d97b00;
    box-shadow: 0 0 0 2px rgba(217,123,0,0.18);
}
@media (max-width: 799px) {
    .eer-light-question-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .eer-light-rating-cell {
        max-width: 220px;
    }
}


.eer-light-rating-select option[value="not_rated"] { background-color: #ffffff; color: #002b5c; }
.eer-light-rating-select option[value="green"] { background-color: #e7f5ec; color: #145d28; }
.eer-light-rating-select option[value="yellow"] { background-color: #fff7d6; color: #6b5600; }
.eer-light-rating-select option[value="red"] { background-color: #fdeaea; color: #8f1616; }
.eer-light-rating-select option[value="not_applicable"] { background-color: #e5e7eb; color: #374151; }

.eer-light-scale-dot-not_applicable,
.eer-light-selected-dot-not_applicable {
    background: #e5e7eb;
    border-color: #9ca3af;
}

.eer-light-rating-select.rating-not_applicable {
    background-color: #e5e7eb;
}

.eer-light-submit-note {
    margin: 8px 0 0;
    max-width: 560px;
    color: #4b5563;
    font-size: 0.92rem;
    line-height: 1.4;
}
