/* Multi-select pills and cards for the guided setup industry, department, and level steps. */
.setup-choices{margin:0;padding:0;border:0;min-width:0}
.setup-choices legend{padding:0;margin-bottom:4px}
.setup-choices .choice-pills{flex-wrap:wrap}
.setup-choices .choice-pills label{flex:0 0 auto}
.setup-choices .choice-pills span{padding:10px 16px;font-size:14px}
.choice-pills input:focus-visible+span{outline:2px solid #444;outline-offset:2px}
.industry-card[aria-pressed=true]{background:var(--brand-tint,#f2f2f2);border-color:var(--brand-accent,#6f6f6f)}
.setup-choices .choice-pills input:not(:checked)+span{color:var(--fg)}
.guided-entry-modes{display:flex;align-items:stretch;gap:24px;min-width:0;border-bottom:1px solid var(--line);background:#fff;white-space:nowrap}
.guided-entry-mode{flex:0 1 auto;min-height:44px;min-width:0;padding:9px 0 10px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);font:400 14px/1.3 var(--font-body,sans-serif);cursor:pointer}
.guided-entry-mode[aria-selected=true]{border-bottom-color:var(--ink);color:var(--ink)}
.guided-entry-mode:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.guided-entry-editors{min-width:0}.guided-entry-editor{display:grid;gap:16px;min-width:0}.guided-entry-editor[hidden]{display:none}
.guided-entry-editor .setup-examples{padding:0;border:0}.guided-entry-editor .setup-examples>summary{display:none}
.guided-entry-editor .setup-examples .posting-inputs{margin-top:0}
.guided-entry-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:-8px}
.guided-entry-chips[hidden]{display:none}
.guided-entry-chip{display:inline-flex;align-items:center;gap:10px;min-height:44px;max-width:100%;padding:8px 12px;border:1px solid var(--line);border-radius:999px;background:var(--brand-tint,#f2f2f2);color:var(--ink);font:400 12px/1.3 var(--font-mono,monospace);cursor:pointer}
.guided-entry-chip span:first-child{overflow-wrap:anywhere;text-align:left}
.guided-entry-chip span:last-child{font:400 19px/1 var(--font-body,sans-serif)}
.guided-entry-chip:focus-visible{outline:2px solid var(--brand-focus,#444);outline-offset:2px}
.guided-entry-control{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0}
.workspace-search-form .guided-entry-control>label{display:contents}
.guided-entry-control .setup-label{grid-column:1/-1;grid-row:1}
.guided-entry-control input:not([type=hidden]){grid-column:1;grid-row:2}
.guided-entry-control label>small{grid-column:1/-1;grid-row:3}
#guided-editor-role .guided-entry-control :is(.setup-label,.search-entry-label,.search-entry-help),#guided-editor-role .guided-entry-control label>small{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.guided-entry-control>.guided-entry-add{grid-column:2;grid-row:2}
.guided-entry-add{flex:none;min-width:56px;min-height:48px;padding:10px 14px;border:1px solid var(--line);border-radius:14px;background:var(--brand-tint,#f2f2f2);color:var(--ink);font:inherit;font-size:14px;cursor:pointer;touch-action:manipulation}
.guided-entry-add:focus-visible{outline:2px solid var(--brand-focus,#444);outline-offset:2px}
@media(hover:hover){.guided-entry-add:hover{border-color:var(--brand-accent,#6f6f6f)}}
#guided-role-input,#guided-location-input{min-height:48px;font-size:16px!important}

/* Four-step setup: only the question scrolls; navigation stays inside the shell. */
.results:has(>#empty.setup-pane:not([hidden])){display:flex;flex-direction:column;overflow:hidden}
#empty.setup-pane:not([hidden]){display:block;flex:1;min-height:0;overflow:hidden}
.workspace-search-form{height:100%;min-height:0;margin-block:0!important;margin-inline:auto;grid-template-rows:minmax(0,1fr) auto auto;padding:30px clamp(22px,4vw,56px) 0;gap:18px;overflow:hidden}
.guided-progress progress{accent-color:var(--ink)}
.guided-progress progress::-webkit-progress-bar{background:#e5e5e5}
.guided-progress progress::-webkit-progress-value{background:var(--ink)}
.guided-content{position:relative;min-height:0;overflow:auto;overscroll-behavior:contain;padding:58px 4px 24px;scrollbar-gutter:stable}
.guided-content>.guided-progress{position:absolute;inset:0 4px auto;height:42px;margin:0}
.guided-content>.guided-progress,.guided-content>.guided-heading{margin-bottom:18px}
.guided-question{display:grid;align-content:start;gap:18px;max-width:920px;min-height:0;margin:0 auto;padding:4px 0;width:100%}
.guided-question[hidden]{display:none}
.guided-advanced{border-top:1px solid var(--line);padding-top:14px}
.guided-advanced summary{display:flex;align-items:center;gap:8px;min-height:44px;cursor:pointer;color:var(--ink);font-size:14px;list-style:none}
.guided-advanced summary::after{content:"";width:7px;height:7px;margin-left:auto;margin-right:4px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}
.guided-advanced[open]>summary::after{transform:rotate(225deg)}
.guided-advanced summary:focus-visible{outline:2px solid var(--ink);outline-offset:4px;border-radius:4px}
#guided-stage{color:var(--ink)}
.guided-advanced summary::-webkit-details-marker{display:none}
.guided-advanced summary span{color:var(--muted);font-size:12px}
.guided-advanced>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:16px}
.guided-refine>div>#setup-industry{grid-column:1/-1}
.guided-advanced.guided-examples[open]>div{display:grid;grid-template-columns:1fr;gap:16px}
.guided-examples:not([open])>div{display:none}
.guided-examples #guided-job-status:empty{display:none}
.guided-question>.setup-companies[hidden]{display:none}
.guided-review{display:grid;gap:16px}
.guided-review-group{border:1px solid var(--line);border-radius:11px;background:#fff;overflow:hidden}
.guided-review-group-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 16px;border-bottom:1px solid var(--line)}
.guided-review-group h3{margin:0;font-size:15px;font-weight:400}
.guided-review-edit{min-height:44px;min-width:64px}
.guided-review dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin:0;background:var(--line)}
.guided-review dl>div{padding:14px 16px;background:#fff;min-width:0}
.guided-review dl>div:last-child:nth-child(odd){grid-column:1/-1}
.guided-review dt{color:var(--muted);font-size:11px}
.guided-review dd{margin:4px 0 0;font-size:14px;overflow-wrap:anywhere}
.guided-review-more summary{display:flex;align-items:center;min-height:44px;cursor:pointer;list-style:none}
.guided-review-more summary::after{content:'⌄';margin-left:8px}
.guided-review-more[open] summary::after{transform:rotate(180deg)}
.guided-review-more summary::-webkit-details-marker{display:none}
.guided-review-more summary:focus-visible{outline:2px solid var(--brand-focus,#444);outline-offset:2px}
.guided-review-more ul{margin:8px 0 0;padding-left:18px}
.workspace-search-form>.setup-actions{position:static;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:10px;margin:0;padding:16px 0 max(18px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff;z-index:2}
.workspace-search-form>.setup-actions button{width:auto;min-width:120px;justify-self:start;min-height:44px;margin:0;justify-content:center}
.workspace-search-form>.setup-actions #guided-next,.workspace-search-form>.setup-actions #setup-submit{grid-column:2;justify-self:end}
#guided-company-status,#guided-job-status{min-height:20px;margin:0;color:var(--muted);font-size:13px}
@media(min-width:1100px){.guided-review{grid-template-columns:repeat(3,minmax(0,1fr))}.guided-review dl{grid-template-columns:1fr}.guided-review dl>div{padding:8px 12px}.guided-review dd{margin-top:2px}.guided-review dl>div:last-child:nth-child(odd){grid-column:auto}}
@media(max-width:767px){
  .workspace-search-form{height:100%;min-height:0;padding:20px 18px 0;gap:14px}
  .guided-content{padding:52px 2px 18px}
  .guided-content>.guided-progress{height:36px}
  .guided-question{gap:15px}
  .guided-advanced>div{grid-template-columns:1fr}
  .guided-review dl{grid-template-columns:1fr}
  .guided-review dl>div{padding:10px 12px}
  .guided-review dd{font-size:13px}
  .workspace-search-form>.setup-actions{padding-top:12px}
  .workspace-search-form>.setup-actions{grid-template-columns:auto minmax(0,1fr)}
  .workspace-search-form>.setup-actions button{min-width:0}
  .workspace-search-form>.setup-actions #guided-back{min-width:100px}
  .workspace-search-form>.setup-actions #guided-next,.workspace-search-form>.setup-actions #setup-submit{width:100%}
  .workspace-search-form[data-step="0"]>.setup-actions #guided-next{grid-column:1/-1}
  .workspace-search-form[data-step="0"]>.setup-actions #guided-back{display:none}
  .guided-progress{gap:10px}
  .guided-progress progress{flex:1;max-width:120px;min-width:24px}
}
@media(max-width:390px){
  .workspace-search-form{padding-inline:14px}
  .workspace-search-form>.setup-actions{gap:8px}
  .workspace-search-form>.setup-actions button{padding-inline:10px}
  .guided-entry-modes{gap:16px}
  .guided-entry-mode{font-size:12px}
}

.guided-selection>div{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.guided-selection .guided-entry-chip{font-family:var(--font-body,sans-serif);font-size:13px}
.guided-selection p{margin:0;color:var(--muted);font-size:13px}

.guided-selection{border-top:0;padding-top:0}
.guided-selection summary span{color:var(--ink);font-size:14px}
#guided-company-status:empty{display:none}
.setup-examples .posting-inputs{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin-top:14px;min-width:0}
.setup-examples .posting-inputs>label,.setup-examples .posting-extra>label{font-size:13px;font-weight:600}
.guided-entry-editor .setup-examples .posting-inputs>label{display:block;font-weight:400}
.guided-entry-editor .setup-examples .posting-inputs>label span{display:none}
.setup-examples .posting-inputs label span{font-weight:400;color:var(--muted)}
.setup-examples .posting-inputs textarea{width:100%;min-width:0;box-sizing:border-box;resize:vertical}
.setup-examples .posting-extra{display:grid;gap:10px;padding-top:14px;border-top:1px solid var(--line)}
.setup-examples .posting-extra[hidden]{display:none}
.setup-examples .posting-remove,.setup-examples .posting-add{justify-self:start;min-height:44px}
