/* Selected colorful option 5: brand/actions row above a wide raised-button ribbon. */
html{scroll-padding-top:var(--pai-header-clearance,170px)}
body>.pai-shared-header{position:sticky!important;top:8px!important;z-index:90;box-sizing:border-box;display:grid!important;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:14px 16px!important;max-width:1172px!important;width:calc(100% - 128px)!important;margin:12px auto 24px!important;padding:16px 20px 19px!important;border:1px solid #bdc5a5!important;border-radius:23px!important;background:#f7f4e5f7!important;box-shadow:0 4px 0 #d4d7bf77;color:#293d2d;font-family:Arial,sans-serif;backdrop-filter:blur(12px)}
.pai-shared-header .brand-language-group{grid-column:1;grid-row:1;display:flex;align-items:center;gap:20px;min-width:0}.pai-shared-header .wordmark{display:flex;align-items:center;gap:4px;color:#283b2d;text-decoration:none;font-size:38px;font-weight:800;letter-spacing:-2px;line-height:1;white-space:nowrap}.pai-shared-header .brand-mark{display:grid;place-items:center;width:34px;height:39px;margin-right:7px;background:#293d2d;border-radius:11px;color:#839466;font-size:26px;letter-spacing:0;transform:rotate(-7deg)}.pai-shared-header .wordmark-dot{color:#b38348}.pai-shared-header .brand-caption{font-size:9px;font-weight:500;letter-spacing:.03em;max-width:57px;white-space:normal;margin-left:10px;line-height:1.25}
.pai-shared-header .header-button{grid-column:2;grid-row:1;display:flex!important;align-items:center;justify-content:center;gap:15px;min-height:44px;max-width:170px;padding:10px 16px;border:1px solid #6f8158;border-radius:12px;background:#526444;color:#fffbed;font-size:12px;font-weight:700;line-height:1.2;text-decoration:none;box-shadow:0 2px 0 #3e5032}
.pai-shared-header .pai-ui-sound-tools{grid-column:3!important;grid-row:1!important;display:flex!important;align-items:center;justify-content:center;margin:0!important;padding:0!important;border:0!important;min-width:0}.pai-shared-header .pai-ui-sound-toggle{min-height:44px!important;padding:9px 14px!important;white-space:nowrap;font-size:12px!important;border:1px solid #b79750!important;border-radius:24px!important;background:#fffae8!important;color:#435037!important;box-shadow:0 2px 0 #cbb573!important}.pai-shared-header .pai-ui-sound-hint{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}
.pai-shared-header>nav{grid-column:1/-1!important;grid-row:2!important;display:flex!important;align-items:stretch;justify-content:center!important;gap:8px!important;width:100%;min-width:0;margin:0!important;padding:14px 0 4px!important;border-top:1px solid #dfdfcc;overflow-x:auto;scrollbar-width:thin}.pai-shared-header>nav a{display:flex!important;align-items:center;justify-content:center;flex:1 0 auto!important;min-height:46px!important;padding:0 13px!important;border:1px solid #c4a45c;border-radius:11px!important;background:linear-gradient(#fff7d8,#e7cc84);color:#37472f;font-size:13px!important;font-weight:700!important;line-height:1.2;letter-spacing:0;text-decoration:none;white-space:nowrap;box-shadow:inset 0 1px #fff,0 4px 0 #bfa15b;transition:transform .12s,filter .12s}
.pai-shared-header>nav a:nth-child(2){background:linear-gradient(#e9f5f8,#b6d8e0);border-color:#8eb9c3;box-shadow:inset 0 1px #fff,0 4px 0 #8eb7c1}.pai-shared-header>nav a:nth-child(3){background:linear-gradient(#eff6d5,#c6d99a);border-color:#a8bd77;box-shadow:inset 0 1px #fff,0 4px 0 #a2b777}.pai-shared-header>nav a:nth-child(4){background:linear-gradient(#ffe9d7,#e7b18f);border-color:#d09b77;box-shadow:inset 0 1px #fff,0 4px 0 #c59472}.pai-shared-header>nav a:nth-child(5){background:linear-gradient(#f2e8f3,#ccb6d0);border-color:#b69bbd;box-shadow:inset 0 1px #fff,0 4px 0 #ac93b4}.pai-shared-header>nav a[data-pai-chat-link]{flex-grow:1.7!important}.pai-shared-header>nav a:hover{filter:brightness(1.04);transform:translateY(-1px)}.pai-shared-header>nav a:active{transform:translateY(3px);box-shadow:inset 0 1px #fff,0 1px 0 #bfa15b}
.pai-shared-header .language-trigger{min-height:44px;height:44px;border-radius:11px;white-space:nowrap}.pai-shared-header .language-switch{z-index:110;max-height:min(400px,65vh);overflow:auto}.pai-shared-header a:focus-visible,.pai-shared-header button:focus-visible{outline:3px solid #b88335;outline-offset:3px}
@media(max-width:1050px){body>.pai-shared-header{width:calc(100% - 72px)!important;gap:12px 10px!important;padding:12px 15px 17px!important}.pai-shared-header .brand-caption{display:none}.pai-shared-header .brand-language-group{gap:12px}.pai-shared-header>nav a{font-size:12px!important;padding:0 10px!important}.pai-shared-header .header-button{max-width:130px;font-size:11px}}
@media(max-width:760px){body>.pai-shared-header{width:calc(100% - 48px)!important;grid-template-columns:1fr auto;top:4px!important;margin-top:8px!important;padding:10px 12px 14px!important;border-radius:18px!important;gap:9px 10px!important}.pai-shared-header .brand-language-group{grid-column:1/-1;justify-content:center}.pai-shared-header .wordmark{font-size:31px}.pai-shared-header .brand-mark{width:28px;height:32px;font-size:22px}.pai-shared-header .header-button{grid-column:1;grid-row:2;justify-self:center;min-height:40px;max-width:150px}.pai-shared-header .pai-ui-sound-tools{grid-column:2!important;grid-row:2!important}.pai-shared-header .pai-ui-sound-toggle{font-size:10px!important;min-height:40px!important;padding:8px 11px!important}.pai-shared-header>nav{grid-row:3!important;justify-content:flex-start!important;padding-top:10px!important;gap:7px!important}.pai-shared-header>nav a{flex:1 0 auto!important;min-height:43px!important}.pai-shared-header>nav a[data-pai-chat-link]{flex-grow:1!important}}
@media(prefers-reduced-motion:reduce){.pai-shared-header>nav a{transition:none;transform:none!important}}@media(prefers-reduced-transparency:reduce){body>.pai-shared-header{background:#f7f4e5!important;backdrop-filter:none}}
