/* Shared shell for public information and platform-rule pages. */
.document-main-shell{display:flex;min-height:100vh;flex-direction:column}
.document-topbar-title{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:11px;font-weight:750}
.document-topbar-title span{display:grid;place-items:center;width:25px;height:25px;border-radius:5px;color:var(--teal);background:var(--mint);font-size:11px}
.document-topbar-link{margin-left:auto;color:var(--teal);font-size:12px;font-weight:800}
.document-topbar-link b{margin-left:5px;color:var(--orange)}
.document-content{flex:1;width:min(1040px,calc(100% - 68px));padding:42px 0 58px}
.document-card{padding:34px 38px;border:1px solid var(--line);border-radius:7px;background:#fff;box-shadow:var(--shadow)}
.document-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:30px;padding-bottom:26px;border-bottom:1px solid var(--line)}
.document-card-header h1{margin:0 0 10px;font-size:31px;line-height:1.2}
.document-card-header p:not(.eyebrow){max-width:760px;margin:0;color:var(--muted);font-size:13px;line-height:1.75}
.document-mark{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:7px;color:#fff;background:var(--teal);font-size:14px;font-weight:850}
.document-body{max-width:none}
.document-body section{max-width:none;margin-top:30px;padding-top:0}
.document-body section h2{display:flex;align-items:center;gap:10px;margin:0 0 10px;font-size:17px}
.document-body section h2::before{content:'';width:4px;height:17px;background:var(--teal)}
.document-body section p,.document-body section li{color:#59686c;font-size:12px;line-height:1.85}
.document-body section p{margin:0}
.document-body section p+p{margin-top:10px}
.document-body ul,.document-body ol{margin:8px 0 0;padding-left:22px}
.document-body li+li{margin-top:5px}
.document-body a{color:var(--teal);font-weight:750}
.document-body .info-table{margin-top:28px;box-shadow:none}
.document-body .page-table>div{grid-template-columns:210px minmax(0,1fr)}
.document-footer{display:flex;justify-content:space-between;gap:30px;margin-top:auto;padding:20px max(34px,calc((100% - 1040px)/2));border-top:1px solid var(--line);color:var(--muted);background:#fff;font-size:10px}
.document-footer>div:first-child{display:flex;flex-wrap:wrap;gap:15px}
.document-footer strong{color:var(--ink)}
.document-footer .footer-links a.is-current{color:var(--teal);font-weight:800}
@media(max-width:760px){
  .document-topbar-title{display:none}
  .document-content{width:calc(100% - 30px);padding:28px 0 38px}
  .document-card{padding:23px 18px}
  .document-card-header{gap:14px;padding-bottom:21px}
  .document-card-header h1{font-size:27px}
  .document-mark{flex-basis:38px;width:38px;height:38px}
  .document-body section{margin-top:25px}
  .document-body .page-table>div{grid-template-columns:105px minmax(0,1fr)}
  .document-footer{align-items:flex-start;flex-direction:column;gap:13px;padding:18px}
  .document-footer>div:first-child{gap:8px 13px}
  .document-footer .footer-links{gap:8px 14px}
}

/* Reading layout: a compact page index beside one continuous policy surface. */
.document-content{width:min(1160px,calc(100% - 68px))}
.document-card{padding:0;border:0;background:transparent;box-shadow:none}
.document-card-header{min-height:154px;padding:30px 34px;border:1px solid var(--line);border-radius:7px;background:#fff;box-shadow:var(--shadow)}
.document-card-header>div{align-self:center}
.document-card-header p:not(.eyebrow){max-width:780px}
.document-layout{display:grid;grid-template-columns:210px minmax(0,1fr);align-items:start;gap:16px;margin-top:16px}
.document-toc{position:sticky;top:90px;padding:19px 16px;border:1px solid var(--line);border-radius:7px;background:#fff}
.document-toc-label{display:block;margin:0 0 13px;color:#98a5a6;font-size:9px;font-weight:850;letter-spacing:.08em}
.document-toc nav{display:grid;gap:3px}
.document-toc a{display:flex;align-items:center;gap:9px;min-height:35px;padding:0 9px;border-radius:5px;color:#667579;font-size:11px;font-weight:650}
.document-toc a::before{content:'';width:5px;height:5px;border-radius:50%;background:#c9d6d3}
.document-toc a:hover{color:var(--teal-dark);background:var(--mint)}
.document-toc a:hover::before{background:var(--teal)}
.document-toc-note{margin:15px 8px 0;padding-top:13px;border-top:1px solid var(--line);color:#9aa7a8;font-size:9px;line-height:1.65}
.document-sections{padding:7px 31px 12px;border:1px solid var(--line);border-radius:7px;background:#fff;box-shadow:var(--shadow)}
.document-body .document-sections section{margin:0;padding:25px 0 27px;border-bottom:1px solid #e9eeee;scroll-margin-top:88px}
.document-body .document-sections section:last-child{border-bottom:0}
.document-body .document-sections section h2{gap:12px;margin-bottom:13px;font-size:17px}
.document-body .document-sections section h2::before{content:attr(data-index);display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:5px;color:var(--teal);background:var(--mint);font-size:9px;font-weight:850}
.document-body .document-sections section>p,.document-body .document-sections section>ul,.document-body .document-sections section>ol{margin-left:42px}
.document-body .document-sections section>p{max-width:790px}
.document-body .document-sections ul,.document-body .document-sections ol{padding-left:18px}
.document-body .document-sections li{padding-left:3px}
.document-body .document-sections li::marker{color:var(--teal);font-weight:800}
.document-body .about-info-section .info-table{margin:15px 0 0 42px}
.document-body .about-info-section .page-table>div{grid-template-columns:190px minmax(0,1fr)}
.document-footer{padding-right:max(34px,calc((100% - 1160px)/2));padding-left:max(34px,calc((100% - 1160px)/2))}
.document-content{padding-bottom:104px}
.document-footer{position:fixed;right:0;bottom:0;left:246px;z-index:9;align-items:center;min-height:54px}
.document-footer>div:first-child{align-items:center;flex:1}.document-footer>div:first-child a{color:var(--teal-dark);font-weight:700}.document-footer .footer-links{justify-content:flex-end;flex-wrap:wrap}.document-footer .footer-links a{white-space:nowrap}
@media(max-width:1050px) and (min-width:761px){.document-footer{left:215px}}
@media(max-width:900px) and (min-width:761px){
  .document-layout{grid-template-columns:170px minmax(0,1fr)}
  .document-sections{padding-right:23px;padding-left:23px}
  .document-body .about-info-section .page-table>div{grid-template-columns:145px minmax(0,1fr)}
}
@media(max-width:760px){
  .document-content{width:calc(100% - 30px)}
  .document-card-header{min-height:0;padding:23px 18px}
  .document-layout{display:block;margin-top:12px}
  .document-toc{position:static;padding:13px 12px}
  .document-toc-label,.document-toc-note{display:none}
  .document-toc nav{display:flex;overflow-x:auto;gap:5px;padding-bottom:2px}
  .document-toc a{flex:0 0 auto;min-height:31px;padding:0 9px;background:#f6f9f8;white-space:nowrap;font-size:10px}
  .document-toc a::before{display:none}
  .document-sections{margin-top:12px;padding:4px 16px 8px}
  .document-body .document-sections section{padding:21px 0 23px}
  .document-body .document-sections section h2{font-size:15px}
  .document-body .document-sections section>p,.document-body .document-sections section>ul,.document-body .document-sections section>ol{margin-left:0}
  .document-body .about-info-section .info-table{margin:14px 0 0}
  .document-body .about-info-section .page-table>div{grid-template-columns:105px minmax(0,1fr)}
  .document-content{padding-bottom:38px}
  .document-footer{position:static;align-items:flex-start;min-height:0}
}
