.usability-task-card {
  position: fixed;
  right: 16px;
  bottom: 64px;
  z-index: 70;
  width: min(310px, calc(100vw - 28px));
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 2px solid #d7a443;
  border-radius: 12px;
  background: #fffdf9;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.2);
}

.usability-task-card.left {
  right: auto;
  left: 18px;
}

.usability-task-card.modal-open {
  top: 88px;
  right: 14px;
  bottom: auto;
  width: min(292px, calc(100vw - 28px));
  max-height: min(430px, calc(100vh - 112px));
  overflow: auto;
}

.usability-task-card.modal-open p {
  max-height: 78px;
  overflow: auto;
}

.usability-task-card.dragging {
  opacity: 0.94;
  cursor: grabbing;
  user-select: none;
}

.usability-card-head,
.usability-drag-handle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: -2px -2px 0;
  padding: 1px 1px 5px;
}

.usability-drag-handle {
  cursor: grab;
  touch-action: none;
}

.usability-drag-handle span {
  color: #7a5f23;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.drag-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dock-panel-button {
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid #dbc590;
  border-radius: 7px;
  background: #fff8e8;
  color: #76571b;
  font: inherit;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}

.dock-panel-button:hover {
  background: #f8edcf;
}

.usability-task-card h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.2;
}

.usability-task-card p {
  margin: 0;
  line-height: 1.32;
  color: #334155;
  font-size: 13px;
}

.study-task-details {
  display: grid;
  gap: 5px;
  max-height: 178px;
  margin: 0;
  padding: 8px;
  overflow: auto;
  border: 1px solid #eadfc7;
  border-radius: 8px;
  background: #fff9ed;
}

.study-task-details div {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 8px;
}

.study-task-details dt {
  color: #745326;
  font-size: 11px;
  font-weight: 850;
}

.study-task-details dd {
  margin: 0;
  color: #1f2937;
  font-size: 12px;
  font-weight: 760;
}

.study-task-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

