.tr-context,.meaning-meta,.tr-source-file{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#53616d;font-size:13px}.tr-context{margin:18px 0 12px}.tr-summary{font-size:16px;line-height:1.75;color:#2c3945}.tr-primary-actions{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.tr-reader h3,.tr-relations h3,.tr-revisions h3{font-size:17px;margin:18px 0 12px}.tr-reading-status{padding:12px 14px;background:#edf5fb;color:#244e72;border-radius:8px;font-size:14px;line-height:1.6}.tr-source-file{justify-content:flex-start;padding:10px 0}.tr-source-file a{color:#245b8f}.tr-search{display:flex;gap:8px;margin:12px 0 18px}.tr-search input{min-width:0;flex:1}.meaning-block{margin:12px 0 18px;padding:16px;border:1px solid #dce3e9;border-radius:10px;background:#fff}.meaning-meta>div{display:flex;gap:6px}.meaning-meta button{font-size:13px;padding:6px 9px}.meaning-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:1.8;margin:12px 0 0;color:#293843}.meaning-stopped{background:#f7f7f7;border-style:dashed}.meaning-stopped>.meaning-text{color:#777}.meaning-note{border-left:3px solid #9b7533;padding:10px 14px;background:#fff9ed;margin-top:14px;font-size:14px;line-height:1.65}.meaning-note p{margin:6px 0}.tr-warning{padding:16px;border:1px solid #bf9868;background:#fff7e9;border-radius:8px}.tr-relations,.tr-revisions{border-top:1px solid #e1e6eb;margin-top:24px;padding-top:8px}.tr-relation,.tr-revision{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;padding:12px 0;border-bottom:1px solid #edf0f3;font-size:14px}.tr-relation>span:nth-child(2),.tr-revision>div{flex:1}.tr-relation small,.tr-revision small{display:block;color:#6c7782;line-height:1.5}.tr-revision p{margin:6px 0;line-height:1.6}.tr-original,.tr-provenance{margin-top:22px;font-size:14px}.tr-original>pre,.tr-provenance pre{font-family:inherit;white-space:pre-wrap;overflow-wrap:anywhere;padding:14px;background:#f4f7f9;max-height:480px;overflow:auto}.knowledge-dialog{width:min(950px,calc(100vw - 36px));max-height:calc(100vh - 36px);padding:0;border:1px solid #d4dce3;border-radius:16px;box-shadow:0 16px 64px #16283e40;color:#25333f;background:#fbfcfd}.knowledge-dialog::backdrop{background:#13253845;backdrop-filter:blur(3px)}.knowledge-dialog form{display:flex;flex-direction:column;max-height:calc(100vh - 38px)}.knowledge-dialog header{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;border-bottom:1px solid #e2e7ec;gap:16px}.knowledge-dialog h2{font-size:21px;margin:0}.knowledge-dialog .tr-body{padding:20px 24px;overflow:auto;flex:1;line-height:1.7;min-height:0}.knowledge-dialog footer{display:flex;gap:10px;justify-content:flex-end;padding:14px 24px;border-top:1px solid #e2e7ec;background:#f7f9fb}.knowledge-dialog label{display:block;margin:14px 0 6px;font-size:14px;font-weight:600}.knowledge-dialog input:not([type=checkbox]),.knowledge-dialog select,.knowledge-dialog textarea{display:block;width:100%;box-sizing:border-box;margin:6px 0 10px;padding:10px 12px;border:1px solid #c6d2de;border-radius:8px;background:#fff;font:inherit;font-size:15px}.knowledge-dialog textarea{min-height:112px;resize:vertical}.knowledge-dialog .tr-check{display:flex;align-items:flex-start;gap:10px;font-weight:400}.knowledge-dialog .tr-check input{margin-top:6px}.knowledge-dialog blockquote{padding:12px 18px;border-left:3px solid #759bbb;margin:12px 0;background:#f0f5f9;white-space:pre-wrap;overflow-wrap:anywhere}.tr-diff{display:grid;grid-template-columns:1fr 1fr;gap:16px}.tr-diff section{min-width:0}.tr-diff pre,.tr-result-text{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:15px;line-height:1.75;padding:14px;background:#f2f5f8;border-radius:8px}.tr-diff section:first-child pre{background:#fff1ef}.tr-diff section:last-child pre{background:#edf6ef}.tr-check-result{border:1px solid #dce4eb;border-radius:8px;padding:14px;margin:12px 0;font-size:14px}.tr-check-result p{white-space:pre-wrap}.tr-relation-edit{display:grid;grid-template-columns:1fr 1fr;gap:16px;border-bottom:1px solid #e0e6ec;padding:8px 0}#tr-page-canvas{max-width:100%;height:auto;display:block;background:#fff}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #79aadd;outline-offset:2px}@media(max-width:760px){.tr-diff,.tr-relation-edit{grid-template-columns:1fr}.knowledge-dialog .tr-body{padding:16px}.meaning-meta{align-items:flex-start}.meaning-text{font-size:16px}.tr-relation{flex-wrap:wrap}.tr-primary-actions button{flex:1}}

.tr-search input{border:1px solid #c6d2de;border-radius:8px;padding:9px 12px;font:inherit;font-size:14px;background:#fff}.library-roster .item small{overflow-wrap:anywhere}
.work-identity,.work-contributions{padding:16px 0;border-bottom:1px solid #dfe6ed;margin-bottom:18px;overflow-wrap:anywhere}.work-byline{font-size:15px;color:#4c6075;line-height:1.7}.work-acquisition{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.work-acquisition a,.work-acquisition button{display:flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid #cedae5;border-radius:8px;font-size:14px;color:#225f95;text-decoration:none}.work-acquisition small{color:#607487}.work-contributions details{padding:12px 0;border-top:1px solid #e8edf2}.work-contributions summary{font-size:14px;line-height:1.7;cursor:pointer}.work-contributions pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:14px;line-height:1.8;padding:12px;background:#f3f6f9;border-radius:8px}.work-identity p{line-height:1.75}

.work-call-summary{padding:0 0 16px;border-bottom:1px solid #dfe6ed;margin-bottom:20px;overflow-wrap:anywhere}.work-call-summary h3{font-size:15px;margin:0 0 10px}.work-call-counts,.work-call-outcomes{display:flex;flex-wrap:wrap;gap:8px 18px}.work-call-counts{font-size:14px;line-height:1.7}.work-call-summary .helper{margin:8px 0}.work-call-outcomes{margin-top:12px}.work-call-outcomes button{max-width:100%;white-space:normal;text-align:left}
.material-reader h3{font-size:14px}.material-reader .meaning-text{font-size:13px}
.material-reader .meaning-text{margin:0}
:is(.ui-workspace, dialog) .material-reader .meaning-block{margin:16px 0 0;padding:0;border:0;border-radius:0;background:transparent}
.meaning-prose p{margin:0}.meaning-prose p+p{margin-top:6px}.meaning-citations{margin-top:12px;font-size:13px;line-height:1.8;color:#53616d;overflow-wrap:anywhere}.meaning-citations a{color:#245b8f;text-decoration:underline;text-underline-offset:3px}
.work-bibliography dl{display:grid;grid-template-columns:90px minmax(0,1fr);gap:9px 16px;margin:0;font-size:13px;line-height:1.8}.work-bibliography dt{color:#637181}.work-bibliography dd{margin:0;overflow-wrap:anywhere}.work-bibliography a{color:#245b8f;text-underline-offset:3px}.work-excerpts{margin:22px 0;overflow-wrap:anywhere}.work-excerpts h3{font-size:14px;margin:0}.work-excerpt{padding:18px 0;border-bottom:1px solid #e5eaf0}.work-excerpt .meaning-text{font-size:13px}.work-excerpt .meaning-prose+.meaning-prose,.work-excerpt .meaning-citations+.meaning-prose{margin-top:14px}.work-excerpt-origins{display:flex;gap:12px;margin-top:14px;color:#637181;font-size:12px;line-height:1.8}.work-excerpt-origins>span{flex:none}.work-excerpt-origins ul{list-style:none;margin:0;padding:0;min-width:0}.work-excerpt-origins li+li{margin-top:6px}.work-excerpt-origins li>span{display:block}.work-excerpt-origins strong{font-weight:500;color:#435367}

/* Call records: filters share the detail tabs; only the record list scrolls. */
.knowledge-detail-tabs{display:flex;align-items:center;flex-wrap:wrap;gap:0 20px;border-bottom:1px solid var(--line);margin:16px 0}
.knowledge-detail-tabs>.tabs{margin:0;padding:0;border:0;flex:none}
.knowledge-detail-tabs>.call-filters{margin:0 0 0 auto;padding:4px 0;min-width:0;max-width:100%;gap:12px}
.knowledge-detail-tabs .call-filters label{margin:0;min-width:0;max-width:100%}
.knowledge-detail-tabs .call-filters select{width:auto;min-width:90px;max-width:170px;margin:0}
.call-pane .logs-workspace{min-height:0;flex:1}
.log-detail>.work-call-summary{flex:none;margin:0;padding:13px 14px 10px;border-bottom:1px solid var(--line)}
.work-call-counts{margin:0;font-size:13px;gap:4px 0}
.work-call-counts span+span::before{content:'·';margin:0 10px;color:#89939e}
.work-call-summary .helper{margin:5px 0 0;font-size:11px}
.call-pane .log-record{padding:18px 0}
.log-record .record-header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:14px}
.log-record .record-header>.log-correct{flex:none}
.log-record .log-correct:hover{background:transparent;color:var(--blue);text-decoration:underline;text-underline-offset:2px;filter:none}
.log-record time,.log-record .log-correct{font-size:12px}
.log-record time{color:#697583}
.log-record .record-context{display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 5px;font-size:12px;margin:0;min-width:0;color:#697583}
.log-record .record-context button{font-size:12px}
.log-record .record-context>time{margin-right:12px;white-space:nowrap}
.record-content{font-size:13px;line-height:1.85;overflow-wrap:anywhere}
.record-content p{margin:0 0 10px;font-size:inherit;line-height:inherit}
.record-content p:last-child{margin-bottom:0}
.record-content .meaning-text{font-size:13px;margin:0;line-height:1.85}
.record-content a{color:var(--blue);text-decoration:underline;text-underline-offset:2px}
.record-content code{font-size:12px}
.call-text-group+.call-text-group{border-top:1px solid #edf0f3;margin-top:14px;padding-top:14px}
.record-outcomes{margin-top:14px;font-size:12px;line-height:1.7}
.record-outcomes .helper{font-size:11px;margin:0}
.record-outcomes small{display:block;color:#697583}
@media(max-width:720px){.knowledge-detail-tabs>.call-filters{width:100%;margin-left:0;justify-content:flex-end}.knowledge-detail-tabs .call-filters select{max-width:135px}}
