/* Midooc navigation, modal menu and footer rules, scoped to the Docs chrome. */
.docs-group img { display:block;max-width:100%;height:auto }
.docs-group a { color:inherit;text-decoration:none }
.docs-group button, .docs-group summary { font:inherit }
.docs-group svg { flex:none }
.docs-group p, .docs-group h2 { margin:0 }
.docs-group a, .docs-group summary { -webkit-tap-highlight-color:transparent }
.docs-group a:focus-visible, .docs-group summary:focus-visible { outline:3px solid var(--green);outline-offset:6px;border-radius:5px }
.docs-group .site-header { min-height:106px;display:flex;align-items:center;gap:48px;position:relative;z-index:2 }
.docs-group .brand { --brand-wordmark-size:24px;--brand-gap:8px;--brand-tracking:-.045em;display:inline-flex;align-items:center;gap:var(--brand-gap);flex:none;min-height:44px }
.docs-group .brand span { font-family:var(--serif);font-size:var(--brand-wordmark-size);font-weight:400;letter-spacing:var(--brand-tracking);line-height:1.2 }
.docs-group .brand img { width:auto;height:var(--brand-logo-height);object-fit:contain }
.docs-group .primary-nav { display:flex;align-items:center;gap:34px;margin-left:14px }
.docs-group .primary-nav a { font-size:15px;line-height:1.4;padding:14px 0 }
.docs-group .primary-nav a:hover, .docs-group.site-footer a:hover { text-decoration:underline;text-underline-offset:5px }
.docs-group .header-actions { display:flex;align-items:center;gap:22px;margin-left:auto }
.docs-group .site-menu { position:relative }
.docs-group .site-menu summary { display:flex;align-items:center;gap:10px;min-height:44px;padding:10px 0 10px 8px;cursor:pointer;list-style:none;font-size:15px }
.docs-group .site-menu summary::-webkit-details-marker { display:none }
.docs-group .menu-panel { position:absolute;right:0;top:57px;min-width:270px;padding:14px;background:var(--canvas);border:1px solid var(--line);border-radius:20px;box-shadow:0 12px 28px #0005;display:flex;flex-direction:column }
.docs-group .menu-panel a { display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 12px;min-height:48px;font-size:16px;border-radius:8px }
.docs-group .menu-panel a:hover { background:var(--surface) }
.docs-group .menu-panel span { font-size:11px;color:var(--muted) }
.docs-group.site-footer { width:min(100% - 80px,1320px);margin:0 auto }
@media (max-width:1100px) {
.docs-group .site-header { gap:24px;min-height:94px }
.docs-group .primary-nav { gap:22px;margin-left:0 }
.docs-group .header-actions { gap:18px }
.docs-group.site-footer { width:calc(100% - 48px) }
}
@media (max-width:900px) {
.docs-group .primary-nav { display:none }
.docs-group .site-header { gap:20px }
}
@media (max-width:760px) {
.docs-group .site-header { min-height:84px }
.docs-group .header-actions { gap:0 }
.docs-group.site-footer { width:calc(100% - 16px) }
.docs-group .menu-panel { min-width:min(270px,calc(100vw - 72px));top:54px }
.docs-group .menu-panel a { font-size:15px }
.docs-group .menu-panel span { font-size:10px }
}
@media (max-width:380px) {
.docs-group .site-menu summary { font-size:14px }
}
.docs-group.masthead { max-width:1512px;margin:auto;background:var(--surface);border-radius:48px 48px 0 0;padding:0 44px }
@media (max-width:1100px) {
.docs-group.masthead { padding:0 30px;border-radius:38px 38px 0 0 }
}
@media (max-width:760px) {
.docs-group.masthead { padding:0 20px;border-radius:28px 28px 0 0 }
}
@media (max-width:380px) {
.docs-group.masthead { padding:0 16px }
}
.docs-group.masthead { min-height:106px }
.docs-group .site-menu summary { justify-content:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:0;border-radius:0;background:transparent;color:var(--ink);line-height:1 }
.docs-group .site-menu summary:hover { color:var(--green) }
.docs-group .menu-icon { display:block;width:28px;height:var(--brand-logo-height);fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;transform:scale(.8333333333333334);transform-origin:50% 50%; }
.docs-group .menu-icon-circle { fill:transparent;transform-box:view-box;transform-origin:0 0;transition:transform .18s ease,fill .18s ease }
.docs-group .menu-icon-line { transform-box:view-box;transition:transform .18s ease }
.docs-group .menu-icon-line-first { transform-origin:19.5px 3.5px }
.docs-group .menu-icon-line-second { transform-origin:19.5px 20.5px }
.docs-group .site-menu .menu-label-close, .docs-group .site-menu[open] .menu-label-open { display:none }
.docs-group .site-menu[open] .menu-label-close { display:block }
.docs-group .site-menu[open] .menu-icon-circle-first, .docs-group.menu-dialog[open] .menu-icon-circle-first { transform:translate(3.5px,0);fill:#f3c75a }
.docs-group .site-menu[open] .menu-icon-circle-second, .docs-group.menu-dialog[open] .menu-icon-circle-second { transform:translate(15.5px,-17px);fill:#f3c75a }
.docs-group .site-menu[open] .menu-icon-line-first, .docs-group.menu-dialog[open] .menu-icon-line-first { transform:translate(-5.5px,14.196699141px) rotate(45deg) }
.docs-group .site-menu[open] .menu-icon-line-second, .docs-group.menu-dialog[open] .menu-icon-line-second { transform:translate(-5.5px,-2.803300859px) rotate(-45deg) }
.docs-group .menu-is-open .site-menu summary { visibility:hidden }
@media (prefers-reduced-motion:no-preference) {
.docs-group.menu-dialog[open] .menu-icon-circle { animation:menu-circle-open .18s ease both }
.docs-group.menu-dialog[open] .menu-icon-line { animation:menu-line-open .18s ease both }
}
.docs-group.menu-dialog { position:fixed;inset:24px 24px auto auto;width:435px;max-width:calc(100% - 48px);max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);margin:0;padding:26px 32px 36px;border:0;border-radius:40px;background:var(--canvas);color:var(--ink);overflow-y:auto;overscroll-behavior:contain }
.docs-group.menu-dialog:not([open]) { display:none }
.docs-group.menu-dialog[open] { display:flex;flex-direction:column }
.docs-group.menu-dialog::backdrop { background:#020617a6;backdrop-filter:blur(8px) }
html.menu-is-open { overflow:hidden }
.docs-group .menu-close { position:sticky;top:0;display:flex;align-items:center;justify-content:center;align-self:flex-end;flex:none;width:44px;height:44px;padding:0;border:0;border-radius:0;background:transparent;color:var(--ink) }
.docs-group .menu-close:hover { color:var(--green) }
.docs-group.menu-dialog .menu-panel { position:static;display:flex;flex-direction:column;gap:4px;min-width:0;width:100%;margin:30px 0 0;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent }
.docs-group.menu-dialog .menu-panel a { justify-content:center;flex-direction:column;gap:2px;text-align:center;font-size:28px;font-weight:400;line-height:1.3;padding:7px 8px;overflow-wrap:anywhere }
.docs-group.menu-dialog .menu-panel span { font-size:11px;line-height:1.4 }
@media (max-width:1100px) {
.docs-group.masthead { min-height:94px }
}
@media (max-width:760px) {
.docs-group.masthead { min-height:84px }
.docs-group.menu-dialog { inset:16px 16px auto auto;width:435px;max-width:calc(100% - 32px);max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);padding:20px 22px 28px;border-radius:28px }
.docs-group.menu-dialog .menu-panel { margin-top:22px }
.docs-group.menu-dialog .menu-panel a { font-size:25px }
}
.docs-group .visually-hidden { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0 }
.docs-group button { font:inherit }
.docs-group button { cursor:pointer }
.docs-group.site-footer { padding-top:clamp(4rem,3.42857rem + 2.85714vw,6rem);padding-bottom:24px }
.docs-group.site-footer .footer-upper { display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:32px;max-width:1100px;margin:0 auto;text-align:left }
.docs-group.site-footer .footer-main { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:32px;min-width:0 }
.docs-group.site-footer .footer-column { min-width:0;font:400 12px/1.6 var(--sans);letter-spacing:.12px }
.docs-group.site-footer .footer-column h2 { font:inherit;letter-spacing:inherit;color:var(--muted);margin:0 0 8px }
.docs-group.site-footer .footer-list { list-style:none;margin:0;padding:0;color:#c6cfdb }
.docs-group.site-footer .footer-list li { display:flex;align-items:center;min-width:0;max-width:100%;min-height:44px;padding:4px 0;overflow-wrap:anywhere }
.docs-group.site-footer [data-footer-group="enterprise"] .footer-list li { padding:0 }
.docs-group.site-footer .footer-list a { display:flex;align-items:center;width:100%;min-height:44px;padding:4px 0;overflow-wrap:anywhere }
.docs-group.site-footer .footer-contacts { display:grid;grid-template-columns:minmax(0,1fr);gap:32px }
.docs-group.site-footer .footer-contact-group { min-width:0 }
.docs-group.site-footer .footer-contact-label { font:inherit;color:var(--muted) }
.docs-group.site-footer .footer-contact-value { display:flex;align-items:center;font:inherit;color:#c6cfdb;overflow-wrap:anywhere;padding:4px 0;min-height:44px }
.docs-group.site-footer .footer-brand { display:flex;justify-content:flex-start;min-width:0 }
.docs-group.site-footer .footer-brand .brand { justify-content:flex-start;max-width:100%;min-height:44px }
.docs-group.site-footer .footer-brand .brand span { white-space:nowrap }
.docs-group.site-footer .footer-base { display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 32px;max-width:1100px;margin:22px auto 0;font-size:12px;line-height:1.6;color:#c6cfdb }
.docs-group.site-footer .footer-copyright { min-width:0;max-width:100%;overflow-wrap:anywhere;color:var(--muted) }
.docs-group.site-footer .footer-controls { display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:0 28px;min-width:0;max-width:100% }
.docs-group.site-footer .footer-legal { display:flex;justify-content:center;flex-wrap:wrap;gap:4px 28px;min-width:0;max-width:100%;margin:0;font-size:12px;line-height:1.6;color:var(--muted) }
.docs-group.site-footer .footer-legal a { display:inline-flex;align-items:center;min-height:44px;max-width:100%;padding:10px 0;overflow-wrap:anywhere }
@media (max-width:960px) {
.docs-group.site-footer .footer-base { flex-direction:column;text-align:center }
.docs-group.site-footer .footer-controls { justify-content:center }
}
@media (min-width:52.125em) {
.docs-group.site-footer .footer-upper { grid-template-columns:minmax(0,1fr) minmax(0,2fr) }
.docs-group.site-footer .footer-main { grid-template-columns:repeat(4,minmax(0,1fr)) }
.docs-group.site-footer .footer-list li { min-height:27.2px }
.docs-group.site-footer .footer-list a { min-height:27.2px }
.docs-group.site-footer .footer-contact-value { min-height:27.2px }
}
@media (max-width:760px) {
.docs-group.site-footer { padding-bottom:20px }
.docs-group.site-footer .footer-base { gap:6px;margin-top:16px }
.docs-group.site-footer .footer-controls { column-gap:22px }
.docs-group.site-footer .footer-legal { gap:0 22px }
}
@media (max-width:380px) {
.docs-group.site-footer .footer-legal { column-gap:18px }
}
@media (pointer:coarse) {
.docs-group.site-footer .footer-list li { min-height:44px }
.docs-group.site-footer .footer-list a { min-height:44px }
.docs-group.site-footer .footer-contact-value { min-height:44px }
}
.docs-group.site-footer .footer-language { position:relative;max-width:100%;font-size:12px;line-height:1.6;color:#c6cfdb }
.docs-group.site-footer .footer-language summary { display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 4px;cursor:pointer;list-style:none }
.docs-group.site-footer .footer-language summary::-webkit-details-marker { display:none }
.docs-group.site-footer .footer-language summary:hover { text-decoration:underline;text-underline-offset:5px }
.docs-group.site-footer .footer-language-globe, .docs-group.site-footer .footer-language-chevron { width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round }
.docs-group.site-footer .footer-language-chevron { width:12px;height:12px }
.docs-group.site-footer .footer-language[open] .footer-language-chevron { transform:rotate(180deg) }
.docs-group.site-footer .footer-language-panel { position:absolute;right:0;bottom:calc(100% + 8px);z-index:3;width:248px;max-width:calc(100vw - 48px);max-height:calc(100vh - 120px);max-height:calc(100dvh - 120px);overflow-y:auto;list-style:none;margin:0;padding:8px;border:1px solid var(--line);border-radius:12px;background:var(--canvas);box-shadow:0 8px 28px #0006;text-align:left }
.docs-group.site-footer .footer-language-panel li { margin:0;padding:0 }
.docs-group.site-footer .footer-language-panel button, .docs-group.site-footer .footer-language-panel .footer-language-current { display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;min-height:44px;padding:10px 12px;border:0;border-radius:6px;background:transparent;font:inherit;text-align:left }
.docs-group.site-footer .footer-language-panel .footer-language-current { color:var(--green);background:var(--surface) }
.docs-group.site-footer .footer-language-panel button:disabled { color:var(--muted);opacity:1;cursor:default }
.docs-group.site-footer .footer-language-status { font-size:11px;white-space:nowrap }
@media (max-width:760px) {
.docs-group.site-footer .footer-language { flex-basis:100% }
.docs-group.site-footer .footer-language summary { width:max-content;margin:auto }
.docs-group.site-footer .footer-language-panel { right:auto;left:50%;transform:translateX(-50%) }
}
.docs-group.site-footer .footer-list>li, .docs-group.site-footer .footer-contact-value { transition:color .2s }
.docs-group.site-footer .footer-column a:hover { text-decoration:none }
@media (hover:hover) {
.docs-group.site-footer .footer-list>li:hover, .docs-group.site-footer .footer-contact-value:hover { color:#f8fafc }
.docs-group.site-footer .footer-list:has(>li:hover)>li:not(:hover), .docs-group.site-footer .footer-contacts:has(.footer-contact-value:hover) .footer-contact-value:not(:hover) { color:#a8b2c3 }
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
.docs-group.site-footer .footer-brand .brand .footer-brand-letter { opacity:0;transition:opacity .1s ease calc((10 - var(--brand-step))*25ms) }
.docs-group.site-footer .footer-brand .brand .footer-brand-letter:nth-child(1) { --brand-step:0 }
.docs-group.site-footer .footer-brand .brand .footer-brand-letter:nth-child(2) { --brand-step:1 }
.docs-group.site-footer .footer-brand .brand .footer-brand-letter:nth-child(3) { --brand-step:2 }
.docs-group.site-footer .footer-brand .brand .footer-brand-letter:nth-child(4) { --brand-step:3 }
.docs-group.site-footer .footer-brand .brand .footer-brand-letter:nth-child(5) { --brand-step:4 }
.docs-group.site-footer .footer-brand .brand .footer-brand-letter:nth-child(6) { --brand-step:5 }
.docs-group.site-footer .footer-brand .brand .footer-brand-letter:nth-child(7) { --brand-step:6 }
.docs-group.site-footer .footer-brand .brand .footer-brand-letter:nth-child(8) { --brand-step:7 }
.docs-group.site-footer .footer-brand .brand .footer-brand-letter:nth-child(9) { --brand-step:8 }
.docs-group.site-footer .footer-brand .brand .footer-brand-letter:nth-child(10) { --brand-step:9 }
.docs-group.site-footer .footer-brand .brand .footer-brand-letter:nth-child(11) { --brand-step:10 }
.docs-group.site-footer .footer-brand .brand:hover:not(:focus-visible) { text-decoration:none }
.docs-group.site-footer .footer-brand .brand:hover:not(:focus-visible) .footer-brand-letter { opacity:1;transition-delay:calc(var(--brand-step)*25ms) }
.docs-group.site-footer .footer-brand .brand:focus-visible .footer-brand-letter { opacity:1;transition:none }
}
.docs-group.menu-dialog { padding-top:31px;--menu-close-offset:31px }
@media (max-width:1100px) {
.docs-group.menu-dialog { padding-top:25px;--menu-close-offset:25px }
}
@media (max-width:760px) {
.docs-group.menu-dialog { padding-top:20px;--menu-close-offset:20px }
}
.docs-group.menu-dialog .menu-close { top:0 }
@media (max-width:900px) {
.docs-group.menu-dialog[data-menu-pointer-open="true"] .menu-close:focus { outline:none }
}
.docs-group.site-footer .footer-list li[data-footer-page] { padding:0 }

/* Docs alone uses a dark version of the shared group shell. */
.docs-group {
  --brand-logo-height: 24px;
  --canvas: #101827;
  --surface: #1b273a;
  --ink: #e5e7eb;
  --muted: #a8b2c3;
  --line: #354157;
  --green: #f8fafc;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, system-ui, sans-serif;
  color-scheme: dark;
  font-family: var(--sans);
  color: var(--ink);
}
.docs-group.masthead {
  position: relative;
  z-index: 41;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: #101827;
  border-bottom: 1px solid #273246;
}
.docs-group.masthead .site-header {
  width: 100%;
  max-width: 1120px;
  min-height: 70px;
  margin: 0 auto;
  padding: 8px 24px;
}
.docs-group .brand img { filter: brightness(0) invert(1); }
.docs-group.site-footer {
  width: 100%;
  margin: 38px 0 0;
  padding: clamp(40px, 6vw, 72px) 24px 24px;
  border-top: 1px solid #293448;
  background: #020417;
}
.docs-group.site-footer .footer-upper, .docs-group.site-footer .footer-base {
  max-width: 1072px;
}
.docs-group.site-footer .footer-language-panel .ms-footer-language-link {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 6px;
  font: inherit;
  color: var(--ink);
}
.docs-group .ms-footer-language-link:hover,
.docs-group .ms-footer-language-link:focus-visible { background: var(--surface); }
.docs-group a:focus-visible, .docs-group summary:focus-visible,
.docs-group button:focus-visible { outline-color: #facc15; }
.docs-skip {
  position: fixed;
  top: 8px; left: 16px; z-index: 65;
  transform: translateY(calc(-100% - 16px));
  padding: 12px 16px; border-radius: 6px; background: #101827; color: white;
}
.docs-skip:focus { transform: none; outline: 2px solid #facc15; }
#docs-content:focus { outline: none; }
#docs-content article[id] { scroll-margin-top: 62px; }
@media (min-width: 881px) { #docs-content .ms-docs-toc-card { top: 62px; } }
@media (max-width: 960px) {
  .docs-group.masthead .site-header { padding-inline: 16px; min-height: 62px; }
  .docs-group.site-footer { padding-inline: 16px; }
}
@media (max-width: 600px) {
  .ms-site-nav-inner { flex-wrap: wrap; gap: 6px 14px; padding-block: 8px; }
  .ms-site-nav-links { flex-wrap: wrap; gap: 6px 12px; }
  #docs-content article[id] { scroll-margin-top: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  .docs-group *, .docs-group *::before, .docs-group *::after { transition: none !important; animation: none !important; }
}
