/* Simplified interface illustrations; all content is sample data. */
.case-interfaces { background: #eaf0f2; color: #163348; --muted: #506979; }
.mylf-showcase { margin: 0; }
.mylf-demo { --mylf-gradient: linear-gradient(90deg, #087a70, #1266a4); display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: center; gap: 24px; padding: 30px 0; color: #0e2340; background: radial-gradient(ellipse at 70% 65%, #b7dedf, transparent 65%); }
.mylf-desktop { width: 100%; border: 1px solid #cbd8df; border-radius: 16px; overflow: hidden; background: #f5f7fa; box-shadow: 0 18px 50px #193a4d14; }
.mylf-appbar { display: flex; align-items: center; gap: 20px; padding: 19px 24px; background: white; border-bottom: 1px solid #e8edf2; }
.mylf-wordmark { display: inline-flex; flex-direction: column; color: #c92266; font-size: 28px; line-height: .9; font-weight: 700; letter-spacing: -.07em; }
.mylf-wordmark > span { color: #526176; font-size: 14px; line-height: 1.8; letter-spacing: .22em; }
.mylf-nav { display: flex; gap: 6px; margin-inline: auto; font-size: 14px; color: #52657b; }
.mylf-nav > span { padding: 8px 12px; border-radius: 30px; }
.mylf-nav .is-active { background: #def5f1; color: #087a70; font-weight: 600; }
.mylf-avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #e7f1fc; color: #1266a4; font-size: 14px; }
.mylf-dashboard { padding: 26px 24px 30px; }
.mylf-greeting > span { display: block; color: #526176; font-size: 14px; letter-spacing: .12em; }
.mylf-greeting > strong { display: block; font-size: 23px; line-height: 1.3; margin-top: 6px; letter-spacing: -.035em; }
.mylf-dashboard-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.mylf-card { min-width: 0; border: 1px solid #e8edf2; border-radius: 14px; padding: 16px 12px; background: white; }
.mylf-card-title { display: block; font-size: 16px; line-height: 1.4; letter-spacing: -.02em; }
.mylf-program { margin-top: 22px; }
.mylf-program > span { display: block; font-size: 14px; font-weight: 600; }
.mylf-program > small { display: block; margin-top: 3px; color: #526176; font-size: 14px; }
.mylf-meta, .mylf-calorie-meta { display: flex; justify-content: space-between; gap: 4px; margin-top: 14px; font-size: 14px; }
.mylf-meta { color: #526176; }
.mylf-meta b { color: #0e2340; }
.mylf-cta { display: block; margin-top: 20px; padding: 10px 5px; color: white; background: #c92266; border-radius: 9px; text-align: center; font-size: 14px; font-weight: 600; }
.mylf-calories { background: var(--mylf-gradient); color: white; border-color: transparent; }
.mylf-ring { width: 112px; height: 112px; padding: 0; border-radius: 50%; background: transparent; border: 8px solid white; margin: 22px auto 18px; }
.mylf-ring > div { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: 50%; background: transparent; }
.mylf-ring strong { font-size: 24px; line-height: 1.2; letter-spacing: -.03em; }
.mylf-ring small { font-size: 14px; }
.mylf-card-heading { display: flex; align-items: center; gap: 6px; justify-content: space-between; }
.mylf-card-heading > small { white-space: nowrap; color: #526176; font-size: 14px; }
.mylf-task { display: flex; align-items: center; gap: 7px; padding: 17px 0; border-bottom: 1px solid #eff2f6; }
.mylf-task:last-child { border-bottom: 0; padding-bottom: 0; }
.mylf-task-icon { display: grid; place-items: center; flex-shrink: 0; width: 24px; height: 24px; border-radius: 8px; color: #087a70; background: #def5f1; font-size: 14px; }
.mylf-task:nth-child(3) .mylf-task-icon { color: #a91f59; background: #fce4ee; }
.mylf-task > div { min-width: 0; }
.mylf-task b { display: block; font-size: 14px; line-height: 1.4; }
.mylf-task small { display: block; font-size: 14px; line-height: 1.5; color: #526176; margin-top: 2px; }
.mylf-check { flex-shrink: 0; width: 13px; height: 13px; border: 1px solid #64748b; border-radius: 50%; margin-left: auto; }
.mylf-check.is-done { display: grid; place-items: center; background: #087a70; border-color: #087a70; color: white; font-size: 14px; }
.mylf-library { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.mylf-library > div { min-width: 0; padding: 15px; border-radius: 12px; background: #e5eef8; }
.mylf-library > div:nth-child(2) { background: #e1f1ec; }
.mylf-library > div:nth-child(3) { background: #f9e6ee; }
.mylf-library-icon { display: inline-block; margin-bottom: 12px; color: #245f83; font-size: 25px; line-height: 1; }
.mylf-library b { display: block; font-size: 14px; }
.mylf-library small { display: block; color: #52657b; font-size: 14px; margin-top: 4px; }
.mylf-phone { width: 100%; max-width: 280px; min-height: 0; aspect-ratio: 1 / 1.95; display: flex; flex-direction: column; position: relative; border: 6px solid #183348; border-radius: 32px; padding: 22px 0 18px; background: #f5f7fa; box-shadow: 0 18px 45px #16334830; }
.mylf-phone-speaker { position: absolute; top: 8px; left: calc(50% - 23px); width: 46px; height: 4px; border-radius: 10px; background: #183348; }
.mylf-phone-top { display: flex; align-items: center; justify-content: space-between; padding: 8px 16px 12px; background: white; border-bottom: 1px solid #e8edf2; }
.mylf-phone-top .mylf-wordmark { font-size: 25px; }
.mylf-diary { padding: 14px 12px; }
.mylf-kicker { font-size: 14px; color: #526176; letter-spacing: .08em; }
.mylf-diary > strong { display: block; margin-top: 4px; font-size: 20px; line-height: 1.3; letter-spacing: -.03em; }
.mylf-date { display: flex; justify-content: space-between; align-items: center; padding: 8px 2px; }
.mylf-date b { font-size: 14px; }
.mylf-date > span { font-size: 20px; color: #1673c4; }
.mylf-target { padding: 12px; background: white; border: 1px solid #e8edf2; border-radius: 12px; }
.mylf-target > b { font-size: 14px; }
.mylf-macros { display: flex; justify-content: space-between; margin-top: 12px; }
.mylf-macros > span { font-size: 14px; color: #526176; }
.mylf-macros b { display: block; font-size: 14px; color: #0e2340; }
.mylf-progress { height: 5px; margin-top: 12px; border-radius: 10px; background: #eff2f6; }
.mylf-progress > span { display: block; width: 69%; height: 100%; border-radius: inherit; background: var(--mylf-gradient); }
.mylf-target > small { display: block; margin-top: 8px; font-size: 14px; color: #526176; }
.mylf-meal { border: 1px solid #e8edf2; border-left: 3px solid #12b5a5; border-radius: 12px; background: white; padding: 12px; margin-top: 10px; }
.mylf-meal > div:first-child { display: flex; justify-content: space-between; font-size: 14px; }
.mylf-meal > small { display: block; font-size: 14px; color: #526176; margin-top: 3px; }
.mylf-food { border-top: 1px solid #eff2f6; padding-top: 10px; margin-top: 10px; }
.mylf-food > span { display: block; font-size: 14px; font-weight: 600; }
.mylf-food > small { display: block; color: #526176; font-size: 14px; margin-top: 3px; }
.mylf-entry { display: block; border-radius: 8px; padding: 7px; margin-top: 10px; background: var(--mylf-gradient); color: #fff; text-align: center; font-size: 14px; font-weight: 600; }
.mylf-meal.is-compact { border-left-color: #1f8fe0; padding-block: 10px; }
.mylf-meal.is-compact:last-child { border-left-color: #ec2a6b; }
.mylf-showcase figcaption { padding-top: 28px; color: #506979; font-size: .875rem; line-height: 1.8; max-width: 740px; }
.mylf-showcase figcaption strong { display: block; color: #163348; margin-bottom: 3px; }
.mylf-design-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px; margin-top: 34px; padding-top: 25px; border-top: 1px solid #bdcdd7; }
.mylf-design-notes p { font-size: .9375rem; line-height: 1.8; color: #506979; }
.mylf-design-notes b { display: block; margin-bottom: 8px; color: #163348; font-size: 1rem; }
@media (max-width: 1250px) {
  .mylf-dashboard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mylf-card { padding: 18px; }
  .mylf-task b { font-size: 14px; }
  .mylf-task small { font-size: 14px; }
}
@media (max-width: 1000px) {
  .mylf-demo { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .mylf-phone { margin-inline: auto; }
}
@media (max-width: 620px) {
  .mylf-demo { padding-block: 5px 0; }
  .mylf-desktop { border-radius: 12px; }
  .mylf-appbar { padding: 15px; gap: 8px; }
  .mylf-nav { gap: 2px; }
  .mylf-nav > span { padding: 6px; font-size: 14px; }
  .mylf-nav { flex-wrap: wrap; }
  .mylf-appbar { flex-wrap: wrap; }
  .mylf-avatar { display: none; }
  .mylf-dashboard { padding: 18px 12px; }
  .mylf-greeting > strong { font-size: 20px; }
  .mylf-dashboard-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .mylf-card { padding: 13px 10px; }
  .mylf-card-title { font-size: 14px; }
  .mylf-ring { width: 90px; height: 90px; }
  .mylf-ring strong { font-size: 20px; }
  .mylf-program > span { font-size: 14px; }
  .mylf-meta, .mylf-calorie-meta { flex-wrap: wrap; }
  .mylf-task { gap: 5px; padding-block: 13px; }
  .mylf-task b { font-size: 14px; }
  .mylf-task small { font-size: 14px; }
  .mylf-task-icon { width: 20px; height: 20px; font-size: 14px; }
  .mylf-check { width: 11px; height: 11px; }
  .mylf-library { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .mylf-library > div { padding: 10px 7px; }
  .mylf-library b { font-size: 14px; }
  .mylf-library small { font-size: 14px; }
  .mylf-design-notes { grid-template-columns: 1fr; gap: 20px; }
}

/* Keep the type legible rather than shrinking a screenshot to fit. */
.case-page .eyebrow, .case-page .back-link, .case-page .tags li,
.case-page .case-facts dt, .case-page .workflow-number, .case-page .footer p,
.case-page .case-result > small, .case-page .workflow-map figcaption,
.case-page .brand-word small { font-size: .875rem; }
.mylf-demo { line-height: 1.5; }
.mylf-home-indicator { position: absolute; bottom: 7px; left: 35%; width: 30%; height: 4px; border-radius: 10px; background: #183348; }
.mylf-phone-screen { min-height: 0; flex: 1; overflow: auto; border-radius: 0 0 18px 18px; scrollbar-width: thin; scrollbar-color: #526176 #f5f7fa; }
.mylf-phone-top { padding-block: 10px; }

.case-page .delivery-grid > div > span, .case-page .contact-person { font-size: .875rem; }

.case-page .masthead nav a { font-size: .875rem; }
/* Reflow when text spacing or zoom increases the space each label needs. */
.case-page .masthead { flex-wrap: wrap; gap: 12px 24px; }
.case-page .masthead nav { flex-wrap: wrap; gap: 8px 20px; }
.case-page .case-facts { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.case-page .next-case { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.mylf-appbar, .mylf-nav { flex-wrap: wrap; }
.mylf-nav { min-width: 0; }
