/* Partner materials/news only. Existing downloads, categories, order and course actions remain intact. */
body:not(.admin-mode) [data-view="media"] .materials-page-heading{gap:8px;margin-bottom:7px!important;align-items:center}
body:not(.admin-mode) [data-view="media"] .materials-page-heading h1{font-size:19px!important;line-height:1.15!important;margin:0 0 3px!important}
body:not(.admin-mode) [data-view="media"] .materials-page-heading>div>p:not(.eyebrow){font-size:9px!important;line-height:1.3!important;margin:0!important}
body:not(.admin-mode) [data-view="media"] .eyebrow{font-size:8px!important;line-height:1.2!important;margin:0 0 3px!important}
body:not(.admin-mode) [data-view="media"] .secondary-button{min-height:25px!important;padding:4px 7px!important;font-size:9px!important;line-height:1.2!important;border-radius:6px!important}
body:not(.admin-mode) [data-view="media"] .material-summary{grid-template-columns:76px 76px minmax(0,1fr);gap:6px;margin-bottom:7px}
body:not(.admin-mode) [data-view="media"] .material-summary>div,body:not(.admin-mode) [data-view="media"] .material-summary>p{box-sizing:border-box;min-height:36px;padding:5px 8px;border-radius:7px;grid-column:auto}
body:not(.admin-mode) [data-view="media"] .material-summary span{font-size:12px;line-height:1.2}
body:not(.admin-mode) [data-view="media"] .material-summary :is(small,p){font-size:8px;line-height:1.3}
body:not(.admin-mode) [data-view="media"] .material-category-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin-bottom:8px;padding-bottom:0;overflow:visible}
body:not(.admin-mode) [data-view="media"] .material-category-tabs button{box-sizing:border-box;min-width:0;min-height:30px;padding:4px 6px;gap:5px;grid-template-columns:18px minmax(0,1fr) 16px;border-radius:6px}
body:not(.admin-mode) [data-view="media"] .material-category-tabs button>span{width:18px;height:18px;border-radius:5px;font-size:8px}
body:not(.admin-mode) [data-view="media"] .material-category-tabs b{font-size:9px;line-height:1.2;white-space:normal;overflow-wrap:anywhere}
body:not(.admin-mode) [data-view="media"] .material-category-tabs em{min-width:16px;height:16px;font-size:8px}
body:not(.admin-mode) [data-view="media"] .material-catalog-head{margin-bottom:6px;gap:7px;align-items:center}
body:not(.admin-mode) [data-view="media"] .material-catalog-head h2{font-size:11px;margin:0;line-height:1.2}
body:not(.admin-mode) [data-view="media"] #material-sort{box-sizing:border-box;height:25px;min-height:25px!important;padding:3px 20px 3px 6px!important;font-size:9px!important;line-height:1.2!important;border-radius:6px!important}
body:not(.admin-mode) [data-view="media"] .material-catalog-grid{gap:7px;align-items:start}
body:not(.admin-mode) [data-view="media"] .promo-material-card{min-height:90px;grid-template-columns:65px minmax(0,1fr);border-radius:9px}
body:not(.admin-mode) [data-view="media"] .promo-material-visual{gap:5px}
body:not(.admin-mode) [data-view="media"] .promo-material-visual>span{width:25px;height:25px;border-radius:7px;font-size:10px}
body:not(.admin-mode) [data-view="media"] .promo-material-visual small{font-size:7px;line-height:1.2}
body:not(.admin-mode) [data-view="media"] .promo-material-body{padding:7px 8px;min-width:0}
body:not(.admin-mode) [data-view="media"] .promo-material-meta{min-height:13px;gap:5px;font-size:8px;line-height:1.2}
body:not(.admin-mode) [data-view="media"] .promo-material-meta mark{font-size:7px;padding:2px 4px}
body:not(.admin-mode) [data-view="media"] .promo-material-body h3{font-size:11px;line-height:1.25;margin:3px 0}
body:not(.admin-mode) [data-view="media"] .promo-material-body p{font-size:9px;line-height:1.3;margin:0 0 5px}
body:not(.admin-mode) [data-view="media"] .promo-material-actions{gap:7px;flex-wrap:wrap}
body:not(.admin-mode) [data-view="media"] .promo-material-actions :is(a,button){box-sizing:border-box;min-height:23px;font-size:9px;line-height:1.2;padding:4px 0;display:inline-flex;align-items:center;justify-content:space-between;gap:4px}
body:not(.admin-mode) [data-view="media"] .material-catalog-grid>.admin-panel{grid-column:1/-1;min-height:36px!important;padding:8px 10px!important;border-radius:8px!important}
body:not(.admin-mode) [data-view="media"] .material-catalog-grid>.admin-panel p{font-size:10px;line-height:1.3;margin:0}
/* Featured announcement occupies its own short row at the top, not the list's full height. */
body:not(.admin-mode) .workspace [data-view="news"] .news-hero{box-sizing:border-box;min-height:64px!important;padding:8px 12px!important;gap:10px!important;margin-bottom:7px!important;border-radius:10px!important;flex-direction:row;align-items:center}
body:not(.admin-mode) [data-view="news"] .news-hero h1{font-size:19px!important;line-height:1.15!important;margin:0 0 3px!important}
body:not(.admin-mode) [data-view="news"] .news-hero .eyebrow{font-size:8px!important;line-height:1.2!important;margin:0 0 3px!important}
body:not(.admin-mode) [data-view="news"] .news-hero .lead{font-size:9px!important;line-height:1.3!important;margin:0!important}
body:not(.admin-mode) [data-view="news"] .fresh-badge{min-height:0;font-size:8px!important;line-height:1.2!important;padding:4px 6px!important;flex-shrink:0}
body:not(.admin-mode) [data-view="news"] .news-layout{grid-template-columns:minmax(0,1fr)!important;align-items:start;gap:7px}
body:not(.admin-mode) [data-view="news"] .featured-news{box-sizing:border-box;grid-column:1/-1;grid-template-columns:40px minmax(0,1fr);min-height:0;height:auto;align-content:start;align-items:start;align-self:start;gap:10px;padding:9px 12px;border-radius:10px}
body:not(.admin-mode) [data-view="news"] .featured-news>div:only-child{grid-column:1/-1}
body:not(.admin-mode) [data-view="news"] .news-date{width:38px;height:40px;border-radius:8px}
body:not(.admin-mode) [data-view="news"] .news-date b{font-size:13px;line-height:1.1}
body:not(.admin-mode) [data-view="news"] .news-tag{font-size:7px;line-height:1.2;padding:3px 5px;margin-bottom:3px;border-radius:4px}
body:not(.admin-mode) [data-view="news"] .featured-news h2{font-size:14px;line-height:1.2;margin:2px 0 3px}
body:not(.admin-mode) [data-view="news"] .featured-news p{font-size:10px;line-height:1.3;margin:0 0 3px}
body:not(.admin-mode) [data-view="news"] .text-button{box-sizing:border-box;min-height:23px;font-size:9px!important;line-height:1.2!important;padding:3px 0;display:inline-flex;align-items:center}
body:not(.admin-mode) [data-view="news"] .news-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;align-items:start}
body:not(.admin-mode) [data-view="news"] .news-list article{min-height:0;grid-template-columns:7px minmax(0,1fr);gap:4px 7px;align-content:start;align-items:start;padding:8px 10px;border-radius:9px}
body:not(.admin-mode) [data-view="news"] .news-list time{grid-column:2;grid-row:1;font-size:8px;line-height:1.2}
body:not(.admin-mode) [data-view="news"] .news-dot{grid-column:1;grid-row:1;width:5px;height:5px;margin-top:2px;box-shadow:0 0 0 2px var(--line)}
body:not(.admin-mode) [data-view="news"] .news-list article>div{grid-column:2;grid-row:2;min-width:0}
body:not(.admin-mode) [data-view="news"] .news-list small{font-size:7px;line-height:1.2}
body:not(.admin-mode) [data-view="news"] .news-list h2{font-size:11px;line-height:1.25;margin:3px 0}
body:not(.admin-mode) [data-view="news"] .news-list p{font-size:9px;line-height:1.3;margin:0}
@media(min-width:1280px){
 body:not(.admin-mode) [data-view="media"] .material-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 body:not(.admin-mode) [data-view="news"] .news-list{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){body:not(.admin-mode) [data-view="media"] .material-category-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){
 body:not(.admin-mode) [data-view="media"] .material-summary{grid-template-columns:60px 60px minmax(0,1fr)}
 body:not(.admin-mode) [data-view="media"] .material-catalog-grid{grid-template-columns:1fr}
 body:not(.admin-mode) [data-view="news"] .news-list{grid-template-columns:1fr}
 body:not(.admin-mode) [data-view="news"] .featured-news{grid-template-columns:34px minmax(0,1fr);gap:8px;padding:9px}
 body:not(.admin-mode) [data-view="news"] .news-date{width:32px;height:36px}
}
@media(max-width:520px){
 body:not(.admin-mode) [data-view="media"] .material-summary{grid-template-columns:1fr 1fr}
 body:not(.admin-mode) [data-view="media"] .material-summary>p{grid-column:1/-1}
 body:not(.admin-mode) [data-view="media"] .material-category-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(pointer:coarse){
 body:not(.admin-mode) [data-view="media"] :is(.secondary-button,.material-category-tabs button,.promo-material-actions a,.promo-material-actions button){min-height:40px!important}
 body:not(.admin-mode) [data-view="media"] #material-sort{min-height:40px!important;height:40px;font-size:16px!important}
 body:not(.admin-mode) [data-view="news"] .text-button{min-height:40px!important}
}
