/* Second-row symmetry and compact communication panels */
.topbar { justify-content: flex-start; }
.search { flex: 0 0 365px; }
.rates { margin-left: auto; }
.profile-wrap { margin-right: 0; }
.tab { font-weight: 500; }
.nav-item, .subnav button { font-size: 16px !important; font-weight: 600; }
.panel-action { margin-left: auto; min-width: 106px; height: 31px; padding: 0 10px; white-space: nowrap; border: 1px solid #d4e0f1; border-radius: 7px; background: #fff; color: #164ea5; font-size: 12px !important; font-weight: 600; }
.bottom-workspace { display: grid; grid-template-columns: minmax(420px, 1.45fr) minmax(260px, .78fr); gap: 11px; min-height: 0; }
.bottom-workspace > .card { height: 100%; }
.calendar-card .day { aspect-ratio: 1 / .92; }
.schedule-card { display: flex; flex-direction: column; min-height: 0; }
.schedule-card h2 { font-size: 18px; }
.schedule-day { display: flex; justify-content: space-between; padding: 11px 13px; color: #62718b; font-size: 12px; border-bottom: 1px solid #e8eef6; }
.schedule-day b { color: #172642; }
.schedule-entry { display: grid; grid-template-columns: 41px minmax(0,1fr); gap: 8px; padding: 11px 13px; border-bottom: 1px solid #edf1f7; }
.schedule-entry time { color: #2163d6; font-size: 11px; font-weight: 800; }
.schedule-entry b, .schedule-entry small { display: block; }
.schedule-entry b { font-size: 12px; line-height: 1.2; }
.schedule-entry small { color: #6a7890; font-size: 10px; margin-top: 3px; line-height: 1.2; }
.mail-card .card-head { flex: 0 0 45px; height: 45px; }
.mail-row { min-height: 52px; padding: 7px 12px; gap: 7px; }
.mail-row strong { font-size: 12px; }
.mail-row small { font-size: 10px; margin-top: 1px; }
.mail-row > span { font-size: 14px; }
.mail-meta { gap: 3px; }
.mail-row time { font-size: 9px; }
.mail-row button { font-size: 9px; padding: 3px 3px; }

@media (min-width: 2200px) {
  .nav-item, .subnav button { font-size: 17px !important; }
  .search { flex-basis: 430px; }
  .bottom-workspace { grid-template-columns: minmax(620px, 1.5fr) minmax(350px, .78fr); gap: 16px; }
  .schedule-card h2 { font-size: 21px; }
  .schedule-day { padding: 14px 16px; font-size: 14px; }
  .schedule-entry { grid-template-columns: 50px minmax(0,1fr); padding: 14px 16px; }
  .schedule-entry time { font-size: 13px; }
  .schedule-entry b { font-size: 14px; }
  .schedule-entry small { font-size: 12px; }
  .mail-row { min-height: 62px; padding: 9px 15px; }
  .mail-row strong { font-size: 13px; }
  .mail-row small { font-size: 11px; }
}

@media (max-width: 1050px) {
  .bottom-workspace { grid-template-columns: 1fr; }
  .calendar-card .day { aspect-ratio: auto; }
}
