/* Stage 1 fieldhost → mock variant 15. Stage cards, top fields, stage 4, mobile-work stay as-is. */

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost {
  --okk-s1v15-blue: #0658a2;
  --okk-s1v15-muted: #3b556d;
  --okk-s1v15-bg: #dce7f2;
  --okk-s1v15-fld: 46px;
  --okk-s1v15-chip: 32px;
  --okk-s1v15-gap: 4px;
  --okk-s1v15-r: 10px;
  --okk-s1v15-ink: rgba(15, 23, 42, 0.9);
  --okk-s1v15-stroke: rgba(6, 88, 162, 0.18);
  left: 61px !important;
  width: 1800px !important;
  max-width: 1800px !important;
  top: calc(610px - (300px - var(--okk-stepper-content-top, 300px)) - 55px) !important;
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost__layout {
  display: grid;
  /* 870 + 10 + 920 = 1800 — орг. структура растянута влево, зазор 10px */
  grid-template-columns: 870px 920px;
  grid-template-rows: auto minmax(0, auto);
  column-gap: 10px;
  row-gap: 4px;
  justify-content: start;
  align-items: start;
  width: 100%;
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost__layout > script {
  display: none !important;
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost__left {
  display: contents;
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost__left .okkwork-stage4-add-subdivision-center {
  grid-column: 1;
  grid-row: 1;
  position: static !important;
  left: auto !important;
  top: auto !important;
  width: auto !important;
  margin: 0;
  transform: none !important;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  align-self: start;
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-stage1-add-subdivision-fieldhost {
  grid-column: 1;
  grid-row: 2;
  display: grid;
  gap: var(--okk-s1v15-gap);
  flex: none;
  width: 100%;
  max-width: none;
  min-width: 0;
  min-height: 0;
  align-self: start;
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-stage4-s1-company-field,
html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-s1-dept-card {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 14px;
  margin: 0;
  width: auto;
  height: auto;
  min-height: 0;
  left: auto;
  top: auto;
  background: #fff;
  border: 1px solid var(--okk-s1v15-stroke);
  border-radius: var(--okk-s1v15-r);
  box-sizing: border-box;
  overflow: visible;
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-stage4-s1-company-field--points-collapsed,
html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-stage4-s1-company-field--no-points {
  padding-bottom: 14px;
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-stage4-s1-company-field__head {
  display: none;
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-s1-dept-card__num {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-s1-dept-card__top {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-s1-dept-card__fld {
  display: grid;
  gap: 6px;
  flex: 1;
  min-width: 0;
  font-size: 13px;
  color: var(--okk-s1v15-muted);
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-s1-dept-card__fld-label {
  line-height: 1.2;
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-s1-dept-card__fld-box {
  display: flex;
  align-items: center;
  gap: 8px;
  height: var(--okk-s1v15-fld);
  min-height: var(--okk-s1v15-fld);
  padding: 0 12px 0 14px;
  background: var(--okk-s1v15-bg);
  border: 1px solid rgba(6, 88, 162, 0.16);
  border-radius: var(--okk-s1v15-r);
  box-sizing: border-box;
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-stage4-s1-company-field__field {
  position: static;
  display: contents;
  width: auto;
  height: auto;
  left: auto;
  top: auto;
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .stroke-wrapper-219_34,
html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .Pixso-rectangle-219_34,
html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .stroke-219_34 {
  display: none !important;
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-s1-dept-card__fld-box input.Pixso-paragraph-219_35,
html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-stage4-s1-company-field input[aria-label="Название подразделения"] {
  position: static !important;
  flex: 1;
  min-width: 0;
  width: auto !important;
  height: auto !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  transform: none !important;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent !important;
  color: var(--okk-s1v15-blue);
  font-family: "Rubik", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  outline: none;
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-s1-dept-card__count {
  flex-shrink: 0;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(6, 88, 162, 0.14);
  color: var(--okk-s1v15-blue);
  font-size: 13px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-stage4-s1-block__inner-icon {
  position: static !important;
  width: 21px;
  height: 21px;
  margin: 0;
  flex-shrink: 0;
  left: auto;
  top: auto;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-stage4-s1-block__collapse-toggle,
html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-stage4-s1-hidden-points-indicator {
  display: none !important;
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-s1-chevron-img {
  width: 18px;
  height: 18px;
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-s1-dept-card__mkk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: var(--okk-s1v15-fld);
  min-height: var(--okk-s1v15-fld);
  padding: 0 14px;
  flex-shrink: 0;
  border: 1px dashed rgba(6, 88, 162, 0.45);
  border-radius: 10px;
  background: #fff;
  color: var(--okk-s1v15-blue);
  font-family: "Rubik", sans-serif;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-s1-dept-card__mkk:hover {
  background: var(--okk-s1v15-bg);
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-s1-dept-card__mkk[hidden] {
  display: none !important;
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-stage4-s1-company-field__icon-right {
  position: absolute !important;
  top: -8px;
  right: -8px;
  left: auto;
  width: 22px;
  height: 22px;
  margin: 0;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background-color: #fff;
  background-size: 11px 11px;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
  z-index: 2;
  cursor: pointer;
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-stage1-s1-subdivision__specialists {
  position: static !important;
  display: block !important;
  width: auto;
  height: auto;
  left: auto;
  top: auto;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible;
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-stage1-s1-subdivision__specialists-inner {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  min-height: 0;
  padding: 0 !important;
  overflow: visible !important;
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-stage4-s1-point__field::before {
  content: none !important;
  display: none !important;
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-stage1-s1-subdivision__specialists-inner::before,
html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-stage1-s1-spec-countcap {
  display: none !important;
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-stage4-s1-company-field__point,
html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-s1-spec-chip {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  position: static !important;
  width: auto !important;
  height: var(--okk-s1v15-chip);
  min-height: var(--okk-s1v15-chip);
  left: auto;
  top: auto;
  margin: 0;
  padding: 0 8px 0 4px;
  background: #fff;
  border: 1px solid var(--okk-s1v15-stroke);
  border-radius: 999px;
  box-sizing: border-box;
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-stage4-s1-point__main,
html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-stage4-s1-point__field,
html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-stage4-s1-point__right {
  display: contents;
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-stage4-s1-point__head,
html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-specialist-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-s1-spec-chip__ini {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(6, 88, 162, 0.14);
  color: var(--okk-s1v15-blue);
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  object-fit: cover;
  overflow: hidden;
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost img.okkwork-s1-spec-chip__ini {
  display: block;
  padding: 0;
  border: 0;
  background: rgba(6, 88, 162, 0.08);
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-stage4-s1-point input.Pixso-paragraph-219_35 {
  position: static !important;
  width: 148px !important;
  max-width: 200px;
  height: auto !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  transform: none !important;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent !important;
  color: var(--okk-s1v15-ink);
  font-size: 14px;
  line-height: 1.2;
  outline: none;
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-stage4-s1-point__inner-icon {
  position: static !important;
  width: 18px;
  height: 18px;
  left: auto;
  top: auto;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-stage4-s1-point__del {
  position: static !important;
  width: 16px;
  height: 16px;
  left: auto;
  top: auto;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  opacity: 0.7;
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-stage4-s1-company-field__icon-bl,
html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-s1-spec-chip--add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: var(--okk-s1v15-chip);
  min-height: var(--okk-s1v15-chip);
  padding: 0 12px;
  margin: 0;
  position: static !important;
  left: auto !important;
  bottom: auto !important;
  width: auto !important;
  background-image: none !important;
  background-color: #fff;
  border: 1px dashed rgba(6, 88, 162, 0.45);
  border-radius: 999px;
  color: var(--okk-s1v15-blue);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-s1-dept-card__desc {
  margin: 0;
  padding: 0;
  max-width: 100%;
  font-size: 13px;
  line-height: 1.35;
  color: var(--okk-s1v15-muted);
  cursor: pointer;
  box-sizing: border-box;
  overflow-wrap: anywhere;
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-s1-dept-card__desc.is-empty {
  opacity: 0.55;
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-stage4-s1-hidden-points-indicator {
  position: static !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  font-size: 11px;
  color: var(--okk-s1v15-muted);
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost__left .okkwork-stage4-add-subdivision-btn,
html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-add-dept {
  min-height: 46px;
  height: 46px;
  padding: 10px 18px;
  border: 1px solid rgba(6, 88, 162, 0.28) !important;
  border-radius: 12px;
  background: #fff !important;
  color: var(--okk-s1v15-blue) !important;
  font-family: "Rubik", sans-serif;
  font-size: 14px;
  font-weight: 600;
  box-shadow: none !important;
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost__left .okkwork-stage4-add-subdivision-btn:hover {
  background: var(--okk-s1v15-bg) !important;
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-stage1-org-preview,
html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-stage1-org-preview__frame {
  display: contents;
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-stage1-org-preview__heading {
  grid-column: 2;
  grid-row: 1;
  width: 920px;
  max-width: 920px;
  margin: 0;
  align-self: start;
  pointer-events: none;
  user-select: none;
}

html:not(.okkwork-mobile-work) body[data-okkwork-stage="1"] .okkwork-s1-fieldhost .okkwork-stage1-org-preview__panel {
  grid-column: 2;
  grid-row: 2;
  width: 920px;
  max-width: 920px;
  margin: 0;
  align-self: start;
  pointer-events: none;
  user-select: none;
}
