.vrm-intake-shell,
.vrm-intake-overlay {
  --vrm-bg: #090f18;
  --vrm-surface: #0c121d;
  --vrm-surface-soft: #0f1724;
  --vrm-surface-strong: #09111d;
  --vrm-border: rgba(37, 157, 206, 0.26);
  --vrm-border-strong: rgba(89, 149, 236, 0.48);
  --vrm-text: #ffffff;
  --vrm-text-soft: #8aa0ba;
  --vrm-text-muted: #8a9fc0;
  --vrm-cyan: #259dce;
  --vrm-blue: #2161da;
  --vrm-violet: #6930a9;
  --vrm-magenta: #d62d66;
  --vrm-green: #16a34a;
  --vrm-orange: #fb923c;
  --vrm-red: #ef4444;
  --vrm-shadow: 0 24px 48px rgba(28, 22, 111, 0.45);
  color: var(--vrm-text);
}

.vrm-intake-shell {
  width: min(1480px, 100%);
  margin: 0;
  padding: 16px 20px 30px;
}

body.vrm-intake-modal-open {
  overflow: hidden;
}

.vrm-intake-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.7fr);
  gap: 18px;
  margin-bottom: 18px;
}

.vrm-intake-search-card,
.vrm-intake-brand-card,
.vrm-intake-manual-card,
.vrm-intake-entry-card {
  border: 2px solid transparent;
  border-radius: 10px;
  background-image: linear-gradient(var(--vrm-surface), var(--vrm-surface)),
    linear-gradient(135deg, var(--vrm-cyan), var(--vrm-blue), var(--vrm-violet), var(--vrm-magenta));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 0 18px rgba(37, 157, 206, 0.22), 0 0 36px rgba(105, 48, 169, 0.14);
}

.vrm-intake-search-card,
.vrm-intake-manual-card,
.vrm-intake-entry-card {
  padding: 22px;
}

.vrm-intake-panel-header h1,
.vrm-intake-panel-header h2 {
  margin: 0;
  color: var(--vrm-cyan);
  font-size: 1.45rem;
  font-weight: 600;
}

.vrm-intake-panel-header p {
  margin: 10px 0 0;
  color: var(--vrm-text-soft);
  font-size: 0.875rem;
  line-height: 1.5;
}

.vrm-intake-hecvat-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(37, 157, 206, 0.34);
  border-radius: 10px;
  background: rgba(15, 23, 36, 0.86);
}

.vrm-intake-hecvat-card strong {
  display: block;
  font-size: 0.875rem;
}

.vrm-intake-hecvat-card p {
  margin: 6px 0 0;
  color: var(--vrm-text-soft);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.vrm-intake-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 18px;
}

.vrm-intake-field-wide {
  grid-column: 1 / -1;
}

.vrm-intake-field span,
.vrm-intake-box-field > span,
.vrm-intake-kpi-card > span {
  display: block;
  color: #c5d1e0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vrm-intake-field-meta,
.vrm-intake-section-title {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
}

.vrm-intake-field-meta::before,
.vrm-intake-section-title::before,
.vrm-intake-field-meta.is-editable::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  flex: 0 0 14px;
}

.vrm-intake-field-meta.is-risk::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%233ed0ff' stroke-width='1.45' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 1.5l4.7 1.7v3.7c0 3.1-1.9 5.9-4.7 7.2C5.2 12.8 3.3 10 3.3 6.9V3.2L8 1.5z'/%3E%3C/svg%3E");
}

.vrm-intake-field-meta.is-classification::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%233ed0ff' stroke-width='1.45' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='8' cy='3.2' rx='4.3' ry='1.9'/%3E%3Cpath d='M3.7 3.2v4.8c0 1 1.9 1.9 4.3 1.9s4.3-.9 4.3-1.9V3.2'/%3E%3Cpath d='M3.7 8v4.8c0 1 1.9 1.9 4.3 1.9s4.3-.9 4.3-1.9V8'/%3E%3C/svg%3E");
}

.vrm-intake-field-meta.is-cadence::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%233ed0ff' stroke-width='1.45' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.2' y='3.2' width='11.6' height='10.6' rx='1.6'/%3E%3Cpath d='M4.9 1.8v2.7M11.1 1.8v2.7M2.2 6.1h11.6'/%3E%3C/svg%3E");
}

.vrm-intake-field-meta.is-storage::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%233ed0ff' stroke-width='1.45' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5.1L8 2.4l5 2.7v5.8L8 13.6 3 10.9V5.1z'/%3E%3Cpath d='M3 5.1 8 8l5-2.9M8 8v5.6'/%3E%3C/svg%3E");
}

.vrm-intake-section-title.is-privacy::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%233ed0ff' stroke-width='1.45' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 1.5l4.7 1.7v3.7c0 3.1-1.9 5.9-4.7 7.2C5.2 12.8 3.3 10 3.3 6.9V3.2L8 1.5z'/%3E%3C/svg%3E");
}

.vrm-intake-field-meta.is-editable::after {
  width: 12px;
  height: 12px;
  opacity: 0.95;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%233ed0ff' stroke-width='1.45' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11.7 2.4a1.5 1.5 0 0 1 2 2L6.2 12l-3 .8.8-3 7.7-7.4z'/%3E%3Cpath d='M10.5 3.6l1.9 1.9'/%3E%3C/svg%3E");
}

.vrm-intake-field input,
.vrm-intake-field select,
.vrm-intake-field textarea,
.vrm-intake-box-field input,
.vrm-intake-box-field select,
.vrm-intake-box-field textarea,
.vrm-intake-kpi-card select {
  width: 100%;
  margin-top: 8px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(37, 157, 206, 0.22);
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--vrm-text);
  font-size: 0.875rem;
}

.vrm-intake-field textarea,
.vrm-intake-box-field textarea {
  min-height: 96px;
  resize: vertical;
}

.vrm-intake-field input[type="file"],
.vrm-intake-box-field input[type="file"] {
  padding: 0.55rem 0.75rem;
}

.vrm-intake-field input[type="file"]::file-selector-button,
.vrm-intake-box-field input[type="file"]::file-selector-button {
  margin-right: 0.8rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(37, 157, 206, 0.42);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(37, 157, 206, 0.24), rgba(105, 48, 169, 0.24));
  color: #e8f4ff;
  font-weight: 600;
  cursor: pointer;
}

.vrm-intake-helper-copy,
.vrm-intake-status {
  margin: 10px 0 0;
  color: var(--vrm-text-muted);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.vrm-intake-status {
  color: #f3b344;
}

.vrm-intake-search-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.vrm-intake-shell .btn-gradient,
.vrm-intake-overlay .btn-gradient {
  border: none;
  background: linear-gradient(135deg, var(--vrm-cyan) 0%, var(--vrm-blue) 35%, var(--vrm-violet) 70%, var(--vrm-magenta) 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(37, 157, 206, 0.4), 0 2px 8px rgba(214, 45, 102, 0.3);
}

.vrm-intake-shell .btn-pill {
  border-radius: 20px;
  padding-inline: 1.35rem;
}

.vrm-intake-shell .btn,
.vrm-intake-overlay .btn {
  min-height: 42px;
  font-weight: 600;
}

.vrm-intake-shell .btn-primary,
.vrm-intake-overlay .btn-primary {
  border: none;
  color: #ffffff;
  background: linear-gradient(135deg, var(--vrm-cyan) 0%, var(--vrm-blue) 35%, var(--vrm-violet) 70%, var(--vrm-magenta) 100%);
  box-shadow: 0 4px 16px rgba(37, 157, 206, 0.4), 0 2px 8px rgba(214, 45, 102, 0.3);
}

.vrm-intake-shell .btn-primary:hover,
.vrm-intake-overlay .btn-primary:hover {
  filter: brightness(1.06);
}

.vrm-intake-shell .btn-primary:disabled,
.vrm-intake-overlay .btn-primary:disabled {
  opacity: 0.52;
  box-shadow: none;
  cursor: not-allowed;
}

.vrm-intake-shell .btn-secondary,
.vrm-intake-overlay .btn-secondary {
  border: 1px solid rgba(120, 138, 166, 0.45);
  background: var(--color-surface-solid);
  color: var(--color-text);
}

.vrm-intake-shell .btn-secondary:hover,
.vrm-intake-overlay .btn-secondary:hover {
  border-color: rgba(137, 161, 197, 0.62);
  background: var(--color-surface-solid-alt);
}

.vrm-intake-brand-card {
  display: flex;
  align-items: stretch;
  min-height: 100%;
  padding: 18px;
}

.vrm-intake-brand-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-height: 100%;
  padding: 28px;
  border-radius: 10px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 18%, rgba(37, 157, 206, 0.28), transparent 26%),
    radial-gradient(circle at 80% 78%, rgba(214, 45, 102, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(12, 18, 29, 0.98), rgba(9, 14, 23, 0.98));
}

.vrm-intake-brand-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(37, 157, 206, 0.14), transparent 32%),
    linear-gradient(315deg, rgba(214, 45, 102, 0.12), transparent 30%);
  pointer-events: none;
}

.vrm-intake-brand-mark,
.vrm-intake-brand-copy {
  position: relative;
  z-index: 1;
}

.vrm-intake-brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  margin-bottom: 18px;
  border-radius: 22px;
  background: rgba(11, 21, 36, 0.88);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.vrm-intake-brand-shield {
  position: relative;
  width: 42px;
  height: 50px;
  border-radius: 14px 14px 20px 20px;
  background: linear-gradient(135deg, var(--vrm-cyan), var(--vrm-blue), var(--vrm-violet), var(--vrm-magenta));
  clip-path: polygon(50% 0%, 88% 16%, 88% 58%, 50% 100%, 12% 58%, 12% 16%);
  box-shadow: 0 0 18px rgba(37, 157, 206, 0.32);
}

.vrm-intake-brand-copy p {
  margin: 0;
  color: #70d4ff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vrm-intake-brand-copy h2 {
  margin: 0.75rem 0;
  font-size: 2.15rem;
  font-weight: 700;
  line-height: 1.1;
}

.vrm-intake-brand-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.vrm-intake-brand-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(37, 157, 206, 0.26);
  background: rgba(15, 23, 36, 0.82);
  font-size: 0.75rem;
  font-weight: 600;
  color: #d9e9ff;
}

.vrm-intake-required { color: var(--vrm-magenta); font-style: normal; }

.vrm-intake-form { margin-top: 18px; }

/* Static (non-collapsible) phase cards for entry form */
.vrm-phase-card-static { pointer-events: auto; }
.vrm-phase-card-static .vrm-phase-header { cursor: default; padding: 8px 18px 4px 0; border-bottom: none !important; border-radius: 12px 12px 0 0; }
.vrm-phase-header-static:hover { background: rgba(28, 40, 68, 0.85); }
.vrm-phase-card-static .vrm-phase-header-main h2 { margin: 0; line-height: 30px; }
.vrm-phase-card-static .vrm-phase-body { padding: 2px 18px 12px 42px; }

.vrm-intake-phase-input {
  width: 100%; padding: 0.75rem 1rem;
  border: 1px solid rgba(37, 157, 206, 0.22); border-radius: 8px;
  background: var(--color-surface); color: var(--vrm-text);
  font-size: 0.875rem; font-family: inherit;
}
.vrm-intake-phase-input:focus {
  outline: none; border-color: rgba(37, 157, 206, 0.5);
  box-shadow: 0 0 0 2px rgba(37, 157, 206, 0.15);
}
textarea.vrm-intake-phase-input { min-height: 72px; resize: vertical; }

/* Entry section phase colors */
[data-phase="entry-url"] .vrm-phase-index { border-color: rgba(72,224,200,.85); color: #48e0c8; box-shadow: 0 0 8px rgba(72,224,200,.25); }
[data-phase="entry-name"] .vrm-phase-index { border-color: rgba(50,200,230,.85); color: #32c8e6; box-shadow: 0 0 8px rgba(50,200,230,.25); }
[data-phase="entry-product"] .vrm-phase-index { border-color: rgba(60,180,255,.85); color: #3cb4ff; box-shadow: 0 0 8px rgba(60,180,255,.25); }
[data-phase="entry-version"] .vrm-phase-index { border-color: rgba(120,130,255,.85); color: #7882ff; box-shadow: 0 0 8px rgba(120,130,255,.25); }
[data-phase="entry-usecase"] .vrm-phase-index { border-color: rgba(160,100,255,.85); color: #a064ff; box-shadow: 0 0 8px rgba(160,100,255,.25); }
[data-phase="entry-proceed"] .vrm-phase-index { border-color: rgba(230,60,160,.85); color: #e63ca0; box-shadow: 0 0 8px rgba(230,60,160,.25); font-size: 16px; }

/* Manual section phase colors */
[data-phase="basics"] .vrm-phase-index { border-color: rgba(72,224,200,.85); color: #48e0c8; box-shadow: 0 0 8px rgba(72,224,200,.25); }
[data-phase="datatypes"] .vrm-phase-index { border-color: rgba(60,180,255,.85); color: #3cb4ff; box-shadow: 0 0 8px rgba(60,180,255,.25); }
[data-phase="usecase"] .vrm-phase-index { border-color: rgba(160,100,255,.85); color: #a064ff; box-shadow: 0 0 8px rgba(160,100,255,.25); }
[data-phase="submit"] .vrm-phase-index { border-color: rgba(230,60,160,.85); color: #e63ca0; box-shadow: 0 0 8px rgba(230,60,160,.25); font-size: 16px; }

[data-phase="basics"]:not(.is-collapsed) .vrm-phase-header { border-bottom-color: rgba(72,224,200,.25); }
[data-phase="datatypes"]:not(.is-collapsed) .vrm-phase-header { border-bottom-color: rgba(60,180,255,.25); }
[data-phase="usecase"]:not(.is-collapsed) .vrm-phase-header { border-bottom-color: rgba(160,100,255,.25); }
[data-phase="submit"]:not(.is-collapsed) .vrm-phase-header { border-bottom-color: rgba(230,60,160,.25); }

/* Submit phase button states */
[data-phase="submit"] .vrm-phase-header:disabled { opacity: 0.52; cursor: not-allowed; }
[data-phase="submit"] .vrm-phase-header:disabled:hover { background: rgba(28,40,68,.85); }
[data-phase="submit"] .vrm-phase-header:not(:disabled) .vrm-intake-submit-badge {
  border-color: rgba(0,212,170,.45); background: rgba(0,212,170,.12); color: #00d4aa;
}

.vrm-intake-submit-badge {
  display: inline-flex; align-items: center; padding: 3px 10px;
  border-radius: 999px; border: 1px solid rgba(230,60,160,.45);
  background: rgba(230,60,160,.12); color: #e63ca0;
  font-size: 11px; font-weight: 700; letter-spacing: 0.02em;
}

.vrm-intake-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}

.vrm-intake-boolean-grid {
  display: grid;
  gap: 10px;
}

.vrm-intake-toggle-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.vrm-intake-toggle-row:last-child {
  border-bottom: none;
}

.vrm-intake-toggle-row span {
  color: var(--vrm-text);
  font-size: 0.875rem;
  font-weight: 500;
}

.vrm-intake-overlay {
  --vrm-bg: #090f18;
  --vrm-surface: #0c121d;
  --vrm-surface-soft: #0f1724;
  --vrm-surface-strong: #09111d;
  --vrm-border: rgba(37, 157, 206, 0.26);
  --vrm-border-strong: rgba(89, 149, 236, 0.48);
  --vrm-text: #ffffff;
  --vrm-text-soft: #8aa0ba;
  --vrm-text-muted: #8a9fc0;
  --vrm-cyan: #259dce;
  --vrm-blue: #2161da;
  --vrm-violet: #6930a9;
  --vrm-magenta: #d62d66;
  --vrm-green: #16a34a;
  --vrm-orange: #fb923c;
  --vrm-red: #ef4444;
  --vrm-shadow: 0 24px 48px rgba(28, 22, 111, 0.45);
  color: var(--vrm-text);
}

.vrm-intake-shell {
  width: min(1480px, 100%);
  margin: 0;
  padding: 16px 20px 30px;
}

body.vrm-intake-modal-open {
  overflow: hidden;
}

.vrm-intake-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.7fr);
  gap: 18px;
  margin-bottom: 18px;
}

.vrm-intake-search-card,
.vrm-intake-brand-card,
.vrm-intake-manual-card,
.vrm-intake-entry-card {
  border: 2px solid transparent;
  border-radius: 10px;
  background-image: linear-gradient(var(--vrm-surface), var(--vrm-surface)),
    linear-gradient(135deg, var(--vrm-cyan), var(--vrm-blue), var(--vrm-violet), var(--vrm-magenta));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 0 18px rgba(37, 157, 206, 0.22), 0 0 36px rgba(105, 48, 169, 0.14);
}

.vrm-intake-search-card,
.vrm-intake-manual-card,
.vrm-intake-entry-card {
  padding: 22px;
}

.vrm-intake-panel-header h1,
.vrm-intake-panel-header h2 {
  margin: 0;
  color: var(--vrm-cyan);
  font-size: 1.45rem;
  font-weight: 600;
}

.vrm-intake-panel-header p {
  margin: 10px 0 0;
  color: var(--vrm-text-soft);
  font-size: 0.875rem;
  line-height: 1.5;
}

.vrm-intake-hecvat-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(37, 157, 206, 0.34);
  border-radius: 10px;
  background: rgba(15, 23, 36, 0.86);
}

.vrm-intake-hecvat-card strong {
  display: block;
  font-size: 0.875rem;
}

.vrm-intake-hecvat-card p {
  margin: 6px 0 0;
  color: var(--vrm-text-soft);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.vrm-intake-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 18px;
}

.vrm-intake-field-wide {
  grid-column: 1 / -1;
}

.vrm-intake-field span,
.vrm-intake-box-field > span,
.vrm-intake-kpi-card > span {
  display: block;
  color: #c5d1e0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vrm-intake-field-meta,
.vrm-intake-section-title {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
}

.vrm-intake-field-meta::before,
.vrm-intake-section-title::before,
.vrm-intake-field-meta.is-editable::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  flex: 0 0 14px;
}

.vrm-intake-field-meta.is-risk::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%233ed0ff' stroke-width='1.45' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 1.5l4.7 1.7v3.7c0 3.1-1.9 5.9-4.7 7.2C5.2 12.8 3.3 10 3.3 6.9V3.2L8 1.5z'/%3E%3C/svg%3E");
}

.vrm-intake-field-meta.is-classification::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%233ed0ff' stroke-width='1.45' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='8' cy='3.2' rx='4.3' ry='1.9'/%3E%3Cpath d='M3.7 3.2v4.8c0 1 1.9 1.9 4.3 1.9s4.3-.9 4.3-1.9V3.2'/%3E%3Cpath d='M3.7 8v4.8c0 1 1.9 1.9 4.3 1.9s4.3-.9 4.3-1.9V8'/%3E%3C/svg%3E");
}

.vrm-intake-field-meta.is-cadence::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%233ed0ff' stroke-width='1.45' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.2' y='3.2' width='11.6' height='10.6' rx='1.6'/%3E%3Cpath d='M4.9 1.8v2.7M11.1 1.8v2.7M2.2 6.1h11.6'/%3E%3C/svg%3E");
}

.vrm-intake-field-meta.is-storage::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%233ed0ff' stroke-width='1.45' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5.1L8 2.4l5 2.7v5.8L8 13.6 3 10.9V5.1z'/%3E%3Cpath d='M3 5.1 8 8l5-2.9M8 8v5.6'/%3E%3C/svg%3E");
}

.vrm-intake-section-title.is-privacy::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%233ed0ff' stroke-width='1.45' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 1.5l4.7 1.7v3.7c0 3.1-1.9 5.9-4.7 7.2C5.2 12.8 3.3 10 3.3 6.9V3.2L8 1.5z'/%3E%3C/svg%3E");
}

.vrm-intake-field-meta.is-editable::after {
  width: 12px;
  height: 12px;
  opacity: 0.95;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%233ed0ff' stroke-width='1.45' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11.7 2.4a1.5 1.5 0 0 1 2 2L6.2 12l-3 .8.8-3 7.7-7.4z'/%3E%3Cpath d='M10.5 3.6l1.9 1.9'/%3E%3C/svg%3E");
}

.vrm-intake-field input,
.vrm-intake-field select,
.vrm-intake-field textarea,
.vrm-intake-box-field input,
.vrm-intake-box-field select,
.vrm-intake-box-field textarea,
.vrm-intake-kpi-card select {
  width: 100%;
  margin-top: 8px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(37, 157, 206, 0.22);
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--vrm-text);
  font-size: 0.875rem;
}

.vrm-intake-field textarea,
.vrm-intake-box-field textarea {
  min-height: 96px;
  resize: vertical;
}

.vrm-intake-field input[type="file"],
.vrm-intake-box-field input[type="file"] {
  padding: 0.55rem 0.75rem;
}

.vrm-intake-field input[type="file"]::file-selector-button,
.vrm-intake-box-field input[type="file"]::file-selector-button {
  margin-right: 0.8rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(37, 157, 206, 0.42);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(37, 157, 206, 0.24), rgba(105, 48, 169, 0.24));
  color: #e8f4ff;
  font-weight: 600;
  cursor: pointer;
}

.vrm-intake-helper-copy,
.vrm-intake-status {
  margin: 10px 0 0;
  color: var(--vrm-text-muted);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.vrm-intake-status {
  color: #f3b344;
}

.vrm-intake-search-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.vrm-intake-shell .btn-gradient,
.vrm-intake-overlay .btn-gradient {
  border: none;
  background: linear-gradient(135deg, var(--vrm-cyan) 0%, var(--vrm-blue) 35%, var(--vrm-violet) 70%, var(--vrm-magenta) 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(37, 157, 206, 0.4), 0 2px 8px rgba(214, 45, 102, 0.3);
}

.vrm-intake-shell .btn-pill {
  border-radius: 20px;
  padding-inline: 1.35rem;
}

.vrm-intake-shell .btn,
.vrm-intake-overlay .btn {
  min-height: 42px;
  font-weight: 600;
}

.vrm-intake-shell .btn-primary,
.vrm-intake-overlay .btn-primary {
  border: none;
  color: #ffffff;
  background: linear-gradient(135deg, var(--vrm-cyan) 0%, var(--vrm-blue) 35%, var(--vrm-violet) 70%, var(--vrm-magenta) 100%);
  box-shadow: 0 4px 16px rgba(37, 157, 206, 0.4), 0 2px 8px rgba(214, 45, 102, 0.3);
}

.vrm-intake-shell .btn-primary:hover,
.vrm-intake-overlay .btn-primary:hover {
  filter: brightness(1.06);
}

.vrm-intake-shell .btn-primary:disabled,
.vrm-intake-overlay .btn-primary:disabled {
  opacity: 0.52;
  box-shadow: none;
  cursor: not-allowed;
}

.vrm-intake-shell .btn-secondary,
.vrm-intake-overlay .btn-secondary {
  border: 1px solid rgba(120, 138, 166, 0.45);
  background: var(--color-surface-solid);
  color: var(--color-text);
}

.vrm-intake-shell .btn-secondary:hover,
.vrm-intake-overlay .btn-secondary:hover {
  border-color: rgba(137, 161, 197, 0.62);
  background: var(--color-surface-solid-alt);
}

.vrm-intake-brand-card {
  display: flex;
  align-items: stretch;
  min-height: 100%;
  padding: 18px;
}

.vrm-intake-brand-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-height: 100%;
  padding: 28px;
  border-radius: 10px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 18%, rgba(37, 157, 206, 0.28), transparent 26%),
    radial-gradient(circle at 80% 78%, rgba(214, 45, 102, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(12, 18, 29, 0.98), rgba(9, 14, 23, 0.98));
}

.vrm-intake-brand-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(37, 157, 206, 0.14), transparent 32%),
    linear-gradient(315deg, rgba(214, 45, 102, 0.12), transparent 30%);
  pointer-events: none;
}

.vrm-intake-brand-mark,
.vrm-intake-brand-copy {
  position: relative;
  z-index: 1;
}

.vrm-intake-brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  margin-bottom: 18px;
  border-radius: 22px;
  background: rgba(11, 21, 36, 0.88);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.vrm-intake-brand-shield {
  position: relative;
  width: 42px;
  height: 50px;
  border-radius: 14px 14px 20px 20px;
  background: linear-gradient(135deg, var(--vrm-cyan), var(--vrm-blue), var(--vrm-violet), var(--vrm-magenta));
  clip-path: polygon(50% 0%, 88% 16%, 88% 58%, 50% 100%, 12% 58%, 12% 16%);
  box-shadow: 0 0 18px rgba(37, 157, 206, 0.32);
}

.vrm-intake-brand-copy p {
  margin: 0;
  color: #70d4ff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vrm-intake-brand-copy h2 {
  margin: 0.75rem 0;
  font-size: 2.15rem;
  font-weight: 700;
  line-height: 1.1;
}

.vrm-intake-brand-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.vrm-intake-brand-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(37, 157, 206, 0.26);
  background: rgba(15, 23, 36, 0.82);
  font-size: 0.75rem;
  font-weight: 600;
  color: #d9e9ff;
}

.vrm-intake-required { color: var(--vrm-magenta); font-style: normal; }

.vrm-intake-form { margin-top: 18px; }

/* Static (non-collapsible) phase cards for entry form */
.vrm-phase-card-static { pointer-events: auto; }
.vrm-phase-header-static { cursor: default; padding: 14px 18px 0 0; border-bottom: none; }
.vrm-phase-header-static:hover { background: rgba(28, 40, 68, 0.85); }
.vrm-phase-card-static .vrm-phase-body { padding-top: 4px; }

.vrm-intake-phase-input {
  width: 100%; padding: 0.75rem 1rem;
  border: 1px solid rgba(37, 157, 206, 0.22); border-radius: 8px;
  background: var(--color-surface); color: var(--vrm-text);
  font-size: 0.875rem; font-family: inherit;
}
.vrm-intake-phase-input:focus {
  outline: none; border-color: rgba(37, 157, 206, 0.5);
  box-shadow: 0 0 0 2px rgba(37, 157, 206, 0.15);
}
textarea.vrm-intake-phase-input { min-height: 72px; resize: vertical; }

/* Entry section phase colors */
[data-phase="entry-url"] .vrm-phase-index { border-color: rgba(72,224,200,.85); color: #48e0c8; box-shadow: 0 0 8px rgba(72,224,200,.25); }
[data-phase="entry-name"] .vrm-phase-index { border-color: rgba(50,200,230,.85); color: #32c8e6; box-shadow: 0 0 8px rgba(50,200,230,.25); }
[data-phase="entry-product"] .vrm-phase-index { border-color: rgba(60,180,255,.85); color: #3cb4ff; box-shadow: 0 0 8px rgba(60,180,255,.25); }
[data-phase="entry-version"] .vrm-phase-index { border-color: rgba(120,130,255,.85); color: #7882ff; box-shadow: 0 0 8px rgba(120,130,255,.25); }
[data-phase="entry-usecase"] .vrm-phase-index { border-color: rgba(160,100,255,.85); color: #a064ff; box-shadow: 0 0 8px rgba(160,100,255,.25); }
[data-phase="entry-proceed"] .vrm-phase-index { border-color: rgba(230,60,160,.85); color: #e63ca0; box-shadow: 0 0 8px rgba(230,60,160,.25); font-size: 16px; }

/* Manual section phase colors */
[data-phase="basics"] .vrm-phase-index { border-color: rgba(72,224,200,.85); color: #48e0c8; box-shadow: 0 0 8px rgba(72,224,200,.25); }
[data-phase="datatypes"] .vrm-phase-index { border-color: rgba(60,180,255,.85); color: #3cb4ff; box-shadow: 0 0 8px rgba(60,180,255,.25); }
[data-phase="usecase"] .vrm-phase-index { border-color: rgba(160,100,255,.85); color: #a064ff; box-shadow: 0 0 8px rgba(160,100,255,.25); }
[data-phase="submit"] .vrm-phase-index { border-color: rgba(230,60,160,.85); color: #e63ca0; box-shadow: 0 0 8px rgba(230,60,160,.25); font-size: 16px; }

[data-phase="basics"]:not(.is-collapsed) .vrm-phase-header { border-bottom-color: rgba(72,224,200,.25); }
[data-phase="datatypes"]:not(.is-collapsed) .vrm-phase-header { border-bottom-color: rgba(60,180,255,.25); }
[data-phase="usecase"]:not(.is-collapsed) .vrm-phase-header { border-bottom-color: rgba(160,100,255,.25); }
[data-phase="submit"]:not(.is-collapsed) .vrm-phase-header { border-bottom-color: rgba(230,60,160,.25); }

/* Submit phase button states */
[data-phase="submit"] .vrm-phase-header:disabled { opacity: 0.52; cursor: not-allowed; }
[data-phase="submit"] .vrm-phase-header:disabled:hover { background: rgba(28,40,68,.85); }
[data-phase="submit"] .vrm-phase-header:not(:disabled) .vrm-intake-submit-badge {
  border-color: rgba(0,212,170,.45); background: rgba(0,212,170,.12); color: #00d4aa;
}

.vrm-intake-submit-badge {
  display: inline-flex; align-items: center; padding: 3px 10px;
  border-radius: 999px; border: 1px solid rgba(230,60,160,.45);
  background: rgba(230,60,160,.12); color: #e63ca0;
  font-size: 11px; font-weight: 700; letter-spacing: 0.02em;
}

.vrm-intake-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}

.vrm-intake-boolean-grid {
  display: grid;
  gap: 10px;
}

.vrm-intake-toggle-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.vrm-intake-toggle-row:last-child {
  border-bottom: none;
}

.vrm-intake-toggle-row span {
  color: var(--vrm-text);
  font-size: 0.875rem;
  font-weight: 500;
}

.vrm-intake-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
}

.vrm-intake-derived-summary {
  color: var(--vrm-text-soft);
  font-size: 0.82rem;
  line-height: 1.5;
}

.vrm-intake-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(3, 8, 18, 0.92);
  backdrop-filter: blur(10px);
  z-index: 1200;
}

.vrm-intake-overlay.is-visible {
  display: flex;
}

.vrm-intake-dialog,
.vrm-intake-loading-card {
  background: var(--color-bg);
  border: 2px solid transparent;
  border-radius: 10px;
  background-image: linear-gradient(var(--color-bg), var(--color-bg)),
    linear-gradient(90deg, var(--vrm-cyan), var(--vrm-blue), var(--vrm-violet), var(--vrm-magenta));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.56);
}

.vrm-intake-loading-card {
  width: min(92vw, 420px);
  padding: 30px 30px 26px;
  text-align: center;
  background: linear-gradient(180deg, rgba(12, 14, 30, 0.98), rgba(9, 15, 27, 0.98));
  border: 1px solid rgba(61, 191, 255, 0.35);
  background-image: none;
  box-shadow: 0 28px 70px rgba(1, 7, 18, 0.76), inset 0 0 0 1px rgba(88, 228, 190, 0.05);
}

.vrm-intake-loading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  margin: 0 auto 18px;
  border-radius: 18px;
  border: 1px solid rgba(88, 228, 190, 0.35);
  background: linear-gradient(180deg, rgba(18, 43, 55, 0.72), rgba(11, 28, 36, 0.82));
  box-shadow: inset 0 0 0 1px rgba(88, 228, 190, 0.08), 0 0 0 6px rgba(37, 157, 206, 0.08);
}

.vrm-intake-loading-icon svg {
  width: 30px;
  height: 30px;
  color: #58e4be;
}

.vrm-intake-loading-title {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  color: #f8fbff;
}

.vrm-intake-loading-card p {
  margin: 10px auto 16px;
  max-width: 280px;
  color: #c3cfdf;
  font-size: 0.875rem;
  line-height: 1.5;
}

.vrm-intake-loading-kicker {
  margin-top: 8px;
  color: #58e4be;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.vrm-intake-loading-track {
  height: 5px;
  margin: 0 auto;
  max-width: 300px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
}

.vrm-intake-loading-fill {
  width: 38%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(88, 228, 190, 0.95), rgba(51, 181, 255, 0.95));
  transform-origin: left center;
  animation: vrm-intake-loading-indeterminate 1.8s ease-in-out infinite;
}

.vrm-intake-loading-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
}

.vrm-intake-loading-dots span {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(88, 228, 190, 0.35);
  animation: vrm-intake-dot-pulse 1.2s ease-in-out infinite;
}

.vrm-intake-loading-dots span:nth-child(2) {
  animation-delay: 0.15s;
}

.vrm-intake-loading-dots span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes vrm-intake-loading-indeterminate {
  0% {
    transform: translateX(-110%) scaleX(0.4);
  }
  50% {
    transform: translateX(70%) scaleX(0.7);
  }
  100% {
    transform: translateX(270%) scaleX(0.4);
  }
}

@keyframes vrm-intake-dot-pulse {
  0%, 80%, 100% {
    opacity: 0.35;
    transform: scale(1);
  }
  40% {
    opacity: 1;
    transform: scale(1.25);
  }
}

.vrm-intake-dialog {
  width: min(100%, 1200px);
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior: contain;
}

.vrm-intake-dialog::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.vrm-intake-dialog-search {
  max-width: 1200px;
}

.vrm-intake-dialog-search .vrm-intake-dialog-header h2 {
  color: #44c7ff;
}

.vrm-intake-dialog-search .vrm-intake-dialog-close {
  background: transparent;
  color: #f8fbff;
}

.vrm-intake-dialog-search .vrm-intake-choice-panel-existing .btn-primary {
  border: 1px solid rgba(120, 176, 210, 0.22);
  background: var(--btn-ai-bg);
  box-shadow: none;
}

.vrm-intake-dialog-search .vrm-intake-choice-panel-existing .btn-primary:hover {
  background: #285677;
}

.vrm-intake-dialog-search .vrm-intake-choice-panel-ai .btn-primary {
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: linear-gradient(90deg, #6fbfff 0%, #d43c78 100%);
  box-shadow: none;
}

.vrm-intake-dialog-search .vrm-intake-choice-panel-ai .btn-primary:hover {
  filter: brightness(1.04);
}

.vrm-intake-dialog-search .vrm-intake-dialog-footer .btn-secondary {
  border-color: rgba(58, 178, 255, 0.52);
  background: transparent;
  color: #58c7ff;
}

.vrm-intake-dialog-evaluation {
  max-width: 1140px;
  box-shadow: 0 32px 90px rgba(1, 7, 18, 0.86), 0 0 0 1px rgba(78, 210, 255, 0.08);
}

.vrm-intake-dialog-review {
  max-width: 620px;
}

.vrm-intake-dialog-success {
  max-width: 410px;
}

.vrm-intake-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.vrm-intake-dialog-header h2 {
  margin: 0;
  color: var(--vrm-cyan);
  font-size: 1.5rem;
  font-weight: 600;
}

.vrm-intake-dialog-header p {
  margin: 0.4rem 0 0;
  color: var(--vrm-text-soft);
  font-size: 0.875rem;
}

.vrm-intake-dialog-header-success h2 {
  color: var(--vrm-green);
}

.vrm-intake-dialog-close {
  border: none;
  background: rgba(255, 255, 255, 0.06);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.vrm-intake-dialog-evaluation .vrm-intake-dialog-header h2,
.vrm-intake-dialog-review .vrm-intake-dialog-header h2 {
  color: #38cbff;
}

.vrm-intake-dialog-evaluation .vrm-intake-dialog-close,
.vrm-intake-dialog-review .vrm-intake-dialog-close {
  width: auto;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #f7faff;
  font-size: 2rem;
  line-height: 1;
  box-shadow: none;
}

.vrm-intake-search-grid,
.vrm-intake-evaluation-grid {
  display: grid;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
}

.vrm-intake-search-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vrm-intake-evaluation-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.96fr);
}

.vrm-intake-choice-panel,
.vrm-intake-evaluation-panel,
.vrm-intake-review-card,
.vrm-intake-redaction-panel {
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-surface);
}

.vrm-intake-choice-panel-existing {
  border: 1px solid rgba(22, 163, 74, 0.32);
  background: var(--color-surface);
}

.vrm-intake-choice-panel-ai {
  border: 1px solid rgba(37, 157, 206, 0.32);
  background: var(--color-surface);
}

.vrm-intake-choice-header,
.vrm-intake-evaluation-header,
.vrm-intake-review-card-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.vrm-intake-choice-panel-existing .vrm-intake-choice-header {
  background: var(--btn-success-bg);
  border-bottom-color: rgba(22, 163, 74, 0.3);
}

.vrm-intake-choice-panel-ai .vrm-intake-choice-header {
  background: var(--btn-ai-bg);
  border-bottom-color: rgba(37, 157, 206, 0.3);
}

.vrm-intake-evaluation-panel-classification {
  border: 3px solid transparent;
  background-image: linear-gradient(#101925, #101925),
    linear-gradient(135deg, var(--vrm-magenta), var(--vrm-cyan));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: inset 0 0 0 1px rgba(236, 98, 168, 0.12);
}

.vrm-intake-evaluation-panel-classification .vrm-intake-evaluation-header {
  background: linear-gradient(90deg, rgba(164, 54, 110, 0.82), rgba(101, 71, 146, 0.9));
  border-bottom-color: rgba(232, 98, 163, 0.32);
}

.vrm-intake-evaluation-panel-details {
  border: 3px solid transparent;
  background-image: linear-gradient(#101925, #101925),
    linear-gradient(90deg, var(--vrm-violet), var(--vrm-blue));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: inset 0 0 0 1px rgba(73, 150, 255, 0.12);
}

.vrm-intake-evaluation-panel-details .vrm-intake-evaluation-header {
  background: linear-gradient(90deg, rgba(84, 69, 169, 0.88), rgba(45, 121, 255, 0.84));
  border-bottom-color: rgba(78, 172, 255, 0.36);
}

.vrm-intake-choice-header h3,
.vrm-intake-evaluation-header h3,
.vrm-intake-review-card-header h3,
.vrm-intake-redaction-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.vrm-intake-choice-body,
.vrm-intake-choice-footer,
.vrm-intake-review-options,
.vrm-intake-review-fields,
.vrm-intake-redaction-panel,
.vrm-intake-success-body {
  padding: 1.1rem 1.25rem;
}

.vrm-intake-choice-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 240px;
}

.vrm-intake-choice-footer {
  display: flex;
  justify-content: center;
  padding-top: 0;
}

.vrm-intake-existing-option,
.vrm-intake-suggestion-card {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--color-surface);
}

.vrm-intake-existing-option {
  cursor: pointer;
}

.vrm-intake-existing-option.is-selected {
  border: 2px solid transparent;
  background-image: linear-gradient(rgba(10, 18, 30, 0.8), rgba(10, 18, 30, 0.8)),
    linear-gradient(90deg, var(--vrm-cyan), var(--vrm-blue), var(--vrm-violet), var(--vrm-magenta));
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.vrm-intake-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0.75rem 1rem;
  background: linear-gradient(90deg, rgba(37, 157, 206, 0.3), rgba(33, 97, 218, 0.3), rgba(105, 48, 169, 0.3));
}

.vrm-intake-card-title h4 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.vrm-intake-card-copy {
  padding: 0.85rem 1rem;
  background: var(--color-surface);
}

.vrm-intake-card-copy p {
  margin: 0;
  color: #ffffff;
  font-size: 0.8125rem;
  line-height: 1.45;
}

.vrm-intake-card-copy p + p {
  margin-top: 0.55rem;
  color: var(--vrm-text-soft);
  font-style: italic;
}

.vrm-intake-suggestion-domain {
  font-size: 0.9rem !important;
  color: #ffffff !important;
  font-style: normal !important;
  padding: 6px 10px;
  margin: -4px 0 6px !important;
  border-radius: 6px;
  background: rgba(37, 157, 206, 0.12);
  border: 1px solid rgba(37, 157, 206, 0.25);
}

.vrm-intake-suggestion-domain a {
  color: #58e4ff;
  text-decoration: none;
  font-weight: 600;
}

.vrm-intake-suggestion-domain a:hover {
  text-decoration: underline;
}

.vrm-intake-duplicate-note {
  color: #fbbf24 !important;
  font-style: normal !important;
}

.vrm-intake-match-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.18);
  border: 1px solid rgba(22, 163, 74, 0.42);
  color: #8ef2b0;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.vrm-intake-suggestion-card.is-disabled {
  opacity: 0.82;
}

.vrm-intake-empty-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(10, 18, 30, 0.8);
  color: var(--vrm-text-soft);
  font-size: 0.875rem;
}

.vrm-intake-data-box {
  margin: 1rem 1.25rem;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  background: rgba(6, 10, 16, 0.96);
  border: 1px solid rgba(108, 128, 152, 0.24);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.vrm-intake-box-label {
  display: block;
  margin-bottom: 0.8rem;
  color: #c5d1e0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vrm-intake-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.vrm-intake-chip-toggle {
  border-radius: 999px;
  border: 1px solid rgba(214, 45, 102, 0.4);
  background: rgba(75, 16, 41, 0.55);
  color: #f06a9e;
  font-size: 0.75rem;
  cursor: pointer;
  padding: 0.375rem 0.75rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.vrm-intake-chip-toggle.is-on {
  border-color: rgba(22, 163, 74, 0.4);
  background: rgba(5, 70, 36, 0.56);
  color: #62f0a1;
}

.vrm-intake-kpi-stack,
.vrm-intake-input-stack {
  display: grid;
  gap: 0.75rem;
  padding: 0 1.25rem 1.25rem;
}

.vrm-intake-kpi-card {
  display: block;
  padding: 0.85rem 0.95rem;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(25, 40, 63, 0.66), rgba(10, 19, 32, 0.96));
  border: 1px solid rgba(74, 175, 255, 0.34);
  box-shadow: inset 0 0 0 1px rgba(109, 164, 255, 0.06);
}

.vrm-intake-redaction-panel {
  margin: 0 1.5rem 1rem;
  padding: 1rem;
  border: 1px solid rgba(60, 188, 255, 0.38);
  background: var(--color-surface);
  box-shadow: inset 0 0 0 1px rgba(59, 190, 255, 0.05);
}

.vrm-intake-redaction-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 1rem;
}

.vrm-intake-info-button {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(64, 194, 255, 0.5);
  border-radius: 999px;
  background: rgba(20, 39, 69, 0.78);
  color: #9ce5ff;
  font-weight: 700;
  cursor: pointer;
}

.vrm-intake-redaction-info {
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid rgba(37, 157, 206, 0.3);
  background: rgba(37, 157, 206, 0.1);
  color: var(--vrm-text-soft);
  font-size: 0.8rem;
  line-height: 1.55;
}

.vrm-intake-redaction-info p,
.vrm-intake-redaction-info ul {
  margin: 0;
}

.vrm-intake-redaction-info ul {
  padding-left: 1.1rem;
  margin-top: 0.5rem;
}

.vrm-intake-redaction-summary {
  margin-top: 1rem;
}

.vrm-intake-redaction-summary span {
  color: var(--vrm-text-soft);
  font-size: 0.8rem;
}

.vrm-intake-redaction-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.vrm-intake-redaction-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.75rem;
  border-radius: 16px;
  border: 1px solid rgba(68, 186, 255, 0.38);
  background: rgba(30, 63, 98, 0.42);
  color: #7bd4ff;
  font-size: 0.8rem;
}

.vrm-intake-redaction-pill button {
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
}

.vrm-intake-review-body {
  padding: 1.25rem 1.5rem;
}

.vrm-intake-review-card {
  border: 1px solid rgba(37, 157, 206, 0.3);
  background: var(--color-surface);
}

.vrm-intake-review-card + .vrm-intake-review-card {
  margin-top: 1.5rem;
}

.vrm-intake-review-card-header {
  background: var(--btn-ai-bg);
  border-bottom-color: rgba(37, 157, 206, 0.3);
}

.vrm-intake-review-options {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.vrm-intake-review-option {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: var(--color-surface-solid-alt);
  font-weight: 600;
  cursor: pointer;
}

.vrm-intake-review-option.is-selected {
  border-color: var(--vrm-cyan);
  background: var(--btn-ai-bg-hover);
}

.vrm-intake-review-fields {
  display: grid;
  gap: 1rem;
}

.vrm-intake-review-details {
  border-color: rgba(105, 48, 169, 0.3);
  background: var(--btn-primary-bg);
}

.vrm-intake-review-details .vrm-intake-review-card-header {
  background: #281d43;
  border-bottom-color: rgba(105, 48, 169, 0.3);
}

.vrm-intake-success-body {
  padding-bottom: 0;
}

.vrm-intake-success-summary {
  padding: 2rem;
  text-align: center;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.2);
  border: 2px solid rgba(34, 197, 94, 0.5);
}

.vrm-intake-success-check {
  margin: 0 auto 1rem;
  font-size: 0;
}

.vrm-intake-success-check::before {
  content: "\2713";
  font-size: 3rem;
  color: #e5ffe8;
}

.vrm-intake-success-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.vrm-intake-success-card {
  margin-top: 1.4rem;
  padding: 1.25rem;
  border-radius: 8px;
  border: 1px solid rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.15);
  text-align: left;
}

.vrm-intake-success-card h3 {
  margin: 0 0 1rem;
  color: var(--vrm-green);
  font-size: 1.1rem;
}

.vrm-intake-success-row,
.vrm-intake-success-due {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.875rem;
}

.vrm-intake-success-row span {
  color: var(--vrm-text-soft);
}

.vrm-intake-success-due {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: rgba(255, 146, 43, 0.12);
  border: 1px solid rgba(255, 146, 43, 0.4);
}

.vrm-intake-success-due span {
  color: #fdba74;
  font-weight: 600;
}

.vrm-intake-success-due strong {
  color: #ffedd5;
}

.vrm-intake-dialog-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.9rem 1.5rem 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.vrm-intake-dialog-evaluation .btn-secondary,
.vrm-intake-dialog-review .btn-secondary {
  border-color: rgba(62, 194, 255, 0.58);
  background: transparent;
  color: #39c2ff;
  box-shadow: inset 0 0 0 1px rgba(61, 195, 255, 0.14);
}

.vrm-intake-dialog-evaluation .btn-secondary:hover,
.vrm-intake-dialog-review .btn-secondary:hover {
  border-color: rgba(97, 212, 255, 0.8);
  background: rgba(18, 38, 58, 0.56);
}

.vrm-intake-dialog-evaluation .btn-gradient,
.vrm-intake-dialog-review .btn-gradient {
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: linear-gradient(90deg, #67bcff 0%, #d84c7e 100%);
  box-shadow: 0 14px 28px rgba(103, 188, 255, 0.16), 0 12px 24px rgba(216, 76, 126, 0.16);
}

.vrm-intake-dialog-evaluation .btn-gradient:hover,
.vrm-intake-dialog-review .btn-gradient:hover {
  filter: brightness(1.03);
}

.vrm-intake-dialog-evaluation .vrm-intake-box-field input,
.vrm-intake-dialog-evaluation .vrm-intake-box-field select,
.vrm-intake-dialog-evaluation .vrm-intake-box-field textarea,
.vrm-intake-dialog-evaluation .vrm-intake-kpi-card select {
  border-color: rgba(60, 174, 255, 0.28);
  background: var(--color-surface);
}

.vrm-intake-dialog-evaluation .vrm-intake-box-field input:focus,
.vrm-intake-dialog-evaluation .vrm-intake-box-field select:focus,
.vrm-intake-dialog-evaluation .vrm-intake-box-field textarea:focus,
.vrm-intake-dialog-evaluation .vrm-intake-kpi-card select:focus {
  outline: none;
  border-color: rgba(85, 200, 255, 0.85);
  box-shadow: 0 0 0 3px rgba(62, 194, 255, 0.12);
}

.vrm-intake-dialog-footer-right {
  justify-content: flex-end;
}

.vrm-intake-dialog-footer-split {
  justify-content: space-between;
}

.vrm-intake-dialog-footer-group,
.vrm-intake-dialog-footer-column {
  display: flex;
  gap: 12px;
}

.vrm-intake-dialog-footer-column {
  flex-direction: column;
}

.vrm-intake-dialog-footer-column > * {
  width: 100%;
}

.vrm-intake-risk-low {
  color: #22c55e;
}

.vrm-intake-risk-moderate {
  color: #3b82f6;
}

.vrm-intake-risk-high {
  color: #fb923c;
}

.vrm-intake-risk-critical {
  color: #ef4444;
}

/* ── Domain Selection Modal ────────────────────────────── */

.vrm-intake-dialog-domain-select {
  max-width: 720px;
}

.vrm-intake-dialog-domain-select .vrm-intake-dialog-header h2 {
  color: #44c7ff;
}

.vrm-intake-domain-select-body {
  padding: 1.25rem 1.5rem;
}

.vrm-intake-domain-candidates {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 360px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.vrm-intake-domain-option {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  background: var(--color-surface);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.vrm-intake-domain-option:hover {
  border-color: rgba(37, 157, 206, 0.45);
  background: rgba(37, 157, 206, 0.06);
}

.vrm-intake-domain-option.is-selected {
  border-color: var(--vrm-cyan);
  background: rgba(37, 157, 206, 0.12);
  box-shadow: 0 0 0 1px rgba(37, 157, 206, 0.2);
}

.vrm-intake-domain-radio {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  flex-shrink: 0;
  position: relative;
}

.vrm-intake-domain-option.is-selected .vrm-intake-domain-radio {
  border-color: var(--vrm-cyan);
}

.vrm-intake-domain-option.is-selected .vrm-intake-domain-radio::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--vrm-cyan);
}

.vrm-intake-domain-info h4 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #58e4ff;
  word-break: break-all;
}

.vrm-intake-domain-info .vrm-intake-domain-title {
  margin: 4px 0 0;
  color: var(--vrm-text);
  font-size: 0.8125rem;
  font-weight: 500;
}

.vrm-intake-domain-info .vrm-intake-domain-desc {
  margin: 4px 0 0;
  color: var(--vrm-text-soft);
  font-size: 0.78rem;
  line-height: 1.4;
}

.vrm-intake-domain-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 8px;
}

.vrm-intake-domain-score-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.vrm-intake-domain-score-badge.is-top {
  background: rgba(22, 163, 74, 0.18);
  border: 1px solid rgba(22, 163, 74, 0.42);
  color: #8ef2b0;
}

.vrm-intake-domain-score-badge.is-other {
  background: rgba(37, 157, 206, 0.12);
  border: 1px solid rgba(37, 157, 206, 0.3);
  color: #7ad4ff;
}

.vrm-intake-domain-age-badge,
.vrm-intake-domain-age-warning {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vrm-intake-domain-age-badge.is-good {
  background: rgba(22, 163, 74, 0.14);
  border: 1px solid rgba(22, 163, 74, 0.36);
  color: #8ef2b0;
}

.vrm-intake-domain-age-badge.is-caution {
  background: rgba(251, 146, 60, 0.14);
  border: 1px solid rgba(251, 146, 60, 0.36);
  color: #ffd27d;
}

.vrm-intake-domain-age-badge.is-danger {
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.36);
  color: #ff9b9b;
}

.vrm-intake-domain-age-badge.is-unknown,
.vrm-intake-domain-age-badge.is-loading {
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: #dbe5f3;
}

.vrm-intake-domain-age-warning {
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.42);
  color: #ffb4b4;
}

.vrm-intake-domain-manual-entry {
  margin-top: 18px;
  padding: 16px;
  border-radius: 8px;
  border: 1px dashed rgba(56, 189, 248, 0.5);
  background: rgba(37, 157, 206, 0.05);
}

.vrm-intake-domain-manual-row {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.vrm-intake-domain-manual-row input {
  flex: 1;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(37, 157, 206, 0.3);
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--vrm-text);
  font-size: 0.875rem;
}

.vrm-intake-domain-manual-row input:focus {
  outline: none;
  border-color: rgba(85, 200, 255, 0.85);
  box-shadow: 0 0 0 3px rgba(62, 194, 255, 0.12);
}

.vrm-intake-domain-manual-row .btn {
  white-space: nowrap;
}

.vrm-intake-domain-empty {
  padding: 30px 20px;
  text-align: center;
  color: var(--vrm-text-soft);
  font-size: 0.875rem;
}

/* ── Domain Confirmation Modal ────────────────────────── */

.vrm-intake-dialog-domain-confirm {
  max-width: 560px;
}

.vrm-intake-dialog-domain-confirm .vrm-intake-dialog-header h2 {
  color: #ffaa00;
}

.vrm-intake-domain-confirm-body {
  padding: 1.5rem;
}

.vrm-intake-domain-url-display {
  padding: 20px;
  border-radius: 10px;
  border: 2px solid rgba(37, 157, 206, 0.5);
  background: rgba(37, 157, 206, 0.08);
}

.vrm-intake-domain-url-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.vrm-intake-domain-url-main {
  min-width: 0;
  text-align: center;
}

.vrm-intake-domain-url-display .vrm-intake-domain-url-label {
  display: block;
  margin-bottom: 8px;
  color: var(--vrm-text-soft);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vrm-intake-domain-url-display .vrm-intake-domain-url-value {
  display: block;
  color: #58e4ff;
  font-size: 1.35rem;
  font-weight: 700;
  word-break: break-all;
  line-height: 1.3;
}

.vrm-intake-domain-url-display .vrm-intake-domain-vendor-name {
  display: block;
  margin-top: 8px;
  color: var(--vrm-text);
  font-size: 1rem;
  font-weight: 500;
}

.vrm-intake-domain-check-trigger {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 9px;
  min-height: 36px;
  margin-top: 4px;
  padding: 0.46rem 0.82rem 0.46rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(53, 164, 255, 0.3);
  background: linear-gradient(180deg, rgba(7, 20, 34, 0.98) 0%, rgba(11, 27, 43, 0.98) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 10px 20px rgba(15, 23, 42, 0.2);
  color: #dff6ff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.vrm-intake-domain-check-trigger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 25%, rgba(88, 228, 255, 0.3), transparent 58%), linear-gradient(180deg, rgba(14, 41, 67, 0.96) 0%, rgba(7, 20, 34, 0.98) 100%);
  border: 1px solid rgba(88, 228, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.vrm-intake-domain-check-trigger svg {
  width: 13px;
  height: 13px;
  color: #58e4ff;
  flex: 0 0 13px;
}

.vrm-intake-domain-check-trigger:hover,
.vrm-intake-domain-check-trigger:focus-visible,
.vrm-intake-domain-check-trigger[aria-expanded="true"] {
  border-color: rgba(88, 228, 255, 0.5);
  background: linear-gradient(180deg, rgba(8, 24, 40, 0.99) 0%, rgba(13, 32, 50, 0.99) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 24px rgba(8, 18, 30, 0.28), 0 0 0 1px rgba(37, 157, 206, 0.22);
  transform: translateY(-1px);
}

.vrm-intake-domain-check-trigger:focus-visible {
  outline: none;
}

.vrm-intake-domain-warning {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 170, 0, 0.4);
  background: rgba(255, 170, 0, 0.08);
}

.vrm-intake-domain-warning svg {
  flex-shrink: 0;
  color: #ffaa00;
  margin-top: 1px;
}

.vrm-intake-domain-warning strong {
  display: block;
  margin-bottom: 6px;
  color: #ffd666;
  font-size: 0.875rem;
}

.vrm-intake-domain-warning p {
  margin: 0;
  color: var(--vrm-text-soft);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.vrm-intake-domain-check-summary {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.vrm-intake-domain-check-summary-item {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--vrm-text);
  font-size: 0.78rem;
  line-height: 1.4;
}

.vrm-intake-domain-check-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vrm-intake-domain-check-pill.is-safe {
  background: rgba(22, 163, 74, 0.16);
  border: 1px solid rgba(22, 163, 74, 0.36);
  color: #8ef2b0;
}

.vrm-intake-domain-check-pill.is-caution {
  background: rgba(251, 146, 60, 0.16);
  border: 1px solid rgba(251, 146, 60, 0.36);
  color: #ffd27d;
}

.vrm-intake-domain-check-pill.is-danger {
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(239, 68, 68, 0.36);
  color: #ffb4b4;
}

.vrm-intake-domain-check-pill.is-muted,
.vrm-intake-domain-check-pill.is-unknown {
  background: rgba(148, 163, 184, 0.14);
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: #dbe5f3;
}

.vrm-intake-domain-check-popover {
  position: fixed;
  z-index: 1400;
  width: min(392px, calc(100vw - 24px));
  border-radius: 18px;
  border: 1px solid rgba(88, 228, 255, 0.22);
  background: linear-gradient(180deg, rgba(6, 16, 28, 0.985) 0%, rgba(9, 23, 38, 0.985) 52%, rgba(7, 19, 33, 0.985) 100%);
  box-shadow: 0 24px 48px rgba(2, 6, 23, 0.56), 0 0 0 1px rgba(37, 157, 206, 0.12);
  backdrop-filter: blur(18px);
  overflow: visible;
}

.vrm-intake-domain-check-popover::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at top right, rgba(255, 0, 128, 0.16), transparent 36%), radial-gradient(circle at top left, rgba(88, 228, 255, 0.18), transparent 34%);
  pointer-events: none;
}

.vrm-intake-domain-check-popover::after {
  content: "";
  position: absolute;
  left: calc(var(--domain-check-arrow-left, 56px) - 9px);
  width: 18px;
  height: 18px;
  border-top: 1px solid rgba(88, 228, 255, 0.22);
  border-left: 1px solid rgba(88, 228, 255, 0.22);
  background: linear-gradient(135deg, rgba(9, 26, 42, 0.98), rgba(6, 17, 29, 0.98));
  transform: rotate(45deg);
  pointer-events: none;
}

.vrm-intake-domain-check-popover[data-placement="bottom"]::after {
  top: -9px;
}

.vrm-intake-domain-check-popover[data-placement="top"]::after {
  bottom: -9px;
  transform: rotate(225deg);
}

.vrm-intake-domain-check-popover.is-visible {
  display: block;
}

.vrm-intake-domain-check-popover-header {
  position: relative;
  z-index: 1;
  padding: 16px 16px 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.vrm-intake-domain-check-kicker-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.vrm-intake-domain-check-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(28, 100, 242, 0.3), rgba(219, 39, 119, 0.26)), rgba(8, 20, 34, 0.92);
  border: 1px solid rgba(88, 228, 255, 0.18);
  color: #8ae8ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.vrm-intake-domain-check-brand-mark svg {
  width: 15px;
  height: 15px;
}

.vrm-intake-domain-check-kicker {
  color: #58e4ff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.vrm-intake-domain-check-title {
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.vrm-intake-domain-check-copy {
  margin: 5px 0 0;
  color: #9eb7cc;
  font-size: 0.78rem;
  line-height: 1.45;
}

.vrm-intake-domain-check-host {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin-top: 12px;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(88, 228, 255, 0.18);
  background: rgba(12, 31, 49, 0.72);
  color: #d8f6ff;
  font-size: 0.8rem;
  font-weight: 600;
  word-break: break-all;
}

.vrm-intake-domain-check-actions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 16px 0;
}

.vrm-intake-domain-check-action {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-height: 42px;
  padding: 0.72rem 0.88rem;
  border-radius: 14px;
  border: 1px solid rgba(88, 228, 255, 0.18);
  background: rgba(12, 20, 32, 0.78);
  color: #e7f9ff;
  font-size: 0.77rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.vrm-intake-domain-check-action svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}

.vrm-intake-domain-check-action.is-primary {
  border-color: rgba(56, 189, 248, 0.28);
  background: linear-gradient(180deg, rgba(18, 46, 72, 0.92) 0%, rgba(10, 27, 46, 0.96) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.vrm-intake-domain-check-action.is-refresh {
  grid-column: 1 / -1;
}

.vrm-intake-domain-check-action:hover,
.vrm-intake-domain-check-action:focus-visible {
  border-color: rgba(88, 228, 255, 0.42);
  background: rgba(14, 31, 48, 0.98);
  box-shadow: 0 12px 22px rgba(4, 11, 20, 0.28);
  transform: translateY(-1px);
  outline: none;
}

.vrm-intake-domain-check-action:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  transform: none;
}

.vrm-intake-domain-check-section + .vrm-intake-domain-check-section {
  margin-top: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.vrm-intake-domain-check-section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #c4d7ea;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vrm-intake-domain-check-section-label svg {
  width: 14px;
  height: 14px;
  color: #58e4ff;
}

.vrm-intake-domain-check-section {
  position: relative;
  z-index: 1;
  padding: 14px 16px 0;
}

.vrm-intake-domain-check-section:last-of-type {
  padding-bottom: 16px;
}

.vrm-intake-domain-check-panel {
  padding: 13px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: linear-gradient(180deg, rgba(9, 14, 24, 0.74) 0%, rgba(8, 14, 23, 0.9) 100%);
}

.vrm-intake-domain-check-state {
  color: #dbe5f3;
  font-size: 0.78rem;
  line-height: 1.5;
}

.vrm-intake-domain-check-state.is-loading,
.vrm-intake-domain-check-state.is-muted {
  color: #92abc4;
}

.vrm-intake-domain-check-state-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.vrm-intake-domain-check-state-head strong {
  color: #ffffff;
  font-size: 0.82rem;
}

.vrm-intake-domain-check-meta {
  margin-top: 8px;
  color: #9fb0c3;
  font-size: 0.72rem;
}

.vrm-intake-domain-check-metrics {
  display: grid;
  gap: 10px;
}

.vrm-intake-domain-check-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vrm-intake-domain-check-metric span {
  color: #8aa0ba;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vrm-intake-domain-check-metric strong {
  color: #ffffff;
  font-size: 0.82rem;
  line-height: 1.35;
}

.vrm-intake-domain-check-metric strong.is-good {
  color: #8ef2b0;
}

.vrm-intake-domain-check-metric strong.is-caution {
  color: #ffd27d;
}

.vrm-intake-domain-check-metric strong.is-danger {
  color: #ffb4b4;
}

.vrm-intake-domain-risk-flag {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  margin-right: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  line-height: 1.35;
}

.vrm-intake-domain-risk-flag.is-high {
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(239, 68, 68, 0.36);
  color: #ffb4b4;
}

.vrm-intake-domain-risk-flag.is-caution {
  background: rgba(251, 146, 60, 0.16);
  border: 1px solid rgba(251, 146, 60, 0.36);
  color: #ffd27d;
}

.vrm-intake-domain-risk-flag.is-info {
  background: rgba(37, 157, 206, 0.14);
  border: 1px solid rgba(37, 157, 206, 0.3);
  color: #9bd4f5;
}

/* ── Light theme overrides ─────────────────────────────── */

[data-theme-variant="light"] .vrm-intake-shell,
[data-theme-variant="light"] .vrm-intake-overlay {
  --vrm-bg: var(--color-bg);
  --vrm-surface: var(--color-surface-solid);
  --vrm-surface-soft: var(--color-surface-solid-alt);
  --vrm-surface-strong: var(--color-bg);
  --vrm-border: var(--color-border);
  --vrm-border-strong: color-mix(in srgb, var(--color-border) 80%, var(--color-text) 20%);
  --vrm-text: var(--color-text);
  --vrm-text-soft: var(--color-text-muted);
  --vrm-text-muted: var(--color-text-dim);
}

@media (max-width: 1180px) {
  .vrm-intake-top-grid,
  .vrm-intake-search-grid,
  .vrm-intake-evaluation-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .vrm-intake-shell {
    padding-inline: 0;
  }

  .vrm-intake-fields {
    grid-template-columns: 1fr;
  }

  .vrm-intake-footer,
  .vrm-intake-review-options,
  .vrm-intake-dialog-footer,
  .vrm-intake-dialog-footer-group,
  .vrm-intake-search-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .vrm-intake-dialog-footer-split {
    justify-content: stretch;
  }

  .vrm-intake-toggle-row {
    grid-template-columns: 1fr;
  }

  .vrm-intake-domain-url-row {
    grid-template-columns: 1fr;
  }

  .vrm-intake-domain-check-trigger {
    width: 100%;
    justify-content: center;
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .vrm-intake-dialog-header,
  .vrm-intake-search-grid,
  .vrm-intake-evaluation-grid,
  .vrm-intake-review-body,
  .vrm-intake-dialog-footer {
    padding-inline: 1rem;
  }

  .vrm-intake-redaction-panel {
    margin-inline: 1rem;
  }

  .vrm-intake-domain-check-actions {
    grid-template-columns: 1fr;
  }

  .vrm-intake-domain-check-action.is-refresh {
    grid-column: auto;
  }
}
