/* Only missing-material reservations and keyboard states. No layout/theme overrides. */
.pending-copy{display:block;white-space:normal;overflow-wrap:anywhere;user-select:none}
.pending-surface{min-height:260px;display:flex;align-items:center;justify-content:center;background:#f8f9fc;color:#8492a6}
#jiming_video_lightbox video,#nocobase_video_lightbox video{width:100%;max-height:75vh}
#topnav .navigation-menu>li:focus-within>.submenu{visibility:visible;opacity:1;margin-top:0}
#topnav .navigation-menu>li.keyboard-open>.submenu{visibility:visible;opacity:1;margin-top:0}
#topnav .github-stars:empty{visibility:hidden}
#topnav .navigation-menu a:focus-visible,.navbar-toggle:focus-visible{outline:2px solid #2f55d4;outline-offset:3px}
@media(max-width:991px){#navigation{max-height:calc(100dvh - 74px);overflow:auto}.navigation-menu>li.keyboard-open>.submenu{display:block!important}}

/* Keep the original grid while reducing the empty space above the hero. */
main > section.bg-half-260:first-child{padding-top:170px}
@media(max-width:767px){main > section.bg-half-260:first-child{padding-top:120px}}
/* Allow longer translated navigation and headings without changing the grid. */
html[lang="en"] #topnav .submenu a,html[lang="ja"] #topnav .submenu a{white-space:normal;overflow-wrap:break-word}
html[lang="en"] .section-title h3,html[lang="ja"] .section-title h3{overflow-wrap:break-word}
