:root {
  --navy: #101d67;
  --navy-deep: #0d1b5e;
  --blue: #1976f3;
  --ink: #202124;
  --muted: #737373;
  --line: #d9d9d9;
  --soft: #f7f6f1;
  --panel: #ffffff;
  --color-background-primary: #ffffff;
  --color-background-secondary: #f2f1ec;
  --color-border-secondary: #d4d1ca;
  --color-text-primary: #202124;
  --color-text-secondary: #686868;
  --green: #17ad5b;
  --orange: #ff7131;
  --purple: #8a3ffc;
  --cyan: #16abc9;
  --radius: 18px;
  --fw-regular: 400;
  --fw-medium: 500;
  --fs-min: 11px;
  --telegram-top-fallback: 85px;
  --safe-top: max(
    env(safe-area-inset-top, 0px),
    var(--tg-safe-area-inset-top, 0px),
    var(--tg-content-safe-area-inset-top, 0px),
    var(--tg-device-safe-top, 0px),
    var(--telegram-top-fallback)
  );
  --safe-bottom: max(
    env(safe-area-inset-bottom, 0px),
    var(--tg-safe-area-inset-bottom, 0px),
    var(--tg-content-safe-area-inset-bottom, 0px),
    var(--tg-device-safe-bottom, 0px),
    16px
  );
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root.tg-fullscreen {
  --telegram-top-fallback: 85px;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: var(--tg-viewport-height, 100vh);
  overflow-x: hidden;
  color: var(--ink);
  background: #ffffff;
  font-size: 14px;
  font-weight: var(--fw-regular);
}

#app {
  min-height: 100%;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  width: min(100vw, 840px);
  min-height: var(--tg-viewport-height, 100vh);
  margin: 0 auto;
  overflow: visible;
  background: var(--panel);
}

.phone {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 30px);
  height: var(--tg-viewport-stable-height, var(--tg-viewport-height, 100vh));
  margin: 0 4px;
  overflow: visible;
  border: 1px solid #bdbdbd;
  border-radius: 34px;
  background: #fff;
  padding-top: var(--safe-top);
}

.page {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  min-height: calc(100vh - 30px);
}

.topbar {
  display: grid;
  grid-template-columns: 54px minmax(118px, 1fr) minmax(118px, auto);
  align-items: center;
  gap: 10px;
  min-height: 70px;
  padding: 10px 18px 12px;
  border-bottom: 1px solid var(--line);
}

.topbar .left {
  justify-self: start;
}

.topbar .right {
  justify-self: end;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: center;
  min-width: 0;
  font-size: 17px;
  font-weight: var(--fw-medium);
  white-space: nowrap;
}

.fab {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #236af6, #13baf2);
}

.brand-logo {
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
  image-rendering: auto;
}

.brand-logo-icon {
  border-radius: 9999px;
}

.brand-logo-header {
  width: 42px;
  height: 42px;
}

.brand-logo-full {
  max-width: min(180px, 70vw);
}

.brand-logo-fallback {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 9999px;
  color: #ffffff;
  background: linear-gradient(135deg, #236af6, #13baf2);
  font-weight: var(--fw-medium);
  line-height: 1;
}

.brand-logo-full-fallback {
  border-radius: 12px;
  font-size: 16px;
}

.brand-logo-icon-fallback {
  font-size: 13px;
}

.icon-btn,
.bell,
.back-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: #171717;
  background: #f4f2ed;
}

.bell {
  position: relative;
}

.bell::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ef4444;
  border: 2px solid #fff;
}

.location-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 154px;
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid #bcbcbc;
  border-radius: 999px;
  color: var(--navy);
  background: #fbfaf5;
  font-weight: var(--fw-medium);
  overflow: hidden;
  white-space: nowrap;
}

.location-pill svg {
  flex: 0 0 18px;
}

.content {
  padding: 18px 18px 20px;
}

.scroll-content {
  flex: 1 1 auto;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  padding-bottom: calc(150px + var(--safe-bottom));
  -webkit-overflow-scrolling: touch;
}

.route-home .page {
  min-height: 0;
  height: calc(var(--tg-viewport-stable-height, var(--tg-viewport-height, 100vh)) - var(--safe-top));
  overflow: hidden;
}

.route-profile .page {
  min-height: 0;
  overflow-y: auto;
  padding-bottom: calc(118px + var(--safe-bottom));
  -webkit-overflow-scrolling: touch;
}

.route-profile {
  background: var(--navy);
}

.route-profile .menu-list {
  background: #ffffff;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 8px;
  margin-bottom: 14px;
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #d8d5cf;
  border-radius: 13px;
  color: #4a4a4a;
  background: var(--soft);
  font-size: 13px;
  font-weight: var(--fw-medium);
}

.search svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: inherit;
  background: transparent;
}

.search input::placeholder {
  color: #4a4a4a;
}

.filter-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  align-self: center;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: var(--navy-deep);
  flex-shrink: 0;
}

.chips {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.chip {
  flex: 0 0 auto;
  min-height: 29px;
  max-width: 156px;
  padding: 6px 13px;
  border: .5px solid var(--color-border-secondary);
  border-radius: 20px;
  color: var(--color-text-secondary);
  background: var(--color-background-primary);
  font-size: 11px;
  font-weight: var(--fw-medium);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chip.active {
  border-color: var(--navy-deep);
  color: #fff;
  background: var(--navy-deep);
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: -4px 0 14px;
}

.active-filter {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 0;
  border-radius: 999px;
  color: var(--navy);
  background: #eef5ff;
  font-size: 12px;
  font-weight: 750;
}

.active-filter span {
  font-size: 14px;
  line-height: 1;
}

.hero-stat {
  position: relative;
  min-height: 118px;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: 18px;
  color: #fff;
  background: var(--navy);
}

.banner {
  position: relative;
  overflow: hidden;
}

.hero-stat .copy,
.banner-content {
  position: relative;
  z-index: 2;
  padding: 18px;
}

.hero-stat small {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, .6);
  font-size: 11px;
  font-weight: var(--fw-regular);
}

.hero-stat strong {
  display: block;
  font-size: 16px;
  line-height: 1.3;
  margin-bottom: 12px;
  font-weight: var(--fw-medium);
  color: #ffffff;
}

.mini-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 25px;
  padding: 0 15px;
  border: 0;
  border-radius: 999px;
  color: #dce6ff;
  background: rgba(255,255,255,.14);
  font-size: 11px;
  font-weight: var(--fw-medium);
}

.briefcase-watermark {
  position: absolute;
  right: -4px;
  top: 8px;
  width: 82px;
  height: 82px;
  color: rgba(255, 255, 255, .07);
  pointer-events: none;
  user-select: none;
}

.briefcase-watermark svg {
  width: 82px;
  height: 82px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
}

.section-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: var(--fw-medium);
  color: var(--color-text-primary);
}

.link-btn {
  border: 0;
  color: #075dab;
  background: transparent;
  font-weight: var(--fw-medium);
}

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

.job-card {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 12px;
  align-items: start;
  min-height: 118px;
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 3px solid #2b68ff;
  border-radius: 16px;
  background: #fff;
}

.job-card.green {
  border-left-color: var(--green);
}

.avatar,
.company-logo {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #2169ff;
  background: #edf5ff;
  font-size: 13px;
  font-weight: var(--fw-medium);
  flex-shrink: 0;
}

img.company-logo {
  object-fit: cover;
}

.avatar.green,
.company-logo.green {
  color: #0b9450;
  background: #ebfff3;
}

.job-card h3 {
  margin: 0 0 2px;
  color: var(--color-text-primary);
  font-size: 13px;
  font-weight: var(--fw-medium);
}

.job-card p {
  margin: 2px 0 5px;
  color: var(--color-text-secondary);
  font-size: 11px;
  font-weight: var(--fw-regular);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-height: 20px;
  padding: 2px 7px;
  border-radius: 4px;
  color: var(--color-text-secondary);
  background: var(--color-background-secondary);
  font-size: 11px;
  font-weight: var(--fw-regular);
}

.salary {
  margin-top: 7px;
  color: var(--navy-deep);
  font-size: 13px;
  font-weight: var(--fw-medium);
}

.status {
  align-self: start;
  min-height: 22px;
  padding: 2px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: var(--fw-medium);
}

.status.new {
  color: #14723e;
  background: #d9fae5;
}

.status.hot {
  color: #a14a00;
  background: #fff0bc;
}

.heart {
  position: absolute;
  right: 15px;
  bottom: 14px;
  border: 0;
  color: #333;
  background: transparent;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  width: min(100vw, 840px);
  transform: translateX(-50%);
  min-height: calc(82px + var(--safe-bottom));
  overflow: visible;
  padding: 20px 14px calc(10px + var(--safe-bottom));
  border-top: 0;
  border-radius: 22px 22px 0 0;
  background: #ffffff;
  box-shadow: 0 -12px 32px rgba(15, 23, 42, .12);
}

.bottom-nav::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    var(--line) 0,
    var(--line) calc(50% - 48px),
    transparent calc(50% - 48px),
    transparent calc(50% + 48px),
    var(--line) calc(50% + 48px),
    var(--line) 100%
  );
}

.bottom-nav-spacer {
  height: calc(110px + var(--safe-bottom));
  flex: 0 0 auto;
}

.nav-item {
  position: relative;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  min-height: 54px;
  gap: 4px;
  padding: 8px 0 5px;
  border: 0;
  border-radius: 18px;
  color: #4b5563;
  background: transparent;
  font-weight: var(--fw-medium);
  transition: color .18s ease, transform .18s ease;
}

.nav-item:active {
  transform: translateY(1px);
}

.nav-icon svg {
  width: 23px;
  height: 23px;
  stroke-width: 2.3;
}

.nav-label {
  max-width: 100%;
  margin-top: 0;
  overflow: hidden;
  color: inherit;
  font-size: 10px;
  font-weight: var(--fw-medium);
  line-height: 1.1;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-item.active {
  color: var(--navy);
  background: #f4f7ff;
}

.nav-item::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: transparent;
}

.nav-item.active::after {
  background: var(--navy);
}

.nav-plus {
  position: static;
  padding-top: 0;
  color: var(--navy);
  background: transparent;
}

.nav-plus.active {
  background: transparent;
}

.nav-plus.active::after {
  display: block;
}

.nav-plus .fab {
  position: absolute;
  top: -38px;
  left: 50%;
  z-index: 10;
  width: 72px;
  height: 72px;
  transform: translateX(-50%);
  border: 5px solid #ffffff;
  border-radius: 50%;
  background: var(--navy-deep);
  box-shadow: 0 14px 28px rgba(13, 27, 94, .32);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-plus .fab svg {
  width: 32px;
  height: 32px;
  stroke-width: 2.4;
}

.nav-plus-label {
  margin-top: 0;
  color: var(--navy);
  font-weight: 800;
}

.nav-plus .nav-plus-label {
  transform: translateY(0);
}


.page-title {
  padding: 20px 20px 12px;
}

.page-title h1 {
  margin: 0 0 2px;
  font-size: 18px;
  font-weight: var(--fw-medium);
}

.page-title p {
  margin: 0;
  font-weight: var(--fw-medium);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.category-card {
  min-height: 82px;
  padding: 0;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 15px;
  background: #fff;
}

.category-click {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 82px;
  padding: 14px;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
}

.category-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  color: var(--accent);
  background: var(--tint);
}

.category-card h3 {
  margin: 0 0 3px;
  font-size: 14px;
  font-weight: var(--fw-medium);
}

.category-card p {
  margin: 0;
  font-size: 13px;
}

.profile-hero {
  padding: 20px 20px 22px;
  color: #fff;
  background: var(--navy);
}

.profile-avatar {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #ffffff;
  overflow: hidden;
}

.profile-avatar .brand-logo,
.profile-avatar-img {
  width: 62px;
  height: 62px;
  border-radius: 9999px;
  object-fit: contain;
}

.profile-hero h1 {
  margin: 0 0 2px;
  font-size: 18px;
  font-weight: var(--fw-medium);
}

.profile-hero p {
  margin: 0 0 18px;
  color: rgba(255,255,255,.62);
  font-weight: var(--fw-medium);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.stat-box {
  min-height: 58px;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  background: rgba(255,255,255,.1);
}

.stat-box strong {
  display: block;
  font-size: 18px;
  font-weight: var(--fw-medium);
}

.stat-box span {
  color: rgba(255,255,255,.52);
  font-size: 11px;
  font-weight: var(--fw-medium);
}

.menu-list {
  display: grid;
}

.menu-row {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 78px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  text-align: left;
}

.menu-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: var(--accent);
  background: var(--tint);
}

.menu-row h3 {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: var(--fw-medium);
}

.menu-row p {
  margin: 0;
  color: #333;
}

.menu-row.danger h3,
.menu-row.danger .menu-icon {
  color: #e3262e;
}

.form-page {
  padding-bottom: 20px;
}

.form-content {
  padding: 18px 22px 20px;
}

.form-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-weight: var(--fw-medium);
}

.progress {
  height: 5px;
  margin-bottom: 22px;
  overflow: hidden;
  border-radius: 999px;
  background: #dedede;
}

.progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--navy);
}

.field {
  margin-bottom: 18px;
}

.field label,
.group-label {
  display: block;
  margin-bottom: 8px;
  color: #444;
  font-size: 14px;
  font-weight: var(--fw-medium);
}

.input,
.textarea {
  width: 100%;
  border: 1px solid #bdbdbd;
  border-radius: 14px;
  color: var(--ink);
  background: var(--soft);
}

.input {
  min-height: 48px;
  padding: 0 16px;
  font-size: 16px;
}

.textarea {
  min-height: 90px;
  padding: 14px 16px;
  resize: none;
}

.char-count {
  margin-top: 5px;
  color: #3e3e3e;
  text-align: right;
  font-size: 13px;
  font-weight: var(--fw-medium);
}

.form-actions {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 10px;
  margin-top: 20px;
}

.form-actions.single {
  grid-template-columns: 1fr;
}

.btn {
  min-height: 44px;
  border: 1px solid #bdbdbd;
  border-radius: 9px;
  color: #1d1d1d;
  background: #fff;
  font-weight: var(--fw-medium);
}

.btn.primary {
  color: #fff;
  border-color: var(--navy);
  background: var(--navy);
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.choice {
  min-height: 39px;
  padding: 0 17px;
  border: 1px solid #bdbdbd;
  border-radius: 12px;
  color: #3d3d3d;
  background: #fff;
  font-weight: var(--fw-medium);
}

.choice.selected {
  border-color: var(--navy);
  color: var(--navy);
  background: #eef5ff;
}

.region-box {
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid #bdbdbd;
  border-radius: 14px;
}

.region-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  background: #fff;
  font-weight: var(--fw-medium);
}

.region-row.selected {
  background: #edf5ff;
}

.region-row:last-child {
  border-bottom: 0;
  color: #444;
  font-weight: var(--fw-medium);
}

.location-page {
  padding-top: 16px;
}

.location-card {
  display: grid;
  gap: 14px;
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .08);
}

.location-title {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
}

.location-title > span {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #236af6, #13baf2);
}

.location-title h2 {
  margin: 0 0 3px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
}

.location-title p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

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

.location-option {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 0 11px;
  border: 1px solid #e3e7ef;
  border-radius: 15px;
  color: #172554;
  background: #f9fbff;
  font-size: 13px;
  font-weight: 750;
  text-align: left;
}

.location-option span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.location-option svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
}

.location-option.selected {
  border-color: transparent;
  color: #ffffff;
  background: var(--navy);
  box-shadow: 0 10px 22px rgba(16, 29, 103, .20);
}

.filter-page {
  padding-top: 16px;
}

.filter-card {
  display: grid;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .08);
}

.filter-group {
  display: grid;
  gap: 10px;
}

.filter-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 850;
}

.filter-title svg {
  width: 19px;
  height: 19px;
}

.filter-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-option {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #e3e7ef;
  border-radius: 999px;
  color: #172554;
  background: #f9fbff;
  font-size: 13px;
  font-weight: 750;
}

.filter-option.selected {
  border-color: transparent;
  color: #ffffff;
  background: var(--navy);
}

.filter-actions {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 10px;
}

.btn.ghost {
  color: var(--navy);
  background: #eef5ff;
  box-shadow: none;
}

.plans {
  display: grid;
  gap: 12px;
}

.plan-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  min-height: 82px;
  padding: 18px 16px;
  border: 1px solid #c7c7c7;
  border-radius: 15px;
  background: #fff;
}

.plan-card.selected {
  border-color: var(--navy);
  background: #f5f8ff;
}

.plan-title {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 2px;
  font-size: 15px;
  font-weight: var(--fw-medium);
}

.dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: inset 0 0 4px rgba(255,255,255,.5);
}

.price {
  align-self: start;
  color: var(--navy);
  font-size: 16px;
  font-weight: var(--fw-medium);
}

.popular {
  display: inline-block;
  width: fit-content;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 6px;
  color: #fff;
  background: var(--navy);
  font-size: 11px;
  font-weight: var(--fw-medium);
}

.plan-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.notice {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 37px;
  margin-bottom: 16px;
  padding: 0 15px;
  border-radius: 11px;
  color: #ae4c00;
  background: #fff8df;
  font-weight: var(--fw-medium);
}

.loading-skeleton {
  display: grid;
  gap: 12px;
}

.loading-brand {
  display: flex;
  justify-content: center;
  padding: 10px 0 2px;
}

.skeleton-card {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  min-height: 96px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.skeleton-card span,
.skeleton-card b,
.skeleton-card p,
.skeleton-card i {
  display: block;
  border-radius: 8px;
  background: linear-gradient(90deg, #f0f0f0, #fafafa, #f0f0f0);
}

.skeleton-card span {
  width: 40px;
  height: 40px;
}

.skeleton-card b {
  width: 45%;
  height: 13px;
  margin-bottom: 8px;
}

.skeleton-card p {
  width: 35%;
  height: 11px;
  margin: 0 0 12px;
}

.skeleton-card i {
  width: 60%;
  height: 12px;
}

.preview-card {
  border-left-width: 3px;
}

.preview-desc {
  margin: 8px 0 10px;
  color: #383838;
}

.summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin: 14px 0 16px;
  padding: 14px 16px;
  border: 1px solid #d4d1ca;
  border-radius: 14px;
  background: var(--soft);
}

.summary p {
  margin: 0 0 7px;
}

.summary strong {
  display: block;
  margin-bottom: 6px;
}

.form-page {
  min-height: var(--tg-viewport-stable-height, var(--tg-viewport-height, 100vh));
}

.form-page .form-content,
.detail-page,
.notification-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-bottom: calc(var(--safe-bottom) + 22px);
  -webkit-overflow-scrolling: touch;
}

.detail-page {
  display: flex;
  flex-direction: column;
}

.detail-hero {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr 34px;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.detail-hero .company-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  font-size: 18px;
}

.detail-hero h1,
.compact-title,
.owner-card h3,
.application-card h3,
.notification-row h3,
.mini-vacancy strong {
  margin: 0;
  color: var(--color-text-primary);
  font-size: 15px;
  font-weight: var(--fw-medium);
}

.detail-hero p,
.mini-vacancy p,
.owner-card p,
.application-card p,
.notification-row p,
.payment-summary p,
.payment-card p,
.upload-box p {
  margin: 3px 0 0;
  color: var(--color-text-secondary);
  font-size: 13px;
}

.detail-salary {
  margin-top: 6px;
  color: var(--navy-deep);
  font-size: 18px;
  font-weight: var(--fw-medium);
}

.detail-heart {
  position: static;
  width: 34px;
  height: 34px;
  align-self: start;
}

.detail-body {
  padding: 18px 20px 16px;
}

.detail-body h3 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: var(--fw-medium);
}

.detail-body p {
  margin: 0 0 18px;
  color: #3b3b3b;
  line-height: 1.55;
}

.check-list {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: #333;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0;
}

.stats-row div,
.payment-summary,
.mini-vacancy {
  border-radius: 13px;
  background: var(--soft);
}

.stats-row div {
  min-height: 58px;
  padding: 10px;
  text-align: center;
}

.stats-row strong,
.payment-summary b,
.payment-card strong {
  display: block;
  color: var(--navy-deep);
  font-size: 18px;
  font-weight: var(--fw-medium);
}

.stats-row span,
.payment-summary span,
.payment-card span {
  color: var(--color-text-secondary);
  font-size: 11px;
}

.two-actions,
.three-actions {
  display: grid;
  gap: 10px;
}

.two-actions {
  grid-template-columns: 1fr 1.7fr;
}

.payment-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  margin-bottom: 18px;
  padding: 16px;
}

.payment-summary strong {
  font-weight: var(--fw-medium);
}

.payment-summary b {
  grid-row: 2 / 4;
  grid-column: 2;
  align-self: end;
  font-size: 16px;
}

.payment-card {
  position: relative;
  margin-bottom: 18px;
  padding: 18px 20px;
  overflow: hidden;
  border-radius: 14px;
  color: #fff;
  background: var(--navy);
}

.payment-card::after {
  content: "";
  position: absolute;
  right: -20px;
  top: -24px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  box-shadow: -10px 70px 0 rgba(255,255,255,.06);
}

.payment-card span,
.payment-card p {
  color: rgba(255,255,255,.66);
}

.payment-card strong {
  margin: 12px 0 6px;
  color: #fff;
  letter-spacing: 2px;
}

.compact-title {
  margin: 12px 0 12px;
}

.steps {
  display: grid;
  gap: 14px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  display: flex;
  align-items: center;
  gap: 13px;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--navy);
  background: #edf5ff;
  font-weight: var(--fw-medium);
}

.upload-box {
  display: grid;
  place-items: center;
  min-height: 124px;
  margin-bottom: 16px;
  padding: 18px;
  border: 1px dashed #bdbdbd;
  border-radius: 14px;
  text-align: center;
}

.upload-box span {
  color: #444;
}

.upload-box strong {
  margin-top: 6px;
  font-weight: var(--fw-medium);
}

.mini-vacancy {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px 16px;
}

.owner-card,
.application-card {
  position: relative;
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: 16px;
  background: #fff;
}

.owner-card .status {
  position: absolute;
  top: 16px;
  right: 16px;
}

.owner-card p {
  margin-bottom: 14px;
}

.three-actions {
  grid-template-columns: repeat(3, 1fr);
}

.application-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
}

.application-card .three-actions {
  grid-column: 1 / -1;
}

.btn.accept {
  border-color: var(--green);
  color: var(--green);
}

.btn.reject {
  border-color: #ef4444;
  color: #ef4444;
}

.notification-list {
  padding: 0 0 calc(var(--safe-bottom) + 18px);
}

.notification-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 90px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.notification-row:nth-child(-n+2) {
  background: #edf5ff;
}

.notification-row::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy);
}

.profile-edit-avatar,
.empty-state {
  display: grid;
  place-items: center;
  text-align: center;
}

.profile-edit-avatar {
  gap: 8px;
  margin: 8px 0 26px;
}

.profile-edit-avatar > span {
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--line);
  overflow: hidden;
}

.profile-edit-avatar .brand-logo,
.profile-edit-avatar .profile-avatar-img {
  width: 82px;
  height: 82px;
  border-radius: 9999px;
  object-fit: contain;
}

.profile-edit-avatar small {
  color: var(--color-text-secondary);
  font-size: 13px;
}

.empty-state {
  min-height: 180px;
  gap: 8px;
  color: var(--color-text-secondary);
}

.empty-logo {
  margin-bottom: 2px;
}

.empty-state svg {
  width: 44px;
  height: 44px;
  color: #bdbdbd;
}

.empty-state strong {
  color: var(--color-text-primary);
  font-weight: var(--fw-medium);
}

svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.fab svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 620px) {
  .phone {
    min-height: calc(100vh - 28px);
    margin: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 28px 28px 0 0;
    padding-top: var(--safe-top);
  }

  .topbar {
    grid-template-columns: 48px minmax(112px, 1fr) minmax(118px, auto);
    padding-inline: 18px;
    gap: 8px;
  }

  .brand {
    font-size: 16px;
  }

  .location-pill {
    max-width: 136px;
    padding-inline: 9px;
    font-size: 12px;
  }

  .content,
  .form-content {
    padding-inline: 14px;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .job-card {
    grid-template-columns: 50px 1fr;
  }

  .job-card .status {
    position: absolute;
    top: 15px;
    right: 15px;
  }

  .form-actions {
    grid-template-columns: 1fr;
  }

  .two-actions,
  .three-actions {
    grid-template-columns: 1fr;
  }

  .detail-hero {
    grid-template-columns: 54px 1fr 32px;
    padding-inline: 14px;
  }

  .detail-hero .company-logo {
    width: 54px;
    height: 54px;
  }
}

/* Same platform on yangiish.uz, without Telegram safe-area padding. */
:root.public-site {
  --telegram-top-fallback: 0px;
  --safe-top: 0px;
  --safe-bottom: 0px;
}

:root.public-site .app-shell {
  padding-top: 0;
}

@media (max-width: 520px) {
  :root.public-site .app-shell {
    padding-top: 0;
  }
}
