.candidate-link{border:0;background:none;padding:0;color:var(--navy);font-weight:800;cursor:pointer}.candidate-link:hover{color:#9a7628;text-decoration:underline}.back-link{border:0;background:none;color:var(--muted);font-weight:700;padding:0;margin-bottom:14px;cursor:pointer}
/* bridge95-style candidate profile */
.profile-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;border-bottom:1px solid var(--line);margin:0 0 14px;padding-bottom:14px}
.profile-identity{display:flex;align-items:center;gap:16px;min-width:0}
.profile-hero-photo{width:58px;height:58px;border-radius:50%;object-fit:cover;background:var(--navy);color:var(--gold);display:grid;place-items:center;font-size:20px;font-weight:850;border:1px solid var(--line);flex:0 0 auto}
.profile-identity h1{margin:0 0 5px;font-size:22px;font-weight:500}
.profile-identity .subtle{margin:0;color:var(--muted);font-size:13px}
.profile-contact-buttons{display:flex;gap:8px;margin-top:8px}
.profile-contact-buttons .btn,.profile-contact-buttons a.btn{min-height:30px;padding:4px 12px;font-size:12px;text-decoration:none;display:inline-flex;align-items:center}
.profile-hero .actions{display:flex;gap:8px;align-items:center}
.profile-close-x{min-width:34px;width:34px;height:34px;padding:0;display:inline-flex;align-items:center;justify-content:center;line-height:1;text-align:center}
.profile-tabs{display:flex;gap:22px;border-bottom:1px solid var(--line);margin:0 0 14px}
.profile-tabs button{border:0;background:transparent;padding:0 0 10px;color:var(--muted);font-weight:600;cursor:pointer}
.profile-tabs button.active{color:var(--navy);box-shadow:inset 0 -3px 0 var(--gold)}
.profile-tab-section[hidden]{display:none!important}
.profile-primary-actions{padding:12px 16px}
.quick-actions{display:flex;flex-wrap:wrap;gap:8px}
.quick-actions .btn,.quick-actions a.btn{min-height:32px;padding:5px 12px;font-size:13px;text-decoration:none;display:inline-flex;align-items:center}
.quick-actions .wide{width:100%;justify-content:center}
.profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.profile-main{display:grid;gap:18px;min-width:0}
.profile-side{display:grid;gap:18px;min-width:0}
.profile-section{margin-bottom:0}
.profile-section h3{margin:0 0 12px}
.profile-card-list{display:grid;gap:0}
.profile-row{display:grid;grid-template-columns:minmax(120px,.55fr) minmax(180px,1.45fr);gap:18px;align-items:center;min-height:42px;border-bottom:1px solid #eef1f5}
.profile-row:last-child{border-bottom:0}
.profile-row label{color:var(--muted);font-size:13px;font-weight:600}
.profile-row .profile-value{min-height:34px;display:flex;align-items:center;padding:5px 7px;font-size:14px;white-space:pre-wrap}
.profile-row select,.profile-row input{min-height:34px;border:1px solid transparent;border-radius:8px;background:transparent;padding:5px 7px;font-size:14px;width:100%}
.profile-row select:focus,.profile-row input:focus{border-color:var(--gold);background:#fff;outline:none}
.duplicate-status{background:#fff1ed;color:#a34838;border-radius:8px;padding:8px 10px;font-weight:700;font-size:13px;margin-top:8px}
.comment-timeline{display:grid;gap:10px}
.comment-item{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:12px;align-items:start;padding:8px 0;border-bottom:1px solid #edf0f5}
.comment-item:last-child{border-bottom:0}
.comment-icon{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;color:#1899a4;background:#eefbfb;font-size:14px}
.comment-author{color:var(--ink);font-size:13px;font-weight:700;margin-bottom:4px}
.comment-author .badge{margin-left:6px}
.comment-text{color:#2f3747;font-size:13px;line-height:1.5;white-space:pre-wrap}
.comment-date{color:var(--muted);font-size:12px;white-space:nowrap;padding-top:2px}
.comment-form{display:grid;gap:8px;margin-top:12px;border-top:1px solid var(--line);padding-top:12px}
.comment-form textarea{min-height:70px;border:1px solid var(--line);border-radius:8px;padding:8px 10px;resize:vertical}
.comment-form textarea:focus{border-color:var(--gold);outline:none}
.comment-form .comment-form-row{display:flex;gap:8px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.comment-form select{min-height:32px;border:1px solid var(--line);border-radius:8px;padding:4px 8px}
.profile-side .comment-scroll{max-height:560px;overflow-y:auto}
.quality-ring{width:88px;height:88px;border:7px solid var(--gold);border-radius:50%;display:grid;place-items:center;align-content:center;margin:0 auto 12px}
.quality-ring strong{font-size:22px}
.quality-ring span{font-size:11px;color:var(--muted)}
.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}
.info-item{display:grid;gap:4px;padding:11px 0;border-bottom:1px solid var(--line)}
.info-item span{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}
.info-item strong{font-weight:650;white-space:pre-wrap}
.cv-text{white-space:pre-wrap;line-height:1.65;max-height:340px;overflow:auto;background:#f8fafc;border:1px solid var(--line);padding:16px;border-radius:10px}
.reason{padding:10px 12px;border-radius:9px;margin:8px 0}.reason.good{background:#e9f6f1;color:#196b59}.reason.gap{background:#fff1ed;color:#a34838}
.timeline-item{border-left:3px solid var(--gold);padding:2px 0 13px 14px;margin:10px 0}.timeline-item .badge{margin-left:8px}
.doc-item{display:grid;gap:4px;padding:10px 0;border-bottom:1px solid #eef1f5}
.doc-item:last-child{border-bottom:0}
.doc-item .doc-top{display:flex;justify-content:space-between;gap:10px;align-items:center}
@media(max-width:900px){.profile-grid{grid-template-columns:1fr}}
@media(max-width:560px){.profile-hero{flex-direction:column}.info-grid{grid-template-columns:1fr}.profile-row{grid-template-columns:1fr}}
