/* Only the two public center landing pages, at phone/tablet widths.
   Keep every existing label, link, count and control; only spacing and layout change. */
@media (max-width:800px) {
 body[data-compact-center] .utility-inner{padding-inline:10px;padding-block:3px;gap:2px 10px}
 body[data-compact-center] .utility-centers{gap:3px}
 body[data-compact-center] .utility-center{font-size:10px;padding-block:8px;line-height:1.4}
 body[data-compact-center] .utility-right{gap:10px;padding-block:2px 5px;margin:0 0 0 auto}
 body[data-compact-center] .utility-right a{font-size:10px;line-height:1.4}
 body[data-compact-center] .utility-enterprise-entry{padding:5px 10px!important;min-height:26px;border-radius:6px!important}
 body[data-compact-center] .science-shell{padding-inline:0;gap:0}
 body[data-compact-center] .science-sidebar{margin:0 0 8px;padding:10px 0 6px;box-shadow:none}
 body[data-compact-center] .science-brand-block{display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px;align-items:center;padding:0 12px 8px}
 body[data-compact-center] .science-brand{width:96px;margin:0}
 body[data-compact-center] .science-brand img{width:96px!important;height:auto}
 body[data-compact-center] .science-brand-block p{font-size:14px!important;line-height:1.4;text-align:right}
 body[data-compact-center] .science-brand-block small{font-size:8px;letter-spacing:1px;line-height:1.5;margin-top:2px}
 body[data-compact-center] .center-side-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 12px 4px}
 body[data-compact-center] .center-side-item{padding:7px 10px;min-height:32px;gap:8px;border-radius:7px;font-size:12px;line-height:1.5}
 body[data-compact-center] .science-side-nav{gap:6px;padding:0 12px 4px;scrollbar-width:thin}
 body[data-compact-center] .science-side-link{min-width:96px;min-height:44px;padding:6px 9px;grid-template-columns:18px minmax(0,1fr);gap:0 7px;border-radius:7px}
 body[data-compact-center] .science-side-link svg{width:18px;height:18px}
 body[data-compact-center] .science-side-link strong{font-size:12px;line-height:1.5}
 body[data-compact-center] .science-side-link small{font-size:9px;line-height:1.5}
 body[data-compact-center] .science-stage{padding:8px 12px 0!important}
 body[data-compact-center] .brand-center-hero,
 body[data-compact-center] .science-hub>.science-hero{margin:0 -12px 14px;padding:14px 12px;border-radius:0;box-shadow:none!important;gap:8px}
 body[data-compact-center] .brand-center-hero .eyebrow,
 body[data-compact-center] .science-eyebrow{font-size:9px;line-height:1.5;letter-spacing:1.2px;margin:0 0 5px}
 body[data-compact-center] .brand-center-hero h1,
 body[data-compact-center] .science-hero h1{font-size:22px;line-height:1.4;margin:0 0 7px}
 body[data-compact-center] .brand-center-hero>p:not(.eyebrow),
 body[data-compact-center] .science-intro{font-size:12px;line-height:1.65;margin:0 0 9px}
 body[data-compact-center] .science-hero h1 span{font-size:13px;line-height:1.6;margin-top:6px}
 body[data-compact-center] .brand-center-nav{gap:7px;margin-top:10px}
 body[data-compact-center] .brand-center-nav>a{font-size:12px;line-height:1.5;padding:7px 6px;border-radius:7px;box-shadow:none}
 body[data-compact-center] .science-hub .breadcrumb{margin:0 0 8px;font-size:10px;line-height:1.5}
 body[data-compact-center] .science-process{margin-top:8px;font-size:9px;line-height:1.6;gap:6px;flex-wrap:wrap}
 body[data-compact-center="selection"] .selection-center>.stream-module{padding:12px 0;margin-block:0 18px}
 body[data-compact-center="selection"] .stream-module-toolbar{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin-bottom:8px}
 body[data-compact-center="selection"] .stream-heading{font-size:21px;line-height:1.4;margin:0 0 6px}
 body[data-compact-center="selection"] .stream-description{font-size:11px;line-height:1.65;margin:0}
 body[data-compact-center="selection"] .enterprise-toolbar-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;width:100%;margin-top:4px}
 body[data-compact-center="selection"] .enterprise-search{min-width:0;gap:6px;padding:4px 5px 4px 9px;min-height:36px;border-radius:7px}
 body[data-compact-center="selection"] .enterprise-search input{min-width:0;width:100%;font-size:12px;padding:4px 0;height:28px}
 body[data-compact-center="selection"] .enterprise-search button{height:28px;min-height:28px;padding:4px 10px;font-size:11px;line-height:1.4}
 body[data-compact-center="selection"] .enterprise-view-all{padding:8px 10px;min-height:36px;font-size:11px;line-height:1.5;white-space:nowrap;display:flex;align-items:center;gap:4px;border-radius:7px}
 body[data-compact-center="selection"] .enterprise-module-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;margin:6px 0 10px}
 body[data-compact-center="selection"] .enterprise-module-controls>[data-company-result]{grid-column:1;grid-row:1;font-size:10px;line-height:1.5;margin:0;text-align:left}
 body[data-compact-center="selection"] .enterprise-module-controls>.directory-view-switch{grid-column:2;grid-row:1;margin:0}
 body[data-compact-center="selection"] .brand-center .enterprise-filters{grid-column:1/-1;grid-row:2;display:flex;flex-wrap:wrap;width:100%;gap:6px;margin:0!important;padding:7px!important;border-radius:8px!important;background:#fff!important;box-shadow:none!important}
 body[data-compact-center="selection"] .brand-center .enterprise-filters button{width:auto;min-width:54px;min-height:30px;padding:5px 12px;font-size:11px;line-height:1.5;flex:1 0 auto;white-space:nowrap}
 body[data-compact-center] .directory-view-switch{gap:5px}
 body[data-compact-center] .directory-view-switch>span{font-size:10px;line-height:1.5}
 body[data-compact-center] .directory-view-switch button{padding:5px 8px;min-height:30px;font-size:11px;line-height:1.5;gap:4px;border-radius:6px}
 body[data-compact-center] .directory-view-switch button svg{width:13px;height:13px}
 body[data-compact-center="science"] .science-result-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;margin-bottom:8px}
 body[data-compact-center="science"] .science-result-top h2{font-size:19px;line-height:1.4;margin:0 0 4px}
 body[data-compact-center="science"] .science-result-note{font-size:10px;line-height:1.5;margin:0}
 body[data-compact-center="science"] .science-sharing{max-width:148px;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:5px;margin:0;text-align:left}
 body[data-compact-center="science"] .science-sharing button{font-size:10px;line-height:1.4;padding:6px 8px;border-radius:6px;min-height:28px;margin:0}
 body[data-compact-center="science"] .science-sharing>span{flex-basis:auto;font-size:9px;line-height:1.5;margin:0}
 body[data-compact-center="science"] .science-sharing>span:empty{min-height:0}
 body[data-compact-center="science"] .science-hub .science-tools{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:7px;padding:6px 0;margin:0 0 6px}
 body[data-compact-center="science"] .science-query{grid-column:1/-1;padding:0 9px;gap:7px;border-radius:7px;min-height:36px}
 body[data-compact-center="science"] .science-query svg{width:16px;height:16px}
 body[data-compact-center="science"] .science-query input{height:35px;font-size:12px}
 body[data-compact-center="science"] .science-city{min-width:0;gap:7px;font-size:10px;line-height:1.5}
 body[data-compact-center="science"] .science-city>span{flex-shrink:0}
 body[data-compact-center="science"] .science-city select{width:100%;min-width:0;height:33px;font-size:11px;border-radius:6px}
 body[data-compact-center="science"] .science-search{height:33px;padding:0 11px;font-size:11px;border-radius:6px}
 body[data-compact-center="science"] .science-clear{font-size:10px;padding:5px 3px}
 body[data-compact-center="science"] .science-viewbar{margin:5px 0 10px;gap:7px}
 body[data-compact-center="science"] .science-overview{gap:20px}
 body[data-compact-center="science"] .science-group{padding-top:14px}
 body[data-compact-center="science"] .science-group-heading{gap:8px;margin:0 0 10px}
 body[data-compact-center="science"] .science-group-heading h3{font-size:18px;line-height:1.5}
 body[data-compact-center="science"] .science-group-heading p{font-size:10px;line-height:1.5;margin-top:3px}
 body[data-compact-center="science"] .science-group-heading>a{font-size:10px;line-height:1.5;padding:6px 8px;border-radius:6px}
}

/* Later explicit red-frame removals from the user supersede the initial keep-all instruction here. */
@media (max-width:800px) {
 body[data-compact-center="selection"] .science-sidebar,
 body[data-compact-center="research"] .science-sidebar,
 body[data-compact-center="science"] .science-brand-block,
 body[data-compact-center="science"] .science-hub>.breadcrumb,
 body[data-compact-center="science"] .science-result-top,
 body[data-compact-center] .floating-tools-bottom-jump{display:none}
 body[data-compact-center="selection"] .science-stage,
 body[data-compact-center="research"] .science-stage{padding-top:0!important}
 body[data-compact-center="research"] .brand-center>.stream-module{padding:14px 0;margin:0 0 18px}
}

/* 2026-11-18: mobile science search/actions, then region/view controls. */
@media (max-width:800px) {
 body[data-compact-center="science"] .science-directory{display:grid;grid-template-columns:minmax(0,1fr) max-content max-content;column-gap:6px;row-gap:8px;align-items:center}
 body[data-compact-center="science"] .science-directory>*{grid-column:1/-1;min-width:0}
 body[data-compact-center="science"] .science-directory>.science-tools{display:contents}
 body[data-compact-center="science"] .science-directory .science-query{grid-column:1;grid-row:1;min-width:0;min-height:36px;margin:0;padding-inline:8px}
 body[data-compact-center="science"] .science-directory .science-query input{width:100%;min-width:0;height:35px;font-size:12px}
 body[data-compact-center="science"] .science-directory .science-search{grid-column:2;grid-row:1;height:36px;padding-inline:9px;white-space:nowrap}
 body[data-compact-center="science"] .science-directory .science-clear{grid-column:3;grid-row:1;min-width:24px;height:36px;padding:0 2px;white-space:nowrap}
 body[data-compact-center="science"] .science-directory .science-city{grid-column:1;grid-row:2;display:block;min-width:0;margin:0}
 body[data-compact-center="science"] .science-directory .science-city>span{display:none}
 body[data-compact-center="science"] .science-directory .science-city select{width:100%;height:34px;min-width:0}
 body[data-compact-center="science"] .science-directory>.science-viewbar{grid-column:2/-1;grid-row:2;display:flex;justify-content:flex-end;align-items:center;min-width:0;margin:0;padding:0}
 body[data-compact-center="science"] .science-directory>.science-viewbar>p,
 body[data-compact-center="science"] .science-directory .directory-view-switch>span{display:none}
 body[data-compact-center="science"] .science-directory .directory-view-switch{display:flex;flex-wrap:nowrap;gap:4px;margin:0!important;white-space:nowrap}
 body[data-compact-center="science"] .science-directory .directory-view-switch button{min-height:34px;padding:5px 7px;font-size:11px;white-space:nowrap}
}
