/* The single visual specification for the site-wide header. */
body.fatemate-shell-ready .fatemate-shell{
  position:sticky;top:0;z-index:320;height:72px;
  background:#f6f5f2!important;border:0!important;border-bottom:1px solid #d8d5d0!important;
  box-shadow:none!important;color:#292724;
}
body.fatemate-shell-ready .fatemate-shell-inner{
  display:flex;align-items:center;gap:24px;width:min(1400px,calc(100% - 80px))!important;
  max-width:none!important;min-height:0!important;height:100%;margin:auto;padding:0!important;border:0!important;
}
body.fatemate-shell-ready .fatemate-shell-brand.fate-brand-lockup{display:inline-flex;align-items:center;gap:7px!important;flex:none;color:#111!important;text-decoration:none}
body.fatemate-shell-ready .fatemate-shell-brand .fate-brand-mark{display:inline-flex!important;align-items:center;justify-content:center;width:34px!important;height:34px!important}
body.fatemate-shell-ready .fatemate-shell-brand .fate-brand-mark img{display:block!important;width:34px!important;height:34px!important;max-width:none;object-fit:contain;filter:brightness(0)!important}
body.fatemate-shell-ready .fatemate-shell-brand .fate-brand-name{font-family:var(--fate-unified-font)!important;font-size:29px!important;font-weight:500!important;line-height:1!important;letter-spacing:-.04em!important;color:#111!important}
body.fatemate-shell-ready .fatemate-shell-links{display:flex;align-items:center;gap:4px;margin-left:auto;color:#373531;font-size:14px}
body.fatemate-shell-ready .fatemate-shell-links>a,
body.fatemate-shell-ready .fatemate-shell-links>.fate-tools-menu>.fate-menu-trigger{
  display:inline-flex!important;align-items:center;gap:8px;min-height:40px;padding:0 12px;
  border:0;border-radius:7px;background:transparent;color:#373531;
  font-family:var(--fate-unified-font)!important;font-size:14px!important;font-weight:500!important;line-height:1.2;text-decoration:none;white-space:nowrap;
}
body.fatemate-shell-ready .fatemate-shell-links>a[data-shell-route="/"]{display:inline-flex!important}
body.fatemate-shell-ready .fatemate-shell-links>a:hover,
body.fatemate-shell-ready .fatemate-shell-links>.fate-tools-menu>.fate-menu-trigger:hover,
body.fatemate-shell-ready .fatemate-shell-links>.fate-tools-menu>.fate-menu-trigger[aria-expanded=true]{background:#e9e7e3!important;color:#171717}
body.fatemate-shell-ready .fate-account-slot{display:flex;align-items:center;justify-content:flex-end;flex:none;min-width:38px}
body.fatemate-shell-ready .fate-account-slot>.fate-login-link{padding:10px 17px!important;border-radius:6px!important;background:#171717!important;color:#fff!important;font-size:13px;font-weight:600;text-decoration:none}
body.fatemate-shell-ready .fate-account-slot>.fate-login-link:hover{background:#393939!important}
body.fatemate-shell-ready .fate-account-slot .fate-avatar-trigger{font-size:14px!important;font-weight:500!important}
body.fatemate-shell-ready .fate-avatar{background:#ededed;color:#262626}
body.fatemate-shell-ready .fate-popover{background:#f9f8f5!important;border-color:#dedad4!important;color:#211f1d;box-shadow:0 14px 38px #00000017}
body.fatemate-shell-ready :is(.fate-account-icon,.fate-account-arrow,.fate-account-identity small,.fate-account-credits strong small,.fate-account-section-label){color:#777}
body.fatemate-shell-ready :is(.fate-account-options a>span:not(.fate-account-arrow),.fate-account-admin a>span:not(.fate-account-arrow)){color:#303030}
body.fatemate-shell-ready :is(.fate-nav-pricing,.fate-nav-guide){display:none}
.fate-language-picker{position:relative;display:inline-flex;align-items:center;flex:none;color:#303030;font:500 14px/1.3 var(--fate-unified-font)}
.fate-language-picker .fate-language-trigger{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 10px;border:0;border-radius:7px;background:transparent;color:inherit;font:inherit;white-space:nowrap;cursor:pointer}
.fate-language-picker .fate-language-trigger:hover,.fate-language-picker .fate-language-trigger[aria-expanded=true]{background:#efefef;color:#171717}
.fate-language-globe{width:18px;height:18px;flex:none}.fate-language-chevron{width:14px;height:14px;flex:none;transition:transform .18s ease}.fate-language-trigger[aria-expanded=true] .fate-language-chevron{transform:rotate(180deg)}
.fate-language-popover[hidden]{display:none!important}.fate-language-popover{position:absolute;z-index:500;top:calc(100% + 12px);right:0;width:188px;padding:7px;border:1px solid #dedede;border-radius:12px;background:#fff;box-shadow:0 14px 38px #00000021;color:#222}
.fate-language-heading{display:block;padding:9px 10px 7px;color:#777;font-size:11px;font-weight:600}
.fate-language-picker .fate-language-popover button{display:flex;width:100%;min-height:40px;align-items:center;justify-content:space-between;padding:0 10px;border:0;border-radius:7px;background:transparent;color:#333;text-align:left;font:500 13px/1.3 var(--fate-unified-font);cursor:pointer}
.fate-language-picker .fate-language-popover button:hover{background:#f4f4f4}.fate-language-picker .fate-language-popover button[aria-pressed=true]{background:#ededed;color:#171717}
.fate-language-check{visibility:hidden;color:#333;font-size:15px}.fate-language-popover button[aria-pressed=true] .fate-language-check{visibility:visible}.fate-language-picker button:focus-visible{outline:2px solid #444;outline-offset:2px}
/* A result workspace sits below the same header; its controls stay inside it. */
html.ziwei-view-open body.fatemate-shell-ready .fatemate-shell{display:block!important;position:fixed;top:0;left:0;right:0;z-index:400}
html.ziwei-view-open body .ziwei-result-workspace.is-open{top:72px!important;bottom:0!important}
@media(min-width:768px) and (max-width:1200px){
 body.fatemate-shell-ready .fatemate-shell .fate-tools-popover{position:fixed;top:80px;left:50%;right:auto;width:min(680px,calc(100vw - 32px));transform:translateX(-50%)}
}
@media(max-width:900px){
 body.fatemate-shell-ready .fatemate-shell-links>a[data-shell-route="/"],body.fatemate-shell-ready .fatemate-shell-links>.fate-guide-link{display:none!important}
 body.fatemate-shell-ready .fate-nav-guide{display:block;margin:12px 4px 0;padding:10px 8px 2px;border-top:1px solid #dedbd6;color:#333;font-size:13px}
}
@media(max-width:760px){
 body.fatemate-shell-ready .fatemate-shell{height:64px}
 body.fatemate-shell-ready .fatemate-shell-inner{width:calc(100% - 36px)!important;padding:0!important;gap:5px}
 body.fatemate-shell-ready .fatemate-shell-brand.fate-brand-lockup{gap:3px!important}
 body.fatemate-shell-ready .fatemate-shell-brand .fate-brand-mark,body.fatemate-shell-ready .fatemate-shell-brand .fate-brand-mark img{width:27px!important;height:27px!important}
 body.fatemate-shell-ready .fatemate-shell-brand .fate-brand-name{font-size:21px!important}
 body.fatemate-shell-ready .fatemate-shell-links{gap:0}
 body.fatemate-shell-ready .fatemate-shell-links>a,body.fatemate-shell-ready .fatemate-shell-links>.fate-tools-menu>.fate-menu-trigger{padding:0 7px;font-size:13px!important}
 .fate-language-picker{font-size:12px}.fate-language-picker .fate-language-trigger{gap:5px;padding:0 6px}.fate-language-globe{width:17px;height:17px}.fate-language-chevron{width:12px;height:12px}.fate-language-popover{right:-8px;max-width:calc(100vw - 16px)}
 html.ziwei-view-open body .ziwei-result-workspace.is-open{top:64px!important}
}
@media(max-width:480px){
 body.fatemate-shell-ready:not(.fate-home-v2) .fatemate-shell-inner,body.fatemate-shell-ready.fate-home-v2 .fatemate-shell-inner{width:calc(100% - 36px)!important;padding:0!important;gap:2px!important}
 body.fatemate-shell-ready:not(.fate-home-v2) .fatemate-shell-brand .fate-brand-mark{display:inline-flex!important}
 body.fatemate-shell-ready .fatemate-shell-brand .fate-brand-mark,body.fatemate-shell-ready .fatemate-shell-brand .fate-brand-mark img{width:25px!important;height:25px!important}
 body.fatemate-shell-ready .fatemate-shell-brand .fate-brand-name{font-size:20px!important}
 body.fatemate-shell-ready .fatemate-shell-links>a[data-shell-route="/pricing"]{display:none!important}
 body.fatemate-shell-ready .fatemate-shell-links>.fate-tools-menu>.fate-menu-trigger{padding:0 3px!important}
 body.fatemate-shell-ready .fate-nav-pricing{display:block;margin:12px 4px 0;padding:10px 8px 2px;border-top:1px solid #dedbd6;color:#333;font-size:13px}
 body.fatemate-shell-ready .fate-account-slot>.fate-login-link{padding:9px 8px!important;font-size:12px}
}
@media(max-width:380px){body.fatemate-shell-ready .fate-language-trigger>span{display:none}}
