/* "Text me" card (public/js/sms-card.js). Nov 28 2026: brand look (owner: "spice up the texting box... match the rest of
   the site"): soft purple card with a gold edge, icon, gold label, Berkshire Swash title, pill input + purple button.
   Narrow places stack; wide places (the dashboard) go side by side: icon | text | form. */
[data-sms-card] { container-type: inline-size; }
.smsc { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 16px; align-items: start; margin: 22px auto 0; text-align: left;
  padding: 22px 20px 16px; border-radius: 20px; overflow: hidden; font-family: Poppins, system-ui, sans-serif; color: #3F2941;
  background: radial-gradient(ellipse 70% 120% at 100% 0%, rgba(244, 210, 122, .22), transparent 60%), linear-gradient(135deg, #fbf6fc, #f3e8f5);
  border: 1px solid rgba(201, 160, 72, .45); box-shadow: 0 10px 30px rgba(63, 41, 65, .10); }
.smsc::after { content: "✦"; position: absolute; right: 18px; bottom: 10px; font-size: 22px; color: rgba(201, 160, 72, .45); pointer-events: none; }
.smsc-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, #8c3b96, #5b2463); color: #F4D27A; font-size: 22px; box-shadow: 0 6px 16px rgba(140, 59, 150, .3); }
.smsc-ic svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; }
.smsc-ic svg .smsc-star { fill: #F4D27A; stroke: none; }
.smsc-t { display: grid; gap: 4px; min-width: 0; }
.smsc-label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8c3b96; }
.smsc-h { display: block; font-family: 'Berkshire Swash', Georgia, serif; font-weight: 400; font-size: clamp(21px, 4vw, 26px); line-height: 1.2; color: #3F2941; text-wrap: balance; }
.smsc-sub { display: block; font-size: 15px; color: #6b5a70; line-height: 1.5; }
.smsc-f { grid-column: 1 / -1; min-width: 0; }
.smsc-row { display: flex; gap: 8px; margin: 2px 0 10px; }
.smsc-row input { flex: 1; min-width: 0; border: 1px solid #cdbdd5; border-radius: 999px; padding: 13px 18px; font: 16px Poppins, system-ui, sans-serif; background: #fff; color: #3F2941; }
.smsc-row input:focus { outline: none; border-color: #8c3b96; box-shadow: 0 0 0 3px rgba(140, 59, 150, .18); }
.smsc-row button { flex: none; border: 0; border-radius: 999px; padding: 13px 24px; font: 600 16px Poppins, system-ui, sans-serif; background: #8c3b96; color: #fff; cursor: pointer; box-shadow: 0 6px 16px rgba(140, 59, 150, .28); transition: transform .15s, filter .15s; }
.smsc-row button:hover { transform: translateY(-1px); filter: brightness(1.06); }
.smsc-row button:disabled { opacity: .6; transform: none; }
.smsc-ok { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: #6b5a70; line-height: 1.45; }
.smsc-ok input { margin-top: 2px; flex: 0 0 auto; width: 16px; height: 16px; accent-color: #8c3b96; }
.smsc-ok a { color: #8c3b96; }
.smsc-msg { font-size: 14px; color: #b3261e; margin-top: 6px; min-height: 1em; }
.smsc-msg:empty { min-height: 0; margin: 0; }
.smsc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.smsc.is-done { padding-bottom: 20px; }
@container (min-width: 760px) {
  .smsc { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.05fr); gap: 0 28px; align-items: center; padding: 26px 30px; }
  .smsc-ic { width: 64px; height: 64px; border-radius: 20px; }
  .smsc-ic svg { width: 34px; height: 34px; }
  .smsc-f { grid-column: auto; }
  .smsc-row { margin-top: 0; }
}
@media (max-width: 420px) { .smsc-row { flex-direction: column; } .smsc-row button { width: 100%; } }
.smsc-x { position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: rgba(63, 41, 65, .07); color: #3F2941; cursor: pointer; }
.smsc-x:hover, .smsc-x:focus-visible { background: rgba(63, 41, 65, .14); }
.smsc-t { padding-right: 30px; }
[data-sms-wrap][hidden] { display: none !important; }
@container (min-width: 760px) { .smsc-t { padding-right: 0; } .smsc { padding-right: 56px; } }
