/* V164: header only. Existing tiles and content styles stay unchanged. */
.office-shell .office-topbar{grid-template-columns:180px minmax(0,1fr) auto;gap:20px;padding-bottom:18px;margin-bottom:24px;align-items:center;}
.office-shell .office-brand img{width:160px!important;}
.office-shell .shared-head{margin-left:0;grid-template-columns:minmax(155px,.7fr) minmax(230px,1fr) minmax(270px,1.2fr);gap:14px;}
.office-shell .shared-head .head-welcome{padding-left:0;}
.office-shell .shared-head .head-welcome h1{font-size:1.5rem;margin-bottom:4px;}
.office-shell .shared-head .head-welcome p{font-size:.8rem;}
.office-shell .shared-head .head-stat{padding:10px 13px;border-radius:13px;box-shadow:inset 0 2px 0 #70b7dc;align-self:stretch;display:flex;flex-direction:column;justify-content:center;}
.office-shell .shared-head .head-stat-title{font-size:.81rem;line-height:1.3;}
.office-shell .head-stat-number{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;}
.office-shell .shared-head .head-stat strong{font-size:1.65rem;margin:3px 0;line-height:1.1;}
.office-shell .shared-head .head-stat small{font-size:.72rem;line-height:1.45;}
.office-shell .head-stat-details{display:flex;gap:3px 12px;flex-wrap:wrap;}
.office-shell .head-stat-details b{color:#236781;}
.office-shell .head-stat-checked{margin-top:2px;}
.office-shell .office-logout{min-height:42px;padding:9px 13px;border-radius:12px;font-size:.9rem;}
.office-shell .office-logout svg{width:21px;height:21px;flex-basis:21px;}
.office-shell .shared-head.no-stats{grid-template-columns:1fr;}
@media(max-width:1250px) and (min-width:801px){
.office-shell .office-topbar{grid-template-columns:150px minmax(0,1fr) auto;gap:14px;}
.office-shell .office-brand img{width:140px!important;}
.office-shell .shared-head{grid-row:auto;grid-column:auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;}
.office-shell .head-welcome{grid-column:1/-1;display:flex;align-items:baseline;gap:12px;}
.office-shell .shared-head .head-welcome h1{font-size:1.25rem;}
.office-shell .office-topbar>form{grid-column:auto;grid-row:auto;}
}
@media(max-width:800px){
.office-shell .office-topbar{grid-template-columns:1fr auto;gap:12px;padding-bottom:14px;margin-bottom:18px;}
.office-shell .office-brand img{width:135px!important;}
.office-shell .office-topbar>form{grid-column:2;grid-row:1;}
.office-shell .shared-head{grid-row:2;grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;}
.office-shell .head-welcome{grid-column:1/-1;display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;}
.office-shell .shared-head .head-welcome h1{font-size:1.25rem;margin:0;}
.office-shell .shared-head .head-stat{padding:9px 10px;}
.office-shell .head-stat-number{gap:4px 10px;}
.office-shell .head-stat-details{display:block;}
.office-shell .shared-head .head-stat strong{font-size:1.4rem;}
}
@media(max-width:380px){.office-shell .shared-head{grid-template-columns:repeat(2,minmax(0,1fr));}.office-shell .shared-head .head-stat{padding:8px;}.office-shell .shared-head .head-stat small{font-size:.7rem;}.office-shell .shared-head .head-welcome p{display:none;}}
