/* Ideom — landing styles. Adapted from Prisma cinematic spec. */

:root {
  --bg: #000000;
  --about-bg: #101010;
  --card-bg: #212121;
  --card-bg-2: #181818;
  --primary: #E8B89A;
  --primary-strong: #E1E0CC;
  --primary-soft: rgba(225, 224, 204, 0.8);
  --muted: #9a9a90;
  --muted-2: #8a8a7a; /* audit F-062: 4.14:1 -> 5.3:1 pe negru */
  --line: rgba(225, 224, 204, 0.12);
  --line-strong: rgba(225, 224, 204, 0.24);
  --danger: #d97757;
  --ok: #9ec48a;
}

* {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--primary-strong);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  /* clip în loc de hidden: același efect vizual, dar NU creează scroll
     container — overflow-x:hidden pe body/html rupe position:sticky la
     descendenți (panoul de navigare din Raio-X). Fallback: hidden pentru
     browserele fără clip. */
  overflow-x: hidden;
  overflow-x: clip;
}

.serif-it {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
}

/* Noise textures (SVG fractal) */
.noise-overlay {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
}
.bg-noise {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  height: 100vh;
  padding: 16px;
  background: var(--bg);
}
@media (min-width: 768px) { .hero { padding: 24px; } }

.hero-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
}
@media (min-width: 768px) { .hero-frame { border-radius: 32px; } }

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.7;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}

.hero-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0) 45%, rgba(0,0,0,0.65) 100%);
  pointer-events: none;
  z-index: 2;
}

/* ---------- App View ---------- */
.appview {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
.appview-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(10,10,8,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.appview-user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.appview-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}
.appview-avatar-initials {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(200,168,130,0.15);
  border: 1px solid rgba(200,168,130,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
}
.appview-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.appview-intro {
  max-width: 640px;
  margin: 32px auto 0;
  padding: 0 24px;
  text-align: center;
}
.appview-intro-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-strong);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.appview-intro-sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ---------- Billing Modal (Stripe invoices) ---------- */
.billing-modal {
  position: relative;
  width: 100%;
  max-width: 760px;
  background: #0a0a08;
  border: 1px solid var(--line);
  border-radius: 24px;
  animation: fadeInPane 0.28s ease;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}
.billing-modal-content {
  padding: 40px 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.billing-modal-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary-strong);
  margin: 0;
}
.billing-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 32px 0;
  color: var(--muted);
}
.billing-upcoming {
  background: linear-gradient(135deg, rgba(232,184,154,0.08) 0%, rgba(232,184,154,0.02) 100%);
  border: 1px solid rgba(232,184,154,0.25);
  border-radius: 14px;
  padding: 18px 22px;
}
.billing-upcoming-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 6px;
}
.billing-upcoming-amount {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.billing-upcoming-date {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}
.billing-section-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.billing-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.billing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: background 0.18s ease;
}
.billing-row:hover {
  background: rgba(255,255,255,0.045);
}
.billing-row-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.billing-row-date {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}
.billing-row-desc {
  font-size: 13px;
  color: var(--primary-strong);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.billing-row-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.billing-row-status {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.billing-row-amount {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary-strong);
  font-variant-numeric: tabular-nums;
}
.billing-row-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(232,184,154,0.1);
  color: var(--primary);
  text-decoration: none;
  transition: all 0.18s ease;
}
.billing-row-link:hover {
  background: var(--primary);
  color: #1a1a16;
}
.billing-actions {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
@media (max-width: 600px) {
  .billing-modal-content { padding: 28px 20px; }
  .billing-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .billing-row-meta { width: 100%; justify-content: space-between; }
}

/* ---------- FAQ Modal (logged-in shortcut) ---------- */
.faq-modal {
  position: relative;
  width: 100%;
  max-width: 720px;
  background: #0a0a08;
  border: 1px solid var(--line);
  border-radius: 24px;
  animation: fadeInPane 0.28s ease;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}
.faq-modal-content {
  padding: 40px 36px 32px;
}
.faq-modal-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary-strong);
  margin: 0 0 24px;
}
.faq-modal-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-modal-item {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.2s ease;
}
.faq-modal-item.open {
  background: rgba(255,255,255,0.04);
  border-color: var(--line-strong);
}
.faq-modal-q {
  width: 100%;
  background: transparent;
  border: none;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-strong);
  cursor: pointer;
  transition: color 0.18s ease;
}
.faq-modal-q:hover { color: var(--primary); }
.faq-modal-chev {
  transition: transform 0.22s ease;
  color: var(--muted);
  flex-shrink: 0;
}
.faq-modal-item.open .faq-modal-chev {
  transform: rotate(180deg);
  color: var(--primary);
}
.faq-modal-a {
  overflow: hidden;
  transition: max-height 0.32s ease;
}
.faq-modal-a-inner {
  padding: 0 20px 18px;
  font-size: 13px;
  color: var(--primary-soft);
  line-height: 1.65;
}
.faq-modal-hint {
  margin-top: 24px;
  padding: 14px 16px;
  background: rgba(158,196,138,0.06);
  border: 1px solid rgba(158,196,138,0.2);
  border-radius: 12px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
.faq-modal-hint a {
  color: var(--ok);
  font-weight: 700;
  text-decoration: none;
}
.faq-modal-hint a:hover { text-decoration: underline; }
@media (max-width: 600px) {
  .faq-modal-content { padding: 28px 22px; }
  .faq-modal-title { font-size: 22px; }
}

/* ---------- Cookie Consent Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 250;
  pointer-events: none;
  display: flex;
  justify-content: center;
  animation: cookieSlideUp 0.4s cubic-bezier(0.34, 1.4, 0.64, 1);
}
@keyframes cookieSlideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner-content {
  pointer-events: auto;
  max-width: 920px;
  width: 100%;
  background: #0d0d0d;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.cookie-banner-text {
  flex: 1;
  font-size: 13px;
  color: var(--primary-soft);
  line-height: 1.55;
}
.cookie-banner-text strong {
  color: var(--primary-strong);
  font-weight: 700;
}
.cookie-banner-text a {
  color: var(--primary);
  text-decoration: underline;
}
.cookie-banner-text a:hover {
  color: var(--primary-strong);
}
.cookie-banner-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.01em;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.cookie-btn--refuse {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--primary-soft);
}
.cookie-btn--refuse:hover {
  background: rgba(255,255,255,0.04);
  color: var(--primary-strong);
}
.cookie-btn--accept {
  background: var(--primary);
  border: 1px solid var(--primary);
  color: #1a1a16;
}
.cookie-btn--accept:hover {
  background: var(--primary-strong);
}
@media (max-width: 720px) {
  .cookie-banner { bottom: 12px; left: 12px; right: 12px; }
  .cookie-banner-content {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 16px;
  }
  .cookie-banner-actions {
    width: 100%;
  }
  .cookie-btn { flex: 1; }
}

/* ---------- Contact Modal ---------- */
.contact-modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: #0d0d0d;
  border: 1px solid var(--line);
  border-radius: 24px;
  animation: fadeInPane 0.28s ease;
}
.contact-modal-content {
  padding: 40px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-modal-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary-strong);
  margin: 0;
}
.contact-modal-sub {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 8px;
  line-height: 1.55;
}
/* Pas 121: formularul „Fale conosco” */
.contact-form { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.contact-field { display: flex; flex-direction: column; gap: 6px; }
.contact-field-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.contact-field-opt { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted-2, var(--muted)); }
.contact-input, .contact-textarea {
  width: 100%; box-sizing: border-box; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px; font-family: inherit; font-size: 14px; color: var(--primary-strong);
  outline: none; transition: border-color 0.15s ease, background 0.15s ease;
}
.contact-input::placeholder, .contact-textarea::placeholder { color: var(--muted); opacity: 0.8; }
.contact-input:focus, .contact-textarea:focus { border-color: rgba(232, 184, 154, 0.45); background: rgba(255, 255, 255, 0.045); }
.contact-textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.contact-send {
  margin-top: 4px; width: 100%; background: var(--primary); color: #1a1a16; border: 1px solid var(--primary);
  border-radius: 12px; padding: 13px 20px; font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
  transition: background 0.18s ease, opacity 0.18s ease;
}
.contact-send:hover { background: var(--primary-strong); border-color: var(--primary-strong); }
.contact-send:disabled { opacity: 0.45; cursor: default; }
.contact-error { font-size: 12.5px; color: var(--danger); line-height: 1.5; }
.contact-sent { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; background: rgba(158, 196, 138, 0.06); border: 1px solid rgba(158, 196, 138, 0.25); border-radius: 14px; }
.contact-sent-title { font-size: 14px; font-weight: 700; color: var(--primary-strong); }
.contact-sent-sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.contact-modal--wide { max-width: 560px; }
.contact-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; } /* un singur camp (fara nume) = tot randul */
.contact-input:read-only { color: var(--primary-soft); background: rgba(255, 255, 255, 0.02); cursor: default; }
.contact-select-wrap { position: relative; }
.contact-select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.contact-select:invalid, .contact-select option[value=""] { color: var(--muted); }
.contact-select option { background: #14140f; color: var(--primary-strong); }
.contact-select-chev { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.contact-files { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.contact-file { position: relative; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.contact-file img { width: 100%; height: 100%; object-fit: cover; display: block; }
.contact-file-x { position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%; border: none; background: rgba(10, 10, 8, 0.85); color: var(--primary-strong); font-size: 14px; line-height: 1; cursor: pointer; padding: 0; }
.contact-file-add { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 10px; border: 1px dashed var(--line-strong); background: transparent; color: var(--muted); font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: color 0.15s ease, border-color 0.15s ease; }
.contact-file-add:hover { color: var(--primary-strong); border-color: var(--primary-soft); }
@media (max-width: 600px) { .contact-row { grid-template-columns: 1fr; } }
.contact-alt { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 4px; }
.contact-alt a { color: var(--primary); text-decoration: none; font-weight: 600; }
.contact-alt a:hover { color: var(--primary-strong); }

/* ---------- Chat Widget (support chatbot) ---------- */
.chat-bubble {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 180;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  color: #1a1a16;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4), 0 0 30px rgba(232,184,154,0.3);
  transition: all 0.22s ease;
}
.chat-bubble:hover {
  background: var(--primary-strong);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.5), 0 0 40px rgba(232,184,154,0.4);
}
.chat-bubble-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.4;
  animation: chatPulse 2.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes chatPulse {
  0% { transform: scale(1); opacity: 0.4; }
  70% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}
.chat-panel {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 190;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 560px;
  max-height: calc(100vh - 48px);
  background: #0d0d0d;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  animation: chatSlideUp 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes chatSlideUp {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(232,184,154,0.08) 0%, rgba(232,184,154,0) 100%);
  border-bottom: 1px solid var(--line);
}
.chat-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-strong);
}
.chat-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(158,196,138,0.2);
  animation: statusPulse 2s ease-in-out infinite;
}
@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.chat-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
}
.chat-close:hover { background: rgba(255,255,255,0.06); color: var(--primary-strong); }
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chat-msg {
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.5;
  word-wrap: break-word;
}
.chat-msg--assistant {
  align-self: flex-start;
  background: rgba(255,255,255,0.05);
  color: var(--primary-soft);
  border-bottom-left-radius: 4px;
}
.chat-msg--user {
  align-self: flex-end;
  background: var(--primary);
  color: #1a1a16;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}
.chat-msg strong { font-weight: 700; color: var(--primary-strong); }
.chat-msg--user strong { color: #1a1a16; }
.chat-loading {
  display: flex;
  gap: 4px;
  padding: 14px;
}
.chat-loading span {
  width: 6px;
  height: 6px;
  background: var(--muted);
  border-radius: 50%;
  animation: chatDot 1.4s ease-in-out infinite;
}
.chat-loading span:nth-child(2) { animation-delay: 0.2s; }
.chat-loading span:nth-child(3) { animation-delay: 0.4s; }
@keyframes chatDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}
.chat-input-row {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  background: #0a0a08;
}
.chat-input {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--primary-strong);
  font-family: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color 0.18s ease;
}
.chat-input:focus { border-color: var(--primary-soft); }
.chat-input::placeholder { color: var(--muted-2); }
.chat-send {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  color: #1a1a16;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.18s ease;
}
.chat-send:hover:not(:disabled) { background: var(--primary-strong); }
.chat-send:disabled { opacity: 0.4; cursor: not-allowed; }
.chat-footer {
  font-size: 11px;
  color: var(--muted-2);
  text-align: center;
  padding: 8px 14px 12px;
  background: #0a0a08;
}
.chat-footer a { color: var(--primary-soft); text-decoration: none; }
.chat-footer a:hover { color: var(--primary); }
@media (max-width: 480px) {
  .chat-panel {
    width: 100%;
    max-width: none;
    height: 100vh;
    max-height: none;
    bottom: 0;
    right: 0;
    border-radius: 0;
  }
  .chat-bubble { bottom: 16px; right: 16px; }
}

/* ---------- History Detail Modal (full text view) ---------- */
.history-detail-modal {
  position: relative;
  width: 100%;
  max-width: 880px;
  background: #0a0a08;
  border: 1px solid var(--line);
  border-radius: 24px;
  animation: fadeInPane 0.28s ease;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}
.history-detail-content {
  padding: 40px 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.history-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.history-detail-date {
  font-weight: 600;
}
.history-detail-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.history-detail-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.history-detail-section-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-strong);
  letter-spacing: -0.01em;
}
.history-detail-text {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--primary-soft);
  white-space: pre-wrap;
  word-wrap: break-word;
  max-height: 320px;
  overflow-y: auto;
}
.history-detail-text--result {
  color: var(--ok);
  background: rgba(158,196,138,0.05);
  border-color: rgba(158,196,138,0.2);
}
.history-detail-empty {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  padding: 16px;
  background: rgba(255,255,255,0.02);
  border-radius: 12px;
  text-align: center;
}
.history-detail-actions {
  display: flex;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.copy-btn--small {
  font-size: 11px;
  padding: 6px 12px;
  height: auto;
}
@media (max-width: 600px) {
  .history-detail-content { padding: 24px 20px; }
  .history-detail-text { padding: 14px 16px; max-height: 240px; }
}

/* ---------- History Modal ---------- */
.history-modal {
  position: relative;
  width: 100%;
  max-width: 1100px;
  background: #0a0a08;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 0;
  animation: fadeInPane 0.28s ease;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}
.history-modal-content {
  padding: 40px 48px;
}
.history-modal-title {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary-strong);
  margin: 0 0 32px;
}
.history-list-wide {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.history-card-wide {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 28px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.history-card-wide:hover {
  background: rgba(255,255,255,0.05);
  border-color: var(--line-strong);
}
.history-card-wide .history-row {
  font-size: 14px;
  line-height: 1.7;
}
.history-card-wide .history-card-date {
  font-size: 13px;
  margin-top: 4px;
}
@media (max-width: 600px) {
  .history-modal-content { padding: 24px 20px; }
  .history-card-wide { padding: 16px 18px; }
  .history-card-wide .history-row { font-size: 13px; }
}

/* ---------- Checkout Banner ---------- */
.checkout-banner {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}
.checkout-banner--success {
  background: rgba(158,196,138,0.15);
  color: #cce8b8;
  border-bottom: 1px solid rgba(158,196,138,0.3);
}
.checkout-banner--cancel {
  background: rgba(217,119,87,0.15);
  color: #f0a98c;
  border-bottom: 1px solid rgba(217,119,87,0.3);
}
.checkout-banner strong {
  font-weight: 800;
}
.checkout-banner button {
  background: transparent;
  border: none;
  color: inherit;
  font-size: 20px;
  cursor: pointer;
  margin-left: auto;
  padding: 0 4px;
  line-height: 1;
}

/* ---------- Pricing Alert Banner (limit reached) ---------- */
.pricing-alert-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 24px 32px 0;
  padding: 16px 20px;
  background: rgba(217,119,87,0.1);
  border: 1px solid rgba(217,119,87,0.35);
  border-radius: 14px;
  color: #f5b89c;
  font-size: 13px;
  line-height: 1.55;
}
.pricing-alert-banner svg {
  color: var(--danger);
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-alert-banner strong {
  color: #ffd5bc;
  font-weight: 700;
}
@media (max-width: 600px) {
  .pricing-alert-banner { margin: 20px 16px 0; padding: 12px 14px; font-size: 12.5px; }
}

/* ---------- Pricing Modal Overlay ---------- */
.pricing-overlay {
  position: fixed;
  inset: 0;
  z-index: 220;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 32px 16px;
  animation: fadeInPane 0.22s ease;
}
.pricing-modal {
  position: relative;
  width: 100%;
  max-width: 1240px;
  background: #0a0a08;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 16px 0;
  animation: fadeInPane 0.28s ease;
}
.pricing-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
}
/* ── Planos BR (pas 114): 3 carduri, toggle Mensal/Anual, mult whitespace ── */
.pl-modal { max-width: 1040px; padding: 56px 48px 44px; }
.pl-head { text-align: center; margin-bottom: 26px; }
.pl-title { font-size: clamp(26px, 3.2vw, 34px); font-weight: 800; letter-spacing: -0.025em; color: var(--primary-strong); margin: 0 0 8px; }
.pl-sub { font-size: 15px; color: var(--muted); margin: 0; }
.pl-current { display: inline-block; margin-top: 16px; font-size: 12.5px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }
.pl-current strong { color: var(--primary-strong); font-weight: 700; }
.pl-toggle { display: flex; justify-content: center; gap: 4px; width: max-content; margin: 0 auto 30px; padding: 4px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: 999px; }
.pl-toggle-btn { display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 1px solid transparent; color: var(--muted); border-radius: 999px; padding: 9px 18px; font-family: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.pl-toggle-btn:hover { color: var(--primary-strong); background: rgba(255, 255, 255, 0.04); }
.pl-toggle-btn.active { color: var(--primary-strong); background: rgba(232, 184, 154, 0.12); border-color: rgba(232, 184, 154, 0.28); }
/* mai compact și mai discret decât „Mais escolhido” (owner) */
.pl-toggle-badge { font-size: 9px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(158, 196, 138, 0.85); background: transparent; border: 1px solid rgba(158, 196, 138, 0.30); border-radius: 999px; padding: 2px 6px; line-height: 1; white-space: nowrap; }
.pl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.pl-card { position: relative; display: flex; flex-direction: column; background: #0f0f0d; border: 1px solid var(--line); border-radius: 20px; padding: 30px 26px 26px; transition: border-color 0.2s ease, transform 0.2s ease; }
.pl-card:hover { border-color: var(--line-strong); }
.pl-card--highlight { background: linear-gradient(180deg, #12110e 0%, #171510 100%); border: 1.5px solid rgba(232, 184, 154, 0.55); box-shadow: 0 0 60px rgba(232, 184, 154, 0.08); }
.pl-card--highlight:hover { border-color: var(--primary); }
.pl-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #0a0a08; background: var(--primary); border-radius: 999px; padding: 5px 12px; white-space: nowrap; }
.pl-name { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; color: var(--primary-strong); }
.pl-words { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.pl-price { display: flex; align-items: baseline; gap: 6px; margin-top: 22px; }
.pl-price-value { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; color: var(--primary-strong); font-variant-numeric: tabular-nums; }
.pl-price-unit { font-size: 14px; color: var(--muted); font-weight: 600; }
.pl-list { list-style: none; margin: 22px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pl-list li { font-size: 13.5px; line-height: 1.45; color: var(--primary-soft); display: flex; align-items: flex-start; gap: 10px; }
.pl-list li svg { color: var(--ok); flex-shrink: 0; margin-top: 3px; } /* bifa sus, ca în pricing-ul RO */
/* butonul ca în pricing-ul RO (.pricing-cta): fundal discret, contur, radius 12 */
.pl-cta { margin-top: 24px; width: 100%; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-strong); color: var(--primary-strong); border-radius: 12px; padding: 14px 20px; font-family: inherit; font-size: 14px; font-weight: 700; letter-spacing: 0.01em; cursor: pointer; transition: all 0.18s ease; }
.pl-cta:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--primary-soft); }
.pl-cta--primary { background: var(--primary); color: #1a1a16; border-color: var(--primary); }
.pl-cta--primary:hover { background: var(--primary-strong); border-color: var(--primary-strong); }
.pl-cta:disabled { cursor: default; opacity: 0.55; background: transparent; color: var(--muted); border-color: var(--line); }
.pl-foot { text-align: center; font-size: 13px; color: var(--muted); margin: 26px 0 0; }
@media (max-width: 900px) {
  .pl-modal { padding: 48px 20px 32px; }
  .pl-grid { grid-template-columns: 1fr; gap: 22px; }
  .pl-toggle { width: 100%; justify-content: stretch; }
  .pl-toggle-btn { flex: 1; justify-content: center; padding: 9px 10px; }
  .pl-toggle-badge { font-size: 9px; padding: 3px 6px; }
}
.pricing-modal-close:hover {
  background: rgba(255,255,255,0.1);
  color: var(--primary-strong);
  border-color: var(--line-strong);
}

/* ---------- Demo Live Section (landing) ---------- */
.demo-live-section {
  padding: 24px 16px 32px;
  display: flex;
  justify-content: center;
}
.demo-live-shell {
  max-width: 960px;
  width: 100%;
  text-align: center;
}
.demo-live-title { /* pas 352 (owner): aceeași voce ca titlurile de secțiune (subțire), nu bold */
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--primary-strong);
  margin: 8px 0 18px;
  line-height: 1.1;
}
.demo-live-video-wrap {
  position: relative;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(232,184,154,0.25);
  background: #000;
  box-shadow: 0 0 80px rgba(232, 184, 154, 0.15), 0 30px 80px rgba(0,0,0,0.5);
}
.demo-live-video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 80vh;
}
.demo-video-unmute {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  background: rgba(232, 184, 154, 0.95);
  color: #1a1a16;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 0.01em;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transition: all 0.2s ease;
  z-index: 2;
  animation: floatPulse 2.4s ease-in-out infinite;
}
.demo-video-unmute:hover {
  background: var(--primary-strong);
  transform: translateX(-50%) translateY(-2px);
}
@keyframes floatPulse {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-4px); }
}

/* ---------- Report Toggle (logged-in detailed report) ---------- */
.report-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 14px;
  padding: 12px 16px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--primary-soft);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.02em;
  transition: all 0.18s ease;
}
.report-toggle-btn:hover {
  background: rgba(255,255,255,0.04);
  color: var(--primary-strong);
  border-color: var(--line-strong);
}
.report-toggle-btn .chevron {
  margin-left: 4px;
  transition: transform 0.22s ease;
}
.report-toggle-btn.open .chevron {
  transform: rotate(180deg);
}
.report-expanded {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: fadeInPane 0.3s ease;
}
.report-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.report-stat {
  padding: 12px 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
}
.report-stat-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 600;
}
.report-stat-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-strong);
  line-height: 1;
}
@media (max-width: 480px) {
  .report-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Processing Pane (logged-in humanize loading) ---------- */
.processing-pane {
  background: #0d0d0d;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 60px 24px;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 240px;
  animation: fadeInPane 0.3s ease;
}
@keyframes fadeInPane {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.processing-pane-spinner {
  color: var(--ok);
  animation: spin 1.6s linear infinite;
  display: flex;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.processing-pane-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-strong);
  margin-top: 4px;
}
.processing-pane-subtitle {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* ---------- Tester Paste Button (logged-in mode) ---------- */
.tester-textarea-wrap {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
}
.tester-paste-center-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}
.tester-paste-center-btn:hover {
  background: rgba(232,184,154,0.1);
  color: var(--primary-strong);
  border-color: var(--primary-strong);
  transform: translate(-50%, -52%);
}

/* ---------- Tester Card Actions (logged-in mode) ---------- */
.tester-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,0.015);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}
.tester-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.18s ease;
}
.tester-action-icon:hover:not(:disabled) {
  background: rgba(255,255,255,0.06);
  color: var(--danger);
  border-color: rgba(217,119,87,0.4);
}
.tester-action-icon:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
/* Style picker (opens after clicking Rescrie textul) */
.tester-style-picker {
  padding: 14px 16px 16px;
  border-top: 1px solid var(--line);
  background: rgba(232,184,154,0.04);
  animation: pickerSlide 0.22s cubic-bezier(0.34, 1.4, 0.64, 1);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}
@keyframes pickerSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.tester-style-picker-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.tester-style-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tester-style-chip {
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-strong);
  color: var(--primary-soft);
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.18s ease;
}
.tester-style-chip:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #1a1a16;
  transform: translateY(-1px);
}
.tester-style-chip.is-selected {
  background: rgba(232,184,154,0.15);
  border-color: var(--primary);
  color: var(--primary);
}
.tester-action-primary.is-active {
  background: var(--primary-strong);
  border-color: var(--primary-strong);
}

.tester-action-secondary,
.tester-action-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.01em;
  transition: all 0.18s ease;
}
.tester-action-secondary {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--primary-soft);
}
.tester-action-secondary:hover:not(:disabled) {
  background: rgba(255,255,255,0.05);
  color: var(--primary-strong);
  border-color: var(--primary-soft);
}
.tester-action-primary {
  margin-left: auto;
  background: var(--primary);
  border: 1px solid var(--primary);
  color: #1a1a16;
}
.tester-action-primary:hover:not(:disabled) {
  background: var(--primary-strong);
  border-color: var(--primary-strong);
  transform: translateY(-1px);
}
.tester-action-secondary:disabled,
.tester-action-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}
/* pas 62: după o detecție reușită, Reescrever texto = „pasul următor” —
   accent puțin mai luminos + glow discret + un singur pop scurt (fără puls). */
.tester-action-primary.is-next-step {
  background: #f2c7a6;
  border-color: #f2c7a6;
  box-shadow: 0 0 16px rgba(232, 184, 154, 0.35);
  animation: nextstep-pop 0.35s ease 1;
}
@keyframes nextstep-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}
.tester-card-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 4px;
  font-size: 12px;
  color: var(--muted);
  width: 100%;
}
.tester-card-progress strong {
  color: var(--primary-strong);
  font-weight: 700;
}
@media (max-width: 480px) {
  .tester-card-actions {
    padding: 12px;
  }
  .tester-action-secondary,
  .tester-action-primary {
    padding: 0 12px;
    font-size: 11px;
  }
}

/* ---------- App Sidebar ---------- */
.appsidebar-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  display: flex; justify-content: flex-end;
}
.appsidebar {
  width: 320px; max-width: 90vw;
  height: 100vh;
  background: #111110;
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  overflow-y: auto;
  animation: slideInRight 0.22s ease;
}
@keyframes slideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
.appsidebar-top {
  display: flex; align-items: center; justify-content: flex-end;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  gap: 8px;
}
.appsidebar-back {
  background: none; border: none; color: var(--muted);
  font-size: 13px; cursor: pointer; font-family: inherit;
  margin-right: auto; padding: 0;
  transition: color 0.2s;
}
.appsidebar-back:hover { color: var(--primary-strong); }
.appsidebar-close {
  background: none; border: none; color: var(--muted);
  font-size: 20px; cursor: pointer; line-height: 1;
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  border-radius: 6px; transition: color 0.2s;
}
.appsidebar-close:hover { color: var(--primary-strong); }
.appsidebar-profile {
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.appsidebar-initials {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(200,168,130,0.12);
  border: 1px solid rgba(200,168,130,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}
.appsidebar-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  margin-bottom: 10px;
}
.appsidebar-name { font-size: 15px; font-weight: 700; color: var(--primary-strong); margin-bottom: 4px; }
.appsidebar-email { font-size: 12px; color: var(--muted); }
.appsidebar-usage {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(200,168,130,0.08);
  border: 1px solid rgba(200,168,130,0.2);
  font-size: 11px;
  color: var(--primary);
  letter-spacing: 0.02em;
}
.appsidebar-item--logout {
  color: var(--muted);
  margin-top: auto;
  border-top: 1px solid var(--line);
}
.appsidebar-menu { display: flex; flex-direction: column; }
.appsidebar-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  background: none; border: none; border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--primary-soft); font-size: 14px; font-family: inherit;
  cursor: pointer; text-align: left; transition: background 0.15s, color 0.15s;
}
.appsidebar-item:hover { background: rgba(255,255,255,0.04); color: var(--primary-strong); }
.appsidebar-empty { font-size: 13px; color: var(--muted); text-align: center; padding: 32px 0; }
.history-row {
  font-size: 13px;
  line-height: 1.6;
  color: var(--primary-soft);
}
.history-row--result { color: var(--ok); }
.history-label {
  font-weight: 800;
  color: var(--primary-strong);
}
.history-label--result {
  color: var(--ok);
}
.history-text { color: var(--primary-soft); }
.history-text--result { color: var(--ok); }
.history-card-date {
  font-size: 12px;
  color: var(--muted-2);
  font-weight: 500;
  margin-top: 4px;
}
.appsidebar-btn {
  background: rgba(255,255,255,0.06); border: 1px solid var(--line);
  color: var(--primary-soft); font-family: inherit; font-size: 13px;
  padding: 9px 16px; border-radius: 8px; cursor: pointer; transition: background 0.15s;
}
.appsidebar-btn:hover { background: rgba(255,255,255,0.1); }
.appsidebar-info { font-size: 13px; color: var(--muted); line-height: 1.6; }
.cfg-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.cfg-value { font-size: 14px; color: var(--primary-strong); line-height: 1.5; }
.cfg-value--muted { color: var(--muted); font-weight: 400; }
.cfg-inline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.cfg-link { background: none; border: none; padding: 0; font-family: inherit; font-size: 13px; font-weight: 600; color: var(--primary); cursor: pointer; white-space: nowrap; }
.cfg-link:hover { color: var(--primary-strong); }
.cfg-link:disabled { opacity: 0.5; cursor: default; }
.cfg-msg { font-size: 12px; color: #7ab87a; margin-top: 4px; }
.cfg-msg--err { color: var(--danger); }
.cfg-delete { width: max-content; margin-top: 6px; background: transparent; border: 1px solid rgba(217, 119, 87, 0.35); color: #d97757; border-radius: 8px; padding: 7px 12px; font-family: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease; }
.cfg-delete:hover { background: rgba(217, 119, 87, 0.08); border-color: rgba(217, 119, 87, 0.55); }
.cfg-delete:disabled { opacity: 0.5; cursor: default; }
.billing-delete { display: flex; flex-direction: column; gap: 6px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }

/* Pas 124: cardul „Seu último relatório” (raport salvat local, Meu TCC) */
.last-report { display: flex; align-items: center; justify-content: space-between; gap: 14px; max-width: 600px; margin: 0 auto 18px; padding: 14px 16px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: 12px; }
.last-report-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.last-report-meta { font-size: 13px; color: var(--primary-strong); margin-top: 3px; }
.last-report-btn { flex-shrink: 0; background: transparent; border: 1px solid rgba(232, 184, 154, 0.45); color: var(--primary); border-radius: 999px; padding: 8px 14px; font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: background 0.15s ease; }
.last-report-btn:hover { background: rgba(232, 184, 154, 0.08); }
@media (max-width: 600px) { .last-report { flex-direction: column; align-items: flex-start; } }

/* Navbar pill */
.navbar {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  border-radius: 999px;
  padding: 7px 10px 7px 12px;
  display: flex;
  gap: 10px;
  z-index: 1000;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  max-width: calc(100vw - 16px);
}
@media (min-width: 640px) { .navbar { padding: 10px 20px; top: 20px; gap: 18px; } }
@media (min-width: 768px) { .navbar { padding: 12px 28px; top: 24px; gap: 22px; } }

/* pas 468 (owner, 20 oct): pe mobil/tabletă bara NU mai e fixă — stă sus și pleacă odată cu pagina (nu mai acoperă
   casetele, foaia Raio-X sau raportul); fără hamburger. „Entrar” puțin mai mare. Desktop (≥ 900px) neschimbat. */
@media (max-width: 899px) { .navbar { position: absolute; } }
/* When the DocVertical promo banner is visible, push the fixed navbar below it. */
@media (min-width: 640px) { .dv-banner-on .navbar { top: 64px; } }
@media (min-width: 768px) { .dv-banner-on .navbar { top: 60px; } }

.navbar a {
  color: var(--primary-soft);
  font-size: 9.5px;
  text-decoration: none;
  font-weight: 400;
  letter-spacing: 0.005em;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.navbar a:hover { color: var(--primary-strong); }
@media (min-width: 640px) { .navbar a { font-size: 12px; } }
@media (min-width: 768px) { .navbar a { font-size: 14px; } }

.navbar-brand {
  color: var(--primary-strong);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: -0.01em;
  border-right: 1px solid rgba(225,224,204,0.25);
  padding-right: 10px;
  margin-right: 0;
}
@media (min-width: 640px) { .navbar-brand { font-size: 12px; padding-right: 14px; } }
@media (min-width: 768px) { .navbar-brand { font-size: 15px; padding-right: 18px; } }

.nav-links { display: flex; align-items: center; gap: 9px; }
@media (min-width: 640px) { .nav-links { gap: 22px; } }
@media (min-width: 768px) { .nav-links { gap: 28px; } }
@media (min-width: 1024px) { .nav-links { gap: 30px; } }

/* Hamburger never visible — all items show in nav inline on every screen */
.nav-hamburger { display: none !important; }

/* BR navbar has 5 items on desktop; on phones only the three that matter
   (Raio-X do TCC, Detecção de IA, Dúvidas) + Entrar — no hamburger, no crowding. */
@media (max-width: 640px) {
  .nav-links .nav-mobile-hide { display: none; }
}

/* BR (pas 5): fluid navbar — sizes follow the viewport continuously instead of
   the live 9.5 / 12 / 14 px steps, so it never overflows at 320 px nor sits
   tiny at 560 px. Desktop ≥1024 px keeps the live values. */
@media (max-width: 640px) {
  .navbar { padding: 6px clamp(8px, 2vw, 12px) 6px clamp(9px, 2.4vw, 14px); gap: clamp(7px, 2vw, 14px); }
  .navbar-brand { font-size: clamp(11px, 3.2vw, 14px); padding-right: clamp(8px, 2vw, 14px); }
  .navbar a { font-size: clamp(9.5px, 2.9vw, 13px); }
  .nav-links { gap: clamp(7px, 2.2vw, 18px); }
  .navbar .nav-login { font-size: clamp(11px, 3vw, 13px) !important; padding: 4px clamp(9px, 2.6vw, 14px) !important; }
}
@media (min-width: 641px) and (max-width: 1023px) {
  .navbar { padding: 10px clamp(14px, 2.4vw, 24px); gap: clamp(12px, 2vw, 20px); }
  .navbar-brand { font-size: clamp(12px, 1.7vw, 15px); padding-right: clamp(10px, 1.8vw, 16px); }
  .navbar a { font-size: clamp(11.5px, 1.6vw, 14px); }
  .nav-links { gap: clamp(10px, 2vw, 22px); } /* pas 483: 5 linkuri pe desktop → la 768 px bara depășea cu 3 px; gap mai strâns pe tabletă */
  .navbar .nav-login { font-size: clamp(12px, 1.6vw, 13px) !important; padding: 5px clamp(10px, 1.6vw, 14px) !important; }
}

/* Mobile: shrink the NOU badge so it doesn't blow up the navbar width */
@media (max-width: 640px) {
  .nav-docvertical-badge {
    font-size: 7px !important;
    padding: 1px 3px !important;
    letter-spacing: 0.06em !important;
    top: 5px !important;
    right: -13px !important;
    transform: rotate(8deg) !important;
  }
}

/* Hero content bottom grid */
.hero-content {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 5;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  align-items: end;
}
@media (min-width: 768px) { .hero-content { padding: 40px; gap: 24px; } }
@media (min-width: 1024px) { .hero-content { padding: 56px; } }

.hero-title-wrap {
  grid-column: 1 / -1;
  position: relative;
}
@media (min-width: 1024px) { .hero-title-wrap { grid-column: 1 / span 8; } }

.hero-title {
  color: var(--primary-strong);
  font-weight: 500;
  line-height: 0.85;
  letter-spacing: -0.055em;
  font-size: 11vw;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
@media (min-width: 480px) { .hero-title { font-size: 12vw; } }
@media (min-width: 640px) { .hero-title { font-size: 12vw; } }
@media (min-width: 768px) { .hero-title { font-size: 13vw; } }
@media (min-width: 1024px) { .hero-title { font-size: 9.5vw; letter-spacing: -0.05em; } }
@media (min-width: 1280px) { .hero-title { font-size: 9vw; } }

.hero-title .word { display: inline-block; position: relative; overflow: hidden; padding: 0.05em 0; line-height: 0.95; }
.hero-title .word > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1); }
.hero-title.in .word > span { transform: translateY(0); }
.hero-title .word:nth-child(2) > span { transition-delay: 0.12s; }
.hero-title .word:nth-child(3) > span { transition-delay: 0.22s; }
.hero-title .word:nth-child(4) > span { transition-delay: 0.32s; }

.hero-title .ast {
  position: absolute;
  top: 0.05em;
  font-size: 0.18em;
  margin-left: 0.05em;
  opacity: 0;
  transition: opacity 0.6s ease 1.1s;
  color: var(--primary-strong);
}
.hero-title.in .ast { opacity: 1; }

.hero-right {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 460px;
}
@media (min-width: 1024px) { .hero-right { grid-column: 9 / span 4; max-width: none; padding-bottom: 6px; } }
/* BR (pas 9): soft dark halo behind the hero text + CTA — on wide screens the
   copy sits over the bright, textured clouds and lost legibility. Radial, blurred,
   fades out well beyond the text so the image keeps its atmosphere. */
.hero-right { position: relative; }
.hero-right::before {
  content: ""; position: absolute; inset: -28% -22% -26% -18%; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 50% 55%, rgba(0,0,0,0.58) 0%, rgba(0,0,0,0.42) 38%, rgba(0,0,0,0.18) 66%, rgba(0,0,0,0) 100%);
  filter: blur(14px);
}
.hero-content { isolation: isolate; }

.hero-desc {
  color: rgba(222, 219, 200, 0.72);
  font-size: 13px;
  line-height: 1.35;
  margin: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s, transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}
.hero-content.in .hero-desc { opacity: 1; transform: translateY(0); }
@media (min-width: 768px) { .hero-desc { font-size: 15px; } }

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #000;
  border: none;
  border-radius: 999px;
  padding: 8px 8px 8px 22px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  align-self: flex-start;
  transition: gap 0.3s ease, transform 0.2s ease;
  font-family: inherit;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1) 0.7s, transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.7s, gap 0.3s ease;
}
.hero-content.in .hero-cta { opacity: 1; transform: translateY(0); }
.hero-cta:hover { gap: 14px; }
.hero-cta .circ {
  background: #000;
  color: var(--primary-strong);
  width: 36px; height: 36px;
  border-radius: 999px;
  display: grid; place-items: center;
  transition: transform 0.25s ease;
}
.hero-cta:hover .circ { transform: scale(1.1); }
@media (min-width: 640px) { .hero-cta { font-size: 16px; padding: 9px 9px 9px 24px; } .hero-cta .circ { width: 40px; height: 40px; } }

/* ---------- Generic section ---------- */
.section {
  background: var(--bg);
  padding: 48px 24px;
}
@media (min-width: 768px) { .section { padding: 112px 40px; } }

.section-label {
  color: var(--primary);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
  text-align: center;
}
@media (min-width: 768px) { .section-label { font-size: 12px; } }

.section-title {
  color: var(--primary-strong);
  text-align: center;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.01em;
  font-size: 32px;
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.12em 0.28em;
}
@media (min-width: 640px) { .section-title { font-size: 40px; } }
@media (min-width: 768px) { .section-title { font-size: 52px; line-height: 0.9; } }
@media (min-width: 1024px) { .section-title { font-size: 64px; } }

/* pas 347d (Gabriella): line-height 0.95 + overflow hidden taia descendentele („j" din „veja" arata ca „veia");
   loc pentru descendente jos, compensat cu margin negativ ca inaltimea liniei sa ramana identica */
.section-title .word { display: inline-block; overflow: hidden; padding: 0.04em 0 0.16em; margin-bottom: -0.16em; }

/* BR: sentence-length section titles (not two-word slogans) — smaller size and
   deliberate two-line balance; each segment breaks onto its own line. */
.section-title--long { font-size: clamp(26px, 4.6vw, 48px) !important; max-width: 1080px; line-height: 1.05; }
/* Segment marked ttl-br forces the second half onto its own line on desktop;
   on phones it vanishes and the sentence wraps naturally. */
.section-title--long .word.ttl-br { flex-basis: 100%; height: 0; padding: 0; overflow: hidden; }
@media (max-width: 899px) { .section-title--long .word.ttl-br { display: none; } }
.section-title .word > span { display: inline-block; transform: translateY(135%); transition: transform 0.95s cubic-bezier(0.16, 1, 0.3, 1); }
.section-title.in .word > span { transform: translateY(0); }

/* ---------- Tester ---------- */
.tester-section {
  background: var(--bg);
  padding: 32px 16px 16px;
  position: relative;
}
@media (min-width: 768px) { .tester-section { padding: 64px 32px 24px; } }

.tester-shell {
  max-width: 1240px;
  margin: 0 auto;
}

.tester-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 36px;
  gap: 14px;
}

.detector-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 8px;
}
.detector-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--primary-soft);
  font-size: 11px;
  letter-spacing: 0.02em;
}
.detector-chip .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: #6c6c63;
}


.tester-pane-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
  gap: 10px;
}
.tester-pane-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
}
.tester-pane-title .num {
  width: 22px; height: 22px;
  border-radius: 999px;
  background: rgba(222,219,200,0.08);
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  font-size: 11px;
  color: var(--primary-strong);
  letter-spacing: 0;
}

.tester-textarea {
  flex: 1;
  width: 100%;
  resize: none;
  background: transparent;
  border: none;
  color: var(--primary-strong);
  font-size: 14px;
  line-height: 1.55;
  padding: 4px 2px;
  outline: none;
  font-family: inherit;
}
.tester-textarea::placeholder { color: var(--muted-2); }

/* ── App shell (pas 52, desktop): sidebar fix + zonă de conținut ── */
.app-shell { min-height: 100vh; }
.shell-sidebar { display: none; }
@media (min-width: 900px) {
  .shell-sidebar {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 264px;
    background: #0c0c0a;
    border-right: 1px solid var(--line);
    padding: 24px 16px 18px;
    z-index: 60;
  }
  .shell-main { margin-left: 264px; min-width: 0; }
  /* brandul apare deja în sidebar — în header rămân doar salutul + meniul */
  .shell-main .appview-header > .navbar-brand { display: none; }
}
.shell-brand {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary-strong);
  padding: 2px 12px 22px;
}
.shell-nav { display: flex; flex-direction: column; gap: 4px; }
.shell-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.shell-nav-item svg { flex-shrink: 0; }
.shell-nav-item:hover { color: var(--primary-strong); background: rgba(255, 255, 255, 0.04); }
.shell-nav-item.active { color: var(--primary-strong); background: rgba(232, 184, 154, 0.10); }
.shell-nav-item.active svg { color: var(--primary); }
/* Pas 107 (owner): badge „Em breve” pe Simular banca — sidebar + cardul din Início */
.shell-nav-badge {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(232, 184, 154, 0.10);
  border: 1px solid rgba(232, 184, 154, 0.30);
  border-radius: 999px;
  padding: 3px 7px;
  line-height: 1;
  white-space: nowrap;
}
/* eticheta rămâne pe un singur rând lângă badge (sidebar 264px) */
.shell-nav-item:has(.shell-nav-badge) { white-space: nowrap; gap: 10px; }
.shell-foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.shell-plan-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}
.shell-plan-label { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.shell-plan-name { font-size: 17px; font-weight: 800; color: var(--primary-strong); margin-top: 3px; }
.shell-plan-words { font-size: 12px; color: var(--muted); margin: 8px 0 7px; }
.shell-plan-bar { height: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.shell-plan-fill { height: 100%; border-radius: 999px; background: var(--primary); transition: width 0.4s ease; }
.shell-plan-cta {
  margin-top: 13px;
  width: 100%;
  background: transparent;
  border: 1px solid rgba(232, 184, 154, 0.45);
  color: var(--primary);
  border-radius: 999px;
  padding: 9px 0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}
.shell-plan-cta:hover { background: rgba(232, 184, 154, 0.08); }
/* ── Bottom nav mobil (pas 55): meniul sidebar-ului, jos, doar sub 900px ── */
.shell-bottomnav { display: none; }
@media (max-width: 899px) {
  /* audit F-027: bannerul de cookies nu mai acopera bottom nav-ul */
  .cookie-banner--above-nav { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
  .shell-bottomnav {
    display: flex;
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(19, 19, 17, 0.97);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 7px 6px;
    z-index: 80;
    justify-content: space-around;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
  }
  .shell-bottomnav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    background: none;
    border: none;
    color: var(--muted);
    font-family: inherit;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    padding: 5px 2px;
    border-radius: 12px;
    transition: color 0.15s ease;
  }
  .shell-bottomnav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 26px;
    border-radius: 9px;
    transition: background 0.15s ease;
  }
  .shell-bottomnav-item.active { color: var(--primary); }
  .shell-bottomnav-item.active .shell-bottomnav-icon { background: rgba(232, 184, 154, 0.14); }
  /* conținutul nu trebuie acoperit de bară */
  .shell-main .appview { padding-bottom: 92px; }
  /* bula de chat urcă deasupra barei */
  .chat-bubble { bottom: 96px !important; }
  /* pas 357 (owner, mobil după login): bula de chat mai mică și lipită de marginea dreaptă, fără puls; conținutul are loc
     să treacă de ea și de bară când derulezi până jos */
  body:has(.shell-bottomnav) .chat-bubble { width: 46px; height: 46px; right: 12px; bottom: calc(92px + env(safe-area-inset-bottom, 0px)) !important; box-shadow: 0 6px 18px rgba(0,0,0,0.45); }
  body:has(.shell-bottomnav) .chat-bubble svg { width: 20px; height: 20px; }
  body:has(.shell-bottomnav) .chat-bubble-pulse { display: none; }
  .shell-main .appview { padding-bottom: 156px; }
  /* pas 357 · Analisar texto pe mobil: intro scurt, bara de acțiuni pe două rânduri (Reescrever pe toată lățimea), procesare compactă */
  .shell-main .appview-intro { margin-top: 18px; padding: 0 16px; }
  .shell-main .appview-intro-title { font-size: 19px; margin-bottom: 0; }
  .shell-main .appview-intro-sub { display: none; }
  .tester-full-pane.is-logged-in .tester-card-actions { flex-wrap: wrap; gap: 8px; padding: 12px; }
  .tester-full-pane.is-logged-in .tester-action-secondary { flex: 0 0 auto; white-space: nowrap; font-size: 12px; padding: 0 12px; height: 40px; justify-content: center; }
  .tester-full-pane.is-logged-in .tester-action-secondary[aria-expanded] { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .tester-full-pane.is-logged-in .tester-action-icon { width: 40px; height: 40px; flex: 0 0 40px; }
  .tester-full-pane.is-logged-in .tester-action-primary { flex: 1 1 100%; order: 10; white-space: nowrap; height: 44px; font-size: 14px; justify-content: center; }
  .tester-full-pane.is-logged-in .tester-card-progress { flex: 1 1 100%; }
  .shell-main .processing-pane { padding: 28px 20px; min-height: 0; gap: 10px; }
}

/* rândul user din sidebar a fost scos (pas 54) — profilul trăiește sus-dreapta */
.appview-avatar-btn {
  background: none;
  border: none;
  padding: 0;
  margin-left: auto;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.appview-avatar-btn:hover { box-shadow: 0 0 0 3px rgba(232, 184, 154, 0.25); transform: translateY(-1px); }
.appview-avatar-btn .appview-avatar,
.appview-avatar-btn .appview-avatar-initials { width: 38px; height: 38px; font-size: 15px; }
.appview-user { margin-left: auto; }

/* ── Início (pas 53): salut + cardurile celor 3 categorii ── */
.inicio-home { width: 100%; max-width: 1180px; margin: 0 auto; padding: 8px 28px 40px; }
.inicio-greeting { font-size: clamp(24px, 3vw, 30px); font-weight: 800; color: var(--primary-strong); margin: 0 0 6px; letter-spacing: -0.02em; }
.inicio-sub { font-size: 14px; color: var(--muted); margin: 0 0 26px; }
.inicio-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.inicio-card {
  position: relative;
  background: #131311;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.inicio-card:hover {
  transform: translateY(-2px);
  border-color: rgba(232, 184, 154, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.inicio-card:active { transform: scale(0.98); }
.inicio-card-icon {
  width: 68px; height: 68px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.inicio-card-icon svg { width: 30px; height: 30px; }
.inicio-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(232, 184, 154, 0.10);
  border: 1px solid rgba(232, 184, 154, 0.30);
  border-radius: 999px;
  padding: 4px 9px;
  line-height: 1;
}
.inicio-card-icon--peach { background: rgba(232, 184, 154, 0.14); color: #E8B89A; }
.inicio-card-icon--indigo { background: rgba(148, 158, 240, 0.14); color: #a5b0f2; }
.inicio-card-icon--green { background: rgba(158, 196, 138, 0.14); color: #9ec48a; }
.inicio-card-title { font-size: 18px; font-weight: 800; color: var(--primary-strong); margin-bottom: 8px; letter-spacing: -0.01em; }
.inicio-card-desc { font-size: 13.5px; line-height: 1.6; color: var(--muted); margin: 0; }

/* pas 257/259: graficul ciclului „jornada" (SVG inline) — DOAR pe desktop; sub 900 px secțiunea nu apare.
   Aceleași accente ca cele 3 carduri; hairline-uri, inele subțiri, fără gradiente. */
.jornada { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.jornada-svg { display: block; width: 100%; height: auto; overflow: visible; }
.jornada-svg text { font-family: inherit; }
.jornada-stage { font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; fill: var(--muted-2); }
.jornada-name { font-size: 13px; font-weight: 700; letter-spacing: -0.01em; fill: var(--primary-strong); }
.jornada-hair { fill: none; stroke: rgba(225, 224, 204, 0.22); stroke-width: 1.2; }
.jornada-ring { stroke-width: 1; }
.jornada-node--peach { color: #E8B89A; } .jornada-node--peach .jornada-ring { fill: rgba(232, 184, 154, 0.12); stroke: rgba(232, 184, 154, 0.38); }
.jornada-node--indigo { color: #a5b0f2; } .jornada-node--indigo .jornada-ring { fill: rgba(148, 158, 240, 0.12); stroke: rgba(148, 158, 240, 0.38); }
.jornada-node--green { color: #9ec48a; } .jornada-node--green .jornada-ring { fill: rgba(158, 196, 138, 0.12); stroke: rgba(158, 196, 138, 0.38); }
@media (max-width: 900px) {
  .jornada { display: none; } /* pas 259 (owner): graficul jornada e doar pe desktop */
}
/* Pas 108 (owner): pe desktop blocul Início coboară puțin spre centru —
   DOAR offset vertical; forma, lățimile și spacing-ul cardurilor rămân identice. */
@media (min-width: 900px) {
  .inicio-home { padding-top: 12vh; }
}

/* ── Histórico (pas 104, owner): pagina /app/historico — trei secțiuni
   (Análises de texto · Meu TCC · Simular banca), aceeași estetică ca Início. ── */
.hist-page { width: 100%; max-width: 1180px; margin: 0 auto; padding: 8px 28px 48px; }
.hist-title { font-size: clamp(24px, 3vw, 30px); font-weight: 800; color: var(--primary-strong); margin: 0 0 4px; letter-spacing: -0.02em; }
.hist-section { margin-top: 30px; }
.hist-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.hist-section-title { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.hist-count { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.hist-list { display: flex; flex-direction: column; gap: 12px; }
.hist-card {
  background: #131311;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px 18px;
  align-items: center;
}
.hist-card--click { cursor: pointer; transition: border-color 0.15s ease, transform 0.15s ease; }
.hist-card--click:hover { border-color: rgba(232, 184, 154, 0.35); transform: translateY(-1px); }
.hist-card-main { min-width: 0; }
.hist-card-title { font-size: 14.5px; font-weight: 700; color: var(--primary-strong); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hist-card-meta { font-size: 12.5px; color: var(--muted); margin-top: 5px; display: flex; flex-wrap: wrap; gap: 4px 14px; font-variant-numeric: tabular-nums; }
.hist-card-text { font-size: 13.5px; line-height: 1.55; color: var(--primary-soft); margin-top: 8px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hist-score { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hist-score-arrow { color: var(--muted); font-weight: 600; }
.hist-badge { font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.hist-badge--ok { color: #9ec48a; background: rgba(158, 196, 138, 0.10); border: 1px solid rgba(158, 196, 138, 0.25); }
.hist-badge--peach { color: #E8B89A; background: rgba(232, 184, 154, 0.10); border: 1px solid rgba(232, 184, 154, 0.25); }
.hist-badge--muted { color: var(--muted); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.hist-empty { font-size: 13.5px; color: var(--muted); padding: 22px 20px; border: 1px dashed var(--line); border-radius: 16px; line-height: 1.6; }
.hist-note { font-size: 12px; color: var(--muted); margin-top: 10px; line-height: 1.6; }
@media (max-width: 600px) {
  .hist-page { padding: 8px 16px 40px; }
  .hist-card { grid-template-columns: 1fr; }
}

.tester-clear-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 50%;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.tester-clear-btn:hover { color: var(--danger); border-color: var(--danger); }

.tester-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
  gap: 10px;
}

/* Humanizing tip */
.humanizing-tip {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  padding: 10px 0 14px;
  min-height: 20px;
  transition: opacity 0.4s ease;
  letter-spacing: 0.01em;
}

/* Shimmer */
.shimmer-line {
  height: 12px;
  background: linear-gradient(90deg, rgba(222,219,200,0.04) 0%, rgba(222,219,200,0.16) 40%, rgba(222,219,200,0.04) 80%);
  background-size: 220% 100%;
  border-radius: 4px;
  margin: 6px 0;
  animation: shimmer 1.4s ease-in-out infinite;
}
.shimmer-line:nth-child(1) { width: 92%; animation-delay: 0s; }
.shimmer-line:nth-child(2) { width: 78%; animation-delay: 0.1s; }
.shimmer-line:nth-child(3) { width: 88%; animation-delay: 0.2s; }
.shimmer-line:nth-child(4) { width: 64%; animation-delay: 0.3s; }
.shimmer-line:nth-child(5) { width: 82%; animation-delay: 0.4s; }
.shimmer-line:nth-child(6) { width: 48%; animation-delay: 0.5s; }
@keyframes shimmer {
  0% { background-position: 220% 0; }
  100% { background-position: -20% 0; }
}

/* Output reveal */
@keyframes wordIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- About / How it works ---------- */
.about-card {
  background: var(--about-bg);
  border-radius: 24px;
  padding: 56px 28px;
  max-width: 1100px;
  margin: 0 auto;
  border: 1px solid var(--line);
}
@media (min-width: 768px) { .about-card { padding: 96px 64px; border-radius: 32px; } }

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 56px;
}
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 72px; } }

.step-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
  position: relative;
  overflow: hidden;
}
.step-badge { /* pas 352: „Em breve"/„Novo" pe cardul Simular banca, ca badge-ul NOVO de pe feature-card */
  position: absolute; top: 14px; right: 14px; background: var(--primary); color: #0a0a08;
  font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; line-height: 1;
}
.step-num {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 28px;
  color: var(--primary);
  opacity: 0.6;
  line-height: 1;
}
.step-title {
  font-size: 19px;
  color: var(--primary-strong);
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.step-desc {
  color: rgba(222, 219, 200, 0.62);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}
.step-illu {
  height: 64px;
  border-top: 1px solid var(--line);
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* about scroll text */
.about-paragraph {
  color: var(--primary);
  font-size: 14px;
  line-height: 1.55;
  max-width: 720px;
  margin: 28px auto 0;
  text-align: center;
}
@media (min-width: 768px) { .about-paragraph { font-size: 17px; line-height: 1.6; margin-top: 36px; } }
.about-paragraph .ch {
  opacity: 0.2;
  transition: opacity 0.4s linear;
}
.about-paragraph .ch.lit { opacity: 1; }

/* ---------- Features ---------- */
.features-section {
  position: relative;
  background: var(--bg);
  padding: 48px 16px 64px;
  overflow: hidden;
}
@media (min-width: 768px) { .features-section { padding: 120px 32px; } }

.features-noise {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  pointer-events: none;
}

.features-shell { position: relative; max-width: 1240px; margin: 0 auto; }

.features-head {
  text-align: left;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 880px;
}
.features-head h2 {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--primary-strong);
  margin: 0;
}
.features-head h2.muted { color: #6f6f66; }
@media (min-width: 768px) { .features-head h2 { font-size: 32px; } }
@media (min-width: 1024px) { .features-head h2 { font-size: 40px; } }

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: 1.1fr 1fr 1fr; gap: 4px; height: 480px; } }

.feature-card {
  position: relative;
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  padding: 22px;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.feature-card.in { opacity: 1; transform: scale(1); }
.feature-card.video-card { padding: 0; background: #111; }
@media (min-width: 1024px) { .feature-card { min-height: 0; } }

.feature-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-card .video-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.75) 100%);
}
.feature-card .video-cap {
  position: relative;
  margin-top: auto;
  padding: 22px;
  color: var(--primary-strong);
  font-size: 22px;
  letter-spacing: -0.01em;
  font-weight: 400;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.feature-card .video-cap .small {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-soft);
}

.feature-card .feat-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--primary);
  margin-bottom: 14px;
}
@media (min-width: 640px) { .feature-card .feat-icon { width: 48px; height: 48px; } }

.feature-card .feat-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--primary-strong);
  margin-bottom: 14px;
}
.feature-card .feat-title .num {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.18em;
}

.feat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.feat-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.45;
  color: #a8a89c;
}
.feat-list li svg { flex-shrink: 0; margin-top: 2px; color: var(--primary); }

.coming-soon-card { opacity: 0.72; }
.coming-soon-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1a1a16;
  background: var(--primary);
  border-radius: 20px;
  padding: 4px 10px;
  pointer-events: none;
}

/* ---------- FAQ ---------- */
.faq-section {
  background: var(--bg);
  padding: 48px 16px 48px;
}
@media (min-width: 768px) { .faq-section { padding: 120px 32px 64px; } }

.faq-shell { max-width: 920px; margin: 0 auto; }

.faq-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 48px;
  align-items: end;
}
@media (min-width: 768px) { .faq-head { grid-template-columns: auto 1fr; gap: 32px; } }

.faq-head .label-col {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}

.faq-head h2 {
  font-size: 32px;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--primary-strong);
  margin: 0;
}
@media (min-width: 768px) { .faq-head h2 { font-size: 48px; line-height: 0.9; } }

.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--primary-strong);
  text-align: left;
  padding: 22px 0;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.005em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: inherit;
}
@media (min-width: 768px) { .faq-q { font-size: 19px; padding: 26px 0; } }
.faq-q .plus {
  width: 28px; height: 28px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.2s ease;
  color: var(--primary);
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); background: var(--primary); color: #000; border-color: var(--primary); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-a-inner {
  padding: 0 0 24px;
  color: rgba(222,219,200,0.72);
  font-size: 14px;
  line-height: 1.6;
  max-width: 720px;
}
@media (min-width: 768px) { .faq-a-inner { font-size: 15px; } }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(158,196,138,0.6); }
  100% { box-shadow: 0 0 0 12px rgba(158,196,138,0); }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 56px 24px 0;
}
.footer-main {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr; /* pas 312: coloana Recursos (paginile SEO) */
  gap: 48px;
  padding-bottom: 48px;
}
@media (max-width: 768px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand-col { grid-column: 1 / -1; }
}
.footer-brand-col { display: flex; flex-direction: column; gap: 12px; }
.footer-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-strong);
  letter-spacing: -0.02em;
}
.footer-logo sup { font-size: 12px; }
.footer-tagline {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 260px;
  margin: 0; /* BR: p-ul moștenea margin global — spațiu inestetic sub logo */
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 4px;
}
.footer-link {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--primary-strong); }

/* utility */
.center { text-align: center; }
.muted { color: var(--muted); }

/* ---------- New 2-step tester flow ---------- */
.tester-full-pane {
  background: #0d0d0d;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  min-height: 240px;
}
.tester-full-pane.is-logged-in {
  min-height: 380px;
}

/* Analyzing overlay — blur pe deasupra textului */
.analyzing-overlay {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background: rgba(13, 13, 13, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.analyzing-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(232, 184, 154, 0.12);
  border: 1px solid rgba(232, 184, 154, 0.3);
  color: var(--primary);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  animation: pulse-badge 1.6s ease-in-out infinite;
}
@keyframes pulse-badge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.tester-analyze-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #000;
  border: none;
  border-radius: 999px;
  padding: 14px 30px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 28px rgba(232,184,154,0.25);
}
.tester-analyze-btn:hover { transform: scale(1.03); }
.tester-analyze-btn:disabled { background: #2a2a2a; color: #555; cursor: not-allowed; box-shadow: none; transform: none; }

.tester-results { display: flex; flex-direction: column; gap: 16px; }

/* AI Gauge Card */
.ai-gauge-card {
  background: #0d0d0d;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px 28px;
  text-align: center;
}
.ai-score-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

/* Gauge SVG */
.gauge-wrap {
  display: flex;
  justify-content: center;
  margin: 4px 0;
}
.gauge-svg {
  width: 100%;
  max-width: 240px;
  height: auto;
}

/* Result output textbox */
.result-output-wrap {
  background: #0d0d0d;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.result-output-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
  gap: 10px;
}
.result-output-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--primary-strong);
  min-height: 120px;
}
.result-para {
  margin-bottom: 12px;
}
.result-para:last-child {
  margin-bottom: 0;
}
.result-blank-line {
  height: 12px;
}
.result-output-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  margin-top: 16px;
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--primary);
  color: #000;
  border: none;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s ease;
}
.copy-btn:hover { transform: scale(1.03); }
.copy-btn--done {
  background: rgba(158,196,138,0.15);
  border-color: rgba(158,196,138,0.5);
  color: var(--ok);
  transform: scale(1.03);
}
.reset-lnk {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}
.reset-lnk:hover { color: var(--primary-soft); }

/* Detector progress section */
.detector-progress {
  background: #0d0d0d;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px 28px;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.det-spinner-circle {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(232, 184, 154, 0.15);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

.det-current-label {
  font-size: 14px;
  color: var(--muted);
  min-height: 20px;
  transition: opacity 0.25s ease;
}
.det-current-label strong {
  color: var(--primary-strong);
  font-weight: 600;
}

.det-progress-bar {
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  overflow: hidden;
}
.det-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), #f0a98c);
  animation: fillProgress linear forwards;
}
@keyframes fillProgress {
  from { width: 0%; }
  to { width: 100%; }
}

/* Caught detector chips */
.detector-chip.caught .dot { background: var(--danger); box-shadow: 0 0 8px rgba(217,119,87,0.55); }
.detector-chip.caught { color: var(--primary-strong); border-color: rgba(217,119,87,0.3); }

@keyframes chipPop {
  from { opacity: 0; transform: translateY(6px) scale(0.92); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.chip-reveal {
  opacity: 0;
  animation: chipPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Humanize gate */
.humanize-gate {
  background: linear-gradient(135deg, rgba(232,184,154,0.07) 0%, rgba(232,184,154,0.02) 100%);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 28px;
}

.gate-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #000;
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: transform 0.2s ease;
}
.gate-submit-btn:hover { transform: scale(1.03); }

.humanize-gate { display: flex; justify-content: center; }

@keyframes gateReveal {
  from { opacity: 0; transform: translateY(-8px); max-height: 0; }
  to   { opacity: 1; transform: translateY(0);    max-height: 100px; }
}


/* ---------- CLASS PROB PILLS ---------- */
.class-prob-pills {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.prob-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.prob-pill.prob-ai    { background: rgba(217,119,87,0.15); color: #d97757; border: 1px solid rgba(217,119,87,0.35); }
.prob-pill.prob-mixed { background: rgba(234,179,8,0.1);  color: #ca8a04; border: 1px solid rgba(234,179,8,0.3); }
.prob-pill.prob-human { background: rgba(158,196,138,0.1);color: #9ec48a; border: 1px solid rgba(158,196,138,0.3); }

/* ---------- SENTENCE HIGHLIGHT BOX ---------- */
.sentence-highlight-box {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 20px 22px;
  margin-top: 16px;
}
.sentence-highlight-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}
.sentence-legend {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: #8a8a7a;
}
.sentence-legend span { display: flex; align-items: center; gap: 5px; }
.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}
.sentence-text {
  font-size: 14px;
  line-height: 2;
  color: #c8c7b4;
}
.top-ai-sentences {
  margin-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 14px;
}
.top-ai-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a8a7a;
  margin-bottom: 10px;
}
.top-ai-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}
.top-ai-prob {
  font-size: 11px;
  font-weight: 800;
  color: #d97757;
  background: rgba(217,119,87,0.12);
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
  flex-shrink: 0;
}
.top-ai-text {
  font-size: 13px;
  color: #8a8a7a;
  line-height: 1.5;
}

/* ---------- AUTH MODAL ---------- */
.auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
}
.auth-modal {
  background: #131310;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 36px 32px;
  width: 100%;
  max-width: 400px;
  position: relative;
}
.auth-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: #8a8a7a;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}
.auth-close:hover { color: #c8c7b4; }
.auth-header { margin-bottom: 24px; }
.auth-title { font-size: 20px; font-weight: 800; color: #e8e7d4; letter-spacing: -0.02em; margin-bottom: 4px; }
.auth-sub { font-size: 13px; color: #8a8a7a; }
/* pas 396: nota din browserele încorporate (Instagram/TikTok), în locul butonului Google */
.auth-inapp-note { font-size: 13px; line-height: 1.5; color: var(--muted); text-align: center; padding: 10px 12px; margin-bottom: 14px; border: 1px dashed rgba(255,255,255,0.14); border-radius: 12px; }
.auth-google-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  color: #1a1a1a;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.15s;
}
.auth-google-btn:hover { opacity: 0.9; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: #8a8a7a;
  font-size: 12px;
}
.auth-divider::before, .auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.07);
}
.auth-tabs {
  display: flex;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}
.auth-tabs button {
  flex: 1;
  background: transparent;
  border: none;
  color: #8a8a7a;
  font-size: 13px;
  font-weight: 600;
  padding: 9px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}
.auth-tabs button.active { background: rgba(255,255,255,0.07); color: #e8e7d4; }
.auth-form { display: flex; flex-direction: column; gap: 10px; }
.auth-input {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px;
  padding: 12px 14px;
  color: #e8e7d4;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.auth-input:focus { border-color: rgba(232,184,154,0.5); }
.auth-input::placeholder { color: #8a8a7a; }
.auth-error { font-size: 12px; color: #d97757; padding: 2px 0; }
.auth-submit-btn {
  background: var(--primary);
  color: #0a0a08;
  border: none;
  border-radius: 10px;
  padding: 13px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  margin-top: 4px;
  transition: opacity 0.15s;
}
.auth-submit-btn:hover { opacity: 0.9; }
.auth-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.auth-marketing-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  font-size: 13.5px; /* pas 347d (Gabriella): era 12px, prea mic si sters; aliniat cu .auth-sub */
  font-weight: 500;
  color: rgba(222, 219, 200, 0.72);
  line-height: 1.5;
  padding: 2px 0;
}
.auth-marketing-label:hover { color: rgba(222, 219, 200, 0.9); }
.auth-marketing-check {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* ---------- LIMIT CARD ---------- */
.limit-card {
  background: rgba(217,119,87,0.07);
  border: 1px solid rgba(217,119,87,0.2);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  margin-top: 8px;
}
.limit-title { font-size: 16px; font-weight: 700; color: #e8e7d4; margin-bottom: 6px; }
.limit-sub { font-size: 13px; color: #8a8a7a; margin-bottom: 16px; }

/* ---------- TOAST ---------- */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  pointer-events: none;
}
.toast {
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  max-width: 420px;
  text-align: center;
  animation: toast-in 0.2s ease;
  pointer-events: auto;
}
.toast--error {
  background: #2a1212;
  border: 1px solid rgba(220,60,60,0.4);
  color: #f87171;
}
.toast--success {
  background: #0f2018;
  border: 1px solid rgba(74,180,120,0.4);
  color: #4ade80;
}
@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- AUTH FORGOT PASSWORD LINK ---------- */
.auth-forgot-link {
  background: none;
  border: none;
  color: #8a8a7a;
  font-size: 12.5px;
  cursor: pointer;
  padding: 4px 0;
  margin-top: -4px;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}
.auth-forgot-link:hover:not(:disabled) {
  color: #e8e7d4;
}
.auth-forgot-link:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ========================================
   ADMIN DASHBOARD
   ======================================== */
.appsidebar-item--admin {
  color: #c8a882;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 4px;
  padding-top: 12px;
}
.admin-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.85);
  overflow-y: auto;
  padding: 24px 12px;
}
.admin-modal {
  max-width: 1200px;
  margin: 0 auto;
  background: #0f0f0d;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 28px;
  color: #e8e7d4;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  position: relative;
}
.admin-close {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: #b0af9e;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.admin-close:hover { background: rgba(255,255,255,0.05); }

/* ---------- TESTER WARNING BANNER (long text warning) ---------- */
.tester-warning-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(234,179,8,0.08);
  border: 1px solid rgba(234,179,8,0.25);
  border-radius: 10px;
  padding: 10px 14px;
  margin: 0 0 12px;
  font-size: 12.5px;
  color: #fbbf24;
  line-height: 1.5;
}

/* ============================================================
   Result comparison card — responsive (mobile = stack vertical)
   ============================================================ */
.result-compare-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 8px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.result-compare-arrow {
  font-size: 28px;
  color: #E8B89A;
  font-weight: 300;
  padding-top: 30px;
  text-align: center;
}
@media (max-width: 520px) {
  .result-compare-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    max-width: 320px;
  }
  .result-compare-arrow {
    transform: rotate(90deg);
    padding-top: 8px;
    font-size: 22px;
    opacity: 0.7;
  }
}

/* Plagiarism report: side-by-side snippet (mine | source) falls to single column on narrow screens */


/* BR: staged demo-scan overlay over the blurred tester input (pas 36). */
.tester-textarea-wrap { position: relative; }
.demo-scan-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 6; background: rgba(10,10,8,0.28); border-radius: 12px; pointer-events: none; }
.demo-scan-msg { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: #e8e7d4; letter-spacing: 0.01em; animation: demoMsgIn 0.45s ease; text-align: center; padding: 0 18px; }
.demo-scan-spin { width: 15px; height: 15px; border-radius: 50%; border: 2px solid rgba(232,184,154,0.25); border-top-color: #E8B89A; animation: demoSpin 0.8s linear infinite; flex: none; }
.demo-scan-spin--btn { border-color: rgba(0,0,0,0.25); border-top-color: #000; }
.demo-scan-check { width: 20px; height: 20px; border-radius: 50%; background: #E8B89A; color: #0a0a08; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex: none; }
@keyframes demoSpin { to { transform: rotate(360deg); } }
@keyframes demoMsgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) { .demo-scan-msg { font-size: 13.5px; } }

/* BR: the paste box gets ~18% more min-height everywhere (owner) —
   base 240px -> 285px; phones keep the same bump. */
.tester-full-pane { min-height: 285px; }

/* BR auth modal skin (pas 38): wider and calmer than RO — taller controls,
   softer chrome, centered header; logic untouched. */
.auth-modal { max-width: 540px; padding: 36px 34px 30px; border-radius: 26px; }
.auth-header { margin-bottom: 20px; text-align: center; }
.auth-title { font-size: 21px; font-weight: 700; }
.auth-sub { font-size: 13.5px; color: rgba(222,219,200,0.6); margin-top: 6px; }
.auth-google-btn { height: 56px; padding: 0 16px; border-radius: 14px; font-size: 15px; }
.auth-divider { margin: 16px 0; }
.auth-tabs { border-radius: 12px; margin-bottom: 14px; }
.auth-tabs button { padding: 12px; font-size: 13.5px; }
.auth-input { height: 54px; padding: 0 16px; border-radius: 12px; font-size: 14.5px; }
.auth-submit-btn { height: 56px; padding: 0 16px; border-radius: 14px; font-size: 15px; font-weight: 700; }
@media (max-width: 640px) {
  .auth-modal { max-width: none; padding: 30px 22px 24px; max-height: 92vh; overflow-y: auto; }
}

/* ── audit F-062: miscare redusa + tinte tactile ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
@media (pointer: coarse) {
  .nav-links a { min-height: 44px; display: inline-flex; align-items: center; }
  .auth-close, .pricing-modal-close { width: 44px; height: 44px; }
  .tester-style-chip { height: 40px; }
  .footer-link { display: inline-block; padding: 8px 0; }
}

/* Audit 2 (15 sept 2026): urma downgrade-ului programat în Planos (linie sub pilula „plano atual”) */
.pl-current-pending { display: block; margin-top: 6px; font-size: 12.5px; color: #b0af9e; }

/* ---------- SIMULAR BANCA (pas 187) ---------- */
.banca-page { width: 100%; max-width: 860px; margin: 0 auto; padding: 8px 28px 56px; }
/* pas 194–196: starea inițială Simular banca (compoziție VivaCoach, paleta și tipografia Ideom) */
.banca-page--upload.vc { display: block; max-width: 1180px; padding: 18px 28px 64px; min-height: auto; }
.vc-accent { color: var(--primary); }
.vc-title { font-family: inherit; font-weight: 800; font-size: clamp(26px, 3vw, 32px); letter-spacing: -0.02em; color: var(--primary-strong); margin: 0 0 6px; line-height: 1.15; }
.vc-tagline { font-size: 14px; font-weight: 500; color: var(--muted); margin: 0 0 36px; line-height: 1.5; }
.vc-practice { background: rgba(255,255,255,0.025); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(225,224,204,0.14); border-radius: 22px; padding: 72px 40px 64px; text-align: center; cursor: pointer; transition: background .18s ease, border-color .18s ease; }
.vc-practice:hover, .vc-practice.is-over { background: rgba(255,255,255,0.045); border-color: rgba(225,224,204,0.22); }
.vc-practice-title { font-family: inherit; font-weight: 800; font-size: 24px; letter-spacing: -0.02em; color: var(--primary-strong); margin: 0 0 14px; }
.vc-practice-text { font-size: 15px; line-height: 1.6; color: var(--primary-soft); max-width: 520px; margin: 0 auto 32px; }
/* butonul = .tester-action-primary („Reescrever texto”), la scara unui CTA */
.vc-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--primary); border: 1px solid var(--primary); color: #1a1a16; border-radius: 999px; padding: 0 28px; height: 46px; font-size: 14px; font-weight: 700; letter-spacing: 0.01em; cursor: pointer; font-family: inherit; transition: all 0.18s ease; }
.vc-cta:hover:not(:disabled) { background: var(--primary-strong); border-color: var(--primary-strong); transform: translateY(-1px); }
.vc-cta:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.vc-cta span { font-size: 18px; line-height: 1; }
.vc-last { margin-top: 12px; background: none; border: 0; color: var(--primary); font-weight: 700; font-size: 13px; cursor: pointer; font-family: inherit; }
.vc-practice .banca-error { text-align: left; max-width: 560px; margin: 16px auto 0; }
.vc-privacy { margin-top: 14px; font-size: 12.5px; font-style: italic; color: var(--muted); text-align: center; letter-spacing: 0.01em; }
@media (max-width: 900px) {
  .banca-page--upload.vc { padding: 8px 16px 48px; }
  .vc-title { font-size: 26px; }
  .vc-practice { padding: 48px 20px 40px; }
  .vc-practice-text { font-size: 14.5px; }
  .vc-cta { padding: 0 22px; height: 42px; font-size: 13.5px; }
}
/* pas 349c (Final Check D-04): două „}" în plus anulau regula de mai jos din pas 190; regula era DEPĂȘITĂ de layout-ul în două
   coloane (pas 263) și, reactivată, urca blocul cu ~40 px față de ecranul aprobat de testere → scoasă, aspectul live rămâne identic. */
/* pas 190 (înlocuit de pas 263): .scan-embedded-upload { min-height: calc(100vh - 150px) !important; flex: 0 0 auto !important; }
   .scan-embedded-upload > div { padding-top: 0 !important; padding-bottom: 32px !important; } */

/* pas 263: upload Raio-X în două coloane (stânga = upload, dreapta = previzualizarea copertei raportului DEMO) */
.scan-upload-grid { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.exemplo { width: 100%; max-width: 600px; }
/* pas 264: coperta reală a raportului, decupată și micșorată (zoom păstrează layout-ul, deci containerul are înălțimea corectă) */
.exemplo-clip { width: 880px; max-width: none; margin: 0 auto; pointer-events: none; user-select: none; }
.exemplo-clip > div { overflow: visible !important; display: block !important; min-height: 0 !important; background: transparent !important; }
.exemplo-clip .fr-topbar { display: none !important; }
.exemplo-clip .fr-paper { margin: 0 !important; width: 840px !important; max-width: 840px !important; }
.exemplo-clip .fr-paper > *:not(.fr-cover-head):not(.fr-cover-result) { display: none !important; }
.exemplo-clip [style*="overflow"]:not(.fr-paper) { overflow: visible !important; }
.exemplo-clip .fr-paper { overflow: hidden !important; box-shadow: none !important; border: 0 !important; clip-path: inset(0 round 12px); } /* pas 268c: clip-path taie exact pe raza, fara slivere de 1 px la zoom fractionar */
.exemplo-clip .fr-paper ~ * { display: none !important; } /* pas 268c: nimic sub hârtie (linia de 1 px din colțuri) */
.exemplo-cta { display: flex; justify-content: center; margin-top: 18px; }
.exemplo-btn { background: #E8B89A; color: #0a0a08; border: 0; border-radius: 10px; padding: 12px 18px; font-size: 13.5px; font-weight: 800; cursor: pointer; font-family: inherit; }
.exemplo-btn:hover:not(:disabled) { background: #f0c8ae; }
.exemplo-btn:disabled { opacity: 0.5; cursor: default; }
/* pas 268: modul Exemplo, discret — etichetă mută + buton fantomă în bara de titlu (fără banner) */
.exemplo-chip { flex: 0 0 auto; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); border: 1px solid rgba(225, 224, 204, 0.18); padding: 3px 8px; border-radius: 4px; }
.exemplo-ghost { flex: 0 0 auto; background: #E8B89A; border: 1px solid #E8B89A; color: #0a0a08; padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; cursor: pointer; font-family: inherit; } /* pas 268b (owner): peach plin */
.exemplo-ghost:hover { background: #f0c8ae; border-color: #f0c8ae; }
@media (min-width: 1100px) {
  .scan-upload-grid { display: grid; grid-template-columns: minmax(0, 500px) minmax(0, 600px); justify-content: center; align-items: center; gap: 44px; }
  .exemplo { max-width: none; }
}
@media (max-width: 900px) {
  /* pas 357 (owner): coperta-exemplu a raportului apare și pe telefon, micșorată la lățimea ecranului */
  .exemplo-cta { margin-top: 14px; }
}
@media (max-width: 900px) { .scan-embedded-upload { min-height: calc(100vh - 230px) !important; } }
.banca-muted { font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.banca-privacy { margin-top: 18px; }
.banca-error { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(224,123,90,0.10); border: 1px solid rgba(224,123,90,0.35); color: #f0b8a4; font-size: 13.5px; line-height: 1.5; }
.banca-warn { margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; background: rgba(232,184,154,0.08); border: 1px solid rgba(232,184,154,0.3); color: #e8d6c4; font-size: 13px; line-height: 1.5; }
.banca-levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; }
.banca-level { text-align: left; background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 24px 22px; cursor: pointer; color: var(--primary-soft); font-family: inherit; display: flex; flex-direction: column; gap: 8px; transition: border-color .15s, background .15s; }
/* pas 376 (owner, 3 oct): FĂRĂ culori pe niveluri (verde/galben/roșu „enervează”) — hover și selecție ca la chip-urile de întrebări (peach) */
.banca-level:hover { border-color: rgba(255,255,255,0.22); }
.banca-level strong { color: var(--primary-strong); font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.banca-level span { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.banca-level.is-on, .banca-level.is-on:hover { box-shadow: none; border-color: #E8B89A; background: rgba(232,184,154,0.10); }
.banca-level.is-on strong { color: #E8B89A; }
.banca-btn { background: #E8B89A; color: #0a0a08; border: 0; border-radius: 999px; padding: 13px 24px; font-weight: 800; font-size: 14px; cursor: pointer; font-family: inherit; }
.banca-btn:disabled { opacity: .5; cursor: default; }
.banca-btn--ghost { background: transparent; color: var(--primary-strong); border: 1px solid var(--line-strong); font-weight: 700; }
.banca-progress { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; text-align: center; padding: 24px; }
.banca-spinner { width: 56px; height: 56px; border-radius: 999px; border: 3px solid rgba(255,255,255,0.08); border-top-color: #E8B89A; animation: banca-spin 0.9s linear infinite; }
@keyframes banca-spin { to { transform: rotate(360deg); } }
.banca-progress-text { font-size: 16px; color: var(--primary-soft); }
.banca-dossie { margin: 0 0 22px; }
.banca-dossie-toggle { background: none; border: 0; color: #E8B89A; font-weight: 700; font-size: 13px; cursor: pointer; padding: 0; font-family: inherit; }
.banca-dossie-body { margin-top: 12px; background: #131311; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; font-size: 14px; line-height: 1.6; color: var(--primary-soft); }
.banca-dossie-body p { margin: 0 0 12px; }
.banca-dossie-body dl { margin: 0; display: grid; grid-template-columns: 150px 1fr; gap: 6px 14px; }
.banca-dossie-body dt { color: var(--muted); font-size: 12.5px; }
.banca-dossie-body dd { margin: 0; }
.banca-cite { margin: 0 0 10px; padding: 8px 0 8px 12px; border-left: 2px solid rgba(232,184,154,0.5); color: var(--primary-soft); font-size: 13.5px; line-height: 1.55; font-style: italic; }
@media (max-width: 720px) {
  .banca-page { padding: 8px 16px 48px; }
  .banca-levels { grid-template-columns: 1fr; }
  .banca-dossie-body dl { grid-template-columns: 1fr; }
}


/* ---------- SIMULAR BANCA — pasul 2 „Nova sessão” (pas 204) ---------- */
.banca-page.ns { max-width: 860px; }
.banca-page.ns { position: relative; }
.ns-close { position: absolute; top: 6px; right: 28px; width: 34px; height: 34px; border-radius: 999px; background: transparent; border: 1px solid rgba(255,255,255,0.10); color: var(--muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.ns-close:hover { color: var(--primary-strong); border-color: rgba(255,255,255,0.24); }
.ns-title { font-size: clamp(28px, 3.2vw, 36px); font-weight: 800; letter-spacing: -0.02em; color: var(--primary-strong); margin: 0 0 8px; line-height: 1.15; }
.ns-sub { font-size: 15px; color: var(--muted); margin: 0 0 30px; line-height: 1.5; }
.ns-label { display: block; font-size: 15px; font-weight: 500; color: var(--primary-strong); margin: 26px 0 12px; }
.ns-req { color: var(--primary); }
.ns-input { width: 100%; box-sizing: border-box; background: #0f0f0d; color: var(--primary-strong); border: 1px solid var(--line-strong); border-radius: 14px; padding: 15px 18px; font-size: 15px; font-family: inherit; outline: none; transition: border-color .15s; }
.ns-input:focus { border-color: rgba(232,184,154,0.6); }
.ns-zone { position: relative; border: 2px dashed rgba(255,255,255,0.15); border-radius: 14px; background: rgba(255,255,255,0.02); padding: 26px 24px 22px; text-align: center; }
.ns-zone-icon { width: 52px; height: 52px; border-radius: 12px; background: rgba(232,184,154,0.14); color: #E8B89A; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.ns-zone-name { font-size: 15px; font-weight: 700; color: var(--primary-strong); word-break: break-word; }
.ns-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.ns-chip { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 74px; height: 58px; padding: 0 16px; border-radius: 12px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.10); color: var(--muted); font-size: 15px; font-weight: 500; cursor: pointer; font-family: inherit; transition: border-color .15s, color .15s, background .15s; }
.ns-chip:hover { border-color: rgba(255,255,255,0.22); color: var(--primary-strong); }
.ns-chip.is-on { border-color: #E8B89A; color: #E8B89A; background: rgba(232,184,154,0.10); font-weight: 600; }
.ns-chip.is-locked { cursor: default; }
.ns-chip.is-locked:hover { border-color: rgba(255,255,255,0.10); color: var(--muted); }
.ns-chip svg { opacity: .7; }
.ns-cta { width: 100%; margin-top: 30px; background: var(--primary); border: 1px solid var(--primary); color: #1a1a16; border-radius: 16px; padding: 18px 24px; font-size: 16px; font-weight: 800; letter-spacing: -0.01em; cursor: pointer; font-family: inherit; transition: all 0.18s ease; }
.ns-cta:hover:not(:disabled) { background: var(--primary-strong); border-color: var(--primary-strong); transform: translateY(-1px); }
.ns-cta:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
@media (max-width: 720px) {
  .ns-chip { min-width: 60px; height: 54px; }
}

/* ---------- SIMULAR BANCA — pasul 4 „sessão de prática” (pas 274) ---------- */
.bs-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; padding-right: 52px; margin: 10px 0 18px; }
.bs-title { font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; letter-spacing: -0.02em; color: var(--primary-strong); margin: 0; line-height: 1.15; }
.bs-head-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.bs-level { font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary-soft); background: rgba(255,255,255,0.06); border-radius: 999px; padding: 7px 13px; }
.bs-count { font-size: 16px; color: var(--primary-strong); font-variant-numeric: tabular-nums; }
.bs-count em { font-style: normal; color: var(--muted); margin: 0 3px; }
.bs-bar { height: 3px; background: rgba(255,255,255,0.08); border-radius: 999px; overflow: hidden; margin-bottom: 40px; }
.bs-bar > div { height: 100%; background: #E8B89A; transition: width .3s ease; }
.bs-notice { background: rgba(232,184,154,0.06); border: 1px solid rgba(232,184,154,0.22); border-radius: 14px; padding: 18px 22px; font-size: 15px; line-height: 1.55; color: var(--primary-soft); margin-bottom: 30px; }
.bs-card { background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 36px 40px 40px; margin-bottom: 34px; }
.bs-tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #E8B89A; background: rgba(232,184,154,0.12); border-radius: 8px; padding: 7px 12px; margin-bottom: 26px; }
.bs-q { font-size: clamp(18px, 1.9vw, 21px); line-height: 1.5; font-weight: 500; color: var(--primary-strong); margin: 0; }
.bs-label { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.bs-answer { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 28px; align-items: start; }
.bs-answer--text { grid-template-columns: minmax(0, 1fr); }
.bs-mic-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.bs-mic { width: 230px; height: 230px; border-radius: 999px; background: radial-gradient(circle at 50% 40%, rgba(255,255,255,0.05), rgba(255,255,255,0.015) 70%); border: 1px solid rgba(255,255,255,0.10); color: var(--primary-strong); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color .15s, background .15s; }
.bs-mic:hover { border-color: rgba(232,184,154,0.5); }
.bs-mic.is-on { border-color: #E8B89A; color: #E8B89A; background: rgba(232,184,154,0.08); animation: bs-pulse 1.6s ease-out infinite; }
@keyframes bs-pulse { 0% { box-shadow: 0 0 0 0 rgba(232,184,154,0.35); } 100% { box-shadow: 0 0 0 18px rgba(232,184,154,0); } }
.bs-mic-label { font-size: 14px; color: var(--muted); }
.bs-textarea { width: 100%; box-sizing: border-box; min-height: 268px; resize: vertical; background: rgba(255,255,255,0.02); color: var(--primary-strong); border: 1px solid rgba(255,255,255,0.10); border-radius: 16px; padding: 20px 22px; font-size: 16px; line-height: 1.55; font-family: inherit; outline: none; transition: border-color .15s; }
.bs-textarea::placeholder { color: var(--muted); }
.bs-textarea:focus { border-color: rgba(232,184,154,0.55); }
.bs-submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; margin-top: 34px; }
.bs-given { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.10); border-radius: 16px; padding: 18px 22px; font-size: 15.5px; line-height: 1.6; color: var(--primary-strong); white-space: pre-wrap; margin-bottom: 28px; }
.bs-review { display: grid; gap: 22px; }
.bs-block span { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #E8B89A; margin-bottom: 8px; }
.bs-block p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--primary-soft); }
.bs-block ul { margin: 0; padding-left: 20px; font-size: 15px; line-height: 1.6; color: var(--primary-soft); }
.bs-block li { margin-bottom: 6px; }
.bs .banca-cite { margin: 0; }
.bs-soon { font-size: 13px; color: var(--muted); }
/* pas 395 (final check 3 oct): reîncercarea parecerului după o eroare tranzitorie */
.bs-fb-retry { display: inline-block; margin-left: 6px; padding: 4px 12px; min-height: 32px; border: 1px solid #E8B89A; border-radius: 999px; background: transparent; color: #E8B89A; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.bs-fb-retry:hover { background: rgba(232,184,154,0.12); }
.bs-recap { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; }
.bs-recap-n { font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #E8B89A; margin-bottom: 8px; }
.bs-recap-q { font-size: 16px; line-height: 1.5; font-weight: 500; color: var(--primary-strong); margin: 0 0 10px; }
.bs-recap-a { font-size: 14.5px; line-height: 1.6; color: var(--primary-soft); margin: 0; white-space: pre-wrap; }
.banca-locked { display: flex; gap: 12px; align-items: center; margin-top: 22px; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.08); color: var(--muted); }
.banca-locked strong { display: block; color: var(--primary-strong); font-size: 14.5px; font-weight: 600; }
.banca-locked span { font-size: 13px; }
.bs-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.bs .banca-dossie { margin: 22px 0 0; }
.bs .ns-sub { margin-top: -10px; }
/* pas 293/297: pachetul „Banca completa” = card de plan (.pl-card din Planos) + contor sesiuni + butoane de deblocare */
.bpack { margin-top: 34px; max-width: 420px; }
.bpack--compact { margin-left: auto; margin-right: auto; }
.ns-credits { margin-top: 12px; font-size: 13.5px; color: var(--primary-soft); }
.ns-credits::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 999px; background: #9ec48a; margin-right: 8px; vertical-align: 1px; }
.banca-locked { flex-wrap: wrap; }
.banca-locked-cta { margin-left: auto; padding: 10px 18px; font-size: 13px; }
.bs-notice-link { display: inline-block; margin-left: 10px; background: none; border: 0; padding: 0; color: #E8B89A; font-weight: 700; font-size: 14px; cursor: pointer; font-family: inherit; }
.bs-notice-link:hover { text-decoration: underline; }
.bpack-modal { position: fixed; inset: 0; z-index: 1000; background: rgba(10,10,8,0.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.bpack-modal-box { position: relative; width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; background: #111110; border: 1px solid #2a2a24; border-radius: 20px; padding: 26px 24px 22px; }
.bpack-modal-box { max-width: 440px; padding: 0; background: transparent; border: 0; }
.bpack-modal-box .bpack { margin: 0; max-width: none; }
.bpack-modal-close { top: 14px; right: 14px; z-index: 2; }
@media (max-width: 720px) {
  .banca-locked-cta { margin-left: 0; width: 100%; }
}
/* pas 286: parecerul băncii (banca-feedback) pe ecranul review + nota pe recap */
.bs-fb { position: relative; border-radius: 16px; padding: 22px 24px; margin-bottom: 26px; background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.10); display: grid; gap: 16px; }
.bs-fb--forte { border-color: rgba(158,196,138,0.45); background: rgba(158,196,138,0.05); }
.bs-fb--parcial { border-color: rgba(232,196,110,0.45); background: rgba(232,196,110,0.05); }
.bs-fb--fraca { border-color: rgba(224,123,90,0.45); background: rgba(224,123,90,0.05); }
.bs-fb--loading { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14.5px; }
.banca-spinner--sm { width: 20px; height: 20px; border-width: 2px; flex-shrink: 0; }
.bs-fb-head { display: flex; align-items: center; gap: 16px; }
.bs-fb-nota { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--primary-strong); font-variant-numeric: tabular-nums; }
.bs-fb-nota span { font-size: 15px; font-weight: 600; color: var(--muted); margin-left: 2px; }
.bs-fb-ver { font-size: 15px; font-weight: 700; color: var(--primary-strong); }
.bs-fb--forte .bs-fb-ver { color: #9ec48a; } .bs-fb--parcial .bs-fb-ver { color: #e8c46e; } .bs-fb--fraca .bs-fb-ver { color: #e07b5a; }
.bs-fb-sub { font-size: 12px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; margin-top: 2px; }
.bs-fb-parecer { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--primary-strong); }
.bs-fb .bs-block span { color: var(--muted); }
.bs-block--ok li::marker { color: #9ec48a; } .bs-block--miss li::marker { color: #e07b5a; }
.bs-fb-dica { font-size: 14px; line-height: 1.55; color: var(--primary-soft); border-top: 1px solid rgba(255,255,255,0.08); padding-top: 14px; }
.bs-fb-dica strong { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #E8B89A; margin-bottom: 4px; }
.bs-recap-nota { font-style: normal; margin-left: 10px; padding: 2px 8px; border-radius: 999px; font-size: 11px; letter-spacing: 0.04em; background: rgba(255,255,255,0.06); color: var(--primary-strong); }
.bs-recap-nota--forte { background: rgba(158,196,138,0.14); color: #9ec48a; } .bs-recap-nota--parcial { background: rgba(232,196,110,0.14); color: #e8c46e; } .bs-recap-nota--fraca { background: rgba(224,123,90,0.14); color: #e07b5a; }
/* pas 277/278: cardul sesiunii salvate pe ecranul de upload (referință „IN PROGRESS", variantă premium compactă) */
.bsess { margin: 40px 0 0; text-align: left; }
/* pas 377 (owner): cardul sesiunii = referința „IN PROGRESS”, minimalist — fără gradient, fără bară laterală, fără procent mare */
.bsess-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.bsess-card { display: block; width: 100%; text-align: left; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.10); border-radius: 16px; padding: 20px 22px 16px; cursor: pointer; color: var(--primary-soft); font-family: inherit; transition: border-color .18s; }
.bsess-card:hover { border-color: rgba(232,184,154,0.45); }
.bsess-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.bsess-title { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; color: var(--primary-strong); line-height: 1.35; min-width: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bsess-lvl { flex-shrink: 0; font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #E8B89A; background: rgba(232,184,154,0.12); border-radius: 999px; padding: 5px 10px; margin-top: 1px; }
.bsess-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 13.5px; font-weight: 600; color: var(--primary-strong); margin-bottom: 10px; }
.bsess-pct { font-size: 13.5px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.bsess-card .bs-bar { margin: 0 0 16px; height: 3px; }
.bsess-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 13px; color: var(--muted); }
.bsess-foot svg { color: #E8B89A; transition: transform .18s; }
.bsess-card:hover .bsess-foot svg { transform: translateX(3px); }
@media (max-width: 720px) {
  .bsess { margin-top: 26px; }
  .bsess-card { padding: 16px 16px 14px; }
}

@media (max-width: 720px) {
  .bs-card { padding: 26px 22px 28px; border-radius: 16px; }
  .bs-head { flex-direction: column; align-items: flex-start; gap: 10px; padding-right: 44px; }
  .bs-bar { margin-bottom: 26px; }
  .bs-answer { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .bs-mic { width: 120px; height: 120px; }
  .bs-mic svg { width: 30px; height: 30px; }
  .bs-textarea { min-height: 200px; }
}

/* ---------- pas 352 (owner, 1 oct 2026): landing pe MOBIL, mai puțin și mai aerisit; desktopul (≥ 900 px) rămâne neatins ---------- */
.video-play-fallback {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 999px; border: none; z-index: 6;
  background: rgba(232,184,154,0.95); color: #0a0a08; display: grid; place-items: center;
  cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,0.45); padding: 0 0 0 3px;
}
.hero-content { transition: padding-bottom 0.3s ease; }
.m-only { display: none !important; }
@media (max-width: 899px) {
  .m-only { display: block !important; }
  .section-title.m-only { display: flex !important; }
  .m-hide { display: none !important; }
  /* pe mobil numele produsului e etichetă mică (ca „VEJA COMO FICA…"), nu cuvânt bold uriaș; sloganul rămâne titlul */
  .dv-section .dv-fused .dv-brand-name { font-size: 11px !important; font-weight: 400 !important; letter-spacing: 0.18em !important; text-transform: uppercase; line-height: 1.4 !important; margin-bottom: 12px !important; }
  .dv-section .dv-fused .dv-brand-name span { color: #E8B89A !important; }
  .dv-fused h2 { font-size: 24px !important; }
  /* un singur ton de card pe mobil (pașii 01/02/03 erau aproape negri, cardurile de sub astronaut mult mai deschise) */
  .step-card, .feature-card { background: var(--card-bg-2); }
  /* 1. bannerul de cookies acoperea butonul din hero: cât e afișat, conținutul hero-ului urcă; bannerul e mai scund */
  body.cookie-pending .hero-content { padding-bottom: 150px; }
  .cookie-banner-content { padding: 10px 12px; gap: 8px; }
  .cookie-banner-text { font-size: 12px; line-height: 1.4; }
  .cookie-btn { padding: 8px 10px; font-size: 12px; }
  /* 2. tester: titlu mai mic; eticheta mai aproape de titlu (era 32 px, la celelalte secțiuni 14–18) */
  .tester-head .section-title { font-size: 28px !important; line-height: 1.05; }
  .tester-head { gap: 0; }
  /* 3. mockup: doar „Visão geral", fără exemplele din raport; cardul cu CTA imediat sub el */
  .dv-section .dv-rx-examples { display: none !important; }
  .dv-section .dv-rx-list { margin-bottom: 0 !important; }
  .dv-section .dv-inner { margin-top: 28px !important; }
  section#docvertical.dv-section { padding-bottom: 28px !important; }
  /* 4. demo: rămâne pe mobil (owner, 1 oct: videoclipul pt-BR vine curând) */
  /* 5. „Do rascunho à entrega": compact */
  #how.section { padding: 20px 16px 28px !important; } /* golul până la astronaut: 65 → 52 px */
  .about-card { padding: 36px 20px; border-radius: 20px; }
  .section-title--long { font-size: 24px !important; }
  .about-paragraph { margin-top: 18px; font-size: 13.5px; }
  .steps-grid { margin-top: 24px; gap: 10px; }
  .step-card { padding: 16px 18px; min-height: 0; gap: 8px; }
  .step-num { font-size: 22px; }
  .step-title { font-size: 17px; }
  .step-illu { display: none; }
  /* 6. „Feito para o seu TCC": pe mobil fără capul secțiunii; cardul vizual + cele două carduri cu bife RĂMÂN (owner, 1 oct) */
  .features-section { padding: 24px 16px 32px !important; }
  .features-head { display: none; }
  /* 7. FAQ: font mai mic; doar cele 6 întrebări marcate pentru mobil (owner: fără „vezi toate") */
  .faq-section { padding: 40px 16px 32px; }
  .faq-head { margin-bottom: 20px; }
  .faq-head h2 { font-size: 28px; }
  .faq-q { font-size: 15px; padding: 16px 0; }
  .faq-item--desktop { display: none; }
  /* 8. footer: grupurile una sub alta, fiecare cu linkurile pe două coloane și o linie deasupra;
        fără border-top pe footer (ultima întrebare din FAQ are deja linia ei → linie dublă) */
  .footer { padding: 32px 20px 0; border-top: none; }
  /* varianta A (owner, 1 oct): două coloane fără linii: stânga Links úteis + Legal, dreapta Recursos */
  .footer-main {
    grid-template-columns: 1fr 1fr !important; gap: 8px 20px !important; padding-bottom: 28px;
    grid-template-areas: "brand brand" "links rec" "legal rec";
  }
  .footer-brand-col { grid-area: brand; padding-bottom: 8px; }
  .footer-main > .footer-col:nth-child(2) { grid-area: links; }
  .footer-main > .footer-col:nth-child(3) { grid-area: rec; }
  .footer-main > .footer-col:nth-child(4) { grid-area: legal; }
  .footer-col { display: flex; flex-direction: column; gap: 0; padding: 10px 0 0; border-top: none; align-self: start; }
  .footer-col-title { margin-bottom: 4px; }
  .footer-link { font-size: 13px; line-height: 1.3; padding: 6px 0; }
  /* 9. hero: rama puțin mai lată pe mobil (12 px în loc de 16; owner: „la mijloc") */
  .hero { padding: 12px; }
  .hero-frame { border-radius: 18px; }
  /* 10. iPhone Safari: 100vh = ecranul cu bara de jos ascunsă → la încărcare butonul din hero stătea în spatele barei.
        Pe mobil hero-ul ia înălțimea VIZIBILĂ (100svh); conținutul rămâne și puțin ridicat de la marginea de jos. */
  .hero { height: min(var(--hero-h, 100svh), 100svh); min-height: min(var(--hero-h, 100svh), 100svh); }
  .hero-content { padding-bottom: 12px; } /* butonul chiar jos, ultima piesă a hero-ului; nimic din secțiunea următoare (owner) */
  /* 11. navbarul nu mai stă lipit de marginea de sus a ramei (12 px = cât rama): puțin mai jos */
  .navbar { top: 22px; }
  .footer-main { grid-template-columns: 1fr !important; gap: 0 !important; padding-bottom: 32px; }
  .footer-brand-col { padding-bottom: 20px; }
}
}

/* pas 357 · raportul „Análise por frase” pe mobil: rânduri mai strânse și benzi colorate care nu se mai lipesc între ele */
@media (max-width: 899px) {
  .sentence-text { font-size: 14.5px; line-height: 1.8; }
  .sentence-text > span { -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 2px 3px !important; margin-right: 1px; }
  .sentence-highlight-head { flex-wrap: wrap; gap: 8px; }
  .top-ai-sentences { margin-top: 14px; }
}

/* pas 357 · Histórico pe mobil: eticheta de stare deasupra datei, data nu se mai rupe */
@media (max-width: 899px) {
  .hist-card-title { gap: 6px 10px; font-size: 13.5px; }
  .hist-card-title > span:last-child { flex-basis: 100%; }
  .hist-page { padding: 12px 16px 40px; }
}

/* pas 357 (owner): bara de jos — indicatorul activ era o casetă strâmtă lipită de iconiță; acum pastilă mai lată, iconițe uniforme */
@media (max-width: 899px) {
  .shell-bottomnav-icon { width: 52px; height: 30px; border-radius: 999px; }
  .shell-bottomnav-icon svg { width: 21px; height: 21px; }
  .shell-bottomnav-item { gap: 4px; }
}

/* pas 363: declarația de confidențialitate (Raio-X, Simular banca, Analisar texto) */
.privacy-note { display: flex; align-items: flex-start; justify-content: center; gap: 8px; max-width: 520px; font-size: 13px; line-height: 1.5; color: var(--muted); font-weight: 500; text-align: left; } /* pas 381 (owner): notă discretă peste tot (Analisar, Raio-X, banca), nu peach */
.privacy-note svg { flex: 0 0 auto; margin-top: 3px; opacity: 0.9; }

/* ── pas 365: „Como você conheceu a Ideom?” — popup o singură dată, la prima intrare după crearea contului ── */
/* ── pas 391 (owner): „Como você conheceu a Ideom?” — desktop: card lat, pătrățos, 2 coloane; mobil: bottom sheet înalt ── */
.hf-back { position: fixed; inset: 0; z-index: 1200; background: rgba(10,10,8,0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 20px; animation: heard-fade 0.2s ease; }
@keyframes heard-fade { from { opacity: 0; } to { opacity: 1; } }
.hf { position: relative; width: 100%; max-width: 620px; background: #111110; border: 1px solid #2a2a24; border-radius: 20px; padding: 30px 30px 26px; box-shadow: 0 24px 70px rgba(0,0,0,0.55); animation: heard-in 0.25s ease; }
@keyframes heard-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hf-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.12); background: transparent; color: #8a8a7a; display: grid; place-items: center; cursor: pointer; }
.hf-x:hover { color: var(--primary-strong); border-color: rgba(255,255,255,0.24); }
.hf-title { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; text-align: center; margin: 6px 0 22px; color: var(--primary-strong); }
.hf-title em { font-style: normal; color: #E8B89A; }
.hf-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hf-opt { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border: 1px solid rgba(255,255,255,0.10); border-radius: 14px; background: rgba(255,255,255,0.025); cursor: pointer; font-size: 14.5px; font-weight: 500; color: var(--primary-strong); font-family: inherit; text-align: left; transition: border-color .15s, background .15s; }
.hf-opt:hover { border-color: rgba(255,255,255,0.22); }
.hf-opt.is-on, .hf-opt.is-on:hover { border-color: #E8B89A; background: rgba(232,184,154,0.08); }
.hf-ico { width: 34px; height: 34px; border-radius: 10px; background: rgba(232,184,154,0.12); color: #E8B89A; display: grid; place-items: center; flex-shrink: 0; }
.hf-lab { flex: 1; min-width: 0; }
.hf-radio { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.3); flex-shrink: 0; position: relative; }
.hf-opt.is-on .hf-radio { border-color: #E8B89A; }
.hf-opt.is-on .hf-radio::after { content: ""; position: absolute; inset: 3.5px; border-radius: 50%; background: #E8B89A; }
.hf-cta { margin-top: 20px; width: 100%; background: #E8B89A; color: #0a0a08; border: 0; border-radius: 14px; padding: 15px; font-size: 15px; font-weight: 800; font-family: inherit; cursor: pointer; }
.hf-cta:disabled { opacity: 0.4; cursor: default; }
@media (max-width: 720px) {
  .hf-back { align-items: flex-end; padding: 0; }
  .hf { max-width: none; border-radius: 22px 22px 0 0; border-bottom: 0; padding: 14px 18px calc(18px + env(safe-area-inset-bottom, 0px)); max-height: 92vh; overflow: auto; animation: heard-up 0.28s ease; }
  @keyframes heard-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
  .hf::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 999px; background: rgba(255,255,255,0.18); margin: 0 auto 14px; }
  .hf-x { top: 18px; }
  .hf-title { font-size: 21px; margin: 14px 0 20px; padding: 0 44px; }
  .hf-opts { grid-template-columns: 1fr; gap: 9px; }
  .hf-opt { font-size: 15px; }
  .hf-cta { margin-top: 18px; padding: 16px; }
}
@media (max-width: 720px) and (max-height: 720px) { /* iPhone cu bara Safari (664 px): totul, inclusiv „Continuar”, într-un ecran */
  .hf { padding-top: 10px; }
  .hf::before { margin-bottom: 8px; }
  .hf-title { font-size: 19px; margin: 8px 0 12px; }
  .hf-opts { gap: 6px; }
  .hf-opt { padding: 9px 12px; font-size: 14.5px; }
  .hf-ico { width: 30px; height: 30px; }
  .hf-cta { margin-top: 12px; padding: 13px; }
}
.hf-x:focus-visible, .hf-opt:focus-visible, .hf-cta:focus-visible { outline: 2px solid #E8B89A; outline-offset: 2px; }
/* ── pas 366 (owner, 1 oct): Início pe mobil — fără „O que você quer fazer hoje?”, carduri mai strânse (icon 46) și, ca să arate
   la fel de echilibrat pe orice iPhone, cele 3 carduri UMPLU spațiul dintre salut și bara de jos (înălțimea vizibilă reală = --hero-h,
   măsurată la boot; pe iPhone 14 cu bara Safari desfășurată rămân la minim, pe 13 Pro Max cresc). Desktop neschimbat. ── */
@media (max-width: 899px) {
  .shell-main .appview--inicio { min-height: var(--hero-h, 100svh); padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; } /* owner: ~20 px aer până la bară */
  .inicio-home { flex: 1; display: flex; flex-direction: column; padding: 16px 16px 0; } /* owner: salutul nu lipit de antet */
  .inicio-greeting { font-size: 22px; margin-bottom: 12px; }
  .inicio-sub { display: none; }
  .inicio-cards { flex: 1; display: flex; flex-direction: column; gap: 10px; }
  .inicio-card { flex: 1 1 0; max-height: 230px; justify-content: center; padding: 13px 16px 12px; border-radius: 14px; }
  .inicio-card-icon { width: 46px; height: 46px; margin-bottom: 6px; }
  .inicio-card-icon svg { width: 22px; height: 22px; }
  .inicio-card-title { font-size: 16px; margin-bottom: 2px; }
  .inicio-card-desc { font-size: 13px; line-height: 1.36; }
  .inicio-card-badge { top: 12px; right: 12px; }
  /* owner: pe Início (mobil) bula de chat nu apare — acoperea colțul cardului 3; suportul rămâne pe celelalte ecrane și în meniul de profil */
  body:has(.appview--inicio) .chat-bubble { display: none; }
}

/* ── pas 367 (owner, 1 oct): Analisar texto pe mobil — caseta mare, ierarhie clară a butoanelor, pastila de risc pe 2 rânduri,
   „Reescrever” dezactivat cu contur, nota cu lacătul în gri. Desktop neschimbat. ── */
@media (max-width: 899px) {
  /* (1) până la primul rezultat, cardul umple ecranul vizibil → caseta are 250+ px chiar și goală */
  .tester-full-pane.is-logged-in.is-idle { min-height: calc(var(--hero-h, 100svh) - 316px); }
  /* ≥ 6 rânduri; crește cu textul până la ~12–16 rânduri (restul se derulează în casetă), ca butoanele să rămână pe ecran */
  .tester-full-pane.is-logged-in .tester-textarea { min-height: 132px; max-height: max(200px, calc(var(--hero-h, 100svh) - 450px)); flex: 1 1 auto; }
  /* (2) varianta C3 (owner): „Detectar IA” (contur) | „Reescrever texto” (plin) pe un rând, „Estilo” ca text centrat dedesubt;
     coșul nu apare pe mobil (textul se șterge din casetă, „Colar texto” revine când caseta e goală) */
  .tester-full-pane.is-logged-in .tester-action-icon { display: none; }
  .tester-full-pane.is-logged-in .tester-action-secondary:not([aria-expanded]) { flex: 1 1 0; min-width: 0; order: 0; height: 46px; font-size: 14px; padding: 0 10px; color: var(--primary-strong); border-color: var(--line-strong); }
  .tester-full-pane.is-logged-in .tester-action-primary { flex: 1 1 0; min-width: 0; order: 1; height: 46px; font-size: 14px; padding: 0 10px; }
  .tester-full-pane.is-logged-in .tester-action-primary svg { flex: 0 0 auto; }
  .tester-full-pane.is-logged-in .tester-action-secondary[aria-expanded] { flex: 1 1 100%; order: 2; height: 30px; padding: 0 8px; background: transparent; border-color: transparent; color: var(--muted); font-size: 12.5px; justify-content: center; }
  .tester-full-pane.is-logged-in .tester-action-secondary[aria-expanded].is-active { color: var(--primary); }
  .tester-full-pane.is-logged-in .tester-card-actions { padding: 12px 12px 6px; }
  /* (5a) dezactivat = contur, nu umplutură maro */
  .tester-full-pane.is-logged-in .tester-action-primary:disabled { background: transparent; border: 1px solid var(--line-strong); color: var(--muted); opacity: 1; box-shadow: none; }
  /* (5b) owner, 1 oct: nota cu lacătul NU apare pe mobil deocamdată (se rupea pe 3 rânduri lângă bula de chat); locul ei se decide
     ulterior. Pe desktop rămâne (pas 363). */
  .tester-full-pane.is-logged-in .privacy-note { display: none; }
  /* (4) pastila de risc: eticheta pe un rând, explicația dedesubt, pe toată lățimea */
  .trust-tier-badge { flex-wrap: wrap !important; justify-content: center; row-gap: 2px !important; max-width: 100%; }
  .trust-tier-badge > span:nth-child(2) { white-space: nowrap; }
  .trust-tier-badge > span:nth-child(3) { flex: 1 1 100%; text-align: center; }
}
@media (max-width: 400px) {
  /* iPhone 14/15 (390): cele două butoane au ~155 px fiecare → font 13.5 ca textul să nu atingă marginile */
  .tester-full-pane.is-logged-in .tester-action-secondary:not([aria-expanded]),
  .tester-full-pane.is-logged-in .tester-action-primary { font-size: 13.5px; padding: 0 8px; }
}
@media (max-width: 374px) {
  /* pas 370: Android de 360 px (Galaxy A, Moto G — cele mai comune în Brazilia): „Reescrever texto” nu încape lângă „Detectar IA”
     → butoanele se așază unul sub altul, pe toată lățimea (Detectar sus = pasul 1, Reescrever jos = pasul 2) */
  .tester-full-pane.is-logged-in .tester-action-secondary:not([aria-expanded]),
  .tester-full-pane.is-logged-in .tester-action-primary { flex: 1 1 100%; font-size: 14px; }
  /* un rând de butoane în plus (54 px) → caseta crește mai puțin, ca „Reescrever” să nu ajungă sub bula de chat */
  .tester-full-pane.is-logged-in .tester-textarea { max-height: max(170px, calc(var(--hero-h, 100svh) - 510px)); }
}
@media (max-width: 899px) and (max-height: 600px) {
  /* ecrane scunde (iPhone SE): bula de chat cădea peste „Estilo” / „Reescrever” → pe Analisar nu apare; suportul rămâne în meniul de profil */
  body:has(.tester-full-pane.is-logged-in) .chat-bubble { display: none; }
}

/* ── pas 368 (owner, 1 oct): Raio-X (încărcare) pe mobil încape pe UN ecran — titlu compact, casetă mai scundă, nota în gri,
   exemplul = card de 200 px lizibil (antet + „O que foi analisado”), cu butonul în card; spațiul liber coboară cardul spre bară
   (ca la Início). Bula de chat ascunsă aici (stătea pe colțul cardului). Desktop neschimbat. ── */
@media (max-width: 899px) {
  .shell-main .appview--raiox { min-height: var(--hero-h, 100svh); padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; }
  .appview--raiox .dv-up-outer { padding: 14px 16px 0 !important; align-items: stretch !important; }
  .appview--raiox .dv-up-outer > div { display: flex; flex-direction: column; width: 100%; } /* div-ul intermediar (scan-upload-grid pe desktop) */
  .appview--raiox .dv-up-wrap { flex: 1; display: flex; flex-direction: column; }
  .appview--raiox .dv-up-eyebrow { display: none; }
  .appview--raiox .dv-up-title { font-size: 21px !important; margin: 4px 0 12px !important; }
  /* caseta preia spațiul liber (până la 300 px), ca să nu rămână un gol între notă și card pe telefoanele înalte */
  .appview--raiox .dv-up-drop { flex: 1 1 auto; max-height: 300px; min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 22px 16px !important; margin-bottom: 10px !important; }
  .appview--raiox .dv-up-icon { width: 30px; height: 30px; margin-bottom: 8px !important; }
  .appview--raiox .dv-up-label { font-size: 15px !important; margin-bottom: 2px !important; }
  .appview--raiox .dv-up-note { font-size: 12px; line-height: 1.35; margin: 0 auto 12px !important; color: var(--muted); }
  .appview--raiox .dv-up-note svg { opacity: 0.7; }
  .appview--raiox .exemplo { position: relative; flex: 0 0 200px; height: 200px; overflow: hidden; border-radius: 14px; background: #fbfbf7; margin-top: auto; }
  /* Safari calculează `zoom` diferit (pe iPhone caseta „O que foi analisado” se rupea pe 3 rânduri) → pe mobil micșorăm cu transform,
     identic în toate browserele: raportul se așază la 880 px și e doar scalat vizual */
  .appview--raiox .exemplo-clip { zoom: 1 !important; position: absolute; top: 0; left: 0; width: 880px; transform: scale(var(--exemplo-scale, 0.45)); transform-origin: 0 0; }
  .appview--raiox .exemplo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(to bottom, rgba(251, 251, 247, 0), rgba(251, 251, 247, 0.96) 55%); pointer-events: none; }
  .appview--raiox .exemplo-cta { position: absolute; left: 0; right: 0; bottom: 12px; margin: 0; z-index: 2; }
  .appview--raiox .exemplo-btn { height: 40px; padding: 0 18px; font-size: 14px; }
  body:has(.appview--raiox) .chat-bubble { display: none; }
}

/* ── pas 369 (owner, 2 oct): pe mobil panoul de sinteză (scor, Pontos encontrados, cuprinsul clicabil „Navegar pelo relatório”)
   vine ÎNAINTEA raportului, nu după el (pe desktop e bara laterală, vizibilă lângă raport; stivuit la final era inutil ca
   tablou de bord și ca cuprins). Diagrama „Sinais de IA” din panou e ascunsă pe mobil — raportul o are în „Painel geral”. ── */
@media (max-width: 899px) {
  .scan-workspace-grid > .scan-action-panel { order: -1; }
  .scan-action-panel .br-sum-donut { display: none; }
  .fr-paper [data-frsec] { scroll-margin-top: 84px; } /* saltul din cuprins lasă titlul sub antetul lipit (66 px) → marjă */
  /* owner: butonul „Enviar meu TCC” din bara exemplului era prea mare pe mobil și trunchia titlul → compact */
  .exemplo-ghost { height: 26px !important; padding: 0 10px !important; font-size: 11px !important; line-height: 26px !important; font-weight: 700; }
  .exemplo-chip { display: none !important; } /* titlul „Exemplo de relatório” spune deja că e exemplu; eticheta îl trunchia */
}

/* ── pas 370b: banda de TABLETĂ (700–899 px, iPad portret): regulile de mobil rămân (bara de jos), dar conținutul nu se mai întinde
   ca un telefon umflat — lățime maximă 680 px centrat; pe Início cele 3 carduri pe un rând. Găsit de matricea de dispozitive. ── */
@media (min-width: 700px) and (max-width: 899px) {
  .shell-main .appview-body > * { max-width: 680px; width: 100%; margin-left: auto; margin-right: auto; }
  .appview--inicio .inicio-home { max-width: 900px; }
  .inicio-cards { flex: 0 0 auto; flex-direction: row; align-items: stretch; gap: 16px; }
  .inicio-card { flex: 1 1 0; max-height: none; min-height: 220px; justify-content: flex-start; padding: 22px 20px; }
  /* Raio-X: pe tabletă caseta nu umple ecranul și exemplul vine imediat sub ea (nu lipit de bară cu un gol la mijloc) */
  .appview--raiox .dv-up-drop { flex: 0 0 auto; max-height: none; min-height: 260px; }
  .appview--raiox .exemplo { margin-top: 20px; }
  .inicio-card-icon { width: 56px; height: 56px; margin-bottom: 12px; }
  .inicio-card-desc { line-height: 1.5; }
}

/* ── pas 371 (owner, 2 oct): după încărcare, pe mobil NU mai afișăm previzualizarea PDF-ului (o pagină tăiată sub „Iniciar análise”,
   randare pdf.js scumpă pe telefon; fișierul e confirmat de bara de sus + „N páginas”). Butonul din „Confirme seu documento” pe un rând. ── */
@media (max-width: 899px) {
  .appview--raiox .scan-workspace-grid > .scan-doc-preview { display: none !important; }
  .dv-pages-chip { flex: 0 0 auto; font-size: 11px; font-weight: 600; color: var(--muted); white-space: nowrap; }
  .scan-confirm-cta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .m-only.dv-pages-chip { display: inline !important; }
}
@media (max-width: 374px) {
  .scan-confirm-cta { font-size: 12.5px !important; padding-left: 12px !important; padding-right: 12px !important; }
}

/* ── pas 372 (V1): blocurile noi din feedback-ul băncii — aprofundarea (neutru) și punctul slab al lucrării (atenție, nu eroare) ── */
.bs-block--emenda span { color: #a5b0f2; }
.bs-block--emenda p, .bs-block--fraco p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--primary-soft); }
.bs-block--fraco span { color: #E8B89A; }

/* ── pas 372 (V3): planul de pregătire pe ecranul final, parecerele strânse în rezumat, dosarul extins, „Refazer” ── */
.bs-plan { border-radius: 16px; padding: 22px 24px; margin: 0 0 26px; background: rgba(232,184,154,0.05); border: 1px solid rgba(232,184,154,0.28); display: grid; gap: 16px; }
.bs-plan-head { display: flex; align-items: center; gap: 16px; }
.bs-plan-ver { font-size: 16px; font-weight: 700; color: var(--primary-strong); line-height: 1.3; }
.bs-plan-text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--primary-soft); }
.bs-plan .bs-block span { color: var(--muted); }
.bs-plan .bs-block--fraco span { color: #E8B89A; }
.bs-plan-ref { font-style: normal; font-size: 11px; letter-spacing: 0.04em; color: var(--muted); white-space: nowrap; margin-left: 6px; }
.bs-plan-ext { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bs-plan-ext > div { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 12px 14px; display: grid; gap: 3px; }
.bs-plan-ext span { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.bs-plan-ext strong { font-size: 14.5px; color: var(--primary-strong); }
.bs-plan-ext em { font-style: normal; font-size: 12.5px; color: var(--primary-soft); }
.bs-plan-ext--forte strong { color: #9ec48a; }
.bs-plan-ext--fraca strong { color: #e07b5a; }
.bs-plan-ext > div:only-child { grid-column: 1 / -1; }

/* ── pas 376 (owner): „Nova sessão” compactă pe telefon — fișierul pe un rând, nivelurile ca chip-uri, pachetul ca rând discret ── */
.banca-level strong span { font: inherit; color: inherit; line-height: inherit; }
.ns-m { display: none; } /* clase proprii (≤ 720 px), nu .m-only/.m-hide — acelea comută mai sus și ar fi prins tabletele */
@media (max-width: 720px) {
  .ns-d { display: none !important; }
  .ns-m { display: block; }
  .banca-page.ns:not(.bs) .ns-title { font-size: 26px; margin-bottom: 4px; }
  .banca-page.ns:not(.bs) .ns-sub--default { display: none; }
  .banca-page.ns:not(.bs) .ns-label { margin: 16px 0 8px; font-size: 14px; }
  .banca-page.ns:not(.bs) .ns-input { padding: 12px 14px; font-size: 15px; }
  .banca-page.ns:not(.bs) .ns-zone { display: flex; align-items: center; gap: 12px; padding: 12px 14px; text-align: left; border: 1px solid rgba(255,255,255,0.12); }
  .banca-page.ns:not(.bs) .ns-zone-icon { width: 36px; height: 36px; margin: 0; flex-shrink: 0; border-radius: 10px; }
  .banca-page.ns:not(.bs) .ns-zone-icon svg { width: 18px; height: 18px; }
  .banca-page.ns:not(.bs) .ns-zone-name { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
  .banca-page.ns:not(.bs) .ns-chips { gap: 8px; flex-wrap: nowrap; }
  .banca-page.ns:not(.bs) .ns-chip { flex: 1; min-width: 0; height: 46px; padding: 0 8px; font-size: 15px; }
  .banca-page.ns:not(.bs) .ns-credits { margin-top: 8px; font-size: 12.5px; }
  .banca-page.ns:not(.bs) .banca-levels { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .banca-page.ns:not(.bs) .banca-level { padding: 0 6px; height: 46px; align-items: center; justify-content: center; text-align: center; border-radius: 12px; gap: 0; }
  .banca-page.ns:not(.bs) .banca-level strong { font-size: 14.5px; font-weight: 500; }
  .banca-page.ns:not(.bs) .banca-level > span { display: none; }
  .banca-level-note { margin-top: 8px; font-size: 12.5px; color: var(--muted); line-height: 1.45; min-height: 18px; }
  .banca-page.ns:not(.bs) .ns-cta { margin-top: 18px; padding: 15px 20px; }
}
.bpack-row { display: flex; align-items: center; gap: 10px; width: 100%; box-sizing: border-box; margin-top: 12px; padding: 12px 14px; background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.10); border-radius: 12px; color: var(--primary-strong); font-family: inherit; cursor: pointer; text-align: left; flex-wrap: wrap; transition: border-color .15s; }
.bpack-row:hover { border-color: rgba(232,184,154,0.45); }
.bpack-row-main { font-size: 14px; font-weight: 700; }
.bpack-row-main em { font-style: normal; color: #E8B89A; }
.bpack-row-arrow { margin-left: auto; color: #E8B89A; font-size: 16px; }
.bpack-row-sub { flex-basis: 100%; font-size: 12px; color: var(--muted); }
/* ── pas 375 (QA vizual pe 7 viewporturi, owner „go pe toate”): ținte ≥ 40 px, dosarul ca rând pliabil, microfon compact pe telefon ── */
.ns-close { width: 40px; height: 40px; top: 3px; }
.bs-notice-link { padding: 11px 0; margin: -11px 0 -11px 10px; } /* aceeași poziție, zonă de atins de 40 px */
.banca-locked-cta { min-height: 42px; }
.bs .banca-dossie { margin: 0 0 18px; }
.bs .banca-dossie > .banca-dossie-toggle { display: flex; align-items: center; width: 100%; box-sizing: border-box; padding: 16px 20px; border: 1px solid rgba(255,255,255,0.10); border-radius: 14px; background: rgba(255,255,255,0.015); font-size: 16px; font-weight: 600; color: var(--primary-strong); text-align: left; min-height: 48px; }
.bs .banca-dossie-toggle::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; opacity: .8; flex-shrink: 0; }
.bs .banca-dossie-toggle[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.bs .banca-dossie-body { margin-top: 10px; }
@media (max-width: 1023px) {
  .banca-page.ns:not(.bs) .bpack--compact { max-width: none; } /* iPad portret: cardul pachetului pe lățimea formularului */
}
@media (max-width: 899px) {
  body:has(.appview--historico) .chat-bubble { display: none; } /* acoperea colțul cardurilor din Histórico */
}
@media (max-width: 720px) {
  /* ecranul de răspuns încape într-un ecran de telefon: microfon pe un rând cu eticheta, textarea mai scundă, card compact */
  .bs-card { padding: 20px 18px 22px; }
  .bs-answer { gap: 14px; }
  .bs-mic-wrap { flex-direction: row; justify-content: flex-start; gap: 12px; }
  .bs-mic { width: 56px; height: 56px; }
  .bs-mic svg { width: 22px; height: 22px; }
  .bs-mic-label { font-size: 13.5px; }
  .bs-textarea { min-height: 150px; padding: 14px 16px; }
  .bs .ns-cta.bs-submit { margin-top: 18px; }
  .bs .bs-notice { font-size: 13px; padding: 10px 14px; margin-bottom: 16px; }
}
/* ── pas 377 (owner): „Nova sessão” mai jos față de antet pe telefon; ecranele sesiunii pe telefon = layoutul de pe desktop
   (fără titlu „Sessão de prática” și fără eticheta nivelului; rămân contorul „1 / 4” și bara; microfonul în coloana din stânga, ca pe desktop) ── */
@media (max-width: 720px) {
  .banca-page.ns:not(.bs) { padding-top: 22px; }
  .banca-page.ns:not(.bs) .ns-close { top: 17px; }
  .bs .bs-title, .bs .bs-level { display: none; }
  .bs .bs-head { flex-direction: row; align-items: center; justify-content: flex-start; margin: 2px 0 12px; min-height: 42px; } /* bara rămâne sub X */
  .bs .bs-count { font-size: 14px; }
  .bs-answer { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: start; }
  .bs-answer--text { grid-template-columns: minmax(0, 1fr); }
  .bs-mic-wrap { flex-direction: column; gap: 0; }
  .bs-mic-label { display: none; }
}
/* ── pas 378 (owner): în sesiune (întrebări / parecer / final) bara de jos cu meniurile dispare pe telefon — X-ul de sus e ieșirea ── */
@media (max-width: 899px) {
  body:has(.appview--banca [data-banca-phase="done"]) .shell-bottomnav { display: none; }
  body:has(.appview--banca [data-banca-phase="done"]) .cookie-banner--above-nav { bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
  .shell-main .appview--banca:has([data-banca-phase="done"]) { padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); } /* fără bară → fără loc rezervat pentru ea */
}
/* ── pas 379 (owner): zona principală a bancii ca la Raio-X — două coloane pe desktop (încărcare | cardul sesiunii sau mockup-ul Folha),
   stivuit pe mobil; mockup = coperta Folha (HTML-ul PDF-ului) scalată cu transform; „Ver exemplo completo” = Folha întreagă într-un modal ── */
.banca-up-grid { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.banca-up-main { max-width: 600px; width: 100%; }
.banca-up-main .privacy-note { color: var(--muted); justify-content: center; } /* ca la Raio-X: notă discretă, nu peach */
.banca-up-side { width: 100%; max-width: 600px; }
.banca-up-side .bsess { margin: 0; }
.bfx { width: 100%; max-width: 600px; }
.bfx-card { border-radius: 14px; overflow: hidden; } /* pe desktop hârtia (840 × scara) e cardul, centrată în coloană — ca .exemplo-clip la Raio-X */
.bfx-scaled { position: relative; overflow: hidden; }
.bfx-scaled .bf-stage { position: absolute; top: 0; left: 0; width: 794px; transform-origin: 0 0; pointer-events: none; user-select: none; }
.bfx-modal { position: fixed; inset: 0; z-index: 1000; background: rgba(10,10,8,0.84); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); overflow: auto; padding: 24px 12px; }
.bfx-modal-box { position: relative; max-width: 840px; margin: 0 auto; background: #fafaf6; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.bfx-modal-top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #e8e6da; }
.bfx-chip { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #9a988a; }
.bfx-chip--main { color: #c9714f; } /* pas 382 (owner): doar „Folha da banca” în antetul modalului */
.bfx-close { margin-left: auto; width: 36px; height: 36px; border-radius: 999px; border: 1px solid #e2e0d2; background: #fff; color: #1a1a14; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.bfx-close:hover { border-color: #c9714f; color: #c9714f; }
.bfx .bf-stage { background: #fafaf6; clip-path: inset(0 round 12px); }
.bfx .bf-sec { padding: 34px 60px 30px; }
.bfx .bf-sec + .bf-sec { padding: 32px 60px 38px; } /* coperta are aceeași înălțime ca exemplul Raio-X (437 px la 0,66) */
.bfx .bf-mast { gap: 14px; }
.bfx .bf-mast svg { width: 44px; height: 44px; }
.bfx .bf-wm b { font-size: 26px; }
.bfx .bf-wm span { font-size: 12px; }
.bfx .bf-label { font-size: 10px; margin-bottom: 12px; }
.bfx .bf-cover { grid-template-columns: minmax(0, 1fr) 250px; gap: 40px; margin-top: 18px; }
.bfx .bf-cover h1 { font-size: 34px; line-height: 1.12; }
.bfx .bf-box { padding: 13px 18px; }
.bfx .bf-box .bf-label { font-size: 9.5px; margin-bottom: 6px; }
.bfx .bf-brow { font-size: 13px; padding: 6px 0; }
.bfx .bf-brow strong { font-size: 16px; }
.bfx .bf-result { grid-template-columns: minmax(230px, 5fr) minmax(240px, 6fr); gap: 48px; }
.bfx .bf-score b { font-size: 84px; }
.bfx .bf-score span { font-size: 34px; }
.bfx .bf-kicker { font-size: 10px; }
.bfx .bf-verdict { font-size: 16.5px; margin-top: 12px; }
.bfx .bf-row { font-size: 14px; padding: 13px 0; }
.bfx .bf-row .bf-n { font-size: 11px; }
.bfx .bf-row .bf-v { font-size: 18px; }
@media (min-width: 1100px) {
  .banca-up-grid { display: grid; grid-template-columns: minmax(0, 500px) minmax(0, 600px); justify-content: center; align-items: center; gap: 44px; }
  .banca-up-side, .bfx { max-width: none; }
}
@media (max-width: 899px) {
  .appview--banca .banca-up-grid { flex: 1; align-items: stretch; gap: 28px; } /* ca .scan-upload-grid → caseta are aceeași înălțime ca la Raio-X */
  .appview--banca .dv-up-eyebrow { display: none; }
  .appview--banca .banca-up-side { margin-top: auto; max-width: none; }
  .appview--banca .banca-up-side .bsess { margin-top: 14px; }
  .appview--banca .bfx { position: relative; height: 200px; overflow: hidden; border-radius: 14px; background: #fafaf6; max-width: none; }
  .appview--banca .bfx-card { border-radius: 0; }
  .appview--banca .bfx::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(to bottom, rgba(250,250,246,0), rgba(250,250,246,0.96) 55%); pointer-events: none; }
  .appview--banca .bfx .exemplo-cta { position: absolute; left: 0; right: 0; bottom: 12px; margin: 0; z-index: 2; }
  .appview--banca .bfx .exemplo-btn { height: 40px; padding: 0 18px; font-size: 14px; }
  .bfx-modal { padding: 12px 8px; }
  .bfx-modal-top { padding: 10px 12px; }
}
/* ── pas 383 (owner): Raio-X pe mobil — în raport (și în exemplu) bara de jos dispare; nivelurile fără descriere → carduri compacte ── */
.banca-level { padding: 18px 22px; gap: 0; }
@media (max-width: 899px) {
  body:has(.appview--raiox [data-scan-phase="done"]) .shell-bottomnav, body:has(.appview--raiox [data-scan-phase="full_report"]) .shell-bottomnav { display: none; } /* raportul (exemplu sau real) */
  .shell-main .appview--raiox:has([data-scan-phase="done"]), .shell-main .appview--raiox:has([data-scan-phase="full_report"]) { padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); min-height: 0; }
}
/* ── pas 384 (owner): demo-ul consumat (notă peach) + starea e-mailului cu Folha pe ecranul final ── */
.ns-credits--used::before { background: #E8B89A; }
.bs-email { margin-top: 12px; font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.bs-email[data-banca-email="sent"]::before { content: "✓"; color: #9ec48a; font-weight: 700; }
.bs-email[data-banca-email="sending"]::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(232,184,154,0.25); border-top-color: #E8B89A; animation: spin 0.8s linear infinite; flex-shrink: 0; }
/* ── pas 386 (owner): linia personalizată din popupul pachetului (finalul demo-ului) ── */
.bpack-modal-intro { margin: 0 0 12px; padding: 14px 60px 14px 18px; border-radius: 14px; background: rgba(232,184,154,0.08); border: 1px solid rgba(232,184,154,0.25); color: var(--primary-strong); font-size: 14.5px; line-height: 1.5; }
@media (max-width: 720px) { .bpack-modal-intro { font-size: 13.5px; padding: 12px 56px 12px 14px; } }
/* ── pas 388 (owner): nota gratuită minimalistă; nivelurile blocate pe demo (lacăt, ca la chip-uri) ── */
.ns-free { margin-top: 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.ns-free .ns-m { display: none; }
@media (max-width: 720px) { .ns-free { font-size: 10.5px; letter-spacing: 0.1em; } .ns-free .ns-d { display: none; } .ns-free .ns-m { display: inline; } }
.banca-level.is-locked { cursor: default; color: var(--muted); }
.banca-level.is-locked strong { color: var(--muted); }
.banca-level.is-locked:hover { border-color: rgba(255,255,255,0.08); }
.banca-level.is-locked svg { opacity: .7; flex-shrink: 0; }
@media (min-width: 900px) { .banca-page.ns:not(.bs) .banca-level { flex-direction: row; gap: 8px; } }
@media (max-width: 720px) { .banca-page.ns:not(.bs) .banca-level { flex-direction: row; gap: 6px; } .banca-page.ns:not(.bs) .banca-level svg { width: 11px; height: 11px; } }
/* ── pas 389 (revizie): X-ul popupului la 14 px (regula de 40 px din pas 375 îl trăgea la 3 px); nivelurile pe un rând și la 721–899 px;
   nota gratuită poate rupe rândul sub 360 px ── */
.bpack-modal .bpack-modal-close { top: 14px; right: 14px; }
@media (min-width: 721px) and (max-width: 899px) { .banca-page.ns:not(.bs) .banca-level { flex-direction: row; align-items: center; gap: 8px; padding: 14px 16px; } }
@media (max-width: 359px) { .ns-free { white-space: normal; } }
/* ── pas 373f (owner): „Pergunta N” portocaliu + categoria gri, fără punct; „Nova sessão” încape pe un ecran de desktop ── */
.bs-viva-eyebrow { gap: 12px; }
.bs-viva-n { color: #E8B89A; font-weight: 800; letter-spacing: 0.16em; }
.bs-viva-eyebrow .bs-viva-cat { font-size: 11px; letter-spacing: 0.14em; color: var(--muted); background: none; padding: 0; border-radius: 0; font-weight: 600; }
@media (min-width: 900px) {
  /* pas 385 (owner, „pare puțin înghesuit pe desktop”): formular de 680 px centrat (coloana Raio-X are 600), chip-urile și nivelurile pe
     aceeași grilă (înălțime 50), etichete 22/10, câmpuri 14 px, pachetul ca rând discret; încape fără scroll la 1366×768 */
  .banca-page.ns:not(.bs) { max-width: 680px; padding-top: 28px; } /* owner: puțin spațiu înainte de „Nova sessão” */
  .banca-page.ns:not(.bs) .ns-title { font-size: 32px; margin-bottom: 6px; }
  .banca-page.ns:not(.bs) .ns-close { top: 30px; }
  .banca-page.ns:not(.bs) .ns-sub { margin-bottom: 22px; }
  .banca-page.ns:not(.bs) .ns-label { margin: 22px 0 10px; font-size: 14.5px; }
  .banca-page.ns:not(.bs) .ns-input { padding: 14px 16px; }
  .banca-page.ns:not(.bs) .ns-zone { padding: 14px 18px; display: flex; align-items: center; justify-content: center; gap: 14px; text-align: left; }
  .banca-page.ns:not(.bs) .ns-zone-icon { width: 40px; height: 40px; margin: 0; flex-shrink: 0; }
  .banca-page.ns:not(.bs) .ns-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .banca-page.ns:not(.bs) .ns-chip { height: 50px; min-width: 0; width: 100%; }
  .banca-page.ns:not(.bs) .ns-credits { margin-top: 10px; font-size: 13px; }
  .banca-page.ns:not(.bs) .banca-levels { gap: 10px; }
  .banca-page.ns:not(.bs) .banca-level { height: 50px; padding: 0 12px; align-items: center; justify-content: center; text-align: center; border-radius: 12px; }
  .banca-page.ns:not(.bs) .banca-level strong { font-size: 15px; }
  .banca-page.ns:not(.bs) .ns-cta { margin-top: 24px; padding: 16px 24px; }
  .banca-page.ns:not(.bs) .bpack-row { margin-top: 14px; }
  .banca-page.ns:not(.bs) { padding-bottom: 8px; } /* era 56 → la 1366×768 și 1536×760 încape fără scroll */
  .banca-page.ns:not(.bs) .ns-label { margin-top: 18px; }
  .banca-page.ns:not(.bs) .ns-sub { margin-bottom: 18px; }
  .banca-page.ns:not(.bs) .ns-cta { margin-top: 20px; }
  .banca-page.ns:not(.bs) .bpack-row { margin-top: 12px; }
}
/* ── pas 373e (owner): generarea = ecranul „Nova sessão” estompat + overlay cu rotiță și mesaje rotative ── */
.banca-page.is-generating { position: relative; min-height: 70vh; }
.banca-page.is-generating .banca-gen-content { filter: blur(6px) saturate(0.7); opacity: 0.45; pointer-events: none; user-select: none; transition: filter .3s, opacity .3s; }
.banca-gen-overlay { position: absolute; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; }
.banca-gen-overlay .banca-progress { min-height: 0; padding: 34px 30px; border-radius: 18px; background: rgba(14,14,12,0.96); border: 1px solid rgba(255,255,255,0.10); box-shadow: 0 18px 50px rgba(0,0,0,0.5); max-width: 440px; }
.banca-gen-overlay .banca-progress-text { color: var(--primary-strong); font-size: 16px; }
.banca-gen-overlay .banca-progress-text { animation: banca-msg-in .4s ease; min-height: 1.5em; }
@keyframes banca-msg-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (max-width: 899px) { .banca-gen-overlay { align-items: flex-start; padding-top: 22vh; } .banca-gen-overlay .banca-progress { margin: 0 16px; padding: 26px 20px; } }
/* ── pas 373d (owner, VivaCoach): butonul „Enviar” în stare de evaluare — rotiță + text, ecranul rămâne; rezultatul vine ca pagină nouă ── */
.ns-cta.bs-submit.is-pending { opacity: 0.85; cursor: progress; background: rgba(232,184,154,0.35); border-color: rgba(232,184,154,0.35); color: var(--primary-strong); }
.banca-spinner--btn { width: 16px; height: 16px; border-width: 2px; margin-right: 10px; border-color: rgba(255,255,255,0.25); border-top-color: var(--primary-strong); }
.bs-textarea:disabled { opacity: 0.6; }
.bs-mic:disabled { opacity: 0.5; cursor: default; }
/* ── pas 373c (owner: „compact, uniform, simplu de parcurs”): un singur sistem de spațiere (24 px), etichete mici, o singură bordură,
   antet mic, fără chip-uri și fără etichete colorate în parecer ── */
.bs .bs-head { margin: 4px 0 14px; align-items: center; }
.bs .bs-title { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.bs-title-date { color: var(--muted); font-weight: 500; }
.bs .bs-level { font-size: 10.5px; padding: 5px 10px; background: rgba(255,255,255,0.05); color: var(--muted); }
.bs .bs-count { font-size: 13px; color: var(--muted); }
.bs .bs-bar { height: 2px; margin-bottom: 26px; }
.bs .bs-notice { font-size: 12.5px; padding: 10px 14px; margin-bottom: 20px; }
.bs-card { border-radius: 18px; }
.bs-card--viva { padding: 32px 36px 30px; }
.bs-card--viva .bs-viva-eyebrow { font-size: 11px; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 14px; }
.bs-card--viva .bs-q { font-size: 23px; line-height: 1.4; font-weight: 600; letter-spacing: -0.01em; }
.bs-card--viva .bs-viva-head { margin-bottom: 28px; }
.bs-card--viva .bs-label { font-size: 11px; letter-spacing: 0.16em; margin: 0 0 10px; }
.bs-card--viva .bs-given, .bs-viva-fb, .bs-viva-more { border: 1px solid rgba(255,255,255,0.09); border-radius: 14px; background: rgba(255,255,255,0.02); }
.bs-card--viva .bs-given { padding: 20px 22px; margin-bottom: 24px; font-size: 15.5px; line-height: 1.65; }
.bs-viva-fb { padding: 20px 22px; margin-bottom: 24px; }
.bs-viva-fb--forte, .bs-viva-fb--parcial, .bs-viva-fb--fraca { border-color: rgba(255,255,255,0.09); background: rgba(255,255,255,0.02); }
.bs-viva-fb .bs-fb-ver { display: none; }
.bs-viva-score strong, .bs-viva-score em { font-size: 40px; color: #E8B89A; }
.bs-viva-score--forte strong, .bs-viva-score--forte em, .bs-viva-score--parcial strong, .bs-viva-score--parcial em, .bs-viva-score--fraca strong, .bs-viva-score--fraca em { color: #E8B89A; }
.bs-viva-more > summary { padding: 16px 20px; font-size: 15px; font-weight: 600; }
.bs-viva-bulb { width: 32px; height: 32px; }
.bs-viva-modelo { margin: 0 20px 20px; border-color: rgba(232,184,154,0.22); background: rgba(232,184,154,0.035); }
.bs .ns-cta.bs-submit { margin-top: 26px; border-radius: 14px; padding: 17px 24px; }
.bs-final { padding: 36px 24px 26px; border-radius: 18px; }
.bs-final-nota { font-size: 64px; }
.bs-final-band { margin-top: 12px; font-size: 12.5px; }
.bs-final .bs-plan-text { margin-top: 14px; font-size: 14px; }
.bs-final-meta { margin-top: 16px; padding-top: 14px; font-size: 12.5px; }
.bs-card--parecer { padding: 28px 36px 26px; }
.bs-card--parecer .bs-label { margin-bottom: 12px; }
.bs-card--parecer .bs-plan-resumo { font-size: 15.5px; line-height: 1.7; }
.bs-viva-more--block > summary { padding: 18px 20px; font-size: 15px; }
.bs .banca-dossie { margin: 6px 0 0; }
.bs .banca-dossie-toggle { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.bs .bs-actions { margin-top: 22px; }
@media (max-width: 899px) {
  .bs .bs-head { margin: 2px 0 10px; padding-right: 44px; }
  .bs .bs-title { font-size: 18px; }
  .bs-title-date { display: none; }
  .bs .bs-bar { margin-bottom: 18px; }
  .bs-card--viva { padding: 22px 18px 20px; }
  .bs-card--viva .bs-q { font-size: 19px; }
  .bs-card--viva .bs-viva-head { margin-bottom: 20px; gap: 12px; }
  .bs-card--viva .bs-given, .bs-viva-fb { padding: 16px; margin-bottom: 20px; font-size: 15px; }
  .bs-viva-score strong, .bs-viva-score em { font-size: 32px; }
  .bs-viva-more > summary { padding: 14px 16px; font-size: 14px; gap: 10px; }
  .bs-viva-modelo { margin: 0 14px 14px; padding: 14px; }
  .bs-final { padding: 28px 16px 20px; }
  .bs-final-nota { font-size: 54px; }
  .bs-card--parecer { padding: 22px 18px 20px; }
}
/* ── pas 373b (owner): cardul „VivaCoach” — întrebare + nota în dreapta, răspunsul, UN paragraf de parecer, UN rând pliabil cu becul ── */
.bs-card--viva { padding: 30px 32px 26px; }
.bs-viva-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; margin-bottom: 24px; }
.bs-viva-eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bs-viva-cat { font-size: 10.5px; letter-spacing: 0.1em; color: #E8B89A; background: rgba(232,184,154,0.12); border-radius: 6px; padding: 4px 8px; }
.bs-viva-cite { margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--muted); font-style: italic; }
.bs-viva-score { flex-shrink: 0; font-variant-numeric: tabular-nums; line-height: 1; display: flex; align-items: baseline; gap: 2px; }
.bs-viva-score strong, .bs-viva-score em { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; font-style: normal; color: #E8B89A; }
.bs-viva-score span { font-size: 16px; font-weight: 600; color: var(--muted); }
.bs-viva-score--forte strong, .bs-viva-score--forte em { color: #9ec48a; } .bs-viva-score--parcial strong, .bs-viva-score--parcial em { color: #e8c46e; } .bs-viva-score--fraca strong, .bs-viva-score--fraca em { color: #e07b5a; }
.bs-viva-score .bs-recap-nota { margin: 0; padding: 0; background: none; border-radius: 0; letter-spacing: -0.03em; }
.bs-card--viva .bs-label { margin: 0 0 12px; }
.bs-card--viva .bs-given { margin-bottom: 24px; }
.bs-viva-fb { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.10); border-radius: 16px; padding: 18px 22px; margin-bottom: 22px; }
.bs-viva-fb .bs-fb-ver { font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; }
.bs-viva-fb--forte .bs-fb-ver { color: #9ec48a; } .bs-viva-fb--parcial .bs-fb-ver { color: #e8c46e; } .bs-viva-fb--fraca .bs-fb-ver { color: #e07b5a; }
.bs-viva-fb .bs-fb-parecer { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--primary-strong); }
.bs-viva-fb.bs-fb--loading { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14.5px; }
.bs-viva-more { border: 1px solid rgba(255,255,255,0.10); border-radius: 14px; background: rgba(255,255,255,0.015); }
.bs-viva-more > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 12px; padding: 16px 18px; font-size: 15px; font-weight: 600; color: #E8B89A; }
.bs-viva-more > summary::-webkit-details-marker { display: none; }
.bs-viva-more > summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; opacity: .8; }
.bs-viva-more[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.bs-viva-more[open] > summary .bs-viva-more-txt { font-size: 0; }
.bs-viva-more[open] > summary .bs-viva-more-txt::after { content: attr(data-open); font-size: 15px; }
.bs-viva-bulb { width: 34px; height: 34px; border-radius: 50%; background: rgba(232,184,154,0.12); display: inline-flex; align-items: center; justify-content: center; color: #E8B89A; flex-shrink: 0; }
.bs-viva-modelo { margin: 0 18px 18px; border: 1px solid rgba(232,184,154,0.25); border-radius: 14px; padding: 18px 20px; background: rgba(232,184,154,0.04); }
.bs-viva-modelo-title { font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #E8B89A; margin-bottom: 10px; }
.bs-viva-modelo .bs-modelo { background: none; border: 0; padding: 0; border-radius: 0; font-size: 15.5px; line-height: 1.65; }
.bs-modelo--lista { margin: 0; padding-left: 20px; }
.bs-modelo--lista li { margin-bottom: 6px; }
.bs-recap .bs-viva-modelo { margin: 0; }
.bs-final { text-align: center; padding: 34px 24px 28px; border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; background: rgba(255,255,255,0.02); margin-bottom: 18px; }
.bs-final .bs-viva-eyebrow { justify-content: center; margin-bottom: 6px; }
.bs-final-nota { font-size: 68px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: #E8B89A; font-variant-numeric: tabular-nums; }
.bs-final-nota span { font-size: 22px; font-weight: 600; color: var(--muted); margin-left: 4px; }
.bs-final-band { display: inline-block; margin-top: 14px; padding: 8px 14px; border-radius: 999px; background: rgba(158,196,138,0.12); color: #9ec48a; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; }
.bs-final .bs-plan-text { margin: 16px auto 0; max-width: 560px; font-size: 14px; color: var(--muted); }
.bs-final-meta { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 13px; color: var(--muted); }
.bs-card--parecer { margin-bottom: 18px; }
.bs-card--parecer .bs-plan-resumo { font-size: 16px; }
.bs-viva-more--block { margin-bottom: 18px; }
.bs-viva-more--block > summary { font-size: 16px; color: var(--primary-strong); }
.bs-breakdown { padding: 0 18px 18px; display: grid; gap: 16px; }
.bs-breakdown .bs-recap { border-top: 0; padding: 26px 26px 22px; }
.bs-breakdown .bs-recap-q { margin: 0; }
.bs-breakdown .bs-recap-a { margin-bottom: 20px; }
.bs .ns-sub { display: none; }
@media (max-width: 899px) {
  .bs-card--viva { padding: 20px 16px 18px; }
  .bs-viva-head { gap: 14px; margin-bottom: 18px; }
  .bs-viva-score strong, .bs-viva-score em { font-size: 36px; }
  .bs-viva-fb { padding: 16px; }
  .bs-viva-more > summary { padding: 14px; font-size: 14px; }
  .bs-viva-modelo { margin: 0 12px 12px; padding: 14px; }
  .bs-final { padding: 26px 16px 22px; }
  .bs-final-nota { font-size: 56px; }
  .bs-breakdown { padding: 0 10px 12px; }
  .bs-breakdown .bs-recap { padding: 18px 14px; }
}
/* ── pas 373 (owner, 2 oct): structura „un scor, un paragraf, restul pliat” — blocurile pliabile ale parecerului, paragraful de memorat,
   parecerul final narativ, titlul rezumatului; ecranul de încărcare al bancii ca Raio-X pe mobil ── */
.bs-more { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 12px; }
.bs-more > summary { cursor: pointer; list-style: none; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; color: #E8B89A; display: flex; align-items: center; gap: 8px; }
.bs-more > summary::-webkit-details-marker { display: none; }
.bs-more > summary::after { content: ""; margin-left: auto; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; opacity: .8; }
.bs-more[open] > summary::after { transform: translateY(1px) rotate(-135deg); }
.bs-more-body { margin-top: 12px; display: grid; gap: 12px; }
.bs-more--flat { padding-top: 10px; }
.bs-more-title { font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.bs-more--flat .bs-block, .bs-more--flat .bs-modelo, .bs-more--flat .banca-cite { margin-top: 8px; }
.bs-fb .bs-more:first-of-type { border-top: 0; padding-top: 0; }
.bs-modelo { margin: 0; font-size: 15px; line-height: 1.65; color: var(--primary-strong); background: rgba(232,184,154,0.06); border-left: 3px solid #E8B89A; padding: 12px 14px; border-radius: 0 10px 10px 0; }
.bs-modelo-note { font-size: 12px; color: var(--muted); margin-top: 6px; }
.bs-plan-resumo { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--primary-strong); }
.bs-plan:has(.bs-plan-resumo:not(.bs-plan-resumo--loading)) .bs-plan-text { font-size: 13.5px; color: var(--muted); } /* cu parecerul narativ, fraza de interpretare devine discretă */
.bs-plan-resumo--loading { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.bs-plan .bs-plan-nota { font-size: 46px; }
.bs-more--plan { border-top: 1px solid rgba(232,184,154,0.22); }
.bs-h2 { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 26px 0 4px; }
@media (max-width: 899px) {
  /* ecranul de încărcare al bancii: un ecran, ca Raio-X (pas 368) — fără bula de chat, casetă care umple spațiul */
  body:has(.appview--banca) .chat-bubble { display: none; } /* pe toată banca: bula acoperea „Concluir sessão” și textul parecerului */
  /* ca la Início/Raio-X: view-ul umple ecranul și zona de încărcare preia spațiul (fără scroll când există loc) */
  .shell-main .appview--banca:has([data-banca-phase="upload"]) { min-height: var(--hero-h, 100svh); padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; }
  .appview--banca [data-banca-phase="upload"] { min-height: 0 !important; flex: 1 1 auto; }
  /* pas 380 (owner): EXACT proporțiile Raio-X (pas 368) — outer, titlu, casetă, icoană, etichetă, notă, card de 200 px */
  .appview--banca [data-banca-phase="upload"] > div { padding: 14px 16px 0 !important; align-items: stretch !important; }
  .appview--banca .banca-up-main { flex: 1; display: flex; flex-direction: column; }
  .appview--banca .dv-up-title { font-size: 21px !important; margin: 4px 0 12px !important; }
  .appview--banca .dv-up-drop { flex: 1 1 auto; max-height: 300px; min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 22px 16px !important; margin-bottom: 10px !important; }
  .appview--banca .dv-up-icon { width: 30px; height: 30px; margin-bottom: 8px !important; }
  .appview--banca .dv-up-label { font-size: 15px !important; margin-bottom: 2px !important; }
  .appview--banca .dv-up-note { font-size: 12px; line-height: 1.35; margin: 0 auto 12px !important; color: var(--muted); }
  .appview--banca .dv-up-note svg { opacity: 0.7; }
  .bs-fb { padding: 18px 16px; gap: 14px; }
  .bs-modelo { font-size: 14.5px; }
  .bs-plan .bs-plan-nota { font-size: 40px; }
}
.bs-recap-more { margin-top: 12px; }
.bs-recap-more > summary { cursor: pointer; list-style: none; font-size: 13px; font-weight: 700; color: #E8B89A; display: inline-flex; align-items: center; gap: 8px; }
.bs-recap-more > summary::-webkit-details-marker { display: none; }
.bs-recap-more > summary::before { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.bs-recap-more[open] > summary::before { transform: translateY(1px) rotate(-135deg); }
.bs-recap-more-body { margin-top: 12px; display: grid; gap: 12px; }
.bs-fb--recap { margin-bottom: 0; padding: 18px 20px; gap: 12px; }
.bs-fb--recap .bs-fb-parecer { font-size: 14.5px; }
.banca-dossie-list { margin: 0; padding-left: 18px; }
.banca-dossie-list li { margin-bottom: 4px; }
@media (max-width: 699px) {
  .bs-plan { padding: 18px 16px; gap: 14px; }
  .bs-plan-ext { grid-template-columns: 1fr; }
  .bs-fb--recap { padding: 16px 14px; }
  .bs-actions .banca-btn { flex: 1 1 100%; }
}

/* ===== pas 397 (final check 3 oct 2026) ===== */
/* A5.3: modalurile cu 92vh — pe iOS Safari `vh` e viewportul MARE (cu barele ascunse); `dvh` urmărește zona vizibilă (fallback = vh) */
.scan-checkout-box { max-height: 92vh; max-height: 92dvh; }
.bpack-modal-box { max-height: 92dvh; }
@media (max-width: 720px) { .auth-modal { max-height: 92dvh; } }
/* A7.2 / A1.3: pe iOS Safari câmpurile sub 16 px fac zoom la focus (pagina rămâne mărită după) */
@media (max-width: 899px) {
  .tester-textarea, .auth-input, .contact-input, .contact-textarea, .ns-input, .banca-page.ns:not(.bs) .ns-input { font-size: 16px; }
}
/* A3.1: bara raportului REAL pe telefon — „Baixar PDF” era tăiat la 360/390 px (fără regulă de mobil; rădăcina are overflow hidden) */
@media (max-width: 640px) {
  .fr-topbar { padding: 10px 14px !important; gap: 10px; }
  .fr-topbar > div:first-child > span:nth-child(n+2) { display: none; }
  .fr-topbar > div:last-child { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
  .fr-topbar > div:last-child > button { padding: 8px 12px !important; font-size: 12px !important; }
}

/* ===== pas 400 (final check 3 oct, lotul A) ===== */
/* A3: Histórico — „Carregar mais” */
.hist-more { margin-left: 10px; padding: 4px 12px; min-height: 30px; border: 1px solid var(--line-strong, rgba(255,255,255,0.14)); border-radius: 999px; background: transparent; color: var(--primary-strong); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.hist-more:hover { border-color: #E8B89A; color: #E8B89A; }
/* A14: ținte tactile ≥ 44 px la ștergerea contului */
.cfg-delete { min-height: 44px; padding: 10px 16px; }
.cfg-inline { gap: 16px; }
.cfg-inline .cfg-link { min-height: 44px; padding: 0 10px; display: inline-flex; align-items: center; }
/* C4: limita por envio sub „palavras / mês” */
.pl-words-sub { font-size: 11.5px; color: var(--muted); margin-top: 2px; }

/* pas 465 — rezultatul uneltei publice în caseta de pe landing (oglinda regulilor .tool-* din seo.css) */
.pub-out { display: flex; flex-direction: column; padding: 4px 2px 0; }
.pub-gauge { display: flex; justify-content: center; padding: 6px 0 10px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.pub-gauge .gauge-wrap { margin: 0; }
.pub-gauge .gauge-svg { width: 100%; max-width: 190px; height: auto; display: block; }
.pub-result { font-size: 15.5px; line-height: 1.65; color: var(--primary-strong); white-space: pre-wrap; }
.pub-rewritten--missing { color: var(--muted); }
.pub-blur { color: var(--primary-soft); filter: blur(4px); user-select: none; pointer-events: none; }
.pub-ctabox { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 0 8px; }
.pub-ctabox--over { margin-top: -84px; position: relative; padding-top: 44px; background: linear-gradient(to bottom, rgba(13,13,13,0), #0d0d0d 55%); }
.pub-cta { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 26px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; background: var(--primary); color: #1a1a16; border: 1px solid var(--primary); transition: all .18s ease; text-align: center; }
.pub-cta:hover { background: var(--primary-strong); border-color: var(--primary-strong); transform: translateY(-1px); }
.pub-cta-note { font-size: 12.5px; color: var(--muted); }
.pub-err { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 18px 8px 6px; font-size: 13.5px; color: var(--warn, #d97757); text-align: center; }
.pub-ts { line-height: 0; }
.pub-ts:empty { display: none; }
.pub-ts iframe { max-width: 100%; margin-top: 10px; }
.tester-analyze-btn--ghost { background: transparent !important; color: var(--primary-soft) !important; border: 1px solid var(--line-strong) !important; opacity: 1 !important; }
@media (max-width: 620px) { .pub-cta { width: 100%; } }

/* ── pas 463 (19 oct 2026): Raio-X pe landing — zona de upload înainte de cont (designul ownerului) ── */
.rx-section { background: var(--bg); padding: 56px 16px 48px; scroll-margin-top: 72px; }
@media (min-width: 768px) { .rx-section { padding: 104px 32px 80px; } }
.rx-inner { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.rx-eyebrow { margin-bottom: 14px; }
.rx-title { font-size: 32px; line-height: 1.1; font-weight: 700; letter-spacing: -0.035em; color: var(--primary-strong); margin: 0 0 18px; }
@media (min-width: 768px) { .rx-title { font-size: 54px; margin-bottom: 20px; } }
.rx-sub { font-size: 17px; line-height: 1.5; color: var(--muted); margin: 0 0 40px; font-weight: 500; }
@media (min-width: 768px) { .rx-sub { font-size: 18px; margin-bottom: 48px; } }
.rx-drop { cursor: pointer; display: flex; flex-direction: column; align-items: center; outline: none; border-radius: 16px; padding: 8px 12px; -webkit-tap-highlight-color: transparent; }
.rx-drop:focus-visible { box-shadow: 0 0 0 2px rgba(232,184,154,0.5); }
.rx-stack { position: relative; width: 204px; height: 296px; margin: 0 0 30px; }
@media (min-width: 768px) { .rx-stack { width: 242px; height: 342px; margin-bottom: 34px; } }
.rx-page { position: absolute; inset: 0; background: #0a0a09; border: 1px solid rgba(255,255,255,0.13); border-radius: 4px; }
.rx-page--2 { transform: translate(11px, -11px); }
.rx-page--3 { transform: translate(22px, -22px); }
.rx-page--1 { background: #0d0d0b; display: flex; flex-direction: column; align-items: center; padding: 28px 32px 0; }
.rx-ln { display: block; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.11); margin-bottom: 9px; align-self: flex-start; }
.rx-ln--t { width: 54%; height: 6px; align-self: center; background: rgba(255,255,255,0.17); margin-bottom: 22px; }
.rx-ln--gap { margin-top: 10px; }
.rx-upbtn { margin-top: auto; margin-bottom: 34px; width: 60px; height: 60px; border-radius: 999px; background: #151513; border: 1px solid rgba(255,255,255,0.15); display: grid; place-items: center; color: var(--primary-strong); transition: border-color 0.15s, background 0.15s, color 0.15s; }
.rx-drop:hover .rx-page--1, .rx-drop.is-drag .rx-page--1 { border-color: rgba(232,184,154,0.45); }
.rx-drop:hover .rx-upbtn, .rx-drop.is-drag .rx-upbtn { border-color: var(--primary); color: var(--primary); }
.rx-drop.has-file .rx-upbtn { background: rgba(232,184,154,0.12); border-color: var(--primary); color: var(--primary); }
.rx-label { font-size: 17px; font-weight: 600; color: var(--primary-strong); margin-bottom: 6px; max-width: 420px; overflow-wrap: anywhere; }
.rx-meta { font-size: 13px; color: var(--muted); }
.rx-err { margin: 14px 0 18px; font-size: 13.5px; line-height: 1.5; color: var(--danger); max-width: 460px; }
.rx-cta { display: inline-flex; align-items: center; gap: 14px; margin-top: 40px; background: var(--primary); color: #000; border: 0; border-radius: 999px; padding: 10px 10px 10px 30px; font-family: inherit; font-size: 17px; font-weight: 600; cursor: pointer; transition: gap 0.3s ease; }
.rx-cta .circ { width: 46px; height: 46px; border-radius: 999px; background: #000; color: var(--primary); display: grid; place-items: center; transition: transform 0.25s ease; }
.rx-cta:hover { gap: 20px; }
.rx-cta:hover .circ { transform: scale(1.08); }
.rx-note { margin-top: 24px; font-size: 13px; max-width: 460px; align-items: center; }
.rx-note svg { margin-top: 0; }
@media (max-width: 620px) { .rx-cta { width: 100%; justify-content: space-between; padding-left: 26px; margin-top: 34px; } }

/* desktop ≥ 1024: două coloane (text + CTA stânga, teancul-dropzone dreapta); pe mobil rămâne o coloană */
@media (min-width: 1024px) {
  .rx-section { padding: 96px 32px 88px; }
  .rx-inner { max-width: 1240px; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 72px; align-items: center; text-align: left;
    grid-template-rows: 1fr auto auto auto auto auto auto auto 1fr;
    grid-template-areas: ". drop" "eyebrow drop" "title drop" "sub drop" "err drop" "cta drop" "ts drop" "note drop" ". drop"; }
  .rx-eyebrow { grid-area: eyebrow; text-align: left; }
  .rx-err { margin: 0 0 18px; }
  .rx-title { grid-area: title; font-size: 60px; }
  .rx-sub { grid-area: sub; margin-bottom: 36px; }
  .rx-err { grid-area: err; }
  .rx-cta { grid-area: cta; justify-self: start; margin-top: 0; }
  .rx-note { grid-area: note; justify-self: start; text-align: left; margin-top: 22px; }
  .rx-drop { grid-area: drop; padding: 8px 24px; }
  .rx-stack { width: 300px; height: 424px; margin-bottom: 30px; }
  .rx-page--1 { padding: 36px 40px 0; }
  .rx-upbtn { width: 68px; height: 68px; margin-bottom: 44px; }
}

/* ── pas 466 (19 oct): Raio-X pe landing — rularea (etapele) și raportul real blocat ── */
.rx-ts { grid-area: ts; line-height: 0; }
.rx-ts:empty { display: none; }
.rx-ts iframe { max-width: 100%; margin-top: 10px; }
.rx-drop.is-running { cursor: default; }
.rx-run { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 2px; text-align: left; }
.rx-run-step { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.rx-run-step.is-done { color: var(--primary-strong); }
.rx-run-step.is-now { color: var(--primary); }
.rx-run-step i { width: 18px; height: 18px; border-radius: 999px; border: 1.5px solid currentColor; display: grid; place-items: center; font-style: normal; font-size: 11px; flex: 0 0 auto; }
.rx-run-step.is-now i { border-top-color: transparent; animation: rxspin 0.9s linear infinite; }
@keyframes rxspin { to { transform: rotate(360deg); } }
.rx-stack.is-running .rx-upbtn { border-color: var(--primary); color: var(--primary); }
.rx-stack.is-running .rx-ln { animation: rxpulse 1.6s ease-in-out infinite; }
@keyframes rxpulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* starea blocată: o coloană centrată, titlul „Seu Raio-X está pronto.” */
.rx-inner.is-rep { display: flex; flex-direction: column; align-items: center; max-width: 920px; text-align: center; }
.rx-inner.is-rep .rx-eyebrow { text-align: center; overflow-wrap: anywhere; }
.rx-inner.is-rep .rx-title { font-size: 48px; }
@media (max-width: 1023px) { .rx-inner.is-rep .rx-title { font-size: 32px; } }
@media (max-width: 620px) { .rx-inner.is-rep .rx-title { font-size: 30px; } }
.rx-inner.is-rep .rx-sub { margin-bottom: 30px; }
.rx-rep-again { margin-top: 18px; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; background: none; border: 0; font-family: inherit; padding: 0; }

/* hârtia: coperta raportului (CSS copiat din FullReportPage, scoped .rx-lr — raportul plătit nu se atinge) */
.rx-lr { position: relative; width: 100%; max-width: 840px; background: #fafaf6; color: #1a1a14; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.08); text-align: left; container-type: inline-size; }
.rx-lr .fr-sec { padding: 52px 60px; border-bottom: 1px solid #e8e6da; }
.rx-lr .fr-cover-head { padding: 34px 60px 22px; background: #fff; }
.rx-lr .fr-cover-result { padding: 32px 60px 30px; position: relative; }
.rx-lr .fr-cover-next { padding: 32px 60px 26px; }
.rx-lr .fr-sec-label { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #9a988a; margin-bottom: 12px; }
.rx-lr .fr-sec-title { font-size: 27px; font-weight: 700; letter-spacing: -0.028em; line-height: 1.15; color: #1a1a14; }
.rx-lr .fr-masthead { display: flex; align-items: center; gap: 14px; }
.rx-lr .fr-logo { flex-shrink: 0; display: block; }
.rx-lr .fr-masthead-text { display: flex; flex-direction: column; line-height: 1.05; }
.rx-lr .fr-wordmark { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; color: #1a1a14; }
.rx-lr .fr-wordmark-sub { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #c9714f; margin-top: 5px; }
.rx-lr .fr-cover-grid { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 40px; align-items: start; margin-top: 18px; }
.rx-lr .fr-cover-title { font-size: 34px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.12; color: #1a1a14; margin: 0; word-break: break-word; }
.rx-lr .fr-analysis-box { background: #ffffff; border: 1px solid #e2e0d2; border-radius: 14px; padding: 13px 18px 13px; box-shadow: 0 1px 0 rgba(26,26,20,0.03); }
.rx-lr .fr-box-label { font-size: 9.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #9a988a; margin-bottom: 6px; }
.rx-lr .fr-box-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 13px; color: #3a3a32; }
.rx-lr .fr-box-row strong { font-size: 22px; font-weight: 800; color: #1a1a14; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.rx-lr .fr-box-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.rx-lr .fr-box-list li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #1a1a14; }
.rx-lr .fr-box-list svg { color: #5f8a4a; flex-shrink: 0; }
.rx-lr .fr-box-list.is-locked li { color: #7a7a6c; }
.rx-lr .fr-box-list.is-locked svg { color: #9a988a; }
.rx-lr .fr-result-grid { display: grid; grid-template-columns: minmax(230px, 5fr) minmax(240px, 6fr); gap: 48px; align-items: start; }
.rx-lr .fr-score-kicker { font-size: 10px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: #9a988a; margin-top: 10px; }
.rx-lr .fr-result-rows { border-top: 1px solid #1a1a14; }
.rx-lr .fr-row { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid #e8e6da; }
.rx-lr .fr-row-label { font-size: 14px; color: #1a1a14; }
.rx-lr .fr-row-sub { font-size: 11.5px; color: #9a988a; white-space: nowrap; }
.rx-lr .fr-row-value { font-size: 18px; font-weight: 700; color: #1a1a14; min-width: 44px; text-align: right; }
.rx-lr .fr-next-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.rx-lr .fr-point { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid #e8e6da; }
.rx-lr .fr-sec-label + .fr-point { border-top: 1px solid #1a1a14; }
.rx-lr .fr-point-n { font-size: 11px; font-weight: 700; color: #c9714f; font-variant-numeric: tabular-nums; padding-top: 3px; }
.rx-lr .fr-point-title { font-size: 14.5px; font-weight: 700; color: #1a1a14; line-height: 1.4; }
.rx-lr .fr-point-detail { font-size: 13px; line-height: 1.6; color: #5a5a4e; margin-top: 3px; }
.rx-lr-page { font-weight: 600; color: #c9714f; }
.rx-lr-more { font-size: 12.5px; color: #7a7a6c; margin-top: 12px; }
.rx-sk { display: block; height: 10px; border-radius: 5px; background: #d9d7c8; margin-top: 10px; }
.rx-lr-blur { filter: blur(7px); user-select: none; pointer-events: none; }
.rx-lr-rest { position: relative; min-height: 520px; overflow: hidden; }
.rx-lr-rest > .fr-sec { border-bottom: 0; }
.rx-lr .rx-lr-guide-sec { padding: 40px 60px 36px; }
.rx-lr-guide { margin-top: 18px; border: 1px solid #e2e0d2; border-radius: 12px; background: #fff; }
.rx-lr-guide-row { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 12px 18px; border-bottom: 1px solid #ecebe0; align-items: start; }
.rx-lr-guide-row:last-child { border-bottom: 0; }
.rx-lr-guide-row span { font-size: 11px; font-weight: 800; color: #fff; background: #1a1a14; border-radius: 7px; width: 36px; height: 26px; display: grid; place-items: center; margin-top: 1px; }
.rx-lr-guide-row b { display: block; font-size: 14.5px; color: #1a1a14; line-height: 1.3; }
.rx-lr-guide-row em { display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; color: #9a988a; margin-top: 3px; }
.rx-lr-guide-row em svg { color: #9a988a; }
.rx-lr-guide-row.is-open em, .rx-lr-guide-row.is-open em svg { color: #5f8a4a; }
.rx-lr-guide-row.is-open { background: rgba(95,138,74,0.06); }
.rx-lr-guide-row small { display: block; font-size: 12.5px; line-height: 1.5; color: #6b6b5e; margin-top: 3px; }
.rx-lr-scope { font-size: 12.5px; line-height: 1.55; color: #5a5a4e; margin-top: 14px; padding-top: 12px; border-top: 1px solid #e8e6da; }
.rx-ov-rest { position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: center; padding: 56px 16px 0; background: linear-gradient(to bottom, rgba(250,250,246,0.35), rgba(250,250,246,0.85) 60%, rgba(250,250,246,0.96)); }
.rx-unlock { width: min(440px, 100%); background: #141412; color: #e8e7d4; border-radius: 18px; padding: 26px 26px 22px; text-align: center; box-shadow: 0 24px 60px rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.08); }
.rx-unlock .lk { width: 44px; height: 44px; border-radius: 999px; background: rgba(232,184,154,0.12); color: #E8B89A; display: grid; place-items: center; margin: 0 auto 12px; }
.rx-unlock h3 { margin: 0 0 6px; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; color: #e8e7d4; }
.rx-unlock p { margin: 0 0 16px; font-size: 13.5px; line-height: 1.55; color: #9a9a90; }
.rx-unlock .rx-cta { margin-top: 0; width: 100%; justify-content: space-between; padding-left: 24px; }
.rx-unlock .pr { margin-top: 10px; font-size: 12.5px; color: #9a9a90; }
@container (max-width: 640px) {
  .rx-lr .fr-sec, .rx-lr .fr-cover-head, .rx-lr .fr-cover-result, .rx-lr .fr-cover-next, .rx-lr .rx-lr-guide-sec { padding: 34px 26px; }
  .rx-lr .fr-result-grid, .rx-lr .fr-next-grid, .rx-lr .fr-cover-grid { grid-template-columns: 1fr; gap: 30px; }
  .rx-lr .fr-cover-grid { margin-top: 32px; }
  .rx-lr .fr-cover-title { font-size: 27px; }
  .rx-ov-rest { padding-top: 28px; }
  .rx-unlock { padding: 20px 16px 16px; }
}
.rx-gauge { width: 100%; max-width: 220px; height: auto; display: block; margin: 0 0 4px; }
.rx-lr .fr-verdict { font-size: 16.5px; font-weight: 600; line-height: 1.45; color: #1a1a14; margin-top: 12px; max-width: 30ch; }
.rx-lr-hint { font-size: 12.5px; color: #7a7a6c; margin-top: 8px; }
.rx-lr .fr-row.is-locked .fr-row-label { color: #7a7a6c; }
.rx-lr .fr-row.is-locked .fr-row-value { color: #9a988a; display: inline-flex; justify-content: flex-end; }

/* Etapa 3: mobil — cardul „pronto” în secțiune + foaia pe tot ecranul cu raportul blocat */
.rx-sheet { position: fixed; inset: 0; z-index: 1001; /* peste navbar (1000); fereastra de cont se deschide după ce foaia se închide */ background: #0a0a08; display: flex; flex-direction: column; }
.rx-sheet-top { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,0.08); color: var(--primary); font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.rx-sheet-close { background: transparent; border: 1px solid rgba(255,255,255,0.16); color: var(--primary-strong); border-radius: 999px; padding: 7px 14px; font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; cursor: pointer; }
.rx-sheet-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.rx-sheet-scroll .rx-lr { max-width: none; border-radius: 0; box-shadow: none; }
.rx-sheet-bar { flex: 0 0 auto; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(255,255,255,0.08); background: #0a0a08; }
.rx-sheet-bar .rx-cta { margin-top: 0; width: 100%; justify-content: space-between; padding-left: 22px; font-size: 16px; }
.rx-sheet-bar .rx-cta .circ { width: 40px; height: 40px; }
.rx-lr-close { position: absolute; top: 18px; right: 18px; z-index: 2; width: 38px; height: 38px; border-radius: 999px; border: 1px solid #e2e0d2; background: #fff; color: #1a1a14; display: grid; place-items: center; cursor: pointer; box-shadow: 0 1px 2px rgba(26,26,20,0.06); transition: background 0.15s, transform 0.15s; }
.rx-lr-close:hover { background: #f1f0e6; transform: scale(1.05); }
/* E2E 20 oct: titlul rămâne pe 2 rânduri și pe telefoanele înguste și pe laptopurile mici */
@media (max-width: 400px) { .rx-title { font-size: 29px; } }
@media (min-width: 1024px) and (max-width: 1199px) { .rx-inner:not(.is-rep) .rx-title { font-size: 50px; } }
/* E2E 20 oct: „Fechar” din foaie ≥ 44 px (țintă de atingere) */
.rx-sheet-close { min-height: 44px; padding: 10px 16px; }
/* pas 467: nota de sub caseta de humanizare (fără cont) */
.tester-foot-note { font-size: 11.5px; color: var(--muted); margin-right: auto; align-self: center; }
/* pas 468: „Entrar” mai mare pe mobil/tabletă (după regulile fluide de mai sus, ca să le bată) */
@media (max-width: 899px) { .navbar .nav-login { font-size: clamp(12px, 3.5vw, 13.5px) !important; padding: 6px clamp(9px, 2.8vw, 13px) !important; min-height: 30px; } } /* pas 483: la 320 px cu 3 linkuri ajungea la 29 px */
/* pas 471: pagina /raio-x (Google Ads) — „Como funciona” */
.rxp-how { background: var(--bg); padding: 24px 16px 56px; }
@media (min-width: 768px) { .rxp-how { padding: 32px 32px 80px; } }
.rxp-wrap { max-width: 1240px; margin: 0 auto; }
.rxp-steps { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 22px; }
@media (min-width: 768px) { .rxp-steps { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.rxp-step { background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: 18px; padding: 22px 20px; }
.rxp-step-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; background: rgba(232,184,154,0.14); color: var(--primary); font-size: 13px; font-weight: 800; margin-bottom: 12px; }
.rxp-step h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; color: var(--primary-strong); letter-spacing: -0.01em; }
.rxp-step p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
/* /raio-x: prima secțiune stă sub bara de navigare (nu există hero deasupra) */
/* pas 494: /humanizar — caseta în primul ecran sub navbar; specificitate (1,2,0) ca să bată `#tester:not(.appview *)` !important de mai jos */
.hzp-top #tester.tester-section { padding-top: 112px !important; border-top: 0 !important; }
@media (min-width: 768px) { .hzp-top #tester.tester-section { padding-top: 128px !important; } }
.hzp-sub { margin: 0; max-width: 620px; font-size: 16px; line-height: 1.55; color: var(--muted); }
@media (min-width: 768px) { .hzp-sub { font-size: 18px; } }
.rxp-top .rx-section { padding-top: 112px; }
@media (min-width: 768px) { .rxp-top .rx-section { padding-top: 128px; } }
@media (min-width: 1024px) { .rxp-top .rx-section { padding-top: 120px; } }
/* pas 472: bara de deblocare sub punctele de pe copertă (desktop); pe mobil există bara lipită jos a foii */
.rx-lr .rx-lr-unlockbar { display: flex; align-items: center; gap: 18px; padding: 22px 60px; background: #f3f2ea; border-bottom: 1px solid #e8e6da; }
.rx-lr .rx-lr-unlockbar .rx-cta { margin-top: 0; }
.rx-lr-unlockbar-note { font-size: 12.5px; color: #7a7a6c; }
@media (max-width: 1023px) { .rx-sheet .rx-lr-unlockbar { display: none; } }
@container (max-width: 640px) { .rx-lr .rx-lr-unlockbar { padding: 18px 26px; flex-direction: column; align-items: stretch; } }
/* pas 478 (owner, 20 oct): bulina chatului acoperea „Iniciar análise” pe desktop în panoul de opțiuni al Raio-X; ascunsă cât e
   deschis panoul de opțiuni (faza preview, atributul data-scan-phase al ScanDocument), în timpul analizei și în raport. Nu `.fr-scroll`:
   exemplul de pe ecranul de upload randează și el FullReportPage. Fereastra de chat deja deschisă nu e afectată. */
body:has([data-scan-phase="preview"]) .chat-bubble, body:has([data-scan-phase="scanning"]) .chat-bubble, body:has([data-scan-phase="done"]) .chat-bubble, body:has([data-scan-phase="full_report"]) .chat-bubble { display: none !important; }

/* pas 479: secțiunea „Simular banca” pe landing — conversația care se joacă singură (machete scratchpad/d17-banca-anim, v4) */
.bl-section { border-top: 1px solid var(--line); }
/* mobil: etichetă, titlu, card, buton, una sub alta; desktop (owner, 20 oct): ca la Raio-X — titlul + butonul în stânga, cardul în dreapta */
.rx-inner.is-rep.bl-inner { max-width: 600px; }
.bl-left { display: contents; }
@media (min-width: 1024px) {
  /* owner (20 oct): coloana din stânga (etichetă + titlu) aliniată SUS cu cardul, butonul imediat sub titlu; cardul mai înalt */
  .rx-inner.is-rep.bl-inner { max-width: 1180px; display: grid; grid-template-columns: minmax(0, 1fr) 560px; grid-template-rows: auto 1fr; column-gap: 72px; align-items: start; text-align: left; justify-items: start; }
  .bl-inner .bl-left { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; align-items: flex-start; padding-top: 6px; }
  .bl-inner .rx-eyebrow { text-align: left; }
  .bl-inner .rx-title { margin-bottom: 0; }
  .bl-inner .bc { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
  .bl-inner .bc-feed { min-height: 360px; padding-top: 22px; }
  .bl-inner .bl-cta { grid-column: 1; grid-row: 2; align-self: start; margin-top: 28px; }
}
.bc { width: 100%; max-width: 560px; margin: 0 auto; background: #0e0e0c; border: 1px solid rgba(255,255,255,0.10); border-radius: 22px; box-shadow: 0 30px 70px rgba(0,0,0,0.55); text-align: left; overflow: hidden; }
.bc-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.bc-av { width: 36px; height: 36px; border-radius: 999px; background: var(--primary); color: #0a0a08; font-weight: 800; display: grid; place-items: center; font-size: 15px; flex-shrink: 0; }
.bc-title { font-size: 14px; font-weight: 700; color: var(--primary-strong); }
.bc-sub { font-size: 11.5px; color: #8a8a7a; margin-top: 1px; }
.bc-count { margin-left: auto; font-size: 13px; color: #8a8a7a; font-variant-numeric: tabular-nums; }
.bc-feed { min-height: 290px; padding: 18px 18px 18px; display: flex; flex-direction: column; gap: 10px; }
.bc-msg { max-width: 86%; padding: 11px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; color: var(--primary-strong); opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; }
.bc-msg.is-in { opacity: 1; transform: none; }
.bc-msg--banca { align-self: flex-start; background: rgba(255,255,255,0.06); border-bottom-left-radius: 6px; }
.bc-msg--voce { align-self: flex-end; background: rgba(232,184,154,0.16); border: 1px solid rgba(232,184,154,0.25); border-bottom-right-radius: 6px; color: #f0e9df; }
.bc-who { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #8a8a7a; font-weight: 700; margin-bottom: 4px; }
.bc-typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.bc-typing span { width: 6px; height: 6px; border-radius: 999px; background: #8a8a7a; animation: bcDots 1s infinite ease-in-out; }
.bc-typing span:nth-child(2) { animation-delay: .15s; }
.bc-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes bcDots { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.bc-msg--fb { max-width: 92%; }
.bc-fb { display: flex; gap: 12px; align-items: center; }
.bc-nota { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; flex-shrink: 0; line-height: 1; }
.bc-nota i { font-style: normal; font-size: 11px; color: #8a8a7a; font-weight: 600; margin-left: 1px; }
.bc-fb strong { font-weight: 700; }
.bc-fb > span:last-child { font-size: 13.5px; color: #c8c7b4; line-height: 1.4; }
.bc-final { align-self: center; text-align: center; padding: 28px 0 12px; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.bc-final.is-in { opacity: 1; transform: none; }
.bc-final-n { font-size: 56px; font-weight: 800; color: var(--primary-strong); letter-spacing: -0.04em; line-height: 1; }
.bc-final-n i { font-style: normal; font-size: 16px; color: #8a8a7a; font-weight: 600; margin-left: 3px; }
.bc-final-s { margin-top: 8px; font-size: 14px; color: #c8c7b4; }
.bl-cta { margin-top: 34px; }
@media (min-width: 1024px) { .bl-cta { margin-top: 40px; } }
@media (prefers-reduced-motion: reduce) { .bc-msg, .bc-final { transition: none; } .bc-typing span { animation: none; } }

/* pas 480 (audit landing, 20 oct 2026): ritm vizual — fundaluri alternate care se văd, chenar subțire sus la fiecare secțiune,
   aceeași respirație verticală; machetele Raio-X cu 2 adnotări în loc de 4 (a doua din fiecare coloană ascunsă). */
/* #tester există și în aplicație (Humanizar) — regulile de ritm sunt DOAR pentru landing (:not(.appview *)); altfel padding-ul mutat butonul „Reescrever texto” sub bula de chat la 360×640 */
#raiox, #tester:not(.appview *), #docvertical, #banca, #demo, #how, #features, #faq { border-top: 1px solid rgba(225, 224, 204, 0.10); }
#docvertical, #banca, #how, #faq { background: #0d0d0b !important; }
#raiox, #tester:not(.appview *), #demo, #features { background: #000 !important; }
@media (min-width: 1024px) {
  #raiox, #tester:not(.appview *), #docvertical, #banca, #how, #features, #faq { padding-top: 96px !important; padding-bottom: 88px !important; }
  #demo { padding-top: 72px !important; padding-bottom: 72px !important; }
}
@media (max-width: 1023px) {
  #raiox, #tester:not(.appview *), #docvertical, #banca, #how, #features, #faq { padding-top: 56px !important; padding-bottom: 56px !important; }
}
/* pas 481 (owner, 20 oct): pe mobil butonul Raio-X (și al băncii, aceeași clasă) nu mai e pe toată lățimea: 273×54, text 15, cerc 38 (era 358×66, text 17, cerc 46);
   bara lipită jos din raportul blocat (.rx-sheet-bar) rămâne pe toată lățimea */
@media (max-width: 620px) {
  .rx-section .rx-cta { font-size: 15px; padding: 8px 8px 8px 22px; width: auto; align-self: center; justify-content: center; gap: 12px; }
  .rx-section .rx-cta .circ { width: 38px; height: 38px; }
}
/* pas 481 → 485 (owner, 20 oct): „Do rascunho à entrega” (cei 3 pași) a fost ascunsă pe mobil la 481 și pusă înapoi la 485 (era vizibilă și înainte de 20 oct) */
/* pas 483: eticheta scurtă „Banca” doar pe mobil (≤640), fără altă schimbare de mărime */
.nav-s { display: none; }
@media (max-width: 640px) { .nav-links .nav-s { display: inline; } .nav-links .nav-l { display: none; } }
/* pas 484 (owner, 20 oct) — sistem de titluri pe landing, două trepte:
   PRODUS (Raio-X, Humanizar, Banca) = bold 700, 56 px desktop / 32 px mobil, etichetă piersică deasupra;
   SUPORT (raportul complet, video, pașii, Feito para, FAQ) = regular 400, 40 px desktop / 28 px mobil, culoarea normală (nu gri).
   Excepții păstrate: hero-ul. Italicul din „Cole um trecho do seu TCC” scos (owner: nu se potrivește cu restul). */
#raiox .rx-title, #banca .rx-title, #tester h2 { font-size: 56px !important; font-weight: 700 !important; letter-spacing: -0.035em !important; line-height: 1.08 !important; color: var(--primary-strong) !important; }
#tester h2 em, #tester h2 i, #tester h2 .serif-it, #tester .serif-it { font-style: normal !important; font-family: inherit !important; font-weight: inherit !important; }
#docvertical h3, #demo h2, #how h2, #features h2, #faq h2 { font-size: 40px !important; font-weight: 400 !important; letter-spacing: -0.02em !important; line-height: 1.15 !important; color: var(--primary-strong) !important; }
#faq .label-col, #faq .section-label { font-size: 12px !important; letter-spacing: 0.18em !important; }
@media (max-width: 767px) {
  #raiox .rx-title, #banca .rx-title, #tester h2 { font-size: 32px !important; }
  #docvertical h3, #demo h2, #how h2, #features h2, #faq h2 { font-size: 28px !important; }
}

/* pas 508: mesajul Raio-X în header-ul aplicației, pe linia cu bulina de profil (Humanizar). Pe telefon, lângă brand și
   avatar încape doar „Já verificou seu TCC? →” (propoziția întreagă, eticheta și numele se ascund). */
@media (max-width: 640px) {
  .raiox-banner { margin: 0 6px 0 10px !important; padding-right: 22px !important; gap: 6px !important; justify-content: flex-end !important; }
  .raiox-banner .raiox-banner-msg, .raiox-banner .raiox-banner-novo, .raiox-banner .raiox-banner-name, .raiox-banner .raiox-banner-link { display: none !important; }
  .raiox-banner .raiox-banner-short { display: inline !important; }
}

/* pas 511: cardul Raio-X de după rezultatul umanizării (în aplicație). Miniatura refolosește .rx-page/.rx-ln de pe landing, la scară mică. */
.raiox-after { display: flex; align-items: center; gap: 18px; margin: 18px 0 4px; padding: 16px 18px; border-radius: 14px; border: 1px solid rgba(232,184,154,0.22); background: linear-gradient(135deg, rgba(232,184,154,0.07), rgba(232,184,154,0.02)); cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease; }
.raiox-after:hover { border-color: rgba(232,184,154,0.5); background: rgba(232,184,154,0.08); }
.raiox-after-thumb { position: relative; flex: 0 0 auto; width: 54px; height: 72px; margin: 0 8px 0 0; }
.raiox-after-thumb .rx-page { border-radius: 3px; }
.raiox-after-thumb .rx-page--2 { transform: translate(5px, -5px); }
.raiox-after-thumb .rx-page--3 { transform: translate(10px, -10px); }
.raiox-after-thumb .rx-page--1 { padding: 8px 7px 0; }
.raiox-after-thumb .rx-ln { height: 2px; margin-bottom: 4px; }
.raiox-after-thumb .rx-ln--t { height: 3px; margin-bottom: 7px; }
.raiox-after-thumb .rx-ln--ai { background: rgba(232,184,154,0.65); }
.raiox-after-body { flex: 1 1 auto; min-width: 0; }
.raiox-after-eyebrow { font-size: 10px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #E8B89A; margin-bottom: 4px; }
.raiox-after-title { font-size: 15px; font-weight: 800; color: #e8e7d4; letter-spacing: -0.01em; line-height: 1.25; margin-bottom: 4px; }
.raiox-after-sub { font-size: 12.5px; color: #a8a89a; line-height: 1.5; }
.raiox-after-sub strong { color: #c8c7b4; font-weight: 700; }
.raiox-after-cta { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px; background: #E8B89A; color: #0a0a08; font-size: 13px; font-weight: 800; white-space: nowrap; }
@media (max-width: 640px) {
  .raiox-after { flex-wrap: wrap; gap: 12px; padding: 14px; }
  .raiox-after-thumb { width: 46px; height: 60px; }
  .raiox-after-cta { width: 100%; justify-content: center; }
}

/* ── pas 521: Black Week assinantes (popup) ── */
.bw-overlay { position: fixed; inset: 0; z-index: 1300; background: rgba(0,0,0,0.76); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 16px; animation: fadeInPane 0.28s ease; }
.bw-modal { position: relative; width: min(500px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #0a0a08; border: 1px solid var(--line); border-radius: 28px; padding: 30px 30px 24px; box-shadow: 0 30px 80px rgba(0,0,0,0.75); color: var(--primary-strong); }
.bw-x { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.06); border: 1px solid var(--line); color: var(--muted); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.bw-x svg { display: block; }
.bw-x:hover { color: var(--primary-strong); background: rgba(255,255,255,0.1); }
.bw-head { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.bw-head-text { padding-right: 44px; min-width: 0; }
.bw-ring { width: 124px; height: 124px; flex: 0 0 auto; border-radius: 50%; overflow: hidden; border: 2px solid var(--primary); box-shadow: 0 0 0 8px rgba(232,184,154,0.08), 0 20px 50px rgba(0,0,0,0.6); background: #0a0a08; }
.bw-ring img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bw-title { font-size: 24px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 6px; color: var(--primary-strong); }
.bw-title span { color: var(--primary); }
.bw-cap { font-size: 12px; color: var(--muted); margin: 0; }
.bw-cap b { color: var(--primary-strong); font-weight: 600; }
.bw-p { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0 0 18px; }
.bw-rows { margin: 0 0 14px; }
.bw-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--primary-strong); }
.bw-row:first-child { border-top: 1px solid var(--line); }
.bw-row s { color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.bw-tot { display: flex; justify-content: space-between; align-items: flex-end; padding-top: 10px; }
.bw-lab { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.bw-lab span { display: block; font-size: 12px; letter-spacing: 0; text-transform: none; font-weight: 500; margin-top: 4px; }
.bw-pr { text-align: right; white-space: nowrap; line-height: 1; }
.bw-pr s { display: block; font-size: 14px; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.bw-pr b { font-size: 36px; font-weight: 800; letter-spacing: -0.03em; color: var(--primary-strong); }
.bw-pr em { font-style: normal; color: var(--primary); font-weight: 800; font-size: 13px; margin-left: 8px; vertical-align: middle; }
.bw-cta { display: block; width: 100%; margin-top: 18px; border: 0; border-radius: 999px; background: var(--primary); color: #0a0a08; font-weight: 800; font-size: 15px; padding: 15px 20px; cursor: pointer; font-family: inherit; }
.bw-cta:hover { filter: brightness(1.05); }
@media (max-width: 640px) {
  .bw-overlay { padding: 10px; align-items: flex-end; }
  .bw-modal { border-radius: 24px; padding: 24px 20px 20px; max-height: calc(100vh - 20px); }
  .bw-ring { width: 96px; height: 96px; }
  .bw-title { font-size: 19px; }
  .bw-p { font-size: 12.5px; line-height: 1.45; margin-bottom: 10px; }
  .bw-row { padding: 6px 0; font-size: 13px; }
  .bw-pr b { font-size: 28px; }
  .bw-cta { padding: 13px 18px; font-size: 14px; margin-top: 14px; }
}
