#jc-laws{--ink:#17372f;--muted:#52635e;--paper:#fff;--soft:#eef4f1;--line:#cbd8d3;--gold:#9a6d13;max-width:1160px;margin:auto;color:var(--ink);font-size:16px;line-height:1.65;overflow-wrap:anywhere}
#jc-laws :where(*){box-sizing:border-box}
#jc-laws :where(a){color:#075f4d;text-underline-offset:3px}
#jc-laws :where(a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,#jc-laws-result-heading:focus){outline:3px solid #c78d1b;outline-offset:3px}
#jc-laws :where(h1,h2,h3){line-height:1.25}
#jc-laws :where(h1){font-size:clamp(30px,5vw,54px);margin:.15em 0}
#jc-laws :where(h2){font-size:clamp(23px,3vw,32px)}
#jc-laws :where(h3){font-size:18px;margin:0 0 6px}
#jc-laws :where(.e){color:var(--gold);font-weight:800;letter-spacing:.12em}
#jc-laws :where(.h){padding:38px clamp(20px,5vw,58px);background:linear-gradient(135deg,#e7f0ec,#fbf7ed);border:1px solid var(--line);border-radius:20px}
#jc-laws :where(.ld){font-size:clamp(20px,2.5vw,27px);margin:.5em 0}
#jc-laws :where(.m){display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
#jc-laws :where(.m span,.b,b.n,b.u,b.a){display:inline-block;border-radius:999px;padding:4px 10px;background:#e2ece8;font-weight:700;font-size:13px}
#jc-laws :where(.hp,.z,.nt){color:var(--muted);font-size:13px}
#jc-laws :where(.n:not(b)){padding:15px 18px;background:#fff8df;border-left:5px solid #bc8417;margin:22px 0}
#jc-laws :where(.rd){padding:20px 24px;background:var(--paper);border:1px solid var(--line);border-radius:14px}
#jc-laws :where(.rd li+li){margin-top:8px}
#jc-laws :where(.fs){display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:24px 0}
#jc-laws :where(.f){padding:22px;background:var(--paper);border:1px solid var(--line);border-radius:16px}
#jc-laws :where(.f fieldset){border:0;padding:0;margin:18px 0}
#jc-laws :where(.f legend,.f label){display:block;font-weight:750;margin:10px 0 6px}
#jc-laws :where(.f input,.f select){width:100%;min-height:46px;border:1px solid #7b9189;border-radius:8px;padding:9px 11px;background:#fff;color:var(--ink);font:inherit}
#jc-laws :where(.ch){display:flex;flex-wrap:wrap;gap:8px}
#jc-laws :where(.ch button,.bt,#jc-laws-share){min-height:44px;padding:8px 14px;border:1px solid #53766c;border-radius:999px;background:#fff;color:var(--ink);font:inherit;font-weight:700;cursor:pointer}
#jc-laws :where(.ch button[aria-pressed=true],.bt){background:#145e4e;color:#fff;border-color:#145e4e}
#jc-laws :where(.hd){display:flex;align-items:center;justify-content:space-between;gap:14px}
#jc-laws :where(.rs){margin:28px 0;padding:22px;background:#f8faf9;border:1px solid var(--line);border-radius:16px}
#jc-laws :where([hidden]){display:none!important}
#jc-laws :where(.rc){padding:18px;margin:14px 0;background:#fff;border:1px solid var(--line);border-radius:12px}
#jc-laws :where(.rl){padding:14px 0;border-top:1px solid var(--line)}
#jc-laws :where(.rl:first-of-type){border-top:0}
#jc-laws :where(.rg){display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:10px 0}
#jc-laws :where(.rg dt){font-size:12px;color:var(--muted);font-weight:700}
#jc-laws :where(.rg dd){margin:2px 0}
#jc-laws :where(.ct){display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px;background:#e5f1ec;border-radius:12px}
#jc-laws :where(.d){margin-top:34px}
#jc-laws :where(.g){margin:30px 0}
#jc-laws :where(.j){margin:10px 0;border:1px solid var(--line);border-radius:12px;background:#fff}
#jc-laws :where(.j>summary){display:grid;grid-template-columns:minmax(130px,.7fr) auto minmax(220px,1.6fr);gap:14px;align-items:center;padding:15px 18px;cursor:pointer}
#jc-laws :where(.j>summary span){color:var(--muted);font-size:13px}
#jc-laws :where(.j table){width:100%;border-collapse:collapse;table-layout:fixed}
#jc-laws :where(.j th,.j td){padding:12px 10px;border-top:1px solid var(--line);text-align:left;vertical-align:top}
#jc-laws :where(.j th){font-size:12px;background:var(--soft)}
#jc-laws :where(.j th:nth-child(1)){width:8%}
#jc-laws :where(.j th:nth-child(2)){width:28%}
#jc-laws :where(.j th:nth-child(3)){width:12%}
#jc-laws :where(.j th:nth-child(4)){width:25%}
#jc-laws :where(.j th:nth-child(5)){width:19%}
#jc-laws :where(.j th:nth-child(6)){width:8%}
#jc-laws :where(.j td){font-size:14px}
#jc-laws :where(.j td small){display:block}
#jc-laws :where(.p,.j td:nth-child(2)>h3>a[href^="/files/downloadable/"],.rl>div>h3>a[href^="/files/downloadable/"]){display:inline-flex;align-items:center;min-height:44px;font-weight:750}
#jc-laws :where(.p,.j td:nth-child(2)>h3>a[href^="/files/downloadable/"],.rl>div>h3>a[href^="/files/downloadable/"])::before{content:"";width:12px;height:15px;margin-right:7px;border:1.5px solid currentColor;border-radius:2px}
#jc-laws :where(.z,.j td:nth-child(2)>a+span){margin-left:5px;color:var(--muted);font-size:13px}
#jc-laws :where(.nf){display:inline-block;margin-top:6px;color:#704f0d;font-weight:700}
#jc-laws :where(.b){margin-top:6px}
#jc-laws :where(b.n,b.u,b.a){display:block;width:fit-content;max-width:100%;margin:6px 0}
#jc-laws :where(b.a){background:#fae1d9;color:#7a2814}
#jc-laws :where(b.u){background:#fff0c8;color:#664600}
#jc-laws :where(b.n){background:#dceddf;color:#24532c}
#jc-laws :where(.nt){margin-top:5px}
#jc-laws :where(.r){padding:10px 14px;margin:0;background:#f8faf9}
#jc-laws :where(.q){margin:40px 0}
#jc-laws :where(.q details){border-top:1px solid var(--line);padding:13px 0}
#jc-laws :where(.q summary){font-weight:750;cursor:pointer}
#jc-laws :where(.ft){padding:24px;background:#17372f;color:#fff;border-radius:16px}
#jc-laws :where(.ft a){color:#fff}
#jc-laws.has :where(#jc-laws-results){display:block}
@media(max-width:780px){
  #jc-laws :where(.fs){grid-template-columns:1fr}
  #jc-laws :where(.rg){grid-template-columns:1fr 1fr}
  #jc-laws :where(.j>summary){grid-template-columns:1fr auto}
  #jc-laws :where(.j>summary span:last-child){grid-column:1/-1}
  #jc-laws :where(.j table,.j tbody,.j tr,.j td){display:block}
  #jc-laws :where(.j thead){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  #jc-laws :where(.j tbody){padding:0 14px 14px}
  #jc-laws :where(.j tr){padding:12px 0;border-top:1px solid var(--line)}
  #jc-laws :where(.j td){border:0;padding:7px 0 7px 39%;position:relative;min-height:34px}
  #jc-laws :where(.j td)::before{position:absolute;left:0;top:7px;width:35%;color:var(--muted);font-size:12px;font-weight:700}
  #jc-laws :where(.j td:nth-child(1))::before{content:"法别"}
  #jc-laws :where(.j td:nth-child(2))::before{content:"文本名称"}
  #jc-laws :where(.j td:nth-child(3))::before{content:"类型与语言"}
  #jc-laws :where(.j td:nth-child(4))::before{content:"版本与修订"}
  #jc-laws :where(.j td:nth-child(5))::before{content:"出处"}
  #jc-laws :where(.j td:nth-child(6))::before{content:"核对日期"}
}
@media(max-width:430px){
  #jc-laws :where(.rg){grid-template-columns:1fr}
  #jc-laws :where(.j td){padding-left:0;padding-top:25px}
  #jc-laws :where(.j td)::before{width:100%;top:5px}
  #jc-laws :where(.hd,.ct){align-items:flex-start;flex-direction:column}
}
@media(prefers-reduced-motion:reduce){#jc-laws :where(*){scroll-behavior:auto!important;transition:none!important}}
@media print{
  #jc-laws{max-width:none;color:#000;font-size:9pt}
  #jc-laws :where(.fs,#jc-laws-results,#jc-laws-share){display:none!important}
  #jc-laws.has :where(#jc-laws-results){display:block!important}
  #jc-laws.has :where(#jc-laws-directory){display:none!important}
  #jc-laws :where(.j>summary span,.hd>span){display:none}
  #jc-laws :where(details>:not(summary)){display:block!important}
  #jc-laws :where(details)::details-content{display:block!important;content-visibility:visible!important}
  #jc-laws :where(.j table){display:table!important}
  #jc-laws :where(.j thead){position:static;width:auto;height:auto;overflow:visible;clip:auto}
  #jc-laws :where(.j tbody){display:table-row-group!important;padding:0}
  #jc-laws :where(.j tr){display:table-row!important}
  #jc-laws :where(.j td){display:table-cell!important;padding:6px!important}
  #jc-laws :where(.j td)::before{display:none!important}
  #jc-laws :where(.p,.j td:nth-child(2)>h3>a[href^="/files/downloadable/"],.rl>div>h3>a[href^="/files/downloadable/"]){display:inline;min-height:0}
  #jc-laws :where(.p,.j td:nth-child(2)>h3>a[href^="/files/downloadable/"],.rl>div>h3>a[href^="/files/downloadable/"])::before{display:none}
  #jc-laws :where(.b,b.n,b.u,b.a){padding:1px 5px}
  #jc-laws :where(a){color:#000}
  #jc-laws :where(.j){break-inside:avoid}
}
