/* DailyWork true mobile patch v2.9.22.27 */
* { box-sizing: border-box; }
html, body { width: 100%; max-width: 100%; margin: 0; overflow-x: hidden !important; }
body { -webkit-text-size-adjust: 100%; }
.dwh-page, .dwh-main { width: 100%; max-width: 100%; overflow-x: hidden !important; }
.dwh-page img, .dwh-page svg, .dwh-page video, .dwh-page iframe { max-width: 100%; }

@media (max-width: 900px) {
  .dwh-container {
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .dwh-page section, .dwh-page section > *, .dwh-hero__grid, .dwh-hero__content,
  .dwh-one-stop-grid, .dwh-case, .dwh-tabs, .dwh-process-grid, .dwh-demo__grid {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  /* Header */
  .dwh-header__inner {
    min-height: 68px !important;
    padding: 7px 0 !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }
  .dwh-header-contact, .dwh-header__login { display: none !important; }
  .dwh-page a.dwh-logo { height: 46px !important; min-width: 0 !important; gap: 7px !important; font-size: 18px !important; }
  .dwh-page .dwh-logo__icon,
  .dwh-page .dwh-logo__image,
  .dwh-page .dwh-logo__icon img.dwh-logo__image {
    width: 42px !important; min-width: 42px !important; max-width: 42px !important;
    height: 42px !important; min-height: 42px !important; max-height: 42px !important;
  }
  .dwh-page .dwh-logo__text { white-space: nowrap !important; font-size: 18px !important; }
  .dwh-language-switch { margin-left: auto !important; flex: 0 0 auto !important; }
  .dwh-language-switch__button { min-width: 34px !important; width: 34px !important; height: 34px !important; padding: 0 !important; font-size: 11px !important; }
  .dwh-menu-button { display: inline-grid !important; flex: 0 0 38px !important; width: 38px !important; height: 38px !important; margin-left: 0 !important; }
  .dwh-nav { top: 68px !important; width: 100% !important; max-width: 100% !important; padding: 14px 18px 28px !important; overflow-x: hidden !important; }
  .dwh-nav__mobile-login { display: grid !important; grid-template-columns: 1fr !important; gap: 8px !important; }
  .dwh-nav__mobile-login a { min-width: 0 !important; white-space: normal !important; }

  /* Hero */
  .dwh-hero { min-height: 0 !important; padding: 82px 0 28px !important; overflow: hidden !important; }
  .dwh-hero__grid { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 18px !important; min-height: 0 !important; }
  .dwh-hero__content { width: 100% !important; min-width: 0 !important; text-align: left !important; }
  .dwh-hero__content > *, .dwh-home-hero-title, .dwh-home-hero-subtitle, .dwh-home-hero-description {
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }
  .dwh-home-hero-eyebrow { width: auto !important; max-width: 100% !important; font-size: 14px !important; line-height: 1.4 !important; }
  .dwh-hero h1.dwh-home-hero-title { margin: 0 0 8px !important; font-size: clamp(32px, 9vw, 42px) !important; line-height: 1.08 !important; letter-spacing: -.025em !important; }
  .dwh-home-hero-subtitle { margin: 0 0 14px !important; text-align: left !important; font-size: clamp(24px, 7vw, 31px) !important; line-height: 1.18 !important; letter-spacing: -.02em !important; }
  .dwh-home-hero-description { margin: 0 0 20px !important; font-size: 16px !important; line-height: 1.65 !important; }
  .dwh-hero__actions { display: grid !important; grid-template-columns: 1fr !important; width: 100% !important; gap: 10px !important; }
  .dwh-hero__actions .dwh-button { width: 100% !important; max-width: 100% !important; min-width: 0 !important; min-height: 50px !important; padding: 12px 16px !important; font-size: 15px !important; white-space: normal !important; }
  .dwh-hero__checks { display: grid !important; grid-template-columns: 1fr !important; gap: 8px !important; margin-top: 20px !important; }
  .dwh-hero__checks li { min-width: 0 !important; font-size: 15px !important; }
  .dwh-app-download, .dwh-app-download__badges { width: 100% !important; max-width: 100% !important; }
  .dwh-app-download__badges { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
  .dwh-store-badge { width: 100% !important; min-width: 0 !important; max-width: 100% !important; }
  .dwh-app-download__support { width: 100% !important; max-width: 100% !important; padding: 10px 12px !important; border-left: 0 !important; border: 1px solid var(--dwh-line) !important; border-radius: 12px !important; }
  .dwh-app-download__support strong { white-space: normal !important; }

  /* Metrics: no page-level horizontal scrolling */
  .dwh-trust--hero-top { width: 100% !important; max-width: 100% !important; margin: 0 0 14px !important; }
  .dwh-trust--hero-top .dwh-container.dwh-metrics,
  .dwh-trust .dwh-metrics {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
    border-radius: 16px !important;
  }
  .dwh-trust .dwh-metric {
    flex: none !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 88px !important;
    padding: 12px 8px !important;
    border-bottom: 1px solid var(--dwh-line) !important;
  }
  .dwh-trust .dwh-metric:nth-child(odd)::after { display: block !important; }
  .dwh-trust .dwh-metric:nth-child(even)::after { display: none !important; }
  .dwh-trust .dwh-metric:nth-last-child(-n+2) { border-bottom: 0 !important; }
  .dwh-trust .dwh-metric strong { font-size: 20px !important; line-height: 1.15 !important; white-space: normal !important; overflow-wrap: anywhere !important; }
  .dwh-trust .dwh-metric span { font-size: 12px !important; line-height: 1.3 !important; }

  /* Hero visual contained */
  .dwh-hero__visual { width: 100% !important; max-width: 100% !important; min-height: 280px !important; margin: 0 auto !important; overflow: hidden !important; }
  .dwh-dashboard-frame { left: 0 !important; width: 88% !important; max-width: 88% !important; }
  .dwh-mobile-frame { right: 0 !important; width: 38% !important; max-width: 38% !important; }
  .dwh-floating-card { display: none !important; }

  /* Headings/sections */
  body .dwh-page .dwh-section { padding-top: 22px !important; padding-bottom: 22px !important; }
  .dwh-section-heading { width: 100% !important; max-width: 100% !important; margin-bottom: 16px !important; }
  .dwh-section-heading h2 { max-width: 100% !important; font-size: clamp(27px, 7.2vw, 34px) !important; line-height: 1.18 !important; overflow-wrap: break-word !important; }
  .dwh-section-heading p { max-width: 100% !important; font-size: 15px !important; line-height: 1.55 !important; }

  /* One Stop: stack cards on phone/tablet instead of making viewport wider */
  .dwh-one-stop-heading { width: 100% !important; max-width: 100% !important; }
  .dwh-one-stop-heading h2 { font-size: clamp(30px, 8vw, 38px) !important; line-height: 1.1 !important; }
  .dwh-one-stop-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 12px !important;
    overflow: visible !important;
  }
  .dwh-one-stop-card { width: auto !important; min-width: 0 !important; max-width: 100% !important; min-height: 0 !important; padding: 16px !important; }
  .dwh-one-stop-card h3, .dwh-one-stop-card p, .dwh-one-stop-card li { overflow-wrap: break-word !important; }

  /* Industries */
  .dwh-card-grid--four.dwh-impact-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; gap: 12px !important; }
  .dwh-problem-card { min-width: 0 !important; padding: 16px !important; }
  .dwh-workflow-card { width: 100% !important; max-width: 100% !important; padding: 10px 0 0 !important; }
  .dwh-workflow-card__header { display: block !important; width: 100% !important; }
  .dwh-flow.dwh-flow--compact {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    overflow: visible !important;
  }
  .dwh-flow.dwh-flow--compact .dwh-flow__item { width: auto !important; min-width: 0 !important; min-height: 70px !important; }
  .dwh-flow.dwh-flow--compact > i { display: none !important; }

  /* Results */
  .dwh-case { grid-template-columns: minmax(0,1fr) !important; width: 100% !important; }
  .dwh-case__content, .dwh-case__panel { min-width: 0 !important; max-width: 100% !important; }
  .dwh-case__content h2 { font-size: clamp(30px, 8vw, 38px) !important; line-height: 1.12 !important; overflow-wrap: break-word !important; }
  .dwh-case__panel { padding: 18px !important; }
  .dwh-case blockquote { font-size: 17px !important; }
  .dwh-case__stats { grid-template-columns: 1fr auto 1fr !important; }

  /* Roles */
  .dwh-tabs { width: 100% !important; max-width: 100% !important; overflow: hidden !important; }
  .dwh-tabs__buttons { width: 100% !important; max-width: 100% !important; overflow-x: auto !important; overscroll-behavior-inline: contain; }
  .dwh-tabs__buttons button { flex: 0 0 auto !important; min-width: 135px !important; }
  #roles .dwh-tabs__panel { width: 100% !important; max-width: 100% !important; padding: 16px 12px !important; }
  #roles .dwh-role-summary { grid-template-columns: minmax(0,1fr) !important; }
  #roles .dwh-role-features { grid-template-columns: minmax(0,1fr) !important; gap: 10px !important; }
  #roles .dwh-role-feature { min-width: 0 !important; padding: 13px !important; }

  /* Process */
  .dwh-process-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; gap: 12px !important; }
  .dwh-process-grid article { min-width: 0 !important; min-height: 0 !important; padding: 16px !important; }

  /* Demo */
  .dwh-demo { overflow: hidden !important; }
  .dwh-demo__grid { grid-template-columns: minmax(0,1fr) !important; width: calc(100% - 28px) !important; max-width: calc(100% - 28px) !important; }
  .dwh-demo__content, .dwh-form-card { min-width: 0 !important; width: 100% !important; max-width: 100% !important; }
  .dwh-demo__content h2 { font-size: clamp(30px, 8vw, 38px) !important; line-height: 1.12 !important; }
  .dwh-contact-list a { width: 100% !important; min-width: 0 !important; overflow-wrap: anywhere !important; }
  .dwh-form-card { padding: 18px !important; }
  .dwh-form__row { grid-template-columns: minmax(0,1fr) !important; }
  .dwh-form input, .dwh-form select, .dwh-form textarea { width: 100% !important; min-width: 0 !important; max-width: 100% !important; }

  /* Footer */
  .dwh-footer__grid { grid-template-columns: minmax(0,1fr) !important; gap: 22px !important; }
  .dwh-footer__grid > div { min-width: 0 !important; }
  .dwh-footer__bottom { flex-direction: column !important; gap: 8px !important; }
  .dwh-footer__legal { flex-wrap: wrap !important; }

  /* Contact page */
  .dwh-contact-main, .dwh-contact-hero, .dwh-contact-channels, .dwh-contact-location, .dwh-contact-social { overflow-x: hidden !important; }
  .dwh-contact-hero__inner, .dwh-contact-location__grid { grid-template-columns: minmax(0,1fr) !important; }
  .dwh-contact-card-grid { grid-template-columns: minmax(0,1fr) !important; }
  .dwh-contact-card, .dwh-contact-address-card, .dwh-contact-map { min-width: 0 !important; max-width: 100% !important; }

  /* Cookie */
  .dwh-cookie-banner { left: 10px !important; right: 10px !important; bottom: 10px !important; width: auto !important; max-width: none !important; }
}

@media (max-width: 620px) {
  .dwh-container { width: calc(100% - 24px) !important; max-width: calc(100% - 24px) !important; }
  .dwh-page .dwh-logo__text { font-size: 17px !important; }
  .dwh-page .dwh-logo__icon, .dwh-page .dwh-logo__image, .dwh-page .dwh-logo__icon img.dwh-logo__image {
    width: 40px !important; min-width: 40px !important; max-width: 40px !important;
    height: 40px !important; min-height: 40px !important; max-height: 40px !important;
  }
  .dwh-hero { padding-top: 78px !important; }
  .dwh-trust--hero-top .dwh-container.dwh-metrics { width: 100% !important; max-width: 100% !important; }
  .dwh-trust .dwh-metric strong { font-size: 18px !important; }
  .dwh-one-stop-grid { grid-template-columns: minmax(0,1fr) !important; }
  .dwh-one-stop-card { padding: 16px !important; }
  .dwh-card-grid--four.dwh-impact-grid { grid-template-columns: minmax(0,1fr) !important; }
  .dwh-process-grid { grid-template-columns: minmax(0,1fr) !important; }
  .dwh-demo__grid { width: calc(100% - 24px) !important; max-width: calc(100% - 24px) !important; }
}

@media (max-width: 380px) {
  .dwh-page .dwh-logo__text { display: none !important; }
  .dwh-language-switch__button { min-width: 32px !important; width: 32px !important; height: 32px !important; }
  .dwh-hero h1.dwh-home-hero-title { font-size: 30px !important; }
  .dwh-home-hero-subtitle { font-size: 23px !important; }
  .dwh-trust .dwh-metric strong { font-size: 17px !important; }
  .dwh-trust .dwh-metric span { font-size: 11px !important; }
}
