/* Extend the preserved prototype's native cards, tabs, fields, and tables. */
.live-banner{margin-bottom:1.5rem;padding:1rem;background:#fafafa;border:1px solid var(--border);border-radius:12px}
.live-banner p{margin:.5rem 0}.answer-box{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.6;margin-top:1rem;padding:1rem;background:#fafafa;border:1px solid var(--border);border-radius:8px;max-width:100%}
#liveAnswerForm label{display:block;margin-bottom:.5rem}#liveAnswer{width:100%;box-sizing:border-box;font:inherit;padding:.75rem;border:1px solid var(--border);border-radius:8px}#liveVersion{display:block;max-width:100%;margin-top:.5rem}
#liveRows .action-row{align-items:center}.live-banner .action-row{flex-wrap:wrap}#liveRows td{overflow-wrap:anywhere}#liveRows p{margin:.25rem 0}

.criterion-editor{border:1px solid var(--border);border-radius:8px;padding:1rem;margin:1rem 0;min-width:0}.criterion-editor legend{font-weight:600}.criterion-editor textarea{width:100%;box-sizing:border-box}.day-choice{display:inline-flex;align-items:center;gap:.25rem;margin:.25rem .75rem .25rem 0;font-size:.8rem}.criterion-editor details{margin:.75rem 0}#jobApplicationRows td{overflow-wrap:anywhere}#requirementsConflict{margin:.75rem 0}

.match-summary{margin:.75rem 0;font-size:1.2rem}#assessmentVersions{overflow-wrap:anywhere;font-size:.85rem}#reqAssessmentTable blockquote,#liveComparisonTable blockquote{margin:.5rem 0;padding-left:.75rem;border-left:2px solid var(--border);white-space:pre-wrap;overflow-wrap:anywhere}#liveComparisonTable td{min-width:12rem}#assessmentCard .action-row{flex-wrap:wrap}
/* Recruiting: keep evidence primary and audit information available on demand. */
.recruiting-links{display:flex;flex-wrap:wrap;gap:.65rem 1.25rem;margin:1rem 0;font-size:.85rem}.recruiting-links a{text-decoration:underline}.assessment-statuses{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap}.match-summary{font-size:1rem;line-height:1.6}.audit-metadata{display:grid;grid-template-columns:8rem minmax(0,1fr);gap:.5rem;font-size:.8rem}.audit-metadata dd{margin:0;overflow-wrap:anywhere}#assessmentDetails{border-top:1px solid var(--border);padding-top:1rem;margin-top:1rem}#assessmentDetails>summary{font-weight:600;cursor:pointer}.oversight-note{font-size:.8rem;color:var(--muted-foreground);margin-top:1rem}.comparison-actions{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}#compareSelectionCount{font-size:.85rem}#assessmentCard .tbl td{vertical-align:top}#assessmentCard .match-summary{max-width:64ch}.live-banner{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;flex-wrap:wrap;margin-bottom:1rem}.live-banner .sub{flex:1;min-width:12rem}.live-banner .action-row{margin:0}.job-tabs a{padding:.75rem 1rem}.api-panel{position:fixed!important;top:4rem!important;right:1rem!important;left:auto!important;bottom:auto!important;width:min(22rem,calc(100vw - 2rem))!important;max-height:calc(100dvh - 5rem)!important;overflow:auto!important;padding:1rem!important;box-sizing:border-box;z-index:150}.api-panel h2{font-size:1rem}.api-panel .api-log{max-height:9rem;overflow:auto}.api-panel .api-row{gap:.75rem}.api-panel .v{overflow-wrap:anywhere;text-align:right}.demo-recruiting-note{font-size:.8rem;color:var(--muted-foreground)}
@media(max-width:640px){.audit-metadata{grid-template-columns:6rem minmax(0,1fr)}.recruiting-links{gap:.75rem}.live-banner .action-row{width:100%}#assessmentCard{padding:1rem}.api-panel{right:.5rem!important;width:calc(100vw - 1rem)!important}.comparison-actions>p{width:100%}}

.recruiting-links a{color:var(--teal-700)}.demo-recruiting-note{margin-bottom:.65rem}.server-profile>div{width:100%}
/* One compact recruiting dashboard in Demo, Live, and Preview. */
#recruitingDashboard .page-header{align-items:center;margin-bottom:1.25rem}#recruitingDashboard h1{font-size:1.6rem}#recruitingDashboard .metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#recruitingDashboard .metric{min-height:6.25rem}#recruitingDashboard .mv{font-size:1.5rem}.metric-scope,.dashboard-caption{font-size:.78rem;color:var(--muted-foreground);margin-top:.35rem}.dashboard-caption{margin-bottom:.75rem}.dashboard-quick-actions{display:flex;flex-wrap:wrap;gap:1.25rem;margin:.75rem 0}.dashboard-quick-actions a,#recruitingDashboard .section-heading a{font-size:.85rem;color:var(--teal-700);text-decoration:underline}#recruitingDashboard .section-heading{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;margin-bottom:.35rem}#recruitingDashboard h2{font-size:1.05rem}#recruitingDashboard .card{margin-bottom:1rem}#dashboardAttention{scroll-margin-top:5rem}#dashboardAttentionToggle{margin-top:.75rem}#recruitingDashboard .tbl td{vertical-align:top}#recruitingDashboard td:nth-last-child(1){white-space:nowrap}.dashboard-loading,.dashboard-unavailable{font-size:.95rem;font-weight:500}#recruitingDashboard[aria-busy=true] .metric{background:var(--muted)}
@media(max-width:640px){#recruitingDashboard .metric-grid{grid-template-columns:1fr}#recruitingDashboard .metric{min-height:0}#recruitingDashboard .page-header,#recruitingDashboard .section-heading{align-items:flex-start;flex-wrap:wrap}#recruitingDashboard .card{padding:1rem}}
#recruitingDashboard .tbl a:not(.btn){color:var(--teal-700);text-decoration:none}#recruitingDashboard .tbl a:not(.btn):hover{text-decoration:underline}#recruitingDashboard a.btn{text-decoration:none}

/* Compact, opt-in diagnostics; retain narrow-screen access. */
.api-panel{width:min(340px,calc(100vw - 32px));max-height:min(70vh,650px);overflow:auto;font-size:.8rem;padding:16px}.api-panel h2{font-size:1rem}.api-panel .sub{font-size:.78rem;line-height:1.4}.api-panel details{margin:.6rem 0}.api-panel .api-log{max-height:110px;overflow:auto}

.human-review fieldset{border:0;padding:0;display:grid;gap:1rem}.human-review label{display:grid;gap:.35rem}.human-review input,.human-review select,.human-review textarea{width:100%;max-width:38rem}.human-history{margin-top:1rem}.human-history article{border-top:1px solid var(--border);padding:.8rem 0}.decision-note{white-space:pre-wrap;overflow-wrap:anywhere}
