*{box-sizing:border-box}html{scroll-behavior:smooth}
body{margin:0;overflow-x:hidden;font:16px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;color:#0f172a;background:#fff}
a{color:#1d4ed8;text-decoration:none}a:hover{text-decoration:underline}
header.top{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:12px;height:60px;padding:0 max(20px,calc((100% - 1240px)/2 + 20px));background:#fff;border-bottom:1px solid #e2e8f0}
.brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:17px;color:#0f172a;white-space:nowrap}.brand:hover{text-decoration:none}
.brand img{width:30px;height:30px;border-radius:7px}.brand small{font-weight:500;color:#64748b;font-size:14px}
.search{position:relative;flex:1;max-width:440px;margin-left:auto}
.search input{width:100%;height:38px;padding:0 12px 0 36px;border:1px solid #cbd5e1;border-radius:9px;font:inherit;font-size:15px;background:#f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='m11 11 4 4'/%3E%3C/svg%3E") 12px center no-repeat}
.search input:focus{outline:2px solid #2563eb;outline-offset:-1px;background-color:#fff}
#hits{display:none;position:absolute;top:44px;left:0;right:0;max-height:70vh;overflow:auto;background:#fff;border:1px solid #cbd5e1;border-radius:10px;box-shadow:0 12px 30px rgba(15,23,42,.14)}
#hits a{display:block;padding:9px 12px;color:#0f172a;border-bottom:1px solid #f1f5f9}#hits a:last-child{border:0}
#hits a.sel,#hits a:hover{background:#eff6ff;text-decoration:none}#hits small{display:block;color:#64748b;font-size:12.5px}
#hits p{margin:0;padding:12px;color:#64748b;font-size:14px}
.btn{display:inline-block;padding:8px 14px;border-radius:9px;background:#2563eb;color:#fff;font-weight:600;font-size:14.5px;white-space:nowrap}.btn:hover{background:#1d4ed8;text-decoration:none}
#menu{display:none;width:38px;height:38px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;font-size:18px;cursor:pointer}
.wrap{display:flex;max-width:1240px;margin:0 auto}
nav.toc{position:sticky;top:60px;align-self:flex-start;flex:0 0 248px;width:248px;height:calc(100vh - 60px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:16px 10px 40px;border-right:1px solid #e2e8f0}
nav.toc h3{margin:16px 10px 4px;font-size:11.5px;letter-spacing:.07em;text-transform:uppercase;color:#64748b}nav.toc h3:first-child{margin-top:0}
nav.toc ul{list-style:none;margin:0;padding:0}
nav.toc a{display:block;padding:5px 10px;border-radius:8px;color:#334155;font-size:13.5px;line-height:1.4;overflow-wrap:anywhere}
nav.toc a:hover{background:#f1f5f9;text-decoration:none}nav.toc a.on{background:#eff6ff;color:#1d4ed8;font-weight:600}
main{flex:1;min-width:0;padding:34px 44px 70px;max-width:880px}
.crumb{margin:0;color:#2563eb;font-size:14.5px;font-weight:500}
h1{margin:4px 0 18px;font-size:32px;line-height:1.2;letter-spacing:-.01em}
h2{margin:34px 0 8px;font-size:21px;line-height:1.3}
p{margin:0 0 14px}.lead{font-size:17.5px;color:#334155}
.where{color:#475569;font-size:15px}
ol.steps{list-style:none;counter-reset:s;margin:20px 0;padding:0}
ol.steps li{counter-increment:s;display:flex;gap:12px;margin-bottom:12px}
ol.steps li::before{content:counter(s);flex:0 0 28px;height:28px;border-radius:50%;background:#2563eb;color:#fff;font-weight:600;font-size:14px;display:flex;align-items:center;justify-content:center}
ol.steps span{padding-top:1px}
.note{padding:12px 16px;border:1px solid #fde68a;border-radius:10px;background:#fffbeb;color:#78350f;font-size:15px}
.shot{display:block;margin:22px 0;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;box-shadow:0 2px 10px rgba(15,23,42,.06);width:fit-content;max-width:100%}
.shot img{display:block;max-width:100%;max-height:640px;height:auto}
.cta{margin-top:34px}
main h3{margin:28px 0 6px;font-size:18px;line-height:1.3}
.tagline{font-size:23px;line-height:1.35;font-weight:700;color:#0f172a;margin:0 0 14px}
.ent{margin:12px 0 0;padding:14px 16px;border:1px solid #bfdbfe;border-radius:12px;background:#eff6ff}.ent b{color:#1e3a8a}.ent p{margin:4px 0 0;font-size:15px;color:#334155}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px;margin:14px 0}
.cards div{padding:14px 16px;border:1px solid #e2e8f0;border-radius:12px}.cards p{margin:4px 0 0;font-size:14.5px;color:#334155}
.tbl{overflow-x:auto;margin:14px 0;border:1px solid #e2e8f0;border-radius:12px}
.tbl table{width:100%;min-width:680px;border-collapse:collapse;font-size:14.5px;line-height:1.5}
.tbl th,.tbl td{padding:10px 12px;text-align:left;vertical-align:top;border-top:1px solid #e2e8f0}
.tbl thead th{border-top:0;background:#f8fafc;color:#475569;font-weight:600}.tbl tbody th{width:16%;color:#0f172a}
.tbl .us{background:#eff6ff}.tbl thead .us{color:#1d4ed8}
.pager{display:flex;justify-content:space-between;gap:12px;margin-top:46px;padding-top:18px;border-top:1px solid #e2e8f0}
.pager a{min-width:0;max-width:48%;padding:10px 14px;border:1px solid #e2e8f0;border-radius:10px;color:#0f172a;font-weight:600;font-size:15px}
.pager a:hover{background:#f8fafc;text-decoration:none}.pager small{display:block;color:#64748b;font-weight:400;font-size:12.5px}.pager .next{margin-left:auto;text-align:right}
footer{margin-top:40px;color:#64748b;font-size:13.5px}
@media (max-width:1023px){
#menu{display:block}.brand small{display:none}header.top{padding:0 12px;gap:8px}header.top .btn{display:none}
nav.toc{position:fixed;top:60px;left:0;bottom:auto;z-index:20;width:82%;max-width:300px;height:calc(100vh - 60px);height:calc(100dvh - 60px);align-self:auto;flex:none;-webkit-overflow-scrolling:touch;padding-bottom:70px;background:#fff;transform:translateX(-102%);transition:transform .2s;box-shadow:8px 0 30px rgba(15,23,42,.15)}
body.open nav.toc{transform:none}main{padding:22px 16px 60px}h1{font-size:26px}
}
@media (prefers-reduced-motion:reduce){nav.toc{transition:none}html{scroll-behavior:auto}}
