/* Blue Horizon: fine rules, square controls, readable audit information. */
.hc-deadline-settings { grid-column:1/-1; min-width:0; width:100%; box-sizing:border-box; margin:20px 0; padding:20px; border:1px solid var(--line,#d6e2f4); border-radius:0; background:var(--paper,#fff); color:var(--ink,#18263a); }
.hc-deadline-settings legend { padding:0 8px; font-weight:700; }
.hc-deadline-settings p,.hc-deadline-settings small { color:var(--muted,#4a5c76); font-size:13px; line-height:1.8; margin:0 0 14px; }
.hc-deadline-settings label { display:block; margin:14px 0 8px; color:inherit; font-size:14px; font-weight:600; }
.hc-deadline-settings :is(select,input) { box-sizing:border-box; display:block; width:100%; min-width:0; max-width:100%; padding:12px; border:1px solid var(--line,#c4d3e8); border-radius:0; color:var(--ink,#18263a); background:var(--paper,#fff); font:inherit; }
.hc-deadline-settings>small { display:block; margin:12px 0 0; }
.hc-deadline-settings [hidden] { display:none!important; }
.admin-main .hc-deadline-settings { border-color:var(--admin-border,#d6e2f4); background:var(--admin-surface,#fff); color:var(--admin-ink,#18263a); }
.admin-main .hc-deadline-settings :is(input,select) { border-color:var(--admin-border-strong,#c4d3e8); background:var(--admin-surface-card,#fff); color:var(--admin-ink,#18263a); }
@media(max-width:700px) { .hc-deadline-settings { padding:16px 14px; } }
.human-check-workspace-page .hc-workspace { min-width:0; max-width:100%; box-sizing:border-box; }
.hc-governance,.hc-upload { color:#18263a; font-family:'Noto Sans JP','Plus Jakarta Sans',sans-serif; }
.hc-governance { margin:28px 0; padding:24px; border:1px solid #d6e2f4; border-radius:0; background:#fff; min-width:0; }
.hc-governance h2 { font-family:'Noto Serif JP',serif; color:#152237; font-size:clamp(19px,2vw,24px); margin:0 0 12px; }
.hc-governance p,.hc-governance small { line-height:1.85; overflow-wrap:anywhere; }
.hc-response-status { scroll-margin-top:120px; }
.hc-response-status__focus { margin:20px 0; padding:20px; border:1px solid #c4d3e8; border-left:2px solid #3159db; background:#f0f5ff; }
.hc-response-status__focus strong { display:inline-block; margin-right:16px; color:#234baf; }
.hc-response-status__focus span { color:#18263a; font-weight:600; }
.hc-response-status__focus p { margin:10px 0 0; color:#4a5c76; }
.hc-response-status a { color:#234baf; text-underline-offset:4px; }
.hc-review-metrics { display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); gap:1px; margin:22px 0; border:1px solid #d6e2f4; background:#d6e2f4; }
.hc-review-metrics>div { padding:16px; background:#f7faff; }
.hc-review-metrics small { display:block; color:#4a5c76; font-size:12px; }
.hc-review-metrics strong { display:block; margin-top:8px; color:#152237; font-size:22px; }
.hc-response-status .hc-review-card { border:1px solid #c4d3e8; padding:24px; margin:20px 0; background:#fff; min-width:0; scroll-margin-top:120px; }
.hc-response-status .hc-review-card>header { display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; padding-bottom:16px; border-bottom:1px solid #e1e8f3; }
.hc-response-status .hc-review-card>header strong { color:#234baf; }
.hc-review-card__choice { color:#152237; font-weight:600; font-size:18px; }
.hc-review-card__text { white-space:pre-wrap; overflow-wrap:anywhere; }
.hc-review-note { padding:16px; margin:18px 0; border-left:2px solid #3159db; background:#f2f6ff; color:#233950; }
.hc-review-note p { margin:8px 0 0; }
.hc-response-status .hc-review-card form { padding:16px 0; }
.hc-response-status .hc-review-card details { margin-top:12px; }
.human-check-workspace-page .hc-budget-status { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); margin:24px 0; border:1px solid #d6e2f4; border-left:3px solid #3159db; background:#f7faff; overflow:hidden; }
.human-check-workspace-page .hc-budget-status>div { display:grid; gap:8px; padding:20px; border-right:1px solid #e1e8f3; }
.human-check-workspace-page .hc-budget-status>div:last-of-type { border-right:0; }
.human-check-workspace-page .hc-budget-status small { color:#4a5c76; font-size:12px; }
.human-check-workspace-page .hc-budget-status strong { color:#152237; font-size:18px; }
.human-check-workspace-page .hc-budget-status>:is(p,form) { grid-column:1/-1; margin:0; padding:18px 20px; border-top:1px solid #e1e8f3; color:#4a5c76; font-size:13px; line-height:1.85; }
.human-check-workspace-page .hc-budget-status form { display:grid; gap:14px; justify-items:start; }
.human-check-workspace-page .hc-budget-status form .hc-consent { display:flex; align-items:flex-start; gap:10px; }
.human-check-workspace-page .hc-budget-status form .hc-consent input { flex-shrink:0; }
.human-check-workspace-page .hc-budget-status>.form-error { grid-column:1/-1; padding:0 20px; }
@media(max-width:700px) { .hc-response-status .hc-review-card { padding:18px 14px; } .hc-review-metrics,.human-check-workspace-page .hc-budget-status { grid-template-columns:repeat(2,minmax(0,1fr)); } .human-check-workspace-page .hc-budget-status>div { padding:16px 14px; border-bottom:1px solid #e1e8f3; } .human-check-workspace-page .hc-budget-status>div:nth-of-type(2) { border-right:0; } .human-check-workspace-page .hc-budget-status form .button { width:100%; } }
.hc-governance details { border-top:1px solid #dfE7f2; padding:16px 0; }
.hc-governance summary { cursor:pointer; font-weight:600; color:#234baF; line-height:1.8; }
.hc-governance form { display:flex; flex-wrap:wrap; gap:16px; margin-top:18px; min-width:0; max-width:100%; }
.hc-governance form>label { flex-basis:100%; display:grid; gap:8px; font-size:14px; font-weight:600; }
.hc-governance form>label.hc-consent { display:flex; align-items:flex-start; font-weight:400; }
.hc-governance form>label.hc-consent input { width:auto; min-width:18px; }
.hc-governance input:not([type=checkbox]),.hc-governance textarea,.hc-governance select { width:100%; min-width:0; padding:12px; color:#152237; border:1px solid #c4d3e8; background:#fff; border-radius:0; font:inherit; box-sizing:border-box; }
.hc-governance :is(input,textarea,select,button,a):focus-visible,.hc-upload:focus-within { outline:2px solid #3159db; outline-offset:3px; }
.hc-governance .button-primary { color:#fff !important; background:#3159db; border-color:#3159db; }
.hc-governance-table { overflow:auto; max-width:100%; margin:18px 0; }
.hc-governance-table table { border-collapse:collapse; width:100%; min-width:600px; font-size:13px; }
.hc-governance-table th { background:#f5f8fd; color:#4a5c76; text-align:left; font-weight:600; }
.hc-governance-table :is(th,td) { padding:14px 12px; border-bottom:1px solid #e1e8f3; vertical-align:top; }
.hc-change-diff { display:grid; grid-template-columns:150px minmax(0,1fr) minmax(0,1fr); gap:16px; margin:16px 0; }
.hc-change-diff>div { border:1px solid #dce5f2; padding:12px; min-width:0; }
.hc-change-diff .is-changed { border:1px solid #cd6370; background:#fff8f8; color:#862a38; }
.hc-change-diff p { margin:6px 0 0; white-space:pre-wrap; }
.hc-governance-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; width:100%; }
.hc-governance-grid label { display:grid; gap:8px; }
.hc-change-fields { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; width:100%; }
.hc-governance-panel { display:flex; flex-wrap:wrap; gap:16px; margin:20px 0; padding:16px 0; border-top:1px solid #d6e2f4; }
.hc-governance-panel a { color:#234baf; }
.hc-governance fieldset.hc-governance { width:100%; max-width:100%; min-inline-size:0; margin:0; box-sizing:border-box; }
.hc-governance fieldset.hc-governance legend { max-width:100%; overflow-wrap:anywhere; }
.hc-governance fieldset.hc-governance>label { display:flex; gap:10px; margin:12px 0; align-items:flex-start; }
.hc-governance-files { display:flex; flex-direction:column; gap:12px; margin:18px 0; }
.hc-governance-files a { color:#234baf; overflow-wrap:anywhere; }
.hc-owner-preview { padding:14px 20px; color:#214393; background:#f2f6ff; border:1px solid #d4dff5; border-left:2px solid #3159db; margin:20px auto; max-width:1280px; font-size:14px; }
.hc-requester-identity { padding:16px 20px; border:1px solid #d6e2f4; border-left:2px solid #3159db; background:#f8faff; margin:20px 0; display:flex; gap:12px; flex-wrap:wrap; }
.hc-requester-identity span { color:#596b83; font-size:13px; }
.hc-requester-identity strong { color:#18263a; font-size:16px; }
.hc-upload { margin:12px 0; min-width:0; }
.hc-upload__zone { position:relative; display:flex; flex-direction:column; align-items:center; gap:12px; padding:24px 18px; border:1px dashed #8ba7d8; background:#f7faff; border-radius:0; cursor:pointer; text-align:center; transition:background .2s,border-color .2s; }
.hc-upload__zone.is-dragging,.hc-upload__zone:hover { background:#edf3ff; border-color:#3159db; }
.hc-upload__zone svg { color:#3159db; }
.hc-upload__zone input { max-width:100%; font-size:13px; color:#31445f; }
.hc-upload__zone strong { font-size:15px; color:#2249a5; }
.hc-upload__zone :is(small,span),.hc-upload>small { color:#526780; line-height:1.8; font-size:12px; }
.hc-upload__list { list-style:none; padding:0; margin:12px 0; }
.hc-upload__list li { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 0; border-bottom:1px solid #e0e8f5; }
.hc-upload__list span { min-width:0; overflow-wrap:anywhere; font-size:13px; }
.hc-upload__list button { flex-shrink:0; padding:6px 12px; color:#234da8; background:#fff; border:1px solid #c1d1ee; border-radius:0; cursor:pointer; }
.hc-upload__message { font-size:13px; color:#224ca2; line-height:1.8; }
.hc-response-guidance { padding:20px; border:1px solid #cddcf1; background:#f7faff; margin:24px 0; color:#233950; font-size:14px; }
.hc-response-guidance strong { color:#24499d; }
.hc-response-guidance p { line-height:1.9; margin:8px 0; }
.human-check-admin-response-list>article { scroll-margin-top:120px; }
.human-check-admin-response-list>article>.human-check-admin-response__meta { grid-column:1; grid-row:1; }
.human-check-admin-response-list>article>.human-check-admin-response__answer { grid-column:2; grid-row:1; }
.human-check-admin-response-list>article>.human-check-admin-response__reward { grid-column:3; grid-row:1; }
.human-check-admin-response-list>article>:not(.human-check-admin-response__meta):not(.human-check-admin-response__answer):not(.human-check-admin-response__reward) { grid-column:1/-1; min-width:0; max-width:100%; overflow-wrap:anywhere; }
.human-check-admin-response-list>article>.hc-governance { margin:0; box-sizing:border-box; }
.human-check-admin-response-list>article>.hc-review-note { margin:0; }
.human-check-admin-response-list>article>form.admin-form { grid-template-columns:180px minmax(0,1fr); align-items:start; }
.human-check-admin-response-list>article>form.admin-form>label:has(textarea[name=decision_reason]),.human-check-admin-response-list>article>form.admin-form>.hc-consent { grid-column:1/-1; }
.human-check-admin-response-list>article>form.admin-form>button { grid-column:1/-1; justify-self:start; width:auto; }
.human-check-admin-response-list>article>.hc-governance form,.human-check-admin-response-list>article>.hc-admin-reward-mail form { display:flex; flex-direction:column; align-items:flex-start; }
.human-check-admin-response-list>article>.hc-governance form .button,.human-check-admin-response-list>article>.hc-admin-reward-mail form .admin-button { width:auto; max-width:100%; }
@media(max-width:900px) { .human-check-admin-response-list>article { grid-template-columns:minmax(0,1fr); } .human-check-admin-response-list>article>:is(.human-check-admin-response__meta,.human-check-admin-response__answer,.human-check-admin-response__reward) { grid-column:1/-1; grid-row:auto; } }
@media(max-width:700px) { .human-check-admin-response-list>article>form.admin-form { grid-template-columns:minmax(0,1fr); } }
@media(max-width:700px) { .hc-governance { padding:18px 14px; margin:20px 0; } .hc-change-diff { grid-template-columns:minmax(0,1fr); gap:8px; } .hc-governance-grid,.hc-change-fields { grid-template-columns:minmax(0,1fr); } .hc-owner-preview { margin:12px; padding:12px; } .hc-governance .button { width:100%; text-align:center; } }
@media(prefers-reduced-motion:reduce) { .hc-upload__zone { transition:none; } }

/* Shared participant identity and the end of recruitment. */
.hc-participant{display:flex;align-items:center;gap:12px;min-width:0;margin:0 0 16px}
.hc-participant__image{display:block;flex:none;width:44px;height:44px;object-fit:cover;border:1px solid #DFE7FF;border-radius:3px;background:#EEF2FF}
.hc-participant__identity{display:grid;gap:3px;min-width:0;overflow-wrap:anywhere}
.hc-participant__identity strong{color:#16285F;font-size:14px;font-weight:700;line-height:1.6}
.hc-participant__identity small{color:#64748b;font-size:11px;line-height:1.6}
.hc-recruitment-closed{max-width:660px;text-align:left}
.hc-recruitment-closed__eyebrow{display:inline-block;margin-bottom:16px;border-left:3px solid #3159DB;padding-left:10px;color:#3159DB;font-size:12px;font-weight:700;letter-spacing:.08em}
.hc-recruitment-closed h2{margin:0 0 18px;font-family:"Noto Serif JP",serif;line-height:1.8}
.hc-recruitment-closed p,.hc-answer-complete .hc-recruitment-closed p{margin:0 0 16px;font-size:14px;line-height:1.95;color:#475569}
.hc-recruitment-closed__actions{display:flex;flex-wrap:wrap;align-items:center;gap:18px;margin-top:24px}
.hc-profile-image-editor{display:flex;gap:20px;align-items:start;padding:20px;border:1px solid #DFE7FF;background:#f8faff;margin-bottom:24px}
.hc-profile-image-editor>.hc-participant__image{width:80px;height:80px}
.hc-profile-image-editor>div{min-width:0;flex:1}
.hc-profile-image-editor p,.hc-profile-image-editor small{font-size:12px;line-height:1.85;color:#64748b}
.hc-profile-image-editor input[type=file]{max-width:100%;font-size:13px}
.hc-profile-image-remove{display:flex;gap:8px;align-items:start;font-size:12px;line-height:1.8;color:#475569}
.hc-profile-image-remove input{flex:none;width:16px;height:16px;margin:4px 0 0;padding:0}
@media(max-width:600px){.hc-profile-image-editor{flex-direction:column;padding:16px}.hc-recruitment-closed__actions{align-items:start;flex-direction:column;gap:16px}.hc-recruitment-closed h2{font-size:21px}}

.hc-governance-table .hc-participant{margin:0;min-width:160px}
