/* Compact, read-only task evidence. Scoped to the management mobile UI. */
.manager-ui .md-empty {
  margin: 0;
  padding: 12px 0;
  color: #526a7b;
  font-size: 12px;
}
.manager-ui .md-history,
.manager-ui .md-nodes {
  list-style: none;
  margin: 0;
  padding: 0;
}
.manager-ui .md-history > li {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  padding: 0 0 12px;
}
.manager-ui .md-history > li:last-child { padding-bottom: 0; }
.manager-ui .md-history > li::before {
  position: absolute;
  content: "";
  left: 59px;
  top: 8px;
  bottom: -8px;
  border-left: 1px solid var(--line);
}
.manager-ui .md-history > li:last-child::before { display: none; }
.manager-ui .md-history > li::after {
  position: absolute;
  content: "";
  left: 56px;
  top: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b7cbd7;
}
.manager-ui .md-history > .md-latest::after { background: var(--brand); }
.manager-ui .md-time {
  color: #526a7b;
  text-align: right;
  font-size: 10px;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}
.manager-ui .md-time span,
.manager-ui .md-time b { display: block; }
.manager-ui .md-time b { color: var(--ink); font-size: 12px; font-weight: 500; }
.manager-ui .md-log-content { min-width: 0; }
.manager-ui .md-log-title { display: flex; align-items: baseline; gap: 8px; }
.manager-ui .md-log-title strong { min-width: 0; font-size: 12px; font-weight: 650; }
.manager-ui .md-log-title > span { flex: none; margin-left: auto; color: #526a7b; font-size: 11px; }
.manager-ui .md-log-content > p,
.manager-ui .md-node-content > p {
  margin: 2px 0 0;
  font-size: 11px;
  color: #526a7b;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.manager-ui .md-nodes > li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-bottom: 12px;
}
.manager-ui .md-nodes > li:last-child { padding-bottom: 0; }
.manager-ui .md-nodes > li:not(:last-child)::before {
  position: absolute;
  content: "";
  left: 9px;
  top: 22px;
  bottom: 2px;
  border-left: 1px solid var(--line);
}
.manager-ui .md-node-marker {
  flex: none;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: var(--ok);
  background: #e9f4ed;
  font-size: 12px;
  font-weight: 600;
}
.manager-ui .md-exception .md-node-marker { background: #fff2dc; color: var(--warn); }
.manager-ui .md-node-content { flex: 1; min-width: 0; }
.manager-ui .md-node-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.manager-ui .md-node-title > strong { font-size: 12px; font-weight: 600; }
.manager-ui .md-node-title > time { margin-left: auto; font-size: 11px; color: #526a7b; font-variant-numeric: tabular-nums; }
.manager-ui .md-latest-label { font-size: 10px; color: var(--brand); }
.manager-ui .md-photo-notice { margin: 0 0 8px; color: #526a7b; font-size: 11px; line-height: 1.5; }
.manager-ui .md-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-items: start; }
.manager-ui .md-photo { min-width: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: white; }
.manager-ui .md-photo > summary { list-style: none; cursor: pointer; }
.manager-ui .md-photo > summary::-webkit-details-marker { display: none; }
.manager-ui .md-photo > summary:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.manager-ui .md-photo-thumb { position: relative; display: grid; place-items: center; height: 64px; background: #edf3f6; overflow: hidden; }
.manager-ui .md-photo-thumb > svg { width: 34px; height: 28px; stroke: #6c8798; stroke-width: 1.4; }
.manager-ui .md-photo-thumb > img { width: 100%; height: 100%; object-fit: cover; }
.manager-ui .md-photo-thumb > span { position: absolute; top: 4px; left: 4px; background: #fff; border: 1px solid var(--line); padding: 0 4px; border-radius: 3px; color: #526a7b; font-size: 10px; }
.manager-ui .md-photo-caption { position: relative; padding: 8px 20px 8px 8px; }
.manager-ui .md-photo-caption > strong { display: block; font-size: 12px; font-weight: 600; }
.manager-ui .md-photo-caption > small,
.manager-ui .md-photo-caption > time { display: block; margin: 1px 0 0; color: #526a7b; font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.manager-ui .md-photo-caption > i { position: absolute; right: 8px; top: 8px; color: var(--brand); font-size: 16px; font-style: normal; }
.manager-ui .md-photo[open] { grid-column: 1 / -1; }
.manager-ui .md-photo[open] > summary { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; }
.manager-ui .md-photo[open] .md-photo-caption > i { transform: rotate(180deg); }
.manager-ui .md-photo-meta { border-top: 1px solid var(--line); padding: 8px; }
.manager-ui .md-photo-meta dl { margin: 0; font-size: 11px; }
.manager-ui .md-photo-meta dl > div { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 8px; margin-bottom: 4px; }
.manager-ui .md-photo-meta dt { color: #526a7b; }
.manager-ui .md-photo-meta dd { margin: 0; overflow-wrap: anywhere; }
.manager-ui .md-photo-meta > p { margin: 8px 0 0; color: #526a7b; font-size: 11px; }
@media (max-width: 360px) {
  .manager-ui .md-log-title { flex-wrap: wrap; gap: 0 8px; }
  .manager-ui .md-log-title > span { margin-left: 0; }
  .manager-ui .md-node-title { gap: 2px 4px; }
}
