/* Shared navigation skin for the existing application and the gallery. */
.unified-site-header{font-family:"Segoe UI","Microsoft YaHei",sans-serif;color:var(--cp-text,#1f2c42);background:var(--cp-surface,#fff);border-bottom:1px solid var(--cp-border,#dce4ef);position:sticky;top:0;z-index:40;line-height:1.4;letter-spacing:normal}.unified-site-header .site-main-row,.docs-topbar.unified-site-header .topbar-main{display:flex;align-items:center;gap:18px;height:60px;padding:0 20px;border-bottom:1px solid var(--cp-border,#e4eaf2);min-width:0}.unified-site-header .site-brand,.docs-topbar.unified-site-header .brand{display:flex;align-items:center;gap:10px;flex-shrink:0;width:auto;white-space:nowrap;font-size:17px;font-weight:650;letter-spacing:-.4px;text-decoration:none;color:inherit;line-height:1.35}.site-brand strong{font-size:inherit;font-weight:650}.site-brand img{display:block;max-width:none;flex-shrink:0;width:34px;height:34px}.unified-site-header .site-primary-nav,.docs-topbar.unified-site-header .topbar-nav{display:flex;align-items:center;gap:2px;min-width:0;flex:1;overflow-x:auto;scrollbar-width:none;height:60px;white-space:nowrap}.site-primary-nav::-webkit-scrollbar,.unified-site-header .topbar-nav::-webkit-scrollbar{display:none}.unified-site-header .site-primary-nav a,.docs-topbar.unified-site-header .topbar-nav a{flex-shrink:0;display:flex;align-items:center;height:60px;padding:0 9px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;font-size:14px;font-weight:400;color:var(--cp-text-muted,#596a83);text-decoration:none}.unified-site-header .site-primary-nav a.active,.docs-topbar.unified-site-header .topbar-nav a.active{border-bottom-color:var(--cp-link,#286bca);color:var(--cp-text,#172c47);font-weight:600}.unified-site-header .site-primary-nav a:hover,.docs-topbar.unified-site-header .topbar-nav a:hover{color:var(--cp-link,#286bca);background:transparent}.site-header-actions{display:flex;align-items:center;gap:12px;white-space:nowrap;flex-shrink:0}.site-search{display:grid;place-items:center;width:34px;height:34px;color:#697c96;border-radius:6px}.site-search:hover{background:#edf3fa}.site-manage{font-size:14px;color:var(--cp-link,#286bca);padding:6px;text-decoration:none}.site-breadcrumb{height:40px;display:flex;align-items:center;gap:14px;padding:0 20px;font-size:13px;color:#6b7b94}.site-breadcrumb a{color:inherit;text-decoration:none}.site-breadcrumb>span:last-child{color:#314661}.site-primary-nav a:focus-visible,.site-brand:focus-visible,.site-header-actions a:focus-visible{outline:3px solid #87ace3;outline-offset:-3px}.docs-topbar.unified-site-header{position:fixed;inset:0 0 auto}.docs-topbar.unified-site-header .topbar-search{flex:0 1 250px;min-width:34px;max-width:250px}.docs-topbar.unified-site-header .topbar-actions{flex-shrink:0;gap:7px}.presentation-header{position:relative;transition:opacity .22s;z-index:40}.presentation-header.presentation-header-hidden{opacity:0;visibility:hidden;pointer-events:none}.presentation-page{overflow:hidden}.presentation-page .showcase{height:calc(100dvh - 60px)}.presentation-page .showcase:fullscreen{height:100dvh}
@media(max-width:1450px){.docs-topbar.unified-site-header .topbar-search{flex:0 0 34px;width:34px;padding:5px;justify-content:center;background:transparent;border-color:transparent}.docs-topbar.unified-site-header .topbar-search span,.docs-topbar.unified-site-header .topbar-search kbd{display:none}.docs-topbar.unified-site-header .mobile-search{display:none}}
@media(max-width:1100px){.unified-site-header .site-main-row,.docs-topbar.unified-site-header .topbar-main{gap:10px;padding:0 14px}.unified-site-header .site-brand,.docs-topbar.unified-site-header .brand{font-size:15px;gap:8px}.unified-site-header .site-primary-nav a,.docs-topbar.unified-site-header .topbar-nav a{padding:0 8px;font-size:13px}.site-header-actions{gap:4px}.site-manage{font-size:13px}.site-search{width:30px}}
@media(max-width:800px){.unified-site-header .site-main-row,.docs-topbar.unified-site-header .topbar-main{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:54px 44px;height:98px;gap:0 10px;padding:0 14px}.unified-site-header .site-brand,.docs-topbar.unified-site-header .brand{grid-column:1;grid-row:1;font-size:15px}.site-brand img{width:29px;height:29px}.site-header-actions,.docs-topbar.unified-site-header .topbar-actions{grid-column:2;grid-row:1}.unified-site-header .site-primary-nav,.docs-topbar.unified-site-header .topbar-nav{display:flex!important;grid-column:1/-1;grid-row:2;width:100%;height:44px;overflow-x:auto}.unified-site-header .site-primary-nav a,.docs-topbar.unified-site-header .topbar-nav a{height:44px;padding:0 12px;font-size:13px}.docs-topbar.unified-site-header .topbar-search,.docs-topbar.unified-site-header .directory-toggle{display:none}.docs-topbar.unified-site-header .mobile-search{display:inline-flex}.docs-topbar.unified-site-header .theme-toggle{display:none}.documentation-shell{--cp-header-height:138px!important}.presentation-page .showcase{height:calc(100dvh - 98px)}.presentation-page .showcase:fullscreen{height:100dvh}.site-breadcrumb{padding:0 14px}.site-manage{padding-right:0}.site-search{width:28px}}
@media(prefers-reduced-motion:reduce){.presentation-header{transition:none}}

.docs-topbar.unified-site-header .brand-product-mark{width:34px;height:34px;flex-basis:34px}.site-primary-nav{margin:0}.site-header-actions a{line-height:1.4}

@media(max-width:800px){.docs-topbar.unified-site-header .directory-toggle{display:inline-flex;position:absolute;left:10px;top:10px;width:30px;height:34px;align-items:center;justify-content:center}.docs-topbar.unified-site-header .brand{margin-left:32px;font-size:13px;min-width:0}.docs-topbar.unified-site-header .brand-product-mark{width:29px;height:29px;flex-basis:29px}.docs-topbar.unified-site-header .brand>span{overflow:hidden;text-overflow:ellipsis}.docs-topbar.unified-site-header .topbar-actions{gap:3px}}

.unified-site-header{border-bottom:0}.site-breadcrumb,.docs-topbar.unified-site-header .context-bar{box-sizing:border-box;border-bottom:1px solid var(--cp-border,#dce4ef)}

/* Navigation stays readable without changing the header's height contract. */
.unified-site-header .site-primary-nav a,
.docs-topbar.unified-site-header .topbar-nav a,
.site-manage{font-size:1rem}
.site-breadcrumb,.docs-topbar.unified-site-header .context-bar{font-size:.875rem}
.site-breadcrumb{min-width:0;overflow-x:auto;white-space:nowrap}
.site-breadcrumb>*{flex-shrink:0}
@media(max-width:1100px){
  .unified-site-header .site-primary-nav a,
  .docs-topbar.unified-site-header .topbar-nav a{padding:0 10px;font-size:1rem}
  .site-manage{font-size:.9375rem}
}
@media(max-width:800px){
  .unified-site-header .site-primary-nav a,
  .docs-topbar.unified-site-header .topbar-nav a{font-size:1rem}
}

/* Documentation header: global row, product row, then the page hierarchy. */
.site-document-row{height:44px;display:flex;align-items:center;padding:0 24px;border-bottom:1px solid #e5e5e5;font-size:17px;background:#fafafa}.site-document-row a{color:#242424;text-decoration:none;font-weight:600}.unified-site-header .site-main-row{height:62px}.unified-site-header .site-primary-nav,.unified-site-header .site-primary-nav a{height:62px}.unified-site-header .site-primary-nav a{font-size:16px}.site-breadcrumb{display:none}.presentation-header{position:sticky!important;top:0!important;opacity:1!important;visibility:visible!important;transform:none!important;pointer-events:auto!important}.presentation-page .showcase{height:calc(100dvh - 106px)}.presentation-page .slide{inset:0}.presentation-page .showcase-context,.presentation-page .slide-verification,.presentation-page .view-label{display:none}.presentation-page .showcase:fullscreen{height:100dvh}:root{--learning-header-height:106px}.docs-topbar.unified-site-header .site-document-row{width:100%}.unified-site-header .site-main-row .site-brand{font-size:16px}@media(max-width:800px){:root{--learning-header-height:148px}.site-document-row{height:40px;padding:0 16px}.presentation-page .showcase{height:calc(100dvh - 148px)}.tl-directory{top:148px}}

@media(max-width:800px){:root{--learning-header-height:138px}.unified-site-header .site-main-row{height:98px}.unified-site-header .site-primary-nav,.unified-site-header .site-primary-nav a{height:44px}.presentation-page .showcase{height:calc(100dvh - 138px)}.docs-topbar.unified-site-header .directory-toggle{top:50px}.documentation-shell{--cp-header-height:138px!important}}

/* Brand and global tools share the first row; product navigation owns the second. */
:root{--learning-header-height:112px}.unified-site-header .site-document-row{height:60px;display:flex;gap:24px;padding:0 24px;background:#fafafa;min-width:0}.unified-site-header .site-document-row .site-brand{flex:0 0 auto}.unified-site-header .site-global-nav{display:flex;align-items:center;gap:4px;flex:1;min-width:0;overflow-x:auto;white-space:nowrap;scrollbar-width:thin}.unified-site-header .site-global-nav a{font-size:16px;font-weight:400;min-height:44px;display:flex;align-items:center;padding:8px 12px;border-bottom:2px solid transparent;color:#46576e;text-decoration:none;flex-shrink:0}.unified-site-header .site-global-nav a.active{color:#172c47;border-color:#286bca;font-weight:600}.unified-site-header .site-main-row{height:52px;padding:0 24px;display:flex}.unified-site-header .site-primary-nav,.unified-site-header .site-primary-nav a{height:52px}.unified-site-header .site-brand-logo{display:block;width:auto;max-width:140px;height:36px;object-fit:contain;flex-shrink:0}.unified-site-header [hidden]{display:none!important}.presentation-page .showcase{height:calc(100dvh - 112px)}.docs-topbar.unified-site-header .topbar-main{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:60px 52px;height:112px;padding:0 24px;gap:0 24px}.docs-topbar.unified-site-header .brand{grid-column:1;grid-row:1;margin:0}.docs-topbar.unified-site-header .site-global-nav{grid-column:2;grid-row:1}.docs-topbar.unified-site-header .topbar-actions{grid-column:3;grid-row:1}.docs-topbar.unified-site-header .topbar-nav{grid-column:1/-1;grid-row:2;height:52px}.docs-topbar.unified-site-header .topbar-nav a{height:52px;font-size:16px}.docs-topbar.unified-site-header .context-bar{display:none}.configured-brand .brand-product-mark{display:none!important}.tl-directory{top:112px;height:calc(100dvh - 112px)}.tl-layout{min-height:calc(100dvh - 112px)}
@media(max-width:1050px){.unified-site-header .site-document-row{gap:12px;padding:0 16px}.unified-site-header .site-brand{font-size:14px}.unified-site-header .site-global-nav a{padding-inline:9px;font-size:15px}}
@media(max-width:800px){:root{--learning-header-height:150px}.unified-site-header .site-document-row{height:98px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:54px 44px;gap:0 8px;padding:0 14px}.unified-site-header .site-document-row .site-brand{grid-column:1;grid-row:1;min-width:0}.unified-site-header .site-document-row .site-brand>span{overflow:hidden;text-overflow:ellipsis}.unified-site-header .site-document-row .site-header-actions{grid-column:2;grid-row:1}.unified-site-header .site-document-row .site-global-nav{grid-column:1/-1;grid-row:2;width:100%}.unified-site-header .site-main-row{height:52px;display:flex;padding:0 14px}.unified-site-header .site-primary-nav,.unified-site-header .site-primary-nav a{height:52px}.docs-topbar.unified-site-header .topbar-main{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:54px 44px 52px;height:150px;padding:0 14px;gap:0 8px}.docs-topbar.unified-site-header .brand{grid-column:1;grid-row:1;margin-left:0}.docs-topbar.unified-site-header .topbar-actions{grid-column:2;grid-row:1}.docs-topbar.unified-site-header .site-global-nav{grid-column:1/-1;grid-row:2}.docs-topbar.unified-site-header .topbar-nav{grid-column:1/-1;grid-row:3}.docs-topbar.unified-site-header .directory-toggle{display:none}.documentation-shell{--cp-header-height:150px!important}.presentation-page .showcase{height:calc(100dvh - 150px)}.unified-site-header .site-brand-logo{max-width:90px;height:30px}.tl-directory{height:auto;top:auto}}

/* Search belongs to the global row; learning facets belong to the product row. */
.unified-site-header .site-document-row{gap:18px}.unified-site-header .site-global-nav{flex:0 1 auto}.site-header-search{display:flex;align-items:center;gap:0;flex:1 1 400px;max-width:520px;min-width:150px;margin:0 auto;border:1px solid #c8cdd5;border-radius:6px;background:#fff;overflow:hidden;height:38px}.site-header-search input{font:400 15px "Segoe UI","Microsoft YaHei",sans-serif;flex:1;min-width:0;width:100%;border:0;background:transparent;padding:8px 12px;color:#25364a;outline-offset:-3px}.site-header-search button{border:0;border-left:1px solid #dce2e8;background:#f3f6fa;color:#155a91;font:inherit;font-size:14px;padding:8px 13px;cursor:pointer}.site-header-search:focus-within{outline:2px solid #3376b8;outline-offset:1px}.site-filter-nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0;margin-left:24px;font-size:15px}.site-filter-nav select{font:inherit;color:inherit;border:1px solid #c8cdd5;border-radius:5px;padding:6px 28px 6px 10px;background:#fff;max-width:240px;min-width:130px}.unified-site-header .site-main-row:has(.site-filter-nav) .site-primary-nav{flex:0 1 auto}.docs-topbar.unified-site-header .topbar-main{grid-template-columns:auto auto minmax(150px,1fr) auto;gap:0 18px}.docs-topbar.unified-site-header .site-header-search{grid-column:3;grid-row:1;width:100%}.docs-topbar.unified-site-header .topbar-actions{grid-column:4}.docs-topbar.unified-site-header .topbar-search,.docs-topbar.unified-site-header .mobile-search{display:none!important}
@media(max-width:1200px){.unified-site-header .site-global-nav a{padding-inline:8px}.unified-site-header .site-document-row{gap:12px}.site-header-search{min-width:140px}}
@media(max-width:800px){:root{--learning-header-height:194px}.unified-site-header .site-document-row{height:142px;grid-template-rows:54px 44px 44px}.unified-site-header .site-document-row .site-header-search{grid-column:1/-1;grid-row:3;width:100%;max-width:520px;align-self:start}.unified-site-header .site-main-row{overflow-x:auto;gap:0}.site-filter-nav{margin-left:14px;flex-wrap:nowrap;flex-shrink:0}.site-filter-nav label{display:none}.site-filter-nav select{font-size:14px;max-width:180px;min-width:118px}.docs-topbar.unified-site-header .topbar-main{height:194px;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:54px 44px 44px 52px;gap:0 8px}.docs-topbar.unified-site-header .site-header-search{grid-column:1/-1;grid-row:3}.docs-topbar.unified-site-header .topbar-actions{grid-column:2;grid-row:1}.docs-topbar.unified-site-header .topbar-nav{grid-row:4}.documentation-shell{--cp-header-height:194px!important}.presentation-page .showcase{height:calc(100dvh - 194px)}.tl-directory{top:auto;height:auto}.tl-layout{min-height:calc(100dvh - 194px)}}

@media(max-width:800px){.unified-site-header .site-document-row{gap:0 8px}}

.site-filter-menu{position:relative;margin-left:24px;font-size:16px;flex-shrink:0}.site-filter-menu summary{list-style:none;cursor:pointer;padding:14px 8px}.site-filter-menu summary::-webkit-details-marker{display:none}.site-filter-menu summary:after{content:'';display:inline-block;width:6px;height:6px;border-right:1px solid;border-bottom:1px solid;transform:rotate(45deg);margin:0 3px 3px 10px}.site-filter-menu[open] summary:after{transform:rotate(225deg);margin-bottom:0}.site-filter-options{position:absolute;top:100%;left:0;min-width:210px;padding:12px;background:#f3f3f3;border:1px solid #ddd;box-shadow:0 6px 12px #0001;z-index:60}.site-filter-options button{display:block;width:100%;border:0;background:transparent;padding:12px;text-align:left;font:inherit;cursor:pointer;color:inherit}.site-filter-options button:hover,.site-filter-options button[aria-current]{background:#e5e5e5}.unified-site-header .site-main-row:has(.site-filter-menu) .site-primary-nav{flex:0 1 auto}.unified-site-header .site-main-row:has(.site-filter-menu){overflow:visible}@media(max-width:800px){.site-filter-menu{margin-left:8px;font-size:14px}.site-filter-menu summary{padding-inline:4px}.site-filter-options{left:auto;right:0}}
/* Reserve the scrollbar lane so short and long pages keep the same alignment. */
html{scrollbar-gutter:stable}html[data-route-redirect=true] body{visibility:hidden}
.legacy-site-header{position:fixed;inset:0 0 auto}

.unified-site-header .site-brand-logo[src^="/api/platform/logo/"]{width:var(--brand-logo-width,200px);max-width:320px;height:44px;object-fit:contain}.unified-site-header .site-brand>span[hidden]{display:none!important}@media(max-width:800px){.unified-site-header .site-brand-logo[src^="/api/platform/logo/"]{width:min(var(--brand-logo-width,200px),180px);max-width:180px;height:38px}}

/* Both library category menus are available from every shared header. */
.unified-site-header .navigation-extra{display:inline-flex;align-items:center;align-self:stretch;flex-shrink:0;margin-left:-10px;margin-right:6px}.unified-site-header .scenario-nav-filter{display:flex;align-items:center;min-width:0}.library-category-toggle:focus-visible{outline:2px solid #161616;outline-offset:-3px}
body .site-primary-nav .navigation-extra{display:inline-flex;align-items:center;align-self:stretch;margin-left:-10px;margin-right:-6px;flex-shrink:0}
body .site-primary-nav .scenario-nav-filter{display:flex;align-items:center;margin:0;padding:0;flex:none;min-width:0}
.library-category-toggle{display:grid;place-items:center;width:36px;min-width:36px;height:40px;padding:0;border:0;border-radius:0;background:transparent;color:#242424;cursor:pointer;box-shadow:none;touch-action:manipulation}
.library-category-toggle>span{width:6px;height:6px;margin-top:-3px;border-bottom:1px solid currentColor;border-right:1px solid currentColor;transform:translateX(-6px) rotate(45deg);transition:transform .15s}
.library-category-toggle[aria-expanded=true]{background:#eaeaea}.library-category-toggle[aria-expanded=true]>span{transform:translateX(-6px) rotate(225deg);margin-top:3px}
.library-category-toggle:hover{background:#eee}.library-category-toggle:focus:not(:focus-visible){outline:none}
.unified-site-header .site-primary-nav .library-category-toggle,.unified-site-header .site-primary-nav .library-category-toggle:hover,.unified-site-header .site-primary-nav .library-category-toggle[aria-expanded=true]{border:0;border-radius:0;background:transparent;box-shadow:none}
.scenario-category-menu{position:fixed;inset:auto;margin:0;padding:6px 0;width:360px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 100px);overflow-y:auto;overscroll-behavior:contain;border:1px solid #e1e1e1;border-top:0;border-radius:0;background:#fff;color:#161616;box-shadow:0 4px 10px #0003;font:14px/1.5 "Segoe UI","Microsoft YaHei",sans-serif;scrollbar-width:thin;scrollbar-color:#b5b5b5 transparent}
.scenario-category-menu::backdrop{background:transparent}
.scenario-category-menu{z-index:80}.scenario-category-menu[hidden]{display:none!important}
.scenario-category-menu a{position:relative;display:block;min-height:36px;padding:8px 36px 8px 16px;color:#161616;text-align:left;text-decoration:none;overflow-wrap:anywhere;font-weight:400;line-height:20px}
.scenario-category-menu a:hover{background:#f0f0f0;text-decoration:underline}.scenario-category-menu a[aria-current=true]{background:#edf3f8;color:#005a9e}.scenario-category-menu a[aria-current=true]::after{content:'✓';position:absolute;right:15px;top:8px;font-size:14px}
.scenario-category-menu section+section{border-top:1px solid #e5e5e5;margin-top:6px;padding-top:4px}.scenario-category-menu h2{margin:0;padding:8px 16px 4px;color:#616161;font-size:12px;line-height:20px;font-weight:600}.scenario-category-menu a:focus-visible{outline:2px solid #161616;outline-offset:-3px}
.scenario-category-menu section>a{padding-left:28px}

/* The list is positioned against the header so the scrollable navigation
   rows never crop it. Native details keeps every destination usable without JS. */
.unified-site-header .document-switcher{flex:none;color:var(--ui-muted,#46576e)}
.document-switcher summary{display:flex;align-items:center;gap:8px;min-height:36px;padding:0 9px;list-style:none;cursor:pointer;font:500 14px/1.4 "Segoe UI","Microsoft YaHei",sans-serif}
.document-switcher summary::-webkit-details-marker{display:none}
.document-switcher summary::after{content:"";width:6px;height:6px;border:solid currentColor;border-width:0 1px 1px 0;transform:translateY(-2px) rotate(45deg)}
.document-switcher[open] summary::after{transform:translateY(2px) rotate(225deg)}
.document-switcher[open] summary,.document-switcher summary:hover{color:var(--ui-ink,#172c47);background:var(--ui-hover,#edf3fa)}
.document-switcher summary:focus-visible,.document-switcher-panel a:focus-visible{outline:2px solid var(--ui-blue,#0067b8);outline-offset:-2px}
.unified-site-header .document-switcher-panel{position:absolute;z-index:70;overflow:auto;box-sizing:border-box;width:min(280px,calc(100vw - 16px));padding:6px;margin:0;color:var(--ui-ink,#172c47);background:var(--ui-surface,#fff);border:1px solid var(--ui-line,#dce4ef);border-radius:0 0 7px 7px;box-shadow:0 7px 18px #162c4929}
body .unified-site-header .document-switcher-panel a{box-sizing:border-box;display:flex;align-items:center;min-height:38px;height:auto;padding:7px 12px;border:0;border-radius:3px;font-size:14px;white-space:normal}
body .unified-site-header .document-switcher-panel a:is(:hover,:focus-visible){color:var(--ui-ink,#172c47);background:var(--ui-hover,#edf3fa)}
body .unified-site-header .document-switcher-panel a[aria-current]{color:var(--ui-blue,#0067b8);background:var(--ui-subtle,#f4f8fe);font-weight:600}
body .unified-site-header .document-switcher-panel .document-catalog-link{margin-bottom:4px;border-bottom:1px solid var(--ui-line,#dce4ef);border-radius:0}
@media(max-width:800px){.document-switcher summary{min-height:34px;padding-inline:8px;font-size:13px}}

/* Keep both rows inside their existing height as the shared links overflow. */
.unified-site-header .site-document-row > .site-global-nav {
  align-self: stretch;
  gap: 0;
  overscroll-behavior-x: contain;
  scrollbar-color: var(--ui-control-line, #8395ad) transparent;
}

@media (min-width: 801px) {
  .unified-site-header .site-document-row > .site-header-search {
    flex: 1 1 9rem;
  }
}

@media (min-width: 801px) and (max-width: 1399px) {
  body .unified-site-header .site-document-row {
    gap: 10px;
  }

  .unified-site-header .site-document-row > .site-brand {
    max-width: clamp(140px, 18vw, 220px);
    min-width: 0;
  }

  .site-document-row .site-brand [data-brand-text] {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .unified-site-header .site-document-row .site-brand-logo[src^="/api/platform/logo/"] {
    flex-shrink: 1;
    min-width: 0;
    max-width: 100%;
  }

  body .unified-site-header .site-document-row .site-global-nav > a {
    padding-inline: 6px;
  }
}

.unified-site-header .site-header-actions {
  gap: 2px;
}

body .unified-site-header .site-header-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 36px;
  padding-inline: 6px;
  border-radius: 5px;
  color: var(--ui-muted, #46576e);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.unified-site-header .site-header-actions a.site-icon-action {
  width: 36px;
  padding: 0;
}

.site-icon-action svg {
  display: block;
  flex: none;
}

body .unified-site-header .site-header-actions a:hover {
  color: var(--ui-ink, #172c47);
  background: var(--ui-hover, #edf3fa);
}

body .unified-site-header .site-header-actions a[aria-current="page"] {
  color: var(--ui-blue, #0067b8);
  background: var(--ui-selected, #e5f0fc);
}

@media (max-width: 800px) {
  body .unified-site-header .site-header-actions a {
    padding-inline: 4px;
    font-size: 13px;
  }

  .unified-site-header .site-document-row .site-brand {
    overflow: hidden;
  }

  .unified-site-header .site-document-row .site-brand-logo[src^="/api/platform/logo/"] {
    max-width: min(100%, 180px);
  }
}
