:root {
  --red: #ff4646;
  --red-dark: #e33636;
  --ink: #171717;
  --muted: #70737a;
  --line: #ececef;
  --soft: #f7f7f8;
  --green: #23a455;
  --yellow: #f6c148;
  --shadow: 0 12px 36px rgba(21, 26, 36, 0.12);
  font-family: Roboto, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body,
#app {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  background: #ffffff;
  color: var(--ink);
  overscroll-behavior-y: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.boot {
  min-height: 100dvh;
  display: grid;
  place-content: center;
  gap: 28px;
  padding: 24px;
}

.boot img {
  width: min(200px, 50vw);
}

.boot-track {
  width: min(260px, 72vw);
  height: 4px;
  overflow: hidden;
  border-radius: 4px;
  background: #ececec;
}

.boot-track span {
  display: block;
  width: 35%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff7777, var(--red));
  animation: slide 1.15s ease-in-out infinite;
}

@keyframes slide {
  from { transform: translateX(-100%); }
  to { transform: translateX(380%); }
}

.phone {
  width: min(100%, 460px);
  min-height: 100dvh;
  margin: 0 auto;
  background: #fff;
  position: relative;
}

.topbar {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  min-height: calc(52px + env(safe-area-inset-top, 0px));
  padding: calc(8px + env(safe-area-inset-top, 0px)) 14px 8px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(236, 236, 239, 0.86);
  backdrop-filter: blur(16px);
}

.city,
.ghost {
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
}

.city {
  text-align: left;
  padding: 0 12px;
  font-weight: 700;
}

#citySelect {
  position: absolute;
  inset: calc(8px + env(safe-area-inset-top, 0px)) 60px auto 14px;
  height: 38px;
  opacity: 0;
}

.ghost {
  width: 42px;
  font-size: 22px;
}

.content {
  padding: 0 14px calc(92px + env(safe-area-inset-bottom, 0px));
}

.hero {
  min-height: 238px;
  display: grid;
  align-content: end;
  gap: 14px;
  padding: 22px 0 12px;
}

.wordmark {
  width: 134px;
  height: auto;
  display: block;
  margin-bottom: 22px;
}

.hero h1 {
  margin: 0;
  max-width: 340px;
  font-size: 34px;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.banner {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
}

.banner img {
  display: block;
  width: 100%;
}

.searchbar {
  height: 48px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  margin: 8px 0 14px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
}

.searchbar span {
  font-size: 23px;
}

.searchbar input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.chips,
.pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 12px;
  scrollbar-width: none;
}

.chips::-webkit-scrollbar,
.pills::-webkit-scrollbar {
  display: none;
}

.chip,
.pill {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
}

.chip {
  min-height: 42px;
  padding: 0 12px;
  font-weight: 700;
}

.chip span {
  color: var(--muted);
  font-weight: 500;
}

.pill {
  min-height: 34px;
  padding: 0 10px;
  font-size: 13px;
}

.chip.is-active,
.pill.is-active {
  color: #fff;
  border-color: var(--red);
  background: var(--red);
}

.chip.is-active span {
  color: rgba(255, 255, 255, 0.82);
}

.brand-month {
  display: grid;
  grid-template-columns: 1fr 62px;
  gap: 14px;
  align-items: center;
  margin: 2px 0 16px;
  padding: 14px;
  border-radius: 8px;
  background: #171717;
  color: #fff;
}

.brand-month span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.brand-month h2,
.brand-month p {
  margin: 3px 0 0;
}

.brand-month h2 {
  font-size: 18px;
}

.brand-month p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.brand-month img {
  width: 62px;
  height: 62px;
  border-radius: 8px;
  object-fit: cover;
}

.list-head,
.plain-head {
  margin: 16px 0 10px;
}

.list-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.list-head h2,
.plain-head h1,
.resume-local h1,
.profile-local h1 {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0;
}

.list-head span,
.plain-head p,
.resume-local p,
.profile-local p {
  color: var(--muted);
  font-size: 14px;
}

.vacancy-list {
  display: grid;
  gap: 10px;
}

.vacancy-card {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
  cursor: pointer;
}

.vacancy-card.is-premium {
  border-color: rgba(255, 70, 70, 0.28);
  box-shadow: 0 9px 24px rgba(255, 70, 70, 0.08);
}

.logo {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
  color: var(--red);
  font-weight: 800;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.favorite {
  position: absolute;
  right: 8px;
  top: 8px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--red);
  font-size: 22px;
}

.card-topline {
  display: flex;
  gap: 42px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}

.vacancy-card h3 {
  margin: 4px 34px 5px 0;
  font-size: 17px;
  line-height: 1.18;
}

.vacancy-card strong {
  display: block;
  color: var(--green);
  font-size: 16px;
}

.vacancy-card p {
  margin: 5px 0;
  color: #333;
  font-size: 14px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.meta span {
  max-width: 100%;
  padding: 4px 7px;
  border-radius: 6px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
}

.more,
.error button,
.resume-local button,
.apply-bar button {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-weight: 800;
}

.more {
  margin: 14px 0 4px;
}

.tabbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 20;
  width: min(100%, 460px);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  min-height: calc(64px + env(safe-area-inset-bottom, 0px));
  padding: 5px 8px env(safe-area-inset-bottom, 0px);
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.tabbar button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  line-height: 13px;
  font-weight: 600;
}

.tabbar span {
  display: block;
  margin-bottom: 3px;
  font-size: 22px;
}

.tabbar .is-active {
  color: var(--red);
  font-weight: 700;
}

.detail-shell {
  position: fixed;
  inset: 0;
  z-index: 40;
  width: min(100%, 460px);
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #fff;
}

.detail-header {
  min-height: calc(52px + env(safe-area-inset-top, 0px));
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  padding: calc(8px + env(safe-area-inset-top, 0px)) 8px 8px;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.detail-header button {
  position: static;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  font-size: 30px;
}

.detail-header .in-header {
  color: var(--red);
  font-size: 22px;
}

.detail {
  overflow: auto;
  padding: 18px 14px 24px;
}

.detail-hero {
  text-align: center;
  padding: 8px 0 18px;
}

.logo.big {
  width: 84px;
  height: 84px;
  margin: 0 auto 14px;
}

.detail-hero p {
  margin: 0 0 6px;
  color: var(--muted);
}

.detail-hero h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.04;
}

.detail-hero strong {
  display: block;
  margin-top: 10px;
  color: var(--green);
  font-size: 20px;
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.facts div,
.address,
.description,
.company,
.resume-local,
.profile-local,
.error {
  padding: 14px;
  border-radius: 8px;
  background: var(--soft);
}

.facts span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.facts b {
  display: block;
  margin-top: 4px;
  font-size: 14px;
}

.address,
.description,
.company {
  margin-top: 10px;
}

.address h2,
.description h2,
.company h2,
dialog h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

dialog h2 {
  line-height: 23px;
  font-weight: 500;
}

.address p,
.description p,
.company p {
  margin: 0;
  color: #333;
  line-height: 1.45;
}

.photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.photos img {
  width: 100%;
  aspect-ratio: 1.25;
  border-radius: 8px;
  object-fit: cover;
}

.apply-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: #fff;
}

.apply-bar a,
.profile-local a {
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.resume-local,
.profile-local,
.error {
  margin-top: 18px;
}

.resume-local label {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.resume-local input,
.resume-local textarea,
dialog textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  color: var(--ink);
}

.resume-local textarea,
dialog textarea {
  min-height: 94px;
  resize: vertical;
}

.resume-local button {
  margin-top: 14px;
}

dialog {
  width: min(calc(100vw - 28px), 420px);
  border: 0;
  border-radius: 8px;
  padding: 0;
  box-shadow: var(--shadow);
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.42);
}

dialog form {
  padding: 16px;
}

dialog p {
  color: var(--muted);
}

dialog menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0;
  margin: 12px 0 0;
}

dialog button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--soft);
  color: #25282b;
  font-size: 15px;
  line-height: 20px;
  font-weight: 400;
}

dialog button[value="default"] {
  background: #1f7bf2;
  color: #fff;
}

.matched-empty {
  min-height: calc(100vh - 64px);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 28px 28px 120px;
  background: #fafafa;
  text-align: center;
}

.matched-empty img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  opacity: 0.55;
}

.matched-empty h1 {
  margin: 4px 0 0;
  color: #111;
  font-size: 20px;
  line-height: 25px;
  font-weight: 700;
}

.matched-empty p {
  margin: 0;
  color: #8d9299;
  font-size: 15px;
  line-height: 21px;
  font-weight: 400;
}

.matched-empty button {
  min-height: 42px;
  margin-top: 8px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: #1f7bf2;
  color: #fff;
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
}

.recommendation-head {
  display: grid;
  gap: 10px;
  padding: 18px 20px 14px;
  background: #fafafa;
}

.recommendation-head h1 {
  margin: 0;
  color: #161616;
  font-size: 21px;
  line-height: 26px;
  font-weight: 700;
}

.recommendation-head p {
  max-width: 320px;
  margin: 4px 0 0;
  color: #888d94;
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
}

@media (min-width: 461px) {
  body {
    background: #FAFAFA;
  }

  .phone,
  .detail-shell {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
  }
}

/* m.restojob.ru visual parity layer */
:root {
  --m-brand: #FF4646;
  --m-brand-end: #E51A3F;
  --m-red-text: #E93C3C;
  --m-bg: #FAFAFA;
  --m-light-gray: #EAEEF4;
  --m-tab-gray: #CACCCF;
  --m-text: #000000;
  --m-secondary: #888D94;
  --m-dark-gray: #979797;
  --m-blue: #046FD1;
}

body {
  background: var(--m-bg);
}

.phone {
  background: var(--m-bg);
}

.topbar {
  grid-template-columns: 52px 1fr 52px;
  gap: 0;
  min-height: calc(53px + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) 10px 0;
  background: #fff;
  border-bottom: 1px solid #ececec;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
  backdrop-filter: none;
}

.header-icon {
  width: 52px;
  height: 52px;
  display: grid;
  align-items: center;
  border: 0;
  background: transparent;
  padding: 10px 6px;
}

.header-icon:first-child {
  justify-items: start;
}

.header-icon.location {
  justify-items: end;
}

.location-pin-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #aeb4bb;
}

.location-pin-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.header-spacer {
  width: 52px;
  height: 52px;
  display: block;
}

.header-icon.is-hamburger {
  justify-items: start;
}

.header-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.hamburger-icon {
  position: relative;
  width: 24px;
  height: 18px;
  display: block;
}

.hamburger-icon::before,
.hamburger-icon::after,
.hamburger-icon {
  background:
    linear-gradient(#aeb4bb, #aeb4bb) left 0 top 0 / 24px 2px no-repeat,
    linear-gradient(#aeb4bb, #aeb4bb) left 0 top 8px / 24px 2px no-repeat,
    linear-gradient(#aeb4bb, #aeb4bb) left 0 top 16px / 24px 2px no-repeat;
}

.header-logo {
  height: 52px;
  display: grid;
  place-items: center;
}

.header-logo img {
  width: 134px;
  height: 26px;
  object-fit: contain;
}

#citySelect {
  inset: env(safe-area-inset-top, 0px) 10px auto auto;
  width: 52px;
  height: 52px;
}

.content {
  padding: 0 0 calc(112px + env(safe-area-inset-bottom, 0px));
}

.m-start {
  padding: 16px 0 0;
}

.banner {
  border-radius: 0;
  margin-bottom: 12px;
}

.m-ad-slot {
  height: 118px;
  margin: 0 20px 16px;
  border-radius: 16px 16px 0 0;
  background: #a8b3bf;
}

.chips,
.pills {
  padding: 2px 20px 14px;
}

.chip,
.pill {
  border-radius: 20px;
}

.chip {
  min-height: 36px;
  padding: 0 14px;
  font-size: 13px;
}

.pill {
  min-height: 46px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 500;
  border-color: #e2e5eb;
  box-shadow: 0 2px 8px rgba(24, 28, 34, 0.04);
}

.chip.is-active,
.pill.is-active {
  border-color: var(--m-brand);
  background: var(--m-brand);
}

.brand-month {
  margin: 2px 20px 16px;
  padding: 16px;
  border-radius: 20px;
}

.brand-month img {
  border-radius: 50%;
}

.list-head,
.plain-head {
  margin: 16px 20px 10px;
}

.list-head.is-home {
  display: none;
}

.list-head h2,
.plain-head h1,
.resume-local h1,
.profile-local h1 {
  font-size: 18px;
}

.inline-search {
  width: 38px;
  height: 38px;
  border: 1px solid var(--m-light-gray);
  border-radius: 12px;
  background: #fff;
  color: var(--m-secondary);
  font-size: 22px;
}

.searchbar {
  margin: 0 20px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--m-light-gray);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: max-height 0.18s ease, opacity 0.18s ease, margin-bottom 0.18s ease;
}

.searchbar.is-open {
  max-height: 48px;
  opacity: 1;
  pointer-events: auto;
}

.vacancy-list {
  gap: 26px;
  padding: 0 20px;
}

.vacancy-card {
  display: block;
  padding: 0;
  border: 1px solid var(--m-light-gray);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.07);
  overflow: hidden;
}

.vacancy-card.is-premium {
  border-color: #fff;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.07);
}

.vacancy-card-inner {
  display: grid;
}

.vacancy-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px;
  gap: 12px;
  padding: 16px 16px 20px;
}

.vacancy-card h3 {
  margin: 0;
  color: var(--m-text);
  font-size: 14px;
  line-height: 16px;
  font-weight: 700;
}

.vacancy-card strong {
  display: block;
  color: var(--m-red-text);
  font-size: 20px;
  line-height: 20px;
  font-weight: 700;
  padding: 8px 0;
  letter-spacing: 0;
}

.vacancy-card p {
  margin: 0;
  color: var(--m-text);
  font-size: 14px;
  line-height: 14px;
}

.logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
}

.m-card-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.m-card-side time {
  margin-top: 10px;
  color: var(--m-dark-gray);
  font-size: 14px;
  line-height: 14px;
  text-align: center;
}

.favorite {
  position: static;
  width: 30px;
  height: 30px;
  background: transparent;
  color: var(--m-brand);
  font-size: 20px;
  margin-top: 4px;
}

.m-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
  margin-top: 16px;
}

.m-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(47, 128, 237, 0.2);
  color: var(--m-blue);
  font-size: 11px;
  line-height: 16px;
  font-weight: 500;
}

.m-tag.top {
  background: #ffbc1f;
  color: var(--m-text);
}

.metro-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: var(--m-secondary);
  font-size: 14px;
  line-height: 14px;
}

.metro-dot {
  width: 16px;
  height: 16px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--metro, #CACCCF);
  color: #fff;
  font-size: 10px;
  line-height: 1;
}

.vacancy-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--m-light-gray);
  min-height: 68px;
}

.vacancy-facts div {
  min-width: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 10px 6px;
  text-align: center;
  border-right: 1px solid var(--m-light-gray);
}

.vacancy-facts div:last-child {
  border-right: 0;
}

.vacancy-facts b {
  max-width: 100%;
  color: var(--m-text);
  font-size: 17px;
  line-height: 20px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vacancy-facts span {
  max-width: 100%;
  margin-top: 8px;
  color: var(--m-dark-gray);
  font-size: 11px;
  line-height: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.more {
  width: calc(100% - 40px);
  margin: 14px 20px 4px;
  border-radius: 10px;
  background: var(--m-brand);
}

.floating-map-button {
  position: fixed;
  z-index: 22;
  right: max(18px, calc((100vw - 460px) / 2 + 18px));
  bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(232, 234, 238, 0.78);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #161616;
  box-shadow: 0 14px 34px rgba(20, 24, 30, 0.16);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  font-size: 13px;
  line-height: 16px;
  font-weight: 500;
}

.floating-map-button svg {
  width: 18px;
  height: 18px;
  color: var(--m-brand);
  stroke-width: 2.3;
}

.vacancy-map-screen {
  position: relative;
  min-height: calc(100dvh - 53px - env(safe-area-inset-top, 0px));
  background: #fafafa;
}

.map-pills {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 16px;
  right: 16px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px;
  border: 1px solid rgba(232, 234, 238, 0.82);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(20, 24, 30, 0.12);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  scrollbar-width: none;
}

.map-pills::-webkit-scrollbar {
  display: none;
}

.map-pills .pill {
  min-height: 36px;
  padding: 0 16px;
  font-size: 13px;
  line-height: 16px;
  font-weight: 500;
  box-shadow: none;
}

.vacancy-map-canvas {
  width: 100%;
  height: calc(100dvh - 53px - env(safe-area-inset-top, 0px));
  min-height: 620px;
  display: grid;
  place-items: center;
  color: #888d94;
  font-size: 14px;
  background: #eef1f5;
}

.vacancy-map-empty {
  position: absolute;
  z-index: 4;
  left: 20px;
  right: 20px;
  top: 116px;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e8e7ed;
  text-align: center;
}

.vacancy-map-empty h2 {
  margin: 0;
  font-size: 17px;
  line-height: 22px;
  font-weight: 700;
}

.vacancy-map-empty p {
  margin: 6px 0 0;
  color: #888d94;
  font-size: 13px;
  line-height: 18px;
}

.map-card-drawer {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 20px calc(16px + env(safe-area-inset-bottom, 0px));
  background: #fafafa;
  box-shadow: 0 -14px 34px rgba(20, 24, 30, 0.08);
}

.map-vacancy-card {
  width: 100%;
  background: #fff;
}

.tab-mask {
  display: block;
  width: 22px;
  height: 22px;
  margin: 0 auto 4px;
  background: var(--m-tab-gray);
  mask: var(--icon) center / contain no-repeat;
  -webkit-mask: var(--icon) center / contain no-repeat;
}

.tab-icon {
  display: block;
  width: 23px;
  height: 23px;
  margin: 0 auto 3px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(81%) sepia(6%) saturate(128%) hue-rotate(179deg) brightness(96%) contrast(86%);
}

.tabbar .is-active .tab-mask {
  background: var(--m-brand);
}

.tabbar .is-active .tab-icon {
  filter: brightness(0) saturate(100%) invert(45%) sepia(88%) saturate(3272%) hue-rotate(334deg) brightness(107%) contrast(103%);
}

.role-select-screen {
  display: grid;
  align-content: center;
  gap: 12px;
  min-height: calc(100vh - 142px - env(safe-area-inset-bottom, 0px));
  padding: 54px 20px 96px;
  background: #fff;
}

.role-select-screen h1 {
  margin: 0 0 12px;
  color: #161616;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
}

.role-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 91px;
  align-items: center;
  gap: 18px;
  min-height: 117px;
  padding: 13px;
  border: 1px solid #e7e7e7;
  border-radius: 12px;
  background: #fff;
  color: #161616;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(24, 28, 34, 0.04);
}

.role-card h2 {
  margin: 0;
  color: #161616;
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
}

.role-card p {
  margin: 4px 0 0;
  color: #888d94;
  font-size: 13px;
  line-height: 16px;
}

.role-card img {
  width: 91px;
  height: 91px;
  object-fit: contain;
}

.auth-phone,
.auth-content {
  background: #fff;
}

.auth-content {
  padding: 0;
}

.auth-native-header {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(72px + env(safe-area-inset-top, 0px));
  padding: calc(20px + env(safe-area-inset-top, 0px)) 18px 8px;
  background: #fff;
}

.auth-back-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 34px;
  padding: 0 12px 0 9px;
  border: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  color: #24282d;
  font-size: 15px;
  line-height: 1;
  font-weight: 500;
  box-shadow: 0 8px 20px rgba(24, 28, 34, 0.06);
}

.auth-back-pill::first-letter {
  font-size: 22px;
  line-height: 0;
}

.auth-native-header h1 {
  position: absolute;
  left: 50%;
  bottom: 14px;
  margin: 0;
  transform: translateX(-50%);
  color: #000;
  font-size: 20px;
  line-height: 26px;
  font-weight: 700;
}

.auth-screen {
  min-height: calc(100vh - 72px - env(safe-area-inset-top, 0px));
  padding: 86px 20px 28px;
  background: #fff;
}

.auth-logo {
  display: block;
  width: 134px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.auth-login-screen h1,
.auth-registration-screen h1 {
  margin: 28px 0 24px;
  color: #000;
  text-align: center;
  font-size: 20px;
  line-height: 26px;
  font-weight: 500;
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid #e5e6ea;
  border-radius: 10px;
  background: #fff;
  color: #161616;
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  outline: none;
}

.auth-form input::placeholder {
  color: #b6b8bd;
}

.auth-forgot {
  justify-self: end;
  min-height: 28px;
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #000;
  font-size: 15px;
  line-height: 20px;
}

.auth-submit {
  min-height: 48px;
  margin-top: 4px;
  border: 0;
  border-radius: 12px;
  background: #24282d;
  color: #fff;
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
}

.auth-social-note {
  margin: 64px 0 12px;
  color: #92959c;
  text-align: center;
  font-size: 14px;
  line-height: 19px;
  font-weight: 400;
}

.auth-socials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 0;
}

.auth-socials button {
  display: inline-grid;
  place-items: center;
  height: 46px;
  border: 0;
  border-radius: 10px;
  background: #24282d;
  color: #fff;
}

.auth-register {
  width: 100%;
  min-height: 48px;
  margin-top: 10px;
  padding: 0 25px;
  border: 0;
  border-radius: 12px;
  background: #1fc15c;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.auth-registration-screen {
  padding-top: 86px;
}

.auth-registration-screen h1 {
  margin-bottom: 28px;
}

.auth-registration-note {
  margin: 28px 0 0;
  color: #888b92;
  text-align: center;
  font-size: 14px;
  line-height: 20px;
}

.auth-registration-form {
  gap: 22px;
}

.auth-city-select {
  width: 100%;
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid #e5e6ea;
  border-radius: 10px;
  background: #fff;
  color: #b6b8bd;
  text-align: left;
  font-size: 15px;
  font-weight: 400;
}

.auth-city-select.is-selected {
  color: #161616;
}

.auth-submit-disabled,
.auth-submit:disabled {
  margin-top: 12px;
  background: #edf1f8;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
}

.auth-form-message {
  margin: -8px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #eef8f2;
  color: #148d45;
  font-size: 13px;
  line-height: 18px;
  text-align: center;
}

.auth-vk-mark {
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.auth-ya-mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f33022;
  color: #fff;
  font-size: 19px;
  line-height: 1;
  font-weight: 800;
}

.city-picker-sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
}

.city-picker-sheet.is-open {
  pointer-events: auto;
  opacity: 1;
}

.city-picker-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 100%;
  border: 0;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.3);
}

.city-picker-panel {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  width: min(calc(100vw - 24px), 436px);
  max-height: min(70vh, 540px);
  padding: 14px 14px 16px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(20, 24, 30, 0.18);
  transform: translate(-50%, 18px);
  transition: transform 180ms ease;
}

.city-picker-sheet.is-open .city-picker-panel {
  transform: translate(-50%, 0);
}

.city-picker-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 2px 12px;
}

.city-picker-panel h2 {
  margin: 0;
  color: #161616;
  font-size: 18px;
  line-height: 23px;
  font-weight: 800;
}

.city-picker-close {
  width: 34px;
  min-height: 34px;
  border-radius: 50%;
  color: #8d9299;
  font-size: 24px;
  line-height: 1;
  font-weight: 400;
}

.city-picker-list {
  display: grid;
  gap: 8px;
  max-height: calc(min(70vh, 540px) - 80px);
  overflow: auto;
  padding-bottom: 2px;
}

.city-picker-list button {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #e5e7ec;
  border-radius: 12px;
  background: #fff;
  color: #161616;
  text-align: left;
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
}

.city-picker-list button.is-selected {
  border-color: #ff4646;
  background: #ff4646;
  color: #fff;
}

.cabinet-screen {
  min-height: calc(100vh - 64px);
  padding: 20px 20px 32px;
  background: #fafafa;
}

.cabinet-profile-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid #eceef2;
  border-radius: 18px;
  background: #fff;
}

.cabinet-avatar,
.side-menu-avatar {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #f3f4f6;
}

.cabinet-avatar {
  width: 58px;
  height: 58px;
}

.cabinet-avatar img,
.side-menu-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cabinet-profile-card h1 {
  margin: 0;
  color: #161616;
  font-size: 20px;
  line-height: 25px;
  font-weight: 800;
}

.cabinet-profile-card p {
  margin: 5px 0 0;
  color: #9a9da3;
  font-size: 14px;
  line-height: 18px;
}

.cabinet-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.cabinet-summary article,
.cabinet-section {
  border: 1px solid #eceef2;
  border-radius: 16px;
  background: #fff;
}

.cabinet-summary article {
  min-height: 76px;
  display: grid;
  align-content: center;
  justify-items: center;
}

.cabinet-summary b {
  color: #161616;
  font-size: 22px;
  line-height: 26px;
  font-weight: 800;
}

.cabinet-summary span {
  margin-top: 4px;
  color: #8d9299;
  font-size: 12px;
  line-height: 15px;
}

.cabinet-section {
  margin-top: 14px;
  padding: 16px;
}

.cabinet-section h2 {
  margin: 0;
  color: #161616;
  font-size: 18px;
  line-height: 23px;
  font-weight: 800;
}

.cabinet-section p {
  margin: 8px 0 14px;
  color: #727780;
  font-size: 14px;
  line-height: 20px;
}

.cabinet-section button {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  background: #24282d;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.resume-screen {
  min-height: calc(100vh - 64px);
  padding: 14px 16px 32px;
  background: #fafafa;
}

.resume-header-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px;
  border: 1px solid #eceef2;
  border-radius: 18px;
  background: #fff;
  text-align: left;
  font: inherit;
}

.resume-header-card img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.resume-header-card h1 {
  margin: 0;
  color: #000;
  font-size: 18px;
  line-height: 23px;
  font-weight: 800;
}

.resume-header-card p {
  margin: 5px 0 0;
  color: #bdbdbd;
  font-size: 14px;
  line-height: 18px;
}

.resume-header-edit {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  color: #ff4646;
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
}

.resume-header-edit svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.resume-avatar-edit {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin: 4px 0 18px;
}

.resume-avatar-edit img {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.resume-avatar-edit label {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid #dbe2ec;
  border-radius: 8px;
  background: #fff;
  color: #ff4646;
  font-size: 13px;
  line-height: 17px;
  font-weight: 400;
}

.resume-avatar-edit input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.resume-section-card {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  margin-top: 10px;
  padding: 16px;
  border: 1px solid #eceef2;
  border-radius: 18px;
  background: #fff;
}

.resume-section-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f4f5f7;
}

.resume-section-icon img {
  max-width: 19px;
  max-height: 19px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.42;
}

.resume-section-content h2 {
  margin: 1px 0 10px;
  color: #000;
  font-size: 16px;
  line-height: 21px;
  font-weight: 700;
}

.resume-section-content dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.resume-section-content dl div {
  display: grid;
  grid-template-columns: minmax(100px, 42%) 1fr;
  gap: 8px;
}

.resume-section-content dt,
.resume-section-content dd,
.resume-section-content p {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
}

.resume-section-content dt,
.resume-section-content p {
  color: #8d9299;
}

.resume-section-content dd {
  color: #000;
}

.resume-work-preview {
  display: grid;
  gap: 9px;
}

.resume-work-preview div {
  display: grid;
  gap: 2px;
}

.resume-work-preview strong {
  color: #111;
  font-size: 14px;
  line-height: 18px;
  font-weight: 700;
}

.resume-work-preview span {
  color: #8d9299;
  font-size: 13px;
  line-height: 17px;
  font-weight: 400;
}

.resume-section-content button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ff4646;
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
}

.resume-section-content button svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.resume-section-content button svg circle {
  fill: currentColor;
  stroke: currentColor;
}

.resume-section-content button svg circle + path {
  stroke: #fff;
}

.resume-edit-screen {
  min-height: calc(100vh - 64px);
  padding: 16px 16px 110px;
  background: #fafafa;
}

.resume-edit-card {
  margin: 0;
  padding: 14px;
  border: 1px solid #dbe2ec;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(25, 34, 46, 0.06);
}

.resume-edit-card h1 {
  margin: 0 0 16px;
  color: #111;
  font-size: 18px;
  line-height: 23px;
  font-weight: 800;
}

.selected-specializations {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 2px 0 12px;
}

.selected-specialization-chip {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: #1f7bf2;
  color: #fff;
  font-size: 13px;
  line-height: 17px;
  font-weight: 500;
}

.selected-specialization-chip svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.resume-edit-block {
  margin-top: 22px;
}

.resume-edit-block:first-of-type {
  margin-top: 16px;
}

.resume-edit-block label {
  display: block;
  margin: 0 0 8px;
  color: #111;
  font-size: 14px;
  line-height: 19px;
  font-weight: 400;
}

.resume-position-edit-screen .resume-edit-block label {
  font-weight: 700;
}

.resume-salary-input {
  width: 100%;
  height: 48px;
  padding: 8px 16px;
  border: 1px solid #dbe2ec;
  border-radius: 10px;
  outline: none;
  background: #fff;
  color: #111;
  font-size: 22px;
  line-height: 28px;
  font-weight: 500;
}

.resume-salary-input::placeholder {
  color: #b7bcc4;
}

.resume-text-input {
  width: 100%;
  min-height: 48px;
  padding: 8px 14px;
  border: 1px solid #dbe2ec;
  border-radius: 10px;
  outline: none;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 15px;
  line-height: 20px;
  font-weight: 400;
}

.resume-text-input:disabled {
  color: #8d9299;
  background: #f7f8fa;
}

.resume-textarea {
  min-height: 156px;
  resize: vertical;
}

select.resume-text-input {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #9aa1ab 50%),
    linear-gradient(135deg, #9aa1ab 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 21px,
    calc(100% - 12px) 21px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 32px;
}

.resume-edit-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.resume-edit-row .resume-edit-block {
  margin-top: 0;
}

.resume-phone-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 78px;
  gap: 12px;
  align-items: start;
}

.resume-switch {
  min-height: 48px;
  border: 1px solid #dbe2ec;
  border-radius: 10px;
  background: #f1f3f6;
  color: #8d9299;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
}

.resume-switch.is-on {
  border-color: #1fbd62;
  background: #1fbd62;
  color: #fff;
}

.resume-phone-warning {
  margin: 6px 0 0;
  color: #555b64;
  font-size: 11px;
  line-height: 14px;
  font-weight: 300;
}

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

.resume-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 14px 0 0;
  color: #111;
  font-size: 14px;
  line-height: 19px;
  font-weight: 400;
}

.resume-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: #1f7bf2;
}

.resume-category-select {
  display: flex;
  gap: 10px;
  margin: 0 -14px;
  padding: 0 14px 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.resume-category-select::-webkit-scrollbar {
  display: none;
}

.resume-category-select button {
  width: 140px;
  min-height: 122px;
  flex: 0 0 140px;
  display: grid;
  grid-template-rows: 70px minmax(32px, auto);
  justify-items: center;
  align-items: center;
  align-content: center;
  gap: 8px;
  padding: 12px 8px 10px;
  border: 1px solid #dbe2ec;
  border-radius: 7px;
  background: #fff;
  color: #111;
  font-size: 12.5px;
  line-height: 1.15;
  font-weight: 400;
  text-align: center;
}

.resume-category-select button.is-selected {
  border: 3px solid #1f7bf2;
  padding: 8px;
}

.resume-category-select img {
  width: 70px;
  height: 70px;
  min-width: 70px;
  border-radius: 50%;
  object-fit: contain;
  background: #fafafa;
  opacity: 1;
}

.resume-category-select button span {
  display: grid;
  min-height: 32px;
  align-items: center;
}

.resume-category-select button.is-selected img {
  opacity: 1;
}

.resume-specializations-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.resume-specializations-picker button {
  min-height: 29px;
  padding: 0 10px;
  border: 1px solid #dbe2ec;
  border-radius: 6px;
  background: #fff;
  color: #111;
  font-size: 13.5px;
  line-height: 18px;
  font-weight: 400;
}

.resume-specializations-picker p,
.resume-edit-error {
  margin: 0;
  color: #8d9299;
  font-size: 14px;
  line-height: 20px;
}

.resume-edit-error {
  margin-top: 14px;
  color: #ff4646;
  font-weight: 600;
}

.resume-edit-footer {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 25;
  width: min(100vw, 480px);
  transform: translateX(-50%);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(14px);
}

.resume-edit-footer button {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: #1fbd62;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
  color: #fff;
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
}

.resume-edit-empty {
  margin: 0;
  color: #8d9299;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

.resume-work-list {
  display: grid;
  gap: 12px;
}

.resume-work-item {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e2e6ed;
  border-radius: 10px;
  background: #fff;
}

.resume-work-item h2 {
  margin: 0 0 4px;
  color: #111;
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
}

.resume-work-item p,
.resume-work-item span {
  display: block;
  margin: 0;
  color: #8d9299;
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
}

.resume-work-item p {
  color: #111;
}

.resume-work-actions {
  display: flex;
  gap: 10px;
}

.resume-work-actions button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #dbe2ec;
  border-radius: 8px;
  background: #fff;
  color: #ff4646;
  font-size: 13px;
  line-height: 17px;
  font-weight: 400;
}

.resume-work-actions button:first-child {
  color: #1f7bf2;
}

.messages-screen {
  min-height: calc(100vh - 64px);
  padding: 18px 20px 32px;
  background: #fafafa;
}

.messages-screen h1 {
  margin: 0 0 14px;
  color: #161616;
  font-size: 22px;
  line-height: 28px;
  font-weight: 800;
}

.message-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 18px;
  padding: 4px;
  border-radius: 14px;
  background: #eef0f4;
}

.message-tabs button {
  min-height: 38px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #7a7f87;
  font-size: 14px;
  font-weight: 700;
}

.message-tabs button.is-active {
  background: #fff;
  color: #161616;
  box-shadow: 0 3px 10px rgba(20, 24, 30, 0.08);
}

.messages-placeholder {
  min-height: 210px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 26px;
  border: 1px solid #eceef2;
  border-radius: 18px;
  background: #fff;
  text-align: center;
}

.messages-placeholder div {
  width: 54px;
  height: 54px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #f1f3f6;
}

.messages-placeholder p {
  margin: 0;
  color: #8d9299;
  font-size: 15px;
  line-height: 21px;
}

.callback-list {
  display: grid;
  gap: 18px;
}

.callback-card {
  display: grid;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e8e7ed;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
}

.callback-vacancy-card {
  display: block;
}

.callback-vacancy-card .vacancy-card {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.callback-vacancy-card .vacancy-card-main {
  padding: 14px;
}

.callback-vacancy-card .vacancy-card-cover,
.callback-vacancy-card .vacancy-feature-tags {
  display: none;
}

.callback-vacancy-card .vacancy-logo {
  width: 62px;
  height: 62px;
}

.callback-message {
  margin: 0;
  padding: 14px;
  border: 0;
  border-top: 1px solid #f0f1f3;
  border-radius: 0;
  background: transparent;
}

.callback-message h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: #bdbdbd;
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
}

.callback-message h2 b {
  min-width: 0;
  flex: 1;
  font: inherit;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.callback-message h2 time {
  margin-left: auto;
  color: #a2a7ae;
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
  white-space: nowrap;
}

.callback-message h2 span {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #bdbdbd;
  color: #fff;
  font-size: 13px;
  line-height: 1;
}

.callback-message.is-success h2 {
  color: #27ae60;
}

.callback-message.is-success h2 span {
  background: #27ae60;
}

.callback-message.is-reject h2 {
  color: #eb5757;
}

.callback-message.is-reject h2 span {
  background: #eb5757;
}

.callback-message p {
  margin: 0;
  color: #24282d;
  font-size: 14px;
  line-height: 20px;
}

.callback-message.worker {
  padding: 12px 14px;
  border-radius: 0;
  background: #f9f9fa;
}

.callback-message.worker summary {
  cursor: pointer;
  color: #8d9299;
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
}

.callback-message.worker summary span {
  display: inline;
}

.callback-message.worker summary time {
  float: right;
  margin-left: 10px;
  color: #a2a7ae;
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
}

.callback-message.worker[open] summary {
  margin-bottom: 8px;
}

.callback-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px 14px 14px;
  border-top: 1px solid #f0f1f3;
}

.callback-actions a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 9px;
  background: #19b85a;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  line-height: 17px;
  font-weight: 500;
}

.callback-actions img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.profile-settings-card {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid #eceef2;
  border-radius: 18px;
  background: #fff;
}

.profile-settings-card div {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-bottom: 1px solid #f2f2f2;
}

.profile-settings-card div:last-child {
  border-bottom: 0;
}

.profile-settings-card span {
  color: #8d9299;
  font-size: 12px;
  line-height: 16px;
}

.profile-settings-card b {
  color: #161616;
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
}

.side-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
}

.side-menu.is-open {
  pointer-events: auto;
}

.side-menu-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 100%;
  border: 0;
  border-radius: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 180ms ease;
}

.side-menu.is-open .side-menu-backdrop {
  background: rgba(0, 0, 0, 0.26);
}

.side-menu-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(320px, 84vw);
  padding: calc(18px + env(safe-area-inset-top, 0px)) 16px 18px;
  background: #fff;
  box-shadow: none;
  transform: translateX(-105%);
  transition: transform 180ms ease;
}

.side-menu.is-open .side-menu-panel {
  box-shadow: 14px 0 34px rgba(20, 24, 30, 0.14);
  transform: translateX(0);
}

.side-menu-profile {
  width: 100%;
  min-height: 64px;
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.side-menu-avatar {
  width: 64px;
  height: 64px;
}

.side-menu-profile strong {
  display: block;
  color: #000;
  font-size: 15px;
  line-height: 18px;
  font-weight: 800;
}

.side-menu-profile small {
  display: block;
  margin-top: 3px;
  color: #bdbdbd;
  font-size: 13px;
  line-height: 17px;
}

.side-menu-line {
  display: block;
  height: 1px;
  margin: 16px 0;
  background: #f2f2f2;
}

.side-menu-item {
  width: 100%;
  min-height: 50px;
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #000;
  text-align: left;
  font-size: 15px;
  line-height: 25px;
}

.side-menu-item img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.side-menu-item b {
  min-width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #fb4e4e;
  color: #fff;
  font-size: 14px;
  line-height: 16px;
  font-weight: 700;
}

.side-menu-switch {
  width: 46px;
  height: 28px;
  padding: 3px;
  border-radius: 14px;
  background: #d8dce2;
  transition: background 160ms ease;
}

.side-menu-switch::before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(20, 24, 30, 0.18);
  transition: transform 160ms ease;
}

.side-menu-switch.is-on {
  background: #1fc15c;
}

.side-menu-switch.is-on::before {
  transform: translateX(18px);
}

/* HR MiniApp vacancy card parity */
.vacancy-list {
  gap: 22px;
}

.list-item {
  width: 100%;
  text-align: left;
  color: #161616;
  background: #fff;
  border: 1px solid #e8e7ed;
  border-radius: 18px;
}

.list-item-button {
  cursor: pointer;
}

.vacancy-list .list-item {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
}

.vacancy-card {
  display: block;
  padding: 14px;
  overflow: hidden;
  border-radius: 18px;
  border-color: #e8e7ed;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
}

.vacancy-list .vacancy-card:not(.is-paid),
.vacancy-card:not(.is-paid) {
  box-shadow: none;
}

.vacancy-card.has-cover {
  padding-top: 0;
  border: 1px solid #e8e7ed;
}

.vacancy-card-cover {
  height: 150px;
  margin: 0 -14px 14px;
  border: 0;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
  background: #4f545b;
}

.vacancy-card-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.vacancy-card-cover-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 5px;
  color: #fff;
  background: #4f545b;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.15;
  text-align: center;
}

.vacancy-card-cover-placeholder svg {
  width: 30px;
  height: 30px;
  stroke-width: 1.9;
}

.vacancy-card-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 14px;
  align-items: flex-start;
}

.vacancy-card:not(.is-paid) .vacancy-card-main {
  grid-template-columns: minmax(0, 1fr) 74px;
  align-items: stretch;
}

.grow {
  min-width: 0;
}

.vacancy-head {
  align-items: flex-start;
}

.vacancy-card .item-title {
  margin: 0;
  color: #161616;
  font-size: 16px;
  line-height: 20px;
  font-weight: 680;
  overflow-wrap: anywhere;
}

.vacancy-card-salary {
  margin-top: 5px;
  line-height: 1.18;
}

.vacancy-card-salary strong,
.vacancy-card strong {
  display: block;
  padding: 0;
  color: #e14038;
  font-size: 20px;
  line-height: 24px;
  font-weight: 520;
}

.item-meta {
  color: #747474;
  font-size: 13px;
  line-height: 17px;
}

.item-meta.vacancy-venue {
  margin-top: 3px;
  color: #161616;
  font-size: 14px;
  line-height: 18px;
  font-weight: 430;
}

.vacancy-card-details {
  display: grid;
  gap: 3px;
  margin-top: 9px;
}

.vacancy-detail-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 4px;
  min-width: 0;
  color: #161616;
  font-size: 13px;
  font-weight: 430;
  line-height: 17px;
}

.vacancy-detail-row svg {
  width: 15px;
  height: 15px;
  display: block;
  justify-self: center;
  color: #ccc;
  stroke-width: 2.25;
}

.vacancy-detail-row span {
  min-width: 0;
  color: #161616;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transform: translateY(1px);
}

.vacancy-card:not(.is-paid) .vacancy-metro span:last-child {
  color: #888d94;
}

.vacancy-detail-row .metro-mark {
  --metro-color: #d71920;
  display: inline-grid;
  place-items: center;
  justify-self: center;
  width: 14px;
  height: 14px;
  min-height: 14px;
  border-radius: 999px;
  background: var(--metro-color);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  transform: none;
}

.vacancy-card-side {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

.vacancy-card:not(.is-paid) .vacancy-card-side {
  position: relative;
  display: block;
  min-height: 100%;
  gap: 0;
}

.vacancy-card:not(.is-paid).has-shift-pay .vacancy-card-side {
  gap: 0;
}

.venue-logo {
  display: block;
  width: 84px;
  height: 84px;
  flex: 0 0 84px;
  border-radius: 999px;
  object-fit: cover;
  background: #f2f2f2;
  border: 0;
}

.vacancy-logo {
  width: 96px;
  height: 96px;
  flex-basis: 96px;
  border-radius: 999px;
}

.vacancy-card:not(.is-paid) .vacancy-logo {
  width: 64px;
  height: 64px;
  flex-basis: 64px;
  margin: 0 auto;
}

.venue-logo-placeholder {
  display: grid;
  place-items: center;
  color: #1f6feb;
  font-weight: 800;
  font-size: 20px;
}

.vacancy-publication-date {
  color: #888d94;
  font-size: 12px;
  line-height: 16px;
  font-weight: 430;
  text-align: center;
  white-space: nowrap;
}

.vacancy-card.is-paid .vacancy-publication-date {
  display: none;
}

.vacancy-card:not(.is-paid) .vacancy-publication-date {
  position: absolute;
  right: 0;
  top: 79px;
  width: max-content;
  min-width: 64px;
  text-align: right;
}

.vacancy-card-side .favorite {
  display: none;
}

.vacancy-feature-tags {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.vacancy-feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #d5e5fc;
  color: #1472c9;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  white-space: nowrap;
}

.vacancy-feature-tag.urgent {
  background: #ffbc1f;
  color: #161616;
}

.vacancy-feature-tag.active-search {
  background: rgba(47, 128, 237, 0.2);
  color: #046fd1;
}

.vacancy-feature-tag img,
.vacancy-feature-tag svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: block;
  object-fit: contain;
}

.vacancy-card-stats {
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 12px;
}

.vacancy-card-stats span {
  min-width: 0;
  display: grid;
  align-content: center;
  padding: 11px 8px;
  border-radius: 12px;
  background: #fafafa;
  color: #747474;
}

.vacancy-card-stats strong,
.vacancy-card-stats small {
  display: block;
  max-width: 100%;
  line-height: 1.05;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vacancy-card-stats strong {
  color: #161616;
  font-size: 16px;
  font-weight: 740;
  font-variant-numeric: tabular-nums;
}

.vacancy-card-stats small {
  margin-top: 4px;
  font-size: 11px;
}

.vacancy-card-stats .hot {
  background: color-mix(in srgb, var(--m-brand) 13%, transparent);
}

.vacancy-card-stats .hot strong,
.vacancy-card-stats .hot small {
  color: var(--m-gradient-end);
}

.detail-header,
.apply-bar {
  border-color: #ececec;
}

.facts div,
.address,
.description,
.company,
.resume-local,
.profile-local,
.error,
.photos img {
  border-radius: 20px;
}

/* m.restojob.ru vacancy detail */
.vacancy-page {
  width: min(100%, 460px);
  min-height: 100dvh;
  margin: 0 auto;
  background: #fff;
  color: #000;
}

.vacancy-page-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  align-items: center;
  height: calc(53px + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  background: #fff;
}

.vacancy-page-header button {
  width: 52px;
  height: 52px;
  border: 0;
  background: transparent;
  color: #25282b;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.vacancy-page-header img:first-of-type {
  justify-self: center;
  width: 134px;
  height: 26px;
  object-fit: contain;
}

.vacancy-header-location {
  justify-self: center;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: #b9bdc3;
}

.vacancy-header-location svg {
  width: 23px;
  height: 23px;
}

.vacancy-header-favorite {
  justify-self: center;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 0;
  background: transparent;
  color: #aeb4bb;
}

.vacancy-header-favorite svg {
  width: 25px;
  height: 25px;
  display: block;
  fill: transparent;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linejoin: round;
}

.vacancy-header-favorite.is-active {
  color: var(--m-brand);
}

.vacancy-header-favorite.is-active svg {
  fill: currentColor;
}

.vacancy-detail-page {
  padding-bottom: calc(166px + env(safe-area-inset-bottom, 0px));
  background: #fff;
}

.vacancy-detail-cover {
  display: block;
  width: 100%;
  height: 245px;
  object-fit: cover;
  object-position: center;
  background: #e8e8e8;
}

.vacancy-detail-card {
  position: relative;
  margin-top: -20px;
  padding: 17px 17px 16px;
  border-radius: 20px 20px 0 0;
  background: #fff;
}

.vacancy-detail-page.no-cover .vacancy-detail-card {
  margin-top: 0;
  border-radius: 0;
}

.vacancy-detail-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 16px;
  align-items: start;
}

.vacancy-detail-main h1 {
  margin: 0;
  color: #000;
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
}

.vacancy-detail-main strong {
  display: block;
  margin-top: 0;
  color: #e93c3c;
  font-size: 20px;
  line-height: 36px;
  font-weight: 500;
}

.vacancy-detail-brand {
  color: #000;
  font-size: 14px;
  line-height: 14px;
}

.vacancy-detail-rows {
  display: grid;
  gap: 8px;
  margin-top: 17px;
}

.vacancy-detail-line {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  color: #25282b;
  font-size: 14px;
  line-height: 17px;
  font-weight: 400;
}

.vacancy-detail-line svg {
  width: 16px;
  height: 16px;
  color: #cacccf;
  stroke-width: 2;
}

.detail-metro-mark {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  min-height: 16px;
  border-radius: 999px;
  background: var(--metro-color);
  color: #f2f2f2;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.vacancy-detail-logo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  background: #f2f2f2;
}

.vacancy-detail-logo-placeholder {
  display: grid;
  place-items: center;
  color: #888d94;
  font-weight: 800;
}

.vacancy-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.vacancy-detail-description {
  margin-top: 14px;
}

.vacancy-detail-description p {
  margin: 0;
  color: #25282b;
  font-size: 15px;
  line-height: 24px;
  font-weight: 400;
  white-space: pre-line;
}

.vacancy-detail-description button {
  width: 100%;
  min-height: 34px;
  margin-top: 26px;
  border: 0;
  border-radius: 8px;
  background: #f0eff6;
  color: #575151;
  font-size: 13px;
  font-weight: 300;
}

.vacancy-location-section {
  padding: 17px 20px 0;
  background: #fff;
}

.vacancy-location-section h2 {
  margin: 0 0 18px;
  color: #000;
  font-size: 13px;
  line-height: 21px;
  font-weight: 700;
}

.vacancy-address-line {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: #000;
  font-size: 13px;
  line-height: 15px;
  font-weight: 300;
}

.vacancy-address-line.is-address {
  color: #828282;
}

.vacancy-address-line svg {
  width: 16px;
  height: 16px;
  color: #cacccf;
}

.vacancy-map {
  height: 260px;
  margin-top: 12px;
  background-color: #e8e8e8;
  background-position: center;
  background-size: cover;
}

.vacancy-map span {
  display: grid;
  height: 100%;
  place-items: center;
  color: #828282;
}

.vacancy-company-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  gap: 16px;
  align-items: center;
  margin: 24px 20px 0;
  padding: 13px;
  border: 1px solid #ececec;
  border-radius: 16px;
  background: #fff;
}

.vacancy-company-card h2 {
  margin: 0;
  color: #000;
  font-size: 20px;
  line-height: 20px;
  font-weight: 600;
}

.vacancy-company-card p {
  margin: 8px 0 0;
  color: #828282;
  font-size: 13px;
  line-height: 15px;
  font-weight: 300;
}

.vacancy-company-card p + p {
  margin-top: 4px;
}

.vacancy-company-card img,
.vacancy-company-card .vacancy-detail-logo-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  background: #f2f2f2;
}

.vacancy-action-bar {
  position: fixed;
  left: max(12px, calc((100vw - 460px) / 2 + 12px));
  right: max(12px, calc((100vw - 460px) / 2 + 12px));
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 30;
  width: auto;
  max-width: 436px;
  margin: 0 auto;
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 -8px 30px rgba(24, 28, 34, 0.16);
}

.vacancy-action-bar.only-apply {
  padding: 10px;
}

.vacancy-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.vacancy-action-bar a,
.vacancy-action-bar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  color: #f2f2f2;
  text-decoration: none;
  font-size: 15px;
  line-height: 18px;
  font-weight: 500;
}

.vacancy-action-bar img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex: 0 0 16px;
}

.vacancy-action-call,
.vacancy-action-telegram {
  background: #1ab759;
}

.vacancy-action-apply {
  width: 100%;
  margin-top: 12px;
  background: #1978e7;
}

.vacancy-action-bar.only-apply .vacancy-action-apply {
  margin-top: 0;
}

.callback-vacancy-card .vacancy-card,
.callback-vacancy-card .vacancy-card.has-cover {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.callback-vacancy-card .vacancy-card-main {
  padding: 14px;
}

.callback-vacancy-card .vacancy-card-cover,
.callback-vacancy-card .vacancy-feature-tags {
  display: none;
}
