/* ===== Remote Roles: job quick preview ===== */
.rr-pv-card { position: relative; }
.rr-pv-open-btn {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px;
  border-radius: 999px; font: 600 12.5px/1 "Inter", system-ui, sans-serif; cursor: pointer;
  background: #ffffff; color: #13213f; border: 1.5px solid #9dbce6;
  box-shadow: 0 4px 12px -6px rgba(15,23,42,.35); transition: transform .15s, background .15s, border-color .15s;
}
.rr-pv-open-btn:hover { transform: translateY(-1px); border-color: #17b3a3; }
.rr-pv-open-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
html[data-theme="dark"] .rr-pv-open-btn { background: #13213f; color: #ffffff; border-color: #17b3a3; box-shadow: 0 0 0 4px rgba(23,179,163,.12); }
html[data-theme="dark"] .rr-pv-open-btn:hover { background: #172a50; }

/* Panel */
.rr-pv[hidden] { display: none; }
.rr-pv { position: fixed; inset: 0; z-index: 9999; }
.rr-pv-scrim { position: absolute; inset: 0; background: rgba(4,9,20,.55); opacity: 0; transition: opacity .2s; backdrop-filter: blur(2px); }
.rr-pv-sheet {
  position: absolute; top: 0; right: 0; height: 100%; width: min(520px, 100%);
  background: #ffffff; color: #0f172a; box-shadow: -20px 0 60px -20px rgba(2,8,23,.5);
  transform: translateX(100%); transition: transform .22s cubic-bezier(.2,.7,.2,1);
  display: flex; flex-direction: column;
}
html[data-theme="dark"] .rr-pv-sheet { background: #0c1426; color: #e6ecf6; border-left: 1px solid #1e2a44; }
.rr-pv.on .rr-pv-scrim { opacity: 1; }
.rr-pv.on .rr-pv-sheet { transform: none; }
html.rr-pv-open { overflow: hidden; }

.rr-pv-top { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid #e5eaf2; }
html[data-theme="dark"] .rr-pv-top { border-color: #1e2a44; }
.rr-pv-kicker { display: inline-flex; align-items: center; gap: 8px; font: 700 11.5px/1 "Inter", system-ui; letter-spacing: .08em; text-transform: uppercase; color: #17b3a3; }
.rr-pv-kicker svg, .rr-pv-x svg, .rr-pv-lock-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rr-pv-x { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; border: 1px solid #d6e0ee; background: transparent; color: inherit; cursor: pointer; }
html[data-theme="dark"] .rr-pv-x { border-color: #2a3858; }
.rr-pv-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 22px 22px 28px; display: flex; flex-direction: column; gap: 18px; }
.rr-pv-body > * { flex: 0 0 auto; }
.rr-pv-facts { height: auto !important; min-height: max-content; }

.rr-pv-badges, .rr-pv-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.rr-pv-b { font: 600 11.5px/1 "Inter", system-ui; padding: 6px 9px; border-radius: 999px; background: #eef2f8; color: #334155; }
.rr-pv-b.lock { background: #fff1e6; color: #c2580c; }
.rr-pv-b.ok { background: #e7f8f5; color: #0f8a7e; }
html[data-theme="dark"] .rr-pv-b { background: #16213a; color: #c9d3e4; }
html[data-theme="dark"] .rr-pv-b.lock { background: rgba(255,138,42,.14); color: #ffb27a; }
html[data-theme="dark"] .rr-pv-b.ok { background: rgba(23,179,163,.15); color: #5fd6c8; }
.rr-pv-title { margin: 12px 0 4px; font: 800 22px/1.2 "Plus Jakarta Sans", "Inter", system-ui; letter-spacing: -.02em; color: inherit !important; }
.rr-pv-co { color: #64748b; font-size: 14px; margin-bottom: 12px; }
html[data-theme="dark"] .rr-pv-co { color: #9aa6bc; }
.rr-pv-chip { font: 500 12.5px/1 "Inter", system-ui; padding: 7px 10px; border-radius: 8px; background: #f1f5fb; color: #334155; border: 1px solid #e2e8f0; }
html[data-theme="dark"] .rr-pv-chip { background: #131d33; color: #c9d3e4; border-color: #22304d; }

.rr-pv-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #e5eaf2; border: 1px solid #e5eaf2; border-radius: 14px; overflow: hidden; }
html[data-theme="dark"] .rr-pv-facts { background: #1e2a44; border-color: #1e2a44; }
.rr-pv-fact { background: #ffffff; padding: 12px 14px; }
html[data-theme="dark"] .rr-pv-fact { background: #0f182c; }
.rr-pv-fact dt { font: 600 11px/1 "Inter", system-ui; letter-spacing: .06em; text-transform: uppercase; color: #64748b; margin-bottom: 6px; }
html[data-theme="dark"] .rr-pv-fact dt { color: #8e9ab0; }
.rr-pv-fact dd { margin: 0; font: 600 14px/1.35 "Inter", system-ui; }

.rr-pv-sec h4, .rr-pv-locked h4 { margin: 0 0 8px; font: 700 15px/1.3 "Plus Jakarta Sans", "Inter", system-ui; color: inherit !important; }
.rr-pv-sec p { margin: 0 0 8px; font-size: 14.5px; line-height: 1.6; color: #334155; }
html[data-theme="dark"] .rr-pv-sec p { color: #c3cbd9; }
.rr-pv-sec ul, .rr-pv-locked ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14.5px; line-height: 1.5; }
html[data-theme="dark"] .rr-pv-sec ul, html[data-theme="dark"] .rr-pv-locked ul { color: #c3cbd9; }
html[data-theme="dark"] .rr-pv-sec li, html[data-theme="dark"] .rr-pv-locked li { background: none !important; border: 0 !important; color: #c3cbd9 !important; }

.rr-pv-locked { display: flex; gap: 14px; padding: 16px; border-radius: 14px; border: 2px solid #ff8a2a; background: #fff8f2; }
html[data-theme="dark"] .rr-pv-locked { background: #13213f; box-shadow: 0 0 0 4px rgba(255,138,42,.12); }
.rr-pv-lock-ic { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: #13213f; color: #ffb27a; }

.rr-pv-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.rr-pv-btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 18px; border-radius: 12px; font: 700 14.5px/1 "Inter", system-ui; text-decoration: none; border: 1.5px solid #cbd5e1; color: inherit; }
html[data-theme="dark"] .rr-pv-btn { border-color: #33456b; color: #e6ecf6; }
.rr-pv-btn.rr-pv-primary { background: #1f6feb; border-color: #1f6feb; color: #ffffff !important; }
.rr-pv-note { margin: 0; font-size: 12.5px; color: #64748b; }
.rr-pv-err { margin: 0; color: #b91c1c; }

.rr-pv-skel { display: grid; gap: 12px; }
.rr-pv-skel i { display: block; height: 14px; border-radius: 6px; background: linear-gradient(90deg, rgba(148,163,184,.15), rgba(148,163,184,.3), rgba(148,163,184,.15)); background-size: 200% 100%; animation: rrpv 1.2s linear infinite; }
.rr-pv-skel i:nth-child(1) { height: 26px; width: 70%; }
.rr-pv-skel i:nth-child(2) { width: 45%; }
.rr-pv-skel i:nth-child(3) { height: 90px; }
@keyframes rrpv { to { background-position: -200% 0; } }

@media (max-width: 560px) {
  .rr-pv-sheet { width: 100%; }
  .rr-pv-open-btn span { display: none; }
  .rr-pv-open-btn { padding: 0 9px; }
}
@media (prefers-reduced-motion: reduce) { .rr-pv-sheet, .rr-pv-scrim { transition: none; } }

/* ===== v2: unlock block + CV nudge ===== */
.rr-pv-sell { flex-direction: column; gap: 10px; padding: 18px; border-radius: 16px; background: #f6f9fe; border: 1px solid #dbe5f3; }
html[data-theme="dark"] .rr-pv-sell { background: #101b33; border-color: #22304d; }
.rr-pv-sell-h { display: flex; flex-direction: column; gap: 4px; margin-bottom: 2px; }
.rr-pv-sell-h b { font: 800 17px/1.2 "Plus Jakarta Sans", "Inter", system-ui; }
.rr-pv-count { font-size: 13.5px; color: #0f8a7e; font-weight: 600; min-height: 1em; }
html[data-theme="dark"] .rr-pv-count { color: #5fd6c8; }
.rr-pv-wide { width: 100%; justify-content: space-between !important; height: 50px !important; }
.rr-pv-price { font: 800 15px/1 "Plus Jakarta Sans", "Inter", system-ui; padding: 7px 10px; border-radius: 8px; background: rgba(255,255,255,.18); }
.rr-pv-btn:not(.rr-pv-primary) .rr-pv-price { background: rgba(23,179,163,.14); color: #0f8a7e; }
html[data-theme="dark"] .rr-pv-btn:not(.rr-pv-primary) .rr-pv-price { color: #5fd6c8; }
.rr-pv-btn.rr-pv-primary.rr-pv-wide { background: #ff8a2a; border-color: #ff8a2a; color: #13213f !important; }
.rr-pv-btn.rr-pv-primary.rr-pv-wide .rr-pv-price { background: #13213f; color: #fff; }
.rr-pv-links { display: flex; gap: 18px; font-size: 13.5px; font-weight: 600; }
.rr-pv-links a { color: #1f6feb; text-decoration: none; }
html[data-theme="dark"] .rr-pv-links a { color: #8fb8ff; }
.rr-pv-pay { margin: 0; font-size: 12.5px; color: #64748b; }
html[data-theme="dark"] .rr-pv-pay { color: #8e9ab0; }
.rr-pv-cv { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 14px; text-decoration: none; color: inherit; border: 1.5px dashed #9dbce6; }
.rr-pv-cv:hover { border-style: solid; }
.rr-pv-cv > span:last-child { display: flex; flex-direction: column; gap: 3px; font-size: 13.5px; }
.rr-pv-cv b { font-size: 14.5px; }
.rr-pv-cv > span:last-child > span { color: #64748b; }
html[data-theme="dark"] .rr-pv-cv > span:last-child > span { color: #9aa6bc; }
.rr-pv-cv-ic { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: #13213f; color: #17b3a3; border: 2px solid #17b3a3; }
.rr-pv-cv-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
