/* Native insets reserve Android system bars; these are content margins. */
.shell{max-width:1080px;padding-top:22px}.modal{padding-top:24px}.invoice-page-head{padding-top:24px}.sb-auth{padding-top:28px}.sb-byline{display:block;font:11px/1.4 Arial,sans-serif;color:var(--muted);text-align:center;margin-top:3px}.sb-header{margin-bottom:18px}
.days{min-height:0;grid-template-rows:repeat(var(--weeks,5),minmax(56px,1fr))}.days .day{min-height:56px;height:clamp(56px,9svh,78px)}
.expense-types{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px}.expense-types button{display:flex;align-items:center;justify-content:center;gap:7px;padding:12px 8px;min-height:48px;height:auto;font-size:14px;line-height:1.35;overflow-wrap:anywhere}.expense-types svg{width:20px;height:20px;flex:0 0 20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.drawer-nav button{display:flex;align-items:center;gap:12px}.drawer-nav svg{width:21px;height:21px;flex:0 0 21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
@media(min-width:700px){.shell{padding:26px 30px}.days .day{height:86px}.modal{width:min(720px,100%);max-width:720px;padding:28px}.sb-day-footer{max-width:720px}.sb-expenses,#invoice-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.sb-invoice-tax,.sb-expenses>.empty,#invoice-list>.empty{grid-column:1/-1}.sb-card{margin-bottom:0}.sb-day-cards{display:grid;gap:16px}.stat{padding:14px}.stat small{font-size:13px}.stat strong{font-size:21px}.invoice-page{width:100%;max-width:none;padding:0}.invoice-page #invoice-form{max-width:960px}.sb-fab{right:max(24px,calc((100vw - 1020px)/2))}}
@media(max-width:359px){.shell{padding-top:20px}.expense-types button{font-size:12px}.sb-header h1{font-size:20px}.sb-brand-mark{width:26px;height:26px}.row{gap:8px}}
