/* =====================================================================
 * theme-labneer.css — labneer「长文方案」模板（依赖 base.css）
 * 适用：labneer.2026.html（中 / 英）
 * 引用：
 *   <link rel="stylesheet" href="/assets/base.css">
 *   <link rel="stylesheet" href="/assets/theme-labneer.css">
 * ===================================================================== */

:root{
  --ink:#232a33; --sub:#5d6675; --line:#e3e6ec;
  --paper:#faf9f6; --card:#f3f1ea;
  --blue:#2c5aa0; --blue-bg:#eef3fb;
  --green:#2e7d5b; --green-bg:#e8f4ee;
  --amber:#9a6a1a; --amber-bg:#f7f0e2;
  --red:#b23b30; --red-bg:#f8ebe9;
}

body{background:var(--paper); color:var(--ink);}

/* —— 顶栏（署名条，非 hero） —— */
header.bar{
  border-bottom:1px solid var(--line); padding:22px 0 18px;
  display:flex; flex-wrap:wrap; align-items:baseline; gap:14px;
  justify-content:space-between;
}
header.bar .wm{font-size:clamp(18px,4.5vw,21px); font-weight:800; letter-spacing:.5px;}
header.bar .wm b{color:var(--blue);}
header.bar .by{font-size:13px; color:var(--sub);}

/* —— 正文 —— */
p{margin:11px 0;}
h2{
  font-size:clamp(18px,4.5vw,21px); margin:42px 0 4px; padding-bottom:8px;
  border-bottom:2px solid var(--ink); display:flex; gap:10px; align-items:baseline;
}
h2 .n{color:var(--blue); font-weight:800; font-size:16px; flex:0 0 auto;}
h3{font-size:16.5px; margin:22px 0 4px; color:var(--ink);}
ul,ol{padding-left:22px; margin:8px 0;}
li{margin:6px 0;}
strong{color:var(--ink);}

/* —— 引述块 —— */
.quote{border-left:3px solid var(--blue); background:#fff;
  padding:14px 18px; margin:16px 0; font-size:16px;}
.quote.green{border-left-color:var(--green);}
.quote.amber{border-left-color:var(--amber);}
.quote.red{border-left-color:var(--red);}

.note{font-size:14px; color:var(--sub);}

/* —— 表格 —— */
table{margin:12px 0; font-size:15px;}
th,td{border-bottom:1px solid var(--line); padding:9px 10px; text-align:left; vertical-align:top;}
th{background:transparent; color:var(--blue); border-bottom:2px solid var(--line); font-weight:700;}

/* —— 标签 —— */
.tag{display:inline-block; font-size:12.5px; padding:1px 8px; border-radius:3px;
  font-weight:700; margin-right:4px;}
.t-fix{background:var(--red-bg); color:var(--red);}
.t-new{background:var(--green-bg); color:var(--green);}

.word{font-family:Consolas,Menlo,monospace; background:#eceef3;
  padding:1px 6px; border-radius:3px; font-size:14px;}

.lead{font-size:clamp(16px,4vw,17px); color:var(--ink); margin-top:22px;}

/* —— 清单（☐） —— */
.checks{list-style:none; padding-left:0;}
.checks li{padding-left:26px; position:relative; margin:7px 0;}
.checks li::before{content:"☐"; position:absolute; left:0; color:var(--blue); font-weight:700;}

/* —— 时间线 —— */
.tl{margin:14px 0;}
.tl .row{display:flex; gap:14px; padding:8px 0; border-bottom:1px dashed var(--line);}
.tl .when{flex:0 0 120px; color:var(--blue); font-weight:700; font-size:14.5px;}
.tl .what{flex:1;}
.tl .what b{color:var(--ink);}

/* —— 页脚署名 —— */
footer.sign{margin-top:48px; padding-top:18px; border-top:1px solid var(--line);
  font-size:14px; color:var(--sub);}

/* —— 来源 —— */
.src{font-size:13px; color:var(--sub);}
.src li{margin:5px 0; word-break:break-all;}
.src a{color:var(--blue); text-decoration:none;}
.src a:hover{text-decoration:underline;}

/* —— 高亮 —— */
.hi{background:linear-gradient(transparent 60%, #ffe9a8 60%); padding:0 2px;}

/* —— 响应式：窄屏 —— */
@media (max-width:560px){
  .tl .row{flex-wrap:wrap;}
  .tl .when{flex:0 0 92px; font-size:13px;}
  header.bar .by{flex-basis:100%;}
  table{font-size:14px;}
  th,td{padding:7px 8px;}
}

/* —— 打印 —— */
@media print{
  body{background:#fff;}
  .quote, .tag{background:#fff !important;}
  h2{break-after:avoid;}
  table, tr, .tl .row{break-inside:avoid;}
}
