/* JobNGo Modern Design System - Exact App Theme Alignment */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Primary Blue Palette matching AppColors */
  --primary: #1565C0;
  --primary-hover: #0D47A1;
  --primary-light: #E3F2FD;
  --accent: #2196F3;
  --accent-hover: #1976D2;
  --accent-light: #BBDEFB;
  --bg-gradient: linear-gradient(135deg, #0D47A1 0%, #1565C0 50%, #1E88E5 100%);
  --bg-main: #F5F8FF;
  --card-bg: #FFFFFF;
  --text-main: #0D1B2A;
  --text-muted: #546E7A;
  --border-color: #DDE8F5;
  --green: #2E7D32;
  --red: #C62828;
  --amber: #F57F17;
  --red-bg: rgba(198, 40, 40, 0.08);
  --red-text: #C62828;
  --green-bg: rgba(46, 125, 50, 0.1);
  --green-text: #1B5E20;
  --amber-bg: rgba(245, 127, 23, 0.1);
  --amber-text: #A15C00;
  --blue-bg: rgba(21, 101, 192, 0.1);
  --blue-text: #0D47A1;

  --shadow-sm: 0 2px 6px rgba(21, 101, 192, 0.06);
  --shadow-md: 0 10px 25px -5px rgba(21, 101, 192, 0.08);
  --shadow-lg: 0 20px 30px -10px rgba(21, 101, 192, 0.2);
  --radius: 16px;
  --radius-sm: 12px;
  --font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --navbar-height: 72px;
  --app-bar-shadow: 0 1px 0 rgba(13, 71, 161, 0.08);
}

/* Server-rendered jobs and account flows */
body:not(.app-auth-screen) {
  padding-top: 0;
}

.app-sidebar {
  top: 0;
}

.web-screen {
  width: min(1240px, 100%);
  padding: 28px 34px 90px;
  margin: 0 auto;
  min-width: 0;
}

.web-page-head,
.web-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.web-page-head {
  margin-bottom: 22px;
}

.web-page-head h1 {
  font-size: 27px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--primary);
}

.web-page-head p {
  color: var(--text-muted);
  margin-top: 4px;
}

.web-head-actions {
  display: flex;
  gap: 9px;
  flex: none;
}

.web-head-actions a,
.web-header-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 7px;
  color: var(--primary);
}

.web-searchbar {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 790px;
  min-height: 55px;
  padding: 5px 6px 5px 15px;
  border: 1px solid var(--border-color);
  border-radius: 7px;
  background: var(--card-bg);
}

.web-searchbar>.material-symbols-rounded {
  color: var(--primary);
}

.web-searchbar input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text-main);
  background: transparent;
  font: inherit;
}

.web-searchbar button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border: 0;
  border-radius: 6px;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
}

.web-chip-scroll {
  display: flex;
  gap: 8px;
  padding: 18px 0 4px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.web-chip {
  display: inline-flex;
  align-items: center;
  flex: none;
  min-height: 39px;
  padding: 8px 15px;
  border: 1px solid var(--border-color);
  border-radius: 7px;
  background: var(--card-bg);
  font-weight: 700;
  white-space: nowrap;
}

.web-chip.selected,
.web-chip:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.web-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 6px;
}

.web-quick-actions a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: min(100%, 205px);
  padding: 14px 16px;
  border-radius: 7px;
  border: 1px solid var(--border-color);
  color: var(--primary);
  background: var(--primary-light);
  font-weight: 700;
}

.web-quick-actions a span:nth-child(2) {
  flex: 1;
}

.web-filter-panel {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
}

.web-filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.web-filter-grid label,
.web-action-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
  font-weight: 700;
  color: var(--text-muted);
}

.web-filter-grid select,
.web-action-form textarea,
.web-report textarea {
  width: 100%;
  min-width: 0;
  min-height: 43px;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: var(--card-bg);
  color: var(--text-main);
  font: inherit;
}

.web-filter-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
}

.web-primary-action,
.web-secondary-action {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-height: 39px;
  padding: 8px 13px;
  border-radius: 6px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
  font: 700 13px var(--font-family);
  cursor: pointer;
  text-align: center;
}

.web-secondary-action {
  background: var(--card-bg);
  border-color: var(--border-color);
  color: var(--primary);
}

.web-primary-action:hover,
.web-secondary-action:hover {
  filter: brightness(.95);
}

.web-result-section {
  padding-top: 23px;
}

.web-section-title {
  margin-bottom: 18px;
}

.web-section-title h2 {
  font-size: 18px;
}

.web-section-title>span {
  color: var(--text-muted);
}

.web-job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  align-items: start;
  gap: 15px;
}

.web-job-card {
  min-width: 0;
  padding: 19px;
  border: 1px solid var(--border-color);
  border-radius: 7px;
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
}

.web-job-card__head {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.web-logo-tile {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 7px;
  color: var(--primary);
  background: var(--primary-light);
}

.web-job-card__identity {
  min-width: 0;
  flex: 1;
}

.web-job-card__identity>span {
  font-size: 12px;
  color: var(--text-muted);
}

.web-job-card h2 {
  font-size: 17px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.web-urgent {
  padding: 4px 6px;
  border-radius: 4px;
  color: var(--amber-text);
  background: var(--amber-bg);
  font-size: 11px;
  font-weight: 800;
}

.web-job-meta {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin: 16px 0;
  color: var(--text-muted);
  font-size: 13px;
}

.web-job-meta>span {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.web-job-meta i {
  color: var(--primary);
  font-size: 17px;
}

.web-job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 13px 0;
}

.web-job-tags span {
  max-width: 100%;
  padding: 5px 8px;
  border-radius: 5px;
  color: var(--primary);
  background: var(--primary-light);
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.web-job-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 17px;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
}

.web-job-card__foot strong {
  min-width: 0;
  color: var(--primary);
  overflow-wrap: anywhere;
}

.web-job-card__foot .web-primary-action {
  flex: none;
}

.web-empty {
  padding: 55px 16px;
  text-align: center;
  color: var(--text-muted);
}

.web-empty>.material-symbols-rounded {
  font-size: 42px;
  color: var(--primary);
}

.web-empty h2,
.web-empty h3 {
  color: var(--text-main);
  margin: 5px 0;
}

.web-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 24px 0;
}

.web-pagination a {
  padding: 9px 16px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--primary);
  background: var(--card-bg);
  font-weight: 700;
}

.web-list-page .web-job-grid>div {
  min-width: 0;
}

.web-inline-action {
  margin-top: 9px;
}

.web-record-list {
  display: grid;
  gap: 2px;
}

.web-record {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 2px;
  border-bottom: 1px solid var(--border-color);
}

.web-record>div {
  min-width: 0;
}

.web-record h2 {
  font-size: 17px;
  margin: 6px 0;
}

.web-record p {
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

.web-record a:not(.web-secondary-action) {
  color: var(--primary);
  font-weight: 700;
}

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

.web-status {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 5px;
  color: var(--amber-text);
  background: var(--amber-bg);
  font-size: 12px;
  font-weight: 700;
}

.web-status--good {
  color: var(--green-text);
  background: var(--green-bg);
}

.web-notice {
  padding: 12px 15px;
  margin-bottom: 17px;
  border-radius: 6px;
  color: var(--green-text);
  background: var(--green-bg);
  font-weight: 700;
}

.web-notice--error {
  color: var(--red-text);
  background: var(--red-bg);
}

.web-detail-content {
  width: min(1200px, 100%);
}

.web-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(270px, .8fr);
  align-items: start;
  gap: 18px;
}

.web-detail-grid>div,
.web-detail-facts {
  min-width: 0;
}

.web-detail-facts .native-outline-button,
.web-detail-facts .native-primary-button {
  display: flex;
  width: 100%;
  margin-top: 10px;
}

.web-info-list {
  margin: 0 0 20px;
}

.web-info-list>div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.web-info-list dt {
  color: var(--text-muted);
}

.web-info-list dd {
  margin: 0;
  max-width: 55%;
  text-align: right;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.web-action-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.web-report {
  margin-top: 16px;
}

.web-report summary {
  cursor: pointer;
  color: var(--primary);
  font-weight: 700;
}

.web-header-icon {
  color: #fff;
  border-color: rgba(255, 255, 255, .4);
  background: rgba(255, 255, 255, .15);
}

.web-tabs {
  display: flex;
  gap: 3px;
  margin: 0 0 18px;
  border-bottom: 1px solid var(--border-color);
}

.web-tabs a {
  padding: 10px 17px;
  color: var(--text-muted);
  font-weight: 700;
}

.web-tabs a.active {
  color: var(--primary);
  border-bottom: 3px solid var(--primary);
}

.web-chat-layout {
  min-height: 520px;
}

.web-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.web-chat-options {
  position: relative;
}

.web-chat-options>summary {
  list-style: none;
  cursor: pointer;
}

.web-chat-options>div {
  position: absolute;
  right: 0;
  top: 30px;
  z-index: 3;
  width: 190px;
  padding: 8px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: var(--card-bg);
  box-shadow: var(--shadow-md);
}

.web-chat-options button {
  display: block;
  width: 100%;
  border: 0;
  padding: 8px;
  color: var(--text-main);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.web-chat-options textarea {
  width: 100%;
}

.web-chat-options details {
  padding: 8px;
}

.web-chat-page .native-thread-list>p {
  padding: 18px;
  color: var(--text-muted);
}

.web-public-hero {
  padding: 24px 18px;
  border: 1px solid var(--border-color);
  border-radius: 7px;
  background: var(--card-bg);
  text-align: center;
}

.web-public-avatar {
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  margin: 0 auto 12px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 32px;
  font-weight: 800;
}

.web-public-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.web-public-hero h2 {
  font-size: 23px;
  overflow-wrap: anywhere;
}

.web-public-hero p {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin: 4px 0;
  color: var(--text-muted);
}

.web-public-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(250px, .8fr);
  gap: 28px;
  margin-top: 25px;
}

.web-public-layout>div,
.web-public-layout>aside {
  min-width: 0;
}

.web-public-section {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
}

.web-public-section h2 {
  font-size: 18px;
  margin-bottom: 12px;
}

.web-public-section p {
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

.web-public-links {
  display: grid;
}

.web-public-links a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--primary);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.web-public-layout aside>.native-primary-button {
  display: flex;
  margin-top: 17px;
  text-align: center;
}

.web-worker-summary {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px;
  border: 1px solid var(--border-color);
  border-radius: 7px;
  background: var(--primary-light);
}

.web-worker-summary>.material-symbols-rounded {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: none;
  border-radius: 7px;
  background: var(--primary);
  color: #fff;
  font-size: 27px;
}

.web-worker-summary>div {
  min-width: 0;
  flex: 1;
}

.web-worker-summary h2 {
  font-size: 18px;
  overflow-wrap: anywhere;
}

.web-worker-summary p {
  color: var(--primary);
}

.web-worker-info {
  max-width: 790px;
  margin: 15px 0;
  padding: 4px 17px;
  border: 1px solid var(--border-color);
  border-radius: 7px;
  background: var(--card-bg);
}

.web-worker-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 20px 0;
}

.web-worker-status-actions .is-selected {
  border-color: var(--primary);
  background: var(--primary-light);
}

.web-worker-edit {
  max-width: 790px;
  padding: 20px 0;
  border-top: 1px solid var(--border-color);
}

.web-worker-edit h2 {
  margin-bottom: 16px;
}

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

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

.web-form-stack label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--text-muted);
  font-weight: 700;
}

.web-form-stack input,
.web-form-stack select,
.web-form-stack textarea {
  width: 100%;
  min-width: 0;
  min-height: 43px;
  padding: 9px 11px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: var(--card-bg);
  color: var(--text-main);
  font: inherit;
}

.web-form-stack .web-check {
  display: flex;
  align-items: center;
  gap: 8px;
}

.web-form-stack .web-check input {
  width: 18px;
  min-height: 0;
}

.web-job-editor {
  max-width: 900px;
}

.web-job-editor section {
  display: grid;
  gap: 15px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border-color);
}

.web-job-editor section h2 {
  font-size: 19px;
}

.web-job-editor>.native-primary-button {
  margin: 20px 0;
  min-width: 170px;
}

.web-choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.web-choice-row label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: var(--card-bg);
  color: var(--text-main);
}

.web-choice-row input {
  width: 17px;
  min-height: 0;
}

.web-form-help {
  margin: -4px 0 2px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.web-consent-check {
  display: block !important;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--text-main) !important;
  font-size: 13px;
  font-weight: 600 !important;
  line-height: 1.55;
}

.web-consent-check input {
  width: 17px;
  min-height: 0;
  margin: 0 7px 0 0;
  vertical-align: middle;
}

.web-consent-check a {
  color: var(--primary);
  font-weight: 800;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1000px) {
  .web-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .web-detail-grid,
  .web-public-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body:not(.app-auth-screen) {
    padding-top: 0;
  }

  .web-screen {
    padding: 20px 15px 105px;
  }

  .web-page-head h1 {
    font-size: 23px;
  }

  .web-filter-grid,
  .web-form-grid {
    grid-template-columns: 1fr;
  }

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

  .web-record {
    align-items: flex-start;
    flex-direction: column;
  }

  .web-job-card__foot {
    flex-wrap: wrap;
  }

  .web-chat-layout {
    min-height: 0;
  }
}

@media (max-width: 370px) {
  .web-page-head {
    align-items: flex-start;
  }

  .web-head-actions {
    gap: 4px;
  }

  .web-head-actions a {
    width: 36px;
    height: 36px;
  }

  .web-job-card {
    padding: 15px;
  }

  .web-job-card__foot .web-primary-action {
    width: 100%;
  }
}

/* Jobs web polish: a calm editorial marketplace surface, separate from the mobile app UI. */
.web-jobs-page {
  max-width: 1320px;
}

.web-jobs-page>.web-page-head {
  padding: 8px 0 18px;
  border-bottom: 1px solid var(--border-color);
}

.web-jobs-page .web-page-head h1 {
  color: #1558a6;
  letter-spacing: -.02em;
}

.web-jobs-page .web-page-head p {
  max-width: 480px;
}

.web-jobs-page .web-searchbar {
  max-width: none;
  margin: 20px 0 0;
  border-color: #cad8d2;
  box-shadow: 0 6px 18px rgba(22, 59, 53, .06);
}

.web-jobs-page .web-searchbar:focus-within {
  border-color: #2c776b;
  box-shadow: 0 0 0 3px rgba(44, 119, 107, .12);
}

.web-jobs-page .web-chip-scroll {
  padding-top: 15px;
}

.web-jobs-page .web-chip {
  border-radius: 999px;
  font-size: 13px;
}

.web-jobs-page .web-chip.selected,
.web-jobs-page .web-chip:hover {
  background: #1558a6;
  border-color: #1558a6;
}

.web-jobs-page .web-filter-panel {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(22, 59, 53, .05);
}

.web-jobs-page .web-filter-grid select {
  border-radius: 8px;
  border-color: #cad8d2;
}

.web-jobs-page .web-filter-grid select:focus {
  outline: 0;
  border-color: #2c776b;
  box-shadow: 0 0 0 3px rgba(44, 119, 107, .12);
}

.web-jobs-page .web-primary-action {
  background: #1558a6;
  border-color: #1558a6;
}

.web-jobs-page .web-primary-action:hover {
  color: #fff;
  background: #0d47a1;
  border-color: #0d47a1;
}

.web-jobs-page .web-result-section {
  padding-top: 28px;
}

.web-jobs-page .web-section-title h2 {
  font-size: 21px;
  letter-spacing: -.01em;
}

.web-jobs-page .web-job-grid {
  gap: 18px;
}

.web-jobs-page .web-job-card {
  padding: 21px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(22, 59, 53, .055);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.web-jobs-page .web-job-card:hover {
  transform: translateY(-2px);
  border-color: #aac8be;
  box-shadow: 0 12px 28px rgba(22, 59, 53, .11);
}

.web-jobs-page .web-logo-tile {
  border-radius: 10px;
  color: #1558a6;
  background: #e7f1ed;
}

.web-jobs-page .web-job-tags span {
  border-radius: 999px;
  color: #28665d;
  background: #edf5f1;
}

.web-jobs-page .web-job-card__foot strong {
  color: #28665d;
}

@media (max-width: 720px) {
  .web-jobs-page .web-filter-panel {
    padding: 14px;
  }

  .web-jobs-page .web-job-card:hover {
    transform: none;
  }
}

/* Desktop jobs workspace: top navigation, filter rail, feed and company-side suggestions. */
body:not(.app-auth-screen) {
  padding-top: 72px;
  padding-left: 0;
  background: #f4f7f6;
}

.app-sidebar {
  display: none;
}

.mobile-app-nav {
  display: none !important;
}

.web-topbar {
  position: fixed;
  z-index: 1200;
  inset: 0 0 auto;
  height: 72px;
  border-bottom: 1px solid #dce6e2;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 5px 18px rgba(20, 52, 46, .06);
}

.web-topbar__inner {
  display: flex;
  align-items: center;
  gap: 38px;
  width: min(1400px, 100%);
  height: 100%;
  margin: 0 auto;
  padding: 0 30px;
}

.web-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  color: #142b27;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.web-brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #fff;
  background: #237568;
  font-size: 20px;
}

.web-topbar__nav {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  flex: 1;
}

.web-topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  color: #6b7976;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.web-topbar__link .material-symbols-rounded {
  font-size: 19px;
}

.web-topbar__link:hover,
.web-topbar__link.active {
  color: #1e6a5e;
  background: #e9f3ef;
}

.web-topbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.web-topbar__icon,
.web-topbar__avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #41615a;
  background: #eef4f1;
}

.web-topbar__icon:hover {
  color: #1e6a5e;
  background: #e0eee9;
}

.web-topbar__avatar {
  color: #fff;
  background: #237568;
  font-size: 13px;
  font-weight: 800;
}

.web-topbar__register {
  padding: 10px 14px;
  border-radius: 7px;
  color: #fff;
  background: #1558a6;
  font-size: 13px;
  font-weight: 800;
}

.web-topbar__register:hover {
  color: #fff;
  background: #2c776b;
}

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

.web-filter-rail,
.web-suggested-rail {
  min-width: 0;
}

.web-filter-rail {
  position: sticky;
  top: 94px;
  padding: 18px 16px;
  border: 1px solid #dce6e2;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(20, 52, 46, .04);
}

.web-filter-rail__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.web-filter-rail__head h2,
.web-suggested-head h2 {
  color: #172d29;
  font-size: 16px;
}

.web-filter-rail__head a {
  color: #297668;
  font-size: 11px;
  font-weight: 800;
}

.web-filter-rail .web-filter-panel {
  display: grid;
  gap: 15px;
  padding: 8px 0 0;
  border: 0;
}

.web-filter-rail .web-filter-panel label {
  display: grid;
  gap: 6px;
  color: #6a7975;
  font-size: 11px;
  font-weight: 800;
}

.web-filter-rail .web-filter-panel select {
  min-height: 38px;
  padding: 7px 8px;
  border: 1px solid #d7e2de;
  border-radius: 6px;
  color: #263e39;
  background: #fbfcfc;
  font-size: 12px;
}

.web-filter-rail .web-primary-action {
  width: 100%;
  min-height: 38px;
  margin-top: 3px;
  border-color: #237568;
  background: #237568;
  font-size: 12px;
}

.web-job-feed {
  min-width: 0;
}

.web-jobs-hero {
  display: grid;
  gap: 20px;
  padding: 25px 26px 23px;
  border-radius: 12px;
  color: #fff;
  background: #277c70;
  box-shadow: 0 12px 24px rgba(39, 124, 112, .16);
}

.web-jobs-hero h1 {
  max-width: 560px;
  margin: 5px 0 7px;
  color: #fff;
  font-size: clamp(24px, 3vw, 33px);
  line-height: 1.12;
  letter-spacing: -.03em;
}

.web-jobs-hero p {
  max-width: 600px;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
}

.web-eyebrow {
  color: #ccece4;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.web-jobs-hero .web-searchbar {
  margin: 0;
  border: 0;
  box-shadow: none;
  background: #fff;
}

.web-jobs-hero .web-searchbar input {
  color: #182b27;
}

.web-jobs-hero .web-searchbar button {
  border-radius: 6px;
  background: #1558a6;
}

.web-jobs-page>.web-jobs-layout .web-chip-scroll {
  padding: 17px 0 2px;
}

.web-jobs-page>.web-jobs-layout .web-feed-shortcuts {
  display: flex;
  gap: 10px;
  margin: 17px 0 2px;
}

.web-feed-shortcuts a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid #dce6e2;
  border-radius: 7px;
  color: #28665d;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}

.web-feed-shortcuts a:hover {
  border-color: #a7c9be;
  background: #edf5f1;
}

.web-suggested-rail {
  display: grid;
  gap: 12px;
}

.web-suggested-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 17px 3px;
}

.web-suggested-head .material-symbols-rounded {
  color: #71807c;
  font-size: 17px;
}

.web-suggested-card {
  display: grid;
  gap: 7px;
  padding: 16px;
  border: 1px solid #dce6e2;
  border-radius: 10px;
  color: #1a302c;
  background: #fff;
  box-shadow: 0 6px 18px rgba(20, 52, 46, .04);
}

.web-suggested-card:hover {
  border-color: #a7c9be;
  transform: translateY(-1px);
}

.web-suggested-card__company {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  color: #6b7976;
  font-size: 11px;
  font-weight: 800;
}

.web-suggested-card__company>span:nth-child(2) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.web-suggested-logo {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: #277c70;
  background: #e7f1ed;
  font-size: 16px;
}

.web-suggested-card strong {
  font-size: 14px;
  line-height: 1.3;
}

.web-suggested-card small,
.web-suggested-meta {
  color: #76837f;
  font-size: 11px;
}

.web-suggested-meta {
  padding-top: 6px;
  border-top: 1px solid #edf1ef;
}

.web-suggested-empty {
  padding: 18px;
  color: #71807c;
  border: 1px dashed #cad8d2;
  border-radius: 9px;
  font-size: 12px;
}

@media (max-width: 1100px) {
  .web-jobs-layout {
    grid-template-columns: 205px minmax(0, 1fr);
  }

  .web-suggested-rail {
    display: none;
  }
}

@media (max-width: 720px) {
  body:not(.app-auth-screen) {
    padding-top: 62px;
    padding-bottom: 0;
  }

  .web-topbar {
    height: 62px;
  }

  .web-topbar__inner {
    gap: 14px;
    padding: 0 15px;
  }

  .web-brand {
    font-size: 17px;
  }

  .web-brand__mark {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }

  .web-topbar__nav {
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .web-topbar__nav::-webkit-scrollbar {
    display: none;
  }

  .web-topbar__link {
    min-height: 35px;
    padding: 0 8px;
    font-size: 11px;
  }

  .web-topbar__link .material-symbols-rounded {
    display: none;
  }

  .web-topbar__actions {
    gap: 6px;
  }

  .web-topbar__register {
    padding: 8px 9px;
    font-size: 11px;
  }

  .web-topbar__icon {
    display: none;
  }

  .web-screen {
    padding: 18px 14px 40px;
  }

  .web-jobs-layout {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .web-filter-rail {
    position: static;
    order: 2;
    width: 100%;
  }

  .web-job-feed {
    order: 1;
    width: 100%;
  }

  .web-filter-rail__head {
    cursor: default;
  }

  .web-filter-rail .web-filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .web-filter-rail .web-filter-panel label:nth-child(1),
  .web-filter-rail .web-filter-panel label:nth-child(2) {
    grid-column: span 2;
  }

  .web-filter-rail .web-primary-action {
    grid-column: span 2;
  }

  .web-jobs-hero {
    padding: 21px 18px;
  }

  .web-jobs-hero h1 {
    font-size: 25px;
  }

  .web-jobs-page>.web-jobs-layout .web-chip-scroll {
    margin-right: -14px;
  }
}

@media (max-width: 430px) {
  .web-brand>span:last-child {
    display: none;
  }

  .web-topbar__inner {
    gap: 8px;
  }

  .web-topbar__link {
    padding: 0 6px;
  }

  .web-filter-rail .web-filter-panel {
    grid-template-columns: 1fr;
  }

  .web-filter-rail .web-filter-panel label:nth-child(1),
  .web-filter-rail .web-filter-panel label:nth-child(2),
  .web-filter-rail .web-primary-action {
    grid-column: auto;
  }
}

[data-theme="dark"] {
  --bg-main: #08111F;
  --card-bg: #12233E;
  --text-main: #FCFDFF;
  --text-muted: #C3D4F0;
  --border-color: #244165;
  --primary-light: rgba(30, 136, 229, 0.2);
  --red-bg: rgba(198, 40, 40, 0.2);
  --green-bg: rgba(46, 125, 50, 0.2);
  --amber-bg: rgba(245, 127, 23, 0.2);
  --blue-bg: rgba(21, 101, 192, 0.2);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 14px;
}

*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary-hover);
}

.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'liga';
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
body:not(.app-auth-screen) {
  padding-top: 54px;
  padding-left: 248px;
}

.download-app-banner {
  position: fixed;
  z-index: 1300;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 12px 20px;
  color: #fff;
  background: var(--bg-gradient);
  font-size: 15px;
  font-weight: 650;
  box-shadow: var(--shadow-md);
}

.download-app-banner .material-symbols-rounded {
  font-size: 22px;
}

.download-app-banner a {
  margin-left: 12px;
  padding: 6px 14px;
  border-radius: 8px;
  color: var(--primary);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
}

.download-app-banner a:hover {
  transform: scale(1.05);
}

.navbar {
  height: var(--navbar-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--app-bar-shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background 0.3s ease;
}

[data-theme="dark"] .navbar {
  background: rgba(18, 35, 62, 0.92);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #fff;
  font-size: 1.05rem;
  background: linear-gradient(135deg, #0D47A1, #2196F3);
  box-shadow: 0 4px 12px rgba(21, 101, 192, .25);
}

.brand-badge {
  background: linear-gradient(135deg, #1565C0, #2196F3);
  color: #fff;
  font-size: 0.65rem;
  padding: 3px 8px;
  border-radius: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-link {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Sidebar */
.app-sidebar {
  position: fixed;
  z-index: 1200;
  top: 54px;
  bottom: 0;
  left: 0;
  display: flex;
  width: 248px;
  flex-direction: column;
  padding: 20px 12px 14px;
  border-right: 1px solid var(--border-color);
  background: var(--card-bg);
  overflow-y: auto;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 10px 24px;
  color: var(--text-main);
  font-size: 21px;
  font-weight: 800;
}

.sidebar-brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #0D47A1, #1E88E5);
  font-size: 21px;
}

.sidebar-nav {
  display: grid;
  gap: 5px;
}

.sidebar-nav-item,
.sidebar-utility {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 45px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  color: var(--text-muted);
  background: transparent;
  font: 650 14px var(--font-family);
  text-align: left;
  cursor: pointer;
}

.sidebar-nav-item .material-symbols-rounded,
.sidebar-utility .material-symbols-rounded {
  font-size: 21px;
}

.sidebar-nav-item.active {
  color: var(--primary);
  background: var(--accent-light);
}

.sidebar-nav-item:hover:not(.active) {
  color: var(--primary);
  background: var(--primary-light);
}

.sidebar-spacer {
  flex: 1;
}

.sidebar-utility {
  width: 100%;
  font-size: 12px;
}

.sidebar-utility:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.sidebar-logout {
  color: var(--red-text);
  text-decoration: none;
}

.sidebar-logout:hover {
  background: var(--red-bg);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, #1565C0 0%, #1E88E5 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(21, 101, 192, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(21, 101, 192, 0.38);
  color: #FFF;
}

.btn-accent {
  background: linear-gradient(135deg, #2E7D32 0%, #43A047 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(46, 125, 50, 0.28);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.38);
  color: #FFF;
}

.btn-outline {
  border-color: var(--border-color);
  color: var(--text-main);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* ==========================================================================
   Main Containers
   ========================================================================== */
.main-content {
  flex: 1;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 32px 24px;
}

.native-content {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 24px;
}

/* Hero Section */
.hero-section {
  background: var(--bg-gradient);
  color: #FFFFFF;
  padding: 56px 32px;
  border-radius: 24px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-content {
  max-width: 700px;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #BBDEFB;
  margin-bottom: 32px;
}

/* Search Box Container */
.search-card {
  background: var(--card-bg);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  margin-bottom: 28px;
}

.search-form {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 12px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  color: var(--text-main);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.18);
}

/* Filter Pills */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 24px;
}

.filter-pill {
  padding: 8px 18px;
  border-radius: 30px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--primary);
  color: #FFF;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(21, 101, 192, 0.25);
}

/* ==========================================================================
   Cards & Grids
   ========================================================================== */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.native-card-list {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}

.job-card,
.worker-card,
.native-job-card,
.native-worker-card,
.native-booking-card,
.native-detail-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.job-card:hover,
.worker-card:hover,
.native-job-card:hover,
.native-worker-card:hover,
.native-booking-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

/* Job Card */
.job-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.job-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.company-badge {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: 6px;
}

.urgent-badge {
  background: var(--red-bg);
  color: var(--red-text);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}

.job-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.job-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.salary-tag {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 16px;
}

.job-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.skill-tag {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
}

/* Worker Card */
.worker-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.rating-badge {
  background: var(--amber-bg);
  color: var(--amber-text);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   Modals & Toasts
   ========================================================================== */
.web-modal-backdrop {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 17, 31, .62);
  backdrop-filter: blur(4px);
}

.web-modal-backdrop.is-hidden {
  display: none;
}

.web-modal {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 16px;
  width: min(400px, 100%);
  padding: 32px 28px 28px;
  border-radius: 24px;
  color: var(--text-main);
  text-align: center;
  background: var(--card-bg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .28);
  animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.web-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  color: var(--text-muted);
  background: var(--bg-main);
  font-size: 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.web-modal-close:hover {
  background: var(--red-bg);
  color: var(--red-text);
}

.web-modal-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  color: var(--primary);
  background: var(--primary-light);
  font-size: 32px;
}

.web-modal h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}

.web-modal p {
  margin: 0 0 8px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.web-modal .native-primary-button,
.web-modal .native-outline-button {
  width: 100%;
  min-height: 44px;
  font-size: 14px;
}

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background: var(--card-bg);
  color: var(--text-main);
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-left: 4px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  animation: slideInRight 0.3s ease forwards;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(90deg, var(--bg-main) 25%, var(--border-color) 50%, var(--bg-main) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--card-bg);
  border-top: 1px solid var(--border-color);
  padding: 40px 24px;
  margin-top: auto;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-links-col strong {
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.footer-links-col a {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  margin-top: 4px;
}

.footer-app-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #0D47A1, #1E88E5);
  font-size: 0.82rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-app-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(21, 101, 192, 0.3);
  color: #fff;
}

.footer-app-badge .material-symbols-rounded {
  font-size: 16px;
}

/* ==========================================================================
   Flutter-style Navigation & Native Screens
   ========================================================================== */
.mobile-app-nav {
  display: none;
}

.page-heading {
  font-size: clamp(1.45rem, 4vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -.03em;
  font-weight: 800;
}

.screen-subtitle {
  color: var(--text-muted);
  font-size: .96rem;
  margin-top: 6px;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--green);
}

.native-screen {
  min-height: 100%;
  background: var(--bg-main);
}

.native-jobs-screen {
  padding-bottom: 24px;
}

.native-gradient-header {
  padding: 24px;
  border-radius: 16px;
  margin-bottom: 24px;
  color: #fff;
  background: var(--bg-gradient);
  box-shadow: var(--shadow-md);
}

.native-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.native-title-row h1 {
  margin: 0;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 700;
  color: #fff;
}

.native-title-row p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, .8);
  font-size: 13px;
}

.native-clear {
  margin-top: 2px;
  padding: 6px 10px;
  border-radius: 10px;
  color: #fff;
  background: rgba(255, 255, 255, .2);
  font-size: 12px;
}

.native-search-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.native-search-input {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 9px;
  height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  color: #546E7A;
  background: #fff;
}

.native-search-input span {
  font-size: 23px;
  line-height: 1;
}

.native-search-input .material-symbols-rounded {
  font-size: 21px;
}

.native-search-input input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #0D1B2A;
  font: 500 14px var(--font-family);
  background: transparent;
}

.native-filter-menu {
  position: relative;
}

.native-filter-menu summary {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 14px;
  list-style: none;
  cursor: pointer;
  color: #fff;
  font-size: 24px;
}

.native-filter-menu summary::-webkit-details-marker {
  display: none;
}

.native-filter-sheet {
  position: absolute;
  z-index: 12;
  right: 0;
  top: 56px;
  display: grid;
  gap: 12px;
  width: min(320px, calc(100vw - 32px));
  padding: 16px;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(8, 17, 31, .2);
  color: var(--text-main);
  background: var(--card-bg);
}

.native-filter-sheet label {
  display: grid;
  gap: 6px;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 12px;
}

.native-filter-sheet select,
.native-filter-sheet input {
  width: 100%;
  height: 42px;
  padding: 0 11px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-main);
  background: var(--card-bg);
  font: inherit;
}

.native-skill-filter-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  padding: 0 0 4px;
}

.native-chip-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 14px;
  scrollbar-width: none;
}

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

.native-chip {
  flex: 0 0 auto;
  padding: 7px 13px;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  color: var(--text-muted);
  background: var(--card-bg);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

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

.native-job-card {
  padding: 20px;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background: var(--card-bg);
  box-shadow: 0 2px 7px rgba(13, 71, 161, .05);
  display: flex;
  flex-direction: column;
}

.native-card-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.native-company-label {
  max-width: 70%;
  overflow: hidden;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.native-urgent-label {
  padding: 4px 7px;
  border-radius: 6px;
  color: var(--red-text);
  background: var(--red-bg);
  font-size: 10px;
  font-weight: 800;
}

.native-job-card h2 {
  margin: 8px 0 6px;
  color: var(--text-main);
  font-size: 18px;
  line-height: 1.28;
  font-weight: 750;
}

.native-job-location {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
}

.native-job-location .material-symbols-rounded {
  font-size: 15px;
}

.native-job-pay {
  margin: 10px 0 0;
  color: var(--green);
  font-size: 16px;
  font-weight: 800;
}

.native-job-description {
  display: -webkit-box;
  overflow: hidden;
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  flex-grow: 1;
}

.native-tag-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.native-tag-row span {
  padding: 4px 10px;
  border-radius: 10px;
  color: var(--text-muted);
  background: var(--bg-main);
  font-size: 11px;
  font-weight: 700;
  border: 1px solid var(--border-color);
}

.native-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.native-primary-button,
.native-outline-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 11px;
  font: 700 13px var(--font-family);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.native-primary-button {
  color: #fff;
  background: var(--bg-gradient);
  box-shadow: var(--shadow-sm);
}

.native-primary-button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.native-outline-button {
  color: var(--primary);
  border-color: var(--border-color);
  background: transparent;
}

.native-outline-button:hover {
  background: var(--primary-light);
  border-color: var(--primary);
}

.native-message {
  padding: 14px;
  border-radius: 12px;
  font-size: 13px;
}

.native-error {
  color: var(--red-text);
  background: var(--red-bg);
  border: 1px solid rgba(198, 40, 40, 0.2);
}

.native-empty-state {
  padding: 54px 20px;
  color: var(--text-muted);
  text-align: center;
}

.native-empty-state h2 {
  margin: 12px 0 5px;
  color: var(--text-main);
  font-size: 18px;
}

.native-empty-state p {
  margin: 0 0 18px;
  font-size: 14px;
}

.native-empty-state .native-primary-button {
  width: 180px;
}

.native-empty-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 18px;
  color: var(--primary);
  background: var(--primary-light);
  font-size: 32px;
}

/* Booking notice for Web */
.native-app-only-notice {
  background: var(--bg-gradient);
  color: #fff;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.native-app-only-notice .material-symbols-rounded {
  font-size: 48px;
  background: rgba(255, 255, 255, 0.2);
  padding: 16px;
  border-radius: 20px;
}

.native-app-only-notice h3 {
  font-size: 20px;
  margin: 0;
}

.native-app-only-notice p {
  font-size: 14px;
  opacity: 0.9;
  margin: 0 0 8px;
  max-width: 400px;
}

.native-app-only-notice a {
  background: #fff;
  color: var(--primary);
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* App Auth Screen */
.app-auth-screen {
  padding-top: 44px;
}

.web-register-form label:has(input[value="worker"]) {
  display: none !important;
}

.worker-app-only-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}

.worker-app-only-link .material-symbols-rounded {
  font-size: 16px;
}

.app-auth-screen .navbar,
.app-auth-screen .footer {
  display: none;
}

.native-auth-screen {
  min-height: 100vh;
  background: var(--bg-main);
  display: flex;
  flex-direction: column;
}

.native-auth-hero {
  padding: 40px 24px;
  border-radius: 0 0 32px 32px;
  color: #fff;
  text-align: center;
  background: var(--bg-gradient);
}

.native-auth-logo {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .2);
  font-size: 38px;
}

.native-auth-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
}

.native-auth-hero p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, .8);
  font-size: 14px;
}

.native-auth-content {
  width: min(440px, 100%);
  margin: 0 auto;
  padding: 40px 24px;
  flex-grow: 1;
}

.native-auth-content h2 {
  margin: 0;
  color: var(--text-main);
  font-size: 24px;
  font-weight: 700;
}

.native-auth-subtitle {
  margin: 6px 0 32px;
  color: var(--text-muted);
  font-size: 15px;
}

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

.native-register-content {
  max-width: 560px;
}

.role-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0;
  border: 0;
}

.role-selector legend {
  width: 100%;
  margin-bottom: 8px;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 700;
}

.role-selector label {
  display: grid;
  min-height: 82px;
  place-items: center;
  gap: 4px;
  padding: 10px 6px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-sub);
  background: var(--card-bg);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}

.role-selector label:has(input:checked) {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.role-selector input {
  position: absolute;
  opacity: 0;
}

.role-selector .material-symbols-rounded {
  font-size: 22px;
}

.native-two-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.native-auth-form label>span {
  display: block;
  margin-bottom: 8px;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 650;
}

.native-field {
  display: flex;
  align-items: center;
  height: 52px;
  padding: 0 14px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--card-bg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .04);
  transition: border-color 0.2s;
}

.native-field:focus-within {
  border-color: var(--primary);
}

.native-field b {
  width: 24px;
  color: var(--text-muted);
  font-size: 18px;
}

.native-field input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  color: var(--text-main);
  background: transparent;
  font: 15px var(--font-family);
}

.native-forgot-link {
  justify-self: end;
  margin-top: -5px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
}

.native-auth-error {
  padding: 12px 16px;
  margin: 0 0 20px;
  border: 1px solid rgba(198, 40, 40, .3);
  border-radius: 12px;
  color: var(--red-text);
  background: var(--red-bg);
  font-size: 14px;
}

.native-auth-success {
  padding: 12px 16px;
  margin: 0 0 20px;
  border: 1px solid rgba(46, 125, 50, .3);
  border-radius: 12px;
  color: var(--green-text);
  background: var(--green-bg);
  font-size: 14px;
}

.native-google-note {
  padding: 16px;
  margin-top: 8px;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  background: var(--card-bg);
}

.native-google-note strong {
  color: var(--text-main);
  font-size: 15px;
}

.native-google-note p {
  margin: 6px 0 16px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.4;
}

.native-google-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  gap: 10px;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  color: var(--text-main);
  background: var(--card-bg);
  font: 700 15px var(--font-family);
  transition: all 0.2s;
}

.native-google-button:hover {
  background: var(--bg-main);
  border-color: var(--primary);
}

.native-google-button b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 14px;
  color: var(--primary);
  background: var(--primary-light);
  font-size: 16px;
}

.native-auth-submit {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: var(--bg-gradient);
  box-shadow: var(--shadow-md);
  font: 700 16px var(--font-family);
  cursor: pointer;
  transition: transform 0.2s;
}

.native-auth-submit:hover {
  transform: translateY(-2px);
}

.native-auth-switch {
  margin: 24px 0 0;
  color: var(--text-muted);
  text-align: center;
  font-size: 15px;
}

.native-auth-switch a {
  color: var(--primary);
  font-weight: 700;
}

/* Workers & Search */
.native-location-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 20px;
  color: #fff;
  background: rgba(255, 255, 255, .22);
  font-size: 13px;
  font-weight: 600;
}

.native-location-chip .material-symbols-rounded {
  font-size: 16px;
}

.native-worker-search {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.native-worker-search label {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, .16);
}

.native-worker-search label span {
  font-size: 20px;
}

.native-worker-search label .material-symbols-rounded {
  font-size: 20px;
}

.native-worker-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font: 15px var(--font-family);
}

.native-worker-search input::placeholder {
  color: rgba(255, 255, 255, .78);
}

.native-worker-search button {
  width: 48px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, .22);
  font-size: 22px;
  cursor: pointer;
  transition: background 0.2s;
}

.native-worker-search button:hover {
  background: rgba(255, 255, 255, .35);
}

.native-worker-search button .material-symbols-rounded {
  font-size: 22px;
}

.native-header-chips {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin: 16px -24px -4px;
  padding: 0 24px 8px;
  scrollbar-width: none;
}

.native-header-chips::-webkit-scrollbar {
  display: none;
}

.native-header-chips a {
  flex: 0 0 auto;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 20px;
  color: #fff;
  background: rgba(255, 255, 255, .2);
  font-size: 12px;
  font-weight: 700;
  transition: all 0.2s;
}

.native-header-chips a:hover {
  background: rgba(255, 255, 255, .3);
}

.native-header-chips a.active {
  color: var(--primary-hover);
  border-color: #fff;
  background: #fff;
}

.native-header-chips a.available.active {
  color: var(--green);
}

.native-worker-card {
  display: grid;
  grid-template-columns: 56px 1fr 24px;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  color: var(--text-main);
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
}

.native-worker-avatar {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #1565C0, #2E7D32);
  font-size: 22px;
  font-weight: 800;
}

.native-worker-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.native-worker-name-row h2 {
  margin: 0;
  overflow: hidden;
  font-size: 17px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.native-worker-status {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
}

.native-worker-status.offline {
  background: #90A4AE;
}

.native-worker-skill {
  margin: 4px 0;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
}

.native-worker-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  color: var(--text-muted);
  font-size: 12px;
}

.native-worker-meta .material-symbols-rounded {
  font-size: 15px;
}

.native-worker-rate {
  margin: 6px 0 0;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.native-worker-arrow {
  color: var(--primary);
  font-size: 28px;
}

/* Detail Pages */
.native-detail-header {
  padding-bottom: 20px;
}

.native-detail-header a {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.native-detail-header p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, .8);
  font-size: 14px;
}

.native-detail-card {
  padding: 20px;
  margin-bottom: 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
}

.native-detail-card h1 {
  margin: 8px 0;
  color: var(--text-main);
  font-size: 24px;
  line-height: 1.25;
}

.native-detail-card h2 {
  margin: 0 0 16px;
  color: var(--text-main);
  font-size: 18px;
}

.native-detail-text {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
}

.native-fixed-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px 0 16px;
}

.native-worker-detail {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: center;
}

.native-worker-detail .native-worker-avatar {
  width: 72px;
  height: 72px;
  font-size: 28px;
}

.native-worker-detail .native-job-pay {
  grid-column: 2;
  margin: -5px 0 0;
}

.native-booking-form {
  display: grid;
  gap: 16px;
}

.native-booking-form label {
  display: grid;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}

.native-booking-form input,
.native-booking-form textarea,
.native-chat-form input {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-main);
  background: var(--card-bg);
  font: 14px var(--font-family);
  transition: border-color 0.2s;
}

.native-booking-form input:focus,
.native-booking-form textarea:focus,
.native-chat-form input:focus {
  border-color: var(--primary);
  outline: none;
}

.native-booking-form textarea {
  min-height: 100px;
  resize: vertical;
}

.native-review {
  padding: 16px 0;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 14px;
}

.native-review strong {
  color: var(--text-main);
}

.native-review p {
  margin: 8px 0 0;
}

.native-booking-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background: var(--card-bg);
}

.native-booking-card h2 {
  margin: 8px 0 6px;
  color: var(--text-main);
  font-size: 18px;
}

.native-booking-card .native-card-actions {
  width: 140px;
  align-content: end;
  grid-template-columns: 1fr;
  margin-top: 0;
}

.native-booking-card form {
  display: contents;
}

.native-status {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--amber-text);
  background: var(--amber-bg);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.native-status.confirmed,
.native-status.accepted {
  color: var(--green-text);
  background: var(--green-bg);
}

.native-status.completed {
  color: var(--blue-text);
  background: var(--blue-bg);
}

.native-status.cancelled {
  color: var(--red-text);
  background: var(--red-bg);
}

/* ==========================================================================
   Chat Layout - Two-pane Desktop, Stack Mobile
   ========================================================================== */
.native-chat-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  padding: 0 !important;
  min-height: 70vh;
}

.native-thread-list {
  border-right: 1px solid var(--border-color);
  overflow-y: auto;
  max-height: 70vh;
  background: var(--card-bg);
}

.native-thread {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
  text-decoration: none;
  transition: background 0.15s ease;
}

.native-thread:hover {
  background: var(--primary-light);
}

.native-thread.active {
  background: var(--primary-light);
  border-left: 3px solid var(--primary);
}

.native-thread-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.native-thread-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.native-thread-info strong {
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.native-thread-info span {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 500;
}

.native-thread-info small {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.native-chat-pane {
  display: flex;
  flex-direction: column;
  max-height: 70vh;
  background: var(--bg-main);
}

.native-chat-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  background: var(--card-bg);
}

.native-chat-header h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
}

.native-chat-header p {
  font-size: 0.8rem;
  color: var(--primary);
  margin: 2px 0 0;
  font-weight: 500;
}

.native-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.native-chat-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-muted);
  text-align: center;
  gap: 8px;
}

.native-chat-empty .material-symbols-rounded {
  font-size: 48px;
  opacity: 0.3;
}

.native-chat-empty p {
  font-size: 0.9rem;
}

.native-chat-bubble {
  max-width: 70%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.45;
  position: relative;
  word-break: break-word;
}

.native-chat-bubble p {
  margin: 0;
}

.native-chat-bubble--sent {
  align-self: flex-end;
  background: var(--primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.native-chat-bubble--received {
  align-self: flex-start;
  background: var(--card-bg);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-bottom-left-radius: 4px;
}

.native-chat-sender {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 2px;
}

.native-chat-bubble--sent .native-chat-sender {
  color: rgba(255, 255, 255, 0.7);
}

.native-chat-time {
  display: block;
  font-size: 0.68rem;
  margin-top: 4px;
  opacity: 0.6;
}

.native-chat-form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid var(--border-color);
  background: var(--card-bg);
}

.native-chat-form input {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  background: var(--bg-main);
  color: var(--text-main);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease;
}

.native-chat-form input:focus {
  border-color: var(--primary);
}

.native-chat-send {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.15s ease;
  flex-shrink: 0;
}

.native-chat-send:hover {
  background: var(--primary-hover);
  transform: scale(1.05);
}

.native-chat-send .material-symbols-rounded {
  font-size: 20px;
}

.native-chat-notice {
  margin: auto 0 20px;
  padding: 16px;
  border-radius: 12px;
  color: var(--text-muted);
  background: var(--bg-main);
  font-size: 13px;
  text-align: center;
}

/* ==========================================================================
   Profile Page - App-like Layout
   ========================================================================== */
.native-profile-header {
  padding-bottom: 30px;
  text-align: center;
}

.native-profile-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.native-profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}

.native-profile-avatar-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.native-profile-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.native-profile-role-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
}

.native-header-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
  text-decoration: none;
}

.native-header-edit-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.native-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.native-section-title .material-symbols-rounded {
  font-size: 20px;
  color: var(--primary);
}

.native-profile-field {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.native-profile-field:last-child {
  border-bottom: none;
}

.native-profile-field>.material-symbols-rounded {
  font-size: 20px;
  color: var(--text-muted);
  margin-top: 2px;
  flex-shrink: 0;
}

.native-profile-field div {
  flex: 1;
  min-width: 0;
}

.native-profile-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 2px;
}

.native-profile-field p {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-main);
  margin: 0;
  word-break: break-word;
}

.native-profile-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-main);
  color: var(--text-main);
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.native-profile-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

textarea.native-profile-input {
  resize: vertical;
  min-height: 60px;
}

select.native-profile-input {
  cursor: pointer;
}

.native-profile-toggle {
  align-items: center;
}

.native-profile-chevron {
  color: var(--text-muted);
  font-size: 20px;
  margin-left: auto;
  flex-shrink: 0;
}

/* Toggle Switch */
.native-switch {
  position: relative;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
  margin-left: auto;
}

.native-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.native-switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--border-color);
  border-radius: 26px;
  transition: 0.3s ease;
}

.native-switch-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.native-switch input:checked+.native-switch-slider {
  background: var(--primary);
}

.native-switch input:checked+.native-switch-slider::before {
  transform: translateX(22px);
}

/* Profile Actions */
.native-profile-action {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  cursor: pointer;
}

.native-profile-action--danger {
  color: var(--red);
}

.native-profile-action .material-symbols-rounded {
  font-size: 22px;
}

/* Worker profile photo in card */
.native-worker-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* ==========================================================================
   SPA Router - Transitions & Progress Bar
   ========================================================================== */
#spa-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
  background-size: 200% 100%;
  z-index: 99999;
  pointer-events: none;
  transition: width 0.3s ease;
  border-radius: 0 2px 2px 0;
}

#spa-progress.loading {
  width: 85%;
  animation: progressShine 1.5s ease infinite;
}

#spa-progress.done {
  width: 100%;
  opacity: 0;
  transition: width 0.2s ease, opacity 0.3s ease 0.1s;
}

@keyframes progressShine {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

#app-content {
  transition: opacity 0.18s ease, transform 0.18s ease;
  will-change: opacity, transform;
  min-height: 60vh;
}

#app-content.spa-exit {
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
}

#app-content.spa-enter {
  opacity: 0;
  transform: translateY(-6px);
}

#app-content.spa-enter-active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .native-chat-layout {
    grid-template-columns: 240px 1fr;
  }

  .grid-cards {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }

  .native-card-list {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 720px) {
  :root {
    --navbar-height: 60px;
  }

  body {
    padding-bottom: 78px;
    padding-left: 0;
  }

  body:not(.app-auth-screen) {
    padding-top: 54px;
    padding-left: 0;
  }

  .app-sidebar {
    display: none;
  }

  .download-app-banner {
    justify-content: flex-start;
    font-size: 12px;
    padding: 12px 16px;
  }

  .download-app-banner a {
    margin-left: auto;
    padding: 6px 12px;
    font-size: 11px;
  }

  .navbar {
    position: sticky;
  }

  .app-authenticated .navbar {
    display: none;
  }

  .nav-container {
    padding: 0 16px;
  }

  .brand-logo {
    font-size: 1.2rem;
    gap: 8px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-actions .btn {
    padding: 6px 9px;
    font-size: .78rem;
  }

  .theme-toggle-btn {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }

  .main-content,
  .native-content {
    padding: 20px 16px;
    width: 100%;
  }

  .hero-section {
    padding: 30px 22px;
    border-radius: 18px;
    margin-bottom: 20px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: .95rem;
    margin-bottom: 22px;
  }

  .search-card,
  .job-card,
  .worker-card {
    padding: 16px;
    border-radius: 14px;
  }

  .grid-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .native-card-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Existing PHP screens keep their desktop layout inline. Collapse those
     same Flutter-style detail/form layouts for a real mobile app experience. */
  main [style*="grid-template-columns: 2fr 1fr"],
  main [style*="grid-template-columns: 320px 1fr"],
  main [style*="grid-template-columns: 1fr 1fr"],
  main [style*="grid-template-columns: 1fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    height: auto !important;
  }

  main [style*="position: sticky"] {
    position: static !important;
  }

  main [style*="border-right"] {
    border-right: 0 !important;
    padding-right: 0 !important;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer {
    display: none;
  }

  .native-chat-layout {
    grid-template-columns: 1fr;
  }

  .native-thread-list {
    max-height: 200px;
    border-right: 0;
    border-bottom: 1px solid var(--border-color);
  }

  .native-chat-pane {
    max-height: 60vh;
  }

  .native-booking-card {
    flex-direction: column;
    align-items: stretch;
  }

  .native-booking-card .native-card-actions {
    width: 100%;
    grid-template-columns: 1fr 1fr;
    margin-top: 12px;
  }

  .native-fixed-actions {
    position: sticky;
    bottom: 78px;
    padding: 10px 0;
    background: var(--bg-main);
    z-index: 10;
    border-top: 1px solid var(--border-color);
    margin: 0 -16px;
    padding: 12px 16px;
  }

  .mobile-app-nav {
    position: fixed;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    min-height: 70px;
    padding: 7px 6px calc(7px + env(safe-area-inset-bottom));
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -5px 20px rgba(8, 17, 31, .08);
  }

  .mobile-app-nav__item {
    min-width: 0;
    padding: 5px 2px;
    border-radius: 12px;
    color: var(--text-muted);
    font-size: .66rem;
    line-height: 1.15;
    font-weight: 700;
    text-align: center;
  }

  .mobile-app-nav__icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 25px;
    margin: 0 auto 2px;
    font-size: 1.1rem;
    line-height: 1;
    border-radius: 9px;
  }

  .mobile-app-nav__item.active {
    color: var(--primary);
  }

  .mobile-app-nav__item.active .mobile-app-nav__icon {
    color: var(--primary-dark);
    background: var(--accent-light);
  }
}

body:not(.app-auth-screen) {
  padding-top: 0;
}

.app-sidebar {
  top: 0;
}

@media (max-width: 720px) {
  body:not(.app-auth-screen) {
    padding-top: 0;
  }

  .web-screen {
    padding-bottom: 105px;
  }
}

.web-tabs {
  display: flex;
  gap: 18px;
  border-bottom: 1px solid var(--border-color);
  margin: 0 0 20px;
}

.web-tabs a {
  display: inline-flex;
  padding: 10px 4px;
  color: var(--text-muted);
  font-weight: 700;
  border-bottom: 3px solid transparent;
}

.web-tabs a.active {
  color: var(--primary);
  border-color: var(--primary);
}

.web-record-list {
  display: grid;
  gap: 14px;
}

.web-booking-card {
  padding: 18px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.web-booking-head,
.web-booking-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.web-booking-head h2 {
  margin: 0;
  font-size: 1.1rem;
}

.web-booking-head p {
  margin: 4px 0 0;
  color: var(--text-muted);
}

.web-booking-facts {
  display: grid;
  gap: 8px;
  padding: 14px 0;
}

.web-booking-facts>span {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  overflow-wrap: anywhere;
}

.web-booking-facts .material-symbols-rounded {
  flex: 0 0 auto;
  font-size: 18px;
  color: var(--primary);
}

.web-booking-actions {
  justify-content: flex-start;
}

.web-booking-actions form {
  margin: 0;
}

.web-booking-request {
  padding: 12px;
  margin: 0 0 14px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: var(--primary-light);
}

.web-booking-request p {
  margin: 5px 0 0;
}

.web-booking-edit {
  border-top: 1px solid var(--border-color);
  margin-top: 14px;
  padding-top: 12px;
}

.web-booking-edit summary {
  color: var(--primary);
  font-weight: 700;
  cursor: pointer;
}

.web-booking-edit .web-form-stack {
  margin-top: 15px;
}

.web-text-link {
  display: inline-flex;
  margin-top: 13px;
  color: var(--primary);
  font-weight: 700;
}

.web-worker-city {
  display: inline-flex;
  align-items: center;
  max-width: min(42%, 220px);
  min-width: 0;
}

.web-worker-city>span:last-child {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.native-workers-header .native-title-row>div {
  min-width: 0;
}

.native-worker-search label {
  min-width: 0;
}

.native-worker-search input {
  min-width: 0;
}

.native-worker-search button {
  flex: 0 0 44px;
}

.native-worker-copy {
  min-width: 0;
}

.native-worker-meta {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.web-post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.web-post-actions form {
  margin: 0;
}

.web-favorite-link {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 0 0 18px;
  padding: 15px;
  background: var(--primary-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--primary);
}

.web-favorite-link>span:nth-child(2) {
  display: grid;
  flex: 1;
  min-width: 0;
}

.web-favorite-link small {
  color: var(--text-muted);
  font-size: .85rem;
}

.web-worker-tools {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: 0 0 16px;
}

.web-worker-tools form {
  margin: 0;
}

.web-worker-tools details {
  padding: 10px 0;
}

.web-worker-tools summary {
  color: var(--primary);
  font-weight: 700;
  cursor: pointer;
}

.web-worker-tools details form {
  margin: 12px 0;
  min-width: min(320px, 80vw);
}

.web-worker-avatar {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  object-fit: cover;
  flex: 0 0 auto;
}

.web-support-grid {
  display: grid;
  gap: 12px;
  max-width: 640px;
}

.web-support-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--card-bg);
  color: var(--text-main);
}

.web-support-item>.material-symbols-rounded:first-child {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 7px;
}

.web-support-item>span:nth-child(2) {
  display: grid;
  flex: 1;
  min-width: 0;
}

.web-support-item small {
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

.web-profile-label {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 7px 0;
  color: var(--text-muted);
  font-weight: 700;
}

.web-profile-label a,
.web-profile-label span {
  font-weight: 500;
  overflow-wrap: anywhere;
}

@media (max-width: 520px) {
  .native-workers-header .native-title-row {
    flex-wrap: wrap;
    gap: 8px;
  }

  .web-worker-city {
    max-width: 100%;
  }

  .web-booking-card {
    padding: 14px;
  }

  .web-booking-actions .native-primary-button,
  .web-booking-actions .native-outline-button {
    min-width: 90px;
  }
}

/* The jobs workspace uses the web topbar and three-column layout. Keep the
   legacy app navigation out of this view even when older rules load later. */
body:not(.app-auth-screen) {
  padding-left: 0 !important;
  padding-top: 72px !important;
  padding-bottom: 0 !important;
}

body:not(.app-auth-screen) .app-sidebar,
body:not(.app-auth-screen) .mobile-app-nav {
  display: none !important;
}

@media (max-width: 720px) {
  body:not(.app-auth-screen) {
    padding-top: 62px !important;
  }
}

/* Jobs home layout: keep the filter controls inside their own rail and give
   the feed enough room at every desktop width. */
html,
body {
  overflow-x: clip;
}

#app-content {
  width: 100%;
  min-width: 0;
}

.web-screen.web-jobs-page {
  width: min(1600px, 100%);
  padding: 42px 32px 64px;
}

.web-jobs-layout {
  grid-template-columns: minmax(248px, 272px) minmax(0, 1fr) minmax(252px, 286px);
  gap: 28px;
}

.web-filter-rail {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 20px;
  overflow: hidden;
}

.web-filter-rail .web-filter-panel,
.web-filter-rail .web-filter-panel label,
.web-filter-rail .web-filter-panel select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.web-filter-rail .web-filter-panel label {
  overflow: hidden;
}

.web-filter-rail .web-filter-panel select {
  display: block;
}

.web-jobs-hero {
  min-width: 0;
  padding: 30px;
}

.web-suggested-rail {
  min-width: 0;
}

@media (max-width: 1280px) {
  .web-screen.web-jobs-page {
    padding-right: 24px;
    padding-left: 24px;
  }

  .web-jobs-layout {
    grid-template-columns: 244px minmax(0, 1fr);
    gap: 22px;
  }

  .web-suggested-rail {
    display: none;
  }
}

@media (max-width: 760px) {
  .web-screen.web-jobs-page {
    padding: 22px 16px 42px;
  }

  .web-jobs-layout {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .web-job-feed {
    order: 1;
  }

  .web-filter-rail {
    position: static;
    order: 2;
    padding: 16px;
  }

  .web-filter-rail .web-filter-panel {
    grid-template-columns: 1fr;
  }

  .web-filter-rail .web-filter-panel label,
  .web-filter-rail .web-primary-action {
    grid-column: auto;
  }

  .web-jobs-hero {
    padding: 23px 20px;
  }
}

/* Complete job information, shared visual language with the mobile job cards. */
.web-job-card--complete {
  display: grid;
  gap: 2px;
}

.web-job-card--complete .web-job-meta {
  margin: 13px 0 9px;
}

.web-job-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 14px 0 4px;
}

.web-job-card__stats>span {
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr);
  column-gap: 7px;
  min-width: 132px;
  max-width: 100%;
}

.web-job-card__stats i {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 7px;
  color: #237568;
  background: #edf5f1;
  font-size: 16px;
}

.web-job-card__stats b,
.web-job-card__stats small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.web-job-card__stats b {
  align-self: end;
  color: #1b322d;
  font-size: 12px;
}

.web-job-card__stats small {
  color: #778681;
  font-size: 10px;
}

.web-job-card__opening {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #55706a;
  font-size: 12px;
  font-weight: 700;
}

.web-job-card__opening .material-symbols-rounded {
  color: #237568;
  font-size: 17px;
}

.web-job-detail-page {
  width: min(1320px, 100%);
  padding-top: 34px;
}

.web-back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 18px;
  color: #1565c0;
  font-size: 13px;
  font-weight: 800;
}

.web-back-link:hover {
  color: #0d47a1;
}

.web-back-link .material-symbols-rounded {
  font-size: 19px;
}

.web-detail-grid {
  grid-template-columns: minmax(0, 1fr) 306px;
  gap: 24px;
}

.web-detail-main {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.web-detail-hero,
.web-detail-section,
.web-detail-action-card {
  border: 1px solid #dce6e2;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(20, 52, 46, .04);
}

.web-detail-hero {
  padding: 25px;
}

.web-detail-hero__top,
.web-detail-company {
  display: flex;
  align-items: center;
  gap: 10px;
}

.web-detail-hero__top {
  justify-content: space-between;
}

.web-detail-company {
  min-width: 0;
  color: #59706a;
  font-size: 13px;
  font-weight: 800;
}

.web-detail-company .web-logo-tile {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 8px;
  color: #237568;
  background: #edf5f1;
  font-size: 20px;
}

.web-detail-company a {
  color: #28665d;
}

.web-detail-hero h1 {
  margin: 16px 0 8px;
  color: #172d29;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.13;
  letter-spacing: 0;
}

.web-detail-location {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  color: #61736e;
  font-size: 13px;
}

.web-detail-location .material-symbols-rounded {
  color: #237568;
  font-size: 18px;
}

.web-detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 15px 0 2px;
}

.web-detail-badges span {
  padding: 5px 9px;
  border-radius: 6px;
  color: #237568;
  background: #e7f4ee;
  font-size: 11px;
  font-weight: 800;
}

.web-detail-badges span+span {
  color: #2366a6;
  background: #eaf2fe;
}

.web-detail-hero .web-job-tags {
  margin-bottom: 0;
}

.web-detail-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #e6eeeb;
}

.web-detail-stats>div,
.web-detail-info-grid>div {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
}

.web-detail-stats>div>.material-symbols-rounded,
.web-detail-info-grid>div>.material-symbols-rounded {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #237568;
  background: #edf5f1;
  font-size: 18px;
}

.web-detail-stats p,
.web-detail-info-grid p {
  display: grid;
  min-width: 0;
  margin: 0;
}

.web-detail-stats small,
.web-detail-info-grid small {
  color: #74827d;
  font-size: 10px;
  font-weight: 700;
}

.web-detail-stats b,
.web-detail-info-grid b {
  color: #1d322e;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.web-detail-stats em {
  color: #63746f;
  font-size: 10px;
  font-style: normal;
}

.web-detail-section {
  padding: 22px 24px;
}

.web-detail-section h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 15px;
  color: #1b322d;
  font-size: 17px;
}

.web-detail-section h2 .material-symbols-rounded {
  color: #237568;
  font-size: 20px;
}

.web-detail-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px 20px;
}

.web-detail-copy {
  margin: 0;
  color: #526660;
  font-size: 13px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.web-detail-section--compact {
  padding-top: 18px;
  padding-bottom: 18px;
}

.web-detail-deadline {
  margin: 0;
  color: #237568;
  font-size: 14px;
  font-weight: 800;
}

.web-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.web-perks span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  border-radius: 6px;
  color: #24754c;
  background: #e9f9ef;
  font-size: 12px;
  font-weight: 700;
}

.web-perks i {
  font-size: 15px;
}

.web-detail-section .web-job-tags {
  margin: 0;
}

.web-detail-section .web-job-tags a {
  display: inline-flex;
  max-width: 100%;
  padding: 5px 8px;
  border-radius: 6px;
  color: #28665d;
  background: #edf5f1;
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.web-detail-aside {
  position: sticky;
  top: 94px;
  min-width: 0;
}

.web-detail-action-card {
  padding: 21px;
}

.web-detail-action-card h2 {
  margin: 0 0 6px;
  color: #1b322d;
  font-size: 18px;
}

.web-detail-action-card>p {
  margin: 0 0 16px;
  color: #657772;
  font-size: 12px;
  line-height: 1.5;
}

.web-detail-action-card .web-action-form {
  margin-top: 12px;
}

.web-detail-action-card .web-action-form label {
  font-size: 12px;
}

.web-detail-action-card .native-primary-button,
.web-detail-action-card .native-outline-button {
  width: 100%;
  justify-content: center;
}

@media (max-width: 900px) {
  .web-job-detail-page {
    padding-right: 22px;
    padding-left: 22px;
  }

  .web-detail-grid {
    grid-template-columns: 1fr;
  }

  .web-detail-aside {
    position: static;
  }
}

@media (max-width: 580px) {
  .web-job-card__stats {
    gap: 10px;
  }

  .web-job-card__stats>span {
    min-width: 118px;
  }

  .web-detail-hero,
  .web-detail-section,
  .web-detail-action-card {
    padding: 18px;
  }

  .web-detail-stats {
    grid-template-columns: 1fr;
  }

  .web-detail-info-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .web-job-detail-page {
    padding: 20px 14px 42px;
  }
}

/* Job posting controls and feed pagination. */
.web-salary-type {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.web-salary-type legend {
  width: 100%;
  margin-bottom: 2px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}

.web-salary-type label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 39px;
  padding: 0 10px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-sub);
  background: var(--card-bg);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.web-salary-type label:has(input:checked) {
  border-color: #237568;
  color: #237568;
  background: #edf5f1;
}

.web-salary-type input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: #237568;
}

.web-pagination {
  align-items: center;
  flex-wrap: wrap;
}

.web-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 37px;
  min-height: 37px;
  padding: 7px 10px;
}

.web-pagination a.active {
  border-color: #237568;
  color: #fff;
  background: #237568;
}

.web-pagination .web-pagination__control {
  gap: 3px;
  min-width: auto;
}

.web-pagination .web-pagination__control .material-symbols-rounded {
  font-size: 18px;
}

.web-pagination .is-disabled {
  pointer-events: none;
  opacity: .42;
}

.web-pagination__ellipsis {
  padding: 0 2px;
  color: #71807c;
  font-weight: 800;
}

/* Blue and white web theme, aligned with the JobsNGO app palette. */
body:not(.app-auth-screen) {
  background: #f5f8ff;
}

.web-topbar {
  border-color: #dbe8fb;
  box-shadow: 0 5px 18px rgba(21, 101, 192, .07);
}

.web-brand {
  color: #0d47a1;
}

.web-brand__mark,
.web-topbar__avatar {
  background: #1565c0;
}

.web-topbar__link {
  color: #64748b;
}

.web-topbar__link:hover,
.web-topbar__link.active {
  color: #1565c0;
  background: #e3f2fd;
}

.web-topbar__icon {
  color: #1558a6;
  background: #edf5ff;
}

.web-topbar__icon:hover {
  color: #0d47a1;
  background: #dcecff;
}

.web-topbar__register,
.web-topbar__register:hover {
  background: #1565c0;
}

.web-filter-rail,
.web-suggested-card,
.web-detail-hero,
.web-detail-section,
.web-detail-action-card {
  border-color: #dbe8fb;
  box-shadow: 0 6px 18px rgba(21, 101, 192, .05);
}

.web-filter-rail__head h2,
.web-suggested-head h2 {
  color: #102a43;
}

.web-filter-rail__head a,
.web-feed-shortcuts a {
  color: #1565c0;
}

.web-filter-rail .web-filter-panel select {
  border-color: #d5e4f7;
  color: #203c5a;
  background: #fbfdff;
}

.web-filter-rail .web-primary-action,
.web-jobs-page .web-primary-action {
  border-color: #1565c0;
  background: #1565c0;
}

.web-jobs-hero {
  background: #1565c0;
  box-shadow: 0 12px 24px rgba(21, 101, 192, .18);
}

.web-eyebrow {
  color: #cfe6ff;
}

.web-jobs-hero .web-searchbar button {
  background: #0d47a1;
}

.web-jobs-page .web-searchbar {
  border-color: #cfe0f5;
  box-shadow: 0 6px 18px rgba(21, 101, 192, .08);
}

.web-jobs-page .web-searchbar:focus-within {
  border-color: #1565c0;
  box-shadow: 0 0 0 3px rgba(21, 101, 192, .13);
}

.web-jobs-page .web-chip.selected,
.web-jobs-page .web-chip:hover {
  border-color: #1565c0;
  background: #1565c0;
}

.web-feed-shortcuts a {
  border-color: #dbe8fb;
}

.web-feed-shortcuts a:hover {
  border-color: #a9c9ef;
  background: #edf5ff;
}

.web-jobs-page .web-job-card:hover {
  border-color: #aacaf0;
  box-shadow: 0 12px 28px rgba(21, 101, 192, .12);
}

.web-jobs-page .web-job-tags span,
.web-detail-section .web-job-tags a {
  color: #1558a6;
  background: #edf5ff;
}

.web-jobs-page .web-job-card__foot strong {
  color: #1565c0;
}

.web-job-card__stats i,
.web-job-card__opening .material-symbols-rounded {
  color: #1565c0;
  background: #edf5ff;
}

.web-detail-company .web-logo-tile,
.web-detail-stats>div>.material-symbols-rounded,
.web-detail-info-grid>div>.material-symbols-rounded {
  color: #1565c0;
  background: #edf5ff;
}

.web-detail-company a,
.web-detail-location .material-symbols-rounded,
.web-detail-section h2 .material-symbols-rounded,
.web-detail-deadline {
  color: #1565c0;
}

.web-detail-badges span {
  color: #1565c0;
  background: #e8f2ff;
}

.web-detail-badges span+span {
  color: #0d47a1;
  background: #dcecff;
}

.web-salary-type label:has(input:checked) {
  border-color: #1565c0;
  color: #1565c0;
  background: #edf5ff;
}

.web-salary-type input {
  accent-color: #1565c0;
}

.web-pagination a.active {
  border-color: #1565c0;
  background: #1565c0;
}

.web-chat-temporary-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 10px 14px 0;
  padding: 10px 12px;
  border: 1px solid #bfd9fb;
  border-radius: 7px;
  color: #1558a6;
  background: #edf5ff;
  font-size: 12px;
  line-height: 1.45;
}

.web-chat-temporary-notice .material-symbols-rounded {
  flex: 0 0 auto;
  margin-top: 1px;
  font-size: 17px;
}

/* Conversations workspace */
.web-chat-page {
  padding: 28px 24px 54px;
}

.web-chat-page>.native-gradient-header {
  width: min(1180px, 100%);
  margin: 0 auto 18px;
  padding: 0;
  border-radius: 0;
  color: #142a43;
  background: transparent;
  box-shadow: none;
}

.web-chat-page .native-title-row {
  align-items: center;
}

.web-chat-page .native-title-row h1 {
  color: #142a43;
  font-size: 25px;
}

.web-chat-page .native-title-row p {
  color: #64748b;
}

.web-chat-page .web-header-icon {
  border: 1px solid #dbe8fb;
  color: #1565c0;
  background: #fff;
}

.web-chat-page>.native-content {
  width: min(1180px, 100%);
  padding: 0;
}

.web-chat-page .web-tabs {
  margin-bottom: 14px;
}

.web-chat-page .web-tabs a {
  padding: 10px 12px;
}

.web-chat-layout {
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  height: min(680px, 72vh);
  min-height: 440px;
  border: 1px solid #dbe8f6;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 5px 18px rgba(21, 101, 192, .05);
}

.web-chat-layout .native-thread-list {
  max-height: none;
  min-height: 0;
}

.web-chat-layout .native-thread {
  min-height: 70px;
  padding: 14px 16px;
}

.web-chat-layout .native-thread.active {
  border-left: 3px solid #1565c0;
  background: #edf5ff;
}

.web-chat-layout .native-thread-avatar {
  width: 40px;
  height: 40px;
  background: #1565c0;
}

.web-chat-layout .native-chat-pane {
  min-width: 0;
  min-height: 0;
  max-height: none;
  background: #f7f9fc;
}

.web-chat-layout .native-chat-header {
  min-height: 70px;
  padding: 14px 20px;
}

.web-chat-layout .native-chat-header h2 {
  color: #172c45;
}

.web-chat-layout .native-chat-header p {
  color: #64748b;
}

.web-chat-layout .native-chat-messages {
  min-height: 0;
  padding: 18px 20px;
}

.web-chat-layout .native-chat-bubble {
  max-width: min(70%, 440px);
  padding: 9px 12px;
  border-radius: 8px;
  overflow-wrap: anywhere;
}

.web-chat-layout .native-chat-bubble--sent {
  background: #1565c0;
}

.web-chat-layout .native-chat-time {
  margin-top: 5px;
  font-size: 11px;
  opacity: .85;
}

.web-chat-layout .native-chat-form {
  padding: 12px 16px;
}

.web-chat-layout .native-chat-form input {
  min-width: 0;
  border-radius: 8px;
}

.web-chat-layout .native-chat-send {
  flex: 0 0 42px;
  border-radius: 8px;
}

.web-chat-layout .web-chat-temporary-notice {
  flex: 0 0 auto;
}

@media (max-width: 720px) {
  .web-chat-page {
    padding: 20px 14px 36px;
  }

  .web-chat-layout {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(70px, 160px) minmax(350px, 1fr);
    height: auto;
    min-height: 0;
  }

  .web-chat-layout .native-thread-list {
    max-height: 160px;
    border-right: 0;
    border-bottom: 1px solid #dbe8f6;
  }

  .web-chat-layout .native-chat-pane {
    min-height: 420px;
    max-height: 65vh;
  }

  .web-chat-layout .native-chat-bubble {
    max-width: 85%;
  }
}

/* Search workspace */
.web-search-page .web-jobs-layout {
  grid-template-columns: minmax(220px, 272px) minmax(0, 1fr);
}

.web-search-page .web-suggested-rail {
  display: none;
}

.web-search-page .web-filter-rail {
  top: 94px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}

.web-search-page .web-jobs-hero {
  padding: 24px;
}

.web-search-page .web-jobs-hero h1 {
  font-size: 26px;
}

.web-search-page .web-jobs-hero p {
  margin-bottom: 18px;
}

.web-search-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.web-search-heading h1 {
  margin: 0;
  color: #142a43;
  font-size: 24px;
}

.web-search-heading a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #dbe8fb;
  border-radius: 8px;
  color: #1565c0;
  background: #fff;
}

.web-search-page__bar {
  margin: 0;
  border: 1px solid #dbe8fb;
  background: #fff;
}

.web-thread-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid #dbe8f6;
  color: #64748b;
  font-size: 13px;
}

.web-thread-pagination a {
  color: #1565c0;
  font-weight: 700;
}

@media (max-width: 760px) {
  .web-search-page .web-filter-rail {
    position: static;
    order: 0;
    max-height: none;
    overflow: visible;
  }

  .web-search-page .web-job-feed {
    order: 1;
  }

  .web-search-page .web-jobs-hero {
    padding: 20px;
  }

  .web-search-page .web-jobs-hero h1 {
    font-size: 22px;
  }
}

.web-screen.web-jobs-page {
  padding-top: 0;
}

.web-brand__logo {
  display: block;
  width: 38px;
  height: 38px;
  flex: none;
  object-fit: cover;
  border-radius: 6px;
}

.native-auth-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.web-play-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 38px;
  padding: 8px 11px;
  border-radius: 6px;
  color: #fff;
  background: #145cbb;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.web-play-link:hover {
  color: #fff;
  background: #0d47a1;
}

.web-play-link .material-symbols-rounded {
  font-size: 20px;
}

.web-download-modal {
  width: min(340px, calc(100vw - 32px));
  max-width: 100%;
  padding: 28px 12px 24px;
  gap: 12px;
}

.web-download-modal__logo {
  display: block;
  width: 92px;
  height: 92px;
  margin: 0 auto 16px;
  border-radius: 8px;
}

.web-play-link--modal {
  width: 100%;
  margin-top: 12px;
}

.web-download-later {
  display: block;
  margin: 14px auto 0;
  padding: 6px;
  border: 0;
  color: #49647c;
  background: transparent;
  cursor: pointer;
}

.web-company-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.web-company-logo[hidden],
.web-logo-tile [hidden] {
  display: none;
}

.web-public-avatar [hidden] {
  display: none;
}

.web-filter-toggle {
  display: none;
}

.web-edit-closed {
  color: #64748b;
  cursor: not-allowed;
}

.web-legal-page {
  width: min(920px, 100%);
  margin: 0 auto;
}

.web-legal-page header {
  padding: 12px 0 22px;
  border-bottom: 1px solid #dbe8fb;
}

.web-legal-page h1 {
  margin: 4px 0 8px;
  color: #142a43;
  font-size: 30px;
}

.web-legal-page header>p:last-child {
  color: #64748b;
  font-size: 13px;
}

.web-legal-eyebrow {
  color: #1565c0;
  font-size: 12px;
  font-weight: 700;
}

.web-legal-content section {
  padding: 20px 0;
  border-bottom: 1px solid #e2eaf4;
}

.web-legal-content h2 {
  margin: 0 0 10px;
  color: #142a43;
  font-size: 19px;
}

.web-legal-content p,
.web-legal-content li {
  color: #405268;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.web-legal-content p+p {
  margin-top: 12px;
}

.web-legal-content ul {
  padding-left: 20px;
}

.web-legal-content li+li {
  margin-top: 10px;
}

.web-legal-content a {
  color: #1565c0;
  text-decoration: underline;
}

.web-logout-button,
.web-footer-logout {
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.web-footer-logout {
  padding: 0;
  color: var(--text-muted);
  font-size: .85rem;
  font-weight: 500;
}

.web-footer-logout:hover {
  color: var(--primary);
}

.web-play-link,
.web-play-link:hover {
  position: relative;
  display: inline-block;
  flex: none;
  width: 132px;
  min-height: 0;
  aspect-ratio: 344 / 103;
  padding: 0;
  overflow: hidden;
  border-radius: 4px;
  background: transparent;
}

.web-play-link img {
  position: absolute;
  display: block;
  width: 124.42%;
  max-width: none;
  height: auto;
  left: -15.99%;
  top: -92.23%;
}

.web-play-link--modal {
  display: block;
  width: 172px;
  max-width: 100%;
  margin: 16px auto 0;
}

@media (max-width: 760px) {
  .web-filter-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: #153759;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
  }

  .web-filter-toggle::-webkit-details-marker {
    display: none;
  }

  .web-filter-toggle .material-symbols-rounded:last-child {
    margin-left: auto;
  }

  .web-filter-rail .web-filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .web-filter-rail .web-filter-panel label {
    min-width: 0;
    font-size: 13px;
  }

  .web-filter-rail .web-filter-panel select {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    font-size: 16px;
  }

  .web-filter-rail .web-primary-action {
    grid-column: 1 / -1;
    min-height: 44px;
  }

  .web-screen.web-jobs-page {
    padding-top: 0;
  }

  .web-topbar__inner {
    min-width: 0;
  }

  .web-topbar__actions {
    gap: 6px;
  }

  .web-topbar__actions .web-play-link {
    width: 96px;
    padding: 0;
  }

  .web-topbar__actions .web-play-link span:not(.material-symbols-rounded) {
    display: none;
  }

  .web-job-card__head,
  .web-job-meta,
  .web-job-tags,
  .web-page-head,
  .footer-container {
    min-width: 0;
  }

  .web-job-meta,
  .web-job-tags {
    flex-wrap: wrap;
  }

  .web-job-tags span,
  .web-job-meta span,
  .web-page-head h1,
  .web-job-card__identity {
    overflow-wrap: anywhere;
  }

  .web-screen,
  .web-job-feed,
  .web-filter-rail,
  .web-result-section {
    min-width: 0;
    max-width: 100%;
  }

  .web-job-card__stats>span {
    min-width: min(118px, 100%);
  }
}

.web-not-found {
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 20px;
}

.web-not-found__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e8f2ff;
  color: #1762bc;
}

.web-not-found__icon .material-symbols-rounded {
  font-size: 32px;
}

.web-not-found__code {
  margin: 24px 0 4px;
  color: #1762bc;
  font-weight: 700;
}

.web-not-found h1 {
  margin: 0;
  font-size: 32px;
}

.web-not-found>p:not(.web-not-found__code) {
  max-width: 440px;
  color: #5b6b7b;
}

.web-not-found__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

@media (max-width: 720px) {
  .web-topbar__actions--guest .web-play-link {
    display: none;
  }

  .web-topbar__actions:not(.web-topbar__actions--guest) .web-play-link {
    width: 82px;
  }
}

/* ================================================================
   JobsNGO visual refresh — clean blue & white product experience
   Additive overrides: preserve existing page structure and behavior.
   ================================================================ */
:root {
  --primary: #1769e0;
  --primary-hover: #1054bb;
  --primary-light: #edf4ff;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --accent-light: #dbeafe;
  --bg-gradient: linear-gradient(135deg, #1557c0 0%, #2479ed 58%, #53a4ff 100%);
  --bg-main: #f5f8fe;
  --card-bg: #fff;
  --text-main: #14233b;
  --text-muted: #65758d;
  --border-color: #e3eaf4;
  --shadow-sm: 0 2px 8px rgba(22, 55, 105, .045);
  --shadow-md: 0 12px 32px rgba(22, 55, 105, .09);
  --shadow-lg: 0 22px 48px rgba(22, 55, 105, .14);
  --radius: 18px;
  --radius-sm: 12px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f5f8fe;
  color: #14233b;
}

::selection {
  color: #123d82;
  background: #dbeafe;
}

a {
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

/* Main navigation */
.web-topbar {
  height: 76px;
  border-bottom: 1px solid rgba(220, 231, 246, .9);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px);
  box-shadow: 0 5px 24px rgba(24, 58, 110, .055);
}

.web-topbar__inner {
  width: min(1480px, 100%);
  gap: 34px;
  padding: 0 36px;
}

.web-brand {
  gap: 11px;
  color: #14233b;
  font-size: 21px;
  letter-spacing: -.65px;
  font-weight: 800;
}

.web-brand__logo {
  width: 43px;
  height: 43px;
  border-radius: 13px;
  box-shadow: 0 5px 14px rgba(23, 105, 224, .16);
}

.web-topbar__nav {
  gap: 5px;
}

.web-topbar__link {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 11px;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.web-topbar__link:hover,
.web-topbar__link.active {
  color: #1769e0;
  background: #edf4ff;
}

.web-topbar__actions {
  gap: 15px;
}

.web-topbar__register {
  padding: 11px 18px;
  border-radius: 11px;
  background: #1769e0;
  box-shadow: 0 5px 13px rgba(23, 105, 224, .18);
}

.web-topbar__register:hover {
  background: #1054bb;
}

.web-play-link img {
  display: block;
}

/* Sidebar / application navigation */
.app-sidebar {
  top: 76px;
  width: 252px;
  padding: 24px 15px 18px;
  border-right: 1px solid #e5ecf6;
  background: #fff;
}

.sidebar-brand {
  padding: 5px 11px 25px;
  color: #14233b;
  font-size: 20px;
}

.sidebar-brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(145deg, #1557c0, #48a0ff);
  box-shadow: 0 5px 13px rgba(23, 105, 224, .18);
}

.sidebar-nav {
  gap: 7px;
}

.sidebar-nav-item,
.sidebar-utility {
  min-height: 46px;
  padding: 0 13px;
  border-radius: 11px;
  color: #687991;
  font-size: 13px;
  font-weight: 700;
}

.sidebar-nav-item.active {
  color: #1769e0;
  background: #edf4ff;
  box-shadow: inset 3px 0 #2879ec;
}

.sidebar-nav-item:hover:not(.active),
.sidebar-utility:hover {
  color: #1769e0;
  background: #f3f7fe;
}

.sidebar-utility {
  min-height: 42px;
}

/* Page canvas and jobs discovery */
.web-screen {
  padding-top: 34px;
}

.web-screen.web-jobs-page {
  width: min(1500px, 100%);
  padding: 42px 36px 76px;
}

.web-jobs-layout {
  grid-template-columns: minmax(245px, 270px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.web-filter-rail {
  position: sticky;
  top: 98px;
  padding: 21px 19px;
  border: 1px solid #e3eaf4;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(22, 55, 105, .045);
}

.web-filter-rail__head {
  margin-bottom: 14px;
}

.web-filter-rail__head h2 {
  color: #172b49;
  font-size: 16px;
  font-weight: 800;
}

.web-filter-rail__head a {
  color: #1769e0;
  font-size: 12px;
}

.web-filter-rail .web-filter-panel {
  gap: 14px;
}

.web-filter-rail .web-filter-panel label {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.web-filter-rail .web-filter-panel select,
.web-filter-grid select,
.web-action-form input,
.web-action-form select,
.web-action-form textarea,
.form-control,
.native-profile-input {
  min-height: 43px;
  border: 1px solid #dfe7f2;
  border-radius: 10px;
  background: #fbfdff;
  color: #1b2e4b;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.web-filter-rail .web-filter-panel select:focus,
.web-searchbar:focus-within,
.web-action-form input:focus,
.web-action-form select:focus,
.web-action-form textarea:focus,
.form-control:focus,
.native-profile-input:focus {
  outline: 0;
  border-color: #70a8f7;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, .11);
  background: #fff;
}

.web-filter-rail .web-primary-action {
  min-height: 43px;
  border: 0;
  border-radius: 10px;
  background: #1769e0;
  box-shadow: 0 6px 14px rgba(23, 105, 224, .17);
  font-size: 13px;
}

.web-filter-rail .web-primary-action:hover {
  background: #1054bb;
  transform: translateY(-1px);
}

.web-jobs-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  gap: 22px;
  padding: 34px 34px 30px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 20px;
  background: linear-gradient(118deg, #104da9 0%, #1769d9 54%, #378df1 100%);
  box-shadow: 0 16px 36px rgba(24, 100, 205, .18);
}

.web-jobs-hero::before,
.web-jobs-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.web-jobs-hero::before {
  width: 360px;
  height: 360px;
  right: -90px;
  top: -205px;
  background: rgba(255, 255, 255, .10);
}

.web-jobs-hero::after {
  width: 240px;
  height: 240px;
  right: 140px;
  bottom: -195px;
  border: 1px solid rgba(255, 255, 255, .17);
}

.web-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #d9eaff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.45px;
}

.web-jobs-hero h1 {
  max-width: 620px;
  margin: 9px 0 9px;
  font-size: clamp(28px, 3.2vw, 39px);
  letter-spacing: -1.2px;
  line-height: 1.12;
}

.web-jobs-hero p {
  max-width: 620px;
  color: rgba(255, 255, 255, .83);
  font-size: 14px;
  line-height: 1.65;
}

.web-jobs-hero .web-searchbar {
  max-width: 850px;
  min-height: 60px;
  padding: 7px 8px 7px 18px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 13px;
  box-shadow: 0 9px 24px rgba(5, 35, 83, .15);
}

.web-jobs-hero .web-searchbar input {
  font-size: 14px;
}

.web-jobs-hero .web-searchbar button {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #1769e0;
}

.web-jobs-hero .web-searchbar button:hover {
  background: #1054bb;
}

.web-feed-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 18px 0 4px;
}

.web-feed-shortcuts a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border: 1px solid #e2eaf5;
  border-radius: 10px;
  background: #fff;
  color: #4b607c;
  font-size: 12px;
  font-weight: 700;
}

.web-feed-shortcuts a:hover {
  border-color: #b8d3fa;
  color: #1769e0;
  background: #f5f9ff;
}

.web-feed-shortcuts .material-symbols-rounded {
  color: #2879e8;
  font-size: 18px;
}

.web-result-section {
  padding-top: 24px;
}

.web-section-title {
  margin-bottom: 15px;
}

.web-section-title h2 {
  color: #172b49;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.35px;
}

.web-section-title>span {
  padding: 5px 10px;
  border-radius: 20px;
  background: #edf4ff;
  color: #1769e0;
  font-size: 11px;
  font-weight: 800;
}

.web-job-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 16px;
}

.web-job-card {
  padding: 20px;
  border: 1px solid #e3eaf4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(22, 55, 105, .035);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.web-job-card:hover {
  transform: translateY(-3px);
  border-color: #c7dcfa;
  box-shadow: 0 14px 30px rgba(22, 75, 150, .09);
}

.web-logo-tile {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  color: #1769e0;
  background: #edf4ff;
}

.web-job-card h2 {
  color: #172b49;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.2px;
}

.web-job-card__identity>span {
  color: #73839a;
  font-size: 12px;
}

.web-job-meta {
  gap: 9px 14px;
  margin: 14px 0;
  color: #6c7d94;
  font-size: 12px;
}

.web-job-meta i {
  color: #4387e8;
}

.web-job-tags span {
  border-radius: 7px;
  color: #2865b4;
  background: #eef5ff;
  font-size: 11px;
}

.web-job-card__stats {
  gap: 12px;
}

.web-job-card__stats>span {
  min-width: 125px;
}

.web-job-card__stats i {
  border-radius: 9px;
  color: #2875d5;
  background: #edf4ff;
}

.web-job-card__stats b {
  color: #263c5c;
}

.web-job-card__stats small {
  color: #8190a5;
}

.web-job-card__foot {
  border-color: #edf1f7;
}

.web-job-card__foot strong {
  color: #1769e0;
}

.web-job-card__foot .web-primary-action,
.web-primary-action,
.native-primary-button {
  border-radius: 10px;
}

.web-job-card__foot .web-primary-action {
  min-height: 40px;
  padding: 9px 14px;
}

.web-pagination {
  gap: 7px;
}

.web-pagination a,
.web-pagination__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 39px;
  min-height: 39px;
  padding: 7px 11px;
  border: 1px solid #dce6f4;
  border-radius: 10px;
  background: #ffffff;
  color: #1d3557;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.web-pagination a:hover:not(.active) {
  background: #eef4fd;
  border-color: #aac3e6;
  color: #1565c0;
}

.web-pagination a.active {
  border-color: #1769e0;
  background: #1769e0;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 5px 12px rgba(23, 105, 224, .18);
}

.web-pagination__mobile-status {
  display: none;
  align-items: center;
  padding: 0 8px;
  color: #465d78;
  font-size: 13px;
  font-weight: 700;
}

.web-pagination__mobile-status--always {
  display: inline-flex;
}

@media (max-width: 600px) {
  .web-pagination {
    gap: 5px;
  }
  .web-pagination .web-pagination__num--far {
    display: none;
  }
  .web-pagination .web-pagination__control span:not(.material-symbols-rounded) {
    font-size: 12px;
  }
  .web-pagination a,
  .web-pagination__control {
    min-width: 34px;
    min-height: 34px;
    padding: 5px 9px;
  }
}

@media (max-width: 420px) {
  .web-pagination .web-pagination__num--near {
    display: none;
  }
  .web-pagination__mobile-status {
    display: inline-flex;
  }
}

/* Job details, forms, dashboards and general content surfaces */
.web-detail-hero,
.web-detail-section,
.web-detail-action-card,
.web-booking-card,
.web-legal-content,
.web-job-editor,
.web-list-page .web-job-card,
.web-chat-layout,
.web-profile-card,
.native-profile-hero {
  border-color: #e3eaf4;
  border-radius: 16px;
  box-shadow: 0 7px 24px rgba(22, 55, 105, .045);
}

.web-detail-hero h1,
.web-detail-section h2,
.web-detail-action-card h2 {
  color: #172b49;
}

.web-detail-company .web-logo-tile,
.web-detail-stats>div>.material-symbols-rounded,
.web-detail-info-grid>div>.material-symbols-rounded {
  color: #1769e0;
  background: #edf4ff;
  border-radius: 10px;
}

.web-detail-badges span {
  color: #1769e0;
  background: #edf4ff;
  border-radius: 7px;
}

.web-detail-badges span+span {
  color: #2467b9;
  background: #eaf3ff;
}

.web-back-link {
  color: #1769e0;
}

.web-detail-action-card .native-primary-button {
  background: linear-gradient(135deg, #1557c0, #2b82ec);
}

.web-page-head h1 {
  color: #172b49;
  letter-spacing: -.6px;
}

.web-page-head p {
  color: #708098;
}

.web-record {
  padding: 19px 4px;
  border-color: #e8eef6;
}

.web-record h2 {
  color: #172b49;
}

.web-notice {
  border-radius: 10px;
}

.web-empty {
  border: 1px dashed #d9e5f4;
  border-radius: 15px;
  background: #fbfdff;
}

.web-empty>.material-symbols-rounded {
  color: #4387e8;
}

.web-modal {
  border: 1px solid #e1eaf6;
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(15, 35, 70, .2);
}

.web-modal-close {
  border-radius: 10px;
}

.native-primary-button {
  background: linear-gradient(135deg, #1557c0, #2b82ec);
  box-shadow: 0 7px 16px rgba(23, 105, 224, .18);
}

.native-primary-button:hover {
  background: linear-gradient(135deg, #104da9, #1769d9);
}

.native-outline-button {
  border-color: #dbe6f4;
  border-radius: 10px;
  color: #1769e0;
  background: #fff;
}

.native-outline-button:hover {
  border-color: #9fc3f5;
  background: #f5f9ff;
}

.native-auth-hero {
  background: linear-gradient(125deg, #104da9, #1769d9 58%, #4b9cf3);
}

.native-auth-hero h1 {
  letter-spacing: -.7px;
}

.native-auth-content h2 {
  color: #172b49;
}

.native-auth-screen {
  background: radial-gradient(circle at 50% 0, #eaf3ff 0, #f6f9ff 42%, #f5f8fe 100%);
}

.native-auth-content {
  padding-top: 34px;
}

.form-control,
.native-profile-input {
  border-radius: 10px;
}

/* Footer and responsive polish */
.footer {
  border-top: 1px solid #e4ebf5;
  background: #fff;
}

.footer-brand {
  color: #172b49;
}

.footer-links a:hover {
  color: #1769e0;
}

.mobile-app-nav {
  border-top: 1px solid #e4ebf5;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
}

@media (max-width:1280px) {
  .web-screen.web-jobs-page {
    padding-right: 26px;
    padding-left: 26px;
  }

  .web-jobs-layout {
    grid-template-columns: 245px minmax(0, 1fr);
    gap: 22px;
  }
}

@media (max-width:900px) {
  .web-topbar__inner {
    padding: 0 20px;
    gap: 18px;
  }

  .web-screen.web-jobs-page {
    padding: 28px 22px 58px;
  }
}

@media (max-width:760px) {
  .web-topbar {
    height: 66px;
  }

  .web-topbar__inner {
    padding: 0 15px;
    gap: 10px;
  }

  .web-brand {
    font-size: 18px;
  }

  .web-brand__logo {
    width: 38px;
    height: 38px;
  }

  .web-topbar__nav {
    gap: 2px;
  }

  .web-topbar__link {
    min-height: 38px;
    padding: 0 8px;
    font-size: 11px;
  }

  .web-topbar__link .material-symbols-rounded {
    display: none;
  }

  .web-topbar__actions {
    gap: 8px;
  }

  .web-play-link {
    display: none;
  }

  .app-sidebar {
    display: none;
  }

  .web-screen.web-jobs-page {
    padding: 22px 15px 45px;
  }

  .web-jobs-layout {
    display: flex;
    flex-direction: column;
    gap: 17px;
  }

  .web-job-feed {
    order: 1;
    width: 100%;
  }

  .web-filter-rail {
    position: static;
    order: 2;
    width: 100%;
    padding: 16px;
    border-radius: 14px;
  }

  .web-jobs-hero {
    padding: 25px 21px;
    border-radius: 17px;
  }

  .web-jobs-hero h1 {
    font-size: 29px;
  }

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

@media (max-width:480px) {
  .web-topbar__inner {
    padding: 0 11px;
  }

  .web-topbar__link {
    padding: 0 6px;
    font-size: 10px;
  }

  .web-topbar__register {
    padding: 9px 11px;
    font-size: 11px;
  }

  .web-jobs-hero {
    padding: 22px 17px;
  }

  .web-jobs-hero h1 {
    font-size: 26px;
  }

  .web-jobs-hero .web-searchbar {
    min-height: 54px;
    padding-left: 12px;
  }

  .web-job-card {
    padding: 17px;
    border-radius: 14px;
  }

  .web-job-card__foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .web-job-card__foot .web-primary-action {
    width: 100%;
  }
}

@media (prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* JobsNGO discovery page refinement: sticky filter, balanced feed and cleaner nav. */
.web-topbar {
  border-bottom: 1px solid #e8eef7;
  box-shadow: 0 5px 22px rgba(21, 48, 89, .055);
}
.web-topbar__inner {
  max-width: 1600px;
  min-height: 76px;
  padding-left: clamp(18px, 3vw, 42px);
  padding-right: clamp(18px, 3vw, 42px);
  gap: clamp(18px, 2.2vw, 34px);
}
.web-brand { gap: 11px; letter-spacing: -.035em; }
.web-brand__logo { filter: drop-shadow(0 3px 7px rgba(27, 103, 211, .12)); }
.web-topbar__nav { gap: 7px; align-items: center; }
.web-topbar__link {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #526783;
  font-weight: 700;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.web-topbar__link:hover { transform: translateY(-1px); border-color: #e1ebfa; background: #f5f8fe; }
.web-topbar__link.active { color: #1264d8; border-color: #dce9ff; background: #edf4ff; box-shadow: none; }
.web-topbar__actions { gap: 14px; }
.web-topbar__register { border-radius: 12px; box-shadow: 0 5px 14px rgba(24, 103, 220, .16); }
.web-screen.web-jobs-page { width: min(1600px, 100%); margin-inline: auto; padding: 34px clamp(20px, 3vw, 42px) 64px; }
.web-jobs-layout { align-items: start; gap: clamp(18px, 2vw, 30px); }
.web-filter-rail {
  position: sticky;
  top: 96px;
  align-self: start;
  max-height: calc(100vh - 116px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #cbd9ec transparent;
  border-color: #e1eaf6;
  box-shadow: 0 10px 28px rgba(24, 57, 102, .055);
}
.web-filter-rail::-webkit-scrollbar { width: 6px; }
.web-filter-rail::-webkit-scrollbar-thumb { background: #cbd9ec; border-radius: 10px; }
.web-filter-rail .web-filter-panel select { min-height: 44px; }
.web-job-feed { min-width: 0; }
.web-jobs-hero {
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(24, 99, 202, .15);
}
.web-searchbar { box-shadow: 0 8px 22px rgba(12, 48, 103, .09); }
.web-feed-shortcuts a { border-radius: 12px; transition: transform .18s ease, box-shadow .18s ease; }
.web-feed-shortcuts a:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(22, 73, 140, .08); }
.web-job-card { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.web-job-card:hover { transform: translateY(-3px); box-shadow: 0 13px 30px rgba(21, 55, 105, .09); border-color: #cfe0f7; }
.web-section-title { margin-top: 28px; }
.web-section-title h2 { letter-spacing: -.025em; }

.web-app-open-modal { width: min(420px, calc(100vw - 32px)); padding: 30px 26px 24px; border: 1px solid #e4ecf8; border-radius: 24px; text-align: center; }
.web-app-open-modal__eyebrow { display: block; margin: 8px 0 7px; color: #1769df; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.web-app-open-modal h2 { margin: 0 0 9px; color: #172d4c; }
.web-app-open-modal p { margin: 0 auto 20px; max-width: 310px; line-height: 1.6; }
.web-app-open-modal__open { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; width: 100%; border-radius: 13px; color: #fff; background: #1769df; font-weight: 800; text-decoration: none; box-shadow: 0 8px 18px rgba(23, 105, 223, .2); }
.web-app-open-modal__open:hover { background: #0f59c4; }
.web-app-open-modal .web-download-later { margin-top: 12px; min-height: 42px; width: 100%; border-radius: 12px; background: #f3f7fd; color: #526783; font-weight: 700; }

@media (max-width: 1280px) and (min-width: 761px) {
  .web-jobs-layout { grid-template-columns: minmax(230px, 260px) minmax(0, 1fr); }
  .web-suggested-rail { display: none; }
}
@media (max-width: 760px) {
  .web-topbar__inner { min-height: 66px; }
  .web-topbar__nav { overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
  .web-topbar__nav::-webkit-scrollbar { display: none; }
  .web-topbar__link { min-height: 36px; padding: 0 9px; border-radius: 9px; }
  .web-screen.web-jobs-page { padding: 20px 14px 42px; }
  .web-filter-rail { position: static; max-height: none; overflow: visible; width: 100%; }
  .web-jobs-hero { border-radius: 18px; }
}

/* Jobs discovery: remove excessive outer side whitespace on wide screens */
.web-screen.web-jobs-page {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: clamp(12px, 1.25vw, 24px);
}
.web-jobs-layout {
  width: 100%;
  grid-template-columns: minmax(245px, 270px) minmax(0, 1fr);
  gap: clamp(14px, 1.25vw, 22px);
}
@media (max-width: 1280px) and (min-width: 761px) {
  .web-jobs-layout {
    grid-template-columns: minmax(220px, 250px) minmax(0, 1fr);
    gap: 16px;
  }
}
@media (max-width: 760px) {
  .web-screen.web-jobs-page {
    padding-inline: 12px;
  }
}

/* Accessibility fixes: correct Google Play badge ratio, comfortable tap targets and readable metadata. */
.web-play-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
}
.web-play-link img {
  display: block;
  width: 135px;
  height: 40px;
  max-width: 100%;
  object-fit: contain;
  aspect-ratio: 2048 / 606;
}
.web-job-card__identity > span a,
.web-job-card__identity h2 a,
.web-job-card__foot .web-primary-action {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.web-job-card__identity > span a {
  padding: 3px 4px;
  margin-left: -4px;
  color: #52647d;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.web-job-card__identity h2 a {
  padding: 2px 4px;
  margin-left: -4px;
  color: #155fc4;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.web-job-meta,
.web-job-card__identity > span,
.web-job-card__stats small,
.web-job-card__opening {
  color: #53647a;
}
.web-job-card__stats b {
  color: #20344f;
}
.web-job-card__stats small {
  font-size: 11px;
}
.web-job-meta i,
.web-job-card__stats i,
.web-job-card__opening .material-symbols-rounded {
  color: #1c63bd;
}
.web-job-tags span {
  color: #174f91;
}
.web-job-card__identity a:focus-visible,
.web-job-card__foot a:focus-visible,
.web-play-link:focus-visible {
  outline: 3px solid #174f91;
  outline-offset: 3px;
  border-radius: 6px;
}


/* Final visibility + accessibility patch (2026-11-21). */
.web-topbar__inner {
  display: flex;
  align-items: center;
  min-width: 0;
}
.web-topbar__nav { min-width: 0; }
.web-topbar__actions {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  margin-left: auto;
  min-width: max-content;
}
.web-topbar__actions .web-play-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 160px !important;
  min-width: 160px;
  min-height: 48px;
  padding: 4px;
  overflow: visible;
  visibility: visible !important;
  opacity: 1 !important;
}
.web-topbar__actions .web-play-link img {
  display: block !important;
  width: 152px !important;
  height: 45px !important;
  max-width: none;
  object-fit: contain;
  aspect-ratio: 2048 / 606;
}
.web-job-card__identity > span a,
.web-job-card__identity h2 a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 8px;
  margin: 0 0 2px -8px;
  line-height: 1.4;
}
.web-job-card__identity h2 a { min-height: 48px; }
.web-job-meta { gap: 8px 16px; color: #435570 !important; }
.web-job-meta > span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 3px 4px;
  color: #435570 !important;
  line-height: 1.4;
}
.web-job-card__stats > span {
  min-height: 44px;
  padding: 3px 2px;
}
.web-job-card__stats b { color: #20344f !important; }
.web-job-card__stats small { color: #53647a !important; font-size: 11px; }
.web-job-card__opening { min-height: 44px; color: #435570 !important; }
.web-job-tags span { color: #174f91 !important; }
.web-job-card__identity > span { color: #435570 !important; }
.web-job-card__identity a:focus-visible,
.web-job-card__foot a:focus-visible,
.web-play-link:focus-visible {
  outline: 3px solid #174f91;
  outline-offset: 3px;
}
@media (max-width: 760px) {
  .web-topbar__inner { gap: 6px; padding-inline: 10px; }
  .web-topbar__nav { flex: 1 1 auto; overflow-x: auto; scrollbar-width: none; }
  .web-topbar__nav::-webkit-scrollbar { display: none; }
  .web-topbar__actions .web-play-link {
    display: inline-flex !important;
    width: 104px !important;
    min-width: 104px;
    min-height: 36px;
    padding: 2px;
  }
  .web-topbar__actions .web-play-link img {
    width: 98px !important;
    height: 29px !important;
  }
}
@media (max-width: 390px) {
  .web-topbar__actions .web-play-link { width: 82px !important; min-width: 82px; }
  .web-topbar__actions .web-play-link img { width: 76px !important; height: 23px !important; }
}

/* Google Play badge positioning fix: cancel legacy cropped/offset image rules. */
.web-topbar {
  overflow: visible;
}
.web-topbar__inner {
  height: 100%;
  min-height: 76px;
  align-items: center;
}
.web-topbar__actions {
  align-self: stretch;
  align-items: center;
}
.web-topbar__actions .web-play-link {
  position: relative;
  display: inline-flex !important;
  align-self: center;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 48px;
  min-height: 48px;
  width: 160px !important;
  min-width: 160px;
  padding: 0;
  overflow: hidden;
  aspect-ratio: auto;
  line-height: 0;
  vertical-align: middle;
}
.web-topbar__actions .web-play-link img {
  position: static !important;
  inset: auto !important;
  display: block !important;
  transform: none !important;
  width: 152px !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 45px;
  aspect-ratio: 2048 / 606;
  object-fit: contain;
  object-position: center;
}
@media (max-width: 760px) {
  .web-topbar__inner {
    min-height: 66px;
  }
  .web-topbar__actions .web-play-link {
    width: 104px !important;
    min-width: 104px;
    height: 34px;
    min-height: 34px;
  }
  .web-topbar__actions .web-play-link img {
    width: 98px !important;
    max-height: 29px;
  }
}
@media (max-width: 390px) {
  .web-topbar__actions .web-play-link {
    width: 82px !important;
    min-width: 82px;
    height: 28px;
    min-height: 28px;
  }
  .web-topbar__actions .web-play-link img {
    width: 76px !important;
    max-height: 23px;
  }
}


/* External opportunities use the same browse-details-then-apply flow as JobsNGO jobs. */
.external-job-card__main {
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: 6px;
}
.external-job-card__main:focus-visible,
.external-job-card__main:hover .web-job-card__identity h2 {
  color: var(--primary);
}
.external-job-card__main p {
  color: var(--text-main);
  line-height: 1.65;
}
.external-source-note {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

/* External job descriptions preserve source paragraphs and lists safely. */
.web-job-detail-page .web-detail-copy p { margin: 0 0 12px; }
.web-job-detail-page .web-detail-copy p:last-child { margin-bottom: 0; }
.web-job-detail-page .web-detail-copy ul,
.web-job-detail-page .web-detail-copy ol { margin: 10px 0 14px; padding-left: 24px; }
.web-job-detail-page .web-detail-copy li { margin: 0 0 8px; padding-left: 3px; }
.web-job-detail-page .web-detail-copy h2,
.web-job-detail-page .web-detail-copy h3,
.web-job-detail-page .web-detail-copy h4 { margin: 16px 0 8px; color: #1d322e; font-size: 15px; }
.web-job-detail-page .web-detail-copy a { color: #1769c2; text-decoration: underline; }


/* External opportunity source taxonomy labels, logos & actions */
.external-taxonomy-label { margin: 14px 0 6px; color: #52647c; font-size: 12px; font-weight: 800; }
.external-taxonomy-list { margin: 0 0 8px; }
.external-taxonomy-list span { color: #174f91; background: #eaf2fe; font-weight: 700; }
.external-card-industries { margin-top: 6px; }
.external-card-industries > span { min-height: 30px; padding: 4px 8px; border-radius: 6px; background: #eaf2fe; color: #174f91 !important; font-size: 11px; }
.external-card-tags { margin-top: 6px; }
.external-card-tags > span { min-height: 26px; padding: 3px 8px; border-radius: 6px; background: #f2f5f9; color: #364a63 !important; font-size: 11px; font-weight: 600; }
.external-logo-img { width: 100%; height: 100%; border-radius: inherit; object-fit: contain; }
.web-detail-company .web-logo-tile img { width: 100%; height: 100%; border-radius: inherit; object-fit: contain; }
.external-job-card__foot { gap: 10px; flex-wrap: wrap; }
.external-job-card__actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.web-secondary-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid #d5dfec;
  border-radius: 8px;
  background: #ffffff;
  color: #174f91;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease;
}
.web-secondary-action:hover { background: #f3f7fd; border-color: #aac3e6; }
.web-secondary-action .material-symbols-rounded { font-size: 16px; }

/* External job navigation: card content opens the JobsNGO detail page. */
.external-job-card__main {
  display: block;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.external-job-card__main:hover .web-job-card__identity h2,
.external-job-card__main:focus-visible .web-job-card__identity h2 {
  color: var(--primary);
}
.external-job-card__main:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
  border-radius: 8px;
}
.external-logo-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  color: #1769b1;
  background: #e8f3ef;
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
}
/* External-feed employers use a text initial, never a third-party logo image. */
.external-company-initial {
  overflow: hidden;
  flex: 0 0 48px;
  border-radius: 9px;
  background: #e8f3ef;
}
.external-detail-logo.external-company-initial {
  flex-basis: 64px;
  width: 64px;
  height: 64px;
}
.external-detail-logo { overflow: hidden; }
.external-detail-readmore { margin-top: 16px; }
.external-detail-summary { max-width: 900px; }
.external-detail-source-name { margin: 12px 0 0 !important; font-weight: 700; overflow-wrap: anywhere; }
.external-detail-unavailable { margin: 12px 0 0; color: #9a4b16; }
.external-detail-grid .web-detail-action-card .native-primary-button { display: flex; }

/* JobsNGO premium homepage refresh - November 2026 */
.web-topbar__inner{width:min(1500px,100%);gap:28px;padding-inline:clamp(16px,2.5vw,34px)}
.web-brand{color:#142a4a;font-size:21px;gap:9px}.web-brand__logo{width:42px;height:42px;object-fit:contain;border-radius:12px}
.web-topbar__link{min-height:42px;padding:0 14px;border-radius:12px;color:#536782;font-size:13px}
.web-topbar__link:hover,.web-topbar__link.active{color:#1769e8;background:#edf4ff}
.web-topbar__actions{gap:12px}.web-play-link img{display:block;max-width:154px;height:auto}
.web-apple-coming,.web-appstore-badge{display:inline-flex;align-items:center;gap:8px;padding:7px 11px;border:1px solid #dce5f1;border-radius:10px;background:#fff;color:#182b46;line-height:1.05;white-space:nowrap}
.web-apple-mark{display:grid;place-items:center;width:25px;height:25px;border-radius:7px;background:#172033;color:#fff;font-size:16px}
.web-apple-coming b,.web-appstore-badge b{display:block;font-size:11px}.web-apple-coming small,.web-appstore-badge small{display:block;margin-top:3px;color:#718096;font-size:9px;font-weight:700}
.web-profile-menu{position:relative}.web-profile-menu .web-topbar__avatar{display:flex;gap:3px;width:auto;min-width:42px;height:42px;padding:0 8px;border:0;cursor:pointer;background:#eaf2ff;color:#1769e8;font-weight:800}
.web-profile-menu .web-topbar__avatar .material-symbols-rounded{font-size:18px}.web-profile-dropdown{position:absolute;right:0;top:calc(100% + 12px);z-index:1400;width:238px;padding:9px;border:1px solid #e1e9f4;border-radius:16px;background:#fff;box-shadow:0 18px 45px rgba(20,42,74,.16);opacity:0;visibility:hidden;transform:translateY(7px);transition:opacity .16s ease,transform .16s ease,visibility .16s}
.web-profile-menu:hover .web-profile-dropdown,.web-profile-menu:focus-within .web-profile-dropdown,.web-profile-menu.is-open .web-profile-dropdown{opacity:1;visibility:visible;transform:translateY(0)}
.web-profile-dropdown__user{display:flex;align-items:center;gap:10px;padding:10px 9px 13px;margin-bottom:5px;border-bottom:1px solid #edf1f7}.web-profile-dropdown__initial{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#eaf2ff;color:#1769e8;font-weight:800}.web-profile-dropdown__user b,.web-profile-dropdown__user small{display:block;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.web-profile-dropdown__user b{font-size:13px;color:#172b49}.web-profile-dropdown__user small{margin-top:3px;color:#8290a4;font-size:10px;text-transform:capitalize}
.web-profile-dropdown>a,.web-profile-dropdown form button{display:flex;align-items:center;gap:10px;width:100%;padding:10px;border:0;border-radius:9px;background:transparent;color:#40536f;text-align:left;font-size:12px;font-weight:650;cursor:pointer}.web-profile-dropdown>a:hover,.web-profile-dropdown form button:hover{background:#f0f6ff;color:#1769e8}.web-profile-dropdown .material-symbols-rounded{font-size:18px}.web-profile-dropdown__divider{height:1px;margin:5px 4px;background:#edf1f7}
.web-screen.web-jobs-page{width:min(1640px,100%);padding:28px clamp(16px,2.4vw,36px) 56px}.web-jobs-layout{grid-template-columns:minmax(230px,260px) minmax(0,1fr) minmax(220px,260px);gap:24px}
.web-jobs-hero{position:relative;isolation:isolate;overflow:hidden;min-height:188px;padding:32px 34px;border-radius:18px;background:linear-gradient(112deg,#124fae 0%,#1769e8 55%,#3b8cf5 100%);box-shadow:0 16px 35px rgba(23,105,232,.18)}
.web-jobs-hero:before,.web-jobs-hero:after{content:"";position:absolute;z-index:-1;border:1px solid rgba(255,255,255,.18);border-radius:50%}.web-jobs-hero:before{width:260px;height:260px;right:-75px;top:-175px;background:rgba(255,255,255,.09)}.web-jobs-hero:after{width:150px;height:150px;right:12%;bottom:-125px}
.web-jobs-hero h1{font-size:clamp(27px,3vw,38px);letter-spacing:-.04em}.web-jobs-hero p{font-size:14px}.web-jobs-hero .web-searchbar{max-width:620px;min-height:50px;border-radius:11px;padding:5px 6px 5px 15px}.web-jobs-hero .web-searchbar button{width:40px;height:40px;border-radius:9px;background:#1769e8}
.web-filter-rail{border-radius:16px;padding:18px;border-color:#e1eaf6;box-shadow:0 8px 25px rgba(23,61,111,.06)}.web-filter-rail .web-filter-panel{gap:13px}.web-filter-rail .web-filter-panel label{font-size:11px;color:#64748b}.web-filter-rail .web-filter-panel select{min-height:40px;border-radius:9px;font-size:12px}.web-filter-rail .web-primary-action{min-height:42px;border-radius:10px;background:#1769e8}
.web-job-grid{gap:16px}.web-job-card--complete{border:1px solid #e3ebf6;border-radius:16px;box-shadow:0 7px 22px rgba(20,54,98,.055);transition:transform .18s ease,box-shadow .18s ease}.web-job-card--complete:hover{transform:translateY(-3px);box-shadow:0 14px 28px rgba(20,54,98,.10)}.web-suggested-card{border-radius:14px}
.web-section-title{align-items:center;margin:28px 0 15px}.web-section-title h2{font-size:21px;letter-spacing:-.025em;color:#142a4a}.web-section-title>span{border-radius:20px;background:#eaf2ff;color:#1769e8;padding:7px 12px;font-weight:800}
.web-home-external,.web-home-categories,.web-feature-showcase,.web-home-promo,.web-home-download{width:100%;margin-top:38px}.web-home-external .web-section-title,.web-home-categories .web-section-title,.web-feature-showcase .web-section-title{margin-top:0}.web-section-kicker{display:block;margin-bottom:6px;color:#1769e8;font-size:10px;font-weight:850;letter-spacing:.13em}.web-view-all{display:inline-flex;align-items:center;gap:6px;color:#1769e8;font-size:13px;font-weight:800}.web-view-all .material-symbols-rounded{font-size:17px}
.web-home-external__track,.web-category-track,.web-feature-track{display:flex;gap:16px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:4px 2px 16px;scrollbar-width:thin;scrollbar-color:#c7d8f0 transparent}.web-home-external__track::-webkit-scrollbar,.web-category-track::-webkit-scrollbar,.web-feature-track::-webkit-scrollbar{height:7px}.web-home-external__track::-webkit-scrollbar-thumb,.web-category-track::-webkit-scrollbar-thumb,.web-feature-track::-webkit-scrollbar-thumb{border-radius:20px;background:#c7d8f0}
.web-home-external-card{display:flex;flex:0 0 clamp(235px,24%,290px);flex-direction:column;min-height:205px;padding:17px;border:1px solid #e1eaf6;border-radius:15px;background:#fff;box-shadow:0 7px 20px rgba(20,54,98,.05);scroll-snap-align:start}.web-home-external-card__top{display:flex;align-items:center;justify-content:space-between}.web-home-external-card__initial{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#eaf3ef;color:#1769e8;font-size:18px;font-weight:850}.web-external-pill{padding:5px 8px;border-radius:7px;background:#fff2e6;color:#a85c00;font-size:10px;font-weight:850}.web-home-external-card h3{margin:13px 0 5px;color:#172d4c;font-size:15px;line-height:1.35}.web-home-external-card h3 a{color:inherit}.web-home-external-card p{color:#64748b;font-size:12px}.web-home-external-card small{display:flex;align-items:center;gap:4px;margin-top:10px;color:#60728d;font-size:11px}.web-home-external-card small .material-symbols-rounded{font-size:15px;color:#1769e8}.web-home-external-card__link{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:13px;color:#1769e8;font-size:12px;font-weight:800}
.web-category-tile{display:flex;flex:0 0 154px;flex-direction:column;gap:8px;min-height:118px;padding:17px;border:1px solid #e3ebf6;border-radius:16px;background:#fff;box-shadow:0 6px 18px rgba(20,54,98,.045);scroll-snap-align:start}.web-category-tile>.material-symbols-rounded{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#edf4ff;color:#1769e8;font-size:21px}.web-category-tile b{color:#1b3150;font-size:12px;line-height:1.35}.web-category-tile small{color:#8492a7;font-size:10px}
.web-home-promo{overflow:hidden;border-radius:18px;background:#fff;box-shadow:0 8px 25px rgba(20,54,98,.07)}.web-home-promo img{display:block;width:100%;height:auto;max-height:330px;object-fit:contain}
.web-feature-showcase{padding:30px 0 5px}.web-feature-showcase .web-section-title p{margin-top:6px;color:#687a94;font-size:13px}.web-feature-track{gap:20px;padding-top:12px}.web-feature-card{flex:0 0 clamp(210px,22%,260px);scroll-snap-align:start}.web-device-frame{width:100%;aspect-ratio:9/16;overflow:hidden;padding:7px;border:1px solid #d9e2ee;border-radius:31px;background:linear-gradient(145deg,#f9fbff,#e8eef7);box-shadow:0 14px 30px rgba(23,51,91,.12)}.web-device-frame img{display:block;width:100%;height:100%;object-fit:cover;border-radius:24px}.web-feature-card h3{margin:13px 4px 5px;color:#172d4c;font-size:14px}.web-feature-card p{margin:0 4px;color:#718099;font-size:11px;line-height:1.5}
.web-home-download{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 32px;border:1px solid #dce9fb;border-radius:18px;background:linear-gradient(110deg,#edf5ff,#fff);box-shadow:0 10px 26px rgba(23,105,232,.07)}.web-home-download h2{margin:0 0 7px;color:#142a4a;font-size:23px}.web-home-download p{color:#667a96;font-size:13px}.web-home-download__badges{display:flex;align-items:center;gap:12px;flex:none}.web-home-download__badges .web-play-link img{width:180px}.web-appstore-badge{padding:10px 14px;border-radius:10px}.web-appstore-badge b{font-size:13px}.web-appstore-badge small{font-size:10px}
@media(max-width:1180px){.web-jobs-layout{grid-template-columns:240px minmax(0,1fr)}.web-suggested-rail{display:none}}
@media(max-width:760px){body:not(.app-auth-screen){padding-top:64px!important}.web-topbar{height:64px}.web-topbar__inner{gap:10px;padding:0 12px}.web-brand{font-size:17px}.web-brand__logo{width:36px;height:36px}.web-topbar__nav{gap:3px;overflow-x:auto;scrollbar-width:none}.web-topbar__link{min-height:36px;padding:0 9px;font-size:11px}.web-topbar__link .material-symbols-rounded{font-size:16px}.web-topbar__actions{gap:7px}.web-topbar__actions .web-play-link img{width:95px}.web-apple-coming{display:none}.web-topbar__register{padding:9px 10px;font-size:11px}.web-profile-menu .web-topbar__avatar{min-width:34px;height:36px;padding:0 5px}.web-profile-dropdown{right:-3px;width:225px}.web-screen.web-jobs-page{padding:18px 13px 38px}.web-jobs-layout{display:flex;flex-direction:column;gap:16px}.web-job-feed{width:100%;order:1}.web-filter-rail{position:static;order:2;width:100%;padding:14px}.web-jobs-hero{min-height:175px;padding:24px 20px;border-radius:15px}.web-jobs-hero h1{font-size:27px}.web-jobs-hero p{font-size:12px}.web-section-title{margin:23px 0 12px}.web-section-title h2{font-size:19px}.web-home-external,.web-home-categories,.web-feature-showcase,.web-home-promo,.web-home-download{margin-top:28px}.web-home-external-card{flex-basis:245px}.web-category-tile{flex-basis:140px}.web-feature-card{flex-basis:205px}.web-device-frame{border-radius:27px;padding:6px}.web-device-frame img{border-radius:21px}.web-home-download{align-items:flex-start;flex-direction:column;padding:22px}.web-home-download h2{font-size:20px}.web-home-download__badges{flex-wrap:wrap}.web-home-download__badges .web-play-link img{width:150px}.web-appstore-badge{padding:9px 12px}}
@media(max-width:420px){.web-topbar__inner{padding:0 8px}.web-brand span{display:none}.web-topbar__actions .web-play-link img{width:82px}.web-topbar__link{padding:0 7px;font-size:10px}.web-topbar__link .material-symbols-rounded{display:none}.web-home-download__badges{gap:8px}}
@media(min-width:761px){.web-jobs-layout.web-home-layout{grid-template-columns:minmax(230px,260px) minmax(0,1fr)}.web-home-layout .web-job-feed{width:100%}}


/* JobsNGO homepage refinements: horizontal job feed, full-height sticky filter rail,
   category slugs and Google Play-inspired app listing. */
@media (min-width: 761px) {
  .web-jobs-layout.web-home-layout {
    align-items: stretch;
  }
  .web-home-layout > .web-filter-rail {
    position: sticky;
    top: 82px;
    align-self: start;
    height: max-content;
    z-index: 5;
  }
  .web-home-layout > .web-job-feed {
    min-width: 0;
  }
}
.web-job-horizontal-track {
  display: flex;
  align-items: stretch;
  gap: 16px;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 3px 3px 17px;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: #bfd2ed transparent;
}
.web-job-horizontal-track::-webkit-scrollbar { height: 7px; }
.web-job-horizontal-track::-webkit-scrollbar-thumb { background: #bfd2ed; border-radius: 20px; }
.web-job-horizontal-track > .web-job-card {
  flex: 0 0 clamp(285px, 31%, 360px);
  width: clamp(285px, 31%, 360px);
  scroll-snap-align: start;
}
.web-home-layout .web-result-section { min-width: 0; }
.web-category-track { scroll-behavior: smooth; }
.web-category-tile { flex: 0 0 170px; min-height: 132px; }
.web-category-tile:hover { border-color: #9fc2f8; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(23,105,232,.09); }

.web-play-store-section {
  display: grid;
  grid-template-columns: minmax(0,fr) 300px;
  gap: 34px;
  width: 83%;
  margin-top: 48px;
  padding: 26px 0 12px 40px ;
  border-top: 1px solid #e4e8ee;
  color: #202124;
}
.web-play-store-main { min-width: 0; }
.web-play-store-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  align-items: start;
  gap: 26px;
  min-height: 220px;
}
.web-play-store-app-info h2 {
  margin: 0 0 8px;
  color: #202124;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -.04em;
}
.web-play-store-publisher {
  display: inline-block;
  color: #202124;
  font-size: 15px;
  font-weight: 600;
}
.web-play-store-app-info p {
  max-width: 560px;
  margin: 8px 0 18px;
  color: #5f6368;
  font-size: 14px;
  line-height: 1.55;
}
.web-play-store-app-icon {
  grid-column: 2;
  grid-row: 1;
  width: 132px;
  height: 132px;
  padding: 8px;
  border: 1px solid #e6e8eb;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(60,64,67,.18);
}
.web-play-store-app-icon img { display:block; width:100%; height:100%; object-fit:contain; border-radius:22px; }
.web-play-store-actions { display:flex; align-items:center; gap:22px; }
.web-install-now {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:156px;
  min-height:44px;
  padding:0 22px;
  border-radius:7px;
  background:#01875f;
  color:#fff;
  font-size:14px;
  font-weight:700;
  box-shadow:0 1px 2px rgba(0,0,0,.12);
}
.web-install-now:hover { background:#007653; color:#fff; }
.web-share-app {
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 4px;
  border:0;
  background:transparent;
  color:#01875f;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
}
.web-device-availability { display:flex; align-items:center; gap:8px; margin-top:22px; color:#5f6368; font-size:13px; }
.web-device-availability .material-symbols-rounded { font-size:18px; }
.web-play-store-gallery {
  display:flex;
  gap:14px;
  width:100%;
  min-width:0;
  margin-top:34px;
  padding:3px 3px 14px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  overscroll-behavior-x:contain;
  scrollbar-width:thin;
  scrollbar-color:#c5cbd3 transparent;
}
.web-play-store-gallery::-webkit-scrollbar { height:7px; }
.web-play-store-gallery::-webkit-scrollbar-thumb { background:#c5cbd3; border-radius:20px; }
.web-play-store-shot {
  position:relative;
  flex:0 0 194px;
  width:194px;
  height:345px;
  margin:0;
  overflow:hidden;
  border:1px solid #e1e4e8;
  border-radius:9px;
  background:#f8f9fa;
  box-shadow:0 1px 3px rgba(60,64,67,.14);
  scroll-snap-align:start;
}
.web-play-store-shot img { display:block; width:100%; height:100%; object-fit:cover; }
.web-play-store-shot figcaption {
  position:absolute;
  right:0; bottom:0; left:0;
  padding:22px 9px 9px;
  color:#fff;
  background:linear-gradient(transparent,rgba(0,0,0,.72));
  font-size:11px;
  font-weight:700;
}
.web-play-store-shot--banner { flex-basis:516px; width:516px; }
.web-play-store-shot--banner img { object-fit:contain; background:#f5f9ff; }
.web-play-store-side { display:flex; flex-direction:column; gap:24px; padding-top:270px; }
.web-play-store-rating {
  display:flex;
  align-items:center;
  gap:14px;
  min-height:88px;
  padding:16px;
  border:1px solid #dadce0;
  border-radius:16px;
}
.web-rating-symbol {
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  border:2px solid #5f6368;
  color:#3c4043;
  font-size:18px;
  font-weight:800;
}
.web-play-store-rating b { display:block; color:#202124; font-size:18px; font-weight:500; }
.web-play-store-rating a { display:inline-block; margin-top:8px; color:#1a73e8; font-size:13px; }
.web-play-store-side-link {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 2px;
  color:#202124;
  font-size:18px;
  font-weight:500;
}
.web-play-store-more { display:grid; gap:7px; padding:8px 2px; }
.web-play-store-more b { color:#202124; font-size:18px; font-weight:500; }
.web-play-store-more span { color:#5f6368; font-size:13px; }
.web-play-store-apple {
  display:flex;
  align-items:center;
  gap:13px;
  padding:14px;
  border:1px solid #e5e8ed;
  border-radius:12px;
  background:#fafbfc;
}
.web-play-store-apple > .material-symbols-rounded { color:#5f6368; font-size:28px; }
.web-play-store-apple b,.web-play-store-apple small { display:block; }
.web-play-store-apple b { color:#202124; font-size:13px; }
.web-play-store-apple small { margin-top:3px; color:#5f6368; font-size:11px; }

@media (max-width: 1100px) {
  .web-play-store-section { grid-template-columns:minmax(0,1fr) 230px; gap:22px; }
  .web-play-store-side { padding-top:245px; }
  .web-play-store-shot--banner { flex-basis:420px; width:420px; }
}
@media (max-width: 760px) {
  .web-home-layout > .web-filter-rail { position:static; }
  .web-job-horizontal-track > .web-job-card { flex-basis:min(86vw,350px); width:min(86vw,350px); }
  .web-play-store-section { display:block; margin-top:32px; padding-top:22px; }
  .web-play-store-overview { grid-template-columns:minmax(0,1fr) 88px; gap:12px; min-height:0; }
  .web-play-store-app-icon { width:88px; height:88px; padding:5px; border-radius:20px; }
  .web-play-store-app-icon img { border-radius:15px; }
  .web-play-store-app-info h2 { font-size:34px; }
  .web-play-store-app-info p { font-size:13px; }
  .web-play-store-actions { gap:14px; flex-wrap:wrap; }
  .web-install-now { min-height:42px; min-width:140px; }
  .web-device-availability { margin-top:15px; }
  .web-play-store-gallery { margin-top:24px; }
  .web-play-store-shot { flex-basis:168px; width:168px; height:298px; }
  .web-play-store-shot--banner { flex-basis:310px; width:310px; height:180px; }
  .web-play-store-side { display:grid; grid-template-columns:1fr 1fr; gap:12px; padding-top:20px; }
  .web-play-store-rating { grid-column:1/-1; }
  .web-play-store-side-link,.web-play-store-more,.web-play-store-apple { min-width:0; }
}

/* Homepage latest-jobs cards: prevent CSS Grid's implicit rows from stretching
   and distributing empty space inside every card. Keep the horizontal track. */
.web-home-layout .web-job-horizontal-track {
  align-items: flex-start;
  gap: 18px;
  padding: 4px 3px 18px;
}
.web-home-layout .web-job-horizontal-track > .web-job-card--complete {
  display: flex;
  flex: 0 0 clamp(300px, 30%, 350px);
  flex-direction: column;
  align-items: stretch;
  align-self: flex-start;
  width: clamp(300px, 30%, 350px);
  height: auto;
  min-height: 0;
  padding: 20px;
  gap: 13px;
  border: 1px solid #e1e9f4;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(24, 58, 105, .055);
}
.web-home-layout .web-job-horizontal-track > .web-job-card--complete:hover {
  transform: translateY(-2px);
  border-color: #c7dcfa;
  box-shadow: 0 11px 25px rgba(24, 80, 150, .09);
}
.web-home-layout .web-job-horizontal-track .web-job-card__head {
  min-height: 66px;
  align-items: center;
  gap: 12px;
}
.web-home-layout .web-job-horizontal-track .web-logo-tile {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 14px;
  background: #edf4ff;
  color: #1769e0;
  font-size: 21px;
  font-weight: 700;
}
.web-home-layout .web-job-horizontal-track .web-job-card__identity {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.web-home-layout .web-job-horizontal-track .web-job-card__identity > span,
.web-home-layout .web-job-horizontal-track .web-job-card__identity > span a {
  min-height: 0;
  margin: 0;
  padding: 0;
  line-height: 1.35;
}
.web-home-layout .web-job-horizontal-track .web-job-card__identity h2,
.web-home-layout .web-job-horizontal-track .web-job-card__identity h2 a {
  min-height: 0;
  margin: 0;
  padding: 0;
  line-height: 1.35;
}
.web-home-layout .web-job-horizontal-track .web-job-card__identity h2 a {
  display: inline;
}
.web-home-layout .web-job-horizontal-track .web-urgent {
  flex: none;
  white-space: nowrap;
  padding: 5px 8px;
  border-radius: 7px;
}
.web-home-layout .web-job-horizontal-track .web-job-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 14px;
  margin: 0;
  min-height: 30px;
  font-size: 12px;
}
.web-home-layout .web-job-horizontal-track .web-job-meta > span {
  min-height: 26px;
  padding: 0;
  line-height: 1.35;
}
.web-home-layout .web-job-horizontal-track .web-job-meta i {
  font-size: 17px;
}
.web-home-layout .web-job-horizontal-track .web-job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  min-height: 0;
}
.web-home-layout .web-job-horizontal-track .web-job-tags span {
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.3;
}
.web-home-layout .web-job-horizontal-track .web-job-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin: 0;
  padding: 3px 0 5px;
}
.web-home-layout .web-job-horizontal-track .web-job-card__stats > span {
  min-width: 112px;
  min-height: 42px;
  padding: 0;
}
.web-home-layout .web-job-horizontal-track .web-job-card__stats i {
  width: 30px;
  height: 30px;
}
.web-home-layout .web-job-horizontal-track .web-job-card__stats b {
  font-size: 12px;
  line-height: 1.35;
}
.web-home-layout .web-job-horizontal-track .web-job-card__stats small {
  font-size: 10px;
  line-height: 1.3;
}
.web-home-layout .web-job-horizontal-track .web-job-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding-top: 13px;
}
.web-home-layout .web-job-horizontal-track .web-job-card__opening {
  min-height: 32px;
  font-size: 12px;
}
.web-home-layout .web-job-horizontal-track .web-primary-action {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 11px;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .web-home-layout .web-job-horizontal-track > .web-job-card--complete {
    flex-basis: min(86vw, 350px);
    width: min(86vw, 350px);
    padding: 17px;
  }
}
