/* A dense, laptop-first desktop rhythm. Data lists may still scroll or page,
   but headings, actions, filters, and the first meaningful content stay in view. */
@media (min-width: 900px) {
  .app-shell { padding: 28px 0 86px !important; }
  .topbar, .page-header { margin-bottom: 16px !important; }
  .topbar h1, .page-header h1 { font-size: 28px !important; }
  .back, .header-icon { width: 40px; height: 40px; }
  .page-header .eyebrow { font-size: 9px; }
  .section-head { margin-bottom: 10px !important; }
  .section-head h2 { font-size: 17px; }
  .module-section { margin-top: 18px; }

  input, select { min-height: 42px; padding: 10px 12px; font-size: 14px; }
  .primary-btn, .secondary-btn { min-height: 44px; padding: 0 16px; font-size: 12px; }

  .hero-card { min-height: 88px !important; padding: 13px 24px !important; border-radius: 22px; }
  .hero-card h2 { margin-top: 5px; font-size: 26px !important; line-height: 1.1; }
  .hero-card > i { width: 40px; height: 40px; padding: 10px; }

  .attendance-calendar { max-width: 560px !important; padding: 13px !important; }
  .attendance-calendar .weekdays { margin: 9px 0 5px; }
  .attendance-calendar .calendar-head a { width: 34px; height: 34px; }

  .purchase-hero, .gst-hero, .company-hero, .accounting-hero,
  .attendance-hero { padding: 16px !important; border-radius: 20px !important; }
  .purchase-kpis > div, .gst-kpis > div, .project-stats div,
  .setting-overview > div, .accounts-kpis > div { padding: 13px !important; }

  .labour-toolbar { padding: 14px 16px; }
  .labour-toolbar strong { font-size: 23px; }
  .labour-card { padding: 13px 16px !important; }
  .project-card { min-height: 122px; padding: 15px; }
  .project-detail { padding: 18px; }

  .sales-dashboard { gap: 16px; }
  .sales-page-header { margin-bottom: 14px; }
  .sales-hero { min-height: 190px !important; padding: 22px 26px !important; border-radius: 24px; }
  .sales-hero h2 { margin: 8px 0 6px; font-size: 25px; }
  .sales-hero-meta { margin-top: 14px; }
  .sales-hero-art { transform: scale(.78); transform-origin: right center; }
  .sales-hero-cta { right: 24px; bottom: 20px; }
  .sales-stat-card { padding: 13px; }
  .sales-stat-card strong { font-size: 20px; }
  .sales-form-section, .settings-form section { padding: 16px !important; }
  .account-entry-form, .payment-history, .attendance-history { padding: 18px !important; }
}

@media (min-width: 900px) and (max-height: 800px) {
  .app-shell { padding-top: 20px !important; }
  .topbar, .page-header { margin-bottom: 12px !important; }
  .hero-card { min-height: 76px !important; padding: 11px 20px !important; }
  .hero-card h2 { font-size: 23px !important; }
  .module-section { margin-top: 14px; }
  .module-grid { gap: 10px !important; }
  .module { min-height: 112px !important; padding: 13px !important; }
  .module > i { width: 30px !important; height: 30px !important; padding: 0 !important; background: none !important; }
  .module strong { margin-top: 8px !important; }
  .module.active b { margin-top: 6px !important; }
  .sales-hero { min-height: 160px !important; padding: 18px 22px !important; }
  .sales-hero-art { opacity: .62; transform: scale(.66); }
}
