/* Verizon's own typeface (Neue Haas Grotesk), the same files and weights the live site loads.
   Licensed to Verizon: fine for this local prototype, not for publishing elsewhere. */

/* Values marked "measured" were read from the live panel at a 1280x900 viewport. */
:root {
  --panel-w: 400px;                                   /* measured */
  --grad-header: #ffebe4;                             /* measured */
  --grad-bg: linear-gradient(156deg, #ffebe4 19.8%, #fff6e9 45.65%, #f5fbfc 69.49%); /* measured */
  --line-soft: rgba(170, 168, 163, 0.4);              /* measured */
  --fill-soft: rgba(170, 168, 163, 0.12);             /* measured */
  --ink: #000;
  --ink-2: rgb(111, 113, 113);                        /* measured */
  --ink-3: rgb(113, 111, 109);                        /* measured */
  /* The original uses a licensed Neue Haas Grotesk cut. Helvetica Neue is the closest system face. */
  --font: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif; /* the family the live site uses */
  --font-display: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif; /* headlines, 20px and up */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font: 400 16px/24px var(--font);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 2px solid #000; outline-offset: 2px; }

/* ---------- Panel shell ---------- */
.panel {
  position: fixed; inset: 0 auto 0 0; z-index: 20;
  width: var(--panel-w);
  display: flex; flex-direction: column;
  background: var(--grad-bg);
  border-right: 1px solid #d8dada; /* same hairline as the global nav */
  transform: translateX(-100%);
  transition: transform 0.35s;                        /* measured */
}
.panel.open { transform: none; }

.titlebar {
  flex: none; height: 32px; padding: 0 16px;
  display: flex; align-items: center;
  background: var(--grad-header);
}
.spark { display: flex; width: 20px; height: 20px; }
.spark svg { fill: #6f7171; }
.grow { flex: 1; }
.tb-btn { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.tb-btn:hover { background: rgba(0, 0, 0, 0.06); }

.menu-wrap { position: relative; }
.menu {
  position: absolute; top: 36px; right: 0; z-index: 5; min-width: 168px;
  background: #fff; border: 1px solid var(--line-soft); border-radius: 12px; padding: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.menu button { width: 100%; text-align: left; padding: 10px 12px; border-radius: 8px; font-size: 14px; line-height: 20px; }
.menu button:hover { background: var(--fill-soft); }

/* ---------- Body: home state ---------- */
.body { position: relative; flex: 1; min-height: 0; }
.stage { position: absolute; top: 40%; left: 0; right: 0; padding: 0 16px; }   /* 40% anchor measured */
.messages { display: none; }

.greeting { position: absolute; left: 16px; right: 16px; bottom: 100%; padding-bottom: 40px; }
.greeting h1 { margin: 0; font-weight: 300; font-size: 24px; line-height: 28px; letter-spacing: -0.3px; font-family: var(--font-display); }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 16px; margin: 20px 0 8px; }
.card {
  display: flex; align-items: center; gap: 12px; min-height: 86px; padding: 16px;
  background: #fff; border: 1px solid var(--line-soft); border-radius: 20px; text-align: left;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.card:hover { border-color: var(--ink-3); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06); }
.card svg { flex: none; }
.card-text { display: flex; flex-direction: column; gap: 2px; }
.card-text b { font-size: 14px; line-height: 18px; letter-spacing: 0.5px; }
.card-text span { font-size: 12px; line-height: 16px; }

/* ---------- Composer ---------- */
.composer {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--ink-3); border-radius: 24px;
  box-shadow: 0 2.05px 3.4px -0.35px rgba(0, 0, 0, 0.067), 0 0.7px 1.4px -0.7px rgba(0, 0, 0, 0.035); /* measured */
  transition: border-color 0.15s var(--ease);
}
.composer:focus-within { border-color: #000; }
.field { display: block; padding: 12px 12px 6px; cursor: text; }
.field-label { display: block; font-size: 11px; line-height: 16px; color: var(--ink-3); }
textarea {
  display: block; width: 100%; max-height: 140px; padding: 0; border: 0; outline: 0; resize: none;
  font: 400 18px/28px var(--font); color: var(--ink); background: transparent;
}
.toolbar { display: flex; justify-content: space-between; align-items: center; padding: 4px; height: 48px; }
.tools { display: flex; gap: 8px; padding-left: 4px; }
.round {
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid rgba(170, 168, 163, 0.7); border-radius: 9999px;
  transition: background-color 0.15s var(--ease);
}
.round:hover { background: var(--fill-soft); }
.send {
  width: 32px; height: 32px; margin-right: 4px; display: flex; align-items: center; justify-content: center;
  background: #000; border-radius: 9999px; transition: opacity 0.15s var(--ease);
}
.send:hover { opacity: 0.8; }
/* While an answer is loading the send button becomes stop */
.panel.busy .send { background: #fff; border: 1px solid rgba(170, 168, 163, 0.7); }
.panel.busy .send svg { display: none; }
.panel.busy .send::before { content: ""; width: 10px; height: 10px; border-radius: 1.5px; background: rgb(51, 51, 51); }

.composer-wrap { margin-bottom: 12px; border: 1px solid transparent; border-radius: 24px; }
/* "Switch to Verizon" opens a tray of options under the composer (measured) */
.tray { display: none; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 16px 24px; }
.composer-wrap.tray-open { background: #fff; border-color: rgb(209, 213, 219); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
.composer-wrap.tray-open .tray { display: flex; animation: fadeIn 0.2s both; }
.tray-list { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.tray-list button { height: 26px; font-size: 14px; line-height: 18px; text-align: left; }
/* No underline on hover, here or on the follow-up questions: the arrow nudges forward instead */
.tray-list button svg { transition: transform 0.25s var(--ease); }
.tray-list button:hover svg { transform: translateX(4px); }
.tray-close { flex: none; width: 20px; height: 20px; }
.stage.tray-on .chips, .stage.tray-on .disclaimer { display: none; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 24px; }
.chips button, .msg-chips button {
  padding: 12px 16px; font-weight: 700; font-size: 14px; line-height: 20px; letter-spacing: -0.3px;
  background: var(--fill-soft); border-radius: 9999px;
  transition: background-color 0.15s var(--ease);
}
.chips button:hover, .msg-chips button:hover { background: rgba(170, 168, 163, 0.28); }

.disclaimer { margin: 0; text-align: center; font-size: 11px; line-height: 16px; color: var(--ink-2); }
.disclaimer a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Conversation state (measured from the live panel after a message is sent) ---------- */
.panel.chatting { background: #fff; }
.panel.chatting .titlebar { background: #fff; }
.body.chatting { display: flex; flex-direction: column; }
.body.chatting .greeting, .body.chatting .cards, .body.chatting .chips, .body.chatting .disclaimer { display: none; }
.body.chatting .stage {
  position: static; padding: 0 16px;
  background: #fff; box-shadow: 0 -7px 25px 0 #fff; z-index: 1;
}
.body.chatting .composer-wrap { margin: 0; border: 0; }
.body.chatting .composer { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
.body.chatting .tray { display: none; }
.ai-note { display: none; margin: 8px 0 0; padding-bottom: 8px; text-align: center; font-size: 12px; line-height: 16px; color: var(--ink-3); }
.body.chatting .ai-note { display: block; }

.body.chatting .messages {
  display: block; flex: 1; min-height: 0; overflow-y: auto;
  padding: 36px 12px 36px 16px; scroll-behavior: smooth; /* 12px + the 4px reserved for the scrollbar = 16px, matching the left */
}
.turn { display: flex; padding: 8px 0; margin-bottom: 24px; }
.turn.user { justify-content: flex-end; }
.turn.bot { display: block; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); }

.bubble {
  max-width: 100%; padding: 16px;
  background: rgba(221, 218, 212, 0.5); border-radius: 24px 4px 24px 24px;
  font-size: 16px; line-height: 24px; letter-spacing: 0.2px;
  white-space: pre-wrap; overflow-wrap: anywhere;
}
.reply { display: block; padding: 16px; color: rgb(31, 41, 55); border-radius: 24px 24px 4px; animation: fadeIn 0.3s both; }
.reply p { margin: 0; padding: 8px 0 16px; font-size: 16px; line-height: 20px; letter-spacing: 0.2px; color: #000; }
.reply ul { margin: 0 0 8px; padding: 0; list-style: disc; }
.reply li { margin-left: 32px; padding-bottom: 16px; font-size: 16px; line-height: 24px; letter-spacing: -0.3px; }

/* Status line shown while the assistant works */
.status { display: flex; align-items: center; gap: 8px; margin-left: -10px; padding-bottom: 8px; font-size: 14px; line-height: 20px; letter-spacing: -0.2px; }
.dots { display: flex; align-items: center; gap: 6px; height: 20px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); opacity: 0; animation: dotsFade 1.2s ease-in-out infinite; }
.dots i:nth-child(2) { animation-delay: 0.2s; }
.dots i:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotsFade { 0% { opacity: 0; } 35% { opacity: 1; } 65% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* "Is this helpful?" row */
.helpful { display: flex; align-items: center; gap: 8px; padding-left: 16px; }
.helpful p { margin: 0; font-size: 14px; line-height: 20px; color: rgb(31, 41, 55); }
.helpful button { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(111, 113, 113, 0.06); }
.helpful button:hover { background: rgba(111, 113, 113, 0.16); }
.helpful button[aria-pressed="true"] { background: #000; }
.helpful button[aria-pressed="true"] svg { fill: #fff; }

/* Plan card */
.plan-wrap { margin: 0 0 32px; padding: 0 16px 24px 16px; }
.plan { padding: 16px; background: #fff; border-radius: 16px; box-shadow: 0 2px 20px rgba(0, 0, 0, 0.16); }
.plan-head { display: flex; justify-content: space-between; margin-top: 40px; }
.plan-head h3 { margin: 0; font-size: 24px; line-height: 28px; font-weight: 700; letter-spacing: -0.4px; font-family: var(--font-display); }
.badge-5g { flex: none; width: 52px; height: 52px; border-radius: 50%; background: #000; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; letter-spacing: -0.5px; }
.feats { margin-top: 16px; }
.feat { display: flex; align-items: flex-start; gap: 12px; margin-top: 12px; }
.feat:first-child { margin-top: 0; }
.feat svg { flex: none; margin-top: 1px; }
.feat b, .feat span { display: block; font-size: 12px; line-height: 17px; font-weight: 400; }
.feat span { color: var(--ink-3); white-space: pre-line; }
.pill-outline { display: block; width: 100%; margin-top: 16px; padding: 11px 23px; border: 1px solid #000; border-radius: 9999px; font-weight: 700; font-size: 16px; line-height: 20px; text-align: center; transition: background-color 0.15s var(--ease), color 0.15s var(--ease); }
.pill-outline:hover { background: #000; color: #fff; }

/* Bill upload card */
.bill { width: 328px; max-width: 100%; margin-top: 16px; overflow: hidden; background: rgb(248, 247, 245); border-radius: 16px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); color: #000; }
.bill + .helpful { margin-top: 0; }
.bill section { padding: 16px 24px; }
.bill section.top { padding: 24px 24px 16px; }
.bill hr { margin: 0 24px; border: 0; border-top: 1px solid rgb(170, 168, 163); }
.bill .eyebrow2 { margin: 0; font-size: 12px; line-height: 16px; color: var(--ink-2); }
.bill h4 { margin: 12px 0 4px; font-size: 20px; line-height: 24px; font-weight: 700; letter-spacing: -0.4px; font-family: var(--font-display); }
.bill .lede { margin: 0; font-size: 14px; line-height: 22.75px; letter-spacing: -0.3px; color: rgb(75, 85, 99); }
.bill h5 { margin: 0 0 8px; font-size: 16px; line-height: 20px; font-weight: 700; letter-spacing: -0.3px; }
.bill .note { margin: 0; padding-bottom: 12px; font-size: 14px; line-height: 18px; }
.bill ul { margin: 0; padding: 0; list-style: none; }
.bill li { display: flex; padding-bottom: 16px; font-size: 14px; line-height: 18px; }
.bill li:last-child { padding-bottom: 0; }
.bill li::before { content: "\2022"; flex: none; width: 14px; }
.bill section.drop { padding: 4px 24px 8px; }
.dropzone { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: #fff; border-radius: 12px; text-align: left; }
.dropzone:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
.dropzone b { display: block; font-size: 14px; line-height: 20px; color: rgb(17, 24, 39); overflow-wrap: anywhere; }
.dropzone span { display: block; margin-top: 2px; font-size: 12px; line-height: 16px; color: rgb(107, 114, 128); }
.dropzone svg { flex: none; margin-left: 16px; }
.bill section.legal { padding: 12px 24px 20px; }
.bill .legal p { margin: 0; font-size: 12px; line-height: 19.5px; color: rgb(107, 114, 128); }
.bill .legal a { color: rgb(55, 65, 81); text-decoration: underline; }
.pill-solid { display: block; width: 100%; margin-top: 12px; padding: 11px 24px; border: 1px solid #000; border-radius: 44px; background: #000; color: #fff; font-weight: 700; font-size: 16px; line-height: 20px; text-align: center; }
.pill-solid:disabled { background: rgb(216, 218, 218); border-color: rgb(216, 218, 218); cursor: default; }

/* Selected bill file and upload errors */
.file-row { display: flex; align-items: center; gap: 12px; margin-top: 8px; padding: 12px 12px 12px 16px; background: #fff; border-radius: 12px; font-size: 14px; line-height: 20px; }
.file-row svg { flex: none; }
.file-row .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-row .size { flex: none; font-size: 12px; color: rgb(107, 114, 128); }
.file-row button { flex: none; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.file-row button:hover { background: var(--fill-soft); }
.bill-error { margin: 8px 0 0; font-size: 12px; line-height: 16px; color: #b50000; }

/* Device choice card (layout read from the journey screenshots, sizes follow the bill card) */
.bill .sub { margin: 0; font-size: 12px; line-height: 16px; color: var(--ink-2); }
.line { padding: 16px 24px 4px; }
.line-head { margin-bottom: 8px; }
.line-head b { display: block; font-size: 14px; line-height: 18px; }
.line-head span { font-size: 12px; line-height: 16px; color: var(--ink-2); }
.opt { display: block; width: 100%; margin-bottom: 8px; padding: 12px 16px; background: #fff; border: 1px solid var(--ink-3); border-radius: 8px; font-size: 14px; line-height: 20px; text-align: left; }
.opt[aria-pressed="true"] { border-color: #000; box-shadow: inset 0 0 0 1px #000; font-weight: 700; }
.opt:disabled { cursor: default; color: var(--ink-2); }
.bill section.cta { padding: 8px 24px 20px; }
.bill section.cta .pill-solid { margin-top: 0; }

/* Recommendation card */
.cmp { width: 100%; border-collapse: collapse; font-size: 12px; line-height: 16px; }
.cmp th, .cmp td { padding: 8px 0; text-align: right; font-weight: 400; border-bottom: 1px solid rgba(170, 168, 163, 0.5); }
.cmp th:first-child, .cmp td:first-child { text-align: left; font-weight: 700; }
.cmp thead th { color: var(--ink-2); border-bottom-color: #000; }
.cmp thead th.vz { color: #ee0000; font-weight: 700; }
.good { color: #008331; }
.acc { padding: 12px 24px; }
.acc summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; font-size: 14px; line-height: 18px; font-weight: 700; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; width: 7px; height: 7px; margin-right: 4px; border-right: 1.5px solid #000; border-bottom: 1.5px solid #000; transform: rotate(45deg); transition: transform 0.15s var(--ease); }
.acc[open] summary::after { transform: rotate(-135deg); }
.acc .plan-name { margin: 8px 0 4px; font-size: 12px; line-height: 16px; }
.acc .plan-name span { display: block; color: var(--ink-2); }
.rows { margin: 0; }
.rows div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 12px; line-height: 16px; }
.rows dt, .rows dd { margin: 0; }
.totals { padding: 12px 24px 4px; }
.totals div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 4px 0; font-size: 12px; line-height: 16px; }
.totals .cost { font-size: 16px; line-height: 20px; font-weight: 700; }
.fine { margin: 8px 0 0; font-size: 11px; line-height: 16px; color: var(--ink-2); }

/* Follow-up actions and suggested questions under a reply */
.actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin: 16px 0; padding-left: 16px; }
.actions button { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 30px; border: 1px solid #000; border-radius: 9999px; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: -0.2px; }
.actions button::after { content: ""; width: 12px; height: 12px; background: currentColor; clip-path: polygon(15% 0, 100% 0, 100% 85%, 88% 85%, 88% 20%, 9% 100%, 0 91%, 80% 12%, 15% 12%); }
.actions button:hover { background: #000; color: #fff; }
.suggest { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin: 24px 0 0; }
.suggest h6 { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.2px; }
.suggest h6 svg { flex: none; }
.suggest button { max-width: 100%; padding: 6px 16px; background: var(--fill-soft); border-radius: 9999px; font-size: 14px; line-height: 20px; font-weight: 700; letter-spacing: -0.2px; text-align: left; transition: background-color 0.15s var(--ease); }
.suggest button:hover { background: rgba(170, 168, 163, 0.28); }

/* Progress dialog over the panel */
.progress { position: absolute; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, 0.5); animation: fadeIn 0.2s both; }
.progress[hidden] { display: none; }
.progress-box { width: 100%; max-width: 368px; margin-bottom: 15%; padding: 32px; background: #fff; border-radius: 8px; box-shadow: 0 16px 48px -8px rgba(15, 23, 42, 0.32); }
.progress-box h3 { margin: 0; max-width: 220px; font-size: 24px; line-height: 28px; font-weight: 700; letter-spacing: -0.6px; font-family: var(--font-display); }
.progress-box p { margin: 6px 0 24px; font-size: 16px; line-height: 20px; letter-spacing: -0.3px; color: rgb(156, 163, 175); }
.progress-box ul { margin: 0; padding: 0; list-style: none; }
.progress-box li { display: flex; align-items: center; gap: 14px; padding: 9px 0; font-size: 18px; line-height: 24px; font-weight: 300; letter-spacing: -0.4px; color: #000; }
.progress-box li:last-child { padding-bottom: 0; }
.progress-box li::before { content: ""; flex: none; width: 22px; height: 22px; border: 1.5px solid rgb(209, 213, 219); border-radius: 50%; }
.progress-box li.active::before { border-width: 3px; border-color: rgb(209, 213, 219); border-top-color: rgb(75, 85, 99); animation: spin 0.8s linear infinite; }
.progress-box li.done::before { border-color: #008331; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.2 11.3l3.1 3.1 6.3-6.5' fill='none' stroke='%23008331' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/19px no-repeat; }
@keyframes spin { to { transform: rotate(1turn); } }

/* Plus menu (opens above the plus button) */
.tools { position: relative; }
.plus-menu {
  position: absolute; left: 4px; bottom: 40px; z-index: 6; width: 248px;
  display: flex; flex-direction: column; gap: 2px; padding: 8px;
  background: rgba(246, 250, 255, 0.92); border-radius: 16px;
  box-shadow: 0 16px 48px -8px rgba(15, 23, 42, 0.32); backdrop-filter: blur(8px);
}
.plus-menu[hidden] { display: none; }
.plus-menu button { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-radius: 12px; font-size: 14px; line-height: 20px; text-align: left; }
.plus-menu button:hover { background: rgba(170, 168, 163, 0.2); }
.plus-menu svg { flex: none; }

/* ---------- Switch journey, from the supplied design (sizes scaled from the mockups) ---------- */
/* Stone: a little lighter than the #f4eee2 sampled from the supplied brand image. The assistant's background in every state. */
:root { --chat-bg: #fbf9f4; --card-line: rgb(216, 218, 218); }
.panel.chatting { background: var(--chat-bg); }
.body.chatting .stage { background: var(--chat-bg); box-shadow: 0 -7px 25px 0 var(--chat-bg); }
.bubble { background: rgb(221, 218, 212); }
.reply { padding: 16px 2px; }
.reply p { line-height: 22px; letter-spacing: -0.1px; }

.jcard, .bill { width: 100%; margin-top: 8px; background: #fff; border: 1px solid var(--card-line); border-radius: 16px; box-shadow: none; color: #000; }
.jcard { padding: 28px 26px; }
.jcard .eyebrow2 { margin: 0 0 14px; font-size: 14px; line-height: 18px; color: var(--ink-2); }
.jcard h4 { margin: 0 0 12px; font-size: 28px; line-height: 32px; font-weight: 300; letter-spacing: -1px; font-family: var(--font-display); }
.jcard h5 { margin: 0 0 14px; font-size: 22px; line-height: 26px; font-weight: 300; letter-spacing: -0.7px; font-family: var(--font-display); }
.jcard .lede { margin: 0; font-size: 15px; line-height: 20px; letter-spacing: -0.1px; color: #000; }
.jcard hr { margin: 20px 0; border: 0; border-top: 1px solid var(--card-line); }
.jcard .note { margin: 0 0 12px; font-size: 14px; line-height: 18px; }
.dots-list { margin: 0 0 20px; padding: 0; list-style: none; }
.dots-list li { display: flex; padding-bottom: 9px; font-size: 15px; line-height: 20px; }
.dots-list li::before { content: "\2022"; flex: none; width: 14px; }
.jcard .legal { margin: 20px 0 0; font-size: 13px; line-height: 18px; color: var(--ink-2); }
.jcard .legal a { color: inherit; text-decoration: underline; }
.pill-solid { margin-top: 20px; padding: 13px 24px; font-weight: 400; }
.jcard .pill-outline { margin-top: 20px; padding: 12px 23px; font-weight: 400; }
.jcard .pill-outline + .pill-solid { margin-top: 12px; }
.link-btn { display: block; margin: 14px auto 0; font-size: 16px; line-height: 20px; text-decoration: underline; text-underline-offset: 4px; }
.link-btn.small { display: inline; margin: 0; font-size: 13px; }
.link-btn:disabled { color: var(--ink-2); cursor: default; }

.jcard .dropzone { border: 1px dashed var(--ink-3); border-radius: 8px; }
.jcard .dropzone[hidden] { display: none; }
.file-row { margin-top: 0; padding: 14px 12px 14px 16px; border: 1px solid #008331; border-radius: 6px; gap: 14px; }
.file-text { flex: 1; min-width: 0; }
.file-row .name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; line-height: 20px; font-weight: 700; }
.file-row .size { display: block; font-size: 12px; line-height: 18px; color: #000; }
.file-row button { width: 32px; height: 32px; }
.bill-ok { margin: 8px 0 0; font-size: 14px; line-height: 18px; color: #008331; }

/* Step 2: three ways to proceed */
.choices { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.choice { padding: 14px; background: #fff; border: 1px solid #000; border-radius: 10px; text-align: left; transition: box-shadow 0.15s var(--ease); }
.choice b { display: block; margin-bottom: 2px; font-size: 15px; line-height: 20px; font-weight: 400; }
.choice span { display: block; font-size: 14px; line-height: 19px; letter-spacing: 0.1px; color: var(--ink-2); }
.choice[aria-checked="true"] { box-shadow: 0 0 0 2px #000; }
.choice:disabled { cursor: default; }
.choice:disabled:not([aria-checked="true"]) { border-color: var(--card-line); }
.jcard .choices + .pill-solid { margin-top: 28px; }

/* Step 3: checkbox rows */
.check { display: flex; align-items: center; gap: 14px; min-height: 60px; margin-bottom: 12px; padding: 0 18px; background: var(--chat-bg); border: 1px solid var(--card-line); border-radius: 8px; font-size: 15px; line-height: 20px; cursor: pointer; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check .box { flex: none; width: 22px; height: 22px; border: 1.5px solid #000; border-radius: 3px; background: #fff; }
.check input:checked + .box { background: #000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M5.5 11.2l3.6 3.6 7.4-7.6' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center/20px no-repeat; }
.check input:focus-visible + .box { outline: 2px solid #000; outline-offset: 2px; }
.check:has(input:disabled) { cursor: default; color: var(--ink-2); }
.jcard hr + .pill-solid { margin-top: 12px; }

/* Custom path: per line choices */
.jcard .line { padding: 16px 0 6px; border-top: 1px solid var(--card-line); }
.jcard [data-lines] { margin-top: 20px; }
.jcard .line-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.jcard .line-head b { font-size: 15px; font-weight: 400; }
.jcard .sub { margin: 0 0 8px; font-size: 13px; line-height: 18px; color: var(--ink-2); }
.jcard .opt { border-color: #000; border-radius: 10px; font-size: 15px; }
.jcard .opt[aria-pressed="true"] { box-shadow: 0 0 0 2px #000; font-weight: 400; }

/* Recommendation card picks up the same light headings */
.bill h4 { font-size: 28px; line-height: 32px; font-weight: 300; letter-spacing: -1px; font-family: var(--font-display); }
.bill h5 { font-size: 22px; line-height: 26px; font-weight: 300; letter-spacing: -0.7px; margin-bottom: 12px; font-family: var(--font-display); }
.bill hr { border-top-color: var(--card-line); }
.bill .eyebrow2 { font-size: 14px; line-height: 18px; }
.bill section.cta .pill-solid { margin-top: 0; }

/* Bundle recommendation card (sizes scaled from the 559px wide mockup) */
.bundle h4 { margin-bottom: 22px; font-size: 26px; line-height: 30px; letter-spacing: -0.9px; font-family: var(--font-display); }
.bundle hr { margin: 20px 0; }
.bsum { display: grid; grid-template-columns: 1fr 1fr 1fr; text-align: center; }
.bsum div { padding: 0 4px; border-left: 1px solid var(--card-line); }
.bsum div:first-child { border-left: 0; }
.bsum span { display: block; max-width: 76px; margin: 0 auto; font-size: 15px; line-height: 20px; }
.bsum b { display: block; margin-top: 2px; font-size: 17px; line-height: 22px; font-weight: 400; }
.bsum .muted { color: var(--ink-2); }
.bsum .good b, .bsum .more b { font-weight: 700; }
.bsum .more { color: #000; }
.bline { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; font-size: 18px; line-height: 22px; letter-spacing: -0.3px; }
.brow { display: grid; grid-template-columns: 18px 1fr auto; column-gap: 9px; align-items: start; margin-bottom: 17px; font-size: 15.5px; line-height: 20px; letter-spacing: -0.1px; }
.brow:last-of-type { margin-bottom: 0; }
.brow.device { grid-template-columns: 32px 1fr auto; margin-bottom: 20px; }
.brow .ri { margin-top: 1px; }
.bname { max-width: 178px; }
.brow.device .bname { max-width: none; }
.bname small { display: block; margin-top: 3px; font-size: 14.5px; line-height: 20px; color: var(--ink-2); letter-spacing: 0.1px; }
.bprice { white-space: nowrap; }
/* Drawn stand-in for the product photo: phone back in the chosen colour with a camera block */
.phone { position: relative; width: 31px; height: 40px; border-radius: 6px; background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), rgba(0, 0, 0, 0.12)), var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3); }
.phone::before { content: ""; position: absolute; left: 3px; top: 3px; width: 12px; height: 12px; border-radius: 4px; background: radial-gradient(circle at 30% 30%, #555 0 2px, transparent 2.5px), radial-gradient(circle at 72% 30%, #555 0 2px, transparent 2.5px), radial-gradient(circle at 30% 72%, #555 0 2px, transparent 2.5px), rgba(0, 0, 0, 0.28); }
.bundle .pill-solid { margin-top: 8px; padding: 14px 24px; }
.foot { margin: 22px 0 0; font-size: 13.5px; line-height: 18px; letter-spacing: 0.2px; color: var(--ink-2); }
.foot + .foot { margin-top: 16px; }
.sbox { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; margin-top: 26px; padding: 20px 18px 24px; background: var(--chat-bg); border-radius: 16px; }
.sbox b { margin-bottom: 4px; font-size: 14px; line-height: 18px; }
.sbox button { font-size: 14px; line-height: 18px; letter-spacing: 0.2px; text-align: left; text-decoration: underline; text-underline-offset: 4px; }
.sbox button:disabled { color: var(--ink-2); cursor: default; }
.tip { margin: 26px 2px 0; font-size: 17px; line-height: 22px; letter-spacing: -0.2px; }

/* Device config card */
.config .ctitle { margin-bottom: 26px; }
.cline { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--card-line); }
.lhead { display: grid; grid-template-columns: 1fr auto; row-gap: 4px; align-items: center; width: 100%; text-align: left; }
.lhead b { font-size: 16px; line-height: 20px; font-weight: 400; letter-spacing: -0.3px; }
.cline.open .lhead b { font-weight: 700; }
.lhead .chev { transition: transform 0.15s var(--ease); }
.cline.open .lhead .chev { transform: rotate(180deg); }
.lhead > span { grid-column: 1 / -1; font-size: 13px; line-height: 18px; color: var(--ink-2); }
.lhead > span.good { display: flex; align-items: flex-start; gap: 6px; color: #008331; }
.lhead > span.good svg { flex: none; margin-top: 1.5px; }
.lhead small { font-size: 12px; color: var(--ink-2); }
.lhead:disabled { cursor: default; color: #000; }
.config .dname { margin: 18px 0 20px; font-size: 32px; line-height: 35px; letter-spacing: -1.2px; font-family: var(--font-display); }
.phone.big { display: block; width: 76px; height: 100px; border-radius: 13px; }
.phone.big::before { left: 9px; top: 9px; width: 26px; height: 26px; border-radius: 8px; }
.aslow { margin: 20px 0 0; font-size: 14px; line-height: 20px; }
.aslow b { font-size: 16px; font-weight: 400; }
.aslow small { display: block; font-size: 13px; color: var(--ink-2); }
.lbl { margin: 22px 0 12px; font-size: 14px; line-height: 18px; }
.swatches { display: flex; gap: 18px; align-items: center; }
.sw { position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35); }
.sw[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35), 0 0 0 4px #fff, 0 0 0 5.5px #000; }
.sw.out { cursor: default; }
.sw.out::after { content: ""; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 1.5px; background: #555; transform: rotate(45deg); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6); }
.tile { padding: 10px 11px; background: #fff; border: 1px solid #000; border-radius: 8px; text-align: left; font-size: 15px; line-height: 20px; transition: box-shadow 0.15s var(--ease); }
.tile[aria-pressed="true"] { box-shadow: 0 0 0 2px #000; }
.tile b { display: block; font-weight: 400; }
.tile span { display: block; margin-top: 4px; font-size: 13px; line-height: 18px; }
.chipset { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { padding: 9px 11px; font-size: 16px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile.pay { display: flex; flex-direction: column; min-height: 118px; font-size: 14px; line-height: 17px; }
.tile.pay small { font-size: 12px; line-height: 15px; }
.tile.pay span { margin-top: auto; padding-top: 10px; text-align: right; font-size: 12px; line-height: 15px; }
.tile.pay em { font-style: normal; }
.red { color: #d52b1e; }
.tile.full { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: 12px; padding: 13px 11px; }
.tile.full span { margin: 0; font-size: 14px; }
.tile.full b { font-size: 16px; }
.fineprint { margin: 12px 0 0; font-size: 13px; line-height: 16px; color: var(--ink-2); }
.chosen { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; font-size: 14px; line-height: 21px; color: var(--ink-2); }
.chosen .phone { flex: none; width: 32px; height: 44px; }
.chosen > span:nth-child(2) { flex: 1; }
.edit { padding: 6px 15px; border: 1px solid #000; border-radius: 9999px; font-size: 13px; line-height: 16px; font-weight: 700; color: #000; }
.info { display: flex; gap: 10px; margin: 14px 0 0; padding: 16px 14px; border-radius: 6px; background: #aad8f9; font-size: 13px; line-height: 16px; }
.info svg { flex: none; }
.prohead { margin: 22px 0 14px; font-size: 16px; line-height: 20px; letter-spacing: -0.4px; }
.pill-solid.strong { font-weight: 700; }
.config .pill-solid { margin-top: 22px; }
.config .sbox { margin-top: 6px; }
.totals.flat { padding: 0; }

/* Document modal (sizes scaled from the mockup) */
.doc { position: absolute; inset: 0; z-index: 40; display: flex; background: #fff; animation: fadeIn 0.2s both; }
.doc[hidden] { display: none; }
.doc-sheet { position: relative; display: flex; flex-direction: column; width: 100%; min-height: 0; background: #fff; }
.doc-x { position: absolute; top: 12px; right: 12px; z-index: 1; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.doc-x:hover { background: var(--fill-soft); }
.doc-body { flex: 1; min-height: 0; overflow-y: auto; padding: 48px 17px 24px; outline: 0; }
.doc-body h2 { margin: 0 0 30px; font-size: 31px; line-height: 37px; font-weight: 300; letter-spacing: -1.1px; font-family: var(--font-display); }
.doc-body p { margin: 0 0 32px; font-size: 13.5px; line-height: 16.5px; letter-spacing: 0.2px; color: var(--ink-2); }
.doc-body .tight p { margin-bottom: 16px; }
.doc-body .lead { margin-bottom: 26px; font-size: 20px; line-height: 25px; letter-spacing: -0.6px; color: #000; font-family: var(--font-display); }
.doc-body h2:has(+ .lead) { margin-bottom: 8px; }
.doc-tag { display: inline-block; margin-bottom: 14px; padding: 7px 5px; border-radius: 4px; background: #d52b1e; color: #fff; font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: 0.2px; }
.doc-foot { flex: none; padding: 10px 10px 10px; background: #fff; box-shadow: 0 -10px 16px 0 #fff; }
.doc-foot .pill-solid { margin: 0; padding: 13px 24px; }

.doc-info { align-items: flex-start; margin: 0 -2px 22px; padding: 16px 14px 18px; border-radius: 8px; color: #00356b; font-size: 13.5px; line-height: 16.5px; letter-spacing: 0.2px; }
.doc-info b { display: block; margin-bottom: 4px; font-size: 13.5px; line-height: 16.5px; }
.doc-body .terms p { margin-bottom: 16.5px; }
.doc-body .terms strong { font-weight: 700; }
.doc-body:has(.doc-info) { padding-top: 46px; }

/* Plan review card */
.plans .ctitle { margin-bottom: 30px; padding-bottom: 0; }
.plans .cline:first-of-type { padding-top: 18px; border-top: 1px solid var(--card-line); }
.clip { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.prow { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 22px 0 12px; font-size: 20px; line-height: 24px; font-weight: 300; letter-spacing: -0.6px; font-family: var(--font-display); }
.prow b { font-weight: 300; }
.prow.strong { margin-top: 0; font-size: 20px; font-family: var(--font-display); }
.prow.strong span:first-child { font-weight: 700; }
.prow small { font-size: 15px; }
.recbox { margin-bottom: 14px; padding: 12px 11px 14px; border-radius: 12px; background: #f6f1e6; }
.recbox p { margin: 8px 0 0; font-size: 13.5px; line-height: 17px; letter-spacing: -0.1px; }
.doc-tag.mini { margin: 0; padding: 1px 4px; border-radius: 3px; font-size: 12px; line-height: 16px; }
.feat-list { margin: 0 0 16px; padding: 0; list-style: none; }
.feat-list li { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 9px; font-size: 13px; line-height: 16px; letter-spacing: 0.2px; }
.feat-list svg { flex: none; width: 17px; height: 17px; color: #008331; }
.plans .pill-solid { margin-top: 8px; }
.plans .pill-outline { margin-top: 12px; }
.facts { max-height: 366px; overflow-y: auto; margin-top: 18px; padding: 12px 11px; border: 1px solid #000; border-radius: 4px; font-size: 10.5px; line-height: 13px; }
.facts.open { max-height: none; }
.facts h6 { margin: 0 0 6px; padding-bottom: 6px; border-bottom: 2px solid #000; font-size: 20px; line-height: 24px; font-weight: 700; letter-spacing: -0.6px; font-family: var(--font-display); }
.facts p { margin: 0 0 7px; }
.facts .fb { font-weight: 700; font-size: 12px; line-height: 15px; }
.facts .fb.small { font-size: 11px; }
.facts .frow { display: flex; justify-content: space-between; gap: 12px; text-align: left; }
.facts .frow span:last-child, .facts .frow a { text-align: right; }
.facts a { color: #0000b4; text-decoration: none; }
.facts .bar { height: 2px; margin: 6px 0; background: #000; }
.facts .bar.thick { height: 7px; }
.feebox { display: flex; gap: 9px; margin: 6px 0 12px; padding: 16px 12px; border-radius: 4px; background: #fde68a; color: #6b4a00; }
.feebox svg { flex: none; margin-top: 1px; }
.feebox b { display: block; font-size: 12.5px; line-height: 15px; }
.feebox button { margin-top: 10px; padding: 6px 15px; border: 1px solid currentColor; border-radius: 9999px; font-size: 12.5px; line-height: 16px; font-weight: 700; }
.facts-note { padding: 10px; border-radius: 4px; background: var(--chat-bg); }
.addr { display: flex; align-items: flex-end; gap: 8px; margin: 6px 0 12px; }
.addr label { flex: 1; font-size: 11px; font-weight: 700; }
.addr input { display: block; width: 100%; margin-top: 4px; padding: 8px; border: 1px solid #000; border-radius: 4px; font: 400 13px/16px var(--font); }
.addr button { padding: 8px 14px; border-radius: 9999px; background: #000; color: #fff; font-size: 12.5px; font-weight: 700; }
.facts-more { display: flex; justify-content: center; width: 100%; padding: 12px 0 6px; }
.facts-more[aria-expanded="true"] .chev { transform: rotate(180deg); }
.plans .sbox { margin-top: 14px; }
.plans .sbox button { display: inline-flex; align-items: center; gap: 6px; }
.acc2 { padding: 22px 0; border-bottom: 1px solid var(--card-line); }
.acc2 summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; font-size: 18px; line-height: 22px; font-weight: 700; letter-spacing: -0.5px; }
.acc2 summary::-webkit-details-marker { display: none; }
.acc2[open] summary .chev { transform: rotate(180deg); }
.acc2 .dots-list { margin: 16px 0 0 8px; }
.acc2 .dots-list li { padding-bottom: 16px; font-size: 14px; line-height: 18px; }
.acc2 .dots-list li:last-child { padding-bottom: 0; }
[data-plan-details] .pill-solid { margin-top: 22px; }

.pblock + .pblock { margin-top: 22px; padding-top: 4px; border-top: 1px solid var(--card-line); }
.facts-link { display: block; margin: 14px auto 0; }
.facts-wrap[hidden] { display: none; }
.facts-wrap .facts { margin-top: 12px; }
.plans.simp .prow { margin-top: 0; }
.plans > hr { margin: 14px 0; }
.feat-list.gain li { margin-bottom: 12px; font-size: 13px; line-height: 16px; color: var(--ink-2); }
.feat-list.gain b { color: #000; font-weight: 700; }
.feat-list.gain svg { color: var(--ink-2); }
[data-change] h5 { margin-top: 6px; }
[data-change] .pill-solid { margin-top: 14px; }

/* Device protection */
.protect .prow.wrap { align-items: flex-start; margin-top: 0; font-size: 17px; line-height: 21px; }
.protect .prow.wrap span:first-child { max-width: 190px; }
.protect > hr { margin: 16px 0; }
.protect h5.minor { margin: 0 0 12px; font-size: 17px; line-height: 21px; }
.protect .pill-outline { margin-top: 16px; }
.protect .ctitle { margin-bottom: 22px; font-size: 19px; line-height: 23px; max-width: 230px; }
.lhead.prot b { font-size: 17px; line-height: 21px; font-weight: 300; letter-spacing: -0.5px; }
.cline.open .lhead.prot b { font-weight: 300; }
.lhead.prot .doc-tag { display: table; margin-bottom: 8px; font-weight: 700; letter-spacing: 0.2px; }
.lhead.prot .pprice { grid-column: 1 / -1; font-size: 11px; line-height: 14px; color: #000; }
.protect .cline .feat-list { margin-top: 14px; }
.protect .cline .feat-list svg { color: #000; }
.tightnote { margin: -4px 0 0; font-size: 11.5px; line-height: 14px; }
.pcheck { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; font-size: 13px; line-height: 17px; cursor: pointer; }
.pcheck input { position: absolute; opacity: 0; pointer-events: none; }
.pcheck .box { flex: none; width: 17px; height: 17px; border: 1.5px solid #000; border-radius: 2px; background: #fff; }
.pcheck input:checked + .box { background: #000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M5.5 11.2l3.6 3.6 7.4-7.6' fill='none' stroke='%23fff' stroke-width='2.4'/%3E%3C/svg%3E") center/16px no-repeat; }
.pcheck input:focus-visible + .box { outline: 2px solid #000; outline-offset: 2px; }
.pcheck small { display: block; margin-top: 2px; font-size: 13px; }
.pcheck:has(input:disabled) { color: rgb(170, 168, 163); cursor: default; }
.pcheck:has(input:disabled) .box { border-color: rgb(200, 198, 194); }
.pcheck:last-child { margin-bottom: 0; }
.protect .sbox { margin-top: 0; }
.protect > .pill-solid { margin-top: 26px; }
.suggest.inset { margin-top: 4px; }
.suggest.inset button { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; line-height: 18px; }
.foot.noprot { margin: 0; }

.lhead > span.muted { color: var(--ink-2); }
.need { margin: 10px 0 0; text-align: center; font-size: 12.5px; line-height: 16px; color: var(--ink-2); }

/* Protection small print */
.ctitle.wide { max-width: none; font-size: 21px; line-height: 25px; margin-bottom: 20px; font-family: var(--font-display); }
.acc3 { padding: 16px 0; border-bottom: 1px solid var(--card-line); }
.acc3 summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; cursor: pointer; list-style: none; font-size: 13px; line-height: 17px; letter-spacing: 0.1px; }
.acc3 summary::-webkit-details-marker { display: none; }
.acc3 summary .chev { flex: none; }
.acc3[open] summary .chev { transform: rotate(180deg); }
.acc3 .fineprint { margin-top: 12px; font-size: 12px; line-height: 15px; }
.turn.bot > .tip + .jcard { margin-top: 16px; }

/* Number setup */
.numbers .cline:first-of-type { padding-top: 18px; border-top: 1px solid var(--card-line); }
.ndev { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin: 16px 0 6px; font-size: 13.5px; line-height: 20px; }
.phone.mid { flex: none; width: 46px; height: 60px; border-radius: 9px; }
.phone.mid::before { left: 5px; top: 5px; width: 17px; height: 17px; border-radius: 5px; }
.lbl.big { margin: 20px 0 12px; font-size: 16px; line-height: 20px; letter-spacing: -0.3px; }
.tile.yn { padding: 11px 11px; font-size: 13.5px; }
.nfield { display: block; margin-top: 14px; }
.nfield > span:first-child { display: block; margin-bottom: 6px; font-size: 12.5px; line-height: 16px; }
.nfield input, .nfield select { display: block; width: 100%; height: 42px; padding: 0 11px; border: 1px solid #000; border-radius: 4px; background: #fff; font: 400 16px/20px var(--font); color: #000; }
.nfield select { appearance: none; padding-right: 36px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 5.5L8 11l5.5-5.5' fill='none' stroke='%23000' stroke-width='1.3'/%3E%3C/svg%3E") right 11px center/16px no-repeat; }
.nfield input:focus-visible, .nfield select:focus-visible { outline: 2px solid #000; outline-offset: 1px; }
.inwrap { position: relative; display: block; }
.inwrap svg { position: absolute; right: 12px; top: 13px; width: 16px; height: 16px; color: #008331; }
.nfield.ok input { background: #b5e3bd; border-color: #008331; padding-right: 36px; }
.nmsg { margin: 8px 0 0; font-size: 12.5px; line-height: 16px; color: var(--ink-2); }
.nmsg.good { color: #008331; }
.pcheck.owner { margin: 22px 0 0; align-items: center; font-size: 15px; }
.pcheck.owner .box { width: 19px; height: 19px; border-radius: 3px; }
.numbers .pill-solid { margin-top: 22px; }
.numline { margin: -8px 0 14px; font-size: 13px; line-height: 18px; color: #008331; }

.cdline { margin: 0 0 4px; padding-top: 18px; border-top: 1px solid var(--card-line); font-size: 15px; line-height: 19px; font-weight: 700; letter-spacing: -0.3px; }
.nfield em { font-style: normal; color: var(--ink-2); }
.pcheck.auth { margin: 20px 0 0; font-size: 12.5px; line-height: 16px; }
[data-carrier] .link-btn { margin-top: 26px; }

/* Field error state (colours taken from the supplied design) */
:root { --err-fill: #f7cdb3; --err-line: #7a3b1e; --err-text: #b0581f; }
.nfield.err input, .nfield.err select { background-color: var(--err-fill); border-color: var(--err-line); }
.nfield.err input { padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%237a3b1e' stroke-width='1.3' stroke-linejoin='round'%3E%3Cpath d='M10 1.8l8.2 8.2-8.2 8.2L1.8 10z'/%3E%3Cpath d='M10 6.2v4.6M10 13.2v.4' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; background-size: 20px; }
.ferr, .nmsg.err { margin: 8px 0 0; font-size: 12.5px; line-height: 16px; color: var(--err-text); }
.ferr[hidden] { display: none; }
.pcheck.err .box { border-color: var(--err-line); background-color: var(--err-fill); }
.pcheck.owner + .ferr, .pcheck.auth + .ferr { margin-top: 8px; }
.nfield.ok input { background-image: none; }
.bill-error { color: var(--err-text); }
.addr { flex-wrap: wrap; align-items: flex-start; }
.addr .nfield { flex: 1 1 100%; margin-top: 0; }
.addr .nfield > span:first-child { font-weight: 700; font-size: 11px; }
.addr .nfield input { height: 36px; font-size: 13px; }
.addr .ferr { flex: 1 1 100%; margin: 0; }
.addr button { margin-left: auto; }

/* Review cart */
.cart h4 { margin-bottom: 16px; }
.cart .bsum span { max-width: none; font-size: 12.5px; line-height: 16px; }
.cart .bsum b { font-size: 15px; }
.cart > hr { margin: 18px 0 0; }
.cacc { padding: 18px 0; border-bottom: 1px solid var(--card-line); }
.cacc summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; cursor: pointer; list-style: none; font-size: 19px; line-height: 23px; font-weight: 300; letter-spacing: -0.5px; }
.cacc summary::-webkit-details-marker { display: none; }
.cacc summary > span:last-child { display: inline-flex; align-items: center; gap: 12px; }
.cacc[open] > summary .chev { transform: rotate(180deg); }
.cacc.line summary { font-size: 15px; line-height: 19px; font-weight: 400; letter-spacing: -0.2px; }
.cacc.good summary { color: #008331; }
.cacc .fineprint { margin-top: 10px; }
.fineprint.gap { margin: 18px 0 0; }
.cmeta { margin: 4px 0 14px; font-size: 12.5px; line-height: 17px; }
.clabel { margin: 0 0 8px; font-size: 12px; line-height: 16px; color: var(--ink-2); }
.csec { margin-bottom: 18px; }
.chead { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: 15px; line-height: 19px; letter-spacing: -0.2px; }
.csec.good .chead { color: #008331; }
.crow { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px; font-size: 12.5px; line-height: 16px; }
.crow.device { align-items: flex-start; }
.crow.device .phone { flex: none; }
.cname { flex: 1; min-width: 0; }
.cname small { display: block; margin-top: 2px; font-size: 12px; line-height: 16px; color: var(--ink-2); }
.cprice { flex: none; white-space: nowrap; }
.cbtns { display: flex; gap: 8px; }
.cundo { margin: 14px 0 0; font-size: 13px; line-height: 18px; color: var(--ink-2); }
.link-btn.left { display: block; margin: 8px 0 0; text-align: left; }
.offer { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; margin-top: 10px; }
.offer .nfield { flex: 1; margin-top: 0; }
.offer .ferr { order: 3; flex: 1 1 100%; margin: 0; }
.offer .edit { height: 42px; padding: 0 18px; }
.cbox { margin-top: 18px; padding: 16px; border-radius: 14px; background: var(--chat-bg); font-size: 12.5px; line-height: 16px; }
.cbox p { margin: 14px 0 0; }
.cbox p:first-child { margin-top: 0; }
.cboxrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; }
.cboxrow b { display: block; font-weight: 400; }
.cboxrow small { display: block; margin-top: 2px; font-size: 12px; color: var(--ink-2); }
.clinks { display: flex; gap: 18px; margin-top: 8px; }
.cart > .pill-solid { margin-top: 22px; }
.cart .sbox { margin-top: 22px; }

.cacc.line summary > span:last-child { gap: 0; }
.cacc.line summary .chev { margin-left: 12px; }
.cacc > summary + .crow { margin-top: 12px; }

/* Checkout: profile, soft credit review, recovery PIN */
.checkout .eyebrow2 { margin-bottom: 22px; font-size: 13px; }
.cotitle { display: flex; justify-content: space-between; align-items: center; margin: 0 0 4px; font-size: 21px; line-height: 25px; font-family: var(--font-display); }
.lockic { flex: none; }
.checkout hr { margin: 24px 0; }
.cosub { margin: 0 0 4px; font-size: 16px; line-height: 20px; letter-spacing: -0.3px; }
.conote { margin: 8px 0 4px; font-size: 13px; line-height: 17px; }
.conote.dark { margin: 18px 0 6px; font-size: 14px; line-height: 19px; }
.grid2.fields { align-items: start; gap: 16px; }
.checkout .nfield input, .checkout .nfield select { height: 46px; padding: 0 12px; font-size: 16px; }
.checkout .nfield > span:first-child { font-size: 13px; }
.cobtns { display: flex; gap: 12px; margin-top: 24px; }
.checkout hr + .cobtns { margin-top: 0; }
.pill-solid.fit, .pill-outline.fit { display: inline-block; width: auto; margin: 0; padding: 13px 24px; font-size: 16px; line-height: 20px; }
.jcard .pill-outline.fit + .pill-solid.fit { margin-top: 0; }
.showbtn { position: absolute; right: 12px; top: 13px; }
.checkout .inwrap input { padding-right: 64px; }
.checkout .nfield.err .inwrap input { background-image: none; }
.checkout .fineprint { margin-top: 12px; }
.checkout .link-btn.left { margin-top: 18px; font-size: 16px; }
.copied { margin: 6px 0 0; min-height: 16px; font-size: 12.5px; line-height: 16px; color: #008331; }
.consent a { color: inherit; text-decoration: underline; }
.checkout .feat-list { margin: 18px 0 0; }

.conote.grey { color: var(--ink-2); font-size: 12.5px; line-height: 16px; }
.conote.grey.top { margin: 16px 0 6px; }
.conote.tipline { margin-top: 12px; }

/* Receiving the order */
.shtitle { margin: 0 0 18px; font-size: 19px; line-height: 23px; max-width: 250px; }
.shopt { margin-bottom: 12px; border: 1px solid var(--card-line); border-radius: 12px; background: #fff; }
.shopt.on { background: var(--chat-bg); padding-bottom: 16px; }
.shhead { display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 16px 16px 18px; text-align: left; font-size: 15px; line-height: 20px; }
.radio { flex: none; width: 19px; height: 19px; margin-top: 1px; border: 1.5px solid #000; border-radius: 50%; background: #fff; }
.shhead[aria-checked="true"] .radio { box-shadow: inset 0 0 0 4px #fff; background: #000; }
.shtext { flex: 1; }
.shtext small { display: block; margin-top: 4px; font-size: 15px; }
.shask { margin: 0 16px 12px; font-size: 14px; line-height: 18px; letter-spacing: -0.2px; }
.shchoices { display: flex; flex-direction: column; gap: 10px; margin: 0 16px; }
.shchoice { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 14px; border-color: var(--card-line); font-size: 13px; }
.shchoice span { margin: 0; font-size: inherit; }
.shchoice span:last-child { font-size: 15px; }
.shchoice[aria-checked="true"] { border-color: #000; box-shadow: 0 0 0 2px #000; }
.shopt .fineprint { margin: 14px 16px 0; }
.infobox { margin-bottom: 22px; padding: 16px; border: 1px solid var(--card-line); border-radius: 12px; }
.infotop { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.infohead { margin: 0; font-size: 19px; line-height: 23px; }
.infolabel { margin: 14px 0 12px; font-size: 13px; line-height: 17px; }
.infotext { margin: 0; font-size: 12px; line-height: 16px; color: var(--ink-2); }
.pcheck.consentbox { margin-bottom: 22px; font-size: 14.5px; line-height: 19px; }
.pcheck.consentbox .box { width: 19px; height: 19px; border-radius: 3px; }
.pcheck.consentbox:last-of-type { margin-bottom: 0; }
.need.left { text-align: left; }
.shipping .pill-solid:disabled { background: rgb(216, 218, 218); border-color: rgb(216, 218, 218); }

/* Agreements */
.agtitle { margin: 0 0 6px; font-size: 19px; line-height: 23px; }
.agnote { margin: 0 0 20px; font-size: 11.5px; line-height: 14px; }
.agitem { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--card-line); }
.agitem:last-of-type { border-bottom: 0; margin-bottom: 0; }
.pcheck.agcheck { margin-bottom: 6px; align-items: flex-start; font-size: 14px; line-height: 18px; }
.agbody { padding-left: 29px; }
.agbody p, .agdone p { margin: 0 0 16px; font-size: 13.5px; line-height: 17.5px; }
.agbody p:last-child, .agdone p:last-child { margin-bottom: 0; }
.agbody a, .agdone a, .inlink { color: inherit; text-decoration: underline; text-underline-offset: 2px; font: inherit; text-align: left; }
.inlink { display: inline; }
.agree > .pill-solid { margin-top: 4px; }
.agdone { margin-bottom: 8px; padding: 16px 14px 18px; border-radius: 12px; background: var(--chat-bg); }
.agdone:last-child { margin-bottom: 0; }
.agdone summary { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; cursor: pointer; list-style: none; font-size: 14px; line-height: 18px; }
.agdone summary::-webkit-details-marker { display: none; }
.agdone summary > svg:first-child { flex: none; margin-top: 2px; color: #008331; }
.agdone summary b { flex: 1; }
.agdone summary .chev { flex: none; margin-top: 1px; }
.agdone[open] summary .chev { transform: rotate(180deg); }
.agdone:not([open]) summary { margin-bottom: 0; }
.agree:has(.agdone) { padding: 14px; }
/* Gated document */
.doc-hint { margin: 0 0 8px; padding: 8px 6px; background: var(--chat-bg); font-size: 11.5px; line-height: 14px; }
.doc-hint[hidden] { display: none; }
.doc-foot .pill-solid:disabled { background: rgb(216, 218, 218); border-color: rgb(216, 218, 218); }
.know p { margin-bottom: 16px; color: #000; }
.know hr { margin: 0 0 16px; border: 0; border-top: 1px solid var(--card-line); }
.know a { color: inherit; text-decoration: underline; }

/* Order summary */
.cmeta.plain { margin: 8px 0 0; }
.crow.strong { margin-top: 12px; }
.crow.strong.gapabove { margin-top: 18px; }
.order .cacc .crow + .fineprint { margin-top: 14px; }
.agwrap { padding-bottom: 8px; border-bottom: 0; }
.cacc summary.smallsum { font-size: 14px; line-height: 18px; font-weight: 400; letter-spacing: 0; margin-bottom: 12px; }
.agwrap .agdone { margin-bottom: 8px; }
.agwrap .agdone summary { margin-bottom: 0; font-size: 13.5px; }
.agwrap .agdone[open] summary { margin-bottom: 12px; }
.agwrap .agdone p { font-size: 13px; line-height: 17px; }
.oinfo { padding: 16px 0; border-top: 1px solid var(--card-line); }
.oinfo.last { padding-bottom: 4px; }
.oinfo .infolabel { margin: 0 0 6px; }
.oinfo .infotext + .infotext { margin-top: 8px; }
.infotext.dark, .infotext .dark { color: #000; }
.orow { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.orow + .orow { margin-top: 12px; }
.order > .pill-solid { margin-top: 18px; }

.agdone summary b { font-weight: 700; letter-spacing: 0; }

/* Payment */
.payopt { padding: 4px 0; border-top: 1px solid var(--card-line); }
.payopt:first-child { border-top: 1px solid var(--card-line); }
.shhead.flat { padding: 16px 0; align-items: center; font-size: 14px; }
.shhead.flat .radio { margin-top: 0; }
.brands { display: flex; gap: 6px; margin: -6px 0 14px 31px; }
.brands span { padding: 2px 5px; border: 1px solid var(--card-line); border-radius: 3px; font-size: 9px; line-height: 12px; font-weight: 700; letter-spacing: 0.3px; color: var(--ink-2); }
.brands[data-brand="visa"] [data-b="visa"], .brands[data-brand="mc"] [data-b="mc"], .brands[data-brand="amex"] [data-b="amex"], .brands[data-brand="disc"] [data-b="disc"] { border-color: #000; background: #000; color: #fff; }
.payrow { display: flex; align-items: flex-start; gap: 10px; }
.payrow > div { flex: 1; min-width: 0; }
.pill-outline.side { flex: none; margin-top: 36px; height: 46px; padding: 0 16px; font-size: 14px; }
.jcard .pill-outline.side { margin-top: 36px; }
.giftbal { margin: 14px 0 0; font-size: 13.5px; line-height: 18px; }
.cosub.small { font-size: 14px; }
.payment .pcheck.owner { margin-top: 20px; }
.payment hr + .cosub { margin-top: 0; }
.payment .fineprint + .fineprint { margin-top: 14px; }
.paylinks { margin-top: 16px; }
.paylinks a { color: inherit; text-decoration: underline; }
.walletnote { margin: 4px 0 8px; }
.payment > .pill-solid { margin-top: 22px; }
.payment .pill-solid:disabled { background: rgb(216, 218, 218); border-color: rgb(216, 218, 218); }
.payment .copied { margin-top: 8px; }

/* Order confirmation */
.allset { margin-bottom: 14px; font-size: 30px; line-height: 34px; font-family: var(--font-display); }
.ctext { margin: 0 0 16px; font-size: 13.5px; line-height: 18px; }
.ctext a { color: inherit; text-decoration: underline; }
.chead2 { display: block; margin-bottom: 8px; font-size: 16px; line-height: 20px; letter-spacing: -0.3px; }
.kbox { display: block; margin-top: 12px; padding: 20px 18px; border: 1px solid var(--card-line); border-radius: 12px; color: #000; text-decoration: none; }
.kbox.warm { background: #f6f1e6; border-color: #f6f1e6; }
.kbox.grey { background: var(--chat-bg); }
.kbox h5 { margin: 0 0 10px; font-size: 21px; line-height: 25px; max-width: 210px; font-family: var(--font-display); }
.kbox p { margin: 0 0 16px; font-size: 13.5px; line-height: 18px; max-width: 230px; }
.kbox .fineprint { max-width: none; margin: 14px 0 0; }
.pill-solid.go { display: inline-flex; align-items: center; gap: 8px; background: #000; color: #fff; border-radius: 9999px; text-decoration: none; padding: 11px 22px; font-size: 14px; }
.promo { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: #fff; }
.promo span { font-size: 12.5px; line-height: 16px; }
.promo b { display: block; margin-bottom: 8px; font-size: 20px; line-height: 23px; font-weight: 300; letter-spacing: -0.6px; font-family: var(--font-display); }
/* Drawn stand-ins for the product photos in the design */
.pic { flex: none; width: 76px; height: 56px; border-radius: 22px 22px 28px 28px; }
.pic.pad { background: radial-gradient(circle at 30% 45%, #1b5e20 0 7px, transparent 8px), radial-gradient(circle at 72% 40%, #e53935 0 4px, transparent 5px), #43a047; }
.pic.phones { width: 60px; height: 60px; border: 9px solid #1e3a6e; border-bottom-color: transparent; border-radius: 50%; background: none; box-shadow: inset 0 0 0 0 #000; }
.actrow { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 13px; line-height: 17px; }
.actrow em { display: block; font-style: normal; font-weight: 700; font-size: 12px; color: #0077b4; }
.actrow small { display: block; font-size: 13px; color: var(--ink-2); }
.klink { display: inline-block; margin-top: 14px; color: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.confirm > hr { margin: 24px 0 0; }
.esim { margin: 14px 0 0; padding-bottom: 16px; border-bottom: 1px solid var(--card-line); font-size: 12.5px; line-height: 16px; color: var(--ink-2); }
.esim b { display: block; margin-bottom: 6px; font-weight: 400; color: #000; }
.confirm .cacc.line { border-bottom: 0; padding-bottom: 0; }
.linkline { margin: 18px 0 4px; }
.oinfo.plainline { border-top: 0; padding: 14px 0 0; }
.oinfo.plainline .infolabel { font-size: 14px; }
.blockish { display: block; margin-top: 10px; }
.confirm .cacc.top { border-bottom: 0; }
.edit.receipt { margin-top: 18px; padding: 8px 16px; }

/* Phone thumbnails with a product photo: the photo replaces the drawn shape */
.phone[style*="--img"] { background: var(--img) center / contain no-repeat; box-shadow: none; border-radius: 0; }
.phone[style*="--img"]::before { display: none; }
.phone.big[style*="--img"] { width: 92px; height: 116px; }
.phone.mid[style*="--img"] { width: 54px; height: 68px; }
.brow.device .phone[style*="--img"], .crow.device .phone[style*="--img"], .actrow .phone[style*="--img"] { width: 34px; height: 44px; }
.chosen .phone[style*="--img"] { width: 40px; height: 50px; }

/* One suggestions style everywhere: sparkle heading and grey pills, under a divider */
.jcard .suggest.inset { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--card-line); }
.jcard hr + .suggest.inset { margin-top: 0; padding-top: 0; border-top: 0; }
.jcard .cline + .suggest.inset, .jcard .cacc + .suggest.inset { margin-top: 0; border-top: 0; }
.suggest.inset h6 { font-size: 13px; }
.suggest.inset button { padding: 7px 16px; font-size: 13px; line-height: 18px; }
.suggest.inset button:disabled { color: var(--ink-2); cursor: default; background: var(--fill-soft); }
.cart .suggest.inset { margin-top: 22px; }
.plans > .pill-solid + .suggest.inset, .protect .suggest.inset + .pill-solid { margin-top: 22px; }

.reply p.srcnote { padding-top: 0; font-size: 12px; line-height: 16px; color: var(--ink-2); }

/* Loading line: a small Verizon mark and a vertical marquee of the status phrases in gradient text.
   The track glides one line at a time. */
.status { display: flex; align-items: center; gap: 8px; margin-left: 0; padding-bottom: 8px; }
.vmark { flex: none; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; }
.vmarquee {
  display: block; height: 24px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 30%, #000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 30%, #000 70%, transparent 100%);
}
/* Smooth glide: eases out of rest and into the next line with no overshoot, almost continuous */
.vtrack { display: flex; flex-direction: column; transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1); will-change: transform; }
.vline {
  flex: none; align-self: flex-start; height: 24px; font-size: 15px; line-height: 24px; font-weight: 700; letter-spacing: -0.2px; white-space: nowrap;
  /* Solid Verizon red, with a highlight in the button yellow that fades out at both of its ends sweeping left to right */
  background:
    linear-gradient(100deg, rgba(248, 255, 60, 0) 0%, rgba(248, 255, 60, 0.95) 50%, rgba(248, 255, 60, 0) 100%) no-repeat -80% 0 / 45% 100%,
    #ee001e;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer { from { background-position: -80% 0, 0 0; } to { background-position: 180% 0, 0 0; } }
@media (prefers-reduced-motion: reduce) { .vtrack { transition: none; } .vline { animation: none; } }

/* Messages fade out under the top bar as they scroll up, matching the fade above the composer */
.panel.chatting .titlebar { z-index: 3; }
.panel.chatting .titlebar::after {
  content: ""; position: absolute; left: 0; right: 12px; top: 100%; height: 32px; pointer-events: none;
  background: linear-gradient(to bottom, var(--chat-bg), rgba(251, 249, 244, 0));
}

/* Loader hand-off: it lifts a little and fades, and the reply's first letters fade up into the same spot */
.status { transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s; }
.status.leaving { opacity: 0; transform: translateY(-8px); filter: blur(2px); }

/* The scrollbar's 6px is always reserved, so content does not shift when the bar appears */
.messages, .doc-body, .facts { scrollbar-gutter: stable; }
/* Thin scrollbar in the chat, sitting on the panel's own background with no separate track strip */
/* Chrome and Safari use the 4px bar below. The standard properties would override it with a wider one,
   so they are only given to browsers without the custom bar (Firefox). */
@supports not selector(::-webkit-scrollbar) { .messages, .doc-body, .facts { scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0.22) transparent; } }
.messages::-webkit-scrollbar, .doc-body::-webkit-scrollbar, .facts::-webkit-scrollbar { width: 4px; height: 4px; background: transparent; }
.messages::-webkit-scrollbar-track, .doc-body::-webkit-scrollbar-track, .facts::-webkit-scrollbar-track { background: transparent; }
.messages::-webkit-scrollbar-thumb, .doc-body::-webkit-scrollbar-thumb, .facts::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.22); border-radius: 4px; }
.messages::-webkit-scrollbar-thumb:hover { background: rgba(0, 0, 0, 0.45); }

/* Panel header from the supplied design: drag handle, black sparkle, menu and close on the chat background */
.titlebar { position: relative; height: 60px; padding: 12px 14px 0 16px; }
.handle { position: absolute; left: 50%; top: 8px; width: 72px; height: 4px; margin-left: -36px; border-radius: 4px; background: #d8d7d4; }
.spark { width: 22px; height: 22px; }
.spark svg { fill: #000; }
.tb-btn { width: 40px; height: 40px; }
.tb-btn svg { width: 24px; height: 24px; }
.panel.chatting .titlebar { background: var(--chat-bg); }
.menu { top: 44px; }

/* Stone background on the home screen too (it replaces the peach gradient measured from the live panel) */
.panel, .panel .titlebar { background: var(--chat-bg); }
/* On stone, fills that were the same colour as the background need to be a touch darker to stay visible */
.check, .agdone, .cbox, .kbox.grey, .facts-note, .doc-hint { background: #f4f0e8; }
.shopt.on { background: #f4f0e8; }
.bubble { background: #ece7dc; }
.helpful button { background: rgba(120, 100, 60, 0.14); }
.chips button, .suggest button { background: rgba(120, 100, 60, 0.12); }
.chips button:hover, .suggest button:hover { background: rgba(120, 100, 60, 0.22); }

/* No shadows on the assistant's surfaces: the composer and the stage sit flat on the stone background */
.composer, .body.chatting .composer, .composer-wrap.tray-open { box-shadow: none; }

/* Text being written out. Each letter fades up into place in the red to gold gradient, then its fill
   eases to the text colour, which leaves a soft glowing edge about two letters wide. */
.ch {
  opacity: 0;
  background: linear-gradient(100deg, #e0312b, #f08a24 50%, #f8ff3c);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ch.on { animation: letterIn 0.36s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
@keyframes letterIn {
  0% { opacity: 0; transform: translateY(3px); -webkit-text-fill-color: transparent; }
  18% { opacity: 1; transform: none; -webkit-text-fill-color: transparent; }
  100% { opacity: 1; transform: none; -webkit-text-fill-color: currentColor; }
}
.ch { display: inline; white-space: pre-wrap; }
.unborn { visibility: hidden; }
.held { display: none !important; }
.arrive { animation: riseIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes riseIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* "Was this helpful" and FAQ rows */
.helpful { gap: 12px; margin-top: 28px; padding-left: 0; }
.helpful button { width: 48px; height: 48px; background: rgba(170, 168, 163, 0.16); }
.helpful p { margin-left: 8px; font-size: 16px; line-height: 20px; color: #000; }
.faq { margin-top: 24px; }
.faq button { display: flex; align-items: center; gap: 20px; width: 100%; padding: 15px 0; border-bottom: 1px solid var(--card-line); font-size: 15px; line-height: 20px; text-align: left; }
/* No underline on hover: the arrow nudges forward instead */
.faq button svg { transition: transform 0.25s var(--ease); }
.faq button:hover svg { transform: translateX(4px); }
.faq svg { flex: none; }
.actions { padding-left: 0; }

/* ---------- Host page placeholder ---------- */
/* The host page keeps its size and layout. Opening the panel only shifts it right; the overflow is cut off. */
html, body { overflow-x: clip; }
/* Opening the assistant narrows the page's own area (it does not slide off the right edge), so the site
   lays out for the space that is left and nothing is cut. */
.page { min-height: 100%; transition: margin-left 0.35s var(--ease); }
.panel.open ~ .page { margin-left: var(--panel-w); }
.page-inner { max-width: 560px; padding: 96px 48px; }
.page-inner h2 { margin: 0 0 16px; font-size: 40px; line-height: 44px; letter-spacing: -1px; font-family: var(--font-display); }
.page-inner p { margin: 0 0 12px; color: #4a4a4a; }
.eyebrow { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
code { font: 14px ui-monospace, Menlo, monospace; background: #f3f3f3; padding: 2px 6px; border-radius: 4px; }

/* "Let's Chat" pill: white with a red to yellow gradient edge */
.launcher {
  position: fixed; right: 24px; bottom: 24px; z-index: 10;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 24px 11px 20px;
  border: 3px solid transparent; border-radius: 9999px;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(100deg, #e0312b 0%, #f08a24 55%, #f7e04b 100%) border-box;
  color: #000; font-weight: 700; font-size: 20px; line-height: 26px; letter-spacing: -0.7px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease); font-family: var(--font-display); }
.launcher svg { flex: none; fill: #000; }
.panel.open ~ .launcher { display: none; }

@media (max-width: 640px) {
  :root { --panel-w: 100vw; }
  .panel { border-right: 0; }
  .panel.open ~ .page { margin-left: 0; }
  .page-inner { padding: 48px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .panel, .page, .msg { transition: none; animation: none; }
}
.launcher:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0, 0, 0, 0.26); }

/* ============================================================================================
   Host page: recreation of verizon.com/switch-to-verizon. Measured at 1265px wide; every size is
   written against the page width (cqw) so it scales when the assistant panel pushes the page over.
   ============================================================================================ */
.page { container-type: inline-size; background: #fff; }
.vz { --red: #ee001e; --yellow: #f8ff3c; --hair: #d8dada; color: #000; font-family: var(--font); }
.vz a { color: inherit; text-decoration: none; }
.vz-head { position: sticky; top: 0; z-index: 5; background: #fff; border-bottom: 1px solid var(--hair); }
.vz-util { display: flex; justify-content: space-between; height: 32px; padding: 0 20px; align-items: center; font-size: 12px; line-height: 16px; }
.vz-util a { margin-right: 32px; white-space: nowrap; }
.vz-util span:last-child a { margin: 0 0 0 32px; }
.vz-util .on { color: #e00; }
.vz-nav { display: flex; align-items: center; gap: 16px; height: 89px; padding: 0 20px; border-top: 1px solid var(--hair); }
.vz-logo { margin-right: 13px; font-size: 38px; line-height: 40px; font-weight: 700; letter-spacing: -2.2px; color: var(--red) !important; }
.vz-logo.small { font-size: 26px; letter-spacing: -1.5px; }
.vz-nav nav { display: flex; gap: 16px; flex: 1; font-size: 16px; line-height: 20px; font-weight: 700; letter-spacing: -0.3px; }
.vz-search { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border: 1px solid #6f7171; border-radius: 24px; font-size: 15px; white-space: nowrap; }
.vz-signin { font-size: 14px; font-weight: 700; white-space: nowrap; }
.vz-cart { flex: none; margin-left: 4px; }

.vz-wrap { padding: 0 1.34cqw; color: var(--red); }
.vz-wrap h1, .vz-wrap h2, .vz-wrap h3, .vz-wrap p { margin: 0; }
.vz-switch { display: flex; align-items: flex-end; height: 22.8cqw; padding-bottom: 5.3cqw; box-sizing: border-box; font-weight: 700; white-space: nowrap; }
.vz-switch span { display: block; font-size: 18.75cqw; line-height: 0.8; letter-spacing: -0.5cqw; }
.vz-switch small { margin: 0 0 1.75cqw 0.3cqw; font-size: 3.16cqw; line-height: 1; letter-spacing: -0.06cqw; }

.vz-btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 24px; border-radius: 44px; font: 700 16px/20px var(--font); letter-spacing: 0.3px; white-space: nowrap; cursor: pointer; transition: filter 0.15s var(--ease); }
.vz-btn:hover { filter: brightness(0.93); }
.vz-btn.yellow { background: var(--yellow); color: #000 !important; }
.vz-btn.red { background: var(--red); color: #fff !important; }

.vz-hero { position: relative; padding: 5.06cqw; border-radius: 32px; background: var(--red); color: #fff; }
.vz-hero > p:first-child { padding-bottom: 4px; font-size: 3.16cqw; line-height: 1; font-weight: 700; letter-spacing: -0.06cqw; }
.vz-hero h2 { padding-bottom: 5.5cqw; font-size: 8.58cqw; line-height: 0.81; font-weight: 700; letter-spacing: -0.2cqw; }
.vz-btns { display: flex; gap: 12px; flex-wrap: wrap; }
/* The $30 ornament: a tilted yellow disc with a cap and loop, drawn in CSS at the live position and size */
.vz-badge { position: absolute; right: 1.74cqw; top: -0.5cqw; width: 21.4cqw; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); color: #000; transform: rotate(12deg); }
.vz-badge::before { content: ""; position: absolute; left: 50%; top: -4.9cqw; width: 2.3cqw; height: 2.6cqw; margin-left: -2cqw; border: 0.85cqw solid var(--yellow); border-radius: 50% 50% 40% 40%; }
.vz-badge::after { content: ""; position: absolute; left: 50%; top: -1.5cqw; width: 6.2cqw; height: 3cqw; margin-left: -3.1cqw; border-radius: 0.5cqw 0.5cqw 0 0; background: var(--yellow); }
.vz-badge svg { display: none; }
.vz-price { position: absolute; left: 0; right: 0; top: 14%; text-align: center; white-space: nowrap; }
.vz-price .cur { position: absolute; left: 18%; top: 0.5cqw; font-size: 3.16cqw; line-height: 1; font-weight: 700; }
.vz-price .num { display: block; font-size: 9.5cqw; line-height: 1; font-weight: 700; letter-spacing: -0.35cqw; }
.vz-price .per { display: block; margin-top: -0.3cqw; font-size: 1.9cqw; line-height: 1; font-weight: 300; }
.vz-fine { position: absolute; right: 5.06cqw; bottom: 5.06cqw; font-size: max(9px, 0.87cqw); line-height: 16px; letter-spacing: -0.5px; }

.vz-h2 { padding: 7.6cqw 0 3.8cqw; text-align: center; font-size: 6.32cqw; line-height: 0.95; font-weight: 700; letter-spacing: -0.19cqw; }
.vz-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.82cqw; }
.vz-card { min-height: 19.3cqw; padding: 1.9cqw 3.16cqw 1.9cqw 1.9cqw; border: 2px solid var(--red); border-radius: 24px; }
.vz-card h3 { padding-bottom: 0.63cqw; font-size: 5.06cqw; line-height: 1; font-weight: 700; letter-spacing: -0.15cqw; }
.vz-card p { padding-bottom: 3.8cqw; font-size: clamp(15px, 1.9cqw, 24px); line-height: 1.17; }
.vz-strip { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 96px; margin-top: 1.9cqw; padding: 16px 26px; border: 2px solid var(--red); border-radius: 24px; }
.vz-strip h3 { font-size: clamp(20px, 3.16cqw, 40px); line-height: 1; font-weight: 700; letter-spacing: -0.09cqw; }
.vz-strip.center { justify-content: center; gap: 24px; margin-top: 7.5cqw; }
.vz-strip.center h3 { font-size: clamp(18px, 2.53cqw, 32px); }

.vz-compare { --col: 9.1cqw; }
.vz-cols { display: flex; justify-content: flex-end; }
.vz-cols span { width: var(--col); padding: 12px 5px; text-align: center; font-size: clamp(13px, 1.9cqw, 24px); line-height: 28px; white-space: nowrap; }
.vz-cols .vzcol { color: #000; font-weight: 700; background: var(--yellow); border-radius: 24px 24px 0 0; }
.vz-tablebox { position: relative; border: 2px solid var(--red); border-radius: 24px; }
.vz-yellow { position: absolute; top: -2px; bottom: -3.3cqw; right: calc(var(--col) * 2 - 2px); width: var(--col); background: var(--yellow); border-radius: 0 0 24px 24px; }
.vz-tablebox table { position: relative; width: 100%; border-collapse: collapse; }
.vz-tablebox tr + tr th, .vz-tablebox tr + tr td { border-top: 2px solid var(--red); }
.vz-tablebox th { height: 6.16cqw; min-height: 52px; padding: 12px 12px 12px 5.37cqw; text-align: left; font-size: clamp(14px, 1.9cqw, 24px); line-height: 1.17; font-weight: 700; letter-spacing: -0.05cqw; }
.vz-tablebox th sup { font-size: 0.58em; }
.vz-tablebox td { width: var(--col); text-align: center; }
.vz-tablebox td.vzcol { border-top-color: transparent !important; }
.vz-tablebox td svg { width: clamp(14px, 1.6cqw, 20px); fill: var(--red); vertical-align: middle; }
.vz-tablebox td.vzcol svg { width: clamp(16px, 2cqw, 25px); fill: #000; }

.vz-trial { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 7.6cqw; min-height: 14.5cqw; padding: 1.9cqw 5.2cqw; border-radius: 24px; background: var(--red); }
.vz-trial h2 { color: #fff; font-size: 5.06cqw; line-height: 1; font-weight: 700; letter-spacing: -0.15cqw; }
.vz-lets { display: flex; align-items: flex-end; justify-content: space-between; gap: 2cqw; width: 100%; margin-top: 7.6cqw; color: var(--red); text-align: left; }
.vz-lets .big { display: block; white-space: nowrap; font-size: 21.1cqw; line-height: 0.76; font-weight: 700; letter-spacing: -0.47cqw; }
.vz-lets .pill { margin-bottom: 0.2cqw; padding: 2.37cqw 3.3cqw; border-radius: 74px; background: var(--red); color: #fff; font-size: 4.58cqw; line-height: 0.9; font-weight: 700; letter-spacing: -0.1cqw; white-space: nowrap; transition: filter 0.15s var(--ease); }
.vz-lets:hover .pill { filter: brightness(0.93); }
.vz-h2.faqh { padding-top: 7.1cqw; padding-bottom: 3.2cqw; font-size: 5.06cqw; line-height: 1; color: #f50a23; }
.vz-faq { margin: 0 7px; border-bottom: 2px solid #f50a23; }
.vz-faq details { border-top: 2px solid #f50a23; }
.vz-faq summary { position: relative; padding: 12px 36px 16px 0; cursor: pointer; list-style: none; }
.vz-faq summary::-webkit-details-marker { display: none; }
.vz-faq summary::after { content: ""; position: absolute; right: 6px; top: 16px; width: 9px; height: 9px; border-right: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(45deg); transition: transform 0.15s var(--ease); }
.vz-faq details[open] summary::after { transform: rotate(-135deg); top: 21px; }
.vz-faq h3 { font-size: clamp(16px, 1.58cqw, 20px); line-height: 1.2; font-weight: 700; letter-spacing: -0.3px; }
.vz-ans { padding: 0 36px 16px 0; font-size: 16px; line-height: 20px; letter-spacing: 0.3px; }
.vz-ans p { margin: 0 0 12px; }
.vz-ans ul, .vz-ans ol { margin: 0 0 12px; padding-left: 24px; }
.vz-ans li { margin-bottom: 8px; }
.vz-notes { padding: 10.5cqw 7px 3.4cqw; color: #000; font-size: 11px; line-height: 16px; letter-spacing: 0.2px; }
.vz-notes p { margin: 0 0 4px; }

.vz-foot { border-top: 1px solid var(--hair); font-size: 14px; line-height: 20px; }
.vz-fcols { display: grid; grid-template-columns: repeat(4, 1fr); padding: 24px 0 0 14px; }
.vz-fcol { padding: 0 16px 40px 0; }
.vz-fcol + .vz-fcol { padding-left: 10px; border-left: 1px solid var(--hair); }
.vz-fcol h4 { margin: 0 0 24px; padding-top: 10px; border-top: 1px solid var(--hair); font-size: 16px; line-height: 24px; font-weight: 700; }
.vz-fcol h4.gap { margin-top: 56px; }
.vz-fcol a { display: block; margin-bottom: 24px; }
.vz-fcol a:hover, .vz-flinks a:hover, .vz-util a:hover, .vz-nav a:hover { text-decoration: underline; }
.vz-social { margin: 0; color: #6f7171; }
.vz-fbar { display: flex; align-items: center; gap: 40px; padding: 20px 24px 60px; border-top: 1px solid var(--hair); color: #6f7171; font-size: 13px; }
.vz-flinks { flex: 1; display: flex; flex-wrap: wrap; gap: 8px 16px; }
@container (max-width: 760px) {
  .vz-cards { grid-template-columns: 1fr; } .vz-card { min-height: 0; }
  .vz-util span:last-child a:nth-child(-n+3), .vz-search { display: none; }
  .vz-fcols { grid-template-columns: 1fr 1fr; }
  .vz-lets { flex-direction: column; align-items: flex-start; }
}

/* Inside the assistant, running text uses Verizon's text cut, which is drawn for small sizes.
   Headlines of 20px and up keep the display cut through --font-display. */
.panel { --font: "Inter", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif; font-family: var(--font); }

/* ---------- Card type hierarchy ----------
   Four clear levels so the eye lands on the title, then the action:
   1 label (small, bold, grey)  2 title (bold display)  3 section heading (bold)  4 supporting text (regular, softer).
   The bold display cut needs far less tightening than the old light titles, so letter spacing is relaxed. */
.jcard .eyebrow2 { margin-bottom: 10px; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.2px; color: var(--ink-2); }
.jcard h4, .bill h4 { font-size: 26px; line-height: 30px; font-weight: 700; letter-spacing: -0.5px; }
.jcard h5, .bill h5 { font-size: 18px; line-height: 22px; font-weight: 700; letter-spacing: -0.2px; margin-bottom: 8px; }
.jcard .lede { font-size: 15px; line-height: 21px; letter-spacing: 0; color: #000; }
.jcard .note, .jcard .dots-list li { font-size: 14px; line-height: 20px; color: #3d3d3d; }
.jcard .dots-list li { padding-bottom: 6px; }
.jcard .dots-list li::before { color: #000; }
.promo b { font-weight: 700; letter-spacing: -0.3px; }
.doc-body h2 { font-weight: 700; letter-spacing: -0.6px; }
/* The upload target is the action on this card: solid black dashed edge, bolder label, a tint on hover */
.jcard .dropzone { padding: 18px 20px; border: 1.5px dashed #000; border-radius: 12px; transition: background 0.2s var(--ease); }
.jcard .dropzone:hover { background: #fff; box-shadow: none; border-style: solid; }
.dropzone b { font-size: 15px; line-height: 20px; font-weight: 700; color: #000; }
.dropzone span span { margin-top: 4px; font-size: 12px; line-height: 16px; color: var(--ink-2); }
/* Keyboard focus is visible on every control in the assistant */
.panel :is(button, a, input, select, summary, [tabindex]):focus-visible { outline: 2px solid #000; outline-offset: 2px; }

/* Bundle recommendation: the phone is the primary recommendation, so it gets a larger picture and a bolder name */
.brow.device { grid-template-columns: 56px 1fr auto; column-gap: 12px; align-items: center; margin-bottom: 22px; }
.brow.device .phone[style*="--img"] { width: 56px; height: 72px; }
.brow.device .bname { font-weight: 700; }
.brow.device .bname small { font-weight: 400; }

/* ---------- Version B: conversational ---------- */
/* Suggestions under a question: other things the user can do from here. FAQs follow below. */
.turn.bot > .suggest { margin-top: 20px; }
.turn.bot > .reply + .suggest { margin-top: 8px; }
.turn.bot > .suggest + .faq { margin-top: 28px; }
.turn.bot > .suggest button:disabled { color: var(--ink-2); background: rgba(120, 100, 60, 0.06); cursor: default; }
/* The upload card in B holds only the action; the explanation is in the message above it */
.jcard.slim { margin-top: 12px; padding: 20px; }
.jcard.slim .legal { margin-top: 14px; font-size: 12px; line-height: 17px; }
.jcard.slim .pill-solid { margin-top: 18px; }
.menu { min-width: 250px; }

/* Bundle card in B (from the supplied design) */
.bundle-b .bsum { margin-top: 0; }
.bundle-b .bsum span { font-size: 13px; line-height: 17px; }
.bundle-b .bsum b { font-size: 15px; line-height: 20px; }
.bundle-b .bline { margin-bottom: 14px; font-size: 16px; line-height: 20px; letter-spacing: 0; }
.bundle-b .bline span { font-weight: 400; }
.bhero { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.bhero h5 { margin: 0 0 6px; font-size: 24px; line-height: 28px; font-weight: 700; letter-spacing: -0.4px; font-family: var(--font-display); }
.bhero .bspec { margin: 0; font-size: 14px; line-height: 20px; color: var(--ink-2); }
.bhero .blow { margin: 2px 0 0; font-size: 14px; line-height: 20px; }
.bhero .phone[style*="--img"] { flex: none; width: 92px; height: 116px; }
.bbox { padding: 6px 16px; border-radius: 8px; background: #f6f5f3; }
.bbox div { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 9px 0; font-size: 14px; line-height: 20px; }
.bbox div span:first-child { max-width: 190px; }
.bbox div span:last-child { white-space: nowrap; }
.bbox .good { color: #0a7d32; }
.bundle-b .pill-solid { margin-top: 22px; font-weight: 700; }
.bundle-b .link-btn { margin-top: 14px; }
.bundle-b .foot { margin-top: 18px; }

/* ---------- Progress dialog motion ----------
   The dim fades in, the box rises into place, steps arrive one after another. Steps not yet reached are
   quiet; the current one is full strength; a finished one gets its tick with a small pop. It fades out at the end. */
.progress { animation: fadeIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) both; transition: opacity 0.3s ease; }
.progress-box { animation: boxIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both; transition: transform 0.3s ease, opacity 0.3s ease; }
@keyframes boxIn { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
.progress.closing { animation: dimOut 0.3s ease both; }
.progress.closing .progress-box { animation: boxOut 0.3s ease both; }
@keyframes dimOut { to { opacity: 0; } }
@keyframes boxOut { to { opacity: 0; transform: translateY(-8px) scale(0.99); } }
.progress-box li { color: rgb(156, 163, 175); font-weight: 400; transition: color 0.4s ease; animation: riseIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both; }
.progress-box li.active, .progress-box li.done { color: #000; }
.progress-box li::before { transition: border-color 0.3s ease; }
.progress-box li.active::before { animation: spin 0.9s cubic-bezier(0.5, 0.15, 0.5, 0.85) infinite; }
.progress-box li.done::before { animation: tickIn 0.4s cubic-bezier(0.34, 1.4, 0.64, 1) both; }
@keyframes tickIn { from { transform: scale(0.6); opacity: 0.3; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .progress, .progress-box, .progress-box li, .progress-box li::before { animation: none; transition: none; } }

#input::placeholder { color: var(--ink-2); opacity: 1; font-size: 15px; letter-spacing: 0; } /* a hint, so smaller than typed text */

/* Suggestions: a quiet grey heading, with the suggestions themselves in solid black */
.suggest h6, .suggest.inset h6 { color: var(--ink-2); font-weight: 400; letter-spacing: 0; }
.suggest button { color: #000; }

/* ---------- Chat type hierarchy (B) ---------- */
[data-variant="b"] .reply p { font-size: 15px; line-height: 22px; letter-spacing: 0; color: #2b2b2b; }
[data-variant="b"] .reply li { font-size: 15px; line-height: 22px; letter-spacing: 0; color: #2b2b2b; padding-bottom: 8px; }
[data-variant="b"] .reply strong { color: #000; }
[data-variant="b"] .reply .lead { margin-bottom: 8px; padding-bottom: 0; font-family: var(--font-display); font-size: 22px; line-height: 26px; font-weight: 700; letter-spacing: -0.3px; color: #000; }
[data-variant="b"] .reply .ask { margin-top: 4px; font-size: 16px; line-height: 22px; font-weight: 700; color: #000; }

/* Home shortcuts: icon above the text, so each line of copy fits on one line */
.card { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 14px 16px; text-align: left; }
.card-text b, .card-text span { white-space: nowrap; }
.card-text span { font-size: 12px; line-height: 16px; letter-spacing: -0.1px; }
.cards { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 0; } /* same edges as the composer below */

/* Home screen: stone at the top, warming into Verizon yellow at the bottom. The glow is its own layer
   so it can fade out when a chat starts; the chat itself stays flat stone. */
.panel { isolation: isolate; }
.panel::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 1; transition: opacity 0.6s ease;
  background: linear-gradient(to bottom, rgba(248, 255, 60, 0) 74%, #fbf9d2 85%, #f9fc8e 94%, #f8ff3c 100%); }
.panel.chatting::before { opacity: 0; }
.panel:not(.chatting) .titlebar { background: transparent; }

/* ---------- Home hierarchy ----------
   1 a short, large headline   2 one quiet line under it   3 the message box, the main thing on the screen
   4 four topic tiles          5 a small "talk to someone" row   6 the notice */
.greeting { padding-bottom: 28px; text-align: center; }
.greeting h1 { font-size: 40px; line-height: 44px; font-weight: 300; letter-spacing: -1px; }
.greeting p { margin: 12px auto 0; max-width: 300px; font-size: 14px; line-height: 20px; color: var(--ink-2); }
.composer-wrap { margin-bottom: 20px; }
.chips.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-bottom: 22px; }
.chips.tiles button { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0; background: none; border-radius: 12px; font-size: 13px; line-height: 16px; font-weight: 400; letter-spacing: 0; color: #000; }
.chips.tiles button:hover { background: none; }
.tile-ic { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 16px; background: rgba(120, 100, 60, 0.1); transition: background 0.2s var(--ease); }
.chips.tiles button:hover .tile-ic { background: rgba(120, 100, 60, 0.2); } /* colour only, no movement */
.talk { margin-bottom: 20px; text-align: center; }
.talk p { margin: 0 0 10px; font-size: 13px; line-height: 16px; color: var(--ink-2); }
.talk .cards { display: flex; justify-content: center; gap: 8px; margin: 0; padding: 0; }
.talk .card { flex-direction: row; align-items: center; gap: 8px; min-height: 0; padding: 8px 14px; border-radius: 8px; border: 1px solid rgba(0, 0, 0, 0.1); background: rgba(255, 255, 255, 0.6); font-size: 14px; line-height: 20px; }
.talk .card:hover { box-shadow: none; border-color: rgba(0, 0, 0, 0.35); }
.body.chatting .talk, .stage.tray-on .talk { display: none; }
.stage { top: 38%; }

/* Home spacing: 32px between groups, 12px inside a group */
.greeting { padding-bottom: 32px; }
.composer-wrap { margin-bottom: 28px; }
.chips.tiles { gap: 8px; margin-bottom: 32px; }
.chips.tiles button { gap: 10px; }
.talk { margin-bottom: 32px; }
.talk p { margin-bottom: 12px; }
.talk .cards { gap: 10px; }
.talk .card { padding: 9px 16px; }
.stage .disclaimer { line-height: 17px; }
/* Shorter windows: start higher and tighten the groups so the notice never runs off the bottom */
@media (max-height: 780px) {
  .stage { top: 34%; }
  .greeting { padding-bottom: 24px; }
  .greeting h1 { font-size: 34px; line-height: 38px; }
  .composer-wrap { margin-bottom: 22px; }
  .chips.tiles, .talk { margin-bottom: 24px; }
}

/* Menus sit flat: no shadow, a hairline edge to separate them from what is behind */
.plus-menu, .menu { box-shadow: none; border: 1px solid #d8dada; background: #fff; }

/* During a chat: a lighter, shorter version of the home gradient, behind the message box only */
.body.chatting .stage { background: linear-gradient(to bottom, var(--chat-bg) 0%, var(--chat-bg) 45%, #fbfad6 78%, #f9fca6 100%); }

/* ---------- Home to chat ----------
   Home content fades, the message box glides from the centre to the bottom (driven from the script),
   the yellow glow fades out and the conversation fades in. */
.body .greeting, .body .chips, .body .talk, .body .disclaimer { transition: opacity 0.18s ease, transform 0.18s ease; }
.body:not(.chatting) .greeting, .body:not(.chatting) .chips, .body:not(.chatting) .talk, .body:not(.chatting) .disclaimer { animation: fadeIn 0.45s ease both; }
.body.chatting .messages { animation: fadeIn 0.5s ease 0.15s both; }
.body.chatting .ai-note { animation: fadeIn 0.5s ease 0.3s both; }
.body.leaving-home .greeting, .body.leaving-home .chips, .body.leaving-home .talk, .body.leaving-home .disclaimer { animation: homeOut 0.18s ease both; }
@keyframes homeOut { to { opacity: 0; transform: translateY(-6px); } }
.composer-wrap { will-change: transform; }

/* ---------- Widgets are generated ----------
   An empty frame appears and grows as each element arrives. Text writes out with the same glow as the
   message (the .ch letters); pictures, buttons and fields settle in. */
.jcard.gen, .bill.gen { overflow: hidden; opacity: 0; transition: height 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease; }
.jcard.gen.gen-on, .bill.gen.gen-on { opacity: 1; }
.gen > .gen-wait { visibility: hidden; }
.gen > .gen-in { animation: genIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes genIn { from { transform: translateY(8px); } to { transform: none; } }
/* things that are not text fade and settle as their part arrives */
.gen > .gen-in :is(.phone, img, button, input, select, .dropzone, .bbox, .tile-ic, svg), .gen > .gen-in:is(button, hr, .bbox, .dropzone) { animation: genSettle 0.5s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes genSettle { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }
/* Letter wrappers must stay invisible to the card's own "span" rules: always inline, always the parent's type */
.gen .run, .gen .ch { display: inline !important; margin: 0 !important; padding: 0 !important; border: 0 !important; max-width: none !important; width: auto !important; height: auto !important; float: none !important;
  font: inherit !important; letter-spacing: inherit !important; color: inherit !important; text-decoration: inherit !important; }
.gen .ch { white-space: pre-wrap !important; }

/* ---------- Option tiles: hierarchy and selected state ----------
   Title bold, detail quieter, price the strongest number. Unselected tiles have a light edge so the chosen
   one (black edge, soft fill) is found at a glance. */
.lbl { margin: 26px 0 10px; font-size: 14px; line-height: 18px; font-weight: 700; }
.tile { position: relative; padding: 12px 14px; border: 1px solid #c9c7c2; border-radius: 10px; font-size: 15px; line-height: 20px; transition: border-color 0.15s var(--ease), background 0.15s var(--ease); }
.tile:hover:not(:disabled) { border-color: #000; }
.tile[aria-pressed="true"] { border-color: #000; box-shadow: inset 0 0 0 1px #000; background: #f6f5f3; }
.tile b { font-weight: 700; }
.tile span { margin-top: 2px; font-size: 14px; line-height: 20px; color: #3d3d3d; }
/* Payment option: name, term, then the monthly price as the anchor */
.tile.pay { min-height: 132px; padding: 14px; font-size: 15px; line-height: 19px; }
.tile.pay small { margin-top: 3px; font-size: 12px; line-height: 16px; color: var(--ink-2); }
.tile.pay span { margin-top: auto; padding-top: 14px; text-align: left; font-size: 13px; line-height: 18px; color: #000; }
.tile.pay span strong { font-size: 20px; line-height: 24px; font-weight: 700; letter-spacing: -0.3px; font-family: var(--font-display); }
.tile.pay span i { display: block; font-style: normal; font-size: 12px; line-height: 16px; color: var(--ink-2); }
/* Pay in full: one row, price on the right */
.tile.full { padding: 14px; }
.tile.full span { font-size: 15px; color: #000; }
.tile.full b { font-size: 16px; }
.fineprint { margin-top: 14px; font-size: 12px; line-height: 17px; }
.chosen { color: #3d3d3d; }

/* What the bill already told us, shown as a quiet summary instead of a form */
.frombill { margin: 4px 0 20px; padding: 14px 16px; border-radius: 10px; background: #f6f5f3; font-size: 14px; line-height: 20px; }
.frombill .infotop { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.frombill .cosub { margin: 0; }
.frombill p { margin: 0 0 4px; }
.frombill .conote { margin: 8px 0 0; }

.composer .round[aria-pressed="true"] { background: #ee001e; border-color: #ee001e; }
.composer .round[aria-pressed="true"] svg { fill: #fff; }

/* Suggestions are secondary actions, so their text is regular weight */
.suggest button, .suggest.inset button { font-weight: 400; }


/* ---------- Completed cards ----------
   A card the customer has already been through keeps its choices and stays usable, but reads as done:
   a soft stone surface and a quiet edge, with no extra label. The card still waiting for
   input is the white one with the darker edge, so the two are easy to tell apart when scrolling. */
.jcard[data-past] { background: #f6f4ee; border-color: #e6e2d8; }
.jcard[data-past] .pill-solid { background: transparent; color: #000; border: 1px solid #000; }
.jcard[data-past] .tile, .jcard[data-past] .bbox, .jcard[data-past] .dropzone { background-color: transparent; }
.jcard[data-past] .tile[aria-pressed="true"] { background: #ece8dd; }
.jcard[data-card]:not([data-past]) { border-color: #bdb9b0; }

/* Option boxes in the Verizon design system style: a thin grey edge, and the chosen one marked only by a
   2px black edge. No ticks, no fill. */
.tile { border: 1px solid #6f7171; border-radius: 4px; background: #fff; }
.tile:hover:not(:disabled) { border-color: #000; }
.tile[aria-pressed="true"] { border-color: #000; box-shadow: inset 0 0 0 1px #000; background: #fff; }
.jcard[data-past] .tile[aria-pressed="true"] { background: transparent; }
