/* Extracted from recruiter-dashboard/my-jobs/senior-frontend-engineer/index.html. */
body { background: linear-gradient(180deg, #eef2f0 0%, var(--canvas) 320px); }
    .back-link {
      display: inline-flex; align-items: center; gap: 6px;
      font-size: 0.8125rem; font-weight: 600; color: var(--ink-soft);
      margin-bottom: 12px;
    }
    .back-link:hover { color: var(--accent); }

    .page-header {
      display: flex; flex-wrap: wrap; align-items: center;
      gap: 12px; margin-bottom: 24px;
    }
    .page-header__title { margin: 0; font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
    .page-header__badge {
      display: inline-flex; align-items: center; gap: 5px;
      padding: 4px 12px; border-radius: 999px;
      font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
    }
    .page-header__badge--active { background: #ecfdf5; color: #059669; }
    .page-header__actions {
      display: flex; gap: 8px; align-items: center;
      margin-left: auto;
    }
    .button--danger-ghost {
      border-color: rgba(220,38,38,0.2); background: rgba(255,255,255,0.72); color: #dc2626;
    }
    .button--danger-ghost:hover {
      background: rgba(220,38,38,0.06); border-color: rgba(220,38,38,0.3);
    }

    .detail-layout {
      display: grid; grid-template-columns: minmax(0,1fr); gap: 20px;
    }
    @media (min-width: 900px) {
      .detail-layout { grid-template-columns: minmax(0,1.85fr) minmax(0,1fr); align-items: start; }
    }
    .detail-main { display: grid; gap: 20px; min-width: 0; }
    .detail-side { display: grid; gap: 20px; min-width: 0; }

    .card-title {
      margin: 0 0 16px; font-size: 1rem; font-weight: 700;
    }
    .card-title-row {
      display: flex; align-items: center; justify-content: space-between;
      margin-bottom: 16px;
    }
    .card-title-row .card-title { margin: 0; }
    .card-title-row a { font-size: 0.8125rem; font-weight: 600; color: var(--accent); }
    .card-title-row a:hover { color: var(--accent-hover); }

    .jd-section-heading {
      margin: 20px 0 10px; font-size: 0.875rem; font-weight: 700; color: var(--ink);
    }
    .jd-section-heading:first-child { margin-top: 0; }
    .jd-copy { font-size: 0.875rem; line-height: 1.7; color: var(--ink-soft); margin: 0; }
    .jd-list { padding-left: 20px; margin: 6px 0 0; font-size: 0.875rem; line-height: 1.9; color: var(--ink-soft); }
    .jd-list li + li { margin-top: 2px; }

    /* Applicant rows */
    .applicant-row {
      display: grid; grid-template-columns: 36px minmax(0,1fr) auto auto auto;
      align-items: center; gap: 12px; padding: 10px 0;
      border-bottom: 1px solid var(--line-soft);
    }
    .applicant-row:last-child { border-bottom: 0; }
    .applicant-avatar {
      width: 36px; height: 36px; border-radius: 999px;
      display: grid; place-items: center;
      background: #0b5f4a; color: #fff;
      font-size: 0.75rem; font-weight: 700;
    }
    .applicant-name { font-size: 0.875rem; font-weight: 600; }
    .applicant-match { font-size: 0.8125rem; font-weight: 700; color: var(--accent); }
    .applicant-status {
      display: inline-flex; align-items: center;
      padding: 3px 10px; border-radius: 999px;
      font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
    }
    .applicant-status--new { background: #eff6ff; color: #2563eb; }
    .applicant-status--screening { background: #fefce8; color: #ca8a04; }
    .applicant-status--interview { background: #f3f0ff; color: #6d59d9; }
    .applicant-status--hired { background: #ecfdf5; color: #059669; }
    .applicant-date { font-size: 0.75rem; color: var(--ink-faint); white-space: nowrap; }

    @media (max-width: 639px) {
      .applicant-row { grid-template-columns: 36px minmax(0,1fr); gap: 8px; }
      .applicant-match, .applicant-status, .applicant-date { grid-column: 2; }
    }

    /* Timeline */
    .timeline { list-style: none; margin: 0; padding: 0; }
    .timeline__item {
      display: grid; grid-template-columns: 12px 1fr; gap: 12px;
      padding-bottom: 18px; position: relative;
    }
    .timeline__item:last-child { padding-bottom: 0; }
    .timeline__item::before {
      content: ""; position: absolute; left: 5px; top: 18px; bottom: 0;
      width: 2px; background: var(--line-soft);
    }
    .timeline__item:last-child::before { display: none; }
    .timeline__dot {
      width: 12px; height: 12px; border-radius: 999px;
      background: var(--accent-soft); margin-top: 4px; flex-shrink: 0;
    }
    .timeline__content {}
    .timeline__text { font-size: 0.875rem; color: var(--ink); }
    .timeline__time { font-size: 0.75rem; color: var(--ink-faint); margin-top: 2px; }

    /* Key-value pairs */
    .kv-list { list-style: none; margin: 0; padding: 0; }
    .kv-item {
      display: flex; justify-content: space-between; align-items: baseline;
      padding: 8px 0; border-bottom: 1px solid var(--line-soft);
      font-size: 0.8125rem;
    }
    .kv-item:last-child { border-bottom: 0; }
    .kv-label { color: var(--ink-faint); }
    .kv-value { font-weight: 600; color: var(--ink); text-align: right; }

    /* Skills chips */
    .skills-chips { display: flex; flex-wrap: wrap; gap: 8px; }

    /* Benefits list */
    .benefits-list { list-style: none; margin: 0; padding: 0; }
    .benefits-list li {
      display: flex; align-items: center; gap: 8px;
      padding: 7px 0; font-size: 0.8125rem; color: var(--ink-soft);
    }
    .benefits-list li + li { border-top: 1px solid var(--line-soft); }
    .benefit-check {
      width: 20px; height: 20px; border-radius: 999px;
      display: inline-grid; place-items: center;
      background: #ecfdf5; color: #059669; font-size: 0.75rem; flex-shrink: 0;
    }

    /* ── Close Job Modal ── */
    .close-job-backdrop {
      position: fixed; inset: 0; z-index: 800;
      background: rgba(0,0,0,0.35); backdrop-filter: blur(3px);
      display: grid; place-items: center;
      opacity: 0; visibility: hidden;
      transition: opacity 0.2s ease, visibility 0.2s ease;
    }
    .close-job-backdrop.is-open {
      opacity: 1; visibility: visible;
    }
    .close-job-modal {
      background: #fff; border-radius: 16px;
      max-width: 420px; width: calc(100% - 32px);
      padding: 32px; text-align: center;
      box-shadow: 0 24px 48px rgba(0,0,0,0.12);
      transform: translateY(12px); transition: transform 0.2s ease;
    }
    .close-job-backdrop.is-open .close-job-modal {
      transform: translateY(0);
    }
    .close-job-modal__icon {
      width: 48px; height: 48px; border-radius: 999px;
      background: rgba(245,158,11,0.12);
      display: inline-grid; place-items: center;
      margin-bottom: 16px; font-size: 1.5rem;
    }
    .close-job-modal__title {
      margin: 0 0 8px; font-size: 1.125rem; font-weight: 700; color: var(--ink);
    }
    .close-job-modal__desc {
      margin: 0 0 24px; font-size: 0.875rem; line-height: 1.6; color: var(--ink-soft);
    }
    .close-job-modal__actions {
      display: flex; gap: 10px; justify-content: center;
    }
    .button--danger {
      background: #dc2626; color: #fff; border-color: #dc2626;
    }
    .button--danger:hover {
      background: #b91c1c; border-color: #b91c1c;
    }
    .close-job-modal__success {
      display: none;
    }
    .close-job-modal__success.is-visible {
      display: block;
    }
    .close-job-modal__confirm {
      display: block;
    }
    .close-job-modal__confirm.is-hidden {
      display: none;
    }
    .close-job-modal__check {
      width: 48px; height: 48px; border-radius: 999px;
      background: #ecfdf5;
      display: inline-grid; place-items: center;
      margin-bottom: 16px; color: #059669; font-size: 1.5rem;
    }

    /* ── Hiring funnel widgets ── */
    .rw-funnel { display:grid; gap:6px; }
    .rw-funnel-row { display:grid; grid-template-columns:72px minmax(0,1fr) 32px; gap:8px; align-items:center; }
    .rw-funnel-label { font-size:0.75rem; font-weight:500; color:rgba(1,56,44,0.55); }
    .rw-funnel-bar-track { height:6px; border-radius:3px; background:rgba(1,56,44,0.06); overflow:hidden; }
    .rw-funnel-bar { height:100%; border-radius:3px; background:#059669; min-width:3px; }
    .rw-funnel-bar--hired { background:#10B981; }
    .rw-funnel-count { font-size:0.75rem; font-weight:700; color:#01382C; text-align:right; }
    .rw-funnel-meta { display:flex; gap:6px; font-size:0.6875rem; color:rgba(1,56,44,0.42); margin-top:4px; }

    .rw-stage-times { display:grid; gap:8px; }
    .rw-stage-time { display:flex; align-items:center; justify-content:space-between; gap:8px; }
    .rw-stage-time__label { font-size:0.75rem; color:rgba(1,56,44,0.55); }
    .rw-stage-time__value { font-size:0.8125rem; font-weight:700; color:#01382C; }
    .rw-stage-time__value--total { color:#059669; }

    .rw-sources { display:grid; gap:6px; }
    .rw-source-row { display:grid; grid-template-columns:100px minmax(0,1fr) 24px; gap:8px; align-items:center; }
    .rw-source-label { font-size:0.75rem; font-weight:500; color:rgba(1,56,44,0.55); }
    .rw-source-bar-track { height:6px; border-radius:3px; background:rgba(1,56,44,0.06); overflow:hidden; }
    .rw-source-bar { height:100%; border-radius:3px; background:#059669; min-width:3px; }
    .rw-source-bar--alt { background:rgba(1,56,44,0.18); }
    .rw-source-count { font-size:0.75rem; font-weight:700; color:#01382C; text-align:right; }
