@charset "UTF-8";
* {
  box-sizing: border-box;
}

body.subvention-onboarding {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1a1a1a;
  line-height: 1.6;
  background: #f7f7f5;
}

.subvention-onboarding__container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 28px 20px 64px;
}

.so-admin-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 20px;
  max-width: 980px;
  margin: 20px auto 8px;
  padding: 16px 24px;
  background: #fff8e1;
  border: 1px solid #f0d98a;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  color: #6b5300;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}
.so-admin-banner__reset {
  display: inline-block;
  padding: 6px 14px;
  background: #6b5300;
  color: #fff8e1;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.so-admin-banner__reset:hover {
  background: #574400;
  color: #fff;
}

.so-page {
  display: grid;
  grid-template-columns: 340px 1fr;
  grid-template-areas: "head main" "foot main";
  gap: 12px 40px;
  align-items: start;
}

.so-aside__head {
  grid-area: head;
}

.so-aside__foot {
  grid-area: foot;
}

.so-main {
  grid-area: main;
  min-width: 0;
}

@media (max-width: 860px) {
  .so-page {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "main" "foot";
    gap: 20px;
  }
  .so-aside__point--marketing {
    display: none;
  }
}
.so-aside__image {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  margin-bottom: 18px;
}

@media (max-width: 860px) {
  .so-aside__image {
    height: 140px;
  }
}
.so-aside__title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 4px;
  line-height: 1.25;
}

.so-aside__project {
  color: #6b7280;
  margin: 0 0 18px;
}

.so-aside__points {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.so-aside__points li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.45;
}
.so-aside__points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-color, #C4D600);
  filter: brightness(0.8);
  font-weight: 700;
}

.subvention-onboarding__brand-bar {
  height: 6px;
  background: var(--brand-color, #C4D600);
  border-radius: 3px;
  margin-bottom: 20px;
}

.so-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.so-stepper {
  margin-bottom: 24px;
}

.so-stepper__list {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.so-stepper__item {
  flex: 1 1 0;
  position: relative;
  text-align: center;
}
.so-stepper__item:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 15px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: #e5e7eb;
  z-index: 0;
}
.so-stepper__item--done:not(:first-child)::before, .so-stepper__item--current:not(:first-child)::before {
  background: var(--brand-color, #C4D600);
}

.so-stepper__link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: inherit;
}

.so-stepper__bullet {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 600;
  background: #fff;
  border: 2px solid #d1d5db;
  color: #9ca3af;
}

.so-stepper__check {
  width: 18px;
  height: 18px;
}

.so-stepper__label {
  font-size: 12px;
  font-weight: 500;
  color: #9ca3af;
}

.so-stepper__item--done .so-stepper__bullet {
  background: var(--brand-color, #C4D600);
  border-color: var(--brand-color, #C4D600);
  color: #fff;
}
.so-stepper__item--done .so-stepper__label {
  color: #6b7280;
}
.so-stepper__item--done .so-stepper__link:hover .so-stepper__label {
  color: #374151;
}

.so-stepper__item--current .so-stepper__bullet {
  background: var(--brand-color, #C4D600);
  border-color: var(--brand-color, #C4D600);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(196, 214, 0, 0.22);
}
.so-stepper__item--current .so-stepper__label {
  color: #111827;
  font-weight: 700;
}

@media (max-width: 420px) {
  .so-stepper__label {
    font-size: 11px;
  }
  .so-stepper__bullet {
    width: 28px;
    height: 28px;
  }
}
.so-doc {
  margin-bottom: 22px;
}

.so-doc__hint {
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 8px;
}

.so-doc__zone {
  position: relative;
  border: 2px dashed #d1d5db;
  border-radius: 10px;
  padding: 22px 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.so-doc__zone:hover {
  border-color: var(--brand-color, #C4D600);
  background: rgba(0, 0, 0, 0.015);
}
.so-doc__zone.is-done {
  border-style: solid;
  border-color: #22c55e;
}
.so-doc__zone.is-uploading {
  border-color: var(--brand-color, #C4D600);
}
.so-doc__zone.is-dragover {
  border-color: var(--brand-color, #C4D600);
  background: rgba(0, 0, 0, 0.04);
}

.so-doc__input {
  display: none;
}

.so-doc__prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #6b7280;
  font-size: 14px;
}
.so-doc__prompt small {
  font-size: 12px;
  color: #9ca3af;
}

.so-doc__icon {
  width: 32px;
  height: 32px;
  color: #9ca3af;
}

.so-doc__progress {
  height: 4px;
  background: #eee;
  border-radius: 2px;
  margin-top: 12px;
  overflow: hidden;
}

.so-doc__bar {
  display: block;
  height: 100%;
  width: 0;
  background: var(--brand-color, #C4D600);
  transition: width 0.2s;
}

.so-doc__chips {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
  text-align: left;
}

.so-doc__item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 8px 10px;
}

.so-doc__thumb {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #d1fae5;
}

.so-doc__thumb--file {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #6b7280;
}

.so-doc__itemname {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  color: #166534;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.so-doc__remove {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #6b7280;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.so-doc__remove:hover {
  background: #fee2e2;
  color: #b91c1c;
}

.so-doc__summary {
  font-size: 12px;
  color: #6b7280;
  margin: 8px 0 0;
}

.so-doc__done {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
}

.so-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
}
.so-back:hover {
  color: var(--brand-color, #374151);
}

.so-back__icon {
  width: 18px;
  height: 18px;
}

.subvention-onboarding__header {
  margin-bottom: 24px;
}

.subvention-onboarding__title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 4px;
}

.subvention-onboarding__subtitle {
  margin: 0;
  color: #666;
}

.so-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.so-step-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand-color, #C4D600);
  filter: brightness(0.75);
  margin: 0 0 8px;
}

.so-card__title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
}

.so-card__lead {
  color: #555;
  margin: 0 0 24px;
}

.so-field {
  margin-bottom: 10px;
}

.so-label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
}

.so-input {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.so-input:focus {
  outline: none;
  border-color: var(--brand-color, #C4D600);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}
.so-input:disabled, .so-input.so-input--disabled {
  background: #f3f4f6;
  color: #7a7a7a;
  border-color: #d7d7d7;
  cursor: not-allowed;
  opacity: 1;
}

.so-error {
  color: #c0392b;
  font-size: 13px;
  margin: 6px 0 0;
  min-height: 1em;
}

.so-alert--resume {
  margin-bottom: 14px;
  background: #f7f9ec;
  border: 1px solid rgba(196, 214, 0, 0.45);
}

.so-resume-code {
  display: inline-block;
  font-family: "Courier New", monospace;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 18px;
}

.so-input--code {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: "Courier New", monospace;
}

.so-resume-collapsible {
  margin: 4px 0 0;
}

.so-resume-collapsible__summary {
  display: inline-block;
  width: 100%;
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #d8cf9b;
  background: #fff8dd;
  color: #4f4520;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  list-style: none;
}

.so-resume-collapsible__summary::-webkit-details-marker {
  display: none;
}

.so-resume-collapsible[open] .so-resume-collapsible__summary {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.so-resume-collapsible__body {
  border: 1px solid #e8e2bf;
  border-top: none;
  border-radius: 0 0 8px 8px;
  background: #fffdf3;
  padding: 12px;
}

.so-resume-banner {
  max-width: 1260px;
  margin: 4px auto 18px;
  padding: 14px 18px;
  background: linear-gradient(180deg, #fffef5 0%, #fff9de 100%);
  border: 2px solid #d5c77a;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.so-resume-banner__label {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5d5123;
}

.so-resume-banner__code-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0 4px;
}

.so-resume-banner__code {
  margin: 0;
  font-family: "Courier New", monospace;
  font-size: 44px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #3f360f;
}

.so-copy-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 4px;
  color: #8a7a3c;
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}
.so-copy-btn:hover, .so-copy-btn:focus {
  color: #5d5123;
  background: rgba(213, 199, 122, 0.18);
}
.so-copy-btn.is-copied {
  color: #047857;
}

.so-copy-btn__icon {
  width: 22px;
  height: 22px;
}

.so-resume-banner__hint {
  margin: 0;
  font-size: 15px;
  color: #504729;
}

.so-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%239ca3af'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 0 1 1.06.02L10 11.17l3.71-3.94a.75.75 0 1 1 1.08 1.04l-4.25 4.5a.75.75 0 0 1-1.08 0l-4.25-4.5a.75.75 0 0 1 .02-1.06Z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 40px;
}

.so-subhead {
  font-size: 16px;
  font-weight: 700;
  margin: 8px 0 6px;
}

.so-notice {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.so-notice li {
  position: relative;
  padding: 0 0 0 26px;
  margin-bottom: 14px;
  font-size: 14px;
  color: #444;
  line-height: 1.5;
}
.so-notice li::before {
  content: "ℹ";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-color, #C4D600);
  filter: brightness(0.8);
  font-weight: 700;
}
.so-notice a {
  color: inherit;
  text-decoration: underline;
}

.so-divider {
  border: none;
  border-top: 1px solid #ececec;
  margin: 28px 0 20px;
}

.so-row {
  display: flex;
  gap: 12px;
}
.so-row .so-field {
  flex: 1 1 0;
}

.so-password {
  position: relative;
}

.so-input--password {
  padding-right: 48px;
}

.so-password__toggle {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #9ca3af;
}
.so-password__toggle:hover {
  color: #4b5563;
}

.so-password__icon {
  width: 20px;
  height: 20px;
}

.so-password__icon--eye-off {
  display: none;
}

.so-password.is-visible .so-password__icon--eye {
  display: none;
}
.so-password.is-visible .so-password__icon--eye-off {
  display: block;
}

.so-field--checkbox {
  margin-bottom: 14px;
}

.so-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #444;
  cursor: pointer;
}
.so-checkbox input[type=checkbox] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.so-checkbox a {
  color: inherit;
  text-decoration: underline;
}

.so-btn {
  display: block;
  width: 100%;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 12px;
  transition: opacity 0.15s, transform 0.05s;
}
.so-btn:disabled {
  opacity: 0.6;
  cursor: default;
}
.so-btn:active:not(:disabled) {
  transform: translateY(1px);
}

.so-btn--primary {
  background: var(--brand-color, #C4D600);
  color: #fff;
}

.so-btn--secondary {
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #d1d5db;
}

.so-btn--validate {
  background: #fff;
  color: var(--brand-color, #C4D600);
  border: 2px solid var(--brand-color, #C4D600);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}
.so-btn--validate:hover:not(:disabled) {
  background: var(--brand-color, #C4D600);
  color: #fff;
}

.so-btn--ghost {
  background: transparent;
  color: #6b7280;
  border: 1px dashed #c7c7c7;
  margin-top: 8px;
}

.so-btn--danger {
  background: #fdecea;
  color: #a3261c;
  border: 1px solid #f1b0a8;
  margin-top: 8px;
}

.so-admin-collapse {
  margin-top: 12px;
  border: 1px dashed #d6d6d6;
  border-radius: 10px;
  background: #fff;
}
.so-admin-collapse__summary {
  cursor: pointer;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  color: #555;
  list-style: none;
}
.so-admin-collapse__summary::-webkit-details-marker {
  display: none;
}
.so-admin-collapse__summary::before {
  content: "▸ ";
}
.so-admin-collapse[open] .so-admin-collapse__summary::before {
  content: "▾ ";
}
.so-admin-collapse .so-field, .so-admin-collapse .so-row, .so-admin-collapse .so-btn--danger {
  margin-left: 12px;
  margin-right: 12px;
}
.so-admin-collapse > .so-btn--danger {
  margin-bottom: 12px;
}

.so-doc-block {
  padding: 16px;
  margin-bottom: 18px;
  background: #fafafa;
  border: 1px solid #ececec;
  border-radius: 12px;
}
.so-doc-block .so-btn--secondary, .so-doc-block .so-btn--validate {
  margin-top: 10px;
}
.so-doc-block.is-locked .so-doc__zone {
  opacity: 0.55;
  pointer-events: none;
}

.so-doc-status {
  margin-top: 10px;
  font-size: 14px;
}
.so-doc-status--is-missing {
  display: none;
}
.so-doc-status__badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
}
.so-doc-status__comment {
  margin: 6px 0 0;
  color: #4b5563;
  font-size: 13px;
}
.so-doc-status--is-validated .so-doc-status__badge {
  background: #e7f6ec;
  color: #1e7e34;
}
.so-doc-status--is-rejected .so-doc-status__badge {
  background: #fdecea;
  color: #842029;
}
.so-doc-status--is-review .so-doc-status__badge {
  background: #eef3fc;
  color: #1c4ca0;
}
.so-doc-status--is-error .so-doc-status__badge {
  background: #fdecea;
  color: #842029;
}
.so-doc-status--is-analyzing .so-doc-status__badge {
  background: #fff8e1;
  color: #6b5300;
}
.so-doc-status--is-analyzing .so-doc-status__badge::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 8px;
  vertical-align: -1px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: so-spin 0.7s linear infinite;
}

@keyframes so-spin {
  to {
    transform: rotate(360deg);
  }
}
.so-page--centered {
  justify-content: center;
  max-width: 640px;
}

.so-capture-qr {
  margin: 14px 0 0;
  padding: 16px;
  background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.04);
  text-align: center;
}
.so-capture-qr__title {
  margin: 0 0 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}
.so-capture-qr__media {
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
  padding: 10px;
  background: #fff;
  border: 1px solid #eef2f6;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}
.so-capture-qr__media svg {
  width: 100%;
  height: auto;
  display: block;
}
.so-capture-qr__hint {
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.4;
  color: #64748b;
}

@media (max-width: 860px) {
  .so-capture-qr {
    display: none;
  }
}
.so-aside-points--desktop {
  display: block;
  margin-top: 22px;
}

.so-aside-points--mobile {
  display: none;
}

@media (max-width: 860px) {
  .so-aside-points--desktop {
    display: none;
  }
  .so-aside-points--mobile {
    display: block;
  }
}
.so-capture__code {
  font-family: "Courier New", monospace;
  letter-spacing: 0.12em;
}

.so-card--success {
  text-align: center;
}

.so-done__check {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #e7f6ec;
  color: #1e7e34;
  display: flex;
  align-items: center;
  justify-content: center;
}
.so-done__check svg {
  width: 34px;
  height: 34px;
}

.so-alert {
  background: #fdecea;
  border: 1px solid #f5c6cb;
  color: #842029;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 14px;
}

.so-help {
  font-size: 13px;
  margin: 4px 0 16px;
}
.so-help a {
  color: #6b7280;
}

.so-hint {
  font-size: 13px;
  color: #6b7280;
  margin: 4px 0 16px;
}

.so-signed-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  background: #f3f4f6;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 20px;
  font-size: 13px;
  color: #555;
}

.so-linkbtn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--brand-color, #374151);
  text-decoration: underline;
  cursor: pointer;
}

.so-user-search__results {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.so-user-suggestion {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "name badge" "contact badge";
  align-items: center;
  gap: 0 12px;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
}
.so-user-suggestion:hover, .so-user-suggestion:focus {
  border-color: var(--brand-color, #374151);
  background: #f9fafb;
}

.so-user-suggestion__name {
  grid-area: name;
  font-weight: 600;
  font-size: 14px;
}

.so-user-suggestion__contact {
  grid-area: contact;
  font-size: 12px;
  color: #6b7280;
}

.so-user-suggestion__badge {
  grid-area: badge;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4338ca;
  white-space: nowrap;
}
.so-user-suggestion__badge--new {
  background: #ecfdf5;
  color: #047857;
}
