.hai-body { margin: 0; color: #0f172a; }
.hai-study, .hai-study * { box-sizing: border-box; }
.hai-study { min-height: 100vh; color: #0f172a; font-family: "Segoe UI", system-ui, sans-serif; font-size: 14px; line-height: 1.5; }
.hai-study h1, .hai-study h2, .hai-study h3, .hai-study p { margin: 0; }
.hai-header { height: 56px; background: #fff; border-bottom: 1px solid #e2e8f0; display: flex; align-items: center; justify-content: space-between; padding: 0 32px; position: sticky; top: 0; z-index: 20; }
.hai-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.hai-mark { width: 24px; height: 24px; border-radius: 4px; background: #0f172a; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.hai-muted { color: #64748b; }
.hai-layout { display: flex; min-height: calc(100vh - 56px); }
.hai-side { width: 22rem; flex: 0 0 22rem; background: #fff; border-right: 1px solid #e2e8f0; max-height: calc(100vh - 56px); overflow: auto; position: sticky; top: 56px; align-self: flex-start; }
.hai-job-read { display: grid; grid-template-columns: minmax(0, 1fr) 22rem; gap: 24px; align-items: start; }
.hai-job-profile { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; position: sticky; top: 72px; max-height: calc(100vh - 96px); overflow: auto; }
.hai-main { flex: 1; padding: 32px 40px; min-width: 0; }
.hai-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; }
.hai-pad { padding: 28px 32px; }
.hai-panel { list-style: none; margin: 16px 0 0; padding: 6px 0; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; }
.hai-panel > li { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 16px 28px; border-top: 1px solid #e2e8f0; }
.hai-panel > li:first-child { border-top: 0; }
.hai-eyebrow { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: #64748b; font-weight: 600; }
.hai-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 6px; padding: 8px 16px; font-size: 14px; font-weight: 500; border: 1px solid transparent; background: #0f172a; color: #fff; cursor: pointer; }
.hai-btn:disabled { opacity: 0.5; cursor: default; }
.hai-btn.secondary { background: #fff; color: #1e293b; border-color: #cbd5e1; }
.hai-btn.ghost { background: transparent; color: #475569; }
.hai-btn.wide { width: 100%; }
.hai-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.hai-field { display: block; margin-bottom: 12px; }
.hai-field.invalid input,
.hai-field.invalid textarea,
.hai-field.invalid select,
.hai-field.invalid .hai-rte { border-color: #b91c1c; }
.hai-error { color: #b91c1c; font-size: 12px; font-weight: 600; margin: 4px 0 0; }
.hai-field span { display: block; font-size: 12px; font-weight: 600; color: #334155; margin-bottom: 6px; }
.hai-field > span.hai-ruler { display: flex; justify-content: space-between; align-items: center; margin: 6px 7px 0; }
.hai-field > span.hai-ruler span { display: block; flex: none; width: 6px; height: 6px; margin: 0; border-radius: 50%; background: #cbd5e1; }
.hai-field > span.hai-ruler span.on { background: #0f172a; }
.hai-field > span.hai-scale { display: flex; justify-content: space-between; margin: 4px 0 0; font-size: 12px; font-weight: 500; color: #64748b; }
.hai-field > span.hai-scale span { display: block; flex: 1; margin: 0; text-align: center; font-weight: 500; color: #64748b; }
.hai-field > span.hai-scale span:first-child { text-align: left; }
.hai-field > span.hai-scale span:last-child { text-align: right; }
.hai-field > span.hai-confidence-value { margin: 6px 0 0; font-size: 16px; font-weight: 700; color: #0f172a; }
.hai-field input, .hai-field textarea, .hai-field select { width: 100%; border: 1px solid #cbd5e1; border-radius: 6px; padding: 8px 10px; font: inherit; color: #0f172a; background: #fff; }
.hai-field input[type="range"] { padding: 0; border: 0; background: transparent; }
.hai-alert { border: 1px solid #fecaca; background: #fef2f2; color: #991b1b; border-radius: 6px; padding: 8px 12px; margin-bottom: 12px; }
.hai-center { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 16px; }
.hai-narrow { width: 100%; max-width: 28rem; }
.hai-wrap { max-width: 64rem; margin: 0 auto; }
.hai-grid { display: grid; gap: 16px; }
.hai-grid.two { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.hai-grid.three { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.hai-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hai-metric h2 { font-size: 22px; margin-top: 4px; }
.hai-metric .hai-muted { margin-top: 4px; font-size: 12px; }
.hai-report-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.hai-bar { display: block; height: 6px; margin-top: 6px; background: #e2e8f0; border-radius: 99px; overflow: hidden; }
.hai-bar > span { display: block; height: 100%; background: #0f172a; }
.hai-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hai-cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hai-card:has(> button.hai-job) { transition: border-color 0.15s; }
.hai-card:has(> button.hai-job):hover { border-color: #0f172a; }
.hai-cards > .hai-card { width: auto; max-width: none; min-width: 0; }
.hai-study label.hai-choice { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; height: auto; margin: 0; padding: 16px; border: 1px solid #e2e8f0; border-radius: 6px; background: #fff; cursor: pointer; line-height: 1.45; }
.hai-study label.hai-choice.selected { border-color: #0f172a; }
.hai-study label.hai-choice > span { display: block; margin: 0; font-weight: 600; line-height: 1.45; }
.hai-study label.hai-choice > span.hai-muted { font-weight: 400; font-size: 13px; color: #64748b; }
.hai-study label.hai-choice input { margin: 0 8px 0 0; }
.hai-study .hai-grid + .hai-field { margin-top: 24px; }
.hai-badge { display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; color: #334155; background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 999px; padding: 3px 8px; letter-spacing: 0.01em; }
.hai-badges { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.hai-badge.strong { color: #157a45; background: #e8f6ee; border-color: #b7e4c7; }
.hai-badge.moderate { color: #9a6700; background: #fff6e5; border-color: #f3d7a1; }
.hai-badge.low { color: #b42334; background: #fdecee; border-color: #f5c2c8; }
.hai-badge.other { color: #5c5346; background: #f4f1ea; border-color: #e4dccb; }
.hai-badge.done { color: #1d4ed8; background: #e8f0ff; border-color: #c7d7fe; }
.hai-badge.progress { color: #c2410c; background: #fff4e8; border-color: #fdcba1; }
.hai-badge.idle { color: #475569; background: #f1f5f9; border-color: #e2e8f0; }
.hai-badge.live { color: #15803d; background: #e7f8ee; border-color: #b7e4c7; }
.hai-badge.quick { color: #31408f; background: #eef0ff; border-color: #d4d9f5; }
.hai-study p.hai-decision { margin: 12px 0 0; font-weight: 700; color: #0f172a; }
.hai-study p.hai-fit-label { margin: 32px 0 12px; }
.hai-req { border: 1px solid #e2e8f0; border-radius: 6px; padding: 16px 18px; margin-top: 12px; }
.hai-req h3 { font-size: 14px; }
.hai-req p { margin: 8px 0 0; }
.hai-side .hai-req ul,
.hai-job-profile .hai-req ul { list-style: none; margin: 8px 0 0; padding: 0; }
.hai-side .hai-req li,
.hai-job-profile .hai-req li { display: block; margin: 0 0 6px; }
.hai-role + .hai-role { margin-top: 16px; }
.hai-dossier { max-width: 56rem; margin: 0 auto; }
.hai-link { background: transparent; border: 0; padding: 0; color: #334155; font: inherit; font-weight: 500; cursor: pointer; }
.hai-kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #0f172a; margin: 0 0 8px; }
.hai-kicker.faint { color: #94a3b8; font-family: Consolas, ui-monospace, monospace; font-weight: 600; }
.hai-cv-name { font-size: 20px; font-weight: 600; margin-top: 4px; }
.hai-cv-head { border-bottom: 1px solid #e2e8f0; padding-bottom: 16px; }
.hai-role-line { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.hai-role-line .hai-period { font-size: 12px; color: #64748b; white-space: nowrap; }
.hai-split-block { border-top: 1px solid #f1f5f9; padding-top: 16px; margin-top: 16px; }
.hai-score { font-family: Consolas, ui-monospace, monospace; font-size: 11px; color: #64748b; margin-top: 8px; }
.hai-list { margin: 8px 0 0; padding-left: 1.25rem; list-style: disc outside; }
.hai-list li { display: list-item; }
.hai-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.hai-table th, .hai-table td { border-top: 1px solid #e2e8f0; text-align: left; vertical-align: top; padding: 12px 16px; }
.hai-table thead th { border-top: 0; color: #475569; }
.hai-disclosure { border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; margin-top: 12px; }
.hai-disclosure button.head { width: 100%; text-align: left; background: transparent; border: 0; padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font: inherit; }
.hai-disclosure .body { border-top: 1px solid #e2e8f0; padding: 16px; }
.hai-chevron { width: 16px; height: 16px; transition: transform 0.15s; }
.hai-disclosure.open .hai-chevron { transform: rotate(180deg); }
.hai-ai h2 { font-size: 18px; margin-bottom: 14px; }
.hai-ai .hai-reveal + .hai-reveal { margin-top: 12px; }
.hai-study .hai-reveal button.head { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; height: auto; margin: 0; text-align: left; background: #eef2ff; border: 1px dashed #c7d2fe; border-radius: 8px; padding: 12px 16px; color: #312e81; font: inherit; font-weight: 600; line-height: 1.4; cursor: pointer; box-shadow: none; text-shadow: none; }
.hai-reveal .hai-chevron { width: 18px; height: 18px; flex: none; }
.hai-reveal.open .hai-chevron { transform: rotate(180deg); }
.hai-reveal .body { margin-top: 12px; }
.hai-reveal .sheet { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 16px 18px; }
.hai-reveal .sheet h3 { font-size: 15px; margin: 14px 0 6px; }
.hai-reveal .sheet h3:first-child { margin-top: 0; }
.hai-reveal .sheet p { margin: 0 0 8px; }
.hai-attr { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 8px; }
.hai-attr th, .hai-attr td { border: 1px solid #e2e8f0; text-align: left; vertical-align: top; padding: 8px 12px; background: #fff; }
.hai-attr thead th { background: #f1f5f9; color: #0f172a; font-weight: 700; }
.hai-stack > * + * { margin-top: 16px; }
.hai-split { display: grid; grid-template-columns: minmax(0, 1fr) 22rem; gap: 24px; align-items: start; }
.hai-job-detail { display: grid; grid-template-columns: minmax(0, 1fr) 18rem; gap: 24px; align-items: start; }
.hai-job-detail .hai-side-preview { position: sticky; top: 16px; height: auto; max-height: calc(100vh - 96px); }
.hai-side-preview { height: 36rem; overflow: auto; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; }
.hai-job-preview { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 48px; max-height: calc(100vh - 64px); overflow: auto; }
.hai-job-preview .hai-side-preview { height: auto; max-height: 22rem; flex: none; }
.hai-toast { position: fixed; top: 24px; right: 24px; z-index: 100001; max-width: 22rem; background: #fff; border: 1px solid #e2e8f0; border-left: 4px solid #0f172a; border-radius: 8px; padding: 12px 14px; box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12); color: #0f172a; font-size: 14px; }
.hai-toast.warn { border-left-color: #b91c1c; }
.hai-btn.danger,
body.wp-admin #hai-admin-root .hai-btn.danger { background: #b91c1c; border-color: #b91c1c; color: #fff; }
.hai-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(15, 23, 42, 0.45); }
.hai-modal-card { width: min(28rem, 100%); background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 24px; box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16); }
.hai-modal-card h2 { margin: 4px 0 8px; font-size: 20px; }
.hai-modal-card p { margin: 0 0 16px; color: #334155; }
.hai-rte-body:empty:before { content: attr(data-placeholder); color: #94a3b8; pointer-events: none; }
fieldset.invalid { border: 1px solid #b91c1c; border-radius: 8px; padding: 12px; }
.hai-job { width: 100%; text-align: left; background: #fff; border: 0; padding: 20px; cursor: pointer; font: inherit; color: inherit; }
.hai-hr { border: 0; border-top: 1px solid #e2e8f0; margin: 16px 0; }
.hai-steps { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 16px; }
.hai-steps button { border: 1px solid #e2e8f0; border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 600; color: #64748b; background: #fff; cursor: pointer; line-height: 1.4; box-shadow: none; height: auto; }
.hai-steps button.on { background: #0f172a; color: #fff; border-color: #0f172a; }
.hai-steps button.done { background: #f1f5f9; color: #0f172a; border-color: #cbd5e1; }
.hai-steps button:hover { border-color: #0f172a; }
.hai-hint { display: block; margin-top: 4px; font-size: 12px; font-weight: 400; color: #64748b; }
.hai-generated { margin-top: 8px; padding: 12px 14px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 6px; }
.hai-generated .hai-eyebrow { margin-bottom: 6px; }
.hai-clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: 8px; color: #334155; }
.hai-meta { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid #e2e8f0; }
.hai-meta div { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: #64748b; }
.hai-meta dd { margin: 0; color: #0f172a; font-weight: 600; }
.hai-open { margin-top: 12px; font-weight: 600; color: #0f172a; }
.hai-study button.hai-job:hover { background: transparent; }
.hai-check { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 12px 4px; border-top: 1px solid #e2e8f0; }
.hai-study fieldset { border: 0; margin: 22px 0 0; padding: 0; min-width: 0; max-width: 100%; }
.hai-study legend { padding: 0 0 8px; font-weight: 600; }
.hai-admin-wrap.wrap { margin: 24px 28px 48px 8px; }
.hai-admin-wrap .hai-study { min-height: 0; }
.hai-rte { border: 1px solid #cbd5e1; border-radius: 6px; background: #fff; overflow: hidden; }
.hai-rte-bar { display: flex; gap: 4px; padding: 6px; border-bottom: 1px solid #e2e8f0; }
.hai-study .hai-rte-bar button,
body.wp-admin #hai-admin-root .hai-rte-bar button { height: 28px; min-height: 28px; width: auto; margin: 0; padding: 0 8px; border: 1px solid #cbd5e1; border-radius: 4px; background: #fff; color: #0f172a; font-size: 12px; font-weight: 700; line-height: 1; cursor: pointer; box-shadow: none; text-shadow: none; }
.hai-rte-body { min-height: 140px; padding: 10px 12px; outline: none; }
.hai-rte-body:focus { box-shadow: inset 0 0 0 1px #0f172a; }
.hai-rte textarea { display: none; }
.hai-rich p, .hai-rte-body p { margin: 0; }
.hai-rich p + p, .hai-rte-body p + p { margin-top: 8px; }
.hai-rich strong, .hai-rich b, .hai-rte-body strong, .hai-rte-body b,
body.wp-admin #hai-admin-root .hai-rich strong,
body.wp-admin #hai-admin-root .hai-rich b,
body.wp-admin #hai-admin-root .hai-rte-body strong,
body.wp-admin #hai-admin-root .hai-rte-body b { font-weight: 700 !important; }
.hai-rich em, .hai-rich i, .hai-rte-body em, .hai-rte-body i,
body.wp-admin #hai-admin-root .hai-rich em,
body.wp-admin #hai-admin-root .hai-rich i,
body.wp-admin #hai-admin-root .hai-rte-body em,
body.wp-admin #hai-admin-root .hai-rte-body i { font-style: italic !important; }
.hai-rich u, .hai-rte-body u,
body.wp-admin #hai-admin-root .hai-rich u,
body.wp-admin #hai-admin-root .hai-rte-body u { text-decoration: underline !important; }
.hai-study .hai-rich ul,
.hai-study .hai-rte-body ul,
.hai-study ul.hai-list,
body.wp-admin #hai-admin-root .hai-rich ul,
body.wp-admin #hai-admin-root .hai-rte-body ul,
body.wp-admin #hai-admin-root ul.hai-list { list-style: disc outside; margin: 8px 0 0; padding-left: 1.4rem; }
.hai-study .hai-rich ol,
.hai-study .hai-rte-body ol,
body.wp-admin #hai-admin-root .hai-rich ol,
body.wp-admin #hai-admin-root .hai-rte-body ol { list-style: decimal outside; margin: 8px 0 0; padding-left: 1.4rem; }
.hai-study .hai-rich li,
.hai-study .hai-rte-body li,
.hai-study ul.hai-list li,
body.wp-admin #hai-admin-root .hai-rich li,
body.wp-admin #hai-admin-root .hai-rte-body li,
body.wp-admin #hai-admin-root ul.hai-list li { display: list-item; margin: 0 0 4px; }
.hai-study button.hai-btn,
.hai-study button.hai-job,
.hai-study button.hai-link,
.hai-study .hai-steps button { height: auto; line-height: 1.4; text-shadow: none; box-shadow: none; }
body.wp-admin #hai-admin-root .hai-cards { display: grid; }
body.wp-admin #hai-admin-root article.hai-card { display: block; overflow: visible; }
body.wp-admin #hai-admin-root button.hai-job {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
  white-space: normal;
  text-align: left;
  background: #fff;
  color: #0f172a;
  border: 0;
  box-shadow: none;
  text-shadow: none;
  line-height: 1.5;
  font-size: 14px;
}
.hai-study input[type="text"],
.hai-study input[type="password"],
.hai-study input[type="number"],
.hai-study textarea,
.hai-study select { max-width: none; }
body.wp-admin #hai-admin-root.hai-study { padding: 8px 4px 24px; }
body.wp-admin #hai-admin-root .hai-pad { padding: 28px 32px; }
body.wp-admin #hai-admin-root .hai-error { color: #b91c1c; }
body.wp-admin #hai-admin-root ul.hai-panel { list-style: none; margin: 16px 0 0; padding: 6px 0; }
body.wp-admin #hai-admin-root .hai-panel > li { padding: 16px 28px; }
.hai-report { max-width: 1200px; color: #1f2937; }
.hai-report-toolbar { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.hai-report-toolbar h1 { font-size: 22px; margin: 0 0 4px; }
.hai-report-toolbar .subtitle, .hai-report > .subtitle { font-size: 13px; color: #6b7280; margin: 0; max-width: 52rem; line-height: 1.45; }
.hai-report > h1 { font-size: 22px; margin: 0 0 4px; }
.hai-report .filters { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 14px 16px; margin-bottom: 20px; display: flex; gap: 12px; flex-wrap: wrap; }
.hai-report .filters label { font-size: 12px; color: #374151; display: block; margin: 0 0 4px; font-weight: 400; }
.hai-report .filters select { width: auto; min-width: 140px; padding: 6px 10px; border: 1px solid #e5e7eb; border-radius: 6px; font-size: 13px; background: #fff; }
.hai-report .kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.hai-report .kpi-grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.hai-report .kpi { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 16px; }
.hai-report .kpi .label { font-size: 11px; color: #6b7280; letter-spacing: 0.5px; text-transform: uppercase; }
.hai-report .kpi .value { font-size: 26px; font-weight: 700; margin: 6px 0 2px; line-height: 1.1; }
.hai-report .kpi .meta { font-size: 12px; color: #6b7280; }
.hai-report .chart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.hai-report .chart-card, .hai-report .table-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 16px; }
.hai-report .table-card { margin-bottom: 20px; }
.hai-report .chart-card h3, .hai-report .table-card h3 { font-size: 14px; margin: 0 0 4px; }
.hai-report .chart-card .desc, .hai-report .table-card .desc { font-size: 12px; color: #6b7280; margin: 0 0 12px; }
.hai-report .chart-box { position: relative; height: 260px; }
.hai-report .chart-box.tall { height: 360px; }
.hai-report .hai-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.hai-report table { width: 100%; border-collapse: collapse; font-size: 13px; background: transparent; min-width: 720px; }
.hai-report th, .hai-report td { padding: 8px 10px; text-align: left; border: 0; border-bottom: 1px solid #f3f4f6; vertical-align: middle; white-space: nowrap; }
.hai-report th { font-size: 11px; text-transform: uppercase; color: #6b7280; letter-spacing: 0.4px; background: #fafafa; font-weight: 600; }
.hai-report tr:hover td { background: #f9fafb; }
.hai-report .hai-pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; line-height: 1.4; }
.hai-report .hai-pill.yes { background: #d1fae5; color: #065f46; }
.hai-report .hai-pill.no { background: #fee2e2; color: #991b1b; }
.hai-report .hai-pill.opened { background: #dbeafe; color: #1e40af; }
.hai-report .hai-pill.not-opened { background: #f3f4f6; color: #6b7280; }
@media (max-width: 1100px) {
  .hai-report .kpi-grid.five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hai-cards, .hai-cards.two, .hai-metrics, .hai-report .kpi-grid, .hai-report .kpi-grid.five, .hai-report .chart-grid { grid-template-columns: 1fr; }
  .hai-report-toolbar { flex-direction: column; }
  .hai-layout, .hai-split, .hai-job-detail, .hai-job-read { display: block; }
  .hai-job-detail .hai-side-preview { position: static; max-height: none; margin-top: 16px; }
  .hai-job-profile { position: static; max-height: none; margin-top: 16px; }
  .hai-side { width: 100%; max-height: none; position: static; border-right: 0; border-bottom: 1px solid #e2e8f0; }
  .hai-side-preview, .hai-job-preview { height: auto; max-height: none; position: static; margin-top: 16px; }
  .hai-main { padding: 16px; }
  .hai-header { height: auto; padding: 12px 16px; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
}
.hai-drawer { position: fixed; inset: 0; z-index: 30; }
.hai-drawer.criteria { z-index: 36; }
.hai-drawer-backdrop { position: absolute; inset: 0; border: 0; background: rgba(15, 23, 42, 0.35); cursor: pointer; }
.hai-drawer-panel { position: absolute; top: 0; right: 0; height: 100%; width: min(560px, 100%); background: #fff; box-shadow: -16px 0 40px rgba(15, 23, 42, 0.16); display: flex; flex-direction: column; animation: hai-drawer-in 0.22s ease; }
.hai-drawer.criteria .hai-drawer-panel { width: min(860px, 100%); }
.hai-drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid #e2e8f0; }
.hai-drawer-head h2 { font-size: 1.15rem; }
.hai-drawer-close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #e2e8f0; background: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.hai-drawer-body { overflow: auto; padding: 16px 20px 32px; }
@keyframes hai-drawer-in { from { transform: translateX(28px); } }

body.hai-body #wpadminbar { display: none; }
body.hai-body { margin-top: 0 !important; }
.hai-land-loading { min-height: 100vh; display: grid; place-items: center; color: #24306f; font-family: Manrope, "Segoe UI", sans-serif; }
.hai-land { min-height: 100vh; color: #172044; font-family: Manrope, "Segoe UI", sans-serif; background: #f4f1ea; }
.hai-land h2, .hai-land h3, .hai-land p { margin: 0; }
.hai-land button { font-family: inherit; }
.hai-land-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #f7f4ee;
  background:
    radial-gradient(900px 520px at 12% 80%, rgba(231, 182, 90, 0.18), transparent 60%),
    radial-gradient(700px 480px at 88% 10%, rgba(170, 188, 255, 0.22), transparent 55%),
    linear-gradient(165deg, #1a2158 0%, #24306f 48%, #31408f 100%);
}
.hai-land-pattern {
  position: absolute;
  inset: -12%;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.16) 1px, transparent 0);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle at 30% 40%, #000 0%, transparent 72%);
  animation: hai-pattern 36s linear infinite;
}
.hai-land-pattern::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 28px);
  animation: hai-pattern 48s linear infinite reverse;
}
.hai-land-orb { position: absolute; border-radius: 50%; filter: blur(8px); pointer-events: none; opacity: 0.55; }
.hai-land-orb.a { width: 280px; height: 280px; left: -60px; bottom: 8%; background: radial-gradient(circle, rgba(231,182,90,0.55), transparent 68%); animation: hai-float-a 14s ease-in-out infinite; }
.hai-land-orb.b { width: 340px; height: 340px; right: -40px; top: 12%; background: radial-gradient(circle, rgba(186,204,255,0.45), transparent 70%); animation: hai-float-b 18s ease-in-out infinite; }
@keyframes hai-pattern { to { transform: translate3d(-44px, -28px, 0); } }
@keyframes hai-float-a { 50% { transform: translate3d(24px, -18px, 0); } }
@keyframes hai-float-b { 50% { transform: translate3d(-28px, 20px, 0); } }
@media (prefers-reduced-motion: reduce) {
  .hai-land-pattern, .hai-land-pattern::after, .hai-land-orb, .hai-land-arrow { animation: none; }
}
.hai-land-wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; position: relative; z-index: 2; }
.hai-land-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0 8px; }
.hai-land-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.hai-land-brand strong { font-size: 1.05rem; letter-spacing: -0.03em; }
.hai-land-brand span { color: rgba(255,255,255,0.82); font-weight: 650; }
.hai-land-mark { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(160deg, #f2d48a, #d7a441); color: #1a2158; flex: none; }
.hai-land-mark svg { width: 20px; height: 20px; }
.hai-land-rule { width: 1px; height: 16px; background: rgba(255,255,255,0.35); }
.hai-land-nav-actions { display: flex; align-items: center; gap: 14px; }
.hai-land-text { border: 0; background: transparent; color: rgba(255,255,255,0.88); font-weight: 700; cursor: pointer; }
.hai-land-signin, .hai-land-cta { border: 0; cursor: pointer; color: #fff; background: #141b42; font-weight: 800; }
.hai-land-signin { border-radius: 999px; padding: 10px 18px; }
.hai-land-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; column-gap: 56px; align-items: center; min-height: calc(100vh - 84px); padding: 28px 0 56px; }
.hai-land-kicker { color: #d7e0ff; font-weight: 750; font-size: 1.35rem; margin-bottom: 8px; }
.hai-land-number { font-family: Fraunces, Georgia, serif; font-weight: 650; font-size: clamp(3.8rem, 6.4vw, 5.6rem); letter-spacing: -0.045em; line-height: 0.88; color: #f7f1e4; white-space: nowrap; }
.hai-land-laurels { display: flex; justify-content: space-between; gap: 16px; margin: 22px 0 26px; max-width: 640px; }
.hai-laurel { display: flex; align-items: center; gap: 4px; color: #f4e7c4; }
.hai-laurel svg { width: 18px; height: 34px; fill: #e7b65a; flex: 0 0 auto; }
.hai-laurel svg.flip { transform: scaleX(-1); }
.hai-laurel strong { display: block; color: #fff; font-size: 0.98rem; letter-spacing: -0.02em; }
.hai-laurel span { display: block; max-width: 108px; color: rgba(255,255,255,0.72); font-size: 0.75rem; line-height: 1.3; }
.hai-land-cta { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 8px 8px 8px 22px; font-size: 1rem; box-shadow: 0 12px 30px rgba(8, 12, 36, 0.28); }
.hai-land-cta i { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #e7b65a; color: #1a2158; font-style: normal; }
.hai-land-card { background: rgba(255,255,255,0.96); color: #172044; border-radius: 26px; padding: 22px 22px 18px; box-shadow: 0 28px 70px rgba(18, 24, 58, 0.22); width: 360px; max-width: 100%; justify-self: end; }
.hai-land-card-top, .hai-land-who { display: flex; align-items: center; gap: 14px; }
.hai-land-card-top { justify-content: space-between; align-items: flex-start; }
.hai-land-avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; color: #1a2158; background: linear-gradient(160deg, #f6e3b4, #e7b65a); }
.hai-land-who h2 { font-size: 1.45rem; letter-spacing: -0.03em; }
.hai-land-who p, .hai-land-card h3 { color: #667089; }
.hai-land-who p { font-size: 0.95rem; line-height: 1.35; }
.hai-land-card h3 { margin: 20px 0 8px; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.hai-land-lead { font-size: 1.12rem; font-weight: 750; line-height: 1.45; }
.hai-land-chip, .hai-land-tags span { border-radius: 999px; font-weight: 750; }
.hai-land-chip { background: #eef2ff; color: #2a3578; padding: 6px 10px; font-size: 0.75rem; }
.hai-land-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hai-land-tags span { background: #f6f4ef; color: #3d4666; padding: 6px 10px; font-size: 0.78rem; }
.hai-land-more { margin-top: 16px; border: 0; background: transparent; color: #2a3578; font-weight: 800; cursor: pointer; padding: 8px 0 0; }
.hai-land-sheet { position: relative; z-index: 2; margin-top: -28px; padding: 64px 0 48px; border-radius: 36px 36px 0 0; background: linear-gradient(#f7f5f0, #f3f0e8); }
.hai-land-section-kicker { color: #8a6a2c; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.75rem; }
.hai-how { margin-top: 8px; padding: 32px 26px 28px; border-radius: 32px; background: linear-gradient(180deg, #ffffff, #f8f6f1); box-shadow: 0 18px 50px rgba(23, 32, 68, 0.07); }
.hai-how-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 320px); align-items: end; gap: 12px 32px; margin-bottom: 22px; }
.hai-how-head .hai-land-section-kicker { grid-column: 1; margin: 0; }
.hai-how-head h2 { grid-column: 1; max-width: 640px; margin: 6px 0 0; }
.hai-how-head .hai-land-copy { grid-column: 2; grid-row: 1 / span 2; margin: 0; align-self: end; }
.hai-land-sheet h2 { font-family: Fraunces, Georgia, serif; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; font-weight: 650; margin: 8px 0; }
.hai-land-copy { max-width: 340px; color: #3c4768; font-size: 1.02rem; margin: 0 0 18px; }
.hai-land-steps { display: grid; grid-template-columns: 1fr 48px 1fr 48px 1fr 48px 1fr; gap: 10px; align-items: stretch; }
.hai-land-step { position: relative; overflow: hidden; min-height: 248px; background: #fff; border: 1px solid #ece7dc; border-radius: 24px; padding: 22px 18px 20px; box-shadow: 0 14px 34px rgba(28, 36, 78, 0.06); }
.hai-land-step::before { content: ""; position: absolute; left: 18px; right: 18px; top: 0; height: 4px; border-radius: 0 0 6px 6px; background: #e7b65a; }
.hai-land-step:nth-child(3)::before { background: #31408f; }
.hai-land-step:nth-child(5)::before { background: #1f8a5b; }
.hai-land-step:nth-child(7)::before { background: #c46a2f; }
.hai-land-step-icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; color: #1d275c; background: linear-gradient(180deg, #f8edd4, #f1d48a); margin-bottom: 28px; }
.hai-land-step:nth-child(3) .hai-land-step-icon { color: #24306f; background: linear-gradient(180deg, #e7ecff, #c9d4fb); }
.hai-land-step:nth-child(5) .hai-land-step-icon { color: #146b42; background: linear-gradient(180deg, #e5f8ee, #b7e4c7); }
.hai-land-step:nth-child(7) .hai-land-step-icon { color: #9a4e16; background: linear-gradient(180deg, #fff1e4, #fdcba1); }
.hai-land-step-icon svg { width: 28px; height: 28px; }
.hai-land-step > span { position: absolute; top: 18px; right: 16px; font-family: Fraunces, Georgia, serif; font-size: 2rem; line-height: 1; color: rgba(26, 33, 88, 0.16); font-weight: 650; background: transparent; }
.hai-land-step h3 { margin: 10px 0 8px; font-size: 1.12rem; letter-spacing: -0.02em; }
.hai-land-step p { color: #3c4768; font-size: 0.94rem; line-height: 1.45; }
.hai-land-arrow { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: 0 auto; border-radius: 50%; background: #1a2158; color: #f7f1e4; box-shadow: 0 8px 18px rgba(26, 33, 88, 0.18); animation: hai-nudge 1.8s ease-in-out infinite; }
.hai-land-arrow svg { width: 22px; height: 12px; }
.hai-land-arrow .shaft { stroke-linecap: round; }
@keyframes hai-nudge { 50% { transform: translateX(4px); } }
.hai-land-lower { margin-top: 28px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 16px; }
.hai-land-panel { background: #fff; border: 1px solid #e3e7f2; border-radius: 22px; padding: 20px 22px; }
.hai-land-panel h3 { margin-bottom: 8px; }
.hai-land-panel p, .hai-land-row { color: #3c4768; }
.hai-land-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid #e3e7f2; font-size: 0.92rem; }
.hai-land-row:first-of-type { border-top: 0; }
.hai-land-row b { color: #172044; }
.hai-land-row span { color: #667089; white-space: nowrap; }
.hai-login-modal[hidden] { display: none; }
.hai-login-modal { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 24px; }
.hai-login-backdrop { position: absolute; inset: 0; border: 0; background: rgba(16, 22, 48, 0.28); cursor: pointer; }
.hai-login-card { position: relative; z-index: 1; width: min(440px, 100%); background: #fff; color: #172044; border-radius: 26px; padding: 22px 26px 26px; box-shadow: 0 30px 80px rgba(12, 16, 40, 0.28); }
.hai-login-tools { display: flex; justify-content: space-between; margin-bottom: 8px; }
.hai-login-icon { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #e4e8f2; background: #fff; color: #2c3558; cursor: pointer; display: grid; place-items: center; }
.hai-login-card h2 { margin: 8px 0 18px; font-size: 1.7rem; letter-spacing: -0.03em; font-family: Manrope, "Segoe UI", sans-serif; }
.hai-login-field { position: relative; display: block; margin-bottom: 12px; }
.hai-login-field input { width: 100%; height: 52px; border-radius: 14px; border: 1px solid #d9dfec; padding: 0 44px 0 16px; font: inherit; font-size: 0.98rem; color: #172044; }
.hai-login-field input:focus { outline: none; border-color: #31408f; box-shadow: 0 0 0 4px rgba(49, 64, 143, 0.12); }
.hai-login-eye { position: absolute; right: 8px; top: 8px; width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; color: #667089; cursor: pointer; }
.hai-login-forgot { display: block; margin: 2px 0 16px; padding: 0; color: #667089; font-size: 0.9rem; }
.hai-land-error { background: #fff1f2; color: #9d2c3a; border-radius: 12px; padding: 10px 12px; font-size: 0.88rem; font-weight: 750; margin-bottom: 12px; }
.hai-login-submit { width: 100%; height: 52px; border: 0; border-radius: 999px; background: #c5d0f4; color: #1a2458; font-weight: 800; font-size: 1.02rem; cursor: pointer; }
.hai-login-submit:hover { background: #b7c4ef; }
.hai-login-agree { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; color: #4c5674; font-size: 0.84rem; line-height: 1.45; }
.hai-login-agree input { margin-top: 3px; accent-color: #31408f; }
.hai-login-agree button { border: 0; background: transparent; padding: 0; color: #31408f; font: inherit; font-weight: 750; cursor: pointer; text-decoration: underline; }
.hai-talent { margin-bottom: 42px; }
.hai-talent-bar { display: flex; align-items: center; gap: 12px; }
.hai-talent-search { position: relative; flex: 0 0 220px; }
.hai-talent-search svg { position: absolute; left: 14px; top: 13px; width: 16px; height: 16px; fill: none; stroke: #667089; stroke-width: 1.8; }
.hai-talent-search input { width: 100%; height: 42px; border-radius: 999px; border: 1px solid #e3e7f2; background: #fff; padding: 0 14px 0 38px; font: inherit; color: #172044; }
.hai-talent-search input:focus { outline: none; border-color: #31408f; box-shadow: 0 0 0 4px rgba(49, 64, 143, 0.12); }
.hai-talent-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.hai-talent-chips::-webkit-scrollbar { display: none; }
.hai-chip { flex: 0 0 auto; border: 0; background: #fff; color: #3c4768; border-radius: 999px; padding: 9px 14px; font: inherit; font-size: 0.88rem; font-weight: 700; cursor: pointer; box-shadow: 0 1px 0 rgba(23, 32, 68, 0.04); }
.hai-chip.on { background: #1a2158; color: #fff; }
.hai-talent-count { margin: 14px 0 10px; color: #667089; font-size: 0.86rem; font-weight: 700; }
.hai-talent-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hai-talent-card { background: #fff; border-radius: 18px; padding: 16px 16px 14px; box-shadow: 0 10px 30px rgba(23, 32, 68, 0.06); min-height: 168px; }
.hai-talent-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.hai-talent-card h3 { margin: 0; font-size: 1.05rem; letter-spacing: -0.02em; }
.hai-talent-flags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; min-height: 22px; }
.hai-talent-avatar { width: 42px; height: 42px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 0.82rem; flex: 0 0 auto; }
.hai-talent-role { margin: 12px 0 10px; color: #3c4768; font-size: 0.9rem; line-height: 1.4; min-height: 2.5em; }
.hai-talent-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 14px; color: #667089; font-size: 0.82rem; }
.hai-talent-card li { display: flex; align-items: center; gap: 6px; }
.hai-talent-ico { width: 14px; height: 14px; flex: 0 0 auto; }
.hai-talent-empty { grid-column: 1 / -1; color: #667089; margin: 8px 0 0; }
@media (max-width: 980px) {
  .hai-land-hero { min-height: 0; overflow: visible; }
  .hai-land-grid, .hai-land-steps, .hai-talent-grid, .hai-how-head { grid-template-columns: 1fr; }
  .hai-how-head .hai-land-copy { grid-column: 1; grid-row: auto; max-width: none; }
  .hai-land-grid { column-gap: 28px; row-gap: 28px; min-height: 0; padding: 28px 0 40px; }
  .hai-land-number { font-size: clamp(2.6rem, 12vw, 4.2rem); }
  .hai-land-laurels { justify-content: flex-start; flex-wrap: wrap; max-width: none; }
  .hai-land-card { margin: 0; width: 100%; justify-self: stretch; }
  .hai-how { padding: 24px 18px 22px; border-radius: 24px; }
  .hai-land-step { min-height: 0; }
  .hai-land-steps { gap: 0; }
  .hai-land-arrow { transform: rotate(90deg); margin: 10px auto; animation: none; }
  .hai-land-sheet { padding: 40px 0 36px; border-radius: 28px 28px 0 0; }
  .hai-talent-bar { flex-direction: column; align-items: stretch; }
  .hai-talent-search { flex-basis: auto; width: 100%; }
  .hai-land-text { display: none; }
}
@media (max-width: 640px) {
  .hai-land-wrap { width: min(1180px, calc(100% - 28px)); }
  .hai-land-nav { padding: 16px 0 4px; }
  .hai-land-kicker { font-size: 1.05rem; }
  .hai-land-number { font-size: clamp(2.15rem, 11vw, 3.1rem); letter-spacing: -0.04em; }
  .hai-land-laurels { flex-direction: column; align-items: flex-start; gap: 10px; margin: 16px 0 20px; }
  .hai-laurel span { max-width: none; }
  .hai-land-grid { padding: 18px 0 32px; row-gap: 22px; }
  .hai-land-card { padding: 18px 16px 16px; }
  .hai-land-who h2 { font-size: 1.25rem; }
  .hai-land-avatar { width: 52px; height: 52px; font-size: 1rem; }
  .hai-land-sheet { margin-top: -18px; padding: 28px 0 28px; border-radius: 22px 22px 0 0; }
  .hai-how { padding: 18px 14px 16px; border-radius: 20px; }
  .hai-land-sheet h2 { font-size: 1.7rem; }
  .hai-talent { margin-bottom: 28px; }
  .hai-talent-card { min-height: 0; }
  .hai-talent-role { min-height: 0; }
  .hai-login-modal { padding: 12px; align-items: end; }
  .hai-login-card { width: 100%; max-height: calc(100vh - 24px); overflow: auto; border-radius: 22px 22px 18px 18px; padding: 16px 16px 18px; }
}
.hai-people { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; overflow: auto; }
.hai-people table { width: 100%; border-collapse: collapse; font-size: 14px; }
.hai-people th, .hai-people td { padding: 12px 14px; text-align: left; border-bottom: 1px solid #f3f4f6; vertical-align: middle; }
.hai-people th { font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: #6b7280; background: #fafafa; }
.hai-people tbody tr { cursor: pointer; }
.hai-people tbody tr:hover td { background: #f8fafc; }
.hai-people .hai-pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #f3f4f6; color: #6b7280; }
.hai-people .hai-muted { font-size: 12px; }
.hai-people th.hai-pick, .hai-people td.hai-pick { width: 36px; }
.hai-people-bulk { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 0 0 12px; }
.hai-card.hai-selectable, body.wp-admin #hai-admin-root .hai-card.hai-selectable { position: relative; }
.hai-card-pick, body.wp-admin #hai-admin-root .hai-card-pick { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin: 0; background: #fff; border: 1px solid #e2e8f0; border-radius: 6px; }
.hai-card.hai-selectable > button.hai-job, body.wp-admin #hai-admin-root .hai-card.hai-selectable > button.hai-job { padding-left: 48px; }
.hai-pick-all, body.wp-admin #hai-admin-root .hai-pick-all { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; color: #0f172a; }
.hai-people-bulk select { min-width: 16rem; border: 1px solid #cbd5e1; border-radius: 6px; padding: 8px 10px; font: inherit; background: #fff; color: #0f172a; }
.hai-people-tools { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0; }
.hai-people-tools input, .hai-people-tools select, .hai-people select, .hai-meta select { border: 1px solid #cbd5e1; border-radius: 6px; padding: 8px 10px; font: inherit; background: #fff; color: #0f172a; }
.hai-people-tools input { flex: 1; min-width: 220px; }
.hai-people select, .hai-meta select { width: 100%; min-width: 16rem; }
