/* Adapt the financial summary to available content width, including browser zoom. */
.president-panel{width:100%;max-width:100%;min-width:0}
.president-panel>section,.president-panel>form,.president-panel>header,.president-panel>div{min-width:0;max-width:100%}
.president-panel .pr-metrics{grid-template-columns:repeat(auto-fit,minmax(min(100%,265px),1fr));align-items:stretch}
.president-panel .pr-metrics>.pr-metric{display:grid;grid-template-columns:28px minmax(0,1fr) 20px;grid-template-rows:28px 1fr;align-items:start;gap:12px;padding:20px;min-width:0;min-height:166px;width:100%;container-type:inline-size}
.president-panel .pr-metric>svg:first-child{grid-area:1/1;align-self:center;width:28px;height:28px}
.president-panel .pr-metric>svg:last-child{grid-area:1/3;justify-self:end;align-self:center;margin:0}
.president-panel .pr-metric>span{grid-column:1/-1;grid-row:2;display:flex;flex-direction:column;justify-content:space-between;gap:10px;width:100%;min-width:0;height:100%;font-size:13px;line-height:1.4;overflow-wrap:normal}
.president-panel .pr-metric strong{display:block;white-space:nowrap;overflow-wrap:normal;word-break:normal;font-variant-numeric:tabular-nums;font-size:clamp(22px,2.1vw,30px);line-height:1.2;letter-spacing:-.03em;margin:0;max-width:100%}
@supports(font-size:1cqi){.president-panel .pr-metric strong{font-size:clamp(21px,9cqi,32px)}}
.president-panel .pr-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,175px),1fr));align-items:end;width:100%;min-width:0}
.president-panel .pr-filters label{min-width:0;width:100%}
.president-panel .pr-filters select{min-width:0;width:100%;max-width:100%;height:44px}
.president-panel .pr-filters button{min-width:0;width:100%;white-space:normal;min-height:44px;height:100%;line-height:1.3}
.president-panel .pr-filters button svg{flex-shrink:0}
.president-panel .pr-hero{flex-wrap:wrap;min-width:0}
.president-panel .pr-hero>div:nth-child(2){flex:1 1 220px;min-width:0}
.president-panel .pr-hero h2{font-size:clamp(24px,3vw,36px);overflow-wrap:break-word}
.president-panel .pr-stamp span{min-width:0;overflow-wrap:anywhere}
.president-panel .pr-section-title>*{min-width:0;max-width:100%}
.president-panel .pr-movement-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))}
.president-panel .pr-bars button{grid-template-columns:minmax(0,1fr) minmax(60px,1fr) minmax(125px,auto);min-width:0;max-width:100%;gap:14px}
.president-panel .pr-bars strong{white-space:nowrap;font-variant-numeric:tabular-nums}
.president-panel .pr-bars button>span{min-width:0;overflow-wrap:break-word}
.president-panel .pr-scroll{min-width:0;width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.president-panel .pr-calendar-controls>label{min-width:0;max-width:100%}
@media(max-width:760px){
 .president-panel .pr-bars button{grid-template-columns:minmax(0,1fr) minmax(110px,auto);gap:10px}
 .president-panel .pr-bars .pr-track{grid-column:1/-1;grid-row:2}
 .president-panel .pr-metrics>.pr-metric{min-height:152px;padding:18px}
 .president-panel .pr-private{display:none}
}
@media(max-width:420px){
 .president-panel .pr-filters{padding:14px;gap:14px}
 .president-panel .pr-hero{padding:16px}
 .president-panel .pr-metrics>.pr-metric{padding:16px}
 .president-panel .pr-calendar-controls{padding:14px;align-items:stretch}
 .president-panel .pr-calendar-controls>label,.president-panel .pr-calendar-controls>button{width:100%}
 .president-panel .pr-calendar-editor{margin:0 12px 14px;padding:14px}
}
/* Keep the network overview available without covering the financial cards on phones. */
@media(max-width:760px){.crm-app:has(.president-panel) .crm-network-strip{position:static;top:auto}}
