
:root{
  --dn-red:#e1251b;
  --dn-red-dark:#c91c14;
  --ink:#17181b;
  --ink2:#25272c;
  --ink3:#34373d;
  --bg:#f3f3f1;
  --panel:#ffffff;
  --line:#e4e4e1;
  --line2:#d7d8d5;
  --muted:#74777d;
  --muted2:#9a9da2;
  --green:#317a4a;
  --green-bg:#edf7f0;
  --amber:#996b13;
  --amber-bg:#fff5db;
  --blue:#41627e;
  --blue-bg:#eef4f8;
  --purple:#625a8d;
  --purple-bg:#f3f1fa;
  --danger-bg:#fcefee;
  --shadow:0 18px 50px rgba(15,18,20,.12);
  --sidebar:218px;
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg)}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
a{text-decoration:none;color:inherit}
.hidden{display:none!important}
.app{display:grid;grid-template-columns:var(--sidebar) 1fr;min-height:100vh;transition:grid-template-columns .2s ease}
.app.collapsed{--sidebar:74px}
.sidebar{position:sticky;top:0;height:100vh;background:#151619;color:#fff;padding:18px 12px;display:flex;flex-direction:column;z-index:30}
.logo{height:58px;padding:2px 8px 16px;display:flex;align-items:center;overflow:hidden}
.dnLogo{width:160px;max-width:none;display:block;filter:brightness(0) invert(1)}
.app.collapsed .dnLogo{width:160px;transform:translateX(-3px)}
.collapseBtn{position:absolute;right:-13px;top:74px;width:26px;height:26px;border:1px solid #3b3d42;background:#1f2125;color:#fff;border-radius:50%;display:grid;place-items:center;font-size:12px}
.nav{display:flex;flex-direction:column;gap:2px;margin-top:10px}
.navItem{position:relative;border:0;background:transparent;color:#a9adb4;display:grid;grid-template-columns:32px 1fr;align-items:center;min-height:43px;padding:0 10px;border-radius:7px;text-align:left;gap:4px}
.navItem:hover{background:#202226;color:#fff}
.navItem.active{background:#222428;color:#fff}
.navItem.active:before{content:"";position:absolute;left:-12px;top:8px;bottom:8px;width:3px;background:var(--dn-red)}
.navNo{font-size:10px;color:#71757c;letter-spacing:.08em}
.navItem.active .navNo{color:var(--dn-red)}
.navLabel{font-size:12px;font-weight:650;white-space:nowrap}
.app.collapsed .navLabel{display:none}
.app.collapsed .navItem{grid-template-columns:1fr;justify-items:center;padding:0}
.sidebarBottom{margin-top:auto;border-top:1px solid #2d3035;padding-top:12px}
.user{display:grid;grid-template-columns:30px 1fr;gap:9px;align-items:center;padding:8px}
.avatar{width:30px;height:30px;border-radius:50%;background:#fff;color:#111;display:grid;place-items:center;font-size:10px;font-weight:800}
.userTxt strong{font-size:11px;display:block}.userTxt span{font-size:9px;color:#777c84;display:block;margin-top:2px}
.app.collapsed .userTxt{display:none}

.main{min-width:0}
.topbar{height:68px;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:20}
.crumb{font-size:11px;color:var(--muted)}.crumb strong{color:var(--ink)}
.topActions{display:flex;gap:8px;align-items:center}
.iconBtn,.btn{border-radius:8px;border:1px solid var(--line2);background:#fff;min-height:34px;padding:0 11px;font-size:11px;font-weight:700;color:#2b2d31}
.iconBtn{width:34px;padding:0;display:grid;place-items:center}
.btn:hover,.iconBtn:hover{border-color:#bbbdbf}
.btn.primary{background:var(--dn-red);border-color:var(--dn-red);color:#fff}
.btn.primary:hover{background:var(--dn-red-dark)}
.btn.dark{background:#191a1d;border-color:#191a1d;color:#fff}
.btn.ghost{background:transparent}
.btn.danger{color:#a4332c;background:#fff;border-color:#ecc8c5}
.btn.small{min-height:28px;padding:0 9px;font-size:10px}
.content{padding:24px 28px 50px;max-width:1600px;margin:0 auto}
.view{display:none}.view.active{display:block}
.pageHead{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:20px}
.eyebrow{text-transform:uppercase;letter-spacing:.11em;color:var(--muted);font-size:9px;font-weight:800;margin-bottom:5px}
h1{font-size:26px;letter-spacing:-.03em;margin:0;line-height:1.08}
h2{font-size:18px;letter-spacing:-.02em;margin:0}
h3{font-size:13px;margin:0}
.subtitle{font-size:11px;color:var(--muted);margin-top:6px;line-height:1.5}
.actions{display:flex;gap:7px;flex-wrap:wrap}

.kpiGrid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:18px}
.kpi{background:#fff;border:1px solid var(--line);border-radius:10px;padding:14px}
.kpi .label{text-transform:uppercase;font-size:8px;font-weight:800;color:var(--muted);letter-spacing:.09em}
.kpi .value{font-size:23px;font-weight:760;margin-top:7px;letter-spacing:-.03em}
.kpi .meta{font-size:9px;color:var(--muted2);margin-top:3px}
.kpi.attn .value{color:var(--dn-red)}
.panel{background:#fff;border:1px solid var(--line);border-radius:11px}
.panelHead{display:flex;justify-content:space-between;align-items:center;padding:14px 15px;border-bottom:1px solid var(--line)}
.panelBody{padding:14px 15px}
.dashboardGrid{display:grid;grid-template-columns:1.35fr .65fr;gap:12px}
.positionCards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.positionCard{border:1px solid var(--line);border-radius:10px;padding:14px;background:#fff;cursor:pointer;transition:.15s}
.positionCard:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(10,12,15,.05);border-color:#cfd0cd}
.positionTop{display:flex;justify-content:space-between;gap:10px}
.role{font-size:14px;font-weight:760}.statusDot{width:7px;height:7px;border-radius:50%;background:#4f9a68;display:inline-block;margin-right:5px}
.statusText{font-size:9px;color:var(--muted)}
.positionStats{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:13px}
.miniStat{background:#f7f7f5;border-radius:7px;padding:8px}.miniStat strong{display:block;font-size:13px}.miniStat span{font-size:8px;color:var(--muted)}
.progress{height:4px;background:#ececea;border-radius:9px;overflow:hidden;margin-top:12px}.progress span{display:block;height:100%;background:#25272b}
.positionFoot{display:flex;justify-content:space-between;align-items:center;margin-top:9px;font-size:9px;color:var(--muted)}
.alertLine{color:var(--dn-red);font-weight:700}
.activity{display:flex;gap:9px;padding:10px 0;border-bottom:1px solid #efefec}.activity:last-child{border-bottom:0}
.activityIcon{width:28px;height:28px;border-radius:7px;background:#f1f1ef;display:grid;place-items:center;font-size:10px;flex:0 0 auto}
.activityTxt{font-size:10px;line-height:1.4}.activityTxt span{display:block;color:var(--muted);font-size:9px;margin-top:2px}

.toolbar{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:12px}
.filterRow{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.search{position:relative}.search input{height:34px;width:240px;border:1px solid var(--line2);border-radius:8px;background:#fff;padding:0 10px 0 30px;font-size:11px}
.search:before{content:"⌕";position:absolute;left:10px;top:6px;color:var(--muted);font-size:14px}
.select{height:34px;border:1px solid var(--line2);border-radius:8px;background:#fff;padding:0 10px;font-size:10px;color:#3b3e43}
.segment{display:inline-flex;background:#e9e9e6;padding:3px;border-radius:8px;gap:2px}
.segment button{border:0;background:transparent;padding:6px 10px;border-radius:6px;font-size:9px;font-weight:700;color:var(--muted)}
.segment button.active{background:#fff;color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.08)}

.tableWrap{overflow:auto}.table{width:100%;border-collapse:collapse}
.table th{text-align:left;padding:9px 11px;font-size:8px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);border-bottom:1px solid var(--line);white-space:nowrap}
.table td{padding:11px;font-size:10px;border-bottom:1px solid #ededeb;vertical-align:middle}
.table tr.clickable{cursor:pointer}.table tr.clickable:hover td{background:#fafaf8}
.nameCell strong{font-size:11px;display:block}.nameCell span{font-size:8px;color:var(--muted);display:block;margin-top:2px}
.badge{display:inline-flex;align-items:center;min-height:22px;padding:0 7px;border-radius:999px;font-size:8px;font-weight:750;background:#f0f0ee;color:#4d5055}
.badge.red{background:var(--danger-bg);color:#9b3029}.badge.green{background:var(--green-bg);color:var(--green)}
.badge.amber{background:var(--amber-bg);color:var(--amber)}.badge.blue{background:var(--blue-bg);color:var(--blue)}.badge.purple{background:var(--purple-bg);color:var(--purple)}
.owner{display:flex;align-items:center;gap:6px}.owner .miniAvatar{width:22px;height:22px;border-radius:50%;background:#25272b;color:#fff;display:grid;place-items:center;font-size:7px;font-weight:800}

.workspaceHead{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:14px}
.workspaceRole{display:flex;align-items:center;gap:9px}
.backBtn{width:32px;height:32px;border:1px solid var(--line2);background:#fff;border-radius:8px}
.roleMeta{display:flex;gap:8px;align-items:center;margin-top:6px;font-size:9px;color:var(--muted)}
.tabs{display:flex;gap:1px;border-bottom:1px solid var(--line);margin:15px 0 13px}
.tabs button{border:0;background:transparent;padding:10px 13px;font-size:9px;font-weight:760;color:var(--muted);border-bottom:2px solid transparent}
.tabs button.active{color:var(--ink);border-bottom-color:var(--dn-red)}
.tabPane{display:none}.tabPane.active{display:block}

.kanban{display:grid;grid-template-columns:repeat(6,minmax(218px,1fr));gap:9px;overflow:auto;padding-bottom:10px;align-items:start}
.column{background:#e9e9e6;border-radius:9px;min-height:530px;padding:7px}
.columnHead{display:flex;justify-content:space-between;align-items:center;padding:4px 4px 9px;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.count{background:#d8d8d4;min-width:21px;height:20px;border-radius:999px;display:grid;place-items:center;font-size:8px}
.candidateCard{background:#fff;border:1px solid #dddeda;border-radius:8px;padding:11px;margin-bottom:7px;cursor:pointer;box-shadow:0 1px 2px rgba(0,0,0,.02)}
.candidateCard:hover{border-color:#c5c6c2}
.candidateCard.dragging{opacity:.55}
.candidateCard .cName{font-size:11px;font-weight:760}
.candidateCard .cRole{font-size:8px;color:var(--muted);margin-top:2px}
.cardTags{display:flex;gap:4px;flex-wrap:wrap;margin-top:9px}
.tag{font-size:7px;padding:4px 6px;border-radius:999px;background:#f1f1ef;color:#64676c}
.cardFoot{display:flex;justify-content:space-between;align-items:center;margin-top:10px;padding-top:8px;border-top:1px solid #efefec;font-size:8px;color:var(--muted)}
.nextLate{color:var(--dn-red);font-weight:750}

.screening{display:grid;grid-template-columns:220px 1fr 300px;gap:10px;min-height:650px}
.screenList,.screenMain,.screenSide{background:#fff;border:1px solid var(--line);border-radius:10px}
.screenList{padding:8px;overflow:auto}
.screenPerson{padding:10px;border-radius:7px;cursor:pointer;margin-bottom:3px}
.screenPerson.active{background:#202226;color:#fff}.screenPerson strong{display:block;font-size:10px}.screenPerson span{font-size:8px;color:var(--muted)}.screenPerson.active span{color:#aeb2b8}
.screenMain{padding:18px}.screenSide{padding:15px}
.screenHeader{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:14px}
.screenCv{border:1px solid var(--line);background:#fafaf8;border-radius:9px;padding:16px;min-height:430px}
.screenCv h3{margin-bottom:8px}.screenCv p{font-size:10px;line-height:1.6;color:#45484d}
.screenActions{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:12px}

.setupGrid{display:grid;grid-template-columns:.8fr 1.2fr;gap:12px}
.jobBox{background:#fff;border:1px solid var(--line);border-radius:10px;padding:15px}
.jobBox textarea{width:100%;min-height:480px;border:1px solid var(--line2);border-radius:8px;padding:12px;font-size:10px;line-height:1.55;resize:vertical;background:#fbfbfa}
.aiSetup{background:#fff;border:1px solid var(--line);border-radius:10px}
.setupSection{padding:14px 15px;border-bottom:1px solid var(--line)}.setupSection:last-child{border-bottom:0}
.reqRow{display:grid;grid-template-columns:1fr 120px 28px;gap:7px;align-items:center;padding:7px 0;border-bottom:1px solid #f0f0ed;font-size:10px}
.reqRow:last-child{border-bottom:0}.reqRow select{height:29px;border:1px solid var(--line2);border-radius:7px;font-size:8px;padding:0 6px}
.xBtn{border:0;background:transparent;color:#999;font-size:15px}
.aiFlag{display:inline-flex;align-items:center;gap:5px;background:var(--purple-bg);color:var(--purple);font-size:8px;font-weight:750;padding:5px 7px;border-radius:999px}

.questionBuilder{display:grid;grid-template-columns:1fr 300px;gap:12px}
.questionList,.questionPreview{background:#fff;border:1px solid var(--line);border-radius:10px}
.qRow{display:grid;grid-template-columns:26px 1fr 110px 28px;gap:8px;align-items:center;padding:10px 12px;border-bottom:1px solid var(--line)}
.dragHandle{color:#aaa;font-size:13px}.qTitle{font-size:10px;font-weight:650}.qMeta{font-size:8px;color:var(--muted);margin-top:2px}
.qType{font-size:8px;color:#61646a;background:#f3f3f1;border-radius:999px;padding:5px 7px;text-align:center}
.previewForm{padding:18px}.previewBrand{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.12em}
.previewForm h2{font-size:20px;margin:8px 0 4px}.previewForm p{font-size:9px;color:var(--muted);line-height:1.5}
.formField{margin-top:14px}.formField label{font-size:9px;font-weight:700;display:block;margin-bottom:5px}.formField input,.formField textarea,.formField select{width:100%;border:1px solid var(--line2);border-radius:7px;min-height:34px;padding:8px;font-size:9px;background:#fff}.formField textarea{min-height:70px}

.timeline{position:relative;padding-left:18px}.timeline:before{content:"";position:absolute;left:5px;top:3px;bottom:8px;width:1px;background:#ddd}
.timeItem{position:relative;padding:0 0 14px 10px}.timeItem:before{content:"";position:absolute;left:-16px;top:3px;width:7px;height:7px;background:#fff;border:2px solid #9a9da2;border-radius:50%}
.timeItem strong{display:block;font-size:9px}.timeItem span{display:block;color:var(--muted);font-size:8px;margin-top:2px}

.emailGrid{display:grid;grid-template-columns:280px 1fr;gap:12px}
.templateList,.emailEditor{background:#fff;border:1px solid var(--line);border-radius:10px}
.templateItem{padding:12px;border-bottom:1px solid var(--line);cursor:pointer}.templateItem.active{background:#f3f3f1;border-left:3px solid var(--dn-red)}.templateItem strong{font-size:10px}.templateItem span{font-size:8px;color:var(--muted);display:block;margin-top:3px}
.editorBody{padding:16px}.editorBody input,.editorBody textarea{width:100%;border:1px solid var(--line2);border-radius:8px;padding:10px;font-size:10px}.editorBody textarea{min-height:330px;line-height:1.6;margin-top:8px}

.settingsGrid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.settingCard{background:#fff;border:1px solid var(--line);border-radius:10px;padding:15px}.settingCard h3{margin-bottom:9px}.settingRow{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-top:1px solid #efefec;font-size:9px}.settingRow:first-of-type{border-top:0}
.toggle{width:34px;height:18px;background:#ccc;border-radius:999px;position:relative}.toggle.on{background:#2d2f33}.toggle:after{content:"";position:absolute;top:3px;left:3px;width:12px;height:12px;background:#fff;border-radius:50%;transition:.15s}.toggle.on:after{left:19px}

.overlay{position:fixed;inset:0;background:rgba(14,15,17,.48);z-index:70;display:none}.overlay.open{display:block}
.drawer{position:fixed;right:0;top:0;bottom:0;width:min(610px,94vw);background:#fff;z-index:80;transform:translateX(102%);transition:.22s ease;box-shadow:-20px 0 50px rgba(0,0,0,.13);display:flex;flex-direction:column}
.drawer.open{transform:translateX(0)}
.drawerHead{padding:18px 20px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.drawerBody{overflow:auto;padding:16px 20px 26px}
.drawerActions{display:flex;gap:7px}.closeBtn{border:0;background:#f0f0ee;width:30px;height:30px;border-radius:7px}
.candidateTitle{font-size:20px;font-weight:800;letter-spacing:-.02em}.candidateSubtitle{font-size:9px;color:var(--muted);margin-top:4px}
.summaryBox{background:#f5f4fa;border:1px solid #e5e2f2;border-radius:8px;padding:11px;font-size:9px;line-height:1.55;color:#484654}
.sectionLabel{font-size:8px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);font-weight:800;margin:16px 0 7px}
.factGrid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.fact{background:#f7f7f5;border-radius:7px;padding:8px}.fact label{font-size:7px;text-transform:uppercase;color:var(--muted);display:block}.fact strong{font-size:9px;display:block;margin-top:3px}
.evidenceRow{display:grid;grid-template-columns:155px 90px 1fr;gap:9px;align-items:start;padding:9px 0;border-bottom:1px solid #efefec;font-size:9px}.evidenceRow:last-child{border-bottom:0}.evidence{color:var(--muted);line-height:1.45}
.noteBox{border:1px solid var(--line);border-radius:8px;padding:10px;font-size:9px;line-height:1.45;margin-top:6px}.noteBox strong{display:block;margin-bottom:2px}
.stickyFoot{position:sticky;bottom:0;background:#fff;border-top:1px solid var(--line);padding:10px 20px;display:flex;justify-content:space-between;gap:10px}

.fullCard{position:fixed;z-index:90;left:50%;top:50%;transform:translate(-50%,-48%) scale(.98);width:min(1260px,94vw);height:min(850px,92vh);background:#fff;border-radius:13px;box-shadow:var(--shadow);opacity:0;pointer-events:none;transition:.18s ease;overflow:hidden;display:flex;flex-direction:column}
.fullCard.open{transform:translate(-50%,-50%) scale(1);opacity:1;pointer-events:auto}
.fullCard .fullHead{padding:16px 19px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:flex-start}
.fullTabs{display:flex;gap:2px;border-bottom:1px solid var(--line);padding:0 17px}.fullTabs button{border:0;background:transparent;padding:10px 12px;font-size:9px;font-weight:750;color:var(--muted);border-bottom:2px solid transparent}.fullTabs button.active{color:var(--ink);border-bottom-color:var(--dn-red)}
.fullBody{overflow:auto;flex:1;padding:16px 18px}.fullPane{display:none}.fullPane.active{display:block}
.overviewGrid{display:grid;grid-template-columns:240px 1fr 290px;gap:12px}
.infoPanel{border:1px solid var(--line);border-radius:9px;padding:12px;background:#fff}.infoPanel h3{margin-bottom:8px}
.linkRow{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-top:1px solid #efefec;font-size:9px}
.nextBox{background:#f6f6f4;border-radius:8px;padding:11px}.nextBox strong{font-size:10px}.nextBox span{display:block;font-size:8px;color:var(--muted);margin-top:3px}
.fullFoot{border-top:1px solid var(--line);padding:10px 18px;display:flex;justify-content:space-between;gap:10px;background:#fff}

.modal{position:fixed;z-index:90;left:50%;top:50%;transform:translate(-50%,-48%) scale(.98);width:min(1120px,94vw);max-height:92vh;background:#fff;border-radius:13px;box-shadow:var(--shadow);opacity:0;pointer-events:none;transition:.18s ease;overflow:hidden;display:flex;flex-direction:column}
.modal.open{opacity:1;pointer-events:auto;transform:translate(-50%,-50%) scale(1)}
.modalHead{padding:15px 18px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:flex-start}
.modalBody{overflow:auto;padding:17px 18px;min-height:570px}
.modalFoot{padding:11px 18px;border-top:1px solid var(--line);display:flex;justify-content:space-between;background:#fff}
.wizardSteps{display:grid;grid-template-columns:repeat(6,1fr);gap:5px;margin-bottom:16px}
.wStep{background:#efefed;border-radius:7px;padding:8px;font-size:8px;color:var(--muted);font-weight:750}.wStep.active{background:#1d1f22;color:#fff}.wStep.done{background:#ece7e6;color:#7b332f}
.wPane{display:none}.wPane.active{display:block}
.wGrid{display:grid;grid-template-columns:.9fr 1.1fr;gap:12px}
.bigTextarea{width:100%;min-height:420px;border:1px solid var(--line2);border-radius:9px;padding:12px;font-size:10px;line-height:1.55}
.aiAnalyse{border:1px solid var(--line);border-radius:9px;padding:13px;background:#fafaf8}
.loaderLine{height:4px;background:#ececea;border-radius:8px;overflow:hidden;margin:10px 0}.loaderLine span{display:block;width:0;height:100%;background:var(--dn-red);transition:width .6s}
.builderRow{display:grid;grid-template-columns:28px 1fr 120px 80px 28px;gap:7px;align-items:center;padding:9px 0;border-bottom:1px solid #efefec;font-size:9px}
.builderRow input,.builderRow select{height:29px;border:1px solid var(--line2);border-radius:7px;font-size:8px;padding:0 7px}
.pipelineBuilder{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.stage{border:1px solid var(--line);border-radius:8px;padding:10px;background:#fafaf8}.stage strong{font-size:9px;display:block}.stage span{font-size:8px;color:var(--muted);display:block;margin-top:3px}
.reviewGrid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.reviewCard{border:1px solid var(--line);border-radius:8px;padding:11px}.reviewCard strong{font-size:9px;display:block}.reviewCard span{font-size:8px;color:var(--muted);display:block;margin-top:3px;line-height:1.4}
.publicForm{max-width:700px;margin:0 auto;padding:28px 18px}.publicLogo{width:160px;filter:brightness(0);margin-bottom:28px}.publicForm h1{font-size:25px}.publicForm .questionBlock{padding:14px 0;border-top:1px solid var(--line)}.publicForm .questionBlock label{font-size:10px;font-weight:700;display:block;margin-bottom:6px}.publicForm input,.publicForm textarea,.publicForm select{width:100%;border:1px solid var(--line2);border-radius:8px;padding:9px;font-size:10px}.publicForm textarea{min-height:90px}

.toast{position:fixed;right:24px;bottom:24px;background:#191a1d;color:#fff;padding:11px 14px;border-radius:8px;font-size:9px;z-index:120;opacity:0;transform:translateY(10px);pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:translateY(0)}
@media(max-width:1180px){
  .kpiGrid{grid-template-columns:repeat(3,1fr)}
  .dashboardGrid,.setupGrid,.questionBuilder,.emailGrid{grid-template-columns:1fr}
  .positionCards{grid-template-columns:1fr}
  .screening{grid-template-columns:180px 1fr}.screenSide{display:none}
  .overviewGrid{grid-template-columns:1fr 1fr}.overviewGrid>div:last-child{grid-column:1/-1}
}
@media(max-width:780px){
  .app{display:block}.sidebar{display:none}.content{padding:16px}.topbar{padding:0 16px}
  .kpiGrid{grid-template-columns:repeat(2,1fr)}.pageHead{display:block}.pageHead .actions{margin-top:12px}
  .screening{grid-template-columns:1fr}.screenList{display:none}.factGrid{grid-template-columns:repeat(2,1fr)}
  .evidenceRow{grid-template-columns:1fr}.overviewGrid{grid-template-columns:1fr}
  .wizardSteps{grid-template-columns:repeat(3,1fr)}.wGrid{grid-template-columns:1fr}
}


/* Live app shell + typography scale retained from v0.2.4 */
.authGate{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;background:#151619}
.authCard{width:min(420px,calc(100vw - 32px));padding:36px;border-radius:14px;background:#fff;box-shadow:0 24px 70px rgba(0,0,0,.28)}
.authCard img{width:190px;filter:brightness(0);margin-bottom:28px}
.authCard h1{margin:5px 0 8px}
.authCard p{margin:0 0 22px;color:var(--muted);font-size:13px;line-height:1.5}
.authCard label{display:block;margin:14px 0 6px;font-size:12px;font-weight:700}
.authCard input{width:100%;height:42px;border:1px solid var(--line2);border-radius:8px;padding:0 11px;outline:none}
.authCard input:focus{border-color:var(--dn-red);box-shadow:0 0 0 3px rgba(225,37,27,.08)}
.authCard .btn{width:100%;margin-top:18px}
.authError{min-height:18px;margin-top:10px;color:#a4332c;font-size:11px}
.app.hidden{display:none!important}
.navItem.hidden{display:none!important}
.liveEmpty{padding:38px;text-align:center;color:var(--muted);font-size:12px}
.loadingBlock{padding:32px;color:var(--muted);font-size:12px}
.linkStrong{color:#2d5f91;cursor:pointer}
.drawerActions{display:flex;align-items:center;gap:7px}
.fullPane{display:none}.fullPane.active{display:block}
.tabPane{display:none}.tabPane.active{display:block}
.questionBlock{padding:14px 0;border-bottom:1px solid var(--line)}
.questionBlock:last-child{border-bottom:0}
.liveWizardBody{padding:20px 24px 6px}
.liveWizardBody textarea{width:100%;min-height:220px;border:1px solid var(--line2);border-radius:9px;padding:13px;resize:vertical}
.liveWizardBody input,.liveWizardBody select{width:100%;height:40px;border:1px solid var(--line2);border-radius:8px;padding:0 10px;background:#fff}
.liveWizardGrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.liveWizardList{display:grid;gap:8px;margin-top:14px}
.liveWizardItem{padding:12px;border:1px solid var(--line);border-radius:9px;background:#fafafa}
.liveWizardFoot{display:flex;justify-content:space-between;gap:10px;padding:16px 24px 22px;border-top:1px solid var(--line)}
.toast{z-index:1100}
.releaseStatusCard,.changelogList{border:1px solid var(--line);border-radius:12px;background:#fff}
.releaseStatusCard{display:grid;grid-template-columns:1fr auto;gap:20px;padding:24px;margin-bottom:20px}
.releaseStatusCard h2,.changelogList h2{margin:3px 0 7px;font-size:20px}
.releaseStatusCard p{margin:0;color:var(--muted);font-size:12px}
.alignmentBadge{align-self:start;padding:8px 11px;border-radius:999px;font-size:10px;font-weight:800}
.alignmentBadge.aligned{background:#e9f7f1;color:#237456}
.alignmentBadge.different{background:#fff0f2;color:var(--dn-red)}
.alignmentBadge.checking,.alignmentBadge.unknown{background:#f1f1f3;color:#707078}
.environmentGrid{display:grid;grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.environmentGrid article{display:grid;gap:5px;padding:16px;border:1px solid var(--line);border-radius:9px;background:#fafafa}
.environmentGrid article span{color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.environmentGrid article strong{font-size:19px}
.environmentGrid article small,.releaseCurrent{color:var(--muted);font-size:10px}
.releaseCurrent{grid-column:1/-1}
.changelogList>header{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;border-bottom:1px solid var(--line)}
.changelogList>header span{color:var(--muted);font-size:11px}
.releaseEntry{display:grid;grid-template-columns:190px 1fr;gap:24px;padding:27px 24px;border-bottom:1px solid var(--line)}
.releaseEntry:last-child{border-bottom:0}
.releaseMeta{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.releaseMeta>span{padding:6px 9px;border-radius:7px;background:#f0f0f2;font-size:12px;font-weight:850}
.releaseMeta>span.current{background:#fff0f2;color:var(--dn-red)}
.releaseMeta time{color:var(--muted);font-size:11px}
.releaseMeta b{color:var(--green);font-size:9px;letter-spacing:.06em;text-transform:uppercase}
.releaseBody h3{margin:0 0 7px;font-size:18px}
.releaseBody>p{margin:0 0 20px;color:#66666e;font-size:12px;line-height:1.55}
.releaseSections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px}
.releaseSections h4{margin:0 0 9px;color:#45454c;font-size:10px;letter-spacing:.1em;text-transform:uppercase}
.releaseSections ul{display:grid;gap:7px;margin:0;padding-left:16px}
.releaseSections li{color:#64646c;font-size:11px;line-height:1.5}

/* Typography: keep the larger DN Gantt-aligned scale agreed in v0.2.4 */
body{font-size:14px}
.eyebrow{font-size:10px;letter-spacing:.18em}
.navLabel{font-size:13px}
.crumb{font-size:12px}
.btn,.iconBtn{font-size:12.5px}
.btn.small{font-size:11px}
h1{font-size:30px} h2{font-size:21px} h3{font-size:15px}
.subtitle{font-size:13px}
.kpi .label{font-size:10.5px}.kpi .value{font-size:31px}.kpi .meta{font-size:11px}
.table th{font-size:10px}.table td{font-size:12.5px;line-height:1.45}
.nameCell span,.statusText,.positionFoot,.roleMeta{font-size:11px}
.cName{font-size:13px}.cRole{font-size:11px}.tag{font-size:10px}.cardFoot{font-size:10px}
.sectionLabel{font-size:10px}.summaryBox,.noteBox,.nextBox,.evidenceRow{font-size:12px;line-height:1.55}
.candidateTitle{font-size:22px}.candidateSubtitle{font-size:12px}
.fact label{font-size:10px}.fact strong{font-size:13px}
.fullTabs button,.tabs button{font-size:12px}
.linkRow{font-size:12px}
.settingRow{font-size:12.5px}
.settingCard h3{font-size:16px}
@media(max-width:900px){.environmentGrid,.releaseSections{grid-template-columns:1fr}.releaseEntry{grid-template-columns:1fr}}


/* Release 0.3.1 — scrollable wizard and destructive actions */
.modalHead,.liveWizardFoot{flex:0 0 auto}
.liveWizardBody{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-bottom:20px}
.liveWizardFoot{background:#fff}
.btn.danger:hover{border-color:#d7938e;background:#fff7f6}


/* Release 0.4.0 — recruiting intelligence */
.badge{
  min-height:28px;
  padding:0 11px;
  border-radius:999px;
  font-size:11px;
  line-height:1;
  font-weight:760;
  white-space:nowrap;
  flex:0 0 auto;
}
.columnHead{
  min-height:34px;
  gap:8px;
  padding:5px 5px 10px;
  font-size:11px;
  line-height:1.25;
  text-transform:none;
  letter-spacing:.01em;
}
.columnHead>span:first-child{min-width:0;white-space:normal}
.count{
  min-width:26px;
  width:auto;
  height:24px;
  padding:0 7px;
  border-radius:999px;
  font-size:10px;
  line-height:1;
}
.tag{font-size:10px;padding:5px 8px;line-height:1}
.fullTabs{overflow-x:auto;scrollbar-width:thin;flex:0 0 auto}
.fullTabs button{font-size:12px;white-space:nowrap;padding:12px 13px}

.cvImportBox{
  display:grid;
  grid-template-columns:minmax(220px,.8fr) minmax(260px,1.2fr);
  gap:12px;
  padding:16px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fafaf8;
}
.cvImportBox label,.candidateFields label,.sourceUpload label{display:block;font-size:11px;font-weight:750;margin-bottom:6px}
.cvImportBox select,.cvImportBox input{width:100%;min-height:40px;border:1px solid var(--line2);border-radius:8px;background:#fff;padding:8px 10px}
.cvAiStatus{
  grid-column:1/-1;
  min-height:36px;
  display:flex;
  align-items:center;
  padding:9px 11px;
  border-radius:8px;
  background:#f1f1ef;
  color:var(--muted);
  font-size:11.5px;
  line-height:1.4;
}
.aiPulse{width:8px;height:8px;border-radius:50%;background:var(--purple);margin-right:8px;animation:aiPulse 1s ease-in-out infinite}
@keyframes aiPulse{0%,100%{opacity:.35;transform:scale(.8)}50%{opacity:1;transform:scale(1.15)}}
.fieldHint{margin-left:5px;color:var(--purple);font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}

.profileHero{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
.profileHero h2{margin:3px 0 4px}
.profileSummary{font-size:13px;line-height:1.65;padding:16px;margin-bottom:14px}
.insightGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:12px}
.insightGrid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.insightSection{border:1px solid var(--line);border-radius:10px;background:#fff;padding:15px}
.insightSection h3{margin:0 0 10px}
.insightSection>p{margin:0 0 10px;color:#555861;font-size:12px;line-height:1.55}
.insightRow{padding:9px 0;border-top:1px solid #efefec;font-size:12px;line-height:1.55}
.insightRow:first-of-type{border-top:0}
.sourceRefs{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}
.sourceRefs span{display:inline-flex;align-items:center;min-height:22px;padding:0 7px;border-radius:999px;background:#f0f0ee;color:#666970;font-size:9px;font-weight:700}
.quickInsight{margin-top:7px;padding:9px 10px;border:1px solid var(--line);border-radius:8px;background:#fafaf8;font-size:11.5px;line-height:1.45}
.quickInsight.positive{background:#f1f8f4;border-color:#d9eadf}
.profileEmpty{max-width:650px;margin:70px auto;text-align:center}
.profileEmpty p{color:var(--muted);font-size:13px;line-height:1.6;margin:8px 0 18px}

.profileEvidenceGrid{display:grid;grid-template-columns:minmax(320px,.8fr) minmax(0,1.2fr);gap:12px}
.profileFields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:6px 15px 14px}
.profileField{min-width:0;padding:11px 0;border-bottom:1px solid #efefec}
.profileField:nth-child(odd){padding-right:12px}
.profileField:nth-child(even){padding-left:12px;border-left:1px solid #efefec}
.profileField span{display:block;color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.06em}
.profileField strong{display:block;overflow-wrap:anywhere;margin-top:4px;font-size:12px;line-height:1.4}
.profileField small{display:inline-block;margin-top:5px;color:var(--purple);font-size:9px;font-weight:700}
.evidenceRow.wide{grid-template-columns:minmax(150px,220px) auto 1fr;align-items:center}

.questionAi{display:grid;grid-template-columns:30px 1fr;gap:11px;padding:14px 0;border-bottom:1px solid var(--line)}
.questionAi:last-child{border-bottom:0}
.questionNo{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#222429;color:#fff;font-size:10px;font-weight:800}
.questionAi strong{font-size:13px;line-height:1.45}
.questionAi p{margin:5px 0 0;color:var(--muted);font-size:11px;line-height:1.5}

.interviewCard{border:1px solid var(--line);border-radius:10px;background:#fff;margin-bottom:12px;overflow:hidden}
.interviewCard p{margin:0;font-size:12px;line-height:1.6}
.interviewCard ul{margin:6px 0 0;padding-left:18px}
.interviewCard li{margin:5px 0;font-size:11.5px;line-height:1.45}
.interviewCard details{margin-top:14px;border-top:1px solid var(--line);padding-top:10px}
.interviewCard summary{cursor:pointer;font-size:11px;font-weight:750}
.transcriptText{white-space:pre-wrap;margin-top:10px;padding:12px;border-radius:8px;background:#f7f7f5;font-size:11px;line-height:1.6;max-height:300px;overflow:auto}
.transcriptInput{min-height:300px!important;line-height:1.55}

.sourceLayout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:14px}
.sourceList{display:grid;gap:8px}
.sourceCard{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:10px;padding:12px 13px;border:1px solid var(--line);border-radius:9px;background:#fff}
.sourceIcon{width:40px;height:40px;border-radius:9px;background:#f1f1ef;display:grid;place-items:center;font-size:10px;font-weight:850}
.sourceCard strong{display:block;font-size:12px}
.sourceCard span{display:block;margin-top:3px;color:var(--muted);font-size:10px}
.sourceUpload input[type=file]{width:100%;padding:9px;border:1px dashed var(--line2);border-radius:8px;background:#fafafa}

.liveEmpty.compact{padding:14px 0;text-align:left}
@media(max-width:980px){
  .insightGrid,.insightGrid.two,.profileEvidenceGrid,.sourceLayout{grid-template-columns:1fr}
}
@media(max-width:680px){
  .cvImportBox,.liveWizardGrid,.profileFields{grid-template-columns:1fr}
  .cvImportBox .cvAiStatus{grid-column:auto}
  .profileField:nth-child(even){padding-left:0;border-left:0}
  .profileField:nth-child(odd){padding-right:0}
}

.sourceCardActions{display:flex;align-items:center;gap:7px;justify-content:flex-end;flex-wrap:wrap}
.interviewCard .panelHead .sourceCardActions{flex:0 0 auto}


/* Dashboard position cards — readability fix */
.positionCard .statusText{
  font-size:11px;
  line-height:1.35;
}
.positionCard .positionStats{
  gap:8px;
  margin-top:14px;
}
.positionCard .miniStat{
  padding:10px 9px;
}
.positionCard .miniStat strong{
  font-size:17px;
  line-height:1.1;
}
.positionCard .miniStat span{
  display:block;
  margin-top:5px;
  font-size:11px;
  line-height:1.25;
  color:#5f6268;
}
.positionCard .positionFoot{
  margin-top:11px;
  font-size:11px;
  line-height:1.35;
}


/* Release 0.4.1 — typography readability pass */
/* Functional text should never rely on micro typography. Decorative labels may remain at 10px. */
.userTxt span{font-size:11px}
.activityTxt{font-size:12px;line-height:1.5}
.activityTxt span{font-size:11px;line-height:1.4}
.select{font-size:12px}
.segment button{font-size:11px}
.owner .miniAvatar{font-size:10px}
.candidateCard .cRole{font-size:11px;line-height:1.4}
.tag{font-size:11px;min-height:26px;padding:0 9px;display:inline-flex;align-items:center}
.cardFoot{font-size:11px;line-height:1.4}

.screenPerson strong{font-size:12px}
.screenPerson span{font-size:11px;line-height:1.4}
.screenCv p{font-size:12px;line-height:1.65}
.jobBox textarea{font-size:12px}
.reqRow{font-size:12px}
.reqRow select{font-size:11px;min-height:32px}
.aiFlag{font-size:11px;min-height:27px;padding:0 9px}
.qTitle{font-size:12px}
.qMeta{font-size:11px;line-height:1.4}
.qType{font-size:11px;min-height:27px;display:flex;align-items:center;justify-content:center;padding:0 9px}
.previewBrand{font-size:11px}
.previewForm p{font-size:12px;line-height:1.55}
.formField label{font-size:12px}
.formField input,.formField textarea,.formField select{font-size:12px}
.timeItem strong{font-size:12px}
.timeItem span{font-size:11px;line-height:1.45}
.templateItem strong{font-size:12px}
.templateItem span{font-size:11px;line-height:1.4}
.editorBody input,.editorBody textarea{font-size:12px}
.candidateSubtitle{font-size:12px;line-height:1.4}
.nextBox strong{font-size:12px}
.nextBox span{font-size:11px;line-height:1.4}

.wStep{font-size:11px;line-height:1.35}
.bigTextarea{font-size:12px}
.builderRow{font-size:12px}
.builderRow input,.builderRow select{font-size:11px;min-height:32px}
.stage strong{font-size:12px}
.stage span{font-size:11px;line-height:1.4}
.reviewCard strong{font-size:12px}
.reviewCard span{font-size:11px;line-height:1.45}
.publicForm .questionBlock label{font-size:12px}
.publicForm input,.publicForm textarea,.publicForm select{font-size:12px}
.toast{font-size:12px;line-height:1.4}

.fieldHint{font-size:10.5px}
.sourceRefs span{font-size:10.5px;min-height:24px;padding:0 8px}
.profileField span{font-size:10.5px}
.profileField small{font-size:10.5px}
.sourceCard span{font-size:11px;line-height:1.4}
.releaseMeta b{font-size:10px}


/* Release 0.5.0 — asynchronous AI processing */
.aiGlobalBtn{
  min-height:34px;
  border:1px solid #d9d7e8;
  border-radius:999px;
  background:#f7f6fb;
  color:#4d476f;
  padding:0 11px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  font-size:11px;
  font-weight:760;
  cursor:pointer;
}
.aiGlobalBtn:hover{border-color:#bbb6d5;background:#f1eff9}
.aiGlobalDot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--purple);
  box-shadow:0 0 0 4px rgba(98,90,141,.10);
  animation:aiPulse 1.15s ease-in-out infinite;
}
.aiGlobalPopover{
  position:fixed;
  z-index:120;
  top:60px;
  right:145px;
  width:min(420px,calc(100vw - 24px));
  max-height:520px;
  overflow:auto;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  box-shadow:0 18px 50px rgba(15,18,20,.16);
}
.aiPopoverHead{
  position:sticky;
  top:0;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:13px 14px;
  border-bottom:1px solid var(--line);
  background:#fff;
}
.aiPopoverHead strong{font-size:12px}
.aiPopoverHead span{font-size:11px;color:var(--muted)}
.aiPopoverList{padding:6px}
.aiPopoverItem{
  width:100%;
  display:grid;
  grid-template-columns:1fr auto;
  align-items:start;
  gap:10px;
  padding:10px;
  border:0;
  border-radius:8px;
  background:transparent;
  text-align:left;
  color:inherit;
  cursor:pointer;
}
.aiPopoverItem:hover{background:#f7f7f5}
.aiPopoverItem+.aiPopoverItem{border-top:1px solid #efefec}
.aiPopoverItem strong{display:block;font-size:12px}
.aiPopoverItem span,.aiPopoverItem small{display:block;margin-top:3px;font-size:11px;line-height:1.4;color:var(--muted)}

.aiJobPanel{
  width:100%;
  margin:0 0 16px;
  padding:14px 15px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fafaf8;
  text-align:left;
}
.aiJobPanel.blue{background:#f5f6fb;border-color:#dadced}
.aiJobPanel.amber{background:#fffaf0;border-color:#ecdfbd}
.aiJobPanel.red{background:#fff6f5;border-color:#ecc8c5}
.aiJobPanel.green{background:#f3faf5;border-color:#d7e8dc}
.aiJobPanelTop{display:flex;align-items:center;justify-content:space-between;gap:14px}
.aiJobPanelTop strong{font-size:13px;line-height:1.35}
.aiJobStep{margin-top:8px;font-size:12px;font-weight:700;line-height:1.45;color:#33363b}
.aiJobMeta{margin-top:5px;font-size:11px;line-height:1.45;color:var(--muted)}
.aiJobSpinner{
  width:18px;
  height:18px;
  flex:0 0 18px;
  border:2px solid #d9d7e8;
  border-top-color:var(--purple);
  border-radius:50%;
  animation:aiSpin .8s linear infinite;
}
@keyframes aiSpin{to{transform:rotate(360deg)}}
.profileEmpty .aiJobPanel{max-width:620px;margin:0 auto 22px}
.profileEmpty .aiJobPanel+.profileEmpty{margin-top:0}

@media(max-width:760px){
  .aiGlobalPopover{right:12px;top:58px}
  .aiGlobalBtn{padding:0 9px}
}


/* Release 0.5.2 — internal candidate notes */
.quickNote{padding:10px 11px;border:1px solid var(--line);border-radius:8px;background:#fafaf8}
.quickNote strong{font-size:11.5px}.quickNote span{margin-left:7px;color:var(--muted);font-size:10.5px}
.quickNote p{margin:6px 0 0;font-size:11.5px;line-height:1.5;white-space:pre-wrap}
.notesLayout{display:grid;grid-template-columns:minmax(320px,.75fr) minmax(0,1.25fr);gap:14px;align-items:start}
.noteComposerPanel{position:sticky;top:0}
.noteComposer{width:100%;min-height:170px;resize:vertical;border:1px solid var(--line2);border-radius:8px;padding:11px 12px;background:#fff;font:inherit;font-size:12px;line-height:1.55}
.noteComposer:focus{outline:2px solid rgba(98,90,141,.15);border-color:#aaa5c5}.noteComposer.modalNote{min-height:240px}
.noteComposerActions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}
.notesHistory{display:grid;gap:9px}.noteCard{border:1px solid var(--line);border-radius:9px;background:#fff;padding:13px 14px}
.noteMeta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:7px}
.noteMeta strong{font-size:12px}.noteMeta span{color:var(--muted);font-size:10.5px}
.noteText{font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:900px){.notesLayout{grid-template-columns:1fr}.noteComposerPanel{position:static}}


/* Release 0.6.0 — user management */
.usersTable td,.usersTable th{vertical-align:middle}
.userActions{min-width:250px}
.selfUserLabel{display:inline-flex;align-items:center;min-height:28px;padding:0 9px;border-radius:999px;background:#f1f1ef;color:var(--muted);font-size:10.5px;font-weight:700}
.usersFootnote{margin-top:10px;color:var(--muted);font-size:11px;line-height:1.5}
.userFormGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.userFormGrid label{display:block;font-size:11px;font-weight:750;margin-bottom:6px}
.userFormGrid input,.userFormGrid select{width:100%;min-height:40px;border:1px solid var(--line2);border-radius:8px;background:#fff;padding:8px 10px;font-size:12px}
.passwordRow{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}
@media(max-width:760px){
  .userFormGrid{grid-template-columns:1fr}
  .userActions{min-width:0}
}


/* Release 0.6.2 — smooth Kanban */
.column[data-stage]{transition:background-color .16s ease,box-shadow .16s ease}
.column[data-stage].dragTarget{
  background:#f4f3f8;
  box-shadow:inset 0 0 0 2px rgba(98,90,141,.18);
}
.candidateCard{transition:transform .16s ease,box-shadow .16s ease,opacity .16s ease}
.candidateCard.dragging{opacity:.5;transform:scale(.985)}
.candidateCard.justMoved{animation:kanbanMoved .24s ease}
@keyframes kanbanMoved{
  0%{transform:translateY(6px);opacity:.72}
  100%{transform:translateY(0);opacity:1}
}


/* Release 0.7.0 — pipeline stages */
.column[data-stage-key="rejected"]{background:#f1eceb}
.column[data-stage-key="rejected"] .columnHead{color:#7a4540}


/* Release 0.8.0 — RAL & Compensation Framework */
.ralHeaderBadge{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border-radius:999px;background:#f3eee8;color:#70402f;font-weight:760;font-size:9px}
.ralHeaderBadge.muted{background:#f1f1ef;color:var(--muted)}

.compensationSetup{margin-top:12px}
.compRangeGrid{display:grid;grid-template-columns:repeat(3,minmax(140px,.6fr)) minmax(220px,1fr);gap:10px;align-items:end}
.compRangeGrid label,.wizardSalaryGrid label,.compCriterionGrid label,.compCriterionRow>div>label,.wizardCompGrid label,.wizardCompRow>div>label{display:block;font-size:9px;font-weight:760;margin-bottom:5px;color:#4b4e53}
.compRangeGrid input,.compRangeGrid select,.wizardSalaryGrid input,.wizardSalaryGrid select,.compCriterionRow input,.compCriterionRow select,.wizardCompRow input,.wizardCompRow select{width:100%;height:34px;border:1px solid var(--line2);border-radius:8px;background:#fff;padding:0 9px;font-size:10px}
.compCriterionRow textarea,.wizardCompRow textarea{width:100%;min-height:58px;border:1px solid var(--line2);border-radius:8px;background:#fff;padding:8px 9px;font-size:10px;line-height:1.45;resize:vertical}
.compRangeGrid input:disabled,.compRangeGrid select:disabled,.compCriterionRow input:disabled,.compCriterionRow select:disabled,.compCriterionRow textarea:disabled{background:#f7f7f5;color:#62656a}
.compRangeSummary{background:#f7f7f5;border-radius:9px;padding:10px 12px;min-height:58px}
.compRangeSummary span{display:block;font-size:8px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:800}
.compRangeSummary strong{display:block;font-size:13px;margin-top:5px}
.compGovernance{display:flex;gap:12px;align-items:flex-start;margin:14px 0;padding:11px 12px;border:1px solid #e4e0d7;background:#fbfaf6;border-radius:9px}
.compGovernance strong{font-size:10px;min-width:84px}.compGovernance span{font-size:10px;line-height:1.5;color:#5d6065}
.compCriteriaHead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:16px 0 8px}
.compCriteriaHead h4{font-size:11px;margin:0}
.compWeightTotal{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;background:var(--danger-bg);color:#9b3029;font-size:9px;font-weight:800}
.compWeightTotal.ok{background:var(--green-bg);color:var(--green)}
.compCriterionRow,.wizardCompRow{border:1px solid var(--line);border-radius:9px;padding:11px;background:#fff;margin-bottom:8px}
.compCriterionTop,.wizardCompTop{display:grid;grid-template-columns:24px 1fr 82px 18px 26px;gap:7px;align-items:center}
.compCriterionTop .compOrder,.wizardCompTop>span{width:22px;height:22px;border-radius:50%;background:#efefed;display:grid;place-items:center;font-size:8px;font-weight:800}
.compPercent,.wizardCompTop>b{font-size:10px;color:var(--muted)}
.compCriterionGrid,.wizardCompGrid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:9px 0}
.compCriterionMeta{margin-top:7px}
.compPolicyNote{display:flex;gap:12px;align-items:flex-start;margin-top:13px;padding:10px 12px;border-radius:9px;background:#f6f6f4}
.compPolicyNote strong{font-size:9px;min-width:100px}.compPolicyNote span{font-size:9px;line-height:1.5;color:var(--muted)}

.wizardRalDetected{margin:13px 0;padding:12px;border:1px solid #e4dfd6;border-radius:9px;background:#faf8f3}
.wizardRalDetected span,.wizardRalDetected small{display:block;font-size:9px;color:var(--muted)}
.wizardRalDetected strong{display:block;font-size:16px;margin:4px 0}
.wizardSalaryGrid{display:grid;grid-template-columns:1fr 1fr 120px auto;gap:9px;align-items:end;margin:14px 0}
.wizardCompHeader{display:flex;align-items:center;justify-content:space-between;margin:14px 0 8px}

.compCandidate{max-width:1100px;margin:0 auto}
.compCandidateNotice{border:1px solid #e4e0d7;background:#fbfaf6;border-radius:10px;padding:15px;margin-top:12px}
.compCandidateNotice strong{display:block;font-size:12px}.compCandidateNotice span{display:block;font-size:10px;line-height:1.55;color:var(--muted);margin-top:5px}
.compSummaryGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:13px 0}
.compSummaryCard{border:1px solid var(--line);border-radius:10px;padding:14px;background:#fff}
.compSummaryCard.primary{background:#f8f4ef;border-color:#e6d8ca}
.compSummaryCard span{display:block;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-size:8px;font-weight:800}
.compSummaryCard strong{display:block;font-size:20px;margin-top:7px;letter-spacing:-.02em}
.compSummaryCard small{display:block;font-size:9px;color:var(--muted);margin-top:5px;line-height:1.4}
.compRationale{margin-bottom:12px}
.compRationale strong{font-size:10px;text-transform:uppercase;letter-spacing:.06em}.compRationale p{margin:6px 0 0;font-size:11px;line-height:1.6}
.compAssessmentPanel .panelBody{padding:0 14px}
.compAssessmentRow{display:grid;grid-template-columns:minmax(210px,.8fr) 130px minmax(300px,1.4fr);gap:12px;align-items:start;padding:12px 0;border-bottom:1px solid #efefec}
.compAssessmentRow:last-child{border-bottom:0}
.compAssessmentCriterion strong{display:block;font-size:10px}.compAssessmentCriterion span{display:block;font-size:9px;color:var(--muted);margin-top:4px;line-height:1.45}
.compAssessmentEvidence{font-size:10px;line-height:1.55;color:#45484d}

@media(max-width:900px){
  .compRangeGrid,.wizardSalaryGrid{grid-template-columns:1fr 1fr}
  .compSummaryGrid{grid-template-columns:1fr}
  .compAssessmentRow{grid-template-columns:1fr}
}

.drawerRal{border:1px solid var(--line);border-radius:9px;padding:11px;background:#faf9f6}
.drawerRal strong{display:block;font-size:15px;letter-spacing:-.02em}
.drawerRal span{display:block;font-size:9px;color:var(--muted);margin:4px 0 9px;line-height:1.45}
.tableRal{font-size:10px;white-space:nowrap}
.compScale{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin-top:14px}
.compScale>div{border:1px solid var(--line);border-radius:8px;padding:9px;background:#fafaf8}
.compScale strong{display:block;font-size:9px}.compScale span{display:block;font-size:9px;color:var(--muted);margin-top:4px}
@media(max-width:900px){.compScale{grid-template-columns:1fr 1fr}}

.compReasonGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:0 0 12px}
.compReasonGrid section{border:1px solid var(--line);border-radius:9px;background:#fff;padding:11px}
.compReasonGrid h3{font-size:10px;margin:0 0 8px}
.compReasonItem{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding:7px 0;border-top:1px solid #efefec}
.compReasonItem:first-of-type{border-top:0}
.compReasonItem strong{font-size:9.5px;line-height:1.4}
.compReasonItem span{font-size:8.5px;color:var(--muted);text-align:right;white-space:nowrap}
@media(max-width:900px){.compReasonGrid{grid-template-columns:1fr}}


/* Release 0.8.1 — global readability pass */
/* Functional UI text must remain comfortably readable. Tiny typography is reserved only for non-text decoration. */
body{font-size:15px}

/* Core navigation, context and controls */
.navNo{font-size:11.5px}
.userTxt strong{font-size:12.5px}
.userTxt span{font-size:12px;line-height:1.35}
.crumb{font-size:13px}
.btn,.iconBtn{font-size:13px;min-height:38px}
.btn.small{font-size:12px;min-height:32px}
.select,.search input{font-size:12.5px;height:38px}
.subtitle{font-size:13.5px;line-height:1.55}
.eyebrow,.sectionLabel{font-size:11.5px;line-height:1.3}
.toast{font-size:12.5px;line-height:1.4}

/* Dashboard and cards */
.kpi .label{font-size:11.5px}
.kpi .meta{font-size:12px}
.statusText,.positionFoot,.roleMeta{font-size:12px;line-height:1.4}
.miniStat span,.positionCard .miniStat span{font-size:12px;line-height:1.35}
.activityTxt{font-size:12.5px;line-height:1.45}
.activityTxt span{font-size:12px;line-height:1.4}
.activityIcon{font-size:12px}
.positionCard .statusText,.positionCard .positionFoot{font-size:12px}

/* Tables */
.table th{font-size:11.5px;line-height:1.3}
.table td{font-size:13px;line-height:1.5}
.nameCell strong{font-size:13px}
.nameCell span{font-size:12px;line-height:1.4}

/* Pipeline / candidate cards */
.columnHead{font-size:12.5px;line-height:1.3}
.count{font-size:11.5px;min-width:28px;height:26px}
.candidateCard .cName,.cName{font-size:13.5px}
.candidateCard .cRole,.cRole{font-size:12px;line-height:1.45}
.tag{font-size:11.5px;min-height:28px;padding:0 10px}
.cardFoot{font-size:12px;line-height:1.45}
.badge{font-size:11.5px;min-height:29px}
.owner .miniAvatar,.avatar{font-size:11.5px}
.screenPerson strong{font-size:12.5px}
.screenPerson span{font-size:12px;line-height:1.4}
.screenCv p{font-size:12.5px;line-height:1.65}
.aiFlag,.qMeta,.qType{font-size:11.5px}
.qTitle{font-size:12.5px}
.previewForm p{font-size:12px;line-height:1.55}
.previewBrand{font-size:11.5px}
.timeItem strong,.templateItem strong{font-size:12.5px}
.timeItem span,.templateItem span{font-size:12px;line-height:1.45}
.nextBox strong{font-size:12.5px}
.nextBox span{font-size:12px;line-height:1.45}
.candidateSubtitle{font-size:12.5px}

/* Forms, setup and builders */
.formField label,.cvImportBox label,.candidateFields label,.sourceUpload label,
.userFormGrid label{font-size:12px}
.formField input,.formField textarea,.formField select,
.editorBody input,.editorBody textarea,
.builderRow input,.builderRow select,
.publicForm input,.publicForm textarea,.publicForm select,
.liveWizardBody input,.liveWizardBody select,.liveWizardBody textarea,
.userFormGrid input,.userFormGrid select{font-size:13px;line-height:1.5}
.formField input,.formField select,.builderRow input,.builderRow select,
.userFormGrid input,.userFormGrid select{min-height:40px}
.jobBox textarea,.bigTextarea{font-size:13px;line-height:1.6}
.reqRow{font-size:12.5px}
.reqRow select{font-size:12.5px;min-height:36px}
.builderRow{font-size:12px}
.wStep{font-size:12px;line-height:1.4}
.stage strong{font-size:12.5px}
.stage span{font-size:12px;line-height:1.4}
.reviewCard strong{font-size:12.5px}
.reviewCard span{font-size:12px;line-height:1.45}
.publicForm .questionBlock label{font-size:12.5px}

/* Candidate workspace */
.summaryBox,.noteBox,.evidenceRow{font-size:12.5px;line-height:1.6}
.fact label{font-size:11.5px}
.fact strong{font-size:13px}
.fullTabs button,.tabs button{font-size:12.5px}
.linkRow,.settingRow{font-size:12.5px}
.fieldHint,.profileField span,.profileField small,.sourceRefs span{font-size:11.5px}
.questionAi p,.interviewCard summary,.transcriptText{font-size:12px;line-height:1.55}
.sourceCard span{font-size:12px;line-height:1.4}
.cvAiStatus,.quickInsight,.quickNote strong,.quickNote p,.quickNote span,
.noteMeta span,.interviewCard li{font-size:12px;line-height:1.5}
.selfUserLabel,.usersFootnote{font-size:12px}

/* Changelog / environment */
.alignmentBadge,.environmentGrid article span,.environmentGrid article small,
.releaseCurrent,.releaseMeta b,.releaseMeta time,.releaseSections h4{font-size:11.5px}
.changelogList>header span,.releaseSections li{font-size:12px;line-height:1.55}

/* RAL & Compensation Framework — position setup + wizard */
.ralHeaderBadge{font-size:11.5px;min-height:28px;padding:0 10px}
.compRangeGrid label,.wizardSalaryGrid label,.compCriterionGrid label,
.compCriterionRow>div>label,.wizardCompGrid label,.wizardCompRow>div>label{
  font-size:11.5px;
  line-height:1.35;
  margin-bottom:7px
}
.compRangeGrid input,.compRangeGrid select,.wizardSalaryGrid input,.wizardSalaryGrid select,
.compCriterionRow input,.compCriterionRow select,.wizardCompRow input,.wizardCompRow select{
  height:42px;
  font-size:13px;
  padding:0 11px
}
.compCriterionRow textarea,.wizardCompRow textarea{
  min-height:76px;
  padding:11px 12px;
  font-size:12.5px;
  line-height:1.55
}
.compRangeSummary{min-height:66px;padding:12px 14px}
.compRangeSummary span{font-size:11px}
.compRangeSummary strong{font-size:15px}
.compGovernance strong{font-size:12px}
.compGovernance span{font-size:12px;line-height:1.55}
.compCriteriaHead h4{font-size:13px}
.compWeightTotal{font-size:11.5px;padding:6px 10px}
.compCriterionTop .compOrder,.wizardCompTop>span{width:26px;height:26px;font-size:11px}
.compPercent,.wizardCompTop>b{font-size:12px}
.compPolicyNote strong{font-size:11.5px}
.compPolicyNote span{font-size:12px;line-height:1.55}
.wizardRalDetected span,.wizardRalDetected small{font-size:12px}
.wizardRalDetected strong{font-size:18px}
.compCriterionMeta .badge{font-size:11.5px}

/* Candidate RAL analysis */
.compCandidateNotice strong{font-size:13px}
.compCandidateNotice span{font-size:12px;line-height:1.6}
.compSummaryCard span{font-size:11px}
.compSummaryCard strong{font-size:22px}
.compSummaryCard small{font-size:12px;line-height:1.5}
.compRationale strong{font-size:11.5px}
.compRationale p{font-size:12.5px;line-height:1.65}
.compAssessmentCriterion strong{font-size:12.5px}
.compAssessmentCriterion span{font-size:11.5px;line-height:1.5}
.compAssessmentEvidence{font-size:12.5px;line-height:1.6}
.tableRal{font-size:12px}
.compScale strong{font-size:11.5px}
.compScale span{font-size:11.5px;line-height:1.4}
.compReasonGrid h3{font-size:12.5px}
.compReasonItem strong{font-size:12px;line-height:1.45}
.compReasonItem span{font-size:11.5px;line-height:1.4}
.drawerRal span{font-size:12px;line-height:1.5}

/* Prevent enlarged typography from feeling cramped */
.compCriterionRow,.wizardCompRow{padding:14px;margin-bottom:10px}
.compCriterionTop,.wizardCompTop{grid-template-columns:28px minmax(0,1fr) 92px 22px 30px;gap:9px}
.compCriterionGrid,.wizardCompGrid{gap:12px;margin:12px 0}
.compPolicyNote{padding:12px 14px}
.liveWizardItem{padding:14px}


/* Release 0.8.2 — compensation policy readability */
.compPolicyNote{
  gap:14px;
  padding:14px 16px;
  align-items:flex-start
}
.compPolicyNote strong{
  min-width:122px;
  font-size:13px;
  line-height:1.45
}
.compPolicyNote span{
  font-size:13px;
  line-height:1.6;
  color:#565a60
}


/* Release 0.8.3 — compensation auto-balance */
.compWeightTools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.compBalanceToggle{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:32px;
  padding:0 10px;
  border:1px solid var(--line2);
  border-radius:999px;
  background:#fff;
  font-size:12px;
  font-weight:700;
  color:var(--ink);
  cursor:pointer
}
.compBalanceToggle input{width:14px;height:14px;margin:0}
.compAutoBalanceHint{
  margin:8px 0 12px;
  font-size:12px;
  line-height:1.45;
  color:var(--muted);
  transition:color .16s ease,font-weight .16s ease
}
.compAutoBalanceHint.active{color:#2d6a42;font-weight:700}
.wizardCompHeader .actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}

/* Compensation requirement links and target guidance */
.compFieldHelp{display:block;margin-top:6px;color:#5d6065;font-size:13px;line-height:1.4}
.compReqPicker{border:1px solid var(--line2);border-radius:8px;background:#fff}
.compReqPicker summary{cursor:pointer;padding:9px 11px;font-size:13px;font-weight:700;list-style:revert}
.compReqCount{display:inline-block;margin-left:6px;color:var(--muted);font-weight:600}
.compReqOptions{max-height:220px;overflow-y:auto;padding:6px 11px 10px;border-top:1px solid var(--line2)}
.compReqChoice{display:flex;align-items:flex-start;gap:9px;padding:6px 0;font-size:13px;line-height:1.4}
.compReqChoice input{width:16px!important;height:16px!important;flex:0 0 16px;margin:0}
.compCriterionMeta{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.compCoverage{margin:13px 0;padding:13px;border:1px solid #e4e0d7;border-radius:9px;background:#fbfaf6}
.compCoverageIntro{display:flex;flex-wrap:wrap;align-items:center;gap:7px 12px;font-size:13px}
.compCoverageIntro span{color:#5d6065}
.compCoverageDetails{margin-top:9px}
.compCoverageDetails summary{cursor:pointer;font-size:13px;font-weight:700}
.compCoverageList{margin-top:9px;max-height:320px;overflow:auto}
.compCoverageItem{display:flex;gap:6px 12px;padding:8px 0;border-top:1px solid #e4e0d7;font-size:13px;line-height:1.4}
.compCoverageItem strong{width:43%;flex-shrink:0}
.compCoverageItem span{color:#5d6065}

/* Candidate workspace: consistent, readable typography across all tabs */
.fullCard{
  width:min(1400px,96vw);
  height:min(900px,94vh)
}
.fullCard .fullHead{padding:18px 22px}
.fullCard .fullBody{padding:20px 22px;font-size:14px;line-height:1.6}
.fullCard .fullFoot{padding:12px 20px}
.fullCard .candidateTitle{font-size:24px;line-height:1.2}
.fullCard .candidateSubtitle{font-size:14px;line-height:1.5}
.fullCard .subtitle,.fullCard .profileEmpty p{font-size:14px;line-height:1.6}
.fullCard .eyebrow,.fullCard .sectionLabel{font-size:12px;line-height:1.35}
.fullCard .btn{font-size:13.5px}
.fullCard .fullTabs{padding:0 18px}
.fullCard .fullTabs button{font-size:14px;line-height:1.3;padding:13px 15px}
.fullCard .profileHero h2{font-size:23px;line-height:1.3}
.fullCard .profileSummary{font-size:15px;line-height:1.7;padding:18px 20px}
.fullCard .insightGrid{gap:14px}
.fullCard .insightSection{padding:17px 18px}
.fullCard .insightSection h3{font-size:17px;line-height:1.35}
.fullCard .insightSection>p,.fullCard .insightRow{font-size:14px;line-height:1.65}
.fullCard .insightRow{padding:12px 0}
.fullCard .sourceRefs span{font-size:12px;min-height:27px;padding:0 9px}
.fullCard .profileField span,.fullCard .profileField small{font-size:12.5px}
.fullCard .profileField strong{font-size:14px;line-height:1.5}
.fullCard .evidenceRow,.fullCard .evidence,.fullCard .quickInsight{font-size:14px;line-height:1.6}
.fullCard .summaryBox:not(.profileSummary),.fullCard .noteBox{font-size:14px;line-height:1.6}
.fullCard .questionAi strong{font-size:15px;line-height:1.5}
.fullCard .questionAi p,.fullCard .interviewCard p,.fullCard .interviewCard li,
.fullCard .transcriptText,.fullCard .noteText,.fullCard .noteComposer{font-size:14px;line-height:1.65}
.fullCard .interviewCard summary,.fullCard .sourceCard strong,
.fullCard .timeItem strong,.fullCard .noteMeta strong{font-size:14px}
.fullCard .sourceCard span,.fullCard .timeItem span,.fullCard .noteMeta span{font-size:13px;line-height:1.5}
.fullCard .sourceIcon,.fullCard .questionNo{font-size:12px}
.fullCard .badge,.fullCard .btn.small{font-size:12.5px}
.fullCard .sourceCard{grid-template-columns:42px minmax(0,1fr) auto}
.fullCard .sourceCard>div:nth-child(2){min-width:0;overflow-wrap:anywhere}
.fullCard .quickNote strong,.fullCard .quickNote p{font-size:14px;line-height:1.6}
.fullCard .quickNote span{font-size:13px;line-height:1.5}
.fullCard .compCandidate{max-width:1250px}
.fullCard .compCandidateNotice strong,.fullCard .compRationale p,
.fullCard .compAssessmentEvidence,.fullCard .compReasonItem strong{font-size:14px;line-height:1.6}
.fullCard .compCandidateNotice span,.fullCard .compSummaryCard small,
.fullCard .compAssessmentCriterion span,.fullCard .compScale span,
.fullCard .compReasonItem span{font-size:13px;line-height:1.5}
.fullCard .compRationale strong,.fullCard .compAssessmentCriterion strong,
.fullCard .compScale strong,.fullCard .compReasonGrid h3{font-size:14px;line-height:1.4}
.fullCard .compSummaryCard span{font-size:12.5px}
.fullCard .compReasonItem span{white-space:normal}
.fullCard .compPolicyNote strong{font-size:13px;line-height:1.5}
.fullCard .compPolicyNote span{font-size:13px;line-height:1.6}
.fullCard .aiJobStep,.fullCard .aiJobMeta{font-size:13px;line-height:1.5}
.fullCard .panelHead h3{font-size:17px}
.fullCard .panelHead .subtitle,.fullCard .liveEmpty{font-size:14px;line-height:1.6}
@media (min-width:981px) and (max-width:1220px){
  .fullCard .insightGrid:not(.two){grid-template-columns:repeat(2,minmax(0,1fr))}
  .fullCard .insightGrid:not(.two)>.insightSection:last-child{grid-column:1/-1}
}
@media (max-width:1100px){
  .fullCard .notesLayout{grid-template-columns:1fr}
  .fullCard .noteComposerPanel{position:static}
}
@media (max-width:780px){
  .fullCard .profileHero{flex-wrap:wrap}
  .fullCard .compSummaryGrid,.fullCard .compReasonGrid{grid-template-columns:1fr}
  .fullCard .compAssessmentRow{grid-template-columns:1fr}
  .fullCard .fullFoot{flex-wrap:wrap}
  .fullCard .fullFoot .actions{flex-wrap:wrap}
}
@media (max-width:680px){
  .fullCard{width:98vw;height:96vh}
  .fullCard .fullHead{padding:14px 16px}
  .fullCard .fullBody{padding:16px}
  .fullCard .fullTabs button{padding:11px 13px}
}

/* Candidate documents and link repository */
.candidateLinksCreate{margin-top:20px;padding:16px;border:1px solid var(--line);border-radius:10px;background:#fafaf8}
.candidateLinksCreate h3{margin:0 0 6px;font-size:16px}
.candidateLinksCreate p{margin:0 0 12px;color:var(--muted);font-size:13px;line-height:1.55}
.candidateNewLinkRow,.candidateLinkForm{display:grid;grid-template-columns:minmax(140px,.7fr) minmax(200px,1.3fr) auto;gap:8px;align-items:center;margin-bottom:9px}
.candidateNewLinkRow input,.candidateLinkForm input{width:100%;min-width:0;min-height:40px;padding:8px 10px;border:1px solid var(--line2);border-radius:8px;background:#fff;font-size:13px}
.candidateLinksPanel{margin-bottom:18px}
.candidateLinksList{display:grid;gap:8px;margin-bottom:14px}
.candidateLink{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:9px 0;border-bottom:1px solid var(--line)}
.candidateLink>div:first-child{min-width:0}
.candidateLink strong{display:block;font-size:14px}
.candidateLink a,.candidateLink span,.sourceFileLink{display:block;overflow-wrap:anywhere;font-size:13px;line-height:1.5}
.candidateLink .actions{flex:0 0 auto;flex-wrap:wrap}
.candidateLinkForm{margin:0}
.sourceFileLink{margin-top:5px}
.sourceTools{display:grid;gap:14px;align-content:start}
@media(max-width:680px){
  .candidateNewLinkRow,.candidateLinkForm{grid-template-columns:1fr}
  .candidateLink{align-items:flex-start;flex-direction:column}
}

/* Working global actions and readable logout control */
.sidebar .btn.ghost{color:#f5f5f5;border-color:#62666d;background:#23252a}
.sidebar .btn.ghost:hover,.sidebar .btn.ghost:focus-visible{background:#34373d;border-color:#a3a6ad;color:#fff}
.topActions{position:relative}
.topActions .iconBtn{position:relative;width:38px;min-height:38px}
.topActions .iconBtn svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.notificationCount{position:absolute;top:-5px;right:-5px;min-width:18px;height:18px;padding:0 4px;display:grid;place-items:center;border-radius:9px;background:var(--dn-red);color:#fff;font-size:10px;line-height:1;font-weight:800}
.notificationPopover{position:absolute;top:calc(100% + 16px);right:0;z-index:125;width:min(400px,calc(100vw - 30px));max-height:min(520px,75vh);overflow:auto;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:var(--shadow)}
.notificationPopover header{position:sticky;top:0;z-index:1;padding:14px 16px;background:#fff;border-bottom:1px solid var(--line)}
.notificationPopover header strong{display:block;font-size:15px}
.notificationPopover header span{display:block;margin-top:3px;font-size:12px;color:var(--muted)}
.notificationItem,.globalSearchResult{width:100%;display:block;padding:12px 16px;border:0;border-bottom:1px solid var(--line);background:#fff;text-align:left;color:var(--ink)}
.notificationItem:hover,.globalSearchResult:hover{background:#f7f7f5}
.notificationItem strong,.globalSearchResult strong{display:block;font-size:14px;line-height:1.45}
.notificationItem span,.globalSearchResult span{display:block;margin-top:3px;font-size:12.5px;line-height:1.5;color:var(--muted)}
.notificationPopover .liveEmpty{padding:18px}
.searchModal{width:min(720px,94vw)}
.searchModal .liveWizardBody{padding:18px 22px;min-height:250px}
.searchModal input[type=search]{width:100%;height:46px;padding:0 14px;border:1px solid var(--line2);border-radius:8px;font-size:15px}
.globalSearchResults{margin-top:14px}
.globalSearchResults h3{margin:15px 0 6px;font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.07em}
.globalSearchResult{border-radius:7px}
@media(max-width:680px){.notificationPopover{right:-65px}}

.srOnly{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.chatDock{position:fixed;inset:0;pointer-events:none;z-index:125}
.chatLauncher{pointer-events:auto;position:absolute;right:24px;bottom:24px;width:58px;height:58px;border:0;border-radius:18px;background:var(--ink);color:#fff;box-shadow:0 12px 32px rgba(0,0,0,.25);font-size:17px;font-weight:850;letter-spacing:-.04em}
.chatLauncher:hover{background:var(--dn-red)}
.chatLauncher[aria-expanded=true]{display:none}
.chatPanel{pointer-events:auto;position:absolute;right:24px;bottom:24px;width:min(460px,calc(100vw - 32px));height:min(660px,calc(100dvh - 48px));display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:0 26px 75px rgba(10,12,15,.24);overflow:hidden}
.chatHeader{background:var(--ink);color:#fff;padding:18px 19px 15px;display:flex;justify-content:space-between;align-items:flex-start}
.chatHeader .eyebrow{font-size:11px;color:#c2c4c7;text-transform:uppercase;letter-spacing:.08em}
.chatHeader h2{font-size:20px;line-height:1.3;margin:3px 0 0}
.chatClose{background:#393b40;color:#fff;border:0;border-radius:8px;width:32px;height:32px;font-size:24px;line-height:1}
.chatScope{display:flex;align-items:center;gap:8px;padding:11px 14px;border-bottom:1px solid var(--line);background:#fafaf9}
.chatScope label{font-size:12px;font-weight:750;white-space:nowrap;color:var(--muted)}
.chatScope select{min-width:0;flex:1;height:36px;padding:0 8px;border:1px solid var(--line2);border-radius:7px;background:#fff;font-size:13px}
.chatScope button{height:36px;background:#fff;border:1px solid var(--line2);border-radius:7px;padding:0 9px;font-size:12px;font-weight:700}
.chatMessages{flex:1;min-height:0;overflow:auto;padding:18px 15px;display:flex;flex-direction:column;gap:16px}
.chatWelcome{padding:16px;background:#f8f8f6;border:1px solid var(--line);border-radius:10px;font-size:14px;line-height:1.55}
.chatWelcome strong{font-size:16px}.chatWelcome p{margin:7px 0}.chatWelcome span{font-size:13px;color:var(--muted)}
.chatMessage{max-width:96%;align-self:flex-start;min-width:0}.chatMessage.mine{align-self:flex-end;max-width:88%}
.chatBubble{padding:11px 13px;background:#f2f2f0;border-radius:12px;font-size:14px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.chatMessage.mine .chatBubble{background:#ece9e7}
.chatThinking{color:var(--muted)}
.chatCitations{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.chatCitation{max-width:100%;border:1px solid #dedbe8;border-radius:6px;background:#f6f4fb;color:#453c72;padding:5px 7px;font-size:11.5px;line-height:1.35;text-align:left;overflow-wrap:anywhere}
.chatCitation:hover{background:#ebe7f7}.chatCaveat{display:block;margin-top:7px;color:var(--muted);font-size:12px;line-height:1.5}
.chatComposer{display:flex;align-items:flex-end;gap:8px;padding:12px 13px 6px;border-top:1px solid var(--line)}
.chatComposer textarea{flex:1;min-width:0;min-height:48px;max-height:130px;resize:vertical;border:1px solid var(--line2);border-radius:9px;padding:10px 11px;font-size:14px;line-height:1.45}
.chatComposer textarea:focus{outline:2px solid #dfdced;border-color:var(--purple)}
.chatComposer button{height:42px;padding:0 14px;background:var(--dn-red);color:#fff;border:0;border-radius:8px;font-size:13px;font-weight:750}
.chatComposer button:disabled{opacity:.5;cursor:wait}
.chatFooter{padding:3px 14px 11px;color:var(--muted);font-size:11.5px;line-height:1.4}
@media(max-width:680px){.chatLauncher{right:16px;bottom:16px}.chatPanel{right:0;bottom:0;width:100vw;height:min(82dvh,760px);border-radius:15px 15px 0 0}.chatScope{flex-wrap:wrap}.chatScope select{min-width:170px}}

/* Full-screen reader, above the candidate workspace; native dialog keeps focus inside. */
.documentViewer{position:fixed;inset:0;margin:0;padding:0;width:100vw;max-width:none;height:100vh;height:100dvh;max-height:none;border:0;background:#e9ebee;color:var(--ink);overflow:hidden}
.documentViewer[open]{display:flex;flex-direction:column}
.documentViewer::backdrop{background:rgba(15,17,22,.65)}
.documentViewerHeader{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 24px;background:#fff;border-bottom:1px solid var(--line);flex-shrink:0}
.documentViewerHeading{min-width:0}.documentViewerHeading>span{font-size:13px;color:var(--muted)}
.documentViewerHeading h2{font-size:20px;line-height:1.35;margin:4px 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.documentViewerActions{display:flex;gap:10px;flex-shrink:0}.documentViewer .btn{font-size:15px;min-height:42px;white-space:nowrap}
.documentViewerToolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 24px;background:#fff;border-bottom:1px solid var(--line);flex-shrink:0;flex-wrap:wrap}
.documentViewerZoom,.documentViewerPages{display:flex;align-items:center;gap:8px;font-size:15px}
.documentViewerPages[hidden]{display:none}
.documentViewerToolbar button{border:1px solid var(--line2);background:#fff;color:var(--ink);border-radius:7px;min-width:40px;min-height:40px;padding:7px 12px;font:inherit;cursor:pointer}
.documentViewerToolbar button:disabled{opacity:.4;cursor:default}.documentViewerToolbar button[aria-pressed="true"]{border-color:var(--dn-red);color:var(--dn-red);background:#fff6f5}
.documentViewerToolbar output{min-width:54px;text-align:center;font-variant-numeric:tabular-nums}
.documentViewerPages label{display:flex;align-items:center;gap:6px}.documentViewerPages input{width:62px;min-height:40px;margin:0;padding:7px;font-size:15px}
.documentViewerScroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;position:relative;padding:24px;outline-offset:-3px}
.documentViewerContent{display:flex;flex-direction:column;align-items:center;gap:20px;min-width:100%;width:max-content;margin:0 auto}
.documentViewerPage{flex:none;position:relative;background:#fff;box-shadow:0 3px 16px #18202b22;overflow:hidden}
.documentViewerPage canvas{display:block;width:100%;height:100%}
.documentViewerImage,.documentViewerWord,.documentViewerText{display:block;max-width:none;border:0;flex:none;background:#fff;box-shadow:0 3px 16px #18202b22}
.documentViewerImage{height:auto}.documentViewerWord{width:816px;min-height:100px}.documentViewerText{box-sizing:border-box;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;font-family:inherit;margin:0}
.documentViewerStatus{font-size:16px;line-height:1.6;padding:24px;text-align:center;margin:0 auto;max-width:680px}
.documentViewerStatus[hidden]{display:none}
.documentFileButtons{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:8px}
.documentFileButtons .btn{font-size:14px;min-height:36px}.documentFileName{font-size:14px!important;color:var(--muted);overflow-wrap:anywhere}
.candidateDocumentsQuick{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.sourceFileTitle{border:0;padding:0;background:transparent;color:var(--ink);font:inherit;font-weight:700;text-align:left;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
@media(max-width:640px){.documentViewerHeader{padding:12px;gap:10px}.documentViewerHeading h2{font-size:17px}.documentViewerHeading>span{font-size:12px}.documentViewerActions{gap:6px}.documentViewerActions .btn{font-size:13px;padding:8px}.documentViewerActions [data-close] span{display:none}.documentViewerToolbar{padding:8px 12px;gap:8px}.documentViewerZoom{gap:5px;flex-wrap:wrap}.documentViewerToolbar button{padding:7px 9px;font-size:14px}.documentViewerScroll{padding:16px}.documentViewerPages{margin-left:auto}}
