/* Workspace flow: contextual actions, compact evidence and explicit task boundaries. */
.work-context{display:flex;gap:0;margin:1rem 0 1.6rem;border-block:1px solid var(--border,#d9dfd5);flex-wrap:wrap}
.work-context a{flex:1 1 12rem;display:flex;flex-direction:column;gap:.25rem;padding:1rem;text-decoration:none;color:var(--ink,#163b30);min-width:0}
.work-context a+a{border-inline-start:1px solid var(--border,#d9dfd5)}
.work-context a:hover{background:var(--surface,#fff)}
.work-context a:focus-visible,.work-section-links button:focus-visible{outline:3px solid #496c3b;outline-offset:3px}
.work-context strong{font-size:.88rem}.work-context span{font-size:.78rem;line-height:1.5;color:#52685d}
.reading-summary{display:flex;flex-wrap:wrap;gap:.8rem 1.6rem;margin:1.2rem 0;color:#52685d;font-size:.85rem}
.reading-summary strong{color:#163b30;font-size:1.08rem;margin-right:.25rem}
.requirements-orientation{margin-bottom:1.5rem}.requirements-orientation h2{margin:.35rem 0 .6rem}.requirements-orientation>p{max-width:70ch;color:#52685d;line-height:1.6}
.work-section-links{display:flex;gap:1.5rem;flex-wrap:wrap}.work-section-links button{min-height:36px}
#requirements-matrix{margin-top:2rem;scroll-margin-top:1rem}.candidate-inventory{scroll-margin-top:1rem}
.candidate-inventory>.section-head p{max-width:78ch}.candidate-inventory .candidate-row>summary{line-height:1.6}
.library-filters{display:grid;grid-template-columns:2fr 1fr 1.4fr;gap:1rem;margin:1rem 0}.library-filters label{min-width:0}
.library-empty{padding:1.25rem 0;border-block:1px dashed #c5d1c3}.library-empty p{max-width:66ch}
.company-evidence [data-evidence-items]{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,22rem),1fr))}
.company-evidence .requirement-card{margin:0;min-width:0;overflow-wrap:anywhere}
@media(max-width:760px){.work-context{display:grid;grid-template-columns:1fr;margin-bottom:1.2rem}.work-context a{padding:.85rem 0}.work-context a+a{border-inline-start:0;border-top:1px solid #d9dfd5}.work-context span{font-size:.8rem}.library-filters{grid-template-columns:1fr 1fr}.library-filters label:first-child{grid-column:1/-1}.work-section-links{gap:.6rem}.reading-summary{gap:.6rem 1.1rem}}
.candidate-inventory>.button{max-width:100%;white-space:normal;line-height:1.45;height:auto;min-height:44px;margin-top:.6rem}
.diagram-text-alternative{margin:1rem 0;padding:1rem 0;border-block:1px solid #d9dfd5}.diagram-text-alternative summary{font-weight:600;cursor:pointer}.diagram-text-alternative p{max-width:80ch;line-height:1.6}.diagram-task-links{display:flex;flex-wrap:wrap;gap:.75rem 1.4rem}.diagram-task-links a{display:inline-flex;align-items:center;min-height:32px;color:#234b39;text-underline-offset:.2em}
.requirements-orientation .work-context{display:flex;margin:.6rem 0 0}.requirements-orientation .work-context a{padding:.65rem;flex:1}.requirements-orientation .work-context span{display:none}.requirements-orientation .work-context a+a{border-top:0;border-inline-start:1px solid #d9dfd5}
.candidate-draft-actions{margin-top:1rem;border-top:1px solid #d9dfd5;padding-top:1rem}.candidate-draft-actions summary{cursor:pointer;font-weight:600}.candidate-draft-actions .button{max-width:100%;white-space:normal;line-height:1.45;height:auto;min-height:44px;margin-top:.75rem}
@media(max-width:760px){.preparation-heading+.work-context{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.preparation-heading+.work-context a{padding:.7rem .5rem}.preparation-heading+.work-context a+a{border-top:0;border-inline-start:1px solid #d9dfd5}.preparation-heading+.work-context strong{font-size:.76rem;line-height:1.45}.preparation-heading+.work-context span{display:none}}
