/**
 * Пошаговая форма 101 — urist.co.il/ru/forms/101
 * На /101/ не подключается.
 */

body.p101-new {
  --f101-blue: #1d4f9a;
  --f101-blue-deep: #163a73;
  --f101-cyan: #00c4d6;
  --f101-cyan-btn: #1ad3e6;
  --f101-bg: #e8eef4;
  --f101-line: #d5dee8;
  --wizard-nav-h: 0;
  background: var(--f101-bg);
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

body.p101-new .p101-beta-banner,
body.p101-new .site-seo-nav {
  display: none !important;
}

body.p101-new .date-sep,
body.p101-new .date-sep-inline {
  display: none !important;
}

body.p101-wizard-ready > .header-wrap,
body.p101-wizard-ready > .block-wrap,
body.p101-wizard-ready > #form-rest,
body.p101-wizard-ready > .form-service-note,
body.p101-wizard-ready > .pdf-export-bar,
body.p101-wizard-ready > .site-seo-footer,
body.p101-wizard-ready > #form-validation-banner {
  display: none !important;
}

.f101-page {
  max-width: 1260px;
  margin: 0 auto;
  padding: 1.1rem 1.15rem 2.5rem;
  display: grid;
  grid-template-columns: 8.6rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
}

.f101-main {
  min-width: 0;
}

.f101-docpeek-col {
  position: sticky;
  top: 5.4rem;
  padding-top: 5.55rem;
  z-index: 3;
}

.f101-docpeek {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  margin: 0;
  padding: 0.85rem 0.5rem 0.95rem;
  border: 2px solid #7eb6e8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(20, 45, 80, 0.1);
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: center;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.f101-docpeek:hover,
.f101-docpeek:focus-visible {
  transform: translateY(-2px);
  border-color: #9ec4ee;
  box-shadow: 0 12px 26px rgba(29, 79, 154, 0.14);
  outline: none;
}

.f101-docpeek-sheet {
  width: 3.35rem;
  height: 4.15rem;
  display: block;
}

.f101-docpeek-sheet svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 4px 6px rgba(22, 58, 115, 0.12));
}

.f101-docpeek-text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  line-height: 1.2;
}

.f101-docpeek-text strong {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--f101-blue);
}

.f101-docpeek-text span {
  font-size: 0.78rem;
  font-weight: 650;
  color: #5b6b80;
}

.f101-docpeek--foot {
  display: none;
  flex-direction: row;
  width: auto;
  min-height: 2.8rem;
  padding: 0.45rem 0.85rem 0.45rem 0.5rem;
  border-radius: 12px;
  gap: 0.45rem;
  box-shadow: none;
}

.f101-docpeek--foot .f101-docpeek-sheet {
  width: 1.55rem;
  height: 1.9rem;
}

.f101-docpeek--foot .f101-docpeek-text {
  font-size: 1rem;
  font-weight: 800;
  color: var(--f101-blue);
}

body.p101-docview-open {
  overflow: hidden;
}

.f101-docview {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.f101-docview[hidden] {
  display: none !important;
}

.f101-docview-scrim {
  position: absolute;
  inset: 0;
  background: rgba(12, 28, 52, 0.55);
}

.f101-docview-panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  height: min(92vh, 980px);
  display: flex;
  flex-direction: column;
  background: #f4f7fb;
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(8, 22, 44, 0.35);
  overflow: hidden;
}

.f101-docview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem 1rem;
  background: #fff;
  border-bottom: 1px solid var(--f101-line);
}

.f101-docview-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0b6b75;
}

.f101-docview-head h2 {
  margin: 0;
  font-size: 1.42rem;
  line-height: 1.25;
  color: var(--f101-blue-deep);
  letter-spacing: -0.02em;
}

.f101-docview-lead {
  margin: 0.4rem 0 0;
  font-size: 1.02rem;
  color: #4b5b70;
  line-height: 1.4;
}

.f101-docview-x {
  flex: none;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 999px;
  background: #eef3f8;
  color: #334155;
  font-size: 1.85rem;
  line-height: 1;
  cursor: pointer;
}

.f101-docview-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: #cfd9e6;
}

.f101-docview-wait {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  margin: 0;
  padding: 1.5rem;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.45;
  color: #334155;
}

.f101-docview-wait.is-err {
  color: #991b1b;
}

.f101-docview-pages {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  padding: 1.1rem 0.85rem 1.6rem;
}

.f101-docview-pages[hidden] {
  display: none !important;
}

.f101-docview-page {
  margin: 0;
  width: min(100%, 860px);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(12, 28, 52, 0.18);
  overflow: hidden;
}

.f101-docview-page figcaption {
  margin: 0;
  padding: 0.55rem 0.8rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #163a73;
  background: #eef4fb;
  border-bottom: 1px solid #d7e3f0;
}

.f101-docview-page canvas {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.f101-docview-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem 1.05rem;
  background: #fff;
  border-top: 1px solid var(--f101-line);
}

.f101-docview-back,
.f101-docview-open-tab {
  border: 0;
  border-radius: 12px;
  background: var(--f101-cyan-btn);
  color: #fff;
  font: inherit;
  font-size: 1.12rem;
  font-weight: 800;
  padding: 0.85rem 1.35rem;
  min-width: 12rem;
  cursor: pointer;
}

.f101-docview-open-tab {
  margin-top: 0.85rem;
  min-width: 14rem;
}

.f101-stepper-wrap {
  position: relative;
  z-index: 1;
  margin: 0 0 1.15rem;
  padding-top: 3.7rem;
  overflow: hidden;
}

.f101-stepper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0.4rem 0.5rem 0.7rem;
  position: relative;
}

.f101-stepper::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 1.05rem;
  height: 2px;
  background: var(--f101-line);
  z-index: 0;
}

.f101-stepper li {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
  cursor: pointer;
  text-align: center;
}

.f101-step-num {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  font-weight: 700;
  color: #8b97a8;
  background: #fff;
  border: 2px solid #c9d3df;
  position: relative;
}

.f101-step-n {
  position: relative;
  z-index: 1;
}

.f101-step-fill {
  display: none;
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: conic-gradient(from -90deg, #2f6fed calc(var(--step-pct, 0) * 1%), #d5dee8 0);
  z-index: 0;
  pointer-events: none;
}

.f101-step-fill::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #fff;
}

.f101-stepper li.is-active .f101-step-num,
.f101-stepper li.is-done .f101-step-num {
  color: #fff;
  background: #2f6fed;
  border-color: #2f6fed;
}

.f101-stepper li.is-meter:not(.is-done) .f101-step-num {
  color: #2f6fed;
  background: #fff;
  border-color: #2f6fed;
}

.f101-stepper li.is-meter:not(.is-active):not(.is-done):not(.is-partial) .f101-step-num {
  color: #8b97a8;
  background: #fff;
  border-color: #c9d3df;
}

.f101-stepper li.is-meter.is-partial:not(.is-done) .f101-step-num {
  border-color: transparent;
  background: #fff;
  color: #2f6fed;
}

.f101-stepper li.is-partial .f101-step-fill {
  display: block;
}

.f101-step-label {
  font-size: 0.72rem;
  font-weight: 650;
  color: #7b8796;
  line-height: 1.25;
  max-width: 6.8rem;
}

.f101-stepper li.is-active .f101-step-label {
  color: #1e3a5f;
}

.f101-stepper li.f101-step-goal .f101-step-num {
  background: #e7fbfe;
  border-color: var(--f101-cyan);
  color: #0b6b75;
  box-shadow: 0 0 0 3px rgba(0, 196, 214, 0.2);
}

.f101-stepper li.f101-step-goal .f101-step-label {
  color: #0f5c66;
  font-weight: 800;
  max-width: 7.8rem;
}

.f101-stepper li.f101-step-goal.is-active .f101-step-num,
.f101-stepper li.f101-step-goal.is-done .f101-step-num {
  background: var(--f101-cyan-btn);
  border-color: #12c4d6;
  color: #fff;
  box-shadow: 0 4px 14px rgba(26, 211, 230, 0.42);
}

.f101-stepper li.f101-step-goal.is-active .f101-step-label {
  color: #0b4d55;
}

.f101-card {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 36px rgba(20, 45, 80, 0.1);
  overflow: visible;
}

.f101-acc-list {
  display: flex;
  flex-direction: column;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
}

.f101-more {
  display: none !important;
}

.f101-acc--employer .f101-acc-bar {
  align-items: center;
  min-height: 3.15rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  background: #4a7aa8;
}

.f101-acc--employer.is-open .f101-acc-bar {
  background: var(--f101-blue);
}

.f101-acc--employer .f101-acc-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: normal;
}

.f101-acc--employer:not(.is-open) .f101-acc-check {
  display: none !important;
}

.f101-acc {
  margin: 0;
}

.f101-acc-bar {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 0;
  cursor: pointer;
  text-align: left;
  padding: 0.85rem 1.1rem;
  min-height: 3.15rem;
  font: inherit;
  color: #fff;
  background: var(--f101-cyan);
}

.f101-acc.is-open .f101-acc-bar {
  background: var(--f101-blue);
}

.f101-acc.is-done .f101-acc-bar {
  background: var(--f101-cyan);
}

.f101-acc-icon {
  width: 1.65rem;
  height: 1.65rem;
  flex-shrink: 0;
  display: flex;
  color: #fff;
}

.f101-acc-icon svg {
  width: 100%;
  height: 100%;
}

.f101-acc-text {
  flex: 1;
  min-width: 0;
}

.f101-acc-title {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.f101-acc-sub {
  display: block;
  margin-top: 0.18rem;
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.3;
  opacity: 0.9;
}

.f101-acc-check {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.f101-acc.is-done .f101-acc-check {
  display: flex;
}

.f101-acc.is-open .f101-acc-check {
  display: none;
}

.f101-acc-body {
  padding: 1.25rem 1.45rem 0.55rem;
  background: #fff;
}

.f101-actor {
  position: absolute;
  left: 0;
  top: 0;
  width: 8.2rem;
  height: 5.5rem;
  margin-left: -3.45rem;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
  transition: left 0.6s cubic-bezier(0.22, 0.82, 0.28, 1), top 0.6s cubic-bezier(0.22, 0.82, 0.28, 1);
}

.f101-actor-stage {
  width: 100%;
  height: 100%;
  transform-origin: 42% 92%;
}

.f101-actor-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
}

.f101-actor.is-back .f101-actor-stage {
  transform: scaleX(-1);
}

.f101-actor .pose-extra,
.f101-actor-dust {
  opacity: 0;
  visibility: hidden;
}

.f101-actor:not(.is-travel)[data-pose="passport"] .pose-passport,
.f101-actor:not(.is-travel)[data-pose="family"] .pose-family,
.f101-actor:not(.is-travel)[data-pose="money"] .pose-money,
.f101-actor:not(.is-travel)[data-pose="perk"] .pose-perk,
.f101-actor:not(.is-travel)[data-pose="sign"] .pose-sign,
.f101-actor:not(.is-travel)[data-pose="flag"] .pose-flag {
  opacity: 1;
  visibility: visible;
}

.f101-actor.is-walk .f101-actor-dust,
.f101-actor.is-run .f101-actor-dust {
  opacity: 1;
  visibility: visible;
}

.f101-actor-leg,
.f101-actor-arm,
.f101-actor-head,
.f101-actor-lid,
.f101-actor-hair,
.pass-book,
.wallet,
.pen,
.flag-cloth,
.fam-wife,
.fam-kid,
.perk-card,
.sign-sheet,
.sign-pen,
.paper {
  transform-box: fill-box;
}

.f101-actor-leg {
  transform-origin: 50% 8%;
}

.f101-actor-arm--l {
  transform-origin: 80% 10%;
}

.f101-actor-arm--r {
  transform-origin: 20% 10%;
}

.f101-actor-head {
  transform-origin: 50% 88%;
}

.f101-actor-hair {
  transform-origin: 50% 85%;
  animation: f101-hair 3.4s ease-in-out infinite;
}

.f101-actor-lid {
  transform-origin: 50% 20%;
  transform: scaleY(0);
  animation: f101-blink 4.2s ease-in-out infinite;
}

.f101-actor:not(.is-travel) .f101-actor-body {
  animation: f101-idle 3.2s ease-in-out infinite;
}

.f101-actor.is-walk .f101-actor-leg--l,
.f101-actor.is-run .f101-actor-leg--l {
  animation: f101-walk-l 0.42s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.f101-actor.is-walk .f101-actor-leg--r,
.f101-actor.is-run .f101-actor-leg--r {
  animation: f101-walk-r 0.42s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.f101-actor.is-walk .f101-actor-arm--l,
.f101-actor.is-run .f101-actor-arm--l {
  animation: f101-arm-l 0.42s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.f101-actor.is-walk .f101-actor-arm--r,
.f101-actor.is-run .f101-actor-arm--r {
  animation: f101-arm-r 0.42s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.f101-actor.is-walk .f101-actor-body,
.f101-actor.is-run .f101-actor-body {
  animation: f101-bob 0.42s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.f101-actor.is-walk .f101-actor-head,
.f101-actor.is-run .f101-actor-head {
  animation: f101-head-bob 0.42s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.f101-actor.is-walk .f101-actor-hair,
.f101-actor.is-run .f101-actor-hair {
  animation: f101-hair-walk 0.42s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.f101-actor.is-run .f101-actor-leg--l,
.f101-actor.is-run .f101-actor-leg--r,
.f101-actor.is-run .f101-actor-arm--l,
.f101-actor.is-run .f101-actor-arm--r,
.f101-actor.is-run .f101-actor-body,
.f101-actor.is-run .f101-actor-head,
.f101-actor.is-run .f101-actor-hair {
  animation-duration: 0.24s;
}

.f101-actor.is-run .f101-actor-stage {
  transform: rotate(-4deg);
}

.f101-actor.is-run.is-back .f101-actor-stage {
  transform: scaleX(-1) rotate(-4deg);
}

.f101-actor.is-walk .dust,
.f101-actor.is-run .dust {
  animation: f101-dust 0.42s ease-out infinite;
}

.f101-actor.is-run .dust {
  animation-duration: 0.24s;
}

.f101-actor:not(.is-travel)[data-pose="passport"] .f101-actor-arm--r {
  transform: rotate(-32deg);
}

.f101-actor.is-arrive[data-pose="passport"] .pass-book {
  transform-origin: 10% 80%;
  animation: f101-pass 2.2s ease-in-out infinite;
}

.f101-actor.is-arrive[data-pose="family"] .fam-wife {
  transform-origin: 80% 90%;
  animation: f101-wife-in 0.55s ease-out both;
}

.f101-actor.is-arrive[data-pose="family"] .fam-kid {
  transform-origin: 20% 90%;
  animation: f101-kid-in 0.55s ease-out both;
}

.f101-actor.is-arrive[data-pose="family"] .f101-actor-arm--l {
  animation: f101-hug-arm-l 0.55s ease-out forwards;
}

.f101-actor.is-arrive[data-pose="family"] .f101-actor-arm--r {
  animation: f101-hug-arm-r 0.55s ease-out forwards;
}

.f101-actor:not(.is-travel)[data-pose="money"] .f101-actor-arm--r {
  transform: rotate(12deg);
}

.f101-actor.is-arrive[data-pose="money"] .wallet {
  transform-origin: 20% 80%;
  animation: f101-pickup 0.5s ease-out both;
}

.f101-actor.is-arrive[data-pose="perk"] .perk-card {
  transform-origin: 20% 80%;
  animation: f101-pickup 0.5s ease-out both;
}

.f101-actor:not(.is-travel)[data-pose="perk"] .f101-actor-arm--r {
  transform: rotate(-22deg);
}

.f101-actor:not(.is-travel)[data-pose="sign"] .f101-actor-arm--r {
  animation: f101-write-arm 1.15s ease-in-out infinite;
}

.f101-actor.is-arrive[data-pose="flag"] .flag-cloth {
  transform-origin: 0% 30%;
  animation: f101-flag 1.4s ease-in-out infinite;
}

@keyframes f101-blink {
  0%,
  88%,
  96%,
  100% {
    transform: scaleY(0);
  }
  90%,
  94% {
    transform: scaleY(1);
  }
}

@keyframes f101-idle {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-1px) rotate(0.35deg);
  }
}

@keyframes f101-walk-l {
  0%,
  100% {
    transform: rotate(13deg);
  }
  50% {
    transform: rotate(-12deg);
  }
}

@keyframes f101-walk-r {
  0%,
  100% {
    transform: rotate(-13deg);
  }
  50% {
    transform: rotate(12deg);
  }
}

@keyframes f101-arm-l {
  0%,
  100% {
    transform: rotate(-12deg);
  }
  50% {
    transform: rotate(10deg);
  }
}

@keyframes f101-arm-r {
  0%,
  100% {
    transform: rotate(12deg);
  }
  50% {
    transform: rotate(-10deg);
  }
}

@keyframes f101-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1.6px);
  }
}

@keyframes f101-head-bob {
  0%,
  100% {
    transform: rotate(-1.2deg);
  }
  50% {
    transform: rotate(1.2deg);
  }
}

@keyframes f101-hair {
  0%,
  100% {
    transform: rotate(0) translateY(0);
  }
  50% {
    transform: rotate(0.7deg) translateY(-0.35px);
  }
}

@keyframes f101-hair-walk {
  0%,
  100% {
    transform: rotate(-1.4deg);
  }
  50% {
    transform: rotate(1.4deg);
  }
}

@keyframes f101-dust {
  0% {
    transform: translateX(0) scale(0.75);
    opacity: 0.22;
  }
  100% {
    transform: translateX(-6px) scale(1.05);
    opacity: 0;
  }
}

@keyframes f101-wife-in {
  0% {
    transform: translateX(-6px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes f101-kid-in {
  0% {
    transform: translateX(6px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes f101-hug-arm-l {
  0% {
    transform: rotate(4deg);
  }
  100% {
    transform: rotate(-18deg);
  }
}

@keyframes f101-hug-arm-r {
  0% {
    transform: rotate(-4deg);
  }
  100% {
    transform: rotate(14deg);
  }
}

@keyframes f101-pickup {
  0% {
    transform: translateY(5px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes f101-paper-in {
  0% {
    transform: translateY(5px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes f101-pen {
  0%,
  100% {
    transform: rotate(-3deg);
  }
  50% {
    transform: rotate(4deg);
  }
}

@keyframes f101-write-arm {
  0%,
  100% {
    transform: rotate(-6deg);
  }
  50% {
    transform: rotate(4deg);
  }
}

@keyframes f101-scribble {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes f101-flag {
  0%,
  100% {
    transform: skewY(-1.5deg) rotate(-0.6deg);
  }
  50% {
    transform: skewY(2deg) rotate(0.8deg);
  }
}

@keyframes f101-pass {
  0%,
  100% {
    transform: rotate(0);
  }
  50% {
    transform: rotate(-4deg);
  }
}

.f101-hint {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: #5b6b80;
  line-height: 1.4;
}

.tz-check-msg,
.date-check-msg {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: #b91c1c;
  line-height: 1.35;
}

.tz-check-msg[hidden],
.date-check-msg[hidden] {
  display: none !important;
}

body.p101-new .f101-family-sub {
  margin: 0 0 0.7rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--f101-blue-deep);
  line-height: 1.35;
}

body.p101-new .f101-family-sub-hint {
  font-weight: 500;
  font-size: 0.86em;
  color: #5b6b80;
}

body.p101-new .f101-family-block + .f101-family-block {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--f101-line);
}

body.p101-new .f101-income-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

body.p101-new .f101-income-wrap .ghd-e-intro {
  display: none;
}

body.p101-new .f101-income-wrap .ghd-d-layout {
  display: flex !important;
  flex-direction: column;
  gap: 0.75rem;
}

body.p101-new .f101-income-wrap .ghd-d-date-box,
body.p101-new .f101-income-wrap .ghd-d-income-box {
  width: 100%;
}

body.p101-new .f101-income-wrap .f101-family-block + .f101-family-block {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

@media (min-width: 769px) {
  body.p101-new .f101-income-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(16.5rem, 0.92fr);
    gap: 1.15rem 1.5rem;
    align-items: start;
  }

  body.p101-new .f101-income-wrap .ghd-sec--h {
    grid-column: 1;
    grid-row: 1;
  }

  body.p101-new .f101-income-wrap .ghd-sec--d {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 768px) {
  body.p101-new .f101-income-wrap .ghd-sec--h {
    padding-top: 1.1rem;
    border-top: 1px solid var(--f101-line);
  }
}

.f101-acc-body[hidden] {
  display: none !important;
}

.f101-hero {
  margin: 0 0 1rem;
}

.f101-hero-kicker {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--f101-blue);
  letter-spacing: -0.02em;
}

.f101-hero-title {
  margin: 0.15rem 0 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #334155;
}

.f101-foot {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  padding: 0.85rem 1.15rem 1.2rem;
}

.f101-foot-btns {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.f101-step-err {
  margin: 0;
  padding: 0.55rem 0.75rem;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fef2f2;
  color: #991b1b;
  font-size: 0.88rem;
  line-height: 1.4;
}

.f101-step-err[hidden] {
  display: none !important;
}

.f101-back,
.f101-next {
  font: inherit;
  cursor: pointer;
  border-radius: 10px;
}

.f101-back {
  border: 0;
  background: transparent;
  color: #5b6b80;
  font-weight: 650;
  padding: 0.55rem 0.2rem;
}

.f101-back:disabled {
  opacity: 0.35;
  cursor: default;
}

.f101-next {
  margin-inline-start: auto;
  border: 0;
  background: var(--f101-cyan-btn);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.72rem 1.45rem;
  min-width: 8.5rem;
  box-shadow: 0 6px 16px rgba(26, 211, 230, 0.35);
}

.f101-next:hover {
  filter: brightness(1.03);
}

/* ——— Контент шагов ——— */
.f101-acc-body .p101-head-top,
.f101-acc-body .p101-he-official,
.f101-acc-body .p101-head-title,
.f101-acc-body .p101-form-meta,
.f101-acc-body .p101-intro-box,
.f101-acc-body .p101-head-idcol {
  display: none !important;
}

.f101-acc-body .p101-official-head,
.f101-acc-body .p101-head-center,
.f101-acc-body .p101-head-midrow,
.f101-acc-body .p101-head-yearcol {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

.f101-acc-body .p101-head-yearlbl {
  font-size: 0.92rem;
  font-weight: 650;
  color: #334155;
  margin-bottom: 0.45rem;
  text-align: left;
  direction: ltr;
}

.f101-acc-body .years-row {
  justify-content: flex-start;
  gap: 0.45rem;
}

.f101-acc-body .year-slot {
  min-width: 4.4rem;
  border-radius: 10px;
  border: 1px solid #d0d7e2;
  background: #fff;
  color: #1e3a5f;
  font-weight: 700;
  padding: 0.62rem 0.85rem;
}

.f101-acc-body .year-slot.is-selected {
  background: var(--f101-blue);
  border-color: var(--f101-blue);
  color: #fff;
  box-shadow: none;
}

.f101-acc-body .worker-type-wrap {
  margin-top: 1.1rem;
  padding-top: 0.85rem;
  border-top: 1px solid #e2e8f0;
}

.f101-acc-body .worker-type-panel {
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.f101-acc-body .worker-type-q {
  display: block;
  margin-bottom: 0.55rem;
  font-weight: 650;
  color: #334155;
}

.f101-acc-body .worker-type-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.f101-acc-body .worker-opt {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid #d0d7e2;
  border-radius: 999px;
  padding: 0.42rem 1.05rem;
  background: #fff;
  font-weight: 650;
  cursor: pointer;
}

.f101-acc-body .worker-opt:has(input:checked) {
  background: var(--f101-blue);
  border-color: var(--f101-blue);
  color: #fff;
}

.f101-acc-body .worker-opt input {
  accent-color: #fff;
}

.f101-acc-body .worker-opt-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.06rem;
  line-height: 1.15;
}

.f101-acc-body .worker-opt-hint {
  font-size: 0.68rem;
  font-weight: 500;
  opacity: 0.78;
}

.f101-acc-body .worker-opt:has(input:checked) .worker-opt-hint {
  opacity: 0.86;
}

.f101-acc-body details.employer-disclosure {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.f101-acc-body details.employer-disclosure > summary.panel-heading {
  display: none;
}

.f101-acc-body .ghd-sec-title,
.f101-acc-body .panel-heading--static,
.f101-acc-body .p101-p2-head {
  display: none !important;
}

.f101-acc-body .ghd-sec,
.f101-acc-body .employee-panel,
.f101-acc-body .header-wrap,
.f101-acc-body .block-wrap,
.f101-acc-body .employer-block101 {
  max-width: none;
  margin: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  padding: 0;
}

.f101-acc-body .ghd-tip {
  background: #f5c518;
  color: #1e293b;
  border: 0;
  border-radius: 50%;
  width: 1.15rem;
  height: 1.15rem;
  font-weight: 800;
}

.f101-acc-body .pdf-export-bar {
  display: block !important;
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
}

.f101-acc-body .form-service-note {
  display: block !important;
  margin: 0 0 0.85rem;
}

.f101-acc-body .btn-download-101,
.f101-acc-body #btn-download-101-pdf {
  border-radius: 12px;
  background: var(--f101-cyan-btn);
  border: 0;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(26, 211, 230, 0.35);
}

.f101-acc-body #form-validation-banner,
.f101-card > #form-validation-banner {
  display: block;
  margin: 0;
  border-radius: 0;
}

.f101-card > #form-validation-banner[hidden] {
  display: none !important;
}

/* Одна общая рамка на дату: ДД ММ ГГГГ не вылезают из колонки */
body.p101-new .f101-acc-body .digit-strip--dmy {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  flex-wrap: nowrap !important;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.4rem !important;
  padding: 0.3rem 0.4rem 0.38rem !important;
  border: 1px solid #c5ccd6 !important;
  border-radius: 6px;
  background: #fff !important;
  box-shadow: none !important;
}

body.p101-new .f101-acc-body .emp-cell--date {
  min-width: 0 !important;
  max-width: 100%;
  overflow: visible;
}

body.p101-new .f101-acc-body .date-group,
body.p101-new .f101-acc-body .emp-flex-row--identity .date-group {
  flex: 1 1 0 !important;
  min-width: 0 !important;
}

body.p101-new .f101-acc-body .date-group--year,
body.p101-new .f101-acc-body .emp-flex-row--identity .date-group--year {
  flex: 2.05 1 0 !important;
}

body.p101-new .f101-acc-body .date-group-cells,
body.p101-new .f101-acc-body .emp-flex-row--identity .date-group-cells {
  width: 100% !important;
  box-sizing: border-box;
  flex-shrink: 1 !important;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  gap: 0.12rem !important;
}

body.p101-new .f101-acc-body .date-group-cells .emp-digit,
body.p101-new .f101-acc-body .emp-flex-row--identity .date-group-cells .emp-digit,
body.p101-new .f101-acc-body .emp-flex-row--identity .date-group--year .date-group-cells .emp-digit {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0.82rem !important;
  max-width: none !important;
  min-height: 2.35rem;
  font-size: 1.05rem;
  box-sizing: border-box;
}

/* Часть Б: слева направо — удостоверение, фамилия, имя… (не зеркало RTL) */
body.p101-new .f101-acc-body .emp-stack,
body.p101-new .f101-acc-body .emp-stack .emp-flex-row,
body.p101-new .f101-acc-body .emp-stack .emp-flex-row--identity,
body.p101-new .f101-acc-body .emp-stack .emp-flex-row--address,
body.p101-new .f101-acc-body .emp-stack .emp-check-panel,
body.p101-new .f101-acc-body .emp-stack .emp-check-grid {
  direction: ltr !important;
}

/* Город и улица −5%; это место — колонке «№ дома*» (на ПК строка адреса — grid) */
body.p101-new .f101-acc-body .emp-flex-row--address .emp-cell--city {
  flex: 1.425 1 8.55rem !important;
  min-width: 6.175rem !important;
}
body.p101-new .f101-acc-body .emp-flex-row--address .emp-cell--street {
  flex: 1.52 1 9.5rem !important;
  min-width: 8.55rem !important;
}
body.p101-new .f101-acc-body .emp-flex-row--address .emp-cell--num {
  flex: 0 0 6.75rem !important;
  min-width: 6.75rem !important;
  max-width: none !important;
}
body.p101-new .f101-acc-body .emp-flex-row--address .emp-cell--num .employer-label {
  flex-wrap: wrap !important;
  column-gap: 0;
}
body.p101-new .f101-acc-body .emp-flex-row--address .emp-cell--num .lbl-ru {
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
}
body.p101-new .f101-acc-body .emp-flex-row--address .emp-cell--num .req-star {
  color: #dc2626;
  font-weight: 700;
}
body.p101-new .f101-acc-body .emp-flex-row--address .emp-cell--num.field-required > .employer-label.field-required::after,
body.p101-new .f101-acc-body .emp-flex-row--address .emp-cell--num > .employer-label.field-required::after {
  content: none !important;
}
body.p101-new .f101-acc-body .emp-flex-row .emp-cell {
  direction: ltr !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  padding: 0.4rem 0.5rem 0.5rem !important;
}

body.p101-new .f101-acc-body .emp-flex-row .employer-label,
body.p101-new .f101-acc-body .emp-flex-row .emp-cell > .employer-label,
body.p101-new .f101-acc-body .emp-flex-row .form-grid > .emp-cell > .employer-label,
body.p101-new .f101-acc-body .emp-flex-row .employer-label-row .employer-label {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  direction: ltr !important;
  text-align: left !important;
  align-items: baseline !important;
  justify-content: flex-start !important;
  align-self: stretch !important;
  min-height: 0 !important;
  column-gap: 0;
}

body.p101-new .f101-acc-body .emp-flex-row .employer-label .he {
  display: block;
  flex: 1 0 100%;
  order: 2;
  text-align: left;
}

/* Звёздочка сразу после названия: «Дата рождения *», иврит — строкой ниже */
body.p101-new .f101-acc-body .employer-label.field-required::after,
body.p101-new .f101-acc-body .field-required > .employer-label::after,
body.p101-new .f101-acc-body .ghd-field-label.field-required::after,
body.p101-new .f101-acc-body .field-required > .ghd-field-label::after,
body.p101-new .f101-acc-body .field-required.emp-check-group > .emp-check-group-title::after {
  content: " *" !important;
  color: #dc2626 !important;
  font-weight: 700 !important;
  order: 1;
  flex: 0 0 auto;
  white-space: nowrap;
  align-self: baseline;
}

/* Удостоверение: «Номер удостоверения/паспорта*» — без отдельной звёздочки, место фамилии */
body.p101-new .f101-acc-body .emp-flex-row--identity .emp-cell--id > .employer-label {
  white-space: nowrap;
  font-size: 0.82rem;
  line-height: 1.25;
}
body.p101-new .f101-acc-body .emp-flex-row--identity .emp-cell--id > .employer-label .he {
  white-space: normal;
  font-size: 0.78rem;
}
body.p101-new .f101-acc-body .emp-flex-row--identity .emp-cell--id > .employer-label .lbl-ru {
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
}
body.p101-new .f101-acc-body .emp-flex-row--identity .emp-cell--id > .employer-label .req-star {
  color: #dc2626;
  font-weight: 700;
}
body.p101-new .f101-acc-body .emp-flex-row--identity .emp-cell--id.field-required > .employer-label.field-required::after,
body.p101-new .f101-acc-body .emp-flex-row--identity .emp-cell--id > .employer-label.field-required::after {
  content: none !important;
}

body.p101-new .f101-acc-body .emp-check-group-title {
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
}

body.p101-new .f101-acc-body .emp-check-group-title .emp-check-title-he,
body.p101-new .f101-acc-body .emp-check-group-title .he {
  flex: 1 0 100%;
  order: 2;
}

body.p101-new .f101-acc-body .ghd-field-label {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  direction: ltr;
  text-align: left !important;
}

body.p101-new .f101-acc-body .ghd-field-label .he {
  flex: 1 0 100%;
  order: 2;
}

body.p101-new .f101-acc-body .emp-flex-row .employer-label-row {
  direction: ltr !important;
  display: flex !important;
  grid-template-columns: none !important;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.35rem;
  width: 100%;
  min-height: 0 !important;
}

body.p101-new .f101-acc-body .emp-flex-row .employer-label-row .employer-label {
  flex: 1 1 auto;
  min-width: 0;
  order: 1;
}

body.p101-new .f101-acc-body .emp-flex-row .employer-label-row .he-kb-trigger {
  order: 2;
  margin-inline-start: auto;
  flex: 0 0 auto;
}

body.p101-new .f101-acc-body .employer-input,
body.p101-new .f101-acc-body .emp-health-select,
body.p101-new .f101-acc-body .child-name-input {
  direction: ltr !important;
  unicode-bidi: plaintext;
  text-align: start !important;
  height: auto !important;
  min-height: 2.75rem;
  line-height: 1.35;
  padding: 0.55rem 0.75rem !important;
  overflow: visible;
}

body.p101-new .f101-acc-body .employer-input::placeholder,
body.p101-new .f101-acc-body .emp-health-select::placeholder,
body.p101-new .f101-acc-body .child-name-input::placeholder {
  direction: ltr;
  text-align: left;
  unicode-bidi: isolate;
  opacity: 1;
  color: #7b8794;
}
body.p101-new .f101-acc-body .emp-email-attached {
  direction: ltr !important;
  text-align: left;
  background: #fff;
  border: 1px solid #c5ccd6;
  border-radius: 6px;
  padding: 0.4rem 0.5rem 0.55rem;
  margin-top: 0.65rem;
}

body.p101-new .f101-acc-body .emp-email-attached .employer-label {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  direction: ltr !important;
  text-align: left !important;
  align-items: baseline !important;
  min-height: 0 !important;
  margin-bottom: 0.4rem;
}

body.p101-new .f101-acc-body .emp-email-attached .employer-label .he {
  display: block;
  flex: 1 0 100%;
  order: 2;
  text-align: left;
}

body.p101-new .f101-acc-body .emp-email-attached .employer-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: #fff !important;
  border: 2px solid #64748b !important;
  border-radius: 8px !important;
  min-height: 2.75rem;
  height: auto;
  padding: 0.55rem 0.75rem !important;
  font-size: 1rem;
  color: #0f172a;
  text-align: left !important;
  direction: ltr;
}

body.p101-new .f101-acc-body .emp-email-attached .employer-input::placeholder {
  color: #94a3b8;
  text-align: left;
}

body.p101-new .f101-acc-body .emp-email-attached .employer-input:hover:not(:focus) {
  border-color: #64748b !important;
}

body.p101-new .f101-acc-body .emp-email-attached .employer-input:focus {
  outline: none;
  border-color: #1a56db !important;
  box-shadow: 0 0 0 2px rgba(26, 86, 219, 0.18);
  background: #fff !important;
}

body.p101-new[data-worker-type="foreign"] #emp-id-cell,
body.p101-new:not([data-worker-type="foreign"]) #emp-passport-cell,
body.p101-new #emp-id-cell[hidden],
body.p101-new #emp-passport-cell[hidden],
body.p101-new[data-worker-type="foreign"] #p2-id-strip,
body.p101-new:not([data-worker-type="foreign"]) .p101-p2-passport {
  display: none !important;
}

@media (min-width: 769px) {
  body.p101-new .f101-acc-body .emp-stack > .emp-flex-row--identity,
  body.p101-new .f101-acc-body .emp-stack > .emp-flex-row--address {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
    --emp-control-h: 2.95rem;
    grid-template-rows: auto auto;
    align-items: start;
  }

  body.p101-new .f101-acc-body .emp-stack > .emp-flex-row--identity {
    grid-template-rows: auto auto auto;
  }

  .f101-acc-body .emp-flex-row--identity,
  body.p101-new .f101-acc-body .emp-stack .emp-flex-row--identity {
    direction: ltr !important;
    grid-template-columns:
      minmax(14.1rem, 1.25fr)
      minmax(8.2rem, 1fr)
      minmax(7.35rem, 0.85fr)
      minmax(12.25rem, 1.35fr)
      minmax(12.25rem, 1.35fr) !important;
    column-gap: 0;
  }

  body.p101-new .f101-acc-body .emp-flex-row--identity.emp-flex-row--spouse {
    display: grid !important;
    direction: ltr !important;
    grid-template-rows: auto auto auto;
    grid-template-columns:
      minmax(7.4rem, 0.72fr)
      minmax(11.2rem, 1.05fr)
      minmax(8.2rem, 1fr)
      minmax(7.35rem, 0.85fr)
      minmax(12.25rem, 1.2fr)
      minmax(12.25rem, 1.2fr) !important;
  }

  body.p101-new[data-worker-type="foreign"] .f101-acc-body .emp-stack .emp-flex-row--identity {
    grid-template-columns:
      minmax(14.1rem, 1.2fr)
      minmax(7.95rem, 0.9fr)
      minmax(7.1rem, 0.77fr)
      minmax(11.75rem, 1.15fr)
      minmax(13.5rem, 1.35fr) !important;
  }

  body.p101-new[data-worker-type="foreign"] .f101-acc-body .emp-flex-row--identity .emp-aliyah-ru--foreign {
    white-space: nowrap;
  }

  body.p101-new .f101-acc-body .emp-flex-row--address {
    display: grid !important;
    grid-template-columns:
      minmax(0, 1.425fr)
      minmax(0, 1.377fr)
      minmax(6.6rem, 6.9rem)
      minmax(6.5rem, 7.15rem)
      minmax(0, 0.95fr)
      minmax(0, 0.95fr) !important;
  }

  body.p101-new .f101-acc-body .emp-flex-row--identity > .emp-cell,
  body.p101-new .f101-acc-body .emp-flex-row--address > .emp-cell {
    display: grid !important;
    grid-template-rows: subgrid;
    grid-row: 1 / span 2;
    align-items: stretch !important;
    min-width: 0 !important;
  }

  body.p101-new .f101-acc-body .emp-flex-row--identity > .emp-cell[hidden],
  body.p101-new[data-worker-type="foreign"] #emp-id-cell,
  body.p101-new:not([data-worker-type="foreign"]) #emp-passport-cell,
  body.p101-new[data-worker-type="foreign"] #p2-id-strip,
  body.p101-new:not([data-worker-type="foreign"]) .p101-p2-passport {
    display: none !important;
  }

  body.p101-new .f101-acc-body .emp-flex-row--identity > .emp-cell {
    grid-row: 1 / span 3;
    overflow: visible;
  }

  body.p101-new .f101-acc-body .emp-flex-row--identity > .emp-cell > .employer-label,
  body.p101-new .f101-acc-body .emp-flex-row--identity > .emp-cell > .employer-label-row {
    grid-row: 1;
  }

  body.p101-new .f101-acc-body .emp-flex-row--identity > .emp-cell > .employer-input,
  body.p101-new .f101-acc-body .emp-flex-row--identity > .emp-cell > .digit-strip,
  body.p101-new .f101-acc-body .emp-flex-row--identity > .emp-cell > .f101-date-with-pick,
  body.p101-new .f101-acc-body .emp-flex-row--identity > .emp-cell > .spouse-type-choices {
    grid-row: 2;
  }

  body.p101-new .f101-acc-body .emp-flex-row--identity > .emp-cell > .tz-check-msg,
  body.p101-new .f101-acc-body .emp-flex-row--identity > .emp-cell > .date-check-msg {
    grid-row: 3;
    align-self: start;
    margin: 0.35rem 0 0;
    max-width: 100%;
    font-size: 0.88rem;
    line-height: 1.35;
  }

  body.p101-new .f101-acc-body .emp-flex-row--address > .emp-cell--num {
    min-width: 6.6rem !important;
    max-width: 6.9rem !important;
  }

  .f101-acc-body .emp-flex-row--identity .emp-cell--id {
    min-width: 0 !important;
    max-width: none !important;
    overflow: visible;
  }

  .f101-acc-body .emp-flex-row--identity .emp-cell--id .digit-strip {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    gap: 0.1rem;
    padding: 0.22rem 0.2rem;
    justify-content: space-between;
  }

  .f101-acc-body .emp-flex-row--identity .emp-cell--id .emp-digit {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: none;
  }

  body.p101-new .f101-acc-body .emp-flex-row--identity > .emp-cell > .employer-input,
  body.p101-new .f101-acc-body .emp-flex-row--identity > .emp-cell > .digit-strip,
  body.p101-new .f101-acc-body .emp-flex-row--identity > .emp-cell > .f101-date-with-pick,
  body.p101-new .f101-acc-body .emp-flex-row--address > .emp-cell > .employer-input,
  body.p101-new .f101-acc-body .emp-flex-row--address > .emp-cell > .digit-strip,
  body.p101-new .f101-acc-body .emp-flex-row--address > .emp-cell > .il-ac-wrap {
    height: var(--emp-control-h) !important;
    min-height: var(--emp-control-h) !important;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 0;
  }

  body.p101-new .f101-acc-body .emp-flex-row--address > .emp-cell > .il-ac-wrap .employer-input {
    height: 100% !important;
    min-height: 100% !important;
  }

  body.p101-new .f101-acc-body .emp-flex-row--identity .f101-date-with-pick .digit-strip--dmy,
  body.p101-new .f101-acc-body .emp-flex-row--identity .f101-date-pick-btn {
    min-height: 0 !important;
    height: 100% !important;
  }

  .f101-acc-body .employer-input,
  .f101-acc-body .emp-health-select {
    min-height: 2.6rem;
  }
}

body.p101-new .f101-date-with-pick {
  display: flex;
  align-items: stretch;
  gap: 0.28rem;
  width: 100%;
  min-width: 0;
}

body.p101-new .f101-date-with-pick .digit-strip--dmy {
  flex: 1 1 0;
  min-width: 0;
}

body.p101-new .f101-date-pick-btn {
  position: relative;
  flex: 0 0 2.05rem;
  width: 2.05rem;
  align-self: stretch;
  min-height: 2.55rem;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c5ccd6;
  border-radius: 6px;
  background: #f8fafc;
  color: #1d4f9a;
  cursor: pointer;
  user-select: none;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  line-height: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

body.p101-new .f101-date-pick-btn:hover,
body.p101-new .f101-date-pick-btn:focus-visible {
  background: #eff6ff;
  border-color: #1a56db;
  color: #163a73;
}

body.p101-new .f101-date-pick-btn svg {
  width: 1.15rem;
  height: 1.15rem;
  pointer-events: none;
}

body.p101-new .f101-date-pick-input {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.01;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-size: 16px;
  color: transparent;
  background: transparent;
  pointer-events: none;
}

body.p101-new .f101-date-pick-input.is-direct {
  pointer-events: auto;
  z-index: 2;
}

@media (pointer: coarse) {
  body.p101-new .f101-date-pick-btn,
  body.p101-new .f101-acc-body .emp-flex-row--identity .f101-date-pick-btn,
  body.p101-new .child-td-dob .f101-date-pick-btn,
  body.p101-new .f101-date-with-pick:has(.digit-strip--xs) .f101-date-pick-btn,
  body.p101-new .ghd-z-table .f101-date-pick-btn {
    flex: 0 0 2.75rem;
    width: 2.75rem;
    min-width: 2.75rem;
    min-height: 2.75rem !important;
  }
}

body.p101-new .f101-chet-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.55rem 1rem;
  margin: 0 0 0.95rem;
}

body.p101-new .f101-chet-head .f101-hint {
  flex: 1 1 8rem;
  margin: 0;
  padding-top: 0.35rem;
}

body.p101-new .f101-p2-id-chip,
body.p101-new .f101-acc[data-id="chet"] .p101-p2-id {
  direction: ltr;
  flex: 0 0 auto;
  margin: 0 0 0 auto;
  width: max-content;
  max-width: min(100%, 22.5rem);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.32rem;
  padding: 0.45rem 0.55rem 0.5rem;
  border: 1px solid #d7e2ee;
  border-radius: 12px;
  background: #f8fafc;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset;
}

body.p101-new .f101-p2-id-chip .employer-label {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.08rem;
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.25;
  color: #64748b;
  text-align: right;
}

body.p101-new .f101-p2-id-chip .p101-p2-id-ru {
  order: -1;
  display: block;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e3a5f;
}

body.p101-new[data-worker-type="foreign"] .p101-p2-id-he--citizen,
body.p101-new[data-worker-type="foreign"] .p101-p2-id-ru--citizen,
body.p101-new:not([data-worker-type="foreign"]) .p101-p2-id-he--foreign,
body.p101-new:not([data-worker-type="foreign"]) .p101-p2-id-ru--foreign {
  display: none !important;
}

body.p101-new .f101-p2-id-chip .employer-label .he {
  font-size: 0.68rem;
  font-weight: 500;
  color: #94a3b8;
}

body.p101-new .f101-p2-id-chip .digit-strip,
body.p101-new .f101-p2-id-chip .digit-strip:hover {
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  gap: 0.16rem;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.p101-new .f101-p2-id-chip .digit-strip .emp-digit {
  flex: 1 1 0;
  width: 1.45rem;
  max-width: 1.55rem;
  min-width: 1.2rem;
  min-height: 1.95rem;
  padding: 0.1rem 0;
  font-size: 0.92rem;
}

body.p101-new .f101-p2-id-chip .p101-p2-passport {
  width: 100%;
  min-height: 2.05rem !important;
  height: 2.05rem !important;
  box-sizing: border-box;
  margin: 0;
  padding: 0.25rem 0.55rem !important;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: left !important;
  direction: ltr;
  background: #fff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
}

body.p101-new .f101-p2-id-chip .tz-check-msg {
  margin: 0;
  text-align: right;
}

body.p101-new .f101-acc-body .spouse-type-choices {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.18rem;
  min-height: var(--emp-control-h, 2.95rem);
}

body.p101-new .f101-acc-body .spouse-type-opt {
  font-size: 0.78rem;
}

body.p101-new .emp-flex-row--spouse[data-spouse-type="foreign"] .spouse-id-lbl--citizen,
body.p101-new .emp-flex-row--spouse:not([data-spouse-type="foreign"]) .spouse-id-lbl--foreign {
  display: none !important;
}

body.p101-new .f101-chet-extra {
  margin-top: 0.55rem;
}

body.p101-new .f101-chet-extra[hidden] {
  display: none !important;
}

body.p101-new .p101-num-item[hidden],
body.p101-new .p101-sub-row[hidden],
body.p101-new .p101-chet-subrows[hidden],
body.p101-new .emp-kibbutz-extra[hidden] {
  display: none !important;
}

body.p101-new .f101-acc-body .emp-kibbutz-extra {
  margin-top: 0.45rem;
  width: 100%;
  box-sizing: border-box;
}

body.p101-new .p101-nested-item {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
}

body.p101-new .p101-num--sub {
  width: auto;
  min-width: 1.7rem;
  height: auto;
  min-height: 1.5rem;
  padding: 0.12rem 0.28rem;
  font-size: 0.78rem;
  background: #e2e8f0;
}

body.p101-new .child-table {
  table-layout: fixed;
}

body.p101-new .child-table th,
body.p101-new .child-table td {
  vertical-align: middle;
}

body.p101-new .child-table col.child-col-name {
  width: 24%;
}

body.p101-new .child-table col.child-col-id {
  width: 32%;
}

body.p101-new .child-table col.child-col-dob {
  width: 32%;
}

body.p101-new .child-name-cell-wrap,
body.p101-new .child-td-id,
body.p101-new .child-td-dob {
  overflow: visible;
}

body.p101-new .child-th-name .child-th-stack--name {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
}

body.p101-new .child-th-name .child-th-labels {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  min-width: 0;
}

body.p101-new .child-th-name .child-th-he {
  align-self: flex-start;
  text-align: left;
  direction: ltr;
  padding-inline-start: 0;
  margin-inline-start: 0;
  border-inline-start: none;
}

body.p101-new .child-th-name .he-kb-trigger {
  flex: 0 0 auto;
  width: auto;
  min-height: 2.35rem;
  font-size: 0.58rem;
  line-height: 1.15;
  padding: 0.18rem 0.32rem;
}

body.p101-new .child-table .child-name-cell-wrap {
  text-align: left;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.28rem;
}

body.p101-new .child-table .child-name-tools {
  margin: 0;
  flex: 0 0 auto;
  order: 2;
}

@media (min-width: 769px) {
  body.p101-new .child-table .child-name-tools {
    display: none !important;
  }
}

body.p101-new .child-table .child-name-cell-wrap .he-kb-trigger {
  font-size: 0.58rem;
  line-height: 1.15;
  padding: 0.18rem 0.32rem;
  min-height: 2.55rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

body.p101-new .child-table .child-name-input.employer-input {
  order: 1;
  display: block;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  min-height: 2.55rem;
  height: 2.55rem;
  margin: 0;
  padding: 0.35rem 0.5rem;
  background: #fff !important;
  border: 1px solid #c5ccd6 !important;
  border-radius: 6px !important;
  box-sizing: border-box;
  text-align: right;
}

body.p101-new .child-table .child-td-id .digit-strip {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  min-height: 2.55rem;
  height: 2.55rem;
  margin: 0;
  padding: 0.22rem 0.28rem;
  gap: 0.14rem;
  background: #fff;
  border: 1px solid #c5ccd6;
  border-radius: 6px;
  box-sizing: border-box;
}

body.p101-new .child-table .child-td-id .digit-strip .emp-digit {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 0 !important;
  height: auto;
  margin: 0;
  padding: 0.1rem 0;
  border: 1px solid #cbd5e1 !important;
  border-radius: 4px !important;
  background: #fff !important;
  box-sizing: border-box;
}

body.p101-new .child-td-dob .f101-date-with-pick {
  align-items: stretch;
  min-height: 2.55rem;
}

body.p101-new .child-td-dob .digit-strip--dmy {
  align-items: stretch !important;
  padding: 0.2rem 0.28rem !important;
  min-height: 2.55rem;
  height: 2.55rem !important;
}

body.p101-new .child-td-dob .date-compact-cells {
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  gap: 0.12rem;
  width: 100%;
  background: transparent !important;
}

body.p101-new .child-td-dob .date-group,
body.p101-new .child-td-dob .date-group--year {
  justify-content: center;
}

body.p101-new .child-td-dob .date-group-cells {
  min-height: 2.1rem;
}

body.p101-new .child-td-dob .date-group-cells .emp-digit {
  min-height: 2.05rem !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 4px !important;
  background: #fff !important;
}

body.p101-new .child-td-dob .f101-date-pick-btn,
body.p101-new .f101-date-with-pick:has(.digit-strip--xs) .f101-date-pick-btn {
  min-height: 2.55rem;
  flex-basis: 2.05rem;
  width: 2.05rem;
}

body.p101-new .child-table tbody td.child-td-dob::after {
  content: none !important;
  display: none !important;
}

@media (max-width: 960px) {
  .f101-page {
    grid-template-columns: minmax(0, 1fr);
    max-width: 1100px;
  }

  .f101-docpeek-col {
    display: none;
  }

  .f101-foot {
    padding: 0.75rem 0.7rem 1rem;
    max-width: 100%;
    box-sizing: border-box;
  }

  .f101-foot-btns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 0.35rem;
    width: 100%;
    min-width: 0;
  }

  .f101-back {
    justify-self: start;
    min-width: 0;
    padding: 0.5rem 0.1rem;
    font-size: 0.92rem;
    white-space: nowrap;
  }

  .f101-docpeek--foot {
    display: flex;
    justify-self: center;
    min-width: 0;
    max-width: 100%;
    min-height: 2.55rem;
    padding: 0.32rem 0.5rem;
    gap: 0.28rem;
  }

  .f101-docpeek--foot:hover,
  .f101-docpeek--foot:focus-visible {
    transform: none;
  }

  .f101-docpeek--foot .f101-docpeek-text {
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    max-width: 5.6rem;
    white-space: normal;
  }

  .f101-next {
    justify-self: end;
    margin-inline-start: 0;
    min-width: 0;
    padding: 0.55rem 0.7rem;
    font-size: 0.92rem;
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  .f101-page {
    padding: 0.65rem 0.5rem 2rem;
  }
  .f101-foot {
    padding: 0.65rem 0.7rem 0.9rem;
  }
  .f101-foot-btns {
    gap: 0.28rem;
  }
  .f101-docpeek--foot .f101-docpeek-sheet {
    width: 1.2rem;
    height: 1.5rem;
  }
  .f101-step-label {
    font-size: 0.58rem;
    max-width: 4.4rem;
  }
  .f101-stepper li.f101-step-goal .f101-step-label {
    max-width: 5.2rem;
    font-size: 0.6rem;
  }
  .f101-step-num {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.72rem;
  }
  .f101-step-fill::after {
    inset: 2px;
  }
  .f101-stepper::before {
    top: 0.95rem;
  }
  .f101-acc-body {
    padding: 0.95rem 0.8rem 0.25rem;
  }

  body.p101-new .f101-chet-head {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  body.p101-new .f101-chet-head .f101-hint {
    padding-top: 0;
  }

  body.p101-new .f101-p2-id-chip,
  body.p101-new .f101-acc[data-id="chet"] .p101-p2-id {
    width: 100%;
    max-width: none;
    margin-left: 0;
  }

  body.p101-new .f101-p2-id-chip .digit-strip .emp-digit {
    max-width: none;
  }
  .f101-docview {
    padding: 0;
  }

  .f101-docview-panel {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }

  .f101-docview-head h2 {
    font-size: 1.02rem;
  }

  .f101-docview-foot {
    flex-wrap: wrap;
  }
  .f101-stepper-wrap {
    padding-top: 3.25rem;
  }
  .f101-actor {
    width: 6.7rem;
    height: 4.55rem;
    margin-left: -2.8rem;
  }
  .f101-acc--employer .f101-acc-bar {
    gap: 0.5rem;
    padding: 0.65rem 0.8rem;
  }
  .f101-acc--employer .f101-acc-title {
  font-size: 0.95rem;
  }
  .f101-acc--employer .f101-acc-sub {
    font-size: 0.7rem;
  }
}

@media (max-width: 380px) {
  .f101-docpeek--foot .f101-docpeek-sheet {
    display: none;
  }
  .f101-docpeek--foot .f101-docpeek-text {
    max-width: 4.8rem;
    font-size: 0.68rem;
  }
  .f101-back,
  .f101-next {
    font-size: 0.84rem;
  }
  .f101-next {
    padding: 0.48rem 0.5rem;
  }
}

@media (max-width: 720px) {
  body.p101-new .f101-acc-body .employer-sec-bilingual {
    display: none !important;
  }

  body.p101-new .f101-acc-body .employer-block101 {
    overflow: visible !important;
    padding: 0 !important;
  }

  body.p101-new .f101-acc-body .employer-row,
  body.p101-new .f101-acc-body .employer-row.form-grid {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    overflow: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    direction: ltr !important;
  }

  body.p101-new .f101-acc-body .employer-cell,
  body.p101-new .f101-acc-body .employer-row > .employer-cell:first-child,
  body.p101-new .f101-acc-body .employer-cell--tik {
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    border-inline-end: 0 !important;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.65rem 0.1rem;
  }

  body.p101-new .f101-acc-body .employer-cell:last-child {
    border-bottom: 0;
  }

  body.p101-new .f101-acc-body .employer-label,
  body.p101-new .f101-acc-body .form-grid .employer-label,
  body.p101-new .f101-acc-body .employer-cell > .employer-label {
    text-align: left !important;
    align-items: flex-start !important;
    min-height: 0 !important;
  }

  body.p101-new .f101-acc-body .employer-label-row {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
    direction: ltr;
    grid-template-columns: none;
    min-height: 0;
  }

  body.p101-new .f101-acc-body .employer-label-row .he-kb-trigger {
    order: 2;
    width: auto;
    min-width: 4.6rem;
    padding: 0.25rem 0.4rem;
  }

  body.p101-new .f101-acc-body .tik-row {
    width: 100%;
    height: auto !important;
    min-height: 2.75rem;
  }

  body.p101-new .f101-acc-body .tik-digit {
    flex: 1 1 0;
    max-width: none;
    min-width: 0;
  }

  body.p101-new .f101-acc-body .employer-invite-toggle {
    width: 100%;
    white-space: normal;
    text-align: left;
    line-height: 1.35;
  }

  body.p101-new .f101-acc-body .employer-invite-row {
    flex-direction: column;
    align-items: stretch;
  }

  body.p101-new .f101-acc-body .employer-invite-email,
  body.p101-new .f101-acc-body .btn-employer-invite-create {
    width: 100%;
    flex: none;
  }
}

body.p101-new .ghd-z-wrap {
  overflow: visible;
  max-width: 100%;
}

body.p101-new .ghd-z-table {
  display: block;
  direction: ltr;
  width: 100%;
  max-width: 100%;
  font-size: 0.82rem;
  border: 0;
}

body.p101-new .ghd-z-table thead {
  display: none;
}

body.p101-new .ghd-z-table tbody,
body.p101-new .ghd-z-table tbody tr {
  display: block;
}

body.p101-new .ghd-z-table tbody tr {
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.85rem 0.85rem;
  border: 1px solid #d5dee8;
  border-radius: 12px;
  background: #f8fafc;
}

body.p101-new .ghd-z-table th,
body.p101-new .ghd-z-table td {
  display: block;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none;
  border: 0;
  padding: 0.45rem 0;
  vertical-align: top;
  overflow: visible;
}

body.p101-new .ghd-z-table tbody td::before {
  display: block;
  font-weight: 700;
  font-size: 0.78rem;
  color: #1e3a5f;
  margin-bottom: 0.28rem;
}

body.p101-new #ghd-chg-rows td.ghd-z-col-date:nth-child(1)::before {
  content: "Дата изменения";
}

body.p101-new #ghd-chg-rows td.ghd-z-col-detail::before {
  content: "Суть изменения";
}

body.p101-new #ghd-chg-rows .f101-tr-hint {
  display: block;
  margin: 0 0 0.2rem;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.35;
  color: #334155;
}

body.p101-new #ghd-chg-rows td.ghd-z-col-date:nth-child(3)::before {
  content: "Дата уведомления";
}

body.p101-new #ghd-chg-rows td.ghd-z-col-sig::before {
  content: "Подпись работника";
}

body.p101-new #p2-coord-tbody tr {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.65rem;
}

body.p101-new #p2-coord-tbody td {
  padding: 0;
}

body.p101-new #p2-coord-tbody td.p101-coord-col-name::before {
  content: "Имя работодателя / שם";
}

body.p101-new #p2-coord-tbody td.p101-coord-col-addr::before {
  content: "Адрес / כתובת";
}

body.p101-new #p2-coord-tbody td.p101-coord-col-file::before {
  content: "Номер налогового дела / תיק ניכויים";
}

body.p101-new #p2-coord-tbody td.p101-coord-col-type::before {
  content: "Вид дохода / סוג ההכנסה";
}

body.p101-new #p2-coord-tbody td.p101-coord-col-gross::before {
  content: "Месячный доход / הכנסה חודשית";
}

body.p101-new #p2-coord-tbody td.p101-coord-col-tax::before {
  content: "Удержанный налог / המס שנוכה";
}

body.p101-new #p2-coord-tbody .employer-input {
  display: block;
  width: 100%;
  min-height: 2.5rem;
  font-size: 1rem;
  text-align: start;
  background: #fff !important;
  border: 1px solid #c5ccd6 !important;
  border-radius: 6px;
  padding: 0.45rem 0.6rem;
  box-sizing: border-box;
}

body.p101-new #p2-coord-tbody .p101-coord-type-cell {
  font-size: 0.95rem;
  gap: 0.35rem;
}

body.p101-new #p2-coord-tbody .p101-coord-type-cell .ghd-cb-row {
  font-size: 0.95rem;
}

body.p101-new #p2-coord-tbody .p101-coord-other-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  margin-top: 0.2rem;
}

body.p101-new #p2-coord-tbody .p101-file-strip-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

body.p101-new #p2-coord-tbody .p101-file-strip-note {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

body.p101-new #p2-coord-tbody .p101-file-strip-row .digit-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.18rem;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 0.18rem 0.22rem;
  min-height: 2.45rem;
  height: auto !important;
}

body.p101-new #p2-coord-tbody .p101-file-strip-row .emp-digit {
  flex: 0 0 1.55rem;
  width: 1.55rem;
  min-width: 1.55rem;
  max-width: 1.55rem;
  min-height: 2.05rem;
  font-size: 1rem;
}

@media (min-width: 720px) {
  body.p101-new #p2-coord-tbody tr {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  body.p101-new #p2-coord-tbody td.p101-coord-col-name,
  body.p101-new #p2-coord-tbody td.p101-coord-col-gross {
    grid-column: 1;
  }

  body.p101-new #p2-coord-tbody td.p101-coord-col-addr,
  body.p101-new #p2-coord-tbody td.p101-coord-col-tax {
    grid-column: 2;
  }

  body.p101-new #p2-coord-tbody td.p101-coord-col-file,
  body.p101-new #p2-coord-tbody td.p101-coord-col-type {
    grid-column: 1 / -1;
  }
}

body.p101-new #ghd-chg-rows tr {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
  column-gap: 0.75rem;
  row-gap: 0.85rem;
  align-items: start;
}

body.p101-new #ghd-chg-rows td.ghd-z-col-detail {
  grid-column: 1 / -1;
  grid-row: 1;
  width: auto !important;
}

body.p101-new #ghd-chg-rows td.ghd-z-col-date:nth-child(1) {
  grid-column: 1;
  grid-row: 2;
  width: auto !important;
}

body.p101-new #ghd-chg-rows td.ghd-z-col-date:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
  width: auto !important;
}

body.p101-new #ghd-chg-rows td.ghd-z-col-sig {
  grid-column: 3;
  grid-row: 2;
  width: auto !important;
}

body.p101-new #ghd-chg-rows .f101-date-with-pick {
  width: 100%;
  max-width: 100%;
}

body.p101-new #ghd-chg-rows .digit-strip--dmy {
  width: 100% !important;
  max-width: none !important;
}

body.p101-new .ghd-z-table .date-group-label,
body.p101-new .ghd-z-table .date-sep {
  display: none !important;
}

body.p101-new .ghd-z-table .digit-strip--dmy {
  width: auto !important;
  max-width: 22rem !important;
  gap: 0.18rem !important;
  padding: 0.18rem 0.28rem !important;
  align-items: stretch !important;
  min-height: 2.45rem;
  height: 2.45rem !important;
}

body.p101-new .ghd-z-table .date-group,
body.p101-new .ghd-z-table .date-group--year {
  flex: 0 0 auto !important;
  min-width: 0 !important;
}

body.p101-new .ghd-z-table .date-group--year {
  flex: 0 0 auto !important;
}

body.p101-new .ghd-z-table .date-group-cells {
  min-height: 2.05rem;
  width: auto !important;
}

body.p101-new .ghd-z-table .date-group-cells .emp-digit {
  flex: 0 0 1.55rem !important;
  width: 1.55rem !important;
  min-width: 1.55rem !important;
  max-width: 1.55rem !important;
  min-height: 2.05rem !important;
}

body.p101-new .ghd-z-table .f101-date-with-pick {
  width: max-content;
  max-width: 100%;
  min-width: 0;
  gap: 0.28rem;
}

body.p101-new .ghd-z-table .f101-date-pick-btn {
  flex: 0 0 1.85rem;
  width: 1.85rem;
  min-height: 2.35rem;
}

body.p101-new .ghd-z-detail-field {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0.28rem;
}

body.p101-new .ghd-z-detail-field .employer-label-row {
  display: contents;
}

body.p101-new .ghd-z-detail-field .employer-label {
  display: none;
}

body.p101-new .ghd-z-detail-field .he-kb-trigger {
  order: 2;
  flex: 0 0 auto;
  font-size: 0.58rem;
  line-height: 1.15;
  padding: 0.18rem 0.32rem;
  min-height: 2.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

body.p101-new .ghd-z-detail-field .employer-input {
  order: 1;
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  min-height: 2.45rem;
  font-size: 0.9rem;
  background: #fff !important;
  border: 1px solid #c5ccd6 !important;
  border-radius: 6px;
  box-sizing: border-box;
}

body.p101-new .ghd-z-table .ghd-sig-wrap {
  min-width: 0;
}

body.p101-new .ghd-z-table .ghd-sig-canvas {
  width: 100% !important;
  max-width: 100% !important;
  height: 3.4rem !important;
  box-sizing: border-box;
}

body.p101-new #ghd-chg-rows .ghd-sig-canvas {
  height: 3.05rem !important;
}

body.p101-new .p101-decl-grid {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

body.p101-new .p101-decl-grid > * {
  min-width: 0;
  max-width: 100%;
}

body.p101-new #p2-decl-sig-mount,
body.p101-new .p101-decl-grid .ghd-sig-wrap,
body.p101-new .p101-decl-grid .ghd-sig-canvas {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

body.p101-new .f101-acc[data-id="yod"] .f101-acc-body,
body.p101-new .ghd-sec--p2yod {
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 960px) {
  body.p101-new .p101-decl-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.p101-new .f101-acc[data-id="yod"] .f101-acc-body {
    padding-inline: 0.85rem;
  }

  body.p101-new .p101-decl-grid .employer-label {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  body.p101-new .p101-decl-grid .digit-strip--dmy {
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 720px) {
  body.p101-new .ghd-z-wrap {
    overflow-x: visible;
  }

  body.p101-new #ghd-chg-rows tr {
    grid-template-columns: 1fr 1fr;
  }

  body.p101-new #ghd-chg-rows td.ghd-z-col-detail {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  body.p101-new #ghd-chg-rows td.ghd-z-col-date:nth-child(1) {
    grid-column: 1;
    grid-row: 2;
  }

  body.p101-new #ghd-chg-rows td.ghd-z-col-date:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }

  body.p101-new #ghd-chg-rows td.ghd-z-col-sig {
    grid-column: 1 / -1;
    grid-row: 3;
  }
}

@media (max-width: 640px) {
  body.p101-new .ghd-z-wrap {
    overflow-x: visible;
  }

  body.p101-new #ghd-chg-rows tr {
    grid-template-columns: 1fr;
  }

  body.p101-new #ghd-chg-rows td.ghd-z-col-detail {
    grid-row: 1;
  }

  body.p101-new #ghd-chg-rows td.ghd-z-col-date:nth-child(1) {
    grid-column: 1;
    grid-row: 2;
    width: 100% !important;
  }

  body.p101-new #ghd-chg-rows td.ghd-z-col-date:nth-child(3) {
    grid-column: 1;
    grid-row: 3;
    width: 100% !important;
  }

  body.p101-new #ghd-chg-rows td.ghd-z-col-sig {
    grid-column: 1;
    grid-row: 4;
  }

  body.p101-new .ghd-z-detail-field {
    flex-wrap: wrap;
  }

  body.p101-new .ghd-z-detail-field .he-kb-trigger {
    min-height: 2.5rem;
  }

  body.p101-new .ghd-z-detail-field .employer-input {
    flex: 1 1 8rem;
  }
}

body.p101-new .f101-translate {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  width: 100%;
  min-width: 0;
}

body.p101-new .f101-tr-hint {
  order: -1;
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #475569;
}

body.p101-new .f101-translate > .f101-tr-src {
  order: 0;
}

body.p101-new .f101-translate > .f101-he-preview {
  order: 1;
}

body.p101-new .f101-tr-src {
  width: 100%;
  min-height: 2.55rem;
  padding: 0.45rem 0.6rem;
  font-size: 1rem;
  border: 1px solid #c5ccd6;
  border-radius: 6px;
  background: #fff;
  color: #0f172a;
  direction: ltr;
  unicode-bidi: plaintext;
  text-align: start;
  box-sizing: border-box;
}

body.p101-new .f101-he-preview {
  margin: 0;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  overflow: hidden;
}

body.p101-new .f101-he-preview__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 0.5rem;
  padding: 0.35rem 0.55rem;
  background: #eef2ff;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.78rem;
  color: #475569;
}

body.p101-new .f101-he-preview__head strong {
  font-weight: 700;
  color: #334155;
}

body.p101-new .f101-tr-btn {
  padding: 0.28rem 0.55rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: #1d4f9a;
  background: #fff;
  border: 1px solid #93c5fd;
  border-radius: 6px;
  cursor: pointer;
}

body.p101-new .f101-tr-btn:hover:not(:disabled) {
  background: #eff6ff;
}

body.p101-new .f101-tr-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

body.p101-new .f101-he-preview__text {
  display: block;
  min-height: 2.75rem;
  margin: 0;
  padding: 0.55rem 0.65rem;
  font-size: 1rem;
  line-height: 1.45;
  color: #0f172a;
  direction: rtl;
  unicode-bidi: plaintext;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: "Segoe UI", "Arial Hebrew", "David", system-ui, sans-serif;
}

body.p101-new .f101-he-preview__text:empty::before {
  content: "Текст для бланка появится здесь…";
  color: #94a3b8;
  font-style: italic;
  direction: ltr;
  unicode-bidi: isolate;
}

body.p101-new .f101-he-preview__status {
  padding: 0.25rem 0.55rem 0.4rem;
  font-size: 0.72rem;
  color: #64748b;
}

body.p101-new .f101-he-preview__status.is-error {
  color: #b91c1c;
}

body.p101-new .f101-he-value {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

body.p101-new .ghd-other-src .f101-translate {
  margin-top: 0.15rem;
}

body.p101-new .ghd-z-detail-field:has(.f101-translate) {
  flex-direction: column;
  align-items: stretch;
}

body.p101-new .ghd-z-detail-field:has(.f101-translate) .employer-label-row,
body.p101-new .ghd-z-detail-field:has(.f101-translate) .he-kb-trigger {
  display: none !important;
}
