/* RC64: the native public shell, scoped to the real header/footer and search dialog. */
body.ast-signature #site-header.rc64-shell{border-bottom:1px solid var(--next-line);background:var(--next-bg)!important;box-shadow:none!important;overflow:visible}
body.ast-signature #site-header.rc64-shell .ast-header-inner{width:calc(100% - 2 * var(--ds-gutter))!important;max-width:1920px!important;min-height:68px;height:auto!important;gap:14px;padding-block:6px;align-items:center}
body.ast-signature #site-header.rc64-shell .ast-brand img{width:154px!important;height:auto!important}
body.ast-signature #site-header.rc64-shell .ast-header-actions{gap:6px;flex-shrink:0}
body.ast-signature #site-header.rc64-shell .ast-nav-links>li>a{font:650 15px/1.35 var(--next-sans);letter-spacing:0;padding:0 3px!important;min-height:44px;text-decoration:none!important}
body.ast-signature #site-header.rc64-shell .ast-nav-links>li>a[aria-current=page]{box-shadow:inset 0 -2px var(--next-brand);color:var(--next-link)!important}
body.ast-signature #site-header.rc64-shell .ast-nav-links>li>a:hover{background:var(--next-soft);border-radius:5px}
body.ast-signature #site-header.rc64-shell :is(.ast-nav-toggle,.ast-icon-button,.ast-account-button,.ast-header-mini-cart summary,.next-appearance>summary){min-height:44px;border-radius:var(--ds-radius-control)!important;border-color:var(--next-line)!important;box-shadow:none!important;font:650 14px/1.3 var(--next-sans);text-shadow:none!important}
body.ast-signature #site-header.rc64-shell :is(.ast-icon-button,.ast-nav-toggle,.next-appearance>summary){min-width:44px;background:transparent!important;color:var(--next-ink)!important}
body.ast-signature #site-header.rc64-shell :is(.ast-icon-button,.ast-nav-toggle,.next-appearance>summary):hover{background:var(--next-soft)!important}
body.ast-signature #site-header.rc64-shell .ast-smart-dropdown>summary{color:var(--next-ink)!important;min-width:24px;min-height:44px;background:transparent!important;border-radius:6px}
body.ast-signature #site-header.rc64-shell .ast-smart-dropdown>summary:hover,body.ast-signature #site-header.rc64-shell .ast-smart-dropdown[open]>summary{background:var(--next-soft)!important;color:var(--next-link)!important}
body.ast-signature #site-header.rc64-shell :is(.ast-account-menu,.next-appearance-menu,.ast-smart-mega){border:1px solid var(--next-line)!important;border-radius:12px!important;background:var(--next-paper)!important;box-shadow:0 12px 32px #0004!important;color:var(--next-ink)!important}
body.ast-signature #site-header.rc64-shell :is(.ast-account-menu a,.next-appearance-menu button){min-height:44px;font-size:15px!important;font-weight:600;line-height:1.4;border-radius:6px}
body.ast-signature #site-header.rc64-shell .ast-account-menu a:hover{background:var(--next-soft)!important;color:var(--next-ink)!important}
body.ast-signature #site-header.rc64-shell .ast-account-button svg{width:16px;height:16px}
body.ast-signature #site-header.rc64-shell .ast-smart-mega{width:min(780px,calc(100vw - 32px));text-align:left}
body.ast-signature #site-header.rc64-shell :is(.ast-smart-mega-head,.ast-mega-footer,.ast-mega-tabs,.ast-mega-panels,.ast-mega-subhead){background:var(--next-paper)!important;color:var(--next-ink)!important;border-color:var(--next-line)!important}
body.ast-signature #site-header.rc64-shell .ast-smart-mega-head{padding:14px 18px}
body.ast-signature #site-header.rc64-shell :is(.ast-mega-kicker,.ast-mega-count,.ast-mega-leaf,.ast-mega-tab small,.ast-mega-footer span){color:var(--next-muted)!important;font-size:14px!important;font-weight:500;line-height:1.4}
body.ast-signature #site-header.rc64-shell .ast-smart-mega-head strong{font-size:22px;color:var(--next-ink)!important}
body.ast-signature #site-header.rc64-shell .ast-mega-body{grid-template-columns:minmax(0, .9fr) minmax(0, 1.1fr)}
body.ast-signature #site-header.rc64-shell .ast-mega-tabs{padding:10px}
body.ast-signature #site-header.rc64-shell .ast-mega-panels{padding:14px}
body.ast-signature #site-header.rc64-shell :is(.ast-mega-tab,.ast-mega-child,.ast-mega-view,.ast-mega-more,.ast-mega-footer a){color:var(--next-ink)!important;font-size:15px!important;line-height:1.4;white-space:normal!important}
body.ast-signature #site-header.rc64-shell :is(.ast-mega-tab-icon,.ast-mega-preview,.ast-mega-close){background:var(--next-soft)!important;color:var(--next-ink)!important;border-color:var(--next-line)!important;box-shadow:none!important}
body.ast-signature #site-header.rc64-shell .ast-mega-feature{background:var(--next-soft)!important;border:1px solid var(--next-line)!important;min-height:100px!important;height:auto!important;aspect-ratio:auto!important;display:block!important;padding:14px!important;border-radius:8px;overflow:visible}
body.ast-signature #site-header.rc64-shell .ast-mega-feature::before,body.ast-signature #site-header.rc64-shell .ast-mega-feature::after{display:none!important}
body.ast-signature #site-header.rc64-shell .ast-mega-feature-text{position:static!important;padding:0!important;color:var(--next-ink)!important;display:grid;gap:5px}
body.ast-signature #site-header.rc64-shell .ast-mega-feature-text :is(b,span,small){color:var(--next-ink)!important;text-shadow:none!important}
body.ast-signature #site-header.rc64-shell .ast-mega-feature-text b{font-size:20px!important}
body.ast-signature #site-header.rc64-shell .ast-mega-feature-text :is(span,small){font-size:14px!important}
body.ast-signature #site-header.rc64-shell .ast-mega-panel[hidden]{display:none!important}
body.ast-signature #site-header.rc64-shell .ast-mega-subgrid{gap:7px}
body.ast-signature #site-header.rc64-shell .ast-mega-child{border-radius:6px!important;padding:9px!important;min-height:44px!important}
body.ast-signature #site-header.rc64-shell .ast-mega-footer{padding:12px 18px}
@media(min-width:1440px){body.ast-signature #site-header.rc64-shell .ast-primary-navigation .ast-nav-links{gap:clamp(7px,.8vw,15px);flex-wrap:nowrap;justify-content:flex-start}body.ast-signature #site-header.rc64-shell .ast-smart-nav-item{gap:0}body.ast-signature #site-header.rc64-shell .ast-nav-links>li>a{font-size:14px}body.ast-signature #site-header.rc64-shell .ast-header-inner{gap:clamp(12px,1vw,20px)}}
@media(max-width:1439px){body.ast-signature #site-header.rc64-shell .ast-primary-navigation{background:var(--next-bg)!important;padding:10px var(--ds-gutter) 16px;max-height:calc(100dvh - 82px);overscroll-behavior:contain}body.ast-signature #site-header.rc64-shell .ast-nav-links>li>a{font-size:16px;padding:8px 10px!important}body.ast-signature #site-header.rc64-shell .ast-smart-dropdown>summary{min-width:44px}body.ast-signature #site-header.rc64-shell .ast-smart-mega{width:100%;max-height:55dvh}body.ast-signature #site-header.rc64-shell .ast-nav-links{max-width:none}body.ast-signature #site-header.rc64-shell .ast-nav-links>li{border-bottom:1px solid var(--next-line)}}
@media(max-width:600px){body.ast-signature #site-header.rc64-shell .ast-header-inner{gap:4px;min-height:60px}body.ast-signature #site-header.rc64-shell .ast-brand img{width:clamp(106px,35vw,145px)!important}body.ast-signature #site-header.rc64-shell .ast-nav-toggle-label{display:none}body.ast-signature #site-header.rc64-shell .ast-header-actions{gap:3px}body.ast-signature #site-header.rc64-shell .ast-mega-body{grid-template-columns:minmax(0,1fr)}body.ast-signature #site-header.rc64-shell .ast-mega-subgrid{grid-template-columns:minmax(0,1fr)}body.ast-signature #site-header.rc64-shell .ast-smart-mega-head{padding:10px}body.ast-signature #site-header.rc64-shell .ast-mega-footer{flex-wrap:wrap}}
/* Public search uses the existing GET route, not a second index. */
body.ast-signature dialog.rc64-search{width:min(660px,calc(100% - 24px));max-width:660px;max-height:85dvh;padding:24px!important;border-radius:16px!important;background:var(--next-paper)!important;box-shadow:0 24px 80px #0005!important;color:var(--next-ink)!important;overflow:auto}
body.ast-signature dialog.rc64-search .ast-search-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
body.ast-signature dialog.rc64-search h2{font:700 clamp(22px,3vw,30px)/1.2 var(--next-sans)!important;letter-spacing:-.03em;margin:0!important}
body.ast-signature dialog.rc64-search .ast-search-form{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 12px}
body.ast-signature dialog.rc64-search .ast-search-form input[type=search]{flex:1 1 190px;width:0;min-width:0;min-height:48px;padding:10px 12px;font:500 16px/1.4 var(--next-sans);border:1px solid var(--next-control)!important;border-radius:8px;background:var(--next-paper)!important;color:var(--next-ink)!important}
body.ast-signature dialog.rc64-search .ast-search-form input::placeholder{color:var(--next-muted);opacity:1}
body.ast-signature dialog.rc64-search .ast-search-form button{min-height:48px;border-radius:8px!important;background:var(--next-brand)!important;border-color:var(--next-brand)!important;color:var(--next-on-brand)!important;font-weight:700;font-size:15px;padding:10px 16px}
body.ast-signature dialog.rc64-search .ast-help-text{font-size:15px!important;line-height:1.5;margin:0 0 20px}
.rc64-search-shortcuts{border-top:1px solid var(--next-line);padding-top:16px}.rc64-search-shortcuts h3{font-size:16px!important;color:var(--next-ink)!important;margin:0 0 10px!important}.rc64-search-shortcuts>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.rc64-search-shortcuts a{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--next-ink)!important;min-height:44px;padding:8px 10px;border:1px solid var(--next-line);border-radius:8px;font-size:15px;font-weight:600;line-height:1.3}.rc64-search-shortcuts a:hover{background:var(--next-soft)}.rc64-search-shortcuts svg{width:18px;height:18px;color:var(--next-link)}
@media(max-width:400px){body.ast-signature dialog.rc64-search{padding:16px!important}.rc64-search-shortcuts>div{grid-template-columns:1fr}body.ast-signature dialog.rc64-search .ast-search-form button{width:100%}}
/* Compact directory: keep every legal/support link and original widget hooks. */
body.ast-signature .af-footer.rc64-footer{background:var(--next-bg)!important;color:var(--next-ink)!important;--sig-panel:var(--next-paper);--sig-line:var(--next-line);--sig-gold:var(--next-link);--sig-cyan:var(--next-link);--sig-muted:var(--next-muted);--sig-text:var(--next-ink);--sig-raised:var(--next-soft)}
body.ast-signature .af-footer.rc64-footer::before,body.ast-signature .af-footer.rc64-footer::after{display:none!important}
body.ast-signature .af-footer.rc64-footer .af-wrap{padding:28px 0 0!important;width:calc(100% - 2 * var(--ds-gutter))!important}
body.ast-signature .af-footer.rc64-footer .af-intro{gap:24px;padding-bottom:22px;border-color:var(--next-line)}
body.ast-signature .af-footer.rc64-footer .af-brand img{width:174px!important;margin-bottom:9px}
body.ast-signature .af-footer.rc64-footer .af-brand p{max-width:40ch;font-size:15px!important;line-height:1.5}
body.ast-signature .af-footer.rc64-footer .af-quick-title :is(h2,a){color:var(--next-ink)!important;font-size:14px!important;line-height:1.4}
body.ast-signature .af-footer.rc64-footer .af-action{background:transparent!important;border-color:var(--next-line)!important;min-height:76px;padding:10px 12px;box-shadow:none!important;border-radius:9px;transform:none!important}
body.ast-signature .af-footer.rc64-footer .af-action:hover{background:var(--next-soft)!important;border-color:var(--next-control)!important}
body.ast-signature .af-footer.rc64-footer .af-action-icon{background:var(--next-soft)!important;color:var(--next-link)!important}
body.ast-signature .af-footer.rc64-footer .af-action strong{font-size:15px!important;font-weight:700;line-height:1.3}
body.ast-signature .af-footer.rc64-footer .af-action small{font-size:14px!important;line-height:1.4;margin-top:3px}
body.ast-signature .af-footer.rc64-footer .af-directory{gap:22px;padding:22px 0}
body.ast-signature .af-footer.rc64-footer .af-group summary{font-size:16px!important;font-weight:700;line-height:1.4;min-height:34px}
body.ast-signature .af-footer.rc64-footer .af-group li a{font-size:15px!important;font-weight:500;padding:5px 0;line-height:1.5;min-height:32px;text-decoration:none}
body.ast-signature .af-footer.rc64-footer .af-group li a:hover{text-decoration:underline;text-underline-offset:3px}
body.ast-signature .af-footer.rc64-footer .af-privacy{background:transparent!important;border-color:var(--next-line)!important;padding:12px 16px;border-radius:9px;margin-bottom:16px;flex-wrap:wrap;gap:12px}
body.ast-signature .af-footer.rc64-footer .af-privacy :is(strong,small){font-size:15px!important;line-height:1.5}
body.ast-signature .af-footer.rc64-footer .af-privacy :is(a,button){white-space:normal;font-size:14px!important;min-height:44px}
body.ast-signature .af-footer.rc64-footer .af-bottom{font-size:14px!important;line-height:1.5;padding:12px 0;gap:10px}
body.ast-signature .af-footer.rc64-footer :is(.af-bottom a,.af-group summary .af-icon){color:var(--next-ink)!important}
@media(max-width:700px){body.ast-signature .af-footer.rc64-footer .af-directory{padding:10px 0 16px}body.ast-signature .af-footer.rc64-footer .af-group summary{min-height:48px}body.ast-signature .af-footer.rc64-footer .af-group li a{min-height:44px;padding:10px 0}body.ast-signature .af-footer.rc64-footer .af-privacy{align-items:flex-start}body.ast-signature .af-footer.rc64-footer .af-intro{gap:16px}body.ast-signature .af-footer.rc64-footer .af-quick-title{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.rc64-shell *, .rc64-footer *, .rc64-search *{transition:none!important;animation:none!important}}
/* Opaque navigation surfaces; no text bleed through during entrance. */
body.ast-signature #site-header.rc64-shell .ast-smart-mega{animation:none!important;opacity:1!important;backdrop-filter:none!important}
body.ast-signature #site-header.rc64-shell :is(.ast-mega-view,.ast-mega-footer a){background:var(--next-soft)!important;color:var(--next-ink)!important;border-color:var(--next-control)!important;box-shadow:none!important;border-radius:6px}
body.ast-signature #site-header.rc64-shell .ast-mega-child>span:last-child,body.ast-signature #site-header.rc64-shell .ast-mega-subhead>span{color:var(--next-link)!important}
