*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, sans-serif; }

  :root {
    --green: #00704A;
    --green-dark: #00562E;
    --green-light: #E8F5EE;
    --black: #1A1A1A;
    --gray: #6B7280;
    --gray-light: #F4F6F4;
    --border: #E5E7EB;
    --track: #E8E8E8;
    --white: #ffffff;
    --dark: #1a1a2e;
    --nav-h: 68px;
  }

  body {
    background: var(--gray-light);
    color: var(--black);
    min-height: 100vh;
    padding-top: var(--nav-h);
  }

  /* ── NAVBAR ── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    background: #f8f6f1;
    border-bottom: 1px solid var(--border);
    z-index: 200;
    display: flex;
    align-items: center;
    padding: 0 48px;
    font-family: 'Inter', sans-serif;
  }
  .nav-inner {
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
  .nav-left { display: flex; align-items: center; gap: 28px; }
  .logo { font-size: 22px; font-weight: 800; color: var(--dark); text-decoration: none; letter-spacing: -.5px; }
  .logo span { color: var(--green); }
  .nav-left a, .nav-center a { text-decoration: none; color: #555; font-weight: 500; font-size: 14px; transition: color .15s; }
  .nav-left a:hover, .nav-center a:hover { color: var(--green); }
  .nav-center { display: flex; align-items: center; justify-content: center; gap: 32px; }
  .nav-center a.active { color: var(--green); font-weight: 600; }
  .nav-right { display: flex; justify-content: flex-end; }
  .hire-btn { background: var(--green); color: #fff; padding: 10px 20px; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 13.5px; transition: background .15s; white-space: nowrap; }
  .hire-btn:hover { background: #005c3c; }

  /* ── LOGGED-IN NAV (back to profile only) ── */
  .ls-profile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    background: #f8f6f1;
    border-bottom: 1px solid var(--border);
    z-index: 210;
    display: flex;
    align-items: center;
    padding: 0 40px;
  }
  .ls-back-profile {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--green);
    text-decoration: none;
    transition: color .15s;
  }
  .ls-back-profile:hover { color: var(--green-dark); }

  /* ── PAGE ── */
  .page { padding: 28px 40px; display: grid; grid-template-columns: 410px 1fr; gap: 24px; align-items: start; min-width: 0; }

  /* ── LEFT PANEL ── */
  .left { min-width: 0; }

  /* Profile card */
  .profile-card { background: var(--white); border-radius: 20px; border: 1px solid var(--border); overflow: hidden; }

  .profile-head {
    background: var(--green);
    padding: 26px 24px 24px;
    position: relative;
    overflow: hidden;
  }
  .profile-head::before {
    content: ''; position: absolute;
    top: -50px; right: -50px;
    width: 160px; height: 160px; border-radius: 50%;
    background: rgba(255,255,255,0.06); pointer-events: none;
  }
  .profile-head::after {
    content: ''; position: absolute;
    bottom: -40px; left: -30px;
    width: 120px; height: 120px; border-radius: 50%;
    background: rgba(255,255,255,0.04); pointer-events: none;
  }

  .profile-top { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
  .avatar {
    width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
    background: rgba(255,255,255,0.18);
    border: 2.5px solid rgba(255,255,255,0.45);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 900; color: #fff; letter-spacing: -0.5px;
    position: relative;
    overflow: hidden;
  }
  .ls-avatar-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
  }
  .avatar.has-photo #lsAvatar { display: none; }
  .avatar.has-photo .ls-avatar-image { display: block; }
  .p-name { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 900; color: #fff; line-height: 1.15; letter-spacing: -0.4px; white-space: nowrap; }
  .p-sub { font-size: 12px; color: rgba(255,255,255,0.62); margin-top: 4px; white-space: nowrap; }
  .badge-done { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: #1D9BF0; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #fff; font-weight: 900; }

  .score-block { display: flex; align-items: center; gap: 0; }
  .arc-wrap { flex-shrink: 0; text-align: center; padding-right: 24px; border-right: 1px solid rgba(255,255,255,0.15); }
  .top-pct { font-size: 13px; font-weight: 800; color: #fff; margin-top: 10px; }
  .top-pct em { font-style: normal; color: #7DE4A8; }

  .verified { padding-left: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
  .verified-item { display: flex; align-items: center; gap: 9px; white-space: nowrap; font-size: 13px; color: rgba(255,255,255,0.88); font-weight: 600; }
  .v-check { width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; background: rgba(125,228,168,0.2); border: 1.5px solid rgba(125,228,168,0.55); display: flex; align-items: center; justify-content: center; font-size: 10px; color: #7DE4A8; font-weight: 800; }

  /* Profile body */
  .profile-body { padding: 20px 22px; }
  .section-lbl { font-size: 10px; font-weight: 800; letter-spacing: 0.1em; color: var(--gray); margin-bottom: 14px; }

  /* Job cards */
  .job-card { border: 1.5px solid var(--border); border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; background: var(--white); cursor: pointer; transition: border-color .15s; }
  .job-card:hover { border-color: var(--green); }
  .job-row1 { display: flex; align-items: center; gap: 11px; margin-bottom: 10px; }
  .job-flag { width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0; background: var(--green-light); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 900; color: var(--green); }
  .job-info { flex: 1; min-width: 0; }
  .job-title { font-size: 13px; font-weight: 700; color: var(--black); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .job-meta { font-size: 11px; color: var(--gray); margin-top: 2px; }
  .job-pay { font-size: 13px; font-weight: 800; color: var(--black); white-space: nowrap; }
  .job-pay span { font-size: 10px; color: var(--gray); font-weight: 400; }
  .job-readiness { display: flex; align-items: center; gap: 10px; }
  .job-pct-lbl { font-size: 11px; font-weight: 700; color: var(--green); white-space: nowrap; min-width: 60px; }
  .job-bar-track { flex: 1; height: 5px; background: var(--track); border-radius: 3px; }
  .job-bar-fill { height: 100%; border-radius: 3px; background: var(--green); }

  /* Next step */
  .next-step { background: var(--green-light); border-radius: 14px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; margin-top: 6px; }
  .ns-icon { font-size: 22px; flex-shrink: 0; }
  .ns-tag { font-size: 9px; font-weight: 800; color: var(--green); letter-spacing: 0.08em; margin-bottom: 3px; }
  .ns-title { font-size: 13px; font-weight: 800; color: var(--black); }
  .ns-sub { font-size: 11px; color: var(--gray); margin-top: 2px; }
  .ns-btn { background: var(--green); color: #fff; border: none; border-radius: 10px; padding: 9px 14px; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap; flex-shrink: 0; }
  .ns-btn:hover { background: var(--green-dark); }

  /* ── RIGHT PANEL ── */
  .right { min-width: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-content: start; }
  #lsDimensions { display: contents; }

  /* Score cards */
  .sc { background: var(--white); border-radius: 20px; border: 1.5px solid var(--border); padding: 28px 26px 24px; }
  .sc-accent { height: 4px; width: 44px; border-radius: 2px; background: var(--green); margin-bottom: 18px; }
  .sc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
  .sc-title { font-size: 17px; font-weight: 800; color: var(--black); }
  .sc-pts { font-size: 12px; font-weight: 700; color: var(--gray); }
  .sc-desc { font-size: 12px; color: var(--gray); line-height: 1.55; margin-bottom: 18px; }
  .sc-num { font-size: 46px; font-weight: 900; color: var(--black); line-height: 1; letter-spacing: -1px; }
  .sc-denom { font-size: 16px; font-weight: 400; color: var(--gray); letter-spacing: 0; }
  .sc-pct { font-size: 17px; font-weight: 800; color: var(--green); margin-left: 6px; }
  .sc-main-bar { height: 8px; background: var(--track); border-radius: 4px; margin: 16px 0 20px; }
  .sc-main-fill { height: 100%; border-radius: 4px; background: var(--green); }

  .sub { margin-bottom: 13px; }
  .sub:last-child { margin-bottom: 0; }
  .sub-top { display: flex; justify-content: space-between; margin-bottom: 6px; }
  .sub-lbl { font-size: 12px; color: var(--gray); }
  .sub-val { font-size: 12px; font-weight: 700; color: var(--black); }
  .sub-bar { height: 5px; background: var(--track); border-radius: 3px; }
  .sub-fill { height: 100%; border-radius: 3px; background: var(--green); }

  /* CTA banner */
  .score-cta { background: var(--dark); border-radius: 20px; padding: 28px 32px; grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

  .ls-tips-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
  .ls-tip { font-size: 12px; color: var(--gray); padding: 10px 12px; background: var(--gray-light); border-radius: 10px; line-height: 1.45; }
  .ls-tip-done { color: var(--green); font-weight: 600; background: var(--green-light); }
  .ls-profile-link { display: inline-block; font-size: 13px; font-weight: 700; color: var(--green); text-decoration: none; }
  .ls-profile-link:hover { color: var(--green-dark); }
  .score-cta h3 { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 6px; }
  .score-cta p { font-size: 14px; color: #aaa; }
  .score-cta-btns { display: flex; gap: 12px; flex-shrink: 0; }
  .btn-white { background: #fff; color: var(--dark); padding: 12px 22px; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 14px; white-space: nowrap; }
  .btn-green { background: var(--green); color: #fff; padding: 12px 22px; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 14px; white-space: nowrap; }

  footer { text-align: center; padding: 22px; font-size: 12px; color: var(--gray); border-top: 1px solid var(--border); background: var(--white); margin-top: 14px; }
  footer strong { color: var(--green); }

  /* ── RESPONSIVE ── */
  @media (max-width: 1100px) {
    .page {
      grid-template-columns: 1fr;
      padding: 20px 24px;
      gap: 20px;
    }
    .right {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 768px) {
    .ls-profile-nav { padding: 0 16px; }
    .page {
      padding: 16px;
      gap: 16px;
    }
    .right {
      grid-template-columns: 1fr;
      gap: 14px;
    }
    .profile-head {
      padding: 22px 18px 20px;
    }
    .score-block {
      flex-direction: column;
      align-items: stretch;
      gap: 16px;
    }
    .arc-wrap {
      padding-right: 0;
      border-right: none;
      border-bottom: 1px solid rgba(255, 255, 255, 0.15);
      padding-bottom: 16px;
    }
    .verified {
      padding-left: 0;
      flex-direction: row;
      flex-wrap: wrap;
      gap: 8px 14px;
    }
    .verified-item {
      white-space: normal;
      font-size: 12px;
    }
    .p-name,
    .p-sub {
      white-space: normal;
    }
    .profile-body {
      padding: 18px 16px;
    }
    .sc {
      padding: 22px 18px 20px;
    }
    .sc-num {
      font-size: 38px;
    }
    .sc-title {
      font-size: 16px;
    }
    .score-cta {
      flex-direction: column;
      align-items: flex-start;
      padding: 22px 20px;
      gap: 16px;
    }
    .score-cta h3 {
      font-size: 20px;
    }
    .score-cta-btns {
      width: 100%;
      flex-direction: column;
    }
    .btn-white,
    .btn-green {
      width: 100%;
      text-align: center;
      box-sizing: border-box;
    }
    .next-step {
      flex-wrap: wrap;
    }
    .ns-btn {
      width: 100%;
      margin-top: 4px;
    }
    .job-row1 {
      flex-wrap: wrap;
      row-gap: 6px;
    }
    .job-pay {
      margin-left: auto;
    }
  }

  @media (max-width: 480px) {
    .page {
      padding: 12px;
    }
    .p-name {
      font-size: 17px;
    }
    .arc-wrap svg {
      max-width: 140px;
      height: auto;
    }
    .job-pay {
      width: 100%;
      margin-left: 0;
      margin-top: 4px;
    }
    .score-cta h3 {
      font-size: 18px;
    }
    .score-cta p {
      font-size: 13px;
    }
  }