
  :root {
    --navy: #0b1f3a;
    --navy-btn: #0d2b55;
    --ink: #111827;
    --muted: #6b7280;
    --border: #d1d5db;
    --gold: #c9a227;
    --white: #fff;
    --bg: #f3f4f6;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html, body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }
  body {
    font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
    background: #f3f4f6;
    color: var(--ink);
  }
  .packet { display: none !important; /* live: no banner */
  
    background: #0b3d2e;
    color: #d7ffe9;
    font-size: 11px;
    padding: 6px 14px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }
  .packet strong { color: #fff59d; }
  .packet .tag {
    background: #1f8a5b; color: #fff; padding: 2px 8px; border-radius: 4px; font-weight: 700;
  }

  /* ===== STICKY HEADER ===== */
  .header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid #e5e7eb;
    height: 89px;
    display: grid;
    grid-template-columns: minmax(180px, 240px) 1fr auto auto;
    align-items: center;
    padding: 0 12px;
    gap: 8px;
    margin: 0;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .mark {
    width: 42px; height: 42px;
    border-radius: 10px;
    background: var(--navy);
    display: grid; place-items: center;
    flex-shrink: 0;
  }
  .mark svg { width: 22px; height: 22px; fill: #fff; }
  .brand-text .name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 700;
    color: #111;
    line-height: 1.1;
  }
  .brand-text .sub {
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
    white-space: nowrap;
  }
  .nav {
    display: flex;
    justify-content: center;
    gap: 22px;
    font-size: 14px;
  }
  .nav a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
  }
  .nav a .chev {
    font-size: 9px;
    opacity: .7;
  }
  .icons {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .icons button {
    width: 32px; height: 32px;
    border: none; background: transparent;
    border-radius: 8px;
    cursor: default;
    display: grid; place-items: center;
    color: #374151;
  }
  .icons button svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

  /* ===== HERO ===== */
  .hero {
    position: relative;
    width: 100vw;
    max-width: 100%;
    margin: 0;
    height: calc(100vh - 89px);
    min-height: 560px;
    display: grid;
    grid-template-columns: minmax(160px, 14vw) 1fr minmax(160px, 14vw);
    gap: 0;
    padding: 0;
    background: #1a1a1a;
    overflow: hidden;
  }
  .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #111;
  }
  .hero-bg::after {
    content: "";
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.08) 30%, rgba(0,0,0,.08) 70%, rgba(0,0,0,.28) 100%);
  }
  .hero-bg-track {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.55s ease;
    will-change: transform;
  }
  .hero-bg-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
  }
  .hero > .rail,
  .hero > .center { position: relative; z-index: 1; }

  /* Ad rails */
  .rail {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 100%;
    min-height: 0;
  }
  .rail .ad { border-radius: 0; box-shadow: none; }
  .rail .ad + .ad { border-top: 1px solid rgba(255,255,255,.12); }
  .ad {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    background: #222;
    box-shadow: 0 4px 16px rgba(0,0,0,.35);
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .ad .pic-viewport {
    flex: 1;
    overflow: hidden;
    position: relative;
    min-height: 180px;
  }
  .ad .pic-track {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.5s ease;
    will-change: transform;
  }
  .ad .pic-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    min-height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
  }
  .ad .pic-slide::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.75) 100%);
  }
  .ad .copy {
    position: absolute;
    left: 10px; right: 10px; bottom: 28px;
    color: #fff;
    z-index: 2;
  }
  .ad .copy h3 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.15;
    text-shadow: 0 1px 4px rgba(0,0,0,.6);
  }
  .ad .copy p {
    font-size: 11px;
    opacity: .9;
    margin-top: 2px;
  }
  .ad .cta {
    background: var(--navy-btn);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
  }
  .ad .cta .arrow { opacity: .85; font-size: 14px; }
  .ad .dots {
    position: absolute;
    top: auto; bottom: 40px; left: 0; right: 0;
    display: flex; flex-direction: row-reverse; justify-content: center; gap: 5px;
    z-index: 3;
    pointer-events: auto;
  }
  .ad .dots span {
    width: 6px; height: 6px; border-radius: 50%;
    background: rgba(255,255,255,.45);
    cursor: pointer;
  }
  .ad .dots span.on { background: #fff; }

  /* Center stage */
  .center {
    position: relative;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
  }
  .slide-frame {
    flex: 1;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
  }
  .nav-btn {
    position: absolute;
    top: 42%;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
    display: grid; place-items: center;
    z-index: 5;
    color: var(--navy);
    font-size: 18px;
    font-weight: 700;
  }
  .nav-btn.prev { left: 8px; }
  .nav-btn.next { right: 8px; }

  /* Frosted search card */
  .search-card {
    position: absolute;
    left: 4%;
    top: 2%;
    width: min(300px, 28%);
    max-height: calc(100% - 72px);
    overflow-y: auto;
    background: rgba(255,255,255,.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 14px;
    padding: 10px 10px 8px;
    box-shadow: 0 8px 28px rgba(0,0,0,.22);
    z-index: 6;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .field { display: flex; flex-direction: column; gap: 3px; }
  .field label {
    font-size: 11px;
    font-weight: 700;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .field label .info {
    width: 13px; height: 13px;
    border-radius: 50%;
    border: 1.2px solid #9ca3af;
    color: #6b7280;
    font-size: 9px;
    display: inline-grid; place-items: center;
    font-style: italic;
    font-weight: 600;
  }
  .field select, .field input {
    width: 100%;
    padding: 5px 8px;
    border: 1px solid #c5cad3;
    border-radius: 6px;
    background: rgba(255,255,255,.92);
    font-size: 11.5px;
    color: #374151;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
  }
  .save-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #374151;
    margin-top: 2px;
  }
  .save-row input { width: 14px; height: 14px; }
  .search-btn {
    margin-top: 4px;
    width: 100%;
    background: var(--navy-btn);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  .search-btn svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2.2; }

  /* Thumbnail strip */
  .thumbs {
    display: flex; flex-direction: row-reverse;
    gap: 6px;
    justify-content: center;
    padding: 8px 12px;
    position: absolute;
    left: 0; right: 0; bottom: 6px;
    z-index: 5;
    box-sizing: border-box;
  }
  .thumbs .t {
    width: 72px; height: 48px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    border: 2px solid transparent;
    box-shadow: 0 2px 6px rgba(0,0,0,.35);
    flex-shrink: 0;
  }
  .thumbs .t.active {
    border-color: var(--gold);
    box-shadow: 0 0 0 1px var(--gold), 0 2px 8px rgba(0,0,0,.4);
  }

  /* Explore chips */
  .explore {
    background: #f9fafb;
    padding: 22px 24px 16px;
    width: 100%;
  }
  .explore h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    margin-bottom: 12px;
    color: #111;
  }
  .chips {
    display: flex;
    gap: 12px;
    overflow: hidden;
  }
  .chip {
    flex: 1;
    height: 110px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
  }
  .chip::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.7) 100%);
  }
  .chip span {
    position: absolute;
    left: 0; right: 0; bottom: 10px;
    text-align: center;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    z-index: 1;
    text-shadow: 0 1px 3px rgba(0,0,0,.5);
  }

  .foot-note {
    background: #eef1f5;
    border-top: 1px solid #d8dde5;
    padding: 10px 16px;
    font-size: 11px;
    color: #445;
    display: flex;
    justify-content: space-between;
  }
  .foot-note strong { color: #0b3d2e; }


  /* ===== Hire nav dropdown ===== */
  .nav-dd { position: relative; display: inline-flex; align-items: center; }
  .nav-dd-btn {
    color: var(--ink); background: none; border: none; cursor: pointer;
    font: inherit; font-weight: 600; font-size: 14px;
    text-decoration: underline; text-underline-offset: 3px;
    display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
    padding: 0; font-family: inherit;
  }
  .nav-dd-btn.active, .nav-dd.open .nav-dd-btn {
    color: var(--navy-btn); text-decoration: none;
    border-bottom: 3px solid var(--gold); padding-bottom: 2px;
  }
  .nav-dd-btn .chev { font-size: 9px; opacity: .7; }
  .nav-dd-panel {
    display: none; position: absolute; top: calc(100% + 10px); left: 0;
    min-width: 200px; background: #fff; border: 1px solid #e5e7eb;
    border-radius: 10px; box-shadow: 0 12px 28px rgba(15,23,42,.14);
    padding: 6px; z-index: 60;
  }
  .nav-dd.open .nav-dd-panel { display: block; }
  .nav-dd-panel a {
    display: block; padding: 9px 12px; border-radius: 7px;
    color: var(--ink); text-decoration: none; font-weight: 600; font-size: 13px;
  }
  .nav-dd-panel a:hover, .nav-dd-panel a.on { background: #eef2f7; color: var(--navy-btn); }

  /* ===== Avatar auth menu (compact — replaces wide .auth block) ===== */
  .avatar-menu { position: relative; margin-left: 6px; flex-shrink: 0; }
  .user-avatar {
    width: 38px; height: 38px; border-radius: 50%;
    border: 2px solid #d1d5db; background: #e8edf4;
    display: grid; place-items: center; cursor: pointer; padding: 0;
    color: var(--navy-btn); transition: border-color .15s, box-shadow .15s;
  }
  .user-avatar:hover, .avatar-menu.open .user-avatar {
    border-color: var(--navy-btn); box-shadow: 0 0 0 3px rgba(13,43,85,.12);
  }
  .user-avatar svg { width: 22px; height: 22px; fill: currentColor; }
  .avatar-panel {
    display: none; position: absolute; top: calc(100% + 10px); right: 0;
    width: 280px; background: #fff; border: 1px solid #e5e7eb;
    border-radius: 12px; box-shadow: 0 16px 40px rgba(15,23,42,.18);
    padding: 14px; z-index: 70;
  }
  .avatar-menu.open .avatar-panel { display: block; }
  .avatar-panel-title {
    font-size: 11px; font-weight: 800; letter-spacing: .04em;
    text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
  }
  .avatar-roles {
    display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px;
  }
  .avatar-roles label {
    display: flex; align-items: center; gap: 8px;
    padding: 7px 8px; border-radius: 7px; font-size: 13px; font-weight: 600;
    cursor: pointer; border: 1px solid transparent;
  }
  .avatar-roles label:hover { background: #f3f4f6; }
  .avatar-roles label:has(input:checked) {
    background: #eef2f7; border-color: #c5cad3; color: var(--navy-btn);
  }
  .avatar-roles input { accent-color: var(--navy-btn); }
  .avatar-actions { display: flex; gap: 8px; }
  .avatar-actions .login-btn {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    background: var(--navy-btn); color: #fff; border: none; border-radius: 8px;
    padding: 9px 10px; font-size: 12px; font-weight: 700; cursor: pointer;
  }
  .avatar-actions .linkish {
    flex: 1; background: transparent; border: 1px solid #c5cad3; border-radius: 8px;
    padding: 9px 10px; font-size: 12px; font-weight: 700; color: var(--navy-btn);
    cursor: pointer;
  }

  /* Compact auth modals (hire pages) */
  .modal-backdrop {
    display: none; position: fixed; inset: 0; background: rgba(15,23,42,.55);
    z-index: 100; align-items: center; justify-content: center; padding: 24px;
  }
  .modal-backdrop.open { display: flex; }
  .modal {
    background: #fff; border-radius: 14px; width: min(520px, 100%);
    max-height: 90vh; overflow: auto; box-shadow: 0 20px 50px rgba(0,0,0,.35);
  }
  .modal.wide { width: min(720px, 100%); }
  .modal > header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 18px; border-bottom: 1px solid #e5e7eb; height: auto;
    position: static; grid-template-columns: none; background: #fff;
  }
  .modal > header h3 { font-size: 16px; margin: 0; }
  .modal > header button {
    border: none; background: transparent; font-size: 22px; cursor: pointer; line-height: 1; color: #6b7280;
  }
  .modal .body { padding: 16px 18px 20px; }
  .modal .hint { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
  .modal .field { margin-bottom: 10px; }
  .modal .field label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 4px; }
  .modal .field input, .modal .field textarea, .modal .field select {
    width: 100%; border: 1px solid #c5cad3; border-radius: 8px; padding: 8px 10px; font-size: 13px;
  }
  .modal .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .modal .primary {
    width: 100%; margin-top: 8px; background: var(--navy-btn); color: #fff; border: none;
    border-radius: 8px; padding: 11px; font-size: 13px; font-weight: 700; cursor: pointer;
  }
  .modal .swap { margin-top: 12px; font-size: 12px; text-align: center; color: var(--muted); }
  .modal .swap a { color: var(--navy-btn); font-weight: 700; cursor: pointer; text-decoration: underline; }
  .user-switch { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
  .user-switch button {
    border: 1px solid #c5cad3; background: #fff; border-radius: 999px;
    padding: 6px 10px; font-size: 11px; font-weight: 700; cursor: pointer; color: var(--ink);
  }
  .user-switch button.on { background: var(--navy-btn); color: #fff; border-color: var(--navy-btn); }

  .crumb {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    padding: 10px 16px; font-size: 13px; background: #fff; border-bottom: 1px solid #e5e7eb;
  }
  .crumb a { color: var(--navy-btn); font-weight: 700; text-decoration: none; }
  .crumb a:hover { text-decoration: underline; }
  .crumb .sep { color: #9ca3af; }
  .crumb .here { color: var(--ink); font-weight: 700; }

  .subpage-hero {
    background: linear-gradient(135deg, #0b1f3a 0%, #1a4a6d 100%);
    color: #fff; padding: 28px 20px 32px; text-align: center;
  }
  .subpage-hero h1 { font-family: Georgia, serif; font-size: 28px; margin-bottom: 8px; }
  .subpage-hero p { font-size: 14px; opacity: .9; max-width: 640px; margin: 0 auto; }
  .subpage-body { max-width: 1180px; margin: 0 auto; padding: 24px 16px 48px; }


  /* Modal */
  .modal-backdrop {
    display: none;
    position: fixed; inset: 0;
    background: rgba(15,23,42,.55);
    z-index: 100;
    align-items: center;
    justify-content: center;
    padding: 24px;
  }
  .modal-backdrop.open { display: flex; }
  .modal {
    background: #fff;
    border-radius: 14px;
    width: min(520px, 100%);
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 20px 50px rgba(0,0,0,.35);
  }
  .modal.wide { width: min(720px, 100%); }
  .modal header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid #e5e7eb;
  }
  .modal header h3 { font-size: 16px; }
  .modal header button {
    border: none; background: transparent; font-size: 20px; cursor: pointer; color: #64748b;
  }
  .modal .body { padding: 16px 18px 20px; }
  .user-switch {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
    flex-wrap: wrap;
  }
  .user-switch button {
    flex: 1;
    min-width: 110px;
    border: 1px solid #d1d5db;
    background: #f8fafc;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    color: #334155;
  }
  .user-switch button.on {
    background: var(--navy-btn);
    border-color: var(--navy-btn);
    color: #fff;
  }
  .modal .field { margin-bottom: 8px; }
  .modal .field label { font-size: 12px; font-weight: 700; display: block; margin-bottom: 4px; }
  .modal .field input, .modal .field select, .modal .field textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #c5cad3;
    border-radius: 6px;
    font-size: 13px;
  }
  .modal .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .modal .hint {
    font-size: 11px;
    color: #64748b;
    margin: 0 0 12px;
  }
  .modal .primary {
    width: 100%;
    margin-top: 8px;
    background: var(--navy-btn);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 11px;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
  }
  .modal .swap {
    text-align: center;
    margin-top: 12px;
    font-size: 12px;
    color: #475569;
  }
  .modal .swap a { color: var(--navy-btn); font-weight: 700; cursor: pointer; }

  /* Body below hero — Aliha-identical sections per Rigo brief */
  .body-wrap {
    width: 100%;
    background: #fff;
  }
  .hiring {
    padding: 22px 24px 8px;
    width: 100%;
    box-sizing: border-box;
  }
  .hiring h2, .referral-sec h2, .explore h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    margin-bottom: 6px;
    color: #111;
  }
  .hiring .sub, .referral-sec .sub {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 14px;
  }
  .hire-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
  .hire-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
  }
  .hire-card .ph {
    height: 120px;
    background-size: cover;
    background-position: center;
    position: relative;
  }
  .hire-card .demo {
    position: absolute;
    top: 8px; left: 8px;
    background: #0b3d2e;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 4px;
  }
  .hire-card .meta { padding: 10px 12px 12px; }
  .hire-card .meta h4 { font-size: 14px; margin-bottom: 4px; }
  .hire-card .meta p { font-size: 12px; color: #64748b; }
  .hire-card .meta .btn {
    margin-top: 8px;
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--navy-btn);
  }

  .referral-sec {
    padding: 8px 24px 28px;
    width: 100%;
    box-sizing: border-box;
  }
  .ref-row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
  }
  .ref-card {
    flex: 0 0 220px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    overflow: hidden;
  }
  .ref-card .avatar {
    height: 140px;
    background-size: cover;
    background-position: center;
  }
  .ref-card .meta { padding: 10px 12px 12px; }
  .ref-card .meta h4 { font-size: 14px; }
  .ref-card .meta .role { font-size: 12px; color: #475569; margin: 2px 0 6px; }
  .ref-card .meta .stats { font-size: 11px; color: #64748b; line-height: 1.4; }
  .ref-card .meta .view {
    margin-top: 8px;
    width: 100%;
    border: none;
    background: var(--navy-btn);
    color: #fff;
    border-radius: 8px;
    padding: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
  }

  .foot-note {
    background: #eef1f5;
    border-top: 1px solid #d8dde5;
    padding: 10px 16px;
    font-size: 11px;
    color: #445;
    display: flex;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
  }
  .foot-note strong { color: #0b3d2e; }


  /* Nested checkbox filters (Rigo ✅1–6) */
  .search-card {
    width: min(360px, 36%);
    max-height: calc(100% - 72px);
    padding: 10px 10px 8px;
    gap: 6px;
    overflow: hidden;
  }
  .psp-modes { display: none !important; }
  .mode-opt .leaf strong { color: #0b1f3a; }
  .mode-opt:has(input:checked) {
    background: rgba(13,43,85,.08);
    border-radius: 6px;
  }
  .psp-modes button {
    flex: 1; min-width: 0;
    border: 1px solid #c5cad3;
    background: rgba(255,255,255,.88);
    color: #1f2937;
    border-radius: 999px;
    padding: 6px 8px;
    font-size: 10.5px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1.2;
  }
  .psp-modes button.on {
    background: var(--navy-btn);
    border-color: var(--navy-btn);
    color: #fff;
  }
  .psp-status {
    font-size: 10px;
    color: #475569;
    margin: 0;
    line-height: 1.3;
  }
  .psp-status strong { color: #0b1f3a; }
  .panel-meta {
    display: flex; align-items: center; justify-content: space-between;
    gap: 8px; font-size: 10px; color: #64748b;
  }
  .sel-badge {
    background: #0d2b55; color: #fff;
    border-radius: 999px; padding: 2px 8px;
    font-weight: 800; font-size: 10px;
    min-width: 1.6em; text-align: center;
  }
  /* Filter menu CSS → filters-shared.css?v=indent-half */
  .zip-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6px;
  }
  .zip-row .field input[type="text"],
  .zip-row .field input[type="number"] {
    background-image: none;
  }
  .field input[type="range"] {
    appearance: auto;
    background-image: none;
    padding: 0;
    border: none;
    height: 22px;
  }
  @media (max-width: 900px) {
    .search-card { width: min(92%, 360px); left: 4%; right: auto; }
  }


  
  /* Module nav hover — Hire / Referrals / Crowdfund / Network — underline on hover */
  .nav-dd[data-dd="referral"], .nav-dd#refDd, .nav-dd[data-dd="hire"],
  .nav-dd[data-dd="crowdfund"], .nav-dd[data-dd="network"], .nav-dd#netDd {
    position: relative; display: inline-flex; align-items: center;
  }
  .nav-dd[data-dd="referral"] > button,
  .nav-dd#refDd > button,
  .nav-dd[data-dd="hire"] > .nav-dd-btn,
  .nav-dd[data-dd="hire"] > button,
  .nav-dd[data-dd="crowdfund"] > .nav-dd-btn,
  .nav-dd[data-dd="crowdfund"] > button,
  .nav-dd[data-dd="network"] > .nav-dd-btn,
  .nav-dd[data-dd="network"] > button,
  .nav-dd#netDd > button {
    font: inherit; font-size: 13px; font-weight: 600; color: #374151;
    padding: 8px 10px; border-radius: 8px; background: none; border: none; cursor: pointer;
  }
  .nav-dd[data-dd="referral"]:hover > button,
  .nav-dd#refDd:hover > button,
  .nav-dd[data-dd="hire"]:hover > .nav-dd-btn,
  .nav-dd[data-dd="hire"]:hover > button,
  .nav-dd[data-dd="crowdfund"]:hover > .nav-dd-btn,
  .nav-dd[data-dd="crowdfund"]:hover > button,
  .nav-dd[data-dd="network"]:hover > .nav-dd-btn,
  .nav-dd[data-dd="network"]:hover > button,
  .nav-dd#netDd:hover > button,
  .nav-dd[data-dd="referral"] > button.active,
  .nav-dd#refDd > button.active,
  .nav-dd[data-dd="hire"] > .nav-dd-btn.active,
  .nav-dd[data-dd="hire"] > button.active,
  .nav-dd[data-dd="crowdfund"] > .nav-dd-btn.active,
  .nav-dd[data-dd="crowdfund"] > button.active,
  .nav-dd[data-dd="network"] > .nav-dd-btn.active,
  .nav-dd[data-dd="network"] > button.active,
  .nav-dd#netDd > button.active {
    background: #e8edf5; color: var(--navy, #0b1f3a);
  }
  .nav-dd[data-dd="referral"] .nav-panel,
  .nav-dd#refDd .nav-panel,
  .nav-dd[data-dd="hire"] .nav-dd-panel,
  .nav-dd[data-dd="hire"] .nav-panel,
  .nav-dd[data-dd="crowdfund"] .nav-dd-panel,
  .nav-dd[data-dd="crowdfund"] .nav-panel,
  .nav-dd[data-dd="network"] .nav-dd-panel,
  .nav-dd[data-dd="network"] .nav-panel,
  .nav-dd#netDd .nav-panel {
    display: none; position: absolute; top: calc(100% - 2px); left: 0; min-width: 220px;
    background: #fff; border: 1px solid var(--border, #e5e7eb); border-radius: 10px;
    box-shadow: 0 12px 28px rgba(15,23,42,.14); padding: 8px 6px; z-index: 80;
  }
  .nav-dd[data-dd="referral"]:hover .nav-panel,
  .nav-dd#refDd:hover .nav-panel,
  .nav-dd[data-dd="hire"]:hover .nav-dd-panel,
  .nav-dd[data-dd="hire"]:hover .nav-panel,
  .nav-dd[data-dd="crowdfund"]:hover .nav-dd-panel,
  .nav-dd[data-dd="crowdfund"]:hover .nav-panel,
  .nav-dd[data-dd="network"]:hover .nav-dd-panel,
  .nav-dd[data-dd="network"]:hover .nav-panel,
  .nav-dd#netDd:hover .nav-panel,
  .nav-dd[data-dd="referral"].open .nav-panel,
  .nav-dd#refDd.open .nav-panel,
  .nav-dd[data-dd="hire"].open .nav-dd-panel,
  .nav-dd[data-dd="crowdfund"].open .nav-dd-panel,
  .nav-dd[data-dd="network"].open .nav-dd-panel,
  .nav-dd#netDd.open .nav-panel {
    display: block;
  }
  .nav-dd[data-dd="referral"] .nav-panel a,
  .nav-dd#refDd .nav-panel a,
  .nav-dd[data-dd="hire"] .nav-dd-panel a,
  .nav-dd[data-dd="hire"] .nav-panel a,
  .nav-dd[data-dd="crowdfund"] .nav-dd-panel a,
  .nav-dd[data-dd="crowdfund"] .nav-panel a,
  .nav-dd[data-dd="network"] .nav-dd-panel a,
  .nav-dd[data-dd="network"] .nav-panel a,
  .nav-dd#netDd .nav-panel a {
    display: block; padding: 9px 12px; border-radius: 0; font-size: 13px; font-weight: 600;
    color: #111827; text-decoration: none; background: transparent;
  }
  .nav-dd[data-dd="referral"] .nav-panel a:hover,
  .nav-dd#refDd .nav-panel a:hover,
  .nav-dd[data-dd="hire"] .nav-dd-panel a:hover,
  .nav-dd[data-dd="hire"] .nav-panel a:hover,
  .nav-dd[data-dd="crowdfund"] .nav-dd-panel a:hover,
  .nav-dd[data-dd="crowdfund"] .nav-panel a:hover,
  .nav-dd[data-dd="network"] .nav-dd-panel a:hover,
  .nav-dd[data-dd="network"] .nav-panel a:hover,
  .nav-dd#netDd .nav-panel a:hover {
    text-decoration: underline; text-underline-offset: 3px; background: transparent; color: #111827;
  }
  .nav-dd[data-dd="referral"] .nav-panel a.on,
  .nav-dd#refDd .nav-panel a.on,
  .nav-dd[data-dd="hire"] .nav-dd-panel a.on,
  .nav-dd[data-dd="crowdfund"] .nav-dd-panel a.on,
  .nav-dd[data-dd="network"] .nav-dd-panel a.on,
  .nav-dd#netDd .nav-panel a.on {
    text-decoration: underline; text-underline-offset: 3px; background: #eef2f7; color: var(--navy-btn, #0d2b55);
  }
  .nav-dd[data-dd="referral"] .nav-panel::before,
  .nav-dd#refDd .nav-panel::before,
  .nav-dd[data-dd="hire"] .nav-dd-panel::before,
  .nav-dd[data-dd="hire"] .nav-panel::before,
  .nav-dd[data-dd="crowdfund"] .nav-dd-panel::before,
  .nav-dd[data-dd="network"] .nav-dd-panel::before,
  .nav-dd#netDd .nav-panel::before {
    content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px;
  }

