body {
    background: #eef1f6;
}

.app-wrap {
    max-width: 980px;
    margin: 0 auto;
    padding: 28px 16px 56px;
}

.app-header {
    padding: 20px 22px 16px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(16, 24, 40, .07);
    margin-bottom: 18px;
}

.app-logo {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #2f54eb;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-right: 14px;
}

.app-header h1 {
    font-size: 1.35rem;
    font-weight: 600;
    color: #1f2329;
}

.card {
    border: 0;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(16, 24, 40, .07);
    margin-bottom: 16px;
}

.card-header {
    background: #fff;
    border-bottom: 1px solid #f0f1f5;
    border-radius: 14px 14px 0 0 !important;
    padding: 14px 20px;
    font-weight: 600;
    color: #1f2329;
}

.card-body {
    padding: 18px 20px;
}

.field-label {
    font-size: .85rem;
    font-weight: 500;
    color: #4b5563;
    margin-bottom: 6px;
    display: inline-block;
}

.table-wrap {
    max-height: 380px;
    overflow: auto;
    border: 1px solid #eceef3;
    border-radius: 10px;
}

.table-wrap .table thead th {
    position: sticky;
    top: 0;
    background: #f8f9fc;
    z-index: 1;
    font-size: .8rem;
    color: #6b7280;
    white-space: nowrap;
}

.table-wrap .table td {
    font-size: .82rem;
    word-break: break-all;
    vertical-align: middle;
}

.td-step {
    white-space: nowrap;
    color: #5a6b8c;
    font-weight: 500;
}

.status-ok {
    color: #10a050;
    font-weight: 500;
}

.status-skip {
    color: #909399;
}

.status-fail {
    color: #e54d42;
    font-weight: 500;
}

.result-summary {
    background: #f0f7ff;
    border: 1px solid #d6e7fb;
}

.footer-note {
    color: #9aa0a6;
}

/* ---- 输出方式切换 ---- */
.mode-toggle {
    display: flex;
    gap: 8px;
}

.mode-opt {
    flex: 1 1 50%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 14px;
    border: 1.5px solid #d9dde4;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: border-color .15s, background .15s, box-shadow .15s;
    margin-bottom: 0;
}

.mode-opt:hover {
    border-color: #b8c1cf;
}

.mode-opt input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.mode-opt>i {
    font-size: 1.15rem;
    color: #2f54eb;
    margin-bottom: 6px;
}

.mode-opt.mode-warn>i {
    color: #d97706;
}

.mode-opt .mode-title {
    font-weight: 600;
    font-size: .92rem;
    color: #1f2329;
}

.mode-opt .mode-desc {
    font-size: .75rem;
    color: #6b7280;
    margin-top: 2px;
}

.mode-opt.active {
    border-color: #2f54eb;
    background: #f0f5ff;
    box-shadow: 0 0 0 1px #2f54eb inset;
}

.mode-opt.mode-warn.active {
    border-color: #d97706;
    background: #fff7ed;
    box-shadow: 0 0 0 1px #d97706 inset;
}

.mode-opt.disabled,
.mode-opt input[type="radio"]:disabled+i {
    opacity: .45;
    cursor: not-allowed;
}