body { background: #e7e9ed; }
#app { background: linear-gradient(180deg, #e9ebee 0%, #e2e5e9 100%); }
header { gap: 16px; }

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo { width: 54px; height: 54px; object-fit: cover; border-radius: 18px; box-shadow: 0 8px 20px #0d3f8833; flex: 0 0 auto; }
.brand-copy { display: grid; gap: 2px; justify-items: center; }
.brand-name { color: #506072; font-size: clamp(17px, 3vw, 22px); font-weight: 850; line-height: 1.05; letter-spacing: -.03em; }
.brand-subtitle { color: #1267e5; font-size: 11px; font-weight: 950; line-height: 1; letter-spacing: .06em; text-transform: uppercase; }

.header-actions { display: grid; grid-template-columns: auto; justify-items: stretch; gap: 7px; }
.header-actions .install-button { min-width: 118px; border: 1px solid #d8e4f2; border-radius: 10px; background: #fff; color: #17365d; padding: 8px 11px; font-weight: 800; font-size: 12px; box-shadow: 0 3px 10px #17365d12; }
.header-actions #reportsButton { background: #17365d; border-color: #17365d; color: #fff; }
.header-actions .icon-button { justify-self: end; margin-top: 2px; width: 38px; height: 38px; font-size: 19px; }

.filters { padding: 5px; background: #dfe3e8; border-radius: 16px; box-shadow: inset 0 1px 2px #4b556310; }
.filters button { box-shadow: 0 1px 2px #17365d0b; }
.card { box-shadow: 0 9px 26px #17365d0b; }
.customer-comment { display: grid; gap: 4px; margin-top: 3px; padding: 9px 10px; border-radius: 10px; background: #fff8e8; color: #5d4a16; font-size: 13px; line-height: 1.35; }
.customer-comment span { color: #9a7314; font-size: 10px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }

.courier-mode .filters, .courier-mode .summary, .courier-mode .urgent-section { display: none; }
.workflow-tabs { display:flex; gap:9px; margin:12px 0 14px; }
.workflow-tabs button { flex:1; border:1px solid #d7dee8; background:#fff; color:#526174; border-radius:12px; padding:11px 12px; font:700 14px/1 system-ui,sans-serif; }
.workflow-tabs button.active { background:#17365d; border-color:#17365d; color:#fff; box-shadow:0 5px 14px #17365d2c; }
.stats-grid .stat-card { border: 0; cursor: pointer; font: inherit; text-align: left; width: 100%; }
.stats-grid .stat-card.active { outline: 3px solid #1769e0; outline-offset: 2px; }
.courier-mode #courierModeNote { display: block; margin: 18px 0 12px; color: #506072; font-size: 14px; font-weight: 850; }
.courier-mode .courier-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.courier-stats article { display: grid; gap: 3px; padding: 15px 16px; border-radius: 16px; background: #17365d; color: #fff; box-shadow: 0 8px 22px #17365d2b; }
.courier-stats span { font-size: 11px; font-weight: 800; color: #cddcf2; }
.courier-stats strong { font-size: 30px; line-height: 1; }
.courier-stats small { color: #cddcf2; font-size: 10px; }
.courier-mode .card { border-radius: 18px; }
.courier-mode .actions { grid-template-columns: 1fr; }
.courier-mode .actions button { padding: 14px 12px; font-size: 14px; border-radius: 13px; }
.courier-mode .actions .danger { background: #d93845; color: #fff; border-color: #d93845; }
.courier-mode .header-actions #reportsButton, .courier-mode .header-actions #usersButton { display: none; }

@media (max-width: 560px) {
  #app { padding: 18px 14px 72px; }
  header { align-items: flex-start; }
  .brand-logo { width: 45px; height: 45px; border-radius: 15px; }
  .brand-name { font-size: 19px; }
  .header-actions .install-button { min-width: 104px; padding: 7px 8px; font-size: 11px; }
}
