/* =====================================================================
 * 52 独居安全清单 · 视觉母题「门窗检查清单 + 快递防护卡」
 * ---------------------------------------------------------------------
 * 色板：夜安蓝 #3a4a7c（深色版 #8492c9），辅以月光银与提示橙。
 * 版式：J（清单勾选主导）—— 五组卡片式清单，勾选状态参与计算。
 * 纯 CSS / SVG，零图片请求；只作用于 .b11--solo 容器。
 * ===================================================================== */

.b11--solo {
    --solo-pri: #3a4a7c;
    --solo-pri2: #5d6ea6;
    --solo-warm: #b5652f;
    --solo-tint: #e2e6f3;
    --b11-pri: #3a4a7c;
    --b11-pri2: #5d6ea6;
    --b11-tint: #e2e6f3;
    --b11-bg: #f0f1f5;
    --b11-bg2: #e4e6ec;
    --b11-card2: #f7f8fa;
    background-image:
        linear-gradient(180deg, color-mix(in srgb, var(--solo-pri) 7%, transparent) 0, transparent 320px),
        repeating-linear-gradient(90deg, color-mix(in srgb, var(--b11-line2) 30%, transparent) 0 1px, transparent 1px 48px);
}
:root[data-theme="dark"] .b11.b11--solo {
    --solo-pri: #8492c9;
    --solo-pri2: #a7b2dd;
    --solo-warm: #e0a06a;
    --solo-tint: #1d2340;
    --b11-pri: #8492c9;
    --b11-pri2: #a7b2dd;
    --b11-tint: #1d2340;
    --b11-bg: #111319;
    --b11-bg2: #191c24;
    --b11-card2: #1c2029;
}

/* ---------- 首屏 ---------- */
.solo-hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 30px; align-items: center; padding-bottom: 26px; border-bottom: 2px solid var(--solo-pri); }
.solo-hero .b11-h1 em { color: var(--solo-pri); }
.solo-hero .b11-lead b { box-shadow: inset 0 -.42em 0 var(--solo-tint); }
.solo-motif { display: grid; place-items: center; }
.solo-motif svg { width: min(300px, 76vw); height: auto; }

/* ---------- 清单主体 ---------- */
.solo-board { margin-top: 26px; }
.solo-board-bar {
    display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between;
    background: var(--b11-card); border: 1px solid var(--b11-line);
    border-left: 6px solid var(--solo-pri);
    padding: 18px 22px; box-shadow: var(--b11-shadow);
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}
.solo-micro { display: block; font-family: var(--b11-mono); font-size: var(--b11-xs); letter-spacing: .16em; color: var(--solo-pri); margin-bottom: 6px; }
.solo-board-bar h2 { font-size: var(--b11-lg); margin-bottom: 4px; }
.solo-board-sub { font-size: var(--b11-sm); color: var(--b11-sub); margin-bottom: 0; max-width: 720px; }
.solo-board-sub b { color: var(--solo-pri); }
.solo-board-acts { display: flex; flex-wrap: wrap; gap: 9px; }

.solo-groups { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); margin-top: 16px; }
.solo-group {
    background: var(--b11-card); border: 1px solid var(--b11-line);
    box-shadow: var(--b11-shadow); padding: 16px 18px 12px;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
    display: flex; flex-direction: column;
}
.solo-group-hd { display: flex; align-items: baseline; gap: 10px; padding-bottom: 9px; border-bottom: 1.5px solid var(--solo-tint); margin-bottom: 10px; }
.solo-group-hd h3 { font-size: var(--b11-md); flex: 1 1 auto; }
.solo-group-hd .gd { font-family: var(--b11-mono); font-size: var(--b11-xs); color: var(--solo-mute); }
.solo-group-hd .cnt { font-family: var(--b11-mono); font-size: var(--b11-xs); font-weight: 800; color: var(--solo-pri); white-space: nowrap; }
.solo-item {
    display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 9px; align-items: start;
    padding: 8px 0; border-bottom: 1px dotted var(--b11-line2); cursor: pointer;
}
.solo-item:last-child { border-bottom: 0; }
.solo-item input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--solo-pri); }
.solo-item .txt { font-size: var(--b11-sm); color: var(--b11-sub); line-height: 1.62; }
.solo-item .w { font-family: var(--b11-mono); font-size: 10px; color: var(--b11-mute); border: 1px solid var(--b11-line2); padding: 1px 5px; white-space: nowrap; }
.solo-item.is-done .txt { color: var(--b11-mute); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--solo-pri) 50%, transparent); }
.solo-item.is-done .w { color: var(--solo-pri); border-color: var(--solo-pri); }
.solo-group-foot { margin-top: auto; padding-top: 10px; }
.solo-group-foot .b11-seg { height: 10px; }

/* ---------- 结果 ---------- */
.solo-todo { list-style: none; margin: 0; padding: 0; counter-reset: st; }
.solo-todo li {
    counter-increment: st; position: relative; padding: 10px 0 10px 42px;
    font-size: var(--b11-sm); color: var(--b11-sub); line-height: 1.7;
    border-bottom: 1px dotted var(--b11-line2);
}
.solo-todo li:last-child { border-bottom: 0; }
.solo-todo li::before {
    content: counter(st); position: absolute; left: 0; top: 9px; width: 26px; height: 26px;
    display: grid; place-items: center; background: var(--solo-warnbg); color: var(--solo-warm);
    font-family: var(--b11-mono); font-size: 12px; font-weight: 800;
}
.solo-todo li b { color: var(--b11-ink); }
.solo-todo li .pri { font-family: var(--b11-mono); font-size: 11px; color: var(--solo-warm); margin-left: 6px; }
.solo-todo .solo-done { color: var(--b11-ok); font-size: var(--b11-sm); padding: 10px 0; }

.solo-groups-bars { display: grid; gap: 12px; }
.solo-bar { font-size: var(--b11-sm); color: var(--b11-sub); }
.solo-bar .nm { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 5px; }
.solo-bar .nm b { color: var(--b11-ink); }
.solo-bar .nm span { font-family: var(--b11-mono); color: var(--solo-pri); font-weight: 800; }
.solo-bar .b11-seg { height: 12px; }

.solo-card {
    margin-top: 14px; padding: 16px 18px; background: var(--solo-tint);
    border: 1.5px dashed var(--solo-pri); color: var(--b11-ink);
    font-family: var(--b11-mono); font-size: var(--b11-sm); line-height: 1.95;
    white-space: pre-wrap; word-break: break-all;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}
.solo-card-row { align-items: flex-end; }

.solo-steps { list-style: none; margin: 0; padding: 0; counter-reset: ss; }
.solo-steps li {
    counter-increment: ss; position: relative; padding: 9px 0 9px 38px;
    font-size: var(--b11-sm); color: var(--b11-sub); line-height: 1.72;
    border-bottom: 1px dotted var(--b11-line2);
}
.solo-steps li:last-child { border-bottom: 0; }
.solo-steps li::before {
    content: counter(ss, decimal-leading-zero); position: absolute; left: 0; top: 8px;
    width: 26px; height: 26px; display: grid; place-items: center;
    background: var(--solo-pri); color: var(--b11-on); font-family: var(--b11-mono);
    font-size: 11px; font-weight: 800;
}
.solo-steps li b { color: var(--b11-ink); }

/* ---------- 批量清洗条 ---------- */
.solo-clean {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
    margin-top: 14px; padding: 12px 14px; background: var(--b11-card2);
    border: 1px solid var(--b11-line); font-size: var(--b11-sm);
}
.solo-clean > b { color: var(--solo-pri); font-family: var(--b11-mono); font-size: var(--b11-xs); letter-spacing: .08em; }
.solo-clean code { margin-left: auto; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
    .solo-hero { grid-template-columns: minmax(0, 1fr); }
    .solo-motif { order: -1; }
}
@media (max-width: 560px) {
    .solo-clean code { margin-left: 0; }
    .solo-board-acts { width: 100%; }
}
