:root {
  --bg: #f7f8fa;
  --panel: #ffffff;
  --ink: #17171c;
  --muted: #6b7280;
  --line: #e5e8eb;
  --soft: #f2f4f6;
  --brand: #3366ff;
  --brand-dark: #254edb;
  --navy: #171b26;
  --navy-2: #253047;
  --telegram: #3366ff;
  --salary: #dc2626;
  --accent: #3366ff;
  --shadow: 0 12px 28px rgba(15, 23, 42, .09);
}

@media (max-width: 760px) {
  body.mobile-apply-only {
    min-height: 100vh;
    padding-bottom: 0 !important;
    background: #f8fafc;
  }

  body.mobile-apply-only .site-header,
  body.mobile-apply-only .detail-hero,
  body.mobile-apply-only .detail-card,
  body.mobile-apply-only .site-footer,
  body.mobile-apply-only .mobile-site-tabs,
  body.mobile-apply-only .mobile-apply-bar,
  body.mobile-apply-only .mobile-install-prompt {
    display: none !important;
  }

  body.mobile-apply-only main {
    min-height: 100vh;
  }

  body.mobile-apply-only .detail-body {
    display: block;
    width: min(100% - 18px, 420px);
    margin: 0 auto;
    padding: 10px 0 16px;
  }

  body.mobile-apply-only .apply-form-panel {
    width: 100%;
    margin: 0;
    border-color: #dbe3e7;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
  }

  body.mobile-apply-only .apply-form-panel h2 {
    font-size: 21px;
  }
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", "Malgun Gothic", Arial, sans-serif;
  line-height: 1.5;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #f2f4f6 0, #ffffff 360px, var(--bg) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3,
p,
a,
button,
strong,
span,
label {
  word-break: keep-all;
  overflow-wrap: break-word;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 64px;
  padding: 0 28px;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand,
.site-nav,
.header-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
}

.site-nav {
  min-width: 0;
  justify-content: flex-start;
  gap: 20px;
  overflow-x: auto;
  color: #374151;
  font-size: 15px;
  font-weight: 800;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--brand);
}

.header-actions {
  min-width: 0;
  gap: 8px;
  justify-content: flex-end;
}

.language-select {
  width: auto;
  min-width: 118px;
  min-height: 38px;
  padding: 0 28px 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
}

.header-phone.auth-link {
  background: #eef2ff;
  color: var(--brand-dark);
}

.push-enable-button {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.member-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  max-width: 180px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flow-strip,
.section,
.jobs-page,
.detail-hero,
.detail-body,
.owner-shell,
.claim-shell,
.foreign-shell,
.site-footer {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.home-board {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: center;
  min-height: 330px;
  padding: 28px max(28px, calc((100vw - 1480px) / 2));
  border-bottom: 1px solid rgba(15, 23, 42, .08);
  background:
    linear-gradient(115deg, rgba(11, 19, 36, .96), rgba(18, 60, 105, .9) 58%, rgba(15, 118, 110, .8)),
    url("https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&w=1800&q=82") center / cover no-repeat;
  color: #fff;
}

.board-main,
.owner-box,
.filter-sidebar,
.job-list-panel,
.detail-hero,
.detail-card,
.apply-rail,
.apply-form-panel,
.owner-form,
.claim-card,
.foreign-guide-card,
.admin-section,
.admin-toolbar,
.login-panel,
.resource-board {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.board-main {
  position: relative;
  overflow: visible;
  padding: 20px 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
}

.owner-box {
  align-self: center;
  padding: 24px;
  border-color: rgba(245, 158, 11, .28);
  background:
    linear-gradient(180deg, #fff, #fffbeb);
}

.owner-box h2 {
  margin: 12px 0 12px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.24;
  font-weight: 950;
  text-wrap: balance;
}

.owner-box p {
  margin-bottom: 18px;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}

.board-main .eyebrow {
  color: #7dd3fc;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: 34px;
  line-height: 1.18;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: 0;
  text-wrap: balance;
}

.lead,
.resource-board p,
.filter-sidebar p,
.detail-card p,
.apply-rail p,
.owner-copy p,
.claim-copy p,
.foreign-shell p {
  color: var(--muted);
}

.board-main .lead {
  color: rgba(255, 255, 255, .82);
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
  gap: 8px;
  margin: 20px 0 14px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

textarea {
  min-height: 92px;
  resize: vertical;
}

label {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  color: #374151;
  font-weight: 800;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(15, 118, 110, .15);
  border-color: var(--brand);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 18px rgba(15, 118, 110, .18);
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-line {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.btn-telegram {
  background: var(--telegram);
  color: #fff;
}

.board-main .btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 22px rgba(51, 102, 255, .22);
}

.full {
  width: 100%;
}

.box-label,
.claim-token,
.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 8px;
  border-radius: 8px;
  background: #eef4ff;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
}

.ai-badge {
  background: #eef2ff;
  color: #3730a3;
  min-height: 34px;
  padding: 0 12px;
  font-size: 14px;
  letter-spacing: 0;
}

.owner-box .btn + .btn {
  margin-top: 10px;
}

.owner-box .btn {
  min-height: 44px;
  font-size: 16px;
}

.shortcut-row,
.filter-links,
.trust-list,
.foreign-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shortcut-row a,
.filter-links a,
.trust-list span,
.hero-language-row a,
.hero-language-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #374151;
  font-size: 14px;
  font-weight: 850;
}

.board-main .shortcut-row a,
.board-main .hero-language-row a,
.board-main .hero-language-row span {
  border-color: rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.hero-language-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.hero-language-row span {
  color: #bae6fd;
}

.flow-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
}

.flow-item {
  min-width: 0;
}

.flow-item .eyebrow {
  margin-bottom: 4px;
}

.flow-item strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.32;
}

.flow-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.flow-divider {
  width: 1px;
  height: 56px;
  background: var(--line);
}

.section {
  padding: 26px 0;
}

.section-head.inline,
.list-head,
.site-footer,
.claim-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.job-feed {
  display: grid;
  gap: 10px;
}

.job-row-card {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 120px 110px 170px 210px;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.job-row-card:hover {
  border-color: #c9d8ff;
}

.job-title-cell a span {
  display: block;
  margin-bottom: 3px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}

.job-title-cell a strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.28;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 7px;
  border-radius: 8px;
  background: var(--soft);
  color: #334155;
  font-size: 12px;
  font-weight: 900;
}

.tag-blue {
  background: #eff6ff;
  color: var(--telegram);
}

.tag-red {
  background: #fef2f2;
  color: var(--salary);
}

.tag-dark {
  background: #111827;
  color: #fff;
}

.job-fact span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.job-fact strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
}

.job-fact:first-of-type strong {
  color: var(--salary);
}

.job-action-cell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.resource-board {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: 18px;
  align-items: center;
  padding: 22px;
}

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

.resource-link-grid a {
  display: grid;
  gap: 4px;
  min-height: 82px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.resource-link-grid a:hover {
  border-color: rgba(15, 118, 110, .35);
  background: #f5f8ff;
}

.resource-link-grid strong {
  color: var(--ink);
  font-size: 15px;
}

.resource-link-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.jobs-page {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  width: min(1180px, calc(100% - 32px));
  padding: 24px 0 36px;
}

.filter-sidebar {
  position: sticky;
  top: 82px;
  padding: 18px;
}

.filter-sidebar h1 {
  font-size: 24px;
}

.filter-form {
  margin-top: 14px;
}

.filter-links {
  margin-top: 12px;
}

.job-list-panel {
  min-width: 0;
  padding: 18px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
  align-items: start;
  margin-top: 24px;
  padding: 22px;
}

.decision-facts,
.claim-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0 10px;
}

.decision-facts div,
.claim-facts div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.decision-facts .highlight {
  background: #fff7ed;
  border-color: #fed7aa;
}

.decision-facts span,
.claim-facts span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.decision-facts strong,
.claim-facts strong {
  display: block;
  margin-top: 4px;
  font-size: 17px;
  line-height: 1.2;
}

.decision-facts .highlight strong {
  color: var(--salary);
}

.apply-rail,
.detail-card,
.apply-form-panel,
.owner-form,
.claim-card,
.foreign-guide-card {
  padding: 18px;
}

.apply-rail {
  display: grid;
  gap: 8px;
}

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

.detail-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 16px;
  align-items: start;
  padding: 16px 0 36px;
}

.info-table {
  display: grid;
  margin: 0 0 20px;
  border-top: 1px solid var(--line);
}

.job-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.job-photo-card {
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.job-photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  background: var(--soft);
}

.job-photo-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.info-table div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.compact-table {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}

.compact-table div {
  grid-template-columns: 82px 1fr;
}

dt {
  color: var(--muted);
  font-weight: 850;
}

dd {
  margin: 0;
  font-weight: 800;
}

.owner-shell,
.claim-shell,
.foreign-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 20px;
  align-items: start;
  padding: 32px 0 40px;
}

.claim-shell {
  grid-template-columns: 320px minmax(0, 1fr);
}

.foreign-shell {
  grid-template-columns: minmax(0, 1fr) 280px;
}

.owner-copy,
.claim-copy {
  padding: 10px 0;
}

.owner-step-list,
.claim-mini-proof {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.owner-step-list div,
.claim-mini-proof span {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.owner-step-list span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: 8px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
}

.owner-step-list strong,
.owner-step-list em {
  display: block;
}

.owner-step-list em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.owner-advice-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: -2px 0 14px;
  padding: 11px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
  color: var(--ink);
}

.owner-advice-pill {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.owner-advice-card strong {
  display: block;
  font-size: 15px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.owner-advice-card p {
  margin: 4px 0 0;
  color: #475569;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.owner-ad-plan {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #f8fbff;
}

.owner-ad-plan-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.owner-ad-plan-head span,
.owner-ad-plan-head em,
.owner-ad-plan-card em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.owner-ad-plan-head strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.25;
}

.owner-ad-plan-head em {
  white-space: nowrap;
}

.owner-ad-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.owner-ad-plan-card {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.owner-ad-plan-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.owner-ad-plan-card:has(input:disabled) {
  cursor: not-allowed;
}

.owner-ad-plan-card:has(input:disabled) .owner-ad-plan-body {
  opacity: .72;
  background: #f8fafc;
}

.owner-ad-plan-body {
  display: grid;
  gap: 5px;
  min-height: 116px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .04);
}

.owner-ad-plan-card:has(input:checked) .owner-ad-plan-body {
  border-color: rgba(51, 102, 255, .55);
  background: #eef4ff;
  box-shadow: inset 0 0 0 1px rgba(51, 102, 255, .12);
}

.owner-ad-plan-card.is-premium:has(input:checked) .owner-ad-plan-body {
  border-color: rgba(180, 120, 28, .42);
  background: #fff8e1;
}

.owner-ad-plan-card strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.owner-slot-badge {
  justify-self: start;
  padding: 4px 7px;
  border: 1px solid rgba(180, 120, 28, .34);
  border-radius: 999px;
  background: #fff8e1;
  color: #8a5a12;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.1;
}

.owner-slot-badge.is-scarce {
  border-color: rgba(190, 18, 60, .22);
  background: #fff1f2;
  color: #be123c;
}

.owner-ad-plan-card small {
  color: #475569;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.owner-ad-plan-note {
  margin: 0;
  color: #475569;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.45;
}

.owner-photo-section {
  display: grid;
  gap: 8px;
  margin: 12px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.owner-photo-section h3 {
  margin: 0;
  font-size: 16px;
}

.photo-recommendation {
  display: grid;
  gap: 3px;
  padding: 9px 10px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #fff;
}

.photo-recommendation strong {
  color: var(--brand);
  font-size: 13px;
  line-height: 1.3;
}

.photo-recommendation span {
  color: #475569;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.image-upload-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 8px;
}

.file-card {
  display: grid;
  gap: 7px;
  min-width: 0;
  min-height: 116px;
  padding: 10px;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
}

.file-card.has-files {
  border-color: rgba(51, 102, 255, .55);
  background: #f8fbff;
  box-shadow: inset 0 0 0 1px rgba(51, 102, 255, .08);
}

.file-card input {
  width: 100%;
  min-width: 0;
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 12px;
}

.file-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.file-card em {
  justify-self: start;
  padding: 3px 7px;
  border-radius: 7px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.2;
}

.file-card.has-files em {
  background: #dbeafe;
  color: var(--brand-dark);
}

.form-title-row,
.claim-title-row {
  margin-bottom: 14px;
}

.form-title-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.form-title-row span {
  align-self: start;
  padding: 5px 9px;
  border-radius: 8px;
  background: #eef4ff;
  color: var(--brand);
  font-weight: 900;
}

.form-grid.two,
.checkbox-grid,
.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.owner-mobile-progress,
.owner-mobile-actions {
  display: none;
}

.owner-mobile-step {
  min-width: 0;
}

.owner-mobile-step > label:last-child,
.owner-mobile-field-grid label {
  margin-bottom: 0;
}

.owner-mobile-progress {
  gap: 8px;
  margin: -2px 0 14px;
  padding: 10px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #fff;
}

.owner-mobile-progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.owner-mobile-progress-top span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
}

.owner-mobile-progress-top strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.3;
}

.owner-progress-track {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.owner-progress-track span {
  display: block;
  width: 12.5%;
  height: 100%;
  border-radius: inherit;
  background: var(--brand);
  transition: width .18s ease;
}

.owner-mobile-actions {
  grid-template-columns: .8fr 1.2fr;
  gap: 8px;
  margin: 14px 0 10px;
}

.checkbox-grid {
  margin: 8px 0 12px;
}

.checkbox-grid label,
.check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  margin: 0;
  color: var(--muted);
}

.option-grid label {
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
}

.claim-action-grid,
.foreign-action-row {
  display: grid;
  grid-template-columns: 1.5fr .8fr .6fr;
  gap: 8px;
  margin-top: 14px;
}

.claim-submit-form {
  display: grid;
  margin: 0;
}

.claim-submit-form .btn {
  width: 100%;
}

.claim-token {
  color: var(--brand);
}

.claim-status-note {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #f4c430;
  border-radius: 8px;
  background: #fff8df;
  color: #473500;
}

.claim-status-note strong {
  font-size: .96rem;
}

.claim-status-note span {
  font-size: .88rem;
}

.foreign-guide-card {
  display: grid;
  gap: 8px;
}

.foreign-guide-card span {
  padding: 9px 11px;
  border-radius: 8px;
  background: var(--soft);
  font-weight: 850;
}

.site-footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  color: var(--ink);
  margin-right: 8px;
}

.offline-panel {
  max-width: 720px;
  padding: 44px 0 80px;
}

.offline-panel p {
  color: var(--muted);
}

.offline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-weight: 850;
}

.footer-company-info {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 14px;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.6;
}

.footer-company-info span {
  display: inline-flex;
}

.legal-page {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 64px;
}

.legal-page h1 {
  margin: 6px 0 18px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.2;
}

.legal-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
}

.legal-card h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 18px;
}

.legal-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 760;
  line-height: 1.75;
  white-space: pre-line;
}

.empty-state,
.success-box,
.form-error {
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  color: var(--brand);
  font-weight: 900;
}

.hidden {
  display: none !important;
}

.site-footer {
  display: grid !important;
  grid-template-columns: minmax(160px, .8fr) minmax(220px, 1fr) minmax(420px, 1.35fr);
  gap: 14px 28px;
  align-items: start;
}

.footer-brand-row {
  display: grid;
  gap: 6px;
}

.footer-brand-row strong {
  margin-right: 0;
}

.footer-links {
  justify-content: flex-start;
  align-content: start;
  gap: 8px 14px;
}

.footer-company-info {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 4px 12px;
  margin-top: 0;
  text-align: left;
}

.footer-company-info span {
  display: block;
}

.footer-company-info span:nth-child(3) {
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .site-footer {
    grid-template-columns: 1fr !important;
  }

  .footer-company-info {
    grid-template-columns: 1fr;
  }

  .footer-company-info span:nth-child(3) {
    grid-column: auto;
  }
}

.mobile-apply-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  background: #fff;
}

.mobile-apply-bar a {
  display: grid;
  place-items: center;
  min-height: 54px;
  font-weight: 900;
}

.mobile-apply-bar a:nth-child(2) {
  background: var(--telegram);
  color: #fff;
}

.mobile-install-prompt {
  display: none;
}

.mobile-install-prompt[hidden] {
  display: none !important;
}

.mobile-install-copy,
.mobile-install-actions {
  min-width: 0;
}

.mobile-install-copy {
  display: grid;
  gap: 2px;
}

.mobile-install-copy strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
}

.mobile-install-copy span,
.mobile-install-copy p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 780;
  line-height: 1.35;
}

.mobile-install-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mobile-install-actions .btn {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 12px;
  white-space: nowrap;
}

.mobile-install-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #64748b;
  font-size: 20px;
  line-height: 1;
}

.admin-login-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.login-panel {
  width: min(420px, 100%);
  padding: 26px;
}

.auth-shell {
  width: min(1040px, calc(100% - 32px));
  margin: 34px auto 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 22px;
  align-items: start;
}

.auth-copy {
  padding: 24px 0;
}

.auth-copy h1 {
  max-width: 620px;
  margin-bottom: 12px;
}

.auth-copy p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 760;
}

.auth-role-tabs,
.auth-language-grid,
.auth-step-actions {
  display: grid;
  gap: 8px;
}

.auth-role-tabs {
  grid-template-columns: repeat(2, minmax(0, 150px));
  margin-top: 18px;
}

.auth-role-tabs a,
.auth-language-grid a {
  display: grid;
  place-items: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-weight: 950;
}

.auth-role-tabs a.is-active,
.auth-language-grid a.is-active {
  border-color: rgba(51, 102, 255, .3);
  background: #eef2ff;
  color: var(--brand-dark);
}

.auth-form {
  padding: 24px;
}

.auth-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 20px;
}

.auth-progress span {
  height: 5px;
  border-radius: 999px;
  background: var(--soft);
}

.auth-progress span.is-active {
  background: var(--brand);
}

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

.auth-step[hidden] {
  display: none;
}

.auth-question {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.3;
  font-weight: 950;
}

.auth-help {
  margin: -4px 0 4px;
  color: var(--muted);
  font-weight: 760;
}

.field-hint {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.optional-label {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  margin-left: 4px;
  padding: 0 6px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  vertical-align: middle;
}

.site-apply-form {
  display: grid;
  gap: 12px;
}

.apply-form-panel h2 {
  margin-bottom: 12px;
}

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

.apply-field,
.site-apply-form .check-label {
  min-width: 0;
  margin: 0;
}

.apply-field {
  gap: 5px;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.apply-field.is-full,
.site-apply-form .check-label.is-full {
  grid-column: 1 / -1;
}

.apply-label-row {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.apply-field input,
.apply-field select,
.apply-field textarea {
  min-height: 42px;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 750;
}

.apply-field textarea {
  min-height: 82px;
  line-height: 1.45;
}

.apply-field .field-hint {
  margin: -1px 0 0;
  font-size: 11px;
  line-height: 1.3;
}

.site-apply-form .optional-label {
  min-height: 18px;
  padding: 0 5px;
  font-size: 10px;
}

.site-apply-form > .btn {
  min-height: 48px;
  margin-top: 2px;
  font-size: 15px;
}

.auth-language-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-step-actions {
  margin-top: 4px;
}

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

.auth-secondary-link {
  display: block;
  margin-top: 14px;
  color: var(--brand-dark);
  text-align: center;
  font-weight: 900;
}

.sr-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.admin-body {
  overflow-x: hidden;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 28px;
  background: var(--brand-dark);
  color: #fff;
}

.admin-header .eyebrow {
  color: #c9d8ff;
}

.admin-header h1 {
  margin: 0;
  font-size: 24px;
}

.admin-header nav {
  display: flex;
  gap: 14px;
  font-weight: 850;
}

.admin-main {
  width: calc(100% - 32px);
  max-width: none;
  margin: 22px auto 60px;
}

.admin-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.admin-sidebar {
  position: sticky;
  top: 82px;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.admin-sidebar button {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #374151;
  cursor: pointer;
  font-weight: 900;
  text-align: left;
}

.admin-sidebar button.active,
.admin-sidebar button:hover {
  border-color: rgba(15, 118, 110, .22);
  background: #eef4ff;
  color: var(--brand-dark);
}

.admin-content {
  min-width: 0;
}

.admin-panel {
  display: none;
}

.admin-panel.active {
  display: block;
}

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

.metric {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.metric span {
  display: block;
  color: var(--muted);
  font-weight: 850;
}

.metric strong {
  display: block;
  margin-top: 4px;
  font-size: 26px;
}

.admin-toolbar,
.admin-section {
  min-width: 0;
  margin-top: 16px;
  padding: 18px;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-ops-hub {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.ops-hub-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.ops-hub-head h2 {
  margin: 0;
}

.ops-hub-head p:last-child {
  margin: 4px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.admin-action-result {
  display: none;
  margin-bottom: 12px;
  padding: 11px 12px;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  background: #f8fafc;
  color: #334155;
  font-weight: 900;
  line-height: 1.45;
}

.admin-action-result.has-message {
  display: block;
}

.admin-action-result.is-success {
  border-color: rgba(15, 118, 110, .24);
  background: #f0fdfa;
  color: #0f766e;
}

.admin-action-result.is-error {
  border-color: rgba(185, 28, 28, .24);
  background: #fff7ed;
  color: #9a3412;
}

.admin-action-result.is-progress {
  border-color: rgba(51, 102, 255, .22);
  background: #eef4ff;
  color: var(--brand-dark);
}

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

.ops-status-card {
  min-width: 0;
  padding: 12px;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  background: #f8fafc;
}

.ops-status-card.is-ok {
  border-color: rgba(15, 118, 110, .24);
  background: #f0fdfa;
}

.ops-status-card.is-warn {
  border-color: rgba(202, 138, 4, .24);
  background: #fffbeb;
}

.ops-status-card.is-danger {
  border-color: rgba(185, 28, 28, .22);
  background: #fff7ed;
}

.ops-status-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.ops-status-card strong {
  display: block;
  margin-top: 5px;
  font-size: 22px;
  line-height: 1.15;
}

.ops-status-card small {
  display: block;
  margin-top: 7px;
  color: #475569;
  font-size: 12px;
  line-height: 1.35;
}

.ops-quick-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.ops-quick-grid button {
  display: grid;
  gap: 4px;
  min-height: 74px;
  padding: 10px;
  border: 1px solid rgba(15, 118, 110, .18);
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
  text-align: left;
}

.ops-quick-grid button:hover {
  border-color: rgba(15, 118, 110, .34);
  background: #f0fdfa;
}

.ops-quick-grid strong {
  font-size: 14px;
}

.ops-quick-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.ops-todo-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.ops-todo-item {
  padding: 10px;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  background: #f8fafc;
}

.ops-todo-item strong {
  display: block;
  font-size: 14px;
}

.ops-todo-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.crawler-control-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0 14px;
  padding: 12px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #f8fbff;
}

.crawler-control-bar strong,
.crawler-control-bar span {
  display: block;
}

.crawler-control-bar span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.delivery-ops-box {
  margin: 12px 0 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

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

.delivery-ops-head strong,
.delivery-ops-head span {
  display: block;
}

.delivery-ops-head span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.delivery-test-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.delivery-test-actions .btn {
  min-height: 32px;
  padding: 0 10px;
  font-size: 13px;
}

.queued-send-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.queued-send-actions .btn {
  min-height: 34px;
  padding: 0 10px;
  font-size: 13px;
}

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

.delivery-status-item {
  min-width: 0;
  padding: 10px;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  background: #f8fafc;
}

.delivery-status-item.is-ready {
  border-color: rgba(15, 118, 110, .28);
  background: #f0fdfa;
}

.delivery-status-item.is-missing {
  border-color: rgba(185, 28, 28, .2);
  background: #fff7ed;
}

.delivery-status-item strong {
  display: block;
  font-size: 14px;
}

.delivery-status-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.delivery-status-item small {
  display: block;
  margin-top: 6px;
  color: #475569;
  font-size: 12px;
  line-height: 1.35;
}

.delivery-test-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.delivery-test-panel label {
  display: grid;
  gap: 5px;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
}

.delivery-test-panel label.wide {
  grid-column: span 2;
}

.delivery-test-panel input {
  width: 100%;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  color: #111827;
  font: inherit;
  font-size: 13px;
}

.delivery-inline-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.delivery-inline-actions .btn {
  min-height: 34px;
  padding: 0 10px;
  font-size: 13px;
}

.delivery-settings-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 14px;
}

.delivery-config-panel {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.delivery-config-panel h3 {
  margin: 0 0 10px;
  font-size: 15px;
}

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

.delivery-field-grid label {
  display: grid;
  gap: 5px;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
}

.delivery-field-grid label.wide {
  grid-column: 1 / -1;
}

.delivery-field-grid input,
.delivery-field-grid select {
  width: 100%;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  font: inherit;
  font-size: 13px;
}

.delivery-settings-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0 0;
}

.tab-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tab-row button {
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-weight: 850;
}

.tab-row button.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.category-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: -4px 0 14px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.category-filter-row button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  background: #fff;
  color: #334155;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.category-filter-row small {
  margin-left: 4px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.category-filter-break {
  align-self: center;
  padding: 0 4px;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.category-filter-row button.active {
  border-color: rgba(51, 102, 255, .28);
  background: #eef2ff;
  color: var(--brand-dark);
}

.job-grade-admin {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.job-grade-admin[hidden] {
  display: none;
}

.job-grade-summary {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.job-grade-guide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(51, 102, 255, .18);
  border-radius: 8px;
  background: #f8fbff;
}

.job-grade-guide strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.job-grade-guide span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.job-grade-card {
  display: grid;
  gap: 4px;
  min-height: 68px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.job-grade-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.job-grade-card strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.1;
}

.job-grade-card.is-premium {
  border-color: rgba(214, 168, 79, .5);
  background: #fffaf0;
}

.job-grade-card.is-recommended {
  border-color: rgba(15, 118, 110, .28);
  background: #f6fffb;
}

.job-grade-filter-row {
  margin: 0;
}

.application-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 12px;
}

.application-summary-card {
  display: grid;
  gap: 4px;
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.application-summary-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.application-summary-card strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.1;
}

.application-summary-card.is-warn {
  border-color: rgba(214, 168, 79, .38);
  background: #fffaf0;
}

.compact-tabs button {
  font-size: 13px;
}

.table-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.table-title-row h3 {
  margin: 0;
  font-size: 18px;
}

.table-title-row span {
  color: var(--muted);
  font-weight: 900;
}

.table-tools {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px auto auto;
  gap: 8px;
  align-items: center;
  margin: -2px 0 10px;
}

.table-tools input,
.table-tools select {
  width: 100%;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  font: inherit;
  font-size: 13px;
}

.table-tools .btn {
  min-height: 36px;
  padding: 0 10px;
  font-size: 13px;
}

.table-wrap {
  max-height: min(680px, calc(100vh - 330px));
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.tall-table {
  max-height: min(760px, calc(100vh - 285px));
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.grade-control-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(88px, 1fr));
  gap: 6px;
  min-width: 0;
}

.grade-control-stack .table-action {
  width: 100%;
  padding: 0 8px;
  font-size: 12px;
  white-space: nowrap;
}

.table-action {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(15, 118, 110, .22);
  border-radius: 8px;
  background: #eef4ff;
  color: var(--brand-dark);
  cursor: pointer;
  font-weight: 900;
}

.table-action.is-premium {
  border-color: rgba(180, 120, 28, .34);
  background: #fff8e1;
  color: #8a5a12;
}

.table-action.is-recommended {
  border-color: rgba(15, 118, 110, .28);
  background: #ecfdf5;
  color: #0f766e;
}

.table-action.is-muted {
  border-color: #dbe3ee;
  background: #fff;
  color: #475569;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 8px;
  border: 1px solid #dbe3ee;
  border-radius: 999px;
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.status-pill.is-warn {
  border-color: rgba(214, 168, 79, .42);
  background: #fff8e1;
  color: #8a5a12;
}

.status-pill.is-ok {
  border-color: rgba(15, 118, 110, .24);
  background: #ecfdf5;
  color: #0f766e;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, .52);
}

.admin-modal.open {
  display: flex;
}

.admin-modal-panel {
  width: min(780px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .26);
}

.modal-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.modal-title-row h2 {
  margin: 0;
}

.modal-close {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 24px;
  font-weight: 900;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}

.editor-sections {
  display: grid;
  gap: 14px;
}

.editor-section {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.editor-sections .editor-section:first-child,
.modal-title-row + .editor-section {
  padding-top: 0;
  border-top: 0;
}

.editor-section h3 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 15px;
}

.form-grid.two .span-two {
  grid-column: 1 / -1;
}

.editor-check {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
}

.admin-table {
  table-layout: fixed;
}

th,
td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.45;
  word-break: keep-all;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f8fafc;
  white-space: nowrap;
}

.admin-table th,
.admin-table td {
  overflow: hidden;
}

.admin-table .nowrap {
  white-space: nowrap;
  text-overflow: ellipsis;
}

.cell-main,
.cell-title,
.cell-sub {
  min-width: 0;
}

.cell-main,
.cell-title,
.cell-sub {
  display: block;
}

.cell-title {
  display: -webkit-box;
  overflow: hidden;
  font-weight: 900;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: break-word;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.cell-sub {
  margin-top: 3px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.table-link {
  color: var(--brand-dark);
  font-weight: 900;
}

code {
  padding: 2px 5px;
  border-radius: 6px;
  background: var(--soft);
}

.small-muted {
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1120px) {
  .job-row-card {
    grid-template-columns: minmax(0, 1fr) 130px 130px;
  }

  .job-fact:nth-of-type(3),
  .job-action-cell {
    grid-column: 1 / -1;
  }

  .job-action-cell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-board,
  .jobs-page,
  .detail-hero,
  .detail-body,
  .owner-shell,
  .claim-shell,
  .foreign-shell,
  .resource-board {
    grid-template-columns: 1fr;
  }

  .filter-sidebar {
    position: static;
  }

  .decision-facts,
  .claim-facts,
  .metric-grid,
  .owner-ad-plan-grid,
  .ops-status-grid,
  .ops-quick-grid,
  .ops-todo-list,
  .delivery-status-grid,
  .delivery-settings-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .job-grade-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ops-hub-head,
  .crawler-control-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .table-tools,
  .delivery-test-panel {
    grid-template-columns: 1fr;
  }

  .delivery-test-panel label.wide {
    grid-column: auto;
  }

  .delivery-ops-head {
    align-items: stretch;
    flex-direction: column;
  }

  .delivery-test-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .owner-ad-plan-grid,
  .ops-status-grid,
  .ops-quick-grid,
  .ops-todo-list,
  .delivery-status-grid,
  .delivery-settings-board,
  .delivery-field-grid {
    grid-template-columns: 1fr;
  }

  .job-grade-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .delivery-settings-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .owner-ad-plan-head {
    flex-direction: column;
  }

  .owner-ad-plan-head em {
    white-space: normal;
  }
}

@media (max-width: 680px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 10px;
    min-height: auto;
    padding: 10px 14px;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 2px;
    font-size: 14px;
  }

  .header-phone {
    display: none;
  }

  .language-select {
    min-width: 106px;
    font-size: 13px;
  }

  .flow-strip,
  .section,
  .jobs-page,
  .detail-hero,
  .detail-body,
  .owner-shell,
  .claim-shell,
  .foreign-shell,
  .site-footer,
  .admin-main {
    width: min(100% - 22px, 1160px);
  }

  .home-board {
    min-height: 0;
    padding: 18px 11px 16px;
  }

  .board-main,
  .owner-box,
  .filter-sidebar,
  .job-list-panel,
  .detail-hero,
  .detail-card,
  .apply-rail,
  .apply-form-panel,
  .owner-form,
  .claim-card,
  .foreign-guide-card,
  .resource-board {
    padding: 16px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 21px;
  }

  .search-panel,
  .job-row-card,
  .image-upload-grid,
  .job-photo-grid,
  .decision-facts,
  .claim-facts,
  .form-grid.two,
  .checkbox-grid,
  .option-grid,
  .claim-action-grid,
  .foreign-action-row,
  .resource-link-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .owner-form.is-mobile-wizard .owner-mobile-progress {
    display: grid;
  }

  .owner-form.is-mobile-wizard .owner-mobile-actions {
    display: grid;
  }

  .owner-form.is-mobile-wizard [hidden] {
    display: none !important;
  }

  .owner-form.is-mobile-wizard .owner-mobile-field-grid {
    display: block;
  }

  .owner-form.is-mobile-wizard .owner-mobile-step {
    margin-bottom: 0;
  }

  .owner-form.is-mobile-wizard .checkbox-grid.owner-mobile-step {
    grid-template-columns: 1fr;
  }

  .owner-form.is-mobile-wizard .owner-photo-section {
    margin: 0;
  }

  .owner-form.is-mobile-wizard .big-cta {
    margin-top: 10px;
  }

  body.owner-form-page .mobile-site-tabs {
    display: none;
  }

  body.owner-form-page {
    padding-bottom: 24px;
  }

  .flow-strip {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }

  .flow-divider {
    width: 100%;
    height: 1px;
  }

  .job-action-cell,
  .secondary-actions {
    grid-template-columns: 1fr;
  }

  .section-head.inline,
  .list-head,
  .site-footer,
  .claim-title-row,
  .admin-toolbar,
  .crawler-control-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .info-table div,
  .compact-table div {
    grid-template-columns: 88px 1fr;
  }

  .mobile-apply-bar {
    display: grid;
  }

  body {
    padding-bottom: 54px;
  }
}

/* HotelJob portal refresh */
body {
  background:
    linear-gradient(180deg, #f8fafc 0, #f2f4f6 420px, #f7f8fa 100%);
}

.site-header {
  min-height: 68px;
  background: rgba(255, 255, 255, .96);
}

.brand-mark {
  background: var(--navy);
}

.brand-name {
  letter-spacing: 0;
}

.brand-sub {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 7px;
  border-radius: 6px;
  background: #eff6ff;
  color: var(--telegram);
  font-size: 11px;
  font-weight: 950;
}

.site-nav {
  gap: 18px;
}

.site-nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

.portal-hero.home-board {
  grid-template-columns: minmax(0, 1fr) 430px;
  min-height: 460px;
  gap: 28px;
  align-items: end;
  padding: 58px max(32px, calc((100vw - 1280px) / 2)) 44px;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, .88), rgba(37, 78, 219, .64) 50%, rgba(51, 102, 255, .34)),
    url("https://images.unsplash.com/photo-1551882547-ff40c63fe5fa?auto=format&fit=crop&w=1800&q=82") center / cover no-repeat;
}

.worklink-hero.home-board {
  background:
    linear-gradient(90deg, rgba(17, 24, 39, .9), rgba(37, 78, 219, .66) 50%, rgba(51, 102, 255, .36)),
    url("https://upload.wikimedia.org/wikipedia/commons/7/79/Streets_of_Seoul_%28Unsplash%29.jpg") center / cover no-repeat;
}

.portal-hero .board-main {
  max-width: 760px;
  padding: 0;
}

.portal-hero h1 {
  margin-bottom: 12px;
  font-size: 46px;
  line-height: 1.1;
}

.portal-hero .lead {
  max-width: 700px;
  color: rgba(255, 255, 255, .9);
  font-size: 19px;
  font-weight: 750;
}

.portal-search.search-panel {
  max-width: 780px;
  margin: 24px 0 16px;
  padding: 8px;
  border: 0;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 18px 44px rgba(15, 23, 42, .22);
}

.portal-search input {
  min-height: 48px;
  border-color: transparent;
  background: #f8fafc;
}

.portal-search .btn {
  min-height: 48px;
  padding: 0 24px;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 8px;
}

.hero-stat-grid span {
  display: grid;
  gap: 2px;
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  background: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  font-weight: 850;
}

.hero-stat-grid strong {
  color: #fff;
  font-size: 19px;
}

.hero-gateway-grid {
  display: grid;
  gap: 12px;
  align-self: end;
}

.gateway-card {
  display: grid;
  gap: 9px;
  min-height: 184px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  box-shadow: 0 20px 54px rgba(15, 23, 42, .22);
}

.gateway-card:hover {
  transform: translateY(-2px);
}

.gateway-card h2 {
  margin: 0;
  font-size: 23px;
}

.gateway-card p {
  margin: 0;
  color: #4b5563;
  font-weight: 750;
}

.gateway-card > strong {
  color: var(--brand-dark);
  font-size: 15px;
}

.employer-card {
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.category-band {
  position: relative;
  z-index: 2;
  width: min(1160px, calc(100% - 32px));
  margin: -18px auto 18px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, .1);
}

.category-band a {
  display: grid;
  gap: 4px;
  min-height: 76px;
  padding: 14px 16px;
  border-right: 1px solid var(--line);
}

.category-band a:last-child {
  border-right: 0;
}

.category-band a:hover {
  background: #f5f8ff;
}

.category-band span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.category-band strong {
  color: var(--ink);
  font-size: 16px;
}

.featured-board {
  padding-top: 22px;
}

.ad-empty-state,
.job-section-label {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.job-section-label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.job-section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0 8px;
  padding: 10px 12px;
  background: #f8fafc;
}

.job-section-label strong {
  font-size: 17px;
}

.ad-empty-state {
  display: grid;
  gap: 5px;
  padding: 18px;
  color: #334155;
}

.ad-empty-state strong {
  font-size: 17px;
}

.ad-empty-state span {
  color: var(--muted);
  font-weight: 800;
}

.job-table-head,
.job-row-card {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(96px, .7fr) minmax(86px, .55fr) minmax(90px, .55fr) minmax(108px, .65fr) minmax(154px, .9fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.job-table-head {
  margin-bottom: 8px;
  padding: 0 16px;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.job-row-card {
  width: 100%;
  min-height: 112px;
  padding: 16px;
  border-color: #e2e8f0;
  border-radius: 6px;
  box-shadow: none;
}

.job-row-card[data-card-href] {
  cursor: pointer;
}

.job-row-card[data-card-href]:focus-visible {
  outline: 3px solid rgba(51, 102, 255, .34);
  outline-offset: 3px;
}

.job-tier-premium {
  position: relative;
  min-height: 132px;
  border: 2px solid #d6a84f;
  background: #fffaf0;
  box-shadow: 0 12px 28px rgba(120, 72, 16, .1);
}

.job-tier-premium::before {
  content: "";
  position: absolute;
  inset: 10px auto 10px 10px;
  width: 4px;
  border-radius: 8px;
  background: #c0841a;
}

.job-tier-premium .job-title-cell {
  padding-left: 8px;
}

.job-tier-premium .job-title-cell a span {
  color: #8a5a12;
  font-weight: 950;
}

.job-tier-premium .job-title-cell a strong {
  font-size: 22px;
  font-weight: 950;
}

.job-tier-premium .job-company-cell strong,
.job-tier-premium .job-fact strong {
  font-weight: 950;
}

@media (min-width: 901px) {
  .job-tier-premium {
    height: 212px;
    min-height: 212px;
    overflow: hidden;
    align-items: stretch;
  }

  .job-tier-premium .job-title-cell,
  .job-tier-premium .job-company-cell,
  .job-tier-premium .job-fact,
  .job-tier-premium .job-action-cell {
    align-self: stretch;
    align-content: center;
  }

  .job-tier-premium .job-title-cell {
    display: grid;
  }

  .job-tier-premium .tag-row,
  .job-tier-premium .condition-mini-row,
  .job-tier-premium .premium-mini-row {
    flex-wrap: nowrap;
    overflow: hidden;
    max-width: 100%;
  }

  .job-tier-premium .tag,
  .job-tier-premium .condition-mini-row span,
  .job-tier-premium .premium-mini-row span {
    flex: 0 0 auto;
    max-width: 138px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .job-tier-premium .job-title-cell a strong {
    min-height: 56px;
    -webkit-line-clamp: 2;
  }

  .job-tier-premium .job-company-cell strong,
  .job-tier-premium .job-fact strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .job-tier-premium .job-action-cell {
    align-items: center;
  }
}

.job-tier-recommended {
  border-color: rgba(15, 118, 110, .32);
  background: #f6fffb;
}

.job-tier-recommended .job-title-cell a span {
  color: #0f766e;
  font-weight: 920;
}

.job-tier-recommended .job-title-cell a strong {
  font-weight: 900;
}

.job-tier-general {
  background: #fff;
}

.job-tier-basic {
  grid-template-columns: minmax(0, 1fr) 92px;
  min-height: 76px;
  padding: 12px 14px;
  border-color: #e5e7eb;
  background: #fff;
}

.job-tier-general .job-title-cell a span {
  color: #64748b;
}

.job-tier-general .job-title-cell a strong {
  font-size: 16px;
  font-weight: 760;
  -webkit-line-clamp: 1;
}

.job-tier-general .job-company-cell em {
  display: none;
}

.job-tier-basic .job-action-cell {
  grid-template-columns: 1fr;
}

.job-tier-basic .job-action-cell .btn {
  min-height: 34px;
}

.job-row-card:hover {
  border-color: rgba(51, 102, 255, .38);
  background: #fbfdff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .06);
}

.job-title-cell,
.job-company-cell,
.job-fact,
.job-action-cell {
  min-width: 0;
}

.job-company-cell {
  display: grid;
  gap: 3px;
}

.job-company-cell span,
.job-company-cell em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.job-company-cell strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
}

.job-title-cell a strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 18px;
  line-height: 1.28;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.job-title-cell a span {
  color: var(--brand);
}

.job-fact strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
}

.salary-fact strong {
  color: var(--salary);
}

.job-action-cell {
  grid-template-columns: 1fr;
}

.job-action-cell .btn {
  min-width: 0;
  min-height: 38px;
  padding: 0 8px;
  font-size: 13px;
  white-space: nowrap;
}

.jobs-title-band {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 0;
}

.jobs-search-hero {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.jobs-hero-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.jobs-title-band h1 {
  margin: 0;
  font-size: 32px;
  line-height: 1.16;
}

.jobs-hero-lead {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 760;
}

.jobs-search-bar {
  display: grid;
  grid-template-columns: minmax(180px, 1.15fr) minmax(150px, .9fr) minmax(150px, .75fr) minmax(160px, .85fr) auto;
  gap: 8px;
  align-items: end;
  padding: 10px;
  border: 1px solid #dbe3e7;
  border-radius: 8px;
  background: #f8fafc;
}

.jobs-search-bar label {
  margin: 0;
}

.jobs-search-bar input,
.jobs-search-bar select,
.jobs-search-bar .btn {
  min-height: 50px;
}

.jobs-search-bar input,
.jobs-search-bar select {
  border-color: #cbd5e1;
  font-weight: 750;
}

.jobs-search-bar .btn {
  min-width: 110px;
}

.jobs-hot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jobs-hot-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid #dbe3e7;
  border-radius: 8px;
  background: #fff;
  color: #334155;
  font-size: 14px;
  font-weight: 900;
}

.jobs-hot-links a:hover {
  border-color: rgba(51, 102, 255, .32);
  background: #f5f8ff;
  color: var(--brand-dark);
}

.jobs-title-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.jobs-title-actions .btn {
  min-height: 38px;
}

.filter-sidebar h2 {
  margin-bottom: 12px;
  font-size: 22px;
}

.job-list-panel,
.filter-sidebar {
  box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.filter-links a {
  background: #f8fafc;
}

.info-split.resource-board {
  background: linear-gradient(180deg, #fff, #f8fafc);
}

@media (max-width: 1120px) {
  .job-table-head {
    display: none;
  }

  .job-row-card {
    grid-template-columns: minmax(0, 1fr) 130px 130px;
  }

  .job-company-cell {
    grid-column: 1 / -1;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
  }

  .job-title-cell {
    grid-column: 1 / -1;
  }

  .job-action-cell {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .portal-hero.home-board {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 36px 18px 28px;
  }

  .hero-gateway-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-band {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .jobs-title-band {
    width: min(100% - 32px, 1180px);
  }

  .jobs-hero-top,
  .jobs-search-bar {
    grid-template-columns: 1fr 1fr;
  }

  .jobs-hero-top {
    display: grid;
  }

  .jobs-title-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .site-nav {
    gap: 10px;
  }

  .portal-hero h1 {
    font-size: 32px;
  }

  .portal-hero .lead {
    font-size: 16px;
  }

  .portal-search.search-panel,
  .jobs-search-bar,
  .hero-stat-grid,
  .hero-gateway-grid,
  .category-band,
  .job-row-card,
  .job-company-cell,
  .job-action-cell {
    grid-template-columns: 1fr;
  }

  .hero-stat-grid span {
    min-height: 52px;
  }

  .gateway-card {
    min-height: 0;
    padding: 18px;
  }

  .category-band {
    margin-top: 10px;
  }

  .category-band a {
    min-height: 66px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .category-band a:last-child {
    border-bottom: 0;
  }

  .job-company-cell {
    align-items: start;
  }

  .jobs-title-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .jobs-title-actions .btn {
    width: 100%;
    min-width: 0;
    padding: 0 10px;
  }
}

/* Condition-first hospitality UX */
.header-resume {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.condition-hero.portal-hero.home-board {
  min-height: 520px;
}

.condition-hero .board-main {
  max-width: 850px;
}

.condition-hero h1 {
  max-width: 760px;
  font-size: 48px;
}

.condition-search.search-panel {
  grid-template-columns: minmax(150px, .8fr) minmax(170px, 1fr) minmax(170px, 1fr) auto;
  align-items: end;
  max-width: 920px;
  gap: 6px;
}

.condition-search label {
  gap: 5px;
  margin: 0;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
}

.condition-search label span {
  padding-left: 4px;
}

.condition-search select,
.condition-search input {
  min-height: 48px;
}

.popular-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.language-landing-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 6px;
}

.language-landing-row a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.popular-chip-row a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.hero-action-stack {
  display: grid;
  gap: 10px;
}

.primary-action-card {
  display: grid;
  gap: 6px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  background: rgba(255, 255, 255, .93);
  color: var(--ink);
  box-shadow: 0 18px 48px rgba(15, 23, 42, .2);
}

.primary-action-card:hover {
  transform: translateY(-2px);
}

.primary-action-card span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 950;
}

.primary-action-card strong {
  font-size: 20px;
  line-height: 1.25;
}

.primary-action-card p {
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  font-weight: 760;
}

.worker-first-guide {
  width: min(1160px, calc(100% - 32px));
  margin: 16px auto 18px;
}

.worker-first-head {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.worker-first-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.2;
}

.worker-first-head p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 760;
}

.worker-first-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.worker-step-card {
  display: grid;
  gap: 8px;
  min-height: 210px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.worker-step-card:hover {
  border-color: #bfdbfe;
  background: #f8fbff;
  transform: translateY(-2px);
}

.worker-step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #e0f2fe;
  color: #075985;
  font-size: 13px;
  font-weight: 950;
}

.worker-step-card strong {
  font-size: 19px;
  line-height: 1.25;
}

.worker-step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

.worker-step-card em {
  align-self: end;
  color: var(--brand-dark);
  font-style: normal;
  font-size: 14px;
  font-weight: 950;
}

.condition-categories {
  margin: 16px auto 28px;
}

.condition-feed .job-row-card {
  min-height: 112px;
}

.condition-mini-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.condition-mini-row span {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 0 7px;
  border-radius: 6px;
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
  font-weight: 900;
}

.premium-mini-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.premium-mini-row span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid rgba(214, 168, 79, .38);
  border-radius: 6px;
  background: #fff;
  color: #6b4a10;
  font-size: 12px;
  font-weight: 900;
}

.condition-lane,
.split-service-board,
.resume-shell,
.talent-shell,
.owner-center-grid,
.owner-resource-layout {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.condition-lane {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.condition-lane a,
.service-panel,
.talent-card,
.talent-aside,
.owner-center-hero,
.owner-resource-hero,
.center-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.condition-lane a {
  display: grid;
  gap: 6px;
  min-height: 112px;
  padding: 18px;
}

.condition-lane span,
.center-card span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 950;
}

.condition-lane strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.3;
}

.work-category-band a {
  min-height: 88px;
}

.work-category-band strong {
  font-size: 15px;
}

.split-service-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding-bottom: 36px;
}

.service-panel {
  padding: 24px;
}

.service-panel p {
  color: var(--muted);
  font-weight: 720;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.resume-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 22px;
  align-items: start;
  padding: 34px 0 44px;
}

.resume-copy {
  padding-top: 12px;
}

.resume-copy h1 {
  max-width: 680px;
}

.resume-copy p {
  max-width: 660px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 730;
}

.resume-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 20px;
}

.resume-proof-grid span {
  min-height: 68px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 900;
}

.resume-form {
  padding: 22px;
}

.worker-help-hero {
  width: min(1160px, calc(100% - 32px));
  margin: 26px auto 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(15, 23, 42, .94), rgba(37, 99, 235, .88), rgba(22, 163, 74, .74)),
    url("https://images.unsplash.com/photo-1538485399081-7c8ab528a3a6?auto=format&fit=crop&w=1600&q=82") center / cover no-repeat;
  color: #fff;
  box-shadow: var(--shadow);
}

.worker-help-hero .eyebrow {
  color: #bfdbfe;
}

.worker-help-hero h1 {
  max-width: 760px;
  margin-bottom: 10px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
}

.worker-help-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, .9);
  font-size: 18px;
  font-weight: 760;
}

.worker-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.worker-contact-grid,
.worker-help-grid {
  display: grid;
  gap: 12px;
}

.worker-contact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.worker-help-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.worker-contact-card,
.worker-help-card {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.worker-contact-card {
  min-height: 150px;
  padding: 18px;
}

.worker-help-card {
  min-height: 170px;
  padding: 20px;
}

.worker-contact-card span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 950;
}

.worker-contact-card strong {
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
}

.worker-contact-card p,
.worker-help-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 760;
}

.worker-help-card h3 {
  margin: 0;
  font-size: 20px;
}

.talent-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 16px;
  align-items: start;
  padding: 22px 0 42px;
}

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

.talent-card,
.talent-aside {
  padding: 18px;
}

.talent-card h2 {
  margin-top: 10px;
  font-size: 21px;
}

.talent-card p,
.talent-aside p {
  color: var(--muted);
  font-weight: 750;
}

.talent-empty {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  color: var(--ink);
}

.owner-center-hero,
.owner-resource-hero,
.owner-resource-quick {
  width: min(1160px, calc(100% - 32px));
  margin: 26px auto 14px;
  padding: 26px;
}

.owner-center-hero p:not(.eyebrow),
.owner-resource-hero p:not(.eyebrow),
.owner-resource-quick p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 740;
}

.owner-center-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: 42px;
}

.center-card {
  display: grid;
  gap: 8px;
  min-height: 210px;
  padding: 20px;
}

.center-card h2 {
  margin: 0;
  font-size: 22px;
}

.center-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 730;
}

.owner-resource-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.owner-resource-sources span,
.owner-resource-sources a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 9px;
  border-radius: 8px;
  background: #eef2ff;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
}

.owner-resource-sources a:hover {
  background: #dbeafe;
}

.owner-resource-quick {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-top: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
}

.owner-resource-quick h2 {
  margin: 0;
  font-size: 25px;
}

.owner-quick-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.owner-quick-list span {
  min-height: 74px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.owner-tourism-feed {
  width: min(1160px, calc(100% - 32px));
  margin: 14px auto;
}

.owner-tourism-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
}

.owner-tourism-head h2 {
  margin: 0;
  font-size: 28px;
}

.owner-tourism-head p:not(.eyebrow) {
  max-width: 780px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 760;
}

.owner-tourism-head > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
  color: var(--brand-dark);
  font-weight: 950;
  text-align: center;
}

.owner-tourism-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.owner-tourism-card {
  display: grid;
  gap: 12px;
  min-height: 390px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.owner-tourism-card > span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 950;
}

.owner-tourism-card h3 {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.55;
}

.owner-tourism-list {
  display: grid;
  gap: 8px;
}

.owner-tourism-list a {
  display: grid;
  gap: 5px;
  padding: 11px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f8fafc;
}

.owner-tourism-list a:hover {
  border-color: #bfdbfe;
  background: #f0f9ff;
}

.owner-tourism-list strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.42;
}

.owner-tourism-list small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
}

.owner-tourism-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 950;
  text-align: center;
  align-self: end;
}

.owner-tourism-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.owner-tourism-links a {
  display: grid;
  gap: 6px;
  min-height: 116px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .04);
}

.owner-tourism-links strong {
  color: var(--brand-dark);
  font-size: 15px;
  font-weight: 950;
}

.owner-tourism-links span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.5;
}

.owner-news-live {
  width: min(1160px, calc(100% - 32px));
  margin: 14px auto;
}

.owner-news-live-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 14px;
  align-items: stretch;
  margin-bottom: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
}

.owner-news-live-head h2 {
  margin: 0;
  font-size: 28px;
}

.owner-news-live-head p:not(.eyebrow) {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 760;
}

.owner-news-more-link {
  padding: 14px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #eff6ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: var(--brand-dark);
  font-weight: 950;
  text-align: center;
}

.owner-news-live-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.owner-news-group {
  display: grid;
  gap: 12px;
  min-height: 390px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.owner-news-group-head span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 8px;
  border-radius: 8px;
  background: #eef2ff;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 950;
}

.owner-news-group-head p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

.owner-news-list {
  display: grid;
  gap: 8px;
}

.owner-news-item {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f8fafc;
}

.owner-news-item:hover {
  border-color: #bfdbfe;
  background: #f0f9ff;
}

.owner-news-item strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.42;
}

.owner-news-item small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
}

.owner-news-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-self: end;
}

.owner-news-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 950;
  text-align: center;
}

.owner-news-actions a:last-child {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.owner-news-status {
  margin: 0;
  color: #b45309;
  font-size: 12px;
  font-weight: 850;
}

.owner-resource-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 14px;
  align-items: start;
  padding-bottom: 42px;
}

.owner-resource-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.resource-card,
.owner-resource-cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.resource-card {
  display: grid;
  gap: 8px;
  min-height: 320px;
  padding: 20px;
}

.resource-card span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 950;
}

.resource-card h2,
.owner-resource-cta h2 {
  margin: 0;
  font-size: 22px;
}

.resource-card p,
.owner-resource-cta p {
  margin: 0;
  color: var(--muted);
  font-weight: 730;
}

.resource-card ul {
  display: grid;
  gap: 7px;
  margin: 4px 0 0;
  padding-left: 18px;
}

.resource-card li {
  color: #374151;
  font-size: 14px;
  font-weight: 760;
}

.resource-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.resource-link-row a {
  min-height: 30px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
}

.resource-card .resource-action {
  align-self: end;
  color: var(--brand-dark);
  font-weight: 950;
}

.owner-resource-cta {
  display: grid;
  gap: 12px;
  padding: 20px;
  position: sticky;
  top: 82px;
}

.visa-hero {
  width: min(1160px, calc(100% - 32px));
  margin: 26px auto 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 16px;
  align-items: stretch;
  padding: 28px;
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(15, 23, 42, .96), rgba(37, 99, 235, .9) 56%, rgba(22, 163, 74, .82)),
    url("https://images.unsplash.com/photo-1538485399081-7c8ab528a3a6?auto=format&fit=crop&w=1600&q=82") center / cover no-repeat;
  color: #fff;
  box-shadow: var(--shadow);
}

.visa-hero .eyebrow {
  color: #bfdbfe;
}

.visa-hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  font-weight: 950;
}

.visa-hero-copy p:not(.eyebrow) {
  max-width: 760px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, .9);
  font-size: 18px;
  font-weight: 760;
}

.visa-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.visa-quick-card {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 8px;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(10px);
}

.visa-quick-card h2 {
  margin: 0;
  color: #fff;
  font-size: 24px;
}

.visa-updated {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

.visa-check-grid {
  display: grid;
  gap: 8px;
}

.visa-check-grid span {
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  color: var(--navy);
  font-weight: 900;
}

.visa-language-band {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.visa-language-band span,
.visa-language-band a {
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.visa-language-band span {
  color: var(--muted);
}

.visa-language-band a {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.visa-language-band a.is-active {
  border-color: rgba(51, 102, 255, .28);
  background: #eef2ff;
  color: var(--brand-dark);
}

.visa-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.visa-card,
.visa-material-card,
.visa-source-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.visa-card {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.visa-card h3,
.visa-material-card h3,
.visa-source-panel h2 {
  margin: 0;
}

.visa-code {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  padding: 4px 9px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}

.visa-summary,
.visa-info-block p,
.visa-warning p,
.visa-material-card p,
.visa-source-panel p {
  margin: 0;
  color: var(--muted);
  font-weight: 730;
}

.visa-info-block,
.visa-warning {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 8px;
  background: #f8fafc;
}

.visa-info-block strong,
.visa-warning strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
}

.visa-warning {
  background: #fff7ed;
}

.visa-warning strong {
  color: #c2410c;
}

.visa-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.visa-tags span {
  min-height: 28px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 12px;
  font-weight: 900;
}

.visa-materials {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 14px;
  align-items: start;
  padding-bottom: 42px;
}

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

.visa-material-card {
  display: grid;
  gap: 8px;
  min-height: 170px;
  padding: 18px;
}

.visa-material-card span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #eef2ff;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 950;
}

.visa-source-panel {
  position: sticky;
  top: 82px;
  display: grid;
  gap: 12px;
  padding: 20px;
}

.visa-source-links {
  display: grid;
  gap: 8px;
}

.visa-source-links a {
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--brand-dark);
  font-weight: 900;
}

.section-note {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.visa-official-feed {
  padding-top: 8px;
}

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

.official-source-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.official-source-head {
  display: grid;
  gap: 4px;
}

.official-source-head span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 950;
}

.official-source-head strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.35;
}

.official-source-card p,
.official-source-card li {
  color: var(--muted);
  font-weight: 730;
}

.official-source-card p,
.official-source-card ul {
  margin: 0;
}

.official-source-card ul {
  display: grid;
  gap: 6px;
  padding-left: 18px;
}

.official-source-card a {
  width: fit-content;
  color: var(--brand-dark);
  font-weight: 950;
}

.mobile-site-tabs {
  display: none;
}

@media (max-width: 1020px) {
  .condition-search.search-panel,
  .resume-shell,
  .talent-shell {
    grid-template-columns: 1fr;
  }

  .condition-lane,
  .worker-first-grid,
  .worker-contact-grid,
  .worker-help-grid,
  .owner-quick-list,
  .owner-center-grid,
  .owner-resource-list,
  .visa-card-grid,
  .official-source-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visa-hero,
  .visa-materials {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 54px;
    padding: 0 12px;
    gap: 8px;
  }

  .site-nav {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .brand-name {
    white-space: nowrap;
    font-size: 16px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .language-select {
    min-width: 104px;
    min-height: 34px;
    padding-left: 8px;
    font-size: 13px;
  }

  .header-actions .header-phone {
    display: none;
  }

  .header-actions .header-phone.auth-link {
    display: inline-flex;
    min-width: 58px;
    min-height: 34px;
    padding: 0 10px;
    font-size: 13px;
  }

  .member-pill {
    display: none;
  }

  .header-resume {
    display: none;
  }

  .condition-hero.portal-hero.home-board {
    padding: 16px 12px 12px;
    border-bottom: 0;
  }

  .condition-hero h1 {
    margin-bottom: 8px;
    font-size: 28px;
    line-height: 1.12;
  }

  .condition-hero .lead {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.45;
  }

  .condition-hero .board-main {
    padding: 0;
  }

  .language-landing-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin: 12px 0 8px;
  }

  .language-landing-row a {
    justify-content: center;
    min-height: 32px;
    padding: 0 6px;
    font-size: 12px;
  }

  .condition-search.search-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin: 10px 0 8px;
    padding: 8px;
  }

  .condition-search label {
    min-width: 0;
  }

  .condition-search label:first-child,
  .condition-search .btn {
    grid-column: 1 / -1;
  }

  .condition-search select,
  .condition-search input,
  .condition-search .btn {
    min-height: 44px;
  }

  .popular-chip-row {
    flex-wrap: nowrap;
    gap: 6px;
    margin: 0 -12px;
    padding: 0 12px 3px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .popular-chip-row::-webkit-scrollbar {
    display: none;
  }

  .popular-chip-row a {
    flex: 0 0 auto;
    min-height: 30px;
    padding: 0 9px;
    font-size: 12px;
    white-space: nowrap;
  }

  .hero-action-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 10px;
  }

  .hero-action-stack .employer-card {
    display: none;
  }

  .hero-action-stack .primary-action-card {
    min-height: 64px;
    align-content: center;
    padding: 10px 8px;
    text-align: center;
  }

  .hero-action-stack .primary-action-card span,
  .hero-action-stack .primary-action-card p {
    display: none;
  }

  .hero-action-stack .primary-action-card strong {
    font-size: 13px;
    line-height: 1.25;
  }

  .brand-sub {
    display: none;
  }

	  .auth-shell,
	  .condition-lane,
	  .worker-first-grid,
	  .worker-contact-grid,
	  .worker-help-grid,
	  .split-service-board,
	  .resume-proof-grid,
	  .talent-grid,
	  .owner-center-grid,
	  .owner-resource-quick,
	  .owner-quick-list,
	  .owner-tourism-head,
	  .owner-tourism-grid,
	  .owner-tourism-links,
	  .owner-news-live-head,
	  .owner-news-live-grid,
	  .owner-resource-layout,
	  .owner-resource-list,
	  .visa-card-grid,
	  .visa-material-grid,
	  .official-source-grid {
	    grid-template-columns: 1fr;
	  }

  .visa-hero {
    width: calc(100% - 24px);
    margin-top: 16px;
    padding: 20px;
  }

  .visa-hero-copy h1 {
    font-size: 32px;
  }

  .visa-language-band {
    width: calc(100% - 24px);
  }

  .worker-help-hero {
    width: calc(100% - 24px);
    margin-top: 14px;
    padding: 20px;
  }

  .worker-help-hero h1 {
    font-size: 32px;
  }

  .worker-help-hero p:not(.eyebrow) {
    font-size: 15px;
  }

  .worker-contact-card,
  .worker-help-card {
    min-height: 0;
    padding: 16px;
  }

	  .primary-action-card {
	    padding: 17px;
	  }

  .worker-first-guide {
    width: calc(100% - 24px);
    margin: 14px auto 12px;
  }

  .mobile-hide-guide,
  .desktop-condition-lane {
    display: none;
  }

  .worker-first-head {
    gap: 5px;
    margin-bottom: 9px;
  }

  .worker-first-head h2 {
    font-size: 24px;
    line-height: 1.18;
  }

  .worker-first-head p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.45;
  }

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

  .worker-step-card {
    min-height: 128px;
    gap: 7px;
    padding: 12px;
  }

  .worker-step-card span {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    font-size: 12px;
  }

  .worker-step-card strong {
    font-size: 15px;
    line-height: 1.28;
  }

  .worker-step-card p {
    display: none;
  }

  .worker-step-card em {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 26px;
    padding: 0 8px;
    border-radius: 7px;
    background: #eff6ff;
    font-size: 12px;
  }

  .category-band {
    width: calc(100% - 24px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 8px;
  }

  .category-band a,
  .category-band a:last-child {
    min-height: 58px;
    padding: 10px 12px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .category-band a:nth-child(2n),
  .category-band a:last-child {
    border-right: 0;
  }

  .category-band a:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .category-band span {
    font-size: 11px;
  }

  .category-band strong {
    font-size: 14px;
    line-height: 1.25;
  }

  .owner-resource-cta,
  .visa-source-panel {
    position: static;
  }

  .owner-news-live {
    width: calc(100% - 24px);
  }

  .owner-tourism-feed {
    width: calc(100% - 24px);
  }

  .owner-tourism-head,
  .owner-tourism-card {
    padding: 17px;
  }

  .owner-news-live-head,
  .owner-news-group {
    padding: 17px;
  }

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

	  .mobile-site-tabs {
	    position: fixed;
	    left: 0;
	    right: 0;
	    bottom: 0;
	    z-index: 70;
	    display: grid;
	    grid-template-columns: repeat(5, 1fr);
	    gap: 6px;
	    padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
	    border-top: 1px solid var(--line);
	    background: rgba(255, 255, 255, .97);
	    box-shadow: 0 -10px 28px rgba(15, 23, 42, .08);
  }

  .mobile-site-tabs.owner-mobile-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.detail-page .mobile-site-tabs {
    display: none;
  }

	  .mobile-site-tabs a {
	    display: grid;
	    place-items: center;
	    min-height: 48px;
	    padding: 4px 3px;
	    border: 1px solid var(--line);
	    border-radius: 10px;
	    background: #fff;
	    color: #334155;
	    font-size: 11px;
	    font-weight: 900;
	    line-height: 1.15;
	    text-align: center;
	    overflow-wrap: anywhere;
	  }

	  .mobile-site-tabs a.is-active {
	    border-color: rgba(51, 102, 255, .25);
	    background: #eef2ff;
	    color: var(--brand-dark);
	  }

  .mobile-install-prompt:not([hidden]) {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(72px + env(safe-area-inset-bottom));
    z-index: 80;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(51, 102, 255, .22);
    border-radius: 10px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .18);
  }

  body.detail-page .mobile-install-prompt:not([hidden]) {
    bottom: calc(62px + env(safe-area-inset-bottom));
  }

  .mobile-install-prompt.is-help-open {
    grid-template-columns: 1fr;
  }

  .mobile-install-prompt.is-help-open .mobile-install-actions {
    justify-content: space-between;
  }

  .mobile-install-prompt .mobile-install-actions .btn[data-push-enable][hidden] {
    display: none;
  }

	  body {
	    padding-bottom: 72px;
	  }

  body.owner-mode {
    padding-bottom: 126px;
  }
	}

@media (max-width: 760px) {
  .apply-form-panel {
    padding: 14px;
  }

  .apply-form-panel h2 {
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 1.2;
  }

  .apply-form-grid {
    gap: 8px;
  }

  .apply-field {
    gap: 4px;
    font-size: 12px;
  }

  .apply-field input,
  .apply-field select,
  .apply-field textarea {
    min-height: 40px;
    padding: 7px 9px;
    border-radius: 7px;
    font-size: 13px;
  }

  .apply-field textarea {
    min-height: 74px;
  }

  .site-apply-form .check-label {
    min-height: 32px;
    font-size: 13px;
  }

  .site-apply-form > .btn {
    min-height: 46px;
  }

  .condition-feed .job-row-card:not(.job-tier-basic),
  .job-list-panel .job-row-card:not(.job-tier-basic) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    min-height: 0;
    padding: 12px;
    align-items: stretch;
  }

  .condition-hero.portal-hero.home-board > *,
  .condition-hero .board-main,
  .condition-search.search-panel,
  .hero-action-stack {
    min-width: 0;
    width: 100%;
  }

  .condition-feed .job-row-card:not(.job-tier-basic) .job-title-cell,
  .condition-feed .job-row-card:not(.job-tier-basic) .job-company-cell,
  .condition-feed .job-row-card:not(.job-tier-basic) .job-action-cell,
  .job-list-panel .job-row-card:not(.job-tier-basic) .job-title-cell,
  .job-list-panel .job-row-card:not(.job-tier-basic) .job-company-cell,
  .job-list-panel .job-row-card:not(.job-tier-basic) .job-action-cell {
    grid-column: 1 / -1;
  }

  .condition-feed .job-row-card:not(.job-tier-basic) .job-title-cell,
  .job-list-panel .job-row-card:not(.job-tier-basic) .job-title-cell {
    display: grid;
    gap: 6px;
  }

  .job-tier-premium .job-title-cell {
    padding-left: 7px;
  }

  .job-tier-premium::before {
    inset: 8px auto 8px 8px;
    width: 3px;
  }

  .job-tier-premium .job-title-cell a strong {
    font-size: 19px;
    line-height: 1.24;
  }

  .job-title-cell a strong {
    font-size: 17px;
    line-height: 1.25;
  }

  .condition-mini-row,
  .premium-mini-row {
    gap: 4px;
    margin-top: 6px;
  }

  .condition-mini-row span,
  .premium-mini-row span {
    min-height: 21px;
    padding: 0 6px;
    border-radius: 5px;
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
  }

  .premium-mini-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .premium-mini-row span {
    justify-content: center;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .job-row-card:not(.job-tier-basic) .job-company-cell {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 4px 8px;
    align-items: center;
    min-height: 0;
    padding: 8px 9px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: rgba(255, 255, 255, .72);
  }

  .job-row-card:not(.job-tier-basic) .job-company-cell span,
  .job-row-card:not(.job-tier-basic) .job-company-cell em {
    font-size: 11px;
    line-height: 1.15;
  }

  .job-row-card:not(.job-tier-basic) .job-company-cell strong {
    overflow: hidden;
    font-size: 13px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .job-row-card:not(.job-tier-basic) .job-company-cell em {
    text-align: right;
    white-space: nowrap;
  }

  .job-row-card:not(.job-tier-basic) .job-fact {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 5px;
    align-items: center;
    min-height: 36px;
    padding: 7px 8px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #fff;
  }

  .job-row-card:not(.job-tier-basic) .salary-fact {
    grid-column: 1 / -1;
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .job-row-card:not(.job-tier-basic) .job-fact span {
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
  }

  .job-row-card:not(.job-tier-basic) .job-fact strong {
    min-width: 0;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .job-row-card:not(.job-tier-basic) .job-action-cell {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .job-row-card:not(.job-tier-basic) .job-action-cell .btn {
    min-height: 38px;
    font-size: 12px;
  }

  .job-tier-basic {
    grid-template-columns: minmax(0, 1fr) 78px;
    min-height: 62px;
    padding: 10px 11px;
    gap: 8px;
  }

  .job-tier-basic .job-title-cell,
  .job-tier-basic .job-action-cell {
    grid-column: auto;
  }

  .job-tier-basic .job-title-cell a strong {
    font-size: 15px;
  }

  .job-tier-basic .job-action-cell .btn {
    min-height: 34px;
    padding: 0 7px;
    font-size: 12px;
  }

  .detail-card .info-table div {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    padding: 8px 0;
  }

  .detail-card .info-table dt {
    font-size: 12px;
    line-height: 1.2;
  }

  .detail-card .info-table dd {
    font-size: 14px;
    line-height: 1.3;
    text-align: right;
    overflow-wrap: anywhere;
  }
}
