/* LinkedIn Hiring Post Audit */
.hpa-tool{position:relative;overflow:hidden;text-align:left}
.hpa-tool .pn-i{width:1em;height:1em;flex:none}

/* top bar: examples */
.hpa-top{display:flex;justify-content:space-between;align-items:center;gap:12px 16px;flex-wrap:wrap;padding:16px 24px;border-bottom:1px solid var(--pn-line);background:#fff}
.hpa-examples{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.hpa-examples .pn-label{margin:0 4px 0 0;font-size:13px}
.hpa-examples button{display:inline-flex;align-items:center;gap:6px;height:34px;font:inherit;font-size:13px;font-weight:600;line-height:1;color:var(--pn-charcoal);background:#fff;border:1px solid var(--pn-line);border-radius:999px;padding:0 14px;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:border-color var(--pn-ease-fast),background var(--pn-ease-fast),color var(--pn-ease-fast)}
.hpa-examples button .pn-i{width:15px;height:15px;color:var(--pn-muted)}
.hpa-examples button:hover{border-color:#9aa7a2;color:var(--pn-black)}
.hpa-examples button[aria-pressed=true],.hpa-examples button[aria-pressed=true]:hover,.hpa-examples button[aria-pressed=true]:focus,.hpa-examples button[aria-pressed=true]:active{background:var(--pn-black);border-color:var(--pn-black);color:#fff}
.hpa-examples button[aria-pressed=true] .pn-i{color:var(--pn-yellow)}
.hpa-examples button:focus-visible,.hpa-textbtn:focus-visible,.hpa-preview .pn-seg button:focus-visible{outline:3px solid var(--pn-yellow);outline-offset:2px}
.hpa-private{display:flex;align-items:center;gap:6px;font-size:12px;line-height:1.4;color:var(--pn-muted);margin:0}
.hpa-private .pn-i{width:15px;height:15px;color:#176a5a}

/* grid */
.hpa-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:#fff}
.hpa-compose,.hpa-results{padding:24px;min-width:0}
.hpa-compose{border-right:1px solid var(--pn-line);display:flex;flex-direction:column}
.hpa-results{background:#fbfcf8}
.hpa-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;min-height:32px;margin-bottom:12px}
.hpa-head h2{font-size:18px;line-height:1.3;margin:0}
.hpa-textbtn{font:inherit;font-size:13px;font-weight:600;line-height:1;color:var(--pn-gray);border:0;background:transparent;text-decoration:underline;text-underline-offset:3px;cursor:pointer;padding:6px 4px}
.hpa-textbtn:hover{color:var(--pn-black)}
.hpa-editor{flex:none;width:100%;height:400px;min-height:240px;resize:vertical;border:1px solid var(--pn-line);border-radius:12px;padding:16px;background:#fcfcf8;font:400 15px/1.6 var(--pn-font-body);color:#1d2321;outline:0;box-sizing:border-box}
.hpa-editor:focus{border-color:#7fb5a8;box-shadow:0 0 0 3px rgba(23,106,90,.12)}
.hpa-editor::placeholder{color:var(--pn-muted)}
.hpa-editor::selection{background:var(--pn-yellow)}
.hpa-editor__foot{display:flex;justify-content:flex-end;font-size:12px;line-height:1.4;color:var(--pn-muted);margin:8px 0 16px}
#hpaCount.is-over{color:var(--pn-red-ink);font-weight:700}
.hpa-actions{display:flex;gap:8px;flex-wrap:wrap}
.hpa-actions .pn-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:42px;padding:0 18px;font-size:14px}
.hpa-actions .pn-i{width:16px;height:16px}
.hpa-status{font-size:12px;line-height:1.4;margin:0}
.hpa-status:not(:empty){margin-top:10px}
.hpa-status.is-ok{color:#176a5a}.hpa-status.is-warn{color:#7a5b00}.hpa-status.is-error{color:var(--pn-red-ink)}

/* score */
.hpa-scorecard{display:flex;align-items:center;gap:16px;min-height:32px;margin-bottom:16px}
.hpa-scorecard h2{font-size:20px;line-height:1.25;margin:0}
.hpa-scorecard p{font-size:13px;color:var(--pn-muted);margin:4px 0 0;line-height:1.5}
.hpa-ring{--c:#c9d0cd;position:relative;flex:none;width:92px;height:92px;border-radius:50%;background:conic-gradient(var(--c) calc(var(--p) * 1%),#e6e9e6 0)}
.hpa-ring::before{content:"";position:absolute;inset:8px;border-radius:50%;background:#fbfcf8}
.hpa-ring strong,.hpa-ring small{position:relative;display:block;text-align:center}
.hpa-ring strong{font:400 26px/1 var(--pn-font-display);color:var(--pn-black);letter-spacing:-.02em;padding-top:26px}
.hpa-ring small{font-size:11px;line-height:1;color:var(--pn-muted);margin-top:5px}
.hpa-ring.is-good{--c:#1f8a64}.hpa-ring.is-ok{--c:#d9a400}.hpa-ring.is-low{--c:#d14a3a}
.hpa-priority{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.5;color:#5b4700;background:#fff8d6;border-radius:12px;padding:12px 14px;margin:0 0 12px}
.hpa-priority[hidden]{display:none}
.hpa-priority .pn-i{width:16px;height:16px;margin-top:2px}
.hpa-priority.is-done{background:#e2f7f0;color:#0f6751}

/* checks */
.hpa-checklist{display:grid;gap:8px}
.hpa-check{background:#fff;border:1px solid var(--pn-line);border-radius:12px;overflow:hidden}
.hpa-check summary{display:flex;align-items:center;gap:10px;min-height:46px;padding:0 14px;cursor:pointer;list-style:none}
.hpa-check summary::-webkit-details-marker{display:none}
.hpa-check summary:focus-visible{outline:3px solid var(--pn-yellow);outline-offset:-3px;border-radius:12px}
.hpa-check__ic{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;flex:none}
.hpa-check__ic .pn-i{width:14px;height:14px}
.hpa-check.is-good .hpa-check__ic{background:#d9f4e9;color:#146044}
.hpa-check.is-partial .hpa-check__ic{background:#fff4c2;color:#6a5300}
.hpa-check.is-missing .hpa-check__ic{background:var(--pn-red-pale);color:var(--pn-red-ink)}
.hpa-check__name{flex:1;font-size:14px;line-height:1.3;font-weight:600;color:var(--pn-black)}
.hpa-check__pts{font-size:13px;font-weight:700;color:var(--pn-muted);font-variant-numeric:tabular-nums}
.hpa-check.is-good .hpa-check__pts{color:#146044}
.hpa-check__chev{display:grid;color:var(--pn-muted);transition:transform var(--pn-ease-fast)}
.hpa-check__chev .pn-i{width:16px;height:16px}
.hpa-check[open] .hpa-check__chev{transform:rotate(180deg)}
.hpa-check__body{padding:0 14px 14px 48px;font-size:13px;line-height:1.55;color:var(--pn-charcoal)}
.hpa-check__body p{margin:0 0 6px}
.hpa-check__fix{color:var(--pn-black)}
.hpa-add{display:inline-flex;align-items:center;gap:6px;height:30px;margin-top:4px;font:inherit;font-size:12px;font-weight:600;line-height:1;color:var(--pn-black);background:var(--pn-yellow);border:0;border-radius:999px;padding:0 12px;cursor:pointer}
.hpa-add:hover{background:#e9e82a}
.hpa-add .pn-i{width:14px;height:14px}
.hpa-add:focus-visible{outline:3px solid var(--pn-black);outline-offset:2px}

/* preview */
.hpa-preview{padding:24px;border-top:1px solid var(--pn-line);background:#f4f2ee}
.hpa-preview .hpa-head{margin-bottom:16px}
.hpa-preview .pn-seg button{display:inline-flex;align-items:center;gap:6px}
.hpa-preview .pn-seg .pn-i{width:14px;height:14px}
.hpa-stage{display:grid;place-items:start center}
.hpa-feed{width:100%;display:grid;justify-items:center}
.hpa-post{width:min(100%,555px);background:#fff;border-radius:10px;box-shadow:0 0 0 1px rgba(140,140,140,.2),0 4px 14px rgba(0,0,0,.05);font-family:-apple-system,system-ui,"Segoe UI",Roboto,Arial,sans-serif;color:rgba(0,0,0,.9);transition:width .25s ease}
.hpa-feed.is-mobile .hpa-post{width:min(100%,375px);border-radius:0}
.hpa-post__by{display:flex;gap:8px;align-items:flex-start;padding:12px 16px 4px}
.hpa-post__avatar{width:48px;height:48px;flex:none;display:grid;place-items:center;border-radius:6px;background:#17463c;color:#fff;font-weight:700;font-size:18px}
.hpa-post__by>div{flex:1;min-width:0}
.hpa-post__by strong,.hpa-post__by small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hpa-post__by strong{font-size:14px;line-height:1.35;font-weight:600}
.hpa-post__by small{font-size:12px;color:rgba(0,0,0,.6);line-height:1.35}
.hpa-post__meta{display:flex!important;align-items:center;gap:4px}
.hpa-post__meta .pn-i{width:12px;height:12px}
.hpa-post__follow{display:inline-flex;align-items:center;gap:2px;color:#0a66c2;font-size:14px;font-weight:600;padding-top:2px}
.hpa-post__follow .pn-i{width:16px;height:16px}
.hpa-post__text{position:relative;padding:4px 16px 12px}
.hpa-post__text p{margin:0;font-size:14px;line-height:20px;white-space:pre-wrap;overflow-wrap:anywhere;overflow:hidden}
.hpa-post__more{display:none;position:absolute;right:16px;bottom:12px;font-size:14px;line-height:20px;color:rgba(0,0,0,.6);background:linear-gradient(90deg,rgba(255,255,255,0),#fff 32%);padding-left:28px}
.hpa-post__text.is-clamped .hpa-post__more{display:block}
.hpa-post__react{display:flex;justify-content:space-around;padding:4px;border-top:1px solid #ebebeb}
.hpa-post__react span{display:inline-flex;align-items:center;gap:6px;color:rgba(0,0,0,.6);font-size:13px;font-weight:600;padding:10px 8px}
.hpa-post__react .pn-i{width:18px;height:18px}
.hpa-feed.is-mobile .hpa-post__react span{flex-direction:column;gap:3px;font-size:11px;padding:6px 4px}
.hpa-preview__note{font-size:12px;line-height:1.5;color:var(--pn-muted);text-align:center;margin:12px 0 0}

/* section art */
.hpax-before{position:relative;z-index:1;display:flex;align-items:center;gap:14px;width:100%;justify-content:center}
.hpax-card{width:46%;max-width:250px;background:#fff;border:1px solid var(--pn-line);border-radius:14px;padding:16px;box-shadow:var(--pn-shadow-card);font-size:13px;line-height:1.5;color:var(--pn-charcoal)}
.hpax-card p{margin:8px 0 0}
.hpax-card b{color:var(--pn-black)}
.hpax-tag{display:inline-flex;align-items:center;gap:5px;font:700 11px/1 var(--pn-font-body);border-radius:999px;padding:5px 9px}
.hpax-tag .pn-i{width:12px;height:12px}
.hpax-card--bad .hpax-tag{background:var(--pn-red-pale);color:var(--pn-red-ink)}
.hpax-card--good .hpax-tag{background:#d9f4e9;color:#146044}
.hpax-arrow{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--pn-black);color:#fff;flex:none}
.hpax-arrow .pn-i{width:16px;height:16px}
.hpax-examples{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.hpax-examples article{display:flex;flex-direction:column;background:#fff;border:1px solid var(--pn-line);border-radius:16px;padding:20px;font-size:13px;line-height:1.55;color:var(--pn-charcoal)}
.hpax-examples p{margin:10px 0 0}
.hpax-examples b{color:var(--pn-black)}
.hpax-who{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;font:600 12px/1 var(--pn-font-body);color:#145c4f;background:var(--pn-mint);border-radius:999px;padding:6px 10px}
.hpax-who .pn-i{width:13px;height:13px}
.hpax-use{margin-top:auto;padding-top:16px}
.hpax-use button{display:inline-flex;align-items:center;gap:6px;height:34px;font:inherit;font-size:13px;font-weight:600;color:var(--pn-black);background:#fff;border:1px solid var(--pn-black);border-radius:999px;padding:0 14px;cursor:pointer}
.hpax-use button:hover{background:var(--pn-yellow)}
.hpax-use .pn-i{width:14px;height:14px}
.hpax-ring-art{position:relative;z-index:1;display:flex;align-items:center;gap:28px}
.hpax-ring{position:relative;flex:none;width:156px;height:156px;border-radius:50%;background:conic-gradient(#1f8a64 88%,#e6e9e6 0);box-shadow:var(--pn-shadow-card)}
.hpax-ring::before{content:"";position:absolute;inset:12px;border-radius:50%;background:#fff}
.hpax-ring b,.hpax-ring span{position:relative;display:block;text-align:center}
.hpax-ring b{font:400 40px/1 var(--pn-font-display);padding-top:48px;color:var(--pn-black)}
.hpax-ring span{font-size:12px;color:var(--pn-muted);margin-top:6px}
.hpax-ring-art ul{list-style:none;margin:0;padding:0;display:grid;gap:12px;font-size:14px;color:var(--pn-charcoal)}
.hpax-ring-art li{display:flex;align-items:center;gap:10px}
.hpax-ring-art i{width:12px;height:12px;border-radius:50%;flex:none}
.hpax-ring-art i.is-good{background:#1f8a64}.hpax-ring-art i.is-ok{background:#d9a400}.hpax-ring-art i.is-low{background:#d14a3a}
.hpax-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.hpax-steps>div{background:#fff;border:1px solid var(--pn-line);border-radius:16px;padding:20px}
.hpax-steps .pn-i{width:22px;height:22px;color:#176a5a}
.hpax-steps b{display:block;font-size:15px;font-weight:600;margin-top:12px}
.hpax-steps p{font-size:14px;color:var(--pn-charcoal);margin:6px 0 0;line-height:1.5}

@media(max-width:980px){.hpa-grid{grid-template-columns:1fr}.hpa-compose{border-right:0;border-bottom:1px solid var(--pn-line)}.hpax-examples{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.hpax-steps{grid-template-columns:1fr}.hpax-before{flex-direction:column}.hpax-card{width:100%}.hpax-arrow .pn-i{transform:rotate(90deg)}}
@media(max-width:600px){
  .hpa-top,.hpa-compose,.hpa-results,.hpa-preview{padding:20px 16px}
  .hpa-top{padding-top:16px;padding-bottom:16px}
  .hpa-examples .pn-label{width:100%;margin-bottom:2px}
  .hpa-editor{height:300px;padding:14px}
  .hpa-actions .pn-btn{flex:1 1 100%}
  .hpa-scorecard{gap:14px;align-items:flex-start}
  .hpa-ring{width:80px;height:80px}.hpa-ring::before{inset:7px}.hpa-ring strong{font-size:22px;padding-top:23px}.hpa-ring small{font-size:10px;margin-top:4px}
  .hpa-scorecard h2{font-size:18px}
  .hpa-check summary{padding:0 12px}
  .hpa-check__body{padding:0 12px 12px 46px}
  .hpax-examples{grid-template-columns:1fr}
  .hpax-ring-art{flex-direction:column;gap:20px}
  .hpax-ring{width:132px;height:132px}.hpax-ring b{font-size:34px;padding-top:40px}
  .hpa-preview .hpa-head{flex-direction:column;align-items:flex-start}
}
