/* Magnet Studio M34.1 — calibrated cross-application readability.
   Public pages now use a restrained editorial scale with page-specific selectors.
   Account Center and Studio retain the larger application scale introduced in M34. */

@media (min-width: 769px) {
  /* Shared public-page hierarchy: readable, but no longer visually inflated. */
  .m17-page .m17-section-head > p {
    font-size: 16px !important;
    line-height: 1.72 !important;
  }
  .m17-page .m17-link,
  .m17-page .ms-button {
    font-size: 14px !important;
  }
  .m17-page .m17-link svg,
  .m17-page .ms-button svg {
    width: 18px !important;
    height: 18px !important;
  }

  /* Products. */
  .m17-products-page .m17-product-row__copy > p,
  .m17-products-page .m17-dark-story p {
    font-size: 16px !important;
    line-height: 1.72 !important;
  }
  .m17-products-page .m17-product-facts span,
  .m17-products-page .m17-dark-story li {
    font-size: 12.5px !important;
  }
  .m17-products-page .m17-product-facts svg,
  .m17-products-page .m17-dark-story li svg {
    width: 17px !important;
    height: 17px !important;
  }
  .m17-products-page .m17-proof-card b { font-size: 15px !important; }
  .m17-products-page .m17-proof-card small { font-size: 10.5px !important; }

  /* Jak to funguje — keep the five cards compact and balanced. */
  .m17-how-page .m17-process__copy p {
    font-size: 15.5px !important;
    line-height: 1.68 !important;
  }
  .m17-how-page .m17-process__copy > svg {
    width: 22px !important;
    height: 22px !important;
  }
  .m17-how-page .m17-deep-dive__copy > p,
  .m17-how-page .m17-proof-story__copy > p {
    font-size: 16px !important;
    line-height: 1.72 !important;
  }
  .m17-how-page .m17-mini-grid b { font-size: 12px !important; }
  .m17-how-page .m17-mini-grid small { font-size: 10px !important; }
  .m17-how-page .m17-mini-grid svg { width: 18px !important; height: 18px !important; }
  .m17-how-page .m17-proof-story__copy li { font-size: 12.5px !important; }
  .m17-how-page .m17-proof-screen footer span { font-size: 10px !important; }
  .m17-how-page .m17-local-strip b { font-size: 13px !important; }
  .m17-how-page .m17-local-strip span { font-size: 11.5px !important; }
  .m17-how-page .m17-local-strip > svg { width: 20px !important; height: 20px !important; }

  /* Ceník — selectors match the real calculator, included-services and volume markup. */
  .m17-pricing-page .m17-control > b { font-size: 13.5px !important; }
  .m17-pricing-page .m17-control button { font-size: 13px !important; }
  .m17-pricing-page .m17-calculator__summary > span,
  .m17-pricing-page .m17-calculator__summary > em { font-size: 11px !important; }
  .m17-pricing-page .m17-calculator__summary > p { font-size: 14px !important; }
  .m17-pricing-page .m17-calculator__summary > small { font-size: 10px !important; }
  .m17-pricing-page .m17-price-includes p {
    font-size: 14px !important;
    line-height: 1.68 !important;
  }
  .m17-pricing-page .m17-volume > div:first-child > p {
    font-size: 16px !important;
    line-height: 1.72 !important;
  }
  .m17-pricing-page .m17-volume__tiers span { font-size: 11px !important; }
  .m17-pricing-page .m17-volume__tiers b { font-size: 13px !important; }
  .m17-pricing-page .m17-volume__tiers small { font-size: 10px !important; }
  .m17-pricing-page .m17-faq summary { font-size: 14.5px !important; }
  .m17-pricing-page .m17-faq details p {
    font-size: 14px !important;
    line-height: 1.68 !important;
  }

  /* Podpora — cover topics, photo guide, FAQ and human-control block. */
  .m17-support-page .m17-help-topics p {
    font-size: 14px !important;
    line-height: 1.68 !important;
  }
  .m17-support-page .m17-help-topics article > a,
  .m17-support-page .m17-help-topics article > button { font-size: 12.5px !important; }
  .m17-support-page .m17-photo-guide__copy > p,
  .m17-support-page .m17-support-human > div:first-child > p {
    font-size: 16px !important;
    line-height: 1.72 !important;
  }
  .m17-support-page .m17-photo-guide__copy b { font-size: 12.5px !important; }
  .m17-support-page .m17-photo-guide__copy small,
  .m17-support-page .m17-photo-guide__visual span { font-size: 11px !important; }
  .m17-support-page .m17-faq summary { font-size: 14.5px !important; }
  .m17-support-page .m17-faq details p {
    font-size: 14px !important;
    line-height: 1.68 !important;
  }
  .m17-support-page .m17-human-card p { font-size: 13.5px !important; }
  .m17-support-page .m18-status-ok { font-size: 12px !important; }

  /* Pro firmy — include benefits, template board, use cases, flow and volume. */
  .m17-b2b-page .m17-b2b-benefits p,
  .m17-b2b-page .m17-b2b-uses p {
    font-size: 14px !important;
    line-height: 1.68 !important;
  }
  .m17-b2b-page .m17-b2b-workspace__copy > p,
  .m17-b2b-page .m17-b2b-volume > div:first-child > p {
    font-size: 16px !important;
    line-height: 1.72 !important;
  }
  .m17-b2b-page .m17-b2b-workspace__copy li { font-size: 12.5px !important; }
  .m17-b2b-page .m17-b2b-board header span { font-size: 10px !important; }
  .m17-b2b-page .m17-b2b-board header b,
  .m17-b2b-page .m17-b2b-board article b { font-size: 12.5px !important; }
  .m17-b2b-page .m17-b2b-board article small { font-size: 10.5px !important; }
  .m17-b2b-page .m17-b2b-board article em { font-size: 10px !important; }
  .m17-b2b-page .m18-board-action { font-size: 12px !important; }
  .m17-b2b-page .m17-b2b-flow article span { font-size: 11px !important; }
  .m17-b2b-page .m17-b2b-flow article b { font-size: 14px !important; }
  .m17-b2b-page .m17-b2b-flow article small {
    font-size: 11.5px !important;
    line-height: 1.5 !important;
  }
  .m17-b2b-page .m17-b2b-volume__cards small { font-size: 10.5px !important; }
  .m17-b2b-page .m17-b2b-volume__cards strong { font-size: 25px !important; }
  .m17-b2b-page .m17-b2b-volume__cards span { font-size: 11.5px !important; }

  /* Account Center — base CSS intentionally used 7–11 px microcopy. Lift every
     operational label to a real application scale while preserving density. */
  .m23-account-shell { font-size: 16px !important; }
  .m23-account-shell .m23-kicker,
  .m23-account-shell .m23-panel-head > div > span,
  .m23-account-shell .m23-profile-card small,
  .m23-account-shell .m23-device-card small,
  .m23-account-shell .m23-kpi-grid small,
  .m23-account-shell .m23-project-card__meta,
  .m23-account-shell .m23-proof-overview header small,
  .m23-account-shell .m23-order-list small,
  .m23-account-shell .m23-proof-list small,
  .m23-account-shell .m23-account-roadmap article > span {
    font-size: 11.5px !important;
    line-height: 1.35 !important;
  }
  .m23-account-shell .m23-account-nav nav button,
  .m23-account-shell .m23-primary,
  .m23-account-shell .m23-secondary,
  .m23-account-shell .m23-panel-head > button,
  .m23-account-shell .m23-project-card footer button,
  .m23-account-shell .m23-project-card footer button b,
  .m23-account-shell .m23-proof-list button,
  .m23-account-shell .m23-text-button {
    font-size: 14px !important;
  }
  .m23-account-shell .m23-profile-card b,
  .m23-account-shell .m23-device-card b,
  .m23-account-shell .m23-trust-strip b,
  .m23-account-shell .m23-nav-upgrade b,
  .m23-account-shell .m23-order-list b,
  .m23-account-shell .m23-privacy-list b,
  .m23-account-shell .m23-proof-flow > span b,
  .m23-account-shell .m23-account-roadmap article b,
  .m23-account-shell .m23-project-card__body > p,
  .m23-account-shell .m23-status {
    font-size: 13.5px !important;
    line-height: 1.42 !important;
  }
  .m23-account-shell .m23-profile-card p,
  .m23-account-shell .m23-device-card small,
  .m23-account-shell .m23-trust-strip small,
  .m23-account-shell .m23-nav-upgrade p,
  .m23-account-shell .m23-kpi-grid p,
  .m23-account-shell .m23-panel-head p,
  .m23-account-shell .m23-proof-overview > p,
  .m23-account-shell .m23-account-roadmap > p,
  .m23-account-shell .m23-empty p,
  .m23-account-shell .m23-order-list p,
  .m23-account-shell .m23-proof-list p,
  .m23-account-shell .m23-privacy-list p,
  .m23-account-shell .m23-loading p,
  .m23-account-shell .m23-settings-form small {
    font-size: 13px !important;
    line-height: 1.58 !important;
  }
  .m23-account-shell .m23-project-card__body h3,
  .m23-account-shell .m23-proof-list h3 { font-size: 19px !important; }
  .m23-account-shell .m23-settings-form label > span,
  .m23-account-shell label > span { font-size: 13px !important; }
  .m23-account-shell .m23-account-nav nav button svg,
  .m23-account-shell .m23-primary svg,
  .m23-account-shell .m23-secondary svg,
  .m23-account-shell .m23-panel-head button svg,
  .m23-account-shell .m23-device-card > svg,
  .m23-account-shell .m23-kpi-grid svg,
  .m23-account-shell .m23-trust-strip svg {
    width: 21px !important;
    height: 21px !important;
  }
  .m23-account-shell .m23-kpi-grid article > span,
  .m23-account-shell .m23-trust-strip article > span { width: 46px !important; height: 46px !important; }

  /* Desktop Studio — same optical scale as the homepage, without widening the
     inspector or changing the production canvas. */
  .m2-studio-app .m2-site-header nav a,
  .m2-studio-app .m2-header-link,
  .m2-studio-app .m2-header-cart,
  .m2-studio-app .m2-project-bar,
  .m2-studio-app .m2-project-bar input { font-size: 15.5px !important; }
  .m2-studio-app .m2-tool-rail button small { font-size: 12px !important; }
  .m2-studio-app .m2-tool-rail button svg { width: 24px !important; height: 24px !important; }
  .m2-studio-app .m2-canvas-toolbar > div:first-child b { font-size: 15.5px !important; }
  .m2-studio-app .m2-canvas-toolbar > div:first-child span,
  .m2-studio-app .m2-outline-label,
  .m2-studio-app .m3-pending-pill { font-size: 13px !important; }
  .m2-studio-app .m2-canvas-toolbar button svg { width: 21px !important; height: 21px !important; }
  .m2-studio-app .m2-panel-heading > span { font-size: 12px !important; }
  .m2-studio-app .m2-panel-heading p { font-size: 16px !important; line-height: 1.58 !important; }
  .m2-studio-app .m2-mode-list button b,
  .m2-studio-app .m6-cut-presets button b,
  .m2-studio-app .m3-tool-grid button b,
  .m2-studio-app .m7-art-presets button b,
  .m2-studio-app .m2-process-state b,
  .m2-studio-app .m5-mask-edit-card b,
  .m2-studio-app .m6-cut-compare b { font-size: 16px !important; }
  .m2-studio-app .m2-mode-list button small,
  .m2-studio-app .m6-cut-presets button small,
  .m2-studio-app .m3-tool-grid button small,
  .m2-studio-app .m7-art-presets button small,
  .m2-studio-app .m2-process-state small,
  .m2-studio-app .m5-mask-edit-card small,
  .m2-studio-app .m6-cut-compare small,
  .m2-studio-app .m6-price-benefit small,
  .m2-studio-app .m2-order-summary p { font-size: 13px !important; line-height: 1.45 !important; }
  .m2-studio-app .m2-range > span,
  .m2-studio-app .m2-field-grid label > span,
  .m2-studio-app .m6-price-head span,
  .m2-studio-app .m6-price-benefit b { font-size: 14px !important; }
  .m2-studio-app .m4-smart-cut-action,
  .m2-studio-app .m5-mask-edit-action,
  .m2-studio-app .m2-primary-button,
  .m2-studio-app .m3-step-nav button { font-size: 15px !important; }
  .m2-studio-app .m4-smart-cut-action svg,
  .m2-studio-app .m5-mask-edit-action svg,
  .m2-studio-app .m2-primary-button svg { width: 22px !important; height: 22px !important; }
}

@media (max-width: 768px) {
  /* Public information pages: calm mobile scale with page-specific coverage. */
  .m17-page .m17-section-head > p {
    font-size: 15.5px !important;
    line-height: 1.62 !important;
  }
  .m17-page .m17-link,
  .m17-page .ms-button { font-size: 14.5px !important; }

  .m17-products-page .m17-product-row__copy > p,
  .m17-products-page .m17-dark-story p,
  .m17-how-page .m17-process__copy p,
  .m17-how-page .m17-deep-dive__copy > p,
  .m17-how-page .m17-proof-story__copy > p,
  .m17-pricing-page .m17-volume > div:first-child > p,
  .m17-support-page .m17-photo-guide__copy > p,
  .m17-support-page .m17-support-human > div:first-child > p,
  .m17-b2b-page .m17-b2b-workspace__copy > p,
  .m17-b2b-page .m17-b2b-volume > div:first-child > p {
    font-size: 15px !important;
    line-height: 1.62 !important;
  }
  .m17-products-page .m17-product-facts span,
  .m17-products-page .m17-dark-story li,
  .m17-how-page .m17-proof-story__copy li,
  .m17-b2b-page .m17-b2b-workspace__copy li { font-size: 12.5px !important; }
  .m17-how-page .m17-mini-grid b { font-size: 12px !important; }
  .m17-how-page .m17-mini-grid small,
  .m17-how-page .m17-proof-card small { font-size: 10.5px !important; }

  .m17-pricing-page .m17-control > b { font-size: 13px !important; }
  .m17-pricing-page .m17-control button { font-size: 13px !important; }
  .m17-pricing-page .m17-price-includes p,
  .m17-pricing-page .m17-faq details p,
  .m17-support-page .m17-help-topics p,
  .m17-support-page .m17-faq details p,
  .m17-b2b-page .m17-b2b-benefits p,
  .m17-b2b-page .m17-b2b-uses p {
    font-size: 14px !important;
    line-height: 1.62 !important;
  }
  .m17-pricing-page .m17-faq summary,
  .m17-support-page .m17-faq summary { font-size: 14.5px !important; }
  .m17-support-page .m17-photo-guide__copy b { font-size: 12.5px !important; }
  .m17-support-page .m17-photo-guide__copy small,
  .m17-support-page .m17-photo-guide__visual span,
  .m17-b2b-page .m17-b2b-flow article small { font-size: 11px !important; }
  .m17-b2b-page .m17-b2b-board article b,
  .m17-b2b-page .m17-b2b-flow article b { font-size: 13px !important; }
  .m17-b2b-page .m17-b2b-board article small,
  .m17-b2b-page .m17-b2b-board article em,
  .m17-b2b-page .m17-b2b-volume__cards span { font-size: 10.5px !important; }

  /* Account Center on iPhone and iPad. */
  .m23-account-shell .m23-kicker,
  .m23-account-shell .m23-panel-head > div > span,
  .m23-account-shell .m23-profile-card small,
  .m23-account-shell .m23-device-card small,
  .m23-account-shell .m23-kpi-grid small,
  .m23-account-shell .m23-project-card__meta,
  .m23-account-shell .m23-order-list small,
  .m23-account-shell .m23-proof-list small { font-size: 11.5px !important; }
  .m23-account-shell .m23-account-nav nav button,
  .m23-account-shell .m23-primary,
  .m23-account-shell .m23-secondary,
  .m23-account-shell .m23-panel-head > button,
  .m23-account-shell .m23-project-card footer button,
  .m23-account-shell .m23-text-button { font-size: 14px !important; }
  .m23-account-shell .m23-profile-card b,
  .m23-account-shell .m23-device-card b,
  .m23-account-shell .m23-trust-strip b,
  .m23-account-shell .m23-nav-upgrade b,
  .m23-account-shell .m23-order-list b,
  .m23-account-shell .m23-privacy-list b,
  .m23-account-shell .m23-project-card__body > p,
  .m23-account-shell .m23-status { font-size: 13.5px !important; }
  .m23-account-shell .m23-profile-card p,
  .m23-account-shell .m23-trust-strip small,
  .m23-account-shell .m23-nav-upgrade p,
  .m23-account-shell .m23-kpi-grid p,
  .m23-account-shell .m23-panel-head p,
  .m23-account-shell .m23-proof-overview > p,
  .m23-account-shell .m23-account-roadmap > p,
  .m23-account-shell .m23-empty p,
  .m23-account-shell .m23-order-list p,
  .m23-account-shell .m23-proof-list p,
  .m23-account-shell .m23-privacy-list p { font-size: 13px !important; line-height: 1.55 !important; }
  .m23-account-shell .m23-settings-form label > span,
  .m23-account-shell label > span { font-size: 13px !important; }
  .m23-account-shell .m23-account-nav nav button svg,
  .m23-account-shell .m23-primary svg,
  .m23-account-shell .m23-secondary svg,
  .m23-account-shell .m23-kpi-grid svg,
  .m23-account-shell .m23-trust-strip svg { width: 21px !important; height: 21px !important; }
}
