/* 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: 0.6%;
  width: 31.5%;
  height: 8%;
}
.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;
}
.public-site :is(.screenshot-window--product, .screenshot-window--home, .screenshot-window--device) {
  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--walk {
  aspect-ratio: 1320 / 630;
}
.public-site .screenshot-window--walk .screenshot-art {
  transform: translateY(-53%);
}
.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--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-art:has(.screenshot-callout) {
  --callout-yellow: #ffea47;
  --callout-ink: #101726;
  --callout-gutter: 5rem;
  --callout-gap: 0.3rem;
  box-sizing: border-box;
}
.public-site :is(.screenshot-art--left, .screenshot-art--left_down) {
  padding-left: var(--callout-gutter);
}
.public-site :is(.screenshot-art--right, .screenshot-art--right_down, .screenshot-art--right_up) {
  padding-right: var(--callout-gutter);
}
.public-site .screenshot-art--multiple {
  padding-right: var(--callout-gutter);
  padding-bottom: 3rem;
}
.public-site .screenshot-callout-anchor {
  position: absolute;
  inset: 0;
  padding: 0;
  pointer-events: none;
}
.public-site .screenshot-art--bottom {
  padding-bottom: 3rem;
}
.public-site .screenshot-callout-image {
  position: relative;
}
.public-site .screenshot-callout__target {
  position: absolute;
  top: var(--target-y);
  left: var(--target-x);
  pointer-events: none;
}
.public-site .screenshot-callout {
  position: absolute;
  top: var(--target-y);
  display: flex;
  align-items: center;
  transform: translateY(-50%);
  pointer-events: none;
}
.public-site :is(.screenshot-art--left, .screenshot-art--left_down) .screenshot-callout {
  left: calc(-1 * var(--callout-gutter));
  right: calc(100% - var(--target-x));
  flex-direction: row-reverse;
}
.public-site :is(.screenshot-art--right, .screenshot-art--right_down, .screenshot-art--right_up) .screenshot-callout {
  left: var(--target-x);
  right: calc(-1 * var(--callout-gutter));
}
.public-site .screenshot-callout__label {
  max-width: calc(var(--callout-gutter) - var(--callout-gap));
  padding: 0.3em 0.45em;
  border: 1px solid var(--callout-ink);
  border-radius: 0.25rem;
  background: var(--callout-yellow);
  color: var(--callout-ink);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  overflow-wrap: anywhere;
}
.public-site .screenshot-callout__leader {
  position: relative;
  flex: 0 0 calc(100% - var(--callout-gutter) + var(--callout-gap));
  height: 2px;
  background: var(--callout-yellow);
  filter: drop-shadow(0 0 1px var(--callout-ink));
}
.public-site .screenshot-callout__leader::after {
  content: "";
  position: absolute;
  left: 1px;
  top: 50%;
  width: 7px;
  height: 7px;
  border: 0 solid var(--callout-yellow);
  border-width: 0 0 2px 2px;
  transform: translateY(-50%) rotate(45deg);
}
.public-site :is(.screenshot-art--left, .screenshot-art--left_down) .screenshot-callout__leader::after {
  left: auto;
  right: 1px;
  transform: translateY(-50%) rotate(225deg);
}
.public-site .screenshot-art--right_down .screenshot-callout__leader::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 0.55rem;
  background: var(--callout-yellow);
}
.public-site .screenshot-art--right_down .screenshot-callout__leader::after {
  left: 1px;
  top: 0.55rem;
  transform: translate(-50%, -100%) rotate(-45deg);
}
.public-site .screenshot-art--right_up .screenshot-callout {
  --callout-rise: 0.75rem;
  top: calc(var(--target-y) + var(--callout-rise));
}
.public-site .screenshot-art--right_up .screenshot-callout__leader::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2px;
  height: var(--callout-rise);
  background: var(--callout-yellow);
}
.public-site .screenshot-art--right_up .screenshot-callout__leader::after {
  left: 1px;
  top: calc(50% - var(--callout-rise));
  transform: translate(-50%, 0) rotate(135deg);
}
.public-site .screenshot-art--right_up .screenshot-callout__leader--straight {
  background: transparent;
}
.public-site .screenshot-art--right_up .screenshot-callout__leader--straight::before,
.public-site .screenshot-art--right_up .screenshot-callout__leader--straight::after {
  content: none;
}
.public-site .screenshot-callout__diagonal {
  position: absolute;
  top: calc(1px - var(--callout-rise));
  left: 0;
  width: 100%;
  height: var(--callout-rise);
  overflow: visible;
}
.public-site .screenshot-art--left_down .screenshot-callout-image {
  container-type: inline-size;
}
.public-site .screenshot-art--left_down .screenshot-callout__leader::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 2cqi;
  background: var(--callout-yellow);
}
.public-site .screenshot-art--left_down .screenshot-callout__leader::after {
  right: 1px;
  top: 2cqi;
  transform: translate(50%, -100%) rotate(-45deg);
}
.public-site .screenshot-art--bottom .screenshot-callout {
  left: var(--target-x);
  flex-direction: column;
  transform: translateX(-50%);
  bottom: -2.75rem;
}
.public-site .screenshot-art--bottom .screenshot-callout__leader {
  flex: 1;
  width: 2px;
}
.public-site .screenshot-art--bottom .screenshot-callout__leader::after {
  left: 50%;
  top: 1px;
  transform: translate(-50%, 0) rotate(135deg);
}
.public-site .screenshot-art--bottom .screenshot-callout__label {
  flex-shrink: 0;
  white-space: nowrap;
}
.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--add-event {
  left: 88%;
  top: 6.2%;
  width: 10%;
  height: 4%;
}
.public-site .screenshot-highlight--browse {
  left: 4%;
  top: 19%;
  width: 92%;
  height: 22%;
}
.public-site .screenshot-highlight--create-first-event {
  left: 31%;
  top: 63%;
  width: 38%;
  height: 25%;
}
.public-site .screenshot-window--add-event {
  aspect-ratio: 1320 / 520;
}
.public-site .screenshot-window--save-event {
  aspect-ratio: 1206 / 300;
}
.public-site .screenshot-window--setup-save {
  aspect-ratio: 1320 / 132;
}
.public-site .screenshot-highlight--new-event-save {
  left: 82%;
  top: 22%;
  width: 14%;
  height: 52%;
}
.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%;
}
