/* Navigation only. Existing typography and primary order controls retain their sizes. */
.lab-page .xf3-navigation-refined > .menu{gap:9px!important;align-items:center}
.lab-page .xf3-navigation-refined .lab-menu-trigger{min-height:44px!important;padding:7px 15px!important;line-height:1.25!important;border:1px solid rgba(66,113,131,.46)!important;border-radius:10px!important;background:linear-gradient(135deg,rgba(255,255,255,.92),rgba(231,244,248,.86))!important;box-shadow:inset 0 1px 0 #fff,0 2px 3px rgba(19,64,78,.08)!important;color:#183d4d!important;transition:color .18s,border-color .18s,box-shadow .18s}
.lab-page .xf3-navigation-refined .lab-menu-trigger:hover,.lab-page .xf3-navigation-refined details[open]>.lab-menu-trigger{color:#117199!important;border-color:#3788a6!important;box-shadow:inset 0 1px 0 #fff,0 2px 5px rgba(19,64,78,.15)!important}
.xf3-nav-stars{color:#b58525;font-size:11px;line-height:1;letter-spacing:3px}
.lab-page .xf3-navigation-refined .xf3-info-submenu{border-radius:12px!important;box-shadow:0 14px 32px rgba(22,63,78,.2)!important;border:1px solid #b5cdd6!important}
.lab-page .xf3-navigation-refined .xf3-store-destinations{width:365px!important;max-width:calc(100vw - 32px)!important;padding:7px!important;background:rgba(248,252,253,.98)!important}
.lab-page .xf3-navigation-refined .xf3-store-destination{display:grid!important;grid-template-columns:140px 1fr 16px;align-items:center;gap:9px!important;padding:10px 8px!important;border-radius:8px;min-height:72px;border-bottom:1px solid #dde8ed!important;text-decoration:none!important;background:transparent!important}
.lab-page .xf3-navigation-refined .xf3-store-destination:hover{background:#e6f2f6!important}
.xf3-store-destination strong,.xf3-store-destination small{display:block;line-height:1.3}
.xf3-store-destination small{margin-top:3px;color:#54727f;font-size:.85em}
.xf3-store-art{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;height:52px}
.xf3-market-mark{width:104px;height:44px;object-fit:contain}
.xf3-store-tripod{width:27px;height:38px;object-fit:contain;transform-origin:50% 90%;animation:xf3-nav-tripod 6s ease-in-out infinite}
.xf3-store-art--home{position:relative;height:52px}
.xf3-store-art--home canvas{width:140px;height:50px;position:absolute;inset:0;object-fit:contain}
.xf3-store-logo-fallback{font-family:Georgia,serif;font-size:29px;font-weight:bold;color:#2e657a;text-shadow:1px 1px #fff}
.xf3-store-art--home.is-mirrored .xf3-store-logo-fallback{visibility:hidden}
.xf3-store-arrow{color:#2a8b70}
.xf3-gallery-hub-heading h1{margin-bottom:8px}
.xf3-gallery-collections{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0 24px;border-bottom:1px solid #c2d4dc;padding-bottom:16px}
.xf3-gallery-collections button{font:inherit;font-weight:600;padding:10px 20px;border:1px solid #89abba;border-radius:9px;color:#24566b;background:#f5fafc;cursor:pointer}
.xf3-gallery-collections button[aria-selected="true"]{background:#dceef5;border-color:#277b9c;box-shadow:inset 0 -3px #277b9c}
.xf3-gallery-hub [data-gallery-panel][hidden]{display:none!important}
.xf3-gallery-count{color:#53727f}
@keyframes xf3-nav-tripod{0%,80%,100%{transform:rotate(0)}86%{transform:rotate(-4deg)}92%{transform:rotate(3deg)}}
@media(prefers-reduced-motion:reduce){.xf3-store-tripod{animation:none}}
.xf3-world-paused .xf3-store-tripod{animation-play-state:paused}
@media(max-width:720px){.lab-page .xf3-navigation-refined>.menu{justify-content:flex-start!important;gap:7px!important}.lab-page .xf3-navigation-refined .lab-menu-trigger{padding:7px 11px!important}.lab-page .xf3-navigation-refined .xf3-store-destinations{right:0!important;left:auto!important}}
.lab-page .xf3-navigation-refined .xf3-store-destinations{right:0!important;left:auto!important}
.lab-page .xf3-navigation-refined .xf3-store-destination strong{color:#183d4d!important}
.lab-page .xf3-navigation-refined .xf3-nav-stars{color:#a97617!important;font-size:11px!important;letter-spacing:3px!important;line-height:1!important}
.lab-page .xf3-gallery-hub .xf3-gallery-hub-heading,.lab-page .xf3-gallery-hub .xf3-gallery-count{background:transparent!important}
@media(max-width:720px){
 .lab-page .xf3-navigation-refined{position:relative!important}
 .lab-page .xf3-navigation-refined>.menu{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%!important}
 .lab-page .xf3-navigation-refined .lab-nav-link,.lab-page .xf3-navigation-refined details{position:static!important;margin:0!important}
 .lab-page .xf3-navigation-refined .lab-menu-trigger{width:100%!important;box-sizing:border-box;justify-content:center!important}
 .lab-page .xf3-navigation-refined .xf3-info-submenu{left:0!important;right:0!important;top:calc(100% + 6px)!important;width:auto!important;max-width:100%!important}
 .lab-page .xf3-navigation-refined .xf3-store-destination{grid-template-columns:125px minmax(0,1fr) 16px}
 .xf3-market-mark{width:90px}
}
@media(max-width:720px){.lab-page .xf3-navigation-refined .lab-nav-link,.lab-page .xf3-navigation-refined details{width:100%!important;min-width:0!important;max-width:none!important}.lab-page .xf3-navigation-refined summary.lab-menu-trigger{display:flex!important}}
/* Editorial navigation: light surfaces, common label baseline, independent submarks. */
.lab-page .xf3-navigation-refined .lab-menu-trigger{
 position:relative!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;
 height:calc(36px * var(--lab-scale,1))!important;min-height:36px!important;box-sizing:border-box!important;
 padding:0 13px!important;border-radius:4px!important;border:1px solid rgba(47,100,121,.28)!important;
 background:rgba(245,251,252,.72)!important;box-shadow:inset 0 -1px rgba(52,104,122,.14)!important;
 text-decoration:none!important;
}
.lab-page .xf3-navigation-refined .lab-menu-trigger:hover,.lab-page .xf3-navigation-refined details[open]>.lab-menu-trigger{
 background:rgba(255,255,255,.91)!important;box-shadow:inset 0 -2px #528a9f!important;text-decoration:none!important;
}
.lab-page .xf3-navigation-refined .xf3-nav-stars{
 position:absolute!important;left:0!important;right:0!important;bottom:1px!important;display:block!important;text-align:center!important;
 font-size:9px!important;line-height:9px!important;letter-spacing:2px!important;text-decoration:none!important;pointer-events:none;
}
.lab-page .xf3-navigation-refined .xf3-nav-market-marks{
 position:absolute;bottom:1px;left:0;right:0;display:flex;justify-content:center;gap:5px;height:10px;pointer-events:none;text-decoration:none!important;
}
.xf3-nav-market-marks img{width:26px!important;height:10px!important;object-fit:contain}
.lab-page .lab-header .lab-preferences select,.lab-page .lab-header .lab-preferences .lab-menu-trigger{
 min-height:calc(32px * var(--lab-scale,1))!important;padding-top:3px!important;padding-bottom:3px!important;border-radius:4px!important;box-shadow:none!important;
}
@media(max-width:720px){.lab-page .xf3-navigation-refined .lab-menu-trigger{height:40px!important;padding:0 10px!important}}

.xf3-shelf-guide-index{display:flex;flex-wrap:wrap;gap:8px 24px;padding:14px 0 18px;margin-bottom:24px;border-bottom:1px solid #9bb8c5;background:transparent!important}
.xf3-shelf-guide-index a{font:inherit;font-weight:600;color:#245f78;text-decoration:none;border-bottom:1px solid #9bb8c5;padding:4px 0}
.xf3-shelf-guide-index a:hover{color:#117ea6;border-color:currentColor}
.xf3-shelf-guide-section{scroll-margin-top:24px}
.xf3-shelf-guide-section+.xf3-shelf-guide-section{margin-top:48px;padding-top:32px;border-top:1px solid #acc5cf}
.lab-page .xf3-shelf-guide .xf3-capacity-guide{max-width:none}
.lab-page .xf3-shelf-guide .xf3-capacity-guide__intro h2{font-family:var(--gui-font-display,Georgia,serif);font-size:clamp(2.1rem,3.5vw,3.35rem);font-weight:500;line-height:1.05}
.lab-page .xf3-navigation-refined .lab-nav-link details{background:transparent!important;min-height:0!important;height:auto!important;border:0!important;box-shadow:none!important}
/* Keep label baselines shared, reserving an airy second line for decorative marks. */
.lab-page .xf3-navigation-refined .lab-menu-trigger{align-items:flex-start!important;padding-top:3px!important}
.lab-page .xf3-navigation-refined .xf3-nav-stars,.lab-page .xf3-navigation-refined .xf3-nav-market-marks{bottom:3px!important}
.lab-page .xf3-navigation-refined .xf3-nav-market-marks{gap:9px;height:11px}
.xf3-nav-market-marks img{width:30px!important;height:11px!important}
.xf3-quick-menu{position:relative}
.lab-page .xf3-navigation-refined .xf3-quick-submenu{display:none!important;position:absolute!important;top:100%!important;right:0!important;left:auto!important;min-width:220px;margin:0!important;padding:9px!important;z-index:100;background:#f7fbfc!important}
.lab-page .xf3-navigation-refined .xf3-quick-menu:not(.is-dismissed):hover>.xf3-quick-submenu,.lab-page .xf3-navigation-refined .xf3-quick-menu:not(.is-dismissed):focus-within>.xf3-quick-submenu{display:block!important}
.lab-page .xf3-navigation-refined .xf3-quick-submenu a{padding:9px 12px!important;display:block!important;white-space:nowrap}
html.xform3-themed .lab-page .lab-header .lab-preferences .xf3-animation-toggle{display:inline-flex!important;align-items:center;gap:7px;background:transparent!important;border:0!important;box-shadow:none!important;padding:4px 9px!important;min-height:32px!important;font:inherit;color:#214d60;cursor:pointer;white-space:nowrap}
.xf3-motion-led{width:9px;height:9px;border-radius:50%;background:#aaa;box-shadow:0 0 0 3px #ffffff50}
[aria-checked="true"] .xf3-motion-led{background:#38a873;box-shadow:0 0 0 3px #b7e9d340,0 0 9px #46c68f80;animation:xf3-led-breathe 3s ease-in-out infinite}
.xf3-animation-toggle strong{font-weight:600;font-size:.88em}
@keyframes xf3-led-breathe{50%{box-shadow:0 0 0 3px #b7e9d340,0 0 12px #46c68fc0}}
html.xf3-world-paused *,html.xf3-world-paused *::before,html.xf3-world-paused *::after{animation-play-state:paused!important}
html.xform3-themed body .lab-page .lab-header .lab-preferences .lab-appearance>summary{min-height:calc(32px * var(--lab-scale,1))!important;height:calc(32px * var(--lab-scale,1))!important;padding:3px 12px!important;border-radius:4px!important;box-sizing:border-box!important}
html.xform3-themed body .lab-page .lab-header .lab-appearance-panel{min-width:0!important;width:290px!important;max-width:calc(100vw - 28px)!important;padding:12px!important;gap:10px!important}
html.xform3-themed body .lab-page .lab-header .lab-appearance-panel .lab-style-controls,html.xform3-themed body .lab-page .lab-header .lab-appearance-panel #xform3-theme-picker,html.xform3-themed body .lab-page .lab-header .lab-appearance-panel #xform3-style-extensions{display:grid!important;gap:9px!important;width:100%!important}
html.xform3-themed body .lab-page .lab-header .lab-appearance-panel label,html.xform3-themed body .lab-page .lab-header .lab-appearance-panel .xform3-control-field{display:grid!important;grid-template-columns:70px minmax(0,1fr)!important;align-items:center!important;gap:7px!important;margin:0!important}
html.xform3-themed body .lab-page .lab-header .lab-appearance-panel select,html.xform3-themed body .lab-page .lab-header .lab-appearance-panel #xform3-theme-picker select{min-height:32px!important;padding:4px 7px!important}
html.xform3-themed body .lab-page .lab-header .lab-appearance-panel button{min-height:30px!important;padding:4px 8px!important}
.lab-appearance-panel #xform3-motion{display:none!important}
@media(max-width:720px){.xf3-quick-menu{position:static}.lab-page .xf3-navigation-refined .xf3-quick-submenu{top:100%!important;left:0!important;right:0!important;width:auto!important}.lab-page .xf3-navigation-refined .lab-menu-trigger{padding-top:4px!important}}
html.xform3-themed body .lab-page[data-store-finish] .lab-header .lab-preferences .xf3-animation-toggle{font-size:calc(14px * var(--lab-scale,1))!important}
html.xform3-themed body .lab-page[data-store-finish] .lab-header .lab-preferences .lab-appearance .lab-appearance-panel #xform3-theme-picker label.xform3-control-field,
html.xform3-themed body .lab-page[data-store-finish] .lab-header .lab-preferences .lab-appearance .lab-appearance-panel>label{display:grid!important;grid-template-columns:70px minmax(0,1fr)!important;gap:7px!important;align-items:center!important}
html.xform3-themed body .lab-page[data-store-finish] .lab-header .lab-preferences .lab-appearance .lab-appearance-panel #xform3-theme-picker .xform3-control-name{font-size:calc(14px * var(--lab-scale,1))!important;text-align:left!important}
html.xform3-themed body .lab-page[data-store-finish] .lab-header .lab-preferences .lab-appearance .lab-appearance-panel>label>select,
html.xform3-themed body .lab-page[data-store-finish] .lab-header .lab-preferences .lab-appearance .lab-appearance-panel #xform3-theme-picker label.xform3-control-field select{width:100%!important;min-width:0!important;min-height:32px!important;height:32px!important;padding:4px 7px!important;grid-column:2!important}
html.xform3-themed body .lab-page[data-store-finish] .lab-header .lab-preferences .lab-appearance .lab-appearance-panel #xform3-theme-picker label.xform3-control-field span{grid-column:1!important}
html.xform3-themed body .lab-page[data-store-finish] .lab-header .lab-preferences .lab-appearance .lab-appearance-panel #xform3-theme-picker,
html.xform3-themed body .lab-page[data-store-finish] .lab-header .lab-preferences .lab-appearance .lab-appearance-panel #xform3-style-extensions{grid-template-columns:minmax(0,1fr)!important;grid-column:1/-1!important;min-width:0!important}
html.xform3-themed body .lab-page[data-store-finish] .lab-header .lab-preferences .lab-appearance .lab-appearance-panel #xform3-style-extensions label.xform3-control-field{width:100%!important;max-width:none!important;box-sizing:border-box!important}

/* Content tabs share the configurator's outer content boundary. */
html.xform3-themed body .lab-page[data-store-finish] .xf3-store-info-main{width:100%!important;max-width:none!important;box-sizing:border-box!important;margin-left:0!important;margin-right:0!important;padding:clamp(20px,3vw,42px)!important}
html.xform3-themed body .lab-page .xf3-motion-led{width:9px;height:9px;flex:0 0 9px;background:#c74438;box-shadow:none!important;animation:none!important}
html.xform3-themed body .lab-page [aria-checked="true"] .xf3-motion-led{background:#2da76b;box-shadow:none!important;animation:none!important}
html.xform3-themed body .lab-page .xf3-navigation-refined .xf3-quick-submenu a{background:transparent!important;color:#214d60!important;box-shadow:none!important;border:0!important;border-radius:5px!important}
html.xform3-themed body .lab-page .xf3-navigation-refined .xf3-quick-submenu a:hover{background:#e5f1f5!important;color:#176783!important}

html.xform3-themed body .lab-page .lab-header .xf3-navigation-refined>ul.menu{align-items:flex-start!important}
html.xform3-themed body .lab-page .lab-header .xf3-navigation-refined>ul.menu>li .lab-menu-trigger{height:calc(34px * var(--lab-scale,1))!important;min-height:calc(34px * var(--lab-scale,1))!important;padding:6px 12px!important;box-sizing:border-box!important;justify-content:center!important}
html.xform3-themed body .lab-page .lab-header .xf3-navigation-refined>ul.menu>li:has(.xf3-nav-stars) .lab-menu-trigger,html.xform3-themed body .lab-page .lab-header .xf3-navigation-refined>ul.menu>li.xf3-stores-menu .lab-menu-trigger{height:calc(46px * var(--lab-scale,1))!important;min-height:calc(46px * var(--lab-scale,1))!important;padding:5px 12px!important}

/* Touch navigation uses the same links and animated brand as the desktop store. */
.xf3-mobile-controls,.xf3-mobile-submenu-toggle{display:none!important}
@media(max-width:900px){
 :root body .lab-page[data-store-finish] .lab-header.xf3-mobile-ready{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"brand" "controls";gap:10px!important;min-width:0!important;margin:0!important;padding:8px 0 12px!important;width:100%!important;overflow:visible!important}
 :root body .lab-page[data-store-finish] .lab-header.xf3-mobile-ready .lab-realm-store-brand{grid-area:brand!important;justify-self:center!important;width:min(100%,320px)!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;aspect-ratio:360/148;transform:none!important;margin:0!important;padding:0!important}
 :root body .lab-page[data-store-finish] .lab-header.xf3-mobile-ready .lab-brand-tagline{display:none!important}
 :root body .lab-page[data-store-finish] .lab-header.xf3-mobile-ready>.xf3-mobile-controls{grid-area:controls;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%}
 :root body .lab-page[data-store-finish] .xf3-mobile-controls>button{font:inherit!important;font-size:16px!important;font-weight:600!important;min-height:46px!important;margin:0!important;padding:10px 14px!important;border:1px solid var(--gui-line,#84a7b6)!important;border-radius:8px!important;background:var(--gui-card,#edf7fa)!important;color:var(--gui-ink,#193e50)!important;display:flex!important;justify-content:space-between;align-items:center;box-shadow:inset 0 -2px #8fb9c7!important;cursor:pointer}
 :root body .lab-page[data-store-finish] .lab-header.xf3-mobile-ready .lab-main-nav details{width:100%!important;min-width:0!important}
 .xf3-mobile-controls>button::after{content:'⌄';font-size:20px}.xf3-mobile-controls>button[aria-expanded="true"]::after{content:'⌃'}
 :root body .lab-page[data-store-finish] .lab-header.xf3-mobile-ready>.lab-main-nav{grid-area:pages!important;display:none!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important}
 :root body .lab-page[data-store-finish] .lab-header.xf3-mobile-ready>.lab-preferences{grid-area:preferences!important;display:none!important;margin:0!important;padding:12px!important;width:100%!important;min-width:0!important;box-sizing:border-box;border:1px solid var(--gui-line,#a8c0cb);border-radius:10px;background:var(--gui-card,#f6fbfc)}
 :root body .lab-page[data-store-finish] .lab-header.xf3-mobile-ready[data-mobile-panel="pages"]{grid-template-areas:"brand" "controls" "pages"!important}
 :root body .lab-page[data-store-finish] .lab-header.xf3-mobile-ready[data-mobile-panel="pages"]>.lab-main-nav{display:block!important}
 :root body .lab-page[data-store-finish] .lab-header.xf3-mobile-ready[data-mobile-panel="preferences"]{grid-template-areas:"brand" "controls" "preferences"!important}
 :root body .lab-page[data-store-finish] .lab-header.xf3-mobile-ready[data-mobile-panel="preferences"]>.lab-preferences{display:flex!important;flex-wrap:wrap!important;gap:10px!important;justify-content:flex-start!important}
 :root body .lab-page[data-store-finish] .lab-header.xf3-mobile-ready>.lab-preferences>label{flex:1 1 135px!important;min-width:0!important;width:auto!important}
 :root body .lab-page[data-store-finish] .lab-header.xf3-mobile-ready>.lab-preferences select{min-height:44px!important;max-width:100%!important;width:100%!important;font-size:16px!important}
 :root body .lab-page[data-store-finish] .lab-header.xf3-mobile-ready>.lab-preferences .lab-appearance{position:relative!important;width:100%!important}
 :root body .lab-page[data-store-finish] .lab-header.xf3-mobile-ready>.lab-preferences .lab-appearance-panel{position:static!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important;margin-top:8px!important}
 :root body .lab-page[data-store-finish] .lab-header.xf3-mobile-ready>.lab-main-nav>.menu{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:6px!important;box-sizing:border-box;padding:8px!important;margin:0!important;width:100%!important;background:var(--gui-card,#f6fbfc)!important;border:1px solid var(--gui-line,#a8c0cb);border-radius:10px}
 :root body .lab-page[data-store-finish] .lab-header.xf3-mobile-ready .lab-main-nav .lab-nav-link{display:block!important;height:auto!important;width:100%!important;min-width:0!important;max-width:none!important;position:static!important;margin:0!important}
 :root body .lab-page[data-store-finish] .lab-header.xf3-mobile-ready .xf3-quick-menu{width:100%!important;min-width:0!important;display:grid!important;grid-template-columns:minmax(0,1fr) 44px;gap:0 4px;position:static!important}
 :root body .lab-page[data-store-finish] .lab-header.xf3-mobile-ready .lab-main-nav.xf3-navigation-refined>ul.menu>li .lab-menu-trigger{width:100%!important;min-height:46px!important;height:auto!important;justify-content:flex-start!important;align-items:center!important;padding:10px 14px!important;font-size:16px!important;box-sizing:border-box!important}
 :root body .lab-page[data-store-finish] .lab-header.xf3-mobile-ready .lab-main-nav .xf3-mobile-submenu-toggle{display:block!important;font:inherit!important;font-size:23px!important;min-width:44px!important;min-height:46px!important;border:1px solid var(--gui-line,#abc4ce)!important;border-radius:6px!important;background:var(--gui-card,#eaf5f9)!important;color:var(--gui-ink,#214d60)!important;cursor:pointer}
 :root body .lab-page[data-store-finish] .lab-header.xf3-mobile-ready .lab-main-nav .xf3-info-submenu{position:static!important;inset:auto!important;grid-column:1/-1;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;margin:6px 0!important;box-shadow:none!important;padding:6px!important}
 :root body .lab-page[data-store-finish] .lab-header.xf3-mobile-ready .lab-main-nav .xf3-quick-submenu{display:none!important}
 :root body .lab-page[data-store-finish] .lab-header.xf3-mobile-ready .lab-main-nav .is-mobile-open>.xf3-quick-submenu{display:block!important}
 :root body .lab-page[data-store-finish] .lab-header.xf3-mobile-ready .lab-main-nav details:not([open])>.xf3-info-submenu{display:none!important}
 :root body .lab-page[data-store-finish] .lab-header.xf3-mobile-ready .lab-main-nav .xf3-info-submenu a{min-height:44px!important;box-sizing:border-box!important;display:flex;align-items:center;padding:10px 12px!important;white-space:normal!important;font-size:16px!important}
 :root body .lab-page[data-store-finish] .lab-header.xf3-mobile-ready .lab-main-nav .xf3-nav-stars,:root body .lab-page[data-store-finish] .lab-header.xf3-mobile-ready .lab-main-nav .xf3-nav-market-marks{position:static!important;margin-left:auto!important;flex-shrink:0!important;height:auto!important}
 :root body .lab-page[data-store-finish] .lab-header.xf3-mobile-ready .lab-main-nav .xf3-store-destination{grid-template-columns:90px minmax(0,1fr) 16px!important}
 :root body .lab-page[data-store-finish] .lab-header.xf3-mobile-ready .xf3-store-art--home canvas{max-width:100%!important}
}

/* Text-only navigation: compact desktop labels and generous touch targets. */
:root body .lab-page .xf3-navigation-refined :is(.xf3-nav-icon,.xf3-nav-stars,.xf3-nav-market-marks,.xf3-store-art,.xf3-store-arrow,.lab-contact-icon,.xf3-contact-canada-flag){display:none!important}
@media(min-width:901px){
 :root.xform3-themed body .lab-page[data-store-finish] .lab-header .xf3-navigation-refined>ul.menu{align-items:stretch!important}
 :root.xform3-themed body .lab-page[data-store-finish] .lab-header .xf3-navigation-refined>ul.menu>li .lab-menu-trigger{
  height:calc(36px * var(--lab-scale,1))!important;min-height:calc(36px * var(--lab-scale,1))!important;
  padding:6px 13px!important;align-items:center!important;font-size:calc(15px * var(--lab-scale,1))!important;line-height:1.2!important
 }
}
:root body .lab-page .lab-header .xf3-navigation-refined .xf3-store-destination{grid-template-columns:minmax(0,1fr)!important;min-height:44px!important}
:root body .lab-page .lab-header .xf3-navigation-refined .sub-contact .contact-item{grid-template-columns:minmax(0,1fr)!important}
/* Only the control paints a surface, so its rounded corners stay clean. */
:root body .lab-page[data-store-finish] .lab-tab-actions .lab-my-account-menu,
:root body .lab-page[data-store-finish] .lab-tab-actions .lab-cart-tab-host{
 background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:8px!important;overflow:visible
}
:root body .lab-page[data-store-finish] .lab-tab-actions .lab-account-link,
:root body .lab-page[data-store-finish] .lab-tab-actions .lab-order-tab--cart{
 box-sizing:border-box;height:40px!important;min-height:40px!important;margin:0!important;border-radius:8px!important;line-height:1.25!important
}
:root body .lab-page[data-store-finish] .lab-tab-actions .lab-account-link{
 padding:5px 11px!important;font-size:15px!important;font-weight:650!important;box-shadow:0 1px 2px #193f5012!important
}
:root body .lab-page[data-store-finish] .lab-tab-actions .lab-order-tab--cart{padding:0!important;overflow:hidden}
:root body .lab-page[data-store-finish] .lab-tab-actions .lab-order-tab--cart>button{
 height:38px!important;min-height:38px!important;padding:5px 11px!important;border:0!important;border-radius:7px!important;font-size:15px!important;line-height:1.25!important
}
@media(max-width:900px){
 :root body .lab-page[data-store-finish] .lab-tab-actions .lab-account-link,
 :root body .lab-page[data-store-finish] .lab-tab-actions .lab-order-tab--cart{height:44px!important;min-height:44px!important}
 :root body .lab-page[data-store-finish] .lab-tab-actions .lab-order-tab--cart>button{height:42px!important;min-height:42px!important}
}
@media(max-width:400px){
 :root body .lab-page[data-store-finish] .lab-tab-actions .lab-account-link,
 :root body .lab-page[data-store-finish] .lab-tab-actions .lab-order-tab--cart>button,
 :root body .lab-page[data-store-finish] .lab-tab-actions button.xf3-chat-tab{padding-inline:8px!important}
}

/* Contact destinations use the same dropdown link treatment as the other menus. */
:root body .lab-page .xf3-navigation-refined .sub-contact>li:is(.xf3-contact-page-link,.xf3-contact-chat-link,.xf3-contact-feedback-link)>a{display:block!important;background:transparent!important;border:0!important;border-radius:6px!important;text-align:left!important;text-decoration:none!important;font-weight:600!important;padding:9px 12px!important;color:#214d60!important}
:root body .lab-page .xf3-navigation-refined .sub-contact>li:is(.xf3-contact-page-link,.xf3-contact-chat-link,.xf3-contact-feedback-link)>a:hover{background:#e7f3f7!important}
:root body .lab-page .xf3-navigation-refined .sub-contact>li:is(.xf3-contact-page-link,.xf3-contact-chat-link,.xf3-contact-feedback-link)>a:focus-visible{outline:3px solid #064d68;outline-offset:2px}
:root.xform3-themed body .lab-page .lab-header .lab-preferences button.xf3-animation-toggle{
 box-sizing:border-box;min-height:34px!important;padding:5px 11px!important;gap:8px!important;
 background:rgba(241,249,251,.94)!important;border:1px solid #80a9ba!important;border-radius:6px!important;
 box-shadow:inset 0 1px 0 #fff,0 1px 3px #1c4b6020!important;color:#234e62!important;font-size:14px!important;font-weight:650!important
}
:root.xform3-themed body .lab-page .lab-header .lab-preferences button.xf3-animation-toggle:hover{background:#fff!important;border-color:#2c7e9c!important}
:root.xform3-themed body .lab-page .lab-header .lab-preferences button.xf3-animation-toggle:focus-visible{outline:3px solid #267d9b;outline-offset:2px}
@media(max-width:900px){
 :root.xform3-themed body .lab-page .lab-header .lab-preferences button.xf3-animation-toggle{min-height:44px!important}
}

/* Keep the destination row between preferences and account tabs. */
@media(min-width:901px){
 :root.xform3-themed body .lab-page[data-store-finish] .lab-header{row-gap:20px!important;padding-bottom:4px!important}
}
:root body .lab-page .lab-sticky-top{margin-bottom:36px!important}
:root body .lab-page>.lab-workspace{padding-top:0!important}

/* Marketplace branding belongs in the destination menu, not the top navigation. */
:root body .lab-page .xf3-navigation-refined .xf3-store-destination:has(.xf3-market-mark){grid-template-columns:92px minmax(0,1fr)!important;gap:12px!important}
:root body .lab-page .xf3-navigation-refined .xf3-store-destination .xf3-store-art:has(.xf3-market-mark){display:flex!important;width:92px;height:38px;justify-content:center}
:root body .lab-page .xf3-navigation-refined .xf3-store-destination .xf3-market-mark{display:block!important;width:88px!important;height:34px!important;object-fit:contain}
:root body .lab-page .lab-header .lab-preferences>label:has([data-lab-language]){width:calc(218px * var(--lab-scale,1))!important;min-width:170px!important;max-width:100%!important;flex:0 0 auto!important;direction:ltr}
:root body .lab-page .lab-header .lab-preferences [data-lab-language]{field-sizing:fixed!important;width:100%!important;direction:ltr}
:root body .lab-page[dir="rtl"] .lab-header .lab-preferences{direction:ltr!important}
@media(min-width:901px){
 :root body .lab-page[dir="rtl"] .lab-header{direction:ltr}
 :root body .lab-page .lab-header .lab-preferences>.lab-appearance{box-sizing:border-box!important;width:140px!important;flex:0 0 140px!important}
 :root body .lab-page .lab-header .lab-preferences>.lab-appearance>summary{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}
@media(max-width:720px){
 :root body .lab-page .xf3-navigation-refined .xf3-store-destination:has(.xf3-market-mark){grid-template-columns:80px minmax(0,1fr)!important}
 :root body .lab-page .xf3-navigation-refined .xf3-store-destination .xf3-store-art:has(.xf3-market-mark){width:80px}
 :root body .lab-page .xf3-navigation-refined .xf3-store-destination .xf3-market-mark{width:76px!important}
}
