
:root{--srn-bg:#f5f5f5;--srn-text:#1d1e20;--srn-line:#d6d6d6}
html[data-theme="dark"],html.srbb-dark{--srn-bg:#1d1e20;--srn-text:#dadadb;--srn-line:#494a4d}
.sra-global-header{position:relative;margin:0;padding:0;min-height:60px;background:var(--srn-bg);color:var(--srn-text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,"PingFang SC","Microsoft YaHei",sans-serif;line-height:1.5}
.sra-global-header *,.srn-dialog *{box-sizing:border-box}
.sra-global-header~.srbb-header{display:none}
.sra-global-header .sra-nav{display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:1072px;width:100%;min-height:60px;margin:auto;padding:0 24px}
.sra-global-header .sra-brand{display:flex;align-items:center;gap:12px;flex-shrink:0}
.sra-global-header .sra-logo{display:block;margin:0;color:inherit;text-decoration:none;font-size:24px;font-weight:700;line-height:1;letter-spacing:0;text-transform:none}
.sra-global-header .srn-theme{display:grid;place-items:center;width:30px;height:34px;margin:0;padding:4px;border:0;border-radius:0;background:transparent;color:inherit;cursor:pointer}
.sra-global-header .srn-theme svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sra-global-header .srn-theme .srn-sun{display:none}
html[data-theme="dark"] .sra-global-header .srn-moon{display:none}
html[data-theme="dark"] .sra-global-header .srn-sun{display:block}
.sra-global-header .sra-separator{font-size:18px;font-weight:400;line-height:1}
.sra-global-header .sra-menu{display:flex;align-items:center;gap:24px;margin:0;padding:0;list-style:none;color:inherit;font-size:16px;font-weight:400;white-space:nowrap;text-transform:none}
.sra-global-header .sra-menu li{margin:0;padding:0;list-style:none;line-height:1.5}
.sra-global-header .sra-menu a{display:inline-block;margin:0;color:inherit;text-decoration:none;font-size:16px;font-weight:400;letter-spacing:0;line-height:1.5;text-transform:none}
.sra-global-header .sra-menu a.active{border-bottom:2px solid currentColor;font-weight:500}
.sra-global-header .sra-menu a:hover{text-decoration:underline;text-underline-offset:5px}
.sra-global-header a:focus-visible,.sra-global-header button:focus-visible,.srn-dialog button:focus-visible,.srn-dialog input:focus-visible{outline:2px solid var(--srn-text);outline-offset:5px}
.srn-dialog{width:min(540px,calc(100% - 40px));padding:28px;border:1px solid var(--srn-line);border-radius:6px;background:var(--srn-bg);color:var(--srn-text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,"Microsoft YaHei",sans-serif;font-size:16px;line-height:1.5}
.srn-dialog::backdrop{background:rgb(0 0 0 / 35%)}
.srn-search-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.srn-search-head h2{margin:0;color:inherit;font-size:24px;line-height:1.4;font-weight:700}
.srn-close{width:32px;height:32px;margin:0;padding:0;border:0;background:transparent;color:inherit;font-size:24px;cursor:pointer}
.srn-dialog label{display:block;margin-bottom:8px;color:inherit;font-size:16px}
.srn-search-row{display:flex;gap:10px}
.srn-search-row input{min-width:0;width:100%;padding:10px 12px;border:1px solid var(--srn-line);border-radius:3px;background:var(--srn-bg);color:var(--srn-text);font:inherit}
.srn-search-row button{padding:10px 16px;border:1px solid var(--srn-text);border-radius:3px;background:var(--srn-text);color:var(--srn-bg);font:inherit;white-space:nowrap;cursor:pointer}
@media(max-width:760px){.sra-global-header .sra-nav{flex-wrap:wrap;gap:16px;padding:20px 24px 12px}.sra-global-header .sra-menu{width:100%;flex-wrap:wrap;gap:12px 20px;white-space:normal}.sra-global-header .sra-menu a{font-size:15px}}

/* Hide legacy Now entries supplied by the parent theme. */
.sra-menu li:has(a[href*="inward-growth-journal."]),.sra-menu li:has(a[href$="/now/"]),
.sra-footer span:has(a[href*="inward-growth-journal."]),.sra-footer span:has(a[href$="/now/"]),
.srbb-footer a[href*="inward-growth-journal."],.srbb-footer a[href$="/now/"]{display:none}
