*{box-sizing:border-box}body{margin:0;background:#faf8f1;color:#26352d;font:16px/1.5 system-ui,sans-serif}header,main,footer{max-width:1500px;margin:auto;padding:1.25rem 1.5rem}header{max-width:1250px}a{color:#235d50;text-underline-offset:3px}nav,.note{font-size:.88rem;color:#526456}h1{font:clamp(2rem,4vw,2.9rem)/1.15 Georgia,serif;margin:.7rem 0}h2,h3,h4{line-height:1.3;margin:.3rem 0 .7rem}h2{font-size:1.15rem}h3,h4{font-size:1rem}p{max-width:100ch}.eyebrow{text-transform:uppercase;letter-spacing:.1em;font-size:.75rem;color:#526456}.panel,.group{background:#fffdf7;border:1px solid #cdd7c9;border-radius:12px;padding:1rem;min-width:0}.toolbar,.title-row,.group-heading,.stream-heading{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.title-row,.group-heading,.stream-heading{justify-content:space-between}.title-row h2,.group-heading h2,.stream-heading h3{margin:0;overflow-wrap:anywhere}.toolbar{margin:.65rem 0}.toolbar label{min-width:210px;flex:1;max-width:390px}button,input,select,textarea{font:inherit;color:inherit}button{border:1px solid #a2b5a4;border-radius:6px;padding:.5rem .7rem;background:#edf2e6;cursor:pointer;min-height:42px}button.primary{background:#285d4a;color:white}button.danger{color:#8b3024;background:#fcf0e8}button:hover{filter:brightness(.96)}button:disabled{opacity:.5;cursor:default}label{display:block;font-size:.9rem}input,select,textarea{border:1px solid #a2b5a4;border-radius:5px;padding:.5rem;background:#fffefa;max-width:100%;min-height:42px}input:not([type=checkbox]),select,textarea{width:100%}input[type=checkbox]{width:19px;height:19px;min-height:0;accent-color:#285d4a;flex-shrink:0}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid #aa6724;outline-offset:3px}details{border-top:1px solid #d9dfd6;padding:.65rem 0}summary{cursor:pointer;font-weight:600}details p,details ol{font-size:.95rem}.filters{display:grid;grid-template-columns:minmax(180px,2fr) minmax(140px,1fr) auto;align-items:end;gap:.6rem}.selection{border-top:1px solid #d9dfd6;margin-top:.75rem;padding-top:.1rem}.selection p{margin:.5rem 0}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:1rem;margin-top:1rem;align-items:start}.contracts,.support{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.support{margin-top:1rem}.support .group{background:#f0f2e8}.group-description{font-size:.82rem;color:#526456;min-height:2.5em}.group>.toolbar button{font-size:.85rem}.group-empty,.empty{font-size:.85rem;color:#526456;font-style:italic;padding:.5rem 0}.items{list-style:none;margin:.6rem 0;padding:0}.card{padding:.65rem;background:#fffefb;border:1px solid #d9dfd6;border-radius:7px;margin:.45rem 0;overflow-wrap:anywhere}.card.selected{outline:2px solid #49735b;outline-offset:1px;background:#edf3e5}.card-title{display:flex;align-items:flex-start;gap:.5rem;font-weight:600;cursor:pointer;min-height:32px}.card-title input{margin-top:.2rem}.card-note{font-size:.83rem;white-space:pre-wrap;margin:.4rem 0;color:#526456;max-height:8rem;overflow:auto}.reviewed{display:flex;align-items:center;gap:.4rem;font-size:.78rem;min-height:32px}.workstream{background:#f4f4e9;border:1px solid #cdd7c9;border-radius:8px;margin-top:.8rem;padding:.65rem}.stream-actions{display:flex;gap:.3rem;flex-wrap:wrap;margin-top:.4rem}.stream-actions button{font-size:.78rem;padding:.3rem .45rem;min-height:36px}.group[data-kind=unassigned]{border:2px dashed #9aa993}.error{color:#8b3024;font-weight:600}.error:empty{display:none}#save-status,#status{margin:.4rem 0}#status{min-height:1.5em}dialog{border:1px solid #a2b5a4;border-radius:12px;background:#fffdf7;color:#26352d;width:min(640px,calc(100% - 2rem));max-height:90vh;overflow:auto;padding:1.3rem}dialog::backdrop{background:#1d2c2477}dialog label{margin:.7rem 0}dialog textarea{resize:vertical}#editor-fields .checkbox-label{display:flex;gap:.5rem;align-items:center;min-height:36px}fieldset{border:1px solid #cdd7c9;border-radius:7px;padding:.7rem;max-height:45vh;overflow:auto}footer{border-top:1px solid #d9dfd6;margin-top:1rem;font-size:.85rem}.skip{position:absolute;top:-100px;left:1rem;background:white;padding:1rem;z-index:5}.skip:focus{top:1rem}[hidden]{display:none!important}@media(max-width:1150px){.workspace{grid-template-columns:1fr}.group-description{min-height:0}#unassigned{order:-1}#unassigned .items{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.6rem}#unassigned .card{margin:0}}@media(max-width:750px){header,main,footer{padding:1rem}.contracts,.support{grid-template-columns:1fr}.filters{grid-template-columns:1fr 1fr}.filters label:first-child{grid-column:1/-1}#unassigned .items{grid-template-columns:1fr 1fr}.group{padding:.9rem}.toolbar label{max-width:none;min-width:100%}.controls{padding:.8rem}.toolbar button{flex-grow:1}.stream-actions button{min-height:42px}.title-row h2{max-width:100%}}@media(max-width:420px){#unassigned .items{grid-template-columns:1fr}dialog{padding:.8rem}.filters{grid-template-columns:1fr}}
