/* Public screenshots styles. See docs/PUBLIC_STYLING.md. */
.public-site .app-download__qr figcaption {
  margin-top: 1rem;
  color: var(--muted);
  font-size: var(--type-caption);
}
.public-site .screenshot-highlight--template-productivity {
  left: 8%;
  top: 11.2%;
  width: 31.5%;
  height: 4%;
}
.public-site .screenshot-highlight--template-health {
  left: 8%;
  top: 11.2%;
  width: 23%;
  height: 4%;
}
.public-site .lesson-figure {
  margin: 2rem auto;
  max-width: 450px;
  text-align: center;
}
.public-site .lesson-figure__preview {
  margin: 0;
}
.public-site .screenshot-window {
  max-width: 380px;
  margin-inline: auto;
  border: 1px solid #c4c0b9;
  border-radius: 20px;
  overflow: hidden;
  background: #f0f0f0;
}
.public-site .screenshot-window img {
  display: block;
  width: 100%;
}
.public-site .screenshot-window--product {
  max-width: none;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}
.public-site .screenshot-preview-link {
  display: block;
  cursor: zoom-in;
}
.public-site .screenshot-window--templates {
  aspect-ratio: 1320 / 1680;
}
.public-site .screenshot-window--reading {
  aspect-ratio: 1320 / 1090;
}
.public-site .screenshot-window--walk-form {
  aspect-ratio: 1206 / 2180;
}
.public-site .screenshot-window--walk-form .screenshot-art {
  transform: translateY(-14%);
}
.public-site .screenshot-window--weekly-period {
  aspect-ratio: 1206 / 1500;
}
.public-site .screenshot-window--weekly-period .screenshot-art {
  transform: translateY(-18%);
}
.public-site .screenshot-window--walk {
  aspect-ratio: 1320 / 630;
}
.public-site .screenshot-window--walk .screenshot-art {
  transform: translateY(-53%);
}
.public-site .screenshot-window--counter-form {
  aspect-ratio: 1170 / 1430;
}
.public-site .screenshot-window--counter-form .screenshot-art {
  transform: translateY(-31%);
}
.public-site .screenshot-window--practice-name {
  aspect-ratio: 1206 / 850;
}
.public-site .screenshot-window--practice-name .screenshot-art {
  transform: translateY(-15%);
}
.public-site .screenshot-window--practice-type {
  aspect-ratio: 1170 / 590;
}
.public-site .screenshot-window--practice-type .screenshot-art {
  transform: translateY(-64%);
}
.public-site .screenshot-window--practice-period {
  aspect-ratio: 1206 / 720;
}
.public-site .screenshot-window--practice-period .screenshot-art {
  transform: translateY(-71%);
}
.public-site .screenshot-window--counter-period {
  aspect-ratio: 1206 / 980;
}
.public-site .screenshot-window--counter-settings {
  aspect-ratio: 1170 / 1640;
}
.public-site .screenshot-window--counter-settings .screenshot-art {
  transform: translateY(-30%);
}
.public-site .screenshot-window--events-tour {
  aspect-ratio: 1320 / 2180;
}
.public-site .screenshot-window--count-adjust {
  aspect-ratio: 1170 / 1600;
}
.public-site .screenshot-window--reminders {
  aspect-ratio: 1206 / 1860;
}
.public-site .screenshot-window--quiet-hours {
  aspect-ratio: 1206 / 1450;
}
.public-site .screenshot-window--notifications-on {
  aspect-ratio: 1206 / 1160;
}
.public-site .screenshot-window--notifications-off {
  aspect-ratio: 1206 / 900;
}
.public-site :is(.screenshot-window--notifications-on, .screenshot-window--notifications-off) .screenshot-art {
  transform: translateY(-45%);
}
.public-site .screenshot-window--encouragements {
  aspect-ratio: 1206 / 440;
}
.public-site .screenshot-window--encouragements .screenshot-art {
  transform: translateY(-79.5%);
}
.public-site .screenshot-window--account-profile {
  aspect-ratio: 1206 / 1480;
}
.public-site .screenshot-window--account-plan {
  aspect-ratio: 1206 / 1220;
}
.public-site .screenshot-window--account-plan .screenshot-art {
  transform: translateY(-24%);
}
.public-site .screenshot-window--account-restore {
  aspect-ratio: 1206 / 510;
}
.public-site .screenshot-window--account-restore .screenshot-art {
  transform: translateY(-48.8%);
}
.public-site .screenshot-highlight--count-menu {
  left: 4%;
  top: 53%;
  width: 92%;
  height: 21%;
}
.public-site figcaption {
  margin-top: 1rem;
  color: var(--muted);
  font-size: var(--type-caption);
}
.public-site .image-link {
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  min-height: var(--touch-target);
  font-size: 0.8rem;
}
.public-site .screenshot-art {
  position: relative;
}
.public-site .screenshot-highlight {
  position: absolute;
  border: 3px solid var(--focus);
  box-shadow: 0 0 0 2px white;
  border-radius: var(--radius-pill);
  pointer-events: none;
}
.public-site .screenshot-highlight > span {
  position: absolute;
  top: -16px;
  left: -16px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--focus);
  color: white;
  font:
    700 14px/1 ui-sans-serif,
    system-ui,
    sans-serif;
}
.public-site .screenshot-highlight--events-tab {
  left: 18%;
  top: 91%;
  width: 14%;
  height: 5%;
}
.public-site .screenshot-highlight--add-event {
  left: 88%;
  top: 6.2%;
  width: 10%;
  height: 4%;
}
.public-site .screenshot-highlight--browse {
  left: 4%;
  top: 13.4%;
  width: 92%;
  height: 6.5%;
}
.public-site .screenshot-window--home {
  aspect-ratio: 1320 / 900;
}
.public-site .screenshot-window--home .screenshot-art {
  margin-top: -149.0909%;
}
.public-site .screenshot-window--add-event {
  aspect-ratio: 1320 / 520;
}
.public-site .screenshot-window--browse {
  aspect-ratio: 1206 / 750;
}
.public-site .screenshot-window--save-event {
  aspect-ratio: 1206 / 300;
}
.public-site .screenshot-window--setup-save {
  aspect-ratio: 1170 / 273;
}
.public-site .screenshot-window--setup-save .screenshot-highlight--save-event {
  top: 7%;
  height: 3.25%;
}
.public-site .screenshot-highlight--save-event {
  left: 82%;
  top: 7.25%;
  width: 14%;
  height: 3.5%;
}
.public-site .screenshot-highlight--counter-plus {
  left: 72%;
  top: 28%;
  width: 11%;
  height: 23%;
}
.public-site .screenshot-highlight--counter-history {
  left: 4%;
  top: 76%;
  width: 92%;
  height: 21%;
}
.public-site .instruction-list .lesson-figure {
  margin-block: 1rem 2rem;
}
.public-site dialog:not([open]) {
  display: none;
}
.public-site .image-dialog {
  position: fixed;
  inset: 0;
  width: min(960px, calc(100% - 1rem));
  max-width: none;
  max-height: calc(100vh - 1rem);
  max-height: calc(100dvh - 1rem);
  margin: auto;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  overflow: auto;
  overscroll-behavior: contain;
}
.public-site .image-dialog::backdrop {
  background: #181611cc;
}
.public-site .image-dialog__header {
  position: sticky;
  top: -1rem;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 0.75rem;
  background: var(--paper);
}
.public-site .image-dialog h2 {
  font-size: 1.2rem;
  margin: 0;
}
.public-site .image-dialog__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-block: 0.5rem;
}
.public-site .image-dialog__button {
  min-height: var(--touch-target);
  padding: 0.5rem 1rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius-control);
  background: white;
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.public-site .image-dialog__button:hover {
  background: var(--lilac);
}
.public-site .image-dialog__tools a {
  padding-block: 0.5rem;
  min-height: var(--touch-target);
  text-decoration: underline;
}
.public-site .image-dialog .image-dialog__hint {
  margin-block: 0.75rem;
  font-size: var(--type-caption);
  color: var(--muted);
}
.public-site .image-dialog__viewport {
  max-height: 65vh;
  max-height: 65dvh;
  overflow: auto;
  overscroll-behavior: contain;
  background: white;
}
.public-site .image-dialog__viewport .screenshot-art {
  width: min(100%, 600px);
  margin-inline: auto;
}
.public-site .image-dialog__viewport--zoomed .screenshot-art {
  width: 200%;
  max-width: none;
  margin: 0;
}
.public-site .image-dialog__viewport .screenshot-art img {
  width: 100%;
  max-width: none;
}
html:has(.image-dialog[open]) {
  overflow: hidden;
}
.public-site .screenshot-window--challenge-search {
  aspect-ratio: 1206 / 1250;
}
.public-site .screenshot-window--challenge-card {
  aspect-ratio: 1206 / 1400;
}
.public-site .screenshot-window--challenge-menu {
  aspect-ratio: 1206 / 1450;
}
.public-site .screenshot-window--challenge-menu .screenshot-art {
  transform: translateY(-35%);
}
.public-site .screenshot-window--challenge-count {
  aspect-ratio: 1206 / 1660;
}
.public-site .screenshot-highlight--challenge-tab {
  left: 53%;
  top: 90%;
  width: 11%;
  height: 4.5%;
}
.public-site .screenshot-highlight--challenge-save,
.public-site .screenshot-highlight--count-save {
  left: 85%;
  top: 6.5%;
  width: 14%;
  height: 4%;
}
.public-site .screenshot-highlight--challenge-count-menu {
  left: 4%;
  top: 57%;
  width: 91%;
  height: 5%;
}
.public-site .screenshot-highlight--challenge-details-menu {
  left: 4%;
  top: 70.5%;
  width: 91%;
  height: 5%;
}
.public-site .screenshot-highlight--challenge-today {
  left: 14%;
  top: 33%;
  width: 80%;
  height: 5.5%;
}
.public-site .screenshot-highlight--challenge-overall {
  left: 14%;
  top: 41%;
  width: 80%;
  height: 5%;
}
