.mwzd-calc-box,
.mwzd-checklist-box,
.mwzd-eligibility-box,
.mwzd-scenarios-box,
.mwzd-timeline-box,
.mwzd-proscons-box {
    margin: 24px 0;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    color: #0f172a;
    box-sizing: border-box;
}
.mwzd-tool-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.mwzd-tool-head h3.mwzd-tool-title,
.mwzd-tool-title {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 1.05rem;
    line-height: 1.35;
    font-weight: 700;
    color: #0f172a;
}
.mwzd-tool-badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: #dbeafe;
    color: #1d4ed8;
}
.mwzd-calc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}
.mwzd-calc-field label {
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 5px;
}
.mwzd-calc-field input[type="number"],
.mwzd-calc-field select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    font-size: 0.95rem;
    color: #0f172a;
    box-sizing: border-box;
}
.mwzd-calc-result-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
    padding: 14px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}
.mwzd-calc-metric span {
    display: block;
    font-size: 0.78rem;
    color: #64748b;
    margin-bottom: 3px;
}
.mwzd-calc-metric strong {
    font-size: 1.1rem;
    color: #1e40af;
    font-weight: 700;
}
.mwzd-tool-note {
    margin: 10px 0 0;
    font-size: 0.78rem;
    color: #64748b;
}
.mwzd-checklist-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mwzd-checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    font-size: 0.94rem;
    line-height: 1.45;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}
.mwzd-checklist-item input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: #2563eb;
    flex-shrink: 0;
}
.mwzd-checklist-item.is-checked {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1e3a8a;
}
.mwzd-checklist-bar {
    height: 6px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
    margin: 10px 0 12px;
}
.mwzd-checklist-bar > span {
    display: block;
    height: 100%;
    width: 0;
    background: #2563eb;
    transition: width 0.2s ease;
}
.mwzd-elig-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mwzd-elig-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}
.mwzd-elig-q {
    font-size: 0.93rem;
    line-height: 1.45;
    color: #1e293b;
}
.mwzd-elig-btns {
    display: inline-flex;
    gap: 6px;
    flex-shrink: 0;
}
.mwzd-elig-btn {
    padding: 5px 11px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}
.mwzd-elig-btn[data-val="yes"].is-active {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}
.mwzd-elig-btn[data-val="no"].is-active {
    background: #dc2626;
    border-color: #dc2626;
    color: #ffffff;
}
.mwzd-elig-result {
    margin-top: 12px;
    padding: 11px 14px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
}
.mwzd-elig-result.is-pass {
    background: #ecfdf5;
    border-color: #6ee7b7;
    color: #065f46;
}
.mwzd-elig-result.is-warn {
    background: #fffbeb;
    border-color: #fcd34d;
    color: #92400e;
}
.mwzd-scenario-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}
.mwzd-scenario-tab {
    padding: 7px 13px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    color: #334155;
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
}
.mwzd-scenario-tab.is-active {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff;
}
.mwzd-scenario-panel {
    padding: 14px 16px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    font-size: 0.94rem;
    line-height: 1.6;
}
.mwzd-scenario-panel p {
    margin: 0;
}
.mwzd-timeline-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.mwzd-timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}
.mwzd-timeline-num {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #2563eb;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.mwzd-timeline-body strong {
    display: block;
    font-size: 0.95rem;
    color: #0f172a;
    margin-bottom: 3px;
}
.mwzd-timeline-body p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #475569;
}
.mwzd-proscons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}
.mwzd-proscons-col {
    padding: 14px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}
.mwzd-proscons-col h5 {
    margin: 0 0 8px;
    font-size: 0.92rem;
    font-weight: 700;
}
.mwzd-proscons-col.is-pros {
    border-top: 3px solid #16a34a;
}
.mwzd-proscons-col.is-pros h5 {
    color: #15803d;
}
.mwzd-proscons-col.is-cons {
    border-top: 3px solid #dc2626;
}
.mwzd-proscons-col.is-cons h5 {
    color: #b91c1c;
}
.mwzd-proscons-col ul {
    margin: 0;
    padding-left: 18px;
    font-size: 0.88rem;
    line-height: 1.55;
    color: #334155;
}
@media (max-width: 600px) {
    .mwzd-calc-box,
    .mwzd-checklist-box,
    .mwzd-eligibility-box,
    .mwzd-scenarios-box,
    .mwzd-timeline-box,
    .mwzd-proscons-box {
        padding: 15px;
    }
    .mwzd-elig-row {
        flex-direction: column;
        align-items: flex-start;
    }
}
