/* Compact administration layout, especially for phone screens. */
.owner-bottom-nav.shared-bottom-nav .nav-link{font-size:14px;font-weight:600;line-height:1.3;min-height:44px;white-space:nowrap}
.owner-bottom-nav.shared-bottom-nav .nav-icon{font-size:18px}
@media screen and (max-width:760px){
 body{font-size:14px;line-height:1.55}
 .topbar{min-height:58px;height:58px;padding:7px 12px;gap:8px;align-items:center}
 .topbar>.topbar-actions:last-child{flex:1;gap:5px;flex-wrap:nowrap;justify-content:flex-end}
 .topbar .identity{display:none}
 .topbar .icon-button,.topbar .push-bell{width:38px;min-width:38px;min-height:42px;height:42px;padding:6px;font-size:18px;border-radius:10px}
 .topbar .notice-link{min-width:65px;min-height:42px;height:42px;font-size:11px;padding:15px 5px 3px!important;line-height:1.2;gap:0}
 .topbar .notice-count{height:17px;min-width:17px;line-height:17px;top:2px;font-size:10px!important;padding:0 4px}
 .content{padding:17px 12px calc(90px + env(safe-area-inset-bottom))}
 .page-heading{gap:5px;margin-bottom:16px}
 .page-heading h1{font-size:22px;line-height:1.45;margin:5px 0}
 .page-heading p{font-size:13px;line-height:1.6;margin:0}
 .page-heading .eyebrow{font-size:11px}
 .panel{padding:16px 14px;border-radius:15px;margin-block:14px}
 .panel h2,.panel h3,.invoice-form h2{font-size:18px;line-height:1.5;margin-block:0 12px}
 .finance-stats,.statement-stats{gap:10px;margin:14px 0 18px}
 .finance-stat,.statement-stats section{padding:14px 12px;border-radius:14px;gap:8px}
 .finance-stat span,.statement-stats span{font-size:13px}
 .finance-stat strong,.statement-stats strong{font-size:22px;line-height:1.3}
 .finance-stat:last-child{grid-column:auto}
 .owner-search{gap:10px}
 .owner-search h2{font-size:18px;margin-bottom:4px}
 label{font-size:13px;gap:6px}
 input,select,textarea{font-size:16px;min-height:44px;padding:9px 11px}
 .btn,.secondary{font-size:14px;min-height:44px;padding:10px 13px;border-radius:10px}
 .field-hint,.muted{font-size:12px;line-height:1.6}
 .finance-filters{padding:13px;gap:11px;border-radius:15px}
 .invoice-form{gap:15px}.invoice-line{gap:10px;padding:12px}
 .invoice-list-card h2{font-size:18px;margin-top:10px}.invoice-list-card p{font-size:13px;margin-block:6px}
 .statement-paper{padding:16px 12px}.statement-header h2{font-size:21px}
 .owner-bottom-nav.shared-bottom-nav,
 html[dir=ltr] .owner-bottom-nav.shared-bottom-nav,
 .shared-bottom-nav:has([href="?page=notifications"]){
  width:calc(100% - 16px);max-width:none;left:8px;bottom:calc(8px + env(safe-area-inset-bottom));transform:none;
  padding:5px;gap:2px;border-radius:16px;box-shadow:0 5px 22px #24384b1c;align-items:stretch
 }
 .owner-bottom-nav.shared-bottom-nav .nav-link{
  display:flex;flex-direction:row!important;align-items:center;justify-content:center;gap:4px;
  font-size:12px;font-weight:600;line-height:1.2;min-height:44px;padding:7px 3px;white-space:nowrap;overflow-wrap:normal;border-radius:11px
 }
 .owner-bottom-nav.shared-bottom-nav .nav-icon{display:inline-block;font-size:16px;width:auto;line-height:1}
 .owner-bottom-nav.shared-bottom-nav .nav-link.active{border-inline-start:0}
 .owner-bottom-nav.shared-bottom-nav [data-invoice-notice]{min-height:44px;padding:17px 3px 5px!important;gap:0}
 .owner-bottom-nav.shared-bottom-nav .notice-count{height:17px;min-width:17px;line-height:17px;top:1px;font-size:10px!important;padding:0 4px}
 .owner-bottom-nav.shared-bottom-nav .car-count{font-size:12px}
 .toast{bottom:calc(75px + env(safe-area-inset-bottom));font-size:13px}
 .nav-dialog{padding:18px 15px;width:min(300px,85vw)}
 .nav-dialog .nav-link{font-size:14px;min-height:42px;padding:9px 11px}
}
@media screen and (max-width:350px){
 .owner-bottom-nav.shared-bottom-nav .nav-link{font-size:11px;gap:3px}
 .owner-bottom-nav.shared-bottom-nav .car-count{font-size:11px}
 .page-heading h1{font-size:20px}
 .finance-stat strong{font-size:20px}
 .topbar{padding-inline:8px}.topbar>.topbar-actions:last-child{gap:4px}
}

/* Quiet owner navigation with only two destinations. */
.owner-dashboard-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
.owner-quiet-bar.shared-bottom-nav{max-width:380px;padding:5px;gap:5px;box-shadow:0 3px 15px #24384b12}
.owner-quiet-bar.shared-bottom-nav .nav-link{font-size:14px;flex-direction:row!important;gap:7px;min-height:44px;padding:9px 12px;border-radius:11px;font-weight:600}
.owner-quiet-bar.shared-bottom-nav .nav-link.active{background:var(--panel2);color:var(--ink);box-shadow:none;border-inline-start:0}
html[data-theme=light] .owner-quiet-bar.shared-bottom-nav .nav-link.active{background:#edf2f6;color:#304b66}
@media screen and (max-width:760px){
 .owner-dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .owner-dashboard-stats section{padding:13px 12px;min-height:85px}
 .owner-dashboard-stats strong{font-size:22px}
 .owner-quiet-bar.shared-bottom-nav,html[dir=ltr] .owner-quiet-bar.shared-bottom-nav{width:calc(100% - 24px);max-width:360px;left:50%;transform:translateX(-50%);padding:5px;gap:5px}
 .owner-quiet-bar.shared-bottom-nav .nav-link{font-size:13px;min-height:42px;padding:9px 10px;gap:7px}
 .owner-quiet-bar.shared-bottom-nav .nav-icon{font-size:16px}
}
