/* A single mobile content gutter keeps headers, cards and lists aligned on real devices. */
:root{--mobile-gutter:16px}

/* Company onboarding is available from “我的 → 家政公司工作台”; avoid a duplicate CTA in the customer marketplace. */
.home-company-entry{display:none!important}

@media (max-width:600px){
  /* Some Android WebViews expose a viewport wider than 480px. Do not center a
     480px phone canvas there; use the actual device width. */
  .phone{width:100%;max-width:none;margin:0}
  .page:not(.common-service-page):not(.support-center-page):not(.unified-orders-page):not(.housekeeping-page):not(.farm-page):not(.home-service-page):not(.message-center){padding-left:var(--mobile-gutter);padding-right:var(--mobile-gutter)}
  #hotel .hotel-body{padding-left:var(--mobile-gutter);padding-right:var(--mobile-gutter)}

  .common-service-head,.unified-order-head{padding-left:var(--mobile-gutter);padding-right:var(--mobile-gutter)}
  .common-segment-tabs,.unified-business-tabs{padding-left:var(--mobile-gutter);padding-right:var(--mobile-gutter)}
  .unified-status-tabs{padding-left:12px;padding-right:12px}

  .common-page-summary,.member-hero,.member-assets,.member-benefits,.points-balance,.points-exchange,.points-history,
  .unified-orders-summary,.unified-status-card,.unified-detail-card,.unified-detail-actions,
  .housekeeping-hero,.housekeeping-form{margin-left:var(--mobile-gutter);margin-right:var(--mobile-gutter)}
  .common-list,.unified-orders-list{padding-left:var(--mobile-gutter);padding-right:var(--mobile-gutter)}
  .member-checkin{width:calc(100% - (var(--mobile-gutter) * 2));margin-left:var(--mobile-gutter);margin-right:var(--mobile-gutter)}

  .message-center{padding-left:var(--mobile-gutter);padding-right:var(--mobile-gutter)}
  .support-chat-body{padding-left:var(--mobile-gutter);padding-right:var(--mobile-gutter)}
  .support-composer{padding-left:var(--mobile-gutter);padding-right:var(--mobile-gutter)}

  /* Match the shared order-page card grid: 14px outer gutter and 16px card padding. */
  .common-service-page .common-page-summary,.common-service-page .member-hero,.common-service-page .member-assets,.common-service-page .member-benefits,.common-service-page .points-balance,.common-service-page .points-exchange,.common-service-page .points-history{margin-left:14px;margin-right:14px}
  .common-service-page .common-list{padding-left:14px;padding-right:14px}
  .common-service-page .member-checkin{width:calc(100% - 28px);margin-left:14px;margin-right:14px}
}
