:is(#request, #project-chat).zm-simple {
  background: #fbfcfa;
  --ink: #243d39;
  --accent: #42665c;
  --angle: 8deg;
}
.zm-simple .zm-direct-sheet {
  display: block;
  max-width: 1120px;
  border: 1px solid #d5dfd9;
  border-radius: clamp(22px, 3vw, 38px);
  box-shadow: 0 18px 50px -40px #26463e66;
}
.zm-simple .zm-direct-scene {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(240px, .85fr);
  padding: clamp(26px, 3.5vw, 48px) clamp(32px, 5vw, 76px);
  gap: clamp(20px, 3vw, 48px);
  background: radial-gradient(ellipse at 88% 76%, #dce9e2 0, transparent 44%),
    linear-gradient(115deg, white 36%, #f3f7f4 88%);
}
.zm-simple .zm-direct-copy h2 {
  max-width: 19ch;
  color: var(--ink);
  font-size: clamp(36px, 4.5vw, 68px);
  line-height: 1.03;
  letter-spacing: -.035em;
}
.zm-simple .zm-direct-copy h2 em { color: var(--accent); }
.zm-simple .zm-direct-copy p { margin-top: 16px; max-width: 41ch; color: #465953; text-wrap: pretty; }
.zm-simple .zm-direct-links {
  display: flex;
  flex-wrap: wrap;
  max-width: none;
  gap: 10px;
  margin-top: 24px;
}
.zm-simple .zm-direct-links a {
  flex: 0 1 auto;
  min-height: 50px;
  gap: 9px;
  padding: 8px 15px;
  border-radius: 16px;
  background: #f1f7fc;
  border-color: #c9dbe5;
  box-shadow: 0 3px 9px -6px #3d616d55;
}
.zm-simple .zm-direct-links a[data-channel=whatsapp] { background: #f1f8f2; border-color: #ccdece; }
.zm-simple .zm-direct-links a:hover { background: white; border-color: #79978f; }
.zm-simple .zm-direct-links a:focus-visible { outline: 3px solid #315f8b; outline-offset: 3px; }
.zm-simple .zm-simple-link-label { font-size: 13px; line-height: 1.18; }
.zm-simple .zm-simple-link-label strong { font-size: 16px; }
.zm-simple .zm-direct-arrow { padding-left: 3px; }
.zm-simple .zm-direct-device-wrap { position: relative; padding: 12px 0; }
.zm-simple .zm-direct-device-wrap::before {
  content: ""; position: absolute; bottom: 0; left: 18%; right: 8%; height: 6%;
  background: radial-gradient(ellipse, #48665a35, transparent 68%); transform: rotate(-3deg);
}
.zm-simple .zm-direct-device {
  width: 206px;
  transform: perspective(1200px) rotateY(-8deg) rotate(var(--angle));
  --screen: #edf1e8;
}
.zm-simple .zm-direct-screen { gap: 13px; }
.zm-simple .zm-direct-bubble { max-width: 97%; font-size: 14px; }
.zm-simple .zm-direct-bubble.is-mine { background: #d7edcf; }
#request.zm-direct--desk { --angle: -11deg; --accent: #435777; }
.zm-direct--desk .zm-direct-scene {
  grid-template-columns: minmax(245px, .92fr) minmax(0, 1fr);
  grid-template-areas: "phone copy";
  background: linear-gradient(90deg, #f6f5ee44, #fafbf7da 45%, #fdfdfb 64%),
    url("images/home-studio/worktable-800.webp") left center / cover;
}
.zm-direct--desk .zm-direct-device-wrap { grid-area: phone; }
.zm-direct--desk .zm-direct-copy { grid-area: copy; }
.zm-direct--desk .zm-direct-links { display: grid; max-width: 345px; gap: 0; }
.zm-simple.zm-direct--desk .zm-direct-links a {
  border: 0; border-top: 1px solid #cbd5d0; border-radius: 0;
  box-shadow: none; padding: 10px 3px; background: transparent;
}
.zm-direct--desk .zm-simple-link-label strong { display: inline; }
.zm-direct--desk .zm-direct-device { --screen: #e4eef6; }
.zm-direct--desk .zm-direct-bubble.is-mine { background: #cde6fa; }
#request.zm-direct--postcard { --angle: 6deg; --accent: #475a73; }
.zm-direct--postcard .zm-direct-scene {
  grid-template-columns: minmax(0,1fr) minmax(220px,.75fr) minmax(0,1fr);
  grid-template-areas: "heading heading heading" "intro intro intro" "tg phone wa";
  gap: 0 16px;
  background: radial-gradient(ellipse at 48% 89%, #dce3f0, transparent 50%), #fafbfd;
}
.zm-direct--postcard .zm-direct-copy, .zm-direct--postcard .zm-direct-links { display: contents; }
.zm-direct--postcard .zm-direct-copy h2 { grid-area: heading; max-width: none; text-align: center; }
.zm-direct--postcard .zm-direct-copy h2 em { display: inline; }
.zm-direct--postcard .zm-direct-copy p { grid-area: intro; justify-self: center; text-align: center; max-width: 53ch; margin: 10px 0 12px; }
.zm-direct--postcard .zm-direct-device-wrap { grid-area: phone; }
.zm-direct--postcard .zm-direct-device { width: 198px; }
.zm-direct--postcard .zm-direct-links a { min-width: min(100%, 186px); background: white; border-radius: 36px; }
.zm-direct--postcard a[data-channel=telegram] { grid-area: tg; justify-self: end; }
.zm-direct--postcard a[data-channel=whatsapp] { grid-area: wa; justify-self: start; }

@media (max-width: 740px) {
  .zm-simple .zm-direct-scene {
    display: flex; gap: 15px; padding: 24px clamp(15px, 4vw, 28px) 20px;
  }
  .zm-simple .zm-direct-copy h2 { font-size: clamp(32px, 7.8vw, 45px); }
  .zm-simple .zm-direct-copy p { margin-top: 10px; }
  .zm-simple .zm-direct-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; margin-top: 15px; }
  .zm-simple .zm-direct-links a { min-width: 0; min-height: 46px; padding: 6px 8px; gap: 6px; }
  .zm-simple .zm-simple-link-label { font-size: 12px; }
  .zm-simple .zm-simple-link-label strong { font-size: 14px; }
  .zm-simple .zm-direct-arrow { display: none; }
  .zm-simple .zm-direct-device { width: min(100%, 190px); --angle: 5deg; }
  .zm-simple .zm-direct-device-wrap { padding: 10px 0; }
  .zm-direct--desk .zm-direct-scene {
    background: linear-gradient(#fdfdfb 25%, #fafbf8e3 49%, #f3f4ed30),
      url("images/home-studio/worktable-800.webp") center bottom / cover;
  }
  .zm-direct--desk .zm-direct-device { --angle: -7deg; }
  .zm-direct--desk .zm-simple-link-label strong { display: block; }
  .zm-direct--postcard .zm-direct-copy { display: flex; flex-direction: column; align-items: center; }
  .zm-direct--postcard .zm-direct-links { width: min(100%, 340px); }
  .zm-direct--postcard .zm-direct-links a { grid-area: auto; justify-self: stretch; justify-content: center; }
  .zm-direct--postcard .zm-direct-copy p { margin-bottom: 0; }
}

:is(#request, #project-chat).zm-direct--studio {
  --angle: 6deg;
  --ink: #213a41;
  --accent: #35687d;
}
.zm-direct--studio .zm-direct-scene {
  background: radial-gradient(ellipse at 83% 77%, #e1edf0, transparent 44%), #fff;
}
.zm-direct--studio .zm-direct-copy h2 { text-wrap: balance; }
.zm-direct--studio .zm-direct-copy p { max-width: 40ch; }
.zm-direct--studio .zm-direct-links { display: flex; gap: 8px 18px; align-items: center; }
.zm-direct--studio .zm-direct-links a[data-channel=telegram] {
  gap: 8px; padding-inline: 19px; min-height: 50px; border: 1px solid #19628a;
  border-radius: 32px; color: white; background: linear-gradient(120deg, #267ba6, #195b84);
  box-shadow: inset 0 1px #ffffff35, 0 6px 16px -9px #235b80a8; font-weight: 700;
}
.zm-direct--studio .zm-direct-links a[data-channel=telegram]:hover { background: #18577d; }
.zm-direct--studio .zm-direct-links a[data-channel=telegram] img { width: 24px; height: 24px; }
.zm-direct--studio .zm-direct-links a[data-channel=whatsapp] {
  min-height: 44px; padding: 4px 2px; border: 0; border-radius: 5px;
  background: transparent; box-shadow: none; color: #486058; font-size: 14px;
}
.zm-direct--studio .zm-direct-links a[data-channel=whatsapp]:hover { text-decoration: underline; text-underline-offset: 3px; }
.zm-direct--studio .zm-direct-links a[data-channel=whatsapp] img { width: 19px; height: 19px; }
.zm-direct--studio .zm-direct-device {
  width: min(100%, 238px);
  --screen: #e2ecf0;
}
.zm-direct--studio .zm-direct-status,
.zm-direct--studio .zm-direct-account { background: #416883; color: white; }
.zm-direct--studio .zm-direct-account {
  border: 0; padding: 9px 8px; gap: 7px;
  box-shadow: 0 1px 3px #203b5422; z-index: 1;
}
.zm-direct--studio .zm-direct-account small { color: #e4f1fa; }
.zm-direct--studio .zm-direct-screen {
  background: radial-gradient(ellipse at 5% 10%, #f2f5ea, transparent 80%),
    linear-gradient(130deg, #e6efea, #d6e6ef);
}
.zm-direct--studio .zm-direct-bubble { max-width: 94%; }
.zm-direct--studio .zm-direct-bubble.is-mine { background: #d8edfc; }
.zm-chat-time {
  display: block; margin-top: 3px; text-align: right;
  color: #46677b; font-size: 10px; line-height: 1;
}
@media (max-width: 740px) {
  .zm-direct--studio .zm-direct-device { width: min(100%, 232px); --angle: 4deg; }
  .zm-direct--studio .zm-direct-links { gap: 2px 12px; }
  .zm-direct--studio .zm-direct-links a { flex: 0 0 auto; }
}

.zm-direct--studio .zm-direct-screen { gap: 7px; padding: 10px 8px; }
.zm-direct--studio .zm-direct-bubble { padding: 7px 9px; }
@media (prefers-reduced-motion: no-preference) {
  .zm-direct--studio[data-play-chat] .is-reply + .is-reply { animation-delay: 2.3s; }
}
#project-chat { padding-block: clamp(28px, 3.8vw, 56px); scroll-margin-top: 90px; }
#project-chat .zm-direct-copy h2 { margin: 0; font-weight: 720; }
#project-chat .zm-direct-copy h2 em { font-style: normal; }
