/* Match the site navigation breakpoint; desktop content remains unchanged. */
.reading-ruler{left:3px;right:auto}
.ruler-caption{left:16px;right:auto}
.page-flight #footer{visibility:hidden!important}
#footer.footer-observed{opacity:0;transition:opacity .25s ease}
#footer.footer-observed.footer-visible,#footer.footer-observed:focus-within{opacity:1}
@media(max-width:1190px){
 .reading-ruler{left:0;right:auto;width:4px;top:95px;bottom:25px}
 .ruler-ticks,.ruler-label{display:none}
 .ruler-caption{left:9px;right:auto;padding:2px;gap:0;border-radius:9px;max-width:52px}
 .ruler-cursor b{min-width:28px;padding:3px 4px;font-size:9px}
 #main>.container{padding-top:16px}
 #main .page-head{padding-block:12px;margin-bottom:18px}
 #main .page-head h1{font-size:clamp(24px,3vw,32px);line-height:1.35;margin-block:4px}
 #main .page-head .breadcrumb,#main .page-head .breadcrumbs{display:none}
 .member-workspace>.page-head{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);padding:0!important;margin:0!important;border:0}
 .member-workspace>.account-tabs{margin-top:0!important;margin-bottom:16px!important}
 .member-workspace .member-section-title{margin-block:10px 14px;gap:10px}
 .member-workspace .member-section-title .eyebrow,.member-workspace .notification-center-head .eyebrow{display:none}
 .member-workspace .member-section-title h2{font-size:18px;margin:0}
 .member-workspace .notification-center-head h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .member-workspace .notification-center-head{margin-block:0 12px;gap:8px;align-items:center}
 .member-workspace .notification-center-head p{margin:0;font-size:12px}
 .member-workspace .notification-center-head:has(#read-all:disabled){display:none}
 .member-workspace .notification-center-head #read-all{flex-shrink:0;min-height:40px}
 #main :is(.grid,.row,.panel,.card,form,section,article)>*{min-width:0}
 #main :is(input,select,textarea){max-width:100%;box-sizing:border-box}
 #main :is(h1,h2,h3,p,.badge){overflow-wrap:anywhere}
 #main .row{flex-wrap:wrap}
 #main :is(video,iframe,canvas){max-width:100%}
 #main pre{max-width:100%;overflow:auto}
 #main .table-wrap{max-width:100%;overflow:auto}
 .admin-design .admin-page-header{margin-bottom:16px;padding-bottom:14px}
 .admin-design .admin-page-header .eyebrow{display:none}
 #footer{margin-top:28px}
 #footer>.container{padding-block:24px}
 #footer .footer-welcome,#footer .footer-grid>div:first-child,#footer .footer-assurance{display:none}
 #footer .footer-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:20px}
 #footer .footer-grid nav:last-child{grid-column:auto;display:block}
 #footer .footer-grid h3{margin-bottom:8px}
 #footer .footer-grid nav a{padding-block:9px}
}
@media(max-width:480px){#footer .footer-grid{grid-template-columns:1fr 1fr}#footer .footer-grid nav:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:0 16px}#footer .footer-grid nav:last-child h3{grid-column:1/-1}}
@media(prefers-reduced-motion:reduce){#footer.footer-observed{transition:none}}

@media(max-width:1190px){
 #main{min-height:calc(100svh - 80px)}
 .admin-design #main .text-link{white-space:normal;overflow-wrap:anywhere}
 .admin-design .catalog-list-heading{grid-template-columns:minmax(0,1fr) auto;gap:12px}
 .admin-design .catalog-list-product{grid-column:1/-1}
 .admin-design .catalog-card-actions{grid-column:1/-1;justify-content:flex-start}
 .catalog-layout:has(>span[hidden]),.works-sidebar-layout:has(>span[hidden]),.works-exhibition:has(>span[hidden]){grid-template-columns:minmax(0,1fr)!important}
 .catalog-layout:has(>span[hidden])>.catalog-results{grid-column:1!important}
 .works-hero .eyebrow,.catalog-controls .eyebrow{display:none}
 .works-hero{padding-block:16px!important;gap:14px!important}
 .works-hero h1{font-size:clamp(24px,3vw,32px)!important;line-height:1.35}
}

/* Compact account pages: active navigation already identifies the current list. */
@media(max-width:1190px){
 .member-favorites>.member-section-title,
 .member-orders>.member-section-title,
 .member-connections>.notification-categories+h2,
 .member-favorites>.notification-categories+h2,
 .member-favorites .favorite-card>a>.badge{display:none!important}
 .member-addresses>.member-section-title>div{display:none}
 .member-addresses>.member-section-title{justify-content:flex-end;margin-block:0 10px}
 .member-account .eyebrow{display:none}
}

@media(max-width:1190px){
 .member-account section:has(#profile-form)>h2,
 .member-account section:has(#profile-form)>.section-description{display:none}
}
/* Fade the entire position indicator together after scrolling stops. */
.reading-ruler{opacity:1;transition:opacity .3s ease}
.reading-ruler.reading-idle{opacity:0}
.reading-ruler .ruler-caption{opacity:1;transition:none}
@media(prefers-reduced-motion:reduce){.reading-ruler{transition:none}}
