/* Every source number is visible; entry controls are kept with its summary. */
html body #modal#modal#modal:has(.mgr307-complete){width:min(940px,calc(100vw - 20px))!important}
html body #modal#modal#modal .mgr307-guide{font-size:12px!important;line-height:18px!important;color:#637189!important;margin:8px 0 12px!important}
html body #modal#modal#modal .mgr245-editor:has(.mgr307-complete) .mgr304-source-grid{display:none!important}
html body #modal#modal#modal .mgr245-editor:has(.mgr307-complete) .mgr304-source{padding:9px 12px!important;margin-bottom:4px!important}
html body #modal#modal#modal .mgr307-section{margin:12px 0!important;padding-bottom:0!important;min-width:0!important}
html body #modal#modal#modal .mgr307-table-wrap{max-width:100%!important;min-width:0!important;overflow:hidden!important}
html body #modal#modal#modal .mgr307-table{border-collapse:collapse!important;table-layout:fixed!important;width:100%!important;margin:0!important;font-size:13px!important;line-height:20px!important;font-variant-numeric:tabular-nums!important;background:#fff!important}
html body #modal#modal#modal .mgr307-table th,html body #modal#modal#modal .mgr307-table td{padding:7px 8px!important;border:1px solid #d5d9e2!important;vertical-align:middle!important;min-width:0!important;overflow-wrap:anywhere!important}
html body #modal#modal#modal .mgr307-table thead th{background:#edf0f5!important;color:#34435e!important;font-size:12px!important;font-weight:650!important;line-height:18px!important;text-align:center!important}
html body #modal#modal#modal .mgr307-table tbody th{background:#f7f8fb!important;color:#34435e!important;font-size:12px!important;font-weight:650!important;text-align:left!important;width:140px!important}
html body #modal#modal#modal .mgr307-table td{text-align:right!important;color:#20324d!important;font-weight:650!important}
html body #modal#modal#modal .mgr307-table [data-mgr307-spec]{display:block!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important}
html body #modal#modal#modal .mgr307-sources .mgr307-table td{text-align:left!important;font-weight:400!important;line-height:1.6!important}
html body #modal#modal#modal .mgr307-edit{border-top:1px solid #d8dde7!important;margin:0!important;padding:0 12px!important;background:#f8f9fc!important}
html body #modal#modal#modal .mgr307-edit>summary{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;min-height:38px!important;padding:7px 0!important;cursor:pointer!important;list-style:none!important;font-size:12px!important;line-height:20px!important;color:#3158d8!important}
html body #modal#modal#modal .mgr307-edit>summary::after{content:'＋'!important;font-size:16px!important}
html body #modal#modal#modal .mgr307-edit[open]>summary::after{content:'−'!important}
html body #modal#modal#modal .mgr307-numeric-inputs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;padding:4px 0 12px!important;align-items:start!important}
html body #modal#modal#modal .mgr307-numeric-inputs>.mgr252-field{grid-column:auto!important;min-width:0!important}
html body #modal#modal#modal .mgr307-numeric-inputs>.mgr252-field>span{font-size:12px!important;line-height:18px!important;min-height:36px!important;margin-bottom:4px!important;color:#52637c!important}
html body #modal#modal#modal .mgr307-comment-fields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;padding:12px!important}
html body #modal#modal#modal .mgr307-comment-fields>.mgr252-field{grid-column:auto!important;min-width:0!important}
html body #modal#modal#modal .mgr307-comment-fields>.mgr252-field>span{font-size:13px!important;line-height:20px!important;font-weight:650!important;margin-bottom:6px!important}
html body #modal#modal#modal .mgr307-comment-fields textarea{height:66px!important;min-height:66px!important;font-size:15px!important;line-height:1.6!important;padding:9px!important}
html body #modal#modal#modal .mgr307-retained[hidden]{display:none!important}
html body #modal#modal#modal [data-mgr307-retained]{padding:0 12px!important;margin:0!important}
html body #modal#modal#modal [data-mgr307-retained]>div{padding:10px 0!important;border-bottom:1px solid #e1e6ef!important}
html body #modal#modal#modal [data-mgr307-retained] dt{font-size:12px!important;line-height:18px!important;font-weight:650!important;color:#52637c!important}
html body #modal#modal#modal [data-mgr307-retained] dd{font-size:14px!important;line-height:1.6!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;margin:4px 0 0!important}
@media(max-width:700px){
 html body #modal#modal#modal .mgr307-numeric-inputs{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 html body #modal#modal#modal .mgr307-comment-fields{grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
 html body #modal#modal#modal .mgr307-table,html body #modal#modal#modal .mgr307-table tbody{display:block!important}
 html body #modal#modal#modal .mgr307-table thead{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}
 html body #modal#modal#modal .mgr307-table tbody tr{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;border-bottom:1px solid #c9d1df!important}
 html body #modal#modal#modal .mgr307-table tbody th{display:block!important;grid-column:1/-1!important;width:auto!important;padding:5px 9px!important;border:0!important;border-bottom:1px solid #e1e5ed!important;background:#f0f3f9!important;font-size:13px!important;line-height:20px!important}
 html body #modal#modal#modal .mgr307-table td{display:block!important;text-align:left!important;padding:7px 9px!important;border:0!important;border-right:1px solid #e5e8f0!important;border-bottom:1px solid #e5e8f0!important;font-size:14px!important;line-height:21px!important}
 html body #modal#modal#modal .mgr307-table td::before{content:attr(data-label)!important;display:block!important;font-size:12px!important;line-height:18px!important;font-weight:400!important;color:#637189!important;margin-bottom:3px!important}
 html body #modal#modal#modal .mgr307-table td:last-child:nth-child(even){grid-column:1/-1!important}
 html body #modal#modal#modal .mgr307-sources .mgr307-table td{grid-column:1/-1!important}
}
html body #modal#modal#modal [data-mgr307-shared-notes]{padding:0 12px!important}
html body #modal#modal#modal [data-mgr307-shared-notes]>article{padding:12px 0!important;border-bottom:1px solid #dce3ee!important}
html body #modal#modal#modal [data-mgr307-shared-notes] h4{font-size:14px!important;line-height:21px!important;color:#223451!important;margin:0 0 8px!important}
html body #modal#modal#modal [data-mgr307-shared-notes] dl{margin:10px 0!important}
html body #modal#modal#modal [data-mgr307-shared-notes] dt{font-size:12px!important;line-height:18px!important;color:#637189!important}
html body #modal#modal#modal [data-mgr307-shared-notes] dd{font-size:14px!important;line-height:1.6!important;color:#223451!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;margin:3px 0 0!important}
html body #modal#modal#modal .mgr245-editor:has(.mgr307-complete) .mgr245-form-footer>[data-mgr245-edit-status]{white-space:nowrap!important;flex:0 0 auto!important}
html body #modal#modal#modal .mgr245-editor:has(.mgr307-complete) .mgr245-form-footer>div{flex:1 1 0!important;min-width:0!important;width:auto!important}
