/* A small search disclosure within the original R66 navigation. */
html body header.nav .nav-inner{position:relative}
html body header.nav .swf-header-search{flex:0 0 auto;margin:0;padding:0;border:0;background:transparent}
html body header.nav .swf-header-search>summary{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:10px;list-style:none;cursor:pointer;border:1px solid var(--hair-strong,#d5e2d9);border-radius:12px;background:var(--white,#fff);color:var(--ink,#173526)}
html body header.nav .swf-header-search>summary::-webkit-details-marker{display:none}
html body header.nav .swf-header-search>summary::marker{content:""}
html body header.nav .swf-header-search>summary svg{display:block;width:22px;height:22px;flex:none}
html body header.nav .swf-header-search[open]>summary,html body header.nav .swf-header-search>summary:hover{background:var(--mint,#e9f5ed);color:var(--green-deep,#17663d)}
html body header.nav .swf-header-search :is(summary,input,button):focus-visible{outline:3px solid var(--green-deep,#17663d);outline-offset:3px}
html body header.nav .swf-header-search-panel{position:absolute;inset-block-start:100%;inset-inline-end:0;z-index:20;box-sizing:border-box;width:min(460px,100%);max-height:calc(100dvh - 90px);overflow:auto;margin:0;padding:20px;border:1px solid var(--hair-strong,#d5e2d9);border-radius:0 0 16px 16px;background:var(--white,#fff);color:var(--ink,#173526);box-shadow:0 12px 24px rgb(23 53 38 / 12%);white-space:normal;text-align:start}
html body header.nav .swf-header-search-panel label{display:block;margin:0 0 10px;font-size:14px;font-weight:600;line-height:1.5}
html body header.nav .swf-header-search-row{display:flex;gap:10px;min-width:0}
html body header.nav .swf-header-search-row input{min-width:0;width:100%;flex:1 1 auto;box-sizing:border-box;min-height:44px;border:1px solid var(--hair-strong,#d5e2d9);border-radius:10px;padding:10px;font-size:16px;background:#fff;color:var(--ink,#173526)}
html body header.nav .swf-header-search-row button{flex:0 0 auto;min-height:44px;border:0;border-radius:10px;padding:10px 16px;background:var(--green-deep,#17663d);color:#fff;font-size:14px;font-weight:600;cursor:pointer}
/* Match the final original v61 navigation layer: its mobile menu lasts to1399px. */
@media(max-width:1399px){
  html body header.nav .nav-inner>.nav-actions{display:flex!important;align-items:center;margin-inline-start:auto;gap:0!important}
  html body header.nav .nav-inner>.nav-actions>:not(.swf-header-search){display:none!important}
  html body header.nav .nav-inner>.burger{margin-left:0!important;margin-inline-start:0!important}
}
@media(max-width:400px){
  html body header.nav .nav-inner{gap:6px!important}
  html body header.nav .nav-inner>.brand{font-size:17px!important;gap:6px!important}
  html body header.nav .nav-inner>.brand svg{width:28px;height:28px}
  html body header.nav .swf-header-search-panel{padding:16px}
  html body header.nav .swf-header-search-row{flex-wrap:wrap}
  html body header.nav .swf-header-search-row input{flex-basis:100%}
}
html.no-js body header.nav .swf-header-search-panel{position:static;max-height:none;box-shadow:none;border-radius:12px}
html.no-js body header.nav .swf-header-search[open]{width:100%}
html.no-js body header.nav .nav-inner:has(.swf-header-search[open]){display:flex!important;flex-wrap:wrap;height:auto!important;padding-block:12px}
html.no-js body header.nav .nav-inner:has(.swf-header-search[open])>.nav-actions{order:3;width:100%;display:flex!important;flex-wrap:wrap}
