/* Gate is parsed before any private workspace markup. Hidden without JS, too. */
html.ms-access-pending body>*:not(#memberAccessGate){display:none!important}
#memberAccessGate{display:none}
html.ms-access-pending #memberAccessGate{display:flex;min-height:100svh;align-items:center;justify-content:center;flex-direction:column;gap:20px;padding:28px;background:#0b121e;color:#dce8fb;text-align:center;font:15px/1.7 system-ui}
#memberAccessGate :is(a,button){padding:12px 18px;min-height:44px;border:1px solid #405779;border-radius:9px;background:#213651;color:#cfe0ff;text-decoration:none;cursor:pointer;font:inherit}
#memberAccessGate p{max-width:450px}
.ms-gateway{max-width:1240px;margin:0 auto 30px;display:grid;grid-template-columns:1fr 1fr;gap:22px;scroll-margin-top:30px}
.ms-gateway article{position:relative;overflow:hidden;border:1px solid #3c5270;border-radius:17px;background:radial-gradient(ellipse at top right,#324e762c,transparent 70%),#142237;padding:34px;box-shadow:inset 0 1px #ffffff0a,0 16px 40px #0002}
.ms-gateway article:last-child{background:radial-gradient(ellipse at top right,#2d71612d,transparent 70%),#142931;border-color:#345957}
.ms-gateway .palace-overline{color:#a2c1f7;font-size:11px;letter-spacing:2.5px}.ms-gateway article:last-child .palace-overline{color:#88d8c9}
.ms-gateway h2{font-size:32px;letter-spacing:-1px;font-weight:550;margin:18px 0 12px}.ms-gateway p{font-size:13px;line-height:1.85;color:#a9bdd6;max-width:420px;margin-bottom:24px}
.ms-gateway-links{display:grid;gap:0}.ms-gateway-links a{display:flex;align-items:center;justify-content:space-between;min-height:52px;padding:13px 0;border-top:1px solid #a3c6ef22;text-decoration:none;font-size:13px;color:#d3e3fc}.ms-gateway-links a:hover{color:#94b7ff}.ms-gateway-links span{color:#83cfc4}
.ms-gateway-number{position:absolute;top:30px;right:30px;font:12px ui-monospace,monospace;color:#809fc6}
.ms-public{margin:0;background:#0b121e;color:#e5ecf7;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;line-height:1.7}
.ms-public-nav{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:24px max(25px,calc((100vw - 1180px)/2));border-bottom:1px solid #293d56;background:#0b1422}
.ms-public-nav>div{display:flex;gap:24px;flex-wrap:wrap}.ms-public-nav>div a{font-size:12px;min-height:44px;display:inline-flex;align-items:center;color:#b9cce7;text-decoration:none}
.ms-document{max-width:1180px;margin:auto;padding:75px 0}.ms-document h1{font-size:clamp(36px,5.4vw,66px);line-height:1.12;letter-spacing:-2.5px;font-weight:550;margin:18px 0 24px;max-width:850px}.ms-document .ms-lead{color:#aec2dd;max-width:740px;font-size:17px;line-height:1.85;margin-bottom:35px}
.ms-document h2{font-size:28px;line-height:1.25;letter-spacing:-.8px;font-weight:550;margin:0 0 18px}.ms-document h3{font-size:18px;font-weight:550;line-height:1.3;margin:0 0 14px}.ms-document p,.ms-document li{font-size:14px;color:#b0c2dc}.ms-document a{color:#a9c8ff;text-underline-offset:4px}.ms-document a:focus-visible{outline:2px solid #a9c8ff;outline-offset:4px}
.ms-document-section{padding:35px 0;border-top:1px solid #2c3f57;scroll-margin-top:30px}.ms-document-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:25px 0}.ms-info-card{padding:28px;border:1px solid #334a67;border-radius:13px;background:#142238}.ms-info-card:nth-child(2){background:#162c34;border-color:#365758}.ms-info-card code{font-size:12px;overflow-wrap:anywhere}.ms-document pre{overflow:auto;max-width:100%;padding:22px;border:1px solid #34506b;border-radius:11px;background:#0a1525;color:#bcd4f3;font:12px/1.9 ui-monospace,monospace}.ms-document :not(pre)>code{color:#bdd4f5;overflow-wrap:anywhere}.ms-notice{padding:20px 24px;border:1px solid #466273;border-radius:10px;background:#1a2e3c;color:#bbd3e8;font-size:13px;margin:24px 0}.ms-doc-links{display:flex;gap:12px;flex-wrap:wrap;margin:28px 0}.ms-doc-links a{display:inline-flex;align-items:center;min-height:47px;padding:10px 19px;background:#233b5e;border:1px solid #496991;border-radius:8px;color:#c8ddff;text-decoration:none;font-size:13px}
.ms-status{display:inline-flex;padding:4px 9px;border:1px solid #3b6c67;border-radius:6px;font-size:10px;letter-spacing:1px;color:#92dacc;background:#1e433e60;margin-bottom:14px}.ms-status.planned{border-color:#6f6046;color:#ddc69a;background:#3d33244a}
.ms-public footer{padding:35px 25px;border-top:1px solid #293e58;color:#a3b9d4;text-align:center;font-size:12px}.ms-public footer a{color:#a9c8ff;margin:0 10px}
/* Complete the previously partial Verse / Domains surface adaptation. */
html.mv-shell .verse-main,html.mv-shell .domain-layout{background:var(--ui-canvas)!important;color:var(--ui-text)!important}
:root{--bg:#0e1521;--surface:#162132;--line:#2c3b51;--text:#e5ecf7;--muted:#a0b0c7}
html.mv-shell .verse-shell>main{background:#0e1521;color:#e5ecf7}
html.mv-shell .verse-shell :is(input:not([type=checkbox]),textarea,select){background:#101b2c;border-color:#354b68}
html.mv-shell .verse-shell .preview-wrap{background:#23344b}
html.mv-shell .domain-layout input,html.mv-shell .domain-layout select{background:#101b2c!important;border-color:#354b68!important}
html.mv-shell :is(.verse-card,.verse-panel,.domain-panel,.domain-card){background:var(--ui-surface)!important;border-color:var(--ui-border)!important}
@media(max-width:1300px){.ms-gateway{margin-inline:35px}.ms-document{margin-inline:35px}}
@media(max-width:720px){.ms-gateway{grid-template-columns:1fr;margin-inline:24px;gap:16px}.ms-gateway article{padding:27px}.ms-gateway h2{font-size:28px}.ms-public-nav{align-items:flex-start;flex-wrap:wrap;padding:20px 24px;gap:14px}.ms-public-nav>div{gap:19px}.ms-document{padding:42px 0;margin-inline:24px}.ms-document h1{letter-spacing:-1.5px}.ms-document-grid{grid-template-columns:1fr}.ms-document .ms-lead{font-size:15px}.ms-info-card{padding:22px}}
