/* SCOPE Careers: dashboard + public career site. Brand: navy #105383, teal #1AB3B8,
   light blue #70C8E7, dark gray #313B46, pale teal #DBEEF0. Font: Gilroy. */
@font-face { font-family: Gilroy; src: url(/fonts/gilroy-regular.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Gilroy; src: url(/fonts/gilroy-medium.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: Gilroy; src: url(/fonts/gilroy-semibold.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: Gilroy; src: url(/fonts/gilroy-bold.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root { --navy:#105383; --teal:#1AB3B8; --sky:#70C8E7; --ink:#313B46; --pale:#DBEEF0; --line:#dfe5ea; --bg:#f5f8fa; --red:#b3261e; }
* { box-sizing: border-box; }
html { font-size: 16px; }
body { margin: 0; font-family: Gilroy, -apple-system, 'Segoe UI', Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.45; }
a { color: var(--navy); }
h1 { font-size: 1.7rem; margin: 0 0 .25rem; color: var(--navy); }
h2 { font-size: 1.15rem; margin: 1.6rem 0 .6rem; color: var(--navy); }
h3 { font-size: 1rem; margin: 0 0 .5rem; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 24px; }
.hint, .sub, .meta, small { color: #5f6b76; font-size: .88rem; }
.strong { font-weight: 600; }
.empty { color: #5f6b76; padding: 18px 4px; }
.nowrap { white-space: nowrap; }

/* top bar */
.topbar { display: flex; align-items: center; gap: 28px; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 24px; position: sticky; top: 0; z-index: 5; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-weight: 600; }
.brand span { border-left: 1px solid var(--line); padding-left: 12px; }
.topbar nav { display: flex; gap: 6px; flex: 1; }
.topbar nav a { text-decoration: none; padding: 8px 12px; border-radius: 8px; color: var(--ink); font-weight: 500; }
.topbar nav a.on, .topbar nav a:hover { background: var(--pale); color: var(--navy); }
.who { display: flex; align-items: center; gap: 10px; font-size: .92rem; }
.who form { margin: 0; }
.pill { background: var(--pale); color: var(--navy); border-radius: 99px; padding: 2px 9px; font-size: .78rem; font-weight: 600; }
.testbar { background: #fff6d8; color: #6b5300; text-align: center; font-size: .85rem; padding: 4px; }

/* buttons & forms */
.btn { display: inline-block; background: var(--teal); color: #0b2b3f; border: 1px solid var(--teal); border-radius: 8px; padding: 9px 16px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.2; }
.btn:hover { filter: brightness(.95); }
.btn.ghost { background: #fff; border-color: var(--line); color: var(--navy); }
.btn.small { padding: 5px 10px; font-size: .85rem; }
.btn.big { padding: 12px 22px; font-size: 1.05rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
button.link { background: none; border: 0; color: var(--navy); text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }
input[type=text], input[type=url], input[type=email], input[type=tel], input[type=search], input[type=date], input[type=file], select, textarea {
  font: inherit; color: var(--ink); border: 1px solid #c9d3db; border-radius: 8px; padding: 8px 10px; background: #fff; width: 100%; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--sky); border-color: var(--sky); }
.field { display: block; margin-bottom: 12px; }
.field > span { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.field small { display: block; margin-top: 4px; }
.check { display: flex; align-items: center; gap: 8px; margin: 6px 0; font-size: .95rem; }
.check input { width: auto; }
fieldset.checks { border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; align-items: end; }
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 20px; align-items: start; }
.actions { display: flex; gap: 10px; margin-top: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; margin: 14px 0; }
.form.card { max-width: 980px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row input[type=search] { flex: 1; min-width: 220px; }
.row select { width: auto; min-width: 240px; }
.flash { background: #e5f6ef; border: 1px solid #b8e3cf; color: #145c3c; border-radius: 8px; padding: 10px 14px; margin: 0 0 14px; }
.flash.error { background: #fdecea; border-color: #f5c2bd; color: var(--red); }
form.inline { display: inline; margin: 0; }

/* page parts */
.pagehead { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 14px; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 6px 0 16px; }
.kpis div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.kpis b { display: block; font-size: 1.7rem; color: var(--navy); }
.kpis span { color: #5f6b76; font-size: .88rem; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; align-items: center; }
.filters select, .filters input { width: auto; min-width: 170px; }
.filters .grow { flex: 1; min-width: 260px; }
.tablewrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
table.grid { width: 100%; border-collapse: collapse; font-size: .93rem; }
.grid th { text-align: left; font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; color: #5f6b76; background: #fafcfd; padding: 10px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.grid td { padding: 9px 10px; border-bottom: 1px solid #eef2f5; vertical-align: top; }
.grid tr:last-child td { border-bottom: 0; }
.grid td.num { text-align: center; }
.grid td.hot { color: var(--navy); font-weight: 700; background: #eef9fa; }
.grid .zero { color: #b6c0c8; }
.grid select.stage { min-width: 190px; }
.grid textarea.notes { min-width: 220px; font-size: .9rem; }
.grid .saving { outline: 2px solid var(--sky); }
.grid .saved { outline: 2px solid #7fd1a8; }
.status { display: inline-block; font-size: .76rem; font-weight: 700; border-radius: 99px; padding: 2px 9px; vertical-align: middle; background: #eef2f5; color: #46525d; white-space: nowrap; }
.s-open { background: #dff5ea; color: #136b40; }
.s-confidential { background: #ece6fb; color: #4b3592; }
.s-scheduled { background: #e3f0fb; color: var(--navy); }
.s-on_hold { background: #fff2d6; color: #7a5600; }
.s-filled { background: var(--navy); color: #fff; }
.s-not_filled { background: #f1f1f1; color: #6b6b6b; }
.s-expired { background: #fdecea; color: var(--red); }
.jobactions { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-start; margin: 4px 0 16px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 8px 0 14px; }
.tabs a { padding: 9px 14px; text-decoration: none; color: var(--ink); border-bottom: 3px solid transparent; font-weight: 500; }
.tabs a.on { border-color: var(--teal); color: var(--navy); font-weight: 700; }
.addbox #cand-results { margin-top: 10px; }
.result { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #eef2f5; }

/* sign-in */
body.plain { display: grid; place-items: center; min-height: 100vh; }
.center-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 32px; width: min(420px, 92vw); }
.center-card h1 { margin-top: 18px; }

/* public site (matches the current career.scoperecruiting.com) */
body.site { background: #fff; font-family: Helvetica, Arial, sans-serif; color: #2b2f33; }
body.site h1, body.site h2, body.site h3, body.site .btn { font-family: Gilroy, Helvetica, Arial, sans-serif; }
.sitewrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.sitebar { background: #fff; border-bottom: 1px solid #eef2f5; }
.sitebar .sitewrap { display: flex; justify-content: space-between; align-items: center; height: 100px; }
.sitenav { display: flex; align-items: center; gap: 22px; }
.sitenav a { text-decoration: none; color: #2b2f33; font-size: .95rem; }
.sitenav a.on { color: var(--navy); font-weight: 600; }
.sitenav .btn { font-size: .95rem; }
.navtoggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.navtoggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; }
.btn.outline { background: #fff; border: 1.5px solid var(--teal); color: var(--navy); }
.btn.navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn.white { background: #fff; border-color: #fff; color: var(--navy); }
.btn svg { width: 16px; height: 16px; fill: currentColor; vertical-align: -3px; margin-left: 4px; }
.hero { background: var(--teal); padding: 70px 0 70px; color: #fff; }
.hero h1 { color: #fff; font-size: 3.4rem; line-height: 1.1; margin: 0 0 40px; font-weight: 700; }
.searchcard { background: #fff; border-radius: 18px; padding: 34px 40px 40px; color: #2b2f33; }
.searchcard h2 { color: #1d2328; font-size: 1.9rem; margin: 0 0 26px; }
.searchrow { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: end; }
.searchrow .field { margin: 0; }
.searchrow .field > span, .alertform .field > span { font-weight: 400; font-size: .8rem; color: #5f6b76; }
.searchrow input, .searchrow select { background: #f3f5f6; border-color: #c9d3db; padding: 12px 14px; }
.searchrow .btn { padding: 12px 30px; }
.listing { padding-top: 50px; padding-bottom: 60px; }
.listhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; color: #5f6b76; }
.listhead select { width: auto; min-width: 180px; padding: 11px 14px; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.jobcard { position: relative; border: 1px solid #e6ecf0; border-radius: 14px; margin-bottom: 14px; background: #fff; }
.jobcard .tag, .cvcard .tag { position: absolute; top: 0; left: 28px; background: var(--teal); color: #fff; font-size: .72rem; padding: 5px 7px; border-radius: 0 0 4px 4px; }
.jobcard h2 { margin: 0; padding: 30px 22px 10px; border-bottom: 1px solid #e6ecf0; font-size: 1.65rem; }
.jobcard h2 a { color: var(--navy); text-decoration: none; }
.jobcard h2 a:hover { text-decoration: underline; }
.jobcard-body { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 16px 22px 20px; }
.facts div { margin: 6px 0; font-size: .95rem; }
.facts span { color: #6b7680; }
aside .cvcard { position: relative; background: var(--navy); color: #fff; border-radius: 14px; padding: 34px 20px 18px; margin-bottom: 26px; }
.cvcard h3 { color: #fff; font-size: 1.4rem; margin: 6px 0 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.35); }
.cvcard p { font-size: .9rem; margin: 0 0 16px; }
.alertform h3 { color: #1d2328; font-size: 1.4rem; line-height: 1.2; margin: 0 0 14px; }
.alertform .field { margin-bottom: 10px; }
.alertform input[type=text], .alertform input[type=email] { padding: 11px 14px; border-color: var(--teal); }
.alertform input[disabled] { background: #fff; }
.alertform .two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.alertform .check { font-size: .85rem; align-items: flex-start; }
.alertform .check input { margin-top: 3px; }
.alertform .notice { display: block; margin: 8px 0 12px; }
.alertform .soon, .applybox p { color: #6b7680; font-size: .82rem; }
.jobhero { background: var(--navy); color: #fff; padding: 34px 0 40px; }
.jobhero .crumbs { margin: 0 0 8px; font-size: .9rem; color: #c9d8e4; }
.jobhero .crumbs a { color: #e8f2f8; text-decoration: none; }
.jobhero .crumbs a:hover { text-decoration: underline; }
.jobhero .crumbs span { margin: 0 6px; opacity: .7; }
.jobhero h1 { color: #fff; font-size: 2.5rem; line-height: 1.15; margin: 0 0 16px; max-width: 900px; }
.jchips { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-bottom: 22px; }
.jchip { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 6px 13px; font-size: .92rem; }
.jchip svg { width: 16px; height: 16px; fill: currentColor; opacity: .85; }
.chip { font-style: normal; background: rgba(255,255,255,.18); border-radius: 4px; padding: 5px 8px; font-size: .85rem; }
.jobbody { padding-top: 44px; padding-bottom: 50px; }
.jobbody.cols { grid-template-columns: minmax(0, 1fr) 316px; gap: 56px; }
.jobbody article h2 { font-family: Helvetica, Arial, sans-serif; font-size: 2.3rem; color: var(--navy); margin: 0 0 22px; }
.jobbody article h3 { font-family: Helvetica, Arial, sans-serif; font-size: 1.05rem; color: #2b2f33; margin: 18px 0 6px; }
.jobbody article { max-width: 760px; }
.jobbody article p, .jobbody article li { font-size: 1.02rem; line-height: 1.65; color: #2b2f33; }
.jobbody article h3 { font-size: 1.15rem; color: var(--navy); margin: 28px 0 8px; }
.jobbody article ul { padding-left: 22px; }
.jobbody article li { margin: 4px 0; }
.nextsteps { margin-top: 36px; background: #e8f6fb; border-radius: 14px; padding: 20px 24px; }
.nextsteps h3 { margin-top: 0 !important; }
.nextsteps ol { margin: 0; padding-left: 22px; }
.nextsteps li { margin: 8px 0; }
.stickyapply { position: sticky; top: 20px; margin-top: 18px; }
.jobbody article .jobdesc h3 { font-size: 1.3rem; color: var(--navy); margin: 28px 0 8px; }
.jobbody article .jobdesc h4 { font-family: Helvetica, Arial, sans-serif; font-size: 1.05rem; color: #1d2328; margin: 18px 0 4px; }
.jobco { margin-top: 0; }
.sideposts { border: 1px solid #e6ecf0; border-radius: 14px; padding: 18px 20px; background: #fff; margin-top: 18px; }
.sideposts h3 { font-size: 1.05rem; margin: 0 0 6px; color: #1d2328; }
.sidepost { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid #f0f3f5; text-decoration: none; }
.sidepost img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; flex: none; }
.sidepost em { display: block; font-style: normal; font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; color: var(--teal); font-weight: 700; }
.sidepost strong { display: block; color: var(--navy); font-size: .9rem; line-height: 1.3; }
.sidepost:hover strong { text-decoration: underline; }
.sideposts .morelink { display: inline-block; margin-top: 10px; font-size: .88rem; color: var(--navy); }
.applycard { border: 1px solid #e6ecf0; border-radius: 14px; padding: 20px; background: #fff; box-shadow: 0 6px 20px rgba(16,83,131,.08); margin-bottom: 18px; }
.applycard h3 { font-size: 1.1rem; color: var(--navy); margin: 0 0 12px; line-height: 1.3; }
.applyfacts div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid #f0f3f5; font-size: .92rem; }
.applyfacts span { color: #6b7680; }
.applyfacts strong { text-align: right; font-weight: 600; color: #1d2328; }
.btn.wide { display: flex; justify-content: center; width: 100%; margin-top: 14px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 14px; font-size: .85rem; color: #6b7680; }
.share a, .linkbtn { color: var(--navy); text-decoration: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.share a:hover, .linkbtn:hover { text-decoration: underline; }
.share svg { width: 14px; height: 14px; fill: currentColor; }
.similar { border: 1px solid #e6ecf0; border-radius: 14px; padding: 18px 20px; background: #fff; }
.similar h3 { font-size: 1.05rem; margin: 0 0 6px; color: #1d2328; }
.simjob { display: block; padding: 10px 0; border-bottom: 1px solid #f0f3f5; text-decoration: none; }
.simjob strong { display: block; color: var(--navy); font-size: .95rem; line-height: 1.3; }
.simjob span { display: block; color: #6b7680; font-size: .82rem; margin-top: 2px; }
.simjob:hover strong { text-decoration: underline; }
.alertlink { margin-top: 12px; font-size: .88rem; }
.alertlink svg { width: 15px; height: 15px; fill: currentColor; }
.mobileapply { display: none; }
.applybox { margin-top: 34px; border: 1px solid #e6ecf0; border-radius: 14px; padding: 22px; }
.back { margin-top: 30px; }
.btn.backbtn svg { transform: rotate(180deg); margin: 0 6px 0 0; }
.btn.backbtn:hover { background: #eef9fa; filter: none; }
.narrow { max-width: 760px; padding-top: 60px; padding-bottom: 80px; }
.sitefoot { background: #e8f6fb; padding: 40px 0; margin-top: 0; }
.sitefoot .sitewrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.sitefoot .social { flex: 1; display: flex; justify-content: center; gap: 18px; position: relative; }
.sitefoot .social::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px solid var(--teal); opacity: .6; }
.sitefoot .social a { position: relative; width: 42px; height: 42px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; }
.sitefoot .social svg { width: 20px; height: 20px; fill: #fff; }
.footlinks nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footlinks a { color: #1d2328; text-decoration: none; }
.footlinks small { display: block; margin-top: 10px; color: #7b858d; }


/* candidate form (pop-up and /register) */
.alertform p { font-size: .92rem; color: #4a545c; margin: 0 0 14px; }
.cform-dialog { border: 0; border-radius: 16px; padding: 0; width: min(560px, 94vw); max-height: 92vh; box-shadow: 0 20px 60px rgba(16,83,131,.25); }
.cform-dialog::backdrop { background: rgba(29,43,51,.55); }
.cform-dialog .x { position: absolute; top: 10px; right: 14px; border: 0; background: none; font-size: 30px; line-height: 1; color: #5f6b76; cursor: pointer; }
.cform-root, .cform-page { padding: 28px 30px; }
.cform-page { background: #fff; border: 1px solid #e6ecf0; border-radius: 16px; }
.cform-title { color: var(--navy); font-size: 1.5rem; margin: 0 34px 14px 0; line-height: 1.2; }
.cform .field { margin-bottom: 12px; }
.cform .field > span { font-size: .85rem; font-weight: 600; }
.cform input[type=text], .cform input:not([type]), .cform input[type=email], .cform input[type=tel] { padding: 11px 12px; }
.cform input[readonly] { background: #f3f5f6; }
.cform .two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.cform .check { font-size: .92rem; }
.cform .notice, .agree { font-size: .82rem; color: #5f6b76; margin: 8px 0 10px; }
.btn.wide { width: 100%; text-align: center; padding: 13px; }
.cform-error { background: #fdecea; color: var(--red); border-radius: 8px; padding: 9px 12px; margin-bottom: 12px; font-size: .92rem; }
.cform-done { text-align: center; padding: 10px 0; }
.cform-done .tick { width: 54px; height: 54px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 28px; line-height: 54px; margin: 0 auto 12px; }
.cform-done p { margin: 0 0 14px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.tsbox { margin: 6px 0 10px; }
@media (max-width: 600px) {
  .cform-dialog { width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; border-radius: 0; margin: 0; }
  .cform .two { grid-template-columns: 1fr; }
  .cform-root, .cform-page { padding: 22px 18px; }
}

@media (max-width: 900px) {
  .sitewrap { padding: 0 18px; }
  .sitebar .sitewrap { height: 74px; }
  .navtoggle { display: block; }
  .sitenav { display: none; position: absolute; top: 74px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start; padding: 16px 18px; border-bottom: 1px solid #eef2f5; z-index: 9; }
  body.navopen .sitenav { display: flex; }
  .hero { padding: 40px 0; }
  .hero h1 { font-size: 2.3rem; }
  .searchcard { padding: 22px; }
  .searchrow, .cols, .jobbody.cols, .jobhero .sitewrap { grid-template-columns: 1fr; }
  .jobcard-body { flex-direction: column; align-items: flex-start; }
  .jobhero h1 { font-size: 1.9rem; }
  .stickyapply { position: static; }
  .applycard .btn.wide { display: none; }
  .mobileapply { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; padding: 10px 18px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 16px rgba(16,83,131,.15); }
  .mobileapply .btn.wide { margin: 0; }
  body.site:has(.mobileapply) { padding-bottom: 70px; }
  .sitefoot .sitewrap { flex-direction: column; }
  .topbar { flex-wrap: wrap; gap: 10px; }
  .brand span { display: none; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols2, .cols3 { grid-template-columns: 1fr; }
  .wrap { padding: 16px; }
}

/* "Switch to" menu in the dashboard header */
.switcher { position: relative; margin-left: auto; margin-right: 16px; }
.switcher summary { cursor: pointer; list-style: none; font-weight: 600; font-size: .92rem; padding: 7px 12px; border: 1px solid #d5dde3; border-radius: 8px; background: #fff; }
.switcher summary::-webkit-details-marker { display: none; }
.switcher summary::after { content: ' ▾'; }
.switch-menu { position: absolute; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid #d5dde3; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.12); padding: 8px; min-width: 280px; white-space: nowrap; z-index: 50; }
.switch-menu p { margin: 6px 8px 4px; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #6b7a85; }
.switch-menu a { display: block; padding: 8px; border-radius: 6px; color: inherit; text-decoration: none; font-size: .92rem; }
.switch-menu a:hover { background: #eef5f8; }

/* Preferred salary: From / to / per Year-Hour (dashboard and public form) */
.salary-range > span { display: block; }
.salary-range .range { display: flex; gap: 8px 10px; align-items: center; flex-wrap: wrap; }
.salary-range .range label { display: flex; align-items: center; gap: 6px; white-space: nowrap; font-weight: 500; }
.salary-range .range input { width: 104px; }
.salary-range .range select { width: auto; }
.filters input.narrow { min-width: 140px; width: 140px; }

/* ---- Clients, debrief, job pipeline overview ---- */
.s-debrief { background: #fff1e6; color: #a04a00; }
.card.todo { border-color: #f0c29a; background: #fff8f1; display: flex; gap: 8px 14px; flex-wrap: wrap; align-items: center; }
.card.todo a { font-weight: 600; }
.card.highlight { border: 2px solid var(--teal, #2bb3a8); }
.pipeview { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 16px; }
.pipeview .pv { display: flex; flex-direction: column; align-items: center; min-width: 64px; padding: 8px 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: inherit; }
.pipeview a.pv:hover { border-color: var(--navy); }
.pipeview .pv b { font-size: 1.35rem; color: var(--navy); line-height: 1.1; }
.pipeview .pv span { font-size: .75rem; color: #5f6b76; text-transform: uppercase; letter-spacing: .03em; }
.pipeview .pv.zero b { color: #b9c2ca; }
.pipeview .pv.strong { background: #f3f7fa; }
.kpis.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cols4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 14px; }
.radios { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 6px 0; }
.radios label { display: flex; align-items: center; gap: 6px; font-weight: 500; cursor: pointer; }
.radios input { width: auto; }
.debrief h2 .sub, h2 .sub { font-size: .85rem; font-weight: 400; color: #5f6b76; }
.newcontact { margin-top: 8px; gap: 8px; }
.fb { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 10px 0; }
.fb.debrief { border-left: 4px solid var(--navy); }
.fb-head { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.fb-head form { margin-left: auto; }
.fb-facts { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 6px 0; font-size: .92rem; }
.fb p { margin: 6px 0 0; }
.dim { color: #d3d9de; }
.wa { font-weight: 700; }
.wa-yes { color: #1f7a4d; } .wa-maybe { color: #a06a00; } .wa-no { color: #b3261e; }
.addnote { display: flex; gap: 10px; align-items: flex-start; }
.addnote textarea { flex: 1; }
.rowedit summary, .addcontact summary { list-style: none; cursor: pointer; }
.rowedit summary::-webkit-details-marker, .addcontact summary::-webkit-details-marker { display: none; }
.rowedit[open] { min-width: 560px; }
button.link, .link { background: none; border: 0; padding: 0; color: var(--navy); text-decoration: underline; cursor: pointer; font: inherit; }
.link.small { font-size: .82rem; }
.link.danger { color: #b3261e; }
.inline-field select { width: auto; }
@media (max-width: 800px) { .kpis.five, .cols4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rowedit[open] { min-width: 0; } }
.newcontact[hidden] { display: none; }
.card.aisum { border-left: 4px solid #2bb3a8; background: #f6fbfb; }
.card.aisum p { margin: 8px 0 0; line-height: 1.55; }
.card.aisum.off { background: #fff; border-left-color: #c9d2d9; }

/* ---- Resume facts ---- */
.s-offlimits { background: #fde8e7; color: #a3241b; text-decoration: none; margin-left: 6px; }
.morefilters { flex-basis: 100%; }
.morefilters summary { list-style: none; cursor: pointer; margin: 2px 0 6px; display: inline-flex; align-items: center; gap: 6px; }
.morefilters summary .sub { font-weight: 400; opacity: .75; }
.morefilters[open] summary { margin-bottom: 10px; }
.morecount { background: #1AB3B8; color: #fff; border-radius: 999px; font-size: .75rem; font-weight: 700; min-width: 20px; height: 20px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; }
.morefilters summary::-webkit-details-marker { display: none; }
.morefilters .filters { margin-bottom: 0; }
.resumefacts .lead { font-size: 1.02rem; margin: 0 0 12px; }
.resumefacts dl { display: grid; grid-template-columns: 140px 1fr; gap: 6px 14px; margin: 0 0 10px; }
.resumefacts dt { font-weight: 600; color: #5f6b76; }
.resumefacts dd { margin: 0; }
.resumefacts h3 { margin: 16px 0 6px; }
.rjob { margin: 8px 0; }
.rjob ul { margin: 4px 0 0 18px; padding: 0; }
.rjob li { margin: 2px 0; }
.rjob.small { font-size: .92rem; margin: 3px 0; }
.autofill input { padding: 10px; border: 2px dashed #b9c7d1; background: #f7fafc; }
input.autofilled { background: #eefaf6; }
@media (max-width: 800px) { .resumefacts dl { grid-template-columns: 1fr; } }

/* ---- Scores ---- */
.score { display: inline-block; min-width: 34px; text-align: center; font-weight: 800; border-radius: 8px; padding: 3px 7px; font-size: .9rem; }
.sc-screen { background: #dff3e9; color: #155c3a; }
.sc-hold { background: #fff1d6; color: #7a5200; }
.sc-reject { background: #fde3e1; color: #9b231b; }
.sc-none { background: #eef2f5; color: #8a97a1; }
.score.stale { outline: 2px dashed #c6a23a; outline-offset: 1px; }
select.rscore { width: auto; min-width: 62px; font-weight: 700; padding: 5px 6px; }
select.rscore.sc-screen { border-color: #6cc59b; } select.rscore.sc-hold { border-color: #e7b45a; } select.rscore.sc-reject { border-color: #e48a83; }
details.why summary { list-style: none; cursor: pointer; }
details.why summary::-webkit-details-marker { display: none; }
.whybox { position: absolute; z-index: 30; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.12); padding: 10px 12px; width: 340px; margin-top: 6px; font-size: .88rem; white-space: normal; }
.whybox p { margin: 0 0 6px; }
.whybox .plus { color: #155c3a; margin: 2px 0; } .whybox .minus { color: #9b231b; margin: 2px 0; }
.scorebar { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; margin: 0 0 14px; font-size: .9rem; }
.scorebar .warn { color: #7a5200; }
/* Recruiter score dropdown: colored by band (the select itself and each option) */
select.rscore.sc-screen { background: #dff3e9; color: #155c3a; border-color: #6cc59b; }
select.rscore.sc-hold { background: #fff1d6; color: #7a5200; border-color: #e7b45a; }
select.rscore.sc-reject { background: #fde3e1; color: #9b231b; border-color: #e48a83; }
select.rscore option { background: #fff; color: #1d2b33; }
select.rscore option.sc-screen { background: #dff3e9; color: #155c3a; }
select.rscore option.sc-hold { background: #fff1d6; color: #7a5200; }
select.rscore option.sc-reject { background: #fde3e1; color: #9b231b; }
.howscore { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin: 0 0 12px; font-size: .92rem; line-height: 1.7; }
.howscore .score { font-size: .8rem; padding: 1px 6px; }
.howscore ol { margin: 4px 0 0 18px; padding: 0; }
.howscore li { margin: 2px 0; }
.legend { white-space: nowrap; }
.legend .score { margin: 0 2px 0 8px; }
.legend .score:first-child { margin-left: 2px; }
.kpis { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.kpis a.kpilink { display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; text-decoration: none; color: inherit; }
.kpis a.kpilink:hover { border-color: var(--navy); }
.whynote { display: flex; gap: 6px; align-items: center; margin-top: 6px; min-width: 300px; }
.whynote input { flex: 1; padding: 6px 8px; font-size: .88rem; }
.rnote { font-size: .78rem; color: #5f6b76; font-style: italic; max-width: 220px; margin-top: 4px; }
.prose ol, .prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; line-height: 1.5; }
pre.guidelines { white-space: pre-wrap; font-family: inherit; background: #f6f9fb; border-radius: 8px; padding: 10px 12px; margin: 6px 0; }
.card.suggestion ul { padding-left: 18px; }
.howscore ul { margin: 6px 0 0 18px; padding: 0; color: #46525d; }
.howscore ul li { margin: 1px 0; }

/* Screening invites */
.invite { font-size: .8rem; margin-top: 3px; color: var(--muted, #666); white-space: nowrap; }
.invite form.inline { display: inline; margin: 0; }
.invite.queued { color: #1d5fa8; }
.invite.sent { color: #2c7a3f; }
.invite.held { color: #8a5a00; }
.invitebar { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 7px 12px; margin: -6px 0 14px; font-size: .88rem; }
.invitebar.warn { background: #fff8e6; border-color: #f0d48a; color: #6b4a00; }
.invitebar.off { color: #666; }
.ok { color: #2c7a3f; font-weight: 600; }
.warn { color: #7a5200; }
.who .mysettings { font-size: .88rem; }
.who .mysettings.on { font-weight: 600; text-decoration: underline; }
.settings { align-items: start; gap: 16px 20px; }
.mailpreview { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; background: #fafafa; }
.mailpreview > div { margin-bottom: 8px; }
pre.mailtext { white-space: pre-wrap; font: inherit; font-size: .88rem; background: #fafafa; border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; margin: 6px 0; }
code { background: #f2f2f2; padding: 1px 4px; border-radius: 4px; font-size: .85em; }
.invite .sub.wrap { white-space: normal; max-width: 220px; }

/* Job status dropdown */
select.jobstatus { font-size: .8rem; font-weight: 700; border-radius: 99px; padding: 3px 24px 3px 10px; border: 1px solid transparent; width: auto; min-width: 0; background-color: #eef2f5; color: #46525d; cursor: pointer; }
select.jobstatus.s-open { background-color: #dff5ea; color: #136b40; }
select.jobstatus.s-on_hold { background-color: #fff2d6; color: #7a5600; }
select.jobstatus.s-confidential { background-color: #ece6fb; color: #4b2f9a; }
select.jobstatus option { color: #222; background: #fff; font-weight: 400; }
.statuspick { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; color: #46525d; margin-right: 6px; }
form.closeform { max-width: 560px; }
form.closeform h2 { margin-top: 0; }
.titlecell { display: flex; align-items: flex-start; gap: 10px; }
a.editbtn { flex: none; font-size: .76rem; font-weight: 700; padding: 3px 9px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--navy); text-decoration: none; margin-top: 1px; }
a.editbtn:hover { border-color: var(--teal); color: var(--teal); }
select.jobrecruiter { font-size: .88rem; padding: 4px 24px 4px 8px; border: 1px solid transparent; background-color: transparent; width: auto; cursor: pointer; }
select.jobrecruiter:hover, select.jobrecruiter:focus { border-color: var(--line); background-color: #fff; }

/* Clickable pipeline numbers */
a.numlink { color: inherit; text-decoration: none; display: inline-block; min-width: 22px; padding: 1px 4px; border-radius: 5px; }
a.numlink:hover { background: #e6f4f5; color: var(--teal); text-decoration: underline; }
.pipeview .pv.on { border-color: var(--teal); box-shadow: 0 0 0 2px #cdeced; }
.showbar { background: #e9f6f6; border: 1px solid #c4e6e7; border-radius: 8px; padding: 7px 12px; margin-bottom: 10px; font-size: .9rem; }

/* Clickable dashboard tiles and the scoring page */
.kpis a.kpilink { text-decoration: none; color: inherit; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.kpis a.kpilink:hover { border-color: var(--teal); box-shadow: 0 2px 10px rgba(16, 148, 152, .15); }
.kpis a.kpilink span::after { content: ' →'; color: var(--teal); }
.pagenav { margin-bottom: 18px; }
h2 .pill { font-size: .75rem; vertical-align: middle; margin-left: 6px; }
table.grid tr.current td { background: #f0faf9; }
[id="how"], [id="instructions"], [id="accuracy"], [id="rescore"], [id="history"], [id="suggestion"] { scroll-margin-top: 60px; }

/* Employers in the last 10 years: the one job-hopping indicator (green 3 or fewer, amber 4-5, red 6+) */
.emp { display: inline-block; min-width: 26px; text-align: center; font-weight: 800; border-radius: 8px; padding: 2px 7px; font-size: .88rem; }
.emp-ok { background: #dff3e9; color: #155c3a; }
.emp-mid { background: #fff1d6; color: #7a5200; }
.emp-high { background: #fde3e1; color: #9b231b; }

/* Candidate panel: profile opens over the current page (public/js/app.js) */
.cpanel { position: fixed; inset: 0; z-index: 900; display: none; }
.cpanel.open { display: block; }
.cpanel-back { position: absolute; inset: 0; background: rgba(29,43,51,.45); }
.cpanel-box { position: absolute; top: 0; right: 0; bottom: 0; width: min(1100px, 92vw); background: #fff; box-shadow: -8px 0 30px rgba(0,0,0,.25); display: flex; flex-direction: column; }
.cpanel-bar { display: flex; justify-content: space-between; align-items: center; padding: 8px 14px; border-bottom: 1px solid var(--line); background: var(--pale); }
.cpanel-full { font-weight: 600; }
.cpanel-x { border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; color: var(--navy); padding: 0 4px; }
.cpanel-frame { flex: 1; width: 100%; border: 0; }
html.cpanel-on { overflow: hidden; }
@media (max-width: 700px) { .cpanel-box { width: 100vw; } }
/* Inside the panel: no top bar or test banner */
html.in-panel .topbar, html.in-panel .testbar { display: none; }
html.in-panel main.wrap { padding-top: 14px; }

/* What the candidate told us (preferred titles, locations, salary, industry): soft violet, so it's never
   mistaken for our own notes, scores or resume facts */
th.pref { background: #ECE6F8; color: #4b3a80; }
td.pref { background: #F7F4FD; }
.prefbox { background: #F7F4FD; border: 1px solid #DED5F3; border-radius: 10px; padding: 4px 14px 10px; margin: 10px 0 14px; }
.prefbox h2 { margin-top: 10px; }
.preftag { display: inline-block; vertical-align: middle; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: #ECE6F8; color: #4b3a80; border-radius: 6px; padding: 2px 8px; margin-left: 6px; }

.invite-actions { margin-top: 6px; display: flex; gap: 10px; align-items: center; }

/* Dashboard job list: title with the company under it, a bit bigger (Friddy, Dec 2) */
.jobname > a.strong { font-size: 1.05rem; }
.jobname .jobco { font-size: .97rem; color: var(--ink); margin-top: 2px; }
.jobname .jobco a { color: var(--navy); }

/* Dashboard pages fill the screen at any size (Friddy, Dec 2): no 1440 px cap, side margins grow with the screen.
   Forms keep their own narrower width; the public career site is unchanged. */
body.dash main.wrap { max-width: none; padding-left: clamp(16px, 2.5vw, 48px); padding-right: clamp(16px, 2.5vw, 48px); }

.grid td.wants { min-width: 260px; max-width: 460px; line-height: 1.45; }

/* Candidates list: jobs with AI and recruiter scores */
.grid td.jobscell { min-width: 240px; }
.cjob { display: flex; align-items: center; gap: 4px; margin: 2px 0; flex-wrap: wrap; }
.cjob .score { min-width: 28px; padding: 1px 5px; font-size: .8rem; }
.cjob a { margin-left: 4px; }

/* Candidates page: total and paging (Dec 2) */
.listcount { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; flex-wrap: wrap; margin: 6px 0 10px; }
.listcount .pagerlinks { display: flex; align-items: center; gap: 8px; }

/* Candidates list layout (Friddy, Dec 2) */
.grid td.curjob { max-width: 190px; font-size: .88rem; }
.grid td.qnotes { min-width: 180px; }
textarea.cnotes { width: 100%; min-width: 170px; font-size: .86rem; padding: 5px 7px; border: 1px solid var(--line); border-radius: 6px; resize: vertical; font: inherit; }
textarea.cnotes.saving { border-color: #e7b45a; } textarea.cnotes.saved { border-color: #6cc59b; } textarea.cnotes.error { border-color: #e48a83; }
.grid th .sub { text-transform: none; letter-spacing: 0; font-weight: 500; }

/* Candidates list: balanced columns, every cell at most 3 lines (Friddy, Dec 2) */
.grid.candlist { table-layout: fixed; width: 100%; min-width: 1150px; }
.candlist col.c-name { width: 13%; } .candlist col.c-emp { width: 6%; } .candlist col.c-cur { width: 16%; }
.candlist col.c-jobs { width: 27%; } .candlist col.c-wants { width: 18%; } .candlist col.c-notes { width: 13%; } .candlist col.c-upd { width: 7%; }
.candlist th { white-space: normal; }
.candlist td { overflow: hidden; }
.candlist td:last-child { white-space: nowrap; }
.grid.candlist td.curjob { max-width: none; }
.candlist .oneline, .candlist .cjob { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clamp2, .clamp3 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.clamp2 { -webkit-line-clamp: 2; line-clamp: 2; } .clamp3 { -webkit-line-clamp: 3; line-clamp: 3; }
.candlist .links a { white-space: nowrap; }
/* Quick note: a one-line box, then the newest note (2 lines) linking to all notes */
textarea.cnotes.qadd { resize: none; min-height: 0; height: 1.9em; line-height: 1.3; overflow: hidden; }
textarea.cnotes.qadd:focus { height: 3.6em; overflow: auto; }
.qnotes .qlast { margin-top: 3px; color: #5f6b76; text-decoration: none; font-size: .8rem; line-height: 1.3; }
.qnotes .qlast:hover { text-decoration: underline; }
.grid td.qnotes { min-width: 170px; }

/* Candidate profile: Import notes (from Bold), read-only */
.importnotes .importbox { white-space: pre-wrap; background: #f4f6f8; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: .88rem; color: #4a5560; max-height: 220px; overflow: auto; }

/* Plain-English candidate search (Dec 2) */
.askbox { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid #1AB3B8; border-radius: 10px; padding: 6px 6px 6px 14px; margin-bottom: 8px; box-shadow: 0 1px 4px rgba(26,179,184,.15); }
.askbox input { flex: 1; border: 0; outline: none; box-shadow: none; padding: 8px 4px; font-size: 1rem; min-width: 0; }
.askicon { color: #1AB3B8; font-size: 1.1rem; }
.askread { margin: 0 0 12px; font-size: .9rem; }
.askread em { font-style: normal; background: #E6F7F7; border-radius: 4px; padding: 1px 5px; }
.askhint { margin: -2px 0 12px; }
.flash.warn { background: #fff6e0; border-color: #f0d28c; color: #6b4a00; }
.candlist.ranked col.c-name { width: 12%; } .candlist.ranked col.c-ai { width: 15%; } .candlist.ranked col.c-emp { width: 6%; } .candlist.ranked col.c-cur { width: 15%; }
.candlist.ranked col.c-jobs { width: 19%; } .candlist.ranked col.c-wants { width: 14%; } .candlist.ranked col.c-notes { width: 12%; } .candlist.ranked col.c-upd { width: 7%; }
.grid td.aimatch .score { margin-bottom: 4px; }
.grid th.aimatch, .grid td.aimatch { background: #F0FAFA; }
button.working { opacity: .7; cursor: progress; }

/* Job page (UI review, Dec 2): two-line scoring bar, folded scoring help, resume still being read */
.scorebar { flex-direction: column; align-items: stretch; gap: 6px; }
.scorebar .sbline { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.scorebar .sblegend { border-top: 1px solid #eef2f5; padding-top: 6px; }
details.howscore > summary { cursor: pointer; list-style: revert; }
details.howscore:not([open]) { padding: 6px 14px; }
.score.sc-reading { background: #eef3f8; color: #5f6b76; font-size: .72rem; font-weight: 600; padding: 2px 6px; white-space: nowrap; }

/* Candidate profile (UI review, Dec 2): Notes card on top, read-only profile with Edit */
.notescard h2 { margin: 0 0 8px; }
.notescard textarea.qadd { width: 100%; height: 2.2em; }
.notescard textarea.qadd:focus { height: 4.5em; }
.notelist { margin-top: 8px; }
.noteitem { white-space: pre-wrap; font-size: .9rem; padding: 6px 0; border-bottom: 1px solid #eef2f5; }
.noteitem:last-child { border-bottom: 0; }
.noteitem.fresh { background: #f1fbf6; }
.notescard details { margin-top: 6px; }
.notescard details.importnotes .importbox { margin-top: 6px; }
.profileview dl { margin: 0; gap: 8px 24px; }
.profileview dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; color: #5f6b76; }
.profileview dd { margin: 2px 0 0; }
details.editprofile > summary { list-style: none; display: inline-block; margin: 4px 0 12px; }
details.editprofile > summary::-webkit-details-marker { display: none; }
details.editprofile[open] > summary { margin-bottom: 8px; }
.profileview dl.cols2 { align-items: start; gap: 10px 24px; }

/* Dashboard (UI review, Dec 2): grouped headings, sortable columns */
.grid th.sorthead { cursor: pointer; user-select: none; }
.grid th.sorthead:hover { color: var(--navy); }
.grid th.sorthead[data-dir="asc"]::after { content: " ▲"; font-size: .7em; }
.grid th.sorthead[data-dir="desc"]::after { content: " ▼"; font-size: .7em; }
#jobtable thead tr:last-child th:nth-child(n+6) { white-space: normal; text-align: center; line-height: 1.2; padding-left: 4px; padding-right: 4px; max-width: 78px; vertical-align: bottom; }
#jobtable td:first-child { min-width: 230px; }
#jobtable td.num { padding-left: 4px; padding-right: 4px; }
#jobtable thead tr:last-child th:nth-child(n+6) { font-size: .7rem; letter-spacing: .01em; }
#jobtable select.jobrecruiter, #jobtable select.jobstatus { max-width: 150px; }
#jobtable td:nth-child(3) { max-width: 150px; }
#jobtable select.jobrecruiter { max-width: 110px; min-width: 0; }
#jobtable td:nth-child(3) { max-width: 130px; }
/* Reports (Dec 2) */
.reportform h2 { margin-top: 0; }
.reportform label { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; }
.reportform select, .reportform input[type=date] { min-width: 0; }
.reportform:not(.custom) .customdates { display: none; }
.reportmeta { margin: -4px 0 18px; }
.rgroup h3 { margin: 18px 0 8px; font-size: 1rem; }
.rtiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.rtile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; text-decoration: none; color: var(--navy); }
.rtile:hover { border-color: #1AB3B8; }
.rtile.zero { opacity: .55; }
.rnum { font-size: 1.8rem; font-weight: 800; line-height: 1.1; }
.rlab { font-weight: 600; font-size: .9rem; }
.rhint { font-size: .78rem; color: #5f6b76; }
.rlist { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin-bottom: 10px; }
.rlist summary { cursor: pointer; }
.rlist ul { margin: 8px 0 2px; padding-left: 18px; }
.rlist li { margin: 3px 0; }
@media print {
  .topbar, .testbar, .noprint, .switcher { display: none !important; }
  body.dash main.wrap { padding: 0 !important; }
  .rlist { break-inside: avoid; border: 0; padding: 0; }
  .rtile { break-inside: avoid; }
  a { color: inherit; text-decoration: none; }
}
.profileview .prefbox { margin: 12px 0 0; padding: 10px 14px; }
.profileview .prefbox .preflabel { margin-bottom: -4px; }
.profileview .prefbox .preftag { margin-left: 0; }
.addjob { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 8px 0 18px; font-size: .9rem; }
.addjob select { width: auto; min-width: 220px; max-width: 420px; padding: 5px 8px; font-size: .88rem; }

/* Candidate profile: History log */
.historylog { padding: 6px 14px; }
.logrow { display: grid; grid-template-columns: 170px 140px 1fr; gap: 12px; padding: 6px 0; border-bottom: 1px solid #eef2f5; font-size: .88rem; }
.logrow:last-child { border-bottom: 0; }
.logrow .when { color: #5f6b76; white-space: nowrap; }
.logrow .who { color: #46525d; }
.logrow .logjob { display: inline-block; background: #eef6f9; color: var(--navy); border-radius: 4px; padding: 0 6px; margin-right: 4px; font-size: .8rem; }
.historylog details > summary { margin: 6px 0; }
/* Jobs applied to: scores, job and stage on one line; a long job title is shortened, the stage always shows (Dec 2). */
.candlist .cjob { display: flex; flex-wrap: nowrap; overflow: visible; }
.candlist .cjob .score { flex-shrink: 0; }
.candlist .cjob a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.candlist .cjob .cstage { flex-shrink: 0; margin-left: 4px; white-space: nowrap; }

/* Candidate profile: AI summary */
.aisummary { border-left: 4px solid var(--sky, #38bdf8); }
.aisummary .aihead { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.aisummary .aihead h2 { margin: 0; }
.aisummary p { margin: 6px 0; }
.aisummary ul { margin: 4px 0 2px 18px; padding: 0; }
.fulltip { position: fixed; z-index: 2000; display: none; background: #fff; color: #0B2F4F; border: 1px solid #c9d6df; border-radius: 8px; box-shadow: 0 6px 20px rgba(11,47,79,.18); padding: 8px 11px; font-size: .88rem; line-height: 1.4; white-space: pre-wrap; pointer-events: none; }
/* Recruiter Dashboard (Dec 2): shorter job title column (long titles wrap), submitted → interview ratio */
#jobtable .jobname { max-width: 230px; }
#jobtable td.s2i { white-space: nowrap; }
#jobtable td.s2i .sub { display: block; font-size: .78rem; }
.s2ipct { display: inline-block; font-weight: 700; border-radius: 6px; padding: 1px 7px; }
.s2i-good { background: #DDF3E4; color: #1d6b3a; } .s2i-mid { background: #FFF1D6; color: #8a5a00; } .s2i-low { background: #FBE0DE; color: #a3261d; }
.kpilink b.s2i-good, .kpilink b.s2i-mid, .kpilink b.s2i-low { background: none; }
.kpilink b.s2i-good { color: #1d6b3a; } .kpilink b.s2i-mid { color: #8a5a00; } .kpilink b.s2i-low { color: #a3261d; }

/* Scorecards */
.scbar { align-items: center; gap: 10px; flex-wrap: wrap; margin: 8px 0 14px; }
.scgaps { border-left: 4px solid #f0b429; }
.scgaps ul { margin: 6px 0 0 18px; padding: 0; }
.scpaper { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 24px; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.scpaper.editing { outline: 3px dashed #38bdf8; outline-offset: 4px; }
.scpaper.editing #scorecard-Export-Area:focus { outline: none; }
ul.checks { list-style: none; padding: 0; margin: 8px 0 14px; }
ul.checks li { margin: 4px 0; }
.scform textarea { font-family: inherit; }
.transcriptbox pre { white-space: pre-wrap; font-family: inherit; font-size: .9rem; line-height: 1.5; max-height: 70vh; overflow: auto; margin: 0; }
/* Stage control: main stage → step / round → type or reason (Dec 2) */
.stagectl { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.stagectl select, .stagectl input { width: auto; max-width: 190px; padding: 4px 6px; font-size: .86rem; }
.stagectl .st-main { font-weight: 600; }
.stagectl .st-round { display: inline-flex; align-items: center; gap: 3px; font-size: .84rem; }
.stagectl input.iround { width: 52px; }
.stagectl input.st-note { width: 140px; }
.stagectl .hidden { display: none; }
.stagectl.saving { opacity: .5; pointer-events: none; }
td.stagecell { min-width: 230px; }

/* Candidate profile: one card per job */
.jobcard { padding: 14px 16px; margin-bottom: 12px; }
.jobcard .jc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.jobcard .jc-title { font-weight: 700; font-size: 1.02rem; color: var(--navy); }
.jobcard .jc-stage { min-width: 260px; }
.jobcard .jc-row { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; margin: 10px 0 4px; padding: 8px 0; border-top: 1px solid #eef2f5; border-bottom: 1px solid #eef2f5; }
.jobcard .jc-item { display: inline-flex; align-items: center; gap: 6px; }
.jobcard .jc-why { margin: 6px 0 0; }
.jobcard .jc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 10px; }
.jobcard .jc-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .03em; color: #5f6b76; margin-bottom: 4px; }
.jobcard textarea.notes { width: 100%; min-height: 64px; }
.jobcard .jobnotes textarea.qadd { width: 100%; height: 2.2em; }
.jobcard .jobnotes textarea.qadd:focus { height: 4.5em; }
.jobcard .noteitem .sub { margin-right: 4px; }
@media (max-width: 800px) { .jobcard .jc-cols { grid-template-columns: 1fr; } }
.links .addlink { color: #5f6b76; }
/* Folded resume sections on the profile (Dec 2) */
details.foldsec > summary { list-style: none; cursor: pointer; }
details.foldsec > summary::-webkit-details-marker { display: none; }
details.foldsec > summary h2 { display: inline-flex; align-items: baseline; gap: 8px; }
details.foldsec > summary h2::before { content: '▸'; color: #1AB3B8; font-size: .9em; }
details.foldsec[open] > summary h2::before { content: '▾'; }
.pdfview { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.pdfview canvas.pdfpage { width: 100%; max-width: 900px; height: auto; border: 1px solid var(--line); box-shadow: 0 1px 4px rgba(0,0,0,.06); }
pre.resumetext { white-space: pre-wrap; font-family: inherit; font-size: .92rem; line-height: 1.5; max-width: 900px; margin: 0; }
.card.flashcard { box-shadow: 0 0 0 3px #38bdf8; transition: box-shadow .3s; }

/* Recruiter Dashboard (Dec 2): Company in its own column; Recruiter (first names) and Status narrower */
#jobtable td.cocell { max-width: 150px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#jobtable select.jobstatus { max-width: 112px; }
#jobtable td:first-child { min-width: 200px; }
.addbox { margin: 10px 0 12px; padding: 10px 14px; } .addbox h3 { margin: 0 0 6px; font-size: .95rem; }
.rjob .spec { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0 2px; }
.rjob .chip { background: #E6F7F7; color: #0B2F4F; border-radius: 999px; padding: 1px 8px; font-size: .78rem; }

/* Screening invites on/off switch (job page) */
.invitebar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.invtoggle { display: inline-flex; }
.switch { position: relative; width: 40px; height: 22px; border-radius: 11px; border: 0; padding: 0; background: #c3ccd5; cursor: pointer; transition: background .2s; flex: none; }
.switch .knob { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: left .2s; }
.switch.on { background: #16a34a; }
.switch.on .knob { left: 21px; }

/* Job page: big dark-blue "← Dashboard" button, top right of the header */
.pagehead .btn.dashback { margin-left: auto; align-self: flex-start; background: #0F172A; border-color: #0F172A; color: #fff; font-size: 1.05rem; font-weight: 700; padding: 12px 26px; border-radius: 10px; box-shadow: 0 2px 6px rgba(15,23,42,.25); }
.pagehead .btn.dashback:hover { background: #1e3a8a; border-color: #1e3a8a; color: #fff; }
.stagectl .st-pick { border-color: #1AB3B8; box-shadow: 0 0 0 2px rgba(26,179,184,.25); }
/* Scorecard added by hand (Dec 2) */
.scmanual { background: #fff; padding: 24px 28px; max-width: 900px; margin: 0 auto; line-height: 1.5; }
.scmanual .pdfview { padding: 0; }
/* Salary from the interview transcript (Dec 2) */
.isal { font-weight: 600; color: #4b3a80; white-space: nowrap; }
.isal.mismatch { background: #FFE3B3; color: #7a4a00; border-radius: 4px; padding: 0 4px; }
.isal.confirmed { color: #4b3a80; }
.salcheck { margin-top: 3px; font-size: .82rem; color: #7a4a00; background: #FFF4DE; border-radius: 6px; padding: 3px 6px; }
.isalline { margin-top: 3px; font-size: .86rem; }
[hidden] { display: none !important; }

/* Candidate profile header: every job the candidate was in, with stage and latest interview round */
.headjobs { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: 8px; }
.headjob { display: inline-block; background: #eef6f9; border: 1px solid #d6e8ef; border-radius: 8px; padding: 4px 10px; font-size: .86rem; color: #1e293b; text-decoration: none; }
.headjob:hover { border-color: #38bdf8; }
.headjob strong { color: var(--navy); }
.headjob .hround { color: #1e3a8a; font-weight: 600; }
.pagehead .backbtns { margin-left: auto; align-self: flex-start; display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.pagehead .backbtns .btn.dashback { margin-left: 0; }
.headjob { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.headjob .hjlink { color: inherit; text-decoration: none; }
.headjob .hjlink:hover strong { text-decoration: underline; }
.headjob .hdocs { display: inline-flex; gap: 6px; border-left: 1px solid #d6e8ef; padding-left: 8px; }
.headjob .hdoc { font-size: .8rem; font-weight: 600; color: #0e7490; text-decoration: underline; }
.headjob .hdoc.add { color: #64748b; text-decoration: none; }
.headjob .hdoc.add:hover { color: #0e7490; text-decoration: underline; }

/* Email conversations (candidate profile) */
.emailscard .em { border-top: 1px solid #e2e8f0; padding: 8px 0; }
.emailscard .emhead { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.emailscard .emdir { font-size: .78rem; font-weight: 700; padding: 1px 7px; border-radius: 6px; }
.emailscard .em-in .emdir { background: #ede9fe; color: #5b21b6; }
.emailscard .em-out .emdir { background: #e0f2fe; color: #075985; }
.emailscard .emsnip { color: #475569; font-size: .9rem; margin: 3px 0; }
.emailscard .emacts { display: flex; gap: 12px; align-items: center; }
.emailscard .embody { white-space: pre-wrap; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 10px 12px; margin-top: 6px; font-size: .9rem; max-height: 420px; overflow: auto; }
.emailscard .embody.emerr { color: #b45309; }
.emailscard .emmore > summary { cursor: pointer; margin: 6px 0; list-style: none; }
.emailscard .aihead { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
.emailscard .emacts a, .emailscard .emacts .link { font-size: .85rem; }

/* Delete candidate (admins, profile header) */
.pagehead .delcand { margin-left: auto; align-self: flex-start; position: relative; }
.pagehead .delcand > summary { list-style: none; cursor: pointer; color: #b91c1c; border-color: #fecaca; }
.pagehead .delcand > summary::-webkit-details-marker { display: none; }
.pagehead .delcand .delbox { position: absolute; right: 0; top: 110%; z-index: 20; width: 360px; background: #fff; border: 1px solid #fecaca; border-radius: 10px; padding: 14px; box-shadow: 0 8px 24px rgba(15,23,42,.15); }
.pagehead .delcand .delbox p { margin: 0 0 10px; font-size: .88rem; }
.pagehead .delcand .delbox label { display: block; font-size: .85rem; margin-bottom: 10px; }
.pagehead .delcand .delbox input { display: block; width: 100%; margin-top: 4px; }
.btn.danger { background: #b91c1c; border-color: #b91c1c; color: #fff; }
.btn.danger:hover { background: #991b1b; border-color: #991b1b; color: #fff; }
.jobbody article .applybox h3 { margin-top: 0; }
@media (max-width: 900px) { .jobbody { padding-top: 30px; } .jobbody article h2 { font-size: 1.9rem; } }

/* Job form: formatting toolbar above the description */
.fmtbar { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; border: 1px solid #cbd5e1; border-bottom: 0; border-radius: 8px 8px 0 0; background: #f8fafc; padding: 6px; margin-top: 6px; }
.fmtbar button { border: 1px solid transparent; background: none; border-radius: 6px; padding: 5px 10px; font-size: .9rem; cursor: pointer; color: #1e293b; }
.fmtbar button:hover { background: #e2e8f0; }
.fmtbar .fmtsep { flex: 1; }
.fmtbar .fmtprev.on { background: #0F172A; color: #fff; }
textarea.fmtarea { border-radius: 0 0 8px 8px; margin-top: 0; width: 100%; font-family: inherit; line-height: 1.5; }
.fmtpreview { border: 1px solid #cbd5e1; border-radius: 0 0 8px 8px; padding: 14px 18px; background: #fff; min-height: 200px; }
.fmtpreview h3 { font-size: 1.3rem; color: #105383; margin: 18px 0 6px; }
.fmtpreview h4 { font-size: 1.05rem; color: #1d2328; margin: 14px 0 4px; }
.fmtpreview p, .fmtpreview li { line-height: 1.6; }

/* Finance (Dec 2) */
.subtabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 4px 0 14px; flex-wrap: wrap; }
.subtabs a { padding: 8px 14px; text-decoration: none; color: var(--ink); border-bottom: 2px solid transparent; font-weight: 500; }
.subtabs a.on, .subtabs a:hover { color: var(--navy); border-bottom-color: var(--teal); }
.kpis.fin { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kpis.fin.small { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.kpis.fin.small b { font-size: 1.25rem; }
.kpis .prog { display: block; height: 6px; background: var(--pale); border-radius: 4px; margin-top: 8px; overflow: hidden; }
.kpis .prog i { display: block; height: 100%; background: var(--teal); }
.mchart { width: 100%; height: auto; max-height: 260px; }
.mchart text { font-size: 11px; fill: #5f6b76; }
.mchart .grid-l { stroke: #eef2f5; }
.mchart .b-now { fill: var(--navy); }
.mchart .b-fc { fill: var(--sky); }
.mchart .b-prev { fill: #c9d3db; }
.legend { font-size: .85rem; color: #5f6b76; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.legend .k { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-left: 10px; }
.legend .k-now { background: var(--navy); } .legend .k-fc { background: var(--sky); } .legend .k-prev { background: #c9d3db; }
.fincols { align-items: start; gap: 0 14px; }
.fincols .card { margin-top: 0; }
.hbar { display: grid; grid-template-columns: minmax(90px, 32%) 1fr auto; gap: 8px; align-items: center; margin: 5px 0; font-size: .9rem; }
.hbar .hl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbar .ht { background: #f1f5f8; height: 12px; border-radius: 6px; overflow: hidden; }
.hbar .ht i { display: block; height: 100%; background: var(--teal); }
.hbar .hv { white-space: nowrap; font-weight: 600; }
.fin-table td, .fin-table th { font-size: .88rem; }
tr.dim td { color: #9aa6b1; text-decoration: line-through; text-decoration-color: #c9d3db; }
tr.dim td .fst { text-decoration: none; }
.fst { font-size: .8rem; font-weight: 600; border-radius: 99px; padding: 2px 8px; white-space: nowrap; }
.fst-started { background: #e5f6ef; color: #145c3c; }
.fst-accepted { background: #eaf4fb; color: var(--navy); }
.fst-billed { background: var(--pale); color: var(--navy); }
.fst-fell_through { background: #fdecea; color: var(--red); }
.fst-left { background: #fff4d6; color: #7a5600; }
.feecalc { margin-bottom: 0; }
.feeresult { margin: 0 0 12px; }
.feeresult strong { color: var(--navy); font-size: 1.1rem; }
.planrow { display: grid; grid-template-columns: 160px 1fr; gap: 6px 14px; align-items: center; padding: 10px 0; border-top: 1px solid #eef2f5; }
.planrow > .sub { grid-column: 2; }
.planrow .tiers { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.planrow .tier input { width: 90px; display: inline-block; }
.replist { margin: 12px 0 4px; padding-left: 18px; }
.replist li { margin: 4px 0; }
.fu { font-size: .8rem; font-weight: 600; }
.fu-sent { color: #145c3c; } .fu-queued { color: var(--navy); } .fu-held, .fu-failed { color: #a15c00; } .fu-cancelled, .fu-skipped { color: #8a96a1; }
.tplcols { align-items: start; gap: 0 16px; }
.tplcols .card { margin-top: 0; }
.fills { columns: 2; margin: 0 0 8px; padding-left: 16px; }
.reportform.filters .customdates { display: none; }
.reportform.filters.custom .customdates { display: inline-flex; }
@media (max-width: 900px) { .kpis.fin, .kpis.fin.small { grid-template-columns: repeat(2, minmax(0, 1fr)); } .planrow { grid-template-columns: 1fr; } .planrow > .sub { grid-column: 1; } }
.reportcards { gap: 0 14px; }
.replink { display: block; text-decoration: none; color: var(--ink); }
.replink:hover { border-color: var(--teal); }
.replink h2 { margin-top: 0; }
.rtiles.health .rtile.warnt .rnum { color: #a15c00; }
table.grid.narrow { max-width: 520px; }
/* Co-recruiters (Dec 3) */
.field .checks { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 6px 0; }
td .co { font-size: .8rem; line-height: 1.2; margin-top: 2px; }

/* Help page (Dec 3) */
.helpask { max-width: 980px; }
.helpform { display: flex; gap: 10px; align-items: flex-start; }
.helpform textarea { flex: 1; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; resize: vertical; min-height: 48px; }
.helpwait { color: #667; font-style: italic; }
.helphistory { margin-top: 8px; }
.helpitem { border-top: 1px solid var(--line); padding: 12px 0 4px; }
.helpq { font-weight: 600; margin-bottom: 6px; }
.helpanswer p, .helpanswer ol, .helpanswer ul { margin: 0 0 8px; }
.helpanswer ol, .helpanswer ul { padding-left: 22px; }
.helpsrc { font-size: 13px; color: #667; margin-top: 4px; }
.helphead { margin: 22px 0 8px; font-size: 18px; }
.helpdocs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.helpdoc { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; color: inherit; text-decoration: none; }
.helpdoc:hover { border-color: #1c85bf; }
.helpdoc strong { color: #17699d; }
.helpdoc span { font-size: 14px; }
.helpdoc small { color: #667; font-size: 12px; }
#helpadmin .row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
/* History and Email conversations: newest 3, "Show all" unfolds the rest, "Show less" folds it again. */
.foldmore > summary { cursor: pointer; list-style: none; }
.foldmore > summary::-webkit-details-marker { display: none; }
.foldmore > summary .less, .foldmore[open] > summary .more { display: none; }
.foldmore[open] > summary .less { display: inline; }
/* Notes about a job: Edit / Delete links (own notes; admins any), and the inline editor. */
.noteitem .noteacts { margin-left: 6px; opacity: .55; white-space: nowrap; }
.noteitem:hover .noteacts { opacity: 1; }
.noteitem .noteeditor { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.noteitem .noteeditor textarea { flex: 1 1 100%; font: inherit; }

/* Job contacts and quick scores (Dec 3) */
.quickscore { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 8px; }
.quickscore .radios { display: inline-flex; gap: 8px; }
.personpick { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
table.contacts td { vertical-align: top; }
table.contacts .pstat { font-weight: 600; }
.jobcontacts, .peoplegrid { align-items: start; gap: 12px 20px; }

/* Clients ▾ dropdown in the top menu (Clients, Contacts; Dec 3) */
.topbar nav .navdrop { position: relative; display: flex; }
.topbar nav .navdrop > a .caret { font-size: 11px; opacity: .7; }
.topbar nav .navmenu { display: none; position: absolute; top: 100%; left: 0; z-index: 50; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.12); padding: 6px; min-width: 160px; }
.topbar nav .navdrop:hover .navmenu, .topbar nav .navdrop:focus-within .navmenu { display: flex; flex-direction: column; }
.topbar nav .navmenu a { white-space: nowrap; }
table.contacts tr.focus td { background: #fff8e1; }
table.contacts .ok { color: #1a7f4b; font-weight: 600; }
.topbar nav .navdrop > a { white-space: nowrap; }

/* Job form: Screening invites toggle at the top (Dec 3) */
.invitebar.formswitch { margin: 0 0 16px; flex-wrap: nowrap; align-items: flex-start; }
.switchrow { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; white-space: nowrap; font-weight: 500; }
.switchrow .switchbox { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switchrow .switch { display: inline-block; pointer-events: none; }
.switchrow .switchbox:checked + .switch { background: #16a34a; }
.switchrow .switchbox:checked + .switch .knob { left: 21px; }
.switchrow .switchbox:focus-visible + .switch { outline: 2px solid #1c85bf; outline-offset: 2px; }
.switchrow .st-off, .switchrow .switchbox:checked ~ span .st-off { display: none; }
.switchrow .switchbox:not(:checked) ~ span .st-off { display: inline; }
.switchrow .switchbox:not(:checked) ~ span .st-on { display: none; }
/* Post-hire follow-ups: who gets them (Dec 3) */
.invitebar.formswitch:has(.subswitches) { flex-wrap: wrap; }
.subswitches { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 8px 0 2px 50px; }
.switchrow.small { font-size: .86rem; }
.switchrow.small .switch { width: 32px; height: 18px; }
.switchrow.small .switch .knob { width: 12px; height: 12px; }
.switchrow.small .switchbox:checked + .switch .knob { left: 17px; }
.invitebar.formswitch > .sub { flex: 1 1 420px; min-width: 0; }
/* Follow-ups: who-gets-them switches stacked under the main switch, text on the right (Dec 3) */
.invitebar.formswitch:has(.subswitches) { flex-wrap: nowrap; }

/* Follow-ups: text on the right, the three recipient switches in a row under it (Dec 3) */
.switchtext { flex: 1 1 420px; min-width: 0; display: block; line-height: 1.55; }
.switchtext .subswitches { display: contents; }
.switchtext .switchrow.small { display: inline-flex; vertical-align: middle; margin: 2px 18px 2px 0; }
/* Job page: Screening invites and Post-hire follow-ups bars, one under the other (Dec 3) */
.switchbars { display: flex; flex-direction: column; gap: 6px; margin: -6px 0 14px; }
.switchbars .invitebar { margin: 0; }
.switch.small { width: 32px; height: 18px; border-radius: 9px; }
.switch.small .knob { width: 12px; height: 12px; }
.switch.small.on .knob { left: 17px; }
.fwho { display: inline-flex; align-items: center; gap: 6px; margin-right: 14px; }
.h1count { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: var(--pale, #e8f4f8); color: var(--navy, #17325c); font-size: .55em; font-weight: 700; }

/* Candidate profile (/profile): both logos, SCOPE and Supply Chain Jobs colors blended (Friddy, Dec 3). */
body.profile { --navy:#135E90; --teal:#1A9CBB; --sky:#66C7E6; --pale:#E3F2F6; background:#F5F9FB; }
.pwrap { max-width: 900px; margin: 0 auto; padding: 0 22px; }
.pbar { background:#fff; }
.pbar .pwrap { display:flex; align-items:center; gap:18px; padding-top:16px; padding-bottom:14px; flex-wrap:wrap; }
.pbar img { display:block; height:auto; }
.pbar a:first-child img { height:40px; width:auto; }
.pbar a:nth-of-type(2) img { height:26px; width:auto; }
.pdiv { width:1px; height:34px; background:#D6E2E8; }
.pnav { margin-left:auto; display:flex; gap:18px; font-size:.92rem; }
.pnav a { color:var(--navy); text-decoration:none; font-weight:600; }
.pnav a:hover { text-decoration:underline; }
.pstripe { height:5px; background:linear-gradient(90deg,#105383 0%,#17699D 30%,#1C85BF 50%,#1AB3B8 75%,#61C7E4 100%); }
.pmain { padding-top:34px; padding-bottom:60px; }
.pmain h1 { color:var(--navy); margin-bottom:.3rem; }
.phead { display:flex; justify-content:space-between; align-items:flex-end; gap:12px; flex-wrap:wrap; margin-bottom:18px; }
.phead form { display:inline; }
.pcard { background:#fff; border:1px solid #E1EAEF; border-radius:14px; padding:22px 24px; margin-bottom:18px; }
.pcard h2 { margin:0 0 14px; font-size:1.15rem; color:var(--navy); }
.pcard .two { display:grid; grid-template-columns:1fr 1fr; gap:0 14px; }
.pcard input[type=text], .pcard input[type=email], .pcard input[type=tel], .pcard input[type=url], .pcard input:not([type]) { padding:10px 12px; }
.pcard input[readonly] { background:#f3f5f6; color:#5f6b76; }
.pcard .check { align-items:flex-start; }
.pcard .check input { margin-top:3px; }
.pcard .check small { display:block; }
.pcard.pdanger { border-color:#F0D6D4; }
.pcard.pdanger h2 { color:#8E2A22; }
.pnote { background:#FFF6E5; border:1px solid #F3DDAE; border-radius:12px; padding:14px 18px; margin-bottom:18px; }
.pnote strong { color:#7A4B00; }
.pok { background:#E7F6F1; border:1px solid #BFE6D8; color:#1B5E4A; border-radius:12px; padding:12px 18px; margin-bottom:18px; }
.perr { background:#fdecea; border:1px solid #F3C7C3; color:var(--red); border-radius:12px; padding:12px 18px; margin-bottom:18px; }
.papps { width:100%; border-collapse:collapse; }
.papps td { padding:9px 0; border-bottom:1px solid #EEF2F4; }
.papps td:last-child { text-align:right; color:#5f6b76; white-space:nowrap; padding-left:12px; }
.papps tr:last-child td { border-bottom:0; }
.psave { display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin:4px 0 26px; }
.pfoot { background:#fff; border-top:1px solid #E1EAEF; padding:22px 0 26px; font-size:.88rem; color:#5f6b76; }
.pfoot p { margin:0 0 8px; }
.pfoot nav { display:flex; gap:18px; flex-wrap:wrap; margin-bottom:8px; }
.pfoot a { color:var(--navy); }
.pmain .cform-page { max-width:560px; }
@media (max-width: 680px) {
  .pcard .two { grid-template-columns:1fr; }
  .pnav { margin-left:0; width:100%; }
  .pdiv { display:none; }
  .pcard { padding:18px 16px; }
}
.pcard .field > span small { display:block; font-weight:400; margin-top:2px; }

.field > span small { font-weight: 400; }
