.evidence-task-label{display:block;max-width:40rem;margin:1.5rem 0 2rem;font-size:.85rem;font-weight:600;color:var(--ink,#27322f)}
.evidence-task-label select{display:block;width:100%;min-height:44px;margin-top:.5rem;padding:.65rem;background:var(--paper,#faf8f0);border:1px solid #b3b9ab;font:inherit}
.route-workspace{--route-green:#405b54;--route-gold:#8b6232;max-width:100%;min-width:0;padding:1.5rem 0 3rem;color:var(--ink,#27322f)}
.route-header h2{max-width:36ch;margin:.6rem 0;font-size:clamp(1.8rem,3vw,2.7rem);line-height:1.15}
.route-header p:not(.eyebrow){max-width:86ch;line-height:1.65}
.route-status{font-size:.9rem;line-height:1.6;min-height:1.6em;color:#45594f}
.route-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;max-width:58rem;margin:1.5rem 0}
.route-controls label{font-size:.85rem;font-weight:600}.route-controls select{display:block;width:100%;min-height:44px;margin-top:.5rem;padding:.6rem;background:#fffdf6;border:1px solid #b3b9ab;font:inherit}
.route-search{max-width:58rem;margin:1.5rem 0}.route-search>label{display:block;font-size:.85rem;font-weight:600}.route-search input{display:block;width:100%;min-height:44px;margin-top:.5rem;padding:.65rem;background:#fffdf6;border:1px solid #b3b9ab;font:inherit}.route-search-status{font-size:.85rem;line-height:1.6;margin:.6rem 0;color:#45594f}
#route-search-results{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;padding:0;margin:.8rem 0 1.25rem}#route-search-results button{width:100%;min-height:44px;padding:.75rem 1rem;text-align:left;white-space:normal;overflow-wrap:anywhere;border:1px solid #aebcab;background:#faf9f2;color:#304f44;font:inherit}#route-search-results strong,#route-search-results span,#route-search-results small{display:block}#route-search-results .route-search-context{margin:.25rem 0;font-size:.85rem}#route-search-results small{font-size:.75rem}#route-search-results button[aria-pressed=true]{border-color:#405b54;background:#e6eddf;box-shadow:inset 3px 0 #405b54}
.route-sequence-note{max-width:84ch;font-size:.9rem;line-height:1.6}
.route-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;margin:1rem 0 1.5rem;border:1px solid #d1d5c8;background:#faf9f2}
#route-columns{display:grid;grid-template-columns:repeat(4,minmax(195px,1fr));min-width:820px;align-items:start}
.route-column{min-width:0;padding:1.2rem 1rem 1.5rem;border-right:1px solid #d1d5c8}.route-column:last-child{border:0;background:#f1ebdb}
.route-column h3{font-size:1.16rem;line-height:1.3;margin:0 0 .5rem;min-height:3em}.route-role{font-size:.74rem;letter-spacing:.04em;margin:0 0 1.2rem;text-transform:uppercase;color:#4e625b}
.route-column ol{list-style:none;margin:0;padding:0}.route-column li{position:relative;padding:0 0 0 1.2rem;margin:0}
.route-column li:before{content:'';position:absolute;left:.2rem;top:1.1rem;bottom:-1.15rem;width:2px;background:#a9b6aa}.route-column li:last-child:before{display:none}
.route-column li:after{content:'';position:absolute;left:-.05rem;top:1rem;width:.65rem;height:.65rem;border-radius:50%;background:#f9f8ee;border:2px solid var(--route-green)}
.route-column button{display:block;position:relative;min-height:44px;width:100%;text-align:left;white-space:normal;overflow-wrap:anywhere;border:1px solid transparent;background:transparent;padding:.5rem .6rem;font:inherit;color:var(--route-green);font-weight:600}
.route-column button[aria-pressed=true]{background:var(--route-green);color:#fff;border-color:var(--route-green);box-shadow:0 0 0 2px #faf9f2,0 0 0 4px var(--route-green)}
.route-column[data-witness-role=editorial-reconstruction] button{color:var(--route-gold)}.route-column[data-witness-role=editorial-reconstruction] button[aria-pressed=true]{color:#fff;background:var(--route-gold);border-color:var(--route-gold);box-shadow:0 0 0 2px #f1ebdb,0 0 0 4px var(--route-gold)}
.route-leg{display:block;font-size:.8rem;padding:.7rem .6rem 1.1rem;color:#526057;font-variant-numeric:tabular-nums}
.route-selection{border-left:4px solid var(--route-green);padding:1.25rem 1.6rem;background:#eff2e9;margin:1.5rem 0;max-width:88ch;scroll-margin-top:100px}.route-selection h3{font-size:1.8rem;margin:.5rem 0}.route-selection p{line-height:1.6}
.route-facts{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}.route-facts dt{font-size:.76rem;text-transform:uppercase;letter-spacing:.08em}.route-facts dd{margin:.5rem 0;line-height:1.6}
.route-caution,.route-citation{font-size:.85rem;line-height:1.6}.route-citation{color:#556258}.route-actions{display:flex;gap:.8rem;flex-wrap:wrap;align-items:center;margin:1rem 0}.route-actions button,#route-retry,#route-reset,#route-return-entry{min-height:44px;padding:.65rem 1rem;border:1px solid #80917b;background:#fffdf6;color:#334b42;font:inherit}.route-actions a{display:inline-flex;align-items:center;min-height:44px;padding:.4rem}.route-actions button:disabled{opacity:.5}
#route-totals{border-collapse:collapse;width:100%;min-width:700px;font-size:.9rem}#route-totals caption{text-align:left;font-size:1.1rem;font-weight:600;padding:1rem}#route-totals th,#route-totals td{padding:.9rem 1rem;border-top:1px solid #d1d5c8;text-align:left}#route-totals th{font-weight:600}#route-totals tr[data-selected=true]{background:#e6eddf}
#route-editorial-changes{max-width:90ch;margin:2rem 0}#route-editorial-changes li{padding-left:.3rem;margin-bottom:1.25rem}#route-editorial-changes li p{line-height:1.6;margin:.35rem 0}.route-scope-details{padding:1rem 0;border-top:1px solid #c9d0c0;max-width:90ch}.route-scope-details summary{cursor:pointer;min-height:44px;padding:.65rem 0;font-weight:600}.route-scope-details p{font-size:.9rem;line-height:1.65}
.route-workspace :focus-visible,.evidence-task-label select:focus-visible{outline:3px solid #245da2;outline-offset:4px}.route-workspace [hidden]{display:none!important}
@media(max-width:600px){.route-controls,.route-facts{grid-template-columns:1fr}.route-selection{padding:1rem}.route-header h2{font-size:1.8rem}.route-column{padding:1rem .8rem}.evidence-task-label{margin-top:1rem}.route-workspace{padding-top:.5rem}}
@media(max-width:600px){#route-search-results{grid-template-columns:1fr}}
@media(max-width:600px){#route-totals th[scope=row],#route-totals thead th:first-child{position:sticky;left:0;z-index:1;width:150px;min-width:150px;max-width:150px;background:#faf9f2;overflow-wrap:break-word;border-right:1px solid #c9d0c0}#route-totals tr[data-selected=true] th[scope=row]{background:#e6eddf}}
