.ml-participations{margin:20px 0;padding:16px 0;border-top:1px solid var(--line,#dce2e8);border-bottom:1px solid var(--line,#dce2e8)}
.ml-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.ml-section-heading h4{margin:0;font-size:14px}.ml-tag,.ml-role{font-size:11px;color:#285f8d;background:#edf4fa;border-radius:5px;padding:3px 7px}.ml-participations ol{list-style:none;margin:12px 0;padding:0}.ml-participation{border-left:3px solid #2876a4;padding:10px 0 10px 12px;margin-bottom:8px}.ml-participation.is-passive{border-left-style:dashed;border-color:#798494}.ml-participation strong,.ml-participation small,.ml-role{display:block}.ml-participation small{font-size:11px;color:#576779;margin-top:4px}.ml-role{display:inline-block;margin-top:6px}.ml-part-actions{display:flex;gap:10px;margin-top:4px}.ml-actions{display:flex;flex-wrap:wrap;gap:8px}.ml-allocation-note{font-size:12px;line-height:1.5;background:#f2f5f8;padding:10px;border-radius:6px}.ml-metrics{display:flex;gap:12px;flex-wrap:wrap}.ml-metrics dt{font-size:11px;color:#536477}.ml-metrics dd{margin:4px 0;font-size:14px;font-weight:600}.ml-mode-banner{display:flex;gap:16px;align-items:center;border:1px solid #9fc4dd;background:#edf6fc;padding:12px 16px;margin:10px 0;border-radius:8px;font-size:12px}.ml-mode-banner[hidden]{display:none}.ml-mode-banner span{flex:1}.ml-connecting [draggable=true]{cursor:grab!important}.ml-connecting .row-label[data-loco]{background:#edf6fc}.ml-connecting .time-block.cm-member-selected{outline:2px solid #2876a4;outline-offset:2px}.ml-drop-target{outline:3px solid #098765!important;outline-offset:-3px;background-color:#e3f7ee!important}.cm-bracket.ml-passive{border-style:dashed;color:#5c6877}.cm-bracket .ml-edge{position:absolute;top:-1px;height:22px;width:14px;background:currentColor;opacity:.18;cursor:ew-resize;z-index:2}.cm-bracket .ml-edge.start{left:0}.cm-bracket .ml-edge.end{right:0}.cm-bracket .ml-edge:hover{opacity:.55}.time-block[data-traction-role=passive]{background-image:repeating-linear-gradient(135deg,transparent,transparent 6px,rgba(255,255,255,.5) 6px,rgba(255,255,255,.5) 10px);border-style:dashed}.time-block[data-traction-role=support]{box-shadow:inset 0 -3px 0 rgba(0,60,100,.3)}
#mlDialog{width:min(820px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:0;border:1px solid #ccd6df;border-radius:14px;box-shadow:0 24px 80px #17263333}#mlDialog::backdrop{background:#14253570}#mlForm{display:flex;flex-direction:column;max-height:calc(100dvh - 42px)}#mlForm header,#mlForm footer{padding:18px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;flex-shrink:0}#mlForm header{border-bottom:1px solid #e0e6ec}#mlForm footer{border-top:1px solid #e0e6ec;justify-content:flex-end}#mlForm h2{margin:4px 0 0;font-size:22px}#mlBody{padding:20px 24px;overflow-y:auto;overscroll-behavior:contain}#mlError{margin:0;padding:12px 24px;background:#fff1ef;flex-shrink:0}#mlBody .field{margin-bottom:14px}#mlBody .field-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}#mlBody select,#mlBody input{min-width:0;max-width:100%}.ml-preview{border:1px solid #a9c6b9;border-radius:8px;background:#f5faf7;padding:16px;margin-top:16px}.ml-preview h3{margin-top:0}.ml-preview ol{padding-left:20px}.ml-preview li{margin:10px 0}.ml-preview li span,.ml-preview li small{display:block;margin-top:3px;font-size:12px}.an-segment.passive,.an-bar .passive,.an-key.passive{background:#8995a5}
@media(max-width:650px){#mlBody .field-pair{grid-template-columns:1fr}.ml-mode-banner{flex-wrap:wrap}#mlForm header,#mlForm footer,#mlBody{padding:14px}.ml-mode-banner span{flex-basis:100%}}

#timeline:not(.ml-connecting) .ml-edge{display:none}.legend .ml-passive-key{width:14px;height:10px;border:1px dashed #7b8a99;background:repeating-linear-gradient(135deg,#c7d8e7,#c7d8e7 3px,#fff 3px,#fff 5px)}

/* A read-only review of the exact server-validated geometry. */
#mlDialog.is-review{width:min(1040px,calc(100vw - 32px))}#mlStage{font-size:11px;color:#52687c;margin:7px 0 0}#mlBack{margin-right:auto}#mlBack[hidden],#mlEditing[hidden]{display:none}#mlForm footer{flex-wrap:wrap}.ml-review-list{margin:18px 0}.ml-preview{margin-top:0;border:0;background:transparent;padding:0}.mlg-preview{min-width:0}.mlg-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin:0 0 12px}.mlg-heading h3{font-size:18px;margin:0 0 4px}.mlg-heading p{font-size:12px;color:#52687c;margin:0}.mlg-preview-label{font-size:9px;letter-spacing:.06em;color:#466c5e;background:#edf5f1;border:1px solid #d5e6dd;border-radius:5px;padding:7px 9px;white-space:nowrap}.mlg-changes{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.mlg-change{font-size:11px;border-radius:5px;padding:5px 8px}.mlg-change.added,.mlg-status.added{background:#e4f4eb;color:#176342}.mlg-change.changed,.mlg-status.changed{background:#fff1d9;color:#815215}.mlg-change.removed,.mlg-status.removed{background:#fae8e5;color:#994a42}.mlg-scroll{overflow:auto;max-height:390px;max-width:100%;border:1px solid #dce4eb;border-radius:9px;overscroll-behavior:contain;background:#fff;isolation:isolate}.mlg-scroll:focus-visible{outline:2px solid #215f89;outline-offset:3px}.mlg-chart{display:grid;grid-template-columns:160px minmax(520px,1fr);min-width:680px}.mlg-corner{position:sticky;left:0;top:0;z-index:5;display:flex;align-items:center;font-size:9px;letter-spacing:.04em;color:#5c7081;padding:12px;background:#edf2f7;border-bottom:1px solid #dce4eb;border-right:1px solid #dce4eb}.mlg-axis{position:sticky;top:0;z-index:4;height:46px;background:#edf2f7;border-bottom:1px solid #dce4eb}.mlg-tick{position:absolute;top:15px;transform:translateX(-50%);font-size:10px;white-space:nowrap;color:#4d6275}.mlg-tick.first{transform:none;padding-left:5px}.mlg-tick.last{transform:translateX(-100%);padding-right:5px}.mlg-loco{position:sticky;left:0;z-index:2;padding:20px 10px;background:#f6f8fb;border-bottom:1px solid #e4eaf0;border-right:1px solid #dce4eb;box-sizing:border-box}.mlg-loco strong,.mlg-loco small{display:block;overflow-wrap:anywhere}.mlg-loco strong{font-size:12px;color:#24435a}.mlg-loco small{font-size:10px;color:#5c7081;margin-top:5px}.mlg-track{position:relative;border-bottom:1px solid #e4eaf0;box-sizing:border-box;overflow:hidden}.mlg-gridline{position:absolute;top:0;bottom:0;border-left:1px solid #edf1f5;pointer-events:none}.mlg-segment-caption{position:absolute;left:8px;right:8px;display:flex;align-items:center;gap:8px;font-size:10px;color:#455f73;white-space:nowrap;overflow:hidden}.mlg-status{font-size:9px;padding:2px 5px;border-radius:4px;font-weight:600}.mlg-status.unchanged{background:#eff2f5;color:#667887}.mlg-bracket{position:absolute;border:1px solid #b2c2d0;border-radius:3px;box-sizing:border-box;pointer-events:none}.mlg-bracket.added{border:2px solid #298360}.mlg-bracket.changed{border:2px solid #b47c27}.mlg-block,.mlg-gap{position:absolute;height:18px;box-sizing:border-box;overflow:hidden;border-radius:2px}.mlg-block{color:white;border:1px solid #fff8}.mlg-block>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:2px 4px;font-size:9px;line-height:12px}.mlg-block.traction,.mlg-legend .traction{background:#27638c}.mlg-block.support,.mlg-legend .support{background:#4a92a6}.mlg-block.passive,.mlg-legend .passive{background:repeating-linear-gradient(135deg,#d4dce5,#d4dce5 4px,#f4f6f9 4px,#f4f6f9 7px);color:#354e63;border-color:#8a9aaa;border-style:dashed}.mlg-block.idle,.mlg-legend .idle{background:#d4e3de;color:#39584b}.mlg-gap,.mlg-legend .gap{background:repeating-linear-gradient(90deg,#fff3d9,#fff3d9 6px,#f7e6bd 6px,#f7e6bd 8px)}.mlg-note{position:absolute;font-size:9px;color:#78899a;line-height:12px}.mlg-before-span{position:absolute;border-bottom:2px dotted #8a98a5;height:10px;box-sizing:border-box;font-size:8px;line-height:9px;color:#748594;overflow:hidden}.mlg-removed-span{position:absolute;height:20px;border:1px dashed #b96b61;border-radius:3px;background:repeating-linear-gradient(135deg,#f8e7e4,#f8e7e4 4px,#fff6f4 4px,#fff6f4 8px);color:#984d43;font-size:9px;white-space:nowrap;overflow:hidden;padding:2px 4px}.mlg-legend{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0;color:#4d6478;font-size:10px}.mlg-legend>span{display:flex;align-items:center;gap:5px}.mlg-legend i{width:14px;height:9px;display:inline-block;border-radius:2px}.mlg-method{font-size:11px;line-height:1.6;color:#607485;margin:8px 0}.mlg-actual-changes{padding:9px 12px;border-radius:6px;background:#f1f5f9;color:#35546d;font-size:12px;line-height:1.5}.ml-review-money{display:flex;flex-direction:column;gap:5px;padding:12px;background:#f4f8f5;border:1px solid #dce8df;border-radius:7px}.ml-review-money strong{font-size:21px;color:#234b3a}.ml-review-money small{color:#5a7164}
@media(max-width:650px){.mlg-heading{flex-direction:column}.mlg-preview-label{white-space:normal}.mlg-chart{grid-template-columns:135px minmax(500px,1fr);min-width:635px}.mlg-scroll{max-height:320px}#mlForm footer button{white-space:normal}#mlBack{flex-basis:100%;margin:0}}
