/* /sms (templates/drobo/legal/sms.html): the frame round the copy of the setup step and the screenshot of the real one.
   The step inside keeps the setup's own look (css/drobo-ui-onboarding.css, loaded before this); here it only sits in
   a card like the real pop-up's, labelled as a copy, with every control shown as normal although none of them works.
   Only --ui-* tokens, so light and dark follow the theme. */

.lg-sms-demo { display: grid; gap: .75rem; margin: 1.5rem 0 1.25rem; }
.lg-sms-demo > *, .lg-sms-shot > * { min-width: 0; }
/* The long label wraps on a narrow phone, as in setup (css/drobo-ui-onboarding.css, the Book button). */
body.ui-app .lg-sms-demo .ob-btn:not(.ob-btn--quiet) { height: auto; min-height: var(--ui-h-field); padding-block: .55rem; line-height: 1.25; white-space: normal; text-align: center; }
.lg-section > .lg-sms-demo, .lg-section > .lg-sms-shot { max-width: 30rem; }
.lg-sms-demo__label {
  display: inline-flex; align-items: center; gap: .45rem; justify-self: start; padding: .25rem .65rem;
  font-size: .75rem; font-weight: 600; color: var(--ui-fg-2); background: var(--ui-subtle); border: 1px solid var(--ui-border); border-radius: 999px;
}
.lg-sms-demo__label .ti { font-size: .95rem; color: var(--ui-primary); }
.lg-sms-demo__card {
  --ob-pad: 1.5rem;
  padding: 1.5rem var(--ob-pad) 1.6rem; color: var(--ui-fg); background: var(--ui-card); border: 1px solid var(--ui-border); border-radius: 18px;
  box-shadow: 0 24px 60px -30px rgba(15, 23, 42, .35), 0 8px 24px -18px rgba(37, 99, 235, .25);
}
html[data-theme="dark"] .lg-sms-demo__card { background: #111114; border-color: #26262c; box-shadow: 0 24px 70px -30px rgba(0, 0, 0, .9); }
/* The step's question, at the setup's size (an h2 there; a plain line here, so the page's numbered headings stay its own). */
.lg-sms-demo .ob-head { margin-bottom: 1.35rem; }
.lg-section .lg-sms-demo .ob-head p { margin: 0; font-size: .9375rem; line-height: 1.45; color: var(--ui-muted); }
.lg-section .lg-sms-demo .ob-head .lg-sms-demo__title { max-width: 22ch; font-size: 1.5rem; font-weight: 700; letter-spacing: -.035em; line-height: 1.2; color: var(--ui-fg); }
/* Shown as they look in setup, though disabled. */
.lg-sms-demo .ob-seg label, .lg-sms-demo .ob-sms, .lg-sms-demo .ob-sms input, .lg-sms-demo .ob-seg input { cursor: default; }
body.ui-app .lg-sms-demo .ui-btn:disabled { opacity: 1; }
body.ui-app .lg-sms-demo .ui-input:disabled { opacity: 1; color: var(--ui-fg); background: var(--ui-card); -webkit-text-fill-color: currentColor; }
.lg-sms-demo .ob-sms:hover { border-color: var(--ui-border); }
.lg-sms-demo .ob-seg label:hover { border-color: color-mix(in srgb, var(--ui-fg) 16%, transparent); }
.lg-sms-demo .ob-seg label:has(input:checked):hover { border-color: var(--tone); }
.lg-sms-demo .ob-actions { padding-top: 1.25rem; }
.lg-section .lg-sms-demo__note { margin: 0; font-size: .8125rem; line-height: 1.5; color: var(--ui-muted); }

.lg-sms-shot { display: grid; gap: .5rem; margin: 1.5rem 0 0; }
.lg-sms-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--ui-border); border-radius: 14px; background: var(--ui-subtle); }
.lg-sms-shot figcaption { font-size: .8125rem; line-height: 1.5; color: var(--ui-muted); }

@media (max-width: 640px) {
  .lg-sms-demo__card { --ob-pad: 1.1rem; padding-top: 1.25rem; padding-bottom: 1.25rem; border-radius: 16px; }
  .lg-section .lg-sms-demo .ob-head .lg-sms-demo__title { font-size: 1.3rem; }
  .lg-sms-demo .ob-mark { width: 3rem; height: 3rem; font-size: 1.4rem; border-radius: 14px; }
}
