/* Shared header only: page typography and product layouts remain independent. */
body.ucgh-page { padding-top: 0; }
.ucgh-header, .ucgh-header * { box-sizing: border-box; }
.ucgh-header { position: sticky; top: 0; z-index: 1000; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 70px; padding: 10px max(28px, calc((100% - 1240px) / 2)); border-bottom: 1px solid #d6e7f1; background: #f8fcfffa; color: #203a4d; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 1.5; text-align: left; letter-spacing: normal; }
.ucgh-header a { text-decoration: none; }
.ucgh-header .ucgh-brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; color: #142e4c; font-size: 23px; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.ucgh-brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: #245fba; color: #fff; font-size: 19px; letter-spacing: -.05em; }
.ucgh-brand-dot { color: #245fba; }
.ucgh-header .ucdn { margin: 0; padding: 0; flex-wrap: nowrap; justify-content: flex-start; }
.ucgh-header .ucdn-disclosure { margin: 0; padding: 0; border: 0; background: transparent; position: static; }
.ucgh-header .ucdn-panel-heading h2 { font-size: 24px !important; line-height: 1.35 !important; font-weight: 650; background: linear-gradient(90deg, #1aa3ff, #666) !important; background-clip: text !important; -webkit-background-clip: text !important; color: transparent !important; -webkit-text-fill-color: transparent !important; }
.ucgh-header [hidden] { display: none !important; }
.ucgh-header a:focus-visible, .ucgh-header summary:focus-visible, .ucgh-header button:focus-visible { outline: 2px solid #0088cc; outline-offset: 3px; }
.ucgh-compact { display: none; margin: 0; padding: 0; border: 0; background: transparent; }
.ucgh-compact > summary { display: flex; align-items: center; gap: 9px; min-height: 42px; padding: 8px 12px; list-style: none; border: 1px solid #d4e7f3; border-radius: 10px; color: #006fa6; background: #f2f9fd; font-size: 15px; font-weight: 600; cursor: pointer; }
.ucgh-compact > summary::-webkit-details-marker { display: none; }
.ucgh-bars { width: 17px; height: 12px; border-block: 1.5px solid currentColor; position: relative; }
.ucgh-bars::after { content: ''; position: absolute; inset: 4px 0 auto; border-top: 1.5px solid currentColor; }
.ucgh-mobile-panel { position: absolute; top: calc(100% + 8px); right: 16px; width: min(460px, calc(100vw - 32px)); max-height: calc(100vh - 88px); max-height: calc(100dvh - 88px); overflow: auto; overscroll-behavior: contain; padding: 16px; border: 1px solid #d6e7f1; border-radius: 16px; background: #fff; box-shadow: 0 16px 40px #173e5b24; scrollbar-width: thin; }
.ucgh-header .ucgh-mobile-panel nav { display: block; margin: 0; padding: 0; }
.ucgh-mobile-shortcuts { display: flex; flex-wrap: wrap; gap: 4px 8px; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid #e9f0f5; }
.ucgh-mobile-shortcuts a { padding: 8px 4px; color: #006fa6; font-size: 14px; font-weight: 600; }
.ucgh-mobile-panel ul { list-style: none; margin: 0; padding: 0; }
.ucgh-mobile-panel li { margin: 0; padding: 0; }
.ucgh-mobile-panel .ucgh-menu-row { display: flex; align-items: center; gap: 8px; }
.ucgh-mobile-panel .ucgh-menu-link { display: block; min-width: 0; flex: 1; padding: 11px 8px; color: #294354; font-size: 15px; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; border-radius: 8px; }
.ucgh-mobile-panel > nav > .ucgh-menu > li > .ucgh-menu-row > a { font-weight: 650; }
.ucgh-mobile-panel .ucgh-menu-link:hover { color: #006fa6; background: #edf6fc; }
.ucgh-mobile-panel .ucgh-menu-toggle { display: none; width: 42px; height: 42px; flex: 0 0 42px; align-items: center; justify-content: center; padding: 0; border: 1px solid #d4e7f3; border-radius: 9px; background: #f2f9fd; color: #006fa6; font: inherit; cursor: pointer; }
.ucgh-compact.is-enhanced .ucgh-menu-toggle { display: inline-flex; }
.ucgh-mobile-panel .ucgh-menu-toggle[aria-expanded="true"] { background: #ddecf7; }
.ucgh-mobile-panel .ucgh-submenu { margin-left: 12px; padding-left: 6px; border-left: 1px solid #e1ebf2; }
.ucgh-mobile-panel .ucgh-submenu .ucgh-menu-link { font-size: 14px; }
.ucgh-mobile-panel .ucgh-menu-articles { margin-top: 8px; padding-top: 8px; border-top: 1px solid #e9f0f5; }
.ucgh-mobile-panel .ucgh-menu-group-title { display: block; padding: 6px 8px; color: #587384; font-size: 11px; letter-spacing: .06em; }
@media (max-width: 1150px) {
    .ucgh-header { min-height: 60px; padding: 8px 16px; gap: 12px; }
    .ucgh-header .ucgh-brand { font-size: 20px; gap: 9px; }
    .ucgh-brand-mark { width: 38px; height: 38px; font-size: 17px; border-radius: 11px; }
    .ucgh-compact { display: block; }
}
@media (prefers-reduced-motion: reduce) { .ucgh-header *, .ucgh-header *::after { animation: none !important; transition: none !important; } }
