/* DYNE HRMS - CV workspace v34 (Sep 2026): grouped filters, active-filter chips,
   richer result rows, CV Profile / Resume / Edit tabs. Touch- and phone-friendly:
   tap targets >= 44px, 14-16px text, filters become a drawer at <= 900px.
   Loaded after the main stylesheet; everything is scoped to .cvV2 / .cvV2Modal. */

.cvV2{--cvGold:#e8c47f;--cvGoldSoft:rgba(202,150,77,.28);--cvText:#efe6d6;--cvMuted:#9a8e7b;--cvCard:#0f0e0b;--cvTap:44px;font-size:14px}
.cvV2 button,.cvV2 select,.cvV2 input{touch-action:manipulation}
.cvV2 .cvMuted{color:#6f6557}

/* ---------- Sidebar ---------- */
.cvV2 .cvSidebarScrim{display:none}
.cvV2 .cvSidebarHead b{font-size:18px}
.cvV2 .cvSidebarHead small{font-size:12px}
.cvV2 .cvSidebarHead .iconBtn{width:var(--cvTap);height:var(--cvTap);font-size:22px}
.cvV2 .cvSidebarSearch{display:grid;grid-template-columns:minmax(0,1fr) var(--cvTap) var(--cvTap);gap:6px;align-items:center;margin-bottom:14px}
.cvV2 .cvSidebarSearch input{height:var(--cvTap);font-size:15px;padding:0 12px;border-radius:10px;min-width:0}
.cvV2 .cvSidebarSearch button{position:static;transform:none;width:var(--cvTap);height:var(--cvTap);border-radius:10px;border:1px solid var(--cvGoldSoft);background:#12100c;color:var(--cvGold);font-size:18px;display:flex;align-items:center;justify-content:center}
.cvV2 .cvSidebarSearch .cvSearchGo{background:linear-gradient(135deg,#ca964d,#f0cf8c);color:#111;font-weight:900;font-size:20px}
.cvV2 .cvSidebarSearch button:disabled{opacity:.35}

.cvV2 .cvFSec{border:1px solid rgba(202,150,77,.2);border-radius:12px;margin-bottom:10px;background:rgba(255,255,255,.012);overflow:hidden}
.cvV2 .cvFSec.open{border-color:rgba(202,150,77,.42)}
.cvV2 .cvFSecHead{width:100%;min-height:50px;display:flex;align-items:center;gap:10px;padding:0 14px;background:transparent;border:0;color:var(--cvText);font-size:15px;font-weight:800;text-align:left;cursor:pointer}
.cvV2 .cvFSecHead span{flex:1}
.cvV2 .cvFSecHead b{color:var(--cvGold);font-size:14px}
.cvV2 .cvFCount{font-style:normal;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:#ffd54a;color:#111;font-size:12px;font-weight:900;display:inline-flex;align-items:center;justify-content:center}
.cvV2 .cvFSecBody{display:grid;gap:14px;padding:4px 14px 16px}
.cvV2 .cvFilterField{display:grid;gap:6px}
.cvV2 .cvFilterHeading b{font-size:13px;color:#d9c9ad}
.cvV2 .cvFilterHeading small{font-size:11px}
.cvV2 .cvSidebar input:not([type=checkbox]),.cvV2 .cvSidebar select{width:100%;min-height:var(--cvTap);font-size:15px;border-radius:10px;padding:0 10px;box-sizing:border-box}
.cvV2 .cvStrictMatch{min-height:var(--cvTap);display:flex;align-items:center;gap:10px;font-size:14px}
.cvV2 .cvStrictMatch input{width:22px;height:22px;accent-color:#e0b665}
.cvV2 .cvExperienceFilter>div,.cvV2 .cvCustomDateFilter{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.cvV2 .cvCustomDateFilter{margin:0}
.cvV2 .cvCustomDateFilter small{font-size:11px}
.cvV2 .cvSalaryFilterInputs{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.cvV2 .cvSidebarFilterActions{grid-template-columns:1.4fr 1fr;padding:12px 14px calc(14px + env(safe-area-inset-bottom))}
.cvV2 .cvSidebarFilterActions button{height:48px;font-size:15px;border-radius:12px}
.cvV2 .cvClearFilters:not(:disabled){color:#ffb3a8;border-color:rgba(255,140,120,.45)}

/* ---------- Toolbar, sort, chips ---------- */
.cvV2 .cvResultsToolbar{flex-wrap:wrap}
.cvV2 .cvResultsToolbarLeft{flex-wrap:wrap}
.cvV2 .cvMenuButton{height:var(--cvTap);min-width:var(--cvTap);border-radius:10px}
.cvV2 .cvResultCount{min-height:34px;font-size:13px;padding:0 12px}
.cvV2 .cvSortInline{display:flex;align-items:center;gap:8px;color:var(--cvMuted);font-size:13px}
.cvV2 .cvSortInline select{min-height:var(--cvTap);font-size:14px;border-radius:10px;padding:0 10px;background:#11100e;color:var(--cvText);border:1px solid var(--cvGoldSoft)}
.cvV2 .cvResultsToolbarActions button{min-height:var(--cvTap);font-size:14px;border-radius:10px}
.cvV2 .cvActiveFilters{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 14px}
.cvV2 .cvActiveLabel{color:var(--cvMuted);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;margin-right:2px}
.cvV2 .cvChip{min-height:38px;display:inline-flex;align-items:center;gap:8px;padding:0 6px 0 14px;border-radius:999px;border:1px solid rgba(255,213,74,.6);background:rgba(255,213,74,.1);color:#ffe7a0;font-size:14px;font-weight:700;cursor:pointer;max-width:100%}
.cvV2 .cvChip b{width:28px;height:28px;border-radius:999px;background:rgba(255,213,74,.2);display:inline-flex;align-items:center;justify-content:center;font-size:17px}
.cvV2 .cvChip:hover b{background:#ffd54a;color:#111}
.cvV2 .cvChipClear{min-height:38px;padding:0 12px;border:0;background:transparent;color:#ffb3a8;font-size:14px;font-weight:800;text-decoration:underline;cursor:pointer}

/* ---------- Result rows (desktop table) ---------- */
.cvV2 .cvCandidateTable{border:1px solid rgba(202,150,77,.24);border-radius:14px;overflow:hidden}
.cvV2 .cvRowGrid{display:grid;grid-template-columns:minmax(170px,1.3fr) minmax(170px,1.1fr) minmax(110px,.75fr) minmax(200px,1.6fr) minmax(110px,.7fr) 128px;gap:14px;align-items:center}
.cvV2 .cvCandidateTableHead{min-height:42px;padding:0 16px;font-size:11px;color:#9a8e7b}
.cvV2 .cvCandidateSummary{min-height:78px;padding:12px 16px}
.cvV2 .cvCell{min-width:0;display:grid;gap:3px;font-size:13px;color:#d5c8b3}
.cvV2 .cvCell>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cvV2 .cvCellWho b{color:#f6ead7;font-size:15px}
.cvV2 .cvCellWho small{font-size:13px;color:#b8aa94}
.cvV2 .cvCellWho .cvRowPlace{color:var(--cvMuted);font-size:12px}
.cvV2 .cvCellFacts b{color:var(--cvGold);font-size:15px}
.cvV2 .cvCellFacts small{font-size:12px;color:#b8aa94}
.cvV2 .cvCellSkills{display:flex;flex-wrap:wrap;gap:5px;white-space:normal}
.cvV2 .cvSkillChip{display:inline-flex;align-items:center;min-height:26px;padding:0 9px;border-radius:999px;border:1px solid rgba(202,150,77,.3);background:#15120d;color:#dccdb4;font-size:12px;font-weight:700;white-space:nowrap}
.cvV2 .cvSkillChip.hit,.cvV2Modal .cvSkillChip.hit{border-color:#ffd54a;background:rgba(255,213,74,.16);color:#fff1c2}
.cvV2 .cvSkillChip .cvSearchHighlight,.cvV2Modal .cvSkillChip .cvSearchHighlight{padding:0 2px}
.cvV2 .cvSkillMore{font-size:12px;color:var(--cvMuted);align-self:center;font-weight:800}
.cvV2 .cvStatusPill,.cvV2Modal .cvStatusPill{display:inline-flex;align-items:center;min-height:28px;padding:0 11px;border-radius:999px;font-size:12px;font-weight:800;border:1px solid transparent;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;justify-self:start}
.tone-good{background:rgba(88,200,130,.15);color:#8fe2ae;border-color:rgba(88,200,130,.45)!important}
.tone-bad{background:rgba(255,120,100,.12);color:#ffab9c;border-color:rgba(255,120,100,.4)!important}
.tone-active{background:rgba(110,170,255,.14);color:#a9cbff;border-color:rgba(110,170,255,.42)!important}
.tone-neutral{background:rgba(202,150,77,.12);color:#e8c47f;border-color:rgba(202,150,77,.4)!important}
.tone-none{background:transparent;color:#6f6557;border-color:rgba(255,255,255,.08)!important}
.cvV2 .cvCellActions{display:flex;gap:8px;justify-content:flex-end;align-items:center}
.cvV2 .cvViewBtn{min-height:var(--cvTap);min-width:72px;width:auto;font-size:14px;border-radius:10px}
.cvV2 .cvRowToggle{width:var(--cvTap);height:var(--cvTap);border-radius:10px;flex:0 0 var(--cvTap)}
.cvV2 .cvCandidateItem{cursor:default}
.cvV2 .cvRowMore{padding:4px 16px 16px;display:grid;gap:12px}
.cvV2 .cvMoreBlock small,.cvV2 .cvMoreGrid small{display:block;color:var(--cvMuted);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px}
.cvV2 .cvTagRow{display:flex;flex-wrap:wrap;gap:6px}
.cvV2 .cvMoreGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;font-size:13px;color:#d5c8b3}
.cvV2 .cvExpandedActions{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--cvMuted);font-size:12px}
.cvV2 .cvExpandedActions .primarySmall{min-height:var(--cvTap);width:auto;border-radius:10px}
.cvV2 .cvCandidateTable.is-loading{opacity:.55;transition:opacity .15s}

/* ---------- CV modal: tabs, profile, resume ---------- */
.cvV2Modal{font-size:15px}
.cvV2Modal .cvEditorHeader{padding:16px 20px 12px}
.cvV2Modal .cvEditorHeader h2{margin:6px 0 2px;font-size:22px}
.cvV2Modal .cvHeadTitle{margin:0 0 4px;color:#e8c47f;font-size:15px;font-weight:700}
.cvV2Modal .cvEditorHeader p{font-size:12px}
.cvV2Modal .cvHeaderActions{display:flex;gap:8px;align-items:center}
.cvV2Modal .cvHeaderActions .primarySmall{min-height:44px;width:auto;border-radius:10px}
.cvV2Modal .cvCloseX{width:44px;height:44px;font-size:24px}
.cvV2Modal .cvTabs{flex:0 0 auto;display:flex;gap:4px;padding:0 20px;border-bottom:1px solid rgba(202,150,77,.22);background:#0b0a08;overflow-x:auto}
.cvV2Modal .cvTabs button{min-height:50px;padding:0 18px;border:0;border-bottom:3px solid transparent;background:transparent;color:#a99c86;font-size:15px;font-weight:800;white-space:nowrap;cursor:pointer;display:inline-flex;align-items:center;gap:7px}
.cvV2Modal .cvTabs button.on{color:#f6dca4;border-bottom-color:#e0b665}
.cvV2Modal .cvTabs em{font-style:normal;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#ffd54a;color:#111;font-size:12px;display:inline-flex;align-items:center;justify-content:center}
.cvV2Modal .cvPane{flex:1 1 auto;min-height:0;overflow:auto;padding:18px 20px 0;-webkit-overflow-scrolling:touch}
.cvV2Modal .cvPane[hidden]{display:none}
.cvV2Modal .cvPane[data-pane="edit"]{padding:0}
.cvV2Modal .cvPane[data-pane="edit"] .cvEditorForm{overflow:visible}
.cvV2Modal .cvMatchPanel ul{max-height:none}

.cvProfile{max-width:920px;margin:0 auto;display:grid;gap:16px;color:#e4d9c6}
.cvPContact{display:flex;flex-wrap:wrap;gap:8px}
.cvPContact a,.cvPContact span{min-height:40px;display:inline-flex;align-items:center;gap:6px;padding:0 14px;border:1px solid rgba(202,150,77,.28);border-radius:999px;background:#12100c;color:#eadcc3;text-decoration:none;font-size:14px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cvPContact a:hover{border-color:#e0b665}
.cvPFacts{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px}
.cvPFacts div{padding:12px 14px;border:1px solid rgba(202,150,77,.22);border-radius:12px;background:linear-gradient(150deg,#13110d,#0b0a08)}
.cvPFacts small{display:block;color:#9a8e7b;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.cvPFacts b{display:block;margin-top:4px;color:#f3dfb4;font-size:16px}
.cvPSec{padding:16px 18px;border:1px solid rgba(202,150,77,.18);border-radius:14px;background:#0d0c0a}
.cvPSec h4{margin:0 0 12px;color:#e8c47f;font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:.07em;display:flex;align-items:center;gap:8px}
.cvPSec h4 em{font-style:normal;color:#9a8e7b;font-size:12px}
.cvPSummary{margin:0;line-height:1.65;font-size:15px;white-space:pre-wrap}
.cvPChips{display:flex;flex-wrap:wrap;gap:7px}
.cvPChips .cvSkillChip{display:inline-flex;align-items:center;min-height:34px;padding:0 13px;border-radius:999px;border:1px solid rgba(202,150,77,.3);background:#15120d;color:#dccdb4;font-size:14px;font-weight:700}
.cvTimeline{list-style:none;margin:0;padding:0 0 0 18px;border-left:2px solid rgba(202,150,77,.35);display:grid;gap:16px}
.cvTimeline li{position:relative}
.cvTimeline li:before{content:'';position:absolute;left:-25px;top:6px;width:12px;height:12px;border-radius:50%;background:#e0b665;box-shadow:0 0 0 3px #0d0c0a}
.cvTLHead{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline}
.cvTLHead b{color:#f6ead7;font-size:15px}
.cvTLHead span{color:#e8c47f;font-size:14px;font-weight:700}
.cvTimeline small{display:block;color:#9a8e7b;font-size:13px;margin-top:2px}
.cvTimeline p{margin:6px 0 0;color:#cfc3ae;font-size:14px;line-height:1.6;white-space:pre-wrap}
.cvPList{margin:0;padding-left:20px;line-height:1.7;font-size:14px}
.cvPList a{color:#e8c47f;word-break:break-all}
.cvPDl{margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
.cvPDl dt{color:#9a8e7b;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.cvPDl dd{margin:3px 0 0;font-size:14px;color:#eadcc3;word-break:break-word}
.cvPComment{margin:12px 0 0;padding:12px 14px;border-left:3px solid #e0b665;background:#13110d;border-radius:0 10px 10px 0;white-space:pre-wrap;line-height:1.6;font-size:14px}

.cvSeg{display:inline-flex;margin:0 0 12px;border:1px solid rgba(202,150,77,.35);border-radius:12px;overflow:hidden}
.cvSeg button{min-height:44px;padding:0 16px;border:0;background:#11100e;color:#bfb29c;font-size:14px;font-weight:800;cursor:pointer}
.cvSeg button.on{background:linear-gradient(135deg,#ca964d,#f0cf8c);color:#111}
.cvResumeText{max-width:920px;margin:0 auto;padding:22px 24px;border-radius:12px;background:#f7f4ee;color:#1d1a15;font-size:15px;line-height:1.7;white-space:pre-wrap;word-break:break-word;font-family:Georgia,'Times New Roman',serif}
.cvResumeText .cvSearchHighlight{background:#ffd54a;color:#000;box-shadow:0 0 0 2px #ffd54a}
.cvResumeText[hidden],.cvPdfBox[hidden]{display:none}
.cvPdfBox{display:grid;gap:10px}
.cvPdfFrame{width:100%;height:70vh;border:0;border-radius:12px;background:#fff}
.cvPdfOpen{justify-self:start;display:inline-flex;align-items:center;min-height:44px;text-decoration:none;width:auto!important}

.cvViewFooter{position:sticky;bottom:0;display:flex;justify-content:space-between;align-items:center;gap:10px;margin:18px -20px 0;padding:12px 20px calc(12px + env(safe-area-inset-bottom));border-top:1px solid rgba(202,150,77,.2);background:rgba(9,9,9,.97)}
.cvViewFooter>div{display:flex;gap:8px}
.cvViewFooter button,.cvV2Modal .cvEditorActions button{min-height:46px;width:auto;border-radius:10px;font-size:15px;padding:0 18px}
.cvV2Modal .cvEditorForm input,.cvV2Modal .cvEditorForm select{min-height:44px;font-size:15px}
.cvV2Modal .cvEditorForm textarea{font-size:15px}
.cvV2Modal .cvEditorForm .field>span{font-size:12px}
.cvV2Modal .iconBtn.danger{width:44px;height:44px}

/* ---------- Tablet & phone (<= 900px) ---------- */
@media (max-width:900px){
  body.cvWorkspaceMode{overflow:auto}
  .cvV2.cvWorkspaceShell{display:block;height:auto;min-height:100vh;overflow:visible}
  .cvV2 .cvSidebar{position:fixed;inset:0 auto 0 0;width:min(400px,92vw);height:100vh;height:100dvh;z-index:1700;opacity:1;transform:translateX(0);transition:transform .22s ease;box-shadow:24px 0 70px rgba(0,0,0,.7)}
  .cvV2.sidebar-closed .cvSidebar{transform:translateX(-104%);pointer-events:none}
  .cvV2.sidebar-open .cvSidebarScrim{display:block;position:fixed;inset:0;z-index:1650;background:rgba(0,0,0,.6)}
  .cvV2 .cvResultsArea{height:auto;min-height:100vh;padding:12px 12px 40px}
  .cvV2 .cvResultsToolbar{position:sticky;top:0;margin:0 -12px 12px;padding:10px 12px;background:#080808;border-bottom:1px solid rgba(202,150,77,.18);gap:8px}
  .cvV2 .cvResultsToolbarLeft{width:100%;gap:8px}
  .cvV2 .cvSortInline{margin-left:auto}
  .cvV2 .cvSortInline span{display:none}
  .cvV2 .cvResultsToolbarActions{width:100%;display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}
  .cvV2 .cvResultsToolbarActions button{width:100%}
  .cvV2 .cvActiveFilters{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;-webkit-overflow-scrolling:touch}
  .cvV2 .cvActiveFilters>*{flex:0 0 auto}
  .cvV2 .cvActiveLabel{display:none}
  /* rows become cards */
  .cvV2 .cvCandidateTable{border:0;border-radius:0;display:grid;gap:10px}
  .cvV2 .cvCandidateTableHead{display:none}
  .cvV2 .cvCandidateItem{border:1px solid rgba(202,150,77,.26)!important;border-radius:14px;background:#0e0d0a}
  .cvV2 .cvCandidateSummary.cvRowGrid{grid-template-columns:1fr auto;grid-template-areas:"who status" "facts facts" "contact contact" "skills skills" "actions actions";gap:10px;padding:14px}
  .cvV2 .cvCellWho{grid-area:who}.cvV2 .cvCellStatus{grid-area:status;align-self:start}.cvV2 .cvCellFacts{grid-area:facts;display:flex;flex-wrap:wrap;gap:6px 14px;align-items:baseline}
  .cvV2 .cvCellContact{grid-area:contact;display:flex;flex-wrap:wrap;gap:4px 14px}.cvV2 .cvCellSkills{grid-area:skills}.cvV2 .cvCellActions{grid-area:actions;justify-content:stretch}
  .cvV2 .cvCell>*{white-space:normal;word-break:break-word}
  .cvV2 .cvCellWho b{font-size:17px}
  .cvV2 .cvCellWho small,.cvV2 .cvCellFacts small,.cvV2 .cvCellContact{font-size:14px}
  .cvV2 .cvCellContact .cvMuted{display:none}
  .cvV2 .cvSkillChip{min-height:32px;font-size:13px;padding:0 11px}
  .cvV2 .cvViewBtn{flex:1;min-height:48px;font-size:16px}
  .cvV2 .cvRowToggle{height:48px;width:52px;flex-basis:52px}
  .cvV2 .cvRowMore{padding:0 14px 14px}
  .cvV2 .cvMoreGrid{grid-template-columns:1fr 1fr}
  .cvV2 .cvExpandedActions{flex-direction:column;align-items:stretch}
  .cvV2 .cvExpandedActions .primarySmall{width:100%;min-height:48px}
  /* CV modal goes full screen */
  .cvV2Modal.cvEditorModal{width:100vw;height:100vh;height:100dvh;max-height:none;border-radius:0;border:0}
  .cvModalBackdrop:has(.cvV2Modal){padding:0!important;align-items:stretch;justify-content:stretch}
  .cvV2Modal .cvEditorHeader{padding:12px 14px 10px;position:relative}
  .cvV2Modal .cvEditorHeader h2{font-size:19px;padding-right:50px}
  .cvV2Modal .cvParsedPill{display:none}
  .cvV2Modal .cvHeaderActions{position:absolute;top:8px;right:8px;flex-direction:row-reverse}
  .cvV2Modal .cvHeaderActions .primarySmall{display:none}
  .cvV2Modal .cvTabs{padding:0}
  .cvV2Modal .cvTabs button{flex:1;justify-content:center;padding:0 8px;min-height:52px}
  .cvV2Modal .cvPane{padding:14px 12px 0}
  .cvViewFooter{margin:16px -12px 0;padding:10px 12px calc(10px + env(safe-area-inset-bottom))}
  .cvViewFooter>div:last-child{flex:1;justify-content:flex-end}
  .cvViewFooter>div:last-child .primarySmall{flex:1}
  .cvResumeText{padding:16px;font-size:15px}
  .cvPSec{padding:14px}
  .cvPdfFrame{height:65vh}
}
@media (max-width:480px){
  .cvV2 .cvMoreGrid{grid-template-columns:1fr}
  .cvPFacts{grid-template-columns:1fr 1fr}
  .cvViewFooter>div:first-child:empty{display:none}
  .cvV2Modal .cvEditorActions{gap:8px}
}
/* Bigger targets on any touch screen, whatever its width */
@media (pointer:coarse){
  .cvV2 .cvChip{min-height:44px}
  .cvV2 .cvChip b{width:32px;height:32px}
  .cvV2 .cvSkillChip{min-height:32px}
}
.cvFooterRecruiter{display:none!important}
@media (max-width:900px){.cvFooterRecruiter{display:inline-flex!important}}

/* ---- review fixes ---- */
.cvV2 .cvCellStatus .cvStatusPill{white-space:normal;line-height:1.2;padding:5px 11px;text-align:left}
.cvV2 .cvFab{display:none}
.cvV2Modal .cvPane:not([hidden]){display:flex;flex-direction:column}
.cvV2Modal .cvPane>.cvViewFooter{margin-top:auto}
.cvV2Modal .cvPane>*:not(.cvViewFooter){flex:0 0 auto}
.cvV2Modal .cvMatchPanel{width:100%;max-width:920px;margin:0 auto 16px;box-sizing:border-box}
.cvV2Modal .cvProfile{width:100%}
.cvV2Modal .cvResumeText{width:100%;box-sizing:border-box}
.cvResHead{display:inline-block;margin-top:10px;font-family:Arial,Helvetica,sans-serif;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:#7a5a24;border-bottom:2px solid #e0c48a}
.cvV2Modal .cvPane[data-pane="resume"] .cvResumeText{margin-bottom:4px}
@media (max-width:900px){
  .cvV2 .cvResultsToolbar{position:static}
  .cvV2 .cvFab{display:inline-flex;position:fixed;right:16px;bottom:calc(18px + env(safe-area-inset-bottom));z-index:1500;align-items:center;gap:10px;min-height:56px;padding:0 20px;border-radius:999px;border:1px solid #ffe2a2;background:linear-gradient(135deg,#ca964d,#f0cf8c);color:#111;font-size:16px;font-weight:900;box-shadow:0 12px 30px rgba(0,0,0,.6)}
  .cvV2 .cvFab em{font-style:normal;min-width:24px;height:24px;border-radius:999px;background:#111;color:#ffd54a;font-size:13px;display:inline-flex;align-items:center;justify-content:center;padding:0 6px}
  .cvV2.sidebar-open .cvFab{display:none}
  .cvV2 .cvResultsArea{padding-bottom:96px}
  .cvV2 .cvCellStatus .cvStatusPill{white-space:nowrap}
  .cvV2Modal .cvHeaderActions{z-index:5}
  .cvV2Modal .cvCloseX{display:inline-flex!important;align-items:center;justify-content:center;background:#16120b;border:1px solid rgba(202,150,77,.4);color:#f0d49a;border-radius:12px}
  .cvViewFooter{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:8px}
  .cvViewFooter>div{display:contents}
  .cvViewFooter [data-close-cv-modal]{display:none}
  .cvViewFooter button{width:100%;padding:0 8px}
  .cvV2Modal .cvMatchPanel li:nth-child(n+3){display:none}
  .cvV2Modal .cvMatchHead .softBtn{margin-left:0;width:100%}
  .cvV2Modal .cvPane[data-pane="edit"] .cvEditorActions{position:static;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:16px 0 calc(16px + env(safe-area-inset-bottom))}
  .cvV2Modal .cvPane[data-pane="edit"] .cvEditorActions>div{display:contents}
  .cvV2Modal .cvPane[data-pane="edit"] .cvEditorActions button{width:100%}
  .cvV2Modal .cvPane[data-pane="edit"] .cvAutoSaveStatus{grid-column:1/-1;order:-1;text-align:center;font-size:13px}
}
@media (min-width:600px) and (max-width:900px){.cvV2 .cvCandidateTable{grid-template-columns:1fr 1fr;align-items:start}.cvV2 .cvCandidateItem.expanded{grid-column:1/-1}}

/* ---- Card layout on any screen size (default on desktop; List view still available) ---- */
.cvV2 .cvViewSwitch{margin:0}
.cvV2 .cvViewSwitch button{min-height:40px;padding:0 14px;font-size:13px}
.cvV2 .cvCards{border:0;border-radius:0;overflow:visible;display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:14px;align-items:start}
.cvV2 .cvCards .cvCandidateTableHead{display:none}
.cvV2 .cvCards .cvCandidateItem{border:1px solid rgba(202,150,77,.26)!important;border-radius:16px;background:linear-gradient(160deg,#13110d,#0b0a08);transition:border-color .15s,transform .15s,box-shadow .15s}
.cvV2 .cvCards .cvCandidateItem:hover{border-color:rgba(232,196,127,.7)!important;box-shadow:0 10px 30px rgba(0,0,0,.45)}
.cvV2 .cvCards .cvCandidateSummary.cvRowGrid{grid-template-columns:1fr auto;grid-template-areas:"who status" "facts facts" "contact contact" "skills skills" "actions actions";gap:10px;padding:16px;min-height:0}
.cvV2 .cvCards .cvCellWho{grid-area:who}
.cvV2 .cvCards .cvCellStatus{grid-area:status;align-self:start}
.cvV2 .cvCards .cvCellStatus .cvStatusPill{white-space:nowrap}
.cvV2 .cvCards .cvCellFacts{grid-area:facts;display:flex;flex-wrap:wrap;gap:6px 14px;align-items:baseline;padding:10px 0;border-top:1px solid rgba(202,150,77,.14);border-bottom:1px solid rgba(202,150,77,.14)}
.cvV2 .cvCards .cvCellContact{grid-area:contact;display:flex;flex-wrap:wrap;gap:4px 14px}
.cvV2 .cvCards .cvCellContact .cvMuted{display:none}
.cvV2 .cvCards .cvCellSkills{grid-area:skills}
.cvV2 .cvCards .cvCellActions{grid-area:actions;justify-content:stretch}
.cvV2 .cvCards .cvCell>*{white-space:normal;word-break:break-word}
.cvV2 .cvCards .cvCellWho b{font-size:17px}
.cvV2 .cvCards .cvCellWho small,.cvV2 .cvCards .cvCellFacts small,.cvV2 .cvCards .cvCellContact{font-size:13px}
.cvV2 .cvCards .cvViewBtn{flex:1;min-height:46px;font-size:15px}
.cvV2 .cvCards .cvRowToggle{height:46px;width:50px;flex-basis:50px}
.cvV2 .cvCards .cvRowMore{padding:0 16px 16px}
.cvV2 .cvCards .cvMoreGrid{grid-template-columns:1fr 1fr}
.cvV2 .cvCards .cvExpandedActions{flex-direction:column;align-items:stretch}
.cvV2 .cvCards .cvExpandedActions .primarySmall{width:100%}
@media (max-width:900px){.cvV2 .cvViewSwitch{display:none}}
@media (min-width:1700px){.cvV2 .cvCards{grid-template-columns:repeat(auto-fill,minmax(380px,1fr))}}

/* ---- Readability: brighter text where people read information (28 Sep) ---- */
.cvV2,.cvV2Modal{--cvRead:#f3eee6;--cvRead2:#e2dbcf}
.cvV2 .cvCellWho small,.cvV2 .cvCards .cvCellWho small{color:var(--cvRead2)}
.cvV2 .cvCellWho .cvRowPlace{color:#c9c1b3}
.cvV2 .cvCellFacts small,.cvV2 .cvCell,.cvV2 .cvCellContact span{color:var(--cvRead2)}
.cvV2 .cvSkillChip{color:var(--cvRead);border-color:rgba(232,196,127,.45);background:#1a1610}
.cvV2 .cvMoreGrid,.cvV2 .cvMoreGrid span{color:var(--cvRead2)}
.cvV2 .cvFilterHeading b,.cvV2 .cvFSecHead{color:var(--cvRead)}
.cvV2 .cvSidebarHead small{color:#b3aa9b}
.cvV2 .cvSortInline,.cvV2 .cvResultCount{color:#d6cfc2}
.cvV2 .cvSidebar input::placeholder{color:#8d8577}
.cvV2Modal .cvEditorHeader p{color:#c9c1b3}
.cvProfile,.cvPSummary,.cvTimeline p,.cvPList,.cvPDl dd,.cvPComment{color:var(--cvRead)}
.cvPContact a,.cvPContact span{color:var(--cvRead);border-color:rgba(232,196,127,.4)}
.cvTimeline small{color:#c9c1b3}
.cvTLHead b{color:#fff8ec}
.cvPFacts b{color:#fff1d2}
.cvPChips .cvSkillChip{color:var(--cvRead);border-color:rgba(232,196,127,.45);background:#1a1610}
.cvV2Modal .cvTabs button{color:#cfc7b9}
.cvV2Modal .cvEditorForm .field>span{color:var(--cvRead2)}
.cvV2Modal .cvMatchPanel li{color:var(--cvRead)}
.cvV2Modal .cvEditorHeader p.cvHeadTitle{color:#e8c47f}

/* ---- Traffic light (28 Sep): green = active, amber = keep for future, red = do not use, grey = not reviewed ---- */
:root{--tlGreen:#34c77b;--tlAmber:#f5a524;--tlRed:#ef5350;--tlGrey:#6f6a62}
.tone-green{background:rgba(52,199,123,.14);color:#8ff0bb;border-color:rgba(52,199,123,.55)!important}
.tone-amber{background:rgba(245,165,36,.14);color:#ffd08a;border-color:rgba(245,165,36,.55)!important}
.tone-red{background:rgba(239,83,80,.14);color:#ffaaa8;border-color:rgba(239,83,80,.55)!important}
.tone-grey{background:rgba(255,255,255,.04);color:#b9b2a6;border-color:rgba(255,255,255,.14)!important}
.cvStatusPill i{font-style:normal;margin-right:6px;font-weight:900}
.cvV2 .cvCandidateItem.light-green{box-shadow:inset 5px 0 0 var(--tlGreen)}
.cvV2 .cvCandidateItem.light-amber{box-shadow:inset 5px 0 0 var(--tlAmber)}
.cvV2 .cvCandidateItem.light-red{box-shadow:inset 5px 0 0 var(--tlRed)}
.cvV2 .cvCandidateItem.light-grey{box-shadow:inset 5px 0 0 var(--tlGrey)}
.cvV2 .cvCards .cvCandidateItem.light-red{background:linear-gradient(160deg,#1a0f0e,#0b0a08)}
.cvLightBar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 12px}
.cvLightBtn{min-height:44px;display:inline-flex;align-items:center;gap:8px;padding:0 14px;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:#11100d;color:#e2dbcf;font-size:14px;cursor:pointer}
.cvLightBtn b{font-weight:700}
.cvLightBtn em{font-style:normal;min-width:26px;height:24px;padding:0 7px;border-radius:999px;background:rgba(255,255,255,.08);display:inline-flex;align-items:center;justify-content:center;font-weight:800;font-size:13px}
.cvDot,.cvHeadLight{display:inline-block;width:14px;height:14px;border-radius:50%;flex:0 0 14px}
.light-green .cvDot,.cvHeadLight.light-green{background:var(--tlGreen);box-shadow:0 0 8px rgba(52,199,123,.7)}
.light-amber .cvDot,.cvHeadLight.light-amber{background:var(--tlAmber);box-shadow:0 0 8px rgba(245,165,36,.7)}
.light-red .cvDot,.cvHeadLight.light-red{background:var(--tlRed);box-shadow:0 0 8px rgba(239,83,80,.7)}
.light-grey .cvDot,.cvHeadLight.light-grey{background:var(--tlGrey)}
.cvLightBtn.on.light-green{border-color:var(--tlGreen);background:rgba(52,199,123,.16)}
.cvLightBtn.on.light-amber{border-color:var(--tlAmber);background:rgba(245,165,36,.16)}
.cvLightBtn.on.light-red{border-color:var(--tlRed);background:rgba(239,83,80,.16)}
.cvLightBtn.on.light-grey{border-color:#aaa;background:rgba(255,255,255,.08)}
.cvHeadLight{width:16px;height:16px;margin-right:10px;vertical-align:middle;position:relative;top:-2px}
.cvRedBanner{max-width:920px;width:100%;box-sizing:border-box;margin:0 auto 16px;padding:14px 16px;border-radius:12px;border:1px solid var(--tlRed);background:rgba(239,83,80,.14);display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center}
.cvRedBanner b{color:#ffb4b2;font-size:16px}
.cvRedBanner span{color:#f3e3e2;font-size:14px}
@media (max-width:900px){
  .cvLightBar{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;-webkit-overflow-scrolling:touch}
  .cvLightBar>*{flex:0 0 auto}
}
@media (max-width:600px){
  .cvLightBar{display:grid;grid-template-columns:1fr 1fr;overflow:visible}
  .cvLightBtn{justify-content:flex-start;padding:0 12px;font-size:14px}
  .cvLightBtn em{margin-left:auto}
  .cvLightBar .cvChipClear{grid-column:1/-1}
}
.cvLightBar.filtering .cvLightBtn:not(.on){opacity:.45}

/* ---- Status colours setting (28 Sep) ---- */
.cvLightEdit{min-height:44px;padding:0 14px;border-radius:999px;border:1px dashed rgba(232,196,127,.5);background:transparent;color:#e8c47f;font-size:14px;font-weight:800;cursor:pointer;margin-left:auto}
.cvColourModal{max-width:860px}
.cvColourBody{flex:1 1 auto;min-height:0;overflow:auto;padding:16px 20px;display:grid;gap:16px}
.cvColourGroup{border:1px solid rgba(202,150,77,.2);border-radius:14px;padding:12px 14px;background:#0d0c0a}
.cvColourGroup h4{margin:0 0 8px;display:flex;align-items:center;gap:6px;color:#f3eee6;font-size:15px}
.cvColourGroup h4 em{font-style:normal;color:#9a8e7b;font-size:13px;margin-left:4px}
.cvColourRow{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 14px;padding:8px 0;border-top:1px solid rgba(255,255,255,.06)}
.cvColourName{display:flex;align-items:center;gap:10px;min-width:180px}
.cvColourName b{color:#f3eee6;font-size:15px}
.cvColourReset{border:0;background:transparent;color:#e8c47f;font-size:12px;text-decoration:underline;cursor:pointer;min-height:32px}
.cvColourChoices{display:flex;gap:6px;flex-wrap:wrap}
.cvColourDot{min-height:40px;display:inline-flex;align-items:center;gap:6px;padding:0 10px;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:#11100d;color:#cfc7b9;cursor:pointer;opacity:.55}
.cvColourDot small{font-size:12px;font-weight:700}
.cvColourDot .cvDot{width:12px;height:12px;flex-basis:12px}
.cvColourDot.light-green .cvDot{background:var(--tlGreen)}.cvColourDot.light-amber .cvDot{background:var(--tlAmber)}.cvColourDot.light-red .cvDot{background:var(--tlRed)}.cvColourDot.light-grey .cvDot{background:var(--tlGrey)}
.cvColourDot.on{opacity:1;color:#fff}
.cvColourDot.on.light-green{border-color:var(--tlGreen);background:rgba(52,199,123,.16)}
.cvColourDot.on.light-amber{border-color:var(--tlAmber);background:rgba(245,165,36,.16)}
.cvColourDot.on.light-red{border-color:var(--tlRed);background:rgba(239,83,80,.16)}
.cvColourDot.on.light-grey{border-color:#aaa;background:rgba(255,255,255,.08)}
.cvNewStatusColour{flex-basis:100%;display:grid;gap:6px;margin-top:6px}
.cvNewStatusColour small{color:#e2dbcf;font-size:12px;font-weight:700}
.cvStatusAddRow:not([hidden]){display:flex;flex-wrap:wrap;gap:8px}
@media (max-width:900px){
  .cvLightEdit{margin-left:0;grid-column:1/-1}
  .cvColourBody{padding:12px}
  .cvColourRow{flex-direction:column;align-items:stretch}
  .cvColourChoices{display:grid;grid-template-columns:1fr 1fr}
  .cvColourDot{justify-content:flex-start;min-height:44px}
}
.cvColourModal .cvViewFooter{margin:0}
.cvColourDot{line-height:1}
.cvColourDot .cvDot{align-self:center}
@media (max-width:900px){
  .cvColourChoices{grid-template-columns:repeat(4,1fr);gap:6px}
  .cvColourDot{flex-direction:column;justify-content:center;gap:4px;min-height:54px;padding:4px 2px;border-radius:12px;text-align:center}
  .cvColourDot small{font-size:11px;line-height:1.1}
  .cvColourRow{gap:6px}
}
.cvColourNote{color:#8fe2ae;font-size:13px;font-weight:700}

/* ---- Needs review (28 Sep): details the parser could not find ---- */
.cvReviewBadge{display:inline-flex;align-items:center;width:max-content;max-width:100%;margin-top:4px;padding:3px 10px;border-radius:999px;border:1px dashed #ffd54a;color:#ffe08a;background:rgba(255,213,74,.08);font-size:12px;font-weight:800;white-space:nowrap}
.cvReviewBtn{min-height:44px;display:inline-flex;align-items:center;gap:8px;padding:0 14px;border-radius:999px;border:1px dashed #ffd54a;background:rgba(255,213,74,.06);color:#ffe08a;font-size:14px;cursor:pointer}
.cvReviewBtn em{font-style:normal;min-width:26px;height:24px;padding:0 7px;border-radius:999px;background:rgba(255,213,74,.2);display:inline-flex;align-items:center;justify-content:center;font-weight:900;font-size:13px}
.cvReviewBtn.on{border-style:solid;background:rgba(255,213,74,.18)}
.cvReviewPanel{max-width:920px;width:100%;box-sizing:border-box;margin:0 auto 16px;padding:14px 16px;border-radius:12px;border:1px dashed #ffd54a;background:rgba(255,213,74,.08);display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;justify-content:space-between}
.cvReviewPanel>div{display:grid;gap:4px}
.cvReviewPanel b{color:#ffe08a;font-size:15px}
.cvReviewPanel span{color:#f3eee6;font-size:14px}
.cvReviewPanel strong{color:#fff}
.cvReviewPanel .softBtn{width:auto;min-height:44px}
.cvPane[data-pane="edit"]>.cvReviewPanel{margin:16px 20px 0;width:auto}
.cvMissingField input,.cvMissingField textarea,.cvMissingField select{border:2px dashed #ffd54a!important}
.cvMissingField>span::after{content:" · missing";color:#ffd54a;font-weight:800}
.cvMissingSection{border:2px dashed #ffd54a!important}
@media (max-width:900px){.cvPane[data-pane="edit"]>.cvReviewPanel{margin:12px 12px 0}.cvReviewBtn{grid-column:1/-1;justify-content:center}}
@media (max-width:900px){.cvLightBar .cvReviewBtn,.cvLightBar .cvLightEdit{grid-column:auto;justify-content:center;padding:0 8px;font-size:13px}}
.cvReviewActions{display:flex;flex-wrap:wrap;gap:8px}
.cvRereadAll{min-height:44px;padding:0 14px;border-radius:999px;border:1px solid #ffd54a;background:#ffd54a;color:#111;font-size:14px;font-weight:900;cursor:pointer}
.cvRereadAll:disabled{opacity:.7;cursor:progress}
.cvEditorActions [data-reread-cv]{width:auto}
@media (max-width:900px){.cvLightBar .cvRereadAll{grid-column:1/-1}.cvReviewActions{width:100%}.cvReviewActions .softBtn{flex:1}}
.cvReviewPanel>.cvReviewActions{display:flex;flex-wrap:wrap;gap:8px}

/* ---- Job spec matching (28 Sep) ---- */
.cvMatchSpecButton{min-height:44px;width:auto!important;border-radius:10px;font-weight:800}
.cvMatchBanner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;margin:0 0 14px;padding:14px 16px;border-radius:14px;border:1px solid rgba(110,170,255,.55);background:rgba(110,170,255,.1)}
.cvMatchBanner>div:first-child{display:grid;gap:4px}
.cvMatchBanner b{color:#cfe0ff;font-size:16px}
.cvMatchBanner span{color:#e2dbcf;font-size:13px}
.cvMatchBannerActions{display:flex;gap:8px;flex-wrap:wrap}
.cvMatchBannerActions .softBtn{width:auto;min-height:44px;border-radius:10px}
.cvScore{display:inline-flex;align-items:center;width:max-content;margin-bottom:4px;padding:3px 10px;border-radius:999px;font-size:13px;font-weight:900}
.cvScore.hi{background:#1f8f55;color:#fff}.cvScore.mid{background:#c47d0e;color:#fff}.cvScore.lo{background:#57534d;color:#fff}
.cvMatchLine{display:flex;flex-wrap:wrap;gap:5px}
.cvReq{display:inline-flex;align-items:center;min-height:26px;padding:0 9px;border-radius:999px;font-size:12px;font-weight:800;white-space:nowrap}
.cvReq.ok{background:rgba(52,199,123,.14);color:#8ff0bb;border:1px solid rgba(52,199,123,.5)}
.cvReq.no{background:rgba(239,83,80,.1);color:#ffaaa8;border:1px dashed rgba(239,83,80,.6)}
.cvReq.opt{background:rgba(110,170,255,.12);color:#b9d3ff;border:1px solid rgba(110,170,255,.45)}
.cvSpecModal{max-width:900px}
.cvSpecBody{flex:1 1 auto;min-height:0;overflow:auto;padding:16px 20px 0;display:flex;flex-direction:column;gap:14px}
.cvSpecBody>.cvViewFooter{margin:auto -20px 0}
.cvSpecText{width:100%;min-height:240px;box-sizing:border-box;padding:12px;border-radius:10px;border:1px solid rgba(202,150,77,.3);background:#0b0a08;color:#f3eee6;font-size:15px;line-height:1.5}
.cvSpecOr{display:flex;align-items:center;gap:12px;margin-top:10px;color:#9a8e7b;flex-wrap:wrap}
.cvSpecFile{width:auto!important;display:inline-flex;align-items:center;min-height:44px;cursor:pointer}
.cvSpecGrid{display:grid;grid-template-columns:2fr 1fr 1.4fr;gap:12px;margin-bottom:14px}
.cvSpecGrid input,.cvSpecSkills input{width:100%;box-sizing:border-box;min-height:44px;font-size:15px;border-radius:10px;padding:0 10px;background:#0b0a08;color:#f3eee6;border:1px solid rgba(202,150,77,.3)}
.cvSpecSkills{display:grid;gap:8px;margin-top:12px}
.cvSpecSkills>b{color:#f3eee6;font-size:14px}.cvSpecSkills em{font-style:normal;color:#9a8e7b}
.cvSpecChips{display:flex;flex-wrap:wrap;gap:8px}
.cvSpecChip.optional{border-color:rgba(110,170,255,.55);background:rgba(110,170,255,.1);color:#cfe0ff}
@media (max-width:900px){.cvSpecGrid{grid-template-columns:1fr}.cvSpecBody{padding:12px 12px 0}.cvSpecBody>.cvViewFooter{margin:auto -12px 0}.cvMatchBannerActions{width:100%}.cvMatchBannerActions .softBtn{flex:1}.cvViewFooter [data-spec-restart]{font-size:13px}}
.cvSpecModal .cvSpecChip{min-height:40px;display:inline-flex;align-items:center;gap:8px;padding:0 6px 0 14px;border-radius:999px;border:1px solid rgba(52,199,123,.55);background:rgba(52,199,123,.12);color:#c9f5dc;font-size:14px;font-weight:700;cursor:pointer}
.cvSpecModal .cvSpecChip.optional{border-color:rgba(110,170,255,.55);background:rgba(110,170,255,.12);color:#cfe0ff}
.cvSpecModal .cvSpecChip b{width:28px;height:28px;border-radius:999px;background:rgba(255,255,255,.1);display:inline-flex;align-items:center;justify-content:center;font-size:16px}
.cvSpecModal .cvSpecChip:hover b{background:rgba(239,83,80,.6);color:#fff}
.cvSpecModal .cvPSec h4{flex-wrap:wrap}
.cvFooterDelete{color:#ffaaa8!important;border-color:rgba(239,83,80,.5)!important}
.cvFooterDelete:hover{background:rgba(239,83,80,.15)!important}
.cvReq.near{background:rgba(245,165,36,.12);color:#ffd08a;border:1px solid rgba(245,165,36,.5)}

/* ---- Job spec results grouped by location (28 Sep) ---- */
.cvGroupHead{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:6px 0 2px;padding:12px 14px;border-radius:12px;border:1px solid rgba(255,255,255,.12);background:#11100d}
.cvGroupHead>div{display:grid;gap:2px}
.cvGroupHead b{color:#f3eee6;font-size:16px}
.cvGroupHead span{color:#b3aa9b;font-size:13px}
.cvGroupHead .softBtn{width:auto;min-height:40px;border-radius:10px}
.cvGroupHead.group-city{border-color:rgba(52,199,123,.55);background:rgba(52,199,123,.08)}
.cvGroupHead.group-country{border-color:rgba(245,165,36,.5);background:rgba(245,165,36,.07)}
.cvCandidateTable:not(.cvCards) .cvGroupHead{border-radius:0;margin:0;border-width:0 0 1px 0}
.cvGroupLinks{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.cvGroupLink{min-height:36px;display:inline-flex;align-items:center;gap:6px;padding:0 12px;border-radius:999px;border:1px solid rgba(255,255,255,.18);background:#11100d;color:#e2dbcf;font-size:13px;font-weight:800;cursor:pointer}
.cvGroupLink em{font-style:normal;padding:0 6px;border-radius:999px;background:rgba(255,255,255,.1)}
.cvGroupLink.group-city{border-color:rgba(52,199,123,.6);color:#8ff0bb}
.cvGroupLink.group-country{border-color:rgba(245,165,36,.6);color:#ffd08a}
.cvReq.unknown{background:rgba(255,255,255,.05);color:#c9c1b3;border:1px dashed rgba(255,255,255,.3)}
@media (max-width:900px){.cvGroupLink{min-height:44px}}
.cvGroupHead{scroll-margin-top:96px}

/* ==== Declutter (29 Sep 2026): search first, filters on demand, quiet cards,
   vertical traffic-light strip on the right (swipe row on phones), "More" menu ==== */
.cvV2 .cvTopBar{display:grid;gap:10px;margin:0 0 14px}
.cvV2 .cvSearchRow{display:flex;gap:10px;align-items:stretch}
.cvV2 .cvMainSearch{position:relative;flex:1 1 auto;min-width:0}
.cvV2 .cvMainSearch input{width:100%;box-sizing:border-box;height:50px;padding:0 48px 0 46px;border-radius:14px;border:1px solid rgba(232,196,127,.45);background:#0d0c0a;color:#f3eee6;font-size:16px}
.cvV2 .cvMainSearch input:focus{outline:none;border-color:#e8c47f;box-shadow:0 0 0 3px rgba(232,196,127,.18)}
.cvV2 .cvMainSearch input::placeholder{color:#8d8577}
.cvV2 .cvSearchIcon{position:absolute;left:16px;top:50%;transform:translateY(-50%);color:#e8c47f;font-size:20px;pointer-events:none}
.cvV2 .cvMainSearch .cvClearSearch{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:38px;height:38px;border-radius:10px;border:0;background:rgba(255,255,255,.06);color:#e2dbcf;font-size:20px;cursor:pointer}
.cvV2 .cvFilterBtn{width:auto!important;height:50px;min-height:50px;display:inline-flex;align-items:center;gap:8px;padding:0 18px;border-radius:14px;font-size:15px;font-weight:800;justify-content:center}
.cvV2 .cvFilterBtn.on{border-color:#e8c47f;background:rgba(232,196,127,.12)}
.cvV2 .cvFilterBtn em{font-style:normal;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#e8c47f;color:#111;font-size:12px;font-weight:900;display:inline-flex;align-items:center;justify-content:center}
.cvV2 .cvToolRow{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.cvV2 .cvToolRow .cvResultCount{font-size:14px;color:#e2dbcf;font-weight:800;align-self:center}
.cvV2 .cvToolActions{margin-left:auto;display:flex;align-items:center;gap:8px}
.cvV2 .cvToolActions>button,.cvV2 .cvMoreBtn{width:auto!important;min-height:44px;border-radius:10px;font-size:14px}
.cvV2 .cvNarrowOnly{display:none!important}
/* More menu */
.cvV2 .cvMoreWrap{position:relative}
.cvV2 .cvMoreBtn{font-weight:800;padding:0 14px}
.cvV2 .cvMoreMenu{position:absolute;right:0;top:calc(100% + 6px);z-index:60;min-width:260px;display:grid;padding:6px;border-radius:14px;border:1px solid rgba(232,196,127,.35);background:#12100c;box-shadow:0 18px 50px rgba(0,0,0,.6)}
.cvV2 .cvMoreMenu button{display:flex;align-items:center;gap:10px;min-height:46px;padding:0 12px;border:0;border-radius:10px;background:transparent;color:#f3eee6;font-size:14px;font-weight:700;text-align:left;cursor:pointer}
.cvV2 .cvMoreMenu button:hover{background:rgba(232,196,127,.1)}
.cvV2 .cvMoreMenu button em{margin-left:auto;font-style:normal;min-width:24px;height:22px;padding:0 7px;border-radius:999px;background:rgba(255,213,74,.2);color:#ffe08a;font-size:12px;font-weight:900;display:inline-flex;align-items:center;justify-content:center}
/* Review banner (opened from More) */
.cvV2 .cvReviewBanner{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:0 0 14px;padding:12px 16px;border-radius:14px;border:1px dashed #ffd54a;background:rgba(255,213,74,.07)}
.cvV2 .cvReviewBanner b{color:#ffe08a;font-size:15px}
.cvV2 .cvReviewBanner span{color:#e2dbcf;font-size:13px;flex:1 1 280px}
.cvV2 .cvReviewBanner>div{display:flex;gap:8px;flex-wrap:wrap}
.cvV2 .cvReviewBanner .softBtn{width:auto;min-height:40px;border-radius:10px}
/* List + right-hand traffic-light strip */
.cvV2 .cvListWrap{display:flex;align-items:flex-start;gap:16px}
.cvV2 .cvListMain{flex:1 1 auto;min-width:0}
.cvV2 .cvLightRail{position:sticky;top:0;flex:0 0 132px;display:flex;flex-direction:column;gap:8px;padding:12px 10px;border-radius:16px;border:1px solid rgba(202,150,77,.22);background:#0d0c0a}
.cvV2 .cvRailTitle{color:#9a8e7b;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;padding:0 4px 2px}
.cvV2 .cvLightRail .cvLightBtn{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;align-items:center;column-gap:8px;row-gap:2px;min-height:58px;padding:8px 10px;border-radius:12px;text-align:left}
.cvV2 .cvLightRail .cvLightBtn .cvDot{grid-row:1/3}
.cvV2 .cvLightRail .cvLightBtn b{font-size:13px;line-height:1.15}
.cvV2 .cvLightRail .cvLightBtn em{justify-self:start;min-width:0;height:auto;padding:0;background:none;font-size:17px;font-weight:900;color:#f3eee6}
.cvV2 .cvLightRail.filtering .cvLightBtn:not(.on){opacity:.45}
.cvV2 .cvRailAll{min-height:36px;border-radius:10px;border:1px solid rgba(255,255,255,.14);background:transparent;color:#cfc7b9;font-size:13px;font-weight:800;cursor:pointer}
.cvV2 .cvRailAll.on{border-color:rgba(232,196,127,.5);color:#e8c47f}
.cvV2 .cvDot{width:12px;height:12px;border-radius:999px;display:inline-block;flex:0 0 12px}
/* Quieter cards: whole card opens the CV, one small View button */
.cvV2 .cvCandidateItem{cursor:pointer}
.cvV2 .cvCandidateItem:focus-visible{outline:2px solid #e8c47f;outline-offset:2px}
.cvV2 .cvQuietBtn{width:auto;min-height:40px;padding:0 14px;border-radius:10px;border:1px solid rgba(232,196,127,.4);background:transparent;color:#e8c47f;font-size:14px;font-weight:800;cursor:pointer}
.cvV2 .cvQuietBtn:hover{background:rgba(232,196,127,.1)}
.cvV2 .cvCards .cvCellActions{display:flex;justify-content:flex-end;gap:8px}
.cvV2 .cvCards .cvViewBtn.cvQuietBtn{flex:0 0 auto;min-height:40px;font-size:14px}
.cvV2 .cvCards .cvRowToggle{height:40px;width:44px;flex-basis:44px}
.cvV2 .cvCards .cvCellFacts:empty{display:none}
.cvV2 .cvCards .cvCellSkills:empty,.cvV2 .cvCards .cvCellContact:empty{display:none}
.cvV2 .cvCards .cvCandidateSummary.cvRowGrid{gap:8px;padding:14px 16px}
.cvV2 .cvCards{grid-template-columns:repeat(auto-fill,minmax(310px,1fr))}
.cvV2 .cvExpandedActions .cvQuietBtn{align-self:flex-end}
/* Filters panel: most-used first */
.cvV2 .cvQuickFilters{display:grid;gap:14px;padding:4px 2px 14px}
.cvV2 .cvMoreFiltersToggle{width:100%;min-height:48px;display:flex;align-items:center;gap:10px;padding:0 14px;margin:0 0 10px;border-radius:12px;border:1px dashed rgba(232,196,127,.45);background:transparent;color:#e8c47f;font-size:15px;font-weight:800;cursor:pointer}
.cvV2 .cvMoreFiltersToggle b{margin-left:auto}
.cvV2 .cvLoadMore{display:flex;align-items:center;justify-content:center;gap:14px;margin:18px 0 8px;color:#b3aa9b;font-size:14px}
.cvV2 .cvLoadMore .softBtn{width:auto;min-height:44px;border-radius:10px;padding:0 22px}
.cvV2 .cvFabUpload{display:none}
.cvV2 .cvFab{display:none!important}
/* Desktop: filters as a left panel only when opened */
@media (min-width:901px){
  .cvV2.cvWorkspaceShell.sidebar-closed{grid-template-columns:0 minmax(0,1fr)}
  .cvV2 .cvResultsArea{padding-top:18px}
}
@media (min-width:901px) and (max-width:1180px){.cvV2 .cvLightRail{flex-basis:112px}.cvV2 .cvLightRail .cvLightBtn b{font-size:12px}}
/* Tablet & phone */
@media (max-width:900px){
  .cvV2 .cvTopBar{position:sticky;top:0;z-index:40;margin:-12px -12px 12px;padding:10px 12px;background:#080808;border-bottom:1px solid rgba(202,150,77,.2)}
  .cvV2 .cvMainSearch input{height:48px;font-size:16px}
  .cvV2 .cvFilterBtn{height:48px;min-height:48px;padding:0 14px}
  .cvV2 .cvToolRow{gap:8px;flex-wrap:nowrap}
  .cvV2 .cvToolRow .cvSortInline span{display:none}
  .cvV2 .cvToolRow .cvSortInline select{min-height:40px}
  .cvV2 .cvWideOnly{display:none!important}
  .cvV2 .cvNarrowOnly{display:flex!important}
  .cvV2 .cvMoreBtn span{display:none}
  .cvV2 .cvMoreBtn{min-height:40px;font-size:20px;padding:0 14px}
  .cvV2 .cvListWrap{flex-direction:column;align-items:stretch;gap:10px}
  .cvV2 .cvLightRail{order:-1;position:static;flex:none;flex-direction:row;overflow-x:auto;gap:6px;padding:0;border:0;background:transparent;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .cvV2 .cvLightRail::-webkit-scrollbar{display:none}
  .cvV2 .cvRailTitle{display:none}
  .cvV2 .cvLightRail .cvLightBtn{flex:0 0 auto;display:inline-flex;min-height:40px;padding:0 12px;border-radius:999px;gap:6px}
  .cvV2 .cvLightRail .cvLightBtn em{font-size:13px;color:#cfc7b9}
  .cvV2 .cvLightRail .cvLightBtn b{font-size:13px;white-space:nowrap}
  .cvV2 .cvRailAll{flex:0 0 auto;min-height:40px;padding:0 14px;border-radius:999px}
  .cvV2 .cvFabUpload{display:inline-flex;align-items:center;justify-content:center;position:fixed;right:18px;bottom:calc(20px + env(safe-area-inset-bottom));z-index:1500;width:60px;height:60px;border-radius:999px;border:1px solid #ffe2a2;background:linear-gradient(135deg,#ca964d,#f0cf8c);color:#111;font-size:32px;font-weight:700;box-shadow:0 12px 30px rgba(0,0,0,.55);cursor:pointer}
  .cvV2.sidebar-open .cvFabUpload{display:none}
  .cvV2 .cvCards .cvCandidateSummary.cvRowGrid{padding:14px}
  .cvV2 .cvCards .cvViewBtn.cvQuietBtn{min-height:44px}
  .cvV2 .cvCards .cvRowToggle{height:44px}
  .cvV2 .cvSidebarHead .iconBtn{display:inline-flex}
}
@media (min-width:901px){.cvV2 .cvSidebarHead .iconBtn{display:inline-flex;align-items:center;justify-content:center}}
.cvV2 .cvMainSearch .cvClearSearch[hidden]{display:none}
.cvV2 .cvSearchIcon{width:20px;height:20px}
.cvV2 .cvMoreMenu button{width:100%;justify-content:flex-start}

/* ---- Saved job specs (29 Sep 2026) ---- */
.cvSpecOr .cvSpecReadBtn{width:auto;min-height:44px;border-radius:10px;margin-left:auto}
.cvSavedSpecs h4 em{font-style:normal;color:#9a8e7b;font-size:13px;margin-left:6px;font-weight:700}
.cvSavedSearch{width:100%;box-sizing:border-box;min-height:44px;margin:4px 0 10px;padding:0 12px;border-radius:10px;border:1px solid rgba(202,150,77,.3);background:#0b0a08;color:#f3eee6;font-size:15px}
.cvSavedList{display:grid;gap:8px;max-height:420px;overflow:auto;padding-right:2px}
.cvSavedSpec{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 14px;padding:12px 14px;border-radius:12px;border:1px solid rgba(202,150,77,.22);background:#0d0c0a}
.cvSavedInfo{display:grid;gap:3px;min-width:0;flex:1 1 280px}
.cvSavedInfo b{color:#f3eee6;font-size:15px}
.cvSavedInfo span{color:#e2dbcf;font-size:13px}
.cvSavedInfo small{color:#cfc7b9;font-size:12px}
.cvSavedInfo em{font-style:normal;color:#9a8e7b;font-size:12px}
.cvSavedActions{display:flex;flex-wrap:wrap;gap:6px}
.cvSavedActions button{width:auto;min-height:40px;border-radius:10px;padding:0 14px}
.cvSavedDelete{color:#ffaaa8!important;border-color:rgba(239,83,80,.5)!important}
.cvSavedNote{color:#9a8e7b;font-size:12px;margin:8px 0 0}
@media (max-width:900px){.cvSavedActions{width:100%;display:grid;grid-template-columns:1fr 1fr 1fr auto}.cvSavedActions button{min-height:44px;padding:0 8px}.cvSavedList{max-height:none}.cvSpecOr .cvSpecReadBtn{width:100%;margin-left:0}}
.cvSpecModal .cvSpecText{min-height:150px}
.cvSpecModal .cvSavedSpecs+.cvNewSpec .cvSpecText{min-height:110px}
.cvSpecModal .cvSavedSpecs .cvSavedList{max-height:none}

/* ---- Recruiter logins (29 Sep 2026) ---- */
.cvRecruiterLoginsModal .cvSavedList{max-height:none}
.cvRlRow.off{opacity:.75;border-style:dashed}
.cvRlOn{font-style:normal;color:#8ff0bb;font-weight:800}
.cvRlOff{font-style:normal;color:#ffaaa8;font-weight:800}
.cvRlActions select{min-height:40px;border-radius:10px;padding:0 10px;background:#0b0a08;color:#f3eee6;border:1px solid rgba(202,150,77,.3);font-size:14px}
.cvRlReset{flex-basis:100%;display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding-top:6px;border-top:1px solid rgba(255,255,255,.06)}
.cvRlReset input{flex:1 1 240px;min-height:44px;border-radius:10px;padding:0 12px;background:#0b0a08;color:#f3eee6;border:1px solid rgba(232,196,127,.5);font-size:15px}
.cvRlReset button{width:auto;min-height:44px;border-radius:10px}
.cvRlReset small{flex-basis:100%;color:#9a8e7b;font-size:12px}
@media (max-width:900px){.cvRlActions{grid-template-columns:1fr 1fr 1fr!important}.cvRlActions select{grid-column:1/-1;min-height:44px}}

/* ---- Upload notifications + red group in job-spec matches (29 Sep 2026) ---- */
.cvNotifySwitch{display:flex;align-items:center;gap:12px;min-height:48px;font-size:16px;font-weight:800;color:#f3eee6;cursor:pointer}
.cvNotifySwitch input{width:22px;height:22px;accent-color:#e8c47f}
.cvNotifyModal .cvSpecText.cvNotifyEmails{min-height:120px}
.cvNotifyResult p{margin:8px 0 0;font-size:14px}
.cvNotifyResult .ok{color:#8ff0bb}.cvNotifyResult .bad{color:#ffaaa8}
.cvGroupHead.group-red{border-color:rgba(239,83,80,.55);background:rgba(239,83,80,.08)}
.cvGroupLink.group-red{border-color:rgba(239,83,80,.6);color:#ffaaa8}

/* ---- Import from website (29 Sep 2026) ---- */
.cvPiStats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.cvPiStats>div{padding:12px 14px;border-radius:12px;border:1px solid rgba(202,150,77,.25);background:#0d0c0a;display:grid;gap:2px}
.cvPiStats b{font-size:24px;color:#f3eee6}.cvPiStats span{font-size:12px;color:#b3aa9b}
.cvPiBar{height:12px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden;margin:14px 0 6px}
.cvPiBar i{display:block;height:100%;background:linear-gradient(90deg,#ca964d,#f0cf8c);transition:width .3s}
.cvPiLine{color:#e2dbcf;font-size:14px;margin:0}.cvPiLine .bad{color:#ffaaa8}
.cvPiMap{width:100%;border-collapse:collapse;margin:6px 0 10px}
.cvPiMap th,.cvPiMap td{text-align:left;padding:7px 8px;border-bottom:1px solid rgba(255,255,255,.07);color:#e2dbcf;font-size:14px}
.cvPiMap th{color:#9a8e7b;font-size:12px;text-transform:uppercase;letter-spacing:.05em}
.cvPiNotes{margin:0;padding-left:18px;color:#cfc7b9;font-size:13px;display:grid;gap:4px}
@media (max-width:600px){.cvPiStats{grid-template-columns:1fr}}
.cvPiLarge{margin-top:12px;color:#ffd08a;font-size:14px}.cvPiLarge summary{cursor:pointer;font-weight:800}
.cvPiDups summary{color:#cfe0ff}.cvPiDupBar{margin:8px 0}.cvPiDupBar .softBtn{width:auto;min-height:38px;border-radius:10px}
.cvPiDups a{color:#e8c47f}.cvPiDups small{color:#9a8e7b}

/* Cards: status sits on its own line above the name so long statuses never squeeze the name (1 Oct 2026) */
.cvV2 .cvCards .cvCandidateSummary.cvRowGrid{grid-template-columns:minmax(0,1fr);grid-template-areas:"status" "who" "facts" "contact" "skills" "actions"}
.cvV2 .cvCards .cvCellStatus:empty{display:none}
.cvV2 .cvCards .cvCellStatus .cvStatusPill{max-width:100%;overflow:hidden;text-overflow:ellipsis}
.cvV2 .cvCards .cvCellWho b{word-break:normal;overflow-wrap:anywhere}

/* Website profiles without a CV file (2 Oct 2026) */
.cvNoCvBadge{display:inline-block;margin-left:8px;padding:2px 8px;border-radius:999px;border:1px solid rgba(160,170,190,.45);color:#b9c2d6;font-size:11px;font-weight:800;vertical-align:middle;white-space:nowrap}
.cvPiProfiles .primarySmall{width:auto}

/* "Searching…" bar: shown while a new search runs; the list is held still until results arrive (2 Oct 2026) */
.cvBusyBar{display:none;position:sticky;top:8px;z-index:30;margin:0 0 10px;padding:12px 16px;border-radius:12px;border:1px solid rgba(232,196,127,.55);background:#17130c;color:#f1dfba;align-items:center;gap:10px;overflow:hidden;box-shadow:0 8px 24px rgba(0,0,0,.5)}
.cvBusyBar b{font-size:15px}.cvBusyBar small{color:#b9a988;font-size:13px}
.cvBusyBar i{position:absolute;left:0;bottom:0;height:3px;width:40%;background:linear-gradient(90deg,transparent,#e8c47f,transparent);animation:cvBusySlide 1.1s linear infinite}
.cvBusySpin{width:18px;height:18px;flex:0 0 18px;border-radius:50%;border:2px solid rgba(232,196,127,.3);border-top-color:#e8c47f;animation:cvBusyTurn .8s linear infinite}
.cvBusy .cvBusyBar{display:flex}
.cvBusy .cvListWrap{opacity:.35;pointer-events:none;transition:opacity .15s}
.cvBusy .cvSearchIcon{opacity:.35}
@keyframes cvBusySlide{from{transform:translateX(-100%)}to{transform:translateX(250%)}}
@keyframes cvBusyTurn{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.cvBusyBar i,.cvBusySpin{animation-duration:3s}}

/* Search tips link + panel, and the admin-only search index line (2 Oct 2026) */
.cvV2 .cvSearchHelp{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:-2px}
.cvV2 .cvTipsLink{background:none;border:0;padding:6px 2px;min-height:32px;color:#e8c47f;font:inherit;font-size:13px;font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.cvV2 .cvTipsLink:focus-visible{outline:2px solid #e8c47f;outline-offset:2px;border-radius:6px}
.cvV2 .cvIndexState{font-size:12px;font-weight:700;color:#b8aa94;white-space:nowrap}
.cvV2 .cvIndexState.off{color:#f0a48c}
.cvV2 .cvTipsPanel{border:1px solid rgba(232,196,127,.3);border-radius:14px;background:#0d0c0a;padding:12px 14px;color:#e2dbcf;font-size:14px;line-height:1.45}
.cvV2 .cvTipsPanel ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.cvV2 .cvTipsPanel li{display:grid;grid-template-columns:172px 1fr;gap:12px;align-items:baseline}
.cvV2 .cvTipsPanel code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;color:#f3eee6;background:rgba(232,196,127,.12);border-radius:6px;padding:2px 6px;justify-self:start;overflow-wrap:anywhere}
.cvV2 .cvTipsPanel p{margin:10px 0 0;font-size:13px;color:#b8aa94}
@media (max-width:640px){.cvV2 .cvTipsPanel li{grid-template-columns:1fr;gap:3px}}
@media (max-width:640px){.cvV2 .cvTipsPanel{max-height:46vh;overflow:auto}}
