/* Delegance talent pages: candidates gallery, VA profiles, apply + VA dashboard */
:root{--bg:#0a0a0b;--bg2:#111113;--card:#141417;--card2:#1a1a1e;--line:#26262b;--line2:#34343a;--text:#ececee;--muted:#a2a2aa;--dim:#6f6f78;--ok:#7fd1a8;--warn:#e3c26b;--bad:#f08f8f;--info:#8fb6f0;--r:18px;--max:1180px;
  --silver:linear-gradient(180deg,#fff 0%,#d9dadf 35%,#9a9ba3 60%,#e6e7ea 85%,#b9bac1 100%)}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{background:var(--bg);color:var(--text);font:16px/1.6 Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;overflow-x:hidden}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button,input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--strong);outline-offset:3px;border-radius:6px}
.wrap{width:100%;max-width:var(--max);margin:0 auto;padding:0 24px}
.h{font-family:Montserrat,Inter,sans-serif;font-weight:500;letter-spacing:-.015em;line-height:1.1}
.silver{background:var(--silver);-webkit-background-clip:text;background-clip:text;color:transparent}
.eyebrow{font-family:Montserrat,Inter,sans-serif;font-size:12px;letter-spacing:.28em;text-transform:uppercase;color:var(--muted)}
.muted{color:var(--muted)} .dim{color:var(--dim)} .small{font-size:14px} .xs{font-size:12.5px}
.hide{display:none!important}

/* header */
.th{position:sticky;top:0;z-index:40;background:rgba(var(--base),.8);backdrop-filter:saturate(140%) blur(14px);-webkit-backdrop-filter:saturate(140%) blur(14px);border-bottom:1px solid var(--line)}
.th .wrap{display:flex;align-items:center;justify-content:space-between;height:66px;gap:14px}
.th .brand img{height:28px;width:auto}
.th nav{display:flex;gap:22px;font-size:14px;color:var(--muted);align-items:center}
.th nav a:hover,.th nav a.on{color:var(--text)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 20px;border-radius:999px;font-weight:600;font-size:14px;border:1px solid var(--line2);background:transparent;cursor:pointer;transition:transform .15s,border-color .15s,opacity .15s;white-space:nowrap}
.btn:hover{border-color:var(--strong)}
.btn:active{transform:scale(.98)}
.btn.silver-b{background:var(--metal);color:#111;border:0}
.btn.sm{min-height:36px;padding:0 14px;font-size:13px}
.btn[disabled]{opacity:.5;pointer-events:none}
.btn svg{width:17px;height:17px}

/* branded portrait: every VA photo sits on the same Delegance backdrop */
.port{position:relative;overflow:hidden;border-radius:var(--r);background:radial-gradient(120% 95% at 50% 8%,#4a4b53 0%,#1c1c21 52%,#0b0b0c 100%);box-shadow:inset 0 0 0 1px rgba(var(--ink),.07);aspect-ratio:4/5}
.port::before{content:'';position:absolute;inset:0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='160 121 750 750'%3E%3Cg fill='none' stroke='white' stroke-opacity='.09' stroke-width='40'%3E%3Cpath d='M195 158.5H510C695.4 158.5 847 310.1 847 495.5C847 680.9 695.4 832.5 510 832.5H221.5V273'/%3E%3Cpath d='M359.5 302H510C617 302 704.5 390 704.5 497.5C704.5 605 617 693 510 693H359.5Z'/%3E%3C/g%3E%3C/svg%3E") 50% 36%/82% no-repeat}
.port::after{content:'';position:absolute;left:0;right:0;bottom:0;height:3px;background:linear-gradient(90deg,#8d9097,#fff,#8d9097)}
.port img{position:absolute;inset:6% 0 0;width:100%;height:94%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 12px 24px rgba(0,0,0,.45))}
.port .mark{position:absolute;left:12px;top:12px;z-index:2;font:600 10px/1 Montserrat,Inter,sans-serif;letter-spacing:.3em;color:rgba(var(--ink),.55)}
.port.round{border-radius:50%;aspect-ratio:1}
.port.round::after,.port.round .mark{display:none}
.port.round img{inset:10% 0 0;height:90%}

/* chips, tags */
.chips{display:flex;flex-wrap:wrap;gap:6px}
.chip{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:999px;border:1px solid var(--line2);font-size:12.5px;color:var(--muted);background:rgba(var(--ink),.02)}
button.chip{cursor:pointer}
.chip.on{background:#ececee;color:#111;border-color:var(--text)}
.pill{display:inline-flex;align-items:center;gap:6px;font-size:12px;padding:3px 10px;border-radius:999px;border:1px solid #294a3b;color:var(--ok)}
.pill.b{border-color:#2e3e58;color:var(--info)}
.pill.y{border-color:#4d4329;color:var(--warn)}
.verified{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--muted)}
.verified svg{width:15px;height:15px;color:var(--ok)}

/* cards, inputs */
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:22px}
.in{width:100%;background:var(--bg2);border:1px solid var(--line2);border-radius:12px;padding:11px 13px;font-size:15px;transition:border-color .15s}
.in:focus{outline:none;border-color:#8a8a93}
textarea.in{min-height:110px;resize:vertical;line-height:1.5}
label.f{display:flex;flex-direction:column;gap:6px;font-size:13.5px;color:var(--muted)}
label.f b{color:var(--text);font-weight:600}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.stack{display:flex;flex-direction:column;gap:14px}
.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.sp{flex:1}
.note{border:1px dashed var(--line2);border-radius:12px;padding:12px 14px;font-size:13.5px;color:var(--muted)}
.note.lock{border-style:solid;border-color:#4d4329;background:rgba(227,194,107,.05)}
.note.ok{border-style:solid;border-color:#294a3b;background:rgba(127,209,168,.06)}
.note.bad{border-style:solid;border-color:#5a2f2f;background:rgba(240,143,143,.06)}
.spin{width:22px;height:22px;border:2.5px solid #333;border-top-color:#ddd;border-radius:50%;animation:sp .8s linear infinite;display:inline-block}
@keyframes sp{to{transform:rotate(360deg)}}
.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:#1f1f24;border:1px solid var(--line2);padding:12px 18px;border-radius:12px;font-size:14px;z-index:90;box-shadow:0 12px 40px rgba(0,0,0,.5)}
.toast.err{border-color:#5a2f2f;color:#ffd0d0}
.skel{background:linear-gradient(90deg,#141417 25%,#1c1c20 50%,#141417 75%);background-size:200% 100%;animation:sk 1.2s infinite;border-radius:var(--r)}
@keyframes sk{to{background-position:-200% 0}}

/* gallery */
.t-hero{padding:72px 0 36px;text-align:center;position:relative;isolation:isolate}
.t-hero::before{content:"";position:absolute;inset:-120px 0 auto;height:560px;background:radial-gradient(ellipse 60% 55% at 50% 30%,rgba(200,202,212,.12),transparent 70%);z-index:-1;pointer-events:none}
.t-hero h1{font-size:clamp(36px,6vw,64px);margin:14px 0 14px}
.t-hero p{max-width:640px;margin:0 auto;color:var(--muted);font-size:17px}
.filters{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:28px 0 18px}
.filters .in{flex:1;min-width:220px}
.filters select.in{flex:0 0 auto;width:auto}
.gal{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:18px}
.vcard{display:flex;flex-direction:column;background:var(--card);border:1px solid var(--line);border-radius:22px;overflow:hidden;transition:transform .2s,border-color .2s}
.vcard:hover{transform:translateY(-3px);border-color:#4a4a52}
.vcard .port{border-radius:0}
.vcard .b{padding:16px 16px 18px;display:flex;flex-direction:column;gap:8px;flex:1}
.vcard h3{font:600 17px/1.25 Montserrat,Inter,sans-serif}
.vcard .hl{color:var(--muted);font-size:14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.vcard .meta{font-size:12.5px;color:var(--dim)}
.vcard .chips{margin-top:auto}

/* profile */
.pf{display:grid;grid-template-columns:360px 1fr;gap:36px;padding:44px 0 30px;align-items:start}
.pf-side{position:sticky;top:90px;display:flex;flex-direction:column;gap:14px}
.pf h1{font-size:clamp(32px,4.5vw,50px);margin:6px 0 8px}
.pf .hl{font-size:19px;color:var(--muted);margin-bottom:14px}
.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;margin:18px 0}
.fact{border:1px solid var(--line);border-radius:14px;padding:12px 14px;background:rgba(var(--ink),.015)}
.fact b{display:block;font:600 16px/1.3 Montserrat,Inter,sans-serif}
.fact span{font-size:12.5px;color:var(--dim)}
.sec{margin-top:34px}
.sec h2{font:500 22px/1.2 Montserrat,Inter,sans-serif;margin-bottom:14px}
.about{white-space:pre-wrap;color:#cfcfd4}
.tl{display:flex;flex-direction:column;gap:0;border-left:1px solid var(--line2);margin-left:6px}
.tl .it{position:relative;padding:0 0 22px 22px}
.tl .it::before{content:'';position:absolute;left:-5px;top:7px;width:9px;height:9px;border-radius:50%;background:#d9dadf}
.tl b{font-weight:600}
.proj-g{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px}
.proj{background:var(--card);border:1px solid var(--line);border-radius:16px;overflow:hidden;display:flex;flex-direction:column}
.proj .im{aspect-ratio:16/10;background:var(--bg2);cursor:zoom-in}
.proj .im img{width:100%;height:100%;object-fit:cover}
.proj .b{padding:12px 14px;display:flex;flex-direction:column;gap:6px;flex:1}
.proj .b b{font-size:15px}
.lb{position:fixed;inset:0;background:rgba(0,0,0,.9);z-index:95;display:grid;place-items:center;padding:24px;cursor:zoom-out}
.lb img{max-width:100%;max-height:calc(90vh / var(--z,1));border-radius:12px}
.share-row{display:flex;gap:8px}
.share-row .btn{flex:1}

/* modal */
.modal{position:fixed;inset:0;z-index:80;background:rgba(0,0,0,.6);display:grid;place-items:center;padding:16px}
.modal .card{width:100%;max-width:520px;max-height:calc(92vh / var(--z,1));overflow:auto}

/* chathead (Messenger-style) */
.chead{position:fixed;right:22px;bottom:22px;z-index:70;width:64px;height:64px;border-radius:50%;border:2px solid #d9dadf;padding:0;cursor:pointer;box-shadow:0 12px 30px rgba(0,0,0,.5);background:none;transition:transform .2s}
.chead:hover{transform:scale(1.05)}
.chead .port{width:100%;height:100%}
.chead .dot{position:absolute;right:2px;bottom:2px;width:14px;height:14px;border-radius:50%;background:#45d483;border:2px solid #0a0a0b}
.chead .cnt{position:absolute;right:-4px;top:-4px;min-width:22px;height:22px;border-radius:11px;background:#e5484d;color:var(--strong);font:700 12px/22px Inter,sans-serif;text-align:center;padding:0 6px}
.cwin{position:fixed;right:22px;bottom:98px;z-index:71;width:360px;max-width:calc(100vw - 32px);height:520px;max-height:calc(calc(100vh / var(--z,1)) - 130px);background:var(--card);border:1px solid var(--line2);border-radius:20px;box-shadow:0 24px 70px rgba(0,0,0,.6);display:flex;flex-direction:column;overflow:hidden;animation:pop .2s ease}
@keyframes pop{from{opacity:0;transform:translateY(10px) scale(.98)}}
.cwin .hd{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid var(--line)}
.cwin .hd .port{width:40px;height:40px;flex:none}
.cwin .hd b{display:block;font-size:15px}
.cwin .hd span{font-size:12px;color:var(--dim)}
.cwin .x{margin-left:auto;background:none;border:0;color:var(--muted);font-size:22px;cursor:pointer;width:36px;height:36px;border-radius:50%}
.cwin .x:hover{background:#1f1f24}
.cwin .ms{flex:1;overflow:auto;padding:14px;display:flex;flex-direction:column;gap:8px}
.bub{max-width:80%;padding:9px 13px;border-radius:18px;font-size:14.5px;line-height:1.4;white-space:pre-wrap;word-wrap:break-word}
.bub.me{align-self:flex-end;background:#ececee;color:#111;border-bottom-right-radius:6px}
.bub.them{align-self:flex-start;background:#24242a;border-bottom-left-radius:6px}
.bub.dl{align-self:center;background:transparent;border:1px solid var(--line2);color:var(--muted);font-size:13px}
.cwin .ft{border-top:1px solid var(--line);padding:10px;display:flex;flex-direction:column;gap:8px}
.cwin .ft .row{flex-wrap:nowrap}
.cwin .ft .in{padding:10px 12px;font-size:14px;border-radius:20px}
.cwin .ft textarea.in{min-height:40px;max-height:120px;resize:none}
.cwin .send{width:40px;height:40px;border-radius:50%;border:0;background:#ececee;color:#111;cursor:pointer;flex:none;display:grid;place-items:center}
.cwin .send svg{width:18px;height:18px}
.cwin .safe{font-size:11.5px;color:var(--dim);text-align:center}

/* apply / dashboard */
.ap{display:grid;grid-template-columns:1fr 330px;gap:28px;align-items:start;padding:30px 0 60px}
.ap .side{position:sticky;top:90px}
.ap>*,.pf>*{min-width:0}
.sec-t{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:14px}
.sec-t h2{font:500 20px/1.2 Montserrat,Inter,sans-serif}
.rep{border:1px solid var(--line);border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:10px;background:rgba(var(--ink),.012)}
.rep .rm{align-self:flex-end;background:none;border:0;color:var(--bad);font-size:13px;cursor:pointer}
.drop{border:1.5px dashed var(--line2);border-radius:16px;padding:18px;text-align:center;cursor:pointer;color:var(--muted);font-size:14px;transition:border-color .15s}
.drop:hover{border-color:#8a8a93}
.tabs{display:flex;gap:4px;background:#111114;border:1px solid var(--line2);border-radius:999px;padding:4px;margin:22px 0}
.tabs button{flex:1;border:0;background:none;border-radius:999px;padding:9px 10px;font-size:14px;color:var(--muted);cursor:pointer}
.tabs button.on{background:#26262c;color:var(--strong)}
.tabs .cnt{display:inline-block;min-width:18px;height:18px;border-radius:9px;background:#e5484d;color:var(--strong);font-size:11px;line-height:18px;margin-left:6px;padding:0 5px}
.threads{display:grid;grid-template-columns:260px 1fr;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;min-height:440px}
.threads .ls{border-right:1px solid var(--line);overflow:auto;max-height:560px}
.threads .ls button{display:block;width:100%;text-align:left;background:none;border:0;border-bottom:1px solid var(--line);padding:12px 14px;cursor:pointer}
.threads .ls button.on{background:#1a1a1e}
.threads .cv{display:flex;flex-direction:column;max-height:560px}
.threads .cv .ms{flex:1;overflow:auto;padding:14px;display:flex;flex-direction:column;gap:8px}
.threads .cv .ft{border-top:1px solid var(--line);padding:10px;display:flex;gap:8px}

footer.tf{border-top:1px solid var(--line);padding:30px 0 40px;color:var(--dim);font-size:14px;margin-top:40px}
footer.tf .wrap{display:flex;gap:18px;flex-wrap:wrap;justify-content:space-between}
footer.tf nav{display:flex;gap:18px}

@media (max-width:900px){
  .pf{grid-template-columns:1fr;gap:22px;padding-top:24px}
  .pf-side{position:static;max-width:380px}
  .ap{grid-template-columns:1fr}
  .ap .side{position:static}
  .threads{grid-template-columns:1fr}
  .threads .ls{max-height:220px;border-right:0;border-bottom:1px solid var(--line)}
}
@media (max-width:640px){
  .wrap{padding:0 16px}
  .th nav .hide-m{display:none}
  .grid2,.grid3{grid-template-columns:1fr}
  .gal{grid-template-columns:repeat(2,1fr);gap:10px}
  .vcard .b{padding:12px}
  .vcard h3{font-size:15px}
  .vcard .chips{display:none}
  #photoRow{flex-wrap:wrap!important}
  #photoRow>div:first-child{width:140px!important}
  .card{padding:16px}
  .chead{right:16px;bottom:16px}
  .cwin{right:0;bottom:0;width:100vw;max-width:100vw;height:calc(100dvh / var(--z,1));max-height:calc(100dvh / var(--z,1));border-radius:0}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* v3 decoration: ambient light, grain, photo heroes */
.amb{position:fixed;inset:0;z-index:-2;pointer-events:none;overflow:hidden;contain:strict;transform:translateZ(0)}
.amb i{position:absolute;border-radius:50%;opacity:.5}
.amb i:nth-child(1){width:620px;height:620px;left:-160px;top:-180px;background:radial-gradient(circle,#3a3c46,transparent 70%)}
.amb i:nth-child(2){width:520px;height:520px;right:-140px;top:20%;background:radial-gradient(circle,#2c3446,transparent 70%);animation-duration:32s}
@keyframes drift{to{transform:translate3d(60px,40px,0) scale(1.12)}}
.grain{position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.05;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
body{background:transparent}
html{background:var(--bg)}
.t-hero .bgimg{position:absolute;left:50%;top:0;width:100%;height:100%;transform:translateX(-50%);z-index:-1;pointer-events:none;overflow:hidden;-webkit-mask-image:radial-gradient(ellipse 75% 85% at 50% 30%,#000 25%,transparent 78%);mask-image:radial-gradient(ellipse 75% 85% at 50% 30%,#000 25%,transparent 78%)}
.t-hero .bgimg img{width:100%;height:100%;object-fit:cover;opacity:.26;filter:grayscale(.3)}
.t-hero .bgimg::after{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(var(--ink),.04) 1px,transparent 1px),linear-gradient(90deg,rgba(var(--ink),.04) 1px,transparent 1px);background-size:56px 56px}
.t-badges{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:26px}
.t-badges span{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;font-size:13px;color:var(--text);background:rgba(22,22,26,.6);border:1px solid rgba(var(--ink),.1);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.t-badges svg{width:15px;height:15px;color:var(--ok)}
.t-hero{padding-top:96px}
@media (max-width:760px){.t-hero{padding-top:64px}.t-badges span{font-size:12px;padding:7px 12px}}
@media (prefers-reduced-motion:reduce){.amb i{animation:none}}

/* profile strength meter */
.meter .mt-pct{font:600 22px Montserrat,Inter,sans-serif}
.mt-bar{height:8px;border-radius:9px;background:#26262b;overflow:hidden}
.mt-bar i{display:block;height:100%;width:0;border-radius:9px;background:var(--warn);transition:width .6s cubic-bezier(.2,.7,.2,1),background .3s}
.mt-bar i.mid{background:var(--metal)}
.mt-bar i.hi{background:var(--ok)}
.mt-tips{list-style:none;display:grid;gap:8px}
.mt-tips:empty{display:none}
.mt-tips li{display:flex;gap:10px;align-items:baseline;font-size:13.5px;color:var(--muted)}
.mt-tips li span{flex:0 0 auto;font-size:11.5px;font-weight:600;color:var(--ok);border:1px solid #294a3b;border-radius:99px;padding:1px 7px}
/* Portfolio: photos, website previews, gallery */
.proj .im{position:relative;display:block;width:100%;padding:0;border:0;border-bottom:1px solid var(--line);font:inherit;color:inherit;text-align:left;cursor:zoom-in;overflow:hidden}
.proj .im img{transition:transform .4s ease}.proj .im:hover img{transform:scale(1.03)}
.proj .im:focus-visible{outline:2px solid var(--gold);outline-offset:-2px}
.im-n{position:absolute;right:10px;bottom:10px;padding:3px 9px;border-radius:999px;background:rgba(0,0,0,.72);color:#fff;font:600 12px Inter,sans-serif}
.im.pv{display:flex;flex-direction:column;background:var(--bg2)}
.im.pv img{flex:1;min-height:0}
.pv-bar{display:flex;align-items:center;gap:5px;padding:7px 10px;background:rgba(var(--ink,255,255,255),.06);border-bottom:1px solid var(--line);flex:none}
.pv-bar i{width:7px;height:7px;border-radius:50%;background:var(--line)}
.pv-bar em{margin-left:8px;font:500 11px Inter,sans-serif;font-style:normal;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pv-t{flex:1;display:grid;place-items:center;padding:16px;text-align:center;font:600 15px Montserrat,sans-serif;color:var(--text)}
.pv-tag{position:absolute;left:10px;bottom:10px;padding:3px 9px;border-radius:3px;background:rgba(0,0,0,.72);color:#fff;font:600 11px Inter,sans-serif;letter-spacing:.02em}
.lb{cursor:default}.lb figure{margin:0;display:grid;gap:10px;justify-items:center;max-width:min(1100px,100%)}
.lb figure img{max-height:calc(80vh / var(--z,1))}
.lb figcaption{color:#e8e8ea;font-size:14px;text-align:center}.lb figcaption a{color:#e2c27a;text-decoration:underline}
.lb-p,.lb-n,.lb-x{position:fixed;width:46px;height:46px;border-radius:50%;border:1px solid rgba(255,255,255,.25);background:rgba(0,0,0,.55);color:#fff;font-size:24px;line-height:1;cursor:pointer}
.lb-p{left:16px;top:50%;transform:translateY(-50%)}.lb-n{right:16px;top:50%;transform:translateY(-50%)}.lb-x{right:16px;top:16px}
.lb-p:focus-visible,.lb-n:focus-visible,.lb-x:focus-visible{outline:2px solid #e2c27a}
.pgal{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.pgal-th{display:flex;flex-wrap:wrap;gap:8px}.pgal-th:empty{display:none}
.pgal-i{position:relative;width:72px;height:54px;border-radius:4px;overflow:hidden;border:1px solid var(--line)}.pgal-i img{width:100%;height:100%;object-fit:cover}
.pgal-x{position:absolute;top:2px;right:2px;width:22px;height:22px;border-radius:50%;border:0;background:rgba(0,0,0,.72);color:#fff;font-size:14px;line-height:1;cursor:pointer}
.pgal-x:focus-visible{outline:2px solid #e2c27a}.pgal [data-st]{flex-basis:100%}
@media (max-width:560px){.lb-p,.lb-n{top:auto;bottom:18px;transform:none}}
/* Your own profile */
.own-bar{position:relative;z-index:2;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 16px;padding:10px 16px;background:var(--gold,#e2c27a);color:#1a1408;font-size:14px;text-align:center}
.own-bar b{font-weight:700}
.own-edit{min-height:38px;padding:0 16px;border:0;border-radius:3px;background:#1a1408;color:#fff;font:600 14px Inter,sans-serif;cursor:pointer}
.own-edit:focus-visible{outline:2px solid #1a1408;outline-offset:2px}
.vcard{position:relative}.own-tag{position:absolute;top:10px;right:10px;z-index:3;padding:3px 10px;border-radius:999px;background:var(--gold,#e2c27a);color:#1a1408;font:700 11px Inter,sans-serif;letter-spacing:.04em}
.recov{margin-bottom:16px}.recov summary{cursor:pointer;list-style:none;font-size:14px;color:var(--muted)}.recov summary::-webkit-details-marker{display:none}
.recov summary b{color:var(--text);margin-right:6px}.recov[open] summary{margin-bottom:4px}
/* Light mode: hero badges on a light glass instead of dark grey */
html[data-theme="light"] .t-badges span{background:rgba(255,255,255,.72);border-color:rgba(26,20,8,.14);color:#1a1408}
html[data-theme="light"] .t-badges svg{color:#2f7a45}
/* ===== Candidates: save, compare, shortlist, recently viewed ===== */
.filters select.in{min-width:150px}
.vtools{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:-6px 0 16px}
.vchk{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:0 12px;border:1px solid var(--line2);border-radius:4px;font-size:13px;color:var(--muted);cursor:pointer}
.vchk input{accent-color:var(--gold,#e2c27a);width:16px;height:16px}
.vtab{min-height:38px;padding:0 14px;border:1px solid var(--line2);border-radius:4px;background:none;color:var(--text);font:500 13px Inter,sans-serif;cursor:pointer}
.vtab b{margin-left:4px;color:var(--gold,#e2c27a)}.vtab.on{background:var(--gold,#e2c27a);color:#1a1408;border-color:transparent}.vtab.on b{color:#1a1408}
.vshare{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:12px 14px;margin-bottom:16px;border-left:3px solid var(--gold,#e2c27a);background:rgba(226,194,122,.08);font-size:14px}
.linkish{background:none;border:0;padding:0;color:var(--text);text-decoration:underline;font:inherit;cursor:pointer}
.vsub{font:600 15px Montserrat,Inter,sans-serif;margin:4px 0 10px;color:var(--muted)}
#recent{margin-bottom:22px}.vrecent{display:flex;gap:10px;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin}
.vr{flex:none;display:flex;align-items:center;gap:8px;padding:6px 12px 6px 6px;border:1px solid var(--line2);border-radius:999px;font-size:13px;text-decoration:none;color:var(--text)}
.vr img,.vr span{width:30px;height:30px;border-radius:50%;object-fit:cover;object-position:top;background:#2a2a30}.vr:hover{border-color:var(--gold,#e2c27a)}
.vwrap{position:relative}.vwrap .vcard{height:100%}
.vact{position:absolute;top:10px;left:10px;z-index:3;display:flex;gap:6px;align-items:center}
.vheart{width:38px;height:38px;border-radius:50%;border:0;background:rgba(10,10,12,.66);color:#fff;font-size:18px;line-height:1;cursor:pointer;backdrop-filter:blur(6px);transition:transform .15s}
.vheart:hover{transform:scale(1.08)}.vheart.on{color:#ff6b7d}
.vcmp{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 10px;border-radius:999px;background:rgba(10,10,12,.66);color:#fff;font:600 11.5px Inter,sans-serif;cursor:pointer;backdrop-filter:blur(6px);opacity:0;transition:opacity .2s}
.vwrap:hover .vcmp,.vcmp.on,.vcmp:focus-within{opacity:1}.vcmp input{accent-color:#e2c27a;width:14px;height:14px}
@media (hover:none){.vcmp{opacity:1}}
.vok{color:#e2c27a}
.vcard .chips{transition:opacity .2s}.vcard:hover .hl{color:var(--text)}
.cmpbar{position:sticky;bottom:16px;z-index:20;display:flex;flex-wrap:wrap;align-items:center;gap:10px;justify-content:center;width:max-content;max-width:100%;margin:16px auto 0;padding:10px 12px 10px 18px;border-radius:999px;background:rgba(14,14,16,.92);border:1px solid rgba(226,194,122,.45);color:#f2f2f3;font-size:14px;box-shadow:0 10px 30px rgba(0,0,0,.35);backdrop-filter:blur(10px)}
.cmpbar .btn{min-height:36px}
.cmpdlg{width:min(1000px,calc(100vw - 24px));max-height:calc(calc(100vh / var(--z,1)) - 40px);padding:0;border:1px solid var(--line2);border-radius:4px;background:var(--card,#141417);color:var(--text)}
.cmpdlg::backdrop{background:rgba(0,0,0,.6)}.cmpin{padding:20px}
.cmphead{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.cmphead .x{width:40px;height:40px;border:0;border-radius:50%;background:rgba(var(--ink),.08);color:var(--text);font-size:22px;cursor:pointer}
.cmpwrap{overflow-x:auto}.cmptbl{width:100%;border-collapse:collapse;min-width:560px}
.cmptbl th,.cmptbl td{padding:12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;font-size:14px}
.cmptbl thead th{vertical-align:bottom}.cmptbl thead th .port{width:64px;height:64px;margin-bottom:8px}.cmptbl thead b{display:block;font-size:15px}
.cmptbl thead a{font-size:12px;color:var(--muted);text-decoration:underline}.cmptbl tbody th{color:var(--muted);font-weight:500;width:130px;white-space:nowrap}
/* Loading skeleton shimmer that fits light mode too */
html[data-theme="light"] .skel{background:linear-gradient(90deg,#ece6da 25%,#f5f0e6 50%,#ece6da 75%);background-size:200% 100%}
@media (prefers-reduced-motion:reduce){.skel{animation:none}.vcard,.vheart,.proj .im img{transition:none}}
@media (max-width:640px){.filters select.in{flex:1 1 45%;min-width:0}.cmpbar{bottom:10px;font-size:13px}}
/* Save as PDF / print: a clean one-page CV look */
@media print{
  @page{margin:14mm}
  html,body{background:#fff!important;color:#111!important}
  header,footer,.tf,.own-bar,.share-row,#hireBtn,#intBtn,.btn,.chat-fab,.cb-fab,[data-theme-toggle],.thm-float,.vact,.lb{display:none!important}
  .wrap{max-width:none!important;padding:0!important}
  .pf{display:grid!important;grid-template-columns:180px 1fr!important;gap:20px!important}
  .port{width:180px!important;height:225px!important;box-shadow:none!important}
  .card,.proj,.kv,.chip{background:none!important;border-color:#ccc!important;color:#111!important;box-shadow:none!important}
  .muted,.dim,.small,.xs{color:#444!important}
  .proj .im{display:none!important}
  a{color:#111!important;text-decoration:none!important}
  h1,h2,h3{color:#111!important;-webkit-text-fill-color:#111!important;background:none!important}
  .proj-g{grid-template-columns:1fr 1fr!important}
  section{break-inside:avoid}
}
#saveBtn.on{border-color:#ff6b7d;color:#ff6b7d}
.vact{left:auto;right:10px;flex-direction:row-reverse}
.vcard h3 .own-tag{position:static;display:inline-block;margin-left:8px;vertical-align:2px}
/* What's new + status */
.t-hero.sm{padding:110px 0 30px}.t-hero.sm h1{font-size:clamp(34px,5vw,56px)}
.wn{max-width:860px}.wn-tabs{display:flex;gap:0;border-bottom:1px solid var(--line2);margin:10px 0 24px}
.wn-tabs button{min-height:44px;padding:0 18px;border:0;background:none;color:var(--muted);font:600 14px Inter,sans-serif;cursor:pointer;position:relative}
.wn-tabs button[aria-selected=true]{color:var(--text)}.wn-tabs button[aria-selected=true]::after{content:"";position:absolute;left:12px;right:12px;bottom:-1px;height:2px;background:#e2c27a}
.wn-log{list-style:none;margin:0;padding:0 0 0 22px;border-left:1px solid var(--line2);display:grid;gap:26px}
.wn-log li{position:relative}.wn-log li::before{content:"";position:absolute;left:-28px;top:6px;width:11px;height:11px;border-radius:50%;background:#e2c27a;box-shadow:0 0 0 4px rgba(226,194,122,.18)}
.wn-log li.skel::before{display:none}.wn-log time{font-size:12.5px;color:var(--dim);margin-left:8px}
.wn-v{display:inline-block;padding:2px 8px;border:1px solid rgba(226,194,122,.5);border-radius:3px;font:700 11px Inter,sans-serif;color:#e2c27a}
.wn-log h2{font:600 20px/1.3 Montserrat,Inter,sans-serif;margin:6px 0 6px}.wn-log p{color:var(--muted);line-height:1.65}
.wn-log li.hl{outline:2px solid rgba(226,194,122,.5);outline-offset:10px;border-radius:2px}
.wn-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px;margin-bottom:24px}.wn-grid h3{font:600 16px Montserrat,Inter,sans-serif;margin:8px 0 6px}
.nl{margin:44px 0 10px;display:grid;gap:14px}.nl-row{display:flex;gap:10px;flex-wrap:wrap}.nl-row .in{flex:1;min-width:220px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.st-list{display:grid;gap:10px;max-width:760px}
.st-row{display:grid;grid-template-columns:1fr auto;gap:2px 16px;padding:16px 18px;border:1px solid var(--line2);border-left:4px solid var(--line2);border-radius:3px;background:var(--card)}
.st-row span{grid-column:1;font-size:13px;color:var(--muted)}.st-row em{grid-row:1/3;grid-column:2;align-self:center;font-style:normal;font-weight:600;font-size:14px}
.st-row.ok{border-left-color:#4ade80}.st-row.ok em{color:#4ade80}.st-row.down{border-left-color:#f87171}.st-row.down em{color:#f87171}
html[data-theme="light"] .st-row.ok em{color:#15803d}html[data-theme="light"] .st-row.down em{color:#b91c1c}
