*{box-sizing:border-box}
body{margin:0;font:15px/1.45 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#1d2330;background:#f6f7f9;display:flex;flex-direction:column;min-height:100vh}
header{padding:14px 20px 6px}
h1{font-size:20px;margin:0}
.tag{font-size:11px;font-weight:600;text-transform:uppercase;background:#e8ebf2;border-radius:4px;padding:2px 6px;vertical-align:middle}
.sub{margin:4px 0 0;color:#4a5263}
main{flex:1;display:grid;grid-template-columns:1fr 360px;gap:12px;padding:10px 20px;min-height:520px}
#map{border-radius:8px;overflow:hidden;min-height:480px;background:#dfe7ef}
aside{background:#fff;border-radius:8px;padding:14px;overflow:auto;max-height:calc(100vh - 160px)}
#legend{display:flex;flex-wrap:wrap;gap:6px 10px;font-size:12px;margin-bottom:10px}
#legend span{display:inline-flex;align-items:center;gap:4px}
#legend i{width:14px;height:14px;border-radius:3px;display:inline-block}
#detail h2{font-size:17px;margin:0 0 2px}
.score{font-size:13px;color:#4a5263;margin:0 0 10px}
.inst{border-top:1px solid #edf0f4;padding:8px 0;font-size:13px}
.inst a{color:#1f4fbf;text-decoration:none}.inst a:hover{text-decoration:underline}
.meta{color:#5d6576;font-size:12px}
.st{display:inline-block;border-radius:3px;padding:0 5px;font-size:11px;background:#eef1f6}
.st.in_force{background:#dff3e4}.st.proposed{background:#fff3d6}.st.revoked,.st.withdrawn,.st.lapsed,.st.not_introduced{background:#f4e1e1}
.unv{color:#a05a00}
#list{list-style:none;padding:0;margin:14px 0 0;border-top:1px solid #edf0f4}
#list li{padding:6px 4px;cursor:pointer;display:flex;justify-content:space-between;font-size:14px}
#list li:hover,#list li[aria-selected=true]{background:#f0f3f8}
.hint{color:#5d6576}
footer{padding:6px 20px 16px;font-size:12px;color:#5d6576}
@media (max-width:820px){main{grid-template-columns:1fr}aside{max-height:none}}
.nav{margin:4px 0 0;font-size:14px}.nav a{color:#1f4fbf;text-decoration:none;margin-right:14px}.nav a[aria-current=page]{color:#1d2330;font-weight:600}
body.doc{display:block}
.docbody{max-width:760px;margin:8px auto 0;padding:6px 20px 10px;background:#fff;border-radius:8px}
.docbody h2{font-size:20px;margin:12px 0 4px}.docbody h3{font-size:16px;margin:20px 0 4px}
.docbody p,.docbody li{color:#2b3242}.docbody ul{padding-left:20px}.lede{color:#4a5263}
.docbody a,footer a{color:#1f4fbf}
