:root { color-scheme:light; font-family:"Segoe UI",system-ui,sans-serif; color:#24352f; background:#f4f6f3; font-synthesis:none; --ink:#24352f; --muted:#5a6b62; --accent:#21634f; --line:#d9e1da; --surface:#fff; }
* { box-sizing:border-box; }
body { margin:0; font-size:16px; line-height:1.6; }
[hidden] { display:none !important; }
button,input,select,textarea { font:inherit; }
button,a { touch-action:manipulation; }
button { cursor:pointer; }
button:disabled { cursor:default; opacity:.58; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible { outline:3px solid #26795e; outline-offset:4px; }
a { color:var(--accent); }
.skip-link { position:absolute; top:-100px; left:16px; background:white; border:2px solid var(--accent); padding:10px 16px; z-index:10; }
.skip-link:focus { top:10px; }
.lab-notice { padding:6px 20px; font-size:12px; letter-spacing:.015em; text-align:center; background:#e8eee7; color:#455c4d; }
.demo-badge { display:inline-block; padding:2px 6px; border:1px solid currentColor; border-radius:4px; font-size:10px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.site-header { min-height:92px; padding:18px max(24px,calc((100vw - 1240px)/2)); display:flex; justify-content:space-between; align-items:center; gap:20px; border-bottom:1px solid var(--line); background:var(--surface); }
.brand { display:flex; align-items:center; gap:12px; color:var(--ink); text-decoration:none; font-size:18px; line-height:1.3; font-weight:650; }
.brand-symbol { display:flex; width:42px; height:42px; justify-content:center; align-items:center; border-radius:14px; background:var(--accent); color:white; font-family:Georgia,serif; font-size:33px; font-weight:400; }
.brand-caption { display:block; font-size:12px; color:var(--muted); letter-spacing:.03em; font-weight:400; margin-top:4px; }
.header-actions { display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.realm-label { font-size:13px; color:var(--muted); }
main { width:min(100%,1240px); margin:0 auto; padding:44px 24px 70px; overflow-wrap:anywhere; }
main:focus { outline:none; }
h1,h2,h3,p { margin:0; }
h1,h2,h3 { line-height:1.28; letter-spacing:-.025em; }
h1 { font-weight:630; font-size:clamp(28px,3vw,38px); }
h2 { font-weight:630; font-size:25px; }
h3 { font-size:18px; font-weight:650; }
.eyebrow { color:var(--accent); text-transform:uppercase; letter-spacing:.105em; font-size:11px; font-weight:700; margin-bottom:10px; }
.lead { font-size:17px; color:var(--muted); max-width:64ch; margin-top:14px; }
.muted { color:var(--muted); }
.small { font-size:13px; }
.access-card { max-width:750px; padding:36px; border:1px solid var(--line); border-radius:20px; background:var(--surface); }
.feedback-area { margin:20px 0 28px; }
.status { color:var(--muted); font-size:14px; min-height:23px; }
.alert { border:1px solid var(--line); border-radius:12px; padding:20px 24px; margin:16px 0 24px; background:white; }
.alert h2 { font-size:21px; margin-bottom:8px; }
.alert-error { background:#fff2ee; border-color:#d6b2a7; color:#7b3423; }
.alert-warning { background:#fffaf0; border-color:#d8c79e; color:#5f4a1e; }
.alert .eyebrow { color:#715729; }
.actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-top:22px; }
.button { display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:10px 18px; border:1px solid transparent; border-radius:9px; font-size:14px; font-weight:650; text-align:center; line-height:1.5; text-decoration:none; max-width:100%; }
.button-primary { background:var(--accent); color:white; }
.button-primary:hover:not(:disabled) { background:#184b3c; }
.button-secondary { background:white; border-color:#95a79a; color:var(--ink); }
.button-secondary:hover:not(:disabled) { background:#edf3ed; }
.button-quiet { color:var(--accent); background:transparent; padding:9px 12px; }
.button-quiet:hover:not(:disabled),.back-link:hover { text-decoration:underline; }
.button-danger { background:white; color:#853b2a; border-color:#bba297; }
.section-heading { display:flex; justify-content:space-between; align-items:end; gap:20px; margin-bottom:26px; }
.section-heading .muted { margin-top:12px; }
.case-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr)); gap:18px; }
.case-card { display:flex; flex-direction:column; align-items:stretch; text-align:left; border:1px solid var(--line); border-radius:16px; background:white; padding:26px; color:var(--ink); width:100%; min-height:170px; }
.case-card:hover { border-color:#91ad99; box-shadow:0 5px 20px #183c2710; }
.case-card .case-label { color:var(--muted); font-size:12px; margin-bottom:9px; }
.case-card .case-title { font-size:20px; font-weight:620; line-height:1.4; white-space:pre-wrap; }
.case-card .case-action { display:block; margin-top:auto; padding-top:22px; color:var(--accent); font-size:13px; font-weight:650; }
.pagination { margin-top:24px; }
.empty-state { padding:34px 24px; color:var(--muted); background:#edf1eb; border-radius:12px; }
.back-link { border:0; background:none; padding:0; color:var(--accent); font-size:14px; min-height:44px; text-align:left; }
.workspace-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:26px; margin:18px 0 32px; }
.case-objective { max-width:68ch; white-space:pre-wrap; }
.record-status { display:flex; flex-direction:column; align-items:end; gap:10px; flex-shrink:0; padding-top:8px; }
.badge { display:inline-flex; font-size:12px; font-weight:650; padding:6px 12px; border-radius:7px; background:#e9f0e9; color:#315c40; }
.save-status { font-size:12px; color:var(--muted); }
.workspace-grid { display:grid; grid-template-columns:280px minmax(0,1fr); gap:28px; align-items:start; }
.context-panel { min-width:0; }
.context-disclosure > summary { display:none; }
.side-card { padding:24px; background:#eaf0e9; border:1px solid #dde6dc; border-radius:14px; margin-bottom:20px; }
.side-card h2 { font-size:18px; margin-bottom:14px; }
.side-card h3 { font-size:14px; margin:18px 0 6px; }
.side-card p,.side-card li { font-size:13px; }
.side-card .actions { gap:5px; margin-top:14px; }
.side-card .button { width:100%; font-size:13px; padding:9px 10px; }
.context-list { list-style:none; margin:0; padding:0; }
.context-list li { padding:12px 0; border-top:1px solid #cfdace; white-space:pre-wrap; }
.context-label { display:block; color:var(--muted); font-size:11px; margin-bottom:4px; }
.interview-main { min-width:0; }
.steps { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); list-style:none; padding:0; margin:0 0 20px; gap:8px; }
.steps button { display:flex; flex-direction:column; align-items:start; width:100%; gap:9px; min-height:98px; color:var(--muted); border:1px solid transparent; border-radius:10px; background:transparent; padding:13px 10px; font-size:12px; font-weight:600; text-align:left; }
.steps button[aria-current="step"] { background:#fff; border-color:#b7c9bc; color:var(--accent); }
.step-number { display:flex; justify-content:center; align-items:center; width:25px; height:25px; border:1px solid #bdcbbf; border-radius:50%; font-size:12px; }
[aria-current="step"] .step-number { background:var(--accent); color:white; border-color:var(--accent); }
.work-card { border:1px solid var(--line); border-radius:17px; padding:30px; background:var(--surface); margin-bottom:22px; }
.work-card > .intro { margin-top:12px; color:var(--muted); font-size:14px; max-width:65ch; }
.work-card > .summary-bar { margin-top:23px; }
.summary-bar { padding:14px 16px; background:#f0f4ee; border-radius:9px; font-size:13px; }
.section-divider { margin-top:32px; padding-top:28px; border-top:1px solid var(--line); }
.question-list,.answer-list { margin-top:24px; }
.question-card,.answer-card { padding:23px 0; border-top:1px solid var(--line); }
.question-card:last-child,.answer-card:last-child { padding-bottom:0; }
.question-meta { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-bottom:10px; color:var(--muted); font-size:11px; }
.question-code { font-weight:700; color:var(--accent); letter-spacing:.04em; }
.question-text { font-size:17px; line-height:1.55; white-space:pre-wrap; }
.question-card label,.answer-card label { font-size:13px; }
label { display:block; font-size:14px; font-weight:600; margin:19px 0 7px; }
input:not([type="checkbox"]),select,textarea { width:100%; min-height:46px; padding:10px 12px; color:var(--ink); background:white; border:1px solid #8fa396; border-radius:8px; font-size:16px; }
textarea { line-height:1.6; resize:vertical; min-height:105px; }
textarea[aria-invalid="true"],select[aria-invalid="true"] { border-color:#9b4a35; }
fieldset { border:0; padding:0; margin:0; min-width:0; }
legend { font-size:14px; font-weight:650; margin-bottom:10px; }
.field-help { color:var(--muted); font-size:12px; margin-top:7px; }
.field-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.check-row { display:flex; gap:11px; align-items:flex-start; font-size:13px; font-weight:400; line-height:1.6; padding:10px 0; }
.check-row input { width:19px; height:19px; flex-shrink:0; margin:3px 0 0; accent-color:var(--accent); }
.observation { margin-top:20px; padding:18px; background:#f4f3ee; border-radius:10px; border-left:3px solid #b1a788; }
.observation label { margin-top:0; }
.recorded-note { font-size:12px; color:var(--muted); padding:10px 12px; border:1px solid var(--line); border-radius:7px; margin-top:14px; }
.notice-inline { color:#725221; background:#fff8e9; padding:12px 14px; font-size:12px; border-radius:8px; margin-top:15px; }
.manual-row { border:1px solid var(--line); padding:18px; border-radius:10px; margin:14px 0; }
.manual-row label:first-child { margin-top:0; }
.manual-row .button { min-height:38px; margin-top:8px; }
.review-list { list-style:none; padding:0; margin:22px 0; }
.review-item { padding:17px 0; border-top:1px solid var(--line); }
.review-item strong { display:block; margin-bottom:5px; }
.review-item p { font-size:14px; white-space:pre-wrap; }
.review-item .badge { margin-top:10px; }
.retired-list { margin-top:18px; }
.retired-item { padding:15px; border:1px solid var(--line); border-radius:9px; margin-top:12px; }
.retired-item .check-row { margin:0; }
.retired-item .button { margin:5px 0 0 30px; font-size:12px; }
.closing-summary { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin:24px 0; }
.metric { padding:18px 12px; background:#f1f5ef; border-radius:10px; text-align:center; }
.metric strong { display:block; font-size:27px; font-weight:600; line-height:1.2; color:var(--accent); }
.metric span { display:block; font-size:11px; color:var(--muted); margin-top:7px; }
.read-only { padding:20px; background:#eff4ed; border:1px solid #d7e3d3; border-radius:10px; margin:22px 0; }
.read-only h3 { margin-bottom:8px; }
.read-only p { font-size:14px; }
.record-tools { display:flex; flex-wrap:wrap; gap:5px; }
.privacy-note { color:var(--muted); font-size:12px; margin:14px 10px 20px; }
.technical { color:var(--muted); font-size:12px; margin-top:18px; }
.technical summary { cursor:pointer; padding:8px 0; }
dl { margin:8px 0 0; }
dt { color:var(--muted); font-size:11px; margin-top:10px; }
dd { margin:1px 0 0; font-size:12px; overflow-wrap:anywhere; }
.history-list { list-style:none; padding:0; margin:20px 0; }
.history-list li { border-top:1px solid var(--line); padding:12px 0; }
.history-list button { text-align:left; justify-content:start; }
.history-detail { padding-top:24px; margin-top:20px; border-top:1px solid var(--line); }
.history-answer { font-size:14px; white-space:pre-wrap; margin:10px 0; }
.history-observation { background:#f4f3ee; padding:12px; font-size:13px; margin-top:10px; white-space:pre-wrap; }
.quote { border-left:3px solid #b6cabc; margin:15px 0 0; padding:8px 14px; font-size:13px; color:#465c4d; white-space:pre-wrap; }
.proposal-card h3 { margin-top:24px; }
.proposal-card .question-card { margin-top:15px; }
.request-list { list-style:none; padding:0; margin:18px 0 0; }
.request-list li { border-top:1px solid #cfdace; padding:12px 0; }
.request-list .request-name { font-size:12px; font-weight:650; }
.request-list .request-status { display:block; font-size:12px; color:var(--muted); margin-top:3px; }
footer { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; width:min(100%,1240px); margin:0 auto; padding:25px 24px; border-top:1px solid var(--line); color:var(--muted); font-size:11px; }
noscript { display:block; margin:25px; padding:20px; border:1px solid #a25640; }
@media (max-width:900px) { .workspace-grid { grid-template-columns:230px minmax(0,1fr); gap:20px; } .work-card { padding:24px; } .steps { gap:3px; } .steps button { padding:11px 7px; font-size:11px; } }
@media (max-width:720px) { .site-header { padding:17px 20px; min-height:84px; } .realm-label { display:none; } main { padding:28px 18px 48px; } .workspace-grid { grid-template-columns:minmax(0,1fr); gap:4px; } .context-panel { display:block; margin-bottom:12px; } .context-disclosure > summary { display:list-item; padding:15px 18px; border:1px solid var(--line); border-radius:11px; background:var(--surface); cursor:pointer; font-size:14px; } .context-summary-title { font-weight:650; } .context-summary-hint { display:block; margin-top:4px; color:var(--muted); font-size:12px; } .context-body { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:12px; } .side-card { padding:18px; height:calc(100% - 16px); margin-bottom:16px; } .side-card h2 { font-size:16px; } .workspace-heading { flex-direction:column; gap:15px; margin-bottom:24px; } .record-status { flex-direction:row; align-items:center; padding:0; } .steps button { min-height:90px; font-size:12px; } .section-heading { align-items:start; flex-direction:column; } .section-heading h1 { font-size:28px; } .lead { font-size:16px; } .context-list li { font-size:12px; } }
@media (max-width:480px) { .site-header { gap:8px; padding:15px 16px; } .brand { font-size:16px; gap:9px; } .brand-symbol { width:35px; height:35px; font-size:28px; border-radius:11px; } .brand-caption { font-size:11px; } .header-actions .button { font-size:12px; padding:8px; min-height:42px; } .access-card { padding:26px 22px; border-radius:14px; } .context-body { grid-template-columns:1fr; } .context-panel .side-card { margin-bottom:12px; height:auto; } .steps { grid-template-columns:1fr 1fr; gap:8px; margin:12px 0 18px; } .steps button { flex-direction:row; align-items:center; min-height:62px; gap:9px; padding:10px; } .step-number { flex-shrink:0; } .work-card { padding:24px 20px; border-radius:13px; } h2 { font-size:23px; } .question-text { font-size:16px; } .field-row { grid-template-columns:1fr; gap:0; } .actions .button { flex-grow:1; } .closing-summary { gap:7px; } .metric { padding:16px 6px; } .metric strong { font-size:24px; } .metric span { font-size:10px; } .alert { padding:20px; } .privacy-note { margin-left:2px; margin-right:2px; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto !important; transition:none !important; } }
.interview-views { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 24px; padding-bottom:16px; border-bottom:1px solid var(--line); }
.interview-views button { min-height:46px; border:1px solid var(--line); border-radius:9px; background:var(--surface); padding:10px 18px; color:var(--ink); font:inherit; cursor:pointer; }
.interview-views button[aria-pressed="true"] { border:2px solid var(--accent); background:#edf2ed; font-weight:650; }
#transcripts-panel { min-width:0; padding:32px; border:1px solid var(--line); border-radius:16px; background:var(--surface); }
#transcripts-panel[hidden],#manual-panel[hidden] { display:none; }
#transcripts-panel h3 { margin-top:26px; }
#transcripts-panel h4 { font-size:17px; margin:0 0 12px; }
#transcripts-panel textarea { font-size:16px; width:100%; min-height:100px; resize:vertical; }
#transcripts-panel input[type="text"],#transcripts-panel select { font-size:16px; min-height:46px; width:100%; }
#transcripts-panel .button { min-height:44px; white-space:normal; overflow-wrap:anywhere; }
.transcript-import { padding-bottom:26px; border-bottom:1px solid var(--line); }
.transcript-source-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.transcript-source-card { border:1px solid var(--line); border-radius:10px; padding:18px; min-width:0; }
.transcript-source-card .badge { display:block; white-space:normal; line-height:1.5; }
.transcript-original { white-space:pre-wrap; overflow-wrap:anywhere; word-break:normal; font-family:inherit; font-size:14px; max-width:100%; padding:14px; border-left:3px solid #a8bdaa; background:#f4f6f1; }
.transcript-segment { border:1px solid var(--line); border-radius:10px; margin:22px 0; padding:18px; min-width:0; }
.transcript-segment > legend { padding:0 7px; font-weight:650; }
.transcript-doubts { border:0; padding:0; margin:16px 0; }
.transcript-doubts legend { font-size:13px; font-weight:650; margin-bottom:8px; }
.transcript-attribution { margin:18px 0 0; border-top:1px solid var(--line); padding-top:12px; }
.transcript-attribution summary { min-height:44px; padding:10px 0; cursor:pointer; font-size:13px; }
.transcript-withdraw { border-top:1px solid var(--line); margin-top:32px; padding-top:24px; }
.transcript-history { margin-top:26px; }
.transcript-history > button { display:block; text-align:left; margin:10px 0; }
.transcript-history-item { margin:18px 0; border-bottom:1px solid var(--line); padding-bottom:14px; }
@media (max-width:720px) { #transcripts-panel { padding:24px; } .transcript-source-list { grid-template-columns:1fr; } }
@media (max-width:480px) { .interview-views button { flex:1 1 100px; padding:10px; font-size:14px; } #transcripts-panel { padding:22px 16px; border-radius:12px; } .transcript-segment { padding:16px 12px; } .transcript-original { padding:10px; } }
@media (forced-colors:active) { .interview-views button,.transcript-source-card,.transcript-segment,.transcript-original { border:1px solid CanvasText; } .interview-views button[aria-pressed="true"] { border:2px solid Highlight; } }
@media (forced-colors:active) { .brand-symbol,.badge,.step-number,.button,.work-card,.side-card,.case-card,.alert,.metric { border:1px solid CanvasText; } .steps button[aria-current="step"] { border:2px solid Highlight; } .observation { border:1px solid CanvasText; } .button:disabled { opacity:1; color:GrayText; border-color:GrayText; } }
/* Exact transcript associations share the professional shell and stack on mobile. */
.transcript-links-panel { margin-top: 1.25rem; }
.link-editor, .link-saved, .link-history { min-width: 0; }
.link-editor form { display: grid; gap: 1rem; margin-top: 1.25rem; }
.link-editor select, .link-editor textarea { box-sizing: border-box; width: 100%; min-width: 0; max-width: 100%; }
.link-rows { display: grid; gap: 1rem; }
.link-row { border: 1px solid var(--line); border-radius: .75rem; padding: 1rem; min-width: 0; overflow-wrap: anywhere; }
.link-row h4 { margin-top: 0; }
.link-row .button { margin-top: .75rem; }
.link-target-preview, .link-saved-detail { overflow-wrap: anywhere; }
.link-target-preview:empty { display: none; }
.link-history:empty, .link-saved:empty, .link-editor:empty { display: none; }
.link-history { margin-top: 1.5rem; }
.link-history > button { display: block; margin: .5rem 0; max-width: 100%; white-space: normal; }
.transcript-links-panel button, .transcript-links-panel select { min-height: 44px; }
@media (max-width: 480px) {
  .link-row { padding: .75rem; }
  .transcript-links-panel .actions > button { width: 100%; }
}
.profile-panel { min-width:0; overflow-wrap:anywhere; }
.profile-panel select,.profile-panel textarea { box-sizing:border-box; width:100%; min-width:0; max-width:100%; font-size:16px; }
.profile-panel button,.profile-panel select { min-height:44px; }
.profile-panel .button { white-space:normal; }
.profile-versions { display:flex; flex-wrap:wrap; gap:.6rem; margin:1.5rem 0; }
.profile-versions h3 { flex-basis:100%; margin:0; }
.profile-pair,.profile-notes,.profile-original,.profile-observations { border-top:1px solid var(--line); margin-top:1.5rem; padding-top:1.25rem; }
.profile-items { display:grid; gap:.75rem; padding-left:1.25rem; }
.profile-items li { line-height:1.6; }
.profile-original summary { cursor:pointer; min-height:44px; font-weight:650; }
.profile-observations .actions { margin-top:1rem; }
@media (max-width:480px) { .profile-versions { display:grid; } .profile-panel .actions .button { width:100%; } }

/* Independent read-only assessment summaries. */
#professional-assessments-content{min-width:0;overflow-wrap:anywhere}#professional-assessments-panel>p{line-height:1.6}#professional-assessments-refresh{min-height:48px;margin:1rem 0}
@media (max-width:480px){.interview-views button{flex-basis:calc(50% - 8px)}}

/* The general protocol is independent of the currently selected interview. */
.protocol-panel { max-width:960px; margin-inline:auto; }
.protocol-panel textarea { display:block; width:100%; min-height:8rem; margin-top:.5rem; }
.protocol-panel section { margin-block:1.5rem; }
.protocol-panel li { margin-bottom:.8rem; }
.protocol-panel small { color:var(--muted); }
.protocol-digest { overflow-wrap:anywhere; font-size:.85rem; }
.protocol-instrument { border-top:1px solid var(--line); padding-top:1rem; }
.protocol-history-item { border-bottom:1px solid var(--line); padding-block:1rem; }
@media (max-width:480px) { .professional-areas button { flex:1 1 100%; } .protocol-panel .actions .button { width:100%; } }

.episode-feedback-note{white-space:pre-wrap;overflow-wrap:anywhere}.profile-feedback-item{padding:.8rem;border-bottom:1px solid var(--line,#d8e0e5)}#episode-profiles-panel button{min-height:48px;max-width:100%;white-space:normal}#episode-profiles-panel textarea{min-height:7rem;width:100%;box-sizing:border-box}#episode-profiles-panel .case-grid{margin-block:1rem}@media(max-width:600px){#episode-profiles-panel button{width:100%}}

/* Case-specific assignments remain optional professional controls. */
.assessment-assignment{padding:22px;margin:20px 0 28px;border:1px solid var(--border,#ccd9d1);border-radius:12px;background:var(--surface-soft,#f7faf8);min-width:0}
.assessment-assignment h3{margin:0 0 12px;font-size:20px;line-height:1.35}
.assignment-instruments{border:1px solid var(--border,#ccd9d1);border-radius:10px;margin:18px 0;padding:16px;min-width:0}
.assignment-instruments legend{font-weight:650;font-size:15px;max-width:100%}
.assessment-assignment .technical dd{overflow-wrap:anywhere}
@media(max-width:600px){.assessment-assignment{padding:16px}.assignment-instruments{padding:12px}.assessment-assignment .actions{align-items:stretch;flex-direction:column}}
