/* footprint.html: styles extracted from the inline <style> block for caching. */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:"PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;color:#2c3e50;background:#f8faff;line-height:1.8}
a{text-decoration:none;color:inherit}.container{max-width:900px;margin:0 auto;padding:0 20px}

.top-bar{background:var(--white);border-bottom:1px solid var(--border);padding:14px 0;position:sticky;top:0;z-index:10}
.top-bar-inner{max-width:1100px;margin:0 auto;padding:0 20px;display:flex;align-items:center;justify-content:space-between}
.back-link{color:var(--primary);font-weight:600;font-size:.93rem}
.page-hero{background:linear-gradient(135deg,#00695c,#26a69a);color:#fff;padding:62px 0 54px;text-align:center}
.page-hero h1{font-size:2.05rem;font-weight:800;margin-bottom:8px}.page-hero p{font-size:.92rem;opacity:.9;max-width:680px;margin:0 auto}
.list{max-width:880px;margin:36px auto;position:relative;padding-left:26px}
.list::before{content:'';position:absolute;left:7px;top:8px;bottom:8px;width:3px;border-radius:3px;background:linear-gradient(180deg,#2b7be4,#5b9ef4,#9ecbff)}
.fp-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}
.fp-count{font-size:.8rem;color:var(--text-light);font-weight:600}
.fp-toggle-all{border:1px solid var(--border);background:var(--white);color:var(--primary);font:inherit;font-size:.8rem;font-weight:600;padding:7px 14px;border-radius:999px;cursor:pointer;transition:background .2s,border-color .2s}
.fp-toggle-all:hover{background:var(--primary-light);border-color:#c8dcfb}
details.item{position:relative;display:block;margin-bottom:14px;background:var(--white);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow);overflow:hidden}
details.item::before{content:'';position:absolute;left:-26px;top:22px;width:13px;height:13px;border-radius:50%;background:#fff;border:3px solid var(--primary);z-index:1}
details.item[open]::before{background:var(--primary)}
details.item > summary{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px;padding:16px 18px;cursor:pointer;list-style:none;outline:none}
details.item > summary::-webkit-details-marker{display:none}
details.item > summary::marker{content:''}
details.item > summary:hover{background:#f7fbff}
details.item > summary:focus-visible{box-shadow:inset 0 0 0 3px rgba(43,123,228,.25)}
.date{text-align:center;min-width:76px;background:var(--primary-light);border-radius:8px;padding:7px 10px}
.date .month{font-size:.7rem;color:var(--primary);font-weight:700;display:block;line-height:1.4}
.date .day{font-size:1.2rem;color:var(--primary);font-weight:800;display:block;line-height:1.2}
.headline{min-width:0}
.headline .title{display:block;font-size:.95rem;font-weight:700;color:var(--text);line-height:1.5}
.tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}
.tag{display:inline-block;font-size:.72rem;font-weight:700;padding:2px 9px;border-radius:999px;border:1px solid transparent}
.tag-p{background:#e8f0ff;color:#2455a4;border-color:#cfdffb}
.tag-c{background:#e6f7f1;color:#0f7a5a;border-color:#c9ecdf}
.tag-d{background:#fff2e2;color:#a8611a;border-color:#f7ddba}
.chev{width:9px;height:9px;border-right:2px solid var(--text-light);border-bottom:2px solid var(--text-light);transform:rotate(45deg);transition:transform .2s;margin-right:8px}
details.item[open] .chev{transform:rotate(-135deg)}
.info{padding:14px 18px 18px;border-top:1px dashed var(--border)}
.info p{font-size:.85rem;color:var(--text-light);line-height:1.8}
.footer-bar{text-align:center;padding:30px 0;color:var(--text-light);font-size:.82rem;border-top:1px solid var(--border);background:#fafafa}

@media(max-width:620px){
  .list{padding-left:18px}
  .list::before{left:3px}
  details.item::before{left:-18px;top:18px;width:11px;height:11px}
  details.item > summary{grid-template-columns:1fr auto;grid-template-areas:"date chev" "head head";gap:10px;padding:14px}
  .date{grid-area:date;justify-self:start;display:flex;align-items:baseline;gap:7px;min-width:0;padding:4px 12px}
  .date .month{font-size:.72rem}
  .date .day{font-size:.95rem}
  .headline{grid-area:head}
  .chev{grid-area:chev;justify-self:end;margin-right:4px}
}

/* 新增：条目配图（来源：实践足迹.docx） */
.info{min-width:0}
.fp-figure{margin:12px 0 2px;max-width:520px;background:var(--white);border:1px solid var(--border);border-radius:10px;overflow:hidden}
.fp-figure a{display:block;background:#f4f8fd}
.fp-figure img{display:block;width:100%;height:auto;cursor:zoom-in;transition:transform .25s ease}
.fp-figure a:hover img{transform:scale(1.02)}
.fp-figure figcaption{padding:8px 12px;font-size:.78rem;color:var(--text-light);line-height:1.5;border-top:1px solid #eef3f7}
@media(max-width:520px){.fp-figure{max-width:none}}
