.main-content.hire-page { width: min(1420px, 100%); }
.hire-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 28px; }
.hire-page .projects-heading .lede { line-height: 1.7; }
.hire-form.offer-sheet { max-width: none; min-width: 0; gap: 24px; counter-reset: hire-section; }
.hire-form > .validation-summary-valid { display: none; }
.hire-form > .form-block { counter-increment: hire-section; padding: 30px; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 4px 16px rgb(0 0 0 / 0.025); }
.hire-form .form-block { min-width: 0; gap: 10px; }
.hire-form .form-block legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; padding: 0; margin: 0 0 18px; font-size: 18px; line-height: 1.4; text-transform: none; letter-spacing: -0.3px; }
.hire-form > .form-block > legend::before { content: counter(hire-section, decimal-leading-zero); display: grid; place-items: center; flex: 0 0 34px; height: 34px; border-radius: 10px; color: var(--accent); background: var(--accent-soft); font-size: 12px; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.hire-form label:not(.switch) { color: var(--label-ink); font-size: 13px; font-weight: 600; line-height: 1.5; }
.hire-form .form-block > label { margin-top: 10px; }
.hire-form .field-pair, .hire-form .field-triple { gap: 18px; }
.hire-form .field-error:empty { display: none; }
.hire-form input:not([type="hidden"]):not([type="checkbox"]), .hire-form select, .hire-form textarea { min-width: 0; min-height: 46px; padding: 11px 13px; border-color: var(--line-strong); border-radius: 10px; font-size: 14px; line-height: 1.6; }
.hire-form textarea { min-height: 110px; }
.hire-form .form-hint { font-size: 12px; line-height: 1.7; }
.hire-form .profile-advanced-settings { border-color: var(--line); border-radius: 18px; }
.hire-form .profile-advanced-settings > summary { padding: 24px 52px 24px 28px; gap: 6px; }
.hire-form .profile-advanced-settings > summary span { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.hire-form .profile-advanced-settings > summary small { margin-left: 30px; font-size: 12px; line-height: 1.6; }
.hire-form .profile-advanced-settings > summary::after { content: ""; top: 30px; right: 28px; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.hire-form .profile-advanced-settings[open] > summary::after { content: ""; transform: rotate(225deg); }
.hire-form .profile-advanced-body { padding: 0 28px 18px; gap: 0; }
.hire-form .profile-advanced-body .form-block { padding: 22px 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.hire-form .profile-advanced-body legend { font-size: 15px; margin-bottom: 12px; }
.hire-form .switch { align-items: center; margin-top: 4px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-muted); font-size: 13px; line-height: 1.6; cursor: pointer; }
.hire-form .switch input { margin: 0; width: 20px; height: 20px; flex-basis: 20px; accent-color: var(--accent); }
.hire-form .switch span { min-width: 0; gap: 5px; }
.hire-form .switch small { font-size: 12px; }
.hire-submit-panel { padding: 24px 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.hire-submit-panel > p { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 20px; max-width: 580px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.hire-submit-panel > p > i { margin-top: 4px; color: var(--accent); }
.hire-submit-panel .form-actions .button { min-width: 0; padding-inline: 20px; }
.hire-submit-panel .form-actions .primary { min-height: 48px; }
.hire-preview { display: grid; gap: 20px; min-width: 0; }
.hire-person-card, .hire-context-card { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.hire-person-card { text-align: center; }
.hire-preview-label { margin: 0 0 24px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; }
.hire-avatar { display: grid; place-items: center; width: 96px; height: 96px; margin: 0 auto 20px; border: 1px solid var(--accent-line); border-radius: 50%; color: var(--accent); background: var(--accent-soft); font-size: 32px; font-weight: 700; }
.hire-avatar [hidden] { display: none; }
.hire-preview-identity h2 { margin: 0; font-size: 22px; line-height: 1.4; letter-spacing: -0.4px; overflow-wrap: anywhere; }
.hire-role { margin: 8px 0 0; color: var(--accent-ink); font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.hire-preview-facts { display: grid; gap: 22px; padding-top: 24px; margin: 24px 0 0; border-top: 1px solid var(--line); text-align: left; }
.hire-preview-facts dt { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; color: var(--muted); font-size: 11px; }
.hire-preview-facts dt i { width: 14px; color: var(--accent); text-align: center; }
.hire-preview-facts dd { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.hire-purpose { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.hire-avatar-note { margin: 24px 0 0; font-size: 11px; color: var(--muted); line-height: 1.6; }
.hire-context-card { background: var(--accent-tint); border-color: var(--accent-line); }
.hire-context-card .project-mark { width: 40px; height: 40px; margin-bottom: 18px; border-radius: 12px; font-size: 17px; }
.hire-context-card h2 { margin: 0 0 10px; font-size: 16px; line-height: 1.5; }
.hire-context-card p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.8; }
@media (min-width: 1101px) and (min-height: 900px) {
  .hire-preview { position: sticky; top: calc(var(--shell-topbar) + 24px); }
}
@media (max-width: 1100px) {
  .hire-layout { grid-template-columns: minmax(0, 1fr); }
  .hire-preview { grid-row: 1; }
  .hire-person-card { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 12px 18px; text-align: left; padding: 22px; }
  .hire-preview-label { grid-column: 1 / -1; margin: 0 0 4px; }
  .hire-avatar { width: 64px; height: 64px; margin: 0; font-size: 24px; }
  .hire-preview-identity h2 { font-size: 20px; }
  .hire-preview-facts { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 6px; padding-top: 16px; }
  .hire-avatar-note { grid-column: 1 / -1; margin: 0; }
  .hire-context-card { padding: 18px 22px; }
  .hire-context-card .project-mark { display: none; }
  .hire-context-card h2 { margin-bottom: 6px; font-size: 14px; }
}
@media (max-width: 600px) {
  .hire-form > .form-block { padding: 22px; }
  .hire-form .form-block legend { font-size: 16px; }
  .hire-form .field-pair, .hire-form .field-triple, .hire-preview-facts { grid-template-columns: minmax(0, 1fr); }
  .hire-form .profile-advanced-settings > summary { padding-left: 22px; }
  .hire-form .profile-advanced-settings > summary small { margin-left: 0; }
  .hire-form .profile-advanced-body { padding-inline: 22px; }
  .hire-submit-panel { padding: 22px; }
  .hire-submit-panel .form-actions > .primary { width: 100%; }
}
