/* Assignment children belong visually to the replaced employee. */
.plan-root table.tabel tr.substitution-parent td { border-bottom-color:#c8d5ee; }
.plan-root table.tabel tr.substitution-parent td.st-fio { box-shadow:inset 3px 0 #7d8dc0; }
.plan-root table.tabel tr.substitution-child td { background:#f0f3fc;color:#56668d;border-bottom:1px solid #dfe5f3;height:26px; }
.plan-root table.tabel tr.substitution-child td.st-fio { background:#f0f3fc;box-shadow:inset 3px 0 #7d8dc0;padding:3px 8px 3px 12px; }
.plan-root table.tabel tr.substitution-child.substitution-last td { border-bottom:2px solid #c8d5ee; }
.substitution-employee { display:flex;align-items:center;gap:7px;text-align:left;padding:0;background:none;border:0;color:#34476f;cursor:pointer;width:100%; }
.substitution-branch { flex:none;font-size:16px;line-height:18px;color:#7d8dc0; }
.substitution-person { display:block;min-width:0; }
.substitution-person b { display:block;font-size:12px;line-height:18px;font-weight:700; }
.plan-root table.tabel .substitution-person .fio-role { color:#71809c;font-size:10.5px;line-height:14px; }
.substitution-employee:hover b { text-decoration:underline; }
.substitution-employee:focus-visible { outline:2px solid #596da3;outline-offset:2px;border-radius:3px; }
.substitution-details { display:block;padding-left:23px;font-size:10px;line-height:14px;color:#71809c; }
.plan-root table.tabel td.substitution-active { background:#dce5f9!important;color:#34476f;font-weight:700;box-shadow:inset 0 2px #a9b9e1,inset 0 -2px #a9b9e1; }
.plan-root table.tabel td.substitution-total { background:#f0f3fc!important;color:#9ba6c1;font-weight:400; }
@media(max-width:600px) { .substitution-person b { font-size:11px; } .substitution-details { font-size:9px; } }

.substitution-person b { white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
