body:has(.setup-layout) { background:#eeeff4; }
.setup-layout {
  width:calc(100% - clamp(12px,3vw,48px)); max-width:1570px;
  min-height:calc(100svh - clamp(12px,3vw,48px)); margin:clamp(6px,1.5vw,24px) auto;
  display:grid; justify-items:center; align-content:center; gap:17px;
  padding:clamp(20px,5vw,64px) clamp(9px,4vw,38px);
  border:1px solid #efede7; border-radius:23px;
}
.setup-brand .brand { gap:4px; color:#171717; }
.setup-main {
  width:min(100%,650px); min-width:0; padding:clamp(19px,4vw,42px);
  border:1px solid #eae7df; border-radius:23px; background:#fff;
  box-shadow:0 12px 36px #28243b12;
}
.setup-form-wrap > h1 {
  margin:24px 0 9px; font-size:clamp(30px,4.6vw,51px); letter-spacing:-.075em;
  text-align:center; text-wrap:balance;
}
.setup-form-wrap > h1 + p { text-align:center; text-wrap:balance; }
.setup-main form { margin-top:24px; }
.setup-storage { margin-top:14px; text-align:center; }
.setup-progress {
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:5px;
  max-width:530px; margin:0 auto; padding:0; list-style:none;
}
.setup-progress li {
  display:flex; flex-direction:column; align-items:center; gap:5px; padding:7px 2px;
  text-align:center; border-radius:11px; color:#676171; font-size:12px;
}
.setup-step-icon {
  width:25px; height:25px; display:grid; place-items:center; border-radius:50%;
  background:#f0edf3; font-weight:700; font-size:11px;
}
.setup-progress li[aria-current=step] { background:#f1ecfb; color:#362677; font-weight:800; }
.setup-progress li[aria-current=step] .setup-step-icon { background:#ded3f7; }
.setup-progress li[data-completed] .setup-step-icon { background:#e3f4e9; color:#315f42; }
.setup-progress li[data-locked] .setup-step-icon { background:#f5f3f6; }
.setup-main .fields { gap:clamp(12px,2vw,26px); }
.setup-main .field { gap:8px; margin-bottom:18px; }
.setup-main .field :is(input,select,textarea) { padding:12px; min-width:0; }
.setup-main .work-options { margin-top:14px; }
.setup-main .work-options > div { gap:12px; }
.setup-main .work-options label { padding:14px 11px; background:#ffffffbf; }
.setup-main .work-options label:has(:checked) { border-color:#6254a3; background:#f0edff; }
.setup-count { font-weight:700; font-size:13px; color:var(--blue); }
.setup-main > .subtle { margin-top:12px; }
.setup-actions { margin-top:clamp(23px,4vw,40px); gap:10px; }
.setup-save { color:var(--blue); background:transparent; text-decoration:underline; }
.setup-error { color:#942c43; font-size:14px; margin:8px 0; }
.work-options { border:0; padding:0; margin:8px 0 14px; min-width:0; }
.work-options legend { font-size:15px; font-weight:800; }
.work-options p { font-size:13px; margin:1px 0 8px; }
.work-options > div { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.work-options label { display:flex; align-items:flex-start; gap:6px; padding:10px; border:1px solid var(--border); border-radius:11px; cursor:pointer; }
.work-options label:has(:checked) { border-color:var(--blue); background:#eef1ff; }
.work-options input { accent-color:var(--blue); margin:3px 0 0; }
.work-options strong,.work-options small { display:block; }
.work-options strong { font-size:14px; }
.work-options small { font-size:12px; color:var(--muted); margin-top:3px; }
.photo-field { display:flex; gap:14px; align-items:center; margin:10px 0 15px; padding:12px; background:#f3f2fb; border-radius:15px; }
.photo-field > div:last-child { min-width:0; }
.photo-field .field { margin:0; }
.photo-field p,.photo-remove { font-size:12px; }
.setup-avatar { flex:none; display:grid; place-items:center; width:66px; height:66px; border-radius:18px; overflow:hidden; background:#dfd9f9; color:#45348d; font-weight:800; }
.setup-avatar img { width:100%; height:100%; object-fit:cover; }
.review-profile { display:flex; align-items:flex-start; gap:14px; }
.review-profile dl { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px 13px; margin:0 0 12px; flex:1; min-width:0; }
.review-profile dt { font-size:12px; color:var(--muted); }
.review-profile dd { margin:0; overflow-wrap:anywhere; font-size:14px; }
.country-control { position:relative; display:block; min-width:0; }
.country-control select { appearance:none; width:100%; text-overflow:ellipsis; }
.setup-main .field .country-control select,.field .country-control select { padding-inline-end:38px; }
.country-control::after { content:""; width:7px; height:7px; position:absolute; inset-inline-end:16px; top:50%; border:solid #625975; border-width:0 1.5px 1.5px 0; transform:translateY(-70%) rotate(45deg); pointer-events:none; }
@media(max-width:520px) {
  .setup-layout { align-content:start; }
  .setup-main .work-options > div { grid-template-columns:1fr; }
  .setup-progress li { font-size:11px; }
}

.setup-layout {
  --setup-border:#e6e1d9;
  align-content:start;
  gap:22px;
}
.setup-main { width:min(100%,820px); border-color:var(--setup-border); }
.setup-progress { grid-template-columns:repeat(6,minmax(0,1fr)); max-width:none; }
.setup-progress li { color:#56534f; }
.setup-progress li[aria-current=step] { background:#eeefe7; color:#242722; }
.setup-progress li[aria-current=step] .setup-step-icon { background:#222; color:#fff; }
.setup-progress li[data-locked] { color:#66615b; }
.setup-progress li[data-locked] .setup-step-icon { opacity:.65; }
.setup-step-count { margin:20px 0 0; text-align:center; color:#56534f; font-size:14px; font-weight:700; }
.setup-form-wrap > h1 { margin-top:8px; }
.setup-main .field { margin-bottom:12px; }
.setup-main .field :is(input,select,textarea) { background:#fcfbf9; }
.setup-main .work-options label:has(:checked) { background:#ebf3eb; border-color:#597662; }
.setup-main input:is([type=checkbox],[type=radio],[type=range]) { accent-color:#20201e; }
.setup-main details > summary { cursor:pointer; font-weight:700; }
.setup-main details[open] > summary { margin-bottom:14px; }
.cv-upload {
  position:relative;
  display:grid;
  justify-items:center;
  gap:6px;
  padding:22px 12px;
  margin-bottom:10px;
  border:1px dashed #817865;
  border-radius:16px;
  cursor:pointer;
  background:#f7f3ea radial-gradient(#ded5c5 .7px,transparent .9px) 0 0/9px 9px;
  overflow-wrap:anywhere;
}
.cv-upload input { max-width:100%; margin-top:8px; font-size:14px; }
.cv-upload input::file-selector-button {
  padding:6px 10px;
  background:#fff;
  color:#171717;
  border:1px solid #c6bdad;
  border-radius:7px;
  cursor:pointer;
}
.cv-upload-icon { display:grid; place-items:center; width:40px; height:40px; background:#fff; border:1px solid #e6dfd4; border-radius:10px; }
.cv-upload-icon svg { width:22px; height:22px; }
.cv-message, .setup-summary { margin-top:12px; padding:13px; background:#eef4ee; border-radius:11px; }
.setup-review-cv { margin-top:20px; }
.setup-review-cv h2, .setup-connections h2 { font-size:20px; margin:0 0 4px; }
.setup-review-cv > p { margin-bottom:12px; }
.setup-search-fields { grid-template-columns:repeat(3,minmax(0,1fr)); }
.setup-choices, .setup-modes { border:0; padding:0; margin:0 0 14px; min-width:0; }
.setup-choices legend,.setup-modes legend { font-weight:800; margin-bottom:7px; }
.setup-choices > div { display:flex; flex-wrap:wrap; gap:8px; }
.setup-choices label,.setup-modes label,.setup-consent {
  display:flex; align-items:flex-start; gap:8px; cursor:pointer;
  padding:10px; border:1px solid var(--setup-border); border-radius:10px;
}
.setup-choices label:has(:checked),.setup-modes label:has(:checked) { background:#ebf3eb; border-color:#597662; }
.setup-choices label:has(:disabled) { color:#65625e; background:#f7f5f2; cursor:default; }
.setup-modes label + label { margin-top:7px; }
.setup-modes small { display:block; color:#56534f; }
.setup-ranges .field > span { display:flex; justify-content:space-between; }
.setup-ranges output { font-weight:800; }
.setup-ranges .field input { width:100%; padding:0; }
.setup-summary p { margin:4px 0 0; }
.setup-connections { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.setup-connections article { display:flex; gap:9px; padding:15px; background:#f7f5f1; border:1px solid var(--setup-border); border-radius:13px; }
.setup-connections img { flex:none; }
.setup-connections p { margin:0; }
.setup-consent { margin:14px 0; background:#f7f3ea; }
@media(max-width:640px) {
  .setup-progress { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .setup-main .setup-search-fields, .setup-connections { grid-template-columns:1fr; }
}

.profile-setup-card progress {
  width:100%;
  height:.75rem;
  accent-color:#5842bd;
}
[data-setup-step] { width:100%; margin:0; min-height:auto; }
