/* WherOra site navigation (Nov 2026): header links + All tools panel, compact "Menu" sheet on phones and tablets,
   four-column footer, related-tools strips. Loaded after style.css on every page. */
.header.wo-nav{position:relative;display:flex;flex-wrap:nowrap;align-items:center;gap:18px;height:92px;padding:0 max(2.5vw,20px);row-gap:0}
.header.wo-nav .brand{flex:none}
.header.wo-nav .wo-main{display:flex;flex-wrap:nowrap;align-items:center;gap:2px;order:0;width:auto;height:auto;flex:0 1 auto;margin:0 auto 0 0;grid-template-columns:none}
.header.wo-nav .wo-main .nav{flex:none;white-space:nowrap;min-height:44px;padding:0 14px;font-size:15px;text-align:left;line-height:1.2}
.header.wo-nav .header-actions{margin-left:auto;gap:8px}
.wo-btn,.wo-menu-fallback{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 14px;border:1px solid #cbd9e7;border-radius:10px;background:#fff;color:#284c70;font:inherit;font-size:14px;font-weight:600;white-space:nowrap;cursor:pointer;text-decoration:none}
.wo-btn:hover{background:#edf5fd}
.wo-menu-btn{background:#0a63b4;border-color:#0a63b4;color:#fff}
.wo-menu-btn:hover{background:#08518f}
.wo-menu-btn .wo-ic-bars,.wo-menu-btn .wo-l-m,.wo-menu-fallback{display:none}
html[data-theme=dark] .wo-btn,html[data-theme=dark] .wo-menu-fallback{background:#233246;border-color:#43566e;color:#e0eafa}
html[data-theme=dark] .wo-btn:hover{background:#2c3e55}
html[data-theme=dark] .wo-menu-btn{background:#0a63b4;border-color:#3b82c4;color:#fff}
@media (max-width:1399px){
 .header.wo-nav .wo-main .nav{padding:0 10px;font-size:14px}
 .header.wo-nav .brand,.header.wo-nav .brand img{width:200px}
 .wo-search-l{display:none}
 .wo-search-btn{width:44px;padding:0}
}
/* All tools panel (desktop: a card under the header) */
.wo-panel{position:absolute;top:calc(100% + 8px);left:50%;transform:translateX(-50%);width:min(1240px,calc(100% - 40px));box-sizing:border-box;z-index:80;max-height:calc(100vh - 120px);overflow:auto;background:#fff;border:1px solid #cfdbe7;border-radius:16px;box-shadow:0 18px 50px rgba(16,32,48,.2);padding:18px 22px 14px;color:#172331;text-align:left}
.wo-panel[hidden]{display:none}
.wo-sheet-head{display:none}
.wo-searchrow{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-bottom:12px}
.wo-search{flex:1 1 260px;display:flex;align-items:center;gap:10px;min-height:48px;padding:0 12px;border:1.5px solid #8395a8;border-radius:10px;background:#fff;color:#4a5d70;box-sizing:border-box}
.wo-search:focus-within{border-color:#0a63b4;box-shadow:0 0 0 2px rgba(10,99,180,.25)}
.wo-search input{flex:1;min-width:0;min-height:44px;border:0;outline:0;background:transparent;font:inherit;font-size:16px;color:#172331}
.wo-guide{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:0 13px;border:1px solid #cbd9e7;border-radius:10px;background:#fff;color:#284c70;font:inherit;font-size:14px;font-weight:600;white-space:nowrap;cursor:pointer}
.wo-guide:hover{background:#edf5fd}
.wo-groups{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.wo-group h2{margin:4px 10px 6px;font-size:12px;line-height:1.3;letter-spacing:.12em;text-transform:uppercase;color:#4a5d70;font-weight:700}
.wo-group ul,.wo-results{list-style:none;margin:0;padding:0}
.wo-tool,.wo-results a{display:flex;flex-direction:column;justify-content:center;gap:2px;padding:9px 10px;border-radius:10px;color:#172331;text-decoration:none}
.wo-tool:hover,.wo-tool:focus-visible,.wo-results a:hover,.wo-results a:focus-visible{background:#eef4fb}
.wo-tool[aria-current]{background:#e2eefb}
.wo-tn{font-size:15px;font-weight:600}
.wo-td,.wo-ru{font-size:13px;line-height:1.4;color:#4a5d70}
.wo-results{margin-bottom:6px}
.wo-results[hidden]{display:none}
.wo-noresult{padding:10px;color:#4a5d70;font-size:15px}
.wo-panel-foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 16px;margin:12px 0 0;padding-top:12px;border-top:1px solid #e3e9f0;font-size:14px;color:#4a5d70}
.wo-panel-foot a{color:#0a63b4;font-weight:600}
html[data-theme=dark] .wo-panel{background:#151e29;border-color:#33445a;color:#e7edf5;box-shadow:0 18px 50px rgba(0,0,0,.5)}
html[data-theme=dark] .wo-search{background:#0f1720;border-color:#5b7088;color:#b4c3d3}
html[data-theme=dark] .wo-search input{color:#e7edf5}
html[data-theme=dark] .wo-guide{background:#233246;border-color:#43566e;color:#e0eafa}
html[data-theme=dark] .wo-group h2,html[data-theme=dark] .wo-td,html[data-theme=dark] .wo-ru,html[data-theme=dark] .wo-noresult,html[data-theme=dark] .wo-panel-foot{color:#b4c3d3}
html[data-theme=dark] .wo-tool,html[data-theme=dark] .wo-results a{color:#e7edf5}
html[data-theme=dark] .wo-tool:hover,html[data-theme=dark] .wo-tool:focus-visible,html[data-theme=dark] .wo-results a:hover,html[data-theme=dark] .wo-results a:focus-visible{background:#1f2c3b}
html[data-theme=dark] .wo-tool[aria-current]{background:#1d3550}
html[data-theme=dark] .wo-panel-foot{border-color:#33445a}
html[data-theme=dark] .wo-panel-foot a{color:#8cc4ff}
html[data-theme=dark] .wo-sheet-head{border-color:#33445a}
/* Compact header: phones, tablets, small laptops, and phones in landscape */
@media (max-width:1199px),(orientation:landscape) and (max-height:500px){
 .header.wo-nav{position:sticky;top:0;z-index:70;height:56px;padding:0 max(10px,env(safe-area-inset-right)) 0 max(14px,env(safe-area-inset-left));gap:6px;flex-wrap:nowrap;justify-content:flex-start;transition:transform .22s ease}
 .header.wo-nav.wo-hide{transform:translateY(-100%)}
 html{scroll-padding-top:64px}
 .header.wo-nav .brand,html[data-theme=dark] .header.wo-nav .brand{width:124px;height:44px;margin:0 auto 0 0;padding:0;display:flex;align-items:center;overflow:hidden;gap:0}
 .header.wo-nav .brand img,html[data-theme=dark] .header.wo-nav .brand img{width:124px;height:auto;max-height:44px;object-fit:contain;object-position:left center;transform:none}
 .header.wo-nav .wo-main{display:none}
 .header.wo-nav .brand .brand-art{display:flex;align-items:center;width:100%;height:100%;margin:0;padding:0;line-height:0;transform:none}
 .header.wo-nav .header-actions{gap:6px;margin-left:0}
 .wo-search-btn{width:44px;padding:0;border-color:transparent;background:transparent}
 html[data-theme=dark] .wo-search-btn{border-color:transparent;background:transparent}
 .wo-menu-btn,html[data-theme=dark] .wo-menu-btn{background:#fff;border-color:#cbd9e7;color:#172331;padding:0 12px}
 html[data-theme=dark] .wo-menu-btn{background:#233246;border-color:#43566e;color:#e0eafa}
 .wo-menu-btn:hover{background:#edf5fd}
 html[data-theme=dark] .wo-menu-btn:hover{background:#2c3e55}
 .wo-menu-btn .wo-ic-grid,.wo-menu-btn .wo-l-d{display:none}
 .wo-menu-btn .wo-ic-bars,.wo-menu-btn .wo-l-m{display:inline}
 .wo-panel{position:fixed;inset:0;transform:none;width:auto;height:100%;max-height:none;border:0;border-radius:0;box-shadow:none;padding:0 0 calc(18px + env(safe-area-inset-bottom));overflow:auto;overscroll-behavior:contain;z-index:1000}
 .wo-sheet-head{display:flex;align-items:center;height:56px;padding:0 10px 0 18px;border-bottom:1px solid #dfe6ee;position:sticky;top:0;background:inherit;z-index:1}
 .wo-sheet-title{margin:0 auto 0 0;font-size:17px;font-weight:700}
 .wo-close{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:10px;background:transparent;color:inherit;cursor:pointer}
 .wo-searchrow{padding:12px max(14px,env(safe-area-inset-left)) 4px;margin:0}
 .wo-results,.wo-groups{padding:0 max(8px,env(safe-area-inset-left))}
 .wo-groups{display:block}
 .wo-group h2{margin:14px 12px 2px}
 .wo-tool,.wo-results a{min-height:52px;padding:6px 12px}
 .wo-tn{font-size:16px}
 .wo-panel-foot{margin:10px 22px 0}
}
@media (orientation:landscape) and (max-height:500px){
 .header.wo-nav{height:52px}
 .wo-sheet-head{height:52px}
 .wo-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px}
}
@media (max-width:420px){.wo-menu-btn{padding:0 10px}.header.wo-nav .brand,.header.wo-nav .brand img,html[data-theme=dark] .header.wo-nav .brand,html[data-theme=dark] .header.wo-nav .brand img{width:112px}}
@media (max-width:359px){.header.wo-nav{gap:4px;padding-left:10px;padding-right:8px}.header.wo-nav .header-actions{gap:4px}.wo-menu-btn,html[data-theme=dark] .wo-menu-btn{padding:0 8px;gap:5px}.header.wo-nav .brand,.header.wo-nav .brand img,html[data-theme=dark] .header.wo-nav .brand,html[data-theme=dark] .header.wo-nav .brand img{width:96px}}
html.wo-lock,html.wo-lock body{overflow:hidden}
.header.wo-nav.wo-open{z-index:1001}
/* The site stylesheet styles every <nav> as the old header menu bar; undo that for the panel, footer and related strips */
html body header.wo-nav nav.wo-groups{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;align-items:start;justify-content:normal;height:auto;width:auto;order:0;padding:0;background:none;border:0;border-radius:0;box-shadow:none}
html body nav.footer-col{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:0;height:auto;width:auto;order:0;padding:0;background:none;border:0;border-radius:0;box-shadow:none}
html body nav.wo-related{display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:4px;height:auto;width:auto;order:0;padding:4px;background:#e8edf3;border:0;border-radius:12px;box-shadow:none}
html[data-theme=dark] body nav.wo-related{background:#1c2734}
@media (max-width:1199px),(orientation:landscape) and (max-height:500px){html body header.wo-nav nav.wo-groups{display:block;padding:0 max(8px,env(safe-area-inset-left))}}
@media (orientation:landscape) and (max-height:500px){html body header.wo-nav nav.wo-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;row-gap:0}}
@media (max-width:600px){html body nav.wo-related{display:flex}}
@media (prefers-reduced-motion:reduce){.header.wo-nav{transition:none}}
/* Footer: four columns (the wrapper keeps class footer-links for other build scripts) */
footer{flex-wrap:wrap;row-gap:10px}
footer .footer-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 28px;align-items:start;width:100%;padding:16px 0 4px}
.footer-col{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.footer-col h2{margin:0 0 6px;font-size:11px;line-height:1.3;letter-spacing:.12em;text-transform:uppercase;color:#53677b;font-weight:700}
.footer-col a,.footer-col .text-button{font-size:13px;line-height:1.35;color:#4a5d70;min-height:32px;display:inline-flex;align-items:center;text-align:left;padding:4px 0;box-sizing:border-box}
.footer-col a[aria-current]{font-weight:700;color:#172331}
html[data-theme=dark] .footer-col h2{color:#a9b9ca}
html[data-theme=dark] .footer-col a,html[data-theme=dark] .footer-col .text-button{color:#c3d1df}
html[data-theme=dark] .footer-col a[aria-current]{color:#fff}
@media (max-width:900px){footer .footer-links{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Related-tools switcher at the top of tool pages */
.wo-related-wrap{max-width:none;margin:12px 0 16px;padding:0;box-sizing:border-box}
.wo-related{display:inline-flex;flex-wrap:wrap;gap:4px;padding:4px;border-radius:12px;background:#e8edf3}
.wo-related a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 14px;border-radius:9px;font-size:14px;font-weight:600;color:#334a60;text-decoration:none}
.wo-related a:hover{background:#dce4ec;color:#172331}
.wo-related a.cur{background:#fff;color:#172331;box-shadow:0 1px 3px rgba(16,32,48,.16)}
html[data-theme=dark] .wo-related{background:#1c2734}
html[data-theme=dark] .wo-related a{color:#c3d1df}
html[data-theme=dark] .wo-related a:hover{background:#26364a;color:#fff}
html[data-theme=dark] .wo-related a.cur{background:#2e4058;color:#fff}
@media (max-width:600px){.wo-related{display:flex}.wo-related a{flex:1 1 auto;padding:0 8px;font-size:13px}}
/* First-visit analytics notice: one slim line on phones in landscape */
@media (orientation:landscape) and (max-height:500px){
 .privacy-choice{display:flex!important;align-items:center;gap:12px;max-width:none!important;left:max(12px,env(safe-area-inset-left))!important;right:max(12px,env(safe-area-inset-right))!important;width:auto!important;bottom:8px!important;padding:8px 12px!important}
 .privacy-choice .dialog-title{display:none}
 .privacy-choice p{margin:0!important;font-size:13px!important;line-height:1.35}
 .privacy-choice>div{flex:none}
 .privacy-choice button{flex:none!important;min-height:36px;padding:6px 12px!important;font-size:13px!important}
}
