.sms-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.sms-lab[id], .sms-audience[id], #sms-workflow { scroll-margin-top: 90px; }
.sms-lab .section-head { max-width: 53rem; }
.sms-lab { background: linear-gradient(150deg, #edf7ff, var(--paper) 67%); }
.sms-lab-layout {
  display: grid; grid-template-columns: minmax(245px, .78fr) minmax(0, 1.22fr);
  align-items: start; gap: clamp(1rem, 3.5vw, 2.65rem);
}
.sms-composer, .sms-audience-filters {
  min-width: 0; padding: clamp(1.05rem, 3.1vw, 2rem); background: white;
  border: 1px solid var(--line); border-radius: 19px; box-shadow: 0 12px 34px #173c7210;
}
.sms-composer h3, .sms-audience-filters h3 { margin-bottom: 1.15rem; }
.sms-composer fieldset, .sms-filter-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.sms-composer label { display: block; margin-bottom: .35rem; font-size: .9rem; font-weight: 720; }
.sms-composer input, .sms-composer textarea {
  display: block; width: 100%; min-width: 0; padding: .72rem .8rem; background: #f8fbff;
  color: var(--ink); border: 1px solid #b9cce3; border-radius: 8px; font: inherit;
}
.sms-composer input[aria-invalid="true"] { border-color: #bd2035; }
.sms-composer input[aria-invalid="true"] + p { color: #a11f36; }
.sms-composer textarea { resize: vertical; min-height: 7.5rem; }
.sms-hint { color: var(--muted); font-size: .82rem; line-height: 1.5; }
#sms-sender-help { margin: .42rem 0 1.2rem; }
.sms-meter { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .15rem .7rem; margin: .4rem 0; }
.sms-meter output { font-size: .79rem; font-weight: 680; color: #284c80; }
.sms-text-button {
  min-height: 44px; padding: .25rem .08rem; border: 0; background: transparent;
  color: var(--blue); cursor: pointer; font-size: .83rem; font-weight: 720; text-align: left;
}
.sms-text-button:hover:not(:disabled) { text-decoration: underline; text-underline-offset: 3px; }
.sms-text-button:disabled { color: #526680; cursor: default; opacity: .72; }
.sms-composer-note { margin-top: 1.25rem; padding-top: .9rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .83rem; }
.sms-device-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.65rem, 2.5vw, 1.7rem); }
.sms-device { min-width: 0; width: min(100%, 278px); justify-self: center; }
.sms-device figcaption { margin-top: .65rem; font-weight: 720; text-align: center; }
.sms-phone {
  container-type: inline-size; position: relative; isolation: isolate; width: 100%; aspect-ratio: 1 / 2.04;
  overflow: hidden; border: clamp(4px, .65vw, 7px) solid #11182b; border-radius: 15% / 7.35%;
  background: white; color: #111; box-shadow: 0 13px 34px #12376838, 0 0 0 1px #8799af;
  font: .78rem/1.35 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.sms-island { position: absolute; z-index: 2; inset: 2% auto auto 50%; transform: translateX(-50%); width: 31%; height: 4.3%; border-radius: 100px; background: #07080b; }
.sms-phone-status {
  position: relative; z-index: 1; display: flex; justify-content: space-between;
  padding: 4.1% 8% 0; font-size: 5cqw; font-weight: 740; line-height: 1;
}
.sms-status-icons { margin-inline-start: auto; white-space: nowrap; font-size: .83em; letter-spacing: -.07em; }
.sms-lock {
  color: #f6faff;
  background:
    radial-gradient(ellipse at 86% 45%, #44c5de99, transparent 56%),
    radial-gradient(ellipse at 52% 20%, #3981e2, #102e68 50%, #041023 88%);
}
.sms-lock::before {
  content: ""; position: absolute; inset: 38% -55% -15% 5%; z-index: -1; border-radius: 54% 35% 25% 42%;
  transform: rotate(-29deg); background: linear-gradient(135deg, #62c8e559, #1b4d8aba 40%, #061128 69%);
  box-shadow: inset 0 1px 1px #a3ebff50, -14px 0 22px #09285f55;
}
.sms-lock-clock { position: absolute; inset: 9% 3% auto; display: grid; justify-items: center; font-weight: 650; }
.sms-lock-clock svg { width: 8cqw; height: 8cqw; margin-bottom: 2.4cqw; }
.sms-lock-clock small { font-size: 6.2cqw; }
.sms-lock-clock strong { margin-top: -.01em; font-size: 31cqw; line-height: 1; letter-spacing: -.07em; font-weight: 740; }
.sms-notification {
  position: absolute; bottom: 18%; inset-inline: 4.5%; display: flex; gap: 4cqw; align-items: center;
  padding: 4cqw; background: #142b50d9; color: #fff; border: 1px solid #cde3ff55;
  border-radius: 8cqw; backdrop-filter: blur(15px);
}
.sms-message-icon { display: grid; place-items: center; flex: none; width: 13cqw; aspect-ratio: 1; border-radius: 3cqw; background: linear-gradient(#70ed7e, #19b646); }
.sms-message-icon i { position: relative; display: block; width: 64%; height: 52%; background: #fff; border-radius: 50%; }
.sms-message-icon i::after { content: ""; position: absolute; bottom: -8%; left: 17%; width: 29%; height: 27%; transform: skew(-30deg); border-radius: 0 0 1px 0; background: #fff; }
.sms-notification-copy { min-width: 0; flex: 1; }
.sms-notification-top { display: flex; justify-content: space-between; align-items: start; gap: 2cqw; font-size: 5.6cqw; line-height: 1.2; }
.sms-notification-top strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sms-notification-top time { color: #d0def2; font-size: .78em; }
.sms-notification p {
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
  margin-top: 1.1cqw; font-size: 5.35cqw; line-height: 1.3; white-space: pre-wrap; overflow-wrap: anywhere;
}
.sms-lock-shortcuts { position: absolute; inset: auto 10% 5% 10%; display: flex; justify-content: space-between; }
.sms-lock-shortcuts span { display: grid; place-items: center; width: 16cqw; aspect-ratio: 1; border-radius: 50%; background: #0e254cbb; border: 1px solid #bfd6f14f; }
.sms-lock-shortcuts svg { width: 8cqw; height: 8cqw; }
.sms-home-bar { position: absolute; left: 32%; right: 32%; bottom: 2%; height: max(2px, 1.45cqw); border-radius: 99px; background: currentColor; }
.sms-thread { display: flex; flex-direction: column; }
.sms-thread-header {
  position: relative; display: grid; justify-items: center; margin-top: 2%; padding: 3cqw 16% 3.2cqw;
  background: linear-gradient(#fff, #f4f5f7); border-bottom: 1px solid #dfe1e6;
}
.sms-thread-back { position: absolute; left: 5%; top: 14%; color: #0066d5; font-size: 13cqw; line-height: 1; }
.sms-avatar {
  position: relative; display: grid; place-items: center; width: 18cqw; aspect-ratio: 1; overflow: hidden;
  border-radius: 50%; color: white; background: linear-gradient(#acb8d1, #6f7f9f);
}
.sms-avatar i { position: relative; width: 33%; aspect-ratio: 1; background: currentColor; border-radius: 50%; transform: translateY(-38%); }
.sms-avatar i::after { content: ""; position: absolute; width: 174%; height: 100%; top: 111%; left: -37%; background: currentColor; border-radius: 50% 50% 16% 16%; }
.sms-thread-header strong { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 5.75cqw; margin-top: 1cqw; }
.sms-thread-content { flex: 1; overflow: auto; padding: 4cqw 6% 6cqw; scrollbar-width: thin; }
.sms-thread-content:focus-visible { outline-offset: -3px; }
.sms-thread-content small { display: block; margin-bottom: 4cqw; text-align: center; color: #565c68; font-size: 4.4cqw; }
.sms-thread-content p {
  position: relative; width: fit-content; max-width: 92%; padding: 3.5cqw 4.1cqw; border-radius: 7cqw;
  background: #e9e9ee; font-size: 5.8cqw; line-height: 1.3; white-space: pre-wrap; overflow-wrap: anywhere;
}
.sms-thread-content p::before {
  content: ""; position: absolute; left: -1.4cqw; bottom: 0; width: 5.5cqw; height: 4.8cqw;
  border-radius: 0 0 88% 0; background: #e9e9ee;
}
.sms-thread-composer { display: flex; align-items: center; gap: 3cqw; padding: 3cqw 6% 8cqw; color: #656b76; font-size: 4.8cqw; }
.sms-thread-composer span:first-child { display: grid; place-items: center; width: 10cqw; aspect-ratio: 1; border-radius: 50%; background: #edeef1; color: #1e2127; font-size: 8cqw; line-height: 1; }
.sms-thread-composer span:last-child { flex: 1; padding: 2cqw 3cqw; border: 1px solid #d8dae0; border-radius: 100px; white-space: nowrap; }
.sms-contact { margin-bottom: clamp(3.5rem, 7vw, 6rem); }
.sms-device-note { margin-top: 1.25rem; color: var(--muted); font-size: .82rem; }

.sms-use-grid, .sms-goal-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; margin: 0; padding: 0; list-style: none;
}
.sms-use-grid li, .sms-goal-grid li { min-width: 0; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: 12px; }
.sms-use-grid li { background: #f8fbff; }
.sms-goal-grid li { background: white; border-top: 3px solid #62adee; box-shadow: 0 10px 22px #1333650b; }
.sms-use-grid h3, .sms-goal-grid h3 { font-size: clamp(1.12rem, 2vw, 1.5rem); letter-spacing: -.025em; line-height: 1.17; }
.sms-use-grid p, .sms-goal-grid p { margin-top: .35rem; color: var(--muted); font-size: .89rem; line-height: 1.53; }
.sms-goals { background: #edf5ff; }

.sms-audience-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .4fr); align-items: start; gap: 1rem; }
.sms-methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
.sms-method, .sms-chip {
  display: flex; align-items: center; gap: .52rem; min-height: 44px; border: 1px solid #ccd9e9;
  border-radius: 9px; padding: .52rem .65rem; text-align: left; background: #f8fbff; cursor: pointer;
}
.sms-method { min-height: 57px; font-size: .91rem; font-weight: 720; }
.sms-method-icon { display: grid; flex: none; place-items: center; width: 30px; height: 30px; border-radius: 7px; background: #e1efff; color: var(--blue); }
.sms-method:hover, .sms-chip:hover { border-color: var(--blue); }
.sms-method[aria-pressed="true"], .sms-chip[aria-pressed="true"] { border-color: var(--blue); background: var(--blue); color: #fff; }
.sms-method[aria-pressed="true"] .sms-method-icon { color: white; background: #ffffff35; }
.sms-audience-intro { margin-top: 1.1rem; color: var(--muted); font-size: .88rem; }
.sms-filter-group { margin-top: 1.15rem; }
.sms-filter-group legend { padding: 0; margin-bottom: .48rem; font-weight: 750; }
.sms-filter-group .sms-hint { margin-bottom: .45rem; }
.sms-chips { display: flex; flex-wrap: wrap; gap: .38rem; }
.sms-chip { font-size: .82rem; font-weight: 620; }
.sms-geo { padding-top: .5rem; border-top: 1px solid var(--line); }
.sms-geo legend { padding-right: .45rem; }
.sms-geo-actions { display: flex; gap: 1rem; margin-top: -.2rem; }
.sms-area-list { display: grid; gap: .45rem; margin-top: .8rem; }
.sms-area-group { border: 1px solid var(--line); border-radius: 8px; background: #f8fbff; }
.sms-area-group summary { padding: .6rem .7rem; font-size: .84rem; font-weight: 700; cursor: pointer; }
.sms-area-group summary small { margin-inline-start: .5rem; color: var(--muted); font-size: .75rem; font-weight: 560; }
.sms-area-options { display: flex; flex-wrap: wrap; gap: 0 1.1rem; padding: 0 .7rem .45rem; }
.sms-area-options label { display: flex; align-items: center; gap: .42rem; min-height: 36px; font-size: .82rem; cursor: pointer; }
.sms-area-options input { width: 1rem; height: 1rem; accent-color: var(--blue); margin: 0; }
.sms-geo .sms-geo-hint { margin: .65rem 0 0; }
.sms-audience-summary {
  position: sticky; top: 95px; min-width: 0; padding: clamp(1rem, 2.6vw, 1.75rem); border-radius: 18px;
  background: radial-gradient(ellipse at 90% 0, #164784, transparent 78%), var(--navy); color: white;
}
.sms-audience-summary h3 { font-size: clamp(1.2rem, 2.15vw, 1.62rem); }
.sms-audience-number { display: block; margin-top: .46rem; font: 750 clamp(2.55rem, 5.1vw, 4.1rem)/1.1 var(--heading); color: #8be6ff; font-variant-numeric: tabular-nums; letter-spacing: -.05em; overflow-wrap: anywhere; }
.sms-audience-summary > p, .sms-selection-summary { margin-top: .46rem; color: #d4e4f9; font-size: .83rem; }
.sms-selection-summary { display: grid; gap: .28rem; max-height: min(15rem, 35vh); overflow: auto; padding-left: 1rem; }
.sms-selection-summary:empty { display: none; }
.sms-audience-summary .sms-text-button { margin-top: .45rem; color: #8be6ff; }
.sms-audience-summary .sms-text-button:disabled { color: #c4d5eb; }

@media (max-width: 850px) {
  .sms-lab-layout { grid-template-columns: minmax(0, 1fr); }
  .sms-device-pair { max-width: 575px; width: 100%; justify-self: center; }
}
@media (max-width: 700px) {
  .sms-use-grid, .sms-goal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sms-audience-layout { grid-template-columns: minmax(0, 1fr); }
  .sms-audience-summary {
    position: sticky; top: auto; bottom: .4rem; z-index: 3;
    display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: .5rem; padding: .7rem .9rem;
    box-shadow: 0 -3px 20px #0d2a5b2b;
  }
  .sms-audience-summary h3 { grid-row: 1; grid-column: 1; align-self: center; font-size: 1.05rem; }
  .sms-audience-number { grid-row: 1 / span 2; grid-column: 2; align-self: center; margin: 0; font-size: 2rem; }
  .sms-audience-summary > p { margin: .16rem 0 0; }
  .sms-audience-summary .sms-hint, .sms-selection-summary { grid-column: 1 / -1; }
  .sms-selection-summary { max-height: 4.1rem; overflow: auto; margin: .35rem 0 0; }
  .sms-audience-summary .sms-text-button { grid-column: 1 / -1; min-height: 34px; margin: .15rem 0 0; }
}
@media (max-width: 490px) {
  .sms-use-grid, .sms-goal-grid { grid-template-columns: minmax(0, 1fr); }
  .sms-methods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sms-method { font-size: .82rem; }
  .sms-method-icon { width: 25px; height: 25px; }
  .sms-device figcaption { font-size: .78rem; }
}

@media (max-width: 365px) {
  .sms-device-pair { grid-template-columns: minmax(0, 1fr); }
  .sms-device { width: min(100%, 220px); }
}
