/* Preview-only integration. The menu itself uses the approved production stylesheet. */
@media(orientation:portrait) and (min-width:600px) and (max-width:1400px){
 html:root body[data-qvr-page="watch-list-member"] .qvr-watch-portrait-heading{display:block!important;padding:10px 12px!important}
 html:root body[data-qvr-page="watch-list-member"] .qvr-watch-help{position:relative;min-width:0;font:15px/1.3 Arial,sans-serif}
 html:root body[data-qvr-page="watch-list-member"] .B_mobile_account>.qvr-watch-help{flex:1}
 html:root body[data-qvr-page="watch-list-member"] .qvr-watch-help>summary{height:44px;min-height:44px;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;padding:8px 14px;box-sizing:border-box;background:#2b3434;color:#f6f3e8;border:1px solid #d5c08a;border-radius:8px;list-style:none;font-weight:600}
 html:root body[data-qvr-page="watch-list-member"] .qvr-watch-help>summary::after{content:'▾'}
 html:root body[data-qvr-page="watch-list-member"] .qvr-watch-help[open]>summary::after{content:'▴'}
 html:root body[data-qvr-page="watch-list-member"] .qvr-watch-help>summary::-webkit-details-marker{display:none}
 html:root body[data-qvr-page="watch-list-member"] .qvr-watch-help-body{position:absolute;right:0;top:calc(100% + 8px);z-index:30;width:min(480px,calc(100vw - 32px));box-sizing:border-box;padding:16px;background:#fbfaf6;color:#203d36;border:1px solid #b5a375;border-radius:8px;box-shadow:0 6px 20px #183e3430}
 html:root body[data-qvr-page="watch-list-member"] .qvr-watch-help-body>.B_LHS_top_title{font:600 15px/1.4 Arial,sans-serif!important;min-height:0!important;color:#203d36!important;margin:0 0 6px!important;padding:0!important}
 html:root body[data-qvr-page="watch-list-member"] .qvr-watch-help-body>.W_LHS_para{font:14px/1.4 Arial,sans-serif!important;color:#203d36!important;margin:0 0 14px!important}
 html:root body[data-qvr-page="watch-list-member"] .qvr-watch-help-body>:last-child{margin-bottom:0!important}
 html:root body[data-qvr-page="watch-list-member"] .qvr-watch-footer{padding:14px 12px;border-top:1px solid #d6dacf;background:#f3f0e8;color:#607063;font:12px/1.4 Arial,sans-serif}
 html:root body[data-qvr-page="basket"] .qvr-basket-portrait-summary{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:10px 16px!important;padding:10px 12px!important}
 html:root body[data-qvr-page="basket"] .qvr-basket-totals{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;min-width:0}
 html:root body[data-qvr-page="basket"] .qvr-basket-total{min-width:0;display:grid;gap:4px;text-align:center}
 html:root body[data-qvr-page="basket"] .qvr-basket-total>.B_LHS_top_title{display:block!important;min-height:0!important;font-size:13px!important;line-height:1.3!important;text-align:center}
 html:root body[data-qvr-page="basket"] .qvr-basket-total>.B_LHS_info{min-height:38px!important;padding:7px 8px!important;display:flex!important;align-items:center;justify-content:center;font-weight:bold!important;text-align:center}
 html:root body[data-qvr-page="basket"] .qvr-basket-offers{position:relative;min-width:0;font:15px/1.3 Arial,sans-serif}
 html:root body[data-qvr-page="basket"] .B_mobile_account>.qvr-basket-offers{flex:1}
 html:root body[data-qvr-page="basket"] .B_mobile_account>.qvr-basket-offers>summary{height:44px;justify-content:center;font-weight:600}
 html:root body[data-qvr-page="basket"] .qvr-basket-offers>summary{min-height:44px;display:flex;align-items:center;gap:8px;cursor:pointer;padding:8px 14px;box-sizing:border-box;background:#2b3434;color:#f6f3e8;border:1px solid #d5c08a;border-radius:8px;list-style:none}
 html:root body[data-qvr-page="basket"] .qvr-basket-offers>summary::after{content:'▾'}
 html:root body[data-qvr-page="basket"] .qvr-basket-offers[open]>summary::after{content:'▴'}
 html:root body[data-qvr-page="basket"] .qvr-basket-offers>summary::-webkit-details-marker{display:none}
 html:root body[data-qvr-page="basket"] .qvr-basket-offer-body{position:absolute;right:0;top:calc(100% + 8px);z-index:30;width:min(480px,calc(100vw - 32px));box-sizing:border-box;padding:16px;background:#fbfaf6;color:#203d36;border:1px solid #b5a375;border-radius:8px;box-shadow:0 6px 20px #183e3430}
 html:root body[data-qvr-page="basket"] .qvr-basket-offer-body>.B_LHS_para{color:#203d36!important;margin:0 0 12px!important}
 html:root body[data-qvr-page="basket"] .qvr-basket-footer{padding:14px 12px;border-top:1px solid #d6dacf;background:#f3f0e8;color:#607063;font:12px/1.4 Arial,sans-serif}
 html:root body[data-qvr-page="basket"] .qbt-totals{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 12px}
}
html body .qvr-shortcuts{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:14px!important;margin-left:auto!important;flex:0 0 auto!important;min-width:0!important}
html body .qvr-shortcuts>a{position:static!important;display:flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;padding:0!important;margin:0!important;text-decoration:none!important;font:600 15px/1.3 Arial,sans-serif!important;white-space:nowrap!important;width:auto!important;background:none!important;border:0!important}
html body .qvr-shortcuts>[data-qvr-slot]{display:block!important;min-width:0!important}
html body [data-qvr-watch][hidden],html body a.qvr-hide-shortcut{display:none!important}
html body .qvr-shortcuts>a svg{display:none!important}
/* Keep Stock Explorer's original title plaque independent of navigation. */
html body[data-qvr-page="stock-explorer"] .album-index-sheet{position:relative}
html body .qvr-stock-heading{display:contents}
html body .qvr-stock-menu-block{box-sizing:border-box;position:absolute;left:var(--qvr-stock-menu-left,calc(75% + 154px));right:auto;top:var(--qvr-stock-menu-top,28px);width:182px;display:flex;align-items:center;justify-content:center;padding:12px;background:#24443e;border:1px solid #b6a171;border-radius:12px;box-shadow:0 5px 14px #183e3420}
html body .qvr-stock-menu-block>[data-qvr-slot]{display:block;min-width:0;width:100%}
html body .qvr-stock-menu-block #qvn-menu{width:100%;margin:0}
html body .qvr-stock-menu-block #qvn-menu>summary{width:100%;min-height:44px;box-sizing:border-box;white-space:nowrap;justify-content:center;padding:10px 8px}
@media(max-width:1419px){html body .qvr-stock-menu-block{position:relative;left:auto;right:auto;top:auto;margin:0 4% 12px auto}}
@media(min-width:701px) and (max-width:1419px){
 html body .qvr-stock-heading{display:grid;grid-template-columns:minmax(0,1fr) 182px;gap:16px;align-items:center;margin:0 0 18px}
 html body .qvr-stock-heading>.stock-explorer-hero{grid-column:1;grid-row:1;width:100%!important;max-width:none!important;margin:0!important}
 html body .qvr-stock-heading>.qvr-stock-menu-block{grid-column:2;grid-row:1;position:static;margin:0}
 html body .qvr-stock-heading .stock-explorer-hero h1{font-size:clamp(28px,3.2vw,38px)!important}
}
@media(min-width:701px) and (max-width:900px){
 html body .qvr-stock-heading>.stock-explorer-hero{padding:16px 18px!important}
 html body .qvr-stock-heading .stock-explorer-logo-link{width:84px;height:84px;left:16px}
 html body .qvr-stock-heading .stock-explorer-hero-copy{padding-left:100px;padding-right:0}
 html body .qvr-stock-heading .stock-explorer-hero-subtitle{font-size:15px!important}
}
html body .qvr-buying-hero{display:flex;align-items:center;flex-wrap:wrap;gap:20px}
html body .qvr-buying-hero .qv-page-banner__text{flex:1;min-width:280px}
html body .qvr-buying-hero .qvr-shortcuts>a{color:#f8f1dc!important}
html body .qvr-sidebar-slot{display:block;padding:14px 12px 18px;margin:0 0 16px;border-bottom:1px solid #ffffff40}
html body .qvr-mobile-slot{display:block;margin-left:auto}
html body .qvm-auth-actions>#qvn-menu{min-width:148px}
html body .qof-header nav{align-items:center}
html body #qvr-notice{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:2147483640;max-width:calc(100vw - 28px);padding:12px 18px;background:#24483e;color:#fffdf2;border:1px solid #d6c58c;border-radius:6px;box-shadow:0 5px 24px #0003;font:15px/1.4 Arial,sans-serif;text-align:center}
html body .qof-preview-banner{font-size:14px}
@media(max-width:1050px){html body .qvr-shortcuts{gap:12px!important}html body .header-caption{display:none}html body .qvr-buying-hero>.qvr-shortcuts{margin-left:auto!important}}
@media(max-width:650px){
 html body header:has(>.qvr-shortcuts),html body header .header-inner:has(>.qvr-shortcuts){flex-wrap:wrap!important;gap:12px!important}
 html body .qvr-shortcuts{width:100%!important;justify-content:flex-end!important;gap:10px!important;flex-wrap:wrap!important}
 html body .qvr-shortcuts>a{min-height:44px!important;font-size:15px!important}
 html body .qvr-shortcuts #qvn-menu>summary{min-height:44px!important;padding:8px!important}
 html body .qvr-buying-hero .qv-page-banner__text{min-width:0!important;flex-basis:65%}
 html body .account-nav.qvr-shortcuts{display:flex!important;flex:1 1 100%!important}
 html body .qof-header nav{flex-wrap:wrap;justify-content:flex-end;gap:12px}
 html body .qor-header:has(#qvn-menu){gap:12px}
}

html body section.cards>article[hidden]{display:none!important}

@media(min-width:651px){
 html body .qvr-shortcuts{width:auto!important;max-width:none!important;flex-wrap:nowrap!important}
 html body #qvs-desktop-home .masthead{grid-template-columns:minmax(280px,1fr) minmax(250px,1.2fr) auto!important;gap:22px!important}
}

html body .RV_header:has(#qvn-menu) .RV_homeButton{display:none!important}
@media(max-width:1300px),(orientation:portrait){
 html body .RV_pageBackground,html body .RV_wrapper{min-width:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
 html body .RV_header{min-width:0!important;gap:14px!important;flex-wrap:wrap!important}
 html body .qvr-reviews-slot{margin-left:auto}
}

html body #qvn-menu.qvn-sidebar>summary{font-size:15px!important}

/* The shared menu replaces the old compact Home authentication buttons. */
html:root.qvm-home body[data-qvr-page="home"] .qvm-home-header .qvm-auth-actions>a{display:none!important}
html:root.qvm-home body[data-qvr-page="home"] .qvm-home-header .qvi-phone-account-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;align-items:stretch!important}
html:root.qvm-home body[data-qvr-page="home"] .qvm-home-header .qvi-phone-account-row>.HP_header_basket,
html:root.qvm-home body[data-qvr-page="home"] .qvm-home-header .qvi-phone-account-row>.qvm-auth-actions{width:100%!important;min-width:0!important;margin:0!important;box-sizing:border-box!important;flex:none!important}
html:root.qvm-home body[data-qvr-page="home"] .qvm-home-header .qvi-phone-account-row>.qvm-auth-actions{display:block!important}
html:root.qvm-home body[data-qvr-page="home"] .qvm-home-header .qvi-phone-account-row #qvn-menu{width:100%!important;min-width:0!important;height:44px!important}
html:root.qvm-home body[data-qvr-page="home"] .qvm-home-header .qvi-phone-account-row #qvn-menu>summary{height:44px!important;min-height:44px!important;padding:8px 5px!important}

/* Keep the two phone controls on one row, including inherited grid placement. */
html:root.qvm-home body[data-qvr-page="home"] .qvm-home-header .qvi-phone-account-row>.HP_header_basket{grid-column:1!important;grid-row:1!important;order:0!important}
html:root.qvm-home body[data-qvr-page="home"] .qvm-home-header .qvi-phone-account-row>.qvm-auth-actions{grid-column:2!important;grid-row:1!important;order:1!important}
/* Tablet headers retain the existing basket beside the shared menu. */
html:root.qvi-tablet.qvm-home body[data-qvr-page="home"] .qvi-tablet-header .qvm-brand-row{display:flex!important;align-items:center!important;gap:10px!important}
html:root.qvi-tablet.qvm-home body[data-qvr-page="home"] .qvi-tablet-header .qvm-brand{order:0!important;flex:1 1 0!important;min-width:0!important}
html:root.qvi-tablet.qvm-home body[data-qvr-page="home"] .qvi-tablet-header .qvm-brand-row>.HP_header_basket{order:1!important;flex:0 0 auto!important;height:44px!important;min-height:44px!important}
html:root.qvi-tablet.qvm-home body[data-qvr-page="home"] .qvi-tablet-header .qvm-auth-actions{order:2!important;display:block!important;flex:0 0 auto!important;min-width:148px!important;height:44px!important}
html:root.qvi-tablet.qvm-home body[data-qvr-page="home"] .qvi-tablet-header #qvn-menu{display:block!important;width:100%!important;height:44px!important;margin:0!important}
html:root.qvi-tablet.qvm-home body[data-qvr-page="home"] .qvi-tablet-header #qvn-menu>summary{height:44px!important;min-height:44px!important;font-size:15px!important}

@media(max-width:1300px),(orientation:portrait){
 html body .RV_page{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;margin:0!important}
}

.qvs-site-legacy-nav,.qvs-site-old-home{display:none!important}
