/* 2.6.8: uses the application's palette, typography and buttons. */
.md-col-dependencies{width:var(--pg-dependencies-w)}.md-col-successors{width:var(--pg-successors-w)}
.md-cell-button{appearance:none;border:0;background:transparent;color:var(--ink);width:100%;text-align:left;font:inherit;font-size:11px;border-radius:5px;padding:5px 7px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;cursor:pointer}
.md-cell-button:hover{background:var(--hover);box-shadow:inset 0 0 0 1px var(--line)}.md-muted{color:var(--muted2)}
.md-dialog.dlgcard{width:min(630px,calc(100vw - 28px));max-width:630px;max-height:calc(100dvh - 28px);overflow:auto;padding:22px}
.md-dialog h3{font-size:16px;line-height:1.5;margin-bottom:16px;overflow-wrap:anywhere}
.md-dialog input:not([type=checkbox]),.md-dialog select{box-sizing:border-box;min-width:0;padding:9px 10px;font:12px var(--ui);color:var(--ink);background:var(--input);border:1px solid var(--line);border-radius:7px;min-height:36px;width:100%}
.md-dialog input[type=checkbox]{appearance:auto;width:15px;height:15px;accent-color:var(--accent);margin:0;flex-shrink:0}
.md-field{display:grid;gap:6px;font-size:12px;color:var(--muted);margin-bottom:12px}.md-field>select{color:var(--ink)}
.md-check{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--ink);line-height:1.5}
.md-presets,.md-existing{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:12px 0}.md-existing:empty{display:none}
.md-existing small{width:100%;font-size:11px;color:var(--muted)}
.md-presets button,.md-existing button{font:11px var(--ui);color:var(--ink);border:1px solid var(--line);background:var(--surf2);padding:7px 10px;border-radius:7px;cursor:pointer}
.md-presets button:hover,.md-existing button:hover{background:var(--accent-soft);border-color:var(--accent)}
.md-rule-line{padding:12px;background:var(--surf2);border:1px solid var(--line);border-radius:8px;margin:9px 0}
.md-rule-line>.md-check{font-weight:600;margin-bottom:8px}
.md-rule-inputs{display:grid;grid-template-columns:65px 28px 105px minmax(110px,1fr);gap:6px;align-items:center;font-size:12px}
.md-dialog input:disabled,.md-dialog select:disabled{opacity:.45}
.md-row{margin-top:14px}.md-help{font-size:11px;line-height:1.6;color:var(--muted);margin:10px 0}
.md-preview{font-size:12px;line-height:1.65;border:1px solid var(--line);border-left:3px solid var(--accent);border-radius:7px;background:var(--surf2);padding:12px;white-space:pre-line}
.md-preview:empty{display:none}.md-impact{font-size:11px;margin:12px 0;color:var(--muted)}.md-impact summary{cursor:pointer;padding:4px 0}.md-impact p{line-height:1.6;margin:6px 0}
.md-remove{margin:14px 0 0;color:var(--p-urgent)}.md-dialog [hidden]{display:none!important}.md-error{color:var(--p-urgent);font-size:12px;line-height:1.5;white-space:pre-line}.md-error:empty{display:none}
.md-dialog .dfoot{position:sticky;bottom:-22px;background:var(--surf);padding:14px 0 3px;z-index:1}.md-dialog .dbtn:disabled{opacity:.45;cursor:not-allowed}
.md-cell-button:focus-visible,.md-presets button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
@media(max-width:600px){.md-dialog.dlgcard{padding:14px;width:calc(100vw - 16px)}.md-rule-inputs{grid-template-columns:60px 26px minmax(90px,1fr)}.md-rule-inputs select:last-child{grid-column:1/-1}.md-dialog .dfoot{bottom:-14px}}
.md-dialog.dlgcard{box-sizing:border-box;overflow:hidden;gap:10px}
.md-dialog .dhtml{max-height:none;min-height:0;overflow:auto;flex:1 1 auto;overscroll-behavior:contain;padding-right:2px}
.md-dialog h3,.md-dialog .dfoot{flex:0 0 auto}
.md-dialog .dfoot{position:static;margin:0;padding:10px 0 0;background:var(--surface);border-top:1px solid var(--line)}
.md-dialog h3{margin-bottom:0}.md-dialog .md-field{margin-bottom:10px}.md-dialog .md-help{margin:8px 0}
.md-dialog .md-rule-line{padding:10px;margin:7px 0}
.md-dialog .md-row{margin-top:10px}

#executionView .ep-task-top .mm-hierarchy-actions>.md-link-action{display:inline-flex}
