/* G4-BUD4 — the one budget page: the bar «عايز تعمل الموازنة إزاي؟» at the top of the four budget pages */
.bud4-bar{display:grid;gap:10px;margin:0 0 16px;padding:14px 16px;border:1px solid var(--line);border-radius:16px;background:color-mix(in srgb,var(--accent,#315ccf) 4%,var(--panel,#fff))}
.bud4-head h3{margin:0 0 2px;font-size:16px}
.bud4-head p{margin:0;font-size:13px;color:var(--muted)}
.bud4-ways{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.bud4-after{display:flex}
.bud4-way{display:grid;gap:4px;justify-items:start;text-align:start;padding:10px 12px;border-radius:12px;font:inherit;cursor:pointer;white-space:normal;line-height:1.5}
.bud4-way b{display:flex;align-items:center;gap:8px;font-size:14px}
.bud4-way small{font-size:12px;color:var(--muted)}
.bud4-n{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;font-size:12px;border:1px solid currentColor}
.bud4-after .bud4-way{padding:6px 12px}
.bud4-after .bud4-way small{display:none}
/* the workspace theme forces the button colours (as in pick1.css): the way of the page wins by class and !important */
.bud4-bar .bud4-way[aria-pressed="true"]{background:var(--accent,#315ccf)!important;color:#fff!important;border-color:var(--accent,#315ccf)!important;cursor:default}
.bud4-bar .bud4-way[aria-pressed="true"] small{color:#fff;opacity:.9}
/* the Owner (2026-10-10, «حافظ على التنسيق بقى والمساحات»): no empty rows — on the four budget pages the bar explains the page, so the old title and its
   line are hidden and the page's print button sits in the bar's top corner instead of a row of its own; an empty status line takes no room */
:is(#page-budgetauto,#page-budgetlines,#page-fpna-models,#page-performance)>.page-intro>:is(h3,p){display:none}
:is(#page-budgetauto,#page-budgetlines,#page-fpna-models,#page-performance)>.page-intro{margin:0;padding:0;min-height:0;border:0}
:is(#page-budgetauto,#page-budgetlines) :is(.b1-status,.b2-status,.b3-status):empty{min-height:0;margin:0;padding:0}
:is(#page-budgetauto,#page-budgetlines) .b2-card{margin-top:8px}
@media(min-width:701px){
 :is(#page-budgetauto,#page-budgetlines,#page-fpna-models,#page-performance){position:relative}
 :is(#page-budgetauto,#page-budgetlines,#page-fpna-models,#page-performance)>.print1-tools,:is(#page-budgetauto,#page-budgetlines,#page-fpna-models,#page-performance)>.page-intro>.print1-tools{position:absolute;top:14px;inset-inline-end:16px;margin:0;z-index:2}
 .bud4-head{padding-inline-end:190px}
}
@media(max-width:700px){.bud4-ways{grid-template-columns:1fr}}
