/* =====================================================================
 * 06 车辆长期停放清单 · PARKING TIMELINE
 * 独立设计：灰蓝底 + 琥珀仪表；首屏右半为可拖动的天数刻度圆环，
 * 主体为三条横向「检查带」，每条左侧是粗数字轨、右侧是可勾选项；
 * 时间节点用圆点纵轴。
 * ===================================================================== */
.clp {
    --ag-bg: #eff2f6;
    --ag-bg2: #e2e8f0;
    --ag-surface: #ffffff;
    --ag-surface2: #f6f8fb;
    --ag-ink: #22303f;
    --ag-ink2: #4e5f71;
    --ag-muted: #8593a3;
    --ag-line: #d9e1ea;
    --ag-line2: #c1cedc;
    --ag-accent: #3d6480;
    --ag-accent2: #c98620;
    --ag-on: #f5f9fc;
    --ag-ok: #1d7455;
    --ag-okbg: #e0f2e9;
    --ag-warn: #9a6416;
    --ag-warnbg: #fbefd5;
    --ag-bad: #ad423c;
    --ag-badbg: #fae8e6;
    --ag-info: #356b8c;
    --ag-infobg: #e5f0f7;
    --ag-r: 12px;
    --ag-shadow: 0 8px 26px rgba(34, 48, 63, .08);
    --ag-h: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
    --ag-b: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
    --ag-m: "JetBrains Mono", Consolas, monospace;
}
:root[data-theme="dark"] .clp {
    --ag-bg: #10161d;
    --ag-bg2: #18222c;
    --ag-surface: #1a242f;
    --ag-surface2: #202c38;
    --ag-ink: #e9eff5;
    --ag-ink2: #b0bfcd;
    --ag-muted: #8697a7;
    --ag-line: #2c3a48;
    --ag-line2: #3b4c5d;
    --ag-accent: #8fb6d0;
    --ag-accent2: #e9b75f;
    --ag-on: #111a22;
    --ag-ok: #7fd0a7;
    --ag-okbg: #17352a;
    --ag-warn: #e6bd73;
    --ag-warnbg: #382c17;
    --ag-bad: #ef9a90;
    --ag-badbg: #3a221f;
    --ag-info: #8dc2dd;
    --ag-infobg: #1b323f;
    --ag-shadow: 0 12px 32px rgba(0, 0, 0, .4);
}
.clp { background: var(--ag-bg) linear-gradient(180deg, rgba(61, 100, 128, .05), transparent 320px) no-repeat; }
.clp h1, .clp h2, .clp h3 { letter-spacing: -.02em; }
.clp input, .clp select, .clp textarea {
    width: 100%; background: var(--ag-surface2); color: var(--ag-ink);
    border: 1px solid var(--ag-line2); border-radius: 8px; padding: 8px 10px;
    font-size: 13.5px; line-height: 1.6; outline: none;
}
.clp input:focus, .clp select:focus, .clp textarea:focus { border-color: var(--ag-accent); box-shadow: 0 0 0 3px rgba(61, 100, 128, .12); }
.clp textarea { resize: vertical; font-family: var(--ag-m); font-size: 12.5px; }
.clp label { display: block; font-size: 12px; font-weight: 650; color: var(--ag-ink2); margin-bottom: 5px; }
.clp code { background: var(--ag-bg2); color: var(--ag-accent); }

/* ---------- 首屏 ---------- */
.clp-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.clp-copy { padding: 34px 30px; background: var(--ag-surface); border: 1px solid var(--ag-line); border-radius: var(--ag-r); box-shadow: var(--ag-shadow); }
.clp-kicker { display: inline-block; font-family: var(--ag-m); font-size: 10px; letter-spacing: .2em; color: var(--ag-accent2); background: var(--ag-warnbg); border-radius: 5px; padding: 5px 12px; margin-bottom: 18px; }
.clp-hero h1 { font-size: clamp(29px, 3.5vw, 44px); font-weight: 850; margin-bottom: 14px; }
.clp-lede { font-size: 14.5px; line-height: 2; color: var(--ag-ink2); max-width: 39em; }
.clp-lede b { color: var(--ag-accent); font-weight: 750; }
.clp-facts { display: grid; gap: 9px; margin-top: 24px; }
.clp-facts > div { display: flex; align-items: baseline; gap: 12px; padding: 9px 12px; border-left: 3px solid var(--ag-accent2); background: var(--ag-surface2); }
.clp-facts b { font-size: 13px; white-space: nowrap; }
.clp-facts small { font-size: 11.5px; color: var(--ag-muted); line-height: 1.7; }
.clp-art { display: block; width: 100%; max-width: 290px; height: auto; margin: 22px 0 0 auto; opacity: .85; }

.clp-gauge-card { padding: 24px 26px; background: var(--ag-surface); border: 1px solid var(--ag-line); border-top: 4px solid var(--ag-accent); border-radius: var(--ag-r); box-shadow: var(--ag-shadow); }
.clp-gauge-hd { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--ag-line); padding-bottom: 10px; margin-bottom: 18px; }
.clp-gauge-hd b { font-size: 17px; }
.clp-gauge-hd span { font-family: var(--ag-m); font-size: 10px; letter-spacing: .16em; color: var(--ag-muted); }
.clp-gauge { display: flex; align-items: center; gap: 24px; margin-bottom: 18px; }
.clp-ring { width: 148px; height: 148px; flex: none; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--ag-accent2) 0deg, var(--ag-accent2) 30deg, var(--ag-bg2) 30deg 360deg); transition: background .2s; }
.clp-ring-in { width: 116px; height: 116px; border-radius: 50%; background: var(--ag-surface); display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--ag-line); }
.clp-ring-in b { font-family: var(--ag-m); font-size: 34px; line-height: 1.2; color: var(--ag-ink); }
.clp-ring-in small { font-size: 10.5px; color: var(--ag-muted); }
.clp-gauge-side { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: baseline; font-size: 12px; flex: 1; }
.clp-gauge-side > span { color: var(--ag-muted); }
.clp-gauge-side > b { font-family: var(--ag-m); font-size: 13px; color: var(--ag-ink); }
.clp-stage-tag { color: var(--ag-accent2) !important; }
.clp-gauge-card > label { display: flex; align-items: baseline; justify-content: space-between; }
.clp-gauge-card output { font-family: var(--ag-m); font-size: 12px; color: var(--ag-accent); }
.clp input[type="range"] { padding: 0; height: 6px; border: 0; background: var(--ag-bg2); accent-color: var(--ag-accent2); box-shadow: none; }
.clp-ticks { display: flex; justify-content: space-between; font-family: var(--ag-m); font-size: 10px; color: var(--ag-muted); margin-top: 4px; }
.clp-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-top: 18px; }
.clp-quick-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.clp-quick-note { font-size: 11.5px; line-height: 1.8; color: var(--ag-muted); margin: 12px 0 0; padding-top: 10px; border-top: 1px dashed var(--ag-line2); }

/* ---------- 按钮 ---------- */
.clp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 17px; border-radius: 8px; font-size: 13px; font-weight: 750; border: 1px solid transparent; transition: transform .13s, box-shadow .13s, background .13s; }
.clp-btn:hover { transform: translateY(-1px); }
.clp-btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.clp-btn-main { background: var(--ag-accent); color: #fff; box-shadow: 0 6px 15px rgba(61, 100, 128, .2); }
.clp-btn-soft { background: var(--ag-accent2); color: #fff; }
.clp-btn-line { background: transparent; color: var(--ag-ink2); border-color: var(--ag-line2); }
.clp-btn-line:hover { border-color: var(--ag-accent); color: var(--ag-accent); }
.clp-btn-mini { padding: 5px 11px; font-size: 11.5px; }

/* ---------- 区块 ---------- */
.clp-sec-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 42px 0 16px; }
.clp-sec-hd h2 { font-size: 21px; display: flex; align-items: center; gap: 11px; }
.clp-sec-hd h2 i { font-family: var(--ag-m); font-style: normal; font-size: 10.5px; color: #fff; background: var(--ag-accent); border-radius: 5px; padding: 3px 8px; }
.clp-sec-hd span { font-size: 12px; color: var(--ag-muted); }
.clp-thresholds { display: grid; grid-template-columns: repeat(3, 1fr) 1.25fr; gap: 12px; align-items: end; background: var(--ag-surface); border: 1px solid var(--ag-line); border-radius: var(--ag-r); padding: 16px 18px; }
.clp-th-note { font-size: 11.5px; line-height: 1.8; color: var(--ag-muted); padding-bottom: 8px; }
.clp-th-note b { color: var(--ag-accent2); }
.clp-err { margin-top: 12px; padding: 10px 13px; background: var(--ag-badbg); color: var(--ag-bad); border-radius: 8px; font-size: 12.5px; }
.clp-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }

/* ---------- 三段检查带 ---------- */
.clp-bands { display: grid; gap: 12px; }
.clp-band { display: grid; grid-template-columns: 128px 1fr; background: var(--ag-surface); border: 1px solid var(--ag-line); border-radius: var(--ag-r); overflow: hidden; }
.clp-band-rail { padding: 20px 16px; background: var(--ag-bg2); border-right: 1px solid var(--ag-line); display: flex; flex-direction: column; gap: 6px; }
.clp-band-rail i { font-family: var(--ag-m); font-style: normal; font-size: 11px; color: var(--ag-accent2); letter-spacing: .1em; }
.clp-band-rail b { font-size: 17px; line-height: 1.4; }
.clp-band-rail small { font-size: 11px; color: var(--ag-muted); line-height: 1.7; }
.clp-band-rail .pct { margin-top: auto; font-family: var(--ag-m); font-size: 13px; color: var(--ag-accent); }
.clp-band-body { padding: 14px 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; align-content: start; }
.clp-item { display: flex; align-items: flex-start; gap: 9px; padding: 9px 11px; border: 1px solid var(--ag-line); border-radius: 8px; background: var(--ag-surface2); cursor: pointer; font-size: 12.5px; line-height: 1.7; }
.clp-item input { width: 15px; height: 15px; flex: none; accent-color: var(--ag-accent); margin-top: 3px; }
.clp-item.is-on { border-color: var(--ag-ok); background: var(--ag-okbg); }
.clp-item b { display: block; }
.clp-item small { display: block; font-size: 10.5px; color: var(--ag-muted); line-height: 1.6; }
.clp-item.lv1.is-on { border-color: var(--ag-accent2); }

/* ---------- 结果 ---------- */
.clp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.clp-stat { background: var(--ag-surface); border: 1px solid var(--ag-line); border-radius: 10px; padding: 12px 15px; }
.clp-stat small { display: block; font-size: 11px; color: var(--ag-muted); }
.clp-stat b { display: block; font-family: var(--ag-m); font-size: 20px; line-height: 1.5; }
.clp-result-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 14px; }
.clp-panel { background: var(--ag-surface); border: 1px solid var(--ag-line); border-radius: var(--ag-r); padding: 18px 20px; min-width: 0; }
.clp-panel-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--ag-line); padding-bottom: 9px; margin-bottom: 12px; }
.clp-panel-hd.mt { margin-top: 20px; }
.clp-panel-hd h3 { font-size: 16px; }
.clp-panel-hd span { font-size: 11px; color: var(--ag-muted); }
.clp-timeline { list-style: none; margin: 0; padding: 0 0 0 6px; }
.clp-timeline li { position: relative; padding: 0 0 16px 26px; border-left: 2px solid var(--ag-line2); font-size: 12.5px; line-height: 1.8; color: var(--ag-ink2); }
.clp-timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.clp-timeline li::before { content: ""; position: absolute; left: -7px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--ag-accent2); border: 2px solid var(--ag-surface); }
.clp-timeline li b { display: block; font-family: var(--ag-m); color: var(--ag-ink); font-size: 12px; }
.clp-todos { display: grid; gap: 7px; }
.clp-todo { display: flex; gap: 9px; align-items: flex-start; padding: 8px 10px; border-radius: 7px; background: var(--ag-surface2); border-left: 3px solid var(--ag-line2); font-size: 12.3px; line-height: 1.75; }
.clp-todo.lv1 { border-left-color: var(--ag-accent2); background: var(--ag-warnbg); }
.clp-todo i { font-family: var(--ag-m); font-style: normal; font-size: 10px; color: var(--ag-muted); flex: none; }
.clp-reset { margin: 0; padding-left: 20px; font-size: 12.5px; line-height: 1.9; color: var(--ag-ink2); }
.clp-reset li { margin-bottom: 5px; }
.clp-reset b { color: var(--ag-accent); }
.clp-scroll { overflow-x: auto; margin-top: 16px; }
.clp-table { width: 100%; min-width: 780px; font-size: 12.5px; }
.clp-table th { text-align: left; background: var(--ag-bg2); color: var(--ag-ink2); font-size: 11px; padding: 8px 10px; border-bottom: 2px solid var(--ag-line2); white-space: nowrap; }
.clp-table td { padding: 8px 10px; border-bottom: 1px dotted var(--ag-line); line-height: 1.7; }
.clp-clean { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 12px; font-size: 11.5px; }
.clp-clean > b { color: var(--ag-ink2); }
.clp-clean #clpPreview { flex: 1 1 100%; font-family: var(--ag-m); font-size: 11px; color: var(--ag-muted); background: var(--ag-surface2); border-left: 2px solid var(--ag-accent2); border-radius: 4px; padding: 6px 9px; overflow-wrap: anywhere; white-space: normal; }
.clp-panel > label { font-size: 12px; margin-bottom: 8px; line-height: 1.8; }
.clp-read { margin-top: 46px; padding: 26px 28px; border-radius: var(--ag-r); background: var(--ag-surface); border: 1px solid var(--ag-line); }
.clp-read h2 { font-size: 21px; margin-bottom: 16px; }
.clp-read p { font-size: 14px; line-height: 2.05; color: var(--ag-ink2); margin-bottom: 14px; }
.clp-read p:last-child { margin-bottom: 0; }
.clp-read b { color: var(--ag-accent); border-bottom: 2px solid var(--ag-warnbg); }

@media (max-width: 1080px) {
    .clp-hero { grid-template-columns: 1fr; }
    .clp-art { display: none; }
    .clp-thresholds { grid-template-columns: repeat(3, 1fr); }
    .clp-th-note { grid-column: 1 / -1; padding-bottom: 0; }
    .clp-result-grid { grid-template-columns: 1fr; }
    .clp-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .clp-copy, .clp-gauge-card { padding: 22px 16px; }
    .clp-gauge { gap: 14px; }
    .clp-ring { width: 118px; height: 118px; }
    .clp-ring-in { width: 92px; height: 92px; }
    .clp-ring-in b { font-size: 26px; }
    .clp-fields, .clp-thresholds { grid-template-columns: 1fr 1fr; }
    .clp-band { grid-template-columns: 1fr; }
    .clp-band-rail { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 10px; border-right: 0; border-bottom: 1px solid var(--ag-line); padding: 12px 14px; }
    .clp-band-rail .pct { margin: 0 0 0 auto; }
    .clp-band-body { grid-template-columns: 1fr; }
    .clp-read { padding: 20px 18px; }
}
