/* The existing mobile header hides its desktop nav. Do not add a separate safety row. */
.top nav:has(>.tech-safety-menu){align-items:center}
.top nav:has(>.tech-safety-menu)>:is(a,button){display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding-block:8px;font-size:15px;font-weight:600;line-height:24px}
.top nav:has(>.tech-safety-menu)>:is(a,button):not(.tech-safety-menu){padding-inline:0}
.top nav a.tech-safety-menu{display:inline-flex;align-items:center;min-height:40px;padding:8px 0;font-size:15px;font-weight:600;line-height:24px;color:inherit;text-decoration:none;white-space:nowrap;letter-spacing:inherit}
.top nav a.tech-safety-menu:hover{text-decoration:underline;text-underline-offset:5px}.top nav a.tech-safety-menu[aria-current]{text-decoration:underline;text-underline-offset:7px}
.top nav a.tech-safety-menu{position:relative;padding-left:20px}.top nav a.tech-safety-menu::before{content:'';position:absolute;left:0;top:50%;height:18px;transform:translateY(-50%);border-left:1px solid var(--hair,#c5cdd2)}
.bank>.tech-safety-field{grid-column:1/-1;display:inline-flex;align-items:center;min-height:44px;width:max-content;max-width:100%;padding:8px 0;font-size:14px;font-weight:600;color:var(--soft,#505a62);text-decoration:none}
.bank>.tech-safety-field::after{content:'→';margin-left:8px}.bank>.tech-safety-field:hover{text-decoration:underline;text-underline-offset:4px}
#home-fields>.tech-safety-field{display:inline-flex;align-items:center;min-height:40px;padding:6px 10px;color:inherit;font-size:13px;font-weight:600;text-decoration:none;white-space:nowrap}
#home-fields>.tech-safety-field::after{content:'↗';margin-left:6px;font-size:12px}
.tech-safety-menu:focus-visible,.tech-safety-field:focus-visible{outline:3px solid #6c8798;outline-offset:4px;border-radius:3px}
/* Reuse the existing instrument while the first-view image gate waits. The ready
   controller may hide it before images decode; a fixed copy of that same element
   preserves image geometry. No new loading design, timer or controller is added. */
html.tb-first-wait:has(#reader-load)::after{display:none}
html.tb-first-wait #reader-load,html.tb-first-wait #reader-public-fallback{visibility:visible}
html.tb-first-wait #reader-load[hidden]{display:block!important;position:fixed;inset:0;z-index:1}
@media(max-width:380px){#reader-interface .top .in{flex-wrap:wrap;row-gap:0}}
