/* Source-record dialog only. Preserve the independent decision editor. */
dialog.se-dialog.se-source-dialog{width:min(900px,calc(100vw - 20px));max-width:900px;font-size:10px;line-height:1.2}
.se-source-dialog>header{padding:6px 8px;gap:6px}.se-source-dialog>header h2{font-size:13px!important;line-height:1.2!important}.se-source-dialog>header small{font-size:9px;margin-bottom:1px}
.se-source-dialog>header button{width:24px;min-width:24px;min-height:24px;padding:1px;font-size:14px}.se-source-dialog button{min-height:23px;padding:3px 6px;font-size:10px;line-height:1.15}
.se-source-dialog .se-detail-body{padding:6px 8px;max-height:calc(100dvh - 84px);font-size:10px;line-height:1.2}.se-source-dialog .se-detail-period{font-size:9px;margin:0 0 3px}
.se-source-dialog .se-source-line{gap:3px 7px;margin:2px 0}.se-source-dialog .se-source-note{margin:1px 0;font-size:9px}.se-source-dialog .se-source-note p{margin:3px 0}.se-source-dialog .se-inline-warning{font-size:9px;padding:2px 4px}
.se-source-dialog .se-count-explanation{font-size:10px;line-height:1.2;margin:5px 0}.se-source-dialog .se-count-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.se-source-dialog .se-count-overview>div{padding:4px 6px;background:var(--se-tint);border-radius:4px;min-width:0}.se-source-dialog .se-count-overview span,.se-source-dialog .se-count-overview small{display:block;font-size:9px;line-height:1.2;color:var(--se-muted)}.se-source-dialog .se-count-overview b{display:block;font-size:13px;line-height:1.3;color:var(--se-text)}.se-source-dialog .se-count-overview b small{display:inline;font-weight:400;font-size:10px;color:inherit}
.se-source-dialog .se-count-review{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:3px 7px;margin:4px 0;font-size:10px}.se-source-dialog .se-count-review button{font-size:9px;min-height:22px;padding:2px 5px}
.se-source-dialog .se-count-notes{font-size:10px;margin:3px 0;line-height:1.25}.se-source-dialog .se-count-notes>summary{font-size:9px;cursor:pointer;color:var(--se-accent)}.se-source-dialog .se-count-notes p{font-size:10px;line-height:1.3;margin:4px 0}.se-source-dialog .se-count-notes a{color:var(--se-accent)}
.se-source-dialog .se-detail-warnings{padding:3px 5px;margin:4px 0;font-size:9px;line-height:1.25}.se-source-dialog .se-detail-warnings summary{cursor:pointer;font-weight:500}.se-source-dialog .se-detail-warnings ul{padding-left:15px;margin:4px 0}.se-source-dialog .se-detail-warnings li{margin:3px 0}
.se-source-dialog .se-basis,.se-source-dialog .se-fine{font-size:9px;line-height:1.2;margin:3px 0}.se-source-dialog .se-table-wrap{max-height:none;overflow:visible}
.se-source-dialog .se-source-table{font-size:10px;line-height:1.2}.se-source-dialog .se-source-table th{font-size:9px;padding:4px 5px;line-height:1.15}.se-source-dialog .se-source-table td{font-size:10px;padding:3px 5px;line-height:1.2;height:auto}.se-source-dialog .se-source-table td small{font-size:9px;line-height:1.15;margin:1px 0}.se-source-dialog .se-source-table th:first-child{width:32%}.se-source-dialog .se-source-table th:last-child{width:21%}
.se-source-dialog .se-source-id{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 5px}.se-source-dialog .se-source-id b{font-size:10px;line-height:1.2}.se-source-dialog .se-source-id small{display:inline!important}
.se-source-dialog .se-row-notes{font-size:9px;color:var(--se-warn);margin-top:1px}.se-source-dialog .se-row-notes summary{font-size:9px;line-height:1.2;cursor:pointer}.se-source-dialog .se-row-notes p{font-size:9px;line-height:1.25;margin:3px 0;overflow-wrap:anywhere}
.se-source-dialog .se-source-status{font-size:9px;padding:1px 3px;line-height:1.15}.se-source-dialog .se-footer{font-size:9px;gap:5px;margin-top:5px}.se-source-dialog .se-count-actions{margin-top:5px}
@media(max-width:620px){
 dialog.se-dialog.se-source-dialog{width:calc(100vw - 12px);max-width:calc(100vw - 12px);max-height:calc(100dvh - 12px)}.se-source-dialog .se-detail-body{padding:5px 6px;max-height:calc(100dvh - 78px)}.se-source-dialog>header{padding:5px 6px}.se-source-dialog>header h2{font-size:13px!important}
 .se-source-dialog>header button,.se-source-dialog button{min-height:40px!important}.se-source-dialog>header button{width:40px;min-width:40px}
 .se-source-dialog .se-count-overview{gap:4px}.se-source-dialog .se-count-overview>div{padding:4px}.se-source-dialog .se-count-overview span{font-size:9px}.se-source-dialog .se-count-overview small{font-size:9px}.se-source-dialog .se-count-overview b{font-size:13px}
 .se-source-dialog :is(.se-count-notes,.se-source-note,.se-detail-warnings,.se-row-notes)>summary{display:flex;align-items:center;min-height:40px;line-height:1.25}
 .se-source-dialog .se-source-table tbody tr{padding:3px 0;gap:0 5px;grid-template-columns:repeat(2,minmax(0,1fr))}.se-source-dialog .se-source-table td{font-size:10px;padding:2px 3px}.se-source-dialog .se-source-table td:before{font-size:9px;margin-bottom:1px}.se-source-dialog .se-source-table td:first-child{grid-column:1/-1}.se-source-dialog .se-source-table td small{font-size:9px}
 .se-source-dialog .se-count-review{gap:3px}.se-source-dialog .se-count-review button{font-size:10px}
}
