/* New login/onboarding UI (v2) — tokens/spacing/animations from design prototype (web/light) */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #1DA1F2;          /* buttons */
  --primary-400: #1C8CD1;      /* icons / links / accents */
  --background: #F4F5F7;
  --card: #FFFFFF;
  --surface-2: #EDEEF1;
  --foreground: rgba(0, 0, 0, 0.87);
  --foreground-strong: #0C0D0E;
  --muted: rgba(0, 0, 0, 0.55);
  --border: rgba(0, 0, 0, 0.10);
  --border-strong: rgba(0, 0, 0, 0.16);
  --fill-secondary: rgba(0, 0, 0, 0.09);
  --success: #52C41A;
  --error: #FF4D4F;
  --brand-orange: #fa8c16;
  --brand-purple: #9254de;
  --primary-alpha-8: rgba(28, 140, 209, 0.08);
  --primary-alpha-12: rgba(28, 140, 209, 0.12);
  --primary-alpha-16: rgba(28, 140, 209, 0.16);
  --success-alpha-8: rgba(82, 196, 26, 0.08);
  --success-alpha-20: rgba(82, 196, 26, 0.20);
  --error-alpha-8: rgba(255, 77, 79, 0.08);
  --error-alpha-20: rgba(255, 77, 79, 0.20);
  --purple-alpha-10: rgba(146, 84, 222, 0.10);
  --elevation-sm: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.10);
  --elevation-md: 0 4px 12px rgba(16, 24, 40, 0.10);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

body.v2-body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--background);
  color: var(--foreground);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#v2-root {
  width: 504px;
  max-width: calc(100vw - 24px);
  height: min(724px, 100vh - 48px);
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.20);
  padding: 8px 64px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.v2-content {
  flex: 1;
  padding: 16px 24px 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* ------------------------------ header bar ------------------------------ */
.v2-bar { display: flex; align-items: center; padding: 8px 24px; flex-shrink: 0; }
.v2-bar-side { flex: 1; display: flex; }
.v2-bar-right { justify-content: flex-end; }
.v2-back {
  display: inline-flex; align-items: center; gap: 4px;
  height: 36px; padding: 0 4px; margin-left: -4px;
  background: none; border: none; border-radius: 8px;
  color: var(--muted); font-size: 14px; font-weight: 600; cursor: pointer;
  transition: transform 0.15s var(--ease-out);
}
.v2-back:active { transform: scale(0.94); }
.v2-back:hover { background: var(--fill-secondary); }
.v2-back svg { transition: transform 0.15s var(--ease-out); }
.v2-back:hover svg { transform: translateX(-2px); }
.v2-logo-group { display: flex; align-items: center; gap: 8px; }
.v2-logo-group span { font-size: 16px; font-weight: 700; letter-spacing: -0.2px; color: var(--foreground-strong); }
.v2-help {
  width: 32px; height: 32px; border-radius: 9999px;
  border: 1px solid var(--border); background: transparent; color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: transform 0.15s var(--ease-out);
}
.v2-help:hover { transform: scale(1.06); }
.v2-help:active { transform: scale(0.92); }

/* ------------------------------ typography ------------------------------ */
.v2-title { font-size: 24px; font-weight: 700; letter-spacing: -0.3px; line-height: 1.2; color: var(--foreground-strong); }
.v2-subtitle { font-size: 14px; color: var(--muted); line-height: 1.5; margin-top: 8px; }
.v2-subtitle.v2-subtitle-tight { line-height: 1.45; }
.v2-subtitle b { color: var(--foreground-strong); font-weight: 600; }
.v2-label {
  display: block; font-size: 12px; font-weight: 600; color: var(--muted);
  letter-spacing: 0.2px; margin: 0 0 4px 2px;
}
.v2-error { color: var(--error); font-size: 12px; font-weight: 600; min-height: 18px; margin-top: 6px; }
.v2-error:empty { min-height: 0; margin-top: 0; }
.v2-error-center { text-align: center; }
.v2-question { font-size: 16px; font-weight: 700; letter-spacing: -0.2px; color: var(--foreground-strong); }

/* ------------------------------ phone input ----------------------------- */
.v2-input-row {
  display: flex; align-items: center; gap: 8px;
  padding: 16px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--card);
  box-shadow: var(--elevation-sm); cursor: text;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.v2-input-row:focus-within {
  background: var(--primary-alpha-8);
  border-color: var(--primary-400);
  box-shadow: 0 0 0 3px var(--primary-alpha-16), var(--elevation-sm);
}
.v2-input-row input {
  flex: 1; border: none; outline: none; background: transparent;
  font-size: 16px; font-weight: 500; letter-spacing: 2px; color: var(--foreground-strong);
  caret-color: var(--primary-400);
}
.v2-input-row input::placeholder { font-weight: 400; letter-spacing: 0; color: var(--muted); }
.v2-isd { display: inline-flex; align-items: center; gap: 4px; background: none; border: none; cursor: pointer; color: var(--muted); }
.v2-isd-code { font-size: 14px; font-weight: 600; color: var(--foreground); }
.v2-flag { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; }
.v2-isd-divider { width: 1px; height: 20px; background: var(--border); }
.v2-isd-list {
  max-height: 220px; overflow-y: auto; background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; margin-top: 6px; box-shadow: var(--elevation-md);
}
.v2-isd-item {
  display: flex; align-items: center; gap: 8px; width: 100%;
  padding: 10px 14px; background: none; border: none; font-size: 14px; cursor: pointer; text-align: left;
  color: var(--foreground);
}
.v2-isd-item:hover { background: var(--primary-alpha-8); }

/* ------------------------------- buttons -------------------------------- */
.v2-primary {
  width: 100%; padding: 12px 20px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14px; font-weight: 600; line-height: 20px; letter-spacing: 0.1px;
  color: #FFFFFF; background: var(--primary);
  border: 1px solid transparent; border-radius: 12px; cursor: pointer;
  transition: transform 0.15s var(--ease-out), filter 0.15s;
}
.v2-primary:hover:not(:disabled) { transform: scale(1.01); filter: brightness(1.06); }
.v2-primary:active:not(:disabled) { transform: scale(0.98); }
.v2-primary:disabled { background: var(--fill-secondary); color: var(--muted); cursor: not-allowed; }
.v2-secondary {
  background: var(--fill-secondary); color: var(--foreground-strong);
  border: 1px solid var(--border);
}
.v2-a-cta { margin-top: 16px; transition: opacity 0.25s; }

/* footer CTA (pinned) */
.v2-footer { flex-shrink: 0; padding: 12px 24px 16px; background: var(--background); z-index: 10; }
.v2-footer.v2-footer-step { padding: 16px 24px 20px; }

/* --------------------------- divider + socials --------------------------- */
.v2-divider { display: flex; align-items: center; gap: 12px; }
.v2-divider span { font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.v2-divider::before, .v2-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.v2-social-row { display: flex; gap: 12px; justify-content: center; }
.v2-social {
  width: 56px; height: 56px; border-radius: 12px;
  background: var(--card); border: 1px solid var(--border); color: var(--foreground);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: transform 0.15s var(--ease-out);
}
.v2-social:hover { transform: scale(1.04); }
.v2-social:active { transform: scale(0.94); }

/* ---------------------------------- tnc ---------------------------------- */
.v2-tnc { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: 12px; color: var(--muted); line-height: 1.5; }
.v2-tnc a { color: var(--primary-400); font-weight: 600; text-decoration: underline; }
.v2-cb-input { position: absolute; opacity: 0; width: 0; height: 0; }
.v2-cb-box {
  width: 22px; height: 22px; flex-shrink: 0; border-radius: 6px;
  border: 2px solid var(--border-strong); background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  color: transparent; transition: background 0.15s, border-color 0.15s;
}
.v2-cb-input:checked + .v2-cb-box { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------------------------------- otp ---------------------------------- */
.v2-edit { background: none; border: none; padding: 12px; margin: -12px; cursor: pointer; vertical-align: middle; }
.v2-edit-chip {
  display: inline-flex; align-items: center; background: var(--surface-2);
  border-radius: 4px; padding: 4px 8px; color: var(--primary-400);
  transition: transform 0.15s var(--ease-out);
}
.v2-edit:active .v2-edit-chip { transform: scale(0.92); }
.v2-otp-row { display: flex; justify-content: space-between; gap: 8px; }
.v2-otp-row.shake { animation: v2-shake 0.4s var(--ease-out); }
@keyframes v2-shake {
  0% { transform: translateX(0); } 15% { transform: translateX(-8px); }
  35% { transform: translateX(8px); } 55% { transform: translateX(-6px); }
  75% { transform: translateX(6px); } 100% { transform: translateX(0); }
}
.v2-otp-box {
  flex: 1; min-width: 0; height: 56px; text-align: center;
  font-size: 24px; font-weight: 700; color: var(--foreground-strong);
  border: 1px solid var(--border); border-radius: 12px; background: var(--card);
  outline: none; caret-color: var(--primary-400);
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s, transform 0.15s;
}
.v2-otp-box:focus { border-color: var(--primary-400); box-shadow: 0 0 0 3px var(--primary-alpha-16); }
.v2-otp-box.filled { border-color: var(--primary-400); background: var(--primary-alpha-8); transform: scale(1.04); }
.v2-otp-box.error { border-color: var(--error); box-shadow: 0 0 0 3px var(--error-alpha-20); }
.v2-otp-box.verified {
  border-color: var(--success); background: var(--success-alpha-20);
  color: var(--foreground-strong);
  display: flex; align-items: center; justify-content: center;
  animation: v2-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}
.v2-otp-dots { display: flex; gap: 4px; justify-content: center; margin-top: 4px; }
.v2-otp-dot {
  width: 8px; height: 4px; border-radius: 4px; background: var(--border);
  transition: width 0.2s, background 0.2s;
}
.v2-otp-dot.on { width: 16px; background: var(--primary-400); }
.v2-resend { text-align: center; font-size: 12px; color: var(--muted); }
.v2-resend b { color: var(--foreground-strong); font-weight: 600; }
.v2-resend-btn {
  background: none; border: none; color: var(--primary-400); font-weight: 600; font-size: 14px; cursor: pointer;
  transition: transform 0.15s var(--ease-out);
}
.v2-resend-btn:hover { transform: scale(1.04); }
.v2-resend-btn:active { transform: scale(0.96); }

/* ------------------------------ account cards ---------------------------- */
.v2-account-list { display: flex; flex-direction: column; gap: 10px; padding-bottom: 16px; }
.v2-account-card {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 12px; border-radius: 16px; background: var(--card); border: none;
  box-shadow: inset 0 0 0 1px var(--border), var(--elevation-sm);
  cursor: pointer; transition: transform 0.2s var(--ease-out);
}
.v2-account-card:hover:not(:disabled) { transform: translateY(-2px); }
.v2-account-card:active:not(:disabled) { transform: scale(0.99); }
.v2-account-card:disabled { opacity: 0.5; cursor: not-allowed; }
.v2-avatar { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.v2-avatar-initials {
  display: grid; place-items: center; color: #FFFFFF;
  font-size: 16px; font-weight: 700; letter-spacing: 0.2px;
}
.v2-account-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.v2-account-name {
  font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--foreground-strong);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.v2-account-sub {
  font-size: 12px; color: var(--muted); margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.v2-inst-more { color: var(--primary-400); font-weight: 500; }
.v2-email-pending { color: var(--brand-orange); font-weight: 500; }
.v2-tag { padding: 4px 10px; border-radius: 9999px; font-size: 10px; font-weight: 600; letter-spacing: 0.1px; white-space: nowrap; }
.tag-student { background: var(--success-alpha-8); color: var(--success); }
.tag-teacher { background: var(--primary-alpha-8); color: var(--primary-400); }
.tag-owner { background: var(--purple-alpha-10); color: var(--brand-purple); }
.tag-admin { background: var(--fill-secondary); color: var(--muted); }
.v2-chev { color: var(--muted); display: inline-flex; }
.v2-add-account { background: transparent; box-shadow: none; border: 1px dashed var(--border-strong); margin-top: 2px; }
.v2-add-orb { display: grid; place-items: center; background: var(--primary-alpha-8); color: var(--primary-400); }
.v2-add-text { color: var(--primary-400); }

.v2-step-count-hdr { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0.2px; }

/* ------------------------------- step header ----------------------------- */
.v2-step-head { padding: 4px 24px 8px; flex-shrink: 0; }
.v2-step-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.v2-step-hint { font-size: 14px; font-weight: 600; color: var(--foreground-strong); letter-spacing: -0.1px; }
.v2-step-count { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0.2px; text-transform: uppercase; }
.v2-step-bar { display: flex; gap: 4px; }
.v2-step-seg { flex: 1; height: 4px; border-radius: 9999px; background: var(--fill-secondary); overflow: hidden; }
.v2-step-fill {
  display: block; width: 100%; height: 100%; border-radius: 9999px; background: var(--primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.v2-step-fill.on { animation: v2-fill 0.45s var(--ease-out) forwards; }
.v2-step-fill.done { transform: scaleX(1); }
@keyframes v2-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* --------------------------------- buddy --------------------------------- */
.v2-buddy { display: flex; align-items: flex-start; gap: 12px; width: 100%; max-width: 320px; }
.v2-buddy-img { width: 64px; height: 64px; object-fit: contain; }
.v2-animate .v2-buddy-img { animation: v2-buddy-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes v2-buddy-in { 0% { transform: translateY(0); } 30% { transform: translateY(-8px); } 60% { transform: translateY(0); } 80% { transform: translateY(-4px); } 100% { transform: translateY(0); } }
.v2-buddy-bubble {
  position: relative; flex: 1; margin-top: 6px; min-height: 66px;
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 12px 16px; font-size: 14px; line-height: 1.5; color: var(--foreground);
  box-shadow: var(--elevation-md);
  display: flex; align-items: center;
}
.v2-buddy-bubble::before {
  content: ''; position: absolute; top: 14px; left: -8px;
  border-top: 8px solid transparent; border-bottom: 8px solid transparent;
  border-right: 8px solid var(--border);
}
.v2-buddy-bubble::after {
  content: ''; position: absolute; top: 15px; left: -6px;
  border-top: 7px solid transparent; border-bottom: 7px solid transparent;
  border-right: 7px solid var(--card);
}

/* ------------------------------- role cards ------------------------------ */
.v2-role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.v2-role-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 16px; min-height: 96px; border-radius: 16px;
  background: var(--card); border: none;
  box-shadow: inset 0 0 0 1px var(--border), var(--elevation-sm);
  cursor: pointer; text-align: left;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s var(--ease-out);
}
.v2-role-card:hover:not(.selected) { transform: translateY(-3px); }
.v2-role-card:active { transform: scale(0.96); }
.v2-role-card.selected { background: var(--primary-400); }
.v2-role-orb {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 10px;
  display: grid; place-items: center;
  background: var(--primary-alpha-8); color: var(--primary-400);
  transition: background 0.2s;
}
.v2-role-orb.wiggle { animation: v2-wiggle 0.6s var(--ease-out); }
@keyframes v2-wiggle {
  0% { transform: rotate(0) scale(1); } 25% { transform: rotate(-8deg) scale(1.08); }
  50% { transform: rotate(8deg) scale(1.08); } 75% { transform: rotate(-8deg) scale(1); }
  100% { transform: rotate(0) scale(1); }
}
.v2-role-card.selected .v2-role-orb { background: rgba(0, 0, 0, 0.14); color: #FFFFFF; }
.v2-role-name { font-size: 16px; font-weight: 600; line-height: 1.2; color: var(--foreground-strong); }
.v2-role-sub { font-size: 10px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.v2-role-card.selected .v2-role-name { color: #FFFFFF; }
.v2-role-card.selected .v2-role-sub { color: rgba(255, 255, 255, 0.8); }
.v2-role-check {
  position: absolute; top: 8px; right: 8px; width: 24px; height: 24px;
  border-radius: 9999px; background: #FFFFFF; color: var(--primary);
  display: grid; place-items: center; box-shadow: var(--elevation-sm);
  animation: v2-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes v2-pop { from { transform: scale(0); } to { transform: scale(1); } }
.v2-role-note {
  font-size: 12px; font-weight: 500; color: var(--brand-orange); margin-top: 8px;
  animation: v2-hint-in 0.2s var(--ease-out);
}
@keyframes v2-hint-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

/* ------------------------------ inputs/selects --------------------------- */
.v2-text-input {
  width: 100%; height: 52px; padding: 14px 16px;
  font-size: 16px; color: var(--foreground-strong);
  background: var(--card); border: 1px solid var(--border); border-radius: 12px; outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.v2-text-input::placeholder { color: var(--muted); }
.v2-text-input:focus { border-color: var(--primary-400); box-shadow: 0 0 0 3px var(--primary-alpha-16); }
.v2-dob-block { animation: v2-block-in 0.25s var(--ease-out); margin-top: 12px; }
@keyframes v2-block-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.v2-dob-row { display: flex; gap: 8px; }
.v2-select {
  height: 52px; padding: 0 12px; font-size: 16px; color: var(--foreground-strong);
  background: var(--card); border: 1px solid var(--border); border-radius: 12px; outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.v2-select:focus { border-color: var(--primary-400); box-shadow: 0 0 0 3px var(--primary-alpha-16); }

/* button styled like .v2-select: opens a picker modal (grade on FINAL_SETUP) */
.v2-select-field {
  width: 100%; height: 52px; padding: 0 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-size: 16px; color: var(--foreground-strong);
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  cursor: pointer; outline: none; text-align: left;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.v2-select-field:hover { border-color: var(--primary-400); }
.v2-select-field:focus-visible { border-color: var(--primary-400); box-shadow: 0 0 0 3px var(--primary-alpha-16); }
.v2-select-value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.v2-select-value.placeholder { color: var(--muted); font-weight: 400; }
.v2-select-chev { flex-shrink: 0; color: var(--muted); display: grid; place-items: center; }

/* grade picker modal list (rows reuse .v2-city-row) */
.v2-grade-list { margin-top: 4px; }
.v2-grade-list .v2-city-row:last-child { border-bottom: none; }
.v2-why-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 4px;
  background: none; border: none; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--primary-400);
}
.v2-why-link svg { flex-shrink: 0; }

/* --------------------------------- modals -------------------------------- */
.v2-overlay {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.60); z-index: 1000;
  display: flex; align-items: center; justify-content: center; padding: 48px 24px;
  animation: v2-fade-in 0.22s ease-out;
}
@keyframes v2-fade-in { from { opacity: 0; } to { opacity: 1; } }
.v2-modal {
  width: 100%; max-width: 440px; max-height: 82vh;
  border-radius: 24px; background: var(--surface-2);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.60);
  overflow: hidden; display: flex; flex-direction: column;
  animation: v2-modal-in 0.2s var(--ease-out);
}
@keyframes v2-modal-in { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: scale(1); } }
.v2-modal-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 8px 8px 20px; }
.v2-modal-title { font-size: 16px; font-weight: 700; letter-spacing: -0.2px; color: var(--foreground-strong); }
.v2-modal-close {
  width: 44px; height: 44px; background: none; border: none; color: var(--muted);
  display: grid; place-items: center; cursor: pointer;
}
.v2-modal-body { padding: 0 20px 20px; overflow-y: auto; }
.v2-modal-text { font-size: 14px; color: var(--muted); line-height: 1.55; margin: 2px 0 18px; }
.v2-modal-text b { color: var(--foreground); font-weight: 600; }

/* orbs */
.v2-orb-40 { width: 40px; height: 40px; border-radius: 12px; background: var(--primary-alpha-8); color: var(--primary-400); display: grid; place-items: center; flex-shrink: 0; }
.v2-orb-36 { width: 36px; height: 36px; border-radius: 8px; background: var(--primary-alpha-8); color: var(--primary-400); display: grid; place-items: center; flex-shrink: 0; }

/* help & support */
.v2-support-card { border-radius: 12px; border: 1px solid var(--border); background: var(--card); overflow: hidden; }
.v2-support-row {
  display: flex; align-items: center; gap: 12px; padding: 16px;
  font-size: 16px; font-weight: 600; color: var(--foreground-strong); text-decoration: none;
  animation: v2-row-in 0.25s var(--ease-out) backwards;
  transition: transform 0.15s var(--ease-out);
}
.v2-support-row + .v2-support-row { border-top: 1px solid var(--border); animation-delay: 0.06s; }
.v2-support-row:active { transform: scale(0.98); }
@keyframes v2-row-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* device limit */
.v2-device-card {
  display: flex; align-items: center; gap: 12px; padding: 14px;
  border-radius: 16px; background: var(--card);
  box-shadow: inset 0 0 0 1px var(--border), var(--elevation-sm);
  animation: v2-row-in 0.25s var(--ease-out);
}
.v2-device-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.v2-device-name { font-size: 16px; font-weight: 600; color: var(--foreground-strong); }
.v2-device-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.v2-logout-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 8px;
  border: 1px solid var(--error-alpha-20); background: var(--error-alpha-8);
  color: var(--error); font-size: 10px; font-weight: 600; cursor: pointer;
}

/* under-age consent */
.v2-consent-emblem {
  width: 56px; height: 56px; border-radius: 16px; margin: 4px auto 14px;
  background: var(--primary-alpha-12); color: var(--primary-400);
  display: grid; place-items: center;
}
.v2-consent-text { text-align: center; margin-bottom: 16px; }
.v2-consent-text b { color: var(--foreground); font-weight: 600; }
.v2-consent-check {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-radius: 12px;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--border), var(--elevation-sm);
  font-size: 14px; font-weight: 500; color: var(--foreground-strong); cursor: pointer;
}


/* dob why */
.v2-why-list { display: flex; flex-direction: column; gap: 16px; }
.v2-why-row { display: flex; align-items: flex-start; gap: 12px; }
.v2-why-mid { display: flex; flex-direction: column; }
.v2-why-title { font-size: 16px; font-weight: 600; color: var(--foreground-strong); }
.v2-why-sub { font-size: 12px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.v2-privacy-note {
  display: flex; gap: 12px; margin-top: 20px; padding: 16px;
  border-radius: 12px; background: var(--success-alpha-8); border: 1px solid var(--success-alpha-20);
  font-size: 12px; color: var(--foreground); line-height: 1.5;
}
.v2-privacy-note b { color: var(--foreground-strong); font-weight: 600; }
.v2-privacy-icon { width: 24px; height: 24px; border-radius: 8px; background: var(--success-alpha-20); color: var(--success); display: grid; place-items: center; flex-shrink: 0; }

/* --------------------------- city picker (step 3) ------------------------ */
.v2-search-sticky {
  position: sticky; top: 0; z-index: 5;
  background: var(--background); padding: 12px 24px;
}
.v2-search-wrap {
  position: relative; display: flex; align-items: center; gap: 8px;
  height: 52px; padding: 0 14px;
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--elevation-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.v2-search-wrap:focus-within { border-color: var(--primary-400); box-shadow: 0 0 0 3px var(--primary-alpha-16), var(--elevation-sm); }
.v2-search-icon { color: var(--muted); display: inline-flex; flex-shrink: 0; }
.v2-search-wrap input {
  flex: 1; border: none; outline: none; background: transparent;
  font-size: 16px; color: var(--foreground-strong); min-width: 0;
}
.v2-search-wrap input::placeholder { color: rgba(0, 0, 0, 0.38); }
.v2-clear-btn {
  width: 24px; height: 24px; border-radius: 9999px; flex-shrink: 0;
  background: var(--border); border: none; color: var(--muted);
  display: grid; place-items: center; cursor: pointer;
  transition: transform 0.15s var(--ease-out);
}
.v2-clear-btn:active { transform: scale(0.9); }
.v2-list-inner { padding: 0 24px 8px; }
.v2-detect-row {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 8px; background: transparent; border: none; border-radius: 12px;
  cursor: pointer; text-align: left;
  transition: background 0.15s, transform 0.15s var(--ease-out);
}
.v2-detect-row:hover:not(:disabled) { background: rgba(0, 0, 0, 0.06); }
.v2-detect-row.v2-detected {
  border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px;
}
.v2-detect-row.v2-detected.selected { background: var(--primary-alpha-8); border-color: var(--primary-400); }
.v2-detect-row.v2-detected .v2-detect-label { color: var(--foreground-strong); }
.v2-detect-row.v2-detected .v2-detect-sub { font-size: 12px; }
.v2-detect-row.v2-detected .v2-row-check { margin-left: auto; }

/* "{flag} India · Change country" line above the city search */
.v2-country-line { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.v2-country-name { font-size: 14px; font-weight: 700; color: var(--primary-400); }
.v2-country-dot { color: var(--muted); }
.v2-country-change {
  background: none; border: none; padding: 0; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--primary-400);
}
.v2-country-change:hover { text-decoration: underline; }
.v2-country-search { margin: 4px 0 12px; }
.v2-country-search input { flex: 1; min-width: 0; height: 100%; border: none; outline: none; background: transparent; font-size: 15px; color: var(--foreground-strong); }
.v2-country-search input::placeholder { color: var(--muted); }
.v2-city-current { font-weight: 700; }
.v2-detect-row:active:not(:disabled) { transform: scale(0.99); }
.v2-detect-mid { display: flex; flex-direction: column; }
.v2-detect-label { font-size: 14px; font-weight: 600; color: var(--primary-400); line-height: 1.3; }
.v2-detect-sub { margin-top: 2px; font-size: 10px; color: var(--muted); line-height: 1.3; }
.v2-spin { display: inline-flex; animation: v2-rotate 0.9s linear infinite; }
@keyframes v2-rotate { to { transform: rotate(360deg); } }
.v2-denied-note {
  display: flex; align-items: flex-start; gap: 8px; margin-top: 4px;
  padding: 8px 12px; border-radius: 12px;
  background: rgba(250, 173, 20, 0.08); border: 1px solid rgba(250, 173, 20, 0.20);
  animation: v2-hint-in 0.25s var(--ease-out);
}
.v2-denied-note svg { color: #FAAD14; flex-shrink: 0; margin-top: 1px; }
.v2-denied-note span { font-size: 12px; color: var(--foreground); font-weight: 500; line-height: 1.45; }
.v2-list-divider { height: 1px; background: var(--border); margin: 16px 0 12px; }
.v2-section-label {
  font-size: 12px; font-weight: 600; color: var(--muted);
  letter-spacing: 0.3px; text-transform: uppercase;
}
.v2-city-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.v2-city-tile {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 12px 8px; background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; cursor: pointer; font-family: inherit; outline: none;
  transition: transform 0.2s var(--ease-out), border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.v2-city-tile:hover:not(.selected) { transform: translateY(-3px); border-color: var(--primary-400); }
.v2-city-tile:active { transform: scale(0.96); }
.v2-city-tile.selected {
  background: var(--primary); border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(28, 140, 209, 0.22);
}
.v2-tile-check {
  position: absolute; top: 6px; right: 6px; width: 20px; height: 20px;
  border-radius: 9999px; background: #FFFFFF; color: var(--primary);
  display: grid; place-items: center; box-shadow: var(--elevation-sm);
  animation: v2-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.v2-tile-orb {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--primary-alpha-12); color: var(--primary-400);
  display: grid; place-items: center;
}
.v2-tile-orb.wiggle { animation: v2-wiggle 0.4s var(--ease-out); }
.v2-city-tile.selected .v2-tile-orb { background: rgba(0, 0, 0, 0.14); color: #FFFFFF; }
.v2-tile-name { font-size: 12px; font-weight: 600; color: var(--foreground-strong); text-align: center; line-height: 1.25; }
.v2-city-tile.selected .v2-tile-name { color: #FFFFFF; }
.v2-city-row {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 12px 8px; background: transparent; border: none;
  border-bottom: 1px solid var(--border); border-radius: 4px;
  cursor: pointer; text-align: left;
  transition: background 0.15s, transform 0.1s var(--ease-out);
}
.v2-city-row:hover { background: rgba(0, 0, 0, 0.06); }
.v2-city-row:active { transform: scale(0.995); }
.v2-city-row.selected { background: var(--primary-alpha-8); }
.v2-city-row-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.v2-city-row-name { font-size: 14px; font-weight: 600; color: var(--foreground-strong); line-height: 1.3; }
.v2-city-row-state { margin-top: 2px; font-size: 12px; color: var(--muted); line-height: 1.3; }
.v2-hl { color: #7EC4EE; font-weight: 700; }
.v2-row-check {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 9999px;
  background: var(--primary); color: #FFFFFF;
  display: grid; place-items: center; box-shadow: 0 4px 20px rgba(28, 140, 209, 0.22);
  animation: v2-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.v2-empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 8px; }
.v2-empty-icon {
  width: 52px; height: 52px; border-radius: 16px; margin-bottom: 12px;
  background: var(--card); border: 1px solid var(--border); color: var(--muted);
  display: grid; place-items: center;
}
.v2-empty-title { font-size: 14px; font-weight: 600; color: var(--foreground-strong); }
.v2-empty-sub { margin-top: 6px; font-size: 12px; color: var(--muted); line-height: 1.5; }
.v2-browse-more { text-align: center; font-size: 12px; color: var(--muted); padding: 14px 8px; }

/* institute selection (step 4) */
.v2-section-label-2 { font-size: 13px; font-weight: 600; color: var(--muted); margin: 14px 0 6px; }
.v2-ins-row {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 12px 8px; background: transparent; border: none;
  border-bottom: 1px solid var(--border); border-radius: 4px;
  cursor: pointer; text-align: left;
  transition: background 0.15s, transform 0.1s var(--ease-out);
}
.v2-ins-row:hover:not(:disabled) { background: rgba(0, 0, 0, 0.06); }
.v2-ins-row:active:not(:disabled) { transform: scale(0.995); }
.v2-ins-row.selected { background: var(--primary-alpha-8); }
.v2-ins-row:disabled { cursor: wait; }
.v2-ins-logo {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center;
  font-size: 18px; font-weight: 700;
}
.v2-ins-logo-add { background: var(--primary-alpha-8); color: var(--primary-400); }
.v2-ins-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.v2-ins-name { font-size: 16px; font-weight: 600; color: var(--foreground-strong); line-height: 1.3; }
.v2-ins-sub {
  margin-top: 2px; font-size: 12px; color: var(--muted); line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.v2-ins-add { border: 1px dashed var(--border-strong); border-radius: 16px; padding: 12px; }

/* ---------------------------- entrance animations ------------------------ */
.v2-animate .v2-screen-enter { animation: v2-screen-in 0.3s var(--ease-out); }
@keyframes v2-screen-in { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: translateX(0); } }
.v2-animate .v2-a-title { animation: v2-up-in 0.35s var(--ease-out) 0.08s backwards; }
.v2-animate .v2-a-block { animation: v2-up-in 0.35s var(--ease-out) 0.16s backwards; }
.v2-animate .v2-a-cta { animation: v2-up-in 0.35s var(--ease-out) 0.22s backwards; }
.v2-animate .v2-a-divider { animation: v2-fade-in 0.3s ease-out 0.3s backwards; }
.v2-animate .v2-a-social { animation: v2-up-in 0.25s var(--ease-out) backwards; }
.v2-animate .v2-a-tnc { animation: v2-fade-in 0.3s ease-out 0.42s backwards; }
.v2-animate .v2-a-row { animation: v2-row-in 0.28s var(--ease-out) backwards; }
.v2-animate .v2-a-card { animation: v2-card-in 0.28s var(--ease-out) backwards; }
@keyframes v2-up-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes v2-card-in { from { opacity: 0; transform: translateY(8px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

@media (max-width: 520px) {
  body.v2-body { align-items: stretch; }
  #v2-root { width: 100%; max-width: none; height: 100vh; height: 100dvh; margin: 0; padding: 8px 16px; border-radius: 0; border: none; box-shadow: none; }
}

/* selected institute chip (step 5) */
.v2-ins-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 9999px;
  background: var(--fill-secondary); color: var(--foreground-strong);
  font-size: 12px; font-weight: 600; max-width: 100%;
}
.v2-ins-chip svg { color: var(--muted); flex-shrink: 0; }
.v2-ins-chip span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* classrooms multi-select check (step 5 modal) */
.v2-class-check {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 6px;
  border: 1px solid var(--border-strong); background: var(--card); color: transparent;
  display: grid; place-items: center; transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.v2-class-check.on { background: var(--primary); border-color: var(--primary); color: #FFFFFF; }

/* grade grid modal (step 5) */
.v2-grade-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  max-height: 60vh; overflow-y: auto; padding: 2px;
}
.v2-grade-tile {
  min-height: 76px; padding: 12px 8px;
  display: flex; align-items: center; justify-content: center;
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  font-family: inherit; font-size: 16px; font-weight: 700; letter-spacing: -0.2px;
  color: var(--foreground-strong); cursor: pointer; outline: none;
  transition: background 0.18s, box-shadow 0.18s, border-color 0.18s, transform 0.18s var(--ease-out);
}
.v2-grade-tile:hover:not(.selected) { transform: translateY(-2px); border-color: var(--primary-400); }
.v2-grade-tile:active { transform: scale(0.96); }
.v2-grade-tile.selected {
  background: var(--primary-400); border-color: transparent; color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(28, 140, 209, 0.22);
}

/* optional label suffix */
.v2-label-suffix { font-weight: 500; color: var(--muted); }

/* classroom rows: initials chip + round multi-select check */
.v2-chip-initials {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
  background: var(--primary-alpha-12); color: var(--primary-400);
  display: grid; place-items: center; font-size: 13px; font-weight: 700; letter-spacing: 0.5px;
}
.v2-round-check {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 9999px;
  border: 1.5px solid var(--border-strong); background: var(--card); color: transparent;
  display: grid; place-items: center;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.v2-round-check.on { background: var(--primary); border-color: var(--primary); color: #FFFFFF; }

/* classrooms modal: search + 3-visible scrollable cards + sticky footer */
.v2-modal-search { margin-bottom: 12px; }
.v2-classes-list {
  display: flex; flex-direction: column; gap: 10px;
  max-height: 268px; /* ~3 cards */ overflow-y: auto; padding: 2px;
}
.v2-class-card {
  display: flex; align-items: center; gap: 12px; width: 100%; flex-shrink: 0;
  padding: 14px 16px; text-align: left; cursor: pointer;
  background: var(--card); border: 1.5px solid var(--border); border-radius: 16px;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s var(--ease-out);
}
.v2-class-card:hover { border-color: var(--primary-400); }
.v2-class-card:active { transform: scale(0.99); }
.v2-class-card.selected { border-color: var(--primary-400); box-shadow: 0 0 0 1px var(--primary-alpha-16); }
.v2-class-card .v2-city-row-state { display: inline-flex; align-items: center; gap: 4px; }
.v2-modal-sticky {
  position: sticky; bottom: 0; padding-top: 12px;
  background: var(--surface-2);
}

/* parent/child chooser (dob gate, under-18) */
.v2-choice-list { display: flex; flex-direction: column; gap: 10px; }
.v2-choice-row {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 16px; background: var(--card); border: 1.5px solid var(--border); border-radius: 12px;
  cursor: pointer; font-family: inherit; transition: border-color 0.15s, box-shadow 0.15s;
}
.v2-choice-row.selected { border-color: var(--primary-400); background: var(--primary-alpha-8); }
.v2-radio {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 9999px;
  border: 2px solid var(--border-strong); position: relative; transition: border-color 0.15s;
}
.v2-choice-row.selected .v2-radio { border-color: var(--primary); }
.v2-choice-row.selected .v2-radio::after {
  content: ''; position: absolute; inset: 3px; border-radius: 9999px; background: var(--primary);
}
.v2-choice-label { font-size: 16px; font-weight: 500; color: var(--foreground-strong); }

/* step count next to back chevron (setup steps 2-5) */
.v2-back-step { font-size: 12px; font-weight: 600; }

/* custom DOB dropdowns (styled popup, opens upward) */
.v2-dd { position: relative; }
.v2-dd-field {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; text-align: left;
}
.v2-dd-field.open { border-color: var(--primary-400); box-shadow: 0 0 0 3px var(--primary-alpha-16); }
.v2-select-value { font-size: 16px; color: var(--foreground-strong); }
.v2-select-value.placeholder { color: var(--muted); }
.v2-select-chev { color: var(--muted); display: inline-flex; flex-shrink: 0; }
.v2-dd-backdrop { position: fixed; inset: 0; z-index: 40; }
.v2-dd-pop {
  position: absolute; left: 0; right: 0; z-index: 50;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--elevation-md); max-height: 240px; overflow-y: scroll; padding: 6px;
  scrollbar-width: thin; scrollbar-color: rgba(0,0,0,0.28) transparent;
}
.v2-dd-pop::-webkit-scrollbar { width: 8px; }
.v2-dd-pop::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.24); border-radius: 8px; border: 2px solid #fff; }
.v2-dd-pop::-webkit-scrollbar-track { background: transparent; }
.v2-dd-up { bottom: calc(100% + 6px); }
.v2-dd-opt {
  display: block; width: 100%; text-align: left; padding: 10px 12px;
  border: none; background: none; border-radius: 8px;
  font-size: 15px; color: var(--foreground-strong); cursor: pointer;
}
.v2-dd-opt:hover { background: var(--surface-2); }
.v2-dd-opt.selected { background: var(--surface-2); color: var(--foreground-strong); font-weight: 500; }

/* Google sign-in: real (transparent) GSI button overlaid on our icon button
   (legacy overlay trick) — the enlarged GSI iframe covers the whole 56px tile. */
.v2-social-google { position: relative; overflow: hidden; }
.v2-gsi-overlay { position: absolute; inset: 0; opacity: 0.001; z-index: 2; }
.v2-gsi-overlay > div {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(1.8); transform-origin: center;
}
.v2-social-google > svg { position: relative; z-index: 1; }

/* bubble-only buddy (show_avatar:false, show_message:true) — no owl, no tail */
.v2-buddy-nomascot .v2-buddy-bubble::before,
.v2-buddy-nomascot .v2-buddy-bubble::after { display: none; }

/* account-switcher (iframe) manage-accounts view */
.v2-mng-current { padding: 4px 0 0; }
.v2-mng-cur-head { display: flex; align-items: flex-start; gap: 14px; }
.v2-mng-cur-pic { width: 56px; height: 56px; border-radius: 9999px; object-fit: cover; flex-shrink: 0; display: grid; place-items: center; color: #fff; font-size: 20px; font-weight: 700; }
.v2-mng-cur-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.v2-mng-cur-tag { align-self: flex-start; }
.v2-mng-cur-name { font-size: 18px; font-weight: 700; color: var(--foreground-strong); }
.v2-mng-handle { font-size: 14px; font-weight: 500; color: var(--muted); }
.v2-mng-phone { font-size: 14px; color: var(--muted); }
.v2-mng-logout {
  width: 100%; margin-top: 16px; padding: 13px; border-radius: 12px;
  background: var(--card); border: 1px solid var(--border);
  color: var(--error); font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background 0.15s;
}
.v2-mng-logout:hover { background: var(--error-alpha-8); }
.v2-mng-divider { height: 1px; background: var(--border); margin: 20px 0; }
.v2-mng-list { display: flex; flex-direction: column; gap: 12px; }
.v2-mng-row {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  background: none; border: none; padding: 4px 0; cursor: pointer;
}
.v2-mng-row:disabled { opacity: 0.5; cursor: not-allowed; }
.v2-mng-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.v2-mng-name { font-size: 16px; font-weight: 700; color: var(--foreground-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v2-mng-inst { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v2-mng-add {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; padding: 4px 0; cursor: pointer;
  color: var(--primary-400); font-size: 16px; font-weight: 700;
}

/* embedded in a parent modal (account-switcher iframe): drop our card chrome
   so there's a single modal (the host's), not a card-inside-a-card. */
body.v2-embedded { background: transparent; align-items: stretch; }
body.v2-embedded #v2-root {
  width: 100%; max-width: none; height: auto; min-height: 100%;
  margin: 0; padding: 8px 24px 24px;
  border: none; border-radius: 0; box-shadow: none; background: transparent;
}

/* ---------------- REVIEW step (final "Review your details") -------------- */
.v2-review-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
}
.v2-review-row {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 16px; background: transparent; border: none; cursor: pointer; text-align: left;
}
.v2-review-row:hover { background: var(--fill-secondary); }
.v2-review-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.v2-review-row-label { font-size: 13px; color: var(--muted); }
.v2-review-row-value {
  font-size: 16px; font-weight: 700; color: var(--foreground-strong);
  letter-spacing: -0.2px; word-break: break-word;
}
.v2-review-row-edit { flex: none; color: var(--muted); display: grid; place-items: center; }
.v2-review-sep { height: 1px; background: var(--border); margin: 0 16px; }
.v2-review-note {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 16px; padding: 16px;
  background: rgba(217, 119, 6, 0.08); border-radius: 12px; color: var(--foreground-strong);
}
.v2-review-note svg { flex: none; color: #B45309; margin-top: 2px; }
.v2-review-note strong { display: block; font-size: 14px; font-weight: 700; }
.v2-review-note p { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
