/* Equal side columns center the confirmed total across the whole Tools header. */
html.statera-app.st-app-shell .workspace .topbar:has(>.st-database-counter){display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;column-gap:24px;row-gap:12px}
html.statera-app.st-app-shell .workspace .topbar:has(>.st-database-counter)>div:first-of-type{grid-column:1;grid-row:1;min-width:0;justify-self:start}
html.statera-app.st-app-shell .workspace .topbar>.st-database-counter{grid-column:2;grid-row:1;justify-self:center;align-self:center;display:flex;flex-direction:column;align-items:center;gap:3px;color:var(--st-text,#25291f);min-width:0;margin:0;order:0}
html.statera-app.st-app-shell .workspace .topbar:has(>.st-database-counter)>.st-header-utilities{grid-column:3;grid-row:1;justify-self:end;align-self:center!important;margin:0;width:auto;flex-wrap:wrap;justify-content:flex-end}
html.statera-app.st-app-shell .workspace .topbar:has(>.st-database-counter)>.top-actions{grid-column:1/-1;grid-row:2;justify-self:end;margin:0;width:auto;justify-content:flex-end}
.statera-app .st-database-number{display:flex;align-items:baseline;font:750 24px/1.08 var(--st-font,inherit);font-variant-numeric:tabular-nums;letter-spacing:-.025em;white-space:nowrap}
.statera-app .st-database-label{font:600 10px/1.3 var(--st-font,inherit);letter-spacing:.035em;white-space:nowrap;color:var(--st-muted,#606653)}
.st-database-digit{display:inline-block;overflow:hidden;height:1.1em;width:.63em;text-align:center}.st-database-digit>span{display:block}.st-database-separator{width:.26em;text-align:center}
.st-database-roll{animation:st-database-roll .12s ease-out}
@keyframes st-database-roll{from{opacity:.75}to{opacity:1}}
@media(max-width:1200px){
 html.statera-app.st-app-shell .workspace .topbar:has(>.st-database-counter){grid-template-columns:minmax(0,1fr) auto}
 html.statera-app.st-app-shell .workspace .topbar:has(>.st-database-counter)>.st-header-utilities{grid-column:2;grid-row:1}
 html.statera-app.st-app-shell .workspace .topbar>.st-database-counter{grid-column:1/-1;grid-row:2}
 html.statera-app.st-app-shell .workspace .topbar:has(>.st-database-counter)>.top-actions{grid-row:3}
}
@media(max-width:768px){
 html.statera-app.st-app-shell .workspace .topbar:has(>.st-database-counter){grid-template-columns:minmax(0,1fr)}
 html.statera-app.st-app-shell .workspace .topbar:has(>.st-database-counter)>.st-header-utilities{grid-column:1;grid-row:3;justify-self:center;justify-content:center}
 html.statera-app.st-app-shell .workspace .topbar:has(>.st-database-counter)>.top-actions{grid-row:4;justify-self:stretch;justify-content:center}
 .statera-app .st-database-number{font-size:22px}
}
@media(prefers-reduced-motion:reduce){.st-database-roll{animation:none}}
/* Confirmed totals use the same compact summary card as the reference header. */
@media(min-width:1201px){html.statera-app.st-app-shell .workspace .topbar:has(>.st-database-counter){grid-template-columns:minmax(0,1fr) auto auto}}
html.statera-app.st-app-shell .workspace .topbar>.st-database-counter{position:relative;min-height:58px;padding:9px 18px 9px 50px;border:1px solid var(--st-border);border-radius:10px;background:var(--st-surface);align-items:flex-start;box-sizing:border-box}
html.statera-app.st-app-shell .workspace .topbar>.st-database-counter:before{content:"";position:absolute;left:16px;top:18px;width:25px;height:25px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Cellipse cx='12' cy='5' rx='8' ry='3'/%3E%3Cpath d='M4 5v14c0 4 16 4 16 0V5M4 10c0 4 16 4 16 0M4 15c0 4 16 4 16 0'/%3E%3C/svg%3E") center/contain no-repeat}
