/* look-gate: on */
/* 总账 · 资产折旧页。复用工资表页 gl_payroll.css 的同一套令牌与版式（.glp→.gld），不另造颜色：
   墨/灰/线/蓝/绿/红六个令牌与之一致；选中 chip 用壳令牌 --sh-blue-soft（极浅底 + 品牌蓝字，§3F F2），
   未生成原因的中性胶囊用 --g-wash 底 + --g-ink2 字。骨架呼吸 1.4s（§3E/§3G）。 */
html.sh-on .gld{--g-ink:#101828;--g-ink2:#475467;--g-line:#e4e7ec;--g-ctl:#d0d5dd;--g-blue:#0265c2;--g-wash:#f9fafb;--g-ok:#067647;--g-ok-bg:#ecfdf3;--g-bad:#b42318;--g-bad-bg:#fef3f2;
  padding:16px 0;max-width:1280px;color:var(--g-ink);font-size:16px;line-height:24px}
html.sh-on .gld *{box-sizing:border-box}
html.sh-on .gld h1, html.sh-on .gld .gld-h1{margin:0 0 16px;font-size:24px;line-height:32px;font-weight:600}
html.sh-on .gld h2.gld-h2{margin:24px 0 0;font-size:20px;line-height:28px;font-weight:600}
html.sh-on .gld .gld-bar{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:center;margin:0 0 16px}
html.sh-on .gld .gld-bar label{display:inline-flex;align-items:center;gap:8px;color:var(--g-ink2);font-size:13px;line-height:20px}
html.sh-on .gld input{min-height:32px;border:1px solid var(--g-ctl);border-radius:8px;padding:0 8px;background:#fff;color:var(--g-ink);font-size:13px;line-height:20px}
html.sh-on .gld .gld-btn{display:inline-flex;align-items:center;justify-content:center;min-height:32px;border:1px solid var(--g-ctl);background:#fff;color:var(--g-ink);border-radius:8px;padding:0 16px;font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap}
html.sh-on .gld .gld-btn:hover:not(:disabled){background:var(--g-wash)}
html.sh-on .gld .gld-btn.primary,html.sh-on .gld .gld-btn.primary:hover:not(:disabled){background:var(--g-blue);border-color:var(--g-blue);color:#fff}
html.sh-on .gld .gld-btn:disabled{opacity:.5;cursor:default}
html.sh-on .gld .gld-dim{color:var(--g-ink2);font-size:13px;line-height:20px;margin:8px 0}
html.sh-on .gld .gld-strip{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 16px;padding:16px;border:1px solid var(--g-line);border-radius:12px;background:#fff;margin-bottom:16px}
html.sh-on .gld .gld-strip-l{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px}
html.sh-on .gld .gld-strip-s{font-size:16px;line-height:24px;font-weight:600}
html.sh-on .gld .gld-num{display:inline-flex;flex-direction:column}
html.sh-on .gld .gld-num b{font-size:20px;line-height:28px}
html.sh-on .gld .gld-num small{font-size:13px;line-height:20px;color:var(--g-ink2)}
html.sh-on .gld .gld-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
html.sh-on .gld .gld-chip{min-height:32px;border:1px solid var(--g-ctl);border-radius:999px;background:#fff;color:var(--g-ink2);padding:0 12px;font-size:13px;line-height:20px;font-weight:400;cursor:pointer;white-space:nowrap}
html.sh-on .gld .gld-chip.on{background:var(--sh-blue-soft,#eaf3fc);border-color:var(--g-blue);color:var(--g-blue);font-weight:600}
html.sh-on .gld .gld-pill{display:inline-flex;align-items:center;height:24px;border-radius:999px;padding:0 8px;font-size:13px;line-height:20px;font-weight:600;white-space:nowrap}
html.sh-on .gld .gld-pill.ok{background:var(--g-ok-bg);color:var(--g-ok);border:1px solid var(--g-ok)}
html.sh-on .gld .gld-pill.bad{background:var(--g-bad-bg);color:var(--g-bad);border:1px solid var(--g-bad)}
html.sh-on .gld .gld-link{background:none;border:0;padding:0;color:var(--g-blue);font-size:13px;line-height:20px;font-weight:600;cursor:pointer;text-align:left;white-space:normal}
html.sh-on .gld .gld-twrap{overflow-x:auto;margin:16px 0}
html.sh-on .gld table.gld-t{width:100%;border-collapse:collapse;font-size:13px;line-height:20px}
html.sh-on .gld table.gld-t th,html.sh-on .gld table.gld-t td{padding:0 8px;height:40px;border-bottom:1px solid var(--g-line);text-align:left;vertical-align:middle;white-space:nowrap}
html.sh-on .gld table.gld-t td.wrap{white-space:normal}
html.sh-on .gld table.gld-t th.num,html.sh-on .gld table.gld-t td.num{text-align:right;white-space:nowrap}
html.sh-on .gld table.gld-t tr.gld-detail td{white-space:normal;color:var(--g-ink2);background:var(--g-wash)}
html.sh-on .gld .gld-pager{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:0 0 16px;color:var(--g-ink2);font-size:13px;line-height:20px}
html.sh-on .gld .gld-skel{display:flex;flex-direction:column;gap:8px;padding:16px}
html.sh-on .gld .gld-sk{height:16px;background:var(--g-wash);border-radius:8px;animation:gld-pulse 1.4s infinite}
html.sh-on .gld .gld-empty{padding:24px;border:1px dashed var(--g-ctl);border-radius:12px;color:var(--g-ink2);font-size:13px;line-height:20px}
html.sh-on .gld .gld-empty.bad{border-color:#fecdca;background:var(--g-bad-bg)}
html.sh-on .gld .gld-empty.bad b{display:block;color:var(--g-ink);font-size:16px;line-height:24px;margin-bottom:8px}
html.sh-on .gld .gld-empty p{margin:0 0 8px}
html.sh-on .gld .gld-note{padding:8px 12px;border-radius:8px;margin:8px 0;font-size:13px;line-height:20px}
html.sh-on .gld .gld-note.ok{background:var(--g-ok-bg);color:var(--g-ok)}
html.sh-on .gld .gld-note.err{background:var(--g-bad-bg);color:var(--g-bad)}
html.sh-on .gld .gldv{margin-top:24px}
html.sh-on .gld .gldv-form{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;margin:12px 0}
html.sh-on .gld .gldv-form label{display:inline-flex;flex-direction:column;gap:4px;font-size:13px;color:var(--g-ink2)}
html.sh-on .gld .gldv-form select{min-height:32px;border:1px solid var(--g-ctl);border-radius:8px;padding:0 8px;background:#fff;font-size:13px}
html.sh-on .gld .gldv-form .gld-dim{flex-basis:100%}
html.sh-on .gld .gldv-form label.gldv-check{flex-direction:row;align-items:center;gap:8px;min-height:32px}
html.sh-on .gld .gldv-form label.gldv-check input{min-height:0}
html.sh-on .gld .gld-note.info{background:var(--g-wash);color:var(--g-ink)}
@media (max-width: 900px){
  html.sh-on .gld h1, html.sh-on .gld .gld-h1{font-size:20px;line-height:28px}
  html.sh-on .gld .gld-btn{min-height:44px}
  html.sh-on .gld .gld-chip{min-height:44px}
  html.sh-on .gld input{min-height:44px}
  html.sh-on .gld .gld-twrap::before{content:"表格可左右滑动查看";display:block;position:sticky;left:0;color:var(--g-ink2);font-size:13px;line-height:20px;margin:0 0 4px}
  html.sh-on .gld .gldv-form select{min-height:44px;width:100%}
  html.sh-on .gld .gldv-form label{width:100%}
  html.sh-on .gld .gldv .gld-btn{width:100%;margin-top:8px}
}
