/* ==========================================================================
   JobsHives — dashboard tool pages shared styles (Phase 4)
   Covers: dashboard-salary.php, dashboard-resume-generator.php,
   dashboard-extension.php. Ported from JobsHives/dashboard.css's tool-page
   component classes (.tool-page-head, .salary-layout, .sr-*, .tmpl*, .rp-*,
   .ext-*), renamed to this repo's --jh-* tokens from dashboard-tokens.css.
   ========================================================================== */

.dh-wrap { max-width: 1180px; }

.tool-page-head { max-width: 640px; margin-bottom: 26px; }
.tool-page-head .k {
  font-family: "IBM Plex Mono", monospace; font-size: 11.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--jh-blue-600); font-weight: 500;
}
.tool-page-head h2 {
  font-family: "Bricolage Grotesque", sans-serif; font-size: 30px; font-weight: 700;
  color: var(--jh-navy-950); letter-spacing: -0.02em; margin-top: 12px;
}
.tool-page-head p { color: var(--jh-text-muted); font-size: 15px; margin-top: 12px; line-height: 1.55; }
.hint-line { font-size: 12.5px; color: var(--jh-text-faint); text-align: center; margin-top: 12px; }
.opt { font-size: 11px; font-weight: 600; color: var(--jh-text-faint); background: var(--jh-surface-2); padding: 3px 9px; border-radius: 999px; margin-left: 8px; }

.dh-card { background: var(--jh-white); border: 1px solid var(--jh-border); border-radius: var(--jh-radius-lg); box-shadow: var(--jh-shadow-sm); }
.dh-card-pad { padding: 26px; }

/* ============================ SALARY CALCULATOR ============================ */
.salary-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 24px; align-items: start; }

.field label { font-size: 12.5px; font-weight: 600; color: var(--jh-navy-900); display: block; margin-bottom: 8px; }
.jh-select {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--jh-border); border-radius: var(--jh-radius-sm);
  font-size: 14px; color: var(--jh-navy-950); background: var(--jh-white); appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; cursor: pointer; transition: border-color 0.15s;
}
.jh-select:focus { outline: none; border-color: var(--jh-blue-500); box-shadow: 0 0 0 3px var(--jh-blue-50); }

.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-card {
  flex: 1; min-width: 92px; border: 1px solid var(--jh-border-strong); border-radius: var(--jh-radius);
  padding: 12px 8px; cursor: pointer; transition: 0.15s; text-align: center;
}
.radio-card:hover { border-color: var(--jh-blue-500); }
.radio-card.sel { border-color: var(--jh-blue-600); background: var(--jh-blue-50); box-shadow: 0 0 0 3px var(--jh-blue-50); }
.radio-card .rt { font-weight: 600; font-size: 13.5px; color: var(--jh-navy-950); }
.radio-card .rd { font-size: 11.5px; color: var(--jh-text-muted); margin-top: 3px; }

.salary-result { background: linear-gradient(155deg, var(--jh-blue-50), var(--jh-white) 60%); display: none; }
.salary-result.visible { display: block; }
.salary-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 60px 30px; color: var(--jh-text-muted); }
.salary-placeholder svg { width: 46px; height: 46px; color: var(--jh-text-faint); margin-bottom: 14px; }
.sr-label2 { font-size: 12.5px; font-weight: 600; color: var(--jh-text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.sr-range2 {
  display: flex; align-items: baseline; gap: 10px; margin-top: 10px; font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: clamp(28px, 4vw, 40px); color: var(--jh-navy-950); letter-spacing: -0.02em; flex-wrap: wrap;
}
.sr-dash2 { color: var(--jh-text-faint); font-weight: 400; }
.sr-median2 { font-size: 14px; color: var(--jh-text-muted); margin-top: 6px; }
.sr-median2 b { color: var(--jh-blue-700); }
.sr-track2 { position: relative; height: 8px; border-radius: 999px; background: var(--jh-surface-2); margin: 24px 0 8px; }
.sr-fill2 { position: absolute; left: 0; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--jh-blue-500), var(--jh-blue-600)); width: 100%; }
.sr-dot2 { position: absolute; top: 50%; transform: translate(-50%, -50%); width: 16px; height: 16px; border-radius: 50%; background: var(--jh-white); border: 3px solid var(--jh-blue-600); box-shadow: var(--jh-shadow-sm); left: 50%; }
.sr-scale2 { display: flex; justify-content: space-between; font-size: 11px; color: var(--jh-text-faint); font-family: "IBM Plex Mono", monospace; }
.sr-note2 { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--jh-border); }
.srn-t2 { font-weight: 700; font-size: 13.5px; color: var(--jh-navy-950); margin-bottom: 6px; }
.sr-note2 p { font-size: 13px; color: var(--jh-text-muted); line-height: 1.55; }
.tool-link {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600;
  color: var(--jh-blue-700); text-decoration: none; margin-top: 18px;
}
.tool-link:hover { gap: 9px; color: var(--jh-blue-700); }
.tool-link svg { width: 16px; height: 16px; }

@media (max-width: 900px) {
  .salary-layout { grid-template-columns: 1fr; }
  .radio-row { flex-wrap: wrap; }
}

/* ============================ RESUME GENERATOR ============================ */
.resume-layout { display: grid; grid-template-columns: 1fr 0.85fr; gap: 24px; align-items: start; }

.tmpl-row { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.tmpl {
  flex: 1; min-width: 110px; border: 1px solid var(--jh-border-strong); border-radius: var(--jh-radius);
  padding: 12px; background: var(--jh-white); cursor: pointer; transition: 0.15s; font-size: 13px; font-weight: 600;
  color: var(--jh-text-muted); display: flex; flex-direction: column; gap: 10px; align-items: center;
}
.tmpl:hover { border-color: var(--jh-blue-500); }
.tmpl.sel { border-color: var(--jh-blue-600); background: var(--jh-blue-50); color: var(--jh-blue-700); box-shadow: 0 0 0 3px var(--jh-blue-50); }
.tmpl-prev { width: 100%; height: 74px; border-radius: 8px; background: var(--jh-surface); border: 1px solid var(--jh-border); padding: 9px; display: flex; flex-direction: column; gap: 5px; overflow: hidden; }
.tmpl-prev i { height: 5px; border-radius: 3px; background: var(--jh-border-strong); display: block; }
.tmpl-prev i.tp-accent { width: 40%; background: var(--jh-blue-500); }
.tmpl-prev i.s { width: 80%; opacity: 0.6; }
.tmpl-prev.modern { flex-direction: row; }
.tmpl-prev.modern i.tp-side { width: 26%; height: 100%; background: var(--jh-blue-600); flex-shrink: 0; }
.tmpl-prev.bold i.tp-head { height: 20px; background: var(--jh-navy-950); width: 100%; }

.incl-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.incl { display: flex; align-items: center; justify-content: space-between; padding: 13px 15px; border: 1px solid var(--jh-border); border-radius: var(--jh-radius); cursor: pointer; transition: 0.15s; }
.incl:hover { border-color: var(--jh-border-strong); }
.incl span.incl-txt { display: flex; flex-direction: column; }
.incl b { font-size: 14px; color: var(--jh-navy-950); font-weight: 600; }
.incl small { font-size: 12px; color: var(--jh-text-faint); margin-top: 2px; }
.incl input { width: 18px; height: 18px; accent-color: var(--jh-blue-600); flex-shrink: 0; margin-left: 12px; }

.tailor-field { margin-top: 16px; }
.tailor-field input {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--jh-border); border-radius: var(--jh-radius-sm);
  font-size: 14px; font-family: inherit; outline: none;
}
.tailor-field input:focus { border-color: var(--jh-blue-500); box-shadow: 0 0 0 3px var(--jh-blue-50); }

.resume-preview-wrap { position: sticky; top: 20px; }
.resume-preview {
  background: var(--jh-white); border: 1px solid var(--jh-border); border-radius: var(--jh-radius);
  box-shadow: var(--jh-shadow-md); padding: 26px; font-size: 11px; color: var(--jh-text); overflow: hidden; min-height: 420px;
}
.rp-head { border-bottom: 2px solid var(--jh-navy-950); padding-bottom: 12px; }
.resume-preview[data-tmpl="modern"] .rp-head { border-bottom-color: var(--jh-blue-600); }
.resume-preview[data-tmpl="bold"] .rp-head { background: var(--jh-navy-950); color: #fff; margin: -26px -26px 0; padding: 22px 26px; border: none; }
.resume-preview[data-tmpl="bold"] .rp-title, .resume-preview[data-tmpl="bold"] .rp-contact { color: oklch(0.85 0.02 262); }
.rp-name { font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 20px; color: inherit; letter-spacing: -0.02em; }
.rp-title { font-size: 12px; color: var(--jh-blue-700); font-weight: 600; margin-top: 2px; }
.rp-contact { font-size: 10px; color: var(--jh-text-faint); margin-top: 6px; }
.rp-sec { margin-top: 16px; }
.rp-lbl { font-family: "IBM Plex Mono", monospace; font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--jh-blue-600); font-weight: 500; margin-bottom: 6px; }
.rp-sec p { line-height: 1.5; color: var(--jh-text-muted); }
.rp-job { margin-bottom: 10px; }
.rp-job-t { font-weight: 700; font-size: 11.5px; color: var(--jh-navy-950); }
.rp-job-d { font-size: 9.5px; color: var(--jh-text-faint); margin: 1px 0 3px; }
.rp-job-desc { font-size: 10px; color: var(--jh-text-muted); line-height: 1.4; }
.rp-skills { display: flex; flex-wrap: wrap; gap: 5px; }
.rp-skills span { font-size: 9.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--jh-blue-50); color: var(--jh-blue-700); }
.resume-badge { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: oklch(0.45 0.13 155); margin-top: 14px; }
.resume-badge svg { width: 15px; height: 15px; }
.resume-empty { text-align: center; color: var(--jh-text-faint); font-size: 12.5px; padding: 40px 10px; }

@media (max-width: 980px) {
  .resume-layout { grid-template-columns: 1fr; }
  .resume-preview-wrap { position: static; }
}

/* ============================ CHROME EXTENSION ============================ */
.ext-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 38px; align-items: center; background: linear-gradient(150deg, var(--jh-blue-50), var(--jh-white) 65%); overflow: hidden; }
.ext-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: oklch(0.5 0.1 70); background: var(--jh-amber-100); padding: 6px 13px; border-radius: 999px; }
.ext-pill.live { color: oklch(0.42 0.13 155); background: var(--jh-green-50); }
.ext-pill .lp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--jh-green-500); box-shadow: 0 0 0 3px oklch(0.70 0.15 155 / 0.2); }
.ext-cta-row { display: flex; align-items: center; gap: 18px; margin-top: 22px; flex-wrap: wrap; }
.ext-rating { display: flex; flex-direction: column; gap: 1px; }
.ext-rating .stars { color: var(--jh-amber-500); font-size: 14px; letter-spacing: 1px; }
.ext-rating .rc { font-size: 12px; color: var(--jh-text-faint); font-weight: 600; }
.ext-hero-body h2 { font-family: "Bricolage Grotesque", sans-serif; font-size: 30px; margin-top: 16px; color: var(--jh-navy-950); letter-spacing: -0.02em; }
.ext-hero-body p { color: var(--jh-text-muted); font-size: 15px; margin-top: 14px; line-height: 1.55; max-width: 460px; }
.ext-hero-visual { display: flex; justify-content: center; }
.ext-browser { width: 100%; max-width: 360px; background: var(--jh-white); border: 1px solid var(--jh-border-strong); border-radius: 16px; box-shadow: var(--jh-shadow-lg); overflow: hidden; position: relative; }
.ext-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: var(--jh-surface); border-bottom: 1px solid var(--jh-border); }
.ext-bar .d { width: 9px; height: 9px; border-radius: 50%; background: var(--jh-border-strong); }
.ext-url { flex: 1; margin-left: 8px; font-size: 11px; font-family: "IBM Plex Mono", monospace; color: var(--jh-text-faint); background: var(--jh-white); border: 1px solid var(--jh-border); border-radius: 7px; padding: 5px 10px; }
.ext-puzzle { width: 26px; height: 26px; border-radius: 6px; background: var(--jh-blue-50); display: grid; place-items: center; color: var(--jh-blue-600); }
.ext-puzzle svg { width: 15px; height: 15px; }
.ext-pop { margin: 16px; border: 1px solid var(--jh-border); border-radius: 12px; box-shadow: var(--jh-shadow-md); padding: 12px; }
.ext-pop-head { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--jh-border); }
.ext-pop-head svg { width: 22px; height: 22px; }
.ext-pop-head b { font-family: "Bricolage Grotesque", sans-serif; font-size: 14px; color: var(--jh-navy-950); }
.ext-live { margin-left: auto; font-size: 10px; font-weight: 700; color: #fff; background: var(--jh-green-500); padding: 3px 8px; border-radius: 999px; font-family: "IBM Plex Mono", monospace; }
.ext-pop-job { display: flex; align-items: center; gap: 10px; padding: 10px 2px 2px; }
.ext-pop-job .match-logo { width: 34px; height: 34px; font-size: 13px; border-radius: 9px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; flex-shrink: 0; }
.epj-r { font-size: 12.5px; font-weight: 600; color: var(--jh-navy-950); }
.epj-c { font-size: 11px; color: var(--jh-text-muted); margin-top: 1px; }
.ext-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.ext-feat { background: var(--jh-white); border: 1px solid var(--jh-border); border-radius: var(--jh-radius-lg); padding: 24px; box-shadow: var(--jh-shadow-sm); }
.ext-feat .ef-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 14px; }
.ext-feat .ef-ico svg { width: 22px; height: 22px; }
.ext-feat h3 { font-family: "Bricolage Grotesque", sans-serif; font-size: 17px; color: var(--jh-navy-950); }
.ext-feat p { font-size: 13.5px; color: var(--jh-text-muted); margin-top: 7px; line-height: 1.5; }

@media (max-width: 900px) {
  .ext-hero { grid-template-columns: 1fr; padding: 24px; }
  .ext-feats { grid-template-columns: 1fr; }
}

/* ============================ FIND REFERRALS (Phase 5) ============================ */
.hi-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.hi-row h2 { font-family: "Bricolage Grotesque", sans-serif; font-size: 28px; font-weight: 700; color: var(--jh-navy-950); letter-spacing: -0.02em; }
.hi-row .sub { color: var(--jh-text-muted); font-size: 14px; margin-top: 6px; }

.fh-hero { text-align: center; max-width: 620px; margin: 0 auto 8px; }
.fh-hero .k {
  font-family: "IBM Plex Mono", monospace; font-size: 11.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--jh-blue-600); font-weight: 500; display: block;
}
.fh-hero h2 { font-family: "Bricolage Grotesque", sans-serif; font-size: 30px; font-weight: 700; color: var(--jh-navy-950); margin-top: 14px; letter-spacing: -0.02em; }
.fh-hero p { color: var(--jh-text-muted); font-size: 15px; margin-top: 12px; line-height: 1.55; }

.provider-banner {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--jh-radius-lg);
  background: linear-gradient(120deg, var(--jh-blue-50), var(--jh-white)); border: 1px solid var(--jh-border);
  margin: 26px 0; flex-wrap: wrap;
}
.provider-banner .pb-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--jh-blue-600); display: grid; place-items: center; flex-shrink: 0; color: #fff; font-size: 18px; }
.provider-banner .pb-t { font-weight: 700; font-size: 14.5px; color: var(--jh-navy-950); }
.provider-banner .pb-u { font-size: 12.5px; color: var(--jh-blue-700); font-family: "IBM Plex Mono", monospace; margin-top: 1px; word-break: break-all; }
.provider-banner .pb-balance { margin-top: 8px; font-size: 12.5px; color: oklch(0.42 0.13 155); }
.provider-banner .pb-balance b { font-weight: 700; }
.provider-banner .pb-actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }

.filter-bar {
  display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 12px; padding: 18px;
  background: var(--jh-white); border: 1px solid var(--jh-border); border-radius: var(--jh-radius-lg);
  box-shadow: var(--jh-shadow-sm); align-items: end; margin-bottom: 26px;
}
.filter-bar .field label {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--jh-text-faint);
  font-weight: 600; display: block; margin-bottom: 6px;
}
.filter-bar .field select, .filter-bar .field input { padding: 10px 12px; font-size: 13.5px; }
.filter-bar .btn { height: 39px; white-space: nowrap; }

.provider-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.provider-card {
  background: var(--jh-white); border: 1px solid var(--jh-border); border-radius: var(--jh-radius-lg);
  overflow: hidden; transition: 0.18s; box-shadow: var(--jh-shadow-sm); display: flex; flex-direction: column;
}
.provider-card:hover { transform: translateY(-3px); box-shadow: var(--jh-shadow-md); border-color: var(--jh-border-strong); }
.pc-top { padding: 18px; display: flex; gap: 13px; }
.pc-av {
  width: 52px; height: 52px; border-radius: 13px; object-fit: cover; flex-shrink: 0; overflow: hidden;
  display: grid; place-items: center; color: #fff; font-weight: 700; font-family: "Bricolage Grotesque", sans-serif; font-size: 19px;
}
.pc-av img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.pc-co { font-weight: 700; font-size: 15px; color: var(--jh-navy-950); line-height: 1.25; }
.pc-role { font-size: 13px; color: var(--jh-text-muted); margin-top: 2px; }
.pc-person { font-size: 12.5px; color: var(--jh-text-faint); margin-top: 6px; display: flex; align-items: center; gap: 5px; }
.pc-tag { display: inline-block; font-size: 11px; font-weight: 600; color: var(--jh-blue-700); background: var(--jh-blue-50); padding: 3px 9px; border-radius: 999px; margin-top: 8px; }
.pc-meta { padding: 0 18px 14px; display: flex; flex-direction: column; gap: 8px; border-bottom: 1px solid var(--jh-border); }
.pc-meta .m { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--jh-text-muted); }
.pc-foot { padding: 16px 18px; margin-top: auto; }
.pc-btn { width: 100%; }
.pc-free { text-align: center; font-size: 12px; font-weight: 600; color: oklch(0.45 0.13 155); margin-top: 10px; }
.pc-locked { text-align: center; font-size: 12px; font-weight: 700; color: oklch(0.5 0.1 70); background: var(--jh-amber-100); border-radius: 999px; padding: 5px 10px; margin-bottom: 10px; }
.pc-own { text-align: center; font-size: 12px; color: var(--jh-text-muted); padding: 8px; }
.pc-own a { color: var(--jh-blue-700); font-weight: 600; }
.provider-empty { grid-column: 1 / -1; }

/* Provider notes + offerings (ported from referral-match.php so paid providers
   show what they actually offer). */
.pc-notes {
  margin: 0 18px 14px; padding: 12px 14px; background: var(--jh-surface-2); border-radius: var(--jh-radius);
  font-size: 13px; line-height: 1.5; color: var(--jh-text-muted); font-style: italic;
}
.pc-notes i { color: var(--jh-text-faint); margin-right: 5px; }
.offerings-block { margin: 0 18px 14px; padding: 12px 14px; border: 1px solid var(--jh-border); border-radius: var(--jh-radius); }
.offerings-heading {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-size: 12.5px; font-weight: 700; color: var(--jh-navy-900); margin-bottom: 10px;
}
.offerings-heading i { color: oklch(0.55 0.16 25); }
.offerings-count { font-size: 11.5px; font-weight: 600; color: var(--jh-text-muted); }
.offering-item { display: flex; gap: 9px; align-items: flex-start; padding: 6px 0; }
.offering-item-icon { margin-top: 2px; font-size: 12px; }
.offering-item-icon.ref { color: var(--jh-blue-700); }
.offering-item-icon.svc { color: oklch(0.55 0.13 70); }
.offering-item-title { font-size: 13px; font-weight: 600; color: var(--jh-navy-900); display: block; }
.offering-detail-text { font-size: 12px; color: var(--jh-text-muted); display: block; margin-top: 1px; }
.offerings-toggle {
  margin-top: 6px; background: none; border: none; cursor: pointer; padding: 4px 0;
  display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--jh-blue-700);
}
.offerings-toggle-chev { transition: transform 0.18s; font-size: 10px; }

@media (max-width: 1080px) {
  .provider-grid { grid-template-columns: 1fr 1fr; }
  .filter-bar { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .provider-grid { grid-template-columns: 1fr; }
  .filter-bar { grid-template-columns: 1fr; }
}

/* ============================ RECOMMENDED JOBS (Phase 5) ============================ */
.job-filter-chips { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.jchip {
  font-size: 13.5px; font-weight: 600; color: var(--jh-text-muted); padding: 8px 15px; border-radius: 999px;
  border: 1px solid var(--jh-border); background: var(--jh-white); transition: 0.15s; white-space: nowrap; cursor: pointer;
}
.jchip:hover { border-color: var(--jh-border-strong); color: var(--jh-navy-900); }
.jchip.active { background: var(--jh-navy-950); color: #fff; border-color: var(--jh-navy-950); }

.rec-list { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.rec-card {
  display: grid; grid-template-columns: 46px 1.7fr 1fr auto; gap: 16px; align-items: center;
  background: var(--jh-white); border: 1px solid var(--jh-border); border-radius: var(--jh-radius-lg);
  padding: 18px 20px; box-shadow: var(--jh-shadow-sm); transition: 0.16s;
}
.rec-card:hover { border-color: var(--jh-border-strong); box-shadow: var(--jh-shadow-md); }
.rec-logo {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  color: #fff; font-weight: 700; font-family: "Bricolage Grotesque", sans-serif; font-size: 16px; flex-shrink: 0; overflow: hidden;
}
.rec-logo img { width: 100%; height: 100%; object-fit: cover; }
.rec-main { min-width: 0; }
.rec-role { font-family: "Bricolage Grotesque", sans-serif; font-weight: 600; font-size: 16.5px; color: var(--jh-navy-950); }
.rec-co { font-size: 13.5px; color: var(--jh-text-muted); margin-top: 2px; }
.rec-tags { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.rec-tag { font-size: 11.5px; font-weight: 600; color: var(--jh-text-muted); background: var(--jh-surface-2); padding: 4px 10px; border-radius: 999px; }
.rec-right { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.rec-sal { font-size: 13.5px; font-weight: 600; color: var(--jh-navy-900); }
.rec-posted { font-size: 12px; color: var(--jh-text-faint); }
.rec-actions { display: flex; align-items: center; gap: 10px; }
.rec-icon-btn {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--jh-border-strong); background: var(--jh-white);
  display: grid; place-items: center; color: var(--jh-text-muted); cursor: pointer; transition: 0.15s; flex-shrink: 0;
}
.rec-icon-btn:hover { border-color: var(--jh-blue-500); color: var(--jh-blue-700); }
.rec-icon-btn.saved { color: var(--jh-amber-500); border-color: var(--jh-amber-500); background: var(--jh-amber-100); }
.rec-view-btn {
  font-size: 13px; font-weight: 600; color: #fff; background: var(--jh-blue-600); border: none; border-radius: 10px;
  padding: 9px 16px; text-decoration: none; white-space: nowrap;
}
.rec-view-btn:hover { color: #fff; background: var(--jh-blue-700); }

@media (max-width: 680px) {
  .rec-card { grid-template-columns: 42px 1fr; row-gap: 12px; padding: 16px; }
  .rec-right { flex-direction: row; align-items: center; gap: 10px; grid-column: 2 / 3; flex-wrap: wrap; }
  .rec-actions { grid-column: 1 / -1; justify-content: space-between; }
}
