/* Bloco 4: shared desktop header, gutters and footer; no component interiors. */
@media(min-width:1001px){
 :root{--topbar:68px}
 .app-shell>.topbar{height:var(--topbar);min-height:var(--topbar);gap:16px}
 .topbar-left{flex:1 1 auto;min-width:0}
 .topbar .page-context{display:grid;grid-template-columns:minmax(0,auto) auto;grid-template-rows:auto auto;column-gap:12px;row-gap:2px;align-items:center;width:max-content;max-width:100%;line-height:1.2}
 .topbar .page-title-group{display:contents}
 .topbar #breadcrumbGroup{grid-column:1/-1;grid-row:1;font-size:8px;font-weight:800;letter-spacing:1.4px}
 .topbar #breadcrumb{grid-column:1;grid-row:2;font-size:22px;font-weight:750;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .topbar .page-context .page-header-logo{grid-column:2;grid-row:2;width:72px;height:auto;max-height:27px;margin:0;object-fit:contain}
 .topbar-actions{flex:none;align-items:center;gap:8px}
 .topbar-actions>button,.topbar-actions>.theme-toggle,.topbar-actions .account-control>.avatar{height:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px}
 .topbar-actions>.quiet-action,.topbar-actions>.primary{padding:8px 14px;font-size:12px;line-height:18px}
 .topbar-actions>.theme-toggle,.topbar-actions>.value-toggle,.topbar-actions .account-control>.avatar{width:44px;min-width:44px;padding:0;border-radius:50%;flex:none}
 .topbar-actions .icon{display:block;flex:none;width:18px;height:18px}
 .topbar-actions>button:hover,.topbar-actions .account-control>.avatar:hover{filter:brightness(.98)}
 .topbar-actions>button:focus-visible,.topbar-actions .account-control>.avatar:focus-visible{outline:2px solid var(--green-400);outline-offset:2px}
 body:not(.expenses-desktop) .app-shell>main{padding-top:20px}
 .app-shell>main>#content{min-height:0}
 .app-shell>main>#content:not(:has(>.ledger-panel)){gap:20px}
 .app-shell>main>footer{display:flex;align-items:center;gap:12px;min-height:44px;margin-top:24px;padding:12px 0 0;font-size:11px;line-height:16px}
 .app-shell>main>footer>img{display:block;flex:none;width:68px;height:auto;max-height:26px;object-fit:contain}
 .app-shell>main>footer>span{font-size:11px;font-weight:500;color:var(--muted)}
 .app-shell>main>footer>small{margin-left:auto;flex:none;font-size:10px;white-space:nowrap}
}
