/* The phone demos, drawn with the app's own sizes, fonts, colors and icons. Everything inside .ui is laid out at
   390 points wide, like an iPhone screen, and scaled down to fit the phone frame (see site.js). */
.phone { --a-danger: #B3261E; --a-def: #25703F; --app-icon: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAm3ElEQVR42u2dSZddyXHff5GZd3hTzYVGD2z1xG7yuEVSkmV6Wnnjpb3xwgsv/DH8Cbzwwl/AO02WjizJ1iGPLFHUoSXKsijLpkhR7AGN7kYDjW6gplf1pntvZnoRee97VUAVUAV0izwWznmnMNWr+zIzIv7xj39Eyp0TH/kp+xWBzAgfjRtGhbCWG376PoX+cj+NDy1AEyI7A4NBfmoXH8D8pJ/01bUVAZNehRP2Z4HaB3ILNv29yOnvjX9nAZdbcFgusiBAxCP4EGk8+jWAkcikCoChDvqd1ujLGcGKYLvNiIQAYcWC/m4DVhZd2kU3QoywaAKzOjJtIpWP+BCJgEG6U55bYW8aOKkizwyEygdihBAhEBHAGqGwQumEfibkzmABHyMhLn/2/5cbENOiZyI0MXJSRcYLz7zR05xZ6DnDKDfkVnBGN8gAMUIvh+MqsNWzvLBmWTQWgBAjIep7Vk1k3kSOq8DeDARP6YS1wjDIpfvZIf7tbYR83igoAk5AjDCpAgezwLQOOCMMc8Mw1xNrRYhpQWNc8elRT/bHxzVFJhDBR7g2cDQ+IqKLKYBIsph06uc+crKInFSBJkT6mWGzp5sRIzTh89+Iz80CYgSXnPLR3LM39YQI66Vld5BRpH9r3YOP8QF/LYAxUPlA7WGzZ4jApycNsR8xciaAx9ghJAEKK/QHhmsDy8JHjuaBO+MGI7DVt2yUikk+z434zC1AT6wu3MEscH/isUbY7lvWCqOnM+iiI4/+4CKwaCKD3PDufs1Wz7JeCAsfKawQ4mMG+hQjInC8CNyfepoQ2R1YNktLSJsnP60b0Aa4zAoni8CdE4+RyDMDxyglTg875RdiZgNH88DBzPPKVs6kUtflDNzYr3hhXS0pxsd/RlAIa0U4qQJ3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gFnJ5y3YDfXvfhohsIm9FM8dEQxs+RPkbx4MXRsTtVC3mTO48j3Nn+4XjbiyzR8Iiz8pXu8X9mqfAT+dbeaUBpgDwKk/oGZMdpcjwfK//bHdsMwB/3l4VBYPg4K5YrZX4tpLe9Cgp+7Z5DcWbcVQg+ZKBTkRLhdG+O6xvA62C5dgaxELBuhYYH2E1A7SaIEK3gG75ul6QPIr7qNGEkY+QHKu0DKagwx9AX4QHpT9MmCGKTONuA/H+P4p0QgxPC2AArajKj2SU2ruM7mTkAAAAASUVORK5CYII=); }
.phone .screen { font-size: 15px; line-height: 21px; }
.ui { position: absolute; left: 0; top: 0; width: 390px; height: 844px; transform-origin: 0 0; transform: scale(var(--s, 0.82)); overflow: hidden;
  font-family: 'Figtree', system-ui, sans-serif; font-size: 15px; line-height: 21px; color: var(--a-ink); background: var(--a-bg); transition: background-color .7s ease, color .7s ease; }
.ic { display: inline-block; flex: none; vertical-align: middle; fill: currentColor; }

/* Layers: one per screen. Only the current one shows. */
.u-view { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--a-bg); transition: opacity .35s ease, background-color .7s ease; }
.demo.ready .u-view:not(.on) { opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s; }
.demo:not(.ready) .u-view:not(.final) { display: none; }
.demo.live .u-view[data-only], .demo.live .u-view[data-from] { transform: none; }

.u-status { height: 47px; flex: none; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 30px 7px 38px; font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.u-status .bat { display: inline-flex; align-items: center; gap: 6px; }
.u-status .bat i { width: 25px; height: 12px; border: 1.5px solid currentColor; border-radius: 4px; position: relative; opacity: .9; }
.u-status .bat i::after { content: ''; position: absolute; inset: 1.5px; background: currentColor; border-radius: 2px; }
.u-body { flex: 1; min-height: 0; overflow: hidden; position: relative; }
.u-content { padding: 24px 20px 24px; display: flex; flex-direction: column; gap: 16px; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.u-row { display: flex; align-items: center; }
.u-between { justify-content: space-between; }
.u-gap6 { gap: 6px; } .u-gap8 { gap: 8px; } .u-gap10 { gap: 10px; } .u-gap12 { gap: 12px; }
.u-wrap { flex-wrap: wrap; }
.u-col { display: flex; flex-direction: column; }
.u-flex1 { flex: 1; min-width: 0; }

/* Type */
.u-title { font-family: 'Instrument Serif', Georgia, serif; font-size: 32px; line-height: 36px; }
.u-display { font-family: 'Instrument Serif', Georgia, serif; font-size: 24px; line-height: 30px; }
.u-wordmark { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-size: 38px; line-height: 42px; }
.u-strong { font-weight: 600; }
.u-small { font-size: 13px; line-height: 18px; color: var(--a-muted); }
.u-muted { color: var(--a-muted); }
.u-eyebrow { font-weight: 700; font-size: 12px; line-height: 16px; letter-spacing: 1px; text-transform: uppercase; color: var(--a-muted); }
.u-accent { color: var(--a-accent); }
.u-said { font-family: 'Instrument Serif', Georgia, serif; font-size: 22px; line-height: 29px; }
.u-mark { background: var(--a-mark); }
.u-section { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.u-clip1 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Buttons, chips, cards */
.u-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: 15px; line-height: 21px; background: var(--a-chip); color: var(--a-ink); align-self: flex-start; transition: transform .25s ease, opacity .25s ease, background-color .7s ease; }
.u-btn.primary { background: var(--a-accent); color: var(--a-accent-ink); }
.u-btn.danger { color: var(--a-danger); }
.u-btn.full { display: flex; align-self: stretch; }
.u-btn.pressed, .u-pill.pressed, .u-chip.pressed, .u-check.pressed, .u-link.pressed { transform: scale(.96); opacity: .8; }
.u-chip { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; padding: 0 15px; border-radius: 999px; background: var(--a-chip); color: var(--a-ink); font-weight: 500; font-size: 14px; line-height: 20px; white-space: nowrap; transition: background-color .35s ease, color .35s ease, transform .25s ease; }
.u-chip.on-chip, .u-chip.sel { background: var(--a-ink); color: var(--a-bg); }
.u-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.u-hscroll { display: flex; gap: 8px; overflow: hidden; }
.u-badge { background: var(--a-soft); color: var(--a-accent); font-weight: 600; font-size: 12px; line-height: 18px; padding: 2px 8px; border-radius: 999px; align-self: flex-start; white-space: nowrap; }
.u-card { background: var(--a-surface); border: 1px solid var(--a-line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 12px; transition: background-color .7s ease, border-color .7s ease; }
.u-card.soft { background: var(--a-soft); }
.u-tip { background: var(--a-soft); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 10px; transition: background-color .7s ease; }
.u-ask { background: var(--a-ink); color: var(--a-bg); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 14px; transition: background-color .7s ease, color .7s ease; }
.u-ask .u-small { color: var(--a-bg); opacity: .75; }
.u-ask .u-btn.primary { background: var(--a-accent); color: var(--a-accent-ink); }
.u-ask .u-btn { background: var(--a-chip); color: var(--a-ink); }
.u-pill { display: inline-flex; align-items: center; gap: 5px; padding: 7px 12px; border-radius: 999px; font-weight: 600; font-size: 12px; line-height: 16px; background: var(--a-chip); color: var(--a-muted); align-self: flex-start; transition: background-color .35s ease, color .35s ease, transform .25s ease; }
.u-pill.on { background: var(--a-soft); color: var(--a-def); }
.u-stack { display: grid; align-self: flex-start; }
.u-stack > * { grid-area: 1 / 1; }
.demo.live .u-stack > [data-only] { transform: none; }
.u-dash { border-top: 1px dashed var(--a-line); padding-top: 10px; }
.u-prods { border-top: 1px solid var(--a-line); padding-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.u-prod { flex: none; width: 148px; background: var(--a-chip); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 3px; }
.u-prod b { font-weight: 600; font-size: 14px; line-height: 19px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Text boxes */
.u-field { display: flex; flex-direction: column; gap: 8px; }
.u-input { font-size: 16px; line-height: 19px; background: var(--a-surface); border: 1px solid var(--a-line); border-radius: 12px; padding: 14px; min-height: 50px; }
.u-textbox { min-height: 150px; font-size: 16px; line-height: 22px; background: var(--a-surface); border: 1px solid var(--a-line); border-radius: 12px; padding: 12px; }
.u-ph { color: var(--a-muted); }
.u-typed.typed::after { height: 1.1em; }

/* Check rows, as in the day and holiday pickers */
.u-check { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--a-line); background: var(--a-surface); transition: background-color .35s ease, border-color .35s ease, transform .25s ease; }
.u-check b { flex: 1; font-weight: 500; font-size: 16px; line-height: 22px; }
.u-check small { font-size: 13px; line-height: 18px; color: var(--a-muted); max-width: 42%; text-align: right; }
.u-check .ic { color: var(--a-muted); }
.u-check .ic-on { display: none; }
.u-check.on-chip { background: var(--a-soft); border-color: var(--a-accent); }
.u-check.on-chip .ic-on { display: inline-block; color: var(--a-accent); }
.u-check.on-chip .ic-off { display: none; }
.u-check.add { border-style: dashed; background: transparent; }
.u-check.add b { font-weight: 600; }
.u-check.custom b { font-weight: 600; }

/* Buy list rows */
.u-buyrow { display: flex; align-items: center; gap: 4px; background: var(--a-surface); border: 1px solid var(--a-line); border-radius: 14px; padding: 0 2px 0 4px; min-height: 60px; }
.u-box { width: 48px; height: 48px; display: grid; place-items: center; flex: none; }
.u-box i { width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--a-muted); display: grid; place-items: center; color: var(--a-accent-ink); transition: background-color .3s ease, border-color .3s ease; }
.u-box i .ic { opacity: 0; }
.u-buyrow.done .u-box i { background: var(--a-def); border-color: var(--a-def); }
.u-buyrow.done .u-box i .ic { opacity: 1; }
.u-buyrow.done .nm { text-decoration: line-through; opacity: .7; }

/* Gift cards */
.u-gift { display: flex; gap: 14px; background: var(--a-surface); border: 1px solid var(--a-line); border-radius: 16px; padding: 14px; }
.u-gift .pic { width: 84px; min-height: 96px; border-radius: 12px; background: var(--a-chip); display: grid; place-items: center; color: var(--a-accent); flex: none; }
.u-gift h5 { margin: 0; font-weight: 600; font-size: 16px; line-height: 21px; }
.u-link { display: inline-flex; align-items: center; gap: 6px; background: var(--a-chip); padding: 10px 14px; border-radius: 12px; font-size: 14px; line-height: 20px; transition: transform .25s ease; }

/* Footer and bars */
.u-footer { flex: none; background: var(--a-bg); border-top: 1px solid var(--a-line); padding: 12px 20px 46px; display: flex; flex-direction: column; gap: 8px; }
.u-nav { flex: none; display: flex; align-items: flex-end; background: var(--a-surface); border-top: 1px solid var(--a-line); padding-bottom: 34px; color: var(--a-muted); transition: background-color .7s ease; }
.u-nav > div { flex: 1; min-height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-weight: 600; font-size: 12px; line-height: 16px; }
.u-nav > .on { color: var(--a-accent); }
.u-nav .cap { justify-content: flex-end; padding-bottom: 6px; color: var(--a-ink); }
.u-nav .cap i { width: 56px; height: 56px; margin-top: -26px; border-radius: 50%; background: var(--a-accent); color: var(--a-accent-ink); border: 4px solid var(--a-surface); display: grid; place-items: center; box-shadow: 0 4px 8px rgba(0,0,0,.25); }
.u-nav .cap.pressed i { transform: scale(.92); }

/* Avatar */
.u-avatar { border-radius: 50%; background: var(--a-soft); color: var(--a-accent); display: grid; place-items: center; font-family: 'Instrument Serif', Georgia, serif; flex: none; }

/* Toast-like overlay used by the share demo: the iPhone's own sheet */
.u-sheet { position: absolute; left: 0; right: 0; bottom: 0; background: #F2F2F7; color: #111; border-radius: 22px 22px 0 0; padding: 14px 18px 40px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 -18px 40px -20px rgba(0,0,0,.4); }
.u-sheet .sh-t { text-align: center; font-weight: 600; font-size: 15px; }
.u-apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; text-align: center; font-size: 12px; color: #555; }
.u-apps .ico { width: 100%; aspect-ratio: 1; border-radius: 16px; margin-bottom: 5px; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 22px; transition: transform .3s ease, box-shadow .3s ease; }
.u-apps .ico.k { background: var(--app-icon) center / cover; }
.u-apps .ico.k.pressed { transform: scale(.9); box-shadow: 0 0 0 4px rgba(176,42,85,.25); }
.u-safari { background: #fff; color: #111; flex: 1; display: flex; flex-direction: column; }
.u-safari .bar { margin: 8px 16px 0; background: #ECECF0; border-radius: 12px; text-align: center; padding: 10px; font-size: 14px; color: #333; }
.u-safari .pic { height: 300px; margin: 14px 0 0; background: linear-gradient(135deg, #e8c9a8, #c98f5c 60%, #8a5a36); position: relative; }
.u-safari .pic::after { content: ''; position: absolute; left: 50%; top: 46px; width: 112px; height: 170px; margin-left: -56px; border-radius: 20px 20px 52px 52px; background: #3a2a22; box-shadow: 0 24px 0 -6px #2a1d17 inset; }
.u-safari .meta { padding: 16px 20px; display: flex; flex-direction: column; gap: 4px; }
.u-safari .meta b { font-size: 20px; line-height: 26px; }
.u-safari .meta span { color: #666; font-size: 15px; }

/* Lock screen reminders */
.u-lock { background: linear-gradient(170deg, #3a2631, #1b1217 70%); color: #fff; }
.u-lock .tm { text-align: center; padding-top: 52px; }
.u-lock .tm span { font-size: 17px; opacity: .85; display: block; }
.u-lock .tm b { display: block; font-weight: 600; font-size: 92px; line-height: 96px; letter-spacing: -0.02em; font-family: 'Figtree', system-ui, sans-serif; }
.u-notes { display: flex; flex-direction: column; gap: 8px; padding: 36px 12px; }
.u-note { background: rgba(255,255,255,.2); border-radius: 22px; padding: 12px 14px; display: grid; grid-template-columns: 38px 1fr; gap: 12px; backdrop-filter: blur(10px); }
.u-note .ni { width: 38px; height: 38px; border-radius: 9px; background: var(--app-icon) center / cover; }
.u-note small { display: flex; justify-content: space-between; font-size: 13px; opacity: .7; text-transform: uppercase; letter-spacing: .02em; }
.u-note b { display: block; font-weight: 600; font-size: 15px; line-height: 20px; margin-top: 2px; }
.u-note span { display: block; font-size: 15px; line-height: 20px; opacity: .9; }
.u-lock .u-clock span, .u-lock .u-clock b { display: none; }
.demo[data-n="0"] .u-lock .u-clock .c1, .demo[data-n="1"] .u-lock .u-clock .c1, .demo[data-n="2"] .u-lock .u-clock .c2, .demo[data-n="3"] .u-lock .u-clock .c3 { display: block; }

/* Seasons: the look changes with the data-n step, as the app does */
.demo .skinned { transition: none; }
.u-motif span { display: none; }
.demo[data-n="0"] .u-motif .m0, .demo[data-n="1"] .u-motif .m1, .demo[data-n="2"] .u-motif .m2, .demo[data-n="3"] .u-motif .m3, .demo[data-n="4"] .u-motif .m4 { display: inline; }

.demo.ready .u-expand:not(.on) { display: none; }
.demo.ready .u-note-wrap:not(.on) { display: none; }
.demo.live .u-note-wrap[data-only] { transform: none; }
/* The days screen scrolls down to the holidays and back up to the new date. */
.scrolls-days .u-content { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.demo.scrolls-days[data-n="2"] .u-content, .demo.scrolls-days[data-n="3"] .u-content { transform: translateY(var(--scroll, -360px)); }
.demo.ready .u-buyrow[data-only]:not(.on), .demo.ready .u-check.custom:not(.on) { display: none; }
.u-card.pressed { border-color: var(--a-accent); }