/* Job review rules: reviewer bar, marked changes, employer buttons and windows. */

/* marked changes */
.sc-ins { background: #bbf7d0; color: #14532d; text-decoration: none; border-radius: 3px; padding: 0 2px; }
.sc-del { background: #fecaca; color: #7f1d1d; text-decoration: line-through; border-radius: 3px; padding: 0 2px; }
.sc-diff-body p { margin: 0 0 12px; }

/* the reviewer's card (under the hero of a job page that waits for a decision) */
.sc-rv { max-width: 1280px; margin: 28px auto 0; padding: 0 clamp(16px, 4vw, 48px); box-sizing: border-box; }
.sc-rv *, .sc-rv *::before, .sc-rv *::after { box-sizing: border-box; }
.sc-rv-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; color: #0f172a; overflow: hidden; }
.sc-rv-head { display: flex; align-items: center; gap: 12px; padding: 16px 24px; border-bottom: 1px solid #eef2f6; }
.sc-rv-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #94a3b8; }
.sc-rv-dot.is-wait { background: #f59e0b; box-shadow: 0 0 0 4px rgba(245, 158, 11, .18); }
.sc-rv-headtxt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; min-width: 0; }
.sc-rv-headtxt strong { font-size: 16px; font-weight: 800; }
.sc-rv-headtxt span { color: #475569; font-size: 14px; }
.sc-rv-sec { padding: 20px 24px; }
.sc-rv-sec + .sc-rv-sec { border-top: 1px solid #eef2f6; }
.sc-rv-h { margin: 0 0 12px; font-size: 15px; font-weight: 800; color: #0f172a; }
.sc-rv-muted { margin: 0; color: #64748b; font-size: 14px; line-height: 1.55; }
.sc-rv-legend { margin-top: 12px; }
.sc-rv-list { display: flex; flex-direction: column; margin: 0; }
.sc-rv-row { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 4px 16px; padding: 10px 0; border-top: 1px solid #f1f5f9; }
.sc-rv-row:first-child { border-top: 0; padding-top: 0; }
.sc-rv-row dt { margin: 0; color: #475569; font-size: 14px; font-weight: 600; }
.sc-rv-row dd { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; font-size: 14px; }
.sc-rv-arrow { color: #94a3b8; }
.sc-rv .sc-ins, .sc-rv .sc-del { padding: 2px 10px; border-radius: 8px; line-height: 1.5; }
.sc-rv-label { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 700; }
.sc-rv-label span { color: #64748b; font-weight: 500; }
.sc-rv-note { display: block; width: 100%; min-height: 84px; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 14px; background: #fff; color: #0f172a; font: inherit; font-size: 15px; line-height: 1.5; resize: vertical; }
.sc-rv-note:focus { outline: none; border-color: #0f172a; box-shadow: 0 0 0 3px rgba(15, 23, 42, .1); }
.sc-rv-msg { margin: 10px 0 0; font-size: 14px; font-weight: 600; }
.sc-rv-msg.is-bad { color: #b91c1c; }
.sc-rv-msg.is-ok { color: #15803d; }
.sc-rv-btns { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 14px; }
.sc-rv-b { min-height: 46px; padding: 0 24px; border: 1px solid #cbd5e1; border-radius: 999px; background: #fff; color: #0f172a; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.sc-rv-b:hover { background: #f1f5f9; }
.sc-rv-b:disabled { opacity: .5; cursor: default; }
.sc-rv-b.is-ok { background: #15803d; border-color: #15803d; color: #fff; }
.sc-rv-b.is-ok:hover { background: #166534; border-color: #166534; }
.sc-rv-b.is-no { color: #b91c1c; border-color: #fecaca; }
.sc-rv-b.is-no:hover { background: #fef2f2; }
.sc-diff-legend { display: none; }
@media (max-width: 640px) {
	.sc-rv { margin-top: 16px; }
	.sc-rv-head, .sc-rv-sec { padding-left: 16px; padding-right: 16px; }
	.sc-rv-row { grid-template-columns: minmax(0, 1fr); }
	.sc-rv-btns { flex-direction: column-reverse; }
	.sc-rv-b { width: 100%; }
}
/* employer: buttons, bars, window, toast */
.scjr-link { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid #cbd5e1; border-radius: 999px; background: #fff; color: #0f172a; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.scjr-link.is-danger { color: #b91c1c; border-color: #fecaca; }
.scjr-link:hover { background: #f1f5f9; }
.scjr-locked { display: inline-flex; align-items: center; min-height: 36px; padding: 0 10px; color: #64748b; font-size: 12.5px; }
.scjr-fillbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; padding: 14px 18px; border: 1px solid #86efac; border-radius: 14px; background: #f0fdf4; color: #14532d; font-weight: 600; }
.scjr-note { margin: 0 0 20px; padding: 14px 18px; border: 1px solid #fcd34d; border-radius: 14px; background: #fffbeb; color: #78350f; }
.scjr-note p { margin: 6px 0 0; white-space: pre-line; }
.scjr-back { position: fixed; inset: 0; z-index: 100002; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(15, 23, 42, .5); }
.scjr-box { width: 100%; max-width: 440px; box-sizing: border-box; padding: 20px; border-radius: 18px; background: #fff; color: #0f172a; box-shadow: 0 24px 60px -20px rgba(15, 23, 42, .5); }
.scjr-q { margin: 0 0 12px; font-size: 16px; font-weight: 700; line-height: 1.4; }
.scjr-ta { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #94a3b8; border-radius: 12px; font: inherit; font-size: 15px; }
.scjr-msg { margin: 8px 0 0; color: #b91c1c; font-size: 13px; }
.scjr-row { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.scjr-btn { min-height: 44px; padding: 0 20px; border: 1px solid #94a3b8; border-radius: 999px; background: #fff; color: #0f172a; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.scjr-btn.scjr-yes { background: #15803d; border-color: #15803d; color: #fff; }
.scjr-btn.scjr-yes.is-danger { background: #dc2626; border-color: #dc2626; }
.scjr-btn:disabled { opacity: .5; }
.scjr-toast { position: fixed; left: 50%; bottom: 24px; z-index: 100003; max-width: calc(100vw - 32px); transform: translateX(-50%); padding: 12px 18px; border-radius: 14px; background: #0f172a; color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 16px 40px -12px rgba(15, 23, 42, .5); }
@media (max-width: 480px) { .scjr-row .scjr-btn { flex: 1 1 100%; } }

/* Hub: extra small buttons and the hired bar */
.hb-job-side .scjr-link, .hb-ov-act .scjr-link { white-space: nowrap; min-height: 44px; padding: 0 18px; font-size: 14px; }
.hb-fillbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0 0; padding: 14px 16px; border: 1px solid #86efac; border-radius: 14px; background: #f0fdf4; color: #14532d; font-weight: 600; }
.hb-editleft { margin: 8px 0 0; color: #64748b; font-size: 13px; }
.hb-tag-filled { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: #e2e8f0; color: #334155; font-size: 12px; font-weight: 700; }

/* reviewer: changed facts in the job overview list */
.mcx-ov-tx .sc-ins, .mcx-ov-tx .sc-del { align-self: flex-start; padding: 2px 10px; border-radius: 8px; font-size: 14px; line-height: 1.5; }
.mcx-ov-tx .sc-del { margin-top: 4px; font-size: 13px; }
.sc-rv-none { color: #94a3b8; font-size: 14px; }
