/* Non-modal applicant panel keeps the table available for cross-checking. */
.schedule-presentation-control[hidden] { display: none; }
.applicant-name { padding: 4px 0; border: 0; background: transparent; color: var(--prizm-color-fg); font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.record-row .applicant-name { color: var(--prizm-color-fg); text-decoration: none; }
.record-row .applicant-name:hover { color: var(--prizm-color-accent); text-decoration: none; }
.applicant-name:focus-visible { outline: 2px solid var(--prizm-color-focus); outline-offset: 3px; }
.record-row { cursor: default; }
#kanbanDrawerBackdrop { display: none; }
#kanbanDrawer .kanban-drawer { width: min(400px, 42vw); box-shadow: none; background: var(--prizm-color-surface); }
body.drawer-open .app-main { margin-right: min(400px, 42vw); transition: margin-right .2s ease; }
.record-layout.list-only .record-list { overflow-x: auto; }
.record-layout.list-only .record-table-head, .record-layout.list-only #recordRows { min-width: 840px; }
.record-layout.list-only .record-row, .record-layout.list-only .record-table-head { grid-template-columns: 28px minmax(150px,1fr) minmax(145px,.8fr) minmax(210px,1.35fr) minmax(180px,1fr); }
.history-drawer-body #historyBack { margin-bottom: 20px; }
body.interview-task-page .app-main { height: auto; min-height: 100dvh; overflow: visible; }
.interview-task-page .app-main > .page { display: none; }
.interview-task-shell { max-width: 1120px; margin: 0 auto; }
.task-page-heading { padding: 0 0 20px; }
.task-page-heading h1 { margin: 0; font-size: 28px; line-height: 1.3; color: var(--prizm-color-fg); }
#taskBack { margin-right: auto; }
.task-page-fallback-foot { display: flex; padding: 16px 0; }
.task-page-fallback-foot:empty { display: none; }
.task-page-heading p { margin-top: 14px; color: var(--prizm-color-fg-muted); }
#interviewTaskContent { background: var(--prizm-color-surface); border: 1px solid var(--prizm-color-border); border-radius: var(--prizm-radius-lg); }
#interviewTaskContent > h1, #interviewTaskContent > p, #interviewTaskContent > button { margin: 24px; }
#interviewTaskContent dialog.full-task-form { position: static; inset: auto; width: 100%; max-width: none; height: auto; max-height: none; margin: 0; border: 0; box-shadow: none; overflow: visible; }
/* Full pages use document scrolling, not the modal form's nested scroll area. */
#interviewTaskContent .full-task-form > form { height: auto; display: block; }
#interviewTaskContent .full-task-form .dialog-body { height: auto; max-height: none; overflow: visible; overscroll-behavior: auto; }
body.interview-task-page:has(#profileDialog[open]) { overflow: auto; }
.full-task-form .dialog-foot { position: sticky; bottom: 0; background: var(--prizm-color-surface); border-top: 1px solid var(--prizm-color-border); }
@media (max-width: 760px) {
  #kanbanDrawer .kanban-drawer { width: 50vw; }
  body.drawer-open .app-main { margin-right: 50vw; }
}
@media (prefers-reduced-motion: reduce) { body.drawer-open .app-main { transition: none; } }
