.screen { max-width: 560px; }
.header { padding: calc(16px + env(safe-area-inset-top)) 18px 18px; }
.header h1 { font-size: 21px; margin-bottom: 4px; }
.header p { font-size: 13px; }
.menu-toggle,
.header-menu,
.card,
.badge,
.order-detail-button,
.order-detail-dialog,
.detail-close,
.detail-status-block,
.detail-section,
.product-row,
.primary,
input,
.workflow-note { border-radius: 0 !important; box-shadow: none !important; }

.content { padding: 12px; }
.card.order-card { padding: 11px 12px; margin-bottom: 8px; border-color: #d9e1e8; }
.compact-assigned-at { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: -1px 0 7px; padding-bottom: 6px; border-bottom: 1px solid #edf1f4; font-size: 11px; color: #758392; }
.compact-assigned-at strong { color: #2c4052; font-size: 11px; font-weight: 700; }
.order-head { align-items: center; gap: 6px; }
.order-no { font-size: 12px; margin-right: auto; }
.badge { padding: 3px 6px; font-size: 11px; }
.compact-progress { padding: 3px 6px; border: 1px solid #cfd9e2; background: #f7f9fb; color: #34495b; font-size: 11px; font-weight: 700; white-space: nowrap; }
.product { margin: 8px 0 3px; font-size: 15px; line-height: 1.35; }
.meta { font-size: 12px; line-height: 1.42; }
.meta .compact-visit { display: block; margin-bottom: 1px; color: #4d6173; }
.meta .compact-address { display: block; color: #6f7e8d; }
.order-footer { margin-top: 8px; padding-top: 8px; gap: 8px; }
.amount { font-size: 13px; }
.order-detail-button { min-width: 54px; padding: 6px 9px; font-size: 12px; }
.empty-card { padding: 20px 12px; }

.order-detail-body { padding: 10px 10px calc(22px + env(safe-area-inset-bottom)); }
.detail-status-block,
.detail-section { padding: 12px; }
.detail-section { margin-top: 8px; }
.detail-heading { padding: 14px 14px 11px; }
.detail-heading h2 { font-size: 17px; }
.product-row { padding: 8px 9px; }
.detail-primary-action { min-height: 44px; }

@media (max-width: 420px) {
  .content { padding: 10px; }
  .card.order-card { padding: 10px 11px; }
}
