.hiring-page .learning-actions{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;margin-top:1.25rem}
.hiring-page .learning-actions a{display:inline-flex;align-items:center;min-height:44px}
.hiring-callout,.hiring-brief,.hiring-candidate-prompt,.hiring-print-sheet{margin:1.5rem 0;padding:1rem 1.2rem;border:1px solid var(--sidebar-border);border-radius:8px;background:rgba(0,0,0,.12)}
.hiring-callout h3,.hiring-brief h3,.hiring-support h3{font-size:1rem;font-weight:650;margin-bottom:.65rem}
.hiring-callout p,.hiring-candidate-prompt p{line-height:1.8;margin:.65rem 0;color:var(--muted-foreground)}
.hiring-brief dl{display:grid;grid-template-columns:minmax(9rem,.35fr) minmax(0,1fr);gap:.6rem 1.25rem;margin:0}
.hiring-brief dt{font-weight:650}
.hiring-brief dd{margin:0;color:var(--muted-foreground);line-height:1.7}
.hiring-support{margin:1.5rem 0;padding:.85rem 1rem;border-left:3px solid var(--sidebar-border);background:rgba(0,0,0,.08)}
.hiring-support p{line-height:1.7;margin:.55rem 0;color:var(--muted-foreground)}
.hiring-print-sheet p{min-height:2.8rem;padding:.6rem 0;border-bottom:1px dotted var(--muted-foreground);line-height:1.7}

.hiring-budget{min-width:0}
.hiring-budget .learning-section>p{max-width:84ch}
.budget-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));gap:1rem;margin:1.25rem 0}
.budget-models{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1.5rem 0}
.budget-model-inputs{min-width:0;padding:1rem;border:1px solid var(--sidebar-border);border-radius:8px}
.budget-model-inputs legend{padding:0 .4rem;font-size:1.05rem;font-weight:650}
.budget-model-inputs>.budget-help{margin:.3rem 0 1rem}
.budget-field{display:grid;gap:.3rem;min-width:0;margin:.8rem 0}
.budget-field label{font-size:.9rem;font-weight:600;line-height:1.5}
.budget-field input,.budget-field select{box-sizing:border-box;width:100%;min-height:44px;padding:.55rem .7rem;border:1px solid var(--sidebar-border);border-radius:5px;color:var(--foreground);background:var(--background);font:inherit}
.budget-field :is(input,select):focus-visible,.budget-actions button:focus-visible{outline:2px solid var(--primary);outline-offset:3px}
.budget-field [aria-invalid="true"]{border-color:#fca5a5}
.budget-help{font-size:.82rem;line-height:1.6;color:var(--muted-foreground)}
.budget-noscript{margin:1rem 0;padding:.75rem 1rem;border-left:3px solid var(--primary);background:rgba(0,0,0,.08);line-height:1.6}
.budget-error{min-height:1.1rem;font-size:.8rem;line-height:1.45;color:#fecaca}
.budget-actions{display:flex;flex-wrap:wrap;gap:.65rem;margin:1.25rem 0}
.budget-actions button{min-height:44px;padding:.55rem .9rem;border:1px solid var(--sidebar-border);border-radius:5px;color:var(--foreground);background:transparent;font:inherit;cursor:pointer}
.budget-actions button:hover{border-color:var(--primary);color:var(--primary)}
.budget-results-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1rem 0}
.budget-result{min-width:0;padding:1rem;border:1px solid var(--sidebar-border);border-radius:8px}
.budget-result h3{font-size:1.05rem;font-weight:650;margin-bottom:.8rem}
.budget-total{display:grid;gap:.25rem;margin:0 0 1rem;font-size:.85rem;color:var(--muted-foreground)}
.budget-total strong{font:600 clamp(1.25rem,3vw,1.7rem)/1.25 var(--font-mono);color:var(--foreground);overflow-wrap:anywhere}
.budget-bar{display:flex;width:100%;height:1.05rem;overflow:hidden;border:1px solid var(--sidebar-border);border-radius:5px;background:rgba(0,0,0,.15)}
.budget-segment{display:block;flex:0 0 auto;height:100%}
.budget-segment-recurring{background:var(--primary)}
.budget-segment-oneoff{background:#d5a94f}
.budget-segment-time{background:#7788ce}
.budget-breakdown{list-style:none;margin:1rem 0 0;padding:0}
.budget-breakdown li{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;padding:.5rem 0;border-top:1px solid var(--sidebar-border);font-size:.86rem;line-height:1.5;color:var(--muted-foreground)}
.budget-breakdown strong{flex:0 0 auto;text-align:right;color:var(--foreground);font-variant-numeric:tabular-nums}
.budget-axis{display:flex;justify-content:space-between;gap:1rem;margin:.4rem 0;font: .78rem/1.5 var(--font-mono);color:var(--muted-foreground)}
.budget-legend{display:flex;flex-wrap:wrap;gap:.5rem 1.2rem;margin:.8rem 0;padding:0;list-style:none;color:var(--muted-foreground);font-size:.82rem}
.budget-legend li{display:inline-flex;align-items:center;gap:.45rem}
.budget-swatch{display:inline-block;width:.8rem;height:.8rem;border-radius:2px}
.budget-difference{margin:1.2rem 0;font-size:1rem;font-weight:650;color:var(--foreground)}
.budget-checklists{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}
.budget-checklists h3{font-size:1rem;font-weight:650;margin:.5rem 0}
.budget-checklists ul{padding-left:1.2rem;list-style:disc;color:var(--muted-foreground)}
.budget-checklists li{margin:.5rem 0;line-height:1.75}

@media(max-width:640px){
  .hiring-brief dl{grid-template-columns:1fr;gap:.15rem}
  .hiring-brief dd{margin:0 0 .65rem}
  .hiring-callout,.hiring-brief,.hiring-candidate-prompt,.hiring-print-sheet{padding:.85rem}
  .budget-models,.budget-results-grid,.budget-checklists{grid-template-columns:1fr}
  .budget-breakdown li{align-items:flex-start;gap:.5rem}
  .budget-breakdown strong{max-width:48%;overflow-wrap:anywhere}
}

@media print{
  @page{margin:14mm}
  body{background:#fff!important;color:#111!important}
  body>header,body>footer,.hiring-page .learning-index,.hiring-page .learning-breadcrumb,.hiring-page .learning-actions,.hiring-page .learning-back-to-questions,.budget-actions{display:none!important}
  .hiring-page{max-width:none!important;padding:0!important;overflow:visible!important;color:#111!important}
  .hiring-page .learning-layout{display:block!important}
  .hiring-page .learning-content{min-width:0!important}
  .hiring-page .learning-section{break-inside:auto;color:#111!important}
  .hiring-page :is(h1,h2,h3,p,li,dt,dd,th,td,strong,label){color:#111!important}
  .hiring-page a{color:#111!important}
  .hiring-page .learning-table-scroll{max-width:none!important;overflow:visible!important;border:0}
  .hiring-page table{min-width:0!important;width:100%;font-size:9pt}
  .hiring-page th,.hiring-page td{padding:5px;border-color:#aaa}
  .hiring-callout,.hiring-brief,.hiring-candidate-prompt,.hiring-print-sheet,.hiring-support{break-inside:avoid;background:#fff!important;color:#111!important;border-color:#777}
  .hiring-budget .budget-models,.hiring-budget .budget-results-grid,.hiring-budget .budget-checklists{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hiring-budget .budget-result,.hiring-budget .budget-model-inputs{break-inside:avoid;background:#fff!important}
  .budget-bar{print-color-adjust:exact;-webkit-print-color-adjust:exact}
}

.hiring-page .learning-section>h3{font-size:1.1rem;font-weight:650;margin:1.5rem 0 .65rem}
.hiring-page .learning-section>ul,.hiring-page .learning-section>ol{padding-left:1.25rem;margin:1rem 0;list-style:disc;color:var(--muted-foreground)}
.hiring-page .learning-section>ol{list-style:decimal}.hiring-page .learning-section>ul>li,.hiring-page .learning-section>ol>li{margin:.65rem 0;line-height:1.8}
.hiring-print-button{min-height:44px;padding:.6rem 1rem;margin:1rem 0;border:1px solid var(--sidebar-border);border-radius:5px;color:var(--primary)}
@media print{
 .hiring-page table :is(th,td){min-width:0!important;overflow-wrap:anywhere}
 .hiring-print-sheet{break-inside:auto!important}.hiring-page tr{break-inside:avoid}
 .hiring-print-button,.hiring-support{display:none!important}
}

@media(max-width:767px){.hiring-budget>.learning-section{scroll-margin-top:11rem}}

.hiring-reusable-brief{overflow-wrap:anywhere;font:inherit;border:1px solid var(--sidebar-border);border-radius:6px;padding:1rem;color:var(--foreground);background:var(--card)}
@media print{
 body.hiring-print-artifact *{visibility:hidden!important}
 body.hiring-print-artifact .hiring-print-selected,body.hiring-print-artifact .hiring-print-selected *{visibility:visible!important}
 body.hiring-print-artifact .learning-lead,body.hiring-print-artifact .learning-content>:not(:has(.hiring-print-selected)):not(.hiring-print-selected){display:none!important}
 body.hiring-print-artifact .hiring-print-selected{margin:0!important;padding:0!important}
 .hiring-print-selected .hiring-print-button,.hiring-print-selected .learning-back-to-questions{display:none!important}
}

@media print{.hiring-print-artifact .learning-section:has(>.hiring-print-selected)>:not(.hiring-print-selected){display:none!important}}

.budget-context-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.budget-field textarea{display:block;width:100%;min-height:6rem;margin:.5rem 0;padding:.7rem;border:1px solid var(--sidebar-border);border-radius:4px;color:var(--foreground);background:var(--background)}
.budget-context-summary{margin:1.25rem 0;padding:1rem;border:1px solid var(--sidebar-border);border-radius:6px}.budget-context-summary dd{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--muted-foreground);margin:.3rem 0 1rem}.budget-context-summary dt{font-weight:600}
@media(max-width:640px){.budget-context-inputs{grid-template-columns:1fr}}

.hiring-role-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.hiring-role-card{border:1px solid var(--sidebar-border);border-radius:7px;padding:1.2rem}.hiring-role-card h3{font-size:1.2rem;font-weight:650}.hiring-role-card p{margin:.8rem 0;color:var(--muted-foreground);line-height:1.7}.hiring-role-card a{color:var(--primary)}
.hiring-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;padding:0!important;list-style:none!important}.hiring-flow li{padding:1rem;border:1px solid var(--sidebar-border);border-radius:6px}.hiring-flow strong{display:block;color:var(--foreground)}
@media(max-width:640px){.hiring-role-grid,.hiring-flow{grid-template-columns:1fr}}

.hiring-print-button:focus-visible,.budget-field textarea:focus-visible{outline:2px solid var(--primary);outline-offset:3px}

pre.hiring-reusable-brief{white-space:pre-wrap}
