/* Registry presentation shares the public palette; record/application styles remain intact. */
.registry-app-shell{--reg-brand:var(--ds-brand)!important;--reg-on-brand:var(--ds-on-brand)!important;--reg-surface:var(--ds-surface);--reg-canvas:var(--ds-canvas);--reg-ink:var(--ds-ink);--reg-line:var(--ds-line);background:var(--ds-canvas);color:var(--ds-ink)}
.registry-app-shell.thp-frontend .frontend-header.compact-header{background:var(--ds-surface);color:var(--ds-ink);border-bottom:1px solid var(--ds-link);box-shadow:none;z-index:110;position:sticky;top:var(--staff-bar-height,0px)}
.registry-app-shell.thp-frontend .frontend-header.compact-header .frontend-mainbar{display:flex;flex-wrap:nowrap;align-items:center;gap:var(--ds-space-3);width:100%;max-width:none;min-height:72px;padding:var(--ds-space-2) var(--ds-space-4)}
.registry-app-shell.thp-frontend .frontend-header.compact-header .brand-lockup{flex:0 1 170px;min-width:90px;gap:var(--ds-space-2)}
.registry-app-shell.thp-frontend .frontend-header.compact-header .logo-image{height:44px;max-height:44px;width:112px;max-width:100%;object-fit:contain;background:transparent;padding:0;border-radius:0}
.registry-app-shell.thp-frontend .frontend-header.compact-header .brand-lockup>span:not(.header-registry-badge){display:none}
.registry-app-shell.thp-frontend .frontend-header.compact-header .header-registry-badge{font-size:.8rem;padding:.25rem .4rem;border:1px solid var(--ds-link);border-radius:var(--ds-radius);color:var(--ds-link);background:var(--ds-surface)}
.registry-app-shell.thp-frontend .frontend-header.compact-header .frontend-nav{flex:1;min-width:0;width:auto;position:static;display:block;background:transparent;margin:0;padding:0;box-shadow:none}
.registry-app-shell.thp-frontend .frontend-header.compact-header .header-control-stack{display:flex;flex-direction:row;align-items:center;gap:var(--ds-space-2);flex:0 0 auto;min-width:0}
.registry-app-shell.thp-frontend .frontend-header.compact-header .header-language-strip{border:0;padding:0;margin:0;min-height:0}
.registry-app-shell.thp-frontend .frontend-header.compact-header .frontend-actions{display:flex;flex-wrap:nowrap;align-items:center;gap:var(--ds-space-1);min-width:0}
.registry-app-shell.thp-frontend .frontend-header.compact-header :is(.header-icon,.header-avatar,.utility-navigation a){color:var(--ds-ink);background:transparent;border-color:transparent;min-width:40px;min-height:40px}
.registry-app-shell.thp-frontend .frontend-header.compact-header .utility-navigation a{font-size:.8rem;padding:.4rem;white-space:nowrap}
.registry-app-shell.thp-frontend .frontend-header.compact-header :is(.header-icon,.header-avatar,.utility-navigation a):is(:hover,:focus-visible){color:var(--ds-link);background:color-mix(in srgb,var(--ds-link) 8%,var(--ds-surface))}
.registry-app-shell.thp-frontend .frontend-header.compact-header .header-avatar-initials{color:var(--ds-link);background:var(--ds-surface)}
.registry-app-shell.thp-frontend .frontend-header.compact-header :is(a,button,summary):focus-visible,.registry-app-shell .reg-compact-workspace :is(a,summary):focus-visible{outline:2px solid var(--ds-link);outline-offset:2px}
.registry-app-shell :is(.reg-public-links,.reg-compact-workspace>ul){display:flex;flex-wrap:nowrap;align-items:stretch;gap:var(--ds-space-1);margin:0;padding:0;list-style:none;min-width:0}
.registry-app-shell :is(.reg-public-links,.reg-compact-workspace>ul)>li{margin:0;min-width:0}
.registry-app-shell :is(.reg-public-links,.reg-compact-workspace) :is(a,summary){color:var(--ds-ink);font:500 .875rem/1.4 var(--body-font);text-decoration:none;overflow-wrap:anywhere}
.registry-app-shell :is(.reg-public-links,.reg-compact-workspace)>ul>li>a,.registry-app-shell .reg-public-links>li>a,.registry-app-shell :is(.reg-public-links,.reg-compact-workspace) summary{display:flex;align-items:center;min-height:44px;padding:.5rem .65rem;border-bottom:2px solid transparent;cursor:pointer;list-style:none;white-space:nowrap}
.registry-app-shell :is(.reg-public-links,.reg-compact-workspace) summary::-webkit-details-marker{display:none}
.registry-app-shell :is(.reg-public-links,.reg-compact-workspace) details{border:0;background:transparent;position:relative}
.registry-app-shell :is(.reg-public-links,.reg-compact-workspace) :is(a,summary):hover{color:var(--ds-link);background:color-mix(in srgb,var(--ds-link) 8%,var(--ds-surface));text-decoration:underline;text-underline-offset:.25em}
.registry-app-shell :is(.reg-public-links,.reg-compact-workspace) :is(a[aria-current],.is-current>summary,details[open]>summary){color:var(--ds-link);border-bottom-color:var(--ds-link)}
.registry-app-shell .reg-nav-panel{position:fixed;z-index:150;inset:auto;top:var(--reg-panel-top,80px);left:var(--reg-panel-left,16px);width:var(--reg-panel-width,300px);max-width:calc(100vw - 32px);max-height:var(--reg-panel-height,70dvh);overflow:auto;display:none;padding:var(--ds-space-4);background:var(--ds-surface);color:var(--ds-ink);border:1px solid var(--ds-line);border-radius:12px;box-shadow:var(--ds-shadow);opacity:0;translate:0 -4px;transition:opacity 150ms ease,translate 150ms ease,display 150ms allow-discrete}
.registry-app-shell details[open]>.reg-nav-panel{display:block;opacity:1;translate:0 0}
.registry-app-shell .reg-nav-panel a{display:block;white-space:normal;min-height:44px;padding:.6rem .5rem;color:var(--ds-ink);border-radius:var(--ds-radius)}
.registry-app-shell .reg-nav-nested{padding-inline-start:var(--ds-space-4)}
.registry-app-shell .reg-compact-workspace{position:sticky;top:var(--registry-header-offset,72px);display:block;z-index:95;background:var(--ds-surface);color:var(--ds-ink);border-bottom:1px solid var(--ds-line);padding:0 var(--ds-space-4);box-shadow:none;min-height:44px;max-width:100%;overflow:visible}
.registry-app-shell .reg-compact-workspace>ul{justify-content:center;flex-wrap:wrap}
.registry-app-shell details[open]>.reg-workspace-mega{display:grid;grid-template-columns:repeat(var(--reg-columns,3),minmax(0,1fr));gap:var(--ds-space-5)}
.registry-app-shell .reg-menu-column{min-width:0}.registry-app-shell .reg-menu-column+.reg-menu-column{border-inline-start:1px solid var(--ds-line);padding-inline-start:var(--ds-space-5)}
.registry-app-shell .reg-menu-column h3{color:var(--ds-link);font:700 .95rem/1.4 var(--body-font);margin:0 0 var(--ds-space-2);padding-inline:.5rem}
.registry-app-shell .registry-workspace-frame{display:block;max-width:100%;background:var(--ds-canvas)}
.registry-app-shell .reg-home-frame{background:var(--ds-surface);border:1px solid var(--ds-line);border-radius:var(--ds-radius-card);width:min(var(--container-width,1200px),calc(100% - 2rem));margin:var(--ds-space-5) auto;padding:clamp(1rem,3vw,2.5rem);box-shadow:none}
.registry-app-shell .reg-home-section{margin-block:var(--ds-space-7);padding:0;min-width:0}.registry-app-shell .reg-home-section:first-child{margin-block-start:0}
.registry-app-shell .reg-home-section h2,.registry-app-shell .reg-home-summary h2{font-size:var(--ds-title);margin-block:0 var(--ds-space-4)}
.registry-app-shell .reg-home-section h3{font-size:1.15rem;line-height:1.4;margin:0}
.registry-app-shell .reg-home-intro{font-weight:400;line-height:var(--line-height-scale,1.6);max-width:68ch;margin-block:var(--ds-space-3) var(--ds-space-5)}
.registry-app-shell .reg-home-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:center;gap:var(--ds-space-6)}
.registry-app-shell .reg-home-hero h1{font-size:clamp(2rem,4vw,3.4rem);color:var(--ds-heading);line-height:1.12;margin:0}
.registry-app-shell .reg-home-hero figure{margin:0;min-width:0}.registry-app-shell .reg-home-hero img{display:block;width:100%;height:auto;aspect-ratio:4/5;max-height:34rem;object-fit:cover;border-radius:var(--ds-radius-card)}
.registry-app-shell .reg-home-hero figcaption{font-size:var(--ds-text-small);margin-top:var(--ds-space-2)}
.registry-app-shell :is(.reg-home-actions,.reg-home-search,.reg-home-verify){display:flex;flex-wrap:wrap;gap:var(--ds-space-3);align-items:end}
.registry-app-shell :is(.reg-home-search,.reg-home-verify){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:var(--ds-space-2);margin-block:var(--ds-space-4)}
.registry-app-shell .reg-home-search label{grid-column:1/-1}.registry-app-shell .reg-home-search input[type=search]{grid-column:1/-1}.registry-app-shell .reg-home-verify{max-width:38rem}.registry-app-shell .reg-home-verify label{grid-column:1/-1}
.registry-app-shell :is(.reg-home-stats,.reg-home-cards){display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:var(--ds-space-4)}
.registry-app-shell .reg-home-cards .ds-card{height:100%;box-shadow:none}.registry-app-shell .reg-home-cards .ds-card>a{margin-top:auto}
.registry-app-shell .reg-home-stats .ds-stat{box-shadow:none;min-width:0;text-decoration:none}.registry-app-shell .reg-home-stats strong{font-size:2rem}
.registry-app-shell .reg-home-summary{margin-bottom:var(--ds-space-7)}
.registry-app-shell .reg-home-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--ds-space-5);padding-inline-start:var(--ds-space-5);margin:0}.registry-app-shell .reg-home-steps li{padding-inline-start:var(--ds-space-1)}.registry-app-shell .reg-home-steps li::marker{color:var(--ds-link);font-weight:700}
.registry-app-shell .reg-home-section :is(button,.button){background:var(--ds-primary-background,var(--ds-brand));color:var(--ds-primary-ink,var(--ds-on-brand));border-color:var(--ds-link);text-decoration:none;font-weight:600}
.registry-app-shell .reg-home-section .button.secondary{background:var(--ds-surface);color:var(--ds-link)}
.registry-app-shell .site-footer.polish-footer{background:var(--ds-surface);color:var(--ds-ink);border-top:1px solid var(--ds-line)}
.registry-app-shell .site-footer.polish-footer :is(p,h2,h3,a,small,button){color:var(--ds-ink)}
.registry-app-shell .site-footer .footer-main{gap:var(--ds-space-5);padding-block:var(--ds-space-5)}.registry-app-shell .site-footer .footer-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:var(--ds-space-4)}
.registry-app-shell .site-footer .footer-brand{max-width:18rem}.registry-app-shell .site-footer .footer-invitation{display:none}
.registry-app-shell .reg-fictional-strip{background:var(--ds-surface);color:var(--ds-ink);padding:var(--ds-space-2) var(--ds-space-4);margin:0;border-bottom:1px solid var(--ds-line);font-size:var(--ds-text-small)}
.registry-app-shell .reg-account-credits{border-block:1px solid var(--ds-line);padding-block:var(--ds-space-3);margin-block:var(--ds-space-3)}
.registry-app-shell .reg-staff-workspace-info{min-width:0;gap:var(--ds-space-2)}.registry-app-shell .reg-account-chip{color:inherit;background:transparent;border:0;font-size:.75rem;padding:0}
.registry-app-shell .staff-admin-bar .reg-demo-switch button{min-height:28px;font-size:.75rem;color:inherit;border:1px solid currentColor;background:transparent}.registry-app-shell .staff-admin-bar .reg-demo-switch [aria-pressed=true]{font-weight:800;text-decoration:underline}
.registry-app-shell[data-registry-narrow] .frontend-header .frontend-nav{display:none;position:absolute;inset:100% 0 auto;background:var(--ds-surface);max-height:calc(100dvh - var(--site-header-height,72px) - var(--staff-bar-height,0px));overflow:auto;padding:var(--ds-space-4);border-bottom:1px solid var(--ds-line)}
.registry-app-shell[data-registry-narrow].menu-is-open .frontend-header .frontend-nav{display:block}
.registry-app-shell[data-registry-narrow] :is(.reg-public-links,.reg-compact-workspace>ul){display:block}
.registry-app-shell[data-registry-narrow] .reg-compact-workspace{position:static;padding:var(--ds-space-3) 0 0;margin-top:var(--ds-space-3);border-block:1px solid var(--ds-line)}
.registry-app-shell[data-registry-narrow] :is(.reg-public-links,.reg-compact-workspace) :is(a,summary){white-space:normal}
.registry-app-shell[data-registry-narrow] .reg-nav-panel{position:static;width:auto!important;max-width:100%;max-height:none;box-shadow:none;border:0;padding:var(--ds-space-3);translate:none}
.registry-app-shell[data-registry-narrow] details[open]>.reg-workspace-mega{display:block}
.registry-app-shell[data-registry-narrow] .reg-menu-column+.reg-menu-column{border:0;border-top:1px solid var(--ds-line);padding:var(--ds-space-3) 0 0;margin-top:var(--ds-space-3)}
@media(max-width:1024px){.registry-app-shell.thp-frontend .frontend-header.compact-header .frontend-mainbar{min-height:56px;padding:var(--ds-space-1) var(--ds-space-2)}.registry-app-shell.thp-frontend .frontend-header.compact-header .logo-image{width:80px;height:36px}.registry-app-shell.thp-frontend .frontend-header.compact-header .header-registry-badge{font-size:.7rem}.registry-app-shell .reg-home-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.registry-app-shell .site-footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.registry-app-shell.thp-frontend .frontend-header.compact-header .frontend-mainbar{gap:4px}.registry-app-shell.thp-frontend .frontend-header.compact-header .brand-lockup{flex:1 1 46px;min-width:32px}.registry-app-shell.thp-frontend .frontend-header.compact-header .logo-image{width:48px}.registry-app-shell.thp-frontend .frontend-header.compact-header .header-registry-badge{display:none}.registry-app-shell.thp-frontend .frontend-header.compact-header .header-control-stack{gap:2px}.registry-app-shell.thp-frontend .frontend-header.compact-header .frontend-actions{gap:0}.registry-app-shell.thp-frontend .frontend-header.compact-header .utility-navigation{display:none}.registry-app-shell.thp-frontend .frontend-header.compact-header .header-language-strip .language-slider{min-width:72px}.registry-app-shell.thp-frontend .frontend-header.compact-header :is(.header-icon,.header-avatar){width:40px;height:44px;min-width:40px}.registry-app-shell .reg-home-hero{grid-template-columns:minmax(0,1fr)}.registry-app-shell .reg-home-hero img{aspect-ratio:3/2;max-height:22rem}.registry-app-shell .reg-home-steps{grid-template-columns:minmax(0,1fr)}.registry-app-shell .reg-home-actions>a{width:100%}.registry-app-shell .reg-home-verify{grid-template-columns:minmax(0,1fr)}.registry-app-shell .site-footer .footer-main{display:block}.registry-app-shell .site-footer .footer-grid{grid-template-columns:minmax(0,1fr)}.registry-app-shell .site-footer .footer-brand{margin-bottom:var(--ds-space-5)}}
html.thp-high-contrast .registry-app-shell :is(.reg-nav-panel,.reg-home-frame,.ds-card,.ds-stat){border:2px solid var(--ds-line);box-shadow:none}
@media(prefers-reduced-motion:reduce){.registry-app-shell .reg-nav-panel{transition:none;translate:none}}

.registry-app-shell [hidden]{display:none!important}.registry-app-shell .reg-mobile-main-site{display:none}@media(max-width:600px){.registry-app-shell .reg-mobile-main-site{display:block;min-height:44px;padding:.6rem;color:var(--ds-ink)}}

/* Older green-header rules inherit this local foreground, not the button foreground. */
.registry-app-shell.thp-frontend .frontend-header.compact-header{--reg-on-brand:var(--ds-ink)!important;--language-label-active:var(--ds-ink);--language-label-inactive:var(--ds-ink)}
.registry-app-shell.thp-frontend .frontend-header.compact-header .language-segments{color:var(--ds-ink)}
.registry-app-shell.thp-frontend .frontend-header.compact-header .language-segments .language-slider-label{color:var(--ds-ink);background:var(--ds-surface)}
.registry-app-shell.thp-frontend .frontend-header.compact-header .language-segments .language-slider-label[aria-current=true]{background:var(--ds-brand);color:var(--ds-on-brand)}
.registry-app-shell #registry-content .reg-home-section p a{text-decoration:underline;text-underline-offset:.2em}
@media(max-width:600px){.registry-app-shell.thp-frontend .frontend-header.compact-header :is(.header-icon,.header-avatar){width:44px;min-width:44px;min-height:44px}}

.registry-app-shell.thp-frontend .frontend-header.compact-header .frontend-mainbar{flex-wrap:nowrap!important}
.registry-app-shell.thp-frontend .frontend-header.compact-header .frontend-nav{display:block!important;flex:1 1 0;min-width:0}
.registry-app-shell.thp-frontend .frontend-header.compact-header .header-search-control{display:block!important}
.registry-app-shell.thp-frontend[data-registry-narrow] .frontend-header.compact-header .frontend-nav{display:none!important;position:absolute!important;inset:100% 0 auto;flex:none;order:initial;background:var(--ds-surface);max-height:calc(100dvh - var(--site-header-height,56px) - var(--staff-bar-height,0px));overflow:auto;padding:var(--ds-space-4)}
.registry-app-shell.thp-frontend[data-registry-narrow].menu-is-open .frontend-header.compact-header .frontend-nav{display:block!important}
.registry-app-shell.thp-frontend .site-footer.polish-footer{--footer-surface:var(--ds-surface)!important;--footer-ink:var(--ds-ink)!important;color:var(--ds-ink);background:var(--ds-surface)}
.registry-app-shell.thp-frontend .site-footer.polish-footer :is(p,h2,h3,a,small,strong,.link-button){color:var(--ds-ink)}
.registry-app-shell.thp-frontend .site-footer.polish-footer .language-slider-label[aria-current=true]{background:var(--ds-brand);color:var(--ds-on-brand)}

.registry-app-shell.thp-frontend .frontend-header.compact-header .header-control-stack{width:auto;max-width:none;flex:0 0 auto}
.registry-app-shell.thp-frontend .frontend-header.compact-header .header-language-strip{flex:0 0 auto;width:auto;max-width:none}
.registry-app-shell.thp-frontend .frontend-header.compact-header .frontend-actions{flex:0 0 auto;width:auto;max-width:none}
@media(max-width:600px){
 .registry-app-shell.thp-frontend .frontend-header.compact-header .header-language-strip svg{display:none}
 .registry-app-shell.thp-frontend .frontend-header.compact-header .language-segments{min-width:72px}
 .registry-app-shell.thp-frontend .frontend-header.compact-header .language-slider-label{min-width:32px;padding:3px 4px}
 .registry-app-shell.thp-frontend .frontend-header.compact-header .brand-lockup{flex:1 1 36px;max-width:64px;min-width:28px}
 .registry-app-shell.thp-frontend .frontend-header.compact-header .brand-lockup .logo-image{width:100%;height:36px}
}

.registry-app-shell .reg-home-frame{width:var(--frame-width,80%);max-width:var(--frame-max,1600px)}
@media(max-width:1024px){.registry-app-shell .reg-home-frame{width:calc(100% - 2rem)}}
.registry-app-shell .site-footer .footer-menu-node .submenu{display:block!important;position:static!important;width:auto;max-width:none;box-shadow:none;border:0}

.registry-app-shell.thp-frontend .frontend-header.compact-header .cart-button strong{background:var(--ds-brand);color:var(--ds-on-brand)}
.registry-app-shell #header-account-panel .reg-account-credits .button{background:var(--ds-primary-background,var(--ds-brand))!important;color:var(--ds-primary-ink,var(--ds-on-brand))!important;border:1px solid var(--ds-link)}
.registry-app-shell #header-account-panel .reg-demo-switch button{background:var(--ds-surface)!important;color:var(--ds-ink)!important;border:1px solid var(--ds-line)!important}
.registry-app-shell #header-account-panel .reg-demo-switch [aria-pressed=true]{background:var(--ds-brand)!important;color:var(--ds-on-brand)!important}

.registry-app-shell .reg-mobile-group-title{display:none}
.registry-app-shell[data-registry-narrow] .reg-mobile-group-title{display:block;font-weight:700;font-size:var(--ds-text-small);color:var(--ds-link);margin:var(--ds-space-3) 0}
@media(max-width:600px){
 .registry-app-shell.thp-frontend .frontend-header.compact-header .frontend-mainbar{padding-inline:6px}
 .registry-app-shell.thp-frontend .frontend-header.compact-header .language-segments{min-height:46px;min-width:92px;padding:1px}
 .registry-app-shell.thp-frontend .frontend-header.compact-header .language-slider-label{min-width:44px;min-height:44px}
}

/* A longer owner-defined workspace remains in normal flow; anchors share its measured offset. */
.registry-app-shell .reg-compact-workspace{height:auto}
.registry-app-shell #registry-content .reg-home-section[id]{scroll-margin-top:calc(var(--registry-header-offset,72px) + var(--registry-workspace-height,0px) + var(--ds-space-4))}

.registry-app-shell.thp-frontend .frontend-header.compact-header[data-header-sticky="0"]{position:relative!important;top:auto!important}
.registry-app-shell.thp-frontend .frontend-header.compact-header .logo-image{transition:height var(--ds-fast) var(--ds-ease)}
@media(min-width:1025px){
 .registry-app-shell.thp-frontend .frontend-header.compact-header[data-compact-chrome="1"].header-is-scrolled .frontend-mainbar{min-height:60px}
 .registry-app-shell.thp-frontend .frontend-header.compact-header[data-compact-chrome="1"].header-is-scrolled .logo-image{height:36px}
 .registry-app-shell.thp-frontend .frontend-header.compact-header[data-compact-chrome="0"] .frontend-mainbar{min-height:88px}
 .registry-app-shell.thp-frontend .frontend-header.compact-header[data-compact-chrome="0"] .logo-image{height:58px;max-height:58px}
}

/* The current split hero keeps its layout; only its photograph receives the chosen scrim. */
.registry-app-shell .reg-home-photo{position:relative;overflow:hidden;border-radius:var(--ds-radius-card)}
.registry-app-shell .reg-photo-scrim{position:absolute;inset:0;pointer-events:none;background:var(--hero-base);opacity:var(--hero-opacity)}
html.thp-high-contrast .registry-app-shell .reg-home-hero{--hero-base:CanvasText!important;--hero-ink:Canvas!important;--hero-opacity:1!important}
