@import url("/assets/guided-setup/guided-chat-font.css?v=2dd9d69c");

*{box-sizing:border-box}body{margin:0;background:#eaf1f8;color:#102345;font:1rem/1.5 system-ui,sans-serif}
main{max-width:600px;margin:auto;min-height:100dvh;background:white;padding:1rem}
header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.5rem 0;border-bottom:1px solid #b8c6d7}
h1{font-size:1.3rem;margin:0}button{font:inherit;min-height:44px;padding:.55rem .85rem;background:#102345;color:#fff;border:0;border-radius:12px}
button:focus-visible,summary:focus-visible{outline:3px solid #956200;outline-offset:3px}
#thread{display:grid;gap:.75rem;padding:1rem 0}.bubble{margin:0;padding:.65rem .9rem;background:#deecfa;border-radius:18px 18px 18px 4px;max-width:88%;width:fit-content}
.reply{background:#102345;color:#fff;justify-self:end;border-radius:18px 18px 4px 18px}
#choices {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .6rem;
  max-width: 88%;
  margin-left: auto;
}
#choices fieldset {
  flex-basis: 100%;
  min-width: 0;
  margin: 0;
}
#choices fieldset div + div { margin-top: .65rem; }
#choices button:disabled { opacity: .55; }
details{padding:.6rem;border-bottom:1px solid #b8c6d7}

.credential-entry {
  width: min(100%, 24rem);
  display: grid;
  gap: .65rem;
  overflow-wrap: anywhere;
}
.credential-entry label { display: grid; gap: .3rem; }
.credential-entry input {
  width: 100%;
  min-height: 44px;
  padding: .55rem .75rem;
  border: 1px solid #627793;
  border-radius: .75rem;
  font: inherit;
}
.credential-entry ul { list-style: none; margin: 0; padding: 0; }
.credential-entry li[data-met="false"] { color: #a12424; }
.credential-entry li[data-met="true"] { color: #18633b; }
.credential-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .6rem; }

main[data-reading] > :not(#policy-reader):not(#chat-header) { display: none; }
.bubble a { color: inherit; text-decoration: underline; font-weight: 650; }
.bubble a:focus-visible { outline: 3px solid #956200; outline-offset: 3px; }
#policy-reader { padding-bottom: 4rem; }
#policy-content h1 { margin-top: 1rem; }
#policy-content summary h2 { display: inline; font-size: inherit; }
#policy-content summary { cursor: pointer; padding: .4rem 0; }
#setup-help {
  position: fixed;
  bottom: max(1rem, env(safe-area-inset-bottom));
  left: max(1rem, env(safe-area-inset-left));
  border-radius: 50%;
  width: 44px;
  padding: 0;
}
main { padding-bottom: 4.5rem; }
#setup-help-panel {
  width: min(calc(100% - 2rem), 24rem);
  border: 1px solid #627793;
  border-radius: 1rem;
  padding: 1rem;
  color: inherit;
}
#setup-help-panel::backdrop { background: rgb(16 35 69 / .45); }
.setup-large-text main, .setup-large-text #setup-help-panel { font-size: 1.25rem; }

.chat-header {
  position: sticky;
  top: 0;
  z-index: 1;
  justify-content: flex-start;
  gap: .65rem;
  background: #fff;
}
.chat-header img { width: 44px; height: 44px; border-radius: 0; object-fit: contain; }
.chat-header h1 { margin-right: auto; }
.chat-call {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  height: 44px;
  border-radius: 50%;
  color: #102345;
  background: #eaf1f8;
}
.chat-call:focus-visible { outline: 3px solid #956200; outline-offset: 3px; }
#chat { border-radius: 1.5rem 1.5rem 0 0; background: #f6f9fc; padding: 0 .65rem .75rem; }
#thread [tabindex="-1"] { scroll-margin-top: 5.5rem; }
.chat-timestamp { justify-self: center; color: #425670; font-size: .875em; text-align: center; }

.chat-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .5rem;
  padding: .75rem .5rem;
  border: 0;
  border-radius: 1rem;
  background: #0a2143;
  color: #fff;
}
.chat-brand { display: flex; align-items: center; justify-content: center; gap: .5rem; min-width: 0; }
.chat-brand img { flex: 0 0 auto; width: 36px; height: 36px; }
.chat-brand h1 { margin: 0; line-height: 1.2; font-size: clamp(1rem, 4vw, 1.4rem); }
.chat-brand h1 span { color: #ffd57a; }
#chat-section-title { margin: .12rem 0 0; font-weight: 650; line-height: 1.2; font-size: clamp(.75rem, 3.5vw, 1rem); }
#back, #setup-home { width: 44px; padding: 0; background: transparent; color: #ffd57a; font-size: 1.8rem; }
#back[hidden], #setup-home[hidden] { display: none; }
.chat-header-nav { width: 50px; }
#setup-home { display: grid; place-items: center; min-height: 44px; border-radius: .75rem; }
#setup-home:focus-visible { outline: 3px solid #ffd57a; outline-offset: -3px; }
.chat-call { color: #ffd57a; background: transparent; }
.chat-section-divider {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: #173968;
  margin: .65rem 0 .15rem;
  font-size: .9em;
  font-weight: 750;
  text-align: center;
}
.chat-section-divider::before, .chat-section-divider::after {
  content: "";
  flex: 1;
  border-top: 1px solid #aabdd4;
}
#choices button, .receipt-actions button, #policy-back {
  min-height: 48px;
  border-radius: .85rem;
  background: #0a2143;
  color: #ffd57a;
  font-weight: 700;
}
#choices .credential-entry { padding: .75rem; border: 1px solid #c3cedb; border-radius: 1.1rem; background: #fff; }
#choices .credential-entry textarea { width: 100%; min-height: 5rem; padding: .55rem .75rem; border: 1px solid #627793; border-radius: .75rem; font: inherit; }
#choices .credential-entry input[type="checkbox"] { width: auto; min-height: auto; justify-self: start; }
#thread .bubble { overflow-wrap: anywhere; }


main:has(#chat:not([hidden])):not([data-reading]) {
  display: flex;
  flex-direction: column;
  height: var(--setup-viewport-height, 100dvh);
  min-height: 0;
  padding: max(.45rem, env(safe-area-inset-top)) clamp(.5rem, 3vw, 1rem) max(10px, env(safe-area-inset-bottom));
}
/* iOS can pan the visible viewport separately from the document when a field gets focus. */
html[data-setup-viewport-dock]:has(main:has(#chat:not([hidden])):not([data-reading])),
html[data-setup-viewport-dock] body:has(main:has(#chat:not([hidden])):not([data-reading])) {
  overflow: hidden;
  overscroll-behavior: none;
}
html[data-setup-viewport-dock] main:has(#chat:not([hidden])):not([data-reading]) {
  position: fixed;
  inset: var(--setup-viewport-top, 0px) 0 auto;
  overflow: clip;
}
#chat:not([hidden]) {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
  padding: 0;
}
#thread {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  overflow-anchor: none;
  padding-block-end: 1rem;
  padding-inline: .65rem;
}
#thread > * { flex-shrink: 0; }
#thread .reply { align-self: flex-end; }
#thread .chat-timestamp { align-self: center; }
#chat #choices {
  flex-shrink: 0;
  margin: 0 0 0 55px;
  max-width: none;
  max-height: 52%;
  overflow-y: auto;
  padding: .35rem .45rem .15rem 0;
}
.chat-composer, #choices .credential-entry { width: 100%; max-width: none; }
.chat-composer-row {
  position: sticky; bottom: 0;
  display: flex; align-items: center; gap: .35rem; padding: .25rem;
  border: 1px solid #aabdd4; border-radius: 999px; background: #fff;
}
.chat-composer-row:focus-within { border-color: #365d89; }
.chat-composer-row label { flex: 1; min-width: 0; }
.chat-composer-row label[hidden], #choices button[hidden] { display: none; }
.chat-composer-row :is(input, textarea, select) {
  width: 100%; min-height: 44px; padding: .5rem .8rem;
  border: 0; border-radius: 999px; background: transparent;
  color: #102345; font: 1rem system-ui, sans-serif;
}
.chat-composer-row textarea { display: block; height: 44px; resize: none; }
#choices .chat-composer-row button {
  display: grid; place-items: center; flex: 0 0 44px;
  width: 44px; min-height: 44px; padding: 0; border-radius: 50%;
}
#choices .chat-composer-row button:disabled { opacity: .5; }
.chat-composer [role="status"] { margin: .25rem .5rem; color: #a12424; font-size: .875rem; }
.chat-composer [role="status"]:empty { display: none; }
#choices .chat-field-back, #choices .chat-composer > button:not([type="submit"]), #choices .credential-actions button {
  min-height: 36px; padding: .25rem .6rem; margin-bottom: .25rem;
  background: transparent; color: #173968; font-size: .875rem;
}
body:has(#chat:not([hidden])):not(:has(main[data-reading])) .mbn-help-controls:not([data-help-docked]) {
  left: max(env(safe-area-inset-left), calc((100vw - 600px) / 2 + 12px), 10px);
  bottom: max(14px, env(safe-area-inset-bottom));
}

#thread .chat-editable-reply {
  display: grid; gap: .25rem; text-align: left;
  max-width: 88%; white-space: pre-wrap; cursor: pointer;
}
#thread .chat-editable-reply small { font-size: .8rem; text-decoration: underline; }

#thread .bubble { font: 700 1.08rem/1.4 "Bricolage Chat", ui-rounded, system-ui, sans-serif; }
.chat-brand { gap: .65rem; }
.chat-brand img { width: clamp(40px, 10vw, 54px); height: clamp(40px, 10vw, 54px); }
.chat-brand h1 { font-size: clamp(1rem, 5vw, 1.65rem); font-weight: 850; color: white; }
.chat-brand h1 span { color: #66bcff; }
#chat-section-title { font-size: clamp(.78rem, 3.8vw, 1.12rem); font-weight: 750; }

/* Keep the live rules and input together when the keyboard reduces the viewport. */
#chat #choices:has(#credential-rules) {
  flex: 0 0 auto;
  max-height: none;
  overflow: visible;
}
#choices .credential-entry:has(#credential-rules) {
  gap: .4rem;
  padding: .45rem;
}
#credential-rules {
  display: grid;
  gap: .15rem;
  padding-inline: .25rem;
  font-size: .875rem;
  line-height: 1.25;
}

@media (max-height: 420px) {
  main:has(#chat:not([hidden])) .chat-header { padding-block: .35rem; }
}

.chat-prompt-art {
  display: block; margin: .3em 0 0; text-align: center; white-space: nowrap;
  font-size: 1.4em; line-height: 1; vertical-align: -.08em;
}

#thread .chat-editable-reply small { justify-self: end; }

.chat-composer-row .masked-entry { display: flex; align-items: center; min-width: 0; }
.chat-composer-row .masked-entry[hidden] { display: none; }
.chat-composer-row .masked-entry input { flex: 1; min-width: 0; }
#choices .chat-composer-row .masked-entry-toggle {
  background: transparent; color: #173968; flex: 0 0 44px;
}

.chat-prompt-art-extra { display: none; }
@media (orientation: portrait) and (max-width: 640px) {
  .chat-prompt-art { white-space: normal; }
  .chat-prompt-art-extra { display: inline; }
}

@media (orientation: portrait) and (max-width: 640px) {
  .chat-prompt-art-extra.chat-flip-phone {
    display: inline-block; width: 1em; height: 1.08em;
    margin-inline-start: .32em; vertical-align: -.1em;
    background: none;
  }
}

#policy-reader .policy-reader-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  padding-block: .45rem;
  background: #fff;
}

.ssn-digit-example {
  display: block;
  margin-top: .4rem;
  text-align: center;
  white-space: nowrap;
  font: 700 1.15em/1.5 ui-monospace, monospace;
}
.ssn-digit-example > span {
  display: inline-block;
  padding-inline: .1em;
  border: 2px solid #174678;
  border-radius: 50%;
  line-height: 1.15;
}

.pet-photo-target {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: .45rem .8rem;
  border-radius: 999px;
}
.pet-photo-target input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.pet-photo-target:focus-within { outline: 2px solid #365d89; }
.pet-photo-target span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-pet-photo {
  align-self: flex-end;
  max-width: min(100%, 160px);
  max-height: 120px;
  object-fit: contain;
  border-radius: .75rem;
  margin-block: .3rem;
}

#thread .chat-social-post-image {
  display: block;
  align-self: flex-start;
  width: min(100%, 220px, 34dvh, calc(var(--setup-viewport-height, 100dvh) * .34));
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  margin-block: .4rem;
}

.receipt-actions {
  display: grid;
  margin-block: .35rem;
  justify-items: end;
  gap: .35rem;
}
.ssn-digit-example > i { font-size: .85em; font-style: normal; }
.receipt-print { display: none; }
@media print {
  body:has(> .receipt-print) > :not(.receipt-print) { display: none !important; }
  body:has(> .receipt-print) { background: #fff; color: #000; }
  .receipt-print { display: block; font: 12pt/1.6 system-ui, sans-serif; white-space: pre-wrap; }
}

#chat #choices.form-a-methods { flex-direction: column; flex-wrap: nowrap; align-items: flex-end; }
.form-a-more {
  display: block;
  margin-top: .35rem;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #173968;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
#form-a-guide, #membership-feature-details {
  width: min(90vw, 32rem);
  max-height: 85dvh;
  padding: 1.25rem;
  border: 1px solid #aabdd4;
  border-radius: 1rem;
  color: #102345;
}
#form-a-guide::backdrop, #membership-feature-details::backdrop { background: rgb(16 35 69 / .55); }
#form-a-guide h2 { margin-top: 0; }
#form-a-guide button, #membership-feature-back {
  min-height: 44px;
  padding: .6rem 1rem;
  border: 0;
  border-radius: .7rem;
  color: #fff;
  background: #102345;
  font: inherit;
}

#thread .notary-chat-document { display: grid; gap: .35rem; }
.notary-chat-document h2 { font-size: 1.1rem; margin: 0; }
.notary-chat-document p { font-size: .9rem; margin: .35rem 0; }
.notary-chat-document :is(a, button) {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #173968;
  font: inherit;
  text-decoration: underline;
  text-align: left;
  cursor: pointer;
}
#notary-document-viewer {
  width: min(92vw, 42rem);
  max-height: 85dvh;
  padding: 1.25rem;
  border: 1px solid #aabdd4;
  border-radius: 1rem;
  color: #102345;
}
#notary-document-viewer::backdrop { background: rgb(16 35 69 / .55); }
#notary-document-close { min-height: 44px; }

#choices .chat-composer-row .chat-resend-code {
  display: block;
  flex: 0 0 auto;
  width: auto;
  min-height: 44px;
  padding-inline: .45rem;
  border-radius: 999px;
  background: #e9f1fa;
  color: #173968;
  font-size: .75rem;
  white-space: nowrap;
}

.chat-id-card {
  display: inline-block;
  min-width: 2.35em;
  padding: .28em .32em;
  border: 1px solid currentColor;
  border-top-width: .35em;
  border-radius: .22em;
  font: 800 .55em/1 system-ui, sans-serif;
  letter-spacing: .08em;
  text-align: center;
  vertical-align: middle;
}
.chat-driver-license { background: #fff0c7; color: #644414; }
.ssn-digit-example .chat-social-security-card { background: #d9f4f7; color: #18516a; font-size: .55em; }

#thread .setup-comparison-bubble {
  width: 100%;
  max-width: 100%;
  padding: .5rem .55rem;
}
#thread .setup-comparison {
  width: 100%;
  border-collapse: collapse;
  font-size: clamp(.75rem, 3.4vw, .95rem);
  line-height: 1.25;
}
.setup-comparison :is(th, td) { padding: .42rem .35rem; text-align: center; }
.setup-comparison th:first-child { text-align: left; width: 44%; }
.setup-comparison thead th { vertical-align: bottom; }
.setup-comparison tbody :is(th, td) { border-top: 1px solid #b9cee5; }
.setup-comparison tbody th { font-weight: 600; }
.setup-comparison tbody td { width: 28%; }
.setup-comparison-icon { display: block; margin-bottom: .25rem; }
.setup-comparison-status {
  display: inline-block;
  padding: .18em .52em;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
}
.setup-comparison-status[data-status="included"] { background: #167046; color: #fff; }
.setup-comparison-status[data-status="optional"] { background: #ffdb70; color: #382700; }
.setup-comparison-status[data-status="skipped"] { background: #ac263d; color: #fff; }
#chat #choices.setup-mode-replies {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}
#choices.setup-mode-replies button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .25rem;
  min-width: 0;
  min-height: 58px;
  padding: .45rem clamp(.35rem, 1.6vw, .75rem);
  line-height: 1.15;
}
.setup-reply-copy { min-width: 0; text-align: center; }

.setup-comparison tbody .setup-comparison-time :is(th, td) { border-top: 0; font-weight: 700; }
.setup-comparison tbody .setup-comparison-section-heading th {
  border-top: 0;
  padding: .6rem .25rem .25rem;
  text-align: center !important;
}
.setup-comparison tbody .setup-comparison-mode-headings th { border-top: 0; text-align: center !important; }
.setup-comparison tbody .setup-comparison-mode-headings .setup-comparison-includes-label { text-align: left !important; }
.setup-comparison tbody .setup-comparison-time th { width: 0 !important; padding-inline: 0; }
.setup-comparison tbody .setup-comparison-time td { font-size: 1.05em; }

.setup-reply-estimate { display: block; margin-top: .15rem; font-size: .78em; font-weight: 500; }

#thread .setup-comparison-bubble { padding-top: .85rem; }
.setup-comparison-title { margin: 0 .25rem .55rem; text-align: center; font-size: 1.05rem; line-height: 1.25; }
.setup-comparison-icon, .setup-reply-animal { font-size: clamp(1.45rem, 5.5vw, 2.5rem); line-height: 1; }
.chat-call { margin-inline-end: .35rem; }
#back {
  display: flex;
  width: 50px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  font-size: .78rem;
}
#back .back-chevron { font-size: 2rem; line-height: .8; }

#setup-live-clock {
  margin-top: .2rem;
  color: #ffd57a;
  font-size: .86rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
#setup-live-clock:not([hidden]) { display: block; }

.membership-price-value {
  display: block;
  margin-top: .2em;
  font-size: .85em;
  color: #425670;
  white-space: nowrap;
}

.setup-feature-trigger {
  padding: .15rem 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: start;
  text-decoration: underline dotted;
  text-underline-offset: .2em;
  cursor: pointer;
}
.setup-feature-trigger:focus-visible { outline: 2px solid #174675; outline-offset: 2px; border-radius: 3px; }
.setup-feature-explainer {
  position: fixed;
  inset: auto;
  margin: 0;
  box-sizing: border-box;
  overflow-wrap: anywhere;
  overflow: auto;
  padding: .75rem .9rem;
  border: 1px solid #9db9d5;
  border-radius: .9rem .9rem .9rem .2rem;
  color: #102345;
  background: #f1f7ff;
  box-shadow: 0 .4rem 1.1rem #10234529;
  font: 500 .93rem/1.45 system-ui, sans-serif;
}

@media (prefers-reduced-motion: no-preference) {
  .setup-feature-explainer:popover-open { animation: setup-feature-in .16s ease-out; }
  @keyframes setup-feature-in {
    from { opacity: 0; transform: translateY(3px) scale(.98); }
    to { opacity: 1; transform: none; }
  }
}

.setup-feature-more {
  display: block;
  margin-top: .3rem;
  min-height: 44px;
  padding: 0 .4rem;
  border: 0;
  color: #174675;
  background: transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}
#membership-feature-title { font-weight: 750; cursor: pointer; }
#membership-feature-copy { line-height: 1.5; }

#chat #choices:has(.chat-name-stack) { max-height: 70%; }
.chat-composer-row.chat-name-stack {
  display: grid;
  gap: .35rem;
  padding: .45rem;
  border-radius: 1rem;
}
#choices .chat-name-stack input {
  border: 1px solid #aabdd4;
  border-radius: .65rem;
}
#choices .chat-name-stack button {
  width: 100%;
  border-radius: .65rem;
}

.chat-header .setup-save-later {
  grid-column: 1 / -1;
  justify-self: end;
  min-height: 44px;
  padding: .15rem .6rem;
  background: transparent;
  color: #ffd57a;
  font-size: .8rem;
  text-decoration: underline;
}
#setup-resume {
  width: min(90vw, 26rem);
  max-height: 85dvh;
  padding: 1.2rem;
  border: 1px solid #aabdd4;
  border-radius: 1rem;
  color: #102345;
}
#setup-resume::backdrop { background: #10234599; }
#setup-resume form, #setup-resume label { display: grid; gap: .4rem; }
#setup-resume :is(input, button) { min-height: 44px; font: inherit; }
#setup-resume-error:empty { display: none; }
.chat-driver-license {
  display: inline-grid;
  grid-template-columns: 1.25rem 1.5rem;
  gap: .18rem;
  padding: .25rem;
  font-size: .5rem;
  letter-spacing: .02em;
}
.chat-license-title { grid-column: 1 / -1; }
.chat-license-photo {
  height: 1.1rem;
  border-radius: .15rem;
  background:
    radial-gradient(circle at 50% 30%, #836b40 0 19%, transparent 21%),
    radial-gradient(ellipse at 50% 105%, #836b40 0 42%, transparent 44%),
    #f2da9f;
}
.chat-license-lines {
  align-self: center;
  height: .8rem;
  background: repeating-linear-gradient(to bottom, #836b40 0 1px, transparent 1px 4px);
}
.ssn-digit-example .chat-social-security-card { font-size: .45em; letter-spacing: .02em; }

.chat-phone-lineup {
  display: block;
  width: 100%;
  height: auto;
  margin: .35rem auto .08rem;
}

.chat-illustration-row { display: flex; align-items: center; justify-content: center; gap: .22rem; }
.chat-illustration {
  display: inline-block;
  flex: none;
  width: clamp(1.8rem, 6vw, 2.65rem);
  aspect-ratio: 1;
  background-repeat: no-repeat;
  vertical-align: middle;
}
.chat-illustration-sheet-1 { background-image: url("/assets/guided-setup/chat-illustrations-identity.webp"); background-size: 400% 400%; }
.chat-illustration-sheet-2 { background-image: url("/assets/guided-setup/chat-illustrations-tools.webp"); background-size: 300% 300%; }
.chat-ssn-illustration { width: 1.45rem; background-position: 66.6667% 33.3333%; }

.chat-illustration-sheet-3 { background-image: url("/assets/guided-setup/chat-illustrations-address.webp"); background-size: 300% 100%; }

#chat[data-help-composer-anchor] { position: relative; }
#chat[data-help-composer-anchor] > .mbn-help-controls[data-help-docked] {
  position: absolute;
  left: 0;
  bottom: 4px;
}

.intro-rate-amount { color: #14693c; }
#thread .membership-price-value {
  display: inline-block;
  margin: .2em 0 .15em .45em;
  padding: .1em .55em;
  border: 2px solid #b3202f;
  border-radius: 50%;
  color: #a21b2c;
}
#thread .membership-price-value del { text-decoration-thickness: 2px; }
.ssn-digit-example > i.chat-illustration { width: clamp(2.25rem, 9vw, 3.65rem); }
#thread .chat-address-scene, #thread .chat-state-map {
  display: block; width: 100%; height: auto; margin: .35rem auto 0;
}
#thread .bubble:has(.chat-address-scene, .chat-state-map) { width: min(100%, 28rem); }
.chat-state-map { fill: #72a8c8; stroke: #254d70; stroke-width: .65; }
.chat-state-map .selected-state { fill: #f8be42; stroke: #8e480a; stroke-width: 1.1; }
#thread .bubble:has(.card-field-guide) { width: min(100%, 25rem); max-width: 100%; }
.card-field-guide {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .4rem; margin: .65rem auto .1rem;
}
.card-amex-tip { flex-basis: 100%; text-align: center; font-size: .78em; }
#choices .form-a-preview-button { flex-basis: 100%; }
#notary-document-close { color: #fff; background: #a21b2c; }
.setup-document-preview { padding: 1rem; border: 1px solid #b9cee5; background: #fff; color: #102345; overflow-wrap: anywhere; }
.notary-preview-toolbar { position: sticky; top: 0; z-index: 1; text-align: right; background: #fff; }
#notary-document-viewer .document-brand-logo { display: block; width: 64px; height: 64px; object-fit: contain; }

.setup-comparison :is(th, td) { padding-block: .24rem; }
#thread .setup-comparison-bubble { padding-top: .55rem; }
.setup-comparison-title { margin-bottom: .3rem; }
.setup-comparison-icon { margin-bottom: .12rem; }
.setup-comparison-status[data-status="skipped"] { background: #ffdfba; color: #8d3500; }
.setup-comparison-price td { position: relative; font-weight: 800; }
.setup-comparison-reference {
  position: absolute; z-index: 1; top: 50%; left: 100%;
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  width: 2rem; aspect-ratio: 1; border: 1.5px solid currentColor;
  border-radius: 50%; color: #aa2537; background: #f4f9ff;
  font-size: .63rem; text-decoration: none;
}
.setup-comparison-reference::after {
  content: ""; position: absolute; width: 95%; height: 1.5px;
  background: currentColor; transform: rotate(-38deg);
}

#thread:has(#finish:not([hidden])) {
  padding: .65rem 0 0;
}
#thread #finish:not([hidden]) {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
}
#finish .vault-celebration {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  min-height: 0;
  margin: 0;
  padding-block: clamp(1rem, 4vh, 2rem);
}
#finish .vault-celebration-finish { margin-bottom: 0; }
#choices .finish-composer { width: 100%; }
#choices .finish-composer .finish-profile-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 0 0 0 .65rem;
  background: transparent;
  border-radius: 999px;
  color: #102345;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
}
#choices .finish-profile-link > span {
  display: grid;
  place-items: center;
  height: 44px;
  border-radius: 50%;
  background: #102345;
  color: #ffd57a;
  font-size: 1.25rem;
}
#choices .finish-profile-link:focus-visible { outline: 3px solid #956200; }
#choices .chat-composer .verification-code-sample:not([type="submit"]),
#choices .verification-code-sample {
  align-self: flex-start;
  width: max-content;
  min-height: 40px;
  padding: .45rem .75rem .45rem .95rem;
  border: 1px solid #aabdd4;
  border-radius: .45rem;
  background: #fff;
  color: #102345;
  font: 750 1.35rem/1.2 ui-monospace, monospace;
  letter-spacing: .23em;
}

.setup-comparison-status[data-status="skipped"] { background: #bf4b00; color: #fff; }
.setup-comparison-status[data-status="optional"] { background: #a07700; color: #fff; }
.setup-comparison-reference { width: 1.52rem; border-width: 1px; font-size: .52rem; }
.setup-comparison-reference::after { width: 75%; transform: translateX(2px) rotate(-40deg); }
#thread .membership-price-value {
  display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem;
  position: relative; border-width: 1px; padding: 0; font-size: .65rem;
  vertical-align: middle;
}
#thread .membership-price-value del { text-decoration: none; }
#thread .membership-price-value::after {
  content: ""; position: absolute; width: 75%; height: 1.5px; background: currentColor;
  transform: translateX(2px) rotate(-40deg);
}
#choices .setup-mode-replies .setup-reply-copy, #choices.setup-mode-replies .setup-reply-copy { font-weight: 800; }
.art-birthday { gap: .19em; font-size: clamp(1.4rem, 5.4vw, 2.1rem); }
.art-birthday .chat-illustration { width: 1.65em; }
#thread .chat-phone-lineup { display: block; width: min(82%, 20rem); height: auto; margin: .45rem auto 0; }
.art-phoneCode,.art-emailCode,.art-emailHint { gap: .44em; align-items: center; }
.art-six-digits { display: inline-flex; align-items: center; gap: 2px; }
.art-six-digits b {
  display: grid; place-items: center; width: 1.18em; height: 1.45em;
  border: 1px solid #6c91b5; border-radius: .18em;
  background: linear-gradient(white,#e9f2fb); color: #102345;
  font: 750 clamp(.69rem,3vw,1rem)/1 ui-monospace,monospace;
}
.art-modern-phone { width: 1.9rem; height: auto; }
.art-username,.art-passport,.art-today,.art-green-check { display: inline-grid; place-items: center; border-radius: .3rem; }
.art-username { grid-auto-flow: column; gap: .28rem; padding: .25rem .4rem; background: #ecf7ff; border: 1px solid #6593bb; color: #16466e; }
.art-passport { min-width: 2.05rem; height: 2.65rem; padding: .2rem; background: linear-gradient(135deg,#293f67,#10213f); color: #f5d07a; border: 1px solid #192644; }
.art-passport b { font: 750 .34rem/1 system-ui; }
.art-passport span { font-size: .85rem; }
.art-green-check { background: #197247; color: white; border-radius: 50%; width: 1.5rem; height: 1.5rem; font: 800 1rem/1 system-ui; }
.art-today { border: 1px solid #7c9fbf; border-top: .35rem solid #245e94; background: #fff; padding: .25rem; color: #12395d; font: 750 .75rem/1 system-ui; }
.art-profileReusePaymentDetails .chat-illustration, .art-profileZip .chat-illustration, .card-billing-guide .chat-illustration { width: 3.15rem; }
#thread .bubble:has(.chat-address-scene) { width: 100%; max-width: 100%; }
#thread .chat-address-scene { filter: saturate(1.13); }
.home-address-scene { display: block; position: relative; }
#thread .funding-intro,#thread .recipient-summary,#thread .reply { white-space: pre-line; }
.authorization-limits { padding: .45rem .6rem; margin: .55rem 0 0; list-style: none; background: #fff; border-radius: .5rem; font-size: .85rem; }
.authorization-limits li + li { border-top: 1px solid #c7d9ec; padding-top: .2rem; margin-top: .2rem; }
.authorization-limits li:last-child { color: #14693c; }
#notary-document-viewer { height: 85dvh; overflow: auto; padding: .65rem; }
.notary-preview-toolbar { display: flex; justify-content: end; gap: .35rem; z-index: 1; }
.setup-comparison-status[data-status="optional"] { background: #e5aa00; color: #fff; text-shadow: 0 1px 2px #674a00; }
.card-asterisk-entry { position: relative; }
.card-asterisk-mask {
  position: absolute; left: .8rem; pointer-events: none;
  color: #102345; font: 1rem system-ui,sans-serif; white-space: pre;
}
.card-asterisk-entry input[type="password"]:not(:placeholder-shown) { color: transparent; caret-color: #102345; }
.card-asterisk-entry input:is([type="text"],:placeholder-shown) + .card-asterisk-mask { display: none; }

.setup-selection-title b,.setup-reply-copy b,.setup-button-initial { font: italic 800 1.5em/.8 Georgia,serif; color:#ffe29a; }
#choices.setup-mode-replies button { align-content:center; padding-block:0; }
#choices .setup-reply-animal { font-size:clamp(2.25rem,9vw,3.3rem); }
.art-birthday { align-items:center; gap:.33em; }
/* Wrapped birthday presents */
.art-birthday { align-items:end; gap:.34em; padding:.52em .06em .1em; }
.art-birthday-gift {
  --gift-width:1.23em; --gift-height:1.03em; --wrap:#bc3658;
  --foil:linear-gradient(90deg,#bc791c,#ffe5a0 38%,#ffeab5 62%,#bc791c);
  --pattern:radial-gradient(circle,#fff8 10%,transparent 14%) 0 0/.28em .28em;
  position:relative; flex:none; width:var(--gift-width); height:var(--gift-height);
  border-radius:.12em; box-shadow:0 .11em .14em #10234542,inset 0 0 0 .03em #391b3733;
  background:var(--foil) center/16% 100% no-repeat,
    linear-gradient(#fff8 0 1px,#fff2 2px 24%,#321d3c40 25% 28%,transparent 29%,#240e3438),
    var(--pattern),var(--wrap);
}
.art-birthday-gift:nth-child(2) {
  --gift-width:1.04em; --gift-height:1.34em; --wrap:#20598f;
  --pattern:repeating-linear-gradient(135deg,transparent 0 .13em,#afe6ff55 .14em .20em,transparent .21em .30em);
}
.art-birthday-gift:nth-child(3) {
  --gift-width:1.43em; --gift-height:1.12em; --wrap:#237657;
  --pattern:repeating-conic-gradient(from 45deg,#d1edc44d 0 25%,transparent 0 50%) 0 0/.36em .36em;
}
.art-birthday-gift:nth-child(4) {
  --gift-width:1em; --gift-height:1.27em; --wrap:#7448a5;
  --foil:linear-gradient(90deg,#b3537e,#ffcfe0 38%,#ffe0ed 62%,#b3537e);
  --pattern:radial-gradient(ellipse,#ffe1f288 13%,transparent 18%) 0 0/.24em .33em;
}
.art-birthday-gift:nth-child(5) {
  --gift-width:1.18em; --gift-height:.94em; --wrap:#ba552f;
  --pattern:repeating-linear-gradient(90deg,#ffdc8b55 0 .05em,transparent .05em .19em);
}
.art-birthday-gift::before,.art-birthday-gift::after {
  content:""; position:absolute; bottom:calc(100% - .04em); width:.4em; height:.27em;
  box-sizing:border-box; border:.085em solid #ebbe58;
  background:linear-gradient(120deg,#fff8d0,#e3aa45 45%,#ffd884);
  box-shadow:inset 0 1px #fff8,0 1px 1px #3e1e3c55;
  transform-origin:bottom center;
}
.art-birthday-gift::before { right:49%; border-radius:80% 85% 12% 65%; transform:rotate(19deg); }
.art-birthday-gift::after { left:49%; border-radius:85% 80% 65% 12%; transform:rotate(-19deg); }
.art-birthday-gift:nth-child(4)::before,.art-birthday-gift:nth-child(4)::after {
  border-color:#eb99bf; background:linear-gradient(120deg,#ffeaf5,#cf739c 45%,#ffd5e8);
}

.art-six-digits { padding:.3rem; border:1.5px solid #456d95; border-radius:.32rem; background:#d7e9fa; }
.art-six-digits b { font-size:clamp(1.05rem,4.5vw,1.45rem); }
.art-emailHint { gap:.32rem; }
#thread .bubble:has(.art-emailHint) { align-self:flex-start; box-sizing:border-box; width:fit-content; max-width:100%; }
.art-emailHint { flex-wrap:wrap; }
.chat-prompt-art:has(.art-email-icon) { margin-top:.55rem; }
.art-email-icon,.art-spam-folder { display:block; flex:none; width:2.75rem; max-width:100%; height:auto; }
.art-spam-folder { width:2.55rem; height:2.65rem; object-fit:fill; }

.art-password-shield { width:2.65rem; display:block; }
.art-password-shield svg { display:block;width:100%; }
.art-mini-document { display:grid; place-items:center; background:#fff; border:1px solid #709bc4; border-radius:.2rem; width:2.35rem;height:2.75rem;font:750 .52rem system-ui; color:#173968; }
.art-mini-document b {font-size:1.15rem;}
.art-username { border:1px solid #4880ae; background:linear-gradient(145deg,#f4fbff,#c3def4); }
.art-username b { display:grid; gap:.15rem; color:#163c69; font:800 .92rem/1 system-ui; }
.art-username i { width:1.3rem; border-block:1px solid #6e99c1;height:.29rem; }
.art-profileName .chat-illustration { width:3.4rem; }
#thread .bubble:has(.ssn-card-row) { width:100%; max-width:100%; }
.ssn-card-row {
  display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  gap:clamp(.22rem,1.4vw,.55rem); align-items:start; margin-top:.65rem;
}
#thread .ssn-card-row .chat-ssn-card {
  position:relative; display:grid; grid-template-rows:1.15fr 1.2fr .4fr .8fr .7fr .35fr; align-items:center; justify-self:center;
  width:min(100%,7.5rem); aspect-ratio:1.65; margin:.12rem 0 0; padding:0;
  overflow:hidden; border:3px double #2a4b81; border-radius:.23rem;
  color:#142847; text-align:center;
  background:
    radial-gradient(circle at 50% 58%,transparent 0 26%,#bd586526 27% 30%,transparent 31%),
    repeating-linear-gradient(35deg,#284b7809 0 1px,transparent 1px 3px),#f0f2f7;
}
.ssn-card-row .chat-ssn-card::before,
.ssn-card-row .chat-ssn-card::after {
  content:""; position:absolute; top:24%; bottom:7%; width:9%;
  border-inline:1px solid #2a4b81; border-block:3px double #2a4b81;
  background:repeating-linear-gradient(90deg,#2a4b81 0 1px,#e6edf7 1px 3px);
  pointer-events:none;
}
.ssn-card-row .chat-ssn-card::before { left:2%; }
.ssn-card-row .chat-ssn-card::after { right:2%; }
.ssn-card-row .chat-ssn-card strong {
  align-self:stretch; display:grid; place-items:center; padding:.12em 0; background:#253966; color:#fffdf3;
  font:800 clamp(.3rem,1.45vw,.58rem)/1.1 Georgia,serif; letter-spacing:.01em; white-space:nowrap;
}
.ssn-card-row .chat-ssn-card > span {
  font:750 clamp(.34rem,1.6vw,.73rem)/1 ui-monospace,monospace; white-space:nowrap;
}
.ssn-card-row .chat-ssn-card .chat-ssn-digits { position:relative; z-index:1; }
.ssn-card-row .chat-ssn-card .chat-ssn-digits b {
  display:inline-block; border:1px solid #af7a06; border-radius:50%;
  background:#ffe46b; padding:.14em .09em; margin:-.14em 0;
}
.ssn-card-row .chat-ssn-card small,
.ssn-card-row .chat-ssn-card em {
  font:700 clamp(.18rem,.72vw,.28rem)/1 Georgia,serif; font-style:normal;
  white-space:nowrap; color:#253966; position:relative; z-index:1;
}
.ssn-card-row .chat-ssn-card .chat-ssn-member {
  font:800 clamp(.28rem,1.1vw,.44rem)/1 Georgia,serif;
  position:relative; z-index:1; white-space:nowrap;
}
.ssn-card-row .chat-ssn-card i {
  justify-self:center; width:65%; margin:0; padding:0 .2em; border-bottom:1px solid #547198;
  font:italic clamp(.36rem,1.5vw,.69rem)/1 cursive; white-space:nowrap;
}
.ssn-example { display:grid; justify-items:center; color:#142847; }
.ssn-large-digits { white-space:nowrap; font:800 clamp(.88rem,4.5vw,1.48rem)/1.25 ui-monospace,monospace; }
.ssn-large-digits b {
  position:relative; display:inline-block;
  border:2px solid #b14b15; border-radius:50%; background:#ffe889; padding:.08em .13em;
}
.ssn-large-digits b::after {
  content:"↑"; position:absolute; top:100%; left:50%; transform:translateX(-50%);
  color:#9a351a; font:900 .95rem/.95rem system-ui,sans-serif;
}
.ssn-example-label { margin-top:1.04rem; color:#793019; font:750 .68rem/1.15 system-ui,sans-serif; text-align:center; }

/* Give the digit guide and the sample cards their own rows on portrait phones. */
@media (orientation: portrait) and (max-width: 600px) {
  .ssn-card-row {
    grid-template-columns: repeat(2, minmax(0, 7.5rem));
    justify-content: center;
    gap: .65rem;
  }
  .ssn-card-row .ssn-example {
    grid-column: 1 / -1;
    grid-row: 1;
  }
}

#thread .bubble:has(.city-skyline-scene) { width:min(100%, 25rem); }
#thread .city-skyline-scene { width:84%; max-width:20rem; margin:.55rem auto .1rem; }
.home-address-scene {
  padding-top:2rem; margin-top:.45rem; overflow:hidden; border-radius:.42rem;
  background:
    radial-gradient(ellipse at 20% 19%,#fff 0 3%,transparent 3.6%),
    radial-gradient(ellipse at 25% 24%,#fff 0 5%,transparent 5.6%),
    radial-gradient(ellipse at 72% 18%,#fff 0 4%,transparent 4.6%),
    radial-gradient(ellipse at 77% 24%,#fff 0 5%,transparent 5.6%),
    linear-gradient(#9ed9ff,#e3f5ff 78%,#cadfdf);
}
#thread .bubble:has(.home-address-scene) { width:min(100%, 28rem); }
#thread .home-address-scene .chat-address-scene {
  width:193%; max-width:none; margin:0;
  transform:translateX(-24.55%);
}
.home-address-scene::after {
  content:""; position:absolute; top:.26rem; left:50%; transform:translateX(-50%);
  width:1rem; height:1.55rem; background:#183f68;
  clip-path:polygon(34% 0,66% 0,66% 58%,100% 58%,50% 100%,0 58%,34% 58%);
}


.art-bank-number { display:grid;place-items:center; padding:.26rem .36rem;background:#f9fdff;border:1px solid #7196b9;border-radius:.25rem;color:#173353;font:750 .65rem/1.3 ui-monospace,monospace; }
.art-bank-number small { grid-column:1/-1;font:800 .47rem/1.2 system-ui; }
.art-bank-number b {background:#fff0a7;}
.art-routing { background:linear-gradient(#d7eaf6 0 23%,#fff 23%); }
.art-member-card {display:inline-grid;place-items:center;position:relative;flex:none;}
.art-member-card { width:3.45rem;height:2.12rem;border:1px solid #1d3c62;border-radius:.32rem;background:linear-gradient(145deg,#204d78,#122640);color:#ffde83; }
.art-member-card small { font:750 .44rem system-ui;letter-spacing:.06em; }
.art-member-card b {font-size:.85rem;}
.no-card-tip .card-amex-tip {display:none;}
.sample-notary-signature {font-style:italic;}
.sample-notary-seal {display:inline-block;padding:.35rem;border:2px double #294e76;border-radius:50%;font-size:.72rem;}
.chat-phone-lineup-art { display:flex; align-items:end; justify-content:center; gap:1%; width:min(88%,20rem); margin:.45rem auto 0; }
.chat-phone-lineup-art > span {
  width:calc(var(--phone-span) * 100% / 1110);
  aspect-ratio:var(--phone-span) / 251;
  background-image:url("/assets/guided-setup/chat-phone-lineup-sidekick.webp");
  background-size:calc(1110 / var(--phone-span) * 100%) 100%;
  background-position:calc(var(--phone-start) / (1110 - var(--phone-span)) * 100%) bottom;
  background-repeat:no-repeat;
}

/* Bondsman access and case sharing illustrations */
.art-account-alert {
  position:relative; width:3.1rem; height:2.13rem; display:grid; place-items:center;
  border:1px solid #225b91; border-radius:.38rem;
  background:linear-gradient(140deg,#ddf3ff,#7fbae9); box-shadow:0 2px 5px #17396835;
}
.art-access-profile {
  display:grid; place-items:center; grid-template-columns:1fr; gap:.12em;
  color:#205583; margin-right:.5rem; font:700 .58rem/1 system-ui,sans-serif;
}
.art-access-profile i { width:1rem; height:.47rem; background:#205583; border-radius:.6rem .6rem .12rem .12rem; }
.art-access-warning {
  position:absolute; right:-.22rem; bottom:-.12rem; width:1.25rem; height:1.25rem;
  display:grid; place-items:center; border:1px solid #b23c24; border-radius:50%;
  background:#e45a39; color:white; box-shadow:0 2px 3px #17396855; font:900 .83rem/1 system-ui,sans-serif;
}
.art-bond-case {
  display:flex; flex-wrap:wrap; justify-content:center; gap:.3rem;
  font:750 .59rem/1.2 system-ui,sans-serif; white-space:normal;
}
.art-bond-case > span {
  display:grid; grid-template-rows:auto 1fr; justify-items:center; gap:.16rem;
  padding:.25rem .3rem; border:1px solid #9eb7cd; border-radius:.35rem;
  color:#173c63; background:#f6fbff; text-align:center;
}
.art-bond-case b { font-size:1rem; line-height:1; color:#247249; }

/* High-resolution payment illustrations. */
.art-bank-vault,.art-cash-stack,.art-coin-stack {
  display:block; flex:none; width:clamp(2.3rem,10vw,3.25rem); aspect-ratio:1;
  background-position:center; background-size:contain; background-repeat:no-repeat;
}
.art-bank-vault { width:clamp(2.75rem,11vw,3.6rem); }
.art-bank-vault { background-image:url("/assets/guided-setup/guided-payment-safe.webp"); }
.art-cash-stack { background-image:url("/assets/guided-setup/guided-cash-stack.webp"); }
.art-coin-stack { background-image:url("/assets/guided-setup/guided-coin-stack.webp"); }

.art-socialPlatform { gap:.4rem; flex-wrap:wrap; }
.art-social-network {
  display:block; width:clamp(1.65rem,6vw,2.1rem); aspect-ratio:1; padding:.22rem;
  object-fit:contain; background:#fff; border-radius:.35rem;
}
.art-notification-reminder {
  width:2.65rem; aspect-ratio:1; display:block; flex:none;
  background:url("/assets/guided-setup/guided-notification-reminder.webp") center/contain no-repeat;
}

.art-vault-bank,.art-vault-cards {
  display:block; flex:none; width:clamp(2.75rem,11vw,3.6rem); aspect-ratio:1;
  background-image:url("/assets/guided-setup/chat-illustrations-tools.webp"); background-size:300% 300%;
}
.art-vault-bank { position:relative; background-position:100% 50%; }
.art-vault-bank b {
  position:absolute; top:28%; left:50%; transform:translateX(-50%);
  color:#173154; background:#f3d781; padding:.02rem .08rem;
  font:900 .36rem/1 system-ui,sans-serif;
}
.art-vault-cards { background-position:50% 50%; }
.art-checking-check {
  display:grid; place-items:center; width:3rem; aspect-ratio:1.8;
  border:1px solid #76a4ba; border-radius:.22rem; color:#225a73;
  background:linear-gradient(#d0eef6,#f9fcff); font:800 .48rem/1 system-ui,sans-serif;
}
.art-checking-check b { color:#26714f;font-size:.82rem; }
.art-account-kinds { display:flex; gap:.15em; align-items:center; font-size:1.8rem; line-height:1; }
.vault-saved-summary { font-weight:750; }

#chat-header .setup-save-later {
  grid-column:1 / -1; justify-self:center; min-height:0; padding:.15rem .55rem .25rem;
  margin:0; color:#ffd57a; font-size:.76rem;
}
#chat-section-title { min-height:2.3em; display:flex; align-items:center; }
.chat-illustration-row.art-username,.art-signInUsername { margin-top:.68rem; }
.art-username-profile { display:block; width:4.4rem; height:auto; }
.art-confirmPassword .art-green-check { width:2.65rem; height:2.65rem; font-size:1.55rem; }
.art-emailHint .art-spam-folder { width:3.12rem; height:2.8rem; }
.art-emailHint .art-six-digits { min-height:2.75rem; }
#thread .setup-terms-consent a[data-setup-policy] {
  display:inline-block; border-radius:999px; padding:.12rem .48rem; margin:.04rem .07rem;
  background:#1657a5; color:#fff; font-weight:750; text-decoration:none; white-space:normal; overflow-wrap:anywhere; vertical-align:middle;
}
#setup-resume-form[hidden],#setup-resume-continue[hidden] { display:none; }
#choices .setup-mode-replies button:first-child .setup-reply-animal,
#choices.setup-mode-replies button:first-child .setup-reply-animal,
.opening-options a[href="#full"] .review-setup-animal { transform:scale(1.24); }

.chat-illustration-row.art-username {
  display:flex; padding:0; border:0; background:none;
}
.art-emailHint .art-spam-folder {
  width:2.75rem; height:2.75rem; object-fit:contain;
}
.art-profileName,.art-profileReusePaymentDetails { gap:.45rem; }
.art-profileReusePaymentDetails { flex-wrap:wrap; }
.art-profileReusePaymentDetails .chat-illustration:first-child { width:3.4rem; }
.art-passport-cover { display:block; flex:none; height:4.65rem; width:auto; }
.art-bank-identity { display:inline-flex; align-items:center; gap:.18rem; }
.art-calendar { display:inline-grid; justify-items:stretch; border:1px solid #7c9fbf; border-radius:.3rem; background:#fff; overflow:hidden; }
.art-calendar .art-today { border:0; border-top:.28rem solid #245e94; border-radius:0; }
.art-calendar::after {
  content:""; display:block; width:1.875rem; height:.75rem; margin:0 auto .22rem;
  border-right:1px solid #8eb2cf; border-bottom:1px solid #8eb2cf;
  background:linear-gradient(to right,#8eb2cf 1px,transparent 1px),linear-gradient(to bottom,#8eb2cf 1px,transparent 1px),#edf6ff;
  background-size:.375rem .375rem;
}
.art-justice-scales { display:block; flex:none; width:2.75rem; height:2.75rem; object-fit:contain; }

.art-protected .chat-illustration {
  clip-path: inset(0 19% 0 0);
  transform:translateX(.16rem);
}
.art-blue-balloon {
  position:relative; display:block; width:1.65rem; height:1.95rem; margin:.12rem 0 .65rem;
  border-radius:50% 50% 48% 48% / 46% 46% 54% 54%;
  background:radial-gradient(ellipse at 33% 24%,#dcf9ff 0%,#5ec9ff 23%,#1385e5 55%,#164bb0 86%);
  box-shadow:inset 0 0 0 1px #216cbc66;
}
.art-blue-balloon::before {
  content:""; position:absolute; top:96%; left:42%; width:16%; height:.22rem;
  background:#1a62bd; clip-path:polygon(50% 0,100% 100%,0 100%);
}
.art-blue-balloon::after {
  content:""; position:absolute; top:calc(100% + .17rem); left:48%; width:.35rem; height:.51rem;
  border-left:1px solid #44698c; border-radius:50%; transform:rotate(-18deg);
}

.art-sonDaughter { gap:.45rem; }
.art-pink-balloon {
  background:radial-gradient(ellipse at 33% 24%,#fff3fb 0%,#ff9ad4 23%,#e7509c 55%,#a92a75 86%);
  box-shadow:inset 0 0 0 1px #9b2c7166;
}
.art-pink-balloon::before { background:#b93a82; }
.art-balloon-popper { display:block; font-size:1.55rem; line-height:1; }
.art-balloon-popper-left { transform:scaleX(-1); }

.art-contact,.art-contactManual { gap:.45rem; }
.art-contactManual .chat-illustration { width:3.4rem; }
.art-emergency-beacon { position:relative; display:block; flex:none; width:2.5rem; height:2.4rem; }
.art-emergency-beacon i {
  position:absolute; inset:.4rem .42rem .25rem; border-radius:.7rem .7rem .16rem .16rem;
  border:1px solid #941423;
  background:radial-gradient(ellipse at 32% 36%,#fff1ed 0%,#ff796a 28%,#ef2635 53%,#a70b20 90%);
  box-shadow:0 0 .35rem #ed41475c;
}
.art-emergency-beacon::before {
  content:""; position:absolute; top:.57rem; left:.04rem; width:.31rem; height:.12rem;
  background:#e32535; border-radius:.12rem; box-shadow:2.12rem 0 #e32535,1.05rem -.43rem #e32535;
}
.art-emergency-beacon::after {
  content:""; position:absolute; inset:auto .2rem .12rem; height:.37rem; border-radius:.15rem;
  background:linear-gradient(#52738f,#15273d);
}
.art-petCaregiverName { gap:.45rem; flex-wrap:wrap; }
.art-petCaregiverName .chat-illustration:nth-child(3) { width:3.4rem; }

#thread .bubble:has(.art-bank-confirmation-check) { width:100%; max-width:100%; }
.chat-illustration-row:has(.art-bank-confirmation-check) { flex-wrap:wrap; gap:.14rem; }
.art-green-check.art-bank-confirmation-check,.art-personal-profile,.art-business-briefcase {
  display:grid; place-items:center; flex:none; width:clamp(2.3rem,10vw,3.25rem); aspect-ratio:1;
}
.art-green-check.art-bank-confirmation-check {
  height:auto; border-radius:50%; font-size:clamp(1.55rem,6vw,2.1rem);
}
.art-account-kinds { gap:.22rem; }
.art-account-kinds .art-personal-profile { width:clamp(2.65rem,11vw,3.6rem); }
.art-business-briefcase { font-size:clamp(1.9rem,9vw,2.9rem); }
.art-paper-check {
  box-sizing:border-box; display:grid; align-content:space-between; gap:0;
  width:clamp(5.5rem,22vw,7.2rem); height:clamp(2.2rem,8.8vw,2.88rem);
  flex:none; padding:.1rem .2rem; overflow:hidden;
  -webkit-text-size-adjust:none; text-size-adjust:none;
  border:1px solid #86a8b0; border-radius:.22rem; color:#244964;
  background:repeating-linear-gradient(135deg,#e2f4f5,#e2f4f5 3px,#eefafa 3px,#eefafa 6px);
  box-shadow:0 2px 3px #194b5b22; font:600 clamp(.22rem,.9vw,.29rem)/1 system-ui,sans-serif;
}
.art-paper-check > span { display:flex; min-width:0; align-items:baseline; gap:.09rem; white-space:nowrap; }
.art-paper-check > span, .art-paper-check > span > :is(span,b) { font-size:inherit; line-height:inherit; }
.chat-illustration-row:has(.art-paper-check) { gap:.45rem; }
.art-check-heading,.art-check-memo { justify-content:space-between; }
.art-paper-check i { border-bottom:1px solid #6a899b; color:#15457b; font-family:cursive; }
.art-check-payee i,.art-check-amount i { flex:1; }
.art-check-payee b { padding:.02rem .08rem; background:#fff9; border:1px solid #9bbabf; }
.art-check-memo em { border-bottom:1px solid #6a899b; font-family:cursive; color:#15457b; }
.art-check-numbers { margin-top:.04rem; font:700 1em/1 monospace; }
:is(.review-document-toolbar,.notary-preview-toolbar) {
  display:flex; justify-content:flex-end; align-items:center; gap:.5rem; padding:.35rem 0;
}
:is(.review-document-toolbar,.notary-preview-toolbar) button {
  display:inline-grid; place-items:center; min-width:44px; min-height:44px;
  padding:.25rem .55rem; border:1px solid #7092b2; border-radius:.4rem;
  background:#eaf3fc; color:#102e51; font:750 1.25rem/1 system-ui; text-decoration:none;
}
:is(.review-document-toolbar,.notary-preview-toolbar) button:is([data-zoom="close"],#notary-document-close) {
  font-size:.95rem; background:#16365c; color:#fff;
}
:is(.review-document-toolbar,.notary-preview-toolbar) button:focus-visible { outline:2px solid #176cc1; outline-offset:2px; }
.pet-authorization-document header { border-bottom:1px solid #b8cada; padding-bottom:.42rem; }
.pet-authorization-document header small { color:#285b86; font-weight:750; }
.pet-authorization-document h3 { margin:.8rem 0 .28rem; font-size:.95rem; }
.pet-authorization-document h4 { margin:0; font-size:.88rem; }
.pet-authorization-document dl { display:grid; grid-template-columns:minmax(5rem,1fr) 1.5fr; gap:.25rem .52rem; margin:.4rem 0 0; font-size:.78rem; }
.pet-authorization-document dt { color:#284d6e; font-weight:750; }
.pet-authorization-document dd { margin:0; overflow-wrap:anywhere; }
.pet-document-grid { display:grid; gap:.4rem; }
.pet-document-grid > section { padding:.52rem; border:1px solid #b8cada; background:#fff; }
.pet-document-photo { width:5rem; max-height:5rem; object-fit:contain; margin:.35rem .35rem 0 0; }

.notary-preview-toolbar { position:sticky; top:0; background:#fff; }

:is(.review-document-toolbar,.notary-preview-toolbar) { flex-wrap:wrap; gap:.25rem; }
:is(.review-document-toolbar,.notary-preview-toolbar) button { padding:.2rem .4rem; }
:is(.review-document-toolbar,.notary-preview-toolbar) button:is([data-document],#notary-document-download,#notary-document-print) { font-size:.8rem; }
#thread .document-summary { grid-template-columns:minmax(0,1fr) auto; align-items:center; width:88%; column-gap:1rem; }
.document-summary > strong { grid-column:1; }
.document-summary > span { grid-column:1; font-size:.82rem; color:#365879; }
#thread .document-summary > button { grid-column:2; grid-row:1 / span 2; min-height:44px; padding:.35rem .75rem; border:1px solid #789ebc; border-radius:.44rem; background:#edf6ff; font-weight:750; text-decoration:none; text-align:center; }
@media print {
  body:has(> :is(.review-print-page,.receipt-print)) dialog[open] { display:none !important; }
}

:is(.art-fundingType,.art-fundingMore,.art-vault) { gap:.35rem; flex-wrap:wrap; }
:is(.art-fundingType,.art-fundingMore,.art-vault) .art-vault-cards { transform:scale(1.12); }

#notary-proof-preview { width:min(90vw,28rem); border:1px solid #aabdd4; border-radius:1rem; padding:1.2rem; color:#102345; }
#notary-proof-preview::backdrop { background:#10234599; }
#notary-proof-preview form { display:flex; flex-wrap:wrap; gap:.5rem; }
#notary-proof-preview button { min-height:44px; padding:.45rem .7rem; border:1px solid #789ebc; border-radius:.44rem; background:#edf6ff; color:#102345; font-weight:750; }
#notary-proof-preview #notary-proof-return { background:#16365c; color:white; }

:is(.art-contact,.art-contactName) .chat-illustration { width:3.25rem; }
:is(.art-contactMessage,.art-contactMessageText) .chat-illustration { width:3.6rem; }

:is(.art-contactSave,.art-contactAnother) .chat-illustration { width:3.25rem; }
:is(.art-contactSave,.art-contactAnother,.art-notifyEmergencyButton,.art-receivePaymentLink) { gap:.45rem; }
.art-contactSave .art-green-check { width:2.4rem; height:2.4rem; font-size:1.55rem; }
.art-receivePaymentLink .art-vault-cards { width:3.5rem; }

:is(.art-recipientDetails,.art-fundingAckOne,.art-fundingAckTwo) { flex-wrap:wrap; gap:.45rem; }
.art-recipientDetails .chat-illustration { width:3.4rem; }
.art-fundingAckTwo .chat-illustration { width:3.1rem; }
.art-court-release { display:block; width:clamp(5.25rem,23vw,7.3rem); height:auto; }

#thread .receipt-message { position:relative; width:88%; padding-right:4.7rem; box-sizing:border-box; }
.receipt-message .art-receipt { flex-wrap:wrap; }
#thread .receipt-view-button {
  position:absolute; top:.65rem; right:.7rem; min-height:44px; padding:.35rem .65rem;
  border:1px solid #789ebc; border-radius:.44rem; background:#edf6ff; color:#173968; font:inherit; font-weight:750;
}
.membership-receipt-document { padding:.75rem; background:white; }
.membership-receipt-document h2 { margin:0 0 .65rem; font-size:1.15rem; }
.membership-receipt-document p { margin:.35rem 0; }
.membership-receipt-document p:last-child { border-top:1px solid #aabdd4; padding-top:.5rem; font-weight:750; }

#thread .membership-total-review { white-space:pre-line; }

:is(.art-profileAttorney,.art-profileAttorneyName,.art-profileAttorneyFirm) { gap:.45rem; flex-wrap:wrap; }
.art-profileAttorney .chat-illustration { width:3.35rem; }
.art-profileAttorneyName .chat-illustration { width:3.4rem; }
.art-law-office { display:block; flex:none; width:2.75rem; height:2.75rem; object-fit:contain; }

.card-example { --card-plate:url("/assets/guided-setup/guided-card-plate.webp"); }
.card-example {
  position:relative; color:#eef8ff; width:min(100%,7.65rem); aspect-ratio:320 / 202;
  display:block; overflow:hidden; border:1px solid #132d49; border-radius:6% / 9%;
  background:#123355 var(--card-plate) center/cover no-repeat;
  box-shadow:0 3px 7px #17396847,inset 0 0 0 1px #bdd9ef40;
}
.card-tone-red { background-image:linear-gradient(#b14249,#6b142c),var(--card-plate); background-blend-mode:color; }
.card-example svg { display:block; width:100%; height:100%; }
.card-example svg text { fill:currentColor; font-family:ui-monospace,monospace; font-weight:750; }
.card-example .card-brand { font-size:17px; letter-spacing:2px; }
.card-example .card-value { font-size:20px; }
.card-example .card-holder { font-size:15px; letter-spacing:1px; }
.card-example .card-expiration-value,.card-example .card-code-value { font-size:19px; }
.card-example .card-highlight { fill:#ffefaa; stroke:#e1b954; stroke-width:1.5; }
.card-example .card-highlight-value { fill:#182947; }
.card-metal-chip { fill:#efd492; stroke:#ae8144; stroke-width:2; }
.card-chip-traces { fill:none; stroke:#a0793c; stroke-width:1.6; }
.card-contactless-mark { fill:none; stroke:currentColor; stroke-width:2.6; stroke-linecap:round; }
.card-magstripe { fill:#121b25; stroke:#526678; stroke-width:1; }
.card-signature-panel { fill:#ebf0f4; }
.card-signature-ink { fill:none; stroke:#6c8294; stroke-width:2.5; opacity:.72; }
.card-hologram { fill:#a8d1cb; stroke:#e5edf2; stroke-width:2; }
.card-guide-arrow { fill:none; stroke:#ffdd69; stroke-width:4; stroke-linecap:round; stroke-linejoin:round; filter:drop-shadow(0 1px 1px #152849); }
:is(.art-vaultComplete,.art-another):has(.art-vault-cards) { flex-wrap:wrap; }
:is(.art-vaultComplete,.art-another) .art-vault-cards { width:clamp(2.3rem,10vw,3.25rem); }

#thread .alert-demo-launch { color:#15385e; font:inherit; min-height:44px; padding:.35rem .8rem; border:1px solid #789ebc; }
.emergency-alert-demo { width:min(92vw,30rem); max-height:88dvh; padding:0; border:1px solid #8caccb; border-radius:1rem; color:#112b47; background:#f3f8fe; }
.emergency-alert-demo::backdrop { background:#06162bbb; }
.emergency-alert-demo > header { display:flex; align-items:center; justify-content:space-between; gap:.65rem; background:#112b47; color:white; padding:.75rem 1rem; }
.emergency-alert-demo h2 { margin:0; font-size:1.15rem; }
.emergency-alert-demo h3 { margin:.45rem 0; }
.emergency-demo-content { padding:1rem; }
.emergency-alert-demo section { background:white; border:1px solid #c6d9ea; border-radius:.65rem; padding:.9rem; }
.emergency-alert-demo button { min-height:44px; margin:.14rem 0; padding:.4rem .7rem; border:1px solid #90adc8; border-radius:.42rem; color:#112b47; background:#eaf3fc; font:inherit; font-weight:700; }
.emergency-alert-demo .emergency-demo-primary { background:#164477; color:white; }
.emergency-alert-demo [data-alert-next="1"] { background:#a51e32; }
.emergency-demo-progress { display:flex; list-style:none; gap:.35rem; padding:0; margin:0 0 .75rem; }
.emergency-demo-progress li { flex:1; text-align:center; padding:.3rem .12rem; border-radius:.3rem; background:#dcebf8; color:#173c64; font-size:.8rem; }
.emergency-demo-progress [aria-current] { color:white; background:#164477; }
.emergency-demo-clock { display:inline-block; color:#9d1c30; font:800 2rem/1.2 ui-monospace,monospace; }
.emergency-demo-text { background:#deecfa; padding:.7rem; border-radius:.7rem .7rem .7rem .18rem; margin-bottom:.6rem; }
.emergency-demo-text p { margin:.35rem 0 0; }
.emergency-alert-demo footer { margin-top:.7rem; font-size:.8rem; color:#315775; }
.emergency-alert-demo input { max-width:7rem; margin:.25rem; font-size:1rem; }

#chat-header { transition:transform .18s ease-out; }
#chat-header[data-scroll-hidden] { transform:translateY(calc(-100% - 1rem)); pointer-events:none; }
@media (prefers-reduced-motion:reduce) { #chat-header { transition:none; } }
/* Header animation never resizes the conversation or moves the bottom composer. */

@media (orientation:portrait) and (max-width:1280px),
       (orientation:landscape) and (pointer:coarse) and (min-height:540px) and (max-width:1600px) {
  main.review,
  main:has(#chat:not([hidden])):not([data-reading]) {
    box-sizing:border-box;
    width:100%;
    max-width:none;
    padding-inline:max(clamp(5px,1vw,9px),env(safe-area-inset-left)) max(clamp(5px,1vw,9px),env(safe-area-inset-right));
  }
  /* Match the full-width tablet composer and its reserved help gutter. */
  body:has(#chat:not([hidden])):not(:has(main[data-reading])) .mbn-help-controls:not([data-help-docked]) {
    left: max(10px, env(safe-area-inset-left));
  }
}

.guided-preview-notice { flex: 0 0 auto; margin: .35rem 0; padding: .4rem .6rem; border: 1px solid #aabdd4; border-radius: .5rem; background: #f2f7fc; color: #102345; font: .875rem/1.35 system-ui, sans-serif; }

/* Compact image-only attorney choices; three ads share one tablet row. */
#thread .bubble.attorney-placement-prompt{width:min(100%,700px);max-width:100%;box-sizing:border-box}
.attorney-placement-prompt>p{margin:.5rem 0}
.attorney-placement-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;margin:.75rem 0;max-width:620px}
.attorney-placement-card{display:grid;justify-items:center;align-content:start;gap:0;padding:0;background:none;border:0;border-radius:0;min-width:0;cursor:pointer}
.attorney-placement-card img{display:block;width:100%;max-width:200px;height:auto;aspect-ratio:1;object-fit:contain}
.attorney-placement-form .attorney-placement-card input[type=checkbox]{width:1.25rem;height:1.25rem;margin:.65rem;accent-color:#102345}
.attorney-placement-card:has(input:checked) img{outline:3px solid #102345;outline-offset:2px}
.attorney-placement-card:has(input:focus-visible) img{outline:3px solid #956200;outline-offset:2px}
.attorney-placement-form label{font-size:1rem}
.attorney-placement-form>label input[type=checkbox]{width:1.25rem;height:1.25rem;margin-right:.5rem}
.attorney-placement-form [role=status]{font-size:1rem}
.attorney-placement-form [role=status]:empty{display:none}
@media(max-width:599px){.attorney-placement-cards{grid-template-columns:minmax(0,200px);justify-content:center}}

.chat-section-divider>span{display:inline-block;max-width:calc(100% - 2rem);padding:.25rem .8rem;border-radius:999px;background:#dceafa;border:1px solid #aabdd4;line-height:1.35;overflow-wrap:anywhere}
.attorney-placement-actions{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}
.attorney-contact-permission{width:100%;font-size:1rem}
.attorney-contact-permission p{margin:.5rem 0}
.attorney-contact-permission button{margin-right:.5rem}
.attorney-contact-permission[hidden],.attorney-placement-actions>[hidden]{display:none}

#thread .bubble[data-turn="phoneConsent"] { line-height: 1.5; }
.chat-composer [data-phone-human-check]:not([hidden]) { margin: .4rem .5rem; }
#choices .phone-consent-arrow { border: 2px solid #102345; }
#choices .phone-consent-arrow[aria-checked="true"] { outline: 2px solid #7194ba; outline-offset: 2px; }

#choices .chat-composer-row .phone-consent-arrow {
  display: inline-flex !important; flex: 0 0 auto !important; width: auto !important; min-width: 8.25rem;
  align-items: center; justify-content: space-between; gap: .65rem;
  min-height: 44px; padding: .4rem .65rem .4rem .95rem !important; margin: 0 0 0 auto !important;
  border: 1px solid #102345; border-radius: 999px !important;
}
.chat-composer-row:has(> [role="status"]:not(:empty)) { flex-wrap: nowrap; border-radius: 999px; }
#choices .chat-composer > [role="status"]:not(:empty) {
  display: block;
  width: 100%;
  margin: .25rem 0 .4rem;
  padding: 0 .5rem;
  font-size: .875rem;
  line-height: 1.35;
  text-align: left;
  overflow-wrap: anywhere;
}
.chat-composer > [role="status"]:empty { display: none; }
/* Clear the phone screen while Google displays its separate security challenge. */
.google-recaptcha-challenge-active #choices .chat-composer-row { display: none !important; }

/* Secure membership checkout rendered inside the guided setup. */
#choices .guided-membership-checkout {
  display: grid;
  gap: .75rem;
  width: 100%;
  max-width: 34rem;
  margin: .25rem auto;
  padding: .25rem 0;
}
#choices .guided-membership-checkout .chat-field-guidance {
  margin: 0;
  color: #10233f;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
#choices .chat-membership-payment-terms {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  color: #10233f;
  font-size: .95rem;
  line-height: 1.4;
}
#choices .chat-membership-payment-terms input {
  flex: 0 0 auto;
  width: 1.2rem;
  height: 1.2rem;
  margin: .1rem 0 0;
  accent-color: #10264a;
}
#choices .chat-membership-payment-terms a {
  color: #0b5ea8;
  text-decoration: underline;
}
#choices .guided-secure-card-fields {
  width: 100%;
  min-height: 5rem;
}

#choices .guided-membership-checkout [role="alert"] { color: #b42318; font-weight: 700; }

/* Embed the authenticated payment vault inside the guided setup conversation. */
#choices .guided-live-vault {
  width: min(100%, 760px);
  max-width: 100%;
  margin: .35rem auto 1rem;
  overflow: hidden;
  border: 1px solid #d8dedb;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 8px 24px rgb(28 45 38 / 9%);
}
#choices .guided-live-vault iframe {
  display: block;
  width: 100%;
  min-height: 640px;
  border: 0;
  background: #fff;
}
@media (max-width: 600px) {
  #choices .guided-live-vault { border-radius: .8rem; }
  #choices .guided-live-vault iframe { min-height: 720px; }
}

/* Keep the real Form A and vault steps centered inside the guided chat. */
#choices .guided-proof-entry,
#choices .guided-vault-resume-status {
  width: min(100%, 760px);
  max-width: 100%;
  margin: .35rem auto 1rem;
  padding: clamp(.9rem, 3vw, 1.35rem);
  border: 1px solid #d8dedb;
  border-radius: 1rem;
  background: #fff;
  color: #202a25;
  box-shadow: 0 8px 24px rgb(28 45 38 / 9%);
}
#choices .guided-proof-email-check {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin: 1rem 0;
  font-weight: 500;
}
#choices .guided-proof-email-check input {
  flex: 0 0 auto;
  width: 1.2rem;
  height: 1.2rem;
  margin: .15rem 0 0;
  accent-color: #28694f;
}
#choices .guided-proof-entry [role="status"] { min-height: 1.5em; }
#choices .guided-vault-resume-status .button { margin-top: .5rem; }

/* All setup policies use the same light reader with one Back control. */
main[data-reading] { min-height: 100dvh; background: #eaf1f8; }
#policy-reader .policy-reader-bar { background: #eaf1f8; }
#policy-content { padding: clamp(.75rem, 3vw, 1.5rem); border-radius: 1rem; background: #fff; color: #102345; overflow-wrap: anywhere; }
#policy-content .page-accordion { background: #fff; color: #102345; }
#policy-content h2 { font-size: 1.1rem; }
body:has(main[data-reading]) .mbn-help-controls,
body:has(main[data-reading]) #mbn-help-dialog { display: none !important; }

/* Keep the guided header controls compact while allowing the header to slide away on scroll. */
.chat-header-nav { display:flex; flex-direction:column; align-items:center; gap:.2rem; width:auto; min-width:3.5rem; }
#chat-header .chat-header-actions { display:flex; flex-direction:column; align-items:center; justify-content:flex-start; justify-self:end; align-self:start; gap:.25rem; width:auto; min-width:0; }
#chat-header .chat-header-actions a { display:flex; flex-direction:row; align-items:center; justify-content:center; gap:.12rem; min-width:44px; min-height:44px; width:auto; padding:.25rem .45rem; margin:0; border:1px solid transparent; border-radius:.7rem; background:transparent; color:#ffd57a; text-decoration:none; font-size:.875rem; line-height:1.15; font-weight:650; }
#chat-header .chat-header-nav a, #chat-header #back {
 display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.12rem;
 min-width:44px; min-height:44px; width:auto; padding:.25rem .3rem; margin:0;
 border:1px solid transparent; border-radius:.7rem; background:transparent; color:#ffd57a;
 text-decoration:none; font-size:.875rem; line-height:1.15; font-weight:650;
}
#chat-header svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
#chat-header #back[hidden] { display:none; }
#chat-header a:focus-visible, #chat-header button:focus-visible { outline:2px solid #ffd57a; outline-offset:2px; }
#chat-header .chat-brand { align-self:center; gap:.4rem; }
#chat-header .chat-brand img { width:clamp(36px,9vw,54px); height:clamp(36px,9vw,54px); }
#chat-header .chat-brand h1 { font-size:clamp(.95rem,4.1vw,1.65rem); white-space:nowrap; }
#chat-header #setup-progress-status { grid-column:1/-1; margin:0; font-size:.875rem; text-align:center; }

@media (max-width:360px) { #chat-header .chat-brand h1 { font-size:.875rem; } #chat-header #chat-section-title { font-size:.75rem; } }

/* Guided header: balanced sides, aligned brand, and a centered timer. */
#chat-header { grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); }
#chat-header .chat-header-nav { justify-self:start; align-self:start; }
#chat-header .chat-brand { align-items:flex-start; align-self:start; justify-self:center; }
#chat-header .chat-brand img { align-self:flex-start; }
#chat-header #setup-live-clock { grid-column:1/-1; justify-self:center; width:100%; margin:0; text-align:center; }
#chat-header #setup-live-clock[hidden] { display:none; }
#chat-header #setup-account { white-space:nowrap; }
/* Overlay the header so sliding it away cannot change scroll limits or the entry-box position. */
main:has(#chat:not([hidden])):not([data-reading]) { position:relative; }
main:has(#chat:not([hidden])):not([data-reading]) > #chat-header {
 position:absolute; z-index:3; top:max(.45rem,env(safe-area-inset-top));
 inset-inline:clamp(.5rem,3vw,1rem); margin:0;
}
main:has(#chat:not([hidden])):not([data-reading]) #thread {
 padding-block-start:calc(var(--setup-header-height,0px) + .4rem);
}
@media (max-width:360px) { #chat-header .chat-brand img { width:30px; height:30px; } }

/* Mobile consent documents: compact, left-aligned pills with consistent spacing. */
#thread .phone-consent-policy-pills {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:.32rem;
  width:max-content;
  max-width:100%;
  margin:.35rem 0;
}
#thread .phone-consent-policy-pills a[data-setup-policy] {
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  width:max-content;
  max-width:100%;
  box-sizing:border-box;
  margin:0;
  padding:.34rem .68rem;
  border-radius:999px;
  font-size:clamp(.78rem,3.3vw,.92rem);
  font-weight:700;
  line-height:1.18;
  text-align:left;
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:normal;
}
#thread .phone-consent-policy-pills a[data-setup-policy]:focus-visible {
  outline:2px solid #102345;
  outline-offset:2px;
}


/* Keep the guided setup title centered across the header and reduce its height. */
#chat-header {
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  grid-template-rows:auto auto auto auto auto;
  align-items:center;
  gap:.12rem .4rem;
  padding:.35rem .45rem;
}
#chat-header .chat-header-nav {
  grid-column:1;
  grid-row:1 / span 2;
  justify-self:start;
  align-self:center;
}
#chat-header .chat-brand {
  grid-column:2;
  grid-row:1;
  justify-self:center;
  align-self:center;
  align-items:center;
  gap:.3rem;
  min-width:0;
}
#chat-header .chat-brand img { width:34px; height:34px; }
#chat-header .chat-brand h1 { font-size:clamp(.9rem,3.8vw,1.3rem); }
#chat-header #chat-section-title {
  grid-column:2;
  grid-row:2;
  justify-self:center;
  align-self:center;
  width:max-content;
  max-width:min(56vw,22rem);
  margin:0;
  text-align:center;
  font-size:clamp(.82rem,3.4vw,1rem);
  line-height:1.2;
  overflow-wrap:anywhere;
}
#chat-header .chat-header-actions {
  grid-column:3;
  grid-row:1 / span 2;
  justify-self:end;
  align-self:center;
  align-items:center;
  gap:.1rem;
}
#chat-header .chat-header-actions a { min-height:40px; padding:.1rem .2rem; }
#chat-header .chat-header-actions #setup-signout { min-height:36px; padding:.08rem .2rem; border:1px solid transparent; border-radius:.7rem; background:transparent; color:#ffd57a; font:inherit; font-size:clamp(.7rem,3vw,.84rem); font-weight:650; line-height:1.15; white-space:nowrap; cursor:pointer; }
#chat-header #setup-account { font-size:clamp(.7rem,3vw,.84rem); }
#chat-header #setup-live-clock {
  grid-column:1 / -1;
  grid-row:3;
  justify-self:center;
  width:100%;
  margin:0;
  text-align:center;
  line-height:1.15;
}
#chat-header #setup-live-clock[hidden] { display:none; }
#chat-header .setup-save-later {
  grid-column:1 / -1;
  grid-row:4;
  justify-self:center;
  min-height:0;
  margin:0;
  padding:.08rem .4rem .12rem;
  line-height:1.2;
}
#chat-header #setup-progress-status {
  grid-column:1 / -1;
  grid-row:5;
  margin:0;
  text-align:center;
  font-size:.78rem;
  line-height:1.2;
}
#chat-header #setup-progress-status[hidden] { display:none; }
@media (max-width:360px) {
  #chat-header .chat-brand img { width:30px; height:30px; }
  #chat-header .chat-brand h1 { font-size:.875rem; }
  #chat-header #chat-section-title { font-size:.76rem; }
}

/* The live vault uses the same bottom composer as every other setup question. */
#choices .guided-vault-conversation-composer { width: 100%; }
#choices .guided-vault-conversation-composer .chat-composer-row { flex-wrap: nowrap; }
#choices .guided-vault-conversation-composer [hidden] { display: none !important; }
#choices .guided-vault-hosted-field { flex: 1; min-width: 0; height: 3.25rem; padding: .65rem .5rem; }
#choices .guided-vault-hosted-field iframe { display: block; width: 100%; height: 100%; border: 0; }
#choices .guided-vault-actions { display: flex; flex: 1; flex-wrap: wrap; gap: .35rem; min-width: 0; }
#choices .guided-vault-actions button { flex: 1 1 10rem; font-size: 1rem; padding: .65rem .8rem; }
#choices .guided-vault-conversation-composer > [role="status"]:empty { display: none; }
.guided-vault-conversation { display: contents; }
.guided-vault-review { font-size: .95em; }
#choices .guided-vault-conversation-composer .guided-vault-actions button { width: auto; min-height: 44px; flex: 1 1 10rem; border-radius: 999px; padding: .65rem .8rem; }
#choices .guided-vault-conversation-composer .chat-resend-code { width: auto; flex: 0 0 auto; padding-inline: .55rem; }
#choices .guided-vault-conversation-composer .chat-composer-row:has(> .guided-vault-actions:not([hidden])) {
  padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none;
}
#choices .guided-vault-conversation-composer .guided-vault-actions {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; width: 100%;
}
#choices .guided-vault-conversation-composer .guided-vault-actions button {
  width: 100%; max-width: 100%; min-width: 0; height: auto; min-height: 44px;
  border-radius: 1rem; white-space: normal; overflow-wrap: anywhere; line-height: 1.3;
  padding: .7rem 1rem; text-align: center;
}

/* Membership checkout follows the same single-question bottom composer. */
#choices .guided-membership-entry { display: flex; align-items: center; gap: .5rem; border-radius: 1rem; padding: .55rem; box-shadow: 0 6px 18px rgb(16 35 69 / 8%); }
#choices .guided-membership-entry .guided-secure-card-fields { flex: 1; min-width: 0; }
#choices .guided-membership-entry > .chat-submit { flex: 0 0 auto; width: auto; min-width: 3rem; }
#choices .guided-membership-checkout [hidden] { display: none !important; }
#choices .guided-membership-entry > .membership-agree { width: 100%; border-radius: 999px; padding: .6rem 1rem; }

/* Keep the preselection header hidden even where flex display is assigned above. */
#chat-header #chat-section-title[hidden],
#chat-header #setup-live-clock[hidden] { display:none; }


/* Keep the mobile setup header compact when account actions are available. */
@media (max-width: 520px) and (orientation: portrait) {
  #chat-header .chat-header-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-content: center;
    min-width: 0;
    max-width: 9.5rem;
    gap: .1rem .2rem;
  }
  #chat-header .chat-header-actions > a,
  #chat-header .chat-header-actions > button {
    flex: 0 0 auto;
    min-width: 0;
  }
  #chat-header #setup-account { font-size: .76rem; }
}


/* Start My Plan and guided setup use distinct, intentional header states. */
#chat-header[data-setup-state="choice"] {
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  grid-template-rows:auto auto;
  align-items:center;
  min-height:5.6rem;
}
#chat-header[data-setup-state="choice"] .chat-header-nav {
  grid-column:1;
  grid-row:1;
  align-self:start;
  justify-self:start;
}
#chat-header[data-setup-state="choice"] #setup-home {
  justify-content:flex-start;
}
#chat-header[data-setup-state="choice"] .chat-brand {
  grid-column:2;
  grid-row:1 / span 2;
  align-self:center;
  justify-self:center;
  align-items:center;
  gap:.35rem;
}
#chat-header[data-setup-state="choice"] .chat-brand img {
  width:clamp(48px,12vw,60px);
  height:clamp(48px,12vw,60px);
  object-fit:contain;
}
#chat-header[data-setup-state="choice"] .chat-brand h1 {
  font-size:clamp(.92rem,4vw,1.4rem);
}
#chat-header[data-setup-state="choice"] #chat-section-title,
#chat-header[data-setup-state="choice"] #setup-live-clock,
#chat-header[data-setup-state="choice"] .chat-header-exit-actions {
  display:none;
}
#chat-header[data-setup-state="choice"] .chat-header-actions {
  grid-column:3;
  grid-row:1 / span 2;
  justify-self:end;
  align-self:stretch;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  align-items:flex-end;
}
#chat-header[data-setup-state="choice"] #setup-signout {
  display:none;
}
#chat-header[data-setup-state="active"] {
  grid-template-columns:minmax(48px,1fr) minmax(0,auto) minmax(48px,1fr);
  grid-template-rows:auto auto auto auto auto;
  align-items:center;
}
#chat-header[data-setup-state="active"] .chat-header-nav {
  grid-column:1;
  grid-row:1 / span 2;
  display:grid;
  grid-template-rows:44px 44px;
  align-self:start;
  justify-self:start;
  align-items:center;
  justify-items:start;
  gap:0;
}
#chat-header[data-setup-state="active"] .chat-header-nav #setup-home {
  grid-row:1;
}
#chat-header[data-setup-state="active"] .chat-header-nav #back {
  grid-row:2;
}
#chat-header[data-setup-state="active"] .chat-brand {
  grid-column:2;
  grid-row:1;
  align-self:center;
  justify-self:center;
  align-items:center;
}
#chat-header[data-setup-state="active"] .chat-brand img {
  width:34px;
  height:34px;
}
#chat-header[data-setup-state="active"] #chat-section-title {
  grid-column:2;
  grid-row:2;
}
#chat-header[data-setup-state="active"] .chat-header-actions {
  grid-column:3;
  grid-row:1 / span 2;
  justify-self:end;
  align-self:stretch;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  align-items:flex-end;
}
#chat-header[data-setup-state="active"] #setup-live-clock {
  grid-column:1 / -1;
  grid-row:3;
}
#chat-header[data-setup-state="active"] .chat-header-exit-actions {
  grid-column:1 / -1;
  grid-row:4;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:.35rem;
  min-width:0;
}
#chat-header[data-setup-state="active"] .chat-header-exit-actions #setup-signout,
#chat-header[data-setup-state="active"] .chat-header-exit-actions .setup-save-later {
  min-height:36px;
  margin:0;
  padding:.2rem .55rem;
  border:1px solid #ffd57a;
  border-radius:999px;
  background:transparent;
  color:#ffd57a;
  font:inherit;
  font-size:clamp(.7rem,3vw,.84rem);
  font-weight:700;
  line-height:1.15;
  text-decoration:none;
  white-space:nowrap;
  cursor:pointer;
}
#chat-header[data-setup-state="active"] .chat-header-exit-actions .setup-save-later[hidden] {
  display:none;
}
#chat-header[data-setup-state="active"] #setup-progress-status {
  grid-column:1 / -1;
  grid-row:5;
}
@media (max-width:380px) {
  #chat-header[data-setup-state="choice"] {
    grid-template-columns:minmax(42px,.7fr) minmax(0,auto) minmax(42px,.7fr);
  }
  #chat-header[data-setup-state="choice"] .chat-brand {
    gap:.2rem;
  }
  #chat-header[data-setup-state="choice"] .chat-brand img {
    width:48px;
    height:48px;
  }
  #chat-header[data-setup-state="choice"] .chat-brand h1 {
    font-size:.9rem;
  }
  #chat-header[data-setup-state="active"] {
    grid-template-columns:44px minmax(0,1fr) 44px;
  }
  #chat-header[data-setup-state="active"] .chat-header-exit-actions {
    grid-column:1 / -1;
  }
}


/* Setup choice: align the action buttons with the two comparison columns. */
.setup-comparison-title:focus {
  outline:0;
  border:0;
  box-shadow:none;
}
.setup-comparison thead .setup-comparison-mode-headings th {
  border-top:0;
  vertical-align:middle;
}
.setup-comparison thead .setup-comparison-estimate-label {
  width:44%;
  padding-inline:.35rem;
  text-align:left !important;
  vertical-align:middle !important;
  font-weight:700;
}
.setup-comparison thead .setup-comparison-icon {
  display:inline-block;
  margin:0 .25rem 0 0;
  font-size:1.18em;
  line-height:1;
  vertical-align:middle;
}
.setup-comparison thead .setup-comparison-time td {
  border-top:0;
  font-size:1.05em;
  font-weight:700;
}
#chat #choices.setup-mode-replies {
  display:grid;
  grid-template-columns:minmax(0,44%) minmax(0,28%) minmax(0,28%);
  align-items:center;
  gap:.15rem 0;
  width:100%;
  max-width:none;
  max-height:none;
  margin:0;
  overflow:visible;
  padding:.2rem 1.2rem calc(.2rem + env(safe-area-inset-bottom));
  box-sizing:border-box;
}
#chat #choices.setup-mode-replies button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  justify-self:center;
  width:max-content;
  min-width:0;
  max-width:100%;
  min-height:38px;
  padding:.18rem .35rem;
  border-radius:.65rem;
  font-size:clamp(.72rem,2.8vw,.92rem);
  line-height:1.1;
  white-space:nowrap;
}
#chat #choices.setup-mode-replies button:nth-child(1) { grid-column:2; }
#chat #choices.setup-mode-replies button:nth-child(2) { grid-column:3; }
@media (max-width:380px) {
  #chat #choices.setup-mode-replies {
    grid-template-columns:minmax(0,44%) minmax(0,28%) minmax(0,28%);
    padding-inline:1.05rem;
  }
  #chat #choices.setup-mode-replies button {
    padding-inline:.2rem;
    font-size:.72rem;
  }
}


/* Setup choice layout: keep the actions directly below the comparison table. */
#chat #choices[hidden] {
  display:none !important;
}
.setup-comparison-title {
  margin-bottom:1rem;
}
.setup-comparison thead .setup-comparison-mode-headings th {
  vertical-align:top;
}
.setup-comparison thead .setup-comparison-icon {
  display:block;
  margin:0 auto .3rem;
  font-size:clamp(2rem,7vw,3rem);
  line-height:1;
}
.setup-comparison-heading-label {
  display:block;
  text-align:center;
}
.setup-mode-actions {
  display:grid;
  grid-template-columns:minmax(0,44%) minmax(0,28%) minmax(0,28%);
  align-items:center;
  width:calc(100% - 1.1rem);
  margin:0 .55rem .25rem;
}
.setup-mode-actions button {
  justify-self:center;
  width:max-content;
  min-width:0;
  max-width:100%;
  min-height:36px;
  padding:.25rem .65rem;
  border:0;
  border-radius:999px;
  background:#102345;
  color:#fff;
  font-size:clamp(.82rem,3.2vw,.98rem);
  font-weight:700;
  line-height:1.15;
  white-space:nowrap;
}
.setup-mode-actions button:nth-child(1) { grid-column:2; }
.setup-mode-actions button:nth-child(2) { grid-column:3; }
.setup-mode-actions button:focus-visible {
  outline:3px solid #956200;
  outline-offset:3px;
}
@media (max-width:380px) {
  .setup-mode-actions {
    grid-template-columns:minmax(0,44%) minmax(0,28%) minmax(0,28%);
  }
  .setup-mode-actions button {
    padding-inline:.45rem;
    font-size:.8rem;
  }
}

/* MBN messages stop at the right edge of the centered conversation timestamp. */
#thread > .bubble:not(.reply):not(.setup-comparison-bubble) {
  align-self:flex-start;
  width:fit-content !important;
  max-width:min(100%, var(--setup-message-max-width, calc(50% + 6rem))) !important;
  min-width:0;
}
