/* Manager Decision Tool — staging styles */

.mdt-preview-banner {
    background: #FEF3C7;
    color: #78350F;
    border-bottom: 1px solid #FCD34D;
    padding: 8px 16px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
}

.mdt-main {
    padding: 2.5rem 1rem 4rem;
    background: #FAFAFA;
    min-height: 60vh;
}

.mdt-app {
    max-width: 720px;
    margin: 0 auto;
    background: transparent;
}

.mdt-loading {
    text-align: center;
    color: #6B7280;
    padding: 3rem 1rem;
    font-size: 14px;
}

.mdt-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
    font-size: 13px;
    color: #6B7280;
}

.mdt-progress-dots {
    display: flex;
    gap: 6px;
}

.mdt-dot {
    width: 28px;
    height: 4px;
    border-radius: 2px;
    background: #E5E7EB;
    transition: background-color 0.15s;
}

.mdt-dot-active {
    background: #BC0F1A;
}

.mdt-back {
    background: transparent;
    border: none;
    padding: 0;
    color: #6B7280;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: inherit;
    transition: color 0.15s;
}

.mdt-back:hover {
    color: #111827;
}

.mdt-q-title,
.mdt-o-title {
    font-size: 26px;
    font-weight: 600;
    margin: 0 0 12px;
    line-height: 1.3;
    color: #111827;
}

.mdt-subtitle {
    font-size: 16px;
    color: #4B5563;
    margin: 0 0 1.75rem;
    line-height: 1.55;
}

.mdt-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.mdt-option {
    width: 100%;
    text-align: left;
    padding: 14px 16px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
    font-family: inherit;
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: inherit;
}

.mdt-option:hover {
    border-color: #BC0F1A;
    box-shadow: 0 2px 8px rgba(188, 15, 26, 0.06);
}

.mdt-option-label {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    line-height: 1.4;
}

.mdt-option-hint {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.5;
}

.mdt-helper {
    background: #F9FAFB;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 14px;
    color: #4B5563;
    line-height: 1.6;
    border-left: 3px solid #D1D5DB;
}

.mdt-outcome {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mdt-outcome > * + * {
    margin-top: 0;
}

.mdt-summary {
    font-size: 16.5px;
    line-height: 1.65;
    color: #111827;
    margin: 0;
    font-weight: 500;
}

.mdt-guidance {
    padding-left: 22px;
    margin: 0;
}

.mdt-guidance li {
    font-size: 15px;
    line-height: 1.65;
    color: #1F2937;
    margin-bottom: 10px;
}

.mdt-guidance li:last-child {
    margin-bottom: 0;
}

.mdt-flag-note {
    background: #FFFBEB;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 14.5px;
    color: #78350F;
    line-height: 1.6;
    border-left: 3px solid #F59E0B;
}

.mdt-teaser {
    background: #FEF2F2;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 14.5px;
    color: #7F1D1D;
    line-height: 1.6;
    border-left: 3px solid #BC0F1A;
}

.mdt-recs {
    margin-top: 0.5rem;
}

.mdt-recs-title {
    font-size: 12px;
    font-weight: 600;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin: 0 0 12px;
}

.mdt-rec {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 16px 18px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    margin-bottom: 8px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.mdt-rec:hover {
    border-color: #BC0F1A;
    box-shadow: 0 2px 8px rgba(188, 15, 26, 0.08);
}

.mdt-rec-primary {
    border-color: #BC0F1A;
}

.mdt-rec-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.mdt-rec-name {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

.mdt-rec-primary-badge {
    font-size: 10.5px;
    font-weight: 600;
    color: #BC0F1A;
    background: #FEF2F2;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mdt-rec-blurb {
    font-size: 14px;
    color: #4B5563;
    line-height: 1.55;
    margin: 0 0 4px;
}

.mdt-rec-note {
    font-size: 13.5px;
    color: #6B7280;
    font-style: italic;
    margin: 4px 0 0;
}

.mdt-actions {
    margin-top: 1rem;
    display: flex;
    gap: 8px;
    padding-top: 0.5rem;
}

.mdt-restart {
    padding: 9px 18px;
    background: transparent;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-family: inherit;
    color: #4B5563;
    transition: border-color 0.15s, color 0.15s;
}

.mdt-restart:hover {
    border-color: #BC0F1A;
    color: #BC0F1A;
}

.mdt-error {
    background: #FEF2F2;
    border-radius: 10px;
    padding: 16px 18px;
    color: #7F1D1D;
    font-size: 14px;
    line-height: 1.55;
    border: 1px solid #FECACA;
}

@media (max-width: 640px) {
    .mdt-main { padding: 1.5rem 0.875rem 3rem; }
    .mdt-q-title,
    .mdt-o-title { font-size: 22px; }
    .mdt-subtitle { font-size: 15px; }
    .mdt-option { padding: 12px 14px; }
    .mdt-option-label { font-size: 14.5px; }
    .mdt-rec { padding: 14px 16px; }
}

/* --- Progress bar (momentum indicator, no false total) --- */
.mdt-progress-bar {
    flex: 1;
    max-width: 220px;
    height: 4px;
    background: #E5E7EB;
    border-radius: 2px;
    overflow: hidden;
}

.mdt-progress-fill {
    height: 100%;
    background: #BC0F1A;
    border-radius: 2px;
    transition: width 0.25s ease;
}

/* --- Managed focus: heading is focused on each step; keep it quiet --- */
.mdt-q-title:focus,
.mdt-o-title:focus {
    outline: none;
}

/* --- Forthcoming pack: shown, but clearly not yet buyable --- */
.mdt-rec-forthcoming {
    display: block;
    padding: 16px 18px;
    background: #FAFAFA;
    border: 1px dashed #D1D5DB;
    border-radius: 10px;
    margin-bottom: 8px;
}

.mdt-rec-soon-badge {
    font-size: 10.5px;
    font-weight: 600;
    color: #6B7280;
    background: #F3F4F6;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Optional email capture (off unless config.features.emailCapture) --- */
.mdt-capture {
    margin-top: 1rem;
    padding: 16px 18px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
}

.mdt-capture-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.mdt-capture-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.mdt-capture-input {
    flex: 1;
    min-width: 180px;
    padding: 10px 12px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
}

.mdt-capture-btn {
    padding: 10px 18px;
    background: #BC0F1A;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s;
}

.mdt-capture-btn:hover {
    background: #9C0D16;
}

.mdt-capture-note {
    font-size: 12.5px;
    color: #6B7280;
    margin: 8px 0 0;
}

.mdt-capture-note a {
    color: #BC0F1A;
}

.mdt-capture-status {
    font-size: 13px;
    color: #4B5563;
    margin-top: 6px;
    min-height: 1em;
}

/* --- Standing legal disclaimer (baked into the page, not the fetched footer) --- */
.mdt-disclaimer {
    max-width: 720px;
    margin: 2rem auto 0;
    font-size: 12.5px;
    line-height: 1.6;
    color: #9CA3AF;
    text-align: center;
}

.mdt-disclaimer a {
    color: #6B7280;
}
