/* /support — the self-help flow (support-wizard.js). One column, one question per screen. */

.sh {
    --sh-ink: #fff;
    --sh-ink-2: rgba(255, 255, 255, .64);
    --sh-ink-3: rgba(255, 255, 255, .42);
    --sh-line: rgba(255, 255, 255, .1);
    --sh-line-2: rgba(255, 255, 255, .22);
    --sh-card: rgba(255, 255, 255, .045);
    --sh-card-2: rgba(255, 255, 255, .085);
    --sh-warn: #ffd60a;
    --sh-bad: #ff7a7a;
    --sh-ease: cubic-bezier(.2, .8, .2, 1);
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 20px 16px 72px;
    flex: 1 0 auto;
    color: var(--sh-ink);
}
.sh [hidden] { display: none !important; }

/* ── Top: back + eyebrow + the session this is about ── */
.sh-top { display: flex; align-items: center; gap: 12px; min-height: 40px; margin-bottom: 14px; }
.sh-back {
    display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0;
    border: 1px solid var(--sh-line-2); border-radius: 50%; background: transparent; color: var(--sh-ink);
    cursor: pointer; transition: background .2s, transform .2s;
}
.sh-back:hover { background: var(--sh-card-2); }
.sh-back:active { transform: scale(.94); }
.sh-back svg { width: 18px; height: 18px; }
.sh-eyebrow { margin: 0; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--sh-ink-3); }

.sh-chip {
    display: flex; align-items: center; gap: 12px; margin-bottom: 22px; padding: 8px 8px 8px 8px;
    border: 1px solid var(--sh-line); border-radius: 16px;
}
.sh-chip__thumb, .sh-opt__thumb {
    position: relative; flex-shrink: 0; overflow: hidden; border-radius: 8px; background: #1a1a1a;
}
.sh-chip__thumb { width: 36px; height: 44px; }
.sh-chip__thumb img, .sh-opt__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sh-chip__body { display: grid; gap: 2px; flex: 1; min-width: 0; }
.sh-chip__name { font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-chip__time { font-size: 12.5px; color: var(--sh-ink-3); }
.sh-chip__change {
    padding: 8px 12px; border: 0; border-radius: 999px; background: var(--sh-card-2); color: var(--sh-ink);
    font: 500 13px/1 inherit; font-family: inherit; cursor: pointer;
}

/* ── The stage: screens overlap while one leaves and the next arrives ── */
.sh-stage { display: grid; }
.sh-screen { grid-area: 1 / 1; min-width: 0; }
.sh-title {
    margin: 0 0 10px; outline: none;
    font-size: clamp(28px, 7.6vw, 40px); font-weight: 600; line-height: 1.08; letter-spacing: -.028em;
}
.sh-text { margin: 0; font-size: 16px; line-height: 1.5; color: var(--sh-ink-2); }
.sh-q { margin: 26px 0 0; font-size: 18px; font-weight: 500; }

/* ── Options ── */
.sh-list { display: grid; gap: 8px; margin-top: 24px; }
.sh-list + .sh-list { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--sh-line); gap: 6px; }
.sh-opt {
    display: flex; align-items: center; gap: 14px; width: 100%; min-height: 66px; padding: 12px 14px 12px 18px;
    border: 1px solid var(--sh-line); border-radius: 18px; background: var(--sh-card);
    color: var(--sh-ink); text-align: left; text-decoration: none; font: inherit; cursor: pointer;
    transition: background .2s, border-color .2s, transform .2s var(--sh-ease);
    -webkit-tap-highlight-color: transparent;
}
.sh-opt:hover { background: var(--sh-card-2); border-color: var(--sh-line-2); }
.sh-opt:active { transform: scale(.985); }
.sh-opt:focus-visible, .sh-btn:focus-visible, .sh-back:focus-visible, .sh-code:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.sh-opt__body { display: grid; gap: 3px; flex: 1; min-width: 0; }
.sh-opt__label { font-size: 17px; font-weight: 500; letter-spacing: -.01em; overflow-wrap: anywhere; }
.sh-opt__sub { font-size: 13.5px; color: var(--sh-ink-3); overflow-wrap: anywhere; }
.sh-opt__arrow { display: grid; color: var(--sh-ink-3); transition: transform .25s var(--sh-ease), color .2s; }
.sh-opt__arrow svg { width: 20px; height: 20px; }
.sh-opt:hover .sh-opt__arrow { transform: translateX(3px); color: var(--sh-ink); }
.sh-opt--quiet { min-height: 54px; background: transparent; }
.sh-opt--quiet .sh-opt__label { font-size: 16px; font-weight: 400; }
.sh-opt--session { padding-left: 10px; }

/* ── The picker's pages (more than 10 photosessions): ‹ 1 2 3 › — 44 px targets, the current page filled. ── */
.sh-pickbox + .sh-list { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--sh-line); gap: 6px; }
.sh-pager { display: flex; justify-content: center; align-items: center; gap: 4px; margin-top: 16px; flex-wrap: wrap; }
.sh-pager__btn {
    min-width: 44px; height: 44px; padding: 0 10px; border: 1px solid transparent; border-radius: 999px;
    background: transparent; color: var(--sh-ink-2); font: inherit; font-size: 15px; font-variant-numeric: tabular-nums; cursor: pointer;
    transition: background .2s, color .2s; -webkit-tap-highlight-color: transparent;
}
.sh-pager__btn:hover { background: var(--sh-card-2); color: var(--sh-ink); }
.sh-pager__btn.is-on { background: #fff; color: #000; font-weight: 600; cursor: default; }
.sh-pager__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.sh-pager__step { min-width: 44px; font-size: 20px; line-height: 1; text-align: center; }
span.sh-pager__step { display: inline-block; height: 44px; }
.sh-pager__gap { min-width: 20px; text-align: center; color: var(--sh-ink-3); }
@media (forced-colors: active) { .sh-pager__btn.is-on { border-color: CanvasText; } }
.sh-opt__thumb { width: 44px; height: 54px; }
.sh-opt__icon { display: grid; color: var(--sh-ink-2); }
.sh-opt__icon svg { width: 22px; height: 22px; }

/* ── Buttons ── */
.sh-actions { display: grid; gap: 10px; margin-top: 28px; }
.sh-actions--row { grid-template-columns: 1fr 1fr; margin-top: 14px; }
.sh-btn {
    position: relative; height: 56px; padding: 0 22px; border: 0; border-radius: 999px;
    background: #fff; color: #000; font-family: inherit; font-size: 16px; font-weight: 600; cursor: pointer;
    transition: transform .2s var(--sh-ease), background .2s, opacity .2s;
}
.sh-btn:hover { background: #e9e9e9; }
.sh-btn:active { transform: scale(.98); }
.sh-btn--ghost { background: transparent; color: var(--sh-ink); border: 1px solid var(--sh-line-2); font-weight: 500; }
.sh-btn--ghost:hover { background: var(--sh-card-2); }
/* A link dressed as a button (the booths map): centred the way a <button> centres on its own. */
a.sh-btn { display: flex; align-items: center; justify-content: center; text-decoration: none; }

/* ── Why an offer is worth taking: one line each, a tick in front ── */
/* ── The offline QR: a white card the booth's camera reads off the phone ── */
.sh-qr { display: grid; place-items: center; width: min(280px, 74vw); aspect-ratio: 1; margin: 24px auto 0; padding: 4px; border-radius: 22px; background: #fff; }
.sh-qr svg { display: block; width: 100%; height: 100%; }
.sh-qr.is-pending { animation: shPulse 1.4s ease-in-out infinite; }
.sh-qr.is-text { color: #000; font: 600 13px/1.4 ui-monospace, monospace; word-break: break-all; text-align: center; }
.sh-confetti { position: fixed; inset: 0; z-index: 60; width: 100%; height: 100%; pointer-events: none; }
/* What the guest gains, in the gift's colours so it reads as the accent, not a second title. */
.sh-worth {
    margin: 12px 0 0; font-size: 24px; line-height: 1.25; font-weight: 600; letter-spacing: -.015em; font-variant-numeric: tabular-nums;
    color: #ffd86b; background: linear-gradient(90deg, #ffd86b, #fff 55%, #ff9bd2); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
@media (forced-colors: active) { .sh-worth { background: none; -webkit-text-fill-color: currentColor; color: CanvasText; } }
.sh-ticks { display: grid; gap: 14px; margin: 22px 0 0; padding: 0; list-style: none; }
.sh-ticks li { display: flex; align-items: flex-start; gap: 12px; font-size: 16.5px; line-height: 1.45; }
.sh-ticks__mark {
    display: grid; place-items: center; flex-shrink: 0; width: 24px; height: 24px; margin-top: 1px;
    border-radius: 50%; background: #fff; color: #000;
}
.sh-ticks__mark svg { width: 15px; height: 15px; }
.sh-btn:disabled { cursor: default; }
.sh-btn.is-busy, .sh-opt.is-busy { color: transparent; }
.sh-btn.is-busy::after, .sh-opt.is-busy::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px;
    border: 2px solid rgba(0, 0, 0, .2); border-top-color: #000; border-radius: 50%; animation: shSpin .7s linear infinite;
}
.sh-opt.is-busy { position: relative; }
.sh-opt.is-busy::after, .sh-btn--ghost.is-busy::after { border-color: rgba(255, 255, 255, .2); border-top-color: #fff; }

/* ── Wait ring (Epson: printing takes up to 3 minutes) ── */
.sh-ring { position: relative; display: grid; place-items: center; width: 156px; height: 156px; margin: 30px auto 0; }
.sh-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.sh-ring circle { fill: none; stroke-width: 5; }
.sh-ring__track { stroke: var(--sh-line); }
.sh-ring__fill { stroke: #fff; stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.sh-ring__time { font-size: 34px; font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sh-ring.is-done .sh-ring__time { color: var(--sh-ink-3); }

/* ── Reprint: where it will come out ── */
.sh-note {
    display: inline-block; margin: 0 0 16px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 500;
    color: var(--sh-warn); background: rgba(255, 214, 10, .1); border: 1px solid rgba(255, 214, 10, .3);
}
.sh-place {
    display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 16px 14px 16px 18px;
    border: 1px solid var(--sh-line); border-radius: 18px; background: var(--sh-card);
}
.sh-place__body { display: grid; gap: 4px; flex: 1; min-width: 0; }
.sh-place__name { font-size: 16px; font-weight: 600; }
.sh-place__addr { font-size: 13.5px; color: var(--sh-ink-3); overflow-wrap: anywhere; }
.sh-place__route {
    flex-shrink: 0; padding: 10px 14px; border-radius: 999px; background: var(--sh-card-2); color: var(--sh-ink);
    font-size: 13.5px; font-weight: 500; text-decoration: none;
}
.sh-pulse { animation: shPulse 1.4s ease-in-out infinite; }

/* A sheet sliding out of a slot, for as long as the guest is waiting on it. */
.sh-printer { position: relative; width: 112px; height: 104px; margin: 6px auto 26px; }
.sh-printer__slot { position: absolute; z-index: 1; top: 0; left: 0; right: 0; height: 14px; border-radius: 8px; background: #fff; }
.sh-printer__sheet {
    position: absolute; top: 8px; left: 20px; right: 20px; height: 86px; border-radius: 4px;
    background: linear-gradient(160deg, #f4f4f4, #a9a9a9);
    animation: shSheet 2.6s var(--sh-ease) infinite;
}

/* ── Success ── */
.sh-check { display: block; width: 72px; height: 72px; margin: 4px 0 22px; }
.sh-check svg { width: 100%; height: 100%; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sh-check circle { stroke-dasharray: 189; stroke-dashoffset: 189; animation: shDraw .6s var(--sh-ease) forwards; }
.sh-check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: shDraw .35s var(--sh-ease) .45s forwards; }
.sh-code {
    display: block; width: 100%; margin-top: 24px; padding: 24px 12px;
    border: 1px dashed rgba(255, 255, 255, .38); border-radius: 18px; background: transparent; color: #fff;
    font: 600 clamp(26px, 8vw, 34px)/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .18em;
    cursor: copy;
}

/* ── Contacts ── */
.sh-msg { margin-top: 16px; padding: 14px 16px; border: 1px solid var(--sh-line); border-radius: 16px; }
.sh-msg__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.sh-msg__head span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--sh-ink-3); }
.sh-msg__copy {
    padding: 7px 12px; border: 0; border-radius: 999px; background: var(--sh-card-2); color: var(--sh-ink);
    font-family: inherit; font-size: 13px; font-weight: 500; cursor: pointer;
}
.sh-msg__text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--sh-ink-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.sh-hint { margin-top: 16px; font-size: 13.5px; line-height: 1.5; color: var(--sh-ink-3); }
.sh-hint ul { margin: 6px 0 0; padding-left: 18px; }

/* ── Нова пошта form ── */
.sh-form { display: grid; gap: 14px; margin-top: 22px; }
.sh-field { position: relative; display: grid; gap: 7px; }
.sh-field__label { font-size: 13px; color: var(--sh-ink-3); }
.sh-field__input {
    width: 100%; height: 54px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px;
    background: #0c0c0c; color: #fff; font-family: inherit; font-size: 16px; outline: none; transition: border-color .2s;
}
.sh-field__input:focus { border-color: #fff; }
.sh-field__input:disabled { opacity: .45; }
.sh-field.is-bad .sh-field__input { border-color: var(--sh-bad); }
.sh-field__label { display: flex; justify-content: space-between; gap: 12px; }
.sh-field__aside { color: var(--sh-ink-3); font-variant-numeric: tabular-nums; }
.sh-field__count.is-ok { color: var(--sh-ink); }
.sh-field__area { height: auto; min-height: 112px; padding: 14px 16px; line-height: 1.45; resize: vertical; }
.sh-field__hint { font-size: 13px; line-height: 1.4; color: var(--sh-ink-3); }
.sh-suggest {
    position: absolute; z-index: 5; top: calc(100% + 6px); left: 0; right: 0; max-height: 264px; overflow-y: auto;
    padding: 6px; border: 1px solid var(--sh-line-2); border-radius: 14px; background: #121212;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .6);
}
.sh-suggest__item {
    display: block; width: 100%; padding: 11px 12px; border: 0; border-radius: 10px; background: transparent;
    color: #fff; font-family: inherit; font-size: 14.5px; line-height: 1.35; text-align: left; cursor: pointer;
}
.sh-suggest__item:hover, .sh-suggest__item:focus-visible { background: var(--sh-card-2); outline: none; }
.sh-suggest__note { padding: 11px 12px; font-size: 14px; color: var(--sh-ink-3); }
.sh-error { margin: 0; font-size: 14px; color: var(--sh-bad); }
.sh-error:empty { display: none; }

/* ── FAQ ── */
/* Under every screen, set apart by space and one hairline rather than a box. */
.sh-faq { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--sh-line); }
.sh-faq__title { margin-bottom: 4px; }
.sh-faq details { border-bottom: 1px solid var(--sh-line); }

/* The gift (owner, 28.10): twice a button, a gift in front, and light running round its edge — a conic
   gradient turned by an animated angle, a sharp ring plus a soft halo behind it. On pseudo-elements: the
   wrap itself takes the screen's entrance animation (.sh-actions > *), which would replace the turn. */
@property --sh-gift-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.sh-gift-wrap { position: relative; display: block; padding: 3px; border-radius: 34px; isolation: isolate; }
.sh-gift-wrap::before, .sh-gift-wrap::after {
    content: ""; position: absolute; pointer-events: none; animation: shGiftTurn 3.2s linear infinite;
}
.sh-gift-wrap::before {
    inset: 0; z-index: -1; border-radius: 34px;
    background: conic-gradient(from var(--sh-gift-a), rgba(255, 255, 255, .16) 0 58%, #ffd86b 70%, #fff 78%, #ff9bd2 87%, rgba(255, 255, 255, .16) 97%);
}
.sh-gift-wrap::after {
    inset: -10px; z-index: -2; border-radius: 44px; filter: blur(16px);
    background: conic-gradient(from var(--sh-gift-a), transparent 0 58%, rgba(255, 216, 107, .7) 72%, rgba(255, 155, 210, .55) 87%, transparent 97%);
}
.sh-gift {
    position: relative;
    display: flex; align-items: center; gap: 16px; width: 100%; min-height: 112px; padding: 18px 22px;
    border: 0; border-radius: 31px; background: #fff; color: #000; font-family: inherit; text-align: left; cursor: pointer;
    transition: transform .2s var(--sh-ease), opacity .2s;
}
.sh-gift:active { transform: scale(.985); }
.sh-gift:focus-visible { outline: 2px solid #fff; outline-offset: 6px; }
.sh-gift.is-busy { opacity: .6; pointer-events: none; }
.sh-gift__icon { display: grid; place-items: center; flex-shrink: 0; width: 60px; height: 60px; border-radius: 20px; background: #000; color: #fff; }
.sh-gift__icon svg { width: 32px; height: 32px; }
.sh-gift__body { display: grid; gap: 3px; min-width: 0; }
.sh-gift__label { font-size: 21px; font-weight: 600; letter-spacing: -.015em; line-height: 1.2; }
.sh-gift__sub { font-size: 16px; color: rgba(0, 0, 0, .58); }
@keyframes shGiftTurn { to { --sh-gift-a: 360deg; } }
@media (prefers-reduced-motion: reduce) { .sh-gift-wrap::before, .sh-gift-wrap::after { animation: none; } }

/* A sheet over the page: «Перехід до Telegram», «Ви впевнені?» (owner, 28.10). */
.sh-sheet {
    position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px 16px;
    background: rgba(0, 0, 0, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    opacity: 0; transition: opacity .22s ease;
}
.sh-sheet.is-open { opacity: 1; }
.sh-sheet__card {
    position: relative; width: 100%; max-width: 420px; max-height: calc(100dvh - 40px); overflow-y: auto;
    padding: 30px 22px 22px; border: 1px solid var(--sh-line-2); border-radius: 26px; background: #0d0d0d;
    transform: translateY(14px) scale(.98); transition: transform .26s var(--sh-ease);
}
.sh-sheet.is-open .sh-sheet__card { transform: none; }
.sh-sheet__x {
    position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%;
    background: transparent; color: var(--sh-ink-3); font-size: 26px; line-height: 1; cursor: pointer;
}
.sh-sheet__x:hover { color: var(--sh-ink); background: var(--sh-card-2); }
.sh-sheet__title { margin: 0 40px 10px 0; font-size: 26px; font-weight: 600; line-height: 1.15; letter-spacing: -.02em; }
.sh-sheet__lead { margin: 0; font-size: 16px; line-height: 1.5; color: var(--sh-ink-2); }
.sh-sheet__foot { margin: 12px 0 0; font-size: 13.5px; color: var(--sh-ink-3); }
.sh-sheet .sh-actions { margin-top: 22px; }
@media (prefers-reduced-motion: reduce) { .sh-sheet, .sh-sheet__card { transition: none; } }

/* «Шукаємо найкраще рішення…» (owner, 28.10): three rings turning at their own pace — thought, not a
   spinner — and the sentence breathing under them. */
.sh-think { display: grid; justify-items: center; gap: 28px; padding: 56px 0 28px; text-align: center; }
.sh-think__orb { position: relative; width: 112px; height: 112px; }
.sh-think__orb i {
    position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; border-top-color: #fff;
    animation: shSpin 1.5s cubic-bezier(.55, .15, .45, .85) infinite;
}
.sh-think__orb i:nth-child(2) { inset: 15px; border-top-color: rgba(255, 255, 255, .62); animation-duration: 2.1s; animation-direction: reverse; }
.sh-think__orb i:nth-child(3) { inset: 30px; border-top-color: rgba(255, 255, 255, .34); animation-duration: 2.9s; }
.sh-think__text { max-width: 22ch; margin: 0; font-size: clamp(20px, 5.4vw, 24px); font-weight: 500; line-height: 1.35; letter-spacing: -.01em; animation: shPulse 2.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
    .sh-think__orb i, .sh-think__text { animation: none; }
}

/* «Фотосесій не знайдено» (owner, 28.10): the answer is the page — centred, the explanation large; its
   other requests sit under the FAQ, well apart. */
.sh-none { padding: 28px 0 4px; text-align: center; }
.sh-none .sh-title { margin-bottom: 18px; }
.sh-none .sh-text { max-width: 26ch; margin: 0 auto; font-size: clamp(21px, 5.6vw, 26px); line-height: 1.4; letter-spacing: -.01em; }
.sh-after:empty { display: none; }
.sh-after { margin-top: 56px; }
.sh-after > .sh-list { margin-top: 0; }
.sh-faq summary {
    display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 2px;
    font-size: 16px; font-weight: 500; line-height: 1.35; list-style: none; cursor: pointer;
}
.sh-faq summary::-webkit-details-marker { display: none; }
.sh-faq summary::after { content: "+"; flex-shrink: 0; font-size: 22px; font-weight: 300; color: var(--sh-ink-3); transition: transform .25s var(--sh-ease); }
.sh-faq details[open] summary::after { transform: rotate(45deg); }
.sh-faq p { margin: 0 0 14px; padding: 0 2px; font-size: 15px; line-height: 1.6; color: var(--sh-ink-2); }

/* ── Toast ── */
.sh-toast {
    position: fixed; z-index: 50; left: 50%; bottom: max(20px, env(safe-area-inset-bottom));
    max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 999px;
    background: #fff; color: #000; font-size: 14px; font-weight: 500; text-align: center;
    opacity: 0; transform: translate(-50%, 12px); pointer-events: none;
    transition: opacity .25s, transform .3s var(--sh-ease);
}
.sh-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ── Motion ── */
.sh-screen.is-entering { animation: shIn .38s var(--sh-ease) both; }
.sh-screen.is-entering-back { animation: shInBack .38s var(--sh-ease) both; }
.sh-screen.is-leaving { animation: shOut .18s ease-in both; pointer-events: none; }
.sh-screen.is-leaving-back { animation: shOutBack .18s ease-in both; pointer-events: none; }
.sh-screen.is-entering .sh-opt, .sh-screen.is-entering-back .sh-opt,
.sh-screen.is-entering .sh-ticks li, .sh-screen.is-entering-back .sh-ticks li,
.sh-screen.is-entering .sh-actions > *, .sh-screen.is-entering-back .sh-actions > * { animation: shRise .46s var(--sh-ease) both; }
.sh-ticks li:nth-child(2) { animation-delay: .05s !important; }
.sh-ticks li:nth-child(3) { animation-delay: .1s !important; }
.sh-ticks li:nth-child(4) { animation-delay: .15s !important; }
.sh-list > :nth-child(1) { animation-delay: .04s !important; }
.sh-list > :nth-child(2) { animation-delay: .08s !important; }
.sh-list > :nth-child(3) { animation-delay: .12s !important; }
.sh-list > :nth-child(4) { animation-delay: .16s !important; }
.sh-list > :nth-child(5) { animation-delay: .2s !important; }
.sh-list > :nth-child(n+6) { animation-delay: .24s !important; }
.sh-actions > :nth-child(2) { animation-delay: .06s !important; }

@keyframes shIn { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes shInBack { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes shOut { to { opacity: 0; transform: translateX(-28px); } }
@keyframes shOutBack { to { opacity: 0; transform: translateX(28px); } }
@keyframes shRise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes shSpin { to { transform: rotate(360deg); } }
@keyframes shPulse { 50% { opacity: .45; } }
@keyframes shDraw { to { stroke-dashoffset: 0; } }
@keyframes shSheet {
    0% { transform: translateY(-80px); opacity: 0; }
    15% { opacity: 1; }
    70% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(0); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .sh *, .sh *::before, .sh *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
    .sh-printer__sheet { transform: none; opacity: 1; }
}

@media (min-width: 600px) {
    .sh { padding-top: 48px; }
    .sh-top { margin-bottom: 22px; }
}
