dialog.shtab-exit{--sx-accent:#785630;--sx-ink:#302d28;--sx-soft:#f5f1ea;position:fixed;inset:0;width:min(1100px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 40px);padding:0;border:0;border-radius:26px;background:#fff;color:var(--sx-ink);font:inherit;overflow:auto;box-shadow:0 30px 100px #0003}dialog.shtab-exit::backdrop{background:#241d16a6;backdrop-filter:blur(5px)}.shtab-exit *{box-sizing:border-box}.shtab-exit .sx-grid{display:grid;grid-template-columns:1fr 1fr}.shtab-exit .sx-close{position:absolute;right:16px;top:16px;z-index:2;width:44px;height:44px;border:1px solid #c5b397;border-radius:50%;background:#fff;color:#4a3621;font:32px/1 inherit;cursor:pointer}.shtab-exit .sx-close:focus-visible{outline:3px solid #785630;outline-offset:3px}.shtab-exit .sx-offer{padding:36px 38px 40px;background:#f1ebe2}.shtab-exit .sx-brand{margin-bottom:40px}.shtab-exit .sx-brand img{width:180px;height:64px;object-fit:contain;object-position:left center}.shtab-exit h2{font-size:36px;line-height:1.2;font-weight:750;letter-spacing:-1.1px;margin:0 0 16px}.shtab-exit .sx-subtitle{font-size:17px;line-height:1.5;margin:0 0 28px}.shtab-exit ul{list-style:none;margin:0;padding:0}.shtab-exit li{display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid #cdbfae;padding:18px 0;font-size:18px;font-weight:650;line-height:1.35}.shtab-exit li small{display:block;font-size:13px;font-weight:400;line-height:1.4;margin-top:6px}.shtab-exit li strong{flex:none;font-size:32px;font-weight:750;color:var(--sx-accent);white-space:nowrap}.shtab-exit .sx-action{padding:68px 38px 36px}.shtab-exit .sx-doctor{display:flex;align-items:center;gap:20px;margin-bottom:34px}.shtab-exit .sx-doctor img{width:108px;height:108px;border-radius:50%;object-fit:cover;object-position:center 8%;background:#f1ebe2}.shtab-exit .sx-doctor strong{font-size:22px;font-weight:750}.shtab-exit .sx-doctor p{font-size:15px;line-height:1.55;color:#7a7268;margin:8px 0 0}.shtab-exit h3{font-size:27px;line-height:1.25;letter-spacing:-.5px;margin:0 0 12px;font-weight:750}.shtab-exit .sx-invite p{font-size:16px;line-height:1.5;color:#7a7268;margin:0 0 24px}.shtab-exit .sx-native-form{display:flex!important;flex-direction:column;gap:10px;width:100%;margin:0}.shtab-exit .sx-native-form input:not([type=checkbox]):not([type=hidden]){width:100%;min-height:56px;border:1px solid #cdbfae;border-radius:10px;padding:12px 16px;background:#fff;color:#302d28;font:inherit;font-size:18px}.shtab-exit .sx-native-form label{font-size:14px;line-height:1.5}.shtab-exit .sx-native-form input[type=checkbox]{width:20px;height:20px;min-height:0;flex:none;accent-color:var(--sx-accent)}.shtab-exit .sx-native-form button[type=submit]{width:100%;min-height:60px;border:0;border-radius:12px;padding:16px;background:var(--sx-accent);color:#fff;font:inherit;font-size:17px;font-weight:750;cursor:pointer}.shtab-exit .sx-native-form button:disabled{opacity:.65;cursor:wait}.shtab-exit .sx-native-form a{color:inherit;text-decoration:underline}.shtab-exit .sx-native-form .form-status{font-size:14px;line-height:1.4}.shtab-exit .sx-native-form .lead-consent,.shtab-exit .sx-native-form .sm-consent{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.45;margin:10px 0!important}.shtab-exit .sx-native-form .sm-phone-line{font-size:13px;line-height:1.4}.shtab-exit .sx-native-form .sm-actions{display:block}.shtab-exit .sx-native-form .sm-field{display:flex;flex-direction:column;gap:8px}@media(max-width:700px){dialog.shtab-exit{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:20px}.shtab-exit .sx-grid{grid-template-columns:1fr}.shtab-exit .sx-offer{padding:24px 22px 12px}.shtab-exit .sx-brand{margin-bottom:22px}.shtab-exit .sx-brand img{width:150px;height:46px}.shtab-exit h2{font-size:27px;letter-spacing:-.6px;padding-right:12px}.shtab-exit .sx-subtitle{font-size:15px;margin-bottom:16px}.shtab-exit li{font-size:15px;padding:12px 0;gap:14px}.shtab-exit li strong{font-size:25px}.shtab-exit .sx-action{padding:22px}.shtab-exit .sx-doctor{gap:14px;margin-bottom:22px}.shtab-exit .sx-doctor img{width:82px;height:82px}.shtab-exit .sx-doctor strong{font-size:19px}.shtab-exit .sx-doctor p{font-size:13px;margin-top:4px}.shtab-exit h3{font-size:23px}.shtab-exit .sx-invite p{font-size:15px}.shtab-exit .sx-close{width:38px;height:38px;right:10px;top:10px}}@media(prefers-reduced-motion:reduce){dialog.shtab-exit::backdrop{backdrop-filter:none}}

.shtab-exit .sx-close{font-size:30px;line-height:1;font-family:inherit}.shtab-exit .sx-portrait{width:108px;height:108px;flex:none;overflow:hidden;border-radius:50%;background:#f1ebe2}.shtab-exit .sx-portrait img{display:block;width:100%;height:auto;border-radius:0;transform:scale(2);transform-origin:50% 4%;object-fit:contain}@media(max-width:700px){.shtab-exit .sx-portrait{width:82px;height:82px}.shtab-exit .sx-portrait img{width:100%;height:auto}.shtab-exit .sx-brand{margin-bottom:18px}.shtab-exit li{padding:10px 0}}

.shtab-exit.sx-react-layout{position:relative!important;display:grid!important;grid-template-columns:1fr 1fr!important;width:min(1100px,calc(100vw - 40px))!important;max-width:1100px!important;max-height:calc(100dvh - 40px)!important;padding:0!important;gap:0!important;overflow:auto!important;border-radius:26px!important;background:white!important;color:#302d28!important}.sx-react-layout>.sx-offer{grid-column:1}.sx-react-layout>.sx-native-form{grid-column:2;padding:60px 36px 32px}.sx-react-layout .sx-doctor{margin-bottom:20px}.sx-react-layout .sx-native-form>h2{font-size:27px!important}.sx-react-layout .sx-native-form>div:first-of-type:not(.sx-doctor){font-size:12px}@media(max-width:700px){.shtab-exit.sx-react-layout{width:calc(100vw - 24px)!important;grid-template-columns:1fr!important}.sx-react-layout>.sx-native-form{grid-column:1;padding:24px 22px}.sx-react-layout>.sx-offer{grid-column:1}}

/* Mobile compact preview: offer -> doctor -> phone/consent/CTA, without repeated copy.
   Desktop composition is deliberately untouched. The gifts already named in the
   heading are not repeated as a tall second list on a phone. */
@media (max-width:700px){
 dialog.shtab-exit{
  width:calc(100vw - 24px);
  max-height:calc(100dvh - 24px);
  margin:auto;
  border-radius:22px;
 }
 .shtab-exit .sx-grid{display:block}
 .shtab-exit .sx-offer{padding:20px 18px 16px}
 .shtab-exit .sx-brand{margin:0 0 14px}
 .shtab-exit .sx-brand img{width:118px;height:34px}
 .shtab-exit h2{
  margin:0;
  padding:0;
  font-size:23px;
  line-height:1.23;
  letter-spacing:-.55px;
 }
 .shtab-exit .sx-subtitle,
 .shtab-exit .sx-offer>ul,
 .shtab-exit .sx-invite{display:none}
 .shtab-exit .sx-action{padding:16px 18px 18px}
 .shtab-exit .sx-doctor{gap:12px;margin:0 0 16px;min-height:64px}
 .shtab-exit .sx-portrait{width:64px;height:64px}
 .shtab-exit .sx-portrait img{width:100%;height:auto}
 .shtab-exit .sx-doctor strong{font-size:18px;line-height:1.2}
 .shtab-exit .sx-doctor p{font-size:13px;line-height:1.4;margin:4px 0 0}
 .shtab-exit .sx-native-form{gap:10px}
 .shtab-exit .sx-native-form input:not([type=checkbox]):not([type=hidden]){
  min-height:52px;
  height:52px;
  font-size:17px;
  padding:12px 14px;
 }
 .shtab-exit .sx-native-form .lead-consent,
 .shtab-exit .sx-native-form .sm-consent{
  margin:4px 0!important;
  gap:9px;
  font-size:12.5px!important;
  line-height:1.4!important;
 }
 .shtab-exit .sx-native-form button[type=submit]{
  min-height:56px;
  padding:13px 14px;
  font-size:16px;
  line-height:1.3;
  border-radius:12px;
 }
 .shtab-exit .sx-native-form .form-status:empty,
 .shtab-exit .sx-native-form .sm-status:empty{display:none}
 .shtab-exit .sx-close{width:38px;height:38px;right:10px;top:10px}
 .shtab-exit.sx-react-layout{max-height:calc(100dvh - 24px)!important}
 .sx-react-layout>.sx-native-form{padding:16px 18px 18px;gap:10px}
 .sx-react-layout .sx-native-form>h2{font-size:22px!important;line-height:1.2!important}
}
@media (max-width:370px){
 .shtab-exit h2{font-size:22px}
 .shtab-exit .sx-doctor strong{font-size:17px}
}

/* Compact adapters: keep existing form nodes/handlers; suppress only mobile duplicates. */
@media(max-width:700px){
 .shtab-exit .sx-native-form>h2,
 .shtab-exit .sx-native-form>p:not([role="status"]),
 .shtab-exit .sx-native-form>[class*="eyebrow"],
 .shtab-exit .sx-native-form>label:has(input[name="name"]:not([required])){display:none!important}
 .shtab-exit .sx-native-form label:has(input[type="checkbox"]){display:flex!important;align-items:flex-start;gap:9px;margin:4px 0!important;font-size:12.5px!important;line-height:1.4!important}
 .shtab-exit .sx-native-form label:has(input[type="checkbox"]) button[type="button"]{display:inline!important;border:0!important;background:none!important;padding:0!important;margin:0!important;min-height:0!important;font:inherit!important;line-height:inherit!important;color:inherit!important;text-decoration:underline!important}
 .shtab-exit .sx-native-form label:has(input[type="checkbox"]) input{margin-top:2px!important}
 .shtab-exit .sx-native-form .form-message:empty,
 .shtab-exit .sx-native-form .lead-st:empty{display:none}
 .shtab-exit .sx-native-form>label:has(input[name="phone"]){display:flex;flex-direction:column;gap:6px}
}
