/* Dedicated /customer/app layout; desktop /customer never loads this stylesheet. */
.customer-mobile{background:#f3f7f4;padding-bottom:env(safe-area-inset-bottom)}
.customer-mobile .mobile-only:not([hidden]){display:grid!important}
.customer-mobile .desktop-only,.customer-mobile .sidebar,.customer-mobile .mobile-entry-link,.customer-mobile footer{display:none!important}
.customer-mobile .shell{display:block;min-height:100dvh;padding-top:calc(84px + env(safe-area-inset-top));padding-bottom:calc(74px + env(safe-area-inset-bottom))}
.customer-mobile .topbar{position:fixed;inset:0 0 auto;height:calc(84px + env(safe-area-inset-top));z-index:12;padding:calc(9px + env(safe-area-inset-top)) 14px 9px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:34px 24px;column-gap:8px;row-gap:1px;align-content:center;background:white}
.customer-mobile .topbar .brand{grid-column:1;grid-row:1;display:flex;align-items:center;gap:10px;height:34px}
.customer-mobile .brand img{width:47px;height:34px;object-fit:contain}
.customer-mobile .brand #headerName{font-size:1.35rem;font-weight:750}
.customer-mobile .topbar .header-user{display:contents}
.customer-mobile .header-clock{grid-column:1/-1;grid-row:2;justify-self:start;font-size:.82rem;white-space:nowrap;color:var(--muted);font-weight:500}
.customer-mobile .account-status{grid-column:2;grid-row:1;justify-self:end;font-size:.83rem;padding:4px 0}
.customer-mobile #logout{display:none}
.customer-mobile #accountStatus.inactive+#logout{display:block;grid-column:2;grid-row:2;min-height:24px;padding:0 3px;font-size:.76rem;justify-self:end}
.customer-mobile main{padding:15px 12px;max-width:680px;margin-inline:auto}
.customer-mobile .page{gap:12px}
.customer-mobile #page-overview .page-head,.customer-mobile #page-prepaid .page-head{display:none}
.customer-mobile .page-head h1{font-size:1.35rem}
.customer-mobile .metric-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.customer-mobile .metric{padding:13px;min-height:105px;gap:5px;border-radius:13px}
.customer-mobile .metric>span{font-size:.85rem}
.customer-mobile .metric>strong{font-size:1.45rem;white-space:normal;overflow-wrap:anywhere}
.customer-mobile .metric small{font-size:.76rem}
.customer-mobile #overviewPrice{font-size:1.9rem}
.customer-mobile #overviewUnpaid{font-size:1.65rem;color:#b45727}
.customer-mobile .mobile-nav:not([hidden]){position:fixed;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));bottom:0;left:0;right:0;z-index:15;background:white;border-top:1px solid var(--line);padding:6px 4px calc(6px + env(safe-area-inset-bottom));box-shadow:0 -2px 12px #17382b0a}
.customer-mobile .mobile-nav button{border:0;background:transparent;color:var(--muted);border-radius:8px;padding:8px 2px;min-height:48px;font-weight:650;font-size:.78rem;white-space:nowrap}
.customer-mobile .mobile-nav button[aria-current=page]{background:#dcefe4;color:var(--green);font-weight:800}
.customer-mobile .mobile-status-tabs:not([hidden]),.customer-mobile .bill-filter-cards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;min-width:0}
.customer-mobile .mobile-status-tabs button[aria-pressed=true]{background:var(--green);border-color:var(--green);color:white}
.customer-mobile #mobileHistoryNote{font-size:.85rem}
.customer-mobile .card{padding:14px 12px;gap:10px;border-radius:13px}
.customer-mobile .mobile-back:not([hidden]){justify-self:start;display:block!important;padding-inline:0;min-height:44px}
.customer-mobile .mobile-me-actions{display:grid;gap:10px}
.customer-mobile .mobile-me-actions .outline{display:flex;justify-content:space-between;align-items:center;text-align:left}
.customer-mobile .mobile-me-actions .muted{font-size:.82rem}
.customer-mobile #page-me .mobile-account-card h2{font-size:1.35rem}
.customer-mobile #page-me .mobile-account-card p{font-size:.92rem}
.customer-mobile .bill-summary-card{display:grid}
.customer-mobile .bill-summary-amount{min-width:0}
.customer-mobile .bill-summary-amount>strong{color:#b45727}
.customer-mobile .history-total{font-size:.82rem}
.customer-mobile .vehicle-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
.customer-mobile .vehicle-metrics .metric{padding:9px;min-height:82px}
.customer-mobile .vehicle-metrics .metric>strong{font-size:1.1rem}
/* Reflow read-only tables into compact labelled cards; dialog detail tables retain horizontal scroll. */
.customer-mobile #page-fueling .table-wrap,.customer-mobile #page-bills .table-wrap,.customer-mobile #page-vehicles .table-wrap,.customer-mobile #page-prepaid .table-wrap{overflow:visible}
.customer-mobile #page-fueling table,.customer-mobile #page-bills table,.customer-mobile #page-vehicles table,.customer-mobile #page-prepaid table{display:block;min-width:0;width:100%}
.customer-mobile #page-fueling thead,.customer-mobile #page-bills thead,.customer-mobile #page-vehicles thead,.customer-mobile #page-prepaid thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.customer-mobile #historyRows,.customer-mobile #billRows,.customer-mobile #vehiclesRows,.customer-mobile #prepaidRows,.customer-mobile #deductionsRows{display:grid;gap:10px;width:100%}
.customer-mobile #historyRows tr,.customer-mobile #billRows tr,.customer-mobile #vehiclesRows tr,.customer-mobile #prepaidRows tr,.customer-mobile #deductionsRows tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 9px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:10px}
.customer-mobile #historyRows td,.customer-mobile #billRows td,.customer-mobile #vehiclesRows td,.customer-mobile #prepaidRows td,.customer-mobile #deductionsRows td{padding:4px 0;border:0;overflow-wrap:anywhere;font-size:.86rem}
.customer-mobile #historyRows td::before,.customer-mobile #billRows td::before,.customer-mobile #vehiclesRows td::before,.customer-mobile #prepaidRows td::before,.customer-mobile #deductionsRows td::before{display:block;font-size:.72rem;color:var(--muted);font-weight:500;margin-bottom:2px}
.customer-mobile #historyRows td:nth-child(1)::before{content:'加油单号'}.customer-mobile #historyRows td:nth-child(2)::before{content:'加油时间'}.customer-mobile #historyRows td:nth-child(3)::before{content:'车辆'}.customer-mobile #historyRows td:nth-child(4)::before{content:'升数'}.customer-mobile #historyRows td:nth-child(5)::before{content:'单价'}.customer-mobile #historyRows td:nth-child(6)::before{content:'金额'}.customer-mobile #historyRows td:nth-child(7)::before{content:'收款状态'}
.customer-mobile #billRows td:nth-child(1)::before{content:'结算周期'}.customer-mobile #billRows td:nth-child(2)::before{content:'日期范围'}.customer-mobile #billRows td:nth-child(3)::before{content:'加油单数'}.customer-mobile #billRows td:nth-child(4)::before{content:'总升数'}.customer-mobile #billRows td:nth-child(5)::before{content:'账单金额'}.customer-mobile #billRows td:nth-child(6)::before{content:'已付金额'}.customer-mobile #billRows td:nth-child(7)::before{content:'未付金额'}.customer-mobile #billRows td:nth-child(8)::before{content:'状态'}
.customer-mobile #vehiclesRows td:nth-child(1)::before{content:'车牌号码'}.customer-mobile #vehiclesRows td:nth-child(2)::before{content:'车辆 ID#'}.customer-mobile #vehiclesRows td:nth-child(3)::before{content:'车辆品牌'}.customer-mobile #vehiclesRows td:nth-child(4)::before{content:'油箱容量'}.customer-mobile #vehiclesRows td:nth-child(5)::before{content:'司机电话'}.customer-mobile #vehiclesRows td:nth-child(6)::before{content:'状态'}
.customer-mobile #prepaidRows td:nth-child(1)::before{content:'预购单号'}.customer-mobile #prepaidRows td:nth-child(2)::before{content:'购买日期'}.customer-mobile #prepaidRows td:nth-child(3)::before{content:'预购单价'}.customer-mobile #prepaidRows td:nth-child(4)::before{content:'购买升数'}.customer-mobile #prepaidRows td:nth-child(5)::before{content:'剩余升数'}.customer-mobile #prepaidRows td:nth-child(6)::before{content:'收款状态'}
.customer-mobile #deductionsRows td:nth-child(1)::before{content:'加油单号'}.customer-mobile #deductionsRows td:nth-child(2)::before{content:'加油时间'}.customer-mobile #deductionsRows td:nth-child(3)::before{content:'车牌'}.customer-mobile #deductionsRows td:nth-child(4)::before{content:'扣减升数'}.customer-mobile #deductionsRows td:nth-child(5)::before{content:'金额'}.customer-mobile #deductionsRows td:nth-child(6)::before{content:'剩余油量'}
.customer-mobile #historyRows td:nth-child(3),.customer-mobile #vehiclesRows td:nth-child(1){font-size:1.05rem;font-weight:750}
.customer-mobile #historyRows td:last-child,.customer-mobile #billRows td:last-child,.customer-mobile #vehiclesRows td:last-child{grid-column:1/-1;display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.customer-mobile #historyRows td.empty,.customer-mobile #billRows td.empty,.customer-mobile #vehiclesRows td.empty,.customer-mobile #prepaidRows td.empty,.customer-mobile #deductionsRows td.empty{display:block;grid-column:1/-1;height:auto;min-height:60px;padding:16px;text-align:center}
.customer-mobile td.empty::before,.customer-mobile #billRows .bill-zero-divider td::before{content:none!important}
.customer-mobile #billRows .bill-zero-divider{display:block;padding:3px 8px;border:none;background:transparent}
.customer-mobile #billRows .bill-zero-divider td{display:block;grid-column:1/-1;font-size:.8rem;color:var(--muted)}
.customer-mobile #toast{bottom:calc(76px + env(safe-area-inset-bottom))}
@media(min-width:681px){.customer-mobile .topbar{padding-inline:max(14px,calc((100% - 650px)/2))}.customer-mobile .mobile-nav{max-width:680px;margin:auto;left:0;right:0}}
