/* ==========================================================================
   分班页（/fenban）样式，前缀 fb-
   2026-11-05 新增
   ========================================================================== */

.fb-page {
    --fb-primary: #2563eb;
    --fb-primary-dark: #1d4ed8;
    --fb-text: #1f2937;
    --fb-muted: #6b7280;
    --fb-line: #e5e7eb;
    --fb-bg: #f4f6fa;
    --fb-ok: #059669;
    --fb-warn: #d97706;
    box-sizing: border-box;
    min-height: 100vh;
    padding-bottom: 24px;
    background: var(--fb-bg);
    color: var(--fb-text);
    font-family: "Microsoft YaHei", "微软雅黑", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.fb-page *,
.fb-page *::before,
.fb-page *::after {
    box-sizing: border-box;
}

/* ===== 顶部栏 ===== */

.fb-header {
    position: sticky;
    top: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--fb-line);
}

.fb-header-text {
    flex: 1 1 auto;
    min-width: 0;
}

.fb-header-text h1 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.fb-header-text p {
    margin: 2px 0 0;
    font-size: 12px;
    color: var(--fb-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fb-icon-btn {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--fb-line);
    border-radius: 50%;
    background: #fff;
    color: #4b5563;
    font-size: 14px;
    cursor: pointer;
}

.fb-icon-btn:hover {
    background: #f3f4f6;
}

.fb-cta {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(37, 99, 235, .28);
}

.fb-cta:active {
    transform: translateY(1px);
}

.fb-cta:disabled {
    opacity: .55;
    cursor: not-allowed;
    box-shadow: none;
}

.fb-cta.big {
    margin-top: 8px;
    padding: 12px 28px;
    font-size: 16px;
}

/* ===== 主体 ===== */

.fb-body {
    padding: 16px;
}

@media (min-width: 1081px) {
    .fb-body.with-panel {
        padding-right: 356px;
    }
}

/* ===== 空态：只留图标 + 标题 + 主按钮（2026-11-05 按用户要求去掉三步说明等提示） ===== */

.fb-empty {
    max-width: 420px;
    margin: 72px auto;
    padding: 8px 24px;
    text-align: center;
}

.fb-empty-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 22px;
}

.fb-empty h2 {
    margin: 0 0 20px;
    font-size: 18px;
    font-weight: 600;
    color: #334155;
}

/* 2026-11-05 分班操作仅管理员可见时空态的提示 */
.fb-empty-note {
    font-size: 14px;
    color: #94a3b8;
}

/* 2026-11-05 管理员删除历史归档 */
.fb-mini.danger {
    color: #dc2626;
}
.fb-mini.danger:hover {
    background: #fef2f2;
}

/* 2026-11-05 打开历史归档时的全页载入遮罩 */
.fb-loading-mask {
    position: fixed;
    inset: 0;
    z-index: 2100;
    background: rgba(248, 250, 252, .78);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fb-loading-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 14px 24px;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(15, 23, 42, .15);
    color: #334155;
    font-size: 14px;
    font-weight: 600;
}

/* ===== 工具条 ===== */

.fb-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.fb-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1 1 auto;
}

.fb-chip {
    padding: 6px 14px;
    border: 1px solid var(--fb-line);
    border-radius: 999px;
    background: #fff;
    color: #374151;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
}

.fb-chip.on {
    border-color: transparent;
    background: var(--fb-primary);
    color: #fff;
    font-weight: 600;
}

.fb-toolbar-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.fb-plan-note,
.fb-swap-tip {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
}

.fb-plan-note {
    background: #eef4ff;
    color: #1e40af;
    border: 1px solid #dbe6ff;
}

.fb-swap-tip {
    background: #fff7ed;
    color: #9a3412;
    border: 1px solid #fed7aa;
}

/* ===== 表格 ===== */

.fb-table-wrap {
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--fb-line);
    box-shadow: 0 6px 18px rgba(15, 23, 42, .04);
    overflow: auto;
    max-height: calc(100vh - 210px);
}

.fb-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
}

.fb-table th {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 10px 10px;
    background: #f8fafc;
    color: #4b5563;
    font-weight: 600;
    text-align: left;
    white-space: nowrap;
    border-bottom: 1px solid var(--fb-line);
}

.fb-table td {
    padding: 9px 10px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.fb-table tbody tr:hover {
    background: #f9fbff;
}

.fb-table tbody tr.sel {
    background: #fff7ed;
}

.fb-table .num {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.fb-table .strong {
    font-weight: 700;
    color: #111827;
}

.fb-table .muted {
    color: var(--fb-muted);
}

.fb-table .col-idx { width: 46px; }
.fb-table .col-name { min-width: 96px; white-space: nowrap; }
.fb-table .col-sex { width: 56px; }
.fb-table .col-banji { width: 76px; }
.fb-table .col-memo {
    min-width: 110px;
    max-width: 240px;
    color: var(--fb-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fb-table .col-act { width: 72px; }

.fb-tag {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 999px;
    background: #e0ecff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 600;
}

.fb-lock {
    margin-left: 4px;
    color: #f59e0b;
    font-size: 11px;
}

.fb-mini {
    padding: 3px 10px;
    border: 1px solid var(--fb-line);
    border-radius: 8px;
    background: #fff;
    color: #374151;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
}

.fb-mini:hover {
    border-color: var(--fb-primary);
    color: var(--fb-primary);
}

.fb-mini.on {
    border-color: #f97316;
    background: #fff7ed;
    color: #ea580c;
    font-weight: 600;
}

/* ===== 浮动统计面板 ===== */

.fb-panel {
    position: fixed;
    right: 16px;
    top: 76px;
    z-index: 40;
    width: 324px;
    max-height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--fb-line);
    box-shadow: 0 14px 36px rgba(15, 23, 42, .12);
    overflow: hidden;
}

.fb-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-bottom: 1px solid var(--fb-line);
    font-size: 14px;
    font-weight: 700;
}

.fb-badge {
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.fb-badge.ok {
    background: #dcfce7;
    color: var(--fb-ok);
}

.fb-badge.warn {
    background: #fef3c7;
    color: var(--fb-warn);
}

.fb-kv {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 12px 14px 4px;
}

.fb-kv > div {
    padding: 8px 10px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
}

.fb-kv b {
    display: block;
    font-size: 16px;
    line-height: 1.2;
    color: #111827;
}

.fb-kv span {
    font-size: 11px;
    color: var(--fb-muted);
}

.fb-panel-sub {
    padding: 6px 14px 2px;
    font-size: 11px;
    color: var(--fb-muted);
}

.fb-stat-list {
    padding: 8px 14px 12px;
    overflow-y: auto;
}

.fb-stat {
    padding: 9px 0;
    border-bottom: 1px dashed #eef2f7;
}

.fb-stat:last-child {
    border-bottom: 0;
}

.fb-stat-top {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 13px;
}

.fb-stat-name {
    font-weight: 700;
}

.fb-stat-cnt {
    color: var(--fb-muted);
    font-size: 12px;
}

.fb-stat-avg {
    margin-left: auto;
    font-size: 16px;
    font-weight: 700;
    color: var(--fb-primary-dark);
    font-variant-numeric: tabular-nums;
}

.fb-bar {
    height: 6px;
    margin: 6px 0 4px;
    border-radius: 999px;
    background: #eef2f7;
    overflow: hidden;
}

.fb-bar > i {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #93c5fd, #2563eb);
    transition: width .25s ease;
}

.fb-stat-bottom {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 11px;
    color: var(--fb-muted);
}

.fb-stat-bottom b.up { color: #dc2626; }
.fb-stat-bottom b.down { color: #059669; }
.fb-stat-bottom b.flat { color: var(--fb-muted); }

.fb-panel-foot {
    padding: 9px 14px;
    border-top: 1px solid var(--fb-line);
    font-size: 11px;
    color: var(--fb-muted);
    word-break: break-all;
    background: #fcfdff;
}

/* ===== 缺考名单（不参与分班） ===== */

.fb-absent {
    margin-top: 14px;
    padding: 10px 12px;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    background: #fafafa;
}

.fb-absent-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}

.fb-absent-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fb-absent-item {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #fde3bd;
    font-size: 12px;
    color: #7c2d12;
}

.fb-absent-item em {
    font-style: normal;
    color: #a8a29e;
    font-size: 11px;
}

/* ===== 按钮 ===== */

.fb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 16px;
    border: 1px solid var(--fb-line);
    border-radius: 10px;
    background: #fff;
    color: #374151;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}

.fb-btn:hover {
    border-color: #c7d2fe;
    color: var(--fb-primary);
}

.fb-btn.primary {
    border-color: transparent;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(37, 99, 235, .24);
}

.fb-btn.primary:hover {
    color: #fff;
}

.fb-btn.ghost {
    background: #f8fafc;
}

.fb-btn.small {
    padding: 6px 12px;
    font-size: 12px;
}

.fb-btn:disabled {
    opacity: .55;
    cursor: not-allowed;
}

/* ===== 模态框 ===== */

.fb-mask {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(15, 23, 42, .42);
    backdrop-filter: blur(2px);
}

.fb-modal {
    display: flex;
    flex-direction: column;
    width: 720px;
    max-width: 100%;
    max-height: 92vh;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .18);
    overflow: hidden;
    animation: fbPop .18s ease-out;
}

@keyframes fbPop {
    from { transform: translateY(8px) scale(.99); opacity: .6; }
    to { transform: none; opacity: 1; }
}

.fb-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--fb-line);
}

.fb-modal-head h3 {
    margin: 0;
    font-size: 17px;
}

.fb-modal-head p {
    margin: 3px 0 0;
    font-size: 12px;
    color: var(--fb-muted);
}

.fb-modal-body {
    padding: 16px 18px;
    overflow-y: auto;
}

.fb-modal-foot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 12px 18px;
    border-top: 1px solid var(--fb-line);
    background: #fff;
}

.fb-sec {
    padding: 0;
    margin-bottom: 20px;
}

.fb-sec:last-of-type {
    margin-bottom: 0;
}

.fb-sec-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
}

.fb-step {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--fb-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.fb-field-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.fb-field-row:last-child {
    margin-bottom: 0;
}

.fb-label {
    flex: 0 0 76px;
    font-size: 13px;
    color: #374151;
    font-weight: 600;
}

.fb-input {
    padding: 7px 10px;
    border: 1px solid #d7dde7;
    border-radius: 9px;
    background: #fff;
    font-size: 13px;
    color: var(--fb-text);
    outline: none;
    min-width: 120px;
}

.fb-input:focus {
    border-color: var(--fb-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.fb-input.wide { flex: 1 1 220px; }
.fb-input.narrow { flex: 0 0 92px; }

.fb-hint {
    font-size: 12px;
    color: var(--fb-muted);
}

/* 分班方式说明：只保留一行小字（2026-11-05 精简） */
.fb-mode-tip {
    margin: -4px 0 12px;
    font-size: 12px;
    line-height: 1.6;
    color: var(--fb-muted);
}

.fb-count {
    font-size: 12px;
    color: var(--fb-primary-dark);
    font-weight: 600;
}

/* 学科均衡：右侧面板的各科班均对比（2026-11-05 用户定） */
.fb-subject-stats {
    margin-top: 14px;
    /* 2026-11-06 修：原来只有 padding-top，左右为 0 导致「学科均衡」标题和表格贴到面板边缘 */
    padding: 12px 14px 12px;
    border-top: 1px solid var(--fb-line);
}

.fb-subject-stats-title {
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 4px;
}

/* 历史分班结果（2026-11-05 用户定，方案B） */
.fb-archives {
    max-width: 760px;
    margin: 0 auto 14px;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid var(--fb-line);
    border-radius: 12px;
}

.fb-archives-head {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.fb-archives-empty {
    font-size: 13px;
    color: var(--fb-muted);
    padding: 6px 0;
}

.fb-archive-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px solid #f8fafc;
    font-size: 13px;
}

.fb-archive-row:last-child {
    border-bottom: none;
}

.fb-ar-date {
    flex: 0 0 auto;
    color: var(--fb-muted);
    font-variant-numeric: tabular-nums;
}

.fb-ar-name {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #334155;
    font-weight: 600;
}

/* 学科均衡：可横向滑动的对比表（2026-11-05 用户定）；科目列与极差列固定 */
.fb-ss-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.fb-ss-table {
    border-collapse: collapse;
    min-width: 100%;
    font-size: 12px;
}

.fb-ss-table th,
.fb-ss-table td {
    padding: 5px 8px;
    text-align: center;
    white-space: nowrap;
    border-bottom: 1px solid #f1f5f9;
}

.fb-ss-table th {
    font-size: 11px;
    font-weight: 500;
    color: #94a3b8;
}

.fb-ss-table td.num {
    min-width: 48px;
    color: #334155;
    font-variant-numeric: tabular-nums;
}

.fb-ss-table th:first-child,
.fb-ss-table td.ss-name {
    position: sticky;
    left: 0;
    z-index: 1;
    background: #fff;
    text-align: left;
    font-weight: 600;
    color: #334155;
    min-width: 44px;
    box-shadow: 2px 0 0 #f1f5f9;
}

.fb-ss-table th:last-child,
.fb-ss-table td.ss-diff {
    position: sticky;
    right: 0;
    z-index: 1;
    background: #fff;
    text-align: right;
    font-weight: 600;
    min-width: 44px;
    box-shadow: -2px 0 0 #f1f5f9;
}

.fb-ss-table td.ss-diff.ok {
    color: #16a34a;
}

.fb-ss-table td.ss-diff.warn {
    color: #d97706;
}

/* 学科均衡：多选科目（2026-11-05 用户定）；排队顺序=随机打乱时不生效，整体置灰 */
.fb-subjects {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
}

.fb-subjects.disabled {
    opacity: .45;
}

.fb-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #374151;
    cursor: pointer;
}

.fb-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.6;
    color: var(--fb-muted);
    word-break: break-all;
}

.fb-fixed {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--fb-line);
}

.fb-fixed-title {
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
}

.fb-fixed-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.fb-fixed-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 6px 4px 10px;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    font-size: 12px;
}

.fb-fixed-x {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(55, 48, 163, .12);
    color: #3730a3;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
}

.fb-msg {
    margin-top: 12px;
    padding: 9px 12px;
    border-radius: 10px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    font-size: 13px;
    line-height: 1.6;
}

.fb-busy {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #eef4ff;
    border: 1px solid #dbe6ff;
    color: #1e40af;
    font-size: 13px;
}

.fb-spinner {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    border: 2px solid #bfdbfe;
    border-top-color: var(--fb-primary);
    border-radius: 50%;
    animation: fbSpin .9s linear infinite;
}

@keyframes fbSpin {
    to { transform: rotate(360deg); }
}

/* ===== 窄屏适配 ===== */

@media (max-width: 1080px) {
    .fb-panel {
        position: static;
        width: auto;
        max-height: none;
        margin: 14px 16px 0;
    }

    .fb-table-wrap {
        max-height: 60vh;
    }
}

@media (max-width: 640px) {
    .fb-body {
        padding: 12px;
    }

    .fb-header {
        padding: 8px 12px;
    }

    .fb-header-text h1 {
        font-size: 16px;
    }

    .fb-cta {
        padding: 8px 14px;
        font-size: 14px;
    }

    .fb-modal {
        max-height: 94vh;
        border-radius: 14px;
    }

    .fb-label {
        flex-basis: 100%;
    }

    .fb-input,
    .fb-input.wide,
    .fb-input.narrow {
        flex: 1 1 auto;
        width: 100%;
    }

    .fb-empty {
        margin: 20px auto;
        padding: 20px 16px 24px;
    }
}

/* ===== 分步向导（分班弹窗） ===== */

.fb-wizard {
    display: flex;
    gap: 8px;
    padding: 10px 18px;
    border-bottom: 1px solid var(--fb-line);
    background: #fff;
}

.fb-wizard-item {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--fb-muted);
    font-size: 13px;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
}

.fb-wizard-item:disabled {
    cursor: default;
    opacity: .6;
}

.fb-wizard-item.on {
    background: #eff4ff;
    border-color: #c7d8ff;
    color: var(--fb-primary);
}

.fb-wizard-item.done {
    color: var(--fb-ok);
}

.fb-wizard-dot {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
}

.fb-wizard-item.on .fb-wizard-dot {
    background: var(--fb-primary);
    color: #fff;
}

.fb-wizard-item.done .fb-wizard-dot {
    background: #d1fae5;
    color: var(--fb-ok);
}

.fb-wizard-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 第 3 步：条件核对 */

.fb-confirm {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 14px;
    border: 1px dashed #c7d8ff;
    border-radius: 12px;
    background: #f7faff;
    font-size: 13px;
    color: #374151;
}

.fb-confirm-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.fb-confirm-row > span:first-child {
    flex: 0 0 76px;
    color: var(--fb-muted);
}

.fb-confirm-row > b {
    color: #111827;
    font-weight: 700;
}

@media (max-width: 720px) {
    .fb-wizard {
        gap: 4px;
        padding: 8px 10px;
    }

    .fb-wizard-item {
        justify-content: center;
    }

    .fb-wizard-text {
        display: none;
    }
}
