
html.nik68-public-page,
body.nik68-public-page {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(186,230,253,.75), transparent 26%),
    radial-gradient(circle at 82% 10%, rgba(191,219,254,.58), transparent 22%),
    linear-gradient(135deg, #edf7ff 0%, #f7fbff 55%, #eef6ff 100%);
  color: #0f172a;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#nik68-questionnaire-root,
#nik68-questionnaire-root * {
  box-sizing: border-box;
}

.nik68-shell {
  width: min(1140px, calc(100vw - 28px));
  margin: 0 auto;
  padding: 28px 0 52px;
}

.nik68-hero,
.nik68-card,
.nik68-section {
  border: 1px solid rgba(125, 180, 255, .28);
  border-radius: 28px;
  background: rgba(255, 255, 255, .76);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 24px 80px rgba(35, 93, 150, .12);
}

.nik68-hero {
  display: grid;
  grid-template-columns: minmax(0,1fr) 300px;
  gap: 18px;
  align-items: start;
  padding: 28px;
  margin-bottom: 18px;
}

.nik68-hero-chip {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(224,242,254,.88);
  color: #0369a1;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nik68-logo-wrap {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

.nik68-logo-wrap img {
  width: min(100%, 560px);
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 28px rgba(14, 116, 144, .12));
}

.nik68-hero h1 {
  margin: 14px 0 10px;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.03;
  letter-spacing: -.055em;
  color: #10233f;
}

.nik68-hero p {
  max-width: 760px;
  margin: 0;
  color: #52657c;
  line-height: 1.68;
  font-size: 15px;
}

.nik68-status {
  min-width: 0;
  align-self: stretch;
  display: grid;
  gap: 10px;
  border: 1px solid rgba(125,180,255,.25);
  border-radius: 22px;
  background: rgba(255,255,255,.68);
  padding: 18px;
}

.nik68-status b,
.nik68-status small {
  display: block;
}

.nik68-status b {
  font-size: 18px;
  color: #0f172a;
}

.nik68-status small {
  color: #64748b;
  line-height: 1.45;
}

.nik68-card {
  padding: 30px;
}

.nik68-center {
  text-align: center;
  display: grid;
  place-items: center;
}

.nik68-card h1,
.nik68-card h2 {
  margin: 14px 0 10px;
  color: #10233f;
}

.nik68-card p {
  margin: 0;
  max-width: 720px;
  color: #52657c;
  line-height: 1.7;
}

.nik68-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  margin-top: 18px;
  background: linear-gradient(135deg, rgba(16,185,129,.18), rgba(34,197,94,.24));
  color: #047857;
  font-size: 36px;
  font-weight: 900;
}

.nik68-section {
  padding: 24px;
  margin-bottom: 16px;
}

.nik68-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.nik68-section h2 {
  margin: 0;
  font-size: 23px;
  letter-spacing: -.03em;
  color: #10233f;
}

.nik68-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

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

.nik68-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 900;
  color: #334155;
}

.nik68-required,
.nik68-optional {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.nik68-required {
  background: #fee2e2;
  color: #be123c;
}

.nik68-optional {
  background: #eff6ff;
  color: #64748b;
}

.nik68-note,
.nik68-inline-hint {
  color: #64748b;
  font-size: 12px;
  line-height: 1.55;
}

.nik68-note {
  margin: -2px 0 8px;
}

.nik68-field input:not([type="checkbox"]):not([type="radio"]),
.nik68-field textarea {
  width: 100%;
  border: 1px solid rgba(148,163,184,.34);
  border-radius: 18px;
  background: rgba(255,255,255,.84);
  color: #0f172a;
  padding: 13px 15px;
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
  resize: vertical;
}

.nik68-field input:focus,
.nik68-field textarea:focus {
  border-color: rgba(14,165,233,.58);
  box-shadow: 0 0 0 4px rgba(186,230,253,.55);
  background: rgba(255,255,255,.96);
}

.nik68-options {
  display: grid;
  gap: 8px;
}

.nik68-options-inline {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.nik68-option,
.nik68-copy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid rgba(148,163,184,.26);
  border-radius: 18px;
  background: rgba(248,250,252,.86);
  padding: 11px 12px;
  color: #334155;
  font-size: 13px;
}

.nik68-option input,
.nik68-copy input {
  margin-top: 2px;
}

.nik68-extra {
  margin-top: 10px;
}

.nik68-photo-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.nik68-photo-preview {
  width: 96px;
  height: 96px;
  border-radius: 26px;
  border: 1px dashed rgba(125,180,255,.44);
  background: rgba(239,246,255,.84);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #64748b;
  font-weight: 900;
}

.nik68-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nik68-photo-actions {
  display: grid;
  gap: 8px;
}

.nik68-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.nik68-actions-center {
  justify-content: center;
}

.nik68-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid rgba(125,180,255,.36);
  border-radius: 18px;
  padding: 0 18px;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.nik68-btn:hover {
  transform: translateY(-1px);
}

.nik68-btn:focus-visible {
  outline: 2px solid rgba(14,165,233,.36);
  outline-offset: 2px;
}

.nik68-btn-primary {
  background: linear-gradient(135deg, #2563eb, #0ea5e9 68%, #22d3ee 100%);
  color: #fff;
  box-shadow: 0 16px 32px rgba(37,99,235,.22);
}

.nik68-btn-primary:hover {
  box-shadow: 0 20px 40px rgba(37,99,235,.26);
}

.nik68-btn-secondary {
  background: rgba(255,255,255,.88);
  color: #0f4c81;
}

.nik68-file {
  position: relative;
  overflow: hidden;
}

.nik68-file input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.nik68-submit {
  min-width: 240px;
}

.nik68-submit:disabled,
.nik68-btn:disabled {
  opacity: .7;
  cursor: wait;
  transform: none;
}

.nik68-alert {
  margin: 14px 0 0;
  border: 1px solid rgba(251,113,133,.32);
  background: #fff1f2;
  color: #be123c;
  border-radius: 16px;
  padding: 12px 13px;
}

@media (max-width: 860px) {
  .nik68-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nik68-shell {
    width: min(100vw - 18px, 100%);
    padding: 14px 0 28px;
  }

  .nik68-hero,
  .nik68-card,
  .nik68-section {
    border-radius: 22px;
  }

  .nik68-hero,
  .nik68-card,
  .nik68-section {
    padding: 18px;
  }

  .nik68-grid {
    grid-template-columns: 1fr;
  }

  .nik68-logo-wrap img {
    width: 100%;
  }

  .nik68-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .nik68-submit,
  .nik68-btn {
    width: 100%;
  }
}


html.nik68-public-preboot,
html.nik68-public-preboot body {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(186,230,253,.75), transparent 26%),
    radial-gradient(circle at 82% 10%, rgba(191,219,254,.58), transparent 22%),
    linear-gradient(135deg, #edf7ff 0%, #f7fbff 55%, #eef6ff 100%);
}

html.nik68-public-preboot body > :not(#nik68-questionnaire-root) {
  display: none !important;
}

.nik68-btn,
.nik68-file {
  position: relative;
  overflow: hidden;
  gap: 10px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
  box-shadow: 0 14px 34px rgba(37, 99, 235, .18);
}

.nik68-btn::after,
.nik68-file::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.22), transparent 58%);
  pointer-events: none;
}

.nik68-btn:hover,
.nik68-file:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(37, 99, 235, .24);
}

.nik68-btn:active,
.nik68-file:active {
  transform: translateY(0);
  box-shadow: 0 10px 24px rgba(37, 99, 235, .18);
}

.nik68-btn:focus-visible,
.nik68-file:focus-within {
  outline: none;
  box-shadow: 0 0 0 4px rgba(125, 211, 252, .42), 0 18px 40px rgba(37, 99, 235, .2);
}

.nik68-btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  color: #fff;
}

.nik68-btn-secondary {
  color: #10315a;
  border: 1px solid rgba(125, 180, 255, .30);
  background: rgba(255,255,255,.72);
  box-shadow: 0 12px 28px rgba(148, 163, 184, .16);
}

.nik68-btn-secondary:hover {
  background: rgba(255,255,255,.9);
  border-color: rgba(37, 139, 255, .38);
}

.nik68-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.nik68-submit {
  min-width: 240px;
  min-height: 52px;
  font-size: 15px;
  letter-spacing: -.01em;
}

.nik68-copy {
  margin-bottom: 12px;
}
