/* Product previews and features are local to the Our Apps page. */
.apps-page .app-grid{align-items:stretch}
.apps-page .app-card{scroll-margin-top:145px}
.apps-page .filter,.apps-page .filter span,.apps-page .project-count{font-size:14px}
.app-preview{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:16px;width:100%;padding:20px 22px 16px;border:0;border-bottom:1px solid var(--line);background:#eaf0fc;text-align:left;flex:0 0 auto;overflow:hidden}
.preview-money{background:linear-gradient(145deg,#e1ebfb,#f1f5fd)}
.preview-play{background:linear-gradient(145deg,#e5eafb,#f0edfc)}
.preview-scan{background:linear-gradient(145deg,#e4f1f3,#f0f7fa)}
.preview-label{font-size:14px;line-height:1.6;font-weight:600;color:var(--ink)}
.preview-screens{display:flex;align-items:center;justify-content:center;gap:14px;min-width:0;height:258px}
.preview-screens img{width:auto;max-width:calc(50% - 7px);height:auto;max-height:100%;object-fit:contain;border:1px solid #c6d2e4;border-radius:11px;box-shadow:0 7px 15px #0b22491a;transition:transform .2s var(--ease)}
.preview-screens.preview-screens-three{gap:8px}
.preview-screens.preview-screens-three img{max-width:calc(33.333% - 6px)}
.app-preview:hover .preview-screens img{transform:translateY(-3px)}
.preview-hint{align-self:center;font-size:14px;font-weight:600;line-height:1.6;color:var(--blue-deep);text-decoration:underline;text-underline-offset:4px}
.app-preview:focus-visible{outline-offset:-4px;outline-width:3px}
.apps-page .app-title-row{align-items:flex-start;margin-bottom:14px}
.apps-page .app-title-row h3{font-size:21px}
.apps-page .category-name{font-size:14px;letter-spacing:0;line-height:1.55;text-transform:none}
.apps-page .card-description{flex:0 0 auto;margin-bottom:16px;line-height:1.8}
.app-feature-list{list-style:none;display:grid;gap:9px;padding:0;margin:0 0 22px;font-size:16px;line-height:1.65;color:#445573}
.app-feature-list li{position:relative;padding-left:20px}
.app-feature-list li::before{content:'✓';position:absolute;left:0;top:0;color:var(--orange-dark);font-weight:600}
.apps-page .app-actions{margin-top:auto;gap:12px;justify-content:flex-start;padding-top:16px}
.apps-page .app-store-link{padding:12px 15px;font-size:14px;min-height:44px}
.apps-page .app-website-link{display:inline-flex;align-items:center;padding:0;min-height:44px;font-size:14px}
.apps-page .app-detail-button{font-size:14px;min-height:44px}

#app-dialog{width:min(960px,calc(100% - 40px));padding:30px}
#app-dialog .dialog-close{position:sticky;top:0;float:right;right:auto;margin:-14px -14px 0 8px;z-index:2;background:#fff}
.app-dialog-heading{display:flex;align-items:center;gap:16px;padding-right:24px;margin-bottom:24px}
.app-dialog-heading .dialog-app-icon{margin:0;flex:0 0 60px;width:60px;height:60px}
.app-dialog-heading .dialog-eyebrow{font-size:14px;line-height:1.5;letter-spacing:0;margin:0 0 5px}
.app-dialog-heading .dialog-title{font-size:32px;line-height:1.25;margin:0}
.app-dialog-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:30px;align-items:start}
.app-gallery{padding:18px;background:#f1f5fc;border:1px solid var(--line);border-radius:16px;min-width:0}
.app-gallery figure{margin:0}
.app-gallery figure>img{width:auto;max-width:100%;height:410px;object-fit:contain;margin-inline:auto;border-radius:9px}
.app-gallery-multiple figure>img{height:360px}
.app-gallery figcaption{font-size:14px;line-height:1.6;text-align:center;margin-top:12px;color:var(--muted)}
.screenshot-picker{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:12px}
.app-gallery-multiple .screenshot-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.app-gallery-multiple .screenshot-picker button:last-child:nth-child(odd){grid-column:1/-1}
.screenshot-picker button{flex:1 1 110px;min-height:44px;padding:8px 10px;border:1px solid #cbd7ed;border-radius:8px;background:white;color:var(--blue-deep);font-size:14px;line-height:1.5}
.screenshot-picker button[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:white}
.app-dialog-details .dialog-description{font-size:16px;line-height:1.8;margin-bottom:22px}
.app-dialog-details h3{font-size:18px;line-height:1.5;margin:0 0 12px}
.app-dialog-details .dialog-features{font-size:16px;line-height:1.8;margin:0 0 24px;padding-left:20px}
.dialog-app-links{display:flex;flex-wrap:wrap;align-items:center;gap:14px 20px}
.dialog-app-links .button,.dialog-app-links .text-link{font-size:14px}
.app-support-link{display:inline-block;font-size:14px;line-height:1.7;margin-top:22px;text-decoration:underline;text-underline-offset:4px}
.app-dialog-details .dialog-note{font-size:14px;line-height:1.8;color:var(--muted)}

@media(min-width:701px) and (max-width:950px){
  .app-preview{border-bottom:0;border-right:1px solid var(--line);justify-content:center;padding-inline:18px}
  .preview-screens{height:280px;gap:10px}
  .preview-screens img{max-width:calc(50% - 5px)}
}
@media(max-width:700px){
  .apps-page .app-card{scroll-margin-top:116px}
  .app-preview{padding:18px 20px 16px;gap:14px}
  .preview-screens{height:250px;gap:12px}
  .preview-screens img{max-width:calc(50% - 6px)}
  .apps-page .app-title-row h3{font-size:22px}
  #app-dialog{width:calc(100% - 28px);padding:24px;max-height:calc(100dvh - 28px)}
  #app-dialog .dialog-close{margin:-10px -10px 0 8px}
  .app-dialog-heading{gap:12px;margin-bottom:20px;padding-right:14px}
  .app-dialog-heading .dialog-app-icon{flex-basis:46px;width:46px;height:46px;border-radius:12px}
  .app-dialog-heading .dialog-title{font-size:25px;letter-spacing:-.7px}
  .app-dialog-layout{grid-template-columns:1fr;gap:22px}
  .app-gallery{padding:16px}
  .app-gallery figure>img{height:auto;max-height:460px}
  .app-gallery-multiple figure>img{max-height:380px}
  .app-dialog-details .dialog-description{margin-bottom:18px}
}
@media(max-width:370px){
  .app-preview{padding-inline:16px}
  .preview-screens{height:225px;gap:10px}
  .apps-page .card-content{padding:21px}
  .apps-page .app-title-row h3{font-size:20px}
  #app-dialog{padding:20px}
  .app-dialog-heading{display:block;padding-right:20px}
  .app-dialog-heading .dialog-app-icon{margin-bottom:12px}
}
