/* ==========================================================================
   16 · 皮革包鞋保养 —— LEATHER CARE LOG
   独立设计：深棕皮革 + 铜金缝线；皮种卡是带虚线针脚的「皮革样片」，
   症状处置为竖向缝合链，周期年历是四宫格票券，与其它工具无共用布局。
   ========================================================================== */
.lcg {
    --hg-paper:      #f5f0e8;
    --hg-paper-2:    #e9dfd0;
    --hg-card:       #fffcf5;
    --hg-card-2:     #f2e9db;
    --hg-ink:        #2e2117;
    --hg-ink-2:      #5a4634;
    --hg-ink-3:      #907a62;
    --hg-line:       #ddcdb6;
    --hg-line-2:     #c2aa8a;
    --hg-brand:      #6b4423;
    --hg-brand-2:    #a8803f;
    --hg-brand-soft: #f0e3cd;
    --hg-on-brand:   #fffaf0;
    background: var(--hg-paper);
}
:root[data-theme="dark"] .lcg {
    --hg-paper:      #15110d;
    --hg-paper-2:    #201911;
    --hg-card:       #1c1610;
    --hg-card-2:     #261d14;
    --hg-ink:        #f4e9d9;
    --hg-ink-2:      #cdb99c;
    --hg-ink-3:      #987f62;
    --hg-line:       #392c1d;
    --hg-line-2:     #503c26;
    --hg-brand:      #d3a56e;
    --hg-brand-2:    #e2c188;
    --hg-brand-soft: #332514;
    --hg-on-brand:   #1a1008;
}
.lcg .hg2-btn { border-radius: 2px; }

/* ---------- 首屏：皮纹底 + 速诊台 ---------- */
.lcg-hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); border-bottom: 2px solid var(--hg-line-2); }
.lcg-hero-copy { padding: 44px 44px 46px 0; }
.lcg-kicker { display: inline-block; font: 700 11.5px/1.5 var(--hg-mono); letter-spacing: .18em; color: var(--hg-brand); border-left: 3px solid var(--hg-brand); padding-left: 10px; margin-bottom: 22px; }
.lcg-hero h1 { margin-bottom: 20px; }
.lcg-lede { font-size: 16px; line-height: 1.92; max-width: 55ch; }
.lcg-lede b { box-shadow: inset 0 -.4em 0 var(--hg-brand-soft); }
.lcg-points { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--hg-line); }
.lcg-points li { position: relative; padding: 9px 0 9px 22px; border-bottom: 1px solid var(--hg-line); font-size: 13.5px; line-height: 1.75; color: var(--hg-ink-2); margin: 0; }
.lcg-points li::before { content: '✚'; position: absolute; left: 2px; top: 9px; color: var(--hg-brand-2); font-size: 11px; }
.lcg-points b { color: var(--hg-ink); }
.lcg-hero-note { margin: 20px 0 0; font-size: 12.5px; line-height: 1.8; color: var(--hg-ink-3); }

.lcg-quick { position: relative; padding: 28px 30px 32px; border-left: 1px dashed var(--hg-line-2); background: var(--hg-card); }
.lcg-quick::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; border-left: 1px dashed var(--hg-line-2); }
.lcg-quick-hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; font: 700 11.5px/1.5 var(--hg-mono); letter-spacing: .1em; color: var(--hg-ink-3); }
.lcg-quick-hd b { color: var(--hg-brand); border: 1px solid var(--hg-line-2); padding: 2px 8px; font-size: 11px; }
.lcg-quick-syms { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.lcg-quick-btns { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 18px; }
.lcg-quick-btns .hg2-btn { flex: 1 1 auto; }
.lcg-quick .hg2-hint { margin-top: 14px; }

/* ---------- 01 皮种：皮革样片 + 针脚 ---------- */
.lcg-leathers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lcg-leather { position: relative; padding: 16px; border: 1px solid var(--hg-line); border-radius: 4px; background: var(--hg-card); cursor: pointer; text-align: left; font-family: var(--hg-body); transition: border-color .16s, background .16s; }
.lcg-leather::after { content: ''; position: absolute; inset: 5px; border: 1px dashed var(--hg-line-2); border-radius: 2px; pointer-events: none; }
.lcg-leather:hover { border-color: var(--hg-brand-2); }
.lcg-leather.is-on { border-color: var(--hg-brand); background: var(--hg-brand-soft); }
.lcg-swatch { display: block; height: 42px; border-radius: 2px; margin-bottom: 12px; border: 1px solid rgba(0, 0, 0, .08); }
.lcg-leather h3 { font-family: var(--hg-display); font-size: 18px; margin-bottom: 5px; }
.lcg-leather .lcg-leather-meta { font: 700 11.5px/1.6 var(--hg-mono); color: var(--hg-brand); }
.lcg-leather p { font-size: 12.5px; line-height: 1.75; color: var(--hg-ink-2); margin: 7px 0 0; }

/* ---------- 02 处置链 ---------- */
.lcg-chain { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; }
.lcg-chain-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--hg-line); background: var(--hg-card); }
.lcg-chain-list li { position: relative; display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--hg-line); }
.lcg-chain-list li:last-child { border-bottom: 0; }
.lcg-chain-list li::before { content: ''; position: absolute; left: 36px; top: 38px; bottom: -14px; border-left: 1px dashed var(--hg-line-2); }
.lcg-chain-list li:last-child::before { display: none; }
.lcg-chain-no { width: 30px; height: 30px; border: 1px solid var(--hg-line-2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font: 700 12px/1 var(--hg-mono); color: var(--hg-brand); background: var(--hg-card-2); }
.lcg-chain-txt b { display: block; font-size: 14px; color: var(--hg-ink); }
.lcg-chain-txt span { display: block; font-size: 12.5px; line-height: 1.75; color: var(--hg-ink-2); margin-top: 3px; }
.lcg-dont { border: 1px solid var(--hg-line); border-top: 4px solid var(--hg-bad); background: var(--hg-card); padding: 18px 20px; }
.lcg-dont h3 { font-family: var(--hg-display); font-size: 18px; margin-bottom: 10px; }
.lcg-dont ul { margin: 0; padding-left: 1.2em; font-size: 13px; line-height: 1.9; color: var(--hg-ink-2); }
.lcg-dont li { margin-bottom: 7px; }
.lcg-dont b { color: var(--hg-bad); }

/* ---------- 03 周期年历：四宫格票券 ---------- */
.lcg-calendar { border: 1px solid var(--hg-line); background: var(--hg-card); padding: 20px 22px 22px; }
.lcg-cal-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.lcg-cal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hg-line); border: 1px solid var(--hg-line); }
.lcg-cal-cell { position: relative; background: var(--hg-card); padding: 16px 16px 18px; }
.lcg-cal-cell::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--hg-brand); opacity: .75; }
.lcg-cal-cell span { display: block; font: 700 11px/1.5 var(--hg-mono); letter-spacing: .1em; color: var(--hg-ink-3); }
.lcg-cal-cell strong { display: block; font: 700 20px/1.4 var(--hg-mono); color: var(--hg-brand); margin: 4px 0; }
.lcg-cal-cell small { display: block; font-size: 11.5px; color: var(--hg-ink-3); line-height: 1.65; }
.lcg-cal-cell.is-na strong { color: var(--hg-ink-3); }
.lcg-cal-note { margin-top: 14px; padding: 11px 14px; background: var(--hg-card-2); font-size: 13px; line-height: 1.85; color: var(--hg-ink-2); }
.lcg-btn-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; align-items: center; }

/* ---------- 卡片 / 结果 ---------- */
.lcg-card { background: var(--hg-card); border: 1px solid var(--hg-line); border-radius: 4px; padding: 20px 22px 22px; }
.lcg-card-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--hg-line); }
.lcg-card-hd h3 { font-family: var(--hg-display); font-size: 19px; }
.lcg-card-hd span { font: 11.5px/1.5 var(--hg-mono); color: var(--hg-ink-3); }
.lcg-result-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lcg-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hg-line); border: 1px solid var(--hg-line); margin-bottom: 18px; }
.lcg-kpi { background: var(--hg-card); padding: 16px 18px; }
.lcg-kpi span { display: block; font-size: 12px; color: var(--hg-ink-3); }
.lcg-kpi strong { display: block; font: 700 20px/1.4 var(--hg-mono); color: var(--hg-brand); margin-top: 4px; }
.lcg-kpi small { display: block; font-size: 11.5px; color: var(--hg-ink-3); }
.lcg-todo { margin: 0; padding-left: 1.3em; font-size: 13.5px; line-height: 1.9; color: var(--hg-ink-2); }
.lcg-todo li { margin-bottom: 8px; }
.lcg-todo b, .lcg-ask b { color: var(--hg-ink); }
.lcg-ask p { padding-left: 14px; border-left: 2px solid var(--hg-brand-soft); margin-bottom: 9px; font-size: 13.5px; line-height: 1.85; }
.lcg-figure { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--hg-line-2); text-align: center; }
.lcg-figure img { max-width: 100%; height: auto; display: block; margin: 0 auto 8px; }
.lcg-figure span { font: 11.5px/1.6 var(--hg-mono); color: var(--hg-ink-3); letter-spacing: .06em; }
.lcg-result-btns { padding-top: 18px; border-top: 1px solid var(--hg-line); margin-top: 22px; }

/* ---------- 05 批量 ---------- */
.lcg-batch { border: 1px solid var(--hg-line); background: var(--hg-card); padding: 20px 22px; }
.lcg-clean { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 14px; }
.lcg-clean > b { width: 100%; font-size: 12.5px; color: var(--hg-ink-2); }
.lcg-preview { width: 100%; margin-top: 6px; padding: 8px 10px; background: var(--hg-card-2); font: 12px/1.7 var(--hg-mono); color: var(--hg-ink-3); word-break: break-all; }
.lcg-batch-tbl { margin-top: 16px; }

@media (max-width: 980px) {
    .lcg-hero, .lcg-chain, .lcg-result-cols { grid-template-columns: 1fr; }
    .lcg-hero-copy { padding-right: 0; }
    .lcg-quick { border-left: 0; border-top: 1px dashed var(--hg-line-2); }
    .lcg-leathers { grid-template-columns: 1fr 1fr; }
    .lcg-cal-grid, .lcg-kpis { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .lcg-leathers, .lcg-cal-fields, .lcg-cal-grid, .lcg-kpis { grid-template-columns: 1fr; }
}
