/* SOFANG shared compact layout. Keep readable text and 44px touch controls. */
body.sfm-compact{--sfm-ink:#192a32;--sfm-muted:#647078;--sfm-line:#e0e5e7;--sfm-soft:#f5f7f8;background:#fff}
body.sfm-compact .sfm-container,body.sfm-compact .sf-container,body.sfm-compact .sfm-owner-page{width:min(1480px,calc(100% - 40px));max-width:1480px;margin-inline:auto}
body.sfm-compact .sfm-topbar{display:none}
body.sfm-compact .sfm-header-row{min-height:72px;gap:20px}
body.sfm-compact .sfm-brand-symbol{width:40px;height:40px;border-radius:9px}
body.sfm-compact .sfm-brand-symbol svg{width:28px;height:28px}
body.sfm-compact .sfm-brand strong{font-size:24px}
body.sfm-compact .sfm-brand small{font-size:10px;letter-spacing:1.4px;margin-top:5px}
body.sfm-compact .sfm-header-promise{padding-left:18px;font-size:13px}
body.sfm-compact .sfm-header-actions{gap:18px}
body.sfm-compact .sfm-main{padding-bottom:24px}
body.sfm-compact .sfm-breadcrumb,body.sfm-compact .sf-breadcrumb{padding:10px 0;margin:0;font-size:12px;line-height:1.5}
body.sfm-compact .sfm-page-heading,body.sfm-compact .sf-page-heading,body.sfm-compact .sfmd-heading{padding:0;margin:6px 0 14px;gap:16px}
body.sfm-compact .sfm-page-heading h1,body.sfm-compact .sf-page-heading h1,body.sfm-compact .sfmd-heading h1{font-size:28px!important;line-height:1.4;margin:0 0 5px!important}
body.sfm-compact .sfm-page-heading p,body.sfm-compact .sf-page-heading p,body.sfm-compact .sfmd-heading p{font-size:14px;line-height:1.6;margin:0}
body.sfm-compact .sfm-eyebrow{font-size:11px;letter-spacing:.5px;margin:0 0 5px}
body.sfm-compact .sfm-section,body.sfm-compact .sf-section{padding:0;margin:24px 0}
body.sfm-compact .sfm-section-head,body.sfm-compact .sf-section-head{margin:0 0 12px;gap:14px;align-items:center}
body.sfm-compact .sfm-section-head h2,body.sfm-compact .sf-section-head h2{font-size:22px;margin-bottom:4px}
body.sfm-compact .sfm-section-head p,body.sfm-compact .sf-section-head p{font-size:13px;line-height:1.5;margin:0}
body.sfm-compact .sfm-home-hero{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:32px;padding:20px 0 16px;align-items:center}
body.sfm-compact .sfm-home-hero h1{font-size:30px;line-height:1.4;margin:0 0 10px}
body.sfm-compact .sfm-home-hero h1 span{font-size:26px}
body.sfm-compact .sfm-home-hero-copy>p:not(.sfm-eyebrow){font-size:14px;line-height:1.6;margin:0 0 10px}
body.sfm-compact .sfm-home-hero-visual,body.sfm-compact .sfm-home-hero-visual>a{height:204px;min-height:204px}
body.sfm-compact .sfm-hero-caption{padding:16px;background:linear-gradient(transparent,rgba(16,28,33,.9))}
body.sfm-compact .sfm-hero-caption strong{font-size:18px;line-height:1.45}
body.sfm-compact .sfm-hero-description{display:none!important}
body.sfm-compact .sfm-hero-caption>span{font-size:12px;margin-top:6px}
body.sfm-compact .sfm-hero-links{gap:16px;font-size:13px;line-height:1.5;margin-top:10px}
body.sfm-compact .sfm-home-search{padding:0;border:0;border-radius:0;box-shadow:none;margin:0}
body.sfm-compact .sfm-search,body.sfm-compact .sfu-search{padding:14px!important;margin:0 0 14px!important;border:1px solid var(--sfm-line)!important;border-top:2px solid var(--sfm-yellow)!important;border-radius:8px!important;box-shadow:none!important;background:#f8f9fa!important}
body.sfm-compact .sfm-search-main,body.sfm-compact .sfu-search-main{display:grid!important;grid-template-columns:190px minmax(220px,1fr) 180px auto!important;gap:10px!important;align-items:end!important}
body.sfm-compact .sfc-category{order:0}
body.sfm-compact .sfm-search-keyword,body.sfm-compact .sfu-keyword{order:1;min-width:0;grid-column:auto!important}
body.sfm-compact .sfm-search-main>label:not(.sfc-category):not(.sfm-search-keyword),body.sfm-compact .sfu-search-main>label:not(.sfc-category):not(.sfu-keyword){order:2}
body.sfm-compact .sfu-actions,body.sfm-compact .sfm-search-submit{order:3;gap:10px;min-width:0;display:flex;align-items:center;margin:0;align-self:end}
body.sfm-compact .sfu-field,body.sfm-compact .sfm-search .sfm-field{min-width:0;margin:0!important;display:flex;flex-direction:column;gap:5px}
body.sfm-compact .sfu-field>span,body.sfm-compact .sfm-search .sfm-field>span{font-size:12px!important;font-weight:650!important;line-height:1.5;color:#46535b}
body.sfm-compact .sfu-search input,body.sfm-compact .sfu-search select,body.sfm-compact .sfm-search input,body.sfm-compact .sfm-search select{width:100%;min-width:0;height:44px!important;min-height:44px!important;border:1px solid #ced7dc!important;border-radius:5px!important;background:#fff!important;color:var(--sfm-ink);padding:9px 10px!important;font:400 14px/1.4 var(--sfm-font)!important;box-shadow:none!important}
body.sfm-compact .sfu-search input[type=hidden],body.sfm-compact .sfm-search input[type=hidden]{display:none!important}
body.sfm-compact .sfu-search select{padding-right:28px!important;appearance:auto!important}
body.sfm-compact .sfu-search select:disabled{background:#eef1f3!important;color:#77828a}
body.sfm-compact .sfu-submit,body.sfm-compact .sfm-search-submit{min-height:44px!important;height:44px!important;padding:9px 18px!important;border-radius:5px!important;font-size:14px!important;white-space:nowrap}
body.sfm-compact .sfu-reset{font-size:12px;min-height:44px;display:inline-flex;align-items:center;white-space:nowrap}
body.sfm-compact .sfm-filter-details{padding:10px 0 0;margin-top:10px;border-top:1px solid var(--sfm-line)}
body.sfm-compact .sfm-filter-details summary{font-size:13px;margin:0;min-height:26px;line-height:26px}
body.sfm-compact .sfm-filter-grid{gap:10px;grid-template-columns:repeat(4,minmax(0,1fr));padding:10px 0 0;margin:0}
body.sfm-compact .sfm-filter-actions{margin:10px 0 0;padding:0}
body.sfm-compact .sfc-school-row{display:flex;align-items:end;gap:12px;margin-top:0;grid-column:1/-1}
body.sfm-compact .sfc-school-row>label{max-width:290px;flex:1}
body.sfm-compact .sfc-search-note{font-size:12px;color:var(--sfm-muted);margin:7px 0 0;line-height:1.5}
body.sfm-compact .sfc-school-row>.sfc-search-note{padding-bottom:9px}
body.sfm-compact .sfc-search-consult{font-size:13px;margin-top:8px}
/* Project directories share the primary category / keyword / state row. */
body.sfm-compact.sf-portal .sf-project-filters .sfu-search-main,body.sfm-compact .sfm-official-commercial .sfu-search-main{grid-template-columns:190px minmax(220px,1fr) 180px auto!important}
body.sfm-compact .sfc-prep-guide,body.sfm-compact .sfc-project-topics{margin:8px 0 12px;border:1px solid var(--sfm-line);border-radius:6px;padding:0 12px;font-size:13px;background:#fff}
body.sfm-compact .sfc-prep-guide>summary,body.sfm-compact .sfc-project-topics>summary{cursor:pointer;min-height:40px;line-height:1.5;padding:10px 0;color:#46535b;font-weight:600}
body.sfm-compact .sfc-prep-guide .sf-grid-three{gap:12px;margin:0 0 12px}
body.sfm-compact .sfc-prep-guide .sf-guide-card{padding:12px;min-height:0}
body.sfm-compact .sfc-prep-guide .sf-guide-card h2{font-size:17px;margin:0 0 6px}
body.sfm-compact .sfc-prep-guide .sf-guide-card p{font-size:13px;line-height:1.6;margin:0}
body.sfm-compact .sfm-filter-grid{display:grid}
body.sfm-compact .sfm-filter-details summary>span{font-weight:400;font-size:12px;color:var(--sfm-muted);margin-left:12px}
body.sfm-compact.sf-portal .sf-project-filters .sfu-actions,body.sfm-compact .sfm-official-commercial .sfu-actions{justify-self:end;grid-column:-2/-1}
body.sfm-compact .sfm-search-service .sfm-search-main{grid-template-columns:190px minmax(220px,1fr) 160px 170px auto!important}
body.sfm-compact .sfm-quick-grid.sfc-category-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;padding:0;margin:0 0 20px;border:0}
body.sfm-compact .sfm-quick-grid.sfc-category-grid>a:nth-child(n){display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:10px;min-height:70px;padding:11px 12px;text-align:left;border:1px solid var(--sfm-line);border-radius:7px;background:#fff}
body.sfm-compact .sfc-category-grid>a:hover{background:#fffbed!important;border-color:#ddc254!important}
body.sfm-compact .sfc-category-grid strong{font-size:15px;line-height:1.5;font-weight:750;word-break:keep-all;overflow-wrap:normal}
body.sfm-compact .sfc-category-grid small{font-size:11px;line-height:1.5;margin-top:2px;color:var(--sfm-muted)}
body.sfm-compact .sfc-category-grid .sfm-icon{width:22px;height:22px;color:#596b51;flex-shrink:0}
body.sfm-compact .sfc-mobile-label{display:none!important}
body.sfm-compact .sfm-grid,body.sfm-compact.sf-portal .sf-project-grid,body.sfm-compact .sfmd-grid,body.sfm-compact .sfsh-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
body.sfm-compact .sfm-listing-card,body.sfm-compact .sfm-project-card,body.sfm-compact.sf-portal .sf-project-card,body.sfm-compact .sfmd-card,body.sfm-compact .sfsh-card{min-width:0;margin:0;border:1px solid var(--sfm-line);border-radius:8px;box-shadow:none;background:#fff;overflow:hidden}
body.sfm-compact .sfm-card-cover,body.sfm-compact.sf-portal .sf-project-cover,body.sfm-compact .sfmd-card-cover,body.sfm-compact .sfsh-media{display:block;position:relative;aspect-ratio:1.8;height:auto;min-height:0;max-height:200px;margin:0;overflow:hidden;border-radius:0;background:#eef2f3}
body.sfm-compact .sfm-card-cover>img,body.sfm-compact .sfm-card-cover>svg,body.sfm-compact.sf-portal .sf-project-cover>img,body.sfm-compact.sf-portal .sf-project-cover>svg,body.sfm-compact .sfmd-card-cover>img,body.sfm-compact .sfsh-media>img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
body.sfm-compact .sfm-card-content,body.sfm-compact.sf-portal .sf-project-card-copy,body.sfm-compact .sfsh-card-body,body.sfm-compact .sfc-card-body{padding:12px}
body.sfm-compact .sfm-card-content h3,body.sfm-compact.sf-portal .sf-project-card h3,body.sfm-compact .sfc-card-body h2,body.sfm-compact .sfsh-card h3{font-size:16px;line-height:1.5;margin:3px 0 7px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:0}
body.sfm-compact .sfm-card-location,body.sfm-compact.sf-portal .sf-project-location,body.sfm-compact .sfc-card-location{font-size:12px;color:var(--sfm-muted);margin:0 0 4px;line-height:1.5}
body.sfm-compact .sfm-card-price{font-size:18px;line-height:1.4;margin:6px 0}
body.sfm-compact .sfm-card-specs,body.sfm-compact .sfm-card-summary,body.sfm-compact .sfm-project-price{font-size:12px;line-height:1.6;margin:0 0 6px}
body.sfm-compact .sfm-card-foot{font-size:11px;padding-top:8px;margin-top:8px;gap:8px;line-height:1.5}
body.sfm-compact .sfm-card-foot small{font-size:11px}
body.sfm-compact .sfm-cover-badge{font-size:10px;padding:3px 7px;left:10px;top:10px}
body.sfm-compact .sfc-card-summary,body.sfm-compact.sf-portal .sf-project-excerpt{font-size:12px;line-height:1.6;margin:6px 0 9px;color:var(--sfm-muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.sfm-compact.sf-portal .sf-project-tags{margin-bottom:6px;gap:5px;font-size:10px}
body.sfm-compact.sf-portal .sf-project-card-end,body.sfm-compact .sfc-detail-link{font-size:12px;font-weight:700;display:flex;min-height:32px;align-items:center;padding-top:4px;margin-top:auto}
body.sfm-compact .sfmd-card .sfmd-tags,body.sfm-compact .sfmd-card .sfmd-category-tags{gap:4px;margin:5px 0}
body.sfm-compact .sfmd-card{padding:0!important}
body.sfm-compact .sfmd-results p{margin:0!important;line-height:1.5}
body.sfm-compact .sfmd-results strong{font-size:18px}
body.sfm-compact .sfmd-directory-note{margin:8px 0 12px!important;max-width:none}
body.sfm-compact .sfmd-card .sfmd-tags span,body.sfm-compact .sfmd-card .sfmd-category-tags a{font-size:10px;padding:3px 6px}
body.sfm-compact .sfmd-categories,body.sfm-compact .sfm-tabs,body.sfm-compact.sf-portal .sf-project-quick{gap:6px;margin:10px 0;display:flex;flex-wrap:wrap}
body.sfm-compact .sfmd-categories a,body.sfm-compact .sfm-tabs a,body.sfm-compact.sf-portal .sf-project-quick a{padding:6px 10px;font-size:12px;min-height:34px}
body.sfm-compact .sfm-results-head,body.sfm-compact .sfmd-results,body.sfm-compact.sf-portal .sf-project-results{padding:0;margin:12px 0;font-size:12px}
body.sfm-compact .sfmd-directory-note{padding:9px 12px;margin:8px 0 12px;font-size:12px;line-height:1.6}
body.sfm-compact .sfmd-preview-note{font-size:12px;margin:0 0 10px}
body.sfm-compact .sfsh{margin:16px 0 20px;padding:0;border:0;background:transparent}
body.sfm-compact .sfsh-heading{margin:0 0 6px}
body.sfm-compact .sfsh-heading h2{font-size:20px;line-height:1.5;margin:0}
body.sfm-compact .sfsh-eyebrow{font-size:11px;margin:0 0 2px}
body.sfm-compact .sfsh-intro{font-size:12px;line-height:1.6;margin:0 0 8px;max-width:none}
body.sfm-compact .sfsh-results{font-size:12px;margin:8px 0}
body.sfm-compact .sfsh-card-meta{font-size:11px;line-height:1.5;gap:5px;margin:0 0 6px;flex-wrap:wrap}
body.sfm-compact .sfsh-type{font-size:10px;padding:2px 5px}
body.sfm-compact .sfsh-member-heading{padding:0;margin:20px 0 10px}
body.sfm-compact .sfsh-member-heading h2{font-size:20px;margin:0 0 4px}
body.sfm-compact .sfsh-member-heading p{font-size:12px;margin:0}
body.sfm-compact .sfc-resource-placeholder{display:grid;place-items:center;height:100%;padding:18px;font-size:18px;font-weight:700;color:#516269}
body.sfm-compact .sfm-news-grid,body.sfm-compact .sfc-news-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
body.sfm-compact .sfm-news-card{display:flex;flex-direction:column;grid-column:auto;grid-row:auto;border:1px solid var(--sfm-line);border-radius:8px;overflow:hidden;padding:0;min-width:0}
body.sfm-compact .sfm-news-card>div{padding:12px}
body.sfm-compact .sfm-news-card h3{font-size:16px;line-height:1.5;margin:5px 0}
body.sfm-compact .sfm-news-card p{font-size:12px;line-height:1.65;margin:5px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.sfm-compact .sfm-news-image{display:block;height:150px;aspect-ratio:auto}
body.sfm-compact .sfm-news-image img{width:100%;height:100%;object-fit:cover}
body.sfm-compact .sfm-service-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.sfm-compact .sfm-service-tile{padding:12px;min-height:68px;gap:8px}
body.sfm-compact .sfm-platform-cta,body.sfm-compact .sfm-publisher-band{padding:20px;margin:20px 0;gap:20px}
body.sfm-compact .sfm-platform-cta h2,body.sfm-compact .sfm-publisher-band h3{font-size:22px;margin:0 0 6px}
body.sfm-compact .sfm-platform-cta p,body.sfm-compact .sfm-publisher-band p{font-size:13px;line-height:1.6;margin:0}
body.sfm-compact .sfc-lead-band{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px;background:#fff9e5;border:1px solid #eadca4;border-radius:8px;margin:18px 0}
body.sfm-compact .sfc-lead-band h2{font-size:19px;line-height:1.5;margin:0 0 4px;color:var(--sfm-ink)}
body.sfm-compact .sfc-lead-band p{font-size:13px;line-height:1.6;color:#56646c;margin:0}
body.sfm-compact .sfc-lead-band.is-small{padding:12px 14px;margin:12px 0}
body.sfm-compact .sfc-lead-band.is-small h2{font-size:16px}
body.sfm-compact .sfc-lead-band>.sfm-button{flex-shrink:0}
body.sfm-compact .sfm-detail-heading{padding:0;margin:10px 0 16px}
body.sfm-compact .sfm-detail-heading h1,body.sfm-compact .sfmd-business-heading h1{font-size:28px;line-height:1.45;margin:8px 0}
body.sfm-compact .sfm-detail-layout,body.sfm-compact .sfmd-detail-layout,body.sfm-compact .sf-article-layout,body.sfm-compact .sfc-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:20px;align-items:start}
body.sfm-compact .sfm-panel,body.sfm-compact .sfmd-panel{padding:18px;margin:0 0 16px;border:1px solid var(--sfm-line);border-radius:8px;background:#fff}
body.sfm-compact .sfm-panel h2,body.sfm-compact .sfmd-panel h2{font-size:20px;margin:0 0 10px}
body.sfm-compact .sfm-panel p,body.sfm-compact .sfmd-panel p{font-size:14px;line-height:1.8;margin:0 0 10px}
body.sfm-compact .sfm-gallery-main{height:380px;min-height:0}
body.sfm-compact .sfm-gallery-main img{height:100%;width:100%;object-fit:contain;background:#f3f5f6}
body.sfm-compact .sfm-gallery-thumbs{gap:7px;margin-top:8px}
body.sfm-compact .sfm-gallery-thumbs button{width:70px;height:52px}
body.sfm-compact .sfm-spec-grid{gap:12px;grid-template-columns:repeat(4,minmax(0,1fr))}
body.sfm-compact .sfm-spec-grid>div{padding:8px 10px}
body.sfm-compact .sfc-detail-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}
body.sfm-compact .sfc-detail-facts>div{padding:10px;background:var(--sfm-soft);border-radius:5px}
body.sfm-compact .sfc-detail-facts dt{font-size:12px;color:var(--sfm-muted)}
body.sfm-compact .sfc-detail-facts dd{font-size:14px;line-height:1.7;margin:3px 0 0}
body.sfm-compact .sfc-detail-image{margin:0 0 16px}
body.sfm-compact .sfc-detail-image img{width:100%;max-height:380px;object-fit:contain;background:var(--sfm-soft);border-radius:7px}
body.sfm-compact .sfc-detail-image figcaption{font-size:11px;color:var(--sfm-muted);padding-top:5px}
body.sfm-compact .sfc-resource-map{width:100%;height:300px;border:0;border-radius:6px}
body.sfm-compact .sfc-detail-aside .sfc-lead-band{display:block}
body.sfm-compact .sfc-detail-aside .sfm-button{margin-top:12px}
body.sfm-compact .sfmd-company-image img{max-height:340px;object-fit:contain}
body.sfm-compact .sfm-owner-tabs{margin:8px 0 12px}
body.sfm-compact .sfm-owner-hero{padding:20px;gap:22px}
body.sfm-compact .sfm-owner-hero h2{font-size:24px!important;margin-bottom:8px!important}
body.sfm-compact .sfm-owner-hero figure img{height:200px}
body.sfm-compact .sfm-owner-hero .sfm-actions{margin-top:12px}
body.sfm-compact .sfm-owner-contents{padding:8px 0;margin:0 0 18px;gap:18px}
body.sfm-compact .sfm-owner-layout{gap:20px;grid-template-columns:minmax(0,1fr) 290px}
body.sfm-compact .sfm-owner-page .sf-v2-section{margin-bottom:20px!important}
body.sfm-compact .sfm-owner-page .sf-v2-section-head{margin-bottom:12px!important}
body.sfm-compact .sfm-owner-page .sf-v2-info-card{padding:14px!important}
body.sfm-compact .sfm-owner-page .sf-v2-info-card p,body.sfm-compact .sfm-owner-page .sf-v2-info-card li{line-height:1.7!important;font-size:13px!important}
body.sfm-compact .sfm-footer{padding:26px 0 0;margin-top:20px}
body.sfm-compact .sfm-footer-grid{gap:24px;padding-bottom:20px}
body.sfm-compact .sfm-footer p,body.sfm-compact .sfm-footer a{font-size:12px}
body.sfm-compact .sfm-footer-bottom{padding:14px 0;gap:16px}
body.sfm-compact [hidden]{display:none!important}
@media(max-width:1200px){
 body.sfm-compact .sfc-category-grid.sfm-quick-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 body.sfm-compact .sfm-header-promise{display:none}
 body.sfm-compact .sfm-search-service .sfm-search-main{grid-template-columns:180px minmax(160px,1fr) 160px!important}
 body.sfm-compact .sfm-search-service .sfu-actions{grid-column:-2/-1;justify-self:end}
 body.sfm-compact.sf-portal .sf-project-filters .sfu-search-main,body.sfm-compact .sfm-official-commercial .sfu-search-main{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:980px){
 body.sfm-compact .sfm-grid,body.sfm-compact.sf-portal .sf-project-grid,body.sfm-compact .sfmd-grid,body.sfm-compact .sfsh-grid,body.sfm-compact .sfm-news-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
 body.sfm-compact .sfm-search-main,body.sfm-compact .sfu-search-main{grid-template-columns:170px minmax(170px,1fr) 150px!important}
 body.sfm-compact .sfu-actions,body.sfm-compact .sfm-search-submit{grid-column:-2/-1;justify-self:end}
 body.sfm-compact .sfm-detail-layout,body.sfm-compact .sfmd-detail-layout,body.sfm-compact .sf-article-layout,body.sfm-compact .sfc-detail-layout{grid-template-columns:minmax(0,1fr) 270px;gap:16px}
 body.sfm-compact .sfm-owner-layout{grid-template-columns:minmax(0,1fr) 255px;gap:16px}
 body.sfm-compact .sfm-owner-page .sf-v2-grid-three{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
 body.sfm-compact .sfm-container,body.sfm-compact .sf-container,body.sfm-compact .sfm-owner-page{width:calc(100% - 24px)}
 body.sfm-compact .sfm-header-row{min-height:66px;gap:10px;flex-wrap:nowrap}
 body.sfm-compact .sfm-header-message,body.sfm-compact .sfm-header-promise{display:none}
 body.sfm-compact .sfm-header-actions{gap:9px;font-size:12px}
 body.sfm-compact .sfm-header-actions .sfm-button{font-size:12px;padding:8px 10px;min-height:40px;max-width:100px}
 body.sfm-compact .sfm-brand{gap:7px}
 body.sfm-compact .sfm-brand strong{font-size:20px}
 body.sfm-compact .sfm-brand-symbol{width:32px;height:32px}
 body.sfm-compact .sfm-brand-symbol svg{width:24px;height:24px}
 body.sfm-compact .sfm-brand small{font-size:8px;letter-spacing:1px}
 body.sfm-compact .sfm-home-hero{gap:14px;padding:16px 0;grid-template-columns:1fr}
 body.sfm-compact .sfm-home-hero h1{font-size:26px;margin:0 0 7px}
 body.sfm-compact .sfm-home-hero h1 span{font-size:23px}
 body.sfm-compact .sfm-home-hero-visual,body.sfm-compact .sfm-home-hero-visual>a{height:112px;min-height:112px}
 body.sfm-compact .sfm-hero-caption{padding:12px}
 body.sfm-compact .sfm-hero-caption strong{font-size:16px}
 body.sfm-compact .sfm-page-heading h1,body.sfm-compact .sf-page-heading h1,body.sfm-compact .sfmd-heading h1,body.sfm-compact .sfm-detail-heading h1{font-size:24px!important}
 body.sfm-compact .sfm-page-heading,body.sfm-compact .sfmd-heading{align-items:flex-start;gap:12px}
 body.sfm-compact .sfm-search,body.sfm-compact .sfu-search{padding:10px!important}
 body.sfm-compact .sfm-search input,body.sfm-compact .sfm-search select,body.sfm-compact .sfu-search input,body.sfm-compact .sfu-search select{font-size:16px!important}
 body.sfm-compact .sfm-search-main,body.sfm-compact .sfu-search-main,body.sfm-compact .sfm-search-service .sfm-search-main,body.sfm-compact.sf-portal .sf-project-filters .sfu-search-main,body.sfm-compact .sfm-official-commercial .sfu-search-main{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 body.sfm-compact .sfc-category{order:0}
 body.sfm-compact .sfm-search-main>.sfm-field:nth-child(n),body.sfm-compact .sfu-search-main>.sfu-field:nth-child(n){grid-row:auto!important;grid-column:auto!important}
 body.sfm-compact .sfm-search-keyword,body.sfm-compact .sfu-keyword{order:3;grid-column:1/-1!important}
 body.sfm-compact .sfm-search-main>.sfm-field.sfm-search-keyword:nth-child(n),body.sfm-compact .sfu-search-main>.sfu-keyword:nth-child(n){grid-column:1/-1!important}
 body.sfm-compact .sfu-actions,body.sfm-compact .sfm-search-submit,body.sfm-compact.sf-portal .sf-project-filters .sfu-actions,body.sfm-compact .sfm-official-commercial .sfu-actions,body.sfm-compact .sfm-search-service .sfu-actions{order:4;grid-column:1/-1;justify-self:stretch;justify-content:space-between}
 body.sfm-compact .sfm-search .sfm-search-submit{grid-row:auto!important;grid-column:1/-1!important;justify-content:center}
 body.sfm-compact .sfu-actions>.sfu-submit{flex:1}
 body.sfm-compact .sfm-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 body.sfm-compact .sfc-school-row{display:block}
 body.sfm-compact .sfc-school-row>label{max-width:none}
 body.sfm-compact .sfc-school-row>.sfc-search-note{display:block;padding:0}
 body.sfm-compact .sfm-quick-grid.sfc-category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:18px}
 body.sfm-compact .sfm-quick-grid.sfc-category-grid>a:nth-child(n){min-height:66px;padding:9px 5px;flex-direction:column;justify-content:center;text-align:center;gap:4px}
 body.sfm-compact .sfc-category-grid strong{font-size:13px;line-height:1.5;word-break:normal}
 body.sfm-compact .sfc-category-grid .sfm-icon{width:19px;height:19px}
 body.sfm-compact .sfc-category-grid small,body.sfm-compact .sfc-desktop-label{display:none!important}
 body.sfm-compact .sfc-mobile-label{display:block!important}
 body.sfm-compact .sfm-grid,body.sfm-compact.sf-portal .sf-project-grid,body.sfm-compact .sfmd-grid,body.sfm-compact .sfsh-grid,body.sfm-compact .sfm-news-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 body.sfm-compact .sfm-card-content,body.sfm-compact.sf-portal .sf-project-card-copy,body.sfm-compact .sfsh-card-body,body.sfm-compact .sfc-card-body{padding:9px}
 body.sfm-compact .sfm-card-content h3,body.sfm-compact.sf-portal .sf-project-card h3,body.sfm-compact .sfc-card-body h2,body.sfm-compact .sfsh-card h3,body.sfm-compact .sfm-news-card h3{font-size:14px;margin:3px 0 6px}
 body.sfm-compact .sfm-card-cover,body.sfm-compact.sf-portal .sf-project-cover,body.sfm-compact .sfmd-card-cover,body.sfm-compact .sfsh-media{aspect-ratio:1.45}
 body.sfm-compact .sfm-card-location,body.sfm-compact.sf-portal .sf-project-location,body.sfm-compact .sfc-card-location{font-size:11px}
 body.sfm-compact .sfm-card-price{font-size:16px}
 body.sfm-compact .sfm-card-foot{flex-wrap:wrap;gap:3px}
 body.sfm-compact .sfm-card-foot small{font-size:10px}
 body.sfm-compact .sfm-news-image{height:112px}
 body.sfm-compact .sfm-news-card>div{padding:9px}
 body.sfm-compact .sfm-news-meta{font-size:10px;flex-wrap:wrap;gap:3px}
 body.sfm-compact .sfm-cover-badge{left:6px;top:6px;font-size:9px}
 body.sfm-compact .sfm-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.sfm-compact .sfm-service-tile{padding:10px;min-height:58px}
 body.sfm-compact .sfm-section,body.sfm-compact .sf-section{margin:20px 0}
 body.sfm-compact .sfm-section-head h2,body.sfm-compact .sf-section-head h2{font-size:20px}
 body.sfm-compact .sfm-detail-layout,body.sfm-compact .sfmd-detail-layout,body.sfm-compact .sf-article-layout,body.sfm-compact .sfc-detail-layout,body.sfm-compact .sfm-owner-layout{grid-template-columns:1fr;gap:14px}
 body.sfm-compact .sfm-detail-sidebar,body.sfm-compact .sfm-owner-sidebar{position:static}
 body.sfm-compact .sfm-panel,body.sfm-compact .sfmd-panel{padding:14px;margin-bottom:12px}
 body.sfm-compact .sfm-gallery-main{height:250px}
 body.sfm-compact .sfm-spec-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 body.sfm-compact .sfc-detail-facts{grid-template-columns:1fr;gap:8px}
 body.sfm-compact .sfc-resource-map{height:240px}
 body.sfm-compact .sfm-owner-hero{padding:14px;gap:14px;grid-template-columns:1fr}
 body.sfm-compact .sfm-owner-hero h2{font-size:22px!important}
 body.sfm-compact .sfm-owner-hero figure img{height:160px}
 body.sfm-compact .sfm-owner-page .sf-v2-grid-three,body.sfm-compact .sfm-owner-page .sf-v2-grid-two{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 body.sfm-compact .sfm-owner-page .sf-v2-info-card h3{font-size:16px!important}
 body.sfm-compact .sfm-owner-contents{gap:12px}
 body.sfm-compact .sfc-lead-band,body.sfm-compact .sfm-platform-cta{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:14px}
 body.sfm-compact .sfc-lead-band>.sfm-button{width:100%}
 body.sfm-compact .sfm-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
}
@media(max-width:430px){
 body.sfm-compact .sfm-all-sections{display:none}
 body.sfm-compact .sfm-header-actions{gap:8px}
 body.sfm-compact .sfm-header-actions .sfm-button{max-width:88px;padding:8px;font-size:11px}
 body.sfm-compact .sfm-owner-page .sf-v2-grid-three,body.sfm-compact .sfm-owner-page .sf-v2-grid-two{grid-template-columns:1fr}
 body.sfm-compact .sfm-page-heading,body.sfm-compact .sfmd-heading{flex-wrap:wrap}
 body.sfm-compact .sfm-home-hero h1{font-size:24px}
}
