/* The JOV apps' desktop pages (/cleaner/, /control/): what they add to the desktop engine's
   stylesheet (web/os/assets/css/os.css, loaded first). The previews' own looks are in cleaner.css
   and control.css. Logical properties throughout. */

.fam-icon { display: block; max-width: 100%; height: auto; border-radius: 22.5%; user-select: none; -webkit-user-drag: none; }
.mb-jov .fam-icon { border-radius: 5px; }
.toast-icon .fam-icon { border-radius: 8px; }

/* Dock and desktop icons */
.tile-product { background: none; box-shadow: none; }
.tile-product .fam-icon { width: 100%; height: 100%; border-radius: 22.5%; filter: drop-shadow(0 2px 4px rgb(20 16 60 / 25%)); }
.desk-icon-art .fam-icon { width: 56px; height: 56px; filter: drop-shadow(0 4px 6px rgb(20 16 60 / 25%)); }
.fam-disk {
  position: absolute; inset: 6px 4px 8px; display: grid; place-items: center; border-radius: 12px;
  background: #f4f3f9; border: 1px solid rgb(20 18 40 / 15%);
}
.fam-disk .fam-icon { width: 30px; height: 30px; border-radius: 7px; }
.fam-desk-tile {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  color: #fff; background: rgb(255 255 255 / 22%); border: 1px solid rgb(255 255 255 / 45%);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgb(20 16 60 / 25%);
}

/* The Download window */
.fam-dl .dl-icon .fam-icon { width: 104px; height: 104px; filter: drop-shadow(0 10px 18px rgb(20 16 60 / 28%)); }
.fam-step-body { padding-inline-start: 36px; display: grid; gap: 6px; min-width: 0; }
.fam-step-body .shot-zoom { margin-block: 4px; }
.fam-step-body p { color: var(--text-2); font-size: 13px; line-height: 1.5; }
.about .fam-icon { width: 84px; height: 84px; }

/* The preview banner (both previews) */
.fam-banner {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; padding: 8px 12px;
  border-radius: 10px; font-size: 12.5px; line-height: 1.35; color: var(--warning); background: var(--warning-soft);
}
.fam-banner svg { flex: none; }
.fam-banner span:not(.fam-banner-tag) { flex: 1 1 12em; min-width: 0; }
.fam-banner-tag { padding: 2px 8px; border-radius: 999px; font-weight: 650; font-size: 11px; background: color-mix(in srgb, var(--warning) 14%, transparent); }

/* Phone layout */
.ph.fam .ph-hero-mark .fam-icon { width: 84px; height: 84px; }
.ph.fam .ph-brand .fam-icon { width: 28px; height: 28px; border-radius: 7px; }
.ph.fam .ph-demo-icon .fam-icon { width: 52px; height: 52px; }
.ph.fam .ph-hero-mark { filter: drop-shadow(0 12px 24px rgb(20 16 60 / 30%)); }
.fam-dl-link { text-decoration: none; }
/* A whole 44 px tap target, though it sits in a sentence. */
.fam-ph-signup { display: inline-flex; align-items: center; min-height: 44px; }
.fam-ph-steps { margin: 14px 0 0; padding-inline-start: 20px; display: grid; gap: 8px; color: var(--text-2); font-size: 14px; line-height: 1.5; }
.sheet.fam .sheet-body { padding: 12px; }

/* How to Use (family/apps/readme.js) */
.fam-readme { min-width: 0; }
.fam-readme h3 { font-size: 15px; font-weight: 700; margin: 18px 0 8px; }
.fam-rm-lead { font-size: 15px; }
.fam-rm-steps { margin: 0 0 10px; padding-inline-start: 22px; display: grid; gap: 8px; font-size: 14px; line-height: 1.55; }
.fam-rm-terms { margin: 0 0 10px; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 14px; font-size: 14px; line-height: 1.5; }
.fam-rm-terms dt { font-weight: 650; }
.fam-rm-terms dd { margin: 0; }
.fam-rm-shot { margin: 6px 0 10px; }
.fam-rm-shot figcaption { margin-top: 6px; font-size: 12.5px; opacity: .75; }
.fam-rm-note { font-size: 13.5px; opacity: .85; }
.fam-readme .panel-actions { margin-top: 18px; }
@media (max-width: 520px) {
  .fam-rm-terms { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .fam-rm-terms dd { margin-bottom: 8px; }
}

/* The phone layout's install steps, each with its picture; How to Use and Help cards */
.fam-ph-steps li { min-width: 0; }
.fam-ph-shot { margin-top: 8px; }
.fam-ph-learn-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-text); }
