/* look-gate: on */
/* 总账 · 报税页（web/gl_filing.js；gl-agent 线）。照设计总纲：字阶 13/16/20/24、间距 4 的倍数、圆角 8/12/999、一个强调色（品牌蓝）、语义色只在小面积状态胶囊里。
   ★ 所有规则以 `html.sh-on .glf` 开头（壳开启才有对应 DOM；壳关一条不命中，tests/test_gl_filing_css_scoping.py 守着）。 */
html.sh-on .glf{--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 .glf *{box-sizing:border-box}
html.sh-on .glf h2{margin:0 0 16px;font-size:20px;line-height:28px;font-weight:600}
html.sh-on .glf h1{margin:0 0 16px;font-size:24px;line-height:32px;font-weight:600}
html.sh-on .glf h3{margin:24px 0 4px;font-size:16px;line-height:24px;font-weight:600}
html.sh-on .glf b,html.sh-on .glf strong{font-weight:600}
html.sh-on .glf .glf-dim{color:var(--g-ink2);font-size:13px;line-height:20px;margin:8px 0}
html.sh-on .glf label,html.sh-on .glf select,html.sh-on .glf input,html.sh-on .glf summary,html.sh-on .glf table.facts th,html.sh-on .glf table.facts td{font-size:13px;line-height:20px}
html.sh-on .glf .glf-bar{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:center;margin:0 0 16px}
html.sh-on .glf .glf-bar label{display:inline-flex;align-items:center;gap:8px;color:var(--g-ink2)}
html.sh-on .glf select,html.sh-on .glf input{min-height:32px;border:1px solid var(--g-ctl);border-radius:8px;padding:0 8px;background:#fff;color:var(--g-ink)}
html.sh-on .glf .glf-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 .glf .glf-btn:hover:not(:disabled){background:var(--g-wash)}
html.sh-on .glf .glf-btn.primary,html.sh-on .glf .glf-btn.primary:hover:not(:disabled){background:var(--g-blue);border-color:var(--g-blue);color:#fff}
html.sh-on .glf .glf-btn:disabled{opacity:.5;cursor:default}
html.sh-on .glf .glf-concl{margin:0 0 16px;padding:8px 12px;border-radius:8px;background:#f5f8fc;color:var(--g-ink2);font-size:13px;line-height:20px}
/* GATE15-select-wide */
html.sh-on .glf #glfQ{min-width:220px}
html.sh-on .glf summary{display:list-item;list-style-position:inside;min-height:32px;line-height:32px}
html.sh-on .glf #glfFrom,html.sh-on .glf #glfTo{width:112px;min-height:32px;box-sizing:border-box}
/* 结论带：一句话 + 至多 2 个关键数 + 1 个主动作 */
html.sh-on .glf .glf-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}
html.sh-on .glf .glf-strip-l{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px}
html.sh-on .glf .glf-strip-s{font-size:16px;line-height:24px;font-weight:600}
html.sh-on .glf .glf-num{display:inline-flex;flex-direction:column}
html.sh-on .glf .glf-num b{font-size:20px;line-height:28px}
html.sh-on .glf .glf-num b.ok{color:var(--g-ok)}
html.sh-on .glf .glf-num b.bad{color:var(--g-bad)}
html.sh-on .glf .glf-num small{font-size:13px;line-height:20px;color:var(--g-ink2)}
/* 状态胶囊 */
html.sh-on .glf .glf-pill{display:inline-block;white-space:nowrap;padding:0 8px;border-radius:999px;font-size:13px;line-height:20px;border:1px solid transparent}
html.sh-on .glf .glf-pill.ok{background:var(--g-ok-bg);color:var(--g-ok);border-color:#abefc6}
html.sh-on .glf .glf-pill.bad{background:var(--g-bad-bg);color:var(--g-bad);border-color:#fecdca}
html.sh-on .glf table.glf-t td.num,html.sh-on .glf table.glf-t th.num{text-align:right;white-space:nowrap}
html.sh-on .glf .glf-pend{margin-top:24px}
html.sh-on .glf .glf-pend ul{margin:8px 0 0 16px;padding:0;font-size:13px;line-height:20px}
/* 四态：空 / 加载骨架 / 出错 */
html.sh-on .glf .glf-empty{padding:24px;border:1px dashed var(--g-ctl);border-radius:12px;color:var(--g-ink2)}
html.sh-on .glf .glf-empty b{display:block;color:var(--g-ink);font-size:16px;line-height:24px}
html.sh-on .glf .glf-empty p{margin:8px 0 0;font-size:13px;line-height:20px}
html.sh-on .glf .glf-empty.bad{border-color:#fecdca;background:var(--g-bad-bg)}
html.sh-on .glf .glf-empty .glf-btn{margin-top:12px}
html.sh-on .glf .glf-skel{display:flex;flex-direction:column;gap:12px}
html.sh-on .glf .glf-sk{height:24px;border-radius:8px;background:#eceff3}
html.sh-on .glf .glf-note{padding:8px 12px;border-radius:8px;font-size:13px;line-height:20px;margin:0 0 12px}
html.sh-on .glf .glf-note.ok{background:var(--g-ok-bg);color:var(--g-ok)}
html.sh-on .glf .glf-note.err{background:var(--g-bad-bg);color:var(--g-bad)}
@media (prefers-reduced-motion:no-preference){html.sh-on .glf .glf-sk{animation:glf-pulse 1.2s ease-in-out infinite}}
@keyframes glf-pulse{0%,100%{opacity:1}50%{opacity:.5}}
@media (max-width:900px){
html.sh-on .glf summary{min-height:44px;line-height:44px}
html.sh-on .glf #glfFrom,html.sh-on .glf #glfTo{min-height:44px}
html.sh-on .glf h1{font-size:20px;line-height:28px}
}
@media (max-width:480px){
/* GATE15-mobile-flex */
html.sh-on .glf .glf-bar>label{display:flex;flex-wrap:wrap;width:100%}
html.sh-on .glf #glfY{flex:0 1 112px;min-width:0}
html.sh-on .glf #glfQ{flex:1 1 100%;min-width:0}
html.sh-on .glf{padding:12px 0}html.sh-on .glf .glf-btn{min-height:44px}
html.sh-on .glf table.glf-t,html.sh-on .glf table.glf-t tbody,html.sh-on .glf table.glf-t tr,html.sh-on .glf table.glf-t td{display:block;width:100%}
html.sh-on .glf table.glf-t thead{display:none}
html.sh-on .glf table.glf-t tr{border:1px solid var(--g-line);border-radius:12px;padding:8px 12px;margin:0 0 12px;background:#fff}
html.sh-on .glf table.glf-t td{display:flex;justify-content:space-between;gap:12px;border:0;padding:4px 0;text-align:left}
html.sh-on .glf table.glf-t td::before{content:attr(data-l);color:var(--g-ink2);flex:0 0 88px}
html.sh-on .glf table.glf-t td.num{text-align:left;white-space:normal}
}

