/* Acabamento e tipografia do aparelho, sobre o percurso interativo da abertura. */
#abertura .agenda-theatre {
  --nx-device-width: 332px;
  --nx-device-height: 598px;
  --nx-screen: #fcfafb;
  --nx-chrome: #501027;
  --nx-glass: #18181a;
  --nx-berry: #902344;
  height: calc(var(--nx-device-height) + 47px);
  width: 100%;
  max-width: 410px;
  min-width: 0;
  overflow: visible;
}
#abertura .agenda-theatre::before, #abertura .agenda-theatre::after { content: none; }
#abertura .agenda-theatre .work-photo { display: none; }

#abertura .phone-device.product-agenda {
  inset: 0 0 auto;
  width: min(calc(100% - 18px), var(--nx-device-width));
  height: var(--nx-device-height);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  border: 5px solid var(--nx-glass);
  border-radius: 42px;
  background: var(--nx-screen);
  outline: 1px solid #565557;
  box-shadow: 0 0 0 2px #bebcb8, 0 0 0 3px #77767a,
    2px 1px 0 3px #e3e0dd, -2px -1px 0 3px #eeedeb,
    0 14px 24px -16px #2a182d4a, 0 28px 58px -28px #3f172d55;
  isolation: isolate;
  animation: nx-phone-enter 680ms cubic-bezier(.2,.8,.28,1) both;
}
@keyframes nx-phone-enter {
  from { opacity: .45; transform: translateY(11px) scale(.987); }
  to { opacity: 1; transform: none; }
}
#abertura .phone-status {
  flex: none;
  height: 36px;
  padding: 0 22px;
  background: var(--nx-chrome);
  color: #fff;
}
#abertura .phone-status time { font: 750 10px/1 Arial,sans-serif; letter-spacing: .01em; }
#abertura .phone-camera {
  width: 77px;
  height: 21px;
  top: 7px;
  background: #0b0b0e;
  box-shadow: inset 0 0 1px 1px #ffffff10;
}
#abertura .phone-camera::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #7583a0 0 6%, #27344c 21%, #101724 46%, #08090c 70%);
}
#abertura .phone-status > span:last-child {
  display: block;
  position: relative;
  width: 37px;
  height: 11px;
  font-size: 0;
  letter-spacing: 0;
  background:
    linear-gradient(currentColor,currentColor) 0 6px/3px 4px,
    linear-gradient(currentColor,currentColor) 4px 4px/3px 6px,
    linear-gradient(currentColor,currentColor) 8px 2px/3px 8px,
    linear-gradient(currentColor,currentColor) 12px 0/3px 10px;
  background-repeat: no-repeat;
}
#abertura .phone-status > span:last-child::before {
  content: "";
  position: absolute;
  top: 1px;
  right: 2px;
  width: 13px;
  height: 8px;
  box-sizing: border-box;
  border: 1px solid #ffffffb0;
  border-radius: 2px;
  background: linear-gradient(currentColor,currentColor) 1px center/8px 4px no-repeat;
}
#abertura .phone-status > span:last-child::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 0;
  width: 1px;
  height: 4px;
  background: #fff9;
}
#abertura .phone-brand {
  flex: none;
  height: 55px;
  padding: 6px 18px 11px;
  gap: 9px;
  background: linear-gradient(115deg, var(--nx-chrome) 6%, #741c3e 100%);
  border-bottom: 1px solid #ffffff1f;
}
#abertura .phone-brand img { border-radius: 9px; padding: 4px; width: 32px; height: 32px; }
#abertura .phone-brand strong { font-size: 17px; letter-spacing: -.02em; }
#abertura .phone-brand strong small { font-size: 7px; font-weight: 650; letter-spacing: .29em; }
#abertura .phone-brand > span { max-width: 62px; font-size: 8px; color: #fcecf3; }
#abertura .phone-stage { flex: 1 1 auto; min-height: 0; height: auto; background: var(--nx-screen); }
#abertura .phone-bottom {
  flex: none;
  height: 29px;
  padding: 1px 0 5px;
  gap: 4px;
  border: 0;
  font-size: 8px;
  line-height: 1.2;
  color: #73666e;
  background: var(--nx-screen);
}
#abertura .phone-bottom i { width: 83px; height: 4px; background: #262126; }
#abertura .phone-client, #abertura .phone-owner, #abertura .feature-screen { background-color: var(--nx-screen); }
#abertura .phone-client, #abertura .phone-owner { padding: 17px 15px; }
#abertura .phone-screen-heading small, #abertura .phone-owner .paper-label { color: #892146; font-size: 8px; letter-spacing: .13em; font-weight: 720; }
#abertura .phone-screen-heading h2, #abertura .phone-owner .paper-header h2, #abertura .customer-agenda h2 {
  font-size: 23px;
  font-weight: 760;
  letter-spacing: -.052em;
  line-height: 1.1;
  margin: 5px 0;
}
#abertura .phone-screen-heading p { color: #6a5e68; font-size: 10px; }
#abertura .client-steps { margin: 11px 0; font-size: 8px; }
#abertura .client-steps .active { background: #f4e2e9; color: #76233f; font-weight: 730; }
#abertura .phone-client .arrival-note {
  min-height: 68px;
  padding: 10px;
  border-radius: 13px;
  border: 1px solid #e2d3da;
  box-shadow: 0 3px 8px #39132a05;
}
#abertura .phone-client .arrival-icon {
  display: grid;
  place-items: center;
  flex-basis: 31px;
  height: 33px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: #faeaf0;
}
#abertura .phone-client .arrival-note small, #abertura .phone-client .arrival-note div > span { font-size: 9px; color: #6c5e67; }
#abertura .phone-client .arrival-note strong { font-size: 14px; font-weight: 720; }
#abertura .phone-client .pro-select-label, #abertura .client-date { font-size: 10px; color: #6a5e68; }
#abertura .client-slots > strong {
  background: #861d40;
  color: white;
  border-color: #751637;
  font-size: 14px;
  font-weight: 720;
  line-height: 1.25;
  animation: none;
  box-shadow: 0 3px 7px #7615361c;
}
#abertura .client-slots > span { align-content: center; font-size: 12px; color: #72646c; }
#abertura .client-confirm {
  min-height: 39px;
  border-radius: 10px;
  background: #641530;
  font-size: 12px;
  box-shadow: 0 2px 5px #52132916;
}
#abertura .phone-client .client-note { font-size: 9px; }
#abertura .phone-owner .product-reservation-row { grid-template-columns: 45px minmax(0,1fr); border-color: #c89daf; }
#abertura .phone-owner .time-anchor strong { font-size: 15px; line-height: 1.2; font-variant-numeric: tabular-nums; color: #7b193b; }
#abertura[data-state=booked] .phone-owner .product-reservation-row {
  border: 1px solid #d8b8c5;
  background: #fff7fa;
  box-shadow: inset 3px 0 #8e2046;
  animation: nx-slot-in .48s ease-out both;
}
@keyframes nx-slot-in { from { background: #edd4df; } to { background: #fff7fa; } }
#abertura .phone-owner .placed-booking strong { font-size: 14px; }
#abertura .phone-owner .booking-person > span { color: #50424c; }
#abertura .phone-owner .duration-track i { background: #943455; height: 3px; border-radius: 4px; }
#abertura .phone-owner .phone-row { min-height: 48px; margin-bottom: 7px; padding-block: 9px; }
#abertura .feature-screen:not([hidden]) { animation: nx-screen-enter .36s cubic-bezier(.2,.75,.3,1) both; }
@keyframes nx-screen-enter { from { opacity: .55; transform: translateY(6px); } to { opacity: 1; transform: none; } }
#abertura .customer-agenda article { border: 1px solid #e8d8e0; border-left: 3px solid #9b254f; border-radius: 16px; box-shadow: 0 8px 20px #4325360c; }
#abertura .customer-agenda time { font-size: 37px; font-weight: 750; letter-spacing: -.065em; }
#abertura .customer-agenda article header span { color: #175436; font-size: 10px; }

#abertura[data-feature=chat] .phone-status, #abertura[data-feature=chat] .chat-contact { background: #075247; }
#abertura[data-feature=chat] .phone-brand { display: none; }
#abertura[data-feature=chat] .feature-screen { background: #eee9e0; padding: 0; }
#abertura .chat-thread { padding: 12px 11px; background: #eee9e0; }
#abertura .chat-contact { padding: 6px 13px 11px; gap: 8px; }
#abertura .chat-contact .contact-avatar { width: 35px; height: 35px; background: #d1ebdf; color: #0e564b; }
#abertura .chat-contact small { color: #d6ede5; }
#abertura .chat-day { background: #fffdf6; color: #484e49; border-radius: 7px; }
#abertura .wa-message { max-width: 90%; font-size: 13px; line-height: 1.36; box-shadow: 0 1px 2px #262b251c; }
#abertura .wa-message.incoming { border-radius: 4px 13px 13px; }
#abertura .wa-message.outgoing { background: #daf2d0; border-radius: 13px 4px 13px 13px; }
#abertura[data-feature=chat] .phone-bottom { background: #eee9e0; color: #606a61; }
#abertura .wa-composer { padding: 5px 8px; }
#abertura .wa-composer div { min-height: 33px; box-shadow: 0 1px 2px #18332a12; }

#abertura[data-feature=pix] .phone-status { background: #124e4e; }
#abertura[data-feature=pix] .phone-brand { background: linear-gradient(110deg,#124e4e,#176261); }
#abertura[data-feature=pix] .feature-screen { background: linear-gradient(155deg,#e8f3ef,#f5faf8 68%); }
#abertura .pix-ticket { border-radius: 16px; border-color: #c8dad4; box-shadow: 0 6px 14px #174b3c0c; }
#abertura .pix-ticket .pix-amount { color: #154943; font-size: 38px; font-weight: 740; letter-spacing: -.07em; font-variant-numeric: tabular-nums; }
#abertura .pix-paid:not([hidden]) { border-radius: 13px; background: #e0efe8; }
#abertura .pix-check { color: white; background: #17634d; }
#abertura .tour-play { width: 40px; height: 40px; right: 1px; top: 9px; background: #fffc; border-color: #e0d8dc; backdrop-filter: blur(12px); }
#abertura .tour-chapters { width: min(79%, 250px); }
#abertura .tour-chapters i { height: 4px; }
#abertura .tour-chapters [aria-current] i { transform: scaleY(1.18); }
#abertura .arrival-receipt { bottom: 65px; min-height: 51px; width: max-content; max-width: min(92%, 265px); right: 0; left: auto; padding: 8px 11px; border-radius: 15px; box-shadow: 0 5px 17px #2b192b1d; }
#abertura .arrival-receipt > span { width: 29px; height: 29px; flex-basis: 29px; border-radius: 9px; }
#abertura .arrival-receipt strong { font-size: 12px; }
#abertura .arrival-receipt p { line-height: 1.3; font-size: 10px; }
#abertura [data-chapter]:focus-visible, #abertura .tour-play:focus-visible { outline: 2px solid #9b2451; outline-offset: 1px; }

@media (max-width: 760px) {
  #abertura .agenda-theatre { --nx-device-width: 305px; --nx-device-height: 550px; margin: 15px auto 0; }
  #abertura .phone-device.product-agenda { border-radius: 37px; }
  #abertura .tour-play { top: 10px; right: max(0px, calc((100% - 338px) / 2)); }
  #abertura .phone-client, #abertura .phone-owner { padding: 13px; }
  #abertura .phone-brand { height: 48px; }
  #abertura .phone-owner-date { margin-block: 10px; }
  #abertura .phone-owner .phone-row { min-height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  #abertura .phone-device.product-agenda, #abertura .phone-device *, #abertura .arrival-receipt, #abertura .tour-chapters i {
    animation: none !important;
    transition: none !important;
  }
}

/* A seleção manual exibe o quadro final mesmo com o percurso pausado. */
#abertura[data-auto=false] .feature-screen:not([hidden]),
#abertura[data-auto=false] .feature-screen :is(.wa-message,.pix-paid,.pix-check) { animation: none; }
